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

589 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. </td>
  280. <td width="100" align="center">&nbsp; </td>
  281. </tr>
  282. </table>
  283. </td>
  284. </tr>
  285. <tr>
  286. <td height="24" colspan="4" class="bline">
  287. <table width="800" border="0" cellspacing="0" cellpadding="0">
  288. <tr>
  289. <td width="90" height="51">&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="24" 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="24" colspan="4" class="bline">
  311. <table width="800" border="0" cellspacing="0" cellpadding="0">
  312. <tr>
  313. <td width="90" height="22" width="240">&nbsp;评论选项:</td>
  314. <td width="250">
  315. <input type='radio' name='notpost' class='np' value='0'
  316. <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> />允许评论
  317. &nbsp;
  318. <input type='radio' name='notpost' class='np' value='1'
  319. <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> />禁止评论
  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="24" 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="24" 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\" style=\"width:200px\" class='datepicker'/>";
  353. ?>
  354. </td>
  355. <td width="234">&nbsp;</td>
  356. </tr>
  357. </table>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td height="24" 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="24" class="bline2"> <strong>专题节点列表:</strong>
  386. (文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章) <br />
  387. 关于单条记录模板里的[field:fieldname /]标记的使用,请参考关于系统帮助关于 arclist 标记的说明。</td>
  388. </tr>
  389. <tr>
  390. <td height="24" 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"><input name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2"
  441. value="选择节点文章" style="width:100" onClick="SelectArcList('form1.arcid<?php echo $i?>');"></td>
  442. </tr>
  443. <tr>
  444. <td>文档来源:</td>
  445. <td colspan="2">
  446. <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. 按文章列表
  449. <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. 自动获取文档
  452. &nbsp;
  453. 关键字:
  454. <input name="keywords<?php echo $i?>" type="text" value="<?php echo $keywords?>"
  455. id="keywords<?php echo $i?>" value="" size="16">(逗号分开)
  456. 栏目ID:
  457. <input name="typeid<?php echo $i?>" type="text" value="<?php echo $typeid?>" id="typeid<?php echo $i?>"
  458. value="0" size="4">
  459. </td>
  460. </tr>
  461. <tr>
  462. <td height="51" 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"><input name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2"
  514. value="选择节点文章" style="width:100" onClick="SelectArcList('form1.arcid<?php echo $i?>');"></td>
  515. </tr>
  516. <tr>
  517. <td>文档来源:</td>
  518. <td colspan="2">
  519. <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np"
  520. checked>
  521. 按文章列表
  522. <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np">
  523. 自动获取文档
  524. &nbsp;
  525. 关键字:
  526. <input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(空格分开)
  527. 栏目ID:
  528. <input name="typeid<?php echo $i?>" type="text" id="typeid<?php echo $i?>" value="0" size="4">
  529. </td>
  530. </tr>
  531. <tr>
  532. <td height="51" 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;">
  560. <tr>
  561. <td height="35">
  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"><input name="imageField" type="image" class='np' src="images/button_ok.gif"
  569. width="60" height="22" border="0"></td>
  570. <td width="99"><img src="images/button_reset.gif" width="60" height="22" border="0"
  571. onClick="location.reload();" style="cursor:pointer"></td>
  572. </tr>
  573. </table>
  574. </td>
  575. </tr>
  576. </table>
  577. </td>
  578. </tr>
  579. </table>
  580. <script language='javascript'>InitPage();</script>
  581. </form>
  582. </body>
  583. </html>