<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<?php include(DDROOTPATH.'/cache/title/'.$pagetag.'_title.php');?>
<LINK rel=stylesheet type=text/css href="/template/<?=MOBAN?>/css/shoplist.css">
<LINK rel=stylesheet type=text/css href="/template/<?=MOBAN?>/css/common.css">
<LINK rel=stylesheet type=text/css href="/template/<?=MOBAN?>/css/taodian.css">
<script type="text/javascript" src="/template/<?=MOBAN?>/js/jquery-1.3.2.min.js"></script>
<SCRIPT type="text/javascript" src="/template/<?=MOBAN?>/js/base64.js"></SCRIPT>
<SCRIPT type="text/javascript" src="/template/<?=MOBAN?>/js/function.js"></SCRIPT>
<SCRIPT type="text/javascript" src="/template/<?=MOBAN?>/js/taobao.js"></SCRIPT>
<script type="text/javascript" src="/template/<?=MOBAN?>/js/lib-merge.js?t=02112"></script>
<script type="text/javascript" src="/template/<?=MOBAN?>/js/core.js?ts=02111"></script>
<script type="text/javascript" src="/template/<?=MOBAN?>/js/search.js?t=11071"></script>
<SCRIPT language=JavaScript>
/*定义js路径*/
var contextPath = "http://<?=URL?>/";
<!--是否开启伪静态-->
var rewrite = <?=WJT?>;
<!--是否开启图片伪本地化-->
var taopicopen = 1;
</SCRIPT>
<style type="text/css">
<!--
.STYLE1 {	color: #3366cc;
	font-weight: bold;
}
.STYLE2 {color: #3366cc}
-->
</style>
</head>

<body>
<?php
include("header.tpl.php");
?>
<?php
include("nav.tpl.php");
?>
<div id="weizhi">当前位置：<a href="index<?=$end?>">首页</a> > <a href="shoplist<?=$end?>">淘宝店铺</a> > <a href="shoplist<?=$url_head_cid?><?=$cid?><?=$url_end?>"><?=ShowShopCat($cid)?></a></div>
<div id="main">
<div class="white_top"><div class="white_top_left"></div><div class="white_top_middle"></div><div class="white_top_right"></div></div>
<div class="white_bg">
<!--导航-->
<div class="span-5">
<div class="adv-shop-filter">
<h4>店铺分类</h4>
<div class="filter-panel">
<span>服装配饰</span>
 <ul>
<li cid="14"><a href="shoplist.php?cid=14">时尚女装</a></li>
<li cid="37"><a href="shoplist.php?cid=37">精品男装</a></li>
<li cid="1056"><a href="shoplist.php?cid=1056">靓丽女鞋</a></li>
<li cid="1082"><a href="shoplist.php?cid=1082">品味男鞋</a></li>
<li cid="1055"><a href="shoplist.php?cid=1055">精致内衣</a></li>
<li cid="1153"><a href="shoplist.php?cid=1153">运动服</a></li>
<li cid="1106"><a href="shoplist.php?cid=1106">运动鞋</a></li>
<li cid="1062"><a href="shoplist.php?cid=1062">儿童服饰</a></li>
</ul>
</div>
<div class="filter-panel">
<span>箱包首饰</span>
<ul>
<li cid="31"><a href="shoplist.php?cid=31">精品箱包</a></li>
<li cid="1054"><a href="shoplist.php?cid=1054">流行饰品</a></li>
<li cid="1154"><a href="shoplist.php?cid=1154">服饰配件</a></li>
<li cid="23"><a href="shoplist.php?cid=23">璀璨珠宝</a></li>
<li cid="1044"><a href="shoplist.php?cid=1044">名品手表</a></li>
<li cid="1040"><a href="shoplist.php?cid=1040">眼镜</a></li>
</ul>
</div>
<div class="filter-panel">
<span>美容护肤</span>
<ul>
<li cid="15"><a href="shoplist.php?cid=15">皮肤护理</a></li>
</ul>
</div>
<div class="filter-panel">
<span>数码影音</span>
 <ul>
<li cid="13"><a href="shoplist.php?cid=13">手机</a></li>
<li cid="1043"><a href="shoplist.php?cid=1043">电脑</a></li>
<li cid="17"><a href="shoplist.php?cid=17">摄影摄像</a></li>
<li cid="1048"><a href="shoplist.php?cid=1048">3c配件</a></li>
<li cid="12"><a href="shoplist.php?cid=12">随身视听</a></li>
<li cid="11"><a href="shoplist.php?cid=11">电脑配件</a></li>
<li cid="21"><a href="shoplist.php?cid=21">办公设备</a></li>
</ul>
</div>
<div class="filter-panel">
<span>家居装修</span>
 <ul>
<li cid="1049"><a href="shoplist.php?cid=1049">床品布艺</a></li>
<li cid="1122"><a href="shoplist.php?cid=1122">家居装饰</a></li>
<li cid="24"><a href="shoplist.php?cid=24">家庭清洁</a></li>
<li cid="1050"><a href="shoplist.php?cid=1050">住宅家具</a></li>
<li cid="26"><a href="shoplist.php?cid=26">家装建材</a></li>
</ul>     
</div>
<div class="filter-panel">
<span>家用电器</span>
<ul>
<li cid="1046"><a href="shoplist.php?cid=1046">生活电器</a></li>
<li cid="1104"><a href="shoplist.php?cid=1104">按摩器材</a></li>
</ul>   
</div>
<div class="filter-panel">
<span>母婴用品</span>
<ul>
<li cid="1020"><a href="shoplist.php?cid=1020">孕妇专区</a></li>
</ul>
</div>
<div class="filter-panel">
<span>食品保健</span>
<ul>
<li cid="29"><a href="shoplist.php?cid=29">休闲食品</a></li>
</ul>   
</div>
<div class="filter-panel">
 <span>文体户外</span>
 <ul>
<li cid="22"><a href="shoplist.php?cid=22">汽车用品</a></li>
<li cid="1045"><a href="shoplist.php?cid=1045">户外装备</a></li>
<li cid="18"><a href="shoplist.php?cid=18">健身器械</a></li>
<li cid="30"><a href="shoplist.php?cid=30">动漫玩具</a></li>
<li cid="34"><a href="shoplist.php?cid=34">图书杂志</a></li>
<li cid="33"><a href="shoplist.php?cid=33">影视音乐</a></li>
 </ul> 
 </div>
 <div class="filter-panel">
<span>生活服务</span>
 <ul>
<li cid="1042"><a href="shoplist.php?cid=1042">个性定制</a></li>
<li cid="1047"><a href="shoplist.php?cid=1047">鲜花速递</a></li>
<li cid="32"><a href="shoplist.php?cid=32">宠物</a></li>
<li cid="1053"><a href="shoplist.php?cid=1053">折扣券</a></li>
 </ul> 
</div>
</div></div>
<!--导航-->
	<div id="shop_right">
		<div id="searchbar" style="height:40px;">
			<div id="shopsearch">
			<form action="shoplist.php" method="get">
			  <div class="searchlist"><ul><li style="width:210px; margin-top:0px; margin-left:5px;float: left;">关键字：<input type="text" class="smallinput" name="keyword" style="width:140px;" onblur="if(this.value=='')this.value='请输入店铺或掌柜名称...';" onfocus="if(this.value=='请输入店铺或掌柜名称...')this.value='';" accesskey="s" value="<?php if($keyword==""){echo "请输入店铺或掌柜名称...";}else{echo $keyword;}?>"/>
				</li><li style="width:140px;margin-top:0px;float:left;" ><select name="start_level" id="start_level" class="smallinput" style="width:60px;">
				  <option value=""<?php if($startlevel=='') echo ' selected';?>>等级</option>
				  <option value="1"<?php if($startlevel=='1') echo ' selected';?>>一心</option>
				  <option value="2"<?php if($startlevel=='2') echo ' selected';?>>两心</option>
				  <option value="3"<?php if($startlevel=='3') echo ' selected';?>>三心</option>
				  <option value="4"<?php if($startlevel=='4') echo ' selected';?>>四心</option>
				  <option value="5"<?php if($startlevel=='5') echo ' selected';?>>五心</option>
				  <option value="6"<?php if($startlevel=='6') echo ' selected';?>>一钻</option>
				  <option value="7"<?php if($startlevel=='7') echo ' selected';?>>两钻</option>
				  <option value="8"<?php if($startlevel=='8') echo ' selected';?>>三钻</option>
				  <option value="9"<?php if($startlevel=='9') echo ' selected';?>>四钻</option>
				  <option value="10"<?php if($startlevel=='10') echo ' selected';?>>五钻</option>
				  <option value="11"<?php if($startlevel=='11') echo ' selected';?>>一冠</option>
				  <option value="12"<?php if($startlevel=='12') echo ' selected';?>>两冠</option>
				  <option value="13"<?php if($startlevel=='13') echo ' selected';?>>三冠</option>
				  <option value="14"<?php if($startlevel=='14') echo ' selected';?>>四冠</option>
				  <option value="15"<?php if($startlevel=='15') echo ' selected';?>>五冠</option>
				  <option value="16"<?php if($startlevel=='16') echo ' selected';?>>一金冠</option>
				  <option value="17"<?php if($startlevel=='17') echo ' selected';?>>二金冠</option>
				  <option value="18"<?php if($startlevel=='18') echo ' selected';?>>三金冠</option>
				  <option value="19"<?php if($startlevel=='19') echo ' selected';?>>四金冠</option>
				  <option value="20"<?php if($startlevel=='20') echo ' selected';?>>五金冠</option>
				</select> - <select name="end_level" id="end_level" style="width:60px;" class="smallinput">				  
				  <option value=""<?php if($endlevel=='') echo ' selected';?>>等级</option>
				  <option value="1"<?php if($endlevel=='1') echo ' selected';?>>一心</option>
				  <option value="2"<?php if($endlevel=='2') echo ' selected';?>>两心</option>
				  <option value="3"<?php if($endlevel=='3') echo ' selected';?>>三心</option>
				  <option value="4"<?php if($endlevel=='4') echo ' selected';?>>四心</option>
				  <option value="5"<?php if($endlevel=='5') echo ' selected';?>>五心</option>
				  <option value="6"<?php if($endlevel=='6') echo ' selected';?>>一钻</option>
				  <option value="7"<?php if($endlevel=='7') echo ' selected';?>>两钻</option>
				  <option value="8"<?php if($endlevel=='8') echo ' selected';?>>三钻</option>
				  <option value="9"<?php if($endlevel=='9') echo ' selected';?>>四钻</option>
				  <option value="10"<?php if($endlevel=='10') echo ' selected';?>>五钻</option>
				  <option value="11"<?php if($endlevel=='11') echo ' selected';?>>一冠</option>
				  <option value="12"<?php if($endlevel=='12') echo ' selected';?>>两冠</option>
				  <option value="13"<?php if($endlevel=='13') echo ' selected';?>>三冠</option>
				  <option value="14"<?php if($endlevel=='14') echo ' selected';?>>四冠</option>
				  <option value="15"<?php if($endlevel=='15') echo ' selected';?>>五冠</option>
				  <option value="16"<?php if($endlevel=='16') echo ' selected';?>>一金冠</option>
				  <option value="17"<?php if($endlevel=='17') echo ' selected';?>>二金冠</option>
				  <option value="18"<?php if($endlevel=='18') echo ' selected';?>>三金冠</option>
				  <option value="19"<?php if($endlevel=='19') echo ' selected';?>>四金冠</option>
				  <option value="20"<?php if($endlevel=='20') echo ' selected';?>>五金冠</option></select></li>
				  <li style="width:85px;margin-top:0px;float:left;"><select name="px" id="px" class="smallinput">
				   <option value='' <?php if ($px == "") echo "selected"; ?>>信誉排序</option>
				   <option value='1' <?php if ($px == "1") echo "selected"; ?>>从高到低</option>
				   <option value='0' <?php if ($px == "0") echo "selected"; ?>>从低到高</option>
				  </select></li>
				  <li style="width:90px; margin-top:5px;float:left;" ><select name="area" id="area" class="smallinput">
		    <option value='' <?php if ($area == "") echo "selected"; ?>>所有地区</option>
			<option value='江苏,浙江,上海'<?php if ($area == "江苏,浙江,上海") echo " selected"; ?>>江浙沪</option>
			<option value='广州,深圳,中山,珠海,佛山,东莞,惠州'<?php if ($area == "广州,深圳,中山,珠海,佛山,东莞,惠州") echo " selected"; ?>>珠三角</option>
			<option value='香港,澳门,台湾'<?php if ($area == "香港,澳门,台湾") echo " selected"; ?>>港澳台</option>
			<option value='北京'<?php if ($area == "北京") echo " selected"; ?>>北京</option>
			<option value='上海'<?php if ($area == "上海") echo " selected"; ?>>上海</option>
			<option value='杭州'<?php if ($area == "杭州") echo " selected"; ?>>杭州</option>
			<option value='广州'<?php if ($area == "广州") echo " selected"; ?>>广州</option>
			<option value='深圳'<?php if ($area == "深圳") echo " selected"; ?>>深圳</option>
			<option value='南京'<?php if ($area == "南京") echo " selected"; ?>>南京</option>
			<option value='武汉'<?php if ($area == "武汉") echo " selected"; ?>>武汉</option>
			<option value='天津'<?php if ($area == "天津") echo " selected"; ?>>天津</option>
			<option value='成都'<?php if ($area == "成都") echo " selected"; ?>>成都</option>
			<option value='哈尔滨'<?php if ($area == "哈尔滨") echo " selected"; ?>>哈尔滨</option>
			<option value='重庆'<?php if ($area == "重庆") echo " selected"; ?>>重庆</option>
			<option value='宁波'<?php if ($area == "宁波") echo " selected"; ?>>宁波</option>
			<option value='无锡'<?php if ($area == "无锡") echo " selected"; ?>>无锡</option>
			<option value='济南'<?php if ($area == "济南") echo " selected"; ?>>济南</option>
			<option value='苏州'<?php if ($area == "苏州") echo " selected"; ?>>苏州</option>
			<option value='温州'<?php if ($area == "温州") echo " selected"; ?>>温州</option>
			<option value='青岛'<?php if ($area == "青岛") echo " selected"; ?>>青岛</option>
			<option value='沈阳'<?php if ($area == "沈阳") echo " selected"; ?>>沈阳</option>
			<option value='福州'<?php if ($area == "福州") echo " selected"; ?>>福州</option>
			<option value='西安'<?php if ($area == "西安") echo " selected"; ?>>西安</option>
			<option value='长沙'<?php if ($area == "长沙") echo " selected"; ?>>长沙</option>
			<option value='合肥'<?php if ($area == "合肥") echo " selected"; ?>>合肥</option>
			<option value='南宁'<?php if ($area == "南宁") echo " selected"; ?>>南宁</option>
			<option value='南昌'<?php if ($area == "南昌") echo " selected"; ?>>南昌</option>
			<option value='郑州'<?php if ($area == "郑州") echo " selected"; ?>>郑州</option>
			<option value='厦门'<?php if ($area == "厦门") echo " selected"; ?>>厦门</option>
			<option value='大连'<?php if ($area == "大连") echo " selected"; ?>>大连</option>
			<option value='常州'<?php if ($area == "常州") echo " selected"; ?>>常州</option>
			<option value='石家庄'<?php if ($area == "石家庄") echo " selected"; ?>>石家庄</option>
			<option value='东莞'<?php if ($area == "东莞") echo " selected"; ?>>东莞</option>
			<option value='安徽'<?php if ($area == "安徽") echo " selected"; ?>>安徽</option>
			<option value='福建'<?php if ($area == "福建") echo " selected"; ?>>福建</option>
			<option value='甘肃'<?php if ($area == "甘肃") echo " selected"; ?>>甘肃</option>
			<option value='广东'<?php if ($area == "广东") echo " selected"; ?>>广东</option>
			<option value='广西'<?php if ($area == "广西") echo " selected"; ?>>广西</option>
			<option value='贵州'<?php if ($area == "贵州") echo " selected"; ?>>贵州</option>
			<option value='海南'<?php if ($area == "海南") echo " selected"; ?>>海南</option>
			<option value='河北'<?php if ($area == "河北") echo " selected"; ?>>河北</option>
			<option value='黑龙江'<?php if ($area == "黑龙江") echo " selected"; ?>>黑龙江</option>
			<option value='河南'<?php if ($area == "河南") echo " selected"; ?>>河南</option>
			<option value='湖北'<?php if ($area == "湖北") echo " selected"; ?>>湖北</option>
			<option value='湖南'<?php if ($area == "湖南") echo " selected"; ?>>湖南</option>
			<option value='江苏'<?php if ($area == "江苏") echo " selected"; ?>>江苏</option>
			<option value='江西'<?php if ($area == "江西") echo " selected"; ?>>江西</option>
			<option value='吉林'<?php if ($area == "吉林") echo " selected"; ?>>吉林</option>
			<option value='辽宁'<?php if ($area == "辽宁") echo " selected"; ?>>辽宁</option>
			<option value='内蒙古'<?php if ($area == "内蒙古") echo " selected"; ?>>内蒙古</option>
			<option value='宁夏'<?php if ($area == "宁夏") echo " selected"; ?>>宁夏</option>
			<option value='青海'<?php if ($area == "青海") echo " selected"; ?>>青海</option>
			<option value='山东'<?php if ($area == "山东") echo " selected"; ?>>山东</option>
			<option value='山西'<?php if ($area == "山西") echo " selected"; ?>>山西</option>
			<option value='陕西'<?php if ($area == "陕西") echo " selected"; ?>>陕西</option>
			<option value='四川'<?php if ($area == "四川") echo " selected"; ?>>四川</option>
			<option value='新疆'<?php if ($area == "新疆") echo " selected"; ?>>新疆</option>
			<option value='西藏'<?php if ($area == "西藏") echo " selected"; ?>>西藏</option>
			<option value='云南'<?php if ($area == "云南") echo " selected"; ?>>云南</option>
			<option value='浙江'<?php if ($area == "浙江") echo " selected"; ?>>浙江</option>
			<option value='美国,英国,法国,瑞士,澳洲,新西兰,加拿大,奥地利,韩国,日本,德国,意大利,西班牙,俄罗斯,泰国,印度,荷兰,新加坡,其它国家'<?php if ($area == "美国,英国,法国,瑞士,澳洲,新西兰,加拿大,奥地利,韩国,日本,德国,意大利,西班牙,俄罗斯,泰国,印度,荷兰,新加坡,其它国家") echo " selected"; ?>>海外</option>
			<option value='other'<?php if ($area == "other") echo " selected"; ?>>其它</option>
				  </select></li><li style="width:0px; margin-top:0px; display:none"><input name="cpr" type="checkbox" value="1" <?php if($cpr=='1') echo 'checked';?> /> 
				  消保卖家</li><li style="width:85px; margin-top:0px;float:left;"><input name="type" type="checkbox" value="1" <?php if($type=='1') echo 'checked';?> /> 
				  商城卖家</li><li style="margin-top:2px;float:left;"><input type="submit" name="Submit" value="搜索宝贝" class="smtgray" /><input name="cid" type="hidden" value="<?=$cid?>" /></li>
				</ul>
			  </div>
			</form>
			</div>
		</div>
		<div class="search-slist-catalogs">
			<ul class="search-list-main clearfix">
			<?php $n=0;
			while ($row = mysql_fetch_array($rs)) {
					$shoppic="http://logo.taobaocdn.com/shop-logo".$row["pic_path"];
					$shoptype1=$row["type"];
					if($row["pic_path"]=="Array"&&$shoptype1=="B"){
						$shoppic="../images/tbsc.gif";
					}
					if($row["pic_path"]=="Array"&&$shoptype1=="C"){
						$shoppic="../images/tbdp.gif";
					}
					if(WEBTYPE=='0'){
						$gourl="index=".$n." class=\"checkLogin\" href=\"gotoshop.php?sid=".$row["sid"]."\"";
					}else{
						$gourl="href=\"shop".$url_head_nick.urlencode(trim($row["nick"])).$url_end."\" target=\"_blank\"";
					}
			?>
				<li class="clearfix">
						<div class="title"><span><A <?=$gourl?>><?php echo $row["title"] ?></a></span></div>
                        <div class="shop clearfix">
                        <span style="display: inline-block;width:0px">&#12288;</span><?php if($row["type"]=="B"){echo "<img src=\"template/".MOBAN."/images/shangcheng.png\" alt=\"商城卖家\"  align=\"middle\">"; }else {echo " <img src=\"images/level_".$row["level"].".gif\" align=\"absmiddle\" />";} ?></div>
                        <div class="save">
    					<span>平均返：<b><?=$row["fanxianlv"]?>%</b></span>
    				</div>
                    <div class="go-shopping">
    					<span class="btn">
            				<a <?=$gourl?> target="_blank" class="i" hidefocus="true">去购物，拿返现</a>
            			</span>
    				</div>
				</li>
			<?php $n++; }?>
			</ul>
		</div>
		<div class="clear"></div>
		<div class="megas512" style="text-align:left; margin:15px 0"><?php 
				pageft($total,$pagesize,1,0,0,10,$page_shoplist);
				echo $pagenav;?>
		</div>
	</div>
    <div id="right">	 
	</div>
    </div>
<div class="white_bottomm"><div class="white_bottom_left"></div><div class="white_bottom_middle"></div><div class="white_bottom_right"></div>
</div>
</div>
<?php include 'footer.tpl.php';?>
</body>
</html>