Backup/Discuz.Web/admin/ajax.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Net;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Text;
using Discuz.Forum;
using Discuz.Common;
namespace Discuz.Web.Admin
{
/// <summary>
/// Ajax 的摘要说明。
/// </summary>
public partial class ajax : AdminPage
{
protected internal string ascxpath = "UserControls/"; //用户控件路径值
private void InitializeComponent()
{
this.ID = "Ajax_CallBack_Form";
}
protected override void OnInit(EventArgs e)
{
this.InitializeComponent();
base.OnInit(e);
}
private void Page_Load(object sender, EventArgs e)
{
if (base.Request.Params["AjaxTemplate"] != null)
{
try
{
this.AjaxCallBackForm.Controls.Add(base.LoadControl(base.Request.Params["AjaxTemplate"].ToLower().EndsWith(".ascx") ? ascxpath + base.Request.Params["AjaxTemplate"] : (ascxpath + base.Request.Params["AjaxTemplate"] + ".ascx")));
}
catch
{
}
}
}
}
public partial class RemoteScript : AdminPage
{
private void Page_Load(object sender, EventArgs e)
{
base.Response.ContentType = "text/javascript";
string output = base.Request.QueryString["output"];
string callback = base.Request.QueryString["callback"];
string ajaxtemplate = base.Request.QueryString["AjaxTemplate"];
if (ajaxtemplate != null)
{
try
{
后面还有 35 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
