方位:数据表:[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>
提示:您能够先修正部分代码再运行
这样现已好了, 如图!办理后台录入信息和前台投稿都能够录入分类了,

而且也能够在前台调用了!

声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:123456@qq.com 我们将配合处理!

原文地址:帝国cms6.0标题分类发布于2023-01-29 16:45:54

相关推荐