{if $smarty.request.a ne "Search"} {/if}

Channels


Total: {$grandtotal}
{if $smarty.request.a ne "Search"}
{section name=aa loop=$channels} {insert name=channel_count assign=count cid=$channels[aa].CHID} {/section}
ID Name Description Videos Groups Action
{$channels[aa].CHID} {$channels[aa].name} {$channels[aa].descrip} {if $count[1] ne "0"}{$count[1]}{else}0{/if} {if $count[2] ne "0"}{$count[2]}{else}0{/if} Edit |Del

{$link}


{elseif $smarty.request.a eq "Search"}
Channel ID:    Channel Name:
{if $err ne "" or $msg ne ""}




{include file="err_msg.tpl"} {/if} {if $channel.CHID ne ""} {insert name=channel_count assign=count cid=$channel.CHID}

Channel ID {$channel.CHID}
Channel Name {$channel.name}
Description {$channel.descrip}
Total Videos {$count[1]}
Total Groups {$count[2]}
Edit Channel


{/if} {/if}