国内流行的内容管理系统(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.

3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  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. <style type="text/css">
  7. body {
  8. background-image: url(images/allbg.gif);
  9. }
  10. </style>
  11. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  12. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  13. <link href="css/base.css" rel="stylesheet" type="text/css">
  14. <script language="javascript" src="../static/js/jquery.js"></script>
  15. <script language="javascript" src="../static/js/dedeajax2.js"></script>
  16. <link href="../static/css/daterangepicker.css" rel="stylesheet">
  17. <link rel="stylesheet" href="../static/css/jquery.fileupload.css">
  18. <script type="text/javascript" src="../static/js/moment.min.js"></script>
  19. <script type="text/javascript" src="../static/js/daterangepicker.js"></script>
  20. <script src="../static/js/bootstrap.bundle.js"></script>
  21. <script language='javascript' src='js/main.js'></script>
  22. <link href="../static/css/cropper.min.css" rel="stylesheet">
  23. <script src="../static/js/cropper.min.js"></script>
  24. <script language="javascript">
  25. function SelectTemplets(fname) {
  26. if (document.all) {
  27. var posLeft = window.event.clientY - 100;
  28. var posTop = window.event.clientX - 400;
  29. } else {
  30. var posLeft = 100;
  31. var posTop = 100;
  32. }
  33. window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left=" + posLeft + ", top=" + posTop);
  34. }
  35. function SelectArcList(fname) {
  36. if (document.all) {
  37. var posLeft = window.event.clientY - 100;
  38. var posTop = window.event.clientX - 400;
  39. } else {
  40. var posLeft = 100;
  41. var posTop = 100;
  42. }
  43. window.open("content_select_list.php?f=" + fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=700,height=500,left=" + posLeft + ", top=" + posTop);
  44. }
  45. function checkSubmit() {
  46. if (document.form1.title.value == "") {
  47. ShowMsg("专题名称不能为空");
  48. return false;
  49. }
  50. for (i = 1; i <= 6; i++) {
  51. $val = CheckVal(i);
  52. if ($val == false) {
  53. return false;
  54. }
  55. }
  56. }
  57. function CheckVal(id) {
  58. var notename = $DE('notename' + id);
  59. var arcid = $DE('arcid' + id);
  60. if (arcid.value != "") {
  61. if (notename.value == "") {
  62. $DE('notename' + id).focus();
  63. ShowMsg('您的节点' + id + '名称不能为空');
  64. return false;
  65. }
  66. }
  67. }
  68. </script>
  69. <style>
  70. img {
  71. vertical-align: baseline;
  72. }
  73. input,
  74. select {
  75. height: auto !important;
  76. }
  77. </style>
  78. </head>
  79. <body topmargin="8">
  80. <form name="form1" action="spec_edit.php" enctype="multipart/form-data" method="post"
  81. onSubmit="return checkSubmit();">
  82. <input type="hidden" name="id" value="<?php echo $arcRow['id']?>" />
  83. <input type="hidden" name="channelid" value="<?php echo $channelid?>" />
  84. <input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>" />
  85. <input type="hidden" name="source" value="本站" />
  86. <input type="hidden" name="dopost" value="save" />
  87. <input type="hidden" id="litpic_b64" name="litpic_b64" value="">
  88. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
  89. <tr>
  90. <td width="85%" height="30"><img src="images/book1.gif">&nbsp;<a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a>
  91. &gt;&gt; 修改专题</td>
  92. <td width="10%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a>&nbsp; </td>
  93. </tr>
  94. </table>
  95. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1">
  96. <tr>
  97. <td colspan="2">
  98. <table width="168" border="0" cellpadding="0" cellspacing="0">
  99. <tr>
  100. <td width="86" height="26" align="center" background="images/itemnote1.gif">&nbsp;常规参数&nbsp;</td>
  101. <td width="86" align="center" background="images/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">专题文档</a>&nbsp;</td>
  102. </tr>
  103. </table>
  104. </td>
  105. </tr>
  106. </table>
  107. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
  108. <tr>
  109. <td colspan="2">
  110. <table width="168" height="26" border="0" cellpadding="0" cellspacing="0">
  111. <tr>
  112. <td width="86" align="center" background="images/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规参数</a>&nbsp;</td>
  113. <td width="86" align="center" background="images/itemnote1.gif">专题文档</td>
  114. </tr>
  115. </table>
  116. </td>
  117. </tr>
  118. </table>
  119. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #cfcfcf;background:#ffffff;">
  120. <tr>
  121. <td height="26" class="bline">
  122. <table width="800" border="0" cellspacing="0" cellpadding="0">
  123. <tr>
  124. <td width="90">&nbsp;专题名称:</td>
  125. <td width='408'>
  126. <input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>"
  127. style="width:380px" />
  128. </td>
  129. <td width="90">&nbsp;简略标题:</td>
  130. <td>
  131. <input name="shorttitle" type="text" id="shorttitle" style="width:150px" value="<?php echo $arcRow['shorttitle']; ?>" />
  132. </td>
  133. </tr>
  134. </table>
  135. </td>
  136. </tr>
  137. <tr>
  138. <td width="400%" height="26" class="bline">
  139. <table width="800" border="0" cellspacing="0" cellpadding="0">
  140. <tr>
  141. <td width="100">&nbsp;自定义属性:</td>
  142. <td>
  143. <?php
  144. $dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc");
  145. $dsql->Execute();
  146. while($trow = $dsql->GetObject())
  147. {
  148. if($trow->att=='j') continue;
  149. if(preg_match("#".$trow->att."#", $arcRow['flag']))
  150. echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked' /> {$trow->attname}[{$trow->att}]</label> ";
  151. else
  152. echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' /> {$trow->attname}[{$trow->att}]</label> ";
  153. }
  154. ?>
  155. </td>
  156. </tr>
  157. </table>
  158. </td>
  159. </tr>
  160. <tr id="pictable">
  161. <td height="26" colspan="4" class="bline">
  162. <table width="800" border="0" cellspacing="0" cellpadding="0">
  163. <tr>
  164. <td width="90" height="90">
  165. &nbsp;缩略图:
  166. </td>
  167. <td width="560">
  168. <input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow["litpic"]?>"> <button type="button" name="Submit" class="btn btn-success" onClick="SelectImage('form1.picname','');">浏览</button>
  169. <label><input type='checkbox' class='np' name='ddisremote' value='1'>
  170. 远程 </label>
  171. <span class="btn btn-success fileinput-button">
  172. <i class="glyphicon glyphicon-plus"></i>
  173. 选择图片
  174. <input type="file" name="files[]" id="iptAddImages">
  175. </span>
  176. <button id="btnClearAll" type="button" class="btn btn-success delete">
  177. <i class="fa fa-trash-o"></i>
  178. <span>清空</span>
  179. </button>
  180. </td>
  181. <td align="center">
  182. <img id="litPic"
  183. src="<?php if($arcRow["litpic"]!="") echo $arcRow["litpic"]; else echo "../static/defaultpic.gif";?>"
  184. style="height: 80px">
  185. </td>
  186. </tr>
  187. </table>
  188. </td>
  189. </tr>
  190. <tr>
  191. <td height="26" colspan="4" class="bline">
  192. <table width="800" border="0" cellspacing="0" cellpadding="0">
  193. <tr>
  194. <td width="90">&nbsp;专题模板:</td>
  195. <td>
  196. <input name="templet" type="text" id="templet" style="width:250px" value="<?php echo $addRow["templet"]?>" />
  197. <button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
  198. </td>
  199. </tr>
  200. </table>
  201. </td>
  202. </tr>
  203. <tr>
  204. <td height="26" colspan="4" class="bline">
  205. <table width="800" border="0" cellspacing="0" cellpadding="0">
  206. <tr>
  207. <td width="90">&nbsp;责任编辑:</td>
  208. <td width="224">
  209. <input name="writer" type="text" id="writer" value="<?php echo $arcRow["writer"]?>" />
  210. </td>
  211. <td width="75">发布选项:</td>
  212. <td width="421">
  213. <label><input name="ishtml" type="radio" class="np" value="1"
  214. <?php if($arcRow["ismake"]!=-1) echo " checked='1'";?>>
  215. 生成HTML </label>
  216. <label><input type="radio" name="ishtml" class="np" value="0"
  217. <?php if($arcRow["ismake"]==-1) echo " checked='1'";?>>
  218. 仅动态浏览 </label></td>
  219. </tr>
  220. </table>
  221. </td>
  222. </tr>
  223. <tr>
  224. <td height="26" colspan="4" class="bline">
  225. <table width="800" border="0" cellspacing="0" cellpadding="0">
  226. <tr>
  227. <td width="90">&nbsp;内容排序:</td>
  228. <td width="224">
  229. <select name="sortup" id="sortup" style="width:150">
  230. <?php
  231. $subday = SubDay($arcRow["sortrank"],$arcRow["senddate"]);
  232. echo "<option value='0'>正常排序</option>\r\n";
  233. if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n";
  234. ?>
  235. <option value="7">置顶一周</option>
  236. <option value="30">置顶一个月</option>
  237. <option value="90">置顶三个月</option>
  238. <option value="180">置顶半年</option>
  239. <option value="360">置顶一年</option>
  240. </select> </td>
  241. <td width="72">标题颜色:</td>
  242. <td width="130">
  243. <input name="color" type="text" id="color" style="width:120px" value="<?php echo $arcRow["color"]?>" />
  244. </td>
  245. <td width="293">
  246. <button name="modcolor" type="button" id="modcolor" value="" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
  247. </td>
  248. </tr>
  249. </table>
  250. </td>
  251. </tr>
  252. <tr>
  253. <td height="26" colspan="4" class="bline">
  254. <table width="800" border="0" cellspacing="0" cellpadding="0">
  255. <tr>
  256. <td width="90">&nbsp;主 分 类:</td>
  257. <td width="620">
  258. <?php
  259. $typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),0);
  260. echo "<select name='typeid' style='width:240px'>\r\n";
  261. if($arcRow["typeid"]=="0") echo "<option value='0' selected='1'>请选择主分类</option>\r\n";
  262. echo $typeOptions;
  263. echo "</select>";
  264. ?>
  265. <img src='images/menusearch.gif' style='cursor:pointer;' onClick="ShowCatMap(event, this, 0, 'typeid')"
  266. alt='快捷选择' title='快捷选择' />
  267. </td>
  268. <td width="100" align="center">&nbsp; </td>
  269. </tr>
  270. </table>
  271. </td>
  272. </tr>
  273. <tr>
  274. <td height="26" colspan="4" class="bline">
  275. <table width="800" border="0" cellspacing="0" cellpadding="0">
  276. <tr>
  277. <td width="90" height="50">&nbsp;关键字:</td>
  278. <td> <input type="text" name="keywords" rows="3" id="keywords" style="width:350px" value="<?php echo $arcRow["keywords"]?>" />
  279. </td>
  280. </tr>
  281. </table>
  282. </td>
  283. </tr>
  284. <tr>
  285. <td height="26" colspan="4" class="bline">
  286. <table width="800" border="0" cellspacing="0" cellpadding="0">
  287. <tr>
  288. <td width="90" height="78">&nbsp;专题说明:</td>
  289. <td> <textarea name="description" rows="4" id="textarea"
  290. style="width:350px"><?php echo $arcRow["description"]?></textarea>
  291. </td>
  292. </tr>
  293. </table>
  294. </td>
  295. </tr>
  296. <tr>
  297. <td height="26" colspan="4" class="bline">
  298. <table width="800" border="0" cellspacing="0" cellpadding="0">
  299. <tr>
  300. <td width="90" height="26" width="240">&nbsp;评论选项:</td>
  301. <td width="250">
  302. <label><input type='radio' name='notpost' class='np' value='0'
  303. <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论 </label>
  304. &nbsp;
  305. <label><input type='radio' name='notpost' class='np' value='1'
  306. <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论 </label>
  307. </td>
  308. <td width="90">浏览次数:</td>
  309. <td>
  310. <input type='text' name='click' value='<?php echo $arcRow['click']; ?>' style='width:100px;' />
  311. </td>
  312. </tr>
  313. </table>
  314. </td>
  315. </tr>
  316. <tr>
  317. <td height="26" colspan="4" class="bline">
  318. <table width="800" border="0" cellspacing="0" cellpadding="0">
  319. <tr>
  320. <td width="90">&nbsp;发布时间:</td>
  321. <td>
  322. <?php
  323. $addtime = GetDateTimeMk($arcRow["senddate"]);
  324. echo "$addtime (标准排序和生成HTML名称的依据时间) <input type='hidden' name='senddate' value='".$arcRow["senddate"]."' />";
  325. ?>
  326. </td>
  327. </tr>
  328. </table>
  329. </td>
  330. </tr>
  331. <tr>
  332. <td height="26" colspan="4" class="bline">
  333. <table width="800" border="0" cellspacing="0" cellpadding="0">
  334. <tr>
  335. <td width="90">&nbsp;更新时间:</td>
  336. <td>
  337. <?php
  338. $nowtime = GetDateTimeMk($arcRow["pubdate"]);
  339. echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'/>";
  340. ?>
  341. </td>
  342. <td width="234">&nbsp;</td>
  343. </tr>
  344. </table>
  345. </td>
  346. </tr>
  347. <tr>
  348. <td height="26" colspan="4">
  349. <table width="800" border="0" cellspacing="0" cellpadding="0">
  350. <tr>
  351. <td width="104">&nbsp;自定义文件名:</td>
  352. <td width="597">
  353. <input type="text" name="filename" id="filename" value="<?php echo $arcRow["filename"]?>" />(不包括后缀名如.html等)
  354. </td>
  355. <td width="99" align="center">&nbsp; </td>
  356. </tr>
  357. </table>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td>
  362. <?php
  363. PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield');
  364. ?>
  365. </td>
  366. </tr>
  367. </table>
  368. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" style="border:1px solid #cfcfcf;background:#ffffff;display:none;" id="adset">
  369. <tr>
  370. <td height="26" class="bline2"> <strong>专题节点列表:</strong>
  371. (文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章) <br>
  372. 关于单条记录模板里的[field:fieldname /]标记的使用,请参考关于系统帮助关于 arclist 标记的说明</td>
  373. </tr>
  374. <tr>
  375. <td height="26" valign="top">
  376. <table width="800" border="0" cellspacing="2" cellpadding="2">
  377. <?php
  378. $speclisttmp = GetSysTemplets("spec_arclist.htm");
  379. $i = 1;
  380. $dtp = new DedeTagParse();
  381. $dtp->LoadSource($addRow["note"]);
  382. if(is_array($dtp->CTags)){
  383. foreach($dtp->CTags as $tagid=>$ctag)
  384. {
  385. if($ctag->GetName()!="specnote") continue;
  386. $notename = $ctag->GetAtt('name');
  387. $col = $ctag->GetAtt('col');
  388. $idlist = $ctag->GetAtt('idlist');
  389. $imgwidth = $ctag->GetAtt('imgwidth');
  390. $imgheight = $ctag->GetAtt('imgheight');
  391. $titlelen = $ctag->GetAtt('titlelen');
  392. $infolen = $ctag->GetAtt('infolen');
  393. $temp = trim($ctag->GetInnerText());
  394. $noteid = $ctag->GetAtt('noteid');
  395. if(empty($noteid)) $noteid = $i;
  396. $isauto = $ctag->GetAtt('isauto');
  397. if(empty($isauto)) $isauto = 0;
  398. $keywords = $ctag->GetAtt('keywords');
  399. $typeid = $ctag->GetAtt('typeid');
  400. if(empty($typeid)) $typeid = 0;
  401. $rownum = $ctag->GetAtt('rownum');
  402. if(empty($rownum)) $rownum = 40;
  403. ?>
  404. <tr bgcolor="#FBFCE2">
  405. <td width="113">节点
  406. <?php echo $i?>
  407. 名称:</td>
  408. <td colspan="2">
  409. <table width="600" border="0" cellspacing="0" cellpadding="0">
  410. <tr>
  411. <td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>"
  412. style="width:300" value="<?php echo $notename?>">
  413. </td>
  414. <td width="90" align="center">节点标识:</td>
  415. <td width="200"><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>"
  416. style="width:100" value="<?php echo $noteid?>"></td>
  417. </tr>
  418. </table>
  419. </td>
  420. </tr>
  421. <tr>
  422. <td>节点文章列表:</td>
  423. <td><textarea name="arcid<?php echo $i?>" rows="3" onblur='CheckVal(<?php echo $i ?>)'
  424. id="arcid<?php echo $i?>" style="width:90%"><?php echo $idlist?></textarea></td>
  425. <td align="center"><button class="btn btn-success btn-sm" name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td>
  426. </tr>
  427. <tr>
  428. <td>文档来源:</td>
  429. <td colspan="2">
  430. <label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np"
  431. <?php if($isauto==0) echo " checked";?>>
  432. 按文章列表 </label>
  433. <label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np"
  434. <?php if($isauto==1) echo " checked";?>>
  435. 自动获取文档 </label>
  436. &nbsp;
  437. <label>关键字:
  438. <input name="keywords<?php echo $i?>" type="text" value="<?php echo $keywords?>"
  439. id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
  440. <label>栏目ID:
  441. <input name="typeid<?php echo $i?>" type="text" value="<?php echo $typeid?>" id="typeid<?php echo $i?>" value="0" size="4"></label>
  442. </td>
  443. </tr>
  444. <tr>
  445. <td height="50" rowspan="2" valign="top">节点布局:<br> </td>
  446. <td colspan="2">列数:<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="<?php echo $col?>" size="3">
  447. 图片宽:<input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="<?php echo $imgwidth?>" size="3">
  448. 图片高:<input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="<?php echo $imgheight?>" size="3">
  449. 标题长:
  450. <input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="<?php echo $titlelen?>" size="3">
  451. 简介长:
  452. <input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>" value="<?php echo $infolen?>" size="3">
  453. 文档数:
  454. <input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="<?php echo $rownum?>"
  455. size="3">
  456. </td>
  457. </tr>
  458. <tr>
  459. <td colspan="2">单条记录的模板:<br>
  460. <textarea name="listtmp<?php echo $i?>" rows="3" id="listtmp<?php echo $i?>"
  461. style="width:60%"><?php echo $temp?></textarea></td>
  462. </tr>
  463. <?php
  464. $i++;
  465. }}
  466. $dtp->Clear();
  467. for($i;$i<=$cfg_specnote;$i++)
  468. {
  469. ?>
  470. <tr bgcolor="#FBFCE2">
  471. <td width="113">节点
  472. <?php echo $i?>
  473. 名称:</td>
  474. <td colspan="2">
  475. <table width="600" border="0" cellspacing="0" cellpadding="0">
  476. <tr>
  477. <td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>"
  478. style="width:300">
  479. </td>
  480. <td width="90" align="center">节点标识:</td>
  481. <td width="200"><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>"
  482. style="width:100"></td>
  483. </tr>
  484. </table>
  485. </td>
  486. </tr>
  487. <tr>
  488. <td>节点文章列表:</td>
  489. <td><textarea name="arcid<?php echo $i?>" rows="3" onblur='CheckVal(<?php echo $i ?>)'
  490. id="arcid<?php echo $i?>" style="width:90%"></textarea></td>
  491. <td align="center"><button name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2"
  492. class="btn btn-success btn-sm" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td>
  493. </tr>
  494. <tr>
  495. <td>文档来源:</td>
  496. <td colspan="2">
  497. <label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np"
  498. checked>
  499. 按文章列表</label>
  500. <label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np">
  501. 自动获取文档</label>
  502. &nbsp;
  503. <label>关键字:
  504. <input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(空格分开)</label>
  505. <label>栏目ID:
  506. <input name="typeid<?php echo $i?>" type="text" id="_typeid<?php echo $i?>" value="0" size="4"></label>
  507. </td>
  508. </tr>
  509. <tr>
  510. <td height="50" rowspan="2" valign="top">节点布局:<br> </td>
  511. <td colspan="2">列数:<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1"
  512. size="3">
  513. 图片高:<input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="90"
  514. size="3">
  515. 图片宽:<input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="120"
  516. size="3">
  517. 标题长:
  518. <input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="60" size="3">
  519. 简介长:
  520. <input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>" value="160" size="3">
  521. 文档数:
  522. <input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="40" size="3">
  523. </td>
  524. </tr>
  525. <tr>
  526. <td colspan="2">单条记录的模板:<br> <textarea name="listtmp<?php echo $i?>" rows="3"
  527. id="listtmp<?php echo $i?>" style="width:60%"><?php echo $speclisttmp?></textarea></td>
  528. </tr>
  529. <?php
  530. }
  531. ?>
  532. </table>
  533. </td>
  534. </tr>
  535. </table>
  536. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F9FCEF" style="border:1px solid #cfcfcf;border-top:none;" class="mb-3">
  537. <tr>
  538. <td height="36">
  539. <table width="100%" border="0" cellspacing="1" cellpadding="1">
  540. <tr>
  541. <td width="17%">&nbsp;</td>
  542. <td width="83%">
  543. <table width="214" border="0" cellspacing="0" cellpadding="0">
  544. <tr>
  545. <td width="115" class="py-3"><button type="submit" class="btn btn-success">保存</button></td>
  546. <td width="99" class="py-3"><button type="button" onClick="location.reload();" class="btn btn-success">重置</button></td>
  547. </tr>
  548. </table>
  549. </td>
  550. </tr>
  551. </table>
  552. </td>
  553. </tr>
  554. </table>
  555. <script language='javascript'>InitPage();</script>
  556. </form>
  557. </body>
  558. </html>