using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Text; using System.Data; namespace Mtxfw.VipSite { public partial class left : System.Web.UI.Page { Mtxfw.DAL.user_info daoUser = new Mtxfw.DAL.user_info(); public int Card = 0, uLevel = 0, uLevel2 = 0, uLevel16=0, msgCount = 0, IFApp = 0, IFStores=0; public string MemberName = "", MemberJS = ""; protected Mtxfw.Utility.Config config = new Mtxfw.Utility.Config(""); protected void Page_Load(object sender, EventArgs e) { if (Session["MemberId"] != null && Session["MemberName"] != null) { Card = int.Parse(Session["MemberId"].ToString()); MemberName = Session["MemberName"].ToString(); if (Session["MemberJS"] != null) { MemberJS = Session["MemberJS"].ToString(); } Mtxfw.Model.user_info umodel = daoUser.GetModel(Card); if (umodel != null) { uLevel = umodel.uLevel; uLevel2 = umodel.uLevel2; uLevel16 = umodel.uLevel16; IFStores = umodel.IFStores; } } } } }