{if $action == 'show'}
{template $template_poll, 'chip'}
{if $verify}

{if $verify == 1}
请填写验证码 | {template 'captcha', 'chip'}
{/if} {if $verify == 2}
请回答验证问题 | {template 'question', 'chip'}
{/if}

{/if}
{else} {template 'header'}
{if $itemid}

# {$title}

票数：{$polls} 浏览：{$hits} 添加时间：{$adddate} 有效期：{$fromdate} 至 {$todate}
{if $content}
{$content}
{else}
{/if}
{else}

{if !$typeid}类别{/if} | 标题 | 点击 | 发布时间
--- | --- | --- | ---
{loop $lists $k $v}
{if !$typeid}{$v[typename]}{/if} | {$v[title]} | {$v[hits]} | {$v[adddate]}
{/loop}

{if $pages}
{$pages}
{/if} {/if}

- 行业票选
{loop $_TP[0] $v0}
- {$v0[typename]}
{if isset($_TP[1][$v0[typeid]])} {loop $_TP[1][$v0[typeid]] $v1}
- |-- {$v1[typename]}
{/loop} {/if} {/loop}

{template 'footer'} {/if}