38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
|
|
<?php
|
|||
|
|
include("seguridad.php");
|
|||
|
|
include("functions.php");
|
|||
|
|
|
|||
|
|
// S<>lo los administradores y rrhh pueden buscar
|
|||
|
|
if(!$usuario->tieneRol("1")
|
|||
|
|
&& !$usuario->tieneRol("4")){
|
|||
|
|
header("Location: aplicacion.php?e=permiso");
|
|||
|
|
exit;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
include_once("html/cabecera.php");
|
|||
|
|
|
|||
|
|
/* BUSCAR.PHP */
|
|||
|
|
include_once("Objects/HTML.php");
|
|||
|
|
$html=new HTML($locale);
|
|||
|
|
echo $html->menuEmpleados();
|
|||
|
|
|
|||
|
|
$tipobusqueda="usuario";
|
|||
|
|
?>
|
|||
|
|
<h2><?php echo $locale['817']; ?></h2>
|
|||
|
|
|
|||
|
|
<div id="ContTabul">
|
|||
|
|
<form action="busqueda_empleado_multiple.php" method="POST" name="form_busqueda_multiple">
|
|||
|
|
<?php include_once("formulario_buscar_persona.php"); ?>
|
|||
|
|
<table align="center" width="100%" cellspacing="2" cellpadding="2" border="0">
|
|||
|
|
<tr>
|
|||
|
|
<td class="sinborde" align="center">
|
|||
|
|
<input type="submit" name="enviar" value="Buscar" class="button" onclick="return comprobar_busqueda_multiple(this)">
|
|||
|
|
<input type="reset" name="borrar" value="Borrar" class="button" >
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</form>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
<?php
|
|||
|
|
include_once("html/pie.php");
|
|||
|
|
?>
|