{php $bootstrap_type = 3;} {if empty($_W['isajax'])} {template 'header'} {template 'common'}
商城首页{if $_GPC['pcate']} - {$category[$_GPC['pcate']]['name']}{/if}{if $_GPC['ccate']} - {$children[$_GPC['pcate']][$_GPC['ccate']]['name']}{/if} {$carttotal}

{loop $category $item}
- {$item['name']} {loop $children[$item['id']] $child} {$child['name']} {/loop}
{/loop}

{loop $advs $adv}
- {$adv['advname']}
{/loop}

{php $slideNum = 1;} {loop $advs $adv} {php $slideNum++;} {/loop}

{/if}
推荐商品
{loop $rlist $item} {template 'list_item'} {/loop}
浏览更多商品
{loop $recommandcategory $c} {if !empty($c['list'])} {if empty($_W['isajax'])}
{/if} {if empty($_W['isajax'])}
{$c['name']}
{/if} {loop $c['list'] $item} {template 'list_item'} {/loop} {if empty($_W['isajax'])}
浏览更多商品
{/if} {/if} {/loop} {if empty($_W['isajax'])}
{template 'footer'} {template 'footerbar'} {/if}