<!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/malllist.css">
<LINK rel=stylesheet type=text/css href="/template/<?=MOBAN?>/css/common.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>
</head>
<body>
<?php
include("header.tpl.php");
?>
<?php
include("nav.tpl.php");
?>
<div id="weizhi">当前位置：<a href="index<?=$end?>">首页</a> > <a href="malllist<?=$end?>">商城返现</a> > <a href="malllist<?=$url_head_catid?><?=$catid?><?=$malllist_url_end?>"><?=$thiscatname?></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="m_search">
		<div class="m_s_box">
			<form action="malllist.php" method="get" >
			快速查找商城：<input type="text" autocomplete="off" value="输入商城名 快速查找  例如:凡客" onfocus="if(this.value=='输入商城名 快速查找  例如:凡客'){this.value='';}" onblur="if(this.value == '') {this.value = '输入商城名 快速查找  例如:凡客';}" id="n" name="mall">
			<input type="image" src="template/<?=MOBAN?>/images/search_btn.png" name="dosearch">
			<div id="k_tips">
				<div class="clear"></div>
			</div>
			</form>
		</div>
		<div class="m_s_key">
			<span class="key_t">热门商城：</span>
			<a target="_blank" href="/mall.php?id=2">当当网</a>
			<a target="_blank" href="/mall.php?id=21">卓越网</a>
			<a target="_blank" href="/mall.php?id=1">京东商城</a>
			<a target="_blank" href="/mall.php?id=6">一号店</a>
			<a target="_blank" href="/mall.php?id=14">聚美优品</a>
			<a target="_blank" href="/mall.php?id=14">乐蜂网</a>
		</div>
	</div>
	<div id="left_sb">  
        <div class="mallcat">
          <div class="malldown">
            <div class="mallleft"><span class="gif">分类</span></div>
            <div class="mallright">
              <ul>
                <li> <a href="malllist<?=$end?>" <?php if($catid=='%'){ echo 'class="catcur"';}?>>全部商家</a></li>
				<?php foreach ($rsmalltype as $row){?>
                	<li><a href="malllist<?=$url_head_catid?><?=$row['typecode']?><?=$malllist_url_end?>" class="<?php if($catid==$row['typecode']){echo "catcur";}?>"><?=$row['typename']?></a></li>
				<?php }?>
            </ul>
            </div>
            <div style="clear:both"></div>
          </div>
        </div>
		<div class="malllist">
		<ul>
		<?php while ($row = mysql_fetch_array($rs)) {?>
			<li>
				<div class="malllogo"><a href="mall<?=$url_head_id?><?=$row['id']?><?=$url_end?>"><img src="<?=$row['logo']?>" width="100" height="45" /></a></div>
				<div class="mallname"><?=$row['name']?> | 最高返<font style="color:#FF3300"><?=$row['fan']?></font></div>
			</li>
		<?php }?>
		</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_mall_list);
				echo $pagenav;?>
		</div>
	</div>
    <div id="right_mall">
        <div class="m_r_step">
			<div class="m_r_step_title">
				&nbsp;
			</div>
			<ul>
				<li class="step1">
					<b>第一步</b><br>
					登录<?php echo WEBNICK?>网站
				</li>
				<li class="step2">
					<b>第二步</b><br>
					通过<?php echo WEBNICK?>去商城购物
				</li>
				<li class="step3">
					<b>第三步</b><br>
					购物完成后回<?php echo WEBNICK?>网拿返利
				</li>
			</ul>
		</div><!--三步结束-->
       <div class="r_box">
			<div class="title"><span>热门优惠券</span></div>
			<div class="hc">
				<ul></ul>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
    	<!--<div id="ad3"><?AD(3)?></div>-->
    </div>
	<div class="clear"></div>
</div>
<div class="white_bottom"><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>