{extend name="common/common2" /} {block name="main"}
{$meta_title}
{if ($type == 1) or ($type ==2)}
{if isset($cateList)} {foreach $cateList as $k=>$v} {/foreach} {/if} {foreach $data as $k=>$v} {if isset($v['list'])} {foreach $v['list'] as $kk=>$vv} {/foreach} {/if} {/foreach} {foreach $count as $k=>$v} {/foreach}
名称{$v.title} (预约人数)
{$v['title']}{$vv}
合计{$v.count}
{elseif($type == 3)}
# 预约总人数
{$data['k']} {$data['count']}
{elseif($type == 4 || $type == 5)}
{foreach $data as $k=>$v} {/foreach}
# 名称 预约总人数
{$v['id']} {$v['title']} {$v['count']}
合计 {$countNum}
{/if}
{/block} {block name="script"} {/block}