| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:88:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\adminlog\index.html";i:1557480234;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>安全猫官网</title>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <!-- Bootstrap 3.3.7 -->
- <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
- <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
- <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
- <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
- <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
- <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
- <script type="text/javascript">
- var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
- var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
- var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
- var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
- var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
- layui.use('layer', function () {
- var layer = layui.layer;
- });
- </script>
- </head>
- <body>
-
- <div class="layui-tab layui-tab-card">
- <?php if($admin_item): ?>
- <ul class="layui-tab-title">
- <?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): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
- <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
- <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
- <?php endif; ?>
- </li>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- <div class="tool-btns">
- <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
- </div>
- </ul>
- <?php endif; ?>
- <div> </div>
- <form method="get" class="layui-form layui-form-pane">
- <input type="hidden" name="delago" id="delago" value="">
- <div class="layui-form-item">
- <div class="layui-input-inline" style="width: 250px;">
- <label class="layui-form-label"><?php echo \think\Lang::get('admin_log_man'); ?></label>
- <input name="admin_name" value="<?php echo \think\Request::instance()->get('admin_name'); ?>" type="text" class="layui-input field-name float_input" id="admin_name"
- style="display: inline-block;width: 50%;"/>
- </div>
- <div class="layui-input-inline" style="width: 440px;">
- <label class="layui-form-label"><?php echo \think\Lang::get('admin_log_dotime'); ?></label>
- <input value="<?php echo \think\Request::instance()->get('time_from'); ?>" id="time_from" name="time_from" type="text" class="layui-input field-name"
- style="display: inline-block;width: 30%;"/>
- <label for="time_to">~</label>
- <input value="<?php echo \think\Request::instance()->get('time_to'); ?>" id="time_to" name="time_to" type="text" class="layui-input field-name"
- style="display: inline-block;width: 30%;"/>
- </div>
- <div class="layui-input-inline">
- <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="<?php echo lang('ds_search'); ?>"/>
- <input type="reset" class="layui-btn layui-btn-warm" value="<?php echo lang('ds_reset'); ?>"/>
- <input type="button" class="layui-btn laydate-day-next" onclick="location.href = '<?php echo url('Adminlog/export_step1'); ?>'" value="<?php echo \think\Lang::get('ds_export'); ?>"/>
- </div>
- </div>
- </form>
- <div class="layui-tab-content page-tab-content">
- <table class="layui-table lay-even">
- <colgroup>
- <col width="50">
- </colgroup>
- <thead>
- <tr>
- <th></th>
- <th><?php echo \think\Lang::get('admin_log_man'); ?></th>
- <th><?php echo \think\Lang::get('admin_log_do'); ?></th>
- <th class="align-center"><?php echo \think\Lang::get('admin_log_dotime'); ?></th>
- <th class="align-center">IP</th>
- </tr>
- </thead>
- <tbody>
- <?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
- <tr>
- <td class="w24">
- <input type="checkbox" class="checkitem" value="<?php echo $v['adminlog_id']; ?>">
- </td>
- <td><?php echo $v['admin_name']; ?></td>
- <td><?php echo $v['content']; ?></td>
- <td class="align-center"><?php echo date("Y-m-d H:i:s",$v['createtime']); ?></td>
- <td class="align-center"><?php echo $v['ip']; ?></td>
- </tr>
- <?php endforeach; endif; else: echo "" ;endif; else: ?>
- <tr class="no_data">
- <td colspan="10"><?php echo \think\Lang::get('ds_no_record'); ?></td>
- </tr>
- <?php endif; ?>
- </tbody>
- <tfoot class="tfoot">
- <?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?>
- <tr class="tfoot">
- <td><input type="checkbox" class="checkall" id="checkallBottom" name="chkVal"></td>
- <td colspan="16"><label for="checkallBottom"><?php echo \think\Lang::get('ds_select_all'); ?></label>
- <a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo \think\Lang::get('ds_del'); ?></span></a>
- </td>
- </tr>
- <?php endif; ?>
- </tfoot>
- </table>
- <?php echo $page; ?>
- </div>
- </div>
- <script>
- layui.use('laydate', function () {
- var laydate = layui.laydate;
- //执行一个laydate实例
- laydate.render({
- elem: '#time_from' //指定元素
- });
- //执行一个laydate实例
- laydate.render({
- elem: '#time_to' //指定元素
- });
- });
- function submit_delete(ids_str){
- _uri = ADMINSITEURL+"/Adminlog/list_del.html?adminlog_id=" + ids_str;
- dsLayerConfirm(_uri,'<?php echo \think\Lang::get('ds_confirm_cancel'); ?>');
- }
- </script>
- </body>
- </html>
|