<%@ Page language="c#" Codebehind="Activity.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.Activity"  validateRequest="false" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Modules/Footer.ascx" %>
<!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>
		<title><%=dtDetail.Rows[0]["title"] %></title>
		<link href="<%=webSite %>Template/<%=config.TemplateFolder%>/style/skin_990s.css" rel="stylesheet" type="text/css"/>
		<link type="text/css" rel="stylesheet" href='<%=webSite %>upload/activity/<%=dtDetail.Rows[0]["ActivityID"] %>/style.css' />
		<script src="<%=webSite %>inc/jquery-1.2.6.min.js" type="text/javascript"></script>
	</head>
	<body>
	    <uc1:Header id="Header1" runat="server"></uc1:Header> 		    
	    <div class="all xp-w clear">
		    <div><%=dtDetail.Rows[0]["description"] %></div>
		    <div class="div_top"><%=dtDetail.Rows[0]["ad"] %></div>
		    <%for(int i=0;i<dtCat.Rows.Count;i++) {%>
			<div class="div_sort<%=i+1 %>"></div>
			<div class="ware_list">
			    <ul class="clear">
			        <%for(int j=0;j<dtPdt.Rows.Count;j++) {%>
	                <li>
	                    <div class="ware">
	                        <div class="ware_img"><A target="_blank" href="<%=webSite %>products/product-<%=dtPdt.Rows[j]["ProductID"]%>.<%=config.html%>"><img src="<%=webSite %>upload/ProductImg/<%=dtPdt.Rows[j]["ImgFolder"]%><%=dtPdt.Rows[j]["ThumbnailImg"]%>" alt="<%=dtPdt.Rows[j]["ProductName"]%>" border="0"></A></div>
                            <div class="t_h1">
                                <div class="pdtname"> <A target="_blank" title="<%=dtPdt.Rows[j]["ProductName"]%>" href="<%=webSite %>products/product-<%=dtPdt.Rows[j]["ProductID"]%>.<%=config.html%>"><%=dtPdt.Rows[j]["ProductName"]%></a></div>
                                <div class="qg-shortdesc" style="display:none;"><%=dtPdt.Rows[j]["ShortDesc"]%></div>
                            </div>
                            <div class="price">
                               <p class="maprice">会员价：￥<%=string.Format("{0:f2}", dtPdt.Rows[j]["MemberPrice"])%></p>    
                               <p style="color:#f30100">促销价：<span>￥<%=string.Format("{0:f2}", dtPdt.Rows[j]["PmtPrice"])%></span></p>                           
                                
                               <p><A target="_blank" href="<%=webSite %>products/product-<%=dtPdt.Rows[j]["ProductID"]%>.<%=config.html%>"><img src="<%=webSite %>Template/<%=config.TemplateFolder%>/Images/act_buy.jpg" border="0"></a></p>
                             </div>
	                    </div>
	                </li>
			        <%} %>
			    </ul>
			</div>
			<%} %>
		</div>
		<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
		<uc1:Footer id="Footer1" runat="server"></uc1:Footer>		
	</body>
</html>
