<!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">
<html>
<head>
<?php if(BANSPIDEROPEN==1){?>
<META NAME="<?=SPIDER?>" CONTENT="NOINDEX,NOFOLLOW" />
<?php }?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?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/header.css" />
<link rel="stylesheet" type="text/css" href="template/<?=MOBAN?>/css/ju-v3.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">var tim=1330666913; var gmt_end_time = new Array();var gmt_text = new Array();</script>
</head>
<body>
<?php
$tag='discount';
include("header.tpl.php");
include("nav.tpl.php");
?>
<!--正文开始-->
<div id="content">
<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="flwindex_buzhou" id="flwindex_buzhou"><img width="950" border="0" usemap="#Map2" src="template/<?=MOBAN?>/images/sbnfh.gif">
<map id="Map2" name="Map2"><area onclick="Ftrack('/virtual/www/home','regbanner');" target="_blank" href="/user/register.php" coords="4,4,902,76" shape="rect"><area onclick="javascript:{$('.flwindex_buzhou').hide()}" href="javascript:void(0)" coords="905,-1,930,20" shape="rect"></map></div>
	<div class="ju-more">	
<div class="cand-cat"> 
<ul>  
<li  class="on"><a href="discount.php">全部</a></li>
<li ><a href="?frontCatId=1000">女装</a></li>
<li ><a href="?frontCatId=2000">男装</a></li>
<li ><a href="?frontCatId=3000">美妆</a></li>
<li ><a href="?frontCatId=4000">鞋子</a></li>
<li ><a href="?frontCatId=5000">包包</a></li>
<li ><a href="?frontCatId=6000">数码</a></li>
<li ><a href="?frontCatId=7000">美食</a></li>
<li ><a href="?frontCatId=8000">母婴</a></li>
<li ><a href="?frontCatId=9000">居家</a></li>
 </ul>
</div><!--导航结束-->
<div class="cand-list">
<ul class="clearfix">
<!--循环开始-->
<?php foreach($goods as $k=>$v){?>
<?php $n=0;$i=0;?>
      <?php foreach($v as $row){$n++;?>
<li>
<div class="inner-box">
<div class="pic">
<a href="tgview<?=$url_head_id?><?=$row['id']?><?=$url_end?>" target="_blank"><img src="<?=$row['image']?>" onerror="this.onerror=function(){this.src='template/<?=MOBAN?>/images/default.jpg';}" width="280px" height="280px" alt="<?=$row['title']?>" /></a>
<script type="text/javascript">
gmt_end_time[n] = 1330998237;//gmt_end_time[0] 变量；1330998237变量；gmt_text[0]变量
gmt_text[n] = 1;
</script>
</p><span class="mask6 img-title-mask"></span>
</div>
<div class="buy-state clearfix">
<h3><?=$row['htitle']?></h3>
<span class="price">原价: &yen;<strong style="text-decoration:line-through"><?=$row['value']?></strong></span>
<span class="price"><em><?=$row['rebate']?></em>折</span>
<span class="vote-num J_VoteCount" data-CandidateId="0001"><strong><?=$row['bought']?></strong>人已购买</span>
<div class="rebate"><s class="l"></s>返利<em><?=$row['fan']?></em></div>
</div>
<div class="buy-action clearfix">
<a class="btn-middle middle-red J_CandidateAction" href="tgview<?=$url_head_id?><?=$row['id']?><?=$url_end?>" target="_blank"><span class="price"><em>￥<?=subnum($row['price'])?></em></span></a>
</div>
</div>
</li>
 <?php }};?>
<!--循环结束-->
</ul>
</div>
<div class="ju-pagination">
<div class="page-bottom bt">
<!--分页开始-->
<div style="height:10px">&nbsp;</div>               
      <div class="megas512" style="text-align:center; margin:5px"><?php 
				pageft($total,$pagesize,1,0,0,10,$page_coupons);
				echo $pagenav;?>
		</div>
<!--分页结束-->
</div>
</div>
</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>