part2: ShowIssueCat.aspx

80酷酷网    80kuku.com

  <% Page language="c#" Codebehind="showIssueCat.aspx.cs" AutoEventWireup="false" Inherits="cj168.Web.showIssueCat" %>
<% Register TagPrefix="cj168" TagName="Header" Src="modules/Header.ascx" %>
<% Register TagPrefix="cj168" TagName="Footer" Src="modules/Footer.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    <HEAD>
        <title>阅读期刊</title>
        <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
        <meta name="CODE_LANGUAGE" Content="C#">
        <meta name="vs_defaultClientScript" content="JavaScript (ECMAScript)">
        <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    </HEAD>
    <body MS_POSITIONING="GridLayout" topmargin="5">
        <form id="showIssueCat" method="post" runat="server">
            <table width="100%">
                <tr>
                    <td>
                        <cj168:Header ID="Header1" runat="server" />
                    </td>
                </tr>
            </table>
            <table width="100%">
                <tr>
                    <td>
                        <asp:Label id="lbMagInfo" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            <table cellSpacing="2" cellPadding="0" width="100%" border="0">
                <tr>
                    <td>
                        <asp:DataList enableViewState="false" id="datalistMagCat" runat="server" RepeatColumns="1" Width="100" BorderColor="black" BorderWidth="1" GridLines="Both" CellPadding="3" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" AlternatingItemStyle-BackColor="#eeeeee" SelectedItemStyle-BackColor="yellow" OnItemCommand="DataList_ItemCommand" OnCancelCommand="DataList_CancelCommand" AllowPaging="True" PageSize="30" PagerStyle-Mode="NumericPages">
                            <SelectedItemStyle BackColor="Yellow"></SelectedItemStyle>
                            <HeaderTemplate>
                                目录
                            </HeaderTemplate>
                            <SelectedItemTemplate>
                                <div align="right">
                                    <asp:LinkButton id="lbCloseMagIntro" runat="server" Text="关闭" CommandName="cancel" />
                                </div>
                                

                                <div align="center">
                                    <asp:adRotator AdvertisementFile="../advs/advs.xml" runat="server" BorderColor="#000000" BorderWidth="0" ID="Adrotator1" Target="_new"></asp:adRotator>
                                </div>
                                

                                <div align="center">
                                    <asp:HyperLink id="hlIssueCover" text="阅读本期" ImageUrl="../images/cover/demo.jpg" NavigateUrl='<%# "../showIssueCat.aspx?MagName=" + DataBinder.Eval(Container.DataItem, "MagName") + "&MagID=" + DataBinder.Eval(Container.DataItem, "ID") + "&MagYear=" + DataBinder.Eval(Container.DataItem, "MagYear") + "&YearIssue=" + DataBinder.Eval(Container.DataItem, "YearIssue") %>' runat="server">
                                    </asp:HyperLink>
                                </div>
                                

                                <b>期号:</b>
                                <%# DataBinder.Eval(Container.DataItem, "MagName") %>
                            </SelectedItemTemplate>
                            <AlternatingItemStyle BackColor="#EEEEEE"></AlternatingItemStyle>
                            <ItemTemplate>
                                <asp:LinkButton id="Linkbutton" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CatTitle")%>' CommandName="select" />
                                <asp:DataList enableViewState="false" id="datalistTest" datasource="<%# GetThreadMessages()%>" runat="server" RepeatColumns="1" Width="100" BorderColor="black" BorderWidth="1" GridLines="Both" CellPadding="3" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" AlternatingItemStyle-BackColor="#eeeeee" SelectedItemStyle-BackColor="yellow" OnItemCommand="DataList_ItemCommand" OnCancelCommand="DataList_CancelCommand" AllowPaging="True" PageSize="30" PagerStyle-Mode="NumericPages">
                                    <ItemTemplate>
                                        <asp:LinkButton id="Linkbutton1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CatTitle")%>' />
                                    </ItemTemplate>
                                </asp:DataList>
                            </ItemTemplate>
                            <HeaderStyle BackColor="#AAAADD"></HeaderStyle>
                        </asp:DataList>
                    </td>
                </tr>
            </table>
            <table width="100%">
                <tr>
                    <td>
                        <cj168:Footer ID="Footer1" runat="server" />
                    </td>
                </tr>
            </table>
        </form>
    </body>
</HTML>

分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: