function index()
 {
     $usuario = new usuario();
     $adm = $usuario->esAdm();
     $this->registry->template->adm = $adm;
     $series = new series();
     $this->registry->template->seccion = $series->obtenerSeccionDeParaCajas();
     $this->registry->template->exp_id = "";
     $this->registry->template->ete_id = "";
     $menu = new menu();
     $liMenu = $menu->imprimirMenu(VAR1, $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "view";
     $this->registry->template->GRID_SW = "false";
     $this->registry->template->PATH_J = "jquery";
     $this->registry->template->show('headerG');
     $this->registry->template->show('etiexpediente/tab_etiqexpedienteg.tpl');
     $this->registry->template->show('footer');
 }
 function index()
 {
     $tseries = new series();
     $series = "";
     if ($_SESSION["ROL_COD"] == "AA" || $_SESSION["ROL_COD"] == "AC" || $_SESSION["ROL_COD"] == "AI") {
         $series = $tseries->obtenerSelectTodas();
     } else {
         $series = $tseries->obtenerSelectSeries();
     }
     $departamento = new departamento();
     $this->registry->template->dep_id = $departamento->obtenerSelect();
     $fondo = new fondo();
     $this->registry->template->fon_id = $fondo->obtenerSelectFondos();
     $this->registry->template->uni_id = "";
     $this->registry->template->ser_id = "";
     //$this->registry->template->exp_id = "";
     $this->registry->template->tra_id = "";
     $this->registry->template->cue_id = "";
     $tmenu = new menu();
     $liMenu = $tmenu->imprimirMenu("buscarArchivo", $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->UNI_ID = $_SESSION['UNI_ID'];
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "search";
     $this->registry->template->PATH_EVENT2 = "verifpass";
     $this->registry->template->PATH_EVENT_VERIF_PASS = "******";
     $this->registry->template->PATH_EVENT3 = "download";
     $this->registry->template->PATH_EVENT4 = "getConfidencialidad";
     $this->registry->template->PATH_EVENT_EXPORT = "exportar";
     $this->registry->template->GRID_SW = "false";
     $this->registry->template->PATH_J = "jquery-1.4.1";
     $this->registry->template->show('headerBuscador');
     $this->registry->template->show('archivo/buscarArchivo.tpl');
     $this->registry->template->show('footer');
 }
 function view()
 {
     if (!VAR3) {
         die("Error del sistema 404");
     }
     $tusuario = new tab_usuario();
     $tusuario->setRequest2Object($_REQUEST);
     $row = $tusuario->dbselectByField("usu_id", VAR3);
     if (!$row) {
         die("Error del sistema 404");
     }
     $row = $row[0];
     $this->registry->template->titulo = "EDITAR PERMISOS DE LECTURA DEL USUARIO";
     $this->registry->template->usu_id = $row->usu_id;
     $usu = new usuario();
     $datosUsu = $usu->getDatos(VAR3);
     $this->registry->template->unidad = $datosUsu->uni_descripcion;
     $rol = new rol();
     $this->registry->template->roles = $rol->obtenerSelect($row->rol_id);
     if ($row->usu_leer_doc == '1') {
         $selected1 = " selected";
         $selected2 = "";
     }
     if ($row->usu_leer_doc == '2') {
         $selected2 = " selected";
         $selected1 = "";
     }
     $this->registry->template->leer_doc = '<option value="1" ' . $selected1 . '>LEER</option><option value="2" ' . $selected2 . '>NO LEER</option>';
     $this->registry->template->usuario = $row->usu_nombres . " " . $row->usu_apellidos;
     $tmenu = new menu();
     $liMenu = $tmenu->imprimirMenu(VAR1, $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "update";
     $this->registry->template->PATH_J = "jquery";
     $this->registry->template->GRID_SW = "true";
     $this->registry->template->FORM_SW = "";
     $this->registry->template->show('headerG');
     $this->registry->template->show('usuario/permisos.tpl');
     $this->registry->template->show('footer');
 }
 function listarprestamo()
 {
     $tmenu = new menu();
     $liMenu = $tmenu->imprimirMenu("prestamos", $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->spr_id = "";
     $this->registry->template->UNI_ID = $_SESSION['UNI_ID'];
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "gridprestamo";
     $this->registry->template->PATH_EVENT2 = "verifpass";
     $this->registry->template->PATH_EVENT_VERIF_PASS = "******";
     $this->registry->template->PATH_EVENT3 = "download";
     $this->registry->template->PATH_EVENT4 = "getConfidencialidad";
     $this->registry->template->PATH_EVENT_EXPORT = "exportar";
     $this->registry->template->GRID_SW = "false";
     $this->registry->template->PATH_J = "jquery-1.4.1";
     //session
     //ajax
     //$this->registry->template->PATH_EVENT_LISTA = "guardarLista";
     //$this->registry->template->cantidad= $tseries->countBySQL();
     $this->registry->template->show('prestamos/headerBuscador');
     $this->registry->template->show('prestamos/listarprestamo.tpl');
     $this->registry->template->show('footer');
 }
 function view()
 {
     $usuario = new usuario();
     $this->registry->template->usur_id = $usuario->obtenerNombre($_SESSION['USU_ID']);
     $this->registry->template->usu_id = $usuario->obtenerSelect();
     $this->registry->template->usua_id = $usuario->obtenerSelectAdmin();
     $this->registry->template->spr_fecent = date('Y-m-d');
     $this->registry->template->spr_fecdev = date('Y-m-d');
     $tmenu = new menu();
     $liMenu = $tmenu->imprimirMenu("solprestamo", $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->UNI_ID = $_SESSION['UNI_ID'];
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "search";
     $this->registry->template->GRID_SW = "false";
     $this->registry->template->PATH_J = "jquery-1.4.1";
     $this->registry->template->PATH_EVENT_LISTA = "guardarLista";
     $this->registry->template->show('headerG');
     $this->registry->template->show('prestamos/tab_solprestamos.tpl');
     $this->registry->template->show('footer');
 }
 function lisprestSelect()
 {
     $tseries = new series();
     $series = "";
     if ($_SESSION["ROL_COD"] == "SUBF" || $_SESSION["ROL_COD"] == "ACEN" || $_SESSION["ROL_COD"] == "ADM") {
         $series = $tseries->obtenerSelectTodas();
     } else {
         $series = $tseries->obtenerSelectSeries();
     }
     $departamento = new departamento();
     $this->registry->template->dep_id = $departamento->obtenerSelect();
     $this->registry->template->uni_id = "";
     $this->registry->template->ser_id = "";
     //$this->registry->template->exp_id = "";
     $this->registry->template->tra_id = "";
     $this->registry->template->cue_id = "";
     $tmenu = new menu();
     $liMenu = $tmenu->imprimirMenu("prestamosLinea", $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->UNI_ID = $_SESSION['UNI_ID'];
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "search";
     $this->registry->template->PATH_EVENT2 = "verifpass";
     $this->registry->template->PATH_EVENT_VERIF_PASS = "******";
     $this->registry->template->PATH_EVENT3 = "download";
     $this->registry->template->PATH_EVENT4 = "getConfidencialidad";
     $this->registry->template->PATH_EVENT_EXPORT = "exportar";
     $this->registry->template->GRID_SW = "false";
     $this->registry->template->PATH_J = "jquery-1.4.1";
     //session
     //ajax
     $this->registry->template->PATH_EVENT_LISTA = "guardarLista";
     //$this->registry->template->cantidad= $tseries->countBySQL();
     $this->registry->template->show('prestamoslinea/headerBuscador');
     $this->registry->template->show('prestamoslinea/listprestamoSelect.tpl');
     $this->registry->template->show('footer');
 }