Oppaitime's version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?
  2. enforce_login();
  3. if ($LoggedUser['DisableNips']) {
  4. View::show_header('Store'); ?>
  5. <div class='thin'>
  6. <h2 id='general'>Denied</h2>
  7. <div class='box pad' style='padding: 10px 10px 10px 20px;'>
  8. <p>You are not allowed to spend nips.</p>
  9. </div>
  10. </div>
  11. <? View::show_footer();
  12. } else {
  13. if (isset($_REQUEST['item'])) {
  14. switch ($_REQUEST['item']) {
  15. case 'upload_1GB':
  16. include(SERVER_ROOT.'/sections/store/upload_1GB.php');
  17. break;
  18. case 'upload_10GB':
  19. include(SERVER_ROOT.'/sections/store/upload_10GB.php');
  20. break;
  21. case 'upload_100GB':
  22. include(SERVER_ROOT.'/sections/store/upload_100GB.php');
  23. break;
  24. case 'upload_1000GB':
  25. include(SERVER_ROOT.'/sections/store/upload_1000GB.php');
  26. break;
  27. case '1k_points':
  28. include(SERVER_ROOT.'/sections/store/1k_points.php');
  29. break;
  30. case '10k_points':
  31. include(SERVER_ROOT.'/sections/store/10k_points.php');
  32. break;
  33. case '100k_points':
  34. include(SERVER_ROOT.'/sections/store/100k_points.php');
  35. break;
  36. case '1m_points':
  37. include(SERVER_ROOT.'/sections/store/1m_points.php');
  38. break;
  39. case 'token':
  40. include(SERVER_ROOT.'/sections/store/token.php');
  41. break;
  42. case 'freeleechize':
  43. include(SERVER_ROOT.'/sections/store/freeleechize.php');
  44. break;
  45. case 'freeleechpool':
  46. include(SERVER_ROOT.'/sections/store/freeleechpool.php');
  47. break;
  48. case 'invite':
  49. include(SERVER_ROOT.'/sections/store/invite.php');
  50. break;
  51. case 'title':
  52. include(SERVER_ROOT.'/sections/store/title.php');
  53. break;
  54. case 'promotion':
  55. include(SERVER_ROOT.'/sections/store/promotion.php');
  56. break;
  57. case 'become_admin':
  58. include(SERVER_ROOT.'/sections/store/become_admin.php');
  59. break;
  60. case 'badge':
  61. include(SERVER_ROOT.'/sections/store/badge.php');
  62. break;
  63. case 'capture_user':
  64. include(SERVER_ROOT.'/sections/store/capture_user.php');
  65. break;
  66. default:
  67. error(404);
  68. break;
  69. }
  70. } else {
  71. include(SERVER_ROOT.'/sections/store/store.php');
  72. }
  73. }
  74. ?>