{if $mode=='view'}

## Flagged Collection Manager

| CID | Details |
{assign var = bgcolor value = ""} {section name=list loop=$cl} {*var_dump($cl)*}
| {$cl[list].collection_id} | {$cl[list].collection_name|truncate:80}{if $cl[list].date_added}-({$cl[list].date_added|niceTime}){/if} Total Objects: {$cl[list].total_objects} {assign var='uname' value=$userquery->get_user_field({$cl[list].userid}, 'username')} {$uname.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}