设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 创业者 数据 手机
当前位置: 首页 > 教程 > 正文

帝国cms6.0标题分类

发布时间:2021-02-21 14:36 所属栏目:61 来源:网络整理
导读:位置:数据表:[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>
提示:您可以先修改部分代码再运行
这样已经好了, 如图!管理后台录入信息和前台投稿都可以录入分类了,

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

(编辑:ASP站长网)

    网友评论
    推荐文章
      热点阅读