国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

446 lines
25KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>栏目管理</title>
  7. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  8. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="../static/web/css/admin.css">
  11. <script src="../static/web/js/jquery.min.js"></script>
  12. <script src="js/main.js"></script>
  13. <script>
  14. var channelArray = new Array();
  15. <?php
  16. $i = 0;
  17. foreach($channelArray as $k=> $arr){
  18. echo "channelArray[$k] = \"{$arr['nid']}\";";
  19. }
  20. ?>
  21. function Nav() {
  22. if (window.navigator.userAgent.indexOf("MSIE") >= 1) return 'IE';
  23. else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF';
  24. else return "OT";
  25. }
  26. function SelectTemplets(fname) {
  27. var pos = GetWinPos(800,600);
  28. window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
  29. }
  30. function ShowHide(objname) {
  31. var obj = document.getElementById(objname);
  32. if (obj.style.display != "none")
  33. obj.style.display = "none";
  34. else {
  35. if (Nav() == 'IE') obj.style.display = "block";
  36. else obj.style.display = "table-row";
  37. }
  38. }
  39. function ShowObj(objname) {
  40. var obj = document.getElementById(objname);
  41. if (Nav() == 'IE') obj.style.display = "block";
  42. else obj.style.display = "table";
  43. }
  44. function HideObj(objname) {
  45. var obj = document.getElementById(objname);
  46. obj.style.display = "none";
  47. }
  48. function ShowItem1() {
  49. ShowObj('head1'); ShowObj('needset');
  50. HideObj('head2'); HideObj('adset');
  51. HideObj('head3'); HideObj('ctset');
  52. }
  53. function ShowItem2() {
  54. ShowObj('head2'); ShowObj('adset');
  55. HideObj('head1'); HideObj('needset');
  56. HideObj('head3'); HideObj('ctset');
  57. }
  58. function ShowItem3() {
  59. ShowObj('head3'); ShowObj('ctset');
  60. HideObj('head1'); HideObj('needset');
  61. HideObj('head2'); HideObj('adset');
  62. }
  63. function CheckTypeDir() {
  64. var upinyin = document.getElementById('upinyin');
  65. var tpobj = document.getElementById('typedir');
  66. if (upinyin.checked) tpobj.style.display = "none";
  67. else tpobj.style.display = "block";
  68. }
  69. function ParTemplet(obj) {
  70. var sevvalue = channelArray[obj.value];
  71. var tobj = document.getElementById('smclass');
  72. var tempindex = document.getElementsByName('tempindex');
  73. var templist = document.getElementsByName('templist');
  74. var temparticle = document.getElementsByName('temparticle');
  75. var dfstyle = document.getElementsByName('dfstyle');
  76. var dfstyleValue = dfstyle[0].value;
  77. tempindex[0].value = dfstyleValue + "/index_" + sevvalue + ".htm";
  78. templist[0].value = dfstyleValue + "/list_" + sevvalue + ".htm";
  79. temparticle[0].value = dfstyleValue + "/article_" + sevvalue + ".htm";
  80. if (obj.value < 0) {
  81. if (Nav() == 'IE') tobj.style.display = "block";
  82. else tobj.style.display = "table-row";
  83. } else {
  84. tobj.style.display = "none";
  85. }
  86. }
  87. function checkSubmit() {
  88. if (document.form1.typename.value == "") {
  89. alert("栏目名称不能为空");
  90. document.form1.typename.focus();
  91. return false;
  92. }
  93. return true;
  94. }
  95. function CheckCross() {
  96. var cross2 = document.getElementById('cross2');
  97. var crossid = document.getElementById('crossid');
  98. if (cross2.checked) crossid.style.display = 'block';
  99. else crossid.style.display = 'none';
  100. }
  101. </script>
  102. </head>
  103. <body>
  104. <table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
  105. <tr>
  106. <td width="100%" height="26">
  107. <table width="100%" cellspacing="0" cellpadding="0">
  108. <tr>
  109. <td height="26"><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 修改栏目</td>
  110. </tr>
  111. </table>
  112. </td>
  113. </tr>
  114. <tr>
  115. <td width="100%" height="1" background="../static/web/img/sp_bg.gif"></td>
  116. </tr>
  117. </table>
  118. <table width="98%" align="center" cellpadding="0" cellspacing="0">
  119. <tr>
  120. <form name="form1" action="catalog_edit.php" method="post" onSubmit="return checkSubmit()">
  121. <input type="hidden" name="dopost" value="save">
  122. <input type="hidden" name="id" value="<?php echo $id; ?>">
  123. <input type="hidden" name="topid" value="<?php echo $myrow['topid']; ?>">
  124. <td height="90" align="center" bgcolor="#fff">
  125. <table width="100%" cellspacing="0" id="head1" cellpadding="0">
  126. <tr>
  127. <td colspan="2" bgcolor="#fff" align="left">
  128. <table cellpadding="0" cellspacing="0">
  129. <tr>
  130. <td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td>
  131. <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
  132. <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
  133. </tr>
  134. </table>
  135. </td>
  136. </tr>
  137. </table>
  138. <table width="100%" cellspacing="0" id="head2" cellpadding="0" style="display:none">
  139. <tr>
  140. <td colspan="2" bgcolor="#fff" style="text-align:left">
  141. <table height="26" cellpadding="0" cellspacing="0">
  142. <tr>
  143. <td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
  144. <td width="86" align="center" background="../static/web/img/itemnote1.gif">高级选项</td>
  145. <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
  146. </tr>
  147. </table>
  148. </td>
  149. </tr>
  150. </table>
  151. <table width="100%" cellspacing="0" id="head3" cellpadding="0" style="display:none">
  152. <tr>
  153. <td colspan="2" bgcolor="#fff" style="text-align:left">
  154. <table height="26" cellpadding="0" cellspacing="0">
  155. <tr>
  156. <td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
  157. <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
  158. <td width="86" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td>
  159. </tr>
  160. </table>
  161. </td>
  162. </tr>
  163. </table>
  164. <table width="100%" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table">
  165. <tr>
  166. <td width="260" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td>
  167. <td class="bline">
  168. <label><input type='radio' name='issend' value='0' class='np' <?php if($myrow['issend']=="0") echo " checked='1' "; ?>>&nbsp;不支持&nbsp;</label>
  169. <label><input type='radio' name='issend' value='1' class='np' <?php if($myrow['issend']=="1") echo " checked='1' "; ?>>&nbsp;支持</label>
  170. </td>
  171. </tr>
  172. <tr>
  173. <td width="260" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td>
  174. <td class="bline">
  175. <label><input type='radio' name='ishidden' value='0' class='np' <?php if($myrow['ishidden']=="0") echo " checked='1' "; ?>>&nbsp;显示&nbsp;</label>
  176. <label><input type='radio' name='ishidden' value='1' class='np' <?php if($myrow['ishidden']=="1") echo " checked='1' "; ?>>&nbsp;隐藏</label>
  177. </td>
  178. </tr>
  179. <tr>
  180. <td class="bline" height="26" style="padding-left:10px">内容模型:</td>
  181. <td class="bline">
  182. <select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)">
  183. <?php
  184. foreach($channelArray as $k=>$arr)
  185. {
  186. if($k==$channelid) echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>";
  187. else echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>";
  188. }
  189. ?>
  190. </select>
  191. </td>
  192. </tr>
  193. <tr>
  194. <td class="bline" height="26" style="padding-left:10px">中文名称:</td>
  195. <td class="bline"><input name="typename" type="text" value="<?php echo $myrow['typename']?>" class="iptxt" style="width:260px"></td>
  196. </tr>
  197. <tr>
  198. <td class="bline" height="26" style="padding-left:10px">中文概况:</td>
  199. <td class="bline"><input name="namegk" type="text" value="<?php echo $myrow['namegk']?>" class="iptxt" style="width:260px"></td>
  200. </tr>
  201. <tr>
  202. <td class="bline" height="26" style="padding-left:10px">英文名称:</td>
  203. <td class="bline"><input name="enname" type="text" value="<?php echo $myrow['enname']?>" class="iptxt" style="width:260px"></td>
  204. </tr>
  205. <tr>
  206. <td class="bline" height="26" style="padding-left:10px">英文概况:</td>
  207. <td class="bline"><input name="ennamegk" type="text" value="<?php echo $myrow['ennamegk']?>" class="iptxt" style="width:260px"></td>
  208. </tr>
  209. <tr>
  210. <td class="bline" height="26" style="padding-left:10px">栏目大图:</td>
  211. <td>
  212. <input name="bigpic" type="text" class="alltxt" value="<?php echo $myrow['bigpic']?>" style="width:260px">
  213. <input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');">
  214. </td>
  215. </tr>
  216. <tr>
  217. <td class="bline" height="26" style="padding-left:10px">栏目小图:</td>
  218. <td>
  219. <input name="litimg" type="text" class="alltxt" value="<?php echo $myrow['litimg']?>" style="width:260px">
  220. <input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
  221. </td>
  222. </tr>
  223. <tr>
  224. <td class="bline" height="26" style="padding-left:10px">排列顺序:</td>
  225. <td class="bline"><input name="sortrank" type="text" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:60px">(由低 &gt; 高)</td>
  226. </tr>
  227. <tr>
  228. <td class="bline" height="26" style="padding-left:10px">浏览权限:</td>
  229. <td class="bline">
  230. <select name="corank" id="corank" style="width:160px">
  231. <?php
  232. $dsql->SetQuery("Select * from #@__arcrank where `rank` >= 0");
  233. $dsql->Execute('cc');
  234. while($row = $dsql->GetObject('cc'))
  235. {
  236. if($myrow['corank']==$row->rank)
  237. echo "<option value='".$row->rank."' selected>".$row->membername."</option>";
  238. else
  239. echo "<option value='".$row->rank."'>".$row->membername."</option>";
  240. }
  241. ?>
  242. </select>
  243. (仅限制栏目里的文档浏览权限)
  244. </td>
  245. </tr>
  246. <tr>
  247. <td class="bline" height="26" style="padding-left:10px">文件保存目录:</td>
  248. <td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir']?>" class="iptxt" style="width:260px">(填写{cmspath}/a/b/c生成目录“域名/a/b/c”标签{cmspath}必填)</td>
  249. </tr>
  250. <tr>
  251. <td height="26" style="padding-left:10px">栏目列表选项:</td>
  252. <td>
  253. <label><input type='radio' name='isdefault' value='1' class='np' <?php if($myrow['isdefault']==1) echo " checked='1' "; ?>>&nbsp;链接到默认页</label>
  254. <label><input type='radio' name='isdefault' value='0' class='np' <?php if($myrow['isdefault']==0) echo " checked='1' "; ?>>&nbsp;链接到列表第一页</label>
  255. <label><input type='radio' name='isdefault' value='-1' class='np' <?php if($myrow['isdefault']==-1) echo " checked='1' "; ?>>&nbsp;使用动态页</label>
  256. </td>
  257. </tr>
  258. <tr>
  259. <td class="bline" height="26" style="padding-left:10px">默认页的名称:</td>
  260. <td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:260px"></td>
  261. </tr>
  262. <tr>
  263. <td height="26" class="bline" style="padding-left:10px">栏目属性:</td>
  264. <td class="bline">
  265. <label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if($myrow['ispart']==0) echo " checked='1' "; ?>>&nbsp;最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
  266. <label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if($myrow['ispart']==1) echo " checked='1' "; ?>>&nbsp;频道封面(栏目本身不允许发布文档)</label><br>
  267. <label><input name="ispart" type="radio" id="radio3" value="2" class='np' <?php if($myrow['ispart']==2) echo " checked='1' "; ?>>&nbsp;外部连接(在"文件保存目录"处填写网址)</label>
  268. </td>
  269. </tr>
  270. <tr id='helpvarco' style='display:none'>
  271. <td height="80" bgcolor="#f8f8f8" style="padding-left:10px">栏目交叉说明:</td>
  272. <td bgcolor="#f8f8f8">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚&gt;智能手机、诺基亚&gt;音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点
  273. </td>
  274. </tr>
  275. <tr>
  276. <td style="padding-left:10px">栏目交叉:<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvarco')" style="cursor:pointer"></i> 仅适用[最终列表栏目]</td>
  277. <td class="bline">
  278. <label><input name="cross" type="radio" id="cross0" onClick="CheckCross()" value="0" class='np' <?php if($myrow['cross']==0) echo " checked='1' "; ?>>&nbsp;不交叉</label>
  279. <label><input name="cross" type="radio" id="cross1" onClick="CheckCross()" value="1" class='np' <?php if($myrow['cross']==1) echo " checked='1' "; ?>>&nbsp;自动获取同名栏目内容</label>
  280. <label><input name="cross" type="radio" id="cross2" onClick="CheckCross()" value="2" class='np' <?php if($myrow['cross']==2) echo " checked='1' "; ?>>&nbsp;手工指定交叉栏目ID(用逗号分开)</label>
  281. <br>
  282. <textarea name="crossid" id="crossid" class="alltxt" style="<?php if($myrow['cross']!=2) echo'display:none'; ?>"><?php echo $myrow['crossid']; ?></textarea>
  283. </td>
  284. </tr>
  285. <tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'>
  286. <td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td>
  287. <td class="bline">
  288. <select name="smalltype[]" multiple="yes" style="width:160px;height:100px">
  289. <?php
  290. $smtypes = explode(',',trim($myrow['smalltypes']));
  291. $sql = "Select * From `#@__sys_enum` where egroup like 'infotype' order by disorder asc, id desc ";
  292. $dsql->Execute('s',$sql);
  293. while($arr = $dsql->GetArray('s'))
  294. {
  295. if(in_array($arr['evalue'],$smtypes)) {
  296. $selstr = " selected='1' ";
  297. } else {
  298. $selstr = '';
  299. }
  300. if($arr['evalue']%500==0) {
  301. echo "<option value='{$arr['evalue']}'{$selstr}>{$arr['ename']}</option>";
  302. }
  303. else if(preg_match("#\.#", $arr['evalue']))
  304. {
  305. echo "<option value='{$arr['evalue']}'{$selstr}> └───{$arr['ename']}</option>";
  306. } else {
  307. echo "<option value='{$arr['evalue']}'{$selstr}> └─{$arr['ename']}</option>";
  308. }
  309. }
  310. ?>
  311. </select>按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“联动类别管理”</a>中管理
  312. </td>
  313. </tr>
  314. </table>
  315. <table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table">
  316. <tr>
  317. <td class="bline" width="260" height="26" style="padding-left:10px">多站点支持:</td>
  318. <td class="bline">
  319. <label><input name="moresite" type="radio" class="np" value="0" <?php if($myrow['moresite']==0) echo " checked='1' "; ?>>&nbsp;不启用&nbsp;</label>
  320. <label><input type="radio" name="moresite" class="np" value="1" <?php if($myrow['moresite']==1) echo " checked='1' "; ?>>&nbsp;启用</label>
  321. </td>
  322. </tr>
  323. <tr>
  324. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">说明:</td>
  325. <td bgcolor="#f8f8f8">绑名绑定仅需要在顶级栏目设定,子级栏目修改无效</td>
  326. </tr>
  327. <tr>
  328. <td class="bline" height="26" style="padding-left:10px">绑定域名:</td>
  329. <td class="bline"><input name="siteurl" type="text" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="iptxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
  330. </tr>
  331. <tr>
  332. <td class="bline" height="26" style="padding-left:10px">站点根目录:</td>
  333. <td class="bline">为简化操作,站点根目录与当前栏目目录一致,请注意当前栏目文件保存目录的设置,域名需自行手工绑定到这个目录</td>
  334. </tr>
  335. <tr id='helpvar1' style='display:none'>
  336. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
  337. <td bgcolor="#f8f8f8">
  338. {tid}表示栏目ID,<br>
  339. {cid}表示频道模型的'名字ID'(
  340. <?php
  341. foreach($channelArray as $k=>$arr)
  342. {
  343. echo "{$arr['typename']}({$arr['nid']})、";
  344. }
  345. ?>)<br>
  346. 模板文件的默认位置是放在模板目录 "cms安装目录<?php echo $cfg_templets_dir ?>" 内
  347. <input type='hidden' value='{style}' name='dfstyle'>
  348. </td>
  349. </tr>
  350. <tr>
  351. <td height="26" style="padding-left:10px">封面模板:</td>
  352. <td>
  353. <input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" class="iptxt" style="width:260px">
  354. <button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
  355. <i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
  356. </td>
  357. </tr>
  358. <tr>
  359. <td height="26" style="padding-left:10px">列表模板:</td>
  360. <td>
  361. <input name="templist" type="text" value="<?php echo $myrow['templist']?>" class="iptxt" style="width:260px">
  362. <button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
  363. </td>
  364. </tr>
  365. <tr>
  366. <td height="26" style="padding-left:10px">文章模板:</td>
  367. <td>
  368. <input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" class="iptxt" style="width:260px">
  369. <button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
  370. </td>
  371. </tr>
  372. <tr id='helpvar2' style='display:none'>
  373. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
  374. <td height="26" bgcolor="#f8f8f8">
  375. {Y}、{M}、{D} 年月日<br>
  376. {timestamp} INT类型的UNIX时间戳<br>
  377. {aid} 文章ID<br>
  378. {pinyin} 拼音+文章ID<br>
  379. {py} 拼音部首+文章ID<br>
  380. {typedir} 栏目目录 <br>
  381. {cc} 日期+ID混编后用转换为适合的字母
  382. </td>
  383. </tr>
  384. <tr>
  385. <td height="26" style="padding-left:10px">文章命名规则:</td>
  386. <td>
  387. <input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px">
  388. <i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
  389. </td>
  390. </tr>
  391. <tr id='helpvar3' style='display:none'>
  392. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
  393. <td bgcolor="#f8f8f8">{page} 列表的页码</td>
  394. </tr>
  395. <tr>
  396. <td height="26" style="padding-left:10px">列表命名规则:</td>
  397. <td>
  398. <input name="namerule2" type="text" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="iptxt" style="width:260px">
  399. <i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
  400. </td>
  401. </tr>
  402. <tr>
  403. <td height="60" style="padding-left:10px">SEO标题:</td>
  404. <td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" class="alltxt" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
  405. </tr>
  406. <tr>
  407. <td height="60" style="padding-left:10px">关键词:</td>
  408. <td><textarea name="keywords" cid="keywords" class="alltxt" style="width:360px;height:50px"><?php echo $myrow['keywords']?></textarea></td>
  409. </tr>
  410. <tr>
  411. <td height="60" style="padding-left:10px">栏目描述:</td>
  412. <td height="60"><textarea name="description" id="description" class="alltxt" style="width:360px;height:50px"><?php echo $myrow['description']?></textarea></td>
  413. </tr>
  414. <tr>
  415. <td height="36" style="padding-left:10px">继承选项:</td>
  416. <td>
  417. <label><input name="upnext" type="checkbox" id="upnext" value="1" class="np">同时修改下级栏目的浏览权限、内容类型、模板风格、命名规则等通用属性</label>
  418. </td>
  419. </tr>
  420. </table>
  421. <table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table">
  422. <tr>
  423. <td height="26">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
  424. </tr>
  425. <tr>
  426. <td>
  427. <?php
  428. GetEditor("content",$myrow['content'],"450","Default","print","false");
  429. ?>
  430. </td>
  431. </tr>
  432. </table>
  433. <table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
  434. <tr>
  435. <td align="center" class="py-3">
  436. <button type="submit" class="btn btn-success btn-sm">保存</button>
  437. <a href="catalog_main.php" class="btn btn-success btn-sm">返回</a>
  438. </td>
  439. </tr>
  440. </table>
  441. </td>
  442. </form>
  443. </tr>
  444. </table>
  445. </body>
  446. </html>