-
Notifications
You must be signed in to change notification settings - Fork 0
/
Forgot.php
executable file
·106 lines (85 loc) · 3.57 KB
/
Forgot.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
<?php
session_start();
include '.classes/auth.php';
include '.classes/captcha.php';
include '.classes/recovery.php';
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
?>
<!DOCTYPE html>
<html>
<head>
<title>Healthy Living</title>
<link rel="icon" href="images/yin-yang.jpg">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Recovery Account Page">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<link rel="stylesheet" href="css/all_pages.css">
<link rel="stylesheet" href="css/Interaction.css">
<link rel="stylesheet" href="css/green-bootstrap.css">
</head>
<body>
<!-------------------------------------------- Header Menu -------------------------------------------------->
<?php
include 'header.php';
?>
<!------------------------------------------ End of Header Menu ---------------------------------------------------->
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<!----------------------------------------------- Main Body ----------------------------------------------------->
<!-- Basic Form for recovery -->
<main>
<h3>Αποστολή Συνδέσμου Ανάκτησης</h3>
<div class="container">
<div class="row">
<div class="col-sm">
</div>
<div class="col-md-6">
<form id="sForm" action="Forgot.php"
class="p-4 my-3 bg-white text-black text-center border needs-validation" novalidate
style="border-radius:12px;" method="post">
<div class="form-group">
<input id="email" name="email" type="email" class="form-control" placeholder="Εισάγετε το email σας"
required>
<div class="invalid-feedback">Συμπληρώστε το υποχρεωτικό πεδίο.</div>
</div>
<?php
recovery_attempt_status();
?>
<button name='submit' type="submit" class="btn btn-lg btn-green btn-block">ΑΠΟΣΤΟΛΗ</button><br />
</form>
</div>
<div class="col-sm">
</div>
</div>
</div>
</main>
<!-- End of Basic Form for recovery -->
<!------------------------------------------ End of Main Body -------------------------------------->
<br>
<br>
<br>
<!------------------------------------------------ Footer ------------------------------------------------>
<?php
readfile('footer.html');
?>
<!--------------------------------------------- End of Footer ---------------------------------------------->
<script src="JavaScript/form_check.js"></script>
<script src="JavaScript/all_pages.js"></script>
</body>
</html>
<?php
$conn->close(); // close database connection
?>