コード例 #1
0
 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();
     }
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     lnkGirisMesaj.Visible = false;
     lnkKonuEkle.Visible   = false;
     lnkCikis.Visible      = false;
     lblGunuSozuu.Text     = kullanicilar.GununSozuGetir();
     if (Request.Cookies["cerezDosyam"] != null)
     {
         HttpCookie cerezOku = Request.Cookies["cerezdosyam"];
         kullanicilar.kAdi     = cerezOku["kAd"].ToString();
         lnkGirisMesaj.Visible = true;
         lnkGirisMesaj.Text    = "Allahın Selamı Üzerinize Olsun " + kullanicilar.KullaniciAdiDonder();
         lnkCikis.Visible      = true;
         lnkGirisYap.Visible   = false;
         lnkKonuEkle.Visible   = true;
         //txtKAd.Visible = false;
         //txtParola.Visible = false;
         lnkUyeOl.Visible = false;
         //btnGiris.Visible = false;
     }
 }