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

130 lines
4.8KB

  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 language="javascript">
  10. //获得选中文件的文件名
  11. function getCheckboxItem() {
  12. var allSel = "";
  13. if (document.form1.logs.value) return document.form1.logs.value;
  14. for (i = 0; i < document.form1.logs.length; i++) {
  15. if (document.form1.logs[i].checked) {
  16. if (allSel == "")
  17. allSel = document.form1.logs[i].value;
  18. else
  19. allSel = allSel + "`" + document.form1.logs[i].value;
  20. }
  21. }
  22. return allSel;
  23. }
  24. function ReSel() {
  25. for (i = 0; i < document.form1.logs.length; i++) {
  26. if (document.form1.logs[i].checked) document.form1.logs[i].checked = false;
  27. else document.form1.logs[i].checked = true;
  28. }
  29. }
  30. function DelSel() {
  31. var nid = getCheckboxItem();
  32. if (nid == "") {
  33. alert("请选择项目");
  34. return;
  35. }
  36. location.href = "log_edit.php?dopost=del&ids=" + nid;
  37. }
  38. function ClearLog() {
  39. location.href = "log_edit.php?dopost=clear";
  40. }
  41. </script>
  42. </head>
  43. <body>
  44. <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  45. <tr>
  46. <td height="26" colspan="7" background="../static/web/img/tbg.gif">
  47. <table width="96%" cellpadding="0" cellspacing="0" class="table table-borderless">
  48. <tr>
  49. <td width="30%" style="padding-left:10px">管理系统日志</td>
  50. <td width="70%" align="right"></td>
  51. </tr>
  52. </table>
  53. </td>
  54. </tr>
  55. <tr align="center">
  56. <td colspan="7">
  57. <table width="100%" cellspacing="0" cellpadding="0" class="table-borderless">
  58. <form name='formsearch'>
  59. <tr>
  60. <td width="180" align="center">
  61. <select name="adminid" id="adminid" style="width:160px">
  62. <option value="0" selected>全部</option>
  63. <?php echo $adminlist?>
  64. </select>
  65. </td>
  66. <td width="170"><input name="cip" type="text" id="cip" size="15" style="width:160px"></td>
  67. <td width="170">
  68. <select name="dtime" id="dtime" style="width:160px">
  69. <option value="0" selected>全部</option>
  70. <option value="7">一周内</option>
  71. <option value="15">15天内</option>
  72. <option value="30">30天以内</option>
  73. <option value="60">60天以内</option>
  74. </select>
  75. </td>
  76. <td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
  77. </tr>
  78. </form>
  79. </table>
  80. </td>
  81. </tr>
  82. <tr align="center" bgcolor="#F8FCF1">
  83. <td width="8%">选择</td>
  84. <td width="11%">管理员</td>
  85. <td width="15%">访问文件</td>
  86. <td width="8%">方式</td>
  87. <td width="14%">访问IP</td>
  88. <td width="16%">时间</td>
  89. <td width="28%">Query参数</td>
  90. </tr>
  91. <form name="form1">
  92. {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
  93. <tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
  94. <td>
  95. <input name='logs' type='checkbox' class='np' id="logs" value='{dede:field.lid/}'>
  96. </td>
  97. <td>
  98. {dede:field.userid/}
  99. </td>
  100. <td>
  101. <input class="np" type="text" value="{dede:field.filename/}" name="t0" style="width:100px">
  102. </td>
  103. <td>
  104. {dede:field.method/}
  105. </td>
  106. <td>
  107. {dede:field.cip/}
  108. </td>
  109. <td>
  110. {dede:field.dtime function="MyDate('y/m/d H:i:s',@me)" /}
  111. </td>
  112. <td>
  113. <input class="np" type="text" value="{dede:field.query/}" name="t1" style="width:280px">
  114. </td>
  115. </tr>
  116. {/dede:datalist}
  117. </form>
  118. <tr>
  119. <td height="26" colspan="7">
  120. <button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
  121. <button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除所选</button>
  122. <button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button>
  123. </td>
  124. </tr>
  125. <tr>
  126. <td height="36" bgcolor="#f8f8f8" colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
  127. </tr>
  128. </table>
  129. </body>
  130. </html>