| 1 | using System;
|
|---|
| 2 | using System.Data;
|
|---|
| 3 | using System.Configuration;
|
|---|
| 4 | using System.Collections;
|
|---|
| 5 | using System.Web;
|
|---|
| 6 | using System.Web.Security;
|
|---|
| 7 | using System.Web.UI;
|
|---|
| 8 | using System.Web.UI.WebControls;
|
|---|
| 9 | using System.Web.UI.WebControls.WebParts;
|
|---|
| 10 | using System.Web.UI.HtmlControls;
|
|---|
| 11 | using System.Threading;
|
|---|
| 12 | using System.Globalization;
|
|---|
| 13 |
|
|---|
| 14 | public partial class info : System.Web.UI.Page
|
|---|
| 15 | {
|
|---|
| 16 | protected override void InitializeCulture()
|
|---|
| 17 | {
|
|---|
| 18 | if (Session["culture"] != null)
|
|---|
| 19 | {
|
|---|
| 20 | UICulture = Session["culture"].ToString();
|
|---|
| 21 | Culture = Session["culture"].ToString();
|
|---|
| 22 |
|
|---|
| 23 | Thread.CurrentThread.CurrentCulture =
|
|---|
| 24 | CultureInfo.CreateSpecificCulture(Session["culture"].ToString());
|
|---|
| 25 | Thread.CurrentThread.CurrentUICulture =
|
|---|
| 26 | new CultureInfo(Session["culture"].ToString());
|
|---|
| 27 | }
|
|---|
| 28 | base.InitializeCulture();
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | protected void Page_Load(object sender, EventArgs e)
|
|---|
| 32 | {
|
|---|
| 33 | string Status = Request["status"];
|
|---|
| 34 | StatusPlatnosci = Status;
|
|---|
| 35 | string nr = (string)Session["NrFaktury"];
|
|---|
| 36 | if (Status == "ok")
|
|---|
| 37 | {
|
|---|
| 38 | NrFaktury.Text = nr;
|
|---|
| 39 | }
|
|---|
| 40 | else
|
|---|
| 41 | {
|
|---|
| 42 | NrFaktury2.Text = nr;
|
|---|
| 43 | }
|
|---|
| 44 | }
|
|---|
| 45 | protected void PowrotClick(object sender, EventArgs e)
|
|---|
| 46 | {
|
|---|
| 47 | FormsAuthentication.SignOut();
|
|---|
| 48 | Response.Redirect("login.aspx");
|
|---|
| 49 | }
|
|---|
| 50 | protected void KolejnaProba_Click(object sender, EventArgs e)
|
|---|
| 51 | {
|
|---|
| 52 | Response.Redirect("platnosc.aspx");
|
|---|
| 53 | }
|
|---|
| 54 |
|
|---|
| 55 | private string status;
|
|---|
| 56 | public string StatusPlatnosci
|
|---|
| 57 | {
|
|---|
| 58 | get
|
|---|
| 59 | {
|
|---|
| 60 | return status;
|
|---|
| 61 | }
|
|---|
| 62 | set
|
|---|
| 63 | {
|
|---|
| 64 | status = value;
|
|---|
| 65 | }
|
|---|
| 66 | }
|
|---|
| 67 | }
|
|---|