Flagged Videos Manager

| Viewing {math equation=$limit*$cur_page assign=viewing} {if $prepage == 0 } {math equation=$prepage+1} {else} {math equation = $prepage*$limit+1 }{/if} - {if $viewing > $grand_total}{$grand_total}{else}{$viewing}{/if} of {$grand_total}
{if $prepage neq 0}Previous{/if} | {section name=allpages start=1 loop=$pages} {if $cur_page == $smarty.section.allpages.index } {$smarty.section.allpages.index} {else} {$smarty.section.allpages.index} {/if} {/section} | {if $nextpage neq $smarty.section.allpages.index && $pages!=1}Next{/if}

Video Id | Video Title | Type | Username | Total Flags | Actions
{assign var = bgcolor value = ""} {section name=list loop=$videos}
{$videos[list].videoid} | {$videos[list].title} | {$videos[list].broadcast} | {$videos[list].username} | {$videos[list].flags} | Remove Flags Delete Video Edit {if $videos[list].active == yes} Deactivate {/if} {if $videos[list].active == no} Activate {/if}
{if $bgcolor == ""} {assign var = bgcolor value = "#EEEEEE"} {else} {assign var = bgcolor value = ""} {/if} {/section}

{if $prepage neq 0}Previous{/if} | {section name=allpages start=1 loop=$pages} {if $cur_page == $smarty.section.allpages.index } {$smarty.section.allpages.index} {else} {$smarty.section.allpages.index} {/if} {/section} | {if $nextpage neq $smarty.section.allpages.index && $pages!=1}Next{/if}