<@_sysAuthorized roleIds=admin.roles urls='cmsComment/check,cmsComment/uncheck,cmsComment/delete'><#assign authorizedMap=map/>
<@_commentList advanced=true userId=userId contentId=contentId status=status orderField=orderField orderType=orderType pageIndex=pageNum count=numPerPage> <#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'userIds' a.checkUserId!/> <@t.merge 'contentIds' a.contentId!/> <@_sysUser ids=t.userIds!><#assign userMap=map!/> <@_content ids=t.contentIds!><#assign contentMap=map!/> <#list page.list as a>
<@t.page 'id'/> <@t.page 'content.promulgator'/> <@t.page 'content'/> <@t.page 'modified_date'/> <@t.page 'create_date'/> <@t.page 'status'/>/<@t.page 'inspector'/> <@t.page 'comment'/> <@t.page 'operate'/>
${a.id!} ${(userMap[a.userId?string].nickName)!} ${(contentMap[a.contentId?string].title)!} ${a.updateDate!} ${a.createDate!} <@t.page 'status.content.'+a.status/> <#if 1=a.status>/ ${(userMap[a.checkUserId?string].nickName)!} <#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"/>