-
Notifications
You must be signed in to change notification settings - Fork 0
/
reset.php
30 lines (26 loc) · 1.05 KB
/
reset.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
$selected = 'account';
$forNewbies = true;
$cur = 'odd';
include('./includes/header.php');
$login = '';
$confirm = '';
if(isset($_POST['reset'])) {
include('./scripts/reset_password.php');
}
displayErrors($errors);
displayNotices($notices);
?>
<form action="reset.php" method="post">
<table class="width100p" cellspacing="0">
<tr><th class="content-header" colspan="2">Reset Your password</th></tr>
<tr<?php $cur = row($cur); ?>><th class="content-miniheader width200"><label id="userLabel">Login</label></th>
<td><input class="width200" autocomplete="off" name="login" type="text" value="<?php echo $login; ?>"></td></tr>
<tr<?php $cur = row($cur); ?>><th class="content-miniheader width200"><label id="userLabel">Confirm Login </label></th>
<td><input class="width200" autocomplete="off" name="confirm" type="text" value="<?php echo $confirm; ?>"></td></tr>
<tr<?php $cur = row($cur); ?>><td></td><td><input class="submit-input" name="reset" type="submit" value="Email a temporary password"></td></tr>
</table>
</form>
<?php
include('./includes/footer.php');
?>