国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

soft_add.htm 26KB

2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
2年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>增加软件集</title>
  6. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. <script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
  10. <script language="javascript" src="../static/web/js/jquery.min.js"></script>
  11. <script src="../static/web/js/bootstrap.bundle.min.js"></script>
  12. <script language="javascript" src="../static/web/js/webajax.js"></script>
  13. <link rel="stylesheet" href="../static/web/css/daterangepicker.css">
  14. <script type="text/javascript" src="../static/web/js/moment.min.js"></script>
  15. <script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
  16. <link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
  17. <script language="javascript" src="js/main.js"></script>
  18. <link rel="stylesheet" href="../static/web/css/cropper.min.css">
  19. <script src="../static/web/js/cropper.min.js"></script>
  20. <script language="javascript">
  21. function checkSubmit() {
  22. if (document.form1.title.value == '') {
  23. ShowMsg('软件名称不能为空');
  24. document.form1.title.focus();
  25. return false;
  26. }
  27. if (document.form1.typeid.value == 0) {
  28. ShowMsg('请选择档案的主类别');
  29. return false;
  30. }
  31. }
  32. var startNum = 0;
  33. function MakeUpload() {
  34. var upfield = document.getElementById("uploadfield");
  35. var endNum = parseInt(document.form1.picnum.value) + startNum - 1;
  36. if (endNum > 30) endNum = 30;
  37. for (startNum; startNum <= endNum; startNum++) {
  38. upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' style='width:260px'> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:160px'></div>";
  39. }
  40. }
  41. function ShowHideAddr() {
  42. document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == 'block' ? 'none' : 'block');
  43. document.getElementById('morelink').style.height = '100%';
  44. document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : '显示地址');
  45. }
  46. </script>
  47. <style>
  48. body{background:#fff}
  49. img{vertical-align:baseline}
  50. table{border-collapse:separate}
  51. .style1 {color:#555}
  52. </style>
  53. </head>
  54. <body>
  55. <form name="form1" action="soft_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
  56. <input type="hidden" name="dopost" value="save">
  57. <input type="hidden" name="channelid" value="<?php echo $channelid?>">
  58. <input type="hidden" name="cid" value="<?php echo $cid; ?>">
  59. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
  60. <tr>
  61. <td width="60%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> &gt; 发布软件</td>
  62. <td align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a><a href="soft_config.php" class="btn btn-success btn-sm">下载频道参数设定</a></td>
  63. </tr>
  64. </table>
  65. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1">
  66. <tr>
  67. <td colspan="2">
  68. <table border="0" cellpadding="0" cellspacing="0">
  69. <tr>
  70. <td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
  71. <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td>
  72. </tr>
  73. </table>
  74. </td>
  75. </tr>
  76. </table>
  77. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
  78. <tr>
  79. <td colspan="2">
  80. <table height="26" border="0" cellpadding="0" cellspacing="0">
  81. <tr>
  82. <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规信息</a></td>
  83. <td width="86" align="center" background="../static/web/img/itemnote1.gif">高级参数</td>
  84. </tr>
  85. </table>
  86. </td>
  87. </tr>
  88. </table>
  89. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;background:#ffffff;">
  90. <tr>
  91. <td height="26" class="bline">
  92. <table width="900" border="0" cellspacing="0" cellpadding="0">
  93. <tr>
  94. <td width="90">&nbsp;软件名称:</td>
  95. <td width="400"><input name="title" type="text" id="title" style="width:380px"></td>
  96. <td width="90">&nbsp;简略标题:</td>
  97. <td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
  98. </tr>
  99. </table>
  100. </td>
  101. </tr>
  102. <tr>
  103. <td width="400%" height="26" class="bline">
  104. <table width="900" 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 "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> ";
  114. else
  115. echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
  116. }
  117. ?></td>
  118. </tr>
  119. </table>
  120. </td>
  121. </tr>
  122. <tr>
  123. <td height="26" class="bline" id="redirecturltr" style="display:none">
  124. <table width="900" border="0" cellspacing="0" cellpadding="0">
  125. <tr>
  126. <td width="90">&nbsp;跳转网址:</td>
  127. <td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
  128. </tr>
  129. </table>
  130. </td>
  131. </tr>
  132. <tr>
  133. <td width="400%" height="26" class="bline">
  134. <table width="900" border="0" cellspacing="0" cellpadding="0">
  135. <tr>
  136. <td width="90">&nbsp;Tag标签:</td>
  137. <td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
  138. <td width="60">权重:</td>
  139. <td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
  140. </tr>
  141. </table>
  142. </td>
  143. </tr>
  144. <tr id="pictable">
  145. <td height="26" class="bline">
  146. <table width="900" border="0" cellspacing="0" cellpadding="0">
  147. <tr>
  148. <td width="90">&nbsp;缩略图:</td>
  149. <td>
  150. <input name="picname" type="text" id="picname" style="width:300px">
  151. <label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'>&nbsp;远程</label>
  152. <span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
  153. <button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button>
  154. <button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
  155. </td>
  156. <td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td>
  157. </tr>
  158. </table>
  159. </td>
  160. </tr>
  161. <tr>
  162. <td height="26" class="bline">
  163. <table width="900" border="0" cellspacing="0" cellpadding="0">
  164. <tr>
  165. <td width="90">&nbsp;来源:</td>
  166. <td width="260">
  167. <input name="source" type="text" id="source" style="width:160px">
  168. <button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
  169. </td>
  170. <td width="60">作者:</td>
  171. <td>
  172. <input name="writer" type="text" id="writer" style="width:160px">
  173. <button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
  174. </td>
  175. </tr>
  176. </table>
  177. </td>
  178. </tr>
  179. <tr>
  180. <td height="26" class="bline">
  181. <table width="900" border="0" cellspacing="0" cellpadding="0">
  182. <tr>
  183. <td width="90">&nbsp;发布栏目:</td>
  184. <td width="360">
  185. <span id='typeidct'>
  186. <?php
  187. $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
  188. echo "<select name='typeid' id='typeid' style='width:160px'>";
  189. echo "<option value='0'>请选择栏目</option>";
  190. echo $typeOptions;
  191. echo "</select>";
  192. ?>
  193. </span>
  194. <img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" title='快捷选择'>
  195. <?php
  196. if($cfg_need_typeid2=='Y')
  197. {
  198. echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>";
  199. }
  200. ?>
  201. </td>
  202. <td width="90" align="center">消费金币:</td>
  203. <td><input name="needmoney" type="text" id="needmoney" value="<?php echo $softconfig['dfywboy']; ?>" style="width:160px"></td>
  204. </tr>
  205. </table>
  206. </td>
  207. </tr>
  208. <tr id='typeid2tr' style='display:none'>
  209. <td height="26" colspan="4" class="bline">
  210. <table width="900" border="0" cellspacing="0" cellpadding="0">
  211. <tr>
  212. <td width="90">&nbsp;副栏目:</td>
  213. <td>
  214. <span id='typeid2ct'></span>
  215. <input type='text' name='typeid2' id='typeid2' value='' style='width:260px;'>
  216. <img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" title='选择副栏目' style='cursor:pointer'>
  217. </td>
  218. </tr>
  219. </table>
  220. </td>
  221. </tr>
  222. <tr>
  223. <td height="26" colspan="4" class="bline">
  224. <table width="900" border="0" cellspacing="0" cellpadding="0">
  225. <tr>
  226. <td width="90">&nbsp;关键词:</td>
  227. <td>
  228. <input type='text' name="keywords" id="keywords" value="" style="width:360px">
  229. <button type="button" name="Submit" class='btn btn-success btn-sm' onClick="SelectKeywords('form1.keywords');">浏览</button>
  230. </td>
  231. <td>
  232. <label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>&nbsp;自动获取,手动填写用","分开</label>
  233. </td>
  234. </tr>
  235. </table>
  236. </td>
  237. </tr>
  238. <tr>
  239. <td height="26" colspan="4" class="bline">
  240. <table width="900" border="0" cellspacing="0" cellpadding="0">
  241. <tr>
  242. <td width="90">&nbsp;描述:</td>
  243. <td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td>
  244. </tr>
  245. </table>
  246. </td>
  247. </tr>
  248. <tr>
  249. <td height="26" class="bline">
  250. <table width="1100" border="0" cellspacing="0" cellpadding="0">
  251. <tr>
  252. <td width="90">&nbsp;文件类型:</td>
  253. <td>
  254. <select name="filetype" id="filetype" style="width:160px">
  255. <option value=".exe" selected>.exe</option>
  256. <option value=".zip">.zip</option>
  257. <option value=".rar">.rar</option>
  258. <option value=".iso">.iso</option>
  259. <option value=".gz">.gz</option>
  260. <option value="其它">其它</option>
  261. </select>
  262. </td>
  263. <td width="90">软件等级:</td>
  264. <td><select name="softrank" id="softrank" style="width:160px">
  265. <option value="1">一星</option>
  266. <option value="2">二星</option>
  267. <option value="3" selected>三星 </option>
  268. <option value="4">四星</option>
  269. <option value="5">五星</option>
  270. </select>
  271. </td>
  272. <td width="90">&nbsp;软件属性:</td>
  273. <td>
  274. <select name="softtype" id="softtype" style="width:160px">
  275. <option value="国产软件" selected>国产软件</option>
  276. <option value="国外软件">国外软件</option>
  277. <option value="汉化补丁">汉化补丁</option>
  278. </select>
  279. </td>
  280. <td width="90">界面语言:</td>
  281. <td>
  282. <select name="language" id="language" style="width:160px">
  283. <option value="简体中文" selected>简体中文</option>
  284. <option value="英文软件">英文软件</option>
  285. <option value="繁体中文">繁体中文</option>
  286. <option value="其它类型">其它类型</option>
  287. </select>
  288. </td>
  289. <td width="90">授权方式:</td>
  290. <td>
  291. <select name="accredit" id="accredit" style="width:160px">
  292. <option value="共享软件" selected>共享软件</option>
  293. <option value="免费软件">免费软件</option>
  294. <option value="开源软件">开源软件</option>
  295. <option value="商业软件">商业软件</option>
  296. <option value="破解软件">破解软件</option>
  297. <option value="游戏外挂">游戏外挂</option>
  298. </select>
  299. </td>
  300. </tr>
  301. </table>
  302. </td>
  303. </tr>
  304. <tr>
  305. <td height="26" class="bline">
  306. <table width="900" border="0" cellspacing="0" cellpadding="0">
  307. <tr>
  308. <td width="90">&nbsp;运行环境:</td>
  309. <td><input type='text' name='os' value='Win2003,WinXP,Win2000,Win9X' style='width:260px'></td>
  310. </tr>
  311. </table>
  312. </td>
  313. </tr>
  314. <tr>
  315. <td height="26" class="bline">
  316. <table width="900" border="0" cellspacing="0" cellpadding="0">
  317. <tr>
  318. <td width="90">&nbsp;官方网址:</td>
  319. <td width="310"><input name="officialUrl" type="text" id="officialUrl" value="http://" style="width:300px"></td>
  320. <td width="90">演示地址:</td>
  321. <td><input name="officialDemo" type="text" id="officialDemo" value="http://" style="width:300px"></td>
  322. </tr>
  323. </table>
  324. </td>
  325. </tr>
  326. <tr>
  327. <td height="26" class="bline">
  328. <table width="900" border="0" cellspacing="0" cellpadding="0">
  329. <tr>
  330. <td width="90">&nbsp;软件大小:</td>
  331. <td>
  332. <input name="softsize" type="text" id="softsize" style="width:60px">
  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. <label><input name="autosize" type="checkbox" class="np" id="autosize" value="1" checked>自动获得(必须包含一个本地软件)</label>
  339. </td>
  340. <td width="90">需会员权限:</td>
  341. <td align="left">
  342. <select name="daccess" id="daccess" style="width:160px">
  343. <?php
  344. $dsql->SetQuery("Select * from `#@__arcrank` where `rank`>=0 ");
  345. $dsql->Execute();
  346. while($row = $dsql->GetArray())
  347. {
  348. if($row['rank']==0) $row['membername'] = "不限会员";
  349. if($row['rank'] == $softconfig['dfrank']) echo "<option value='{$row['rank']}' selected>{$row['membername']}</option>";
  350. else echo "<option value='{$row['rank']}'>{$row['membername']}</option>";
  351. }
  352. ?>
  353. </select>
  354. <a href="soft_config.php" class="btn btn-success btn-sm">软件频道设置</a>
  355. </td>
  356. </tr>
  357. </table>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
  362. </tr>
  363. <tr>
  364. <td height="26" class="bline">
  365. <table width="900" border="0" cellspacing="0" cellpadding="0">
  366. <tr>
  367. <td width="90">&nbsp;本地地址:</td>
  368. <td>
  369. <input name="softurl1" type="text" id="softurl1" style="width:300px">
  370. <button class='btn btn-success btn-sm' name="sel1" type="button" id="sel1" onClick="SelectSoft('form1.softurl1')">选取</button>
  371. </td>
  372. <td width="90">服务器名称:</td>
  373. <td><input name="servermsg1" type="text" id="servermsg1" value="本地下载" style="width:160px"></td>
  374. </tr>
  375. </table>
  376. </td>
  377. </tr>
  378. <?php
  379. if($softconfig['moresitedo'] == 0 && trim($softconfig['sites']) != '')
  380. {
  381. ?>
  382. <tr>
  383. <td height="26" bgcolor="#f8f8f8" class="bline2">&nbsp;预设的镜像服务器:</td>
  384. </tr>
  385. <tr class="bline">
  386. <td>(服务器地址 + 软件地址 = 软件真实地址)</a><br>
  387. <?php
  388. $sites = explode("\n", $softconfig['sites']);
  389. $startNum = 2;
  390. foreach($sites as $site)
  391. {
  392. $site = trim($site);
  393. if(empty($site)) continue;
  394. list($siteurl, $sitename) = explode('|', $site);
  395. $siteurl = trim($siteurl);
  396. $sitename = trim($sitename);
  397. ?>
  398. <?php echo $sitename; ?>:
  399. <input type='hidden' name='forconfig<?php echo $startNum; ?>' value='1'>
  400. <input type='text' name='softurlfirst<?php echo $startNum; ?>' style='width:260px' value='<?php echo $siteurl; ?>'> +
  401. <input type='text' name='softurl<?php echo $startNum; ?>' style='width:160px' value=''> =
  402. <input type='text' name='servermsg<?php echo $startNum; ?>' style='width:160px' value='<?php echo $sitename; ?>'>
  403. <label><input type='checkbox' name='need<?php echo $startNum; ?>' class='np' value='1' checked> 启用</label>
  404. <br>
  405. <?php
  406. $startNum++;
  407. }
  408. echo "<script language='javascript'>startNum = $startNum;</script>";
  409. ?>
  410. </td>
  411. </tr>
  412. <?php
  413. }
  414. ?>
  415. <tr>
  416. <td height="26" bgcolor="#f8f8f8" class="bline2">&nbsp;手动指定地址:</td>
  417. </tr>
  418. <tr>
  419. <td height="26" class="bline">
  420. <table width="900" border="0" cellspacing="0" cellpadding="0" class="bline">
  421. <tr>
  422. <td width="90">&nbsp;其它地址:</td>
  423. <td>
  424. <input type="text" name="picnum" id="picnum" value="5" style="width:60px">
  425. <button type="button" name="kkkup" class="btn btn-success btn-sm" id="kkkup2" onClick="MakeUpload();">增加地址</button>
  426. <button type="button" class='btn btn-success btn-sm' name="Submit3" id="btsh3" onClick="ShowHideAddr();">隐藏地址</button>(最多为30个链接)
  427. </td>
  428. </tr>
  429. </table>
  430. <div id="morelink" style="display:block">
  431. <div id="uploadfield" style="width:800px"></div>
  432. </div>
  433. </td>
  434. </tr>
  435. <tr>
  436. <td height="26" class="bline">
  437. <table width="900" border="0" cellspacing="0" cellpadding="0">
  438. <tr>
  439. <td width="90">&nbsp;附加选项:</td>
  440. <td>
  441. <label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked'; ?>>&nbsp;下载远程图片和资源&nbsp;</label>
  442. <label><input name="dellink" type="checkbox" class="np" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo ' checked'; ?>>&nbsp;删除非站内链接</label>
  443. <a href="javascript:OpenMyWin('article_allowurl_edit.php');" class="btn btn-success btn-sm">设置</a>&nbsp;
  444. <label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked'; ?>>&nbsp;提取第一个图片为缩略图</label>
  445. </td>
  446. </tr>
  447. </table>
  448. </td>
  449. </tr>
  450. <tr>
  451. <td height="100">
  452. <?php
  453. GetEditor('body', '', 250, 'Small');
  454. ?>
  455. </td>
  456. </tr>
  457. </table>
  458. <!--高级参数-->
  459. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6;background:#ffffff;">
  460. <tr>
  461. <td height="26" colspan="4" class="bline">
  462. <table width="900" border="0" cellspacing="0" cellpadding="0">
  463. <tr>
  464. <td width="90" height="26" width="260">&nbsp;评论选项:</td>
  465. <td width="260">
  466. <label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> 允许评论</label>
  467. &nbsp;
  468. <label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> 禁止评论</label>
  469. </td>
  470. <td width="90">发布选项:</td>
  471. <td>
  472. <label><input name="ishtml" type="radio" class="np" value="1" checked>
  473. 生成HTML</label>
  474. <label><input type="radio" name="ishtml" class="np" value="0">
  475. 仅动态浏览</label>
  476. </td>
  477. </tr>
  478. </table>
  479. </td>
  480. </tr>
  481. <tr>
  482. <td height="26" colspan="4" class="bline">
  483. <table width="900" border="0" cellspacing="0" cellpadding="0">
  484. <tr>
  485. <td width="90" height="26">&nbsp;文章排序:</td>
  486. <td width="260">
  487. <select name="sortup" id="sortup" style="width:160px">
  488. <option value="0" selected>默认排序</option>
  489. <option value="7">置顶一周</option>
  490. <option value="30">置顶一个月</option>
  491. <option value="90">置顶三个月</option>
  492. <option value="180">置顶半年</option>
  493. <option value="360">置顶一年</option>
  494. </select>
  495. </td>
  496. <td width="90">标题颜色:</td>
  497. <td>
  498. <input name="color" type="text" id="color" style="width:160px">
  499. <button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
  500. </td>
  501. </tr>
  502. </table>
  503. </td>
  504. </tr>
  505. <tr>
  506. <td height="26" colspan="4" class="bline">
  507. <table width="900" border="0" cellspacing="0" cellpadding="0">
  508. <tr>
  509. <td width="90">&nbsp;阅读权限:</td>
  510. <td width="260">
  511. <select name="arcrank" id="arcrank" style="width:160px">
  512. <option value='0'>已审核状态</option>
  513. <option value='-1'>未审核状态</option>
  514. </select>
  515. </td>
  516. <td width="90">文件名称:</td>
  517. <td><input type="text" name="filename" id="filename" style="width:160px">(不包括后缀名如.html等)</td>
  518. </tr>
  519. </table>
  520. </td>
  521. </tr>
  522. <tr>
  523. <td height="26" colspan="4" class="bline">
  524. <table width="900" border="0" cellspacing="0" cellpadding="0">
  525. <tr>
  526. <td width="90">&nbsp;发布时间:</td>
  527. <td width="260">
  528. <?php
  529. $nowtime = GetDateTimeMk(time());
  530. echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>";
  531. ?>
  532. </td>
  533. <td width="90">浏览次数:</td>
  534. <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td>
  535. </tr>
  536. </table>
  537. </td>
  538. </tr>
  539. </table>
  540. <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
  541. <tr>
  542. <td align="center" class="py-3">
  543. <button type="submit" class="btn btn-success btn-sm">保存</button>
  544. <button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button>
  545. </td>
  546. </tr>
  547. </table>
  548. </form>
  549. <script language='javascript'>InitPage();</script>
  550. </body>
  551. </html>