include_once ROOT_PATH . 'includes/pages/class.ShowFleetPages.php'; ShowFleetPages::FleetAjax(); break; case 'missiles': if (CheckModule(9) || CheckModule(1)) { message($LNG['sys_module_inactive'], "?page=overview", 3, true, true); } include_once ROOT_PATH . 'includes/pages/class.ShowFleetPages.php'; ShowFleetPages::MissilesAjax(); break; case 'shortcuts': if (CheckModule(40)) { message($LNG['sys_module_inactive'], "?page=overview", 3, true, true); } include_once ROOT_PATH . 'includes/pages/ShowFleetShortcuts.php'; ShowFleetShortcuts(); break; // ----------------------------------------------------------------------------------------------------------------------------------------------// // ----------------------------------------------------------------------------------------------------------------------------------------------// case 'buildings': $mode = request_var('mode', ''); switch ($mode) { case 'research': if (CheckModule(3)) { message($LNG['sys_module_inactive'], "?page=overview", 3, true, true); } include_once ROOT_PATH . 'includes/pages/class.ShowResearchPage.php'; new ShowResearchPage(); break; case 'fleet': if (CheckModule(4)) {
break; case 'fleet2': include_once $xgp_root . 'includes/pages/ShowFleet2Page.' . $phpEx; ShowFleet2Page($user, $planetrow); break; case 'fleet3': include_once $xgp_root . 'includes/pages/ShowFleet3Page.' . $phpEx; ShowFleet3Page($user, $planetrow); break; case 'fleetACS': include_once $xgp_root . 'includes/pages/ShowFleetACSPage.' . $phpEx; ShowFleetACSPage($user, $planetrow); break; case 'shortcuts': include_once $xgp_root . 'includes/pages/ShowFleetShortcuts.' . $phpEx; ShowFleetShortcuts($user); break; // ----------------------------------------------------------------------------------------------------------------------------------------------// // ----------------------------------------------------------------------------------------------------------------------------------------------// case 'buildings': include_once $xgp_root . 'includes/functions/HandleTechnologieBuild.' . $phpEx; UpdatePlanetBatimentQueueList($planetrow, $user); $IsWorking = HandleTechnologieBuild($planetrow, $user); switch ($_GET['mode']) { case 'research': include_once $xgp_root . 'includes/pages/class.ShowResearchPage.' . $phpEx; new ShowResearchPage($planetrow, $user, $IsWorking['OnWork'], $IsWorking['WorkOn']); break; case 'fleet': include_once $xgp_root . 'includes/pages/class.ShowShipyardPage.' . $phpEx; $FleetBuildingPage = new ShowShipyardPage();