日期:2014-05-18 浏览次数:20399 次
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="category.ascx.cs" Inherits="category" %> <style type="text/css"> .style3 { width: 100%; } </style> <div class="sn_Menu_content indexMenu" id="SideNav"> <div class="sn_Menu_content indexMenu" id="Div1"> <table border="1" class="style3" style="border-color: #FF0000"> <tr> <td class="style4" style="border-width: thin; border-style: solid; border-color: #FF0000;"> <asp:Repeater ID="rFatherCategory" runat="server" onitemdatabound="rFatherCategory_ItemDataBound"> <ItemTemplate> <dl> <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#Eval("Id") %>' /> <br /> <a href='p_list.aspx?categoryId=<%#Eval("Id") %>' target="_blank" style="color: #FF0000; font-size: 19px; font-family: 黑体;"><%#Eval("CategoryName")%></a> <asp:DataList ID="DataList1" runat="server" CellPadding="2" RepeatColumns="1" Font-Size="11" Width="200px"> <%-- <FooterStyle BackColor="White" ForeColor="#333333" />--%> <%-- <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />--%> <%-- <ItemStyle HorizontalAlign="Left" ForeColor="#333333" BackColor="White"></ItemStyle>--%> <ItemTemplate> <table border="0"> <tr> <td style="width: 50px"> </td> <td style="text-align: left"> <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl='<%#Eval("Id","~/advanced_Query.aspx?Id={0}") %>' ><%# Eval("CategoryName")%></asp:LinkButton></td> <td style="width: 30px"> </td> </tr> </table> </ItemTemplate> <HeaderTemplate> <br /> </HeaderTemplate> <%-- <SelectedItemStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />--%> </asp:DataList> <div class="sidenavlink01 sidenavchild"> <ul class="sideleft"> <h3> <a href='p_list.aspx?categoryId=<%#Eval("Id") %>' target="_blank"><%#Eval("CategoryName") %></a></h3> <asp:Repeater ID="rSonCategory" runat="server" onitemdatabound="rSonCategory_ItemDataBound"> <ItemTemplate> <%if (i == 0) { %> <li class="noline"> <%} else { %>