<%@ Control Language="c#" AutoEventWireup="false" 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="lframe1">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">当前品牌销售排行</div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
	    <%BindBrandTopSale(10); %>  <%--参数为显示数量--%>
	    <table cellpadding="0" cellspacing="0" border="0">
			<asp:Repeater Runat="server" ID="rptBrandTopSale">
				<ItemTemplate>
					<tr style="height:20px;">
					    <td>
					        <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") %>'>
							    <span class="tnum"><%#Container.ItemIndex+1%></span><font style="font-size:12px; font-weight:normal;"><%# CutString(DataBinder.Eval(Container.DataItem,"Name").ToString(),12)%></font>
						    </a>
					    </td>
					</tr>
				</ItemTemplate>
			</asp:Repeater>
		</table>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>
<%} %>
