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. //////////// Check Droits utilisateur ////////////  
  19. if (!IsSuperAdmin()) ReloadIndex('admin');  
  20. ////////////
  21.  
  22. include_once($dir."/".SQL.".inc.php");
  23. include_once('../class/class.project.php')
  24.  
  25. $todopage=$dir."/";
  26.     switch ($todo
  27.     {
  28.         case 'add':
  29.         $todopage.="add.php";
  30.         break;
  31.         case 'mod':
  32.         $todopage.="mod.php";
  33.         break;
  34.         case 'sup':
  35.         $todopage.="sup.php";
  36.         break;        
  37.         case 'list':
  38.         $todopage.="list.php";
  39.         break;
  40.         case 'det':
  41.         $todopage.="det.php";
  42.         break;
  43.         default:
  44.         $todopage.="add.php";                            
  45.     }
  46. include_once($todopage);    
  47. ?>

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