-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprofile.php
More file actions
68 lines (61 loc) · 2.43 KB
/
Copy pathprofile.php
File metadata and controls
68 lines (61 loc) · 2.43 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
<?php
include("backend/addtask.php");
// Logout
if (isset($_POST['logout'])) {
session_unset();
session_destroy();
header("Location: index.php");
exit();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--LINK FOR POPPINS FONT-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Noto+Sans:wdth,wght@62.5..100,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:wght@100..900&display=swap" rel="stylesheet">
<!--LINK FOR BOX ICON-->
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="asset/style.css">
<title>Fixed Side Navigation</title>
<style>
</style>
</head>
<body>
<?php
include("layout/navigation.php");
include("layout/popup.php");
?>
<section>
<div class="Forth">
<div class="settings">
<div class="profile">
<i class='bx bxs-user' ></i>
</div>
<div class="profileName">
<span class="Username"><?php echo $user_name;?></span>
</div>
<table class="userDetails">
<tr>
<th>Email: </th>
<td> <?php echo $email;?></td>
</tr>
</table>
<div class="nav">
<form method="post" onsubmit="return confirm('Are you sure you want to delete your account?');">
<button class="Deactive" type="submit" name="delete">Delete</button>
</form>
<form method="post">
<button class="logout" type="submit" name="logout">LOGOUT</button>
</form>
</div>
</div>
</div>
</section>
<script src="asset/script.js"></script>
<script src="asset/timer.js"></script>
</body>
</html>