Español | HOME  
Hotels
  Destinations:
Shopping Cart
Reservation Status
Reservation Code:
 
Forgot your code? Click here!
Transfers
Destination    
  
Airport-Hotel:      
Hotel-Airport:      
Round Trip 
 Private Transfer? Click here!
Offers
No offers
HOME > Hotels > Search Results

0) { ?>

Search Results

=" . $_POST['cboAdultos'.$i] . " AND habitaciones.cantidadNinnos >=" . $_POST['cboNenes'. $i]; $campos1[$i-1] = "a$i=" . $_POST['cboAdultos'.$i] . "&n$i=" . $_POST['cboNenes'. $i]; for ($j = 1; $j <= $_POST['cboNenes'. $i]; $j++) { $campos2[$z] = "e$i$j=" . $_POST['cboEdad'.$i.$j]; $z++; } } $cond = implode(" AND ", $campos); //url de Reserve con ctodos los datos de las personas $cond1 = "h=" . $rooms . "&" . implode("&", $campos1) . "&" . implode("&", $campos2) ; // calculo de la antelacion list ($mes,$dia,$ano) = explode ("/",$date1); $fecha_final = strtotime("$ano-$mes-$dia"); $ant = ceil(($fecha_final-time())/86400); $cond2 = "antelacion <= $ant"; list ($mes,$dia,$ano) = explode ("/",$date2); $fecha_final2 = strtotime("$ano-$mes-$dia"); $dias = ceil(($fecha_final2-$fecha_final)/86400); $cond3 = "noches_min <= $dias"; // fin calculo antelacion $cond4 = ($_POST['plan'] >0 ? "AND hoteles.idPlan = " . $_POST['plan'] : ""); //echo $cond1; $sql = "SELECT hoteles.*, planes.nombreI as plan, categorias.nombre as categoria, MIN(habitaciones.cantidadAdultos) FROM (((hoteles LEFT JOIN habitaciones ON hoteles.idHotel = habitaciones.idHotel) LEFT JOIN categorias ON hoteles.idCategoria = categorias.idCategoria) LEFT JOIN planes ON hoteles.idPlan = planes.idPlan) WHERE idDestino =" . $destino ." and hoteles.nombreI like '%" . mysql_escape_string(trim($_POST['hotel'])) . "%' and $cond and $cond2 and $cond3 $cond4 GROUP BY hoteles.idHotel ORDER BY nombreI "; $resultado = mysql_query($sql); if (mysql_num_rows($resultado) > 0) { ?>
0) { $f = MYSQL_RESULT($foto,0,"foto"); if (!(is_null($f) || $f == "") || $row['idDestino'] == 0 ) { mysql_select_db("sitio", $link); $sql = "SELECT * FROM destinos WHERE DI_id = " . $row['idDestino']; $d = mysql_query($sql); ?> /" alt="" width="113" height="99" class="image1" style="margin-right:10px"> More Info | Gallery  0){ $texto = ""; for($j=1;$j<=$e;$j++) { $texto .= ''; } echo "
" . $texto; } ?>

Plan:
Nights/PAX
= concat(MID(fecha1,7,4),'-',MID(fecha1,4,2),'-',MID(fecha1,1,2))) ) ) "; //echo $sql; $t = mysql_query($sql); if (mysql_num_rows($t) > 0){ $te = MYSQL_RESULT($t,0,"promedio"); echo (is_null($te) ? "---" : "$" . $te); } else echo "---"; ?>
Nights/Room
= concat(MID(fecha1,7,4),'-',MID(fecha1,4,2),'-',MID(fecha1,1,2))) ) ) "; //echo $sql; $t = mysql_query($sql); if (mysql_num_rows($t) > 0){ $te = MYSQL_RESULT($t,0,"promedio"); echo (is_null($te) ? "---" : "$" . $te); } else echo "---"; ?>
<?php echo $t['nombreI'] ?>

No hotels found.
 
 
All rights reserved © Olympus Tours - 2004
Av. Yaxchilan S.M. 17 Mza. 2 Lote 13, Cancun, Q. Roo
(998) 881-9030 / 887-7006 Fax - Send us an Email

     Scroll Up