예제 #1
0
파일: admin.php 프로젝트: bergi9/2Moons
     break;
 case 'reset':
     include_once 'includes/pages/adm/ShowResetPage.php';
     ShowResetPage();
     break;
 case 'news':
     include_once 'includes/pages/adm/ShowNewsPage.php';
     ShowNewsPage();
     break;
 case 'topnav':
     include_once 'includes/pages/adm/ShowTopnavPage.php';
     ShowTopnavPage();
     break;
 case 'overview':
     include_once 'includes/pages/adm/ShowOverviewPage.php';
     ShowOverviewPage();
     break;
 case 'menu':
     include_once 'includes/pages/adm/ShowMenuPage.php';
     ShowMenuPage();
     break;
 case 'clearcache':
     include_once 'includes/pages/adm/ShowClearCachePage.php';
     ShowClearCachePage();
     break;
 case 'universe':
     include_once 'includes/pages/adm/ShowUniversePage.php';
     ShowUniversePage();
     break;
 case 'multiips':
     include_once 'includes/pages/adm/ShowMultiIPPage.php';
예제 #2
0
파일: game.php 프로젝트: sonicmaster/RPG
include $xgp_root . 'includes/functions/GetBuildingPrice.' . $phpEx;
include $xgp_root . 'includes/functions/IsElementBuyable.' . $phpEx;
include $xgp_root . 'includes/functions/SetNextQueueElementOnTop.' . $phpEx;
include $xgp_root . 'includes/functions/SortUserPlanets.' . $phpEx;
include $xgp_root . 'includes/functions/UpdatePlanetBatimentQueueList.' . $phpEx;
switch ($_GET[page]) {
    // ----------------------------------------------------------------------------------------------------------------------------------------------//
    case 'changelog':
        include_once $xgp_root . 'includes/pages/ShowChangelogPage.' . $phpEx;
        ShowChangelogPage();
        break;
        // ----------------------------------------------------------------------------------------------------------------------------------------------//
    // ----------------------------------------------------------------------------------------------------------------------------------------------//
    case 'overview':
        include_once $xgp_root . 'includes/pages/ShowOverviewPage.' . $phpEx;
        ShowOverviewPage($user, $planetrow);
        break;
        // ----------------------------------------------------------------------------------------------------------------------------------------------//
    // ----------------------------------------------------------------------------------------------------------------------------------------------//
    case 'galaxy':
        include_once $xgp_root . 'includes/pages/class.ShowGalaxyPage.' . $phpEx;
        $ShowGalaxyPage = new ShowGalaxyPage($user, $planetrow);
        break;
    case 'phalanx':
        include_once $xgp_root . 'includes/pages/ShowPhalanxPage.' . $phpEx;
        ShowPhalanxPage($user, $planetrow);
        break;
        // ----------------------------------------------------------------------------------------------------------------------------------------------//
    // ----------------------------------------------------------------------------------------------------------------------------------------------//
    case 'imperium':
        include_once $xgp_root . 'includes/pages/ShowImperiumPage.' . $phpEx;