X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/bed250979ba669924aad62719f57ad49b5a3b339..d1d4479a2a55a2bdb11591ee712fb9c24efe824d:/src/admin.logged.php diff --git a/src/admin.logged.php b/src/admin.logged.php index e7e1e51..c58a3a8 100644 --- a/src/admin.logged.php +++ b/src/admin.logged.php @@ -13,6 +13,14 @@ require_once 'lib/pagina.php'; pagina_check_login(); pagina_cabecera(); ok('Hola Mundo!'); +printf('ID: %s
', $_SESSION['user']->getId()); +printf('Nombre: %s
', $_SESSION['user']->getNombre()); +printf('Apellido: %s
', $_SESSION['user']->getApellido()); +printf('Email: %s
', $_SESSION['user']->getEmail()); +printf('Créditos: %s
', $_SESSION['user']->getCreditos()); +printf('Admin: %d
', $_SESSION['user']->esAdmin()); +printf('Asesor: %d
', $_SESSION['user']->esAsesor()); +echo '
'; var_dump($_SESSION['user']); echo '
'; pagina_pie('Leandro Lucarella', 'llucare@fi.uba.ar'); ?> \ No newline at end of file