account.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <div class="container mt-3 py-4">
  2. <h2>Account</h2>
  3. <?php
  4. switch(Core::$user->level) {
  5. case User::LEVEL_BANNED:
  6. ?>
  7. <div class="alert alert-danger"><i class="fal fa-fw fa-exclamation-circle"></i> Your account has been banned. You will not be able to participate in any tests.</div>
  8. <?php
  9. break;
  10. case User::LEVEL_REGISTERED:
  11. ?>
  12. <div class="alert alert-warning"><i class="fal fa-fw fa-clock"></i> Your account is not verified. You need to submit proof of ID and get your account verified before you can participate in tests.</div>
  13. <?php
  14. break;
  15. case User::LEVEL_UNVERIFIED:
  16. ?>
  17. <div class="alert alert-warning"><i class="fal fa-fw fa-clock"></i> Your account is pending verification. You will be able to participate in tests once verified.</div>
  18. <?php
  19. break;
  20. case User::LEVEL_DEACTIVATED:
  21. ?>
  22. <div class="alert alert-info"><i class="fal fa-fw fa-info-circle"></i> Your account is deactivated. You will not be able to participate in any tests until you reactivate your account.</div>
  23. <?php
  24. break;
  25. }
  26. ?>
  27. <div class="row">
  28. <div class="col-lg-4">
  29. <h3>Main Menu</h3>
  30. <div class="list-group">
  31. <?php
  32. foreach($links as $path => $text) {
  33. ?>
  34. <a class="list-group-item list-group-item-action" href="<?=htmlspecialchars($path)?>">
  35. <?=htmlspecialchars($text)?>
  36. </a>
  37. <?php
  38. }
  39. ?>
  40. </div>
  41. </div>
  42. <div class="col-lg">
  43. <h3>Useful Documents</h3>
  44. <ul>
  45. <li><a href="/files/id_response.pdf">ID Response for Testers</a></li>
  46. <li><a href="/files/testing_methodology.pdf">Age Verification Testing Methodology</a></li>
  47. <li><a href="/files/machine_categories.pdf">Machine Categories</a></li>
  48. <li><a href="/files/testing_procedure.pdf">Testing Procedure</a></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </div>