<?php
  include("stilos/config.inc.php");
  include("../clases/BDConexion.php");
  include("../clases/clsPer.php");
  include("funcion/funciones.php");
  include("Funciones.php");
  session_start();
  $objPer=new clsPer;
  
?>
<!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 Abrir_Ventanapopup1(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();
}
//--> 
</script>

</head>

<body background="../imagenes/fondo.jpg">
<table width="740" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr valign="top" >
    <td height="25" colspan="4">
    <div align="left" ></div></td>
  </tr>
  <tr class="lblCampo" >
    <td colspan="4"><div align="center">
        <table width="730" 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" class="lblTitulo" >Ubicacion de Personal entre Fechas</div>			</td>
            <td width="25"><img src="../estilo_tabla/parte_sup_der.gif" width="25" height="25" border="0" usemap="#Map"></td>
          </tr>
          <tr>
            <td width="25" background="../estilo_tabla/parte_med_izq.gif">&nbsp;</td>
            <td width="680" height="86" background="../estilo_tabla/parte_med_cen.gif"><div align="center">
              <table width="679" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="15" colspan="5"><div align="center"><span class="lblForm">
                    </span>
                      <div align="left" class="lblForm">                      </div>
                      <span class="lblForm"></span>                      <span class="lblForm">
                      </span><span class="lblForm">                      </span></div></td>
                </tr>
                <tr>
				<form action="cvp_ubi_per_fechas.php?tipo=<? echo $tipo?>&des=<? echo $des?>&k=2" method="post" name="form1" >
                  <td height="15" colspan="5">				    
				  <div align="left">
				    <table width="668" border="0" cellspacing="0" cellpadding="0">
                      <tr class="lblCampo">
                        <td width="179">
						<div align="left">Buscar Por :
                          <span class="lblForm">
                          <select name="tipo" id="select4">
                            <option value="todos" <? if($tipo=="todos"){?> selected <? }?>>Todos</option>
                            <option value="appat_per">Carta</option>
                            <option value="dociden_per">Memo</option>
                          </select>
                          </span>                      </div></td>
                        <td width="110"><span class="lblForm">
                          <input name="des" type="text" id="des5" value="<? echo $des?>" size="25" maxlength="25" >
                        </span></td>
                        <td width="49"><div align="left"><span class="lblForm">Fechas
                        </span></div></td>
                        <td width="213"><div align="left">
                          <table width="204" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="97"><div align="left">
                                <table width="87" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="67"><div align="left">
                                        <input name="fecha1" type="text" id="fecha13" value="<? echo $fecha1?>" size="12" maxlength="10" title="FORMATO dd/mm/AA">
                                    </div></td>
                                    <td width="10">&nbsp;</td>
                                    <td width="109"><div align="left"> <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha1');"> <img src="../imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"> </a> </div></td>
                                  </tr>
                                </table>
                              </div></td>
                              <td width="107"><div align="left">
                                <table width="87" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="67"><div align="left">
                                        <input name="fecha2" type="text" id="fecha22" value="<? echo $fecha2?>" size="12" maxlength="10" title="FORMATO dd/mm/AA">
                                    </div></td>
                                    <td width="10">&nbsp;</td>
                                    <td width="109"><div align="left"> <a onMouseOver="window.status='Calendario';return true;" onMouseOut="window.status='';return true;"  href="javascript:show_calendar('form1.fecha2');"> <img src="../imagenes/calendar.jpg" alt="Calendario" width="16" height="15" border="0"> </a> </div></td>
                                  </tr>
                                </table>
                              </div></td>
                            </tr>
                          </table>
                        </div></td>
                        <td width="117"><div align="left"><span class="lblForm">
                          <input type="submit" name="Submit" value="Buscar" style="<?=$stylo['st2']?>" class="botira">
                        </span></div></td>
                      </tr>
                    </table>
				  </div>
				  </td>
				</form>
                </tr>
                <tr>
                  <td colspan="5"><div align="center">
                    <table width="640" border="1" cellpadding="0" cellspacing="0" style="<?=$stylo['tabla']?>" bgcolor="<?=$c_fondo['fondo tabla']?>" bordercolor="<?=$bordetabla?>">
                      <tr valign="top" class="lblCampoBlanco" bgcolor="<?=$c_fondo_tr["fondo tr"]?>">
                        <td width="161"><div align="center">Nš de Documento</div></td>
                        <td width="98"><div align="left">Tipo Documento</div></td>
                        <td width="92"><div align="left">Fecha</div></td>
                        <td width="204">
						  <div align="center">Asunto</div></td>
                        <td><div align="center">
						
						</div></td>
                      </tr>
            
                      <tr valign="top" class="lblForm" >
                        <td class="lblForm">
                          <div align="center">PER/CAR-0131/FIN-0608						  </div>						</td>
                        <td class="lblForm"><div align="center">CARTA</div></td>
                        <td class="lblForm"><div align="center">01/06/2008</div></td>
                        <td class="lblForm">						
						  <div align="center">CONTRATO DE LICNCIA </div>						 </td>
                        <td width="73">
						<div align="center">
						    <img src="../imagenes/pdf.gif" alt="ver contenido" width="15" height="15" border="0">						</div>						</td>
                      </tr>
                      <tr valign="top" class="lblForm" >
                        <td class="lblForm"><div align="center">PER/MEM-0001/RH-0608</div></td>
                        <td class="lblForm"><div align="center">MEMO</div></td>
                        <td class="lblForm"><div align="center">01/06/2008</div></td>
                        <td class="lblForm"><div align="center">CAMBIO DE PUESTO DE TRABAJO </div></td>
                        <td><div align="center"><img src="../imagenes/pdf.gif" alt="ver contenido" width="15" height="15" border="0"></div></td>
                      </tr>
			</table>
			 </div>
			 </td>
                </tr>				
                <tr>
                  <td colspan="5"><div align="left"><span class="lblForm"></span></div></td>
                </tr>
                <tr>
                  <td width="99">
				    <div align="left"></div></td>
                  <td width="459"><div align="center"></div></td>
                  <td width="121" colspan="3"><div align="right">Total de Registros </div></td>
                </tr>				  
                 <tr>
                   <td colspan="5">&nbsp;</td>
                 </tr>
                 <tr>
				
                  <td colspan="5"><div align="center">
				  
		<div align="center">	        </div>
		
				  </div></td>
				   
                </tr>
              </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 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>
    </div></td>
  </tr>
  <tr valign="top" class="lblCampo" >
    <td colspan="4">
      <div align="center"> </div></td>
  </tr>
</table>

<map name="Map">
  <area shape="rect" coords="2,5,22,21" href="fondo.php">
</map>
</body>

</html>

