{if $display_comments==1}
{#COMMENT_SITE_TITLE#}{if $closed==1} {#COMMENT_SITE_CLOSED#}{/if}
{if $cancomment==1 && $closed!=1} {#COMMENT_SITE_ADD#} |  {/if} {#COMMENT_LAST_COMMENT#} {if $smarty.const.UGROUP == 1}  |  {if $closed==1} {#COMMENT_SITE_OPEN#} {else} {#COMMENT_SITE_CLOSE#} {/if} {/if}

{foreach from=$comments.0 item=c name=co} {if $smarty.request.subaction=='showonly' && $smarty.request.comment_id==$c.Id}
{/if}
{#COMMENT_USER_ADD#} {$c.comment_author_name}{*|stripslashes|escape:html*} • {$c.comment_published}{if $smarty.const.UGROUP==1} • IP:{$c.comment_author_ip}{/if}
{#COMMENT_ANSWER_LINK#} {if $smarty.const.UGROUP==1 || $c.comment_author_id==$smarty.session.user_id}   {#COMMENT_EDIT_LINK#} {/if} {if $smarty.const.UGROUP==1}   {#COMMENT_DELETE_LINK#} {if $c.comment_status!=1}   {#COMMENT_UNLOCK_LINK#} {else}   {#COMMENT_LOCK_LINK#} {/if} {/if}
{$c.comment_text} {if $c.comment_changed > 1}
{#COMMENT_TEXT_CHANGED#} {$c.comment_changed}{/if}
{if $smarty.request.subaction=='showonly' && $smarty.request.comment_id==$c.Id}
{/if} {foreach from=$comments[$c.Id] item=sc}
{if $smarty.request.subaction=='showonly' && $smarty.request.comment_id==$sc.Id}
{/if}
{#COMMENT_TEXT_ANSWER#} {$sc.comment_author_name}{*|stripslashes|escape:html*} ({$sc.comment_published}){if $smarty.const.UGROUP==1} IP:{$sc.comment_author_ip}{/if}
{if $smarty.const.UGROUP==1 || $sc.comment_author_id==$smarty.session.user_id} {/if} {if $smarty.const.UGROUP==1} {if $sc.comment_status!=1} {else} {/if} {else}   {/if}
{$sc.comment_text} {if $sc.comment_changed > 1}
{#COMMENT_TEXT_CHANGED#} {$sc.comment_changed}{/if}
{if $smarty.request.subaction=='showonly' && $smarty.request.comment_id==$sc.Id}
{/if}
{/foreach} {/foreach} {if $smarty.foreach.co.last}{/if} {/if}