X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/361af2383cce7b9311a8446a173bb9a0b7b3838f..50f33dec50c1e4b009941d2e345c55b24a3bb6d3:/src/lib/pagina.php diff --git a/src/lib/pagina.php b/src/lib/pagina.php index 2427a76..e43f1e8 100644 --- a/src/lib/pagina.php +++ b/src/lib/pagina.php @@ -8,11 +8,15 @@ // // $Id$ +require_once 'lib/Usuario.php'; + // Arranca la sesiĆ³n session_start(); +//TODO - verificar si existe el id y reconstruirlo function pagina_cabecera($titulo = '') { + header('Content-type: text/html; charset=ISO-8859-1'); ?> @@ -40,4 +44,14 @@ function pagina_pie($autor, $mail) %s

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

%s

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