{if $data.comments} {literal} {/literal}
{#entComments#} {if $data.intime < ($smarty.const.NOW - 60*60*24*$smarty.const.COMMENT_DAYS)}{#disabled#}{/if}
{if $data.intime > ($smarty.const.NOW - 60*60*24*$smarty.const.COMMENT_DAYS)}
( {#addComm#} )
{dynamic} {if $smarty.const.ANTISPAM and !$smarty.session.admin} {/if} {/dynamic}
{#name#}:{#mail#}*:
{#tags#}
*{#note#}
{get_spam_challenge}
{/if} {foreach from=$comments item=comment name=myComments} {math equation="x * y" x=$comment.level y=30 assign="indent"} {if $indent > $smarty.const.COMMENT_TREE_DEPTH * 30} {assign var="indent" value="210"} {/if}
{if $comment.deleted} {#comDeleted#} {else}

{if $comment.admin}{#authorReply#}{else}{$comment.senderName}{/if}

{$comment.content}

{$comment.intime|date_format:'%d.%m.%Y // %H:%M'} [ {#link#} {if (($data.intime > ($smarty.const.NOW - 60*60*24*$smarty.const.COMMENT_DAYS)) and ($comment.level < $smarty.const.COMMENT_TREE_DEPTH) and ($smarty.const.COMMENT_TREE)) or $smarty.session.admin} : {#reply#} {/if} {* this is weird, as I have to blend admin options our of sight *} {* this is the only feasible way to do so -- comment them out *} {* in case non-admin follows the link it yields a 404 *} {dynamic} {if !$smarty.session.admin} {/if} {/dynamic} ]

{/if}
{/foreach}
{/if}