2010-05-07 11:33:32 +00:00
< html >
< head >
< title > Promociones - La Villa de Palacios </ title >
< style type = " text/css " >
<!--
body {
background - color : #DCDCB8;
font - family : Verdana ;
}
. texto {
font - size : 12 px ;
color : #333333;
text - align : left ;
}
. textoNegrita {
font - family : Verdana ;
font - size : 12 px ;
font - weight : bold ;
color : #333333;
text - align : left ;
}
. titulos3 {
font - family : Verdana ;
font - size : 12 px ;
font - weight : bold ;
color : #669900;
}
. titulos2 {
font - family : Verdana ;
font - size : 12 px ;
font - weight : bold ;
color : #FFFFFF;
}
. link {
font - size : 12 px ;
}
. titulos1 {
font - family : Verdana , Geneva , sans - serif ;
font - size : 14 px ;
font - weight : bold ;
color : #FFFFFF;
background - color : #669900;
}
. titulos4 {
font - family : " Times New Roman " , Times , serif ;
font - size : 20 px ;
font - style : italic ;
font - weight : bold ;
color : #669900;
}
h1 {
font - family : Verdana , Geneva , sans - serif ;
font - size : 18 px ;
color : #FFF;
background - color : #690;
margin : 5 px ;
}
-->
</ style >
<!-- TinyMCE -->
< script type = " text/javascript " src = " tiny_mce/tiny_mce.js " ></ script >
< script type = " text/javascript " >
tinyMCE . init ({
mode : " textareas " ,
theme : " advanced " ,
language : 'es' ,
content_css : " tiny_mce/estilos.css " ,
theme_advanced_buttons1 : " bold,italic,underline,|,forecolor,|,undo,redo " ,
theme_advanced_buttons2 : " " ,
theme_advanced_buttons3 : " " ,
theme_advanced_toolbar_location : " top " ,
theme_advanced_toolbar_align : " left " ,
theme_advanced_resizing : true ,
theme_advanced_resize_horizontal : false
});
</ script >
<!-- / TinyMCE -->
</ head >
< body >
< ? php
2010-05-07 14:20:47 +00:00
$filename = " temporadas.dat " ;
2010-05-07 11:33:32 +00:00
if ( file_exists ( $filename )) {
2010-05-07 14:20:47 +00:00
$temporadas = unserialize ( file_get_contents ( $filename ));
2010-05-07 11:33:32 +00:00
}
2010-05-07 14:20:47 +00:00
$filename = " tarifas.dat " ;
if ( file_exists ( $filename )) {
$todas_tarifas = unserialize ( file_get_contents ( $filename ));
$tarifas = $todas_tarifas [ GENERALES ];
$completa = $todas_tarifas [ COMPLETA ];
}
2010-05-07 11:33:32 +00:00
?>
< form method = " post " action = " proceso.php " >
< input type = " hidden " name = " seccion " value = " tarifas " />
< input type = " hidden " name = " accion " value = " " />
< table width = " 700 " border = " 0 " align = " center " cellpadding = " 0 " cellspacing = " 6 " bgcolor = " #FFFFFF " >
< tr align = " left " valign = " top " >
< td bgcolor = " #669900 " >< center >
< h1 > Actualizaci & oacute ; n de las tarifas </ h1 >
</ center ></ td >
</ tr >
< tr align = " left " valign = " top " >
< td > Ir a ... < a href = " #temporadas " class = " link " > Temporadas </ a > - < a href = " #tarifas " class = " link " > Tarifas generales </ a > - < a href = " #completa " class = " link " > Tarifas de ocupaci & oacute ; n completa </ a >< br />
< br />
< table width = " 100% " border = " 0 " cellpadding = " 5 " cellspacing = " 2 " >
< tr >
< td width = " 21% " class = " titulos1 " >< a name = " temporadas " ></ a > TEMPORADAS </ td >
< td width = " 39% " class = " titulos1 " > Castellano </ td >
< td width = " 40% " class = " titulos1 " > Ingl & eacute ; s </ td >
</ tr >
< tr >
< td width = " 21% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . baja </ td >
< td width = " 39% " bgcolor = " #EEEEDB " class = " texto " >< input name = " temp-baja-cas " type = " text " size = " 40 " value = " <?php echo $temporadas[BAJA_CAS] ; ?> " ></ td >
< td width = " 40% " colspan = " 2 " bgcolor = " #EEEEDB " class = " texto " >< input name = " temp-baja-eng " type = " text " size = " 40 " value = " <?php echo $temporadas[BAJA_ENG] ; ?> " ></ td >
</ tr >
< tr >
< td width = " 21% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . media </ td >
< td width = " 39% " bgcolor = " #EEEEDB " class = " texto " >< input name = " temp-media-cas " type = " text " size = " 40 " value = " <?php echo $temporadas[MEDIA_CAS] ; ?> " ></ td >
< td width = " 40% " colspan = " 2 " align = " left " bgcolor = " #EEEEDB " class = " texto " >< input name = " temp-media-eng " type = " text " size = " 40 " value = " <?php echo $temporadas[MEDIA_ENG] ; ?> " ></ td >
</ tr >
< tr >
< td width = " 21% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Tem . alta </ td >
< td width = " 39% " bgcolor = " #EEEEDB " class = " texto " >< input name = " temp-alta-cas " type = " text " size = " 40 " value = " <?php echo $temporadas[ALTA_CAS] ; ?> " ></ td >
< td width = " 40% " colspan = " 2 " align = " left " bgcolor = " #EEEEDB " class = " texto " >< input name = " temp-alta-eng " type = " text " size = " 40 " value = " <?php echo $temporadas[ALTA_ENG] ; ?> " ></ td >
</ tr >
</ table >
< br />
< br />
< table width = " 100% " border = " 0 " cellpadding = " 5 " cellspacing = " 2 " >
< tr >
< td width = " 20% " class = " titulos1 " >< a name = " tarifas " > Tarifas generales </ a ></ td >
< td class = " titulos1 " > Individual </ td >
< td class = " titulos1 " > Doble </ td >
< td class = " titulos1 " > Cama supletoria </ td >
< td class = " titulos1 " > Cuna </ td >
< td class = " titulos1 " > Mascota </ td >
</ tr >
< tr >
< td width = " 20% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . baja </ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-baja-individual " type = " text " size = " 10 " value = " <?php echo $tarifas[BAJA] [INDIVIDUAL]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-baja-doble " type = " text " size = " 10 " value = " <?php echo $tarifas[BAJA] [DOBLE]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-baja-cama " type = " text " size = " 10 " value = " <?php echo $tarifas[BAJA] [CAMA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-baja-cuna " type = " text " size = " 10 " value = " <?php echo $tarifas[BAJA] [CUNA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-baja-mascota " type = " text " size = " 10 " value = " <?php echo $tarifas[BAJA] [MASCOTA]; ?> " ></ td >
</ tr >
< tr >
< td width = " 20% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . media </ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-media-individual " type = " text " size = " 10 " value = " <?php echo $tarifas[MEDIA] [INDIVIDUAL]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-media-doble " type = " text " size = " 10 " value = " <?php echo $tarifas[MEDIA] [DOBLE]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-media-cama " type = " text " size = " 10 " value = " <?php echo $tarifas[MEDIA] [CAMA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-media-cuna " type = " text " size = " 10 " value = " <?php echo $tarifas[MEDIA] [CUNA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-media-mascota " type = " text " size = " 10 " value = " <?php echo $tarifas[MEDIA] [MASCOTA]; ?> " ></ td >
</ tr >
< tr >
< td width = " 20% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . alta </ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-alta-individual " type = " text " size = " 10 " value = " <?php echo $tarifas[ALTA] [INDIVIDUAL]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-alta-doble " type = " text " size = " 10 " value = " <?php echo $tarifas[ALTA] [DOBLE]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-alta-cama " type = " text " size = " 10 " value = " <?php echo $tarifas[ALTA] [CAMA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-alta-cuna " type = " text " size = " 10 " value = " <?php echo $tarifas[ALTA] [CUNA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " tarifa-alta-mascota " type = " text " size = " 10 " value = " <?php echo $tarifas[ALTA] [MASCOTA]; ?> " ></ td >
</ tr >
</ table >
< br />
< table width = " 100% " border = " 0 " cellpadding = " 5 " cellspacing = " 2 " >
< tr >
< td width = " 20% " class = " titulos1 " >< a name = " completa " > Ocup . completa </ a ></ td >
< td class = " titulos1 " > Hotel completo </ td >
< td class = " titulos1 " > Cama </ td >
< td class = " titulos1 " > Supl . desayuno </ td >
< td class = " titulos1 " > Supl . cocina </ td >
< td class = " titulos1 " > Cuna </ td >
< td class = " titulos1 " > Mascota </ td >
</ tr >
< tr >
< td width = " 20% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . baja </ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-baja-hotel " type = " text " size = " 10 " value = " <?php echo $completa[BAJA] [HOTEL]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-baja-cama " type = " text " size = " 10 " value = " <?php echo $completa[BAJA] [CAMA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-baja-desayuno " type = " text " size = " 10 " value = " <?php echo $completa[BAJA] [DESAYUNO]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-baja-cocina " type = " text " size = " 10 " value = " <?php echo $completa[BAJA] [COCINA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-baja-cuna " type = " text " size = " 10 " value = " <?php echo $completa[BAJA] [CUNA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-baja-mascota " type = " text " size = " 10 " value = " <?php echo $completa[BAJA] [MASCOTA]; ?> " ></ td >
</ tr >
< tr >
< td width = " 20% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . media </ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-media-hotel " type = " text " size = " 10 " value = " <?php echo $completa[MEDIA] [HOTEL]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-media-cama " type = " text " size = " 10 " value = " <?php echo $completa[MEDIA] [CAMA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-media-desayuno " type = " text " size = " 10 " value = " <?php echo $completa[MEDIA] [DESAYUNO]; ?> " ></ td
>
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-media-cocina " type = " text " size = " 10 " value = " <?php echo $completa[MEDIA] [COCINA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-media-cuna " type = " text " size = " 10 " value = " <?php echo $completa[MEDIA] [CUNA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-media-mascota " type = " text " size = " 10 " value = " <?php echo $completa[MEDIA] [MASCOTA]; ?> " ></ td >
</ tr >
< tr >
< td width = " 20% " valign = " middle " bgcolor = " #DCDCB8 " class = " textoNegrita " > Temp . alta </ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-alta-hotel " type = " text " size = " 10 " value = " <?php echo $completa[ALTA] [HOTEL]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-alta-cama " type = " text " size = " 10 " value = " <?php echo $completa[ALTA] [CAMA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-alta-desayuno " type = " text " size = " 10 " value = " <?php echo $completa[ALTA] [DESAYUNO]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-alta-cocina " type = " text " size = " 10 " value = " <?php echo $completa[ALTA] [COCINA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-alta-cuna " type = " text " size = " 10 " value = " <?php echo $completa[ALTA] [CUNA]; ?> " ></ td >
< td bgcolor = " #EEEEDB " class = " texto " >< input name = " completa-alta-mascota " type = " text " size = " 10 " value = " <?php echo $completa[ALTA] [MASCOTA]; ?> " ></ td >
</ tr >
</ table >
< br />
< table width = " 100% " border = " 0 " cellpadding = " 5 " cellspacing = " 2 " >
< tr >
< td width = " 33% " align = " center " >< input type = " submit " value = " Previsualizar los cambios " onClick = " javascript:window.open('', 'Previsualizar', 'height=500,scrollbars=yes,resizable=yes');form.target='Previsualizar';form.accion.value='previsualizar'; " /></ td >
< td width = " 33% " align = " center " >< input type = submit value = " Guardar los cambios " onClick = " javascript:form.target='_self';form.accion.value='guardar' " /></ td >
< td width = " 33% " align = " center " >< input type = " button " value = " Salir sin guardar " onClick = " location.href='index.htm' " /></ td >
</ tr >
</ table ></ td >
</ tr >
< tr >
< td valign = " top " bgcolor = " #333333 " height = " 40 " align = " left " >< span class = " texto " >< img src = " ../img_nav/hoja.gif " width = " 76 " height = " 40 " ></ span ></ td >
</ tr >
</ table >
</ form >
</ body >
</ html >