X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/bed250979ba669924aad62719f57ad49b5a3b339..0087aa5491d545397b9437790cf2178b511faee1:/src/admin.logged.php?ds=sidebyside diff --git a/src/admin.logged.php b/src/admin.logged.php index e7e1e51..04f29af 100644 --- a/src/admin.logged.php +++ b/src/admin.logged.php @@ -12,7 +12,15 @@ require_once 'lib/pagina.php'; pagina_check_login(); pagina_cabecera(); -ok('Hola Mundo!'); +ok('Hola '.$_SESSION['user']->toHtml().'!'); +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