<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CatNav.ascx.cs" Inherits="XpShop.WebUI.Modules.CatNav" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm"><%=GetResourceString("LeftNavigation")%></div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div 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='<%if(config.html==""){%>List.aspx?CatID=<%#DataBinder.Eval(Container.DataItem,"CategoryID")%><%}else{%>categorys-<%#DataBinder.Eval(Container.DataItem,"CategoryID")%>.<%=config.html%><%}%>'>
						<%#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='<%if(config.html==""){%>List.aspx?CatID=<%#DataBinder.Eval(Container.DataItem,"CategoryID")%><%}else{%>categorys-<%#DataBinder.Eval(Container.DataItem,"CategoryID")%>.<%=config.html%><%}%>'>
						
							<%#DataBinder.Eval(Container.DataItem,"Name")%>
						</a>
					</ItemTemplate>
				</asp:DataList>
			</ItemTemplate>
		</asp:DataList>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>
<div style="clear:both;"></div>

