<{* <?php exit();?> 添加此行防止模板被盗 *}>
<div class="main">
<!--顶部-->
<div class="gray topline">
<span class="fr">频道推荐:
<a href="<{$duoao_urls}>go.php?s=mall" target="_blank">淘宝商城</a>
<a href="<{$duoao_urls}>go.php?s=huangguan" target="_blank">皇冠店铺</a>
<a href="<{$duoao_urls}>go.php?s=man" target="_blank">男人</a>
<a href="<{$duoao_urls}>go.php?s=lady" target="_blank">女人</a>
<a href="<{$duoao_urls}>go.php?s=digital" target="_blank">数码</a>
<a href="<{$duoao_urls}>go.php?s=beauty" target="_blank">美容</a>
<a href="<{$duoao_urls}>go.php?s=jewelry" target="_blank">鞋包</a>
<a href="<{$duoao_urls}>go.php?s=home" target="_blank">家居</a>
<a href="<{$duoao_urls}>go.php?s=food" target="_blank">食品</a>
<a href="<{$duoao_urls}>go.php?s=electric" target="_blank">电器城</a>
</span>
<span class="home"><a href="javascript:;" onClick="SetHome(this,'<{$duoao_url}>');">设为首页</a></span>
<span class="favor"><a href="javascript:;" onClick="AddFavorite('<{$duoao_url}>', '<{$sitename}> - <{$sitetitle}>');">收藏本站</a></span>
</div>
<div id="top">
<div class="toptitle"><a href="<{$duoao_url}>"><h1><{$sitename}> - <{$sitetitle}></h1></a></div>
<div class="bz"></div>
<div id="search">
<form action="<{$duoao_url}><{php}>echo NAME_SEARCH ;<{/php}>.php" id="duoao_cn" method="get" target="_blank">
<input name="type" id="type" type="hidden" value="form" />
<input name="ish" id="ish" type="hidden" value="" />
<div class="slt"><a id="ish_1" onclick="SearchSelect(1,'');" class="on">宝贝</a><a id="ish_2" onclick="SearchSelect(2,'shop');">店铺</a><a id="ish_3" onclick="SearchSelect(3,'nick');">卖家</a></span></div>
<input type="text" name="kw" id="kw" onBlur="if(!this.value){this.className='';};" onfocus="this.className='on';" value="" autocomplete="off" />
<button type="submit">搜 索</button>
</form>
</div>
</div>
</div>
<!--导航-->
<div id="menu">
<div class="menu_box">
<div class="menu_link">
<{php}>
//分类: 前面为ID,后面为名字.
$this->_tpl_vars['menu_arr'] = array(
16 => '女装',
50006843 => '女鞋',
30 => '男装',
50011740 => '男鞋',
1801 => '美容',
50006842 => '包包',
50013864 => '首饰',
50011699 => '运动',
35 => '母婴',
14 => '数码',
21 => '家居',
);
<{/php}>
<a href="<{$duoao_url}>"<{if !$menu_arr.$top_id}> class="onselect"<{/if}>><h2>首页</h2></a>
<{foreach from=$menu_arr key='key' item='val'}>
<a href="<{duoao_geturl mod="list" id=$key}>"<{if $key==$top_id}> class="onselect"<{/if}>><h2><{$val}></h2></a>
<{/foreach}>
<div class="show_count">今日上新店铺 <span id="iCount_shop">0</span> 家 <em class="ccc">|</em> 新单品 <span id="iCount_prod">0</span> 件</div>
</div>
<div class="clear"></div>
<div class="menu_nav">
<div class="menu_nav_t">
<{php}>
//其他分类: 分类ID => '分类名'
$this->_tpl_vars['nav_arr'] = array(
50010404 => '配饰',
1625 => '内衣',
50008165 => '童装',
50010788 => '彩妆香水',
50020276 => '保健品',
1512 => '手机',
50005700 => '手表',
11 => '电脑',
50012100 => '生活电器',
50008163 => '家居用品',
50002766 => '零食特产',
);
<{/php}>
<{foreach from=$nav_arr key='key' item='val'}>
<a href="<{duoao_geturl mod="list" id=$key}>"<{if $key==$top_id}> class="onselect"<{/if}>><{$val}></a>
<{/foreach}>
</div>
<div class="menu_nav_tr">
<a href="<{$duoao_urls}>go.php?s=top" target="_blank">排行榜</a>
<a href="<{duoao_geturl mod="list" id="0"}>" target="_blank" class="nf">全部分类</a>
<a href="<{$duoao_url}>sitemap.php" target="_blank" class="nd">网站地图</a>
</div>
<div class="menu_nav_b gray">
<b>热门搜索</b>:
<{foreach from=$duoao_hotkey.hotkeywords item='val'}>
<a href="<{duoao_geturl mod='search' id=$duoao_hotkey.catid key=$val}>" target="_blank"><{$val}></a>
<{/foreach}>
</div>
</div>
<span class="menu_nav_l"></span><span class="menu_nav_r"></span>
</div>
</div>
<script type="text/javascript">var _time = setInterval("J_newCount()",1000);</script>
|