table($dbfix.'comment')->where("pid=".$parent['comment_id'])->select();
$html = "";
if ( !empty( $list ) ){
$html = '
';
foreach ($list as $comment) {
$html .= '
.'?s=40&r=g)
';
$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;
}
?>
{:hook('commentForm',array('module'=>'Comment'))}