-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdati_personali.php
63 lines (49 loc) · 1.37 KB
/
dati_personali.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?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 1076 2014-06-13 13:03:44Z marciuz $
* @license http://www.gnu.org/licenses/gpl.html GNU Public License
*/
require_once("./inc/conn.php");
require_once("./inc/layouts.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>".User_Session::id()."</td>
</tr>
<tr>
<th>"._("Name")."</th>
<td>".User_Session::firstname()."</td>
</tr>
<tr>
<th>"._("Surname")."</th>
<td>".User_Session::lastname()."</td>
</tr>
<tr>
<th>"._("email")."</th>
<td>".User_Session::email()."</td>
</tr>
<tr>
<th>"._("last modified date")."</th>
<td>".VFDate::date_encode(User_Session::attr(User_Session::FIELD_INSERT_DATE),false)."</td>
</tr>
<tr>
<th>"._("group")."</th>
<td>".User_Session::gid()." - ". Common::gid2group_name(User_Session::gid())."</td>
</tr>
<tr>
<th>"._("level")."</th>
<td>".User_Session::level()."</td>
</tr>
</table>
";
echo closeLayout1();