首页 > 编程 > ASP > 正文

part2: ShowIssueCat.aspx

2024-05-04 11:06:28
字体:
来源:转载
供稿:网友
<%@ 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>
                                <br>
                                <div align="center">
                                    <asp:adrotator advertisementfile="../advs/advs.xml" runat="server" bordercolor="#000000" borderwidth="0" id="adrotator1" target="_new"></asp:adrotator>
                                </div>
                                <br>
                                <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>
                                <br>
                                <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>国内最大的酷站演示中心!
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表