<?php /*a:3:{s:59:"/data/web/mall.valimart.net/app/admin/view/admin/admin.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;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
        <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
        <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
        <script type="text/javascript">
            var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
            var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
            var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
            var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
            var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
        </script>
    </head>
    <body>
        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>





<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3><?php echo htmlentities(lang('ds_admin')); ?></h3>
                <h5></h5>
            </div>
            <?php if($admin_item): ?>
<ul class="tab-base ds-row">
    <?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): ?>
    <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>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
        </div>
    </div>
    <table class="ds-default-table">
        <thead>
            <tr class="space">
                <th colspan="15" class="nobg"><?php echo htmlentities(lang('ds_list')); ?></th>
            </tr>
            <tr class="thead">
                <th><?php echo htmlentities(lang('admin_index_username')); ?></th>
                <th class="align-center"><?php echo htmlentities(lang('admin_index_last_login')); ?></th>
                <th class="align-center"><?php echo htmlentities(lang('admin_index_login_times')); ?></th>
                <th class="align-center"><?php echo htmlentities(lang('gadmin_name')); ?></th>
                <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
            </tr>
        </thead>
        <tbody>
            <?php if(!(empty($admin_list) || (($admin_list instanceof \think\Collection || $admin_list instanceof \think\Paginator ) && $admin_list->isEmpty()))): if(is_array($admin_list) || $admin_list instanceof \think\Collection || $admin_list instanceof \think\Paginator): if( count($admin_list)==0 ) : echo "" ;else: foreach($admin_list as $key=>$v): ?>
            <tr class="hover">
                <td><?php echo htmlentities($v['admin_name']); ?></td>
                <td class="align-center"><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($v['admin_login_time'])? strtotime($v['admin_login_time']) : $v['admin_login_time'])); ?></td>
                <td class="align-center"><?php echo htmlentities($v['admin_login_num']); ?></td>
                <td class="align-center"><?php echo htmlentities($v['gname']); ?></td>
                <td class="w150 align-center">
                    <?php if(!(empty($v['admin_is_super']) || (($v['admin_is_super'] instanceof \think\Collection || $v['admin_is_super'] instanceof \think\Paginator ) && $v['admin_is_super']->isEmpty()))): ?>
                    <?php echo htmlentities(lang('admin_index_sys_admin_no')); else: ?>
                    <a href="javascript:dsLayerConfirm('<?php echo url('admin/admin_del',['admin_id'=>$v['admin_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('admin_index_del_admin')); ?></a>
                    <a href="javascript:dsLayerOpen('<?php echo url('admin/admin_edit',['admin_id'=>$v['admin_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['admin_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
                    <?php endif; ?>
                </td>
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; else: ?>
            <tr class="no_data">
                <td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
            </tr>
            <?php endif; ?>
        </tbody>
    </table>
    <?php echo $show_page; ?>
</div>