include "ayar.php";
include "function.php";
$sorgu25 = mysqli_query($mysqli, "SELECT * FROM ayarlar WHERE id='1'");
$sonuc25 = $sorgu25->fetch_assoc();
$ayar = mysqli_fetch_assoc($sorgu25);
$id = mysqli_real_escape_string($_GET["id"]);
$fid = mysqli_real_escape_string($_GET["id"]);
$sorgu255 = mysqli_query($mysqli, "SELECT * FROM sayfa WHERE id='$id'");
$sonuc255 = $sorgu255->fetch_assoc();
$sayfa = mysqli_fetch_assoc($sorgu255);
?>
Online Dekorasyon - Gülseven Halı
$sorgu = mysqli_query($mysqli, "SELECT * FROM kategoriler WHERE katid='1'");
$sonuc = $sorgu->fetch_assoc();
$ilkkategori = mysqli_fetch_assoc($sorgu);
$sorgu2 = mysqli_query($mysqli, "SELECT * FROM urunler WHERE katid='".$ilkkategori["id"]."'");
$sonuc2 = $sorgu2->fetch_assoc();
$ilkurun = mysqli_fetch_assoc($sorgu2);
?>
$renk1 = mysqli_query($mysqli, "SELECT * FROM urunresimler WHERE urunid='".$ilkurun["id"]."' and renkid='1'");
$sonuc11 = $renk1->fetch_assoc();
$renk1 = mysqli_fetch_assoc($renk1);
$renk2 = mysqli_query($mysqli, "SELECT * FROM urunresimler WHERE urunid='".$ilkurun["id"]."' and renkid='2'");
$sonuc22 = $renk2->fetch_assoc();
$renk2 = mysqli_fetch_assoc($renk2);
$renk3 = mysqli_query($mysqli, "SELECT * FROM urunresimler WHERE urunid='".$ilkurun["id"]."' and renkid='3'");
$sonuc33 = $renk3->fetch_assoc();
$renk3 = mysqli_fetch_assoc($renk3);
$renk4 = mysqli_query($mysqli, "SELECT * FROM urunresimler WHERE urunid='".$ilkurun["id"]."' and renkid='4'");
$sonuc44 = $renk4->fetch_assoc();
$renk4 = mysqli_fetch_assoc($renk4);
$renk5 = mysqli_query($mysqli, "SELECT * FROM urunresimler WHERE urunid='".$ilkurun["id"]."' and renkid='5'");
$sonuc55 = $renk5->fetch_assoc();
$renk5 = mysqli_fetch_assoc($renk5);
$renk6 = mysqli_query($mysqli, "SELECT * FROM urunresimler WHERE urunid='".$ilkurun["id"]."' and renkid='6'");
$sonuc66 = $renk6->fetch_assoc();
$renk6 = mysqli_fetch_assoc($renk6);
?>