<?PHP
// ------------------------------------------------------------------------- //
// <G a n e s h a> - Free Web Based Training System                          //
// ------------------------------------------------------------------------- //
// <G a n e s h a> - Plate-forme de téléformation gratuite et en open source //
// ------------------------------------------------------------------------- //
// Copyright (C) 2001-2003  Anéma Formation  <http://www.anema.fr/>          //
// ------------------------------------------------------------------------- //
//            Developer : Georges CALDEIRA <gcaldeira@anemalab.org>          //
// ------------------------------------------------------------------------- //
//               Infos on project <http://anemalab.org/>                     //
// ------------------------------------------------------------------------- //
//  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 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
// ------------------------------------------------------------------------- //

/**
* Page header de tous les profils 
*
* @author	Georges Caldeira <gcaldeira@anemalab.org>
* @package	GaneshaCommun
*/
	/**
	* include des fichiers + verification de la cnx
	*/
	include_once("anema.inc.php");
	InitPageHtml( "..::Bienvenue dans votre espace de formation::..");
	$type=$ClsMembre->GetTypeMembre($guserid);
?>
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="<?PHP echo $BodyColor?>">
  <tr>
    <td width="30%" valign="middle"><a href="<?PHP echo HTTP_MAIN ?>index<?PHP echo $ext ?>" target="_top" onMouseOver="window.status='<?PHP echo $header['exit']?> Ganesha';return true;" onMouseOut="window.status='Ganesha <?PHP echo VERSION?>';return true;" >
	    <img src="<?PHP echo HTTP_IMAGES ?>logo_small.gif" border="0" alt="<?PHP echo $header['exit']?> Ganesha" /></a>
    </td>
    <td width="40%">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" >
		<tr>
		  <td width="10%"><IMG src="<?PHP echo HTTP_IMAGES ?>profil_<?PHP echo $type?>.gif" border="0" ></td>
		  <td width="90%"><b><font color="<?PHP echo $color2?>"><?PHP echo $titre_profil[$type]; ?></font></b>
		                  <br /><b><?PHP echo $header['hello'].CSS($guser) ; ?></b></td>
		</tr>
		</table>
    </td>
    <td width="30%" valign="bottom" align="right">
		<a href="http://www.anemalab.org" target="_blank" onMouseOver="window.status='Ganesha by AnemaLab.org';return true;" onMouseOut="window.status='Ganesha <?PHP echo VERSION?>';return true;" >
			<img src="<?PHP echo HTTP_IMAGES ?>ganesha_small_white.gif" alt="Ganesha" border="0" /></a>
			<br />
			<i class="comment"><?PHP echo VERSION?></i>
			<br />
			<b class="small"><?PHP echo $TheDate?></b><br />
    </td>
  </tr>
</table>
<?PHP
	switch($gusertype) {
		case STAGIAIRE : HeaderStagiaire()	; break;
		case ADMIN :	 HeaderAdmin()		; break;
		case TUTEUR :	 HeaderTuteur()		; break;
	}
?>
</body>
</html>