{include file="public/layout" /}
{include file="admin/admin_bar" /}

### 管理员列表

##### (共{$pager->totalRows}条数据)

{$searchform.hidden|default=''}

{eq name='$main_lang' value='$admin_lang'} 选择 {/eq} | ID | 用户名 | 真实姓名 | 权限组 | 手机号码 | 最后登录时间 | 操作
--- | --- | --- | --- | --- | --- | --- | ---

{empty name="list"}
没有符合条件的记录
{else/} {foreach name="list" item="vo" key="k" }
{eq name='$main_lang' value='$admin_lang'} {if condition="$Think.session.admin_id != $vo.admin_id AND !empty($vo.parent_id)"} {/if} {/eq} | {$vo.admin_id} | {eq name="'Admin@admin_edit'|is_check_access" value="1"} {$vo.user_name} {else /} {$vo.user_name} {/eq} | {$vo.true_name} | {$vo.role_name|default='数据出错'} | {$vo.mobile|default='无'} | {empty name="vo.last_login"} 未登录 {else /} {$vo.last_login|date='Y-m-d H:i:s',###} {/empty} | {eq name="'Admin@admin_edit'|is_check_access" value="1"} 编辑 {/eq} {eq name='$main_lang' value='$admin_lang'} {eq name="'Admin@admin_del'|is_check_access" value="1"} {if condition="$Think.session.admin_id != $vo.admin_id AND !empty($vo.parent_id)"} 删除 {/if} {/eq} {/eq}
{/foreach} {/empty}

{eq name='$main_lang' value='$admin_lang'} {eq name="$Think.const.CONTROLLER_NAME.'@admin_del'|is_check_access" value="1"}
批量删除
{/eq} {eq name="$Think.const.CONTROLLER_NAME.'@admin_add'|is_check_access" value="1"}
新增管理员
{/eq} {/eq}
{$page}
{include file="public/footer" /}