protected void incele_butonu_kiz_cocuk_1_Command(object sender, CommandEventArgs e) { if (Session["kullanici_adi"] != null) { try { Komutlar.İnceleSifirlama(e); Komutlar.uyeCekme(); Komutlar.İnceleButonu(e); Komutlar.KategoriCekme(); Komutlar.urun_inceleme_Uye(); Response.Redirect("urun_detayi.aspx"); } catch { } } else { Komutlar.İnceleSifirlama(e); Komutlar.İnceleButonu(e); Komutlar.KategoriCekme(); Response.Redirect("urun_detayi.aspx"); } }
protected void incele_butonu_Command(object sender, CommandEventArgs e) { if (Session["kullanici_adi"] != null) { try { Komutlar.İnceleSifirlama(e); Komutlar.uyeCekme(); Komutlar.İnceleButonu(e); Komutlar.KategoriCekme(); Komutlar.urun_inceleme_Uye(); Komutlar.Benzer_incelendi_Sifirlama(); Komutlar.Benzer_incelendi(); Komutlar.benzerlik_Urunleri(); Komutlar.benzerlik_uye_cekme(); } catch { } } else { Komutlar.İnceleSifirlama(e); Komutlar.İnceleButonu(e); Komutlar.KategoriCekme(); Komutlar.Benzer_incelendi_Sifirlama(); } Response.Redirect("urun_detayi.aspx"); }
protected void Page_Load(object sender, EventArgs e) { if (Session["kullanici_adi"] != null) { try { Sepet_verileri_forUyeID.Visible = true; Sepet_verileri.Visible = false; KullanıciAdi.InnerText = Session["kullanici_adi"].ToString(); KullanıciAdi.Style.Add("color", "red"); hosgeldin.Style.Add("color", "red"); cıkıs_butonu.Style.Add("color", "red"); hosgeldin.Visible = true; KullanıciAdi.Visible = true; cıkıs_butonu.Visible = true; girisbutonu.Visible = false; Komutlar.Kullanici_Sepetleri_Null(); Komutlar.uyeCekme(); Komutlar.Kullanici_Sepetleri(); Sepet_Urun_Sayisi_Kullanici(); } catch { } } else { Sepet_verileri_forUyeID.Visible = false;; Sepet_verileri.Visible = true; Sepet_Urun_Sayisi(); page_and_exit_For_Offline(); OracleConnection cnn = new OracleConnection(connStr); OracleCommand comand = new OracleCommand(); comand.Connection = cnn; comand.CommandText = "update giyim_kullanicilar set durum='offline' where kullanici_id='" + kullanici_id + "' "; comand.CommandType = CommandType.Text; cnn.Open(); comand.ExecuteNonQuery(); cnn.Close(); girisbutonu.Visible = true; hosgeldin.Visible = false; KullanıciAdi.Visible = false; cıkıs_butonu.Visible = false; } }
protected void Page_Load(object sender, EventArgs e) { if (Session["kullanici_adi"] != null) { try { Komutlar.uyeCekme(); urun_fiyati_ForUye(); tbody_genel.Visible = false; tbody_ForUye.Visible = true; } catch { } } else { tbody_genel.Visible = true; tbody_ForUye.Visible = false; urun_fiyati(); } }