Comments Manager
View Video Comments | View Topic Posts | View Channel Comments | View Collection Comments | View Photo Comments
CID Comment  
{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.3)} {/if} {/if} {if $type == '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}
{/if} {if $type == '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}
{/if} {if $type == 'cl'} {if is_array($comment_owner)} {$comment_owner.username} {else} {$comment_owner} {/if} commented on {$comment.date_added|date_format} on a collection named {$comment.collection_name|truncate:40}
{$comment.comment}
{/if} {if $type == 'p'} {if is_array($comment_owner)} {$comment_owner.username} {else} {$comment_owner} {/if} commented on {$comment.date_added|date_format} on a photo named {$comment.photo_title|truncate:40}
{$comment.comment}
{/if} {if $bgcolor == ""} {assign var = bgcolor value = "#EEE"} {else} {assign var = bgcolor value = ""} {/if} {/foreach}
{$comment.comment_id} {if $type == '' || $type == '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}
 
{else}
{lang code='no_comments'}
{/if}
{include file="$style_dir/blocks/pagination.html" }