<%@ Page language="c#" Codebehind="Brands.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.Brands" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LeftNavTop2Level" Src="Modules/LeftNavTop2Level.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/head.inc"-->
		    <link href="<%=webSite %>Template/<%=config.TemplateFolder%>/style/brand_sale.css" rel="stylesheet" />
	</HEAD>
	<body>
		<uc1:Header id="Header1" runat="server"></uc1:Header>		
		<div class="xp-w clear">
		    <div class="Sort_Link">
			    <span class="Sort_Link_bgL"></span><span class="Sort_Link_bgR"></span><a href="<%=webSite %>Category.<%=config.html %>">全部分类</a>
			    <a href="<%=webSite %>brands.<%=config.html %>">全部品牌</a>  <a href="<%=webSite %>">全部商品</a>
		    </div>
		    <!--Sort_Link end -->
		    <div style="clear: both;">
		    </div>
		    <div style="margin-bottom:12px;"><%=GetAD(98)%></div>
		    <div>
		        <%for (int i = 0; i < dtCat.Rows.Count; i++){%>
                    <div class="Sort_List brandtab">
	                    <div class="title"><div class="words"><%=dtCat.Rows[i]["Name"]%></div></div>
	                    <ul class="brand_all_list clear">
	                        <%System.Data.DataRow[] drBrand = dtBrand.Select("cno=" + dtCat.Rows[i]["CategoryNo"]); %>
                            <%for (int j = 0; j < drBrand.Length; j++){ %>
                                <li>
                                    <div class="brand_all_list_a">
                                        <a href='<%= drBrand[j]["ActID"].ToString() != "0" && drBrand[j]["ActID"] != null ? webSite + "ZhuanMai/ZhuanMai-" + drBrand[j]["ActID"] + "." + config.html : webSite + "blist-0-" + drBrand[j]["BrandID"] + "-1-2-1-0-." + config.html %>'><img src="<%=webSite %>upload/BrandLogo/<%=drBrand[j]["Logo"]%>" alt='<%=drBrand[j]["BrandName"]%>'/></a>
                                        
                                    </div>
                                    <div class="brandname"><a href='<%= drBrand[j]["ActID"].ToString() != "0" && drBrand[j]["ActID"] != null ? webSite + "ZhuanMai/ZhuanMai-" + drBrand[j]["ActID"] + "." + config.html : webSite + "blist-0-" + drBrand[j]["BrandID"] + "-1-2-1-0-." + config.html %>'><%=drBrand[j]["BrandName"]%></a></div>
                                </li>
                            <%} %>
	                    </ul>
	                </div>
	            <%} %>
		        
	        </div>
		</div>
	    <uc1:Helper id="Helper1" runat="server"></uc1:Helper>
	    <uc1:Footer id="Footer1" runat="server"></uc1:Footer>
	</body>
</HTML>
