位置:數據表:[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?>>刪除線 顏色: <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>
提示:您可以先修改部分代碼再運行
這樣已經好了, 如圖!管理后臺錄入信息和前臺投稿都可以錄入分類了,
并且也可以在前臺調用了!
新聞熱點
疑難解答