{extend name="index_base" /} {block name="seo"} {/block} {block name="css"}
{/block} {block name="body"} {include file="index/menu"}

# {$t.title}

{if condition="$t['uid'] eq session('userid')"} 编辑 {/if} {$t.name} {if condition="$t['settop'] eq 1"} 置顶{/if} {if condition="$t['choice'] eq 1"} 精帖{/if} {:hook('threadbanzhu',array('id'=>$t['id'],'tid'=>$t['tid'],'zuid'=>$t['uid']))}
 {$t.reply}  {$t.view}
{$t.username}
{$t.time|friendlyDate} {if $t['userid'] neq session('userid') && session('userid') neq ''} {if condition="$iscollect eq 1"}取消{/if}收藏 {/if}
{:hook('threadviewfee',array('id'=>$t['id'],'uid'=>session('userid'),'zuid'=>$t['uid']))}
{$content|htmlspecialchars_decode}
{:hook('attachlinkshow',array('id'=>$t.id,'type'=>2))} {:hook('threadext',array('id'=>$t.id))}
回帖

{volist name="tptc" id="vo"}
- {if condition="$vo['uid'] eq session('userid')"}我{else /}{$vo.username}{/if} {if condition="$vo['uid'] eq $t['userid']"} [楼主]{/if}
  {$vo.time|friendlyDate}

  {$vo.content|htmlspecialchars_decode}

  {if condition="$vo['tid'] gt 0"}
  {$vo.tid|getcommentbyid}
  {/if}
  {$vo.zan} 回复
{/volist}

{$tptc->render()}
{include file="index/cateright"}
{/block} {block name="script"}
{/block}