<@_content id=id> <#assign a=object parentId=a.parentId!'' categoryId=a.categoryId!'' modelId=a.modelId!'' safe=true attribute=getContentAttribute(a.id)!{} /> <#if a.contribute && a.status != 1><#assign safe=false/> <@_category id=categoryId!><#assign category=object/> <@_model id=modelId!><#assign model=object/>
<#if model?has_content> <#assign fieldList=model.fieldList![]/> <@_content id=parentId>
<@t.page 'content.parent'/>:
${(object.title)!}
<@t.page 'category'/>:
${(category.name)!}
<@t.page 'model'/>:
${(model.name)!}
${(model.fieldTextMap['title'])!}:
${(a.copied?then('['+t.pageMessage('copied')+']',''))!}${(a.title)!}
<@t.page 'status'/>:
<@t.page 'status.content.'+(a.status)!/>
<#if 1=a.status>
<@t.page 'inspector'/>:
<@_sysUser id=a.checkUserId>${(object.nickName)!}
<#if model.onlyUrl>${(model.fieldTextMap['url'])!}<#else><@t.page 'url'/>:
${(a.url)!}
<#if a?has_content&&a.copied>
${(model.fieldTextMap['source'])!}:
${(attribute.source)!}
${(model.fieldTextMap['sourceUrl'])!}:
${(attribute.sourceUrl)!}
<#if fieldList?seq_contains('author')>
${(model.fieldTextMap['author'])!}:
${(a.author)!}
<#if fieldList?seq_contains('editor')>
${(model.fieldTextMap['editor'])!}:
${(a.editor)!}
<#if category?has_content && (a.tagIds)?has_content> <#if category.tagTypeIds?has_content> <@_tagType ids=category.tagTypeIds> <#list map as k,tagType>
${tagType.name}:
<@_tag ids=a.tagIds> <#list map as j,tag> <#if tag.typeId?string=k> ${tag.name},
<#else>
${(model.fieldTextMap['tag'])!}:
<@_tag ids=a.tagIds> <#list map as j,tag> ${tag.name}<#sep>,
<#if fieldList?seq_contains('description')>
${(model.fieldTextMap['description'])!}:
${(a.description)!}
<@t.page 'publish_date'/>:
${(a.publishDate)!}
<#if fieldList?seq_contains('cover')&&a.cover?has_content>
${(model.fieldTextMap['cover'])!}:
<#include "../include_page/extendData.html"/> <#if category?has_content&&category.extendId?has_content> <@_sysExtendFieldList extendId=category.extendId> <#assign extendList=list![] extendValue=attribute!{} /> <@extendData 'categoryExtendDataList' extendList extendValue 'view' safe/> <#if model?has_content> <#assign extendList=model.extendList![] extendValue=attribute!{} /> <@extendData 'modelExtendDataList' extendList extendValue 'view' safe/> <#if a?has_content&&(a.hasImages||a.hasFiles)> <#if a.hasImages>
<@t.page 'image_list'/>:
<@_contentFileList contentId=a.id fileTypes='image'> <#list page.list as file>
<#if a.hasFiles>
<@t.page 'attach_list'/>:
<@_contentFileList contentId=a.id fileTypes='video,audio,other'> <#list page.list as file> ${(file.filePath)!}
<#if a.hasProducts>
<@t.page 'product_list'/>:
<@_contentProductList contentId=a.id> <#list page.list as product>
<#if product.cover?has_content>

${product.title}

${product.price}

${product.inventory}

${product.sales}

<#if fieldList?seq_contains('content')>
${(model.fieldTextMap['content'])!}:
<#if safe>${(attribute.text?no_esc)!}<#else>${(attribute.text)!}
<#if a?has_content> <@_contentRelatedList contentId=a.id> <#if page.totalCount gt 0>
<@t.page 'recommend_info'/>:
<#list page.list as a> ${(a.title)!}
<@_sysAuthorized roleIds=admin.roles urls='cmsComment/list,cmsComment/edit'><#assign authorizedMap=map/> <@_commentList advanced=true contentId=a.id pageSize=0>
<#if authorizedMap['cmsComment/edit']> <@t.page 'comment'/> <#else> <@t.page 'comment'/> :
<#if authorizedMap['cmsComment/list']> ${page.totalCount!} <#else> ${page.totalCount!}