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.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?
  2. /*****************************************************************
  3. User history switch center
  4. This page acts as a switch that includes the real user history pages (to keep
  5. the root less cluttered).
  6. enforce_login() is run here - the entire user history pages are off limits for
  7. non members.
  8. *****************************************************************/
  9. //Include all the basic stuff...
  10. enforce_login();
  11. if ($_GET['action']) {
  12. switch ($_GET['action']) {
  13. case 'ips':
  14. //Load IP history page
  15. include('ip_history.php');
  16. break;
  17. case 'tracker_ips':
  18. include('ip_tracker_history.php');
  19. break;
  20. case 'passwords':
  21. //Load Password history page
  22. include('password_history.php');
  23. break;
  24. case 'email':
  25. //Load email history page
  26. include('email_history.php');
  27. break;
  28. case 'email2':
  29. //Load email history page
  30. include('email_history2.php');
  31. break;
  32. case 'useremail':
  33. include('email_history_userview.php');
  34. break;
  35. case 'userip':
  36. include('ip_history_userview.php');
  37. break;
  38. case 'passkeys':
  39. //Load passkey history page
  40. include('passkey_history.php');
  41. break;
  42. case 'posts':
  43. //Load ratio history page
  44. include('post_history.php');
  45. break;
  46. case 'subscriptions':
  47. // View subscriptions
  48. require('subscriptions.php');
  49. break;
  50. case 'thread_subscribe':
  51. require('thread_subscribe.php');
  52. break;
  53. case 'comments_subscribe':
  54. require('comments_subscribe.php');
  55. break;
  56. case 'catchup':
  57. require('catchup.php');
  58. break;
  59. case 'collage_subscribe':
  60. require('collage_subscribe.php');
  61. break;
  62. case 'subscribed_collages':
  63. require('subscribed_collages.php');
  64. break;
  65. case 'catchup_collages':
  66. require('catchup_collages.php');
  67. break;
  68. case 'token_history':
  69. require('token_history.php');
  70. break;
  71. case 'quote_notifications':
  72. require('quote_notifications.php');
  73. break;
  74. default:
  75. //You trying to mess with me query string? To the home page with you!
  76. header('Location: index.php');
  77. }
  78. }
  79. /* Database Information Regarding This Page
  80. users_history_ips:
  81. id (auto_increment, index)
  82. userid (index)
  83. ip (stored using ip2long())
  84. timestamp
  85. users_history_passwd:
  86. id (auto_increment, index)
  87. userid (index)
  88. changed_by (index)
  89. old_pass
  90. new_pass
  91. timestamp
  92. users_history_email:
  93. id (auto_increment, index)
  94. userid (index)
  95. changed_by (index)
  96. old_email
  97. new_email
  98. timestamp
  99. users_history_passkey:
  100. id (auto_increment, index)
  101. userid (index)
  102. changed_by (index)
  103. old_passkey
  104. new_passkey
  105. timestamp
  106. users_history_stats:
  107. id (auto_increment, index)
  108. userid (index)
  109. uploaded
  110. downloaded
  111. ratio
  112. timestamp
  113. */
  114. ?>