Example #1
0
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'messages':
     include_once $xgp_root . 'includes/pages/ShowMessagesPage.' . $phpEx;
     ShowMessagesPage($user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'alliance':
     include_once $xgp_root . 'includes/pages/class.ShowAlliancePage.' . $phpEx;
     new ShowAlliancePage($user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'buddy':
     include_once $xgp_root . 'includes/pages/ShowBuddyPage.' . $phpEx;
     ShowBuddyPage($user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'notes':
     include_once $xgp_root . 'includes/pages/ShowNotesPage.' . $phpEx;
     ShowNotesPage($user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'statistics':
     include_once $xgp_root . 'includes/pages/ShowStatisticsPage.' . $phpEx;
     ShowStatisticsPage($user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
Example #2
0
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'alliance':
     if (CheckModule(0)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/class.ShowAlliancePage.php';
     new ShowAlliancePage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'buddy':
     if (CheckModule(6)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/ShowBuddyPage.php';
     ShowBuddyPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'notes':
     if (CheckModule(17)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/class.ShowNotesPage.php';
     new ShowNotesPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'fleettrader':
     if (CheckModule(38)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
Example #3
0
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'messages':
     include_once $svn_root . 'includes/pages/ShowMessagesPage.' . $phpEx;
     ShowMessagesPage($users->user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'notes':
     include_once $svn_root . 'includes/pages/ShowNotesPage.' . $phpEx;
     ShowNotesPage($users->user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'buddy':
     include_once $svn_root . 'includes/pages/ShowBuddyPage.' . $phpEx;
     ShowBuddyPage($users->user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'support':
     include_once $svn_root . 'includes/pages/ShowSupportPage.' . $phpEx;
     ShowSupportPage($users->user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'contact':
     include_once $svn_root . 'includes/pages/ShowContactPage.' . $phpEx;
     ShowContactPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//