protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Request["fid"] != null && Request["fid"] != "") { errorscript = ""; strfid = Common.Common.NoHtml(Request["fid"]); } else { errorscript = JQDialog.alertOkMsgBoxClearBody(2, "操作失败<br/>请核对后再操作!"); } if (Request["uid"] != null && Request["uid"] != "") { strUid = Common.Common.NoHtml(Request["uid"]); } else { errorscript = JQDialog.alertOKMsgBoxGoBack(2, "操作失败<br/>请核对后再操作!", true); } if (Session["customerID"] != null && Session["customerID"].ToString() != "") { strMyUid = Session["customerID"].ToString(); } getTemplate(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Request["fid"] != null && Request["fid"] != "") { errorscript = ""; strfid = Common.Common.NoHtml(Request["fid"]); } else { errorscript = JQDialog.alertOkMsgBoxClearBody(2, "操作失败<br/>请核对后再操作!"); } if (Session["customerID"] != null && Session["customerID"].ToString() != "") { strUid = Common.Common.NoHtml(Session["customerID"].ToString()); if (Request["action"] != null && Request["action"] != "" && Request["action"].ToString().ToLower() == "edite") { editeCustomerinfo(); } } else { JQDialog.SetCookies("pageurl", "../../Comment/Customerinfo.aspx?fid=" + strfid, 2); errorscript = JQDialog.alertOKMsgBox(5, "操作失败<br/>请登录后再操作!", "../PalmShop/ShopCode/UserLogin.aspx", "error"); } getTemplate(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Request["fid"] != null && Request["fid"] != "") { errorscript = ""; strfid = Common.Common.NoHtml(Request["fid"]); } else { errorscript = JQDialog.alertOkMsgBoxClearBody(2, "操作失败<br/>请核对后再操作!"); } if (Session["customerID"] != null && Session["customerID"].ToString() != "") { strUID = Session["customerID"].ToString(); } if (Request["action"] != null && Request["action"] != "" && Request["tid"] != null && Request["tid"] != "") { action = Request["action"]; if (strUID != null && strUID != "") { TopicLoveOrLike(); Response.End(); } else { JQDialog.SetCookies("pageurl", "../../Comment/Index.aspx?fid=" + strfid, 2); errorscript = JQDialog.alertOKMsgBox(5, "操作失败<br/>请登录后再操作!", "../PalmShop/ShopCode/UserLogin.aspx", "error"); } } GetTopicList(); } }