-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathforgot.php
More file actions
122 lines (99 loc) · 4.9 KB
/
forgot.php
File metadata and controls
122 lines (99 loc) · 4.9 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
114
115
116
117
118
119
120
121
122
<?php
include_once 'site_connection.php';
if (isset($_POST['send_otp']))
{
$email = $_POST['email'];
$sql_select = "select * from `user_register` where `email`='$email'";
$data = mysqli_query($conn,$sql_select);
$row_count = mysqli_num_rows($data);
if($row_count>0)
{
$row = mysqli_fetch_assoc($data);
$_SESSION['user_row']=$row;
header('location:mail/smtp.php');
}
else
{ ?>
<div style="text-align: center; color: red; padding-top:10px;">"Entered Email is Not Found..! Kindly register now...."</div>
<?php }
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Home</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="images/icons/favicon.png"/>
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="fonts/iconic/css/material-design-iconic-font.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="fonts/linearicons-v1.0.0/icon-font.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/css-hamburgers/hamburgers.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/animsition/css/animsition.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/daterangepicker/daterangepicker.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/slick/slick.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/MagnificPopup/magnific-popup.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/perfect-scrollbar/perfect-scrollbar.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="css/util.css">
<link rel="stylesheet" type="text/css" href="css/main_css.css">
<!--===============================================================================================-->
</head>
<!-- breadcrumb -->
<div class="container">
<div class="bread-crumb flex-w p-l-25 p-r-15 p-t-30 p-lr-0-lg">
<a href="index.php" class="logo_login">
<img src="images/icons/logo-01.png" alt="IMG-LOGO">
</a>
</div>
<div class="login_text">
<h4 class="p-b-15 ltext-108 cl2 trans-04">
FORGOT PASSWORD?
</h4>
<p class="stext-117 cl6">
Enjoy a personalised shopping experience
</p>
</div>
<!-- Shoping Cart -->
<form method="post">
<div class="bg0 p-t-50">
<div class="container">
<div class="row">
<div class="col-lg-5 col-md-6 col-sm-10 m-lr-auto">
<div class="col-12 p-b-35">
<label class="stext-102 cl3" for="email">Enter Your Registered Email</label>
<input class="size-111 bor8 stext-102 cl2 p-lr-20" id="name" type="email" name="email" required>
</div>
<div class="col-sm-12 p-b-5 button_login_flex">
<button class="flex-c-m stext-101 cl0 size-112 bg7 bor11 hov-btn3 p-lr-15 trans-04 m-b-10" name="send_otp">
Send OTP
</button>
</div>
<label class="stext-102 cl3 login_or" for="email">--- OR ----</label>
<div class="login_flex">
<small style="font-size: 13px">Wants to back to login ? </small>
<a href="login_home.php" class="flex-c-m cl0 size-112 bg7 bor11 p-lr-15 trans-04 m-b-2 register" name="review_submit" id="review_count">Back to Login</a>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<?php include_once 'scripts.php'; ?>