{* <?php die('duotaopu');?> 这行代码可以防止模板被盗用 *}<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gbk">
<meta charset="gbk">
<title>{$web_name}-{$web_seo_name}</title>
<meta name="keywords" content="{$web_keywords}" />
<meta name="description" content="{$web_description}" />
<link rel="stylesheet" href="{$theme_path}/css/style.css">
<script type="text/javascript" src="{$theme_path}/script/jquery-1.5.min.js"></script>
<script src="{$theme_path}/script/common.js"></script>
</head>
<body>
{include file="header.php"}
<!-- main start -->
      <div id="wapper"> 
		<div class="content cf">
			<h2 class="hide">热卖类目</h2>
<!-- left sidebar start -->
{include file="leftmenu.php"}
	<div class="main fr">
				<div class="ad cf">
					<div class="slide">
						<ol style="margin-left: -490px;" class="slide_imgs cf area" data-area="top_focus">
                           <li><a href="#"><img src="http://i.mmcdn.cn/simba/img/T1tBXxXDheXXb1upjX.jpg" border="0" height="170" width="490" target="_blank"></a></li>
                           <li><a href="#"><img src="http://img02.taobaocdn.com/tps/i2/T1wd0oXEphXXa6XtY7-490-170.png" border="0" height="170" width="490" target="_blank"></a></li>
                           <li><a href="#"><img src="http://img02.taobaocdn.com/tps/i2/T10yByXqXfXXcr_tT7-490-170.jpg" border="0" height="170" width="490" target="_blank"></a></li>
                        </ol>
						<ol class="slide_pages">
								<li class="">1</li>
								<li class="cur">2</li>
								<li class="">3</li>
								</ol>
					</div>
					<div class="daily area" data-area="top_focus">
						<h3>公告</h3>
						{list table='gg' name="gglist" row='6'}
						{foreach $gglist as $vo}
							<p>· <a title="{$vo.title}" target="_blank" href="{$vo.url}" {if $vo.style} style="{$vo.style}"{/if}>{$vo.title}</a></p>
						{/foreach}
					</div>
				</div>
				<div class="fam area" data-area="fam">
					<h2 class="hide">淘宝名店</h2>
					<ul class="fam_inner cf">
						{list name="piclist" id='0' row='30' orderby='order|DESC'}
						{foreach $piclist as $list}
							<li><a sid="{$list.id}" href="{$list.url}" target="_blank">{$list.shopname}</a></li>
						{/foreach}
						<i></i>
					</ul>
				</div>
				<div class="cool area" data-area="cool">
					<div class="cool_box red">
						<ul class="cb_content">
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="1"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
									 {list name="logolist1" id='1' row='4' orderby='order|DESC'}
									 {foreach $logolist1 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
								</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=1}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="2"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist2" id='2' row='5' orderby='order|DESC'}
									 {foreach $logolist2 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
								</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=2}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="5"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist5" id='5' row='5' orderby='order|DESC'}
									 {foreach $logolist5 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=5}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="53"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist53" id='53' row='5' orderby='order|DESC'}
									 {foreach $logolist53 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=53}">更多>></a></div>
							</li>
						</ul>
					</div>
					<div class="cool_box yellow">
						<ul class="cb_content">
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="3"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist3" id='3' row='5' orderby='order|DESC'}
									 {foreach $logolist3 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=3}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="4"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist4" id='4' row='5' orderby='order|DESC'}
									 {foreach $logolist4 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=4}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="61"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist61" id='61' row='5' orderby='order|DESC'}
									 {foreach $logolist61 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=61}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="62"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist62" id='62' row='5' orderby='order|DESC'}
									 {foreach $logolist62 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=62}">更多>></a></div>
							</li>
						</ul>
					</div>
					<div class="cool_box green">
						<ul class="cb_content">
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="56"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist56" id='56' row='5' orderby='order|DESC'}
									 {foreach $logolist56 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=56}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="57"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist57" id='57' row='5' orderby='order|DESC'}
									 {foreach $logolist57 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
								</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=57}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="66"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist66" id='66' row='5' orderby='order|DESC'}
									 {foreach $logolist66 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=66}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="69"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist69" id='69' row='5' orderby='order|DESC'}
									 {foreach $logolist69 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=69}">更多>></a></div>
							</li>
						</ul>
					</div>
					<div class="cool_box blue">
						<ul class="cb_content">
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="73"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist73" id='73' row='5' orderby='order|DESC'}
									 {foreach $logolist73 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=73}">更多>></a></div>
							</li>
							<li class="cf">
								<h4 class="fl cb_title_s">{channellist id="80"}{foreach $classlist as $class}<a href="{$class.url}">{$class.cname}</a>{/foreach}</h4>
								<div class="ctr fl">
								{list name="logolist80" id='80' row='5' orderby='order|DESC'}
									 {foreach $logolist80 as $list}
									<a sid="{$list.id}" href="{$list.url}"{if $list.style} style="{$list.style}"{/if} target="_blank">{$list.shopname}{if $list.flag=='c'}<i class="doing_ico"></i>{/if}</a>
									{/foreach}
							</div>
								<div class="more fl"><a href="{getshowurl mid='channel' id=80}">更多>></a></div>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="flink">
			<p>
					<strong>友情链接：</strong>
					{foreach $flinklist as $flink}
					<a target="_blank" href="{$flink.url}"{if $flink.style} style="{$flink.style}"{/if}>{$flink.title}</a> 
					{/foreach}
				</p>
		</div>
		<!--弹出店铺信息开始-->
		<div id="popinfo_wrap" class="area pop" data-area="popinfo">
			<div class="pop_cnt" id="popinfo">
				<div class="loading">
					<img src="{$theme_path}/images/loading.gif">
					<br>
					<span>正在加载，请稍后...</span>
				</div>
			</div>
			<div class="pop_bg" id="popinfo_bg"></div>
			<div class="arr_wrap"><div class="arr_bg"></div><div class="arr"></div></div>
		</div>
		<!--弹出店铺信息结束-->
		<script>
		$(function(){
			$("#search_form .ipt").focus();
			var api = "{$web_path}/index.php?m=ajax&g=shopinfo&id=";
			var hoverT = 0,hideT = 0,cursid = null;
			var pi = $("#popinfo"),piw = $("#popinfo_wrap");
			var img = new Image();
			$("#wapper").find(".fam,.ctr").find("a").hover(function(e){
				if($(e.target).hasClass("doing_ico")){
					return;
				}
				var t = this,sid = $(t).attr("sid");
				cursid = sid;
				if(sid){
					hoverT = setTimeout(function(){
						var obj = calcPos(piw, t, 20);
						$("#popinfo .loading").show().nextAll().remove();
						var hrefName = $(t).text();
						piw.css({
							top: obj.tto,
							left: obj.lto
						}).show();
						$.get(api+sid+"&callback=?",function(data){
							if (cursid == sid) {
								$("#popinfo .loading").nextAll().remove();
								$("#popinfo .loading").hide();
								$("#popinfo").append(data);
							}
						});
					},300);
				}
			},function(){
				clearTimeout(hoverT);
				hideT = setTimeout(function(){
					piw.hide();
				},300);
			});
			piw.mouseenter(function(){
				clearTimeout(hideT);
			}).mouseleave(function(){
				$(this).hide();
			});
		});
		</script>
<!-- main end -->		
{include file="footer.php"}
</body></html>