加入收藏 | 设为首页 | 会员中心 | 我要投稿 核心网 (https://www.hxwgxz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 教程 > 正文

帝国cms6.0标题分类

发布时间:2021-02-24 23:01:05 所属栏目:教程 来源:网络整理
导读:位置:数据表:[phome_ecms_news] 字段管理 修改系统字段 这里, 改标题字段 输入表单替换html代码 (增加字段时请留空) table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5" tr td height="25" bgcolor="#FFFFFF" input type=t

位置:数据表:[phome_ecms_news] > 字段管理 > 修改系统字段


这里, 改标题字段


输入表单替换html代码
(增加字段时请留空)

<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5"> <tr> <td height="25" bgcolor="#FFFFFF"> <input type=text name=title value="<?=htmlspecialchars(stripSlashes($r[title]))?>" size="60"> <input type="button" name="button" value="图文" onClick="document.add.title.value=document.add.title.value+'(图文)';"> <select name="ttid" style="width:75px"><option value="">选择分类</option> <?=$tts?> </select> </td> </tr> <tr> <td height="25" bgcolor="#FFFFFF">属性: <input name="titlefont[b]" type="checkbox" value="b"<?=$titlefontb?>>粗体 <input name="titlefont[i]" type="checkbox" value="i"<?=$titlefonti?>>斜体 <input name="titlefont[s]" type="checkbox" value="s"<?=$titlefonts?>>删除线 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;颜色: <input name="titlecolor" type="text" value="<?=stripSlashes($r[titlecolor])?>" size="10"><a onClick="foreColor();"><img src="../data/images/color.gif" width="21" height="21" align="absbottom"></a> </td> </tr> </table>
提示:您可以先修改部分代码再运行


投稿表单替换html代码
(增加字段时请留空)
<input name="title" type="text" size="42" value="<?=DoReqValue($mid,'title',stripSlashes($r[title]))?>"> <select name="ttid" style="width:75px"><option value="">选择分类</option> <?=$tts?> </select>
提示:您可以先修改部分代码再运行
这样已经好了, 如图!管理后台录入信息和前台投稿都可以录入分类了,

并且也可以在前台调用了!

(编辑:核心网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读