{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} {*
  • {$user_link='#'} {if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if}
    {name($comment)}

    {$comment.comment|comment}

  • *} {if $comment}
    {$count_comments = $myquery->count_comment($comment.type_id)} {*$comment|print_r*}
    {$user_link='#'} {if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if}
    {name($comment)} {$comment.date_added|niceTime}
    {if $reply}
    {$reply}
    {/if} {if $comment.parent_id} {assign var=parentid value=$comment.parent_id} {assign var=thisParent value=$parents.$parentid} {if $thisParent}
    {if $thisParent.username}@{$thisParent.username} : {/if}{$thisParent.comment|comment}
    {/if} {/if}
    {if $thisParent}
    {name($comment)}{$comment.date_added|niceTime}
    {/if} {wordwrap($comment.comment|comment,8, "\n", true)}
    {/if} {*
    {$user_link=''} {if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if} {name($comment)} – {nicetime($comment.date_added)} {if $type=='video' && $comments_voting=='yes' && $Cbucket->configs.comment_rating}
    {$comment.vote|comment_rating} {lang('Like')} {lang('Unlike')}
    {/if}
    {if $comment.parent_id} {assign var=parentid value=$comment.parent_id} {assign var=thisParent value=$parents.$parentid} {if $thisParent}
    {$thisParent.comment|comment} {if $thisParent.username}{name($thisParent)}{/if}
    {/if} {/if} {$comment.comment|comment}
    {if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} {lang('Delete')} | {/if} {lang code='reply'} | {lang code='spam'}
    {$marked_as_spam_comment_by_user=lang('marked_as_spam_comment_by_user')} {if $comment.username} {$marked_as_spam_comment_by_user|sprintf:$comment.username} {else} {$marked_as_spam_comment_by_user|sprintf:$comment.anonym_name} {/if} {if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} | {lang code='delete'} {/if}
    *}