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

131 lines
4.7KB

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