Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $pages = array
- (
- 'signup' => './pages/registration.php',
- 'register' => './pages/reg_process.php',
- 'download' => './pages/download.php',
- 'concurrent' => './pages/concurrent.php',
- 'userrank' => './pages/userrank.php',
- 'clanrank' => './pages/clanrank.php',
- 'monthlyrank' => './pages/monthlyrank.php',
- 'serverinfo' => './pages/serverinfo.php',
- 'banned' => './pages/noobs.php',
- 'mobdropfinder' => './pages/bestiary.php',
- 'login' => './pages/login.php',
- 'loginprocess' => './pages/loginprocess.php',
- 'ticket' => './pages/subticket.php',
- 'report' => './pages/report.php',
- 'freepus' => './pages/powerupstore.php',
- 'donrpus' => './pages/pus.php',
- 'vote' => './pages/vote.php',
- 'changepw' => './pages/changepw.php',
- 'donate' => './pages/donate.php',
- 'signout' => './pages/logout.php',
- 'user' => './pages/user.php',
- 'clan' => './pages/clan.php',
- '' => './pages/default.php'
- );
- if (!isset($_GET['call']))
- {
- $act = reset($pages);
- }
- else
- {
- $act = $_GET['call'];
- if (!property_exists((object)$pages, $act))
- {
- $act = reset($pages);
- }
- else
- {
- $act = $pages[$act];
- }
- }
- ?>
Add Comment
Please, Sign In to add comment