allc.aspx.cs

(完整代码) 1KB

using System;
using System.IO;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class allc : System.Web.UI.Page
{
    protected int tid;
    protected string clist, content;
    protected object title, author, ctitle, cid, boardname, boardid;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["tid"] != null && Regular.IsInt(Request.QueryString["tid"]))
        {
            tid = int.Parse(Request.QueryString["tid"]);
            SqlStore sql = new SqlStore();
            DataRowCollection rows = sql.AllC(tid, out title, out author, out ctitle, out cid, out boardname, out boardid).Rows;
            int count = rows.Count, end;//5|1|a|s|p|x
            if ((Int16)boardid == 12)
                clist = "抱歉,漫画不支持全文阅读!";
            else
                if (count == 0)
                    clist = "抱歉,无数据。请联系管理员!";
                else
                {
                    clist = "<ul>";
                    for (int i = 0; i < count; i = i + 30)
                    {
                        end = i + 30 < count ? i + 30 : count;
                        clist += "<li><a href=\"/chapter/" + tid + "/" + rows[i]["cid"] + ".html\" onclick=\"return arequest(" + tid + "," + rows[i]["cid"] + ");\" >第" + (i + 1) + "-" + end + "章</a></li>";
                        content += "<div id=\"cid" + rows[i]["cid"] + "\"><script id=\"cr" + rows[i]["cid"] + "\" type=\"text/javascript\"></script></div>";
                    }
                    clist += "</ul>";
                }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。