Пример #1
0
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'infos':
     if (CheckModule(14)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/class.ShowInfosPage.php';
     new ShowInfosPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'messages':
     if (CheckModule(16)) {
         message($LNG['sys_module_inactive'], "?page=overview", 3, true, true);
     }
     include_once ROOT_PATH . 'includes/pages/ShowMessagesPage.php';
     ShowMessagesPage();
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 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);
Пример #2
0
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'techtree':
     include_once $xgp_root . 'includes/pages/ShowTechTreePage.' . $phpEx;
     ShowTechTreePage($user, $planetrow);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 case 'infos':
     include_once $xgp_root . 'includes/pages/class.ShowInfosPage.' . $phpEx;
     new ShowInfosPage($user, $planetrow, $_GET['gid']);
     break;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//
 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;
     // ----------------------------------------------------------------------------------------------------------------------------------------------//
 // ----------------------------------------------------------------------------------------------------------------------------------------------//