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 dashboard
  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 (!HaveRight('dashboard')) ReloadIndex('admin');  
  21. ////////////
  22.  
  23. include_once($dir."/".SQL.".inc.php");
  24. include_once('../class/class.sdi.php');
  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.         case 'rap':
  44.         $todopage.="rap.php";
  45.         break;
  46.         default:
  47.         $todopage.="add.php";                            
  48.     }
  49. include_once($todopage);    
  50. ?>

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