{template 'header', $TP}
{if $itemid} {if $action == 'list'} [{$title}]答案列表
{if $could_answer}[我来回答]
{/if} {loop $lists $v} {nl2br($v[content])}
{timetodate($v[addtime], 5)}
回答:{if $v[hidden]}匿名{else}{if $v[username]}{$v[username]}{else}{hide_ip($v[ip])}{/if}{/if}
{/loop} {if $pages}
{$pages}
{/if} {elseif $action == 'answer'} 回答[{$title}]
答案:
{else} {$title}
日期:{$editdate}
状态:{$PROCESS[$process]}
提问:{if $hidden}匿名{else}{$username}{/if}
{$content}
最佳答案{if $expert}[专家]{/if}:
{if $user_status == 3} {if $best} {nl2br($best[content])}
回答：{if $best[hidden]}匿名{else}{if $best[username]}{$best[username]}{else}{hide_ip($best[ip])}{/if}{/if}
{timetodate($best[addtime], 5)}
{else} 暂无最佳答案
{/if} {else} {template 'content', $TP} {/if} [全部回答({$answer})] {if $could_answer}[我来回答]{/if} {/if} {else}
按分类浏览
{loop $lists $v} ·[{$PROCESS[$v[process]]}] {$v[title]}
{/loop} {/if} {if $pages}
{$pages}
{/if}
{template 'footer', $TP}