{include file='common/head.html'}
{if([$list])}

- 评论列表

{$pathinfo}
清除搜索

| 文章 | 评论 | 状态 | 评论人 | 时间 | 操作
--- | --- | --- | --- | --- | --- | ---
{foreach $comments(key,value)}
| [value->title] | {fun=substr_both($value->comment,0,20)}... | {if($value->status)} {else} {/if} | [value->username] | [value->create_time] | {fun=get_btn_more($value->id)} {fun=get_btn_del($value->id)}
{/foreach}

{if([$comments])}
{if(check_level('del'))}
{/if} {if(check_level('mod'))}
{/if}
{/if}
{$pagebar}
{/if} {if([$more])}

- 评论详情

文章 | {$comment->title}
评论 | {$comment->comment}
状态 | {if([$comment->status]==1)}启用{/if} {if([$comment->status]==0)}禁用{/if}
评论人 | {$comment->username}（{$comment->nickname}）
{if([$comment->pusername])}
被评论人 | {$comment->pusername}（{$comment->pnickname}）
{/if}
点赞数 | {$comment->likes}
反对数 | {$comment->oppose}
用户IP | {fun=long2ip([$comment->user_ip])}
操作系统 | {$comment->user_os}
浏览器 | {$comment->user_bs}
时间 | {$comment->create_time}

{fun=get_btn_back()}
{/if}
{include file='common/foot.html'}