account.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. <h3>Select Page</h3>
  28. <div class="row">
  29. <?php
  30. foreach($buttons as $path => $text) {
  31. ?>
  32. <div class="col-sm-6 col-md-4 col-lg-3 mb-3">
  33. <a class="btn btn-block btn-outline-primary btn-lg" href="<?=htmlspecialchars($path)?>"><?=htmlspecialchars($text)?></a>
  34. </div>
  35. <?php
  36. }
  37. ?>
  38. </div>
  39. <hr />
  40. <h3>Useful Documents</h3>
  41. <ul>
  42. <li><a href="/files/id_response.pdf">ID Response for Testers</a></li>
  43. <li><a href="/files/testing_methodology.pdf">Age Verification Testing Methodology</a></li>
  44. <li><a href="/files/machine_categories.pdf">Machine Categories</a></li>
  45. <li><a href="/files/testing_procedure.pdf">Testing Procedure</a></li>
  46. </ul>
  47. </div>