<@tools.placeMetadata path=path><#assign a=object/> <@cms.placeList path=path advanced=true status=status userId=userId startPublishDate=startPublishDate endPublishDate=endPublishDate orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage>
<#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'userIds' a.checkUserId!/> <@t.merge 'ids' a.id/> <@sys.lock userId=admin.id itemType='place' 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!/> <#list page.list as a>
<@t.page 'id'/> <@t.page 'title'/> <@t.page 'publish_date'/> <@t.page 'expiry_date'/> <@t.page 'content.promulgator'/> <@t.page 'clicks'/> <@t.page 'status'/>/<@t.page 'inspector'/> <@t.page 'create_date'/> <@t.page 'operate'/>
${a.id} <#if a.cover?has_content>
${a.title}

<#if lockMap?has_content && lockMap[a.id?string]?has_content> <#assign lockUser=(userMap[lockMap[a.id?string].userId?string].nickname)!''/> ${a.title}

${a.publishDate} ${a.expiryDate!} ${(userMap[a.userId?string].nickname)!} ${a.clicks} <@t.page 'status.place.data.'+a.status/> <#if 1=a.status&&a.checkUserId?has_content>/ ${(userMap[a.checkUserId?string].nickname)!} ${a.createDate} <@t.page 'button.edit'/> <@t.page 'button.copy'/> <#if 2=a.status> <@t.page 'button.check'/> <#elseif 1=a.status> <@t.page 'button.uncheck'/> <@t.page 'button.delete'/>
<#include "../include_page/page.html"/>