WELOA.Web/admin/login_managerlog.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using WELOA.Model;
using LSBLL;
namespace Web.admin
{
public partial class login_managerlog : System.Web.UI.Page
{
private LS_Manager managerBLL = new LS_Manager();
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
int nPage = Convert.ToInt32(base.Request.QueryString["Page"]);
string fileName = Path.GetFileName(base.Request.Path);
IsPage IsPage = this.managerBLL.managerlogPageHtml(nPage, fileName);
if (IsPage.nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常2,请联系管理员处理。')</script>");
}
else
{
this.allowpage.InnerHtml = IsPage.strHtml;
for (int i = 0; i < this.GridView1.Rows.Count; i++)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#99CCFF'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=c");
}
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (this.Session["rank"] == null)
{
this.Session.Clear();
base.Response.Write("<script language=javascript >window.parent.location.href='default.aspx'</script>");
}
else if (this.Session["rank"].ToString() == "")
{
this.Session.Clear();
base.Response.Write("<script language=javascript >window.parent.location.href='default.aspx'</script>");
}
int nPage = Convert.ToInt32(base.Request.QueryString["Page"]);
DateSetInformation DateSetInformation = this.managerBLL.selectmanagerlog(nPage);
if (DateSetInformation.nException > 1)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常1,请联系管理员处理。')</script>");
}
else
后面还有 8 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
