RESERVA ONLINE

window.alert ('Telefono no es válida'); "; } if ($_GET['err'] == 2) {echo "" ; } include("funk/connect.php"); $d = $_GET['giorno']; $m = $_GET['mese']; $y = $_GET['anno']; if($_GET['giorno'] < 10 && strlen($_GET['giorno']) == 1) $d = "0".$_GET['giorno']; if($_GET['mese'] < 10 && strlen($_GET['mese']) == 1) $m = "0".$_GET['mese']; $date = $y."-".$m."-".$d; $n = $_GET['notti']; $c = addslashes(stripslashes($_GET['codice'])); if(!checkdate($m,$d,$y) || $date
Introduzca una fecha válida:

Fecha de llegada:


Número de noches:


"; }else{ if ($n < 7){ $datetime = new DateTime($date); echo ""; echo ""; echo ""; $q = mysql_query("SELECT * FROM camera")or die(mysql_error()); while ($row = mysql_fetch_array($q)){ $count = $n; echo ""; $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date1' AND id_c='$row[id_c]'") or die (mysql_error()); $kk = mysql_query("SELECT * FROM prezzi WHERE '$date1' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date2' AND id_c='$row[id_c]'") or die (mysql_error()); $kk = mysql_query("SELECT * FROM prezzi WHERE '$date2' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date3' AND id_c='$row[id_c]'") or die (mysql_error()); $kk = mysql_query("SELECT * FROM prezzi WHERE '$date3' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date4' AND id_c='$row[id_c]'") or die (mysql_error()); $kk = mysql_query("SELECT * FROM prezzi WHERE '$date4' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date5' AND id_c='$row[id_c]'") or die (mysql_error()); $kk = mysql_query("SELECT * FROM prezzi WHERE '$date5' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date6' AND id_c='$row[id_c]'") or die (mysql_error()); $kk = mysql_query("SELECT * FROM prezzi WHERE '$date6' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date7' AND id_c='$row[id_c]'") or die (mysql_error()); $kk = mysql_query("SELECT * FROM prezzi WHERE '$date7' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} echo ""; } echo "
"; $date1 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date2 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date3 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date4 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date5 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date6 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date7 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo "
$row[nome_sp] 0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE
"; }else{ $datetime = new DateTime($date); echo ""; echo ""; echo ""; $q = mysql_query("SELECT * FROM camera")or die(mysql_error()); while ($row = mysql_fetch_array($q)){ $count = $n; echo ""; $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date1' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date1' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date2' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date2' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date3' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date3' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date4' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date4' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date5' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date5' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date6' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date6' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date7' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date7' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} echo ""; } echo "
"; $date1 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date2 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date3 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date4 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date5 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date6 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date7 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo "
$row[nome_sp] 0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE
"; echo "
"; $datetime->modify('+1 day'); echo ""; echo ""; echo ""; $q = mysql_query("SELECT * FROM camera")or die(mysql_error()); while ($row = mysql_fetch_array($q)){ echo ""; $count = $n-7; $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date1' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date1' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date2' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date2' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date3' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date3' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date4' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date4' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date5' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date5' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date6' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date6' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} $w = mysql_query("SELECT * FROM disponibilita WHERE data = '$date7' AND id_c='$row[id_c]'") or die (mysql_error());$kk = mysql_query("SELECT * FROM prezzi WHERE '$date7' BETWEEN data_in AND data_fi AND id_c='$row[id_c]' ORDER BY data_fi ASC") or die (mysql_error()); $krow=mysql_fetch_array($kk); if (mysql_num_rows($w) < $row[num]){ echo ""; }else{ echo "";} echo ""; } echo "
"; $date1 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date2 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date3 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date4 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date5 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date6 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo ""; $datetime->modify('+1 day'); $date7 = $datetime->format('Y-m-d'); echo $datetime->format('d/m/Y'); echo "
$row[nome_sp] 0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE0){$count--; echo "background: #B6E0B3 !important;"; } echo "\"> DISPONIBLE
Restante: ".($row[num] - mysql_num_rows($w))."
Costo: $krow[prezzo],00€
0){$count--; echo "background: #E2B1B1 !important;"; } echo "\">NO DISPONIBLE
"; } echo "

FORMULARIO DE RESERVA


"; echo "

ATENCIÓN. Los datos introducidos se utilizan exclusivamente garantizar el Hotel Continental,
en la reserva no vendrá cargada cualquier cantidad.

"; echo "

Recordemos también que la forma en que se colocan los siguientes datos está protegido y seguro para proteger al cliente.

"; echo "

Fecha de llegada: "; $datetime = new DateTime($date); echo ""; echo $datetime->format('d/m/Y'); for ($i =0;$i<$n;$i++) $datetime->modify('+1 day'); echo " Deja fecha: "; echo $datetime->format('d/m/Y'); echo " Noches: $n


"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Datos personales:
Nombre y apellido:
Teléfono:
Email:

"; echo ""; echo ""; echo ""; echo ""; echo "
Datos de la reserva:
Habitación:"; echo ""; echo "
Número de invitados:

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Datos de débito / tarjeta de crédito:
Número de tarjeta:
expirará en:
Titular:
"; echo "
"; echo ""; echo ""; echo ""; echo "
"; } ?>

HOTEL CONTINENTAL - Via Roma 16 - 31100 - Treviso (TV)
Tel: 0422 411216 | Fax: 0422 55054 | E-mail: info@hcontinental.it
P.IVA 00177460268 | Sitemap | Notas Legales

Powered by FPCos