{extend name='main'} {block name="button"} {if isset($type) and $type eq 'all'} {if auth("add")} {/if} {if auth("state")} 批量禁用 {/if} {else} {if auth("state")} 批量恢复 {/if} {if auth("remove")} 批量删除 {/if} {/if} {/block} {block name="content"}
{include file='user/index_search'} {notempty name='list'} {/notempty} {foreach $list as $key=>$vo} {/foreach}
img
登录账号:{$vo.username|default=''}
用户昵称:{$vo.nickname|default='-'|raw}
联系手机:{$vo.contact_phone|default='未配置手机'|raw}
联系邮箱:{$vo.contact_mail|default='未配置邮箱'|raw}
创建时间:{$vo.create_at|format_datetime}( {eq name='vo.status' value='0'}已禁用{else}使用中{/eq} )
{if $vo.login_at} 最后登录:{$vo.login_at|format_datetime}( 已登录 {$vo.login_num|default=0} 次 )
{else} 该账号还没有登录过哦,登录之后才会有记录! {/if}
{if isset($type) and $type eq 'all'} {if auth("pass")} 密 码 {/if} {if auth("edit")} 编 辑 {/if} {if auth("state") and $vo.status eq 1} 禁 用 {/if} {else} {if auth("edit")} 编 辑 {/if} {if auth("state") and $vo.status eq 0} 恢 复 {/if} {if auth("remove")} 删 除 {/if} {/if}
{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}