<!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/common.css">
<LINK rel=stylesheet type=text/css href="/template/<?=MOBAN?>/css/duihuan.css">
<LINK rel=stylesheet type=text/css href="/template/<?=MOBAN?>/css/exchange.css">
<script type="text/javascript" src="/template/<?=MOBAN?>/js/jquery-1.3.2.min.js"></script>
<SCRIPT type="text/javascript" src="/template/<?=MOBAN?>/js/function.js"></SCRIPT>
</head><body>
<?php include("header.tpl.php");?>
<?php include("nav.tpl.php");?>
<div id="weizhi">当前位置：<a href="index.php">首页</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 style="WIDTH: 655px; FLOAT: left" class=fl>
<H3 class="f14 mt20"><SPAN class=red>精品推荐</SPAN></H3>
<?php while ($row = mysql_fetch_array($rs)){$n++;?>
<DIV class=mTuan>
<DIV class=pic><A><IMG style="WIDTH: 315px" alt="<?php echo $row["name"];?>"
src="<?php echo $row["pic"];?>"></A> </DIV>
<H3 class=mt10><?php echo $row["name"];?></H3>
<DL class=mt10><?php if($row["num"]<1){$fs="<div id=swts>&nbsp;</div>";}else if($row["num"]>0){$fs="<div id=syts></div>";}echo $fs;?><A class=exchangeBtn href="" goodsid="1" goodstype="1"><!--huangou<?=$url_head_id?><?php echo $row["id"];?><?=$url_end?>-->
  <DT 
  style="BACKGROUND: url(template/<?=MOBAN?>/images/tuan_ico.png) no-repeat 0px 0px">
  <P><SPAN>3000分</SPAN></P></DT></A>
  <DD>
  <P>库存剩余<B></B></P>
  <P>所需现金<B></B></P>
  <P>每人限兑<B>1</B></P></DD></DL></DIV>
<?php }$n=0;?>
</div>
<DIV class=exchange_right >
<DL>
  <DD class=content>
  <DIV class=er_link style="height:100px;"><?php if($_SESSION['duoduouser']!=NULL){?>点击 <a href="user/huan.php" style="font-size:16px;">用户中心</a> 查看详细。<br /><br /><span style="float:left;">您好：</span><span style="color:#B1319E; width:80px; overflow:hidden; display:block; float:left"><?=$_SESSION['duoduouser']?></span><br /><br />
<span style="float:left;">你有积分：<font color="#B1319E" size="3"><?=$jifen?></font>&nbsp;点</span><br /><br />
<span style="float:left;">你有余额：<font color="#B1319E" size="3"><?=$money?></font>&nbsp;元</span><?php }else{?><a href="user/login.php" rel="facebox"><IMG src="/template/<?=MOBAN?>/images/login.jpg"></a><?php }?></DIV>
  <DIV class=er_rule></DIV></DD></DL>
<DIV class=blank12></DIV>
<DL>
  <DT><STRONG>积分TOP10</STRONG> </DT>
  <DD class=top>
  <UL>
    <LI><SPAN class="i t">01</SPAN><SPAN class=u></SPAN><SPAN class=j></SPAN> </LI>
    </UL></DD></DL>
<DIV class=blank12></DIV></DIV>
<DIV class=clear></DIV>
<div class="megas512" style="clear:both;"><?php pageft($total,$pagesize,1,1,0,10,$page_huan_list);echo $pagenav;?></div>
<DIV class=clear></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");?></div>

</body></html>