예제 #1
0
파일: game.php 프로젝트: sonicmaster/RPG
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'fleettrader':
     if (CheckModule(38)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/ShowFleetTraderPage.php';
     ShowFleetTraderPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'statistics':
     if (CheckModule(25)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/ShowStatisticsPage.php';
     ShowStatisticsPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'search':
     if (CheckModule(26)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/ShowSearchPage.php';
     ShowSearchPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'options':
     include_once ROOT_PATH . 'includes/pages/class.ShowOptionsPage.php';
     new ShowOptionsPage();
예제 #2
0
파일: game.php 프로젝트: sonicmaster/RPG
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 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;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'search':
     include_once $xgp_root . 'includes/pages/ShowSearchPage.' . $phpEx;
     ShowSearchPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'options':
     include_once $xgp_root . 'includes/pages/class.ShowOptionsPage.' . $phpEx;
     new ShowOptionsPage($user);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//