-
Notifications
You must be signed in to change notification settings - Fork 2
/
forgotpass.php
73 lines (60 loc) · 2.79 KB
/
forgotpass.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
<?php
//include("config.php"); //to access the db connection and setting session if validation returns true
//include("./admin/includes/handlers/login.php"); //write admin validations, functions, etc in this file
//include("./user/includes/handlers/login.php"); //write user validations,functions etc in this file
session_start();
//session_unset();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Verify</title>
<!-- Custom fonts for this template-->
<link href="./vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link
href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
rel="stylesheet">
<!-- Custom styles for this template-->
<link href="vendor/css/sb-admin-2.min.css" rel="stylesheet">
<!-- <link href="vendor/css/login.css" eet" type="text/css"> -->
<link rel="stylesheet" href="vendor/css/login.css" type="text/css">
<!-- Custom styles for this page -->
<link href="vendor/css/fonts.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<div class="container forms-section mt-2 mb-4">
<div class="col-sm-8 ml-auto mr-auto">
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-user" role="tabpanel"
aria-labelledby="pills-user-tab">
<div class="col-sm-12 border border-primary shadow rounded pt-2">
<?php
if($_SESSION["isverified"]=="yes"){
include('./admin/forgotpass.php');
}
else if(isset($_SESSION["otp"])){
include('./admin/verify.php');
}
?>
</div>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Custom scripts for all pages-->
<script src="vendor/js/sb-admin-2.js"></script>
</body>
</html>