<@cms.commentList advanced=true replaceSensitive=false userId=userId contentId=contentId status=status disabled=disabled orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='cmsComment/edit,cmsComment/check,cmsComment/uncheck,cmsComment/delete,cmsComment/reply'><#assign authorizedMap=map/>
<#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'userIds' a.checkUserId!/> <@t.merge 'contentIds' a.contentId!/> <@sys.user ids=t.userIds!><#assign userMap=map!/> <@cms.content ids=t.contentIds!><#assign contentMap=map!/> <#list page.list as a>
<@t.page 'content.promulgator'/> <@t.page 'content'/> <@t.page 'comment'/> <@t.page 'create_date'/> <@t.page 'content.score'/> <@t.page 'replies'/> <@t.page 'modified_date'/> <@t.page 'status'/>/<@t.page 'inspector'/> <@t.page 'operate'/>

${(userMap[a.userId?string].nickname)!}

${a.ip!}

${(getIpRegion(a.ip).address)!}

${(contentMap[a.contentId?string].title)!} ${a.createDate!} ${a.scores!} ${a.replies!} ${a.updateDate!} <@t.page 'status.content.'+a.status/> <#if 1=a.status>

${(userMap[a.checkUserId?string].nickname)!}

<#if !a.disabled> <#if authorizedMap['cmsComment/edit']> <@t.page 'button.edit'/> <#if authorizedMap['cmsComment/reply']> <@t.page 'reply'/> <#if 1=a.status> <#if authorizedMap['cmsComment/uncheck']> <@t.page 'button.uncheck'/> <#else> <#if authorizedMap['cmsComment/check']> <@t.page 'button.check'/> <#if authorizedMap['cmsComment/delete']> <@t.page 'button.delete'/>
<#include "../include_page/page.html"/>