<div id="body">
<div class="link_path">
    <em>
        <a href="reviews.php?pcd=$pcd">查看最新点评</a>&nbsp;-&nbsp;<a href="top.php?pcd=$pcd">最佳排行</a>&nbsp;-&nbsp;<a href="allpic.php?pcd=$pcd">所有图片</a></span>
    </em>
    <a href="{$_config[siteurl]}">首页</a>&nbsp;&raquo;&nbsp;<a href="cate.php?cd=$pcd">$_panels[$pcd]</a>&nbsp;&raquo;&nbsp;$subtitle</span>
</div>
<div class="catelist">
    <div class="type">
        <div class="class">
            <span{if empty($areacode)} class="selected"{/if}><a href="cate.php?cd=$cd&order=$order">全部</a></span>
            <!--{loop $_boroughs $key $val}-->
            <span{if $areacode==$key} class="selected"{/if}><a href="cate.php?cd=$cd&areacode=$key&order=$order">$val</a></span>
            <!--{/loop}-->
            <!--{if $areacode}-->
            <div class="street">
                <span{if empty($streetcode)} class="selected"{/if}><a href="cate.php?cd=$cd&areacode=$areacode&order=$order">全部</a></span>
                <!--{loop $_streets[{$areacode}] $key $val}-->
                <span{if $streetcode==$key} class="selected"{/if}><a href="cate.php?cd=$cd&areacode=$areacode&streetcode=$key&order=$order">$val</a></span>
                <!--{/loop}-->
            </div>
            <!--{/if}-->
        </div>
        <h3>全部地区:</h3>
    </div>
    <div class="type">
        <div class="class">
            <span{if $cd==$pcd} class="selected"{/if}><a href="cate.php?cd=$pcd&areacode=$areacode&streetcode=$streetcode&order=$order">全部</a></span>
            <!--{loop $_classes[$pcd] $key $val}-->
            <span{if $cd==$key} class="selected"{/if}><a href="cate.php?cd=$key&areacode=$areacode&streetcode=$streetcode&order=$order">$val</a></span>
            <!--{/loop}-->
        </div>
        <h3>全部分类:</h3>
    </div>
    <div class="type">
        <div class="class">
            <!--{loop $orderlist $key $val}-->
            <span{if $order==$key} class="selected"{/if}><a href="$orderurl&order=$key">$val</a></span>
            <!--{/loop}-->
        </div>
        <h3>排序方式:</h3>
    </div>
</div>
<div id="cate_right">
    <!--{if $_panel_config[$pcd][catemap]}-->
    <div class="mainrail rail-border-1">
        {template shop_cate_part_site_map}
    </div>
    <!--{/if}-->
    <div class="mainrail rail-border-1">
        <!--{datacall:28}-->
    </div>
    <div class="mainrail rail-border-1">
        <h1 class="rail-h-1 rail-h-bg-1">热门商铺</h1>
        <ul class="rail-list">
            <!--{datacall:40}-->
        </ul>
    </div>
    <div class="mainrail rail-border-1">
        <h1 class="rail-h-1 rail-h-bg-1">热门分类</h1>
        <ul class="rail-list">
            <!--{datacall:39}-->
        </ul>
    </div>
</div>
<div id="cate_left">
    <div class="mainrail rail-border-1">
        <h1 class="rail-h-1 rail-h-bg-1">商铺列表</h1>
        {template shop_cate_part_itemlist}
    </div>
</div>
</div>
<script type="text/javascript">
function listorder(obj) {
    if(obj.value.length==0) return false;
    document.location.href = '$orderurl&order='+obj.value;
}
</script>