Ejemplo n.º 1
0
$objEntidad = new Entidad();
$objMunicipio = new Municipio();
$objMenu = new Menu();
$objErrores = new Errores();
$sesion = new sesion();
$usuario = $sesion->get("usuario");
if (isset($_GET['menu'])) {
    $id = $objMenu->getMenu($_GET['menu']);
}
$list_enti = $objEntidad->getEntidades();
$ListEnt = $objEntidad->getListEnt($sesion->get("idUsuario"));
// Obtener Entidad por ID
if (isset($_GET['CodEPS'])) {
    $Ent = $objEntidad->getEntidadId($_GET['CodEPS']);
}
$list_mun = $objMunicipio->getMunicipios();
// Funcion Para Exportar
$regEnt = $objRPED->getRegByEnt();
if ($usuario == false) {
    $sesion->termina_sesion();
    header("Location: ../index.php");
}
?>
<!doctype html>
<html lang="es">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <link rel="stylesheet" href="./css/style.css">
        <script src="https://code.jquery.com/jquery.js"></script>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.css">