Comments Manager
{if $mode == '' || $mode == "list_comments"}
CID Comment  
View Video Comments | View Topic Posts | View Channel Comments {if $comments} {foreach from=$comments item=comment} {if $comment.anonym_name != ""} {assign var=comment_owner value=$comment.anonym_name} {else} {assign var=comment_owner value=$userquery->get_user_details($comment.userid)} {/if} {/if} {if $filters == 't'} {if is_array($comment_owner)} {$comment_owner.username} {else} {$comment_owner} {/if} commented on {$comment.date_added|date_format} on a topic named {$comment.topic_title|truncate:40}
{$comment.comment|truncate:150}
{/if} {if $filters == 'c'} {if is_array($comment_owner)} {$comment_owner.username} {else} {$comment_owner} {/if} commented on {$comment.date_added|date_format} on a channel named {$comment.username|truncate:40}
{$comment.comment|truncate:150}
{/if} {if $bgcolor == ""} {assign var = bgcolor value = "#EEE"} {else} {assign var = bgcolor value = ""} {/if} {/foreach}
{$comment.comment_id} {if $filters == '' || $filters == 'v'} {if is_array($comment_owner)} {$comment_owner.username} {else} {$comment_owner} {/if} commented on {$comment.date_added|date_format} on a video named {$comment.title|truncate:40}
{$comment.comment|truncate:150}
 
{/if}
{include file="$style_dir/blocks/pagination.html" } {/if} {if $mode == 'edit_comment'} {assign var=cid value=$smarty.get.cid} {assign var=comment value=$cbvid->get_comment($cid)}
  Edit Comment  
{ANCHOR place='before_compose_box'}
{/if}