Location: PHPKode > projects > WebETB > _include/header_1.php4
<?php
   // Session-Managment  
      session_name('webetb');
      session_start();
      session_register('action');
      session_register('access');
      session_register('uid');
      session_register('mygroup');      
      session_register('eid');
      session_register('last_lfd');
      session_register('max_lfd');
      session_register('last_lfd1');
      session_register('max_lfd1');
      session_register('last_sort_order');
      session_register('last_sort_text');
      session_register('writemode');
      session_register('isclosed');
      session_register('last_list_order');
      session_register('last_list_text');
      session_register('ExtMapTimeStamp');
 
      
      if ( $access != "TRUE" )
      {
         echo "<meta http-equiv=\"refresh\" content=\"0; URL=../login.php4\">\n";
         exit;
      }

   // Check Site permission
      $count_allowed_groups=count($allowed_groups);
      $count_allowed_groups--;
      $has_access=FALSE;
 
      for ($i=0;$i<=$count_allowed_groups;$i++)
      {
         if ($allowed_groups[$i] == $mygroup )
            {  $has_access=TRUE; }
      }
      if ($has_access!=1)
            { echo "<meta http-equiv=\"refresh\" content=\"0; URL=../todo/index.php4\">\n"; exit() ; }
                  
      include "../config/conf_glbl.php4";
      include "../_include/higher_funcs.php4";

   // Set group-depending menubar
      switch ($mygroup)
      {
      case "elw":    include "menu_elw.php4";
                     break;                     
      case "san":    include "menu_san.php4";
                     break;
      case "reg":    include "menu_reg.php4";
                     break;
      case "trans":  include "menu_trans.php4";
                     break;                                           
      default:       include "menu_non.php4";
      }
      
      
?>
Return current item: WebETB