心理咨询网
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

syslog.html 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {include file='common/head.html'}
  2. <div class="layui-body">
  3. <div class="layui-tab layui-tab-brief" lay-filter="tab">
  4. <ul class="layui-tab-title">
  5. <li class="layui-this" lay-id="t1">系统日志</li>
  6. </ul>
  7. <div class="layui-tab-content">
  8. <div class="layui-tab-item layui-show">
  9. <table class="layui-table">
  10. <thead>
  11. <tr>
  12. <th>序号</th>
  13. <th>事件内容</th>
  14. <th>用户IP</th>
  15. <th>操作系统</th>
  16. <th>浏览器</th>
  17. <th>用户名</th>
  18. <th>时间</th>
  19. </tr>
  20. </thead>
  21. <tbody>
  22. {foreach $syslogs(key,value,num)}
  23. <tr>
  24. <td>[num]</td>
  25. <td>[value->event]</td>
  26. <td>{fun=long2ip($value->user_ip)}</td>
  27. <td>[value->user_os]</td>
  28. <td>[value->user_bs]</td>
  29. <td>[value->create_user]</td>
  30. <td>[value->create_time]</td>
  31. </tr>
  32. {/foreach}
  33. </tbody>
  34. </table>
  35. {if(session('ucode')==10001 && [$syslogs])}
  36. <a href="{url./admin/Syslog/clear}" class="layui-btn layui-btn-sm" onclick='return confirm("您确定要清空么?")'>清空日志</a>
  37. {/if}
  38. <div class="page">{$pagebar}</div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. {include file='common/foot.html'}