-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeleteAccount.php
More file actions
95 lines (88 loc) · 2.76 KB
/
deleteAccount.php
File metadata and controls
95 lines (88 loc) · 2.76 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
<?php
session_start();
?>
<html>
<head>
<title>HelpDesk</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="picture/help.ico" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script src="https://kit.fontawesome.com/25823c862e.js"></script>
<link href="https://fonts.googleapis.com/css?family=Oswald&display=swap" rel="stylesheet">
<link href="css/alerts.css" rel="stylesheet" type="text/css" />
<link href="css/form.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="content">
<div class="title">
<i class="fas fa-hands-helping fa-2x"></i>
<h1> HelpDesk</h1>
</div>
<div class="header">
<ul>
<li><a href="Home.php">Home</a></li>
<li><a href="Requests.php">Requests</a></li>
<li><a href="contactUs.php">Contact us</a></li>
<li><a href="FAQ.php">FAQs</a></li>
<li><a href="About.php">About</a></li>
<li>
<?php
require "tools/session.php";
?>
</li>
</ul>
</div>
<br>
<div class="deleteErrors">
<?php
require "tools/deleteErrors.php";
?>
</div>
<div class="loginChecker">
<?php
require "tools/loginChecker.php";
?>
</div>
<br>
<div class="subTitle">
<center>
<h1 style="font-size:45px">Delete account</h1>
<br><br>
</div>
<br>
<div class="container">
<div class="miniTitle">
<center>
<h1 style="font-size:30px">Enter Password to delete account</h1>
</center>
<br><br>
</div>
<form action="includes/delete.inc.php" method="post">
<div class="row">
<div class="col-25">
<label for="Password">Password</label>
</div>
<div class="col-75">
<input type="password" name="pwd" placeholder="password">
</div>d
</div>
<div class="row">
<button class="submitBtn" type="submit" name="delete-submit" onclick="confirm()">Submit</button>
</div>
</form>
</div>
</div>
<br>
<br>
<br>
<script>
function confirm() {
confirm("Are you sure you want to delete your account?");
}
</script>
</body>
</html>
<?php
require "tools/footer.php";
?>