<@_sysDept id=admin.deptId> <#assign dept=object/> <#assign containChild=object.ownsAllCategory/> <@_sysDeptCategory deptId=admin.deptId!'' categoryId=categoryId!><#assign deptCategory=object!/> <#if !dept?has_content||(!dept.ownsAllCategory&&!deptCategory?has_content)> <#assign error='verify.notEquals.siteId'/> <#include "../common/ajaxError.html"/> <#else> <#if parentId?has_content> <@_content id=parentId> <#assign parent=object/> <@_sysAuthorized roleIds=admin.roles urls='cmsContent/add,cmsContent/delete,cmsContent/check,cmsContent/push,cmsContent/refresh,cmsContent/publish,cmsContent/moveParameters'><#assign authorizedMap=map/>
<@_contentList advanced=true status=status categoryId=categoryId containChild=containChild modelId=modelId parentId=parentId emptyParent=true title=title userId=userId startPublishDate=startPublishDate endPublishDate=endPublishDate orderField=orderField orderType=orderType pageIndex=pageNum count=numPerPage> <#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'checkUserIds' a.checkUserId!/> <@t.merge 'categoryIds' a.categoryId!/> <@t.merge 'modelIds' a.modelId!/> <@_sysUser ids=t.userIds!><#assign userMap=map!/> <@_sysUser ids=t.checkUserIds!><#assign checkUserMap=map!/> <@_category ids=t.categoryIds!><#assign categoryMap=map!/> <@_model ids=t.modelIds!><#assign modelMap=map!/> <#list page.list as a>
ID 标题 发布 分类 模型 分数 评论数 点击数 发布日期 创建日期 状态/审核用户 操作
${a.id} ${(a.copied?then('[转载]',''))!}${(a.title?html)!} ${(userMap[a.userId?string].nickName?html)!} ${(categoryMap[a.categoryId?string].name?html)!} ${(modelMap[a.modelId?string].name?html)!} ${a.scores!} ${a.comments!} ${a.clicks!} ${a.publishDate!} ${a.createDate!} <@t.m 'status.content.'+a.status/> <#if 1=a.status>/ ${(checkUserMap[a.checkUserId?string].nickName)!} <#if modelMap[a.modelId?string].hasChild> 子内容管理 <#if 1=a.status> <#if authorizedMap['cmsContent/push']> 推荐 <#elseif 2=a.status> <#if authorizedMap['cmsContent/check']> 审核 <#if authorizedMap['cmsContent/add']> 修改 <#if authorizedMap['cmsContent/delete']> 删除
<#include "../include_page/page.html"/>