public function altaGrupos() { Sessiones::autenticado(); $srcPhoto = PHOTOS . Sessiones::get_var('photo'); $this->_View->foto = $srcPhoto; $this->_View->matricula = Sessiones::get_var('matricula'); $this->_View->nick = Sessiones::get_var('name'); $this->_View->nombre = Sessiones::get_var('name') . ' ' . Sessiones::get_var('lastnameF') . ' ' . Sessiones::get_var('lastnameM'); $this->_View->rango = Sessiones::get_var('rango'); $this->_View->render('altaGrupos'); }
public function changePass() { Sessiones::autenticado(); $srcPhoto = PHOTOS . Sessiones::get_var('photo'); $this->_View->foto = $srcPhoto; $this->_View->matricula = Sessiones::get_var('matricula'); $this->_View->nick = Sessiones::get_var('name'); $this->_View->nombre = Sessiones::get_var('name') . ' ' . Sessiones::get_var('lastnameF') . ' ' . Sessiones::get_var('lastnameM'); $this->_View->rango = Sessiones::get_var('rango'); $this->_View->render('cambiarpassword'); }
<!DOCTYPE html> <html lang="es-MX"> <head> <meta charset="UTF-8"> <title>No encontrado</title> </head> <body> <div id="error"><?php echo isset($this->msg) ? $this->msg : ''; ?> </div> <?php if (Sessiones::autenticado()) { ?> <ul> <li><a href="<?php echo BASE_URL . 'home'; ?> ">Regresar al Menu</a></li> <li><a href="javascript:history.back(1)">Regresar a la página anterior</a></li> </ul> <?php } ?> </body> </html>