<#compress > <#include "module/_macro.ftl"> <@head>${options.blog_title!} | <@spring.message code='admin.index.title' />

# <@spring.message code='admin.index.title' />

<@spring.message code='admin.index.btn.widgets' />

### <@spring.message code='admin.index.widgets.title' />

<@spring.message code='admin.index.widgets.post-count' />：
<@spring.message code='common.radio.display' />
<@spring.message code='common.radio.hide' />
<@spring.message code='admin.index.widgets.comment-count' />：
<@spring.message code='common.radio.display' />
<@spring.message code='common.radio.hide' />
<@spring.message code='admin.index.widgets.attachment-count' />：
<@spring.message code='common.radio.display' />
<@spring.message code='common.radio.hide' />
<@spring.message code='admin.index.widgets.day-count' />：
<@spring.message code='common.radio.display' />
<@spring.message code='common.radio.hide' />
<@spring.message code='admin.index.widgets.post-lastest' />：
<@spring.message code='common.radio.display' />
<@spring.message code='common.radio.hide' />
<@spring.message code='admin.index.widgets.comment-lastest' />：
<@spring.message code='common.radio.display' />
<@spring.message code='common.radio.hide' />
<@spring.message code='admin.index.widgets.logs-lastest' />：
<@spring.message code='common.radio.display' />
<@spring.message code='common.radio.hide' />
<#if (options.widget_postcount!'true')=='true'>

### <@articleTag method="postsCount">${postsCount!0}

<@spring.message code='admin.index.widgets.posts' />

<@spring.message code='common.btn.view-all' />
<#if (options.widget_commentcount!'true')=='true'>

### ${commentCount!0}

<@spring.message code='admin.index.widgets.comments' />

<@spring.message code='common.btn.view-all' />
<#if (options.widget_attachmentcount!'true')=='true'>

### ${mediaCount!0}

<@spring.message code='admin.index.widgets.attachments' />

<@spring.message code='common.btn.upload-image' />
<#if (options.widget_daycount!'true')=='true'>

###

<@spring.message code='admin.index.widgets.day-count' />

${options.blog_start!'0000-00-00'}
<#if (options.widget_postlastest!'true')=='true'>

### <@spring.message code='admin.index.widgets.post-lastest' />

<@spring.message code='common.th.title' /> | <@spring.message code='common.th.status' /> | <@spring.message code='common.th.date' />
--- | --- | ---
<#if postTopFive??> <#list postTopFive as post>
<#if post.postStatus == 0>
<#else >
${post.postTitle} | ${post.postTitle} | <#if post.postStatus==0> <@spring.message code='common.status.published' /> <#elseif post.postStatus==1> <@spring.message code='common.status.draft' /> <#else> <@spring.message code='common.status.recycle-bin' /> | <@common.timeline datetime="${post.postDate!}"?datetime />
<#else>
<@spring.message code='common.text.no-data' />

<#if (options.widget_commentlastest!'true')=='true'>

### <@spring.message code='admin.index.widgets.comment-lastest' />

<@spring.message code='common.th.comment-author' /> | <@spring.message code='common.th.comment-page' /> | <@spring.message code='common.th.content' /> | <@spring.message code='common.th.status' /> | <@spring.message code='common.th.date' />
--- | --- | --- | --- | ---
<#if comments??> <#list comments as comment>

${comment.commentAuthor}

<#if comment.post.postType=="post"> ${comment.post.postTitle} <#else> ${comment.post.postTitle}

<#switch comment.commentStatus> <#case 0> ${comment.commentContent} <#break> <#case 1> ${comment.commentContent} <#break> <#case 2> ${comment.commentContent} <#break>

<#switch comment.commentStatus> <#case 0> <@spring.message code='common.status.published' /> <#break > <#case 1> <@spring.message code='common.status.checking' /> <#break > <#case 2> <@spring.message code='common.status.recycle-bin' /> <#break >

<@common.timeline datetime="${comment.commentDate}"?datetime />

<#else>
<@spring.message code='common.text.no-data' />

<#if (options.widget_logslastest!'true')=='true'>

### <@spring.message code='admin.index.widgets.logs-lastest' />

<@spring.message code='common.th.action' /> | <@spring.message code='common.th.result' /> | IP | <@spring.message code='common.th.date' />
--- | --- | --- | ---
<#if logs??> <#list logs as log>
${log.logTitle} | ${log.logContent} | ${log.logIp} | ${log.logCreated?string("yyyy-MM-dd HH:mm")}
<#else>
<@spring.message code='common.text.no-data' />

#### <@spring.message code='admin.index.blog-data.title' />

「${options.blog_title!}」<@spring.message code='admin.index.blog-data.days-count-before' /><@spring.message code='admin.index.blog-data.days-count-after' />

<@spring.message code='admin.index.blog-data.during' />

<@spring.message code='admin.index.blog-data.posts-count-before' /> <@articleTag method="postsCount">${postsCount!0} <@spring.message code='admin.index.blog-data.posts-count-after' />

<@spring.message code='admin.index.blog-data.tags-count-before' /> <@commonTag method="tags">${tags?size} <@spring.message code='admin.index.blog-data.tags-count-after' />

<@spring.message code='admin.index.blog-data.comments-count-before' /> ${commentCount} <@spring.message code='admin.index.blog-data.comments-count-after' />

<@spring.message code='admin.index.blog-data.links-count-before' /> <@commonTag method="links">${links?size} <@spring.message code='admin.index.blog-data.links-count-after' />

<@spring.message code='admin.index.blog-data.views-count-before' /> ${postViewsSum!0} <@spring.message code='admin.index.blog-data.views-count-after' />

<@spring.message code='admin.index.blog-data.motto' />

<@footer>