@require("admin/config.php"); //convertiamo i caratteri speciali ma non l'apostrofo ' $com = htmlentities($com); $str_1 = array('ò','à ','ì' ,'è','é','ù' ); $str_2 = array('ò','à','ì','è','é','ù'); $com = str_replace($str_1, $str_2, $com); $prov = htmlentities($prov); $str_1 = array('ò','à ','ì' ,'è','é','ù' ); $str_2 = array('ò','à','ì','è','é','ù'); $prov = str_replace($str_1, $str_2, $prov); if($tipo and $reg && $prov==NULL && $com==NULL ){ $result1 = mysql_query("select regione from $table where regione = '$reg' "); list($regione) = mysql_fetch_row($result1); $info= "$regione";} if($tipo and $reg and $prov && $com==NULL ){ $result2 = mysql_query("select provincia from $table where provincia = '$prov' "); list($provincia) = mysql_fetch_row($result2); $info= "$provincia";} if($tipo and $reg and $prov and $com ){ $result3 = mysql_query("select comune from $table where comune = '$com' "); list($comune) = mysql_fetch_row($result3); $info= "$comune";} if($tipo && $reg==NULL && $prov==NULL && $com==NULL ){$info= "$tipo";} if($zona){ $result4 = mysql_query("select zona from $table where zona = '$zona' "); list($zona) = mysql_fetch_row($result4); $info= "$zona";} if($struttura){ $result5 = mysql_query("select * from $table where nome_struttura = '$struttura' "); list($id,$nome,$tipo1,$regione,$prov,$comune,$localita,$cap,$indirizzo,$zona1,$stelle,$posti_letto,$telefono,$coor_lat,$coor_long,$web,$email,$descrizione_breve,$descrizione_lunga,$categoria,$data,$data_mod,$hit,$hit_tot,$promozione,$prezzo_min,$prezzo_max,$servizi) = mysql_fetch_row($result5); $info= "$tipo1 $nome a $comune ($prov) - $regione";} ?>
- Viaggiare-Italia, la risorsa per trovare hotel, campeggi, agriturismi, bed & breakfast, case vacanza, villaggi per la tua vacanza in italia al mare in campagna, in collina, in montagna o in città"> , echo"$tipo1"; ?>, echo"$prov"; ?>, echo"$regione"; ?>, echo"$comune"; ?>,viaggiare-italia, italia, viaggiare, viaggi, vacanza, vacanza mare, vacanza montagna, vacanza campagna, vacanza estate, vacanza inverno, vacanza neve, prenotare online,"> /stile2.css" rel="stylesheet" title="testo1" media="screen">(c) 2009 Riproduzione vietata - All rights reserved “Viaggiare-Italia”| privacy | Network
sito sviluppato da EasyWebAgency |