include("baglan.php");
$row = $db->row("select * from urunler where id=".$_GET["id"]."");
$kic=$row->icerik;
$kn_renk=$row->renk;
$kn_pdf=$row->pdf;
$aadi=$row->adi;
$row2 = $db->row("select * from urunler where id=".$_GET["g"]."");
if($row2->resim<>""){
$logo.="admin/modul/urunler/resim/".$row2->resim."";
$logo='
';
$url=''.$row2->url."";
}else{
$logo="";
}
if($row->renk<>""){
if($row->tur=="pdf"){
$kartela="admin/modul/urunler/resim/".$row->renk."";
$light="target='_blank'";
}else{
$kartela="admin/modul/urunler/resim/".$row->renk."";
$light='rel="lytebox"';
}
}else{
$kartela="#";
}
if($row->pdf){
$pdf="admin/modul/urunler/resim/".$row->pdf."";
}else{
$pdf="#";
}
if($_GET["id"]<>""){
include("include/urun.php");
}else{
include("include/rast.php");
}
?>
|