table($dbfix.'comment')->where("pid=".$parent['comment_id'])->select(); $html = ""; if ( !empty( $list ) ){ $html = '
'; foreach ($list as $comment) { $html .= ''; $html .= '
'; $html .= '

'; $html .= ''.$comment['username'].' 于 '.date('Y-m-d',$comment['create_time']).' 回复 '.$parent['username'].''; $html .= '

'; $html .= '
'.$comment['message'].getCommentReply($comment,$model,$dbfix).'
'; $html .= '
'; } $html .= '
'; } return $html; } ?>

评论

{$page}
{:hook('commentForm',array('module'=>'Comment'))}