-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.php
More file actions
76 lines (50 loc) · 2.14 KB
/
settings.php
File metadata and controls
76 lines (50 loc) · 2.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Settings</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<!-- Cookie Consent by https://www.FreePrivacyPolicy.com -->
<script type="text/javascript" src="js/cookie-consent.js"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({"notice_banner_type":"interstitial","consent_type":"express","palette":"dark","language":"en","website_name":"Avicii","change_preferences_selector":"#changePreferences"});
});
</script>
<noscript>Cookie Consent by <a href="https://www.FreePrivacyPolicy.com/free-cookie-consent/" rel="nofollow noopener">FreePrivacyPolicy.com</a></noscript>
<!-- End Cookie Consent -->
</head>
<body>
<?php
session_start();
include('php/navbar.php')
?>
<div class="container-fluid" id="page-cont">
<h1>Details:</h1>
<hr>
<h2>First Name:</h2>
<?php echo htmlspecialchars($_SESSION["fn"]); ?>
<h2>Last Name:</h2>
<?php echo htmlspecialchars($_SESSION["ln"]); ?>
<h2>Email:</h2>
<?php echo htmlspecialchars($_SESSION["email"]); ?>
<hr>
<div>
<form action="php/delete.php" method="POST" class="float-left" style="padding-right: 5px">
<a href="#" onclick="this.parentNode.submit()">
<div class="btn btn-danger">Delete Account!</div>
</a>
</form>
<a href="change_passwd.php">
<div class="btn btn-info">Change Password</div>
</a>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="js/bootstrap.js"></script>
<script src="js/add_news.js"></script>
</body>
</html>