[#escape x as (x)!?html] [#assign commentIndex = 1/] [#macro printComment parent]
[#if parent.parent??] [@printComment parent=parent.parent/] [/#if]
[#if parent.creator.id==0]匿名网友[#else]${parent.creator.username}[/#if]
${commentIndex}[#assign commentIndex = commentIndex+1/]
[#noescape]${bbcode(parent.text)}[/#noescape]
[/#macro] [#assign info=getInfo(Param.fid)/] [#assign status=info.getCommentStatus(user,groups)/] [#assign conf = site.getConf('com.jspxcms.core.domain.SiteComment')/] [#if status != 0] [@CommentList fid=Param.fid sort='score desc,creationDate desc' limit=5;list] [#if list?size > 0]
热门评论 ${info.bufferComments}人评论
[/#if] [/@CommentList]
网友评论
[#if status == 1]
您没有评论的权限
[#elseif status == 2]
登录后再发表评论
[#elseif status == 3]
[/#if] [/#if] [/#escape]