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

132 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>
  61. 管理员:
  62. <select name="adminid" id="adminid" style="width:160px">
  63. <option value="0" selected>全部</option>
  64. <?php echo $adminlist?>
  65. </select>
  66. IP地址:
  67. <input name="cip" type="text" id="cip" size="15" style="width:160px">
  68. 时间:
  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. &nbsp;
  77. <button type="submit" class="btn btn-success btn-sm">搜索</button>
  78. </td>
  79. </tr>
  80. </form>
  81. </table>
  82. </td>
  83. </tr>
  84. <tr align="center" bgcolor="#FBFCE2">
  85. <td width="8%">选择</td>
  86. <td width="11%">管理员</td>
  87. <td width="15%">访问文件</td>
  88. <td width="8%">方式</td>
  89. <td width="14%">访问IP</td>
  90. <td width="16%">时间</td>
  91. <td width="28%">Query参数</td>
  92. </tr>
  93. <form name="form1">
  94. {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
  95. <tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';">
  96. <td>
  97. <input name='logs' type='checkbox' class='np' id="logs" value='{dede:field.lid/}'>
  98. </td>
  99. <td>
  100. {dede:field.userid/}
  101. </td>
  102. <td>
  103. <input class="np" type="text" value="{dede:field.filename/}" name="t0" style="width:100px">
  104. </td>
  105. <td>
  106. {dede:field.method/}
  107. </td>
  108. <td>
  109. {dede:field.cip/}
  110. </td>
  111. <td>
  112. {dede:field.dtime function="MyDate('y/m/d H:i:s',@me)" /}
  113. </td>
  114. <td>
  115. <input class="np" type="text" value="{dede:field.query/}" name="t1" style="width:280px">
  116. </td>
  117. </tr>
  118. {/dede:datalist}
  119. </form>
  120. <tr>
  121. <td height="26" colspan="7">
  122. <button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
  123. <button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除所选</button>
  124. <button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button>
  125. </td>
  126. </tr>
  127. <tr>
  128. <td height="36" bgcolor="#f8f8f8" colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
  129. </tr>
  130. </table>
  131. </body>
  132. </html>