<%@ Control Language="c#" AutoEventWireup="true" Codebehind="TopSaleProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.TopSaleProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>

<%--一级类别页面的销售排行榜--%>
<%BindTopSaleProductList(2, Request.QueryString["CatID"] == "1" ? 11 : (Request.QueryString["CatID"] == "2" ? 57 : (Request.QueryString["CatID"] == "3" ? 80 : (Request.QueryString["CatID"] == "4" ? 85 : (Request.QueryString["CatID"] == "5" ? 94 : (Request.QueryString["CatID"] == "6" ? 44 : 54))))), "rptTopSale");%>
<div class="frame9">
    <div class="tl"></div>
    <div class="tr"></div>
    <div class="tm">
        <div class="title"><%=GetCategoryName(Request.QueryString["CatID"] == "1" ? 11 : (Request.QueryString["CatID"] == "2" ? 57 : (Request.QueryString["CatID"] == "3" ? 80 : (Request.QueryString["CatID"] == "4" ? 85 : (Request.QueryString["CatID"] == "5" ? 94 : (Request.QueryString["CatID"] == "6" ? 44 : 54))))))%>销售排行榜</div>
    </div>
    <div class="ml"></div>
    <div class="mr"></div>
    <div class="mm">
        <ul class="ul_content">
            <asp:Repeater ID="rptTopSale" runat="server">
                <ItemTemplate>
                	<li>
                        <table cellpadding="0" cellspacing="0" border="0" style="width:100%; text-align:center;">
                            <tr>
                                <td>
                                    <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><img width="100" height="100" src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"Img5")%>" alt='' /></a>
                                </td>
                            </tr>
                            <tr>
                                <td><span class="RedWeight">￥<%#DataBinder.Eval(Container.DataItem,"MemberPrice")%></span></td>
                            </tr>
                            <tr>
                                <td><a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a></td>
                            </tr>
                        </table>
                    </li>
                </ItemTemplate>
                <SeparatorTemplate>
                    <li class="space"></li>
                </SeparatorTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <div class="bl"></div>
    <div class="br"></div>
    <div class="bm"></div>
</div>
<div style="clear:both;"></div>