protected void Page_Load(object sender, EventArgs e) { kullanicilar.kAdi = Request.QueryString["KullaniciAdi"]; lblMail.Text = kullanicilar.KullaniciMailDonder(); lblKAd.Text = kullanicilar.KullaniciAdiDonder(); lblParola.Text = kullanicilar.KullaniciParolaDonder(); GununSozu.Visible = false; if (lblKAd.Text == "admin") { GununSozu.Visible = true; lblGunSozu.Text = kullanicilar.GununSozuGetir(); } }
protected void Page_Load(object sender, EventArgs e) { lblGirisMesaj.Visible = false; lnkCikis.Visible = false; if (Request.Cookies["cerezDosyam"] != null) { HttpCookie cerezOku = Request.Cookies["cerezdosyam"]; kullanicilar.kAdi = cerezOku["kAd"].ToString(); lblGirisMesaj.Visible = true; lblGirisMesaj.Text = "Allahın Selamı Üzerinize Olsun " + kullanicilar.KullaniciAdiDonder(); lnkCikis.Visible = true; txtKAd.Visible = false; txtParola.Visible = false; lnkUyeOl.Visible = false; btnGiris.Visible = false; } }