run.htm 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <div id="logs_jbsxBox" class="pageContent">
  2. <div class="pageHeader" style="border:1px #B8D0D6 solid">
  3. <form id="pagerSearchForm" onsubmit="return divSearch(this, 'logs_jbsxBox');"
  4. action="<!--{echo $domain_prefix}-->/?m=acp&c=logs&a=run"
  5. method="post">
  6. <input type="hidden" name="pageNum" value="1"/>
  7. <input type="hidden" name="numPerPage" value="<!--{echo $limit}-->"/>
  8. <input type="hidden" name="orderField" value="<!--{echo $order}-->"/>
  9. <input type="hidden" name="orderDirection" value="<!--{echo $direction=='desc'?'asc':'desc';}-->"/>
  10. <div class="searchBar">
  11. <table class="searchContent">
  12. <tr>
  13. <td>
  14. 类型:
  15. <input type="radio" name="status" value="" <!--{echo $status==0?'checked':''}--> />全部
  16. <input type="radio" name="status" value="1" <!--{echo $status==2?'checked':''}--> />登录
  17. <input type="radio" name="status" value="2" <!--{echo $status==3?'checked':''}--> />退出
  18. </td>
  19. <td>
  20. <div class="buttonActive">
  21. <div class="buttonContent">
  22. <button type="submit">筛选</button>
  23. </div>
  24. </div>
  25. </td>
  26. </tr>
  27. </table>
  28. </div>
  29. </form>
  30. </div>
  31. <div class="pageContent">
  32. <div class="unitBox">
  33. <form id="pagerForm" onsubmit="return divSearch(this, 'logs_jbsxBox');"
  34. action="<!--{echo $domain_prefix}-->/?m=acp&c=logs&a=run"
  35. method="post">
  36. <input type="hidden" name="pageNum" value="1"/>
  37. <input type="hidden" name="numPerPage" value="${model.numPerPage}"/>
  38. <input type="hidden" name="orderField" value="${param.orderField}"/>
  39. <input type="hidden" name="orderDirection" value="${param.orderDirection}"/>
  40. <div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid">
  41. <table class="table" width="99%" layoutH="85" rel="logs_jbsxBox">
  42. <thead>
  43. <tr>
  44. <th width="80">ID</th>
  45. <th>用户名</th>
  46. <th>内容</th>
  47. <th>机器信息</th>
  48. <th>来源</th>
  49. <th>IP</th>
  50. <th>时间</th>
  51. <th>类型</th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <!--{if(!empty($data)){}-->
  56. <!--{foreach ($data as $k => $v){}-->
  57. <tr target="user_id" rel="<!--{echo $v['id'];}-->">
  58. <td>
  59. <!--{echo $v['id'];}-->
  60. </td>
  61. <td><!--{echo $v['username'];}--></td>
  62. <td><!--{echo $v['content'];}--></td>
  63. <td><!--{echo $v['refer'];}--></td>
  64. <td><!--{echo $v['browser'];}--></td>
  65. <td><!--{echo $v['ip'];}--></td>
  66. <td><!--{echo $v['created'];}--></td>
  67. <td>
  68. <!--{echo $v['log_type']==1?'登入':'退出';}-->
  69. </td>
  70. </tr>
  71. <!--{}}-->
  72. <!--{}}-->
  73. </tbody>
  74. </table>
  75. <div class="panelBar">
  76. <div class="pages">
  77. <span>显示</span>
  78. <select class="combox" name="numPerPage"
  79. onchange="navTabPageBreak({numPerPage:this.value}, 'logs_jbsxBox')">
  80. <option value="10"
  81. <!--{echo $limit==10?'selected':''}-->>10</option>
  82. <option value="20"
  83. <!--{echo $limit==20?'selected':''}-->>20</option>
  84. <option value="50"
  85. <!--{echo $limit==50?'selected':''}-->>50</option>
  86. <option value="100"
  87. <!--{echo $limit==100?'selected':''}-->>100</option>
  88. </select>
  89. <span>共<!--{echo $counts}-->条</span>
  90. </div>
  91. <div class="pagination" rel="logs_jbsxBox" totalCount="<!--{echo $counts}-->"
  92. numPerPage="<!--{echo $limit}-->" pageNumShown="5"
  93. currentPage="<!--{echo $page}-->">
  94. </div>
  95. </div>
  96. </div>
  97. </form>
  98. </div>
  99. </div>
  100. </div>