{assign var=bgcolor value =F2F2F2} {if $comments}

CID | UID | Username | Email | Comment | Date | Votes |

{foreach from=$comments.comments item=comment}

{$comment.comment_id} | {$comment.userid} | {if $comment.anonym_name}{$comment.anonym_name}{else}{$comment.username}{/if} | {if $comment.anonym_email}{$comment.anonym_email}{else}{$comment.email}{/if} | {$comment.comment} | {$comment.date_added|date_format} | {$comment.vote} | Delete
{if $bgcolor == 'F2F2F2'} {assign var=bgcolor value =FFF} {elseif $bgcolor == 'FFF'} {assign var=bgcolor value =F2F2F2} {/if} {/foreach}

{else}
No User Comments
{/if} {literal}
{/literal}