⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leftnavtop2level.ascx

📁 网站asp 有代码 有全站代码
💻 ASCX
字号:
<%@ Import Namespace="System.Data" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="LeftNavTop2Level.ascx.cs" Inherits="wqshop.Modules.LeftNavTop2Level" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="poll" style="margin-top:18px;">
						<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td class="tl"><img src="Template/freemodelv16/Images/leftnav_t_l.gif" /></td>
								<td class="tm"><div style=" margin-top:5px"><span class="tt"><%=GetResourceString("LeftNavigation")%></span></div></td>
								<td class="tr"></td>
							</tr>
						</table>
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="ml"></td>
			<td class="mm">
				<table width="100%" >
					<asp:Repeater Runat="server" ID="rptTopCategory">
						<ItemTemplate>
							<tr style="display:none">
								<td align="center" ><span class="tt2">- - -<b><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></b>- - -</span></td>
							</tr>
							<tr>
								<td align="left">
									<asp:DataList ID="dlSubCategory" Runat="server" RepeatColumns="2" HorizontalAlign="Left" RepeatDirection="Horizontal" Width="100%" ItemStyle-Width="50%" DataSource='<%# GetSubCategory(DataBinder.Eval(Container.DataItem,"CategoryID").ToString())%>'>
										<ItemStyle CssClass="bg" HorizontalAlign="Left" Width="40%"></ItemStyle>
										<AlternatingItemStyle CssClass="bg" HorizontalAlign="Left" Width="50%" Height="20"></AlternatingItemStyle>
										<ItemTemplate>
											<img src="images/bullet1.gif" align="absmiddle">&nbsp;&nbsp;<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>&nbsp;<font color="#FFFFFF">/</font>
										</ItemTemplate>
										<AlternatingItemTemplate>
											&nbsp;<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>
										</AlternatingItemTemplate>
									</asp:DataList>
								</td>
							</tr>
						</ItemTemplate>
					</asp:Repeater>
				</table>
			 </td>
			<td class="mr"></td>
		</TR>
	</table>
	<table width="100%" cellspacing="0" cellpadding="0" >
		<tr>
			<td class="bl"></td>
			<td class="bm"><img src="Template/freemodelv16/Images/1x1.gif" /></td>
			<td class="br"></td>
		</tr>
	</table>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -