<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CatNav.ascx.cs" Inherits="XpShop.WebUI.Modules.CatNav" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ OutputCache Duration="60" VaryByParam="*" %>
<div class='mframe'>
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="tl"></td>
			<td class="tm">
				<span class=tt>商品分类导航</span>
			</td>
			<td class="tr"></td>
		</tr>
	</table>
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="ml"></td>
			<td class="mm">
				<%BindNavList();%>
				<asp:DataList id="dlNavList" Border="0" CellSpacing="0" CellPadding="0" Width="100%" RepeatLayout="Table"
					RepeatDirection="Horizontal" RepeatColumns="1" DataKeyField="CategoryID" runat="server">
					<ItemStyle CssClass="tdbg-dark" Height="25" />
					<ItemTemplate>
						&nbsp;<img src="images/bullet1.gif" align="absmiddle" alt="" /> <strong><a href='List.aspx?CatID=<%#DataBinder.Eval(Container.DataItem,"CategoryID")%>'>
								<%#DataBinder.Eval(Container.DataItem,"Name")%>
							</a></strong>
						<asp:DataList id="dlChild" CellPadding="3" CellSpacing="0" RepeatLayout="Table" RepeatDirection="Horizontal"
							RepeatColumns="5" CssClass="tdbg" Style="margin-left:30px;" runat="server">
							<ItemStyle Width="100px" />
							<ItemTemplate>
								<a href='List.aspx?CatID=<%#DataBinder.Eval(Container.DataItem,"CategoryID")%>'>
									<%#DataBinder.Eval(Container.DataItem,"Name")%>
								</a>
							</ItemTemplate>
						</asp:DataList>
					</ItemTemplate>
				</asp:DataList>
			</td>
			<td class="mr"></td>
		</tr>
	</table>
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="bl"></td>
			<td class="bm">&nbsp;</td>
			<td class="br"></td>
		</tr>
	</table>
</div>
