예제 #1
0
        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");
            }
        }
예제 #2
0
        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");
        }
예제 #3
0
        public static void urun_inceleme_Uye()
        {
            OracleConnection cnn1    = new OracleConnection(connStr);
            OracleCommand    comand1 = new OracleCommand();

            comand1.Connection = cnn1;
            cnn1.Open();
            comand1.CommandText = "select * from urun_satislar where kullanici_id='" + kullanici_id + "' and urun_id='" + urun_id + "'";
            comand1.CommandType = CommandType.Text;
            OracleDataReader dr = comand1.ExecuteReader();

            if (dr.Read())
            {
                try
                {
                }
                catch
                {
                }
            }
            else
            {
                Komutlar.Urun_satislar_Ekle();
            }

            cnn1.Close();
        }
예제 #4
0
        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;
            }
        }
예제 #5
0
 protected void LinkButton1_Command(object sender, CommandEventArgs e)
 {
     Komutlar.UrunPuanArtirimi(e);
     Response.Redirect(Request.RawUrl);
     if (Session["kullanici_adi"] != null)
     {
         try
         {
         }
         catch
         {
             Response.Write("Hatalı giris yaptınız yeniden deneyin");
         }
     }
     else
     {
     }
 }
예제 #6
0
        protected void LinkButton1_Command(object sender, CommandEventArgs e)
        {
            if (Session["kullanici_adi"] != null)
            {
                try
                {
                    Komutlar.Sepet_Null_For_Uye(e);
                }
                catch
                {
                }
            }
            else
            {
                Komutlar.Sepet_Null(e);
            }

            Response.Redirect(Request.RawUrl);
        }
예제 #7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Komutlar.KategoriCekme();
     Komutlar.BenzerUrunlerİncele();
     if (Session["kullanici_adi"] != null)
     {
         try
         {
             onerlilertag.Visible = true;
             onerilertag2.Visible = true;
         }
         catch
         {
         }
     }
     else
     {
         onerlilertag.Visible = false;
         onerilertag2.Visible = false;
     }
 }
예제 #8
0
        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();
            }
        }
예제 #9
0
        protected void LinkButton1_Command(object sender, CommandEventArgs e)
        {
            if (Session["kullanici_adi"] != null)
            {
                try

                {
                    Uye_sepet_Ekle(e);

                    urun_inceleme_Uye1();
                }
                catch
                {
                }
            }
            else
            {
                Komutlar.Sepet_Ekle(e);
            }

            Komutlar.UrunPuanArtirimi(e);

            Response.Redirect(Request.RawUrl);
        }
예제 #10
0
 protected void LinkButton1_Command(object sender, CommandEventArgs e)
 {
     Komutlar.UrunPuanArtirimi(e);
     Response.Redirect(Request.RawUrl);
 }