function view() { if (!VAR3) { die("Error del sistema 404"); } $sistema = new sistema(); $this->sistema = new tab_sistema(); $this->sistema->setRequest2Object($_REQUEST); $row = $this->sistema->dbselectByField("sis_id", VAR3); if (!$row) { die("Error del sistema 404"); } $row = $row[0]; $this->registry->template->sis_id = $row->sis_id; $this->registry->template->sis_codigo = $row->sis_codigo; $this->registry->template->sis_nombre = $row->sis_nombre; $this->registry->template->sis_tipcarga = $sistema->obtenerSelect($row->sis_tipcarga); $this->registry->template->sis_tammax = $row->sis_tammax; $this->registry->template->sis_ruta = $row->sis_ruta; $this->registry->template->titulo = "EDITAR DATOS DEL SISTEMA"; $this->registry->template->PATH_WEB = PATH_WEB; $this->registry->template->PATH_DOMAIN = PATH_DOMAIN; $this->registry->template->PATH_EVENT = "update"; $this->registry->template->GRID_SW = "true"; $this->registry->template->PATH_J = "jquery"; $this->menu = new menu(); $this->liMenu = $this->menu->imprimirMenu(VAR1, $_SESSION['USU_ID']); $this->registry->template->men_titulo = $this->liMenu; $this->registry->template->show('headerG'); $this->registry->template->show('sistema/tab_sistema.tpl'); $this->registry->template->show('footer'); }