<@sys.dept id=deptId!> <#assign dept=object/> <@sys.userList deptId=deptId startRegisteredDate=startRegisteredDate endRegisteredDate=endRegisteredDate startLastLoginDate=startLastLoginDate endLastLoginDate=endLastLoginDate superuser=superuser emailChecked=emailChecked name=name advanced=true disabled=disabled orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='myself/dept/addUser,sysDept/enableUser,sysDept/disableUser,log/login,log/operate'><#assign authorizedMap=map/>
<#list page.list as a>
<@t.page 'id'/> <@t.page 'user.username'/>/<@t.page 'user.nickname'/> <@t.page 'email'/> <@t.page 'email.verification_status'/> <@t.page 'disabled'/> <@t.page 'user.last_login_ip'/> <@t.page 'user.last_login_date'/> <@t.page 'user.login_count'/> <@t.page 'user.register_date'/> <@t.page 'operate'/>
${a.id!} <#if a.cover?has_content>

<@t.page 'user.username'/>:${(a.name)!}

<@t.page 'user.nickname'/>:${(a.nickname)!} ${(a.superuser)?then('['+t.pageMessage('admin')+']','')?no_esc}

<@t.page 'user.content_permissions.'+a.contentPermissions/>

${(a.email)!} ${t.pageMessage(a.emailChecked?then('verified','unverified'))} ${(a.disabled)?then(''+t.pageMessage('disabled')+'',t.pageMessage('normal'))?no_esc}

${a.lastLoginIp!}

${(getIpRegion(a.ip).address)!}

${a.lastLoginDate!} ${a.loginCount!} ${a.registeredDate!} <#if a.id!=admin.id> <#if authorizedMap['myself/dept/addUser']> <@t.page 'user.edit'/> <#if (dept.userId)?has_content && dept.userId=admin.id> <#if a.disabled && authorizedMap['sysDept/enableUser']> <@t.page 'button.enable'/> <#elseif !a.disabled && authorizedMap['sysDept/disableUser']> <@t.page 'button.disable'/> <#if authorizedMap['log/login']> <@t.page 'log.login'/> <#if authorizedMap['log/operate']> <@t.page 'log.operate'/>
<#assign rel='userListBox'/> <#include "../../include_page/page.html"/>