コード例 #1
0
 function view()
 {
     if (!VAR3) {
         die("Error del sistema 404");
     }
     $menu = new menu();
     $this->menu = new tab_menu();
     $this->menu->setRequest2Object($_REQUEST);
     $row = $this->menu->dbselectByField("men_id", VAR3);
     if (!$row) {
         die("Error del sistema 404");
     }
     $row = $row[0];
     $this->registry->template->men_id = $row->men_id;
     $this->registry->template->men_par = $menu->obtenerSelect($row->men_par);
     $this->registry->template->men_tit = $row->men_titulo;
     $this->registry->template->men_enlace = $row->men_enlace;
     $this->registry->template->men_posicion = $row->men_posicion;
     $this->registry->template->men_estado = $row->men_estado;
     $this->menu = new menu();
     $this->liMenu = $this->menu->imprimirMenu(VAR1, $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $this->liMenu;
     $this->registry->template->titulo = "EDITAR MENU DE OPCIONES";
     $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-1.4.1";
     $this->registry->template->show('headerG');
     $this->registry->template->show('menu/tab_menu.tpl');
     $this->registry->template->show('footer');
 }