forked from ZykeNetwork/Project-Burger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequest-account-activate.php
76 lines (37 loc) · 1.81 KB
/
request-account-activate.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!--header-->
<?php require_once 'includes/header.php'; ?>
<!--navbar-->
<?php require_once 'includes/navbar.php'; ?>
<div class="container">
<div class="row">
<div class="col-md-6 mx-auto">
<div class='card card-body bg-light mt-5'>
<h2>Activate Account Request</h2>
<?php
echo getMsg('msg');
$err = getMsg('errors');
$data = getMsg('form_data');
?>
<form action="<?= URLROOT.'/process/request_activate_account.php' ?>" method='POST'>
<div class="form-group">
<label for='email'>Email: <sup>*</sup></label>
<input type='email' name="email" value="<?php echo($data['email']); ?>" class="form-control form-control-lg <?php echo(isset($err['email_err'])) ? 'is-invalid' : ''; ?>">
<span class="invalid-feedback"><?php echo($err['email_err']); ?></span>
</div>
<div class="row">
<div class='col'>
<input type='submit' name='request-activate-account' value='Send Reset Link' class='btn btn-block color-set'>
</div>
</div>
<div class="row">
<div class='col'>
<a href="<?php echo(URLROOT); ?>/login.php" class="btn text-right btn-block">Go Back to Login </a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!--footer-->
<?php require_once 'includes/footer.php'; ?>