<%@ Control Language="c#" AutoEventWireup="true" Codebehind="VideoCat.ascx.cs" Inherits="XpShop.WebUI.Modules.VideoCat" %>
<%BindTopCategories();%>
<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
	    视频分类
	</div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<ul id="cat_menu">
		<asp:Repeater Runat="server" ID="rptTopList">
			<ItemTemplate>
				<li>
					<div class="topCat">
					    <div class="topCat_l"></div>
					    <div class="topCat_r hand"></div>
					    <div class="topCat_m">
					        &nbsp;<a href='<%=webSite %>VideoList-<%# DataBinder.Eval(Container.DataItem,"VideoCatID")%>.<%=config.html%>'><%# DataBinder.Eval(Container.DataItem,"Name")%></a>
					    </div>
					</div>					
				    <ul>
					    <asp:Repeater Runat="server" ID="rptSubCategory" DataSource='<%# GetSubCategory((int)DataBinder.Eval(Container.DataItem,"VideoCatID"),true)%>'>
						    <ItemTemplate>
							    <li>&nbsp;&nbsp;
								    <a href='<%=webSite %>VideoList-<%# DataBinder.Eval(Container.DataItem,"VideoCatID")%>.<%=config.html%>'><%# DataBinder.Eval(Container.DataItem,"Name")%></a>
							    </li>
						    </ItemTemplate>
						    <SeparatorTemplate><li>|</li></SeparatorTemplate>
					    </asp:Repeater>
				    </ul>
					<div style="clear:both;"></div>
				</li>
			</ItemTemplate>
		</asp:Repeater>
		</ul>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>