16f53cf767eb2bf64da4172a38ee471a.php 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?php /*a:3:{s:64:"/data/web/mall.valimart.net/app/admin/view/adminlog/loglist.html";i:1657785096;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
  10. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  11. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  12. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  13. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  14. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  15. <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
  16. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  17. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  18. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  20. <script type="text/javascript">
  21. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  22. var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
  23. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  24. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  25. var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
  26. </script>
  27. </head>
  28. <body>
  29. <div id="append_parent"></div>
  30. <div id="ajaxwaitid"></div>
  31. <div class="page">
  32. <div class="fixed-bar">
  33. <div class="item-title">
  34. <div class="subject">
  35. <h3><?php echo htmlentities(lang('ds_adminlog')); ?></h3>
  36. <h5></h5>
  37. </div>
  38. <?php if($admin_item): ?>
  39. <ul class="tab-base ds-row">
  40. <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
  41. <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
  42. <?php endforeach; endif; else: echo "" ;endif; ?>
  43. </ul>
  44. <?php endif; ?>
  45. </div>
  46. </div>
  47. <form method="get" name="formSearch" id="formSearch">
  48. <div class="ds-search-form">
  49. <dl>
  50. <dt><?php echo htmlentities(lang('admin_log_man')); ?></dt>
  51. <dd><input class="txt" name="admin_name" value="<?php echo htmlentities(app('request')->get('admin_name')); ?>" type="text"></dd>
  52. </dl>
  53. <dl>
  54. <dt><?php echo htmlentities(lang('admin_log_dotime')); ?></dt>
  55. <dd><input class="txt date" type="text" value="<?php echo htmlentities(app('request')->get('time_from')); ?>" id="time_from" name="time_from">
  56. <label for="time_to">~</label>
  57. <input class="txt date" type="text" value="<?php echo htmlentities(app('request')->get('time_to')); ?>" id="time_to" name="time_to"/>
  58. </dd>
  59. </dl>
  60. <div class="btn_group">
  61. <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
  62. <?php if($filtered): ?>
  63. <a href="<?php echo url('Adminlog/loglist'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  64. <?php endif; ?>
  65. <a class="btn btn-mini" href="javascript:export_xls('<?php echo url('Adminlog/export_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
  66. </div>
  67. </div>
  68. </form>
  69. <div class="explanation" id="explanation">
  70. <div class="title" id="checkZoom">
  71. <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
  72. <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
  73. </div>
  74. <ul>
  75. <li><?php echo htmlentities(lang('admin_log_tips2')); ?></li>
  76. </ul>
  77. </div>
  78. <table class="ds-default-table">
  79. <thead>
  80. <tr class="thead">
  81. <th></th>
  82. <th><?php echo htmlentities(lang('admin_log_man')); ?></th>
  83. <th><?php echo htmlentities(lang('admin_log_do')); ?></th>
  84. <th class="align-center"><?php echo htmlentities(lang('admin_log_dotime')); ?></th>
  85. <th class="align-center">IP</th>
  86. <th class="align-center">URL</th>
  87. </tr>
  88. </thead>
  89. <tbody>
  90. <?php if(!(empty($adminlog_list) || (($adminlog_list instanceof \think\Collection || $adminlog_list instanceof \think\Paginator ) && $adminlog_list->isEmpty()))): if(is_array($adminlog_list) || $adminlog_list instanceof \think\Collection || $adminlog_list instanceof \think\Paginator): if( count($adminlog_list)==0 ) : echo "" ;else: foreach($adminlog_list as $key=>$v): ?>
  91. <tr class="hover">
  92. <td class="w24">
  93. <input type="checkbox" class="checkitem" value="<?php echo htmlentities($v['adminlog_id']); ?>">
  94. </td>
  95. <td><?php echo htmlentities($v['admin_name']); ?></td>
  96. <td><?php echo htmlentities($v['adminlog_content']); ?></td>
  97. <td class="align-center"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['adminlog_time'])? strtotime($v['adminlog_time']) : $v['adminlog_time'])); ?></td>
  98. <td class="align-center"><?php echo htmlentities($v['adminlog_ip']); ?></td>
  99. <td class="align-center"><?php echo htmlentities($v['adminlog_url']); ?></td>
  100. </tr>
  101. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  102. <tr class="no_data">
  103. <td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  104. </tr>
  105. <?php endif; ?>
  106. </tbody>
  107. <tfoot>
  108. <?php if(!(empty($adminlog_list) || (($adminlog_list instanceof \think\Collection || $adminlog_list instanceof \think\Paginator ) && $adminlog_list->isEmpty()))): ?>
  109. <tr class="tfoot">
  110. <td><input type="checkbox" class="checkall" id="checkallBottom" name="chkVal"></td>
  111. <td colspan="16"><label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
  112. &nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
  113. </td>
  114. </tr>
  115. <?php endif; ?>
  116. </tfoot>
  117. </table>
  118. <?php echo $show_page; ?>
  119. </div>
  120. <script type="text/javascript">
  121. $(function () {
  122. $('#time_from').datepicker({dateFormat: 'yy-mm-dd'});
  123. $('#time_to').datepicker({dateFormat: 'yy-mm-dd'});
  124. });
  125. function submit_delete(ids_str){
  126. _uri = ADMINSITEURL+"/Adminlog/list_del.html?adminlog_id=" + ids_str;
  127. dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
  128. }
  129. </script>