<@_content id=id> <#assign a=object parentId=a.parentId!'' categoryId=a.categoryId!'' modelId=a.modelId!'' attribute=getContentAttribute(a.id)!{} /> <@_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)!}
${(attribute.source)!}:
${(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=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'/> <#if model?has_content> <#assign extendList=model.extendList![] extendValue=attribute!{} /> <@extendData 'modelExtendDataList' extendList extendValue 'view'/> <#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 fieldList?seq_contains('content')>
${(model.fieldTextMap['content'])!}:
${(attribute.text?no_esc)!}
<#if a?has_content> <@_contentRelatedList contentId=a.id> <#if page.totalCount gt 0>
<@t.page 'recommend_info'/>:
<#list page.list as a> ${(a.title)!}
<@_commentList advanced=true contentId=a.id count=100> <#if page.totalCount gt 0>
<@t.page 'comment'/> <#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'userIds' a.replyUserId!/> <@_sysUser ids=t.userIds!><#assign userMap=map!/> <#list page.list as a>
${(userMap[a.userId?string].nickName)!}<#if a.replyUserId?has_content> <@t.page 'comment.reply'/> ${(userMap[a.replyUserId?string].nickName)!}:
${a.text!}