inc/bot.aspx.cs

(开头部分) 3KB

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

using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using KNet.DBUtility;
using KNet.Common;

public partial class Bot_bot : System.Web.UI.Page
{
    protected void Page_PreInit(object sender, EventArgs e)
    {
        AdminloginMess AMLanguage = new AdminloginMess();
        if (AMLanguage.KNet_Soft_StaffLanguage == 2)
        {
            // 1、默认为简体转繁体,编码为utf-8
            Response.Filter = new LU.Web.ChineseConvertor(Response.Filter);
        }
        else if (AMLanguage.KNet_Soft_StaffLanguage == 1)
        {
            // 2、繁体简体转,编码为utf-8
            Response.Filter = new LU.Web.ChineseConvertor(Response.Filter, LU.Web.ChineseConvertor.CCDirection.T2S);
        }
        else
        { }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {

            AdminloginMess AMbot = new AdminloginMess();
            this.HouseName.Text = AMbot.KNet_StaffName;
            this.LoginNum.Text = AMbot.KNet_Staff_LoginNum.ToString();
            this.LastLoginDate.Text = DateTime.Parse(AMbot.KNet_Last_Staff_LoginDate.ToString()).ToString();
            this.LogIP.Text = AMbot.KNet_Last_Staff_LoginIP;
            this.LogIPLast.Text = AMbot.KNet_this_Staff_LoginIP;

            if (AMbot.KNet_StaffBranch != null && AMbot.KNet_StaffBranch != "")
            {
                if (AMbot.KNet_StaffDepart != null && AMbot.KNet_StaffDepart != "")
                {
                    this.CompanyName.Text = GetStaffBranchName(AMbot.KNet_StaffBranch) + "(" + GetStaffDepartName(AMbot.KNet_StaffDepart) + ")";
                }
                else
                {
                    this.CompanyName.Text = GetStaffBranchName(AMbot.KNet_StaffBranch);
                }
            }
            else
            {
                this.CompanyName.Text = AMbot.KNet_Sys_CompanyName;
            }
后面还有 55 行代码,购买后查看完整代码

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

AI 解读

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

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