protected List <AdFixedModel> adFixedList = new List <AdFixedModel>(); //轮播 protected void Page_Load(object sender, EventArgs e) { model = bll_onePage.GetModel(Request.QueryString["pkid"]); if (model == null || !model.Enabled) { WebUtility.Goto404(); } if (!Page.IsPostBack) { BindInfo(); } Right1.kind = 100; // Right1.menu =model.Pkid; switch (model.Pkid) { case 15: banner1.kind = 36; Master.Index = 3; break; case 16: banner1.kind = 38; Master.Index = 5; break; default: banner1.kind = 36; Master.Index = 4; break; } }
protected void Page_Load(object sender, EventArgs e) { model = bll_onePage.GetModel(22); if (!Page.IsPostBack) { BindInfo(); } banner1.kind = 35; Right1.kind = 100; //Right1.menu = -1; Master.Index = 2; }
protected void Page_Load(object sender, EventArgs e) { WebUtility.AdminLoginAuth(); onePage = bll_onePage.GetModel(Request.QueryString["pkid"]); if (onePage == null) { onePage = new OnePageModel(); } if (!Page.IsPostBack) { BindInfo(); } }
protected List <AdFixedModel> adFixedList = new List <AdFixedModel>(); //轮播 protected void Page_Load(object sender, EventArgs e) { model = bll_onePage.GetModel(Request.QueryString["pkid"]); if (model == null || !model.Enabled) { WebUtility.Goto404(); } if (!Page.IsPostBack) { BindInfo(); } banner1.kind = 34; Right1.kind = 7; Right1.menu = model.Pkid; Master.Index = 2; }
protected void Page_Load(object sender, EventArgs e) { WebUtility.AdminLoginAuth(); if (!bll_admin.RuleAuth("页面_页面管理")) { WebUtility.ShowError(WebUtility.ERROR101); } onePage = bll_onePage.GetModel(Request.QueryString["pkid"]); if (onePage == null) { onePage = new OnePageModel(); } if (!Page.IsPostBack) { BindInfo(); } }