Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         M_AdminInfo adminMod = B_Admin.GetLogin();
         ScenceFunc(adminMod.Theme);
         nameL.InnerHtml = "<span style='cursor:pointer;'>" + adminMod.AdminName + "</span>";
         AsyncInvokeFunc preFunc = InvokeFunc;
         preFunc.BeginInvoke(this, null, null);
         //---Logo后期改为拼接
         if (!string.IsNullOrEmpty(SiteConfig.SiteInfo.LogoAdmin))
         {
             zlogo3.Visible        = true;
             zlogo4.Visible        = true;
             newbody_logo2.Visible = true;
             zlogo3.InnerHtml      = ComRE.Img_NoPic(SiteConfig.SiteInfo.LogoAdmin, "");
             zlogo4.InnerHtml      = SiteConfig.SiteInfo.LogoPlatName;
         }
         else
         {
             zlogo1.Visible        = true;
             zlogo2.Visible        = true;
             newbody_logo1.Visible = true;
         }
         if (Call.AppSettValue("ShowedAD").ToLower().Equals("false"))
         {
             function.Script(this, "ShowStartScreen();");
         }
         if (Application["Page_Init"] == null)
         {
             Application["Page_Init"] = true; function.Script(this, "PrePageInit()");
         }
     }
 }