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

Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /**
  3.  * @package linea21.modules
  4.  * @subpackage project
  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.  
  18.  
  19. //////////// Check Droits utilisateur ////////////  
  20. if (!IsSuperAdmin()) ReloadIndex('admin');  
  21. ////////////
  22.  
  23. include_once($dir."/".SQL.".inc.php");
  24. include_once('../class/class.project.php'); 
  25.  
  26. $todopage=$dir."/";
  27.     switch ($todo) 
  28.     {
  29.         case 'add':
  30.         $todopage.="add.php";
  31.         break;
  32.         case 'mod':
  33.         $todopage.="mod.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 Sat, 08 Nov 2008 14:52:40 +0100 by phpDocumentor 1.4.1