linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage user
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. //////////// Check Inclusion de pages ////////////
  12. if (!function_exists('AuthenthificationProcess')) {
  13.     include_once("../lib/lib_common.php");
  14.     ReloadIndex('admin');
  15. ////////////
  16.  
  17. //////////// Check Droits utilisateur ////////////
  18. if (!IsSuperAdmin()) ReloadIndex('admin');
  19. ////////////
  20.  
  21. include_once('../class/class.user.php')
  22.  
  23. $todopage=$dir."/";
  24.     switch ($todo
  25.     {
  26.         case 'add':
  27.         $todopage.="add.php";
  28.         break;
  29.         case 'mod':
  30.         $todopage.="mod.php";
  31.         break;
  32.         case 'mod_p':
  33.         $todopage.="modpass.php";
  34.         break;
  35.         case 'sup':
  36.         $todopage.="sup.php";
  37.         break;        
  38.         case 'list':
  39.         $todopage.="list.php";
  40.         break;
  41.         case 'det':
  42.         $todopage.="det.php";
  43.         break;
  44.         default:
  45.         $todopage.="add.php";                            
  46.     }
  47. include_once($todopage);    
  48. ?>

Documentation generated on Fri, 16 Oct 2009 09:34:09 +0200 by phpDocumentor 1.4.1