X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/1481a58e991e9ed54d6cba23e82184eaca48f9fe..b9d3f2be024c6ea56df2d5be7a0d3d64a5698353:/src/lib/pagina.php diff --git a/src/lib/pagina.php b/src/lib/pagina.php index 946ca87..1fbb194 100644 --- a/src/lib/pagina.php +++ b/src/lib/pagina.php @@ -8,6 +8,12 @@ // // $Id$ +require_once 'lib/Usuario.php'; + +// Arranca la sesiĆ³n +session_start(); +//TODO - verificar si existe el id y reconstruirlo + function pagina_cabecera($titulo = '') { ?> @@ -37,4 +43,14 @@ function pagina_pie($autor, $mail) %s

', $msg); +} + +function ok($msg) +{ + printf('

%s

', $msg); +} + ?> \ No newline at end of file