require_once('__fha_config/_abrirbd.php'); ?> require_once('m-htmlphp-hotel/_cookie_hotel.php'); ?> require_once('m-htmlphp/encabezado-01-idioma.php'); ?> if (isset($_GET["clavehotel"])) { $clavehotel=$_GET["clavehotel"]; } else { // busca un hotel aleatorio $sqltotalpax="Select * From hoteles Where activo='s' ORDER BY RAND() LIMIT 1"; $rstotalpax=mysqli_query($conexion, $sqltotalpax) or die(mysqli_error()); $rowtotalpax=mysqli_fetch_array($rstotalpax); $clavehotel=$rowtotalpax['hotelclave']; } $sqltotalpax="Select * From hoteles Where hotelclave='$clavehotel' and activo='s'"; $rstotalpax=mysqli_query($conexion, $sqltotalpax) or die(mysqli_error()); $rowtotalpax=mysqli_fetch_array($rstotalpax); $totalmenores=$rowtotalpax['maxmenores']; $totaladultos=$rowtotalpax['maxpax']; $totalpaxporhabitacion=$totaladultos=$rowtotalpax['maxpax']; $ciudad=$rowtotalpax['ciudadclave']; $sqldetallehotel="Select * From hoteles_detalle Where hotelclave='$clavehotel' and lang='$LANG'"; $rsdetallehotel=mysqli_query($conexion, $sqldetallehotel) or die(mysqli_error()); $rowdetallehotel=mysqli_fetch_array($rsdetallehotel); $sqltitulohotel="Select * From titulos_hoteles Where lang='$LANG'"; $rstitulohotel=mysqli_query($conexion, $sqltitulohotel) or die(mysqli_error()); $rowtitulohotel=mysqli_fetch_array($rstitulohotel); $sqlfotoshotel="Select * From hoteles_fotos Where clavehotel='$clavehotel'"; $rsfotoshotel=mysqli_query($conexion, $sqlfotoshotel) or die(mysqli_error()); $sqlplanes="Select * From habitacionesporhotel Where clavehotel='$clavehotel' and activo='s' ORDER by orden"; $rsplanes=mysqli_query($conexion, $sqlplanes) or die(mysqli_error()); $sqlciudadinicial="Select * From destinos Where clave='$ciudad'"; $rsciudadinicial=mysqli_query($conexion, $sqlciudadinicial) or die(mysqli_error()); $rowciudadinicial=mysqli_fetch_array($rsciudadinicial); ?>
require_once('m-htmlphp/encabezado-02-iso.php'); ?> require_once('m-htmlphp-hotel/hotel-titulodescripcion.php'); ?> require_once('m-htmlphp/encabezado-04-cssjs.php'); ?>