{include header}
{include header_menu} {include left_menu}

## 评论管理

评论数量 {php echo S('Post')->count()}
子评论数量 {php echo S('Post_post')->count()}
今日发表评论 {php echo S('Post')->count(['atime[>]'=>strtotime(date('Y-m-d'))])}
今日发表子评论 {php echo S('Post_post')->count(['atime[>]'=>strtotime(date('Y-m-d'))])}
UID
用户名
PID
所属TID
评论内容
分类

| PID | 所属文章 | 分类&FID | 作者&UID | 时间 | 统计 | 赞踩 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | ---
{foreach $data as $v}
| {$v.pid} | 文章TID：{$v.tid} 文章标题：{php echo $Thread->get_title($v['tid'])} {if $v['isthread']}是文章内容{/if} 内容：{php echo mb_substr(strip_tags($v['content']),0,100)} | {$v.fid} | {php echo M('User')->uid_to_user($v['uid'])}{$v.uid} | 发表时间： {if $v['etime']} 编辑时间： 编辑用户：{php echo M('User')->uid_to_user($v['euid'])}{$v.euid} {/if} {hook t_admin_post_time_list} | 子评论数量：{$v.posts} | 赞：{$v.goods} 踩：{$v.nos} | 修改
{/foreach}

{hook t_admin_post_table_form_btn}
{include footer}