<?php
  include("stilos/config.inc.php");
  include("../clases/BDConexion.php");
  include("../clases/clsEpp.php");
  include("funcion/funciones.php");
  include("Funciones.php");
  session_start();
  $objEqui=new clsEpp;
  
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><MMString:LoadString id="insertbar/formsHidden" /></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">

<link href="Estilos.css" rel="stylesheet" type="text/css">

<link href="stilos/Estilos.css" rel="stylesheet" type="text/css">
<SCRIPT language=JavaScript src="js/calendario.js"></SCRIPT>
<!-- Copyright 2000,2001 Macromedia, Inc. All rights reserved. -->
<script language="JavaScript"> 
<!--
function print_1(sURL,x,y) {
if (!window.focus) return;
			var par;
			par = "width=" +x + ",height="+y+","
			par = par + "dependent=no,scrollbars=yes,resizable=yes,"
			par = par + "menubar=no,toolbar=no,status=no"
			var ventana = window.open(sURL,"Ver",par)
			ventana.focus();
}

function volver(){
	window.location="cvp_hospedaje_staff.php";
          }
function GuardarCasa(){
        var casa = document.form1.nomcasa;
		var ciudad = document.form1.ciudad;
		var pais = document.form1.pais;
		var direc = document.form1.direcc;
		if(casa.value==''){alert('No Escribio el Nombre de la Casa Staff Nueva'); casa.focus();
		   }else{
		      if(ciudad.value==''){alert('No Escribio el Nombre de la Ciudad de la Casa Staff Nueva'); ciudad.focus();
		   			}else{
					  if(pais.value==''){alert('No Escribio el Nombre del pais de la Casa Staff Nueva'); pais.focus();
		   			     }else{
		                     if(direc.value==''){alert('No Escribio el Nombre de la direccion de la Casa Staff Nueva'); direc.focus();
		   			           }else{ document.form1.submit();
				    }
				 }
			 }
		   }
         }
//--> 
</script>

<style type="text/css">
<!--
.Estilo1 {color: #FFFFFF}
-->
</style>
</head>

<body background="../imagenes/fondo.jpg" onLoad="document.form1.epp.focus();">
<table width="430" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="25"><img src="../estilo_tabla/parte_sup_izq.gif" width="25" height="25"></td>
    <td width="680" background="../estilo_tabla/parte_sup_cen.gif" valign="bottom">
      <div align="left" ><img src="../imagenes/btn_nuevo.gif" width="20" height="20"> <span class="lblTituloReporte">Registrar Nueva Casa Staff </span></div></td>
    <td width="25"><img src="../estilo_tabla/parte_sup_der.gif" width="25" height="25" border="0" usemap="#MapMap"></td>
  </tr>
  <tr>
    <td width="25" background="../estilo_tabla/parte_med_izq.gif">&nbsp;</td>
    <td width="420" height="86" background="../estilo_tabla/parte_med_cen.gif"><div align="center">
        <table width="400" border="0" cellspacing="0" cellpadding="0">
		  <form name="form1" method="post" action="procesos/cvp_CasaStaff_grabar.php" onSubmit='false'>
          <tr>
            <td width="468"><div align="left">
                <table width="400" border="1" cellpadding="0" cellspacing="0" style="<?=$stylo['tabla']?>" bgcolor="<?=$c_fondo['fondo tabla']?>" bordercolor="<?=$bordetabla?>">
                  <tr valign="top" class="lblForm" >
                    <td width="129" bgcolor="<?=$c_fondo_tr["fondo tr"]?>" class="Estilo1 lblForm">
                      <p align="right"><strong>Nombre de Casa</strong></p></td>
                    <td width="6" class="lblForm">&nbsp;</td>
                    <td width="262" class="lblForm" ><input name="nomcasa" id="epp" type="text"  size="50"></td>
                  </tr>
                  <tr valign="top" class="lblForm" >
                    <td bgcolor="<?=$c_fondo_tr["fondo tr"]?>" class="Estilo1 lblForm"><p align="right"><strong>Ciudad</strong></p></td>
                    <td class="lblForm">&nbsp;</td>
                    <td class="lblForm" ><input name="ciudad" id="ciudad"type="text"  size="50"></td>
                  </tr>
                  <tr valign="top" class="lblForm" >
                    <td bgcolor="<?=$c_fondo_tr["fondo tr"]?>" class="Estilo1 lblForm"><p align="right"><strong>Pa&iacute;s</strong></p></td>
                    <td class="lblForm">&nbsp;</td>
                    <td class="lblForm" ><input name="pais" id="pais" type="text"  size="50"></td>
                  </tr>
                  <tr valign="top" class="lblForm" >
                    <td bgcolor="<?=$c_fondo_tr["fondo tr"]?>" class="Estilo1 lblForm"><p align="right"><strong>Direcc&iacute;on</strong></p></td>
                    <td class="lblForm">&nbsp;</td>
                    <td class="lblForm" ><input name="direcc" id="tdura2" type="text"  size="50"></td>
                  </tr>
                  <tr valign="top" class="lblForm" >
                    <td bgcolor="<?=$c_fondo_tr["fondo tr"]?>" class="Estilo1 lblForm"><p align="right"><strong>Nš de Habitaciones</strong></p></td>
                    <td class="lblForm">&nbsp;</td>
                    <td class="lblForm" >                      <select name="nhabita" id="nhabita">
                      <option value="1">1</option>
                      <option value="2">2</option>
                      <option value="3"> 3</option>
                      <option value="4">4</option>
                      <option value="6">5</option>
                      <option value="7">7</option>
                      <option value="8">8</option>
                      <option value="9">9</option>
                      <option value="10">10</option>
                      <option value="11">11</option>
                      <option value="12">12</option>
                      <option value="13">13</option>
                      <option value="14">14</option>
                      <option value="15">15</option>
                      <option value="16">16</option>
                      <option value="17">17</option>
                      <option value="18">18</option>
                      <option value="19">19</option>
                      <option value="20">20</option>
                                          </select></td>
                  </tr>
                  <tr valign="top" class="lblForm" >
                    <td bgcolor="<?=$c_fondo_tr["fondo tr"]?>" class="Estilo1 lblForm"><p align="right"><strong>Descripci&oacute;n</strong></p></td>
                    <td class="lblForm">&nbsp;</td>
                    <td class="lblForm" ><textarea name="descripcion" cols="48" rows="2" id="descripcion"></textarea></td>
                  </tr>
                  <? 
			?>
                </table>
            </div></td>
          </tr>
          <tr>
            <td><div align="left"><span class="lblForm">
              </span></div></td>
          </tr>
          <tr>
              <td>
                <div align="center">
                  <table width="415" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="155"><div align="right">
                          <input type="button" name="Submit22" value=".:Guardar:." style="<?=$stylo['st2']?>" class="botira"  onClick="GuardarCasa();">
                      </div></td>
                      <td width="139">&nbsp;
                      </td>
                      <td width="121"><div align="left">
                          <input type="button" name="Submit2" value=".:Cancelar:." style="<?=$stylo['st2']?>" class="botira" onClick="volver();">
                      </div></td>
                    </tr>
                  </table>
              </div></td>
          </tr>
		  </form>
        </table>
    </div></td>
    <td background="../estilo_tabla/parte_med_der.gif">&nbsp;</td>
  </tr>
  <tr>
    <td><img src="../estilo_tabla/parte_inf_izq.gif" width="25" height="25"></td>
    <td height="25" background="../estilo_tabla/parte_inf_cen.gif">&nbsp;</td>
    <td><img src="../estilo_tabla/parte_inf_der.gif" width="25" height="25"></td>
  </tr>
</table>
<map name="MapMap">
  <area shape="rect" coords="2,5,22,21" href="fondo.php">
</map>
</body>

</html>

