<%@ Control Language="c#" AutoEventWireup="false" Codebehind="TopSaleProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.TopSaleProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="top_frame">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm"><%=GetResourceString("TopLevelNav")%></div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
	    <div class="mm_mm">
		<%BindTopSaleProductList(4);%>
		<asp:DataList id="dlTopSaleProductts" CellPadding="2" CellSpacing="0" GridLines="None" RepeatColumns="1"
			RepeatDirection="Horizontal" RepeatLayout="Table" Width="100%" runat="server">
			<ItemStyle CssClass="alignCenterTop" />
			<ItemTemplate>
			    <div class="product_bg">
			        <div class="l"></div>
			        <div class="r"></div>
			        <div class="m">
			            <ul>
			                <li class="img">
			                    <A href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products/Product_<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%><%}%>' target=_blank>
						        <IMG width="71" height="107" src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%=config.Path%>upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>">
						        </A>
			                </li>
			                <li class="name">
			                    <div class="productname1"><a href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products/Product_<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%><%}%>' title='<%#DataBinder.Eval(Container.DataItem,"Name")%>' target=_blank><%#DataBinder.Eval(Container.DataItem,"Name")%></a></div>
			                    <div class="marketprice"><%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MarketPrice","{0:f}")%></div>
			                    <div class="memberprice"><% if(XpShop.WebUI.WebUtils.MemberShowPrice()) {%><%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%></div>
			                </li>
			            </ul>
			        </div>
			    </div>
			</ItemTemplate>
		</asp:DataList>
		</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>
<div style="clear:both;"></div>
