|
|
|
|
include('funciones.php') ?>
include('db.php');
$nonext="";
$sql="SELECT * FROM savspecial where mkhora>=".mktime(0, 0, 0, $_REQUEST['mespickup'], $_REQUEST["diapickup"], $_REQUEST['yearpickup'])." and mkhora<=".mktime(0, 0, 0, $_REQUEST['mesreturn'], $_REQUEST["diareturn"], $_REQUEST['yearreturn'])." and cCodIntern='".$_REQUEST['tipo']."'";
$result = mysql_db_query(DV ,$sql) or die ("Could not query ".DV);
if (mysql_affected_rows() > 0)
{
$nonext="1";
$nonext2=" Sorry, we do not have disponibility for that dates ";
}
if ($nonext!="" or $_REQUEST["ch"]=="1" or $HTTP_SESSION_VARS["reservaciones1"]=="1")
{
session_unset();
session_destroy();
?>
|
|
|
}else{ ?>
include('flota.php');
?>
|
|
|
|
 |
|
|
|