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

106 lines
4.6KB

  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 rel="stylesheet" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel="stylesheet" type="text/css">
  10. <script language="javascript">
  11. //获得选中文件的文件名
  12. function getCheckboxItem() {
  13. var allSel = "";
  14. if (document.form1.aids.value) return document.form1.aids.value;
  15. for (i = 0; i < document.form1.aids.length; i++) {
  16. if (document.form1.aids[i].checked) {
  17. if (allSel == "")
  18. allSel = document.form1.aids[i].value;
  19. else
  20. allSel = allSel + "," + document.form1.aids[i].value;
  21. }
  22. }
  23. return allSel;
  24. }
  25. function ReSel() {
  26. for (i = 0; i < document.form1.aids.length; i++) {
  27. if (document.form1.aids[i].checked) document.form1.aids[i].checked = false;
  28. else document.form1.aids[i].checked = true;
  29. }
  30. }
  31. function DelSel() {
  32. var nid = getCheckboxItem();
  33. location.href = "co_do.php?dopost=clear&ids=" + nid;
  34. }
  35. function DelSel2() {
  36. var nid = getCheckboxItem();
  37. location.href = "co_do.php?dopost=clear&clshash=true&ids=" + nid;
  38. }
  39. function ClearCt() {
  40. var nid = getCheckboxItem();
  41. location.href = "co_do.php?dopost=clearct&ids=" + nid;
  42. }
  43. </script>
  44. </head>
  45. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  46. <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table table-bordered maintable mt-3">
  47. <tr>
  48. <td height="28" colspan="8" background='images/tbg.gif'>
  49. <table width="96%" border="0" cellpadding="0" cellspacing="0" class="table-borderless">
  50. <tr>
  51. <td width="20%" height="18" style="padding-left:10px;"><strong>临时内容管理:</strong></td>
  52. <td width="80%" align="right">
  53. <?php echo $exportbt; ?>
  54. <input type="button" name="ba2" value="节点管理" class="coolbg np" style="width:80px"
  55. onClick="location.href='co_main.php';" />
  56. <input type="button" name="ba1" value="清空下载内容" class="coolbg np" style="width:100px"
  57. onClick="location.href='co_do.php?dopost=clearall';" />
  58. </td>
  59. </tr>
  60. </table>
  61. </td>
  62. </tr>
  63. <tr align="center" height="26" bgcolor="#FBFCE2">
  64. <td width="6%">选择</td>
  65. <td width="30%">内容标题</td>
  66. <td width="15%">所属节点</td>
  67. <td width="10%">获取日期</td>
  68. <td width="8%">下载</td>
  69. <td width="8%">导出</td>
  70. <td width="10%">预设栏目</td>
  71. <td width="8%">来源网页</td>
  72. </tr>
  73. <form name="form1">
  74. {dede:datalist}
  75. <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  76. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  77. <td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
  78. <td><a href='co_view.php?aid={dede:field.aid/}'>{dede:field.title/}</a></td>
  79. <td><a href='co_edit.php?nid={dede:field.nid/}'>{dede:field.notename/}</a></td>
  80. <td>{dede:field.dtime function="GetDateMk(@me)" /}</td>
  81. <td>{dede:field.isdown function="IsDownLoad(@me)" /}</td>
  82. <td>{dede:field.isex function="IsExData(@me)" /}</td>
  83. <td>{dede:field.typename /}</td>
  84. <td><a href='{dede:field.url/}' target='_blank'>[源网址]</a></td>
  85. </tr>
  86. {/dede:datalist}
  87. </form>
  88. <tr>
  89. <td height="30" colspan="8" bgcolor="#FCFDF7">&nbsp;
  90. <input type="button" name="b11" value="反选" class="coolbg np" style="width:40px" onClick="ReSel();" />  
  91. <input type="button" name="b12" value="仅删除网址" class="coolbg np" style="width:80px" onClick="DelSel();" />
  92. <input type="button" name="b13" value="仅清空内容" class="coolbg np" style="width:80px" onClick="ClearCt();" />
  93. <input type="button" name="b14" value="删除网址及历史记录" class="coolbg np" style="width:120px" onClick="DelSel2();" />
  94. </td>
  95. </tr>
  96. <tr>
  97. <td height="36" colspan="8" bgcolor="#F9FCEF" align="center">
  98. {dede:pagelist listsize=5/}
  99. </td>
  100. </tr>
  101. </table>
  102. </body>
  103. </html>