{if marked_spammed($comment)} {assign var='comment_attr' value='style="display:none"'} {assign var='spam_attr' value='style="display:block"'} {else} {assign var='comment_attr' value=''} {assign var='spam_attr' value='style="display:none"'} {/if} {if $rep_mode}
  • {$user_id = $comment.userid} {$user=$userquery->get_user_details($user_id)}
    {if $comment.anonym_name != ''} {$comment.anonym_name} (Guest) {else} {name($user)} {/if}

    {$comment.comment|comment}

    {if !empty(userid())}
    {$comment.date_added|niceTime}
    {if !$comment.userid==userid() || has_access('admin_access',true)} {lang code='spam'} {/if} {if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} · {lang code='delete'}{/if}
    {/if}
  • {else}
  • {$user_id=$comment.userid} {$user=$userquery->get_user_details($user_id)}
    {if $comment.anonym_name != ''} {$comment.anonym_name} (Guest) {else} {name($user)} {/if} {$comment.date_added|niceTime}

    {$comment.comment|comment}

    {if !empty(userid())}
    {if $userquery->login_check('',true)} {lang code='reply'} {/if} {if !$comment.userid==userid() || has_access('admin_access',true)}   {lang code='spam'} {/if} {if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()}   {lang code='delete'}{/if}
    {/if}
    {if $flag}
    {lang code='more_replies'}...
    {/if}
  • {/if}