protected unsafe void Page_Load(object sender, EventArgs e)
        {
            int      num;
            int      num2;
            UserInfo info;
            int      num3;
            int      num4;

            SitePortal[] portalArray;
            int          num5;
            int          num6;
            SitePortal   portal;
            bool         flag;

            object[] objArray;
            num = PersistenceManager.GlobalPortalId;
            if (((num < 1) == 0) != null)
            {
                goto Label_0067;
            }
            base.Response.Redirect(string.Concat(new object[] { "Index.aspx?portal=", &num.ToString(), "&u", this.Session["global_username"] }), 1);
            goto Label_02F6;
Label_0067:
            this.nPortalId  = SitePortal.GetCurrentPortalId();
            this.nUserId    = FunUtil.GetCurrentUserID();
            this.nSelFuncId = Util.GetInt(base.Request, "p", 0);
            if (((this.nSelFuncId < 1) == 0) != null)
            {
                goto Label_00AD;
            }
            this.nSelFuncId = -1;
Label_00AD:
            PageUtil.AdhereJS(this.Page, "jquery.js");
            PageUtil.AdhereJS(this.Page, "bootstrap.js");
            SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css");
            SkinUtil.AdhereEntryStyleSheet(this.Page, "style.css");
            this.navTier.Visible = 0;
            if (((PortalSettings.get_DefaultTypeSub() == 2) == 0) != null)
            {
                goto Label_0132;
            }
            this.navTier.Visible = 1;
            this.m_strTopPX      = "105px";
            this.__InirTopMenu();
Label_0132:
            this.__InitLeftMenu();
            this.ltSiteName.Text = PortalSettings.get_PortalName();
            info = UserInfo.Get(this.nUserId);
            if ((info == null) != null)
            {
                goto Label_019C;
            }
            if ((((info.Sex == "2") != null) ? 0 : ((info.Sex == "女") == 0)) != null)
            {
                goto Label_019B;
            }
            this.m_strUserIcon = "womanbig.png";
            Label_019B :;
            Label_019C :
            this.m_strUserInfo         = string.Format("欢迎你,{0}", FunUtil.GetCurrentUserName(1));
            this.hdCurrentUserId.Value = &this.nUserId.ToString();
            this.m_strNewMessageCount  = "";
            num3 = MessageItem.GetUnreadMessageCount(this.nUserId);
            if (((num3 > 0) == 0) != null)
            {
                goto Label_0203;
            }
            this.m_strNewMessageCount = string.Format("<span style='position:absolute;font-size:10px;background-color:#ff5029;color:#fff;border-radius:13%;right:92px;top:6px;height:12px;padding:0 3px;line-height:12px;text-align:center;cursor:pointer;' onclick='fnJumpShortMessage();'>{0}</span>", (int)num3);
Label_0203:
            num4        = PersistenceManager.GlobalPortalId;
            portalArray = (SitePortal[])this.Session["global_allportal"];
            if (((portalArray == null) == 0) != null)
            {
                goto Label_0275;
            }
            num5 = PersistenceManager.GlobalPortalId;
Label_0237:
            try
            {
                this.Session["global_pid"] = "1";
                portalArray = SitePortal.GetAllPortal();
                goto Label_0273;
            }
            finally
            {
Label_0258:
                this.Session["global_pid"] = &num5.ToString();
            }
            Label_0273 :;
            Label_0275 :
            if ((portalArray == null) != null)
            {
                goto Label_02F6;
            }
            num6 = 1;
            goto Label_02E7;
Label_0286:
            portal = portalArray[num6];
            if (((portal.id == num4) == 0) != null)
            {
                goto Label_02B2;
            }
            this.m_strCurPortal = portal.Title;
            goto Label_02E1;
Label_02B2:
            this.m_strOtherPortal = this.m_strOtherPortal + string.Format("<li role='presentation'><a role='menuitem' tabindex='-1' href='#' onclick='goChangePortal({0});return false;'>{1}</a></li>", (int)portal.id, portal.Title);
Label_02E1:
            num6 += 1;
Label_02E7:
            if ((num6 < ((int)portalArray.Length)) != null)
            {
                goto Label_0286;
            }
Label_02F6:
            return;
        }