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 scale
  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 Droits utilisateur ////////////
  12. if (!$l21auth->isSuperAdmin()) ReloadIndex('admin');
  13. ////////////
  14.  
  15. include_once($dir."/".SQL.".inc.php");
  16. include_once('../class/class.scale.php');
  17.  
  18. $todopage=$dir."/";
  19. switch ($todo)
  20. {
  21.   case 'add':
  22.     $todopage.="add.php";
  23.     break;
  24.   case 'mod':
  25.     $todopage.="mod.php";
  26.     break;
  27.   case 'sup':
  28.     $todopage.="sup.php";
  29.     break;
  30.   case 'list':
  31.     $todopage.="list.php";
  32.     break;
  33.   case 'det':
  34.     $todopage.="det.php";
  35.     break;
  36.   default:
  37.     $todopage.="add.php";
  38. }
  39. include_once(override($todopageTHEME_ADMIN_PATH));
  40. ?>

Documentation generated on Thu, 20 Mar 2014 16:48:07 +0100 by phpDocumentor 1.4.1