日期:2014-05-18 浏览次数:20500 次
using ShopWe.BLL; using ShopWe.Common; using ShopWe.Model; using System; using System.Web; using System.Web.Profile; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using xb9d8bb5e6df032aa; public class Admin_UserManagement_EditAsk : Page, IRequiresSessionState { protected HtmlForm form1; protected Literal LiteralBody; protected Button Submit; protected TextBox TextBoxRestore; protected void Page_Load(object sender, EventArgs e) { ShopWe.BLL.Goods_Ask ask; ShopWe.Model.Goods_Ask model; this.Page.Title = TitleModel.GetPageTitle(); if (0xff != 0) { this.Page.ClientScript.RegisterClientScriptBlock(base.GetType(), "ShowLoadMask", LoadMask.GetLoadMaskStr()); if (base.IsPostBack || (base.Request.QueryString["id"] == null)) { return; } goto Label_0073; } Label_0017: if (2 != 0) { this.TextBoxRestore.Text = model.AskRestore; return; } Label_0073: ask = new ShopWe.BLL.Goods_Ask(); model = ask.GetModel(int.Parse(base.Request.QueryString["id"])); this.LiteralBody.Text = model.AskBody; goto Label_0017; } protected void Submit_Click(object sender, EventArgs e) { ShopWe.BLL.Goods_Ask ask = new ShopWe.BLL.Goods_Ask(); ShopWe.Model.Goods_Ask model = ask.GetModel(int.Parse(base.Request.QueryString["id"])); if (-1 != 0) { model.AskRestore = this.TextBoxRestore.Text; ask.Update(model); Common.AddManagerNote("回复用户咨询" + model.AskTitle); } this.Page.ClientScript.RegisterS tartupScript(base.GetType(), "", string.Intern(xb9d8bb5e6 df032aa.x1110bdd110cdcea4._xaacba899487bce8c("mohmacpmnagnjbnnnaeo bblocbcpjnipjp ppbahahpnabafbaambblccnkjcg nadiohdmoodkofeommejndfcmjn faamggfoheoofdknmjgpjhdikdcoggloo pnofdmcagjamoaabhflah mlphdmnhkmngbnokinlj pnhkgoljnopjepaklphgca", 0x79c4c7b0))); } protected HttpApplication ApplicationInstance { get { return this.Context.ApplicationInstance; } } protected DefaultProfile Profile { get { return (DefaultProfile) this.Context.Profile; } } }