phpDocumentor VFront
[ class tree: VFront ] [ index: VFront ] [ all elements ]

Source for file dati_personali.php

Documentation is available at dati_personali.php

  1. <?php
  2. /**
  3. * Dati personali dell'utente.
  4. * Viene mostrata una tabella con i dati personali dell'utente che ha eseguito il login.
  5. @package VFront
  6. @author Mario Marcello Verona <marcelloverona@gmail.com>
  7. @copyright 2007 Mario Marcello Verona
  8. @version 0.90
  9. @license http://www.gnu.org/licenses/gpl.html GNU Public License
  10. */
  11.  
  12. require_once("./inc/conn.php");
  13. require_once("./inc/layouts.php");
  14. require_once("./inc/func.comuni.php");
  15.  
  16.  
  17.  
  18.  
  19. echo openLayout1("Dati personali",array("sty/tabelle.css"));
  20.  
  21. //print_r($_SESSION['user']);
  22.  
  23. echo "<div id=\"briciole\"><a href=\"javascript:history.back();\" >Torna indietro</a></div>\n";
  24.  
  25. echo "<h1>Profilo utente</h1>\n";
  26.  
  27.  
  28. echo "<table summary=\"dati utente\" class=\"tab-color\">
  29.  
  30.     <tr>
  31.         <th>ID</th>
  32.         <td>".$_SESSION['user']['uid']."</td>
  33.     </tr>
  34.     <tr>
  35.         <th>Nome</th>
  36.         <td>".$_SESSION['user']['nome']."</td>
  37.     </tr>
  38.     <tr>
  39.         <th>Cognome</th>
  40.         <td>".$_SESSION['user']['cognome']."</td>
  41.     </tr>
  42.     <tr>
  43.         <th>email</th>
  44.         <td>".$_SESSION['user']['email']."</td>
  45.     </tr>
  46.     <tr>
  47.         <th>data ultima modifica</th>
  48.         <td>".dataITA($_SESSION['user']['data_ins'],false)."</td>
  49.     </tr>
  50.     
  51.     <tr>
  52.         <th>gruppo</th>
  53.         <td>".$_SESSION['user']['gid']." - "gid2nome_gruppo($_SESSION['user']['gid'])."</td>
  54.     </tr>
  55.     
  56.     <tr>
  57.         <th>livello</th>
  58.         <td>".$_SESSION['user']['livello']."</td>
  59.     </tr>        
  60.  
  61. </table>
  62. ";
  63.  
  64.  
  65.  
  66.  
  67.  
  68. echo closeLayout1();
  69.  
  70.  
  71.  
  72.  
  73. ?>

Documentation generated on Sat, 22 Sep 2007 11:49:56 +0200 by phpDocumentor 1.4.0a2