<?php
include INDEX_ROOT.'admin/head.php';
admin_head('用户列表');
?>
<!-- content start -->
<div class="admin-content">

    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">用户列表</strong></div>
    </div>

    <div class="am-g">
        <div class="am-u-sm-12 am-u-md-6">
            <div class="am-btn-toolbar">
                <div class="am-btn-group am-btn-group-xs">
                    <a href="./usernew.html" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</a>
                </div>
            </div>
        </div>
        <div class="am-u-sm-12 am-u-md-3">
            <div class="am-input-group am-input-group-sm">
                <input type="text" class="am-form-field">
                <span class="am-input-group-btn">
            <button class="am-btn am-btn-default" type="button">搜索</button>
          </span>
            </div>
        </div>
    </div>

    <div class="am-g">
        <div class="am-u-sm-12">
            <form class="am-form">
                <table class="am-table am-table-striped am-table-hover table-main">
                    <thead>
                    <tr>
                        <th class="table-check"><input type="checkbox" /></th><th class="table-id">UID</th><th class="table-title">用户名</th><th class="table-type">姓名</th><th class="table-author am-hide-sm-only">手机号</th><th class="table-date am-hide-sm-only">部门</th><th class="table-set">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                        <?php
                        echo (new user\userlist)->admin($userinfo['uid']);
                        ?>
                    </tbody>
                </table>
            </form>
        </div>

    </div>
</div>
<!-- content end -->
<?php
admin_foot();
?>