{include file="admin/layout/header" /}

内容管理

文章在此管理;笔记仅可前台编辑,后台支持状态切换、置顶与回收站

写文章
{if $type}{/if} {if $status}{/if}
{volist name="items" id="row"} {/volist} {empty name="items"} {/empty}
标题 类型 分类 话题 状态 数据 更新时间 操作
{if $row.is_top}顶{/if} {$row.display_title}
{$row.author_name} · {$row.word_count} 字
{if $row.type == 'post'}文章{else}笔记{/if} {$row.category_name} {notempty name="row.topics"} {volist name="row.topics" id="t"} {$t.name} {/volist} {/notempty}
{:csrf_field()}
{$row.views} / {$row.comments} {$row.update_time|date='m-d H:i'}
{if $row.type == 'post'}编辑{else}前台编辑{/if} 预览
{:csrf_field()}
{:csrf_field()}
没有符合条件的内容
{if $pager.last > 1}
共 {$pager.total} 条 · 第 {$pager.current}/{$pager.last} 页
{/if}
{include file="admin/layout/footer" /}