#-- 评论列表 分页 --> <#-- 本样式要引入 jquery.min.js kindeditor layer --> <#--可接收参数 topicId:话题Id commentId:评论Id page:分页--> <@function topicId="${url_topicId}" commentId="${url_commentId}" page="${url_page}" > <#assign pageView = topicRelated_comment_page> <#if pageView.records?exists && topicRelated_comment_page.records?size gt 0>
<#list pageView.records as comment>
<#if comment.avatarName != null>
<#else>
#if>
${(comment.nickname != null && comment.nickname??) ?string(comment.nickname , comment.account)}
<#if comment.account == null || comment.account == ''>
#if>
<#list comment.userRoleNameList as roleName>
${roleName}
#list>
<#if comment.isStaff>
官方人员
#if>
<#if comment.userName == topic.userName && comment.isStaff == topic.isStaff>
作者
#if>
${comment.postTime}
<#if comment.quoteList?? && comment.quoteList?size gt 0>
<#assign quoteContent = "">
<#list comment.quoteList as quote>
<#assign quoteCancelAccountHtml = "">
<#if quote.account == null || quote.account == ''>
<#assign quoteCancelAccountHtml = "此用户账号已注销 ">
#if>
<#assign avatarHtml = ""+(quote.avatarName != null && quote.avatarName??) ?string("
" , "
")+"">
<#assign quoteContent = ""+quoteContent+""+avatarHtml+""+(quote.nickname != null && quote.nickname??) ?string(quote.nickname?html , quote.account?html)+""+" 的评论: ">
#list>
<#noescape>${quoteContent}#noescape>
#if>
<#if comment.account == null || comment.account == ''>
此用户账号已注销
#if>
<#noescape>${comment.content}#noescape>
<#if comment.totalReply gt 0>
#if>
<#if comment.ipAddress != null && comment.ipAddress??>
${comment.ipAddress}
#if>
回复
引用
<#if systemUser != null && comment.userName == systemUser.userName>
编辑
#if>
<#if systemUser != null>
举报
#if>
<#if systemUser != null && comment.userName == systemUser.userName>
删除
#if>
#list>
"+quote.content+quoteCancelAccountHtml+"
<#list comment.replyList as reply>-
<#if reply.account == null || reply.account == ''>
此用户账号已注销
#if>
${reply.content}
#list>