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

📄 novellist.aspx

📁 小说网(c#)版源程序,学习还是不错滴,大家可以下载下来看看.
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="novellist.aspx.cs" Inherits="_novellist" enableEventValidation="false" EnableViewState="false" %>

<%@ Register Src="pagetop.ascx" TagName="pagetop" TagPrefix="uc1" %>
<%@ Register Src="pagebelow.ascx" TagName="pagebelow" TagPrefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>大众小说网</title>
    <meta name="author" content="Qiezi" />
    <meta name="description" content="本站含玄幻、奇幻、武侠、仙侠、都市、言情、历史、军事、游戏、竞技、科幻和灵异小说,全部小说免费,支持cookie书库和全文阅读!" />
    <meta name="keywords" content="玄幻,奇幻,武侠,仙侠,都市,言情,历史,军事,游戏,竞技,科幻,灵异,小说" />
    <meta name="robots" content="all" />
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:940px; background-color:White;">
        <uc1:pagetop ID="Pagetop1" runat="server" />
        <div style="float:left; width:200px; margin-left:7px;">
            <div class="div_border" style="margin-top:0px;">
                <div class="div_navigation"><div class="div_valign">本类推荐</div></div>
                <div class="div_list">
                    <asp:DataList ID="List_Commend" runat="server" ItemStyle-Height="20" RepeatLayout="Flow">
                    <ItemTemplate>
                    <img src="image/icon.gif" alt="" />&nbsp;&nbsp;<a href="novelintro.aspx?topicid=<%# DataBinder.Eval(Container.DataItem,"topicid")%>" target="_blank"><%# DataBinder.Eval(Container.DataItem, "title")%></a>
                    </ItemTemplate>
                    </asp:DataList>
                </div>
            </div>
            <div class="div_border">
                <div class="div_navigation"><div class="div_valign">本类周排行</div></div>
                <div class="div_list">
                    <asp:DataList ID="List_Week" runat="server" ItemStyle-Height="20" RepeatLayout="Flow">
                    <ItemTemplate>
                    <img src="image/icon.gif" alt="" />&nbsp;&nbsp;<a href="novelintro.aspx?topicid=<%# DataBinder.Eval(Container.DataItem,"topicid")%>" target="_blank"><%# DataBinder.Eval(Container.DataItem, "title")%></a>&nbsp;(<%# DataBinder.Eval(Container.DataItem, "amount")%>)
                    </ItemTemplate>
                    </asp:DataList>
                </div>
            </div>
        </div>
        <div style="float:left; width:700px; margin-left:10px;">
            <div style="text-align:left; margin-top:5px; height:20px;">&nbsp;&nbsp;<span style="color:blue;"><%=boardname %></span>  共<span style="color:red;"><%=topicamount %></span>部作品  按更新时间排序 </div>
            <div class="div_border" style="margin-top:0px;">
                <div class="div_navigation" style="text-align:center;">
                    <div class="div_valign">
                        <div style="float:left; width:135px;">书名</div>
                        <div style="float:left; width:320px;">最新章节</div>
                        <div style="float:left; width:80px;">更新时间</div>
                        <div style="float:left; width:100px;">作者</div>
                        <div style="float:left; width:50px; text-align:left;">状态</div>
                    </div>
                </div>
                <asp:DataList ID="List_" runat="server" ItemStyle-Height="20">
                <ItemTemplate>
                <div style="margin-left:10px;">
                    <div style="float:left; width:135px;"><a href="novelintro.aspx?topicid=<%# DataBinder.Eval(Container.DataItem,"topicid")%>" style="color:#004D00;" target="_blank"><%# DataBinder.Eval(Container.DataItem, "title")%></a></div>
                    <div style="float:left; width:320px;"><a href="viewchapter.aspx?topicid=<%# DataBinder.Eval(Container.DataItem,"topicid")%>&chapterid=<%# DataBinder.Eval(Container.DataItem,"newchapter").ToString().Split('|')[1]%>" style="color:Gray;" target="_blank"><%# DataBinder.Eval(Container.DataItem,"newchapter").ToString().Split('|')[0]%></a></div>
                    <div style="float:left; width:80px;"><%# DataBinder.Eval(Container.DataItem,"updatetime").ToString().Split(' ')[0]%></div>
                    <div style="float:left; width:100px;"><%# DataBinder.Eval(Container.DataItem,"author")%></div>
                    <div style="float:left; width:50px;"><%# (bool)DataBinder.Eval(Container.DataItem,"isfinish")?"完成":"连载中"%></div>
                </div>
                </ItemTemplate> 
                </asp:DataList>
            </div>
            <div style="height:30px; margin-top:10px; width:694px;">
                <div style="float:left;width:290px;text-align:left; margin-left:5px;"><asp:Label ID="Label_Detail" runat="server" Width="100%"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;</div>
                <div style="float:left;width:220px;text-align:left;">
                   <asp:TextBox ID="Text_CurrentPage" runat="server" BorderWidth="0px" Height="0px" Width="0px">1</asp:TextBox>
                   <asp:TextBox ID="Text_PageCount" runat="server" BorderWidth="0px" Height="0px" Width="0px">-1</asp:TextBox>
                </div>
                <div style="float:left;width:170px;text-align:left;">
                   <asp:LinkButton ID="LinkButton_First" runat="server" OnClick="LinkButton_First_Click">首页</asp:LinkButton>&nbsp;
                   <asp:LinkButton ID="LinkButton_Up" runat="server" OnClick="LinkButton_Up_Click">上一页</asp:LinkButton>&nbsp;
                   <asp:LinkButton ID="LinkButton_Next" runat="server" OnClick="LinkButton_Down_Click" CausesValidation="False">下一页</asp:LinkButton>&nbsp;&nbsp;
                   <asp:LinkButton ID="LinkButton_Last" runat="server" OnClick="LinkButton_Last_Click">尾页</asp:LinkButton>&nbsp;&nbsp;
                </div>
            </div>
        </div>
        <uc2:pagebelow ID="Pagebelow1" runat="server" />
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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