{include file="public/layout" /}
{include file="admin/bar" /}
{eq name="'Admin@admin_add'|is_check_access" value="1"} 新增管理员 {/eq}
{$searchform.hidden|default=''}

| ID | 用户名 | 角色 | 最后登录时间 | 操作
--- | --- | --- | --- | --- | ---
{empty name="list"}
没有符合条件的数据
{else/} {foreach name="list" item="vo" key="k" }
{if condition="$Think.session.admin_id != $vo.admin_id AND !empty($vo.parent_id)"} {else /} {/if} | {$vo.admin_id} | {eq name="'Admin@admin_edit'|is_check_access" value="1"} {$vo.user_name} {else /} {$vo.user_name} {/eq} | {$vo.role_name|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="'Admin@admin_del'|is_check_access" value="1"} {if condition="$Think.session.admin_id != $vo.admin_id AND !empty($vo.parent_id)"} 删除 {else /} 删除 {/if} {/eq}
{/foreach} {/empty}

{$page}
{include file="public/footer" /}