git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@1 e2b1556b-49f8-d141-9351-52d6861a72d9
42 lines
993 B
PHP
42 lines
993 B
PHP
<?php
|
|
include("seguridad.php");
|
|
include("functions.php");
|
|
|
|
if(!$usuario->tieneRol("4")
|
|
&& !$usuario->tieneRol("1")){
|
|
header("Location: aplicacion.php?e=permiso");
|
|
exit;
|
|
}
|
|
include_once("html/cabecera.php");
|
|
|
|
$consulta = "";
|
|
include_once("Objects/ListaCandidatos.php");
|
|
include_once("Objects/HTML.php");
|
|
$html = new HTML($locale);
|
|
|
|
|
|
echo $html->menuCandidatos($usuario);
|
|
echo "<h2>".$locale['801']."</h2>";
|
|
// Recuperamos la lista de los candidatos
|
|
// Variables por si es una ordenacion
|
|
$order_by="";
|
|
if($_GET["order"]!=""){
|
|
$order_by = " ORDER by ".$_GET["order"]." ".$_GET["modo"];
|
|
} else {
|
|
$order_by = " ORDER BY fecha_modificacion DESC";
|
|
}
|
|
$modo = stripinput($_GET["modo"]);
|
|
if($_GET['byEstado']!=""){
|
|
$tipoPedidos=stripinput($_GET['byEstado']);
|
|
} else {
|
|
$tipoPedidos="10";
|
|
}
|
|
$listaCandidatos=new ListaCandidatos($usuario,$order_by,"",$tipoPedidos);
|
|
|
|
|
|
include_once("ver_lista_candidatos.php");
|
|
|
|
|
|
include_once("html/pie.php");
|
|
?>
|