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["ciudad"]) and isset($_GET["fechaentrada"])) { $ciudad=$_GET["ciudad"]; $fechaentrada=$_GET["fechaentrada"]; $fechaentradabd=substr($fechaentrada, 6, 4)."/".substr($fechaentrada, 3, 2)."/".substr($fechaentrada, 0, 2); $hotelesadultos=$_GET["hotelesadultos"]; $hotelesmenores=$_GET["hotelesmenores"]; $sqlciudadinicial="Select * From destinos Where clave='$ciudad'"; $rsciudadinicial=mysqli_query($conexion, $sqlciudadinicial) or die(mysqli_error()); } else { $sqlciudadinicial="Select * From destinos Where inicial='s'"; $rsciudadinicial=mysqli_query($conexion, $sqlciudadinicial) or die(mysqli_error()); $fecha01x = date("Y/m/d"); // exclusivo para modulo de HOTELES en el motor $fecha02x = strtotime( "$fecha01x +7 DAY"); $fechaentrada = date("d/m/Y",$fecha02x); $fechaentradabd = substr($fechaentrada, 6, 4)."/".substr($fechaentrada, 3, 2)."/".substr($fechaentrada, 0, 2); $hotelesadultos = 2; $hotelesmenores = 0; } $rowciudadinicial=mysqli_fetch_array($rsciudadinicial); $ciudad=$rowciudadinicial['clave']; $nombreciudad=$rowciudadinicial['ciudad']; $sqllistadohotelesporciudad="Select * From hoteles Where ciudadclave='$ciudad' and activo='s'"; // base de datos para todo el sitio $rslistadohotelesporciudad=mysqli_query($conexion, $sqllistadohotelesporciudad) or die(mysqli_error()); $sqltitulohotel="Select * From titulos_hoteles Where lang='$LANG'"; $rstitulohotel=mysqli_query($conexion, $sqltitulohotel) or die(mysqli_error()); $rowtitulohotel=mysqli_fetch_array($rstitulohotel); $sqltitulopersonalizado="Select * From titulos_personalizados Where lang='$LANG'"; $rstitulopersonalizado=mysqli_query($conexion, $sqltitulopersonalizado) or die(mysqli_error()); $rowtitulopersonalizado=mysqli_fetch_array($rstitulopersonalizado); ?>
require_once('m-htmlphp/encabezado-02-iso.php'); ?> require_once('m-htmlphp-hotel/hoteles-titulodescripcion.php'); ?> require_once('m-htmlphp/encabezado-04-cssjs.php'); ?>