Location: PHPKode > projects > ProjectButler > ProjectButler/menu/php/menu.php
<?php

     $offset = "../../includes/";

     require_once($offset."class.menu.inc");

     require_once($offset."class.access_right.inc");


     if (PM_Common::check_login($system_user_id, $system_user_group_id ) != $secure_check) {
       $error = new Error_Management;
       $error->error_page(1,'');
       die();
     }

     $username = Access_Right::get_user_name($system_user_id);

     $menu_array = new Menu;

     $orderby = "Menu_ID";

     $menu_array =$menu_array->get_menus($system_user_group_id,'A',$orderby);
     for($i=1; $i <= count($menu_array); $i++) {
       $menu_list=$menu_array[$i];
       $menu_id_list[$i] = $menu_list->menu_id;
       $topic[$i] =$menu_list->topic;
       $path[$i] = $menu_list->path;
     }

?>


Return current item: ProjectButler