{include h} {include thread_header}

## {$thread_data.title}{if $thread_data['state']} - {$_LANG['已锁定']}{/if}

{$thread_data.user} {php echo humandate($thread_data['atime'])}

{if $thread_data['show'] && $thread_data['gold_show']} {$post_data.content} {else} {if $thread_data['gold_show']}

> {$_LANG['内容隐藏提示']}

{else}

> {$_LANG['内容需要付费']} ({$_LANG['点击购买']}) {$_LANG['售价']}：{$thread_data['gold']} {$_LANG['金币']}

{/if} {/if}

{if $forum[$thread_data['fid']]['fid'] != -1}
- {php echo forum($forum,$forum[$thread_data['fid']]['fid'],'name');}
{/if}
- {php echo forum($forum,$thread_data['fid'],'name');}

{if $thread_data['files']}

## {$_LANG['附件列表']}

{foreach $filelist as $v} {if $v['show']}

{$v.name} {$_LANG['文件大小']}:{php echo round($v['size']/1024/1024,2);}M ({$_LANG['下载次数']}：{$v.downs}) {if $v['gold']} {$_LANG['售价']}:{$v.gold} {/if}

{else}

{$_LANG['附件隐藏提示']}

{/if} {/foreach}
{/if}

{foreach $PostList as $k => $v}
| #### {$v.user} # {$k+1}{$_LANG['楼']} {php echo humandate($v['atime'])} {if IS_LOGIN } {if $v['uid'] == $user['id'] || $user['group'] == C("ADMIN_GROUP")} {$_LANG['编辑']} {/if} {if $v['uid'] == $user['id'] || $user['group'] == C("ADMIN_GROUP") || is_forumg($forum,$user['id'],$thread_data['fid'])} {$_LANG['删除帖子']} {/if} {/if} {$v.content}
{/foreach}

{$_LANG['上一页']} {$_LANG['下一页']}
{$_LANG['踩']} ({$thread_data['nos']})
{$_LANG['赞']} ({$thread_data['goods']})
{$_LANG['查看']} ({$thread_data['views']})
{if IS_LOGIN} {else} {$_LANG['登陆后才可发表内容']} {/if}
{include f}