<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="odate.aspx.cs" Inherits="web.tuan.odate" %>

<!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" />
<title>往期热卖 － <%=config.SiteTitle %></title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

<meta name="description" content="<%=cont %>"/> 
<meta name="keywords" content="<%=keyw %>"/>

<link type="text/css" rel="stylesheet" href="image/cd.css" />

<script type="text/javascript" language="javascript"> var b=null;</script>
<script src="image/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="image/jd.js"></script>
<script src="image/DD_belatedPNG.js" mce_src="image/DD_belatedPNG.js"></script>
<script type="text/javascript"> 
if(window.XMLHttpRequest){ //Mozilla, Safari, IE7 
    if(!window.ActiveXObject){ // Mozilla, Safari, 
        //alert('Mozilla, Safari'); 
    }else{ 
       // alert('IE7'); 
    } 
}else { 
    //alert('IE6'); 
      DD_belatedPNG.fix('img,.logo,.thiscity,.dealPrice,.dealPrice-min,.over,.isopen,.none,.share'); 
}


</script> 
</head>
<body>
<form id="Form1" method="post" name="form" runat="server">
<div class="header clearfix">
	<h1 class="lf"><a href="../default.html" target="_blank"><%=config.SiteLogo %></a></h1>
	<h2 id="desc"></h2>
	
	<div class="rss rf clearfix">
		<p>输入邮箱地址，订阅每日精品团购!</p>
		
			<div class="lf">
				<input type="text" id="email" datatype="email" require="true" value="" class="txt lf" name="email" />
		    	<asp:Button ID="Bem" runat="server" class="but lf" OnClick="Bem_Click" />
				</div>
				<span class="lf"></span>
		

	</div>
</div>
	<div class="navWrap">
		<div class="wrap clearfix">
		<ul class="nav lf">
							<li class="on"><a href="index.aspx">首页</a></li>
					<li class="on"><a href="index.aspx?type=2">团购</a></li>
					<li class="on"><a href="index.aspx?type=4">限时抢购</a></li>
				
					<li class="on"><a href="odate.aspx">往期热卖</a></li>
					<li class="on"><a href="book.aspx">问题答疑</a></li>
					<li class="on"><a href="../HelpListInfo_1.html" target="_blank">帮助中心</a></li>
				</ul>
		<div class="member rf">
			  <%if (user.MemberID>0){%>
		 
			<span class="username lf">欢迎你,<%=user.Name%>&nbsp;&nbsp;|</span>
<div id="menulist">
	<a class="top" href="../MemberCenter.aspx" target="_blank">我的会员中心</a>
	<div class="ml-bottom">
	<div class="menu-t"></div>
	<div class="menu-c">
	<a href="../MytgOrders.aspx" target="_blank">我的团购订单</a>
<a href="../Mydjqrec.aspx" target="_blank">我的返利</a>
	<a href="../Mymemb.aspx" target="_blank"> 我推荐的会员</a>
	<a href="../MymembPay.aspx" target="_blank"> 我的提成</a>
	<a href="../Myget.aspx" target="_blank"> 账户余额</a>
	<a href="../IndividualInformation.aspx" target="_blank">账户设置</a>
	
	<a href="../Logout.aspx" target="_blank">退出</a>
	</div>
	<div class="menu-b"></div>
	</div>
</div>
<%}else{ %>
	<a href="login.aspx">登录</a> | <a href="reg.aspx">注册</a>
<%} %>
		</div>
		</div>
	</div>
	<div class="boxWrap m10 clearfix">
<div class="mainWrap lf">
<div class="goodsList bor">

<ul class="deals-list clearfix">


	  <%BindProductList();%>
	  <asp:DataList id="dlProducts" CellPadding="5" CellSpacing="0" GridLines="None" RepeatColumns="1"
													RepeatDirection="Horizontal" RepeatLayout="Table" Visible="true" Width="100%" runat="server">
													<ItemStyle CssClass="alignCenterTop" />
													<ItemTemplate>


<li class="clearfix">
<a href="showProduct.aspx?ProductID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>"  class="thumb lf"><img id="myimg"src='../upload/<%# getzstp(DataBinder.Eval(Container.DataItem,"ProductID").ToString())%>' border="0" width="220" height="139" style="border:1px #DDD solid;"></a>
<div class="info rf">
<p class="time">开始时间：<strong><%#DataBinder.Eval(Container.DataItem,"AddTime")%></strong></p>
<p><a href="showProduct.aspx?ProductID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>"><%#DataBinder.Eval(Container.DataItem,"Name")%></a></p>
<p class="total"><strong class="c1"><%# getsl(DataBinder.Eval(Container.DataItem,"ProductID").ToString())%></strong> 人购买</p>
<p class="price"><span>原价：<strong class="t1"><%#DataBinder.Eval(Container.DataItem,"MarketPrice","{0:f}")%></strong></span><span>现价：<strong><%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%></strong></span><span>折扣：<strong><%# getzk(DataBinder.Eval(Container.DataItem, "MemberPrice").ToString(), DataBinder.Eval(Container.DataItem, "MarketPrice").ToString())%>折</strong></span><span><strong></strong></span></p>

</div>
<div class="over"></div>
</li>
	</ItemTemplate>
                                                  <SeparatorStyle BorderColor="Red" BorderStyle="Solid" BorderWidth="1px" />
											  </asp:DataList>
					
 
</ul>

 <div class="pagebar">
   <div align="right"> <asp:label id="lblPagerInfo" runat="server"></asp:label>														  
   <asp:HyperLink ID="hplPrev" runat="server"><%=GetResourceString("PreviousPage")%></asp:HyperLink>
[&nbsp;
<asp:Label ID="lbPage" runat="server"></asp:Label>
&nbsp;]
<asp:HyperLink ID="hplNext" runat="server"><%=GetResourceString("NextPage")%></asp:HyperLink>
                              &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                              </div>
                              
                                </div>

</div>
</div>
<div class="toolWrap rf">

<div class="askTool mb10 bor">
<div class="t"><h3>销售答疑：</h3></div>
<ul>
<%=ly %>
</ul>
<p class="link"><a href="book.aspx" class="c1">查看全部</a> | <a href="book.aspx#ask" class="c1">我要提问</a></p>
</div>

<div class="phone400 mb10 bor"><img src="image/tool-hotPhone.gif" alt="" /></div><div class="mb10"><img src="image/tui.gif" alt="放心退" /></div>
<div class="mb10 bor"><img src="image/pf.jpg" alt="先行赔付" /></div>

<img src="image/fanli.gif" alt="邀请返利" />
<div class="sidemain mb10 bor">
<p>每邀请一位好友首次购买，您将获 <strong class="c1">¥<%=config.Fl.ToString("0.00") %></strong> 元返利<br /><a href="link.aspx">» 点击获取您的专用邀请链接</a></p>
</div>
</div>
</div>

<div class="footer">
<div class="wrap clearfix">Copyright © 2011 - 2112 <%=config.SiteUrl %> All Rights Reserved
<%=config.SiteName%> 版权所有</div>

</div>

</form>
</body>
</html>

