<%@ Control Language="c#" AutoEventWireup="true" Codebehind="BrandTopSale.ascx.cs" Inherits="XpShop.WebUI.Modules.BrandTopSale" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%if(this.Request.QueryString["BrandID"] != null && this.Request.QueryString["BrandID"] != ""){ %>
<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">当前品牌销售排行</div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<ul class="cat_menu">
		    <%BindBrandTopSale(10); %>  <%--参数为显示数量--%>
			<asp:Repeater Runat="server" ID="rptBrandTopSale">
				<ItemTemplate>
					<li style="text-align:left;">
					    <img src='<%=webSite %>emplate/XpShopFreeDemo_1_1/Images/<%#Container.ItemIndex+1%>.jpg' alt=''/>
						<a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' title='<%#DataBinder.Eval(Container.DataItem,"ProductName") %>' target="_blank">
							<font style="font-size:12px; font-weight:normal;"><%# CutString(DataBinder.Eval(Container.DataItem,"ProductName").ToString(),15)%></font>
						</a>
						<hr size="1" noshade="noshade" style="border:1px #cccccc dotted" />
					</li>
				</ItemTemplate>
			</asp:Repeater>
		</ul>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>
<%} %>
