Manager/Main.aspx.cs

(开头部分) 81KB

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

using System;
using System.Data;
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 System.Data.OleDb;

public partial class Manager_Main : System.Web.UI.Page
{
    private bool isOk = false;
    protected void Page_Load(object sender, EventArgs e)
    {
        Anthem.Manager.Register(this);
        if (!IsPostBack)
        {
            string[,] menu = leftMenu();
            Title = WebFunction.getValueByKey("title", "xk_Config", "id>0") + " - - 后台管理";
            Table tb = new Table();
            tb.Width = Unit.Parse("158");
            tb.CellPadding = 0;
            tb.CellSpacing = 0;
            string tcText = "";
            TableRow tr = new TableRow();
            TableCell tc = new TableCell();
            tc.Attributes.Add("background", "images/admin_title.gif");
            tc.Height = 38;
            tr.Cells.Add(tc);
            tb.Rows.Add(tr);
            for (int i = 0; i < menu.GetLength(0); i++)
            {
                tr = new TableRow();
                tc = new TableCell();
                tc.Height = 25;
                tc.CssClass = "menu_title";
                tc.Attributes.Add("background", "images/admin_left_" + i + ".gif");
                tc.Attributes.Add("onclick", "showsubmenu(" + i + ")");
                tc.Text = "<span>" + menu[i, 0] + "</span>";
                tr.Cells.Add(tc);
                tb.Rows.Add(tr);

                tr = new TableRow();
                tc = new TableCell();
                tc.Attributes.Add("style", "display:none");
                tc.Attributes.Add("id", "submenu" + i);
                tcText = "<div class=sec_menu>";
                for (int j = 1; j < menu.GetLength(1); j++)
                {
                    if (menu[i, j] == null)
                    {
                        break;
                    }
                    tcText += "<table cellpadding=0 cellspacing=0 align=center width=100%><tr><td height=20 align=left>&nbsp;&nbsp;<img src='images/ico.gif'>";
                    tcText += menu[i, j];
                    tcText += "</td></tr></table>";
                }
后面还有 1733 行代码,解锁后查看完整代码

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

AI 解读

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

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