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

660 lines
29KB

  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. <link href="css/base.css" rel="stylesheet" type="text/css">
  8. <script language="javascript" src="../static/js/jquery.js"></script>
  9. <script language="javascript" src="../static/js/dedeajax2.js"></script>
  10. <script type="text/javascript" src="js/calendar/calendar.js"></script>
  11. <script language="javascript" src="js/main.js"></script>
  12. <script language="javascript">
  13. function checkSubmit() {
  14. if (document.form1.title.value == '') {
  15. alert('软件名称不能为空!');
  16. document.form1.title.focus();
  17. return false;
  18. }
  19. if (document.form1.typeid.value == 0) {
  20. alert('请选择档案的主类别!');
  21. return false;
  22. }
  23. }
  24. var startNum = 0;
  25. function MakeUpload() {
  26. var upfield = document.getElementById("uploadfield");
  27. var endNum = parseInt(document.form1.picnum.value) + startNum - 1;
  28. if (endNum > 30) endNum = 30;
  29. for (startNum; startNum <= endNum; startNum++) {
  30. upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' style='width:280px' value='http://' /> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:150px' /></div>\r\n";
  31. }
  32. }
  33. function ShowHideAddr() {
  34. document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == 'block' ? 'none' : 'block');
  35. document.getElementById('morelink').style.height = '100%';
  36. document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : '显示地址');
  37. }
  38. </script>
  39. <style type="text/css">
  40. body {
  41. background-image: url(images/allbg.gif);
  42. }
  43. .STYLE1 {
  44. color: #555
  45. }
  46. </style>
  47. </head>
  48. <body topmargin="8">
  49. <form name="form1" action="soft_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
  50. <input type="hidden" name="dopost" value="save" />
  51. <input type="hidden" name="channelid" value="<?php echo $channelid?>" />
  52. <input type="hidden" name="cid" value="<?php echo $cid; ?>" />
  53. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  54. <tr>
  55. <td width="64%" height="30"><IMG height=14 src="images/book1.gif" width=20>&nbsp;<a
  56. href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>软件列表</u></a>&gt;&gt;发布新软件
  57. </td>
  58. <td align="right">&nbsp; <a href="catalog_main.php">[<u>栏目管理</u>]</a>
  59. [<a href="soft_config.php"><u>下载频道参数设定</u></a>]&nbsp;</td>
  60. </tr>
  61. </table>
  62. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1">
  63. <tr>
  64. <td colspan="2">
  65. <table border="0" cellpadding="0" cellspacing="0">
  66. <tr>
  67. <td width="84" height="24" align="center" background="images/itemnote1.gif">&nbsp;常规信息&nbsp;</td>
  68. <td width="84" align="center" background="images/itemnote2.gif"><a href="#"
  69. onClick="ShowItem2()"><u>高级参数</u></a></td>
  70. </tr>
  71. </table>
  72. </td>
  73. </tr>
  74. </table>
  75. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
  76. <tr>
  77. <td colspan="2">
  78. <table height="24" border="0" cellpadding="0" cellspacing="0">
  79. <tr>
  80. <td width="84" align="center" background="images/itemnote2.gif"><a href="#"
  81. onClick="ShowItem1()"><u>常规信息</u></a>&nbsp;</td>
  82. <td width="84" align="center" background="images/itemnote1.gif">高级参数</td>
  83. </tr>
  84. </table>
  85. </td>
  86. </tr>
  87. </table>
  88. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset"
  89. style="border:1px solid #cfcfcf;background:#ffffff;">
  90. <tr>
  91. <td height="24" class="bline">
  92. <table width="800" border="0" cellspacing="0" cellpadding="0">
  93. <tr>
  94. <td width="90">&nbsp;软件名称:</td>
  95. <td width='408'><input name="title" type="text" id="title" style="width:388px"> </td>
  96. <td width="90">&nbsp;简略标题:</td>
  97. <td><input name="shorttitle" type="text" id="shorttitle" style="width:150px"> </td>
  98. </tr>
  99. </table>
  100. </td>
  101. </tr>
  102. <tr>
  103. <td width="400%" height="24" class="bline">
  104. <table width="800" border="0" cellspacing="0" cellpadding="0">
  105. <tr>
  106. <td width="90">&nbsp;自定义属性:</td>
  107. <td><?php
  108. $dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc");
  109. $dsql->Execute();
  110. while($trow = $dsql->GetObject())
  111. {
  112. if($trow->att=='j')
  113. echo "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'>{$trow->attname}[{$trow->att}]";
  114. else
  115. echo "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'>{$trow->attname}[{$trow->att}]";
  116. }
  117. ?> </td>
  118. </tr>
  119. </table>
  120. </td>
  121. </tr>
  122. <tr>
  123. <td height="24" class="bline" id="redirecturltr" style="display:none">
  124. <table width="800" border="0" cellspacing="0" cellpadding="0">
  125. <tr>
  126. <td width="90">&nbsp;跳转网址:</td>
  127. <td>
  128. <input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="" /> </td>
  129. </tr>
  130. </table>
  131. </td>
  132. </tr>
  133. <tr>
  134. <td width="400%" height="24" class="bline">
  135. <table width="800" border="0" cellspacing="0" cellpadding="0">
  136. <tr>
  137. <td width="89">&nbsp;TAG标签:</td>
  138. <td width="516">
  139. <input name="tags" type="text" id="tags" value="" style="width:300px" />
  140. (','号分开,单个标签小于12字节</td>
  141. <td width="37">权重:</td>
  142. <td width="158"><input name="weight" type="text" id="weight" style="width:50px"
  143. value="<?php echo $maxWright['cc'];?>" />(越小越靠前)</td>
  144. </tr>
  145. </table>
  146. </td>
  147. </tr>
  148. <tr id="pictable">
  149. <td height="24" class="bline">
  150. <table width="800" border="0" cellspacing="0" cellpadding="0">
  151. <tr>
  152. <td width="90"> &nbsp;缩 略 图:</td>
  153. <td width="560">
  154. <table width="100%" border="0" cellspacing="1" cellpadding="1">
  155. <tr>
  156. <td height="30">
  157. <input name="picname" type="text" id="picname" style="width:240px" />
  158. <input type="button" value="本地上传" style="width:70px;cursor:pointer;" />
  159. <iframe name='uplitpicfra' id='uplitpicfra' src='' style='display:none'></iframe>
  160. <span class="litpic_span"><input name="litpic" type="file" id="litpic"
  161. onChange="SeePicNew(this, 'divpicview', 'uplitpicfra', 165, 'soft_add.php');" size="1"
  162. class='np coolbg' /></span>
  163. <input type="button" name="Submit2" value="站内选择" style="margin-left:8px;"
  164. onClick="SelectImage('form1.picname','small');" class='np coolbg' />
  165. <input type="button" name="Submit2" value="裁剪" style="margin-left:8px;"
  166. onClick="imageCut('picname');" class='np coolbg' />
  167. <input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' />远程 </td>
  168. </tr>
  169. </table>
  170. </td>
  171. <td width="150" align="center">
  172. <div id='divpicview' class='divpre'></div>
  173. </td>
  174. </tr>
  175. </table>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td height="24" class="bline">
  180. <table width="800" border="0" cellspacing="0" cellpadding="0">
  181. <tr>
  182. <td width="90">&nbsp;软件来源:</td>
  183. <td width="240">
  184. <input name="source" type="text" id="source" style="width:200px"> </td>
  185. <td width="90">软件作者:</td>
  186. <td width="159"><input name="writer" type="text" id="writer" style="width:120px"></td>
  187. <td>&nbsp;</td>
  188. </tr>
  189. </table>
  190. </td>
  191. </tr>
  192. <tr>
  193. <td height="24" class="bline">
  194. <table width="800" border="0" cellspacing="0" cellpadding="0">
  195. <tr>
  196. <td width="90">&nbsp;软件主栏目:</td>
  197. <td>
  198. <span id='typeidct'>
  199. <?php
  200. $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
  201. echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
  202. echo "<option value='0'>请选择栏目...</option>\r\n";
  203. echo $typeOptions;
  204. echo "</select>";
  205. ?></span>
  206. <img src='images/menusearch.gif' style='cursor:pointer;'
  207. onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' />
  208. &nbsp;
  209. <?php
  210. if($cfg_need_typeid2=='Y')
  211. {
  212. echo "<a href='javascript:AddTypeid2();'>【<u>选择副栏目</u>】</a>";
  213. }
  214. ?>
  215. <?php
  216. if($cfg_remote_site=='Y')
  217. {
  218. ?>  
  219. <input name="isremote" type="checkbox" id="isremote" value="1"
  220. <?php if($cfg_title_site=='Y') echo "checked";?>>是否同步远程发布 <?php GetFtp();?> <?php
  221. }
  222. ?>
  223. </td>
  224. </tr>
  225. </table>
  226. </td>
  227. </tr>
  228. <tr id='typeid2tr' style='display:none'>
  229. <td height="24" colspan="4" class="bline">
  230. <table width="800" border="0" cellspacing="0" cellpadding="0">
  231. <tr>
  232. <td width="90">&nbsp;软件副栏目:</td>
  233. <td>
  234. <span id='typeid2ct'></span><input type='text' name='typeid2' id='typeid2' value=''
  235. style='width:200px;' />
  236. <img src='images/menusearch2.gif' style='cursor:pointer;'
  237. onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" alt='选择副栏目' title='选择副栏目' />
  238. </td>
  239. </tr>
  240. </table>
  241. </td>
  242. </tr>
  243. <tr>
  244. <td width="400%" height="24" class="bline">
  245. <table width="800" border="0" cellspacing="0" cellpadding="0">
  246. <tr>
  247. <td width="90">&nbsp;文件类型:</td>
  248. <td width="240">
  249. <select name="filetype" id="filetype" style="width:100">
  250. <option value=".exe" selected>.exe</option>
  251. <option value=".zip">.zip</option>
  252. <option value=".rar">.rar</option>
  253. <option value=".iso">.iso</option>
  254. <option value=".gz">.gz</option>
  255. <option value="其它">其它</option>
  256. </select> </td>
  257. <td width="90">软件等级:</td>
  258. <td><select name="softrank" id="softrank" style="width:100px">
  259. <option value="1">一星</option>
  260. <option value="2">二星</option>
  261. <option value="3" selected>三星 </option>
  262. <option value="4">四星</option>
  263. <option value="5">五星</option>
  264. </select></td>
  265. </tr>
  266. </table>
  267. </td>
  268. </tr>
  269. <tr>
  270. <td height="24" class="bline">
  271. <table width="800" border="0" cellspacing="0" cellpadding="0">
  272. <tr>
  273. <td width="90">&nbsp;软件类型:</td>
  274. <td width="120">
  275. <select name="softtype" id="softtype" style="width:100px">
  276. <option value="国产软件" selected>国产软件</option>
  277. <option value="国外软件">国外软件</option>
  278. <option value="汉化补丁">汉化补丁</option>
  279. </select></td>
  280. <td width="72">界面语言: </td>
  281. <td width="131"><select name="language" id="language" style="width:100">
  282. <option value="简体中文" selected>简体中文</option>
  283. <option value="英文软件">英文软件</option>
  284. <option value="繁体中文">繁体中文</option>
  285. <option value="其它类型">其它类型</option>
  286. </select></td>
  287. <td width="69">授权方式:</td>
  288. <td width="318">
  289. <select name="accredit" id="accredit" style="width:100px">
  290. <option value="共享软件" selected>共享软件</option>
  291. <option value="免费软件">免费软件</option>
  292. <option value="开源软件">开源软件</option>
  293. <option value="商业软件">商业软件</option>
  294. <option value="破解软件">破解软件</option>
  295. <option value="游戏外挂">游戏外挂</option>
  296. </select></td>
  297. </tr>
  298. </table>
  299. </td>
  300. </tr>
  301. <tr>
  302. <td height="24" class="bline">
  303. <table width="800" border="0" cellspacing="0" cellpadding="0">
  304. <tr>
  305. <td width="90">&nbsp;运行环境:</td>
  306. <td>
  307. <input type='text' name='os' value='Win2003,WinXP,Win2000,Win9X' style='width:300px' />
  308. </td>
  309. </tr>
  310. </table>
  311. </td>
  312. </tr>
  313. <tr>
  314. <td height="24" class="bline">
  315. <table width="800" border="0" cellspacing="0" cellpadding="0">
  316. <tr>
  317. <td width="90">&nbsp;官方网址:</td>
  318. <td width="240">
  319. <input name="officialUrl" type="text" id="officialUrl" value="http://" style="width:200px" /> </td>
  320. <td width="90">演示地址:</td>
  321. <td>
  322. <input name="officialDemo" type="text" id="officialDemo" value="http://" style="width:200px" /> </td>
  323. </tr>
  324. </table>
  325. </td>
  326. </tr>
  327. <tr>
  328. <td height="24" class="bline">
  329. <table width="800" border="0" cellspacing="0" cellpadding="0">
  330. <tr>
  331. <td width="90">&nbsp;软件大小:</td>
  332. <td><input name="softsize" type="text" id="softsize" style="width:100px">
  333. <select name="unit" id="unit">
  334. <option value="MB" selected>MB</option>
  335. <option value="KB">KB</option>
  336. <option value="GB">GB</option>
  337. </select>
  338. <input name="autosize" type="checkbox" class="np" id="autosize" value="1" checked>
  339. 自动获得 (必须包含一个本地软件) </td>
  340. </tr>
  341. </table>
  342. </td>
  343. </tr>
  344. <tr>
  345. <td><?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield'); ?></td>
  346. </tr>
  347. <tr>
  348. <td height="24" bgcolor="#F9FCEF"" class=" bline2"><strong>&nbsp;下载限制:</strong></td>
  349. </tr>
  350. <tr>
  351. <td height="24" class="bline">
  352. <table width="800" border="0" cellpadding="0" cellspacing="0">
  353. <tr>
  354. <td width="90" height="30">&nbsp;需会员权限:</td>
  355. <td width="179" align="left">
  356. <select name="daccess" id="daccess" style="width:90px">
  357. <?php
  358. $dsql->SetQuery("Select * from `#@__arcrank` where rank>=0 ");
  359. $dsql->Execute();
  360. while($row = $dsql->GetArray())
  361. {
  362. if($row['rank']==0) $row['membername'] = "不限会员";
  363. if($row['rank'] == $softconfig['dfrank']) echo " <option value='{$row['rank']}' selected>{$row['membername']}</option>\r\n";
  364. else echo " <option value='{$row['rank']}'>{$row['membername']}</option>\r\n";
  365. }
  366. ?>
  367. </select> </td>
  368. <td width="120" align="center">需消费金币:</td>
  369. <td width="411">
  370. <input name="needmoney" type="text" id="needmoney" value="<?php echo $softconfig['dfywboy']; ?>"
  371. size="8" />个 </td>
  372. </tr>
  373. <tr>
  374. <td height="26" colspan="4" style="border-top:1px dashed #8EAF61">&nbsp; <span
  375. class="STYLE1">(如果设定了下载限制,[<a href="soft_config.php"
  376. target="_blank"><u>软件频道设置</u></a>]中“附件下载方式:”必须选择“链接到跳转页面”) </span></td>
  377. </tr>
  378. </table>
  379. </td>
  380. </tr>
  381. <tr>
  382. <td height="24" bgcolor="#F9FCEF" class="bline2"><strong>&nbsp;本地软件选择:</strong></td>
  383. </tr>
  384. <tr>
  385. <td height="24" class="bline">
  386. <table width="800" border="0" cellspacing="0" cellpadding="0">
  387. <tr>
  388. <td width="90" height="30">&nbsp;本地地址:</td>
  389. <td>
  390. <input name="softurl1" type="text" id="softurl1" size="35" />
  391. <input name="sel1" type="button" id="sel1" value="选取" onClick="SelectSoft('form1.softurl1')" />
  392. 服务器名称:
  393. <input name="servermsg1" type="text" id="servermsg1" value="本地下载" style="width:150px" />
  394. </td>
  395. </tr>
  396. </table>
  397. </td>
  398. </tr>
  399. <?php
  400. if($softconfig['moresitedo'] == 0 && trim($softconfig['sites']) != '')
  401. {
  402. ?>
  403. <tr>
  404. <td height="24" bgcolor="#F9FCEF" class="bline2"><b>&nbsp;预设的镜像服务器:</b></td>
  405. </tr>
  406. <tr class="bline">
  407. <td style="padding-left:10px;">
  408. (服务器地址 + 软件地址 = 软件真实地址 [<a href="soft_config.php" target="_blank"><u>软件频道设置</u></a>])<br />
  409. <?php
  410. $sites = explode("\n", $softconfig['sites']);
  411. $startNum = 2;
  412. foreach($sites as $site)
  413. {
  414. $site = trim($site);
  415. if(empty($site)) continue;
  416. list($siteurl, $sitename) = explode('|', $site);
  417. $siteurl = trim($siteurl);
  418. $sitename = trim($sitename);
  419. ?>
  420. <?php echo $sitename; ?>:
  421. <input type='hidden' name='forconfig<?php echo $startNum; ?>' value='1' />
  422. <input type='text' name='softurlfirst<?php echo $startNum; ?>' style='width:200px'
  423. value='<?php echo $siteurl; ?>' /> +
  424. <input type='text' name='softurl<?php echo $startNum; ?>' style='width:120px' value='' />
  425. <input type='text' name='servermsg<?php echo $startNum; ?>' style='width:150px'
  426. value='<?php echo $sitename; ?>' />
  427. <input type='checkbox' name='need<?php echo $startNum; ?>' class='np' value='1' checked />启用
  428. <br />
  429. <?php
  430. $startNum++;
  431. }//foreach
  432. echo "<script language='javascript'>startNum = $startNum;</script>\r\n";
  433. ?>
  434. </td>
  435. </tr>
  436. <?php
  437. }//需要预设镜像
  438. ?>
  439. <tr>
  440. <td height="24" bgcolor="#F9FCEF" class="bline2"><b>&nbsp;手动指定地址:</b></td>
  441. </tr>
  442. <tr>
  443. <td height="24" class="bline" style="padding-left:8px">
  444. <table width="800" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px;" class="bline">
  445. <tr>
  446. <td width="90">其它地址:</td>
  447. <td>
  448. <input name="picnum" type="text" id="picnum" size="8" value="5" />
  449. <input name='kkkup' type='button' id='kkkup2' value='增加地址' onClick="MakeUpload();" />
  450. &nbsp;
  451. <input type="button" name="Submit3" id="btsh3" value="隐藏地址" onClick="ShowHideAddr();" />
  452. (最多为30个链接)
  453. </td>
  454. </tr>
  455. </table>
  456. <div id="morelink" style="display:block">
  457. <div id='uploadfield' style="width:790px"></div>
  458. </div>
  459. </td>
  460. </tr>
  461. <tr>
  462. <td height="24" bgcolor="#F9FCEF" class="bline2"><strong>&nbsp;软件详细介绍:</strong></td>
  463. </tr>
  464. <tr>
  465. <td height="24" class="bline">
  466. <table width="800" border="0" cellspacing="0" cellpadding="0">
  467. <tr>
  468. <td width="90">&nbsp;附加选项:</td>
  469. <td><input name="remote" type="checkbox" class="np" id="remote" value="1"
  470. <?php if($cfg_rm_remote=='Y') echo ' checked'; ?>>
  471. 下载远程图片和资源
  472. <input name="dellink" type="checkbox" class="np" id="dellink" value="1"
  473. <?php if($cfg_arc_dellink=='Y') echo ' checked'; ?>>
  474. 删除非站内链接 <a href="javascript:OpenMyWin('article_allowurl_edit.php');">[设置]</a>
  475. <input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1"
  476. <?php if($cfg_arc_autopic=='Y') echo ' checked'; ?>>
  477. 提取第一个图片为缩略图 </td>
  478. </tr>
  479. </table>
  480. </td>
  481. </tr>
  482. <tr>
  483. <td height="100">
  484. <?php
  485. GetEditor('body', '', 250, 'Small');
  486. ?>
  487. </td>
  488. </tr>
  489. </table>
  490. <!-- //高级参数 -->
  491. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset"
  492. style="display:none;border:1px solid #cfcfcf;background:#ffffff;">
  493. <tr>
  494. <td height="24" colspan="4" class="bline">
  495. <table width="800" border="0" cellspacing="0" cellpadding="0">
  496. <tr>
  497. <td width="90" height="22" width="240">&nbsp;评论选项:</td>
  498. <td width="240">
  499. <input type='radio' name='notpost' class='np' value='0'
  500. <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> />允许评论
  501. &nbsp;
  502. <input type='radio' name='notpost' class='np' value='1'
  503. <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> />禁止评论
  504. </td>
  505. <td width="90">浏览次数:</td>
  506. <td>
  507. <input type='text' name='click'
  508. value='<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>'
  509. style='width:100px;' />
  510. </td>
  511. </tr>
  512. </table>
  513. </td>
  514. </tr>
  515. <tr>
  516. <td height="24" colspan="4" class="bline">
  517. <table width="800" border="0" cellspacing="0" cellpadding="0">
  518. <tr>
  519. <td width="90" height="22">&nbsp;文章排序:</td>
  520. <td width="240"> <select name="sortup" id="sortup" style="width:150">
  521. <option value="0" selected>默认排序</option>
  522. <option value="7">置顶一周</option>
  523. <option value="30">置顶一个月</option>
  524. <option value="90">置顶三个月</option>
  525. <option value="180">置顶半年</option>
  526. <option value="360">置顶一年</option>
  527. </select> </td>
  528. <td width="90">标题颜色:</td>
  529. <td>
  530. <input name="color" type="text" id="color" style="width:120px">
  531. <input name="modcolor" type="button" id="modcolor" value="选取" onClick="ShowColor(event,this)"> </td>
  532. </tr>
  533. </table>
  534. </td>
  535. </tr>
  536. <tr>
  537. <td height="24" colspan="4" class="bline">
  538. <table width="800" border="0" cellspacing="0" cellpadding="0">
  539. <tr>
  540. <td width="90">&nbsp;阅读权限:</td>
  541. <td width="240">
  542. <select name="arcrank" id="arcrank" style="width:150px">
  543. <option value='0'>已审核状态</option>
  544. <option value='-1'>未审核状态</option>
  545. </select>
  546. </td>
  547. <td width="90">发布选项:</td>
  548. <td>
  549. <input name="ishtml" type="radio" class="np" value="1" checked>
  550. 生成HTML
  551. <input type="radio" name="ishtml" class="np" value="0">
  552. 仅动态浏览
  553. </td>
  554. </tr>
  555. </table>
  556. </td>
  557. </tr>
  558. <tr>
  559. <td height="24" colspan="4" class="bline">
  560. <table width="800" border="0" cellspacing="0" cellpadding="0">
  561. <tr>
  562. <td width="90">&nbsp;发布时间:</td>
  563. <td width="241">
  564. <?php
  565. $nowtime = GetDateTimeMk(time());
  566. echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200;\" >";
  567. ?>
  568. <script language="javascript" type="text/javascript">
  569. Calendar.setup({
  570. inputField: "pubdate",
  571. ifFormat: "%Y-%m-%d %H:%M:%S",
  572. showsTime: true,
  573. timeFormat: "24"
  574. });
  575. </script>
  576. </td>
  577. <td width="90">消费金币:</td>
  578. <td width="379">
  579. <input name="money" type="hidden" id="money" value="0" />(此项已经独立分离)
  580. </td>
  581. </tr>
  582. </table>
  583. </td>
  584. </tr>
  585. <tr>
  586. <td height="24" colspan="4" class="bline">
  587. <table width="800" border="0" cellspacing="0" cellpadding="0">
  588. <tr>
  589. <td width="90">&nbsp;关键字:</td>
  590. <td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /><input
  591. name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1"
  592. <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>
  593. <input type="button" name="Submit" value="浏览..." style="width:56;height:20"
  594. onClick="SelectKeywords('form1.keywords');">&nbsp;&nbsp;自动获取,手动填写用","分开</td>
  595. </tr>
  596. </table>
  597. </td>
  598. </tr>
  599. <tr>
  600. <td height="24" colspan="4" class="bline">
  601. <table width="800" border="0" cellspacing="0" cellpadding="0">
  602. <tr>
  603. <td width="90">&nbsp;内容摘要:</td>
  604. <td width="449"><textarea name="description" rows="3" id="description" style="width:80%"></textarea></td>
  605. <td width="261">&nbsp;</td>
  606. </tr>
  607. </table>
  608. </td>
  609. </tr>
  610. <tr>
  611. <td height="24" colspan="4">
  612. <table width="800" border="0" cellspacing="0" cellpadding="0">
  613. <tr>
  614. <td width="90">&nbsp;自定义文件名:</td>
  615. <td width="449"><input type="text" name="filename" id="filename" />(不包括后缀名如.html等)</td>
  616. <td width="261">&nbsp;</td>
  617. </tr>
  618. </table>
  619. </td>
  620. </tr>
  621. </table>
  622. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F9FCEF"
  623. style="border:1px solid #cfcfcf;border-top:none;">
  624. <tr>
  625. <td height="35">
  626. <table width="100%" border="0" cellspacing="1" cellpadding="1">
  627. <tr>
  628. <td width="17%">&nbsp;</td>
  629. <td width="83%">
  630. <table width="214" border="0" cellspacing="0" cellpadding="0">
  631. <tr>
  632. <td width="115"><input name="imageField" type="image" src="images/button_ok.gif" width="60"
  633. height="22" class="np" border="0"></td>
  634. <td width="99"><img src="images/button_reset.gif" width="60" height="22" border="0"
  635. onClick="location.reload();" style="cursor:pointer;"></td>
  636. </tr>
  637. </table>
  638. </td>
  639. </tr>
  640. </table>
  641. </td>
  642. </tr>
  643. </table>
  644. </form>
  645. <script language='javascript'>InitPage();</script>
  646. </body>
  647. </html>