BioTorrents.de’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.

recover_step1.php 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. declare(strict_types=1);
  3. View::show_header('Recover Password', 'validate');
  4. ?>
  5. <h2>Reset your password</h2>
  6. <?php
  7. if (empty($Sent) || (!empty($Sent) && $Sent !== 1)) {
  8. if (!empty($Err)) { ?>
  9. <p class="important_text">
  10. <?= $Err ?>
  11. </p>
  12. <?php } ?>
  13. <p>
  14. An email will be sent to your email address with information on how to reset your password.
  15. Please remember to check your spam folder.
  16. </p>
  17. <form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
  18. <table class="layout" cellpadding="2" cellspacing="1" border="0" align="center">
  19. <tr valign="center">
  20. <td align="left">
  21. <input type="email" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" name="email"
  22. id="email" class="inputtext" required="required" maxlength="50" autofocus="autofocus"
  23. placeholder="Email address" size="40" autocomplete="email" />
  24. </td>
  25. </tr>
  26. <tr>
  27. <td colspan="2" align="right">
  28. <input type="submit" name="reset" value="Reset" class="submit" />
  29. </td>
  30. </tr>
  31. </table>
  32. </form>
  33. <?php
  34. } else { ?>
  35. <p>
  36. An email has been sent to you.
  37. Please follow the directions to reset your password and remember to check your spam folder.
  38. </p>
  39. <?php
  40. }
  41. View::show_footer(['recover' => true]);