{if $mode=='view'} Flagged Users Manager

| UID | User Details |

{if $users}

{foreach from=$users item=u}
| {$u.userid} | {$u.username} — Email:{$u.email} • Status:{$u.usr_status} • Level:{$u.level|get_user_level} • Last Active:{$u.last_active} View or Edit | {if $u.usr_status == Ok} Deactivate {elseif $u.usr_status == ToActivate} Activate {/if} | Delete | View Flags | Delete Flags |
{if $bgcolor == ""} {assign var = bgcolor value = "#EEEEEE"} {else} {assign var = bgcolor value = ""} {/if} {/foreach}

{else}
NO USER FOUND
{/if}

{include file="$style_dir/blocks/pagination.html" } {/if} {if $mode=='view_flags'} Viewing {$user.username} flags — View User • Edit User • Delete Flags • Delete User

| Flag Details |

{assign var = bgcolor value = ""} {section name=list loop=$flags}
{$smarty.section.list.iteration} | Reported as "{$flags[list].flag_type|flag_type}" by {$flags[list].userid|get_username} {$flags[list].date_added|niceTime} |
{if $bgcolor == ""} {assign var = bgcolor value = "#EEEEEE"} {else} {assign var = bgcolor value = ""} {/if} {/section}

{/if}