-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset-code.php
More file actions
113 lines (105 loc) · 4.85 KB
/
reset-code.php
File metadata and controls
113 lines (105 loc) · 4.85 KB
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
<?php require_once "controllerUserData.php"; ?>
<?php
$email = $_SESSION['email'];
if ($email == false) {
header('Location: login.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link rel="stylesheet" type="text/css" href="assest/bootstrap-5.2.3-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<link rel="stylesheet" href="./assest/css/login.css">
</head>
<body>
<!-- ======================= First section ===================== -->
<section class="top_nav">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="brand d-flex">
<img src="./assest/img/Background.png" style="width: 50px; height:50px" alt="logo">
<h3 class="brand_name">Clickbase</h3>
</div>
</div>
</div>
</div>
</section>
<!-- ======================= Second section ===================== -->
<section class="second p-2">
<div class="container">
<div class="row">
<div class="col-md-12">
<h6 class="text-center">Powering Your World with the Latest in Electronics!</h6>
</div>
</div>
</div>
</section>
<!-- ======================= Third section ===================== -->
<section class="ruler"></section>
<!-- ======================= Fourth section ===================== -->
<section class="fourth">
<div class="container-fluid">
<div class="row">
<div class="col-md-12 d-flex" id="box">
<div class="col-md-4 left">
<div class="content">
<h4>Hello</h4>
<h6 class="login-details text-white text-justify">Enter the OTP from the email</h6>
</div>
</div>
<div class="col-md-8 right">
<h3 class="text-center login-heading">OTP Verification</h3>
<?php
if (isset($_SESSION['info'])) {
?>
<div class="alert alert-success text-center" style="padding: 0.4rem 0.4rem">
<?php echo $_SESSION['info']; ?>
</div>
<?php
}
?>
<?php
if (count($errors) > 0) {
?>
<div class="alert alert-danger text-center">
<?php
foreach ($errors as $showerror) {
echo $showerror;
}
?>
</div>
<?php
}
?>
<form class="" action="reset-code.php" method="POST">
<div class="mb-1">
<!-- <label for="exampleInputEmail1" class="form-label"><span class="me-2"><i class="fa-solid fa-envelope"></i></span>Email</label> -->
<!-- <input type="email" class="form-control" name="email" id="email" aria-describedby="emailHelp"> -->
<input class="form-control" type="number" name="otp" placeholder="Enter code" required>
</div>
<!-- ============ Submit Button ============ -->
<div class="col-md-12 mt-5 d-flex submit-button-row">
<div class="btn">
<button type="submit" class="submit-btn" name="check-reset-otp" value="Submit" onclick="">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!--====================== JS and Jquery file linked =========================-->
<script type="text/javascript" src="assest/bootstrap-5.2.3-dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="assest/js/jquery-3.7.1.min.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
</script>
</body>
</html>