?? leftnavtop2level.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"> <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> <font color="#FFFFFF">/</font>
</ItemTemplate>
<AlternatingItemTemplate>
<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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -