catalog_add.htm 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>栏目管理</title>
  6. <link href="css/base.css" rel="stylesheet" type="text/css">
  7. <script language='javascript' src="js/main.js"></script>
  8. <script language="javascript">
  9. var channelArray = new Array();
  10. <?php
  11. $i = 0;
  12. foreach($channelArray as $k=>$arr)
  13. {
  14. echo "channelArray[$k] = \"{$arr['nid']}\";\r\n";
  15. }
  16. ?>
  17. function Nav(){
  18. if(window.navigator.userAgent.indexOf("MSIE")>=1) return 'IE';
  19. else if(window.navigator.userAgent.indexOf("Firefox")>=1) return 'FF';
  20. else return "OT";
  21. }
  22. function SelectTemplets(fname){
  23. if(document.all){
  24. var posLeft = window.event.clientY-100;
  25. var posTop = window.event.clientX-400;
  26. }
  27. else{
  28. var posLeft = 100;
  29. var posTop = 100;
  30. }
  31. window.open("../include/dialog/select_templets.php?f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left="+posLeft+", top="+posTop);
  32. }
  33. function ShowHide(objname)
  34. {
  35. var obj = document.getElementById(objname);
  36. if(obj.style.display != "none")
  37. obj.style.display = "none";
  38. else {
  39. if(Nav()=='IE') obj.style.display = "block";
  40. else obj.style.display = "table-row";
  41. }
  42. }
  43. function ShowObj(objname)
  44. {
  45. var obj = document.getElementById(objname);
  46. if(Nav()=='IE') obj.style.display = "block";
  47. else obj.style.display = "table";
  48. }
  49. function HideObj(objname){
  50. var obj = document.getElementById(objname);
  51. obj.style.display = "none";
  52. }
  53. function ShowItem1(){
  54. ShowObj('head1'); ShowObj('needset');
  55. HideObj('head2'); HideObj('adset');
  56. HideObj('head3'); HideObj('ctset');
  57. }
  58. function ShowItem2(){
  59. ShowObj('head2'); ShowObj('adset');
  60. HideObj('head1'); HideObj('needset');
  61. HideObj('head3'); HideObj('ctset');
  62. }
  63. function ShowItem3(){
  64. ShowObj('head3'); ShowObj('ctset');
  65. HideObj('head1'); HideObj('needset');
  66. HideObj('head2'); HideObj('adset');
  67. }
  68. function CheckTypeDir(){
  69. var upinyin = document.getElementById('upinyin');
  70. var tpobj = document.getElementById('typedir');
  71. if(upinyin.checked) tpobj.style.display = "none";
  72. else tpobj.style.display = "block";
  73. }
  74. function ParTemplet(obj)
  75. {
  76. var sevvalue = channelArray[obj.value];
  77. var tobj = document.getElementById('smclass');
  78. var tempindex = document.getElementsByName('tempindex');
  79. var templist = document.getElementsByName('templist');
  80. var temparticle = document.getElementsByName('temparticle');
  81. var dfstyle = document.getElementsByName('dfstyle');
  82. var dfstyleValue = dfstyle[0].value;
  83. tempindex[0].value = dfstyleValue+"/index_"+sevvalue+".htm";
  84. templist[0].value = dfstyleValue+"/list_"+sevvalue+".htm";
  85. temparticle[0].value = dfstyleValue+"/article_"+sevvalue+".htm";
  86. if(obj.value < 0)
  87. {
  88. if(Nav()=='IE') tobj.style.display = "block";
  89. else tobj.style.display = "table-row";
  90. }
  91. else
  92. {
  93. tobj.style.display = "none";
  94. }
  95. }
  96. function checkSubmit()
  97. {
  98. if(document.form1.typename.value==""){
  99. alert("栏目名称不能为空!");
  100. document.form1.typename.focus();
  101. return false;
  102. }
  103. return true;
  104. }
  105. function CheckPathSet()
  106. {
  107. var surl = document.getElementById("siteurl");
  108. var sreid = document.getElementById("reid");
  109. var mysel = document.getElementById("truepath3");
  110. if(surl.value!=""){
  111. if(sreid.value=="0" || sreid.value==""){
  112. mysel.checked = true;
  113. }
  114. }
  115. }
  116. function CheckCross()
  117. {
  118. var cross2 = document.getElementById('cross2');
  119. var crossid = document.getElementById('crossid');
  120. if(cross2.checked) crossid.style.display = 'block';
  121. else crossid.style.display = 'none';
  122. }
  123. </script>
  124. </head>
  125. <body leftmargin='15' topmargin='10' bgcolor="#FFFFFF">
  126. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" style="BORDER-COLLAPSE: collapse">
  127. <tr>
  128. <td width="100%" height="20" valign="top">
  129. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  130. <tr>
  131. <td height="30"><IMG height=14 src="images/book1.gif" width=20>&nbsp;<a href="catalog_main.php"><u>栏目管理</u></a>&nbsp;&gt;&gt;&nbsp;增加栏目</td>
  132. </tr>
  133. </table></td>
  134. </tr>
  135. <tr>
  136. <td width="100%" height="1" background="images/sp_bg.gif"></td>
  137. </tr>
  138. </table>
  139. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  140. <tr><td height="10"></td></tr>
  141. <tr>
  142. <form name="form1" action="catalog_add.php" method="post" onSubmit="return checkSubmit();">
  143. <input type="hidden" name="dopost" value="save" />
  144. <input type="hidden" name="reid" id="reid" value="<?php echo $id; ?>" />
  145. <input type='hidden' name='topid' id='topid' value='<?php echo $topid; ?>' />
  146. <?php
  147. if($id>0)
  148. {
  149. echo " <input type='hidden' name='moresite' value='{$myrow['moresite']}' />\r\n";
  150. echo " <input type='hidden' name='siteurl' value='{$myrow['siteurl']}' />\r\n";
  151. echo " <input type='hidden' name='sitepath' value='{$myrow['sitepath']}' />\r\n";
  152. }
  153. ?>
  154. <td height="95" align="center" bgcolor="#FFFFFF">
  155. <table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0">
  156. <tr>
  157. <td colspan="2" bgcolor="#FFFFFF" align="left">
  158. <table border="0" cellpadding="0" cellspacing="0">
  159. <tr>
  160. <td width="84" height="24" align="center" background="images/itemnote1.gif">&nbsp;常规选项&nbsp;</td>
  161. <td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem2()"><u>高级选项</u></a>&nbsp;</td>
  162. <td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem3()"><u>栏目内容</u></a>&nbsp;</td>
  163. </tr>
  164. </table>
  165. </td>
  166. </tr>
  167. </table>
  168. <table width="100%" border="0" cellspacing="0" id="head2" cellpadding="0" style="display:none">
  169. <tr>
  170. <td colspan="2" bgcolor="#FFFFFF" style="text-align:left;">
  171. <table height="24" border="0" cellpadding="0" cellspacing="0">
  172. <tr>
  173. <td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()"><u>常规选项</u></a>&nbsp;</td>
  174. <td width="84" align="center" background="images/itemnote1.gif">高级选项&nbsp;</td>
  175. <td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem3()"><u>栏目内容</u></a>&nbsp;</td>
  176. </tr>
  177. </table>
  178. </td>
  179. </tr>
  180. </table>
  181. <table width="100%" border="0" cellspacing="0" id="head3" cellpadding="0" style="display:none">
  182. <tr>
  183. <td colspan="2" bgcolor="#FFFFFF" style="text-align:left;">
  184. <table height="24" border="0" cellpadding="0" cellspacing="0">
  185. <tr>
  186. <td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()"><u>常规选项</u></a>&nbsp;</td>
  187. <td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem2()"><u>高级选项</u>&nbsp;</td>
  188. <td width="84" align="center" background="images/itemnote1.gif">栏目内容&nbsp;</td>
  189. </tr>
  190. </table>
  191. </td>
  192. </tr>
  193. </table>
  194. <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="text-align:left;border:1px solid #cfcfcf;background:#ffffff;">
  195. <tr>
  196. <td width="150" class='bline' height="26" style="padding-left:10px;">是否支持投稿:</td>
  197. <td class='bline'>
  198. <input type='radio' name='issend' value='0' class='np' <?php if($issend==0) echo " checked='checked' ";?> />
  199. 不支持&nbsp;
  200. <input type='radio' name='issend' value='1' class='np' <?php if($issend==1) echo " checked='checked' ";?> />
  201. 支持
  202. </td>
  203. </tr>
  204. <tr>
  205. <td width="150" class='bline' height="26" style="padding-left:10px;">是否隐藏栏目:</td>
  206. <td class='bline'>
  207. <input type='radio' name='ishidden' value='0' class='np' checked="checked" />
  208. 显示 &nbsp;
  209. <input type='radio' name='ishidden' value='1' class='np' />
  210. 隐藏
  211. </td>
  212. </tr>
  213. <tr>
  214. <td class='bline' height="26" style="padding-left:10px;"><font color='red'>内容模型:</font></td>
  215. <td class='bline'>
  216. <select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)">
  217. <?php
  218. foreach($channelArray as $k=>$arr)
  219. {
  220. if($k==$channelid) {
  221. $nid = $arr['nid'];
  222. echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>\r\n";
  223. }
  224. else
  225. {
  226. echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>\r\n";
  227. }
  228. }
  229. ?>
  230. </select>
  231. </td>
  232. </tr>
  233. <tr>
  234. <td class='bline' height="26" style="padding-left:10px;"><font color='red'>栏目名称:</font></td>
  235. <td class='bline'><input name="typename" type="text" id="typename" size="30" class="iptxt" /></td>
  236. </tr>
  237. <tr>
  238. <td class='bline' height="26" style="padding-left:10px;"><font color='red'>英文名称:</font></td>
  239. <td class='bline'><input name="typenameen" type="text" id="typenameen" size="30" class="iptxt" /></td>
  240. </tr>
  241. <tr>
  242. <td class='bline' height="26" style="padding-left:10px;"> 排列顺序: </td>
  243. <td class='bline'><input name="sortrank" size="6" type="text" value="50" class="pubinputs" style="width:60px" />
  244. (由低 -&gt; 高) </td>
  245. </tr>
  246. <tr>
  247. <td class='bline' height="26" style="padding-left:10px;">浏览权限:</td>
  248. <td class='bline'>
  249. <select name="corank" id="corank" style="width:100px">
  250. <?php
  251. $dsql->SetQuery("Select * from `#@__arcrank` where rank >= 0");
  252. $dsql->Execute('cc');
  253. while($row = $dsql->GetObject('cc'))
  254. {
  255. if($corank==$row->rank) echo "<option value='".$row->rank."' selected>".$row->membername."</option>\r\n";
  256. else
  257. {
  258. //如果上级目录的corank>0,下级必须继承
  259. if($corank==0)
  260. { echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; }
  261. }
  262. }
  263. ?>
  264. </select>
  265. (仅限制栏目里的文档浏览权限) </td>
  266. </tr>
  267. <tr>
  268. <td class='bline' height="26" style="padding-left:10px;">上级目录:</td>
  269. <td class='bline'>
  270. <?php
  271. $pardir = '{cmspath}'.$cfg_arcdir;
  272. if(!empty($typedir)) $pardir = $typedir.'/';
  273. $pardir = preg_replace("#\/{1,}#", '/', $pardir);
  274. echo $pardir;
  275. ?>
  276. <input name="nextdir" type="hidden" id="nextdir" value="<?php echo $pardir?>" />
  277. </td>
  278. </tr>
  279. <tr>
  280. <td height="26" style="padding-left:10px;">文件保存目录:</td>
  281. <td>
  282. <table border="0" cellspacing="1" cellpadding="1">
  283. <tr>
  284. <td>
  285. <input name="typedir" type="text" id="typedir" class="pubinputs" style="width:300px">
  286. </td>
  287. <td>
  288. <input name="upinyin" type="checkbox" id="upinyin" class="np" value="1" onClick="CheckTypeDir()" />
  289. 拼音
  290. </td>
  291. </tr>
  292. </table>
  293. </td>
  294. </tr>
  295. <tr>
  296. <td class='bline' height="26" style="padding-left:10px;">目录相对位置:</td>
  297. <td class='bline'>
  298. <input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked="chekced" />
  299. 上级目录
  300. <?php
  301. if($moresite==0){
  302. ?>
  303. <input name="referpath" type="radio" id="truepath2" class="np" value="cmspath" />
  304. CMS根目录
  305. <input name="referpath" type="radio" id="truepath3" class="np" value="basepath" />
  306. 站点根目录
  307. <?php } ?>
  308. </td>
  309. </tr>
  310. <tr>
  311. <td height="26" style="padding-left:10px;">栏目列表选项:</td>
  312. <td>
  313. <input type='radio' name='isdefault' value='1' class='np' checked="checked" />
  314. 链接到默认页
  315. <input type='radio' name='isdefault' value='0' class='np' />
  316. 链接到列表第一页
  317. <input type='radio' name='isdefault' value='-1' class='np' />
  318. 使用动态页
  319. </td>
  320. </tr>
  321. <tr>
  322. <td height="26" class='bline' style="padding-left:10px;">默认页的名称: </td>
  323. <td class='bline'>
  324. <input name="defaultname" type="text" value="index.html" class="iptxt" />
  325. </td>
  326. </tr>
  327. <tr>
  328. <td height="26" class='bline' style="padding-left:10px;">栏目属性:</td>
  329. <td class='bline'>
  330. <input name="ispart" type="radio" id="radio" value="0" class='np' checked="checked"/>
  331. 最终列表栏目(允许在本栏目发布文档,并生成文档列表) <br>
  332. <input name="ispart" type="radio" id="radio" value="1" class='np'/>
  333. 频道封面(栏目本身不允许发布文档) <br>
  334. <input name="ispart" type="radio" id="radio" value="2" class='np'/>
  335. 外部连接(在"文件保存目录"处填写网址)
  336. </td>
  337. </tr>
  338. <tr id='helpvarco' style='display:none'>
  339. <td height="80" bgcolor="#F3F7EA" style="padding-left:10px;">栏目交叉说明: </td>
  340. <td bgcolor="#F3F7EA">
  341. 交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好。<br />例如:
  342. 网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚-&gt;智能手机、诺基亚-&gt;音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可。
  343. <br />注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点。
  344. </td>
  345. </tr>
  346. <tr>
  347. <td style="padding-left:10px;">栏目交叉: <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvarco')" /> <br />仅适用[最终列表栏目]</td>
  348. <td style="padding:3px 0px 3px 0px">
  349. <input name="cross" type="radio" id="cross0" value="0" class='np' onClick="CheckCross()" checked='1' />
  350. 不交叉
  351. <input name="cross" type="radio" id="cross1" value="1" class='np' onClick="CheckCross()" />
  352. 自动获取同名栏目内容
  353. <input name="cross" type="radio" id="cross2" value="2" class='np' onClick="CheckCross()" />
  354. 手工指定交叉栏目ID(用逗号分开)
  355. <br />
  356. <textarea name="crossid" cols="50" rows="3" id="crossid" style="display:none" class="alltxt"></textarea>
  357. </td>
  358. </tr>
  359. <tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'>
  360. <td class='bline' style="padding-left:10px;">绑定小分类: <br />仅适用[分类信息模型]</td>
  361. <td class='bline' style="padding:3px 0px 3px 0px">
  362. <select name='smalltype[]' size='5' style='width:120px' multiple='yes'>
  363. <?php
  364. $sql = "SELECT * FROM `#@__sys_enum` WHERE egroup LIKE 'infotype' ORDER BY disorder ASC, id DESC ";
  365. $dsql->Execute('s',$sql);
  366. while($arr = $dsql->GetArray('s'))
  367. {
  368. if($arr['evalue']%500==0) {
  369. echo "<option value='{$arr['evalue']}'>{$arr['ename']}</option>\r\n";
  370. }
  371. else if(preg_match("#\.#", $arr['evalue']))
  372. {
  373. echo "<option value='{$arr['evalue']}'> └───{$arr['ename']}</option>\r\n";
  374. }
  375. else {
  376. echo "<option value='{$arr['evalue']}'> └─{$arr['ename']}</option>\r\n";
  377. }
  378. }
  379. ?>
  380. </select>
  381. 按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“<u>联动类别管理</u>”</a>中管理
  382. </td>
  383. </tr>
  384. </table>
  385. <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #cfcfcf;background:#ffffff;display:none;text-align:left;" id="adset">
  386. <?php
  387. if($id==0)
  388. {
  389. ?>
  390. <tr>
  391. <td class='bline' width="150" height="24" style="padding-left:10px;">多站点支持:</td>
  392. <td class='bline'>
  393. <input name="moresite" type="radio" class="np" value="0" checked="checked"/>
  394. 不启用
  395. <input type="radio" name="moresite" class="np" value="1"/>
  396. 启用
  397. </td>
  398. </tr>
  399. <tr>
  400. <td height="24" bgcolor="#F3F7EA" style="padding-left:10px;">说明:</td>
  401. <td bgcolor="#F3F7EA">如果需要绑定二级域名,必须在“系统参数”中设定“支持多站点”。</td>
  402. </tr>
  403. <tr>
  404. <td class='bline' height="24" style="padding-left:10px;">绑定域名:</td>
  405. <td class='bline'>
  406. <input name="siteurl" type="text" id="siteurl" size="35" onChange="CheckPathSet();" class="pubinputs" />
  407. (需加 http://,一级或二级域名的根网址)
  408. </td>
  409. </tr>
  410. <tr>
  411. <td class='bline' height="24" style="padding-left:10px;">站点根目录:</td>
  412. <td class='bline'>
  413. 为简化操作,站点根目录与当前栏目目录一致,请注意当前栏目文件保存目录的设置,域名需自行手工绑定到这个目录。
  414. </td>
  415. </tr>
  416. <?php
  417. }
  418. ?>
  419. <tr id='helpvar1' style='display:none'>
  420. <td height="24" bgcolor="#F3F7EA" style="padding-left:10px;">支持变量: </td>
  421. <td bgcolor="#F3F7EA"> {tid}表示栏目ID,<br>
  422. {cid}表示频道模型的'名字ID' <font color='#888888'> (
  423. <?php
  424. foreach($channelArray as $k=>$arr)
  425. {
  426. echo "{$arr['typename']}({$arr['nid']})、";
  427. }
  428. ?>
  429. ) </font> <br/>
  430. 模板文件的默认位置是放在模板目录 "cms安装目录
  431. <?php echo $cfg_templets_dir ?>
  432. " 内。
  433. <input type='hidden' value='{style}' name='dfstyle' class="pubinputs" />
  434. </td>
  435. </tr>
  436. <tr>
  437. <td height="24" bgcolor="#F3F7EA" style="padding-left:10px;">规则选项:</td>
  438. <td bgcolor="#F3F7EA">按不同的内容类型设定相关模板及命名规则。</td>
  439. </tr>
  440. <tr>
  441. <td height="26" style="padding-left:10px;">封面模板:</td>
  442. <td> <input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" class="pubinputs" style="width:300px"/>
  443. <input type="button" name="set1" value="浏览..." class="coolbg np" style="width:60px" onClick="SelectTemplets('form1.tempindex');" />
  444. <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')"/>
  445. </td>
  446. </tr>
  447. <tr>
  448. <td height="26" style="padding-left:10px;">列表模板:</td>
  449. <td> <input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" class="pubinputs" style="width:300px" />
  450. <input type="button" name="set3" value="浏览... "class="coolbg np" style="width:60px" onClick="SelectTemplets('form1.templist');" />
  451. </td>
  452. </tr>
  453. <tr>
  454. <td height="26" style="padding-left:10px;">文章模板:</td>
  455. <td><input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" class="pubinputs" style="width:300px" />
  456. <input type="button" name="set4" value="浏览..." class="coolbg np" style="width:60px" onClick="SelectTemplets('form1.temparticle');"/>
  457. </td>
  458. </tr>
  459. <tr id='helpvar2' style='display:none'>
  460. <td height="24" bgcolor="#F3F7EA" style="padding-left:10px;">支持变量: </td>
  461. <td height="24" bgcolor="#F3F7EA"> {Y}、{M}、{D} 年月日<br/>
  462. {timestamp} INT类型的UNIX时间戳<br/>
  463. {aid} 文章ID<br/>
  464. {pinyin} 拼音+文章ID<br/>
  465. {py} 拼音部首+文章ID<br/>
  466. {typedir} 栏目目录 <br/>
  467. {cc} 日期+ID混编后用转换为适合的字母 <br/>
  468. </td>
  469. </tr>
  470. <tr>
  471. <td height="26" style="padding-left:10px;">文章命名规则:</td>
  472. <td> <input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule;?>" class="pubinputs" style="width:250px" />
  473. <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')" />
  474. </td>
  475. </tr>
  476. <tr id='helpvar3' style='display:none'>
  477. <td height="24" bgcolor="#F3F7EA" style="padding-left:10px;">支持变量: </td>
  478. <td bgcolor="#F3F7EA">{page} 列表的页码</td>
  479. </tr>
  480. <tr>
  481. <td height="26" style="padding-left:10px;">列表命名规则:</td>
  482. <td>
  483. <input name="namerule2" type="text" id="namerule2" value="{typedir}/list_{tid}_{page}.html" class="pubinputs" style="width:250px" />
  484. <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')"/></td>
  485. </tr>
  486. <tr>
  487. <td height="65"style="padding-left:10px;">栏目图片:</td>
  488. <td><input name="typeimg" type="text" style="width:250px" id="typeimg"class="alltxt" value="" />
  489. <input type="button" name="set9"value="浏览... " class="coolbg np" style="width:60px"onClick="SelectImage('form1.typeimg','small');"/>
  490. (栏目模板里用{dede:field.typeimg /}调用) </td>
  491. </tr>
  492. <tr>
  493. <td height="65" style="padding-left:10px;">SEO标题:</td>
  494. <td>
  495. <input name="seotitle" type="text" style="width:250px" id="seotitle" class="alltxt" value="" />
  496. (栏目模板里用{dede:field.seotitle /}调用)
  497. </td>
  498. </tr>
  499. <tr>
  500. <td height="65" style="padding-left:10px;">关键字:</td>
  501. <td>
  502. <textarea name="keywords" cols="70" rows="4" id="keywords" class="alltxt"></textarea>
  503. </td>
  504. </tr>
  505. <tr>
  506. <td height="65" style="padding-left:10px;">栏目描述:</td>
  507. <td height="65"> <textarea name="description" cols="70" style="height:50px" rows="4" id="description" class="alltxt"></textarea></td>
  508. </tr>
  509. </table>
  510. <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #cfcfcf;background:#ffffff;display:none;text-align:left;" id="ctset">
  511. <tr>
  512. <td height="28" style="padding-left:10px;">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途。</td>
  513. </tr>
  514. <tr>
  515. <td style="padding:10px;">
  516. <?php
  517. GetEditor("content","","450","Default","print","false");
  518. ?>
  519. </td>
  520. </tr>
  521. </table>
  522. <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F9FCEF" style="border:1px solid #cfcfcf;border-top:none;">
  523. <tr>
  524. <td width="1%" height="35"></td>
  525. <td width="99%" valign="bottom">
  526. <input name="imageField" type="image" src="images/button_ok.gif" width="60" height="22" border="0" class="np" />
  527. &nbsp;&nbsp;&nbsp;
  528. <a href="catalog_main.php"><img src="images/button_back.gif" width="60" height="22" border="0" /></a>
  529. </td>
  530. </tr>
  531. </table></td>
  532. </form>
  533. </tr>
  534. </table>
  535. </body>
  536. </html>