$page = "tours"; include('header.php'); (int)$t = $_GET['t']; $result = $connection -> query("SELECT * FROM tours WHERE tour_id = '$t'") or die($connection -> mysqli_error); if($row = $result -> fetch_array(MYSQLI_ASSOC)){ $imagem = $row['tour_imagem']; if($lang == 'pt'){ $texto = $row['tour_texto']; $titulo = $row['tour_titulo']; }elseif($lang == 'en'){ $texto = $row['tour_texto_en']; $titulo = $row['tour_titulo_en']; }elseif($lang == 'es'){ $texto = $row['tour_texto_es']; $titulo = $row['tour_titulo_es']; }elseif($lang == 'fr'){ $texto = $row['tour_texto_fr']; $titulo = $row['tour_titulo_fr']; } } ?> Home Tour - Tours $result = $connection -> query("SELECT * FROM tours WHERE tour_online='0' and tour_id <> '$t'") or die($connection -> error); while($row = $result -> fetch_array(MYSQLI_ASSOC)){ ?> if($lang == 'pt'){ ?> } ?> include('footer.php'); ?>