{* Template Name:单条评论 *}
  • {if $zbp->CheckPlugin('Gravatar') || $zbp->CheckPlugin('GravatarCache')} {else}{php}$randimg=rand(1,38);$randimg=$zbp->host."zb_users/theme/$theme/style/avator/$randimg.jpg";{/php}{/if}
    {$comment.Time()}

    {if $comment.ParentID!=0}{php}$newc=$zbp->GetCommentByID($comment->ParentID); $atid=$newc->ID; $atname=$newc->Author->StaticName; {/php} @{$atname} {/if}{$comment.Content}

  • {foreach $comment.Comments as $key => $comment}{template:comment}{/foreach}