escape($str)); else return trim($str); } ?>
'; $sql="SELECT * from urun where urun_aktif='1' order by sira"; $urunler = $db->get_results($sql,ARRAY_A); if($db->num_rows > 0) { echo ''; } echo '
'; echo '
'; echo '
'; $sql="SELECT * from resim where tablo='sayfa' and tablo_id='8' and resim_aktif='1' order by sira"; $bannerlar = $db->get_results($sql,ARRAY_A); if($db->num_rows > 0) { echo '
'; echo '
'; echo '
'; foreach ($bannerlar as $banner) { if (($banner["thumb"]!="") and file_exists("upload/".$banner["thumb"])) { echo ''; } } echo '
'; echo '
'; } echo '
'; echo '
'; echo '
'; echo $pd["icerik_$dil"]; $haberler = $db->get_results("SELECT * from haber where haber_aktif='1' order by sira desc",ARRAY_A); if($db->num_rows>0) { echo ''; } echo '
'; ?>