-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathverify.php
125 lines (103 loc) · 3.47 KB
/
verify.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?php
require "app/vendor/autoload.php";
require 'app/Apis/database/DataBase.php';
if (!DataBase::is_login()) {
header('location:login');
}
$mode=$_SESSION['VMODE'];
?>
<html>
<head>
<title>
<?php
if($mode=="v"){
echo("Verifiy");
}else if($mode=="rs"){
}
?>
</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<!--$_SESSION['VMODE']-->
<style>
.card {
width: 400px;
padding: 10px;
border-radius: 20px;
background: #fff;
border: none;
height: 400px;
position: relative
}
.container {
height: 100vh
}
body {
background: #eee
}
.mobile-text {
color: #989696b8;
font-size: 15px
}
.form-control {
margin-right: 12px;
width:50px;
}
.form-control:focus {
color: #495057;
background-color: #fff;
border-color: #ff8880;
outline: 0;
/*width:50px;*/
box-shadow: none
}
.cursor {
cursor: pointer
}
</style>
</head>
<body>
<div class="d-flex justify-content-center align-items-center container">
<div class="card py-5 px-3">
<h5 class="m-0">
<?php
if($mode=="v"){
echo("verification code");
}else if($mode=="rs"){
}
?>
</h5>
<?php
$email=DataBase::getEmail();
if($mode=="v"){
echo('<span class="mobile-text">Enter the code we just send on your Email Address. <b class="text-danger">'. $email.'</b>');
}else if($mode=="rs"){
}
?>
<!--updateverify-->
</span>
<form action="updateverify" method="POST">
<div class="d-flex flex-row mt-5">
<input type="text" required name="v1" class="form-control" autofocus="">
<input type="text" required name="v2" class="form-control">
<input type="text" required name="v3" class="form-control">
<input type="text" required name="v4" class="form-control">
<input type="text" required name="v5" class="form-control">
<input type="text" required name="v6" class="form-control">
<input type="hidden" value="updateverify" name="action" class="form-control">
</div>
<br>
<button type="submit" class="btn btn-success">Verify</button>
<div class="text-center mt-5"><span class="d-block mobile-text">Don't receive the code?</span><span class="font-weight-bold text-danger cursor">Resend</span></div>
</form>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-eMNCOe7tC1doHpGoWe/6oMVemdAVTMs2xqW4mwXrXsW0L84Iytr2wi5v2QjrP/xp" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cn7l7gDp0eyniUwwAZgrzD06kc/tftFf19TOAs2zVinnD/C7E91j9yyk5//jjpt/" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
<script>
$(document).ready(function () {
// alert("hi");
});
</script>
</body>
</html>