SiteAdmin/Aspx/JRSDManage.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Web.UI.WebControls;
using System.Data;
public partial class SiteAdmin_Aspx_JRSDManage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Cookies["roleid"] != null)
{
if (!IsPostBack)
{
binddr();
}
}
else
{
MessageBox.ShowAndRedirect(this.Page, "对不起!您还没有登录系统。", "../Logout.aspx");
}
}
//绑定记录
public void binddr()
{
ShenTab myn = new ShenTab();
string sqlstr = " XZBank like '%|" + Server.HtmlEncode(Request.Cookies["dwid"].Value) + "|%'";
sqlstr = sqlstr + " order by ID desc ";
DataView dv = myn.GetList(sqlstr).Tables[0].DefaultView;
PagedDataSource pds = new PagedDataSource();
AspNetPager1.RecordCount = dv.Count;
pds.DataSource = dv;
pds.AllowPaging = true;
pds.CurrentPageIndex = AspNetPager1.CurrentPageIndex - 1;
pds.PageSize = AspNetPager1.PageSize;
myrepeater.DataSource = pds;
myrepeater.DataBind();
}
public string ZTShow(object article)
{
int sid = Convert.ToInt16(article.ToString());
string Show = "<font color=#0000FF>已提交</font>";
ShenTabQK myqk = new ShenTabQK();
if (myqk.ExistsSL(sid, Convert.ToInt16(Server.HtmlEncode(Request.Cookies["dwid"].Value))))
{
Show = "<font color=red>受理中</font>";
}
if (myqk.ExistsWJ(sid, Convert.ToInt16(Server.HtmlEncode(Request.Cookies["dwid"].Value))))
{
Show = "<font color=#470044>已完结</font>";
}
if (myqk.ExistsCJ(sid, Convert.ToInt16(Server.HtmlEncode(Request.Cookies["dwid"].Value))))
{
Show = "<font color=green>已放贷</font>";
}
return Show;
}
后面还有 8 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。