protected void Page_Load(object sender, EventArgs e) { string[] siteInformation = new string[] {}; SiteInformation si = new SiteInformation(); siteInformation = si.getInformation(); //Page Title Page.Title = siteInformation[0] + " : معرفی سایت و خدمات"; if (Request.QueryString["Show"].ToString() != null) { switch (Request.QueryString["Show"].ToString()) { case "Gift800": ImageImage.ImageUrl = "~/images/about/Gift800.png"; break; default: Response.Redirect("~/Error.aspx?Code=NotFound"); break; } } else { Response.Redirect("~/Error.aspx?Code=NotFound"); } }
protected void Page_Load(object sender, EventArgs e) { string[] siteInformation = new string[]{}; SiteInformation si = new SiteInformation(); siteInformation = si.getInformation(); //Page Title Page.Title = siteInformation[0] + " : معرفی سایت و خدمات"; if (Request.QueryString["Show"].ToString() != null) { switch (Request.QueryString["Show"].ToString()) { case "Gift800": ImageImage.ImageUrl = "~/images/about/Gift800.png"; break; default: Response.Redirect("~/Error.aspx?Code=NotFound"); break; } } else { Response.Redirect("~/Error.aspx?Code=NotFound"); } }
protected void Page_Load(object sender, EventArgs e) { //check premissions AdminPremissions ap = new AdminPremissions(); bool AdminPremission = ap.getAdminPremissions(Convert.ToInt32(Session["UserId"]), "Admins"); if (!AdminPremission) { Response.Redirect("~/Error.aspx?Code=404"); } //Page Title string[] siteInformation = new string[] { }; SiteInformation si = new SiteInformation(); siteInformation = si.getInformation(); Page.Title = siteInformation[0] + " : مدیریت ادمین ها"; //insert log if (!IsPostBack) { AdminLogInsert ali = new AdminLogInsert(); ali.insertAdminLog(Convert.ToInt32(Session["UserId"]), 1100, 0, "0"); } }
protected void Page_Load(object sender, EventArgs e) { //Page Title string[] siteInformation = new string[]{}; SiteInformation si = new SiteInformation(); siteInformation = si.getInformation(); Page.Title = siteInformation[0] + " : " + siteInformation[2]; }
protected void Page_Load(object sender, EventArgs e) { //Page Title string[] siteInformation = new string[] {}; SiteInformation si = new SiteInformation(); siteInformation = si.getInformation(); Page.Title = siteInformation[0] + " : " + siteInformation[2]; }