-
Notifications
You must be signed in to change notification settings - Fork 2
/
reset.php
101 lines (85 loc) · 3.17 KB
/
reset.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
<?php
require __DIR__ . '/resources/DB/ORM/instance.php';
foreach (glob(__DIR__ . '/functionalities/*.php') as $functionalities) require $functionalities;
try {
// fetch here
$var = R::getAll('Select * from user');
} catch (PDOException $e) {
consoleError($e->getMessage());
}
consoleLog($var);
// close connection
R::close();
?>
<!DOCTYPE html>
<head>
<title>Reset Password | Estately</title>
<style>
body {
background: rgb(240, 235, 235);
}
.row {
background: white;
border-radius: 30px;
}
img {
border-bottom-left-radius: 30px;
border-top-left-radius: 30px;
}
.btn {
border: none;
outline: none;
height: 50px;
width: 100%;
border-radius: 4px;
font-weight: bold;
}
</style>
</head>
<?php require('layouts/app/headernav.php') ?>
<body>
<section class="container">
<div class="my-4 mx-5">
<div class="row no-gutters">
<div class="col-lg-5">
<img src="a1.jpg" class="img-fluid" alt="">
</div>
<div class="col-lg-7 px-5 pt-5 ">
<h1 class="font-weight-bold py-3">Reset Password</h1>
<h4>Please choose your new password</h4>
<form action="">
<div class="form-row">
<div class="col-lg-7">
<label for="Username">Email</label>
<input type="email" placeholder="Email-Address" class="form-control my-3 p-2">
</div>
</div>
<div class="form-row">
<div class="col-lg-7">
<label for="Username">New Password</label>
<input type="password" placeholder="******" class="form-control my-3 p-2">
</div>
</div>
<div class="form-row">
<div class="col-lg-7">
<label for="Username">Confirm Password</label>
<input type="password" placeholder="******" class="form-control my-3 p-2">
</div>
</div>
<div class="form-row">
<div class="col-lg-7">
<button type="button" class="btn btn-primary">Save New password</button>
</div>
</div>
<div class="form-row">
<div class="col-lg-7">
<button type="button" class="btn btn-link">Back To Login</button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<?php require('layouts/app/footer.php') ?>
</body>