<%@ Page language="c#" Codebehind="StoreAsk.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Store.StoreAsk" %>
<%@ 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>
	<head>
		<!--#include file="../inc/encoding.inc"-->
		<title><%=config.SiteTitle%></title>
		<!--#include file="../inc/storehead.inc"-->
		<link rel="stylesheet" href="<%=webSite %>store/style/skin.css" type="text/css"/>
		<link rel="stylesheet" href="<%=webSite %>store/style/storeask.css" type="text/css"/>
	</head>
	<body>
		<uc1:Header id="Header1" runat="server"></uc1:Header>
	    <div class="xp-w clear">
	        <form id=form1 runat=server>
	        <%-- 店铺头部开始 --%>	
	        <div class="xp-store-nav" style="background:url(<%=webSite %>/upload/Supplier/<%=supplierDetail.Banner%>);">
	            <ul>
	                <li class="out">
	                    <div class="li-div-l"></div>
	                    <div class="li-div-m"><a href="<%=webSite %>store/default.aspx?sid=<%=supplierDetail.SupplierID %>">首页</a></div>
	                    <div class="li-div-r"></div>
	                </li>
	                <li class="out">
	                    <div class="li-div-l"></div>
	                    <div class="li-div-m"><a href="<%=webSite %>store/AboutStore.aspx?sid=<%=supplierDetail.SupplierID %>">商家简介</a></div>
	                    <div class="li-div-r"></div>
	                </li>
	                <li class="out">
	                    <div class="li-div-l"></div>
	                    <div class="li-div-m"><a href="<%=webSite %>store/ShopEval.aspx?sid=<%=supplierDetail.SupplierID %>">商家评价</a></div>
	                    <div class="li-div-r"></div>
	                </li>
	                <li class="out">
	                    <div class="li-div-l"></div>
	                    <div class="li-div-m"><a href="<%=webSite %>store/Contact.aspx?sid=<%=supplierDetail.SupplierID %>">联系方式</a></div>
	                    <div class="li-div-r"></div>
	                </li>
	                <li class="on">
	                    <div class="li-div-l"></div>
	                    <div class="li-div-m"><a href="<%=webSite %>store/StoreAsk.aspx?sid=<%=supplierDetail.SupplierID %>">最新问答</a></div>
	                    <div class="li-div-r"></div>
	                </li>
	                <li class="out">
	                    <div class="li-div-l"></div>
	                    <div class="li-div-m"><a href="<%=webSite %>store/Protect.aspx?sid=<%=supplierDetail.SupplierID %>">服务保障</a></div>
	                    <div class="li-div-r"></div>
	                </li>
	                <li class="out">
	                    <div class="li-div-l"></div>
	                    <div class="li-div-m"><a href="<%=webSite %>store/StoreActivity.aspx?sid=<%=supplierDetail.SupplierID %>">圣诞活动</a></div>
	                    <div class="li-div-r"></div>
	                </li>
	            </ul>
	        </div>
	        <%-- 店铺头部结束 --%>
	        <%--内容开始--%>
	        <div class="xp-store-ask-content">
	            <div class="xp-store-ask-title">最新问答</div>
	            <div class="xp-store-ask-info">
	            
	            
	            <asp:Repeater ID=rptNewPdtAsk runat=server>
	                <ItemTemplate>
        	        <%--商品信息开始--%>
	                <div class="xp-store-ask-pdt clear">
	                    <div class="xp-store-ask-pdt-img"><img width="144" src="<%=webSite %><%=config.Path%>upload/ProductImg/<%# PPFolder(DataBinder.Eval(Container.DataItem,"CategoryNo").ToString())%>/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>" alt='' /></div>
	                    <div class="xp-store-ask-pdt-info">
	                        <div class="ask-pdtname"><a href='show.aspx?pid=<%#DataBinder.Eval(Container.DataItem, "ProductID")%>'><%#DataBinder.Eval(Container.DataItem, "ProductName")%></a></div>
	                        <div class="ask-pdtprice">
	                            <span class="ask-marketprice"><%#DataBinder.Eval(Container.DataItem, "MarketPrice")%></span>
	                            <span class="ask-memberprice"><%#DataBinder.Eval(Container.DataItem, "MemberPrice")%></span>
	                            <span class="ask-price">折扣：<%#DataBinder.Eval(Container.DataItem, "Discount")%>折</span>
	                            <span class="ask-price">节省：<%#DataBinder.Eval(Container.DataItem, "Save")%></span>
	                        </div>
	                    </div>
	                </div>
	                <%--商品信息结束--%>
	                <%--咨询信息开始--%>
	                <div class="xp-store-ask-pdtask clear">
	                    <div class="pdtask-icon"></div>
	                    <div class="ask clear">
	                        <div class="askcontent"><span><%#DataBinder.Eval(Container.DataItem, "MemberName")%></span><%#DataBinder.Eval(Container.DataItem, "Body")%></div>
	                        <div class="asktime"><%#DataBinder.Eval(Container.DataItem, "AddTime")%></div>
	                    </div>
	                    <div class="reply clear">
	                        <div class="replycontent"><span>商家： </span><%#DataBinder.Eval(Container.DataItem, "Reply")%></div>
	                        <div class="replytime"><%#DataBinder.Eval(Container.DataItem, "ReplyTime")%></div>
	                    </div>
	                </div>
	                <%--咨询信息结束--%>
	                <div class="viewask"><a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem, "ProductID")%>.<%=config.html %>'>查看所有<%#DataBinder.Eval(Container.DataItem, "AskCount")%>条问题</a></div>
	                </ItemTemplate>
	            </asp:Repeater>	
	            </div>
	        </div>
	        <%--内容结束--%>
		    </form>
		</div>	
	    <uc1:Helper id="Helper1" runat="server"></uc1:Helper>
	    <uc1:Footer id="Footer1" runat="server"></uc1:Footer>
	</body>
</html>