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

Source for file index.php

Documentation is available at index.php

  1. <?
  2. /**
  3.  * @package linea21.modules
  4.  * @subpackage news
  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 (!hasRight('news')) ReloadIndex('admin');
  20. ////////////
  21.  
  22. include_once('../class/class.comment.php');
  23. include_once(themePath('../comment/display.php'));
  24.  
  25. $todopage=$dir."/";
  26. switch ($todo)
  27. {
  28.   case 'det':
  29.     $todopage.="det.php";
  30.     break;
  31.   case 'list':
  32.     $todopage.="list.php";
  33.     break;
  34.   default:
  35.     $todopage.="list.php";
  36. }
  37. include_once($todopage);
  38. ?>

Documentation generated on Thu, 03 May 2012 15:05:10 +0200 by phpDocumentor 1.4.1