{foreach from=$form.group key=gid item=group} {if $group.type == "text" || $group.type == "textarea" || $group.type == "file"} {else} {foreach from=$form.option key=oid item=option} {if $option.gid eq $gid} {if $group.state >0} {/if} {/if} {/foreach} {/if} {/foreach}
{$group.name} {$types[$group.type]}
A 填写 {$group.stat} 票 0%
B 未填写 {$form.stat-$group.stat} 票 0%
{$option.id} {$option.name} {$option.stat} 票 0%