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

141 lines
5.0KB

  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/css/bootstrap.min.css">
  7. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  8. <link href="css/base.css" rel="stylesheet" type="text/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("请选择项目!\r\n");
  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 background='images/allbg.gif' leftmargin='8' topmargin='8'>
  44. <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3">
  45. <tr>
  46. <td height="26" colspan="7" background='images/tbg.gif'>
  47. <table width="96%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
  48. <tr>
  49. <td width="20%" height="18" style="padding-left:10px;"><strong>管理系统日志:</strong></td>
  50. <td width="80%" align="right">&nbsp; </td>
  51. </tr>
  52. </table>
  53. </td>
  54. </tr>
  55. <tr align="center" bgcolor="#ffffff">
  56. <td colspan="7">
  57. <table width="90%" border="0" cellspacing="0" cellpadding="0" class="table-borderless">
  58. <form name='formsearch'>
  59. <tr>
  60. <td>
  61. 管理员:
  62. <select name="adminid" id="adminid" style="width:90px">
  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:100px" />
  68. 时间:
  69. <select name="dtime" id="dtime">
  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}
  95. <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  96. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  97. <td>
  98. <input name='logs' type='checkbox' class='np' id="logs" value='{dede:field.lid/}' />
  99. </td>
  100. <td>
  101. {dede:field.userid/}
  102. </td>
  103. <td>
  104. <input class="np" type="text" value="{dede:field.filename/}" name="t0" style="width:100px" />
  105. </td>
  106. <td>
  107. {dede:field.method/}
  108. </td>
  109. <td>
  110. {dede:field.cip/}
  111. </td>
  112. <td>
  113. {dede:field.dtime function="MyDate('y/m/d H:i:s',@me)" /}
  114. </td>
  115. <td>
  116. <input class="np" type="text" value="{dede:field.query/}" name="t1" style="width:280px" />
  117. </td>
  118. </tr>
  119. {/dede:datalist}
  120. </form>
  121. <tr>
  122. <td height="30" colspan="7" bgcolor="#FCFDF7">
  123. &nbsp; <button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
  124. &nbsp; <button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除所选</button>
  125. &nbsp; <button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button>
  126. </td>
  127. </tr>
  128. <tr bgcolor="#F9FCEF">
  129. <td height="26" colspan="7" align="center">
  130. {dede:pagelist listsize='5' /}
  131. </td>
  132. </tr>
  133. </table>
  134. </body>
  135. </html>