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

596 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 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 src="../static/js/bootstrap.bundle.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. alert("专题名称不能为空!");
  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. alert('你的节点' + 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">
  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"><u>专题列表</u></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">[<u>更新HTML</u>]</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="#"
  107. onClick="ShowItem2()"><u>专题文档</u></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="#"
  119. onClick="ShowItem1()"><u>常规参数</u></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="90">&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 "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked' />{$trow->attname}[{$trow->att}]";
  160. else
  161. echo "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' />{$trow->attname}[{$trow->att}]";
  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"]?>"><input type="button" name="Submit" value="浏览..."
  179. style="width:70px" onClick="SelectImage('form1.picname','');">
  180. <input type='checkbox' class='np' name='ddisremote' value='1'>
  181. 远程
  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-danger 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. <input type="button" name="set3" value="浏览..." style="width:60px"
  210. onClick="SelectTemplets('form1.templet');" />
  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"> <input name="ishtml" type="radio" class="np" value="1"
  226. <?php if($arcRow["ismake"]!=-1) echo " checked='1'";?> />
  227. 生成HTML
  228. <input type="radio" name="ishtml" class="np" value="0"
  229. <?php if($arcRow["ismake"]==-1) echo " checked='1'";?> />
  230. 仅动态浏览 </td>
  231. </tr>
  232. </table>
  233. </td>
  234. </tr>
  235. <tr>
  236. <td height="24" 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. <input name="modcolor" type="button" id="modcolor" value="选取" onClick="ShowColor(event,this)" />
  259. </td>
  260. </tr>
  261. </table>
  262. </td>
  263. </tr>
  264. <tr>
  265. <td height="24" 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. <?php
  280. if($cfg_remote_site=='Y')
  281. {
  282. ?>  
  283. <input name="isremote" type="checkbox" id="isremote" value="1"
  284. <?php if($cfg_title_site=='Y') echo "checked";?>>是否同步远程发布 <?php GetFtp();?> <?php
  285. }
  286. ?> </td>
  287. <td width="100" align="center">&nbsp; </td>
  288. </tr>
  289. </table>
  290. </td>
  291. </tr>
  292. <tr>
  293. <td height="24" colspan="4" class="bline">
  294. <table width="800" border="0" cellspacing="0" cellpadding="0">
  295. <tr>
  296. <td width="90" height="51">&nbsp;关键字:</td>
  297. <td> <input type="text" name="keywords" rows="3" id="keywords" style="width:350px"
  298. value="<?php echo $arcRow["keywords"]?>" />
  299. </td>
  300. </tr>
  301. </table>
  302. </td>
  303. </tr>
  304. <tr>
  305. <td height="24" colspan="4" class="bline">
  306. <table width="800" border="0" cellspacing="0" cellpadding="0">
  307. <tr>
  308. <td width="90" height="78">&nbsp;专题说明:</td>
  309. <td> <textarea name="description" rows="4" id="textarea"
  310. style="width:350px"><?php echo $arcRow["description"]?></textarea>
  311. </td>
  312. </tr>
  313. </table>
  314. </td>
  315. </tr>
  316. <tr>
  317. <td height="24" colspan="4" class="bline">
  318. <table width="800" border="0" cellspacing="0" cellpadding="0">
  319. <tr>
  320. <td width="90" height="22" width="240">&nbsp;评论选项:</td>
  321. <td width="250">
  322. <input type='radio' name='notpost' class='np' value='0'
  323. <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> />允许评论
  324. &nbsp;
  325. <input type='radio' name='notpost' class='np' value='1'
  326. <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> />禁止评论
  327. </td>
  328. <td width="90">浏览次数:</td>
  329. <td>
  330. <input type='text' name='click' value='<?php echo $arcRow['click']; ?>' style='width:100px;' />
  331. </td>
  332. </tr>
  333. </table>
  334. </td>
  335. </tr>
  336. <tr>
  337. <td height="24" colspan="4" class="bline">
  338. <table width="800" border="0" cellspacing="0" cellpadding="0">
  339. <tr>
  340. <td width="90">&nbsp;发布时间:</td>
  341. <td>
  342. <?php
  343. $addtime = GetDateTimeMk($arcRow["senddate"]);
  344. echo "$addtime (标准排序和生成HTML名称的依据时间) <input type='hidden' name='senddate' value='".$arcRow["senddate"]."' />";
  345. ?>
  346. </td>
  347. </tr>
  348. </table>
  349. </td>
  350. </tr>
  351. <tr>
  352. <td height="24" colspan="4" class="bline">
  353. <table width="800" border="0" cellspacing="0" cellpadding="0">
  354. <tr>
  355. <td width="90">&nbsp;更新时间:</td>
  356. <td>
  357. <?php
  358. $nowtime = GetDateTimeMk($arcRow["pubdate"]);
  359. echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\" class='datepicker'/>";
  360. ?>
  361. </td>
  362. <td width="234">&nbsp;</td>
  363. </tr>
  364. </table>
  365. </td>
  366. </tr>
  367. <tr>
  368. <td height="24" colspan="4">
  369. <table width="800" border="0" cellspacing="0" cellpadding="0">
  370. <tr>
  371. <td width="104">&nbsp;自定义文件名:</td>
  372. <td width="597">
  373. <input type="text" name="filename" id="filename"
  374. value="<?php echo $arcRow["filename"]?>" />(不包括后缀名如.html等)
  375. </td>
  376. <td width="99" align="center">&nbsp; </td>
  377. </tr>
  378. </table>
  379. </td>
  380. </tr>
  381. <tr>
  382. <td>
  383. <?php
  384. PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield');
  385. ?>
  386. </td>
  387. </tr>
  388. </table>
  389. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2"
  390. style="border:1px solid #cfcfcf;background:#ffffff;display:none;" id="adset">
  391. <tr>
  392. <td height="24" class="bline2"> <strong>专题节点列表:</strong>
  393. (文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章) <br />
  394. 关于单条记录模板里的[field:fieldname /]标记的使用,请参考关于系统帮助关于 arclist 标记的说明。</td>
  395. </tr>
  396. <tr>
  397. <td height="24" valign="top">
  398. <table width="800" border="0" cellspacing="2" cellpadding="2">
  399. <?php
  400. $speclisttmp = GetSysTemplets("spec_arclist.htm");
  401. $i = 1;
  402. $dtp = new DedeTagParse();
  403. $dtp->LoadSource($addRow["note"]);
  404. if(is_array($dtp->CTags)){
  405. foreach($dtp->CTags as $tagid=>$ctag)
  406. {
  407. if($ctag->GetName()!="specnote") continue;
  408. $notename = $ctag->GetAtt('name');
  409. $col = $ctag->GetAtt('col');
  410. $idlist = $ctag->GetAtt('idlist');
  411. $imgwidth = $ctag->GetAtt('imgwidth');
  412. $imgheight = $ctag->GetAtt('imgheight');
  413. $titlelen = $ctag->GetAtt('titlelen');
  414. $infolen = $ctag->GetAtt('infolen');
  415. $temp = trim($ctag->GetInnerText());
  416. $noteid = $ctag->GetAtt('noteid');
  417. if(empty($noteid)) $noteid = $i;
  418. $isauto = $ctag->GetAtt('isauto');
  419. if(empty($isauto)) $isauto = 0;
  420. $keywords = $ctag->GetAtt('keywords');
  421. $typeid = $ctag->GetAtt('typeid');
  422. if(empty($typeid)) $typeid = 0;
  423. $rownum = $ctag->GetAtt('rownum');
  424. if(empty($rownum)) $rownum = 40;
  425. ?>
  426. <tr bgcolor="#FBFCE2">
  427. <td width="113">节点
  428. <?php echo $i?>
  429. 名称:</td>
  430. <td colspan="2">
  431. <table width="600" border="0" cellspacing="0" cellpadding="0">
  432. <tr>
  433. <td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>"
  434. style="width:300" value="<?php echo $notename?>">
  435. </td>
  436. <td width="90" align="center">节点标识:</td>
  437. <td width="200"><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>"
  438. style="width:100" value="<?php echo $noteid?>"></td>
  439. </tr>
  440. </table>
  441. </td>
  442. </tr>
  443. <tr>
  444. <td>节点文章列表:</td>
  445. <td><textarea name="arcid<?php echo $i?>" rows="3" onblur='CheckVal(<?php echo $i ?>)'
  446. id="arcid<?php echo $i?>" style="width:90%"><?php echo $idlist?></textarea></td>
  447. <td align="center"><input name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2"
  448. value="选择节点文章" style="width:100" onClick="SelectArcList('form1.arcid<?php echo $i?>');"></td>
  449. </tr>
  450. <tr>
  451. <td>文档来源:</td>
  452. <td colspan="2">
  453. <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np"
  454. <?php if($isauto==0) echo " checked";?>>
  455. 按文章列表
  456. <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np"
  457. <?php if($isauto==1) echo " checked";?>>
  458. 自动获取文档
  459. &nbsp;
  460. 关键字:
  461. <input name="keywords<?php echo $i?>" type="text" value="<?php echo $keywords?>"
  462. id="keywords<?php echo $i?>" value="" size="16">(逗号分开)
  463. 栏目ID:
  464. <input name="typeid<?php echo $i?>" type="text" value="<?php echo $typeid?>" id="typeid<?php echo $i?>"
  465. value="0" size="4">
  466. </td>
  467. </tr>
  468. <tr>
  469. <td height="51" rowspan="2" valign="top">节点布局:<br /> </td>
  470. <td colspan="2">列数: <input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>"
  471. value="<?php echo $col?>" size="3">
  472. 图片宽: <input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>"
  473. value="<?php echo $imgwidth?>" size="3">
  474. 图片高: <input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>"
  475. value="<?php echo $imgheight?>" size="3">
  476. 标题长:
  477. <input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>"
  478. value="<?php echo $titlelen?>" size="3">
  479. 简介长:
  480. <input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>"
  481. value="<?php echo $infolen?>" size="3">
  482. 文档数:
  483. <input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="<?php echo $rownum?>"
  484. size="3">
  485. </td>
  486. </tr>
  487. <tr>
  488. <td colspan="2">单条记录的模板:<br />
  489. <textarea name="listtmp<?php echo $i?>" rows="3" id="listtmp<?php echo $i?>"
  490. style="width:60%"><?php echo $temp?></textarea></td>
  491. </tr>
  492. <?php
  493. $i++;
  494. }}
  495. $dtp->Clear();
  496. for($i;$i<=$cfg_specnote;$i++)
  497. {
  498. ?>
  499. <tr bgcolor="#FBFCE2">
  500. <td width="113">节点
  501. <?php echo $i?>
  502. 名称:</td>
  503. <td colspan="2">
  504. <table width="600" border="0" cellspacing="0" cellpadding="0">
  505. <tr>
  506. <td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>"
  507. style="width:300">
  508. </td>
  509. <td width="90" align="center">节点标识:</td>
  510. <td width="200"><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>"
  511. style="width:100"></td>
  512. </tr>
  513. </table>
  514. </td>
  515. </tr>
  516. <tr>
  517. <td>节点文章列表:</td>
  518. <td><textarea name="arcid<?php echo $i?>" rows="3" onblur='CheckVal(<?php echo $i ?>)'
  519. id="arcid<?php echo $i?>" style="width:90%"></textarea></td>
  520. <td align="center"><input name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2"
  521. value="选择节点文章" style="width:100" onClick="SelectArcList('form1.arcid<?php echo $i?>');"></td>
  522. </tr>
  523. <tr>
  524. <td>文档来源:</td>
  525. <td colspan="2">
  526. <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np"
  527. checked>
  528. 按文章列表
  529. <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np">
  530. 自动获取文档
  531. &nbsp;
  532. 关键字:
  533. <input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(空格分开)
  534. 栏目ID:
  535. <input name="typeid<?php echo $i?>" type="text" id="typeid<?php echo $i?>" value="0" size="4">
  536. </td>
  537. </tr>
  538. <tr>
  539. <td height="51" rowspan="2" valign="top">节点布局:<br /> </td>
  540. <td colspan="2">列数: <input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1"
  541. size="3">
  542. 图片高: <input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="90"
  543. size="3">
  544. 图片宽: <input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="120"
  545. size="3">
  546. 标题长:
  547. <input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="60" size="3">
  548. 简介长:
  549. <input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>" value="160" size="3">
  550. 文档数:
  551. <input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="40" size="3">
  552. </td>
  553. </tr>
  554. <tr>
  555. <td colspan="2">单条记录的模板:<br /> <textarea name="listtmp<?php echo $i?>" rows="3"
  556. id="listtmp<?php echo $i?>" style="width:60%"><?php echo $speclisttmp?></textarea></td>
  557. </tr>
  558. <?php
  559. }
  560. ?>
  561. </table>
  562. </td>
  563. </tr>
  564. </table>
  565. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F9FCEF"
  566. style="border:1px solid #cfcfcf;border-top:none;">
  567. <tr>
  568. <td height="35">
  569. <table width="100%" border="0" cellspacing="1" cellpadding="1">
  570. <tr>
  571. <td width="17%">&nbsp;</td>
  572. <td width="83%">
  573. <table width="214" border="0" cellspacing="0" cellpadding="0">
  574. <tr>
  575. <td width="115"><input name="imageField" type="image" class='np' src="images/button_ok.gif"
  576. width="60" height="22" border="0"></td>
  577. <td width="99"><img src="images/button_reset.gif" width="60" height="22" border="0"
  578. onClick="location.reload();" style="cursor:pointer"></td>
  579. </tr>
  580. </table>
  581. </td>
  582. </tr>
  583. </table>
  584. </td>
  585. </tr>
  586. </table>
  587. <script language='javascript'>InitPage();</script>
  588. </form>
  589. </body>
  590. </html>