<?php
/**
* Dati personali dell'utente.  
* Viene mostrata una tabella con i dati personali dell'utente che ha eseguito il login.
* 
* @package VFront
* @author Mario Marcello Verona <marcelloverona@gmail.com>
* @copyright 2007-2010 M.Marcello Verona
* @version 0.96 $Id: dati_personali.php 850 2010-12-03 17:06:40Z marciuz $
* @license http://www.gnu.org/licenses/gpl.html GNU Public License
*/

require_once("./inc/conn.php");
require_once("./inc/layouts.php");
require_once("./inc/func.comuni.php");


proteggi(1);


echo openLayout1(_("Personal info"),array("sty/tabelle.css"));

echo breadcrumbs(array("javascript:history.back();"=>_('Back'),""));

echo "<h1>"._("User profile")."</h1>\n";


echo "<table summary=\"dati utente\" class=\"tab-color\">

	<tr>
		<th>ID</th>
		<td>".$_SESSION['user']['uid']."</td>
	</tr>
	<tr>
		<th>"._("Name")."</th>
		<td>".$_SESSION['user']['nome']."</td>
	</tr>
	<tr>
		<th>"._("Surname")."</th>
		<td>".$_SESSION['user']['cognome']."</td>
	</tr>
	<tr>
		<th>"._("email")."</th>
		<td>".$_SESSION['user']['email']."</td>
	</tr>
	<tr>
		<th>"._("last modified date")."</th>
		<td>".date_encode($_SESSION['user']['data_ins'],false)."</td>
	</tr>
	
	<tr>
		<th>"._("group")."</th>
		<td>".$_SESSION['user']['gid']." - ". gid2nome_gruppo($_SESSION['user']['gid'])."</td>
	</tr>
	
	<tr>
		<th>"._("level")."</th>
		<td>".$_SESSION['user']['livello']."</td>
	</tr>		

</table>
";





echo closeLayout1();




?>