ob_start(); header('content-type: text/html; charset=utf8'); include"inc/inc.config.php"; include('inc/inc.functions.php'); include('inc/function.php'); include"inc/cookie.php"; $id=$_GET[id]; if (is_numeric($id)){ $tour_var=bazadan_tur($id,name); if($tour_var){ $baza_cat=bazadan_tur($id,category); $baza_tur=bazadan_tur($id,tour); $turgece= bazadan_tur($id,period); $sonuc_gece = mysql_query("select * from gece where id='$turgece'"); $yaz_gece = mysql_fetch_assoc($sonuc_gece); $sonuc_price = mysql_query("select * from tour_prices where tour_id='$id'"); $yaz_price = mysql_fetch_assoc($sonuc_price); $update_hit = mysql_query("update tours set hit=hit+1 where id='$id'"); $sonuc_table = mysql_query("select * from tour_hotels where tour_id='$id'"); $yaz_table = mysql_fetch_assoc($sonuc_table); $sonuc_tur = mysql_query("select * from bolgeler where id='$baza_tur'"); $yaz_tur = mysql_fetch_assoc($sonuc_tur); $sonuc_cat = mysql_query("select * from category where id='$baza_cat'"); $yaz_cat = mysql_fetch_assoc($sonuc_cat); $baza_hotel=bazadan_tur($id,hotel); $sonuc_hotel = mysql_query("select * from hotel where id='$baza_hotel'"); $yaz_hotel = mysql_fetch_assoc($sonuc_hotel); if(bazadan_tur($id,cur) == "0"){ $valyuta="AZN";} elseif(bazadan_tur($id,cur) == "1") {$valyuta="USD";} elseif(bazadan_tur($id,cur) == "2") {$valyuta="EUR";} ?>