-
Notifications
You must be signed in to change notification settings - Fork 0
/
email_token_field.php
executable file
·60 lines (40 loc) · 1.36 KB
/
email_token_field.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
<?php
include_once "views_preprocessor.php";
if (!check_session()) {
redirect_to("includes/logout.php");
}
?>
<div class="index-body container ">
<!-- token field starts here -->
<div class="card card-login mx-auto mt-5">
<div class="card-header">TOKEN AND NEW EMAIL</div>
<div class="card-body">
<form method="post" action="controllers/email_token_processor.php" class="">
<!-- token -->
<div class="form-group">
<div class="form-label-group">
<input type="text" class="form-control" id="token" name="token" placeholder="token">
<label for="token" class="text-capitalize">Token</label>
</div>
</div>
<!-- new email -->
<div class="">
<div class="form-label-group">
<input type="email" class="form-control" id="update_email" name="update_email" placeholder="new email"/>
<label for="new email" class="text-capitalize">New Email</label>
</div>
</div>
<!-- button -->
<button type="submit" class="btn btn-primary btn-block mb-1" name="email_token_btn" value="email_token_btn">SEND</button>
</form>
<!-- form ends here -->
</div>
<div class="text-center">
<a class="d-block small mt-3 text-capitalize" href="<?="index.php";?>">Cancel</a>
</div>
</div>
</div>
<?php
/* include footer */
include_once "templates/footer.php";
?>