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

588 lines
26KB

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