function imo_bottom() { end_content(); footer(); close_body(); }
###################################################################### # SourceAgency: # ================================================ # # Copyright (c) 2001-2003 by # Gregorio Robles (grex@scouts-es.org) # # BerliOS SourceAgency: http://sourceagency.berlios.de # BerliOS - The OpenSource Mediator: http://www.berlios.de # # This is the index file which shows the recent apps # # This program is free software. You can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 or later of the GPL. ###################################################################### require "include/prepend.php3"; page_open(array("sess" => "SourceAgency_Session")); if (isset($auth) && !empty($auth->auth["perm"])) { page_close(); page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm")); } require "include/header.inc"; require "include/personallib.inc"; $bx = new box("100%", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align); start_content(); $page = "personal_ratings"; personal_comments_long($auth->auth["uname"]); end_content(); require "include/footer.inc"; page_close();
function pintar_intranet() { start_content(); end_content(); start_sidebar(); echo "<ul><li>"; echo "<h2>Usuari: " . id_usuari() . "</h2>"; if (es_administrador()) { ?> <h2><strong>Administració</strong></h2> <ul> <li><a href="index.php?operacio=llistar_usuaris">Gestió usuaris </a></li> <?php } else { if (es_moderador()) { ?> Aqui el menu de moderador <?php } } ?> <li> </li> <li><strong>Opcions d'usuari</strong></li> <?php echo '<li><a href="index.php?operacio=form_modificar_perfil&nick=' . id_usuari() . '">Modificar perfil</a></li> <li><a href="index.php?operacio=logout">Desconnectar</a></li></ul> </li></ul>'; end_sidebar(); }