<#include "/jeecms_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "content.function"/> - <@s.m "global.list"/>
<@cms_perm url="/content/v_add.do"> " onclick="this.form.action='v_add.do';"/>
<@s.m "content.title"/>: <@s.m "content.user"/>: checked="checked"/><@s.m "content.topLevel.query"/> checked="checked"/><@s.m "content.recommend"/> <@p.select name="queryTypeId" value=queryTypeId list=typeList listKey="id" listValue="name" headerKey="" headerValue="content.query.allType"/> <#-- <@p.select name="queryStatus" value=queryStatus list={"0":"content.status.0","1":"content.status.1","2":"content.status.2"} headerKey="" headerValue="content.query.allStatus"/> --> <@p.select name="queryOrderBy" value=queryOrderBy list={"0":"content.orderBy.0","1":"content.orderBy.1","2":"content.orderBy.2","3":"content.orderBy.3","4":"content.orderBy.4","5":"content.orderBy.5","6":"content.orderBy.6","7":"content.orderBy.7","8":"content.orderBy.8","9":"content.orderBy.9","10":"content.orderBy.10","11":"content.orderBy.11","12":"content.orderBy.12","13":"content.orderBy.13","14":"content.orderBy.14","15":"content.orderBy.15","16":"content.orderBy.16","17":"content.orderBy.17","18":"content.orderBy.18","19":"content.orderBy.19","20":"content.orderBy.20","21":"content.orderBy.21"}/> "/>
checked="checked"/><@s.m "content.status.all"/> checked="checked"/><@s.m "content.status.draft"/> checked="checked"/><@s.m "content.status.prepared"/> checked="checked"/><@s.m "content.status.passed"/> checked="checked"/><@s.m "content.status.checked"/> checked="checked"/><@s.m "content.status.rejected"/>
<#list .data_model?keys as pkey> <#if pkey?starts_with('query')><#t/> <@p.table value=pagination;content,i,has_next><#rt/> <@p.column title="" width="20"> <#t/> <#t/> <@p.column title="ID">${content.id}<#t/> <@p.column code="content.title"> <#if content.topLevel gt 0>[<@s.m "content.topLevel.short"/>${content.topLevel}] <#if content.recommend>[<@s.m "content.recommend.short"/>] [${content.channel.name}] <@text_cut s=content.title?html len=25 append="..."/> <#if content.checkOpinion??>
${content.checkOpinion} <#t/> <@p.column code="content.type" align="center">${content.type.name}<#t/> <@p.column code="content.user" align="center">${content.user.username}<#t/> <@p.column code="content.views" align="right">${content.views}<#t/> <#if queryOrderBy??> <#switch queryOrderBy> <#case 6> <@p.column code="content.viewsDay" align="right">${content.viewsDay}<#t/> <#break> <#case 7> <@p.column code="content.viewsWeek" align="right">${content.contentCount.viewsWeek}<#t/> <#break> <#case 8> <@p.column code="content.viewsMonth" align="right">${content.contentCount.viewsMonth}<#t/> <#break> <#case 10> <@p.column code="content.commentsDay" align="right">${content.commentsDay}<#t/> <#break> <#case 11> <@p.column code="content.commentsWeek" align="right">${content.contentCount.commentsWeek}<#t/> <#break> <#case 12> <@p.column code="content.commentsMonth" align="right">${content.contentCount.commentsMonth}<#t/> <#break> <#case 13> <@p.column code="content.comments" align="right">${content.contentCount.comments}<#t/> <#break> <#case 14> <@p.column code="content.downloadsDay" align="right">${content.downloadsDay}<#t/> <#break> <#case 15> <@p.column code="content.downloadsWeek" align="right">${content.contentCount.downloadsWeek}<#t/> <#break> <#case 16> <@p.column code="content.downloadsMonth" align="right">${content.contentCount.downloadsMonth}<#t/> <#break> <#case 17> <@p.column code="content.downloads" align="right">${content.contentCount.downloads}<#t/> <#break> <#case 18> <@p.column code="content.upsDay" align="right">${content.upsDay}<#t/> <#break> <#case 19> <@p.column code="content.upsWeek" align="right">${content.contentCount.upsWeek}<#t/> <#break> <#case 20> <@p.column code="content.upsMonth" align="right">${content.contentCount.upsMonth}<#t/> <#break> <#case 21> <@p.column code="content.ups" align="right">${content.contentCount.ups}<#t/> <#break> <#default> <@p.column code="content.releaseDate" align="center">${content.releaseDate?string('yyyy-MM-dd')}<#t/> <@p.column code="content.status" align="center"> <@s.m "content.status."+content.status/> <#if content.status==1> ${content.checkStep}<#if content.rejected> <@s.m "content.status.rejected"/> <#t/> <@p.column code="content.static.status" align="center"> <#if content.needRegenerate> <@s.m "content.static.needRegenerate"/><#else><@s.m "content.static.hasGenerated"/> <#t/> <@p.column code="global.operate" align="center"> <#assign params>&cid=${cid!}&pageNo=${pageNo!}&queryTitle=${queryTitle!?url}&queryInputUsername=${queryInputUsername!?url}&queryTopLevel=${(queryTopLevel!false)?string}&queryRecommend=${(queryRecommend!false)?string}&queryTypeId=${queryTypeId!}&queryStatus=${queryStatus!}&queryOrderBy=${queryOrderBy!} <@cms_perm url="/content/v_view.do"> <@s.m "content.opt.view"/> | <#rt/> <@cms_perm url="/content/v_edit.do"> <@s.m "global.edit"/> | <#rt/> <@cms_perm url="/content/o_delete.do"> <#if content.hasDeleteRight>')) {return false;}" class="pn-opt"><@s.m "global.delete"/> <#else><@s.m "global.delete"/> <#t/> <#t/>
<@cms_perm url="/content/o_delete.do"> " onclick="optDelete();" class="del-button"/> <@cms_perm url="/content/o_check.do"> " onclick="optCheck();" class="check"/> <@cms_perm url="/content/o_reject.do"> " onclick="optReject();" class="reject"/> <@cms_perm url="/content/o_static.do"> " onclick="optStatic();" class="generate-static"/>
">

<@s.m "content.rejectOpinion"/>:

<@s.m "content.rejectStep"/>:

<#include "/common/alert_message.html"/>