require_once('fha-config/_codigohotel.php');
require_once('fha-config/_abrirbd.php');
$recargarpresupuesto="";
$fecha01 = date("d-m-Y"); // importante para la descripcion de google
$fecha02 = strtotime( "$fecha01 +10 DAY");
$fecha02 = date("d-m-Y",$fecha02); //Fecha de salida en formato "d-m-Y"
?>
if ($rowmoneda['moneda']==$moneda) {
$tipodecambio=$rowmoneda['tipodecambio'];
$tipodemoneda=$rowmoneda['moneda'];
$tipodetalle=$rowmoneda['detalle'];
} ?>
} ?>
} ?>
require_once('fha-config/_nombre_hotel.php'); ?>
$sqloferthoy="Select * From habitacionesporhotel Where clavehotel='$clavehotel' and activo='s' order by orden";
mysql_select_db(SQL_DB);
$rsoferashoy=mysql_query($sqloferthoy) or die(mysql_error());
$fechahoy = date("Y-m-d");
?>
DESDE:
while($rowofertashoy=mysql_fetch_array($rsoferashoy)) {
$habit=$rowofertashoy["clavehabitacion"];
$sqlprecioh="SELECT precioSGL FROM `tarifas` WHERE fecha='$fechahoy' and hotel='$clavehotel' and habitacion='$habit';";
mysql_select_db(SQL_DB);
$rsprecioh=mysql_query($sqlprecioh) or die(mysql_error());
$rowprecioh=mysql_fetch_array($rsprecioh);
?>
echo $rowofertashoy["clave"]; ?>: $ echo number_format(ceil($rowprecioh["precioSGL"]/$tipodecambio), 2 , "." , ","); ?>
} ?>
MXN PESOS MEXICANOS