Backup/Discuz.Web/space/manage/ajax.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Net;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Text;
using Discuz.Forum;
using Discuz.Config;
namespace Discuz.Space.Manage
{
/// <summary>
/// Ajax 的摘要说明。
/// </summary>
public class ajax : Page
{
protected internal GeneralConfigInfo config;
protected internal string ascxpath = ""; //用户控件路径值
protected HtmlForm AjaxCallBackForm;
public ajax()
{
}
private void InitializeComponent()
{
this.ID = "Ajax_CallBack_Form";
base.Load += new EventHandler(this.Page_Load);
}
protected override void OnInit(EventArgs e)
{
this.InitializeComponent();
base.OnInit(e);
}
private void Page_Load(object sender, EventArgs e)
{
string ajaxtemplate = base.Request.Params["AjaxTemplate"].ToLower();
if (ajaxtemplate != null && ajaxtemplate.IndexOf("uploadfile")<0)
{
try
{
this.AjaxCallBackForm.Controls.Add(base.LoadControl(ajaxtemplate.EndsWith(".ascx") ? ascxpath + ajaxtemplate : (ascxpath + ajaxtemplate + ".ascx")));
}
catch
{;}
}
}
}
/// <summary>
/// 远程脚本
/// </summary>
public class RemoteScript : Page
{
后面还有 62 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
