<#if 0=admin.contentPermissions><#assign userId=admin.id/> <#if 2=admin.contentPermissions><#assign deptId=admin.deptId/> <@cms.contentList advanced=true status=2 modelId=modelIds categoryId=categoryId containChild=containChild title=title userId=userId deptId=deptId startPublishDate=startPublishDate endPublishDate=endPublishDate absoluteId=false orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='cmsContent/delete,cmsContent/add,cmsContent/check,cmsContent/reject,cmsComment/list'><#assign authorizedMap=map/>
<#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'userIds' a.checkUserId!/> <@t.merge 'categoryIds' a.categoryId!/> <@t.merge 'modelId' a.modelId!/> <@t.merge 'ids' a.id/> <@sys.lock userId=admin.id itemType='content' itemIds=t.ids><#assign lockMap=map!/> <#if lockMap?has_content> <#list lockMap as k,lock> <#if lock.userId?has_content><@t.merge 'userIds' lock.userId/> <@sys.user ids=t.userIds!><#assign userMap=map!/> <@cms.category ids=t.categoryIds!><#assign categoryMap=map!/> <@cms.model ids=t.modelId!><#assign modelMap=map!/> <#list page.list as a>
<@t.page 'content'/> <@t.page 'content.comments'/> <@t.page 'clicks'/> <@t.page 'publish_date'/> <@t.page 'status'/> <@t.page 'operate'/>
<#if a.cover?has_content>

<#if lockMap?has_content && lockMap[a.id?string]?has_content> <#assign lockUser=(userMap[lockMap[a.id?string].userId?string].nickname)!''/> [${(categoryMap[a.categoryId?string].name)!}] ${(a.copied?then('['+t.pageMessage('copied')+']',''))!} ${(a.title)!}

<#if modelMap[a.modelId]?has_content&&modelMap[a.modelId].hasChild> ${(userMap[a.userId?string].nickname)!} ${(modelMap[a.modelId].name)!}

<#if a.expiryDate?has_content>

${a.expiryDate!}

<#if authorizedMap['cmsComment/list']> ${a.comments!} <#else> ${a.comments!} ${a.clicks!} ${a.publishDate!} <@t.page 'status.content.'+a.status/> <#if authorizedMap['cmsContent/add']> <@t.page 'content.edit'/> <#if authorizedMap['cmsContent/check']> <@t.page 'button.check'/> <#if authorizedMap['cmsContent/reject']> <@t.page 'button.reject'/>
<#assign rel='contentBox'/> <#include "../include_page/page.html"/>