protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { TravelAgent.Model.InfoSetting info = new TravelAgent.Model.InfoSetting(); info.ds = bll.GetList(); this.txtRegContent.Value = info.getValue("RegFWTK"); this.rbtnWebLock.SelectedValue = info.getValue("ClubIsReg"); if (Admin.Role.roleAuth.IndexOf(",sysclub_update,") <= -1) { this.btnSave.Visible = false; } } }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { TravelAgent.Model.InfoSetting info = new TravelAgent.Model.InfoSetting(); info.ds = bll.GetList(); this.txtVisa01.Value = info.getValue("VisaZYSX"); this.txtVisa02.Value = info.getValue("VisaMZSM"); if (Admin.Role.roleAuth.IndexOf(",visaset_update,") <= -1) { this.btnSave.Visible = false; } } }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { TravelAgent.Model.InfoSetting info = new TravelAgent.Model.InfoSetting(); info.ds = bll.GetList(); this.txtChujingAgreeMent.Value = info.getValue("CJAgreeMent"); this.txtGuoneiAgreeMent.Value = info.getValue("GNAgreeMent"); txtMemberAgreeMent.Value = info.getValue("RegFWTK"); if (Admin.Role.roleAuth.IndexOf(",sysbase_update,") <= -1) { this.btnSave.Visible = false; } } }
protected void Page_Load(object sender, EventArgs e) { this.Title = "会员注册-" + Master.webinfo.WebName; if (!this.IsPostBack) { TravelAgent.Model.InfoSetting info = new TravelAgent.Model.InfoSetting(); info.ds = bll.GetList(); strMemberAgreement = info.getValue("RegFWTK"); if (Request["type"] != null) { string strTag = Request["type"]; TravelAgent.Model.Club model = new TravelAgent.Model.Club(); if (strTag.Equals("mobile")) { model.clubMobile = Request["mobile"]; model.clubName = "club" + model.clubMobile; } else { model.clubEmail = Request["email"]; model.clubName = "club" + model.clubEmail; } model.clubPwd = Request["password"]; model.isLock = 1; int userid = ClubBll.Add(model); if (userid > 0) { //积分开始 TravelAgent.Model.ClubPoints points = new TravelAgent.Model.ClubPoints(); points.clubid = userid; points.Content = "首次注册"; points.points = Master.webinfo.FristReg; points.remark = ""; points.pType = Convert.ToInt32(TravelAgent.Tool.EnumSummary.PointsType.注册); points.adddate = DateTime.Now; PointsBll.Add(points); string strsql = "update Club set currentPoints=currentPoints+" + Master.webinfo.FristReg + " where Id=" + userid; //Access //TravelAgent.Tool.DbHelperOleDb.ExecuteSql(strsql); //SQL TravelAgent.Tool.DbHelperSQL.ExecuteSql(strsql); //积分结束 TravelAgent.Tool.CookieHelper.SetCookie("uid", userid.ToString()); TravelAgent.Tool.CookieHelper.SetCookie("username", model.clubName); Response.Redirect("/member/Index.aspx"); } else { Response.Redirect("/Opr.aspx?t=error&msg=opr", false); } } } }
protected void Page_Load(object sender, EventArgs e) { this.Title = "签证办理_签证代办_出国签证查询及办理流程-" + Master.webinfo.WebName; Other.AddMeta(Page.Master.Page, "keywords", "签证代办,签证查询,签证办理"); Other.AddMeta(Page.Master.Page, "description", "权威签证申请中心,拥有多年网上签证办理经验,方便的签证办理查询,详细说明办理费用及流程,拥有专业签证团队,为您解读2013出国签证各种问题。"); if (!this.IsPostBack) { TravelAgent.Model.InfoSetting info = new TravelAgent.Model.InfoSetting(); info.ds = bll.GetList(); divZYSX.InnerHtml = info.getValue("VisaZYSX"); } }
protected void Page_Load(object sender, EventArgs e) { int.TryParse(Request.QueryString["countryid"], out countryid); if (!this.IsPostBack) { TravelAgent.Model.InfoSetting info = new TravelAgent.Model.InfoSetting(); info.ds = bll.GetList(); divZYSX.InnerHtml = info.getValue("VisaZYSX"); if (countryid > 0) { TravelAgent.Model.VisaCountry country = CountryBll.GetModel(countryid); if (country != null) { strPicUrl = country.PicUrl; strVisaName = country.Name; this.Title = country.Name + "签证-" + Master.webinfo.WebName; } } } }
protected void Page_Load(object sender, EventArgs e) { this.Title = "核对订单-" + Master.webinfo.WebName; int.TryParse(Request.QueryString["oid"], out oid); if (!this.IsPostBack) { TravelAgent.Model.InfoSetting info = new TravelAgent.Model.InfoSetting(); info.ds = bll.GetList(); if (oid > 0) { order = LineOrderBll.GetModel(oid); if (order != null) { Line = LineBll.GetModel(order.lineId); if (Line != null) { if (Line.DestId == 1)//出境 { strAgreeMent = info.getValue("CJAgreeMent"); } else//国内、周边 { strAgreeMent = info.getValue("GNAgreeMent"); } } } else { Response.Redirect("/Opr.aspx?t=error&msg=opr", false); } } else { Response.Redirect("/Opr.aspx?t=error&msg=opr", false); } if (Request["txtHiddenOrderId"] != null) { string strsql = ""; if (Line.DealType == Convert.ToInt32(TravelAgent.Tool.EnumSummary.DealType.自动处理)) { strsql = "update [Order] set orderState=" + Convert.ToInt32(TravelAgent.Tool.EnumSummary.OrderState.待付款) + " where Id=" + oid; } else { strsql = "update [Order] set orderState=" + Convert.ToInt32(TravelAgent.Tool.EnumSummary.OrderState.处理中) + " where Id=" + oid; } if (TravelAgent.Tool.DbHelperSQL.ExecuteSql(strsql) > 0) { //urlrewrite Response.Redirect("/lineorder/5/" + oid + ".html", false); } else { Response.Redirect("/Opr.aspx?t=error&msg=opr", false); } } } if (order == null) { Response.Redirect("/Opr.aspx?t=error&msg=opr", false); order = new Model.Order(); } if (Line == null) { Response.Redirect("/Opr.aspx?t=error&msg=opr", false); Line = new Model.Line(); } }