Web/admin/skylogin.aspx.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

namespace School_Web.admin
{
    using School_BLL.clsPublic;
    using School_Web;
    using System;
    using System.Runtime.CompilerServices;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public class skylogin : Page
    {
        protected Button BtnLogin;
        protected DropDownList DrpUserType;
        protected HtmlForm FrmReg;
        protected Literal LabScript;
        protected TextBox UserID1;
        protected TextBox UserPwd1;

        [MethodImpl(MethodImplOptions.NoInlining)]
        protected void BtnLogin_Click(object sender, EventArgs p1)
        {
            this.SkyUserLogin();
        }

        [MethodImpl(MethodImplOptions.NoInlining)]
        protected void Page_Load(object sender, EventArgs p1)
        {
            if (!this.Page.IsPostBack)
            {
                this.SkyRegedit();
                this.BtnLogin.Attributes.Add("onClick", "return SkyUserLogin();");
                BasicWeb web = new BasicWeb();
                string str = web.SkyTool_String_ReplaceBadChar(base.Request.Params["UserID1"]);
                string str2 = web.SkyTool_String_ReplaceBadChar(base.Request.Params["UserPwd1"]);
                string str3 = web.SkyTool_String_ReplaceBadChar(base.Request.Params["DrpUserType"]);
                if ((str != "") && (str2 != ""))
                {
                    this.UserID1.Text = str;
                    this.UserPwd1.Text = str2;
                    this.DrpUserType.Items[Convert.ToInt32(str3) - 1].Selected = true;
                    this.SkyUserLogin();
                }
            }
        }

        [MethodImpl(MethodImplOptions.NoInlining)]
        protected void SkyRegedit()
        {
            BasicWeb web = new BasicWeb();
            //if (!web.SkySoftisRun())
            //{
            //    base.Response.Redirect("/admin/basic/softregister.aspx");
            //}
            //else if (Global.appUInfo.WebRegtype != "0")
            //{
            //    string str = base.Request.ServerVariables["SERVER_PORT"];
            //    if (str != Global.appUInfo.WebPort)
            //    {
            //        base.Response.Redirect("/admin/basic/softregister.aspx");
后面还有 21 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。