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

111 lines
4.7KB

  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. <style>
  45. .maintable {
  46. width: 98%!important;
  47. }
  48. </style>
  49. </head>
  50. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  51. <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table table-bordered maintable mt-3">
  52. <tr>
  53. <td height="28" colspan="8" background='images/tbg.gif'>
  54. <table width="96%" border="0" cellpadding="0" cellspacing="0" class="table-borderless">
  55. <tr>
  56. <td width="20%" height="18" style="padding-left:10px;"><strong>临时内容管理:</strong></td>
  57. <td width="80%" align="right">
  58. <?php echo $exportbt; ?>
  59. <input type="button" name="ba2" value="节点管理" class="coolbg np" style="width:80px"
  60. onClick="location.href='co_main.php';" />
  61. <input type="button" name="ba1" value="清空下载内容" class="coolbg np" style="width:100px"
  62. onClick="location.href='co_do.php?dopost=clearall';" />
  63. </td>
  64. </tr>
  65. </table>
  66. </td>
  67. </tr>
  68. <tr align="center" height="26" bgcolor="#FBFCE2">
  69. <td width="6%">选择</td>
  70. <td width="30%">内容标题</td>
  71. <td width="15%">所属节点</td>
  72. <td width="10%">获取日期</td>
  73. <td width="8%">下载</td>
  74. <td width="8%">导出</td>
  75. <td width="10%">预设栏目</td>
  76. <td width="8%">来源网页</td>
  77. </tr>
  78. <form name="form1">
  79. {dede:datalist}
  80. <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  81. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  82. <td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
  83. <td><a href='co_view.php?aid={dede:field.aid/}'>{dede:field.title/}</a></td>
  84. <td><a href='co_edit.php?nid={dede:field.nid/}'>{dede:field.notename/}</a></td>
  85. <td>{dede:field.dtime function="GetDateMk(@me)" /}</td>
  86. <td>{dede:field.isdown function="IsDownLoad(@me)" /}</td>
  87. <td>{dede:field.isex function="IsExData(@me)" /}</td>
  88. <td>{dede:field.typename /}</td>
  89. <td><a href='{dede:field.url/}' target='_blank'>[源网址]</a></td>
  90. </tr>
  91. {/dede:datalist}
  92. </form>
  93. <tr>
  94. <td height="30" colspan="8" bgcolor="#FCFDF7">&nbsp;
  95. <input type="button" name="b11" value="反选" class="coolbg np" style="width:40px" onClick="ReSel();" />  
  96. <input type="button" name="b12" value="仅删除网址" class="coolbg np" style="width:80px" onClick="DelSel();" />
  97. <input type="button" name="b13" value="仅清空内容" class="coolbg np" style="width:80px" onClick="ClearCt();" />
  98. <input type="button" name="b14" value="删除网址及历史记录" class="coolbg np" style="width:120px" onClick="DelSel2();" />
  99. </td>
  100. </tr>
  101. <tr>
  102. <td height="36" colspan="8" bgcolor="#F9FCEF" align="center">
  103. {dede:pagelist listsize=5/}
  104. </td>
  105. </tr>
  106. </table>
  107. </body>
  108. </html>