Application/Custom.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using EKETEAM.Data;
using EKETEAM.FrameWork;
namespace eFrameWork.Application
{
public partial class Custom : System.Web.UI.Page
{
public string UserArea = "Application";
public eModel model;
public bool Ajax = false;
public eUser user;
protected void Page_Load(object sender, EventArgs e)
{
//System.Web.UI.HtmlControls.HtmlInputHidden
user = new eUser(UserArea);
user.Check();
ApplicationMenu appmenu = new ApplicationMenu(user,"1");
eModelInfo customModel = new eModelInfo(user);
model = customModel.Model;
string path = model.ModelInfo["AspxFile"].ToString();
//eBase.Writeln(path);
if (path.IndexOf("?") > -1 || path.ToLower().StartsWith("http"))
{
Response.Redirect(path, true);
}
else
{
eBase.ExecutePage(path, LitBody);
}
/*
if (!eBase.parseBool(model.ModelInfo["AutoLayout"]))
{
Response.Write(LitBody.Text);
this.Page.Visible = false;
}
*/
}
protected void Page_PreInit(object sender, EventArgs e)
{
if (Request.QueryString["ajax"] != null) Ajax = Convert.ToBoolean(Request.QueryString["ajax"]);
if (Master == null) return;
//eBase.Writeln(Ajax.ToString());
if (!Ajax)
{
MasterPageFile = "Main.Master";
}
else
{
MasterPageFile = "MainNone.Master";
}
}
protected void Page_PreRender(object sender, EventArgs e)
后面还有 14 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
