{foreach from=$myquery->get_comments($id,$type) item=comment}
{if $comment.parent_id == 0}
{$comment.comment_id} |
{$comment.userid} |
{$comment.comment} |
{$comment.date_added|date_format} |
{$comment.vote} |
Delete |
{foreach from=$myquery->get_comments($id,$type,false,$comment.comment_id,TRUE) item=reply}
{if $reply.comment !=''}
{$reply.comment_id} |
{$reply.userid} |
{$comment.comment_id} ⇔ {$reply.comment} |
{$reply.date_added|date_format} |
{$reply.vote} |
Delete |
{/if}
{/foreach}
{if $bgcolor == 'F2F2F2'}
{assign var=bgcolor value =FFF}
{elseif $bgcolor == 'FFF'}
{assign var=bgcolor value =F2F2F2}
{/if}
{/if}
{/foreach}
{else}
No User Comments For This Video |
{/if}