{if $mode=='view'}

## Flagged Users Manager

{if $users}

| UID | User Details | Options
{foreach from=$users item=u}
| {$u.userid} | {$u.username} {$u.email} {if $u.usr_status=='Ok'}Active{else}InActive{/if} {$u.level|get_user_level} Last Active {$u.last_active|niceTime} Flags:{$u.flag_type} |
{/foreach}

{else}
NO USER FOUND
{/if} {include file="$style_dir/blocks/pagination.html" } {/if} {if $mode=='view_flags'}

## Viewing {$user.username} flags

FId | 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}
{/section}

{/if}