<div id="body">
<div class="link_path">
    <em>现有<span class="font_2">$total</span>家{$MOD[name]}特约商家</em>
    <a href="{$_config[siteurl]}">首页</a>&nbsp;&raquo;&nbsp;{$MOD[name]}
</div>
<div class="catelist">
    <div class="type">
        <div class="class">
            <span{if empty($pcd)} class="selected"{/if}><a href="{$MOD[url]}">所有商家</a></span>
            <!--{loop $_panels $p_key $panel}-->
            <span{if $pcd==$p_key} class="selected"{/if}><a href="{$MOD[url]}?pcd=$p_key">$panel</a></span>
            <!--{/loop}-->
        </div>
        <h3>全部分类:</h3>
    </div>
</div>
<div id="left">
	<div class="mainrail rail-border-1">
		<h1 class="rail-h-1 rail-h-bg-1">推荐加盟商家</h1>
		<ul class="rail-list">
            <!--{if !$_card_commend_shops}-->
            <li>暂时还没有加盟商家</li>
            <!--{else}-->
            <!--{loop $_card_commend_shops $shop}-->
            <li><a href="{$_modules['shop']['url']}shop.php?shopid=$shop[shopid]">$shop[shopname]</a></li>
            <!--{/loop}-->
            <!--{/if}-->
		<ul>
	</div>
	<div class="mainrail rail-border-1">
		<h1 class="rail-h-1 rail-h-bg-1">最新加盟商家</h1>
		<ul class="rail-list">
            <!--{if !$_card_addnew_shops}-->
            <li>暂时还没有分店</li>
            <!--{else}-->
            <!--{loop $_card_addnew_shops $shop}-->
            <li><a href="{$_modules['shop']['url']}shop.php?shopid=$shop[shopid]">$shop[shopname]</a></li>
            <!--{/loop}-->
            <!--{/if}-->
		<ul>
	</div>
</div>
<div id="right">
	<div class="mainrail rail-border-1">
		<h1 class="rail-h-1 rail-h-bg-1">$_modules[card][name]特约商家</h1>
		<table class="maintable" cellspacing="0" cellpadding="0">
            <tr class="tblth">
                <th width="40%">名称</th>
                <th width="30%">折扣信息</th>
                <th width="30%" align="right">备注</th>
            </tr>
            <!--{if $shops}-->
            <!--{loop $shops $shop}-->
            <tr>
                <td><a href="{$_modules['shop']['url']}shop.php?shopid=$shop[shopid]" target="_blank">$shop[shopname]</a></td>
                <td><span class="font_1">$shop[membercard_msg]</span></td>
                <td>$shop[exception]</td>
            </tr>
            <!--{/loop}-->
            <!--{else}-->
            <tr>
                <td colspan="3">没有任何信息。</td>
            </tr>
            <!--{/if}-->
		</table>
        {if $multipage}<div class="multipage">$multipage</div>{/if}
	</div>
</div>
<div class="clear"></div>

</div>