{{$title}} - {{$page}}

{{$h_pending}}

{{if $pending}} {{foreach $th_pending as $th}}{{/foreach}} {{foreach $pending as $u}} {{/foreach}}
{{$th}}
{{$u.created}} {{$u.name}} {{$u.email}}
{{$pendingnotetext}} {{$u.note}}
{{else}}
{{$no_pending}}
{{/if}}

{{$h_users}}

{{if $users}} {{foreach $th_users as $k=>$th}} {{if $k < 2 || $order_users == $th.1 || ($k==5 && !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.4.1])) }} {{/if}} {{/foreach}} {{foreach $users as $u}} {{if $order_users == $th_users.2.1}} {{/if}} {{if $order_users == $th_users.3.1}} {{/if}} {{if $order_users == $th_users.4.1}} {{/if}} {{if !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.4.1]) }} {{/if}} {{/foreach}}
{{if $order_users == $th.1}} {{if $order_direction_users == "+"}} ↓ {{else}} ↑ {{/if}} {{else}} ↕ {{/if}} {{$th.0}}
{{if $u.is_deletable}} {{else}}   {{/if}} {{$u.name}} {{$u.email}}{{$u.register_date}}{{$u.login_date}}{{$u.lastitem_date}}{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}} {{if $u.account_expired}}({{$accountexpired}}){{/if}}
{{else}}
NO USERS?!?
{{/if}}
{{if $deleted}}

{{$h_deleted}}

{{foreach $th_deleted as $k=>$th}} {{if in_array($k,[0,1,5])}} {{/if}} {{/foreach}} {{foreach $deleted as $u}} {{/foreach}}
{{$th}}
{{$u.name}} {{$u.email}} {{$u.deleted}}
{{/if}}

{{$h_newuser}}

{{include file="field_input.tpl" field=$newusername}} {{include file="field_input.tpl" field=$newusernickname}} {{include file="field_input.tpl" field=$newuseremail}}