admin/sisu/sisu.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Data;
namespace web.admin.sisu
{
public partial class sisu : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
if (Request.QueryString["tid"] != null)
{
int tid = Convert.ToInt32(Request.QueryString["tid"]);
int x = 100;
int p = 1;
if (Request.QueryString["pagex"] != null)
{
p = Convert.ToInt32(Request.QueryString["pagex"]);
}
string username = new Random().Next(100).ToString();
string sqlstring = string.Empty;
if ((p - 1) * x == 0)
{
sqlstring = "select top " + x + " * from sisu where tid = "+tid+" order by id";
}
else
{
sqlstring = "select top " + x + " * from sisu where id >(select max(id) from sisu where id in (select top " + (p - 1) * x + " id from sisu where tid = " + tid + " order by id) ) and tid = " + tid + " order by id";
}
using (DataTable li = new AcsHelper().ExecuteDataTable(sqlstring))
{
this.Repeater1.DataSource = li;
this.Repeater1.DataBind();
}
this.Literal1.Text = liu.fystr(x, "sisu where tid = " + tid + "", username, p, "pagex", "id");
}
}
}
public string ltype(object v,object nrtext)
{
string fig = "";
if (v.ToString() == "2")
{
fig = "<a href='" + nrtext + "' target='_blank'><img src='" + nrtext + "' width='70px' height='70px' /></a>";
}
else
{
fig = liu.zifu(liu.htmlGL(Eval("ntest")), 15);
后面还有 5 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。