SetMoreClass.php 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. require("../class/connect.php");
  4. require("../class/db_sql.php");
  5. require("../class/functions.php");
  6. $link=db_connect();
  7. $empire=new mysqlquery();
  8. //验证用户
  9. $lur=is_login();
  10. $logininid=$lur['userid'];
  11. $loginin=$lur['username'];
  12. $loginrnd=$lur['rnd'];
  13. $loginlevel=$lur['groupid'];
  14. $loginadminstyleid=$lur['adminstyleid'];
  15. //ehash
  16. $ecms_hashur=hReturnEcmsHashStrAll();
  17. //验证权限
  18. CheckLevel($logininid,$loginin,$classid,"setmclass");
  19. $r[newline]=10;
  20. $r[hotline]=10;
  21. $r[goodline]=10;
  22. $r[hotplline]=10;
  23. $r[firstline]=10;
  24. $url="<a href=SetMoreClass.php".$ecms_hashur['whehref'].">批量设置栏目</a>";
  25. //系统模型
  26. $m_sql=$empire->query("select mid,mname,usemod from {$dbtbpre}enewsmod order by myorder,mid");
  27. while($m_r=$empire->fetch($m_sql))
  28. {
  29. if(empty($m_r[usemod]))
  30. {
  31. if($m_r[mid]==$r[modid])
  32. {$m_d=" selected";}
  33. else
  34. {$m_d="";}
  35. $mod_options.="<option value=".$m_r[mid].$m_d.">".$m_r[mname]."</option>";
  36. }
  37. //列表模板
  38. $listtemp_options.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
  39. $lt_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewslisttemp")." where modid='$m_r[mid]'");
  40. while($lt_r=$empire->fetch($lt_sql))
  41. {
  42. if($lt_r[tempid]==$r[listtempid])
  43. {$lt_d=" selected";}
  44. else
  45. {$lt_d="";}
  46. $listtemp_options.="<option value=".$lt_r[tempid].$lt_d."> |-".$lt_r[tempname]."</option>";
  47. }
  48. //搜索模板
  49. $searchtemp.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
  50. $st_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewssearchtemp")." where modid='$m_r[mid]'");
  51. while($st_r=$empire->fetch($st_sql))
  52. {
  53. if($st_r[tempid]==$r[searchtempid])
  54. {$st_d=" selected";}
  55. else
  56. {$st_d="";}
  57. $searchtemp.="<option value=".$st_r[tempid].$st_d."> |-".$st_r[tempname]."</option>";
  58. }
  59. $newstemp_options.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
  60. $nt_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewsnewstemp")." where modid='$m_r[mid]'");
  61. while($nt_r=$empire->fetch($nt_sql))
  62. {
  63. if($nt_r[tempid]==$r[newstempid])
  64. {$nt_d=" selected";}
  65. else
  66. {$nt_d="";}
  67. $newstemp_options.="<option value=".$nt_r[tempid].$nt_d."> |-".$nt_r[tempname]."</option>";
  68. }
  69. }
  70. //会员组
  71. $qgroup='';
  72. $qgbr='';
  73. $qgi=0;
  74. $sql1=$empire->query("select groupid,groupname from {$dbtbpre}enewsmembergroup order by level");
  75. while($l_r=$empire->fetch($sql1))
  76. {
  77. if($r[groupid]==$l_r[groupid])
  78. {$select=" selected";}
  79. else
  80. {$select="";}
  81. $group.="<option value=".$l_r[groupid].$select.">".$l_r[groupname]."</option>";
  82. //投稿
  83. $qgi++;
  84. if($qgi%6==0)
  85. {
  86. $qgbr='<br>';
  87. }
  88. else
  89. {
  90. $qgbr='';
  91. }
  92. $qgchecked='';
  93. if(strstr($r[qaddgroupid],','.$l_r[groupid].','))
  94. {
  95. $qgchecked=' checked';
  96. }
  97. $qgroup.="<input type=checkbox name=qaddgroupidck[] value='".$l_r[groupid]."'".$qgchecked.">".$l_r[groupname]."&nbsp;".$br;
  98. }
  99. //封面模板
  100. $classtempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewsclasstemp")." order by tempid");
  101. while($classtempr=$empire->fetch($classtempsql))
  102. {
  103. $select="";
  104. if($r[classtempid]==$classtempr[tempid])
  105. {
  106. $select=" selected";
  107. }
  108. $classtemp.="<option value='".$classtempr[tempid]."'".$select.">".$classtempr[tempname]."</option>";
  109. }
  110. //js模板
  111. $jstempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewsjstemp")." order by tempid");
  112. while($jstempr=$empire->fetch($jstempsql))
  113. {
  114. $select="";
  115. if($r[jstempid]==$jstempr[tempid])
  116. {
  117. $select=" selected";
  118. }
  119. $jstemp.="<option value='".$jstempr[tempid]."'".$select.">".$jstempr[tempname]."</option>";
  120. }
  121. //评论模板
  122. $pltempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewspltemp")." order by tempid");
  123. while($pltempr=$empire->fetch($pltempsql))
  124. {
  125. $select="";
  126. if($r[pltempid]==$pltempr[tempid])
  127. {
  128. $select=" selected";
  129. }
  130. $pltemp.="<option value='".$pltempr[tempid]."'".$select.">".$pltempr[tempname]."</option>";
  131. }
  132. //WAP模板
  133. $wapstyles='';
  134. $wapstyle_sql=$empire->query("select styleid,stylename from {$dbtbpre}enewswapstyle order by styleid");
  135. while($wapstyle_r=$empire->fetch($wapstyle_sql))
  136. {
  137. $select="";
  138. if($r[wapstyleid]==$wapstyle_r[styleid])
  139. {
  140. $select=" selected";
  141. }
  142. $wapstyles.="<option value='".$wapstyle_r[styleid]."'".$select.">".$wapstyle_r[stylename]."</option>";
  143. }
  144. //预设投票
  145. $infovotesql=$empire->query("select voteid,ysvotename from {$dbtbpre}enewsvotemod order by voteid desc");
  146. while($infovoter=$empire->fetch($infovotesql))
  147. {
  148. $select="";
  149. if($r[definfovoteid]==$infovoter[voteid])
  150. {
  151. $select=" selected";
  152. }
  153. $definfovote.="<option value='".$infovoter[voteid]."'".$select.">".$infovoter[ysvotename]."</option>";
  154. }
  155. //--------------------操作的栏目
  156. $fcfile="../data/fc/ListEnews.php";
  157. $do_class="<script src=../data/fc/cmsclass.js></script>";
  158. if(!file_exists($fcfile))
  159. {$do_class=ShowClass_AddClass("","n",0,"|-",0,0);}
  160. db_close();
  161. $empire=null;
  162. //当前使用的模板组
  163. $thegid=GetDoTempGid();
  164. ?>
  165. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  166. <html>
  167. <head>
  168. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  169. <title>批量设置栏目</title>
  170. <link href="adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
  171. </head>
  172. <body>
  173. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
  174. <tr>
  175. <td height="25">位置:<?=$url?></td>
  176. </tr>
  177. </table>
  178. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  179. <form name="form1" method="post" action="ecmsclass.php" onsubmit="return confirm('确认要操作?');">
  180. <?=$ecms_hashur['form']?>
  181. <tr class="header">
  182. <td height="25" colspan="2"><div align="center">批量设置栏目属性</div></td>
  183. </tr>
  184. <tr>
  185. <td width="23%" height="25" valign="top" bgcolor="#FFFFFF">
  186. <div align="center">
  187. <select name="classid[]" size="73" multiple id="classid[]" style="width:180">
  188. <?=$do_class?>
  189. </select>
  190. <br>
  191. 选择多个栏目请用CTRL/SHIFT</div></td>
  192. <td width="77%" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="3" cellspacing="1" class="tableborder">
  193. <tr bgcolor="#FFFFFF">
  194. <td height="25"><div align="center">修改</div></td>
  195. <td colspan="2">设置项目</td>
  196. </tr>
  197. <tr class="header">
  198. <td width="6%" height="25"> <div align="center"></div></td>
  199. <td colspan="2"><font class=tabcolor><strong>基本属性设置</strong></font></td>
  200. </tr>
  201. <tr>
  202. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  203. <input name="doclasstype" type="checkbox" id="doclasstype" value="1">
  204. </div></td>
  205. <td width="23%" bgcolor="#FFFFFF">栏目文件扩展名</td>
  206. <td width="71%" bgcolor="#FFFFFF"> <input name="classtype" type="text" id="classtype" value=".html" size="10">
  207. <select name="select" onchange="document.form1.classtype.value=this.value">
  208. <option value=".html">扩展名</option>
  209. <option value=".html">.html</option>
  210. <option value=".htm">.htm</option>
  211. <option value=".php">.php</option>
  212. <option value=".shtml">.shtml</option>
  213. </select> </td>
  214. </tr>
  215. <tr>
  216. <td height="25" bgcolor="#FFFFFF"><div align="center">
  217. <input name="dolisttempid" type="checkbox" id="dolisttempid" value="1">
  218. </div></td>
  219. <td bgcolor="#FFFFFF">所属列表模板</td>
  220. <td bgcolor="#FFFFFF"><select name="listtempid" id="listtempid">
  221. <?=$listtemp_options?>
  222. </select> <input type="button" name="Submit6222" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
  223. </tr>
  224. <tr>
  225. <td height="25" bgcolor="#FFFFFF"><div align="center">
  226. <input name="dodtlisttempid" type="checkbox" value="1">
  227. </div></td>
  228. <td bgcolor="#FFFFFF">动态列表模板</td>
  229. <td bgcolor="#FFFFFF"><select name="dtlisttempid">
  230. <?=$listtemp_options?>
  231. </select> <input type="button" name="Submit62226" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
  232. </td>
  233. </tr>
  234. <tr>
  235. <td height="25" bgcolor="#FFFFFF"><div align="center">
  236. <input name="domaxnum" type="checkbox" id="dobmaxnum" value="1">
  237. </div></td>
  238. <td bgcolor="#FFFFFF">显示总记录数</td>
  239. <td bgcolor="#FFFFFF"><input name="maxnum" type="text" id="maxnum" value="0" size="5">
  240. 条<font color="#666666">(0为显示所有记录)</font></td>
  241. </tr>
  242. <tr>
  243. <td height="25" bgcolor="#FFFFFF"><div align="center">
  244. <input name="dolencord" type="checkbox" id="domaxnum" value="1">
  245. </div></td>
  246. <td bgcolor="#FFFFFF">每页显示记录数</td>
  247. <td bgcolor="#FFFFFF"><input name="lencord" type="text" id="lencord" value="25" size="5">
  248. 条</td>
  249. </tr>
  250. <tr>
  251. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  252. <input name="dosearchtempid" type="checkbox" id="dosearchtempid" value="1">
  253. </div></td>
  254. <td bgcolor="#FFFFFF">搜索模板</td>
  255. <td bgcolor="#FFFFFF"> <select name="searchtempid" id="searchtempid">
  256. <option value="0">使用默认模板 </option>
  257. <?=$searchtemp?>
  258. </select> <input type="button" name="Submit62" value="管理搜索模板" onclick="window.open('template/ListSearchtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
  259. </tr>
  260. <tr>
  261. <td height="25" bgcolor="#FFFFFF"><div align="center">
  262. <input name="dowapstyleid" type="checkbox" id="dowapstyleid" value="1">
  263. </div></td>
  264. <td bgcolor="#FFFFFF">WAP模板</td>
  265. <td bgcolor="#FFFFFF"><select name="wapstyleid" id="wapstyleid">
  266. <option value="0">使用默认模板</option>
  267. <?=$wapstyles?>
  268. </select> <input type="button" name="Submit6232" value="管理WAP模板" onclick="window.open('other/WapStyle.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
  269. </tr>
  270. <tr>
  271. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  272. <input name="dolistorder" type="checkbox" id="dosearchtempid3" value="1">
  273. </div></td>
  274. <td bgcolor="#FFFFFF">管理信息排序方式</td>
  275. <td bgcolor="#FFFFFF">
  276. <input name="listorder" type="text" id="listorder" value="id DESC" size="38">
  277. </td>
  278. </tr>
  279. <tr>
  280. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  281. <input name="doreorder" type="checkbox" id="doreorder" value="1">
  282. </div></td>
  283. <td bgcolor="#FFFFFF">列表式页面排序方式</td>
  284. <td bgcolor="#FFFFFF">
  285. <input name="reorder" type="text" id="reorder" value="newstime DESC" size="38">
  286. </td>
  287. </tr>
  288. <tr>
  289. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  290. <input name="dolistdt" type="checkbox" id="dolistdt" value="1">
  291. </div></td>
  292. <td bgcolor="#FFFFFF">栏目页模式</td>
  293. <td bgcolor="#FFFFFF"> <input type="radio" name="listdt" value="0"<?=$r[listdt]==0?' checked':''?>>
  294. 静态页面
  295. <input type="radio" name="listdt" value="1"<?=$r[listdt]==1?' checked':''?>>
  296. 动态页面</td>
  297. </tr>
  298. <tr>
  299. <td height="24" bgcolor="#FFFFFF"> <div align="center">
  300. <input name="doshowdt" type="checkbox" id="doshowdt" value="1">
  301. </div></td>
  302. <td bgcolor="#FFFFFF">内容页模式</td>
  303. <td bgcolor="#FFFFFF"> <input type="radio" name="showdt" value="0"<?=$r[showdt]==0?' checked':''?>>
  304. 静态页面
  305. <input type="radio" name="showdt" value="1"<?=$r[showdt]==1?' checked':''?>>
  306. 动态生成
  307. <input type="radio" name="showdt" value="2"<?=$r[showdt]==2?' checked':''?>>
  308. 动态页面</td>
  309. </tr>
  310. <tr>
  311. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  312. <input name="doshowclass" type="checkbox" id="doshowclass" value="1">
  313. </div></td>
  314. <td bgcolor="#FFFFFF">是否显示到导航</td>
  315. <td bgcolor="#FFFFFF"> <input type="radio" name="showclass" value="0"<?=$r[showclass]==0?' checked':''?>>
  316. <input type="radio" name="showclass" value="1"<?=$r[showclass]==1?' checked':''?>>
  317. 否<font color="#666666">&nbsp; </font><font color="#666666">(如:导航标签,地图标签)</font></td>
  318. </tr>
  319. <tr>
  320. <td height="25" bgcolor="#FFFFFF"><div align="center">
  321. <input name="doopenadd" type="checkbox" id="doopenadd" value="1">
  322. </div></td>
  323. <td bgcolor="#FFFFFF">开放投稿功能</td>
  324. <td bgcolor="#FFFFFF"><input name="openadd" type="radio" value="0" checked<?=$openadd0?>>
  325. <input type="radio" name="openadd" value="1"<?=$openadd1?>>
  326. 否</td>
  327. </tr>
  328. <tr class="header">
  329. <td height="25"> <div align="center"></div></td>
  330. <td colspan="2"><strong>选项设置[大栏目]</strong></td>
  331. </tr>
  332. <tr>
  333. <td height="25" bgcolor="#FFFFFF"><div align="center">
  334. <input name="doclasstempid" type="checkbox" id="doclasstempid" value="1">
  335. </div></td>
  336. <td bgcolor="#FFFFFF">封面模板</td>
  337. <td bgcolor="#FFFFFF"><select name="classtempid">
  338. <?=$classtemp?>
  339. </select> <input type="button" name="Submit62232" value="管理封面模板" onclick="window.open('template/ListClasstemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
  340. </td>
  341. </tr>
  342. <tr>
  343. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  344. <input name="doislist" type="checkbox" id="doshowclass3" value="1">
  345. </div></td>
  346. <td bgcolor="#FFFFFF">列表式</td>
  347. <td bgcolor="#FFFFFF"><input type="radio" name="islist" value="0"<?=$r[islist]==0?' checked':''?>>
  348. 封面式
  349. <input type="radio" name="islist" value="1"<?=$r[islist]==1?' checked':''?>>
  350. 列表式
  351. <input type="radio" name="islist" value="2"<?=$r[islist]==2?' checked':''?>>
  352. 页面内容式</td>
  353. </tr>
  354. <tr class="header">
  355. <td height="25"> <div align="center"></div></td>
  356. <td colspan="2"><strong>选项设置[终极栏目]</strong></td>
  357. </tr>
  358. <tr>
  359. <td height="25" bgcolor="#FFFFFF"><div align="center">
  360. <input name="donewstempid" type="checkbox" id="donewstempid" value="1">
  361. </div></td>
  362. <td bgcolor="#FFFFFF">所属内容模板</td>
  363. <td bgcolor="#FFFFFF"><select name="newstempid" id="newstempid">
  364. <?=$newstemp_options?>
  365. </select> <input type="button" name="Submit62222" value="管理内容模板" onclick="window.open('template/ListNewstemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
  366. (
  367. <input name="tobetempinfo" type="checkbox" id="tobetempinfo" value="1">
  368. 应用于已生成的信息)</td>
  369. </tr>
  370. <tr>
  371. <td height="25" bgcolor="#FFFFFF"><div align="center">
  372. <input name="dopltempid" type="checkbox" id="dopltempid" value="1">
  373. </div></td>
  374. <td bgcolor="#FFFFFF">所属评论模板</td>
  375. <td bgcolor="#FFFFFF"><select name="pltempid" id="pltempid">
  376. <option value="0">使用默认模板 </option>
  377. <?=$pltemp?>
  378. </select> <input type="button" name="Submit623" value="管理评论模板" onclick="window.open('template/ListPltemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
  379. </tr>
  380. <tr>
  381. <td height="25" bgcolor="#FFFFFF"><div align="center">
  382. <input name="dolink_num" type="checkbox" id="dolencord" value="1">
  383. </div></td>
  384. <td bgcolor="#FFFFFF">相关链接显示记录数</td>
  385. <td bgcolor="#FFFFFF"><input name="link_num" type="text" id="link_num" value="10" size="5">
  386. 条<font color="#666666">(0为不生成相关链接)</font></td>
  387. </tr>
  388. <tr>
  389. <td height="25" bgcolor="#FFFFFF"><div align="center">
  390. <input name="doinfopath" type="checkbox" id="doinfopath" value="1">
  391. </div></td>
  392. <td bgcolor="#FFFFFF">内容页存放目录</td>
  393. <td bgcolor="#FFFFFF"><input type="radio" name="infopath" value="0"<?=$r[ipath]==''?' checked':''?>>
  394. 栏目目录
  395. <input type="radio" name="infopath" value="1"<?=$r[ipath]<>''?' checked':''?>>
  396. 自定义: /
  397. <input name="ipath" type="text" id="ipath" value="<?=$r[ipath]?>">
  398. <font color="#666666">(从根目录开始)</font></td>
  399. </tr>
  400. <tr>
  401. <td height="25" bgcolor="#FFFFFF"><div align="center">
  402. <input name="donewspath" type="checkbox" id="dolink_num" value="1">
  403. </div></td>
  404. <td bgcolor="#FFFFFF">信息页目录存放形式</td>
  405. <td bgcolor="#FFFFFF"><input name="newspath" type="text" id="newspath" value="<?=$r[newspath]?>" size="10">
  406. <select name="select2" onchange="document.form1.newspath.value=this.value">
  407. <option value="Y-m-d">选择</option>
  408. <option value="Y-m-d">2005-01-27</option>
  409. <option value="Y/m-d">2005/01-27</option>
  410. <option value="Y/m/d">2005/01/27</option>
  411. <option value="Ymd">20050127</option>
  412. <option value="">不设置目录</option>
  413. </select> <font color="#666666">(如Y-m-d,Y/m-d,Ymd等形式)</font></td>
  414. </tr>
  415. <tr>
  416. <td height="25" bgcolor="#FFFFFF"><div align="center">
  417. <input name="dofilename_qz" type="checkbox" id="donewspath" value="1">
  418. </div></td>
  419. <td bgcolor="#FFFFFF">信息页文件名前缀</td>
  420. <td bgcolor="#FFFFFF"> <input name="filename_qz" type="text" id="filename_qz" value="<?=$r[filename_qz]?>" size="15">
  421. </td>
  422. </tr>
  423. <tr>
  424. <td height="25" bgcolor="#FFFFFF"><div align="center">
  425. <input name="dofilename" type="checkbox" id="dofilename" value="1">
  426. </div></td>
  427. <td bgcolor="#FFFFFF">信息页文件命名规则</td>
  428. <td bgcolor="#FFFFFF"><input name="filename" type="radio" value="0" checked>
  429. 信息ID
  430. <input type="radio" name="filename" value="1">
  431. time()
  432. <input type="radio" name="filename" value="2">
  433. md5()
  434. <input type="radio" name="filename" value="3">
  435. 目录</td>
  436. </tr>
  437. <tr>
  438. <td height="25" bgcolor="#FFFFFF"><div align="center">
  439. <input name="dofiletype" type="checkbox" id="dofiletype" value="1">
  440. </div></td>
  441. <td bgcolor="#FFFFFF">信息页文件扩展名</td>
  442. <td bgcolor="#FFFFFF"><input name="filetype" type="text" id="filetype" value=".html" size="10">
  443. <select name="select3" onchange="document.form1.filetype.value=this.value">
  444. <option value=".html">扩展名</option>
  445. <option value=".html">.html</option>
  446. <option value=".htm">.htm</option>
  447. <option value=".php">.php</option>
  448. <option value=".shtml">.shtml</option>
  449. </select>
  450. (如.html,.xml,.htm等)</td>
  451. </tr>
  452. <tr>
  453. <td height="25" bgcolor="#FFFFFF"><div align="center">
  454. <input name="doopenpl" type="checkbox" id="doopenpl" value="1">
  455. </div></td>
  456. <td bgcolor="#FFFFFF">是否开放评论功能</td>
  457. <td bgcolor="#FFFFFF"><input name="openpl" type="radio" value="0" checked<?=$openpl0?>>
  458. <input type="radio" name="openpl" value="1"<?=$openpl1?>>
  459. 否</td>
  460. </tr>
  461. <tr>
  462. <td height="25" bgcolor="#FFFFFF"><div align="center">
  463. <input name="docheckpl" type="checkbox" id="docheckpl" value="1">
  464. </div></td>
  465. <td bgcolor="#FFFFFF">评论需要审核</td>
  466. <td bgcolor="#FFFFFF"><input name="checkpl" type="checkbox" id="checkpl2" value="1"<?=$checkpl?>>
  467. 是</td>
  468. </tr>
  469. <tr>
  470. <td height="25" bgcolor="#FFFFFF"><div align="center">
  471. <input name="doqaddshowkey" type="checkbox" id="docheckpl3" value="1">
  472. </div></td>
  473. <td bgcolor="#FFFFFF">投稿开启验证码</td>
  474. <td bgcolor="#FFFFFF"><input name="qaddshowkey" type="checkbox" id="qaddshowkey2" value="1"<?=$r['qaddshowkey']==1?' checked':''?>>
  475. 是 </td>
  476. </tr>
  477. <tr>
  478. <td height="25" bgcolor="#FFFFFF"><div align="center">
  479. <input name="docheckqadd" type="checkbox" id="doqaddshowkey" value="1">
  480. </div></td>
  481. <td bgcolor="#FFFFFF">投稿需要审核</td>
  482. <td bgcolor="#FFFFFF"><input name="checkqadd" type="checkbox" id="checkqadd2" value="1"<?=$r['checkqadd']==1?' checked':''?>>
  483. 直接通过审核</td>
  484. </tr>
  485. <tr>
  486. <td height="25" bgcolor="#FFFFFF"><div align="center">
  487. <input name="doqaddgroupid" type="checkbox" id="doqaddgroupid" value="1">
  488. </div></td>
  489. <td bgcolor="#FFFFFF">投稿权限</td>
  490. <td bgcolor="#FFFFFF">
  491. <?=$qgroup?>
  492. </td>
  493. </tr>
  494. <tr>
  495. <td height="25" bgcolor="#FFFFFF"><div align="center">
  496. <input name="doqaddlist" type="checkbox" id="doqaddlist" value="1">
  497. </div></td>
  498. <td bgcolor="#FFFFFF">投稿生成列表</td>
  499. <td bgcolor="#FFFFFF"><select name="qaddlist" id="qaddlist">
  500. <option value="0"<?=$r['qaddlist']==0?' selected':''?>>不生成</option>
  501. <option value="1"<?=$r['qaddlist']==1?' selected':''?>>生成当前栏目</option>
  502. <option value="2"<?=$r['qaddlist']==2?' selected':''?>>生成首页</option>
  503. <option value="3"<?=$r['qaddlist']==3?' selected':''?>>生成父栏目</option>
  504. <option value="4"<?=$r['qaddlist']==4?' selected':''?>>生成当前栏目与父栏目</option>
  505. <option value="5"<?=$r['qaddlist']==5?' selected':''?>>生成父栏目与首页</option>
  506. <option value="6"<?=$r['qaddlist']==6?' selected':''?>>生成当前栏目、父栏目与首页</option>
  507. </select></td>
  508. </tr>
  509. <tr>
  510. <td height="25" bgcolor="#FFFFFF"><div align="center">
  511. <input name="doaddinfofen" type="checkbox" id="doaddinfofen" value="1">
  512. </div></td>
  513. <td bgcolor="#FFFFFF">单篇投稿审核后获得</td>
  514. <td bgcolor="#FFFFFF"><input name="addinfofen" type="text" id="addinfofen" value="<?=$r[addinfofen]?>" size="6">
  515. 点数 <font color="#666666">(不增加请设为0,扣点请设为负数)</font></td>
  516. </tr>
  517. <tr>
  518. <td height="25" bgcolor="#FFFFFF"><div align="center">
  519. <input name="doadminqinfo" type="checkbox" id="doadminqinfo" value="1">
  520. </div></td>
  521. <td bgcolor="#FFFFFF">管理投稿</td>
  522. <td bgcolor="#FFFFFF"><strong>
  523. <select name="adminqinfo" id="adminqinfo">
  524. <option value="0"<?=$r['adminqinfo']==0?' selected':''?>>不能管理信息</option>
  525. <option value="1"<?=$r['adminqinfo']==1?' selected':''?>>可管理未审核信息</option>
  526. <option value="2"<?=$r['adminqinfo']==2?' selected':''?>>只可编辑未审核信息</option>
  527. <option value="3"<?=$r['adminqinfo']==3?' selected':''?>>只可删除未审核信息</option>
  528. <option value="4"<?=$r['adminqinfo']==4?' selected':''?>>可管理所有信息</option>
  529. <option value="5"<?=$r['adminqinfo']==5?' selected':''?>>只可编辑所有信息</option>
  530. <option value="6"<?=$r['adminqinfo']==6?' selected':''?>>只可删除所有信息</option>
  531. </select>
  532. </strong></td>
  533. </tr>
  534. <tr>
  535. <td height="25" bgcolor="#FFFFFF"><div align="center">
  536. <input name="doqeditchecked" type="checkbox" id="doqeditchecked" value="1">
  537. </div></td>
  538. <td bgcolor="#FFFFFF">编辑投稿需要审核</td>
  539. <td bgcolor="#FFFFFF"><strong>
  540. <input name="qeditchecked" type="checkbox" id="qeditchecked" value="1"<?=$r['qeditchecked']==1?' checked':''?>>
  541. </strong>是</td>
  542. </tr>
  543. <tr>
  544. <td height="25" bgcolor="#FFFFFF"><div align="center">
  545. <input name="doaddreinfo" type="checkbox" id="doaddreinfo" value="1">
  546. </div></td>
  547. <td bgcolor="#FFFFFF">发布信息生成内容页</td>
  548. <td bgcolor="#FFFFFF"><input name="addreinfo" type="checkbox" id="addreinfo" value="1"<?=$r['addreinfo']==1?' checked':''?>>
  549. 是</td>
  550. </tr>
  551. <tr>
  552. <td height="25" bgcolor="#FFFFFF"><div align="center">
  553. <input name="dohaddlist" type="checkbox" id="dohaddlist" value="1">
  554. </div></td>
  555. <td bgcolor="#FFFFFF">发布信息生成列表</td>
  556. <td bgcolor="#FFFFFF"><select name="haddlist" id="haddlist">
  557. <option value="0"<?=$r['haddlist']==0?' selected':''?>>不生成</option>
  558. <option value="1"<?=$r['haddlist']==1?' selected':''?>>生成当前栏目</option>
  559. <option value="2"<?=$r['haddlist']==2?' selected':''?>>生成首页</option>
  560. <option value="3"<?=$r['haddlist']==3?' selected':''?>>生成父栏目</option>
  561. <option value="4"<?=$r['haddlist']==4?' selected':''?>>生成当前栏目与父栏目</option>
  562. <option value="5"<?=$r['haddlist']==5?' selected':''?>>生成父栏目与首页</option>
  563. <option value="6"<?=$r['haddlist']==6?' selected':''?>>生成当前栏目、父栏目与首页</option>
  564. </select></td>
  565. </tr>
  566. <tr>
  567. <td height="25" bgcolor="#FFFFFF"><div align="center">
  568. <input name="dosametitle" type="checkbox" id="dosametitle" value="1">
  569. </div></td>
  570. <td bgcolor="#FFFFFF">检测标题重复</td>
  571. <td bgcolor="#FFFFFF"><input name="sametitle" type="checkbox" id="sametitle" value="1"<?=$r['sametitle']==1?' checked':''?>>
  572. 是</td>
  573. </tr>
  574. <tr>
  575. <td height="25" bgcolor="#FFFFFF"><div align="center">
  576. <input name="dochecked" type="checkbox" id="dochecked" value="1">
  577. </div></td>
  578. <td bgcolor="#FFFFFF">发布信息是否直接审核</td>
  579. <td bgcolor="#FFFFFF"><input name="checked" type="checkbox" id="checked" value="1"<?=$checked?>>
  580. 是</td>
  581. </tr>
  582. <tr>
  583. <td height="25" bgcolor="#FFFFFF"><div align="center">
  584. <input name="dorepreinfo" type="checkbox" id="dorepreinfo" value="1">
  585. </div></td>
  586. <td bgcolor="#FFFFFF">发布信息生成上一篇信息</td>
  587. <td bgcolor="#FFFFFF"><input name="repreinfo" type="checkbox" id="repreinfo" value="1"<?=$r[repreinfo]==1?' checked':''?>>
  588. 是</td>
  589. </tr>
  590. <tr>
  591. <td height="25" bgcolor="#FFFFFF"><div align="center">
  592. <input name="dodefinfovoteid" type="checkbox" id="dodefinfovoteid" value="1">
  593. </div></td>
  594. <td bgcolor="#FFFFFF">信息预设投票</td>
  595. <td bgcolor="#FFFFFF"><select name="definfovoteid" id="definfovoteid">
  596. <option value="0">不设置</option>
  597. <?=$definfovote?>
  598. </select> <input type="button" name="Submit622" value="管理预设投票" onclick="window.open('other/ListVoteMod.php<?=$ecms_hashur['whehref']?>');">
  599. <font color="#666666">&nbsp;</font></td>
  600. </tr>
  601. <tr>
  602. <td height="25" bgcolor="#FFFFFF"><div align="center">
  603. <input name="dogroupid" type="checkbox" id="dogroupid" value="1">
  604. </div></td>
  605. <td bgcolor="#FFFFFF">默认查看信息权限</td>
  606. <td bgcolor="#FFFFFF"><select name="groupid" id="groupid">
  607. <option value="0">游客</option>
  608. <?=$group?>
  609. </select> <font color="#666666">(增加信息时默认的会员组权限)</font></td>
  610. </tr>
  611. <tr>
  612. <td height="25" bgcolor="#FFFFFF"><div align="center">
  613. <input name="dodoctime" type="checkbox" id="dodoctime" value="1">
  614. </div></td>
  615. <td bgcolor="#FFFFFF">归档时间</td>
  616. <td bgcolor="#FFFFFF">归档大于
  617. <input name="doctime" type="text" id="doctime" value="100" size="6">
  618. 天的信息<font color="#666666">(0为不归档)</font></td>
  619. </tr>
  620. <tr class="header">
  621. <td height="25"> <div align="center"></div></td>
  622. <td colspan="2"><strong>特殊模型设置</strong></td>
  623. </tr>
  624. <tr>
  625. <td height="25" bgcolor="#FFFFFF"><div align="center">
  626. <input name="dodown_num" type="checkbox" id="dodown_num" value="1">
  627. </div></td>
  628. <td bgcolor="#FFFFFF">下载/影视模型</td>
  629. <td bgcolor="#FFFFFF">每行显示
  630. <input name="down_num" type="text" id="link_num3" value="1" size="5">
  631. 个下载地址</td>
  632. </tr>
  633. <tr>
  634. <td height="25" bgcolor="#FFFFFF"><div align="center">
  635. <input name="doonline_num" type="checkbox" id="do3" value="1">
  636. </div></td>
  637. <td bgcolor="#FFFFFF">影视模型</td>
  638. <td bgcolor="#FFFFFF">每行显示
  639. <input name="online_num" type="text" id="down_num" value="1" size="5">
  640. 个在线观看地址</td>
  641. </tr>
  642. <tr class="header">
  643. <td height="25"> <div align="center"></div></td>
  644. <td colspan="2"><strong>JS调用设置</strong></td>
  645. </tr>
  646. <tr>
  647. <td height="25" bgcolor="#FFFFFF"><div align="center">
  648. <input name="dojstempid" type="checkbox" id="doonline_num" value="1">
  649. </div></td>
  650. <td bgcolor="#FFFFFF">所用JS模板</td>
  651. <td bgcolor="#FFFFFF"><select name="jstempid" id="jstempid">
  652. <?=$jstemp?>
  653. </select> <input type="button" name="Submit62223" value="管理JS模板" onclick="window.open('template/ListJstemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
  654. </tr>
  655. <tr>
  656. <td height="25" bgcolor="#FFFFFF"><div align="center">
  657. <input name="donewjs" type="checkbox" id="dojstempid" value="1">
  658. </div></td>
  659. <td bgcolor="#FFFFFF">最新信息js设置</td>
  660. <td bgcolor="#FFFFFF">调用
  661. <input name="newline" type="text" id="newline" value="<?=$r[newline]?>" size="6">
  662. 条记录</td>
  663. </tr>
  664. <tr>
  665. <td height="25" bgcolor="#FFFFFF"><div align="center">
  666. <input name="dohotjs" type="checkbox" id="do4" value="1">
  667. </div></td>
  668. <td bgcolor="#FFFFFF">热门信息js设置</td>
  669. <td bgcolor="#FFFFFF">调用
  670. <input name="hotline" type="text" id="hotline" value="<?=$r[hotline]?>" size="6">
  671. 条记录</td>
  672. </tr>
  673. <tr>
  674. <td height="25" bgcolor="#FFFFFF"><div align="center">
  675. <input name="dogoodjs" type="checkbox" id="do5" value="1">
  676. </div></td>
  677. <td bgcolor="#FFFFFF">推荐信息js设置</td>
  678. <td bgcolor="#FFFFFF">调用
  679. <input name="goodline" type="text" id="goodline" value="<?=$r[goodline]?>" size="6">
  680. 条记录</td>
  681. </tr>
  682. <tr>
  683. <td height="25" bgcolor="#FFFFFF"><div align="center">
  684. <input name="dohotpljs" type="checkbox" id="do6" value="1">
  685. </div></td>
  686. <td bgcolor="#FFFFFF">热门评论信息js设置</td>
  687. <td bgcolor="#FFFFFF">调用
  688. <input name="hotplline" type="text" id="hotplline" value="<?=$r[hotplline]?>" size="6">
  689. 条记录</td>
  690. </tr>
  691. <tr>
  692. <td height="25" bgcolor="#FFFFFF"><div align="center">
  693. <input name="dofirstjs" type="checkbox" id="do7" value="1">
  694. </div></td>
  695. <td bgcolor="#FFFFFF">头条信息js设置</td>
  696. <td bgcolor="#FFFFFF">调用
  697. <input name="firstline" type="text" id="firstline" value="<?=$r[firstline]?>" size="6">
  698. 条记录</td>
  699. </tr>
  700. <tr bgcolor="#FFFFFF">
  701. <td height="25"> <div align="center"> </div></td>
  702. <td colspan="2"> <input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置">
  703. <input name="enews" type="hidden" id="enews" value="SetMoreClass"></td>
  704. </tr>
  705. </table></td>
  706. </tr>
  707. </form>
  708. </table>
  709. </body>
  710. </html>