$link=$db->get_row("select link from config",ARRAY_A);
echo '
'._URUNLERIMIZ.' / '.$urun_details["urun_ad_$dil"].'
';
?>
if (($urun_details["resim_buyuk"]!="") and file_exists("upload/".$urun_details["resim_buyuk"]))
{
$boyut=getimagesize("upload/".$urun_details["resim_buyuk"]);
$width=$boyut[0];
$height=$boyut[1];
if($width>388) $w=388;
else $w=$width;
$h=floor($w*$height/$width);
echo '
';
echo '';
echo '';
}
?>
$sql="SELECT * from resim where tablo='urun' and tablo_id='$urun_details[urun_id]' and resim_aktif='1' order by sira";
$resimler = $db->get_results($sql,ARRAY_A);
if($db->num_rows > 0)
{
?>
$x=0;
foreach ($resimler as $resim)
{
if($x%3==0) echo '';
?>
if (($resim["thumb"]!="") and file_exists("upload/".$resim["thumb"]))
{
$boyut=getimagesize("upload/".$resim["thumb"]);
$width=$boyut[0];
$height=$boyut[1];
$w=125;
$h=floor($w*$height/$width);
echo ' ';
echo '';
echo '';
}
?>
|
|
$x++;
if($x%3==0) echo '
';
}
?>
}
?>
echo '
';
echo $urun_details["urun_aciklama_$dil"];
echo '
';
echo '
';
echo '
';
?>