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

145 lines
5.2KB

  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.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("请选择项目!\r\n");
  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 background='images/allbg.gif' leftmargin='8' topmargin='8'>
  45. <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3">
  46. <tr>
  47. <td height="28" colspan="7" background='images/tbg.gif'>
  48. <table width="96%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
  49. <tr>
  50. <td width="20%" height="18" style="padding-left:10px;"><strong>管理系统日志:</strong></td>
  51. <td width="80%" align="right">&nbsp; </td>
  52. </tr>
  53. </table>
  54. </td>
  55. </tr>
  56. <tr align="center" bgcolor="#ffffff">
  57. <td colspan="7">
  58. <table width="90%" border="0" cellspacing="0" cellpadding="0">
  59. <form name='formsearch'>
  60. <tr>
  61. <td>
  62. 管理员:
  63. <select name="adminid" id="adminid" style="width:90px">
  64. <option value="0" selected>--全部--</option>
  65. <?php echo $adminlist?>
  66. </select>
  67. IP地址:
  68. <input name="cip" type="text" id="cip" size="15" style="width:100px" />
  69. 时间:
  70. <select name="dtime" id="dtime">
  71. <option value="0" selected>--全部--</option>
  72. <option value="7">一周内</option>
  73. <option value="15">15天内</option>
  74. <option value="30">30天以内</option>
  75. <option value="60">60天以内</option>
  76. </select>
  77. &nbsp;
  78. <input type="submit" name="Submit" value="搜索" />
  79. </td>
  80. </tr>
  81. </form>
  82. </table>
  83. </td>
  84. </tr>
  85. <tr align="center" bgcolor="#FBFCE2">
  86. <td width="8%">选择</td>
  87. <td width="11%">管理员</td>
  88. <td width="15%">访问文件</td>
  89. <td width="8%">方式</td>
  90. <td width="14%">访问IP</td>
  91. <td width="16%">时间</td>
  92. <td width="28%">Query参数</td>
  93. </tr>
  94. <form name="form1">
  95. {dede:datalist}
  96. <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  97. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  98. <td>
  99. <input name='logs' type='checkbox' class='np' id="logs" value='{dede:field.lid/}' />
  100. </td>
  101. <td>
  102. {dede:field.userid/}
  103. </td>
  104. <td>
  105. <input class="np" type="text" value="{dede:field.filename/}" name="t0" style="width:100px" />
  106. </td>
  107. <td>
  108. {dede:field.method/}
  109. </td>
  110. <td>
  111. {dede:field.cip/}
  112. </td>
  113. <td>
  114. {dede:field.dtime function="MyDate('y/m/d H:i:s',@me)" /}
  115. </td>
  116. <td>
  117. <input class="np" type="text" value="{dede:field.query/}" name="t1" style="width:280px" />
  118. </td>
  119. </tr>
  120. {/dede:datalist}
  121. </form>
  122. <tr>
  123. <td height="30" colspan="7" bgcolor="#FCFDF7">
  124. &nbsp; <input type="button" name="b5" value="反选" style="width:40px" class="coolbg np" onClick="ReSel();" />
  125. &nbsp; <input type="button" name="b6" value="删除所选" style="width:80px" class="coolbg np" onClick="DelSel();" />
  126. &nbsp; <input type="button" name="b7" value="清空所有日志" style="width:100px" class="coolbg np"
  127. onClick="ClearLog();" />
  128. </td>
  129. </tr>
  130. <tr bgcolor="#F9FCEF">
  131. <td height="24" colspan="7" align="center">
  132. {dede:pagelist listsize='5' /}
  133. </td>
  134. </tr>
  135. </table>
  136. </body>
  137. </html>