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

586 lines
25KB

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