include("includes/conn.php"); include("includes/functions.php"); $lang=$_GET[lang]; if ($lang=="") { $lang="it"; } $query=mysql_query("SELECT * FROM pagine where id='$_GET[idpag]'"); $row=mysql_fetch_assoc($query); $rsFoto=mysql_query("select * from fotografie where paginaID='2' order by ordina asc limit 1"); $row_rsFoto=mysql_fetch_assoc($rsFoto); $paginahtml="/details-villa/".$row[id].".html"; ?>