Çıtır Kids
siparisver ". $_REQUEST['siparisver'].""; if ( isset($_GET['siparisver'])){ $uye_id = $_SESSION["uyeid"]; $siparis_id = rand(1,10000000); if (isset($uye_id)) { $sql = "select id,urun_id,uye_id,miktar,snot siparismi FROM siparis where siparismi = 'H' and uye_id=".$uye_id; $query= mysql_query($sql); while($sql= mysql_fetch_array($query) ) { $wid = $sql["id"]; $wnotId = "not_".$wid; $wadetId = "adet_".$wid; $not = $_REQUEST[$wnotId]; $adet = $_REQUEST[$wadetId]; $wuSql = "update siparis set snot='".$not."', miktar=".$adet.", siparis_id=".$siparis_id.", siparismi='E', siparis_tarih=NOW() where siparismi='H' and id=".$wid; $yonetici_sil_sorgu2 = mysql_query($wuSql); /* Orderse bir topluluk halinde id ver sepet yap */ } $siparis_sepet=mysql_query("insert into siparis_sepet (siparis_id,uye_id) values ('$siparis_id','$uye_id'); "); $yonetici_sil_sorgu3 = mysql_query($siparis_sepet); } header('Location:'.$_SERVER['HTTP_REFERER']); } /* sepetten ürün çıkart */ if ( isset($_GET['cikart']) ){ $uye_id = $_SESSION["uyeid"]; $gelen =$_REQUEST["cikart"]; if (isset($uye_id)) { $sql = "select id,urun_id,uye_id,miktar, siparismi FROM siparis where siparismi = 'H' and id='".$gelen."' and uye_id=".$uye_id ; $query= mysql_query($sql); while($sql= mysql_fetch_array($query) ) { $wid = $sql["id"]; $yonetici_sil_sorgu2 = mysql_query("delete from siparis where siparismi='H' and id=".$wid); $yonetici_sil_sorgu3 = mysql_query("delete from siparis_renk where siparis_id=".$wid.""); } } // header('Location:'.$_SERVER['HTTP_REFERER']); } ?> Ürün Başarı ile Eklenmiştir ('.$urunid.') ! ' ; } header('Location:'.$_SERVER['HTTP_REFERER']); } else { $bilgi = '
Hiç renk seçmediniz!
' ; } setcookie('urun['.$id.']', $id, time() + 86400); header('Location:'.$_SERVER['HTTP_REFERER']); } /* Empty Cart */ if ( isset($_GET['bosalt']) ){ foreach ( $_COOKIE['urun'] as $key => $val ){ setcookie('urun['.$key.']', $key, time() - 86400); } header('Location:'.$_SERVER['HTTP_REFERER']); } /* sepetten ürün çıkart */ if ( isset($_GET['cikart']) ){ setcookie('urun['.$_GET['cikart'].']', $_GET['cikart'], time() - 86400); header('Location:'.$_SERVER['HTTP_REFERER']); } ?>
'; } if (($xurl1==null)) { echo ' '; }else{ echo ' '; } if (($xurl2==null)) { echo ' '; }else{ echo ''; } if (($xurl3==null)) { echo ' '; }else{ echo ''; } if (($xurl4==null)) { echo ' '; }else{ echo ''; } ?>
'; } if (($xurl1==null)) { echo ' '; }else{ echo ' '; } if (($xurl2==null)) { echo ' '; }else{ echo ' '; } if (($xurl3==null)) { echo ' '; }else{ echo ' '; } if (($xurl4==null)) { echo ' '; }else{ echo ' '; } ?>

Product Name:

Featuresi

Age range

Choose Color

'; ?>
    '.$qrenk.' '; } } ?>
[sepetten çıkart]' : ' ').' '; ?>

Other products

'; } ?>