{if $mode=='view'}

## Flagged Videos Manager

| VID | Details |
{assign var = bgcolor value = ""} {section name=list loop=$videos}
| {$videos[list].videoid} | {$videos[list].title|truncate:80}-({if $videos[list].duration>1}{$videos[list].duration|SetTime}{else}00:00{/if}) {$videos[list].date_added|niceTime} {lang code='views'} : {$videos.views|number_format} {if $videos[list].active=='yes'}Active{else}InActive{/if} {$videos[list].status} Flags:{$videos[list].total_flags} Owner {$videos[list].username} |
{if $bgcolor == ""} {assign var = bgcolor value = "#EEEEEE"} {else} {assign var = bgcolor value = ""} {/if} {/section}

{include file="$style_dir/blocks/pagination.html" } {/if} {if $mode=='view_flags'} Viewing {$video.title} 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}
{if $bgcolor == ""} {assign var = bgcolor value = "#EEEEEE"} {else} {assign var = bgcolor value = ""} {/if} {/section}

{/if}