-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathadmindash.php
107 lines (84 loc) · 3.5 KB
/
admindash.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
107
<!DOCTYPE html>
<html lang="en">
<head>
<?php include_once("php/head.php");
if (!isset($_SESSION["admin"])) {
header("location: index.php");
}
?>
<?PHP
if (!isset($_SESSION["userid"])) {
header("location: index.php");
}
?>
<style>
main {
min-height: calc(100vh - 52px - 110px - 72px);
}
footer {
padding-top: 0px;
}
</style>
<title>Admin Dashboard | FSKTM Alumni</title>
</head>
<body>
<div class="container-fluid p-0 m-0">
<?php include_once("php/admin_heading.php") ?>
<main>
<div class="container">
<div class="row justify-content-center">
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb" class="breadcrumb-background">
<ol class="breadcrumb">
<li class="breadcrumb-item breadcrumb-admin-current active">/Admin-Dashboard</li>
<!-- <li class="breadcrumb-item breadcrumb-admin active" aria-current="page">Library</li> -->
</ol>
</nav>
<h1 class="display-5" id="alumni-search-heading">Welcome Admin! What would you like to do today?</h1>
</div>
<div class="row align-items-center justify-content-center">
<div class="col-lg">
<div class="jumbotron-admin-profile admin-welcome-cards d-flex justify-content-center align-items-center">
<a href="admin-profile-dash.php"><button class="btn btn-lg btn-admin shadow">Manage Profiles</button></a>
</div>
</div>
<div class="col-lg">
<div class="jumbotron-admin-event admin-welcome-cards d-flex justify-content-center align-items-center">
<a href="event_admin.php"><button class="btn btn-lg btn-admin shadow">Manage Events</button></a>
</div>
</div>
</div>
</div>
</main>
<footer class="page-footer shadow-lg">
<div class="footer-copyright text-center py-3" style="background-color: #f3f3f3; font-weight: 800;">
<p>Copyright © FSKTM 2021</p>
</div>
</footer>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-SR1sx49pcuLnqZUnnPwx6FCym0wLsk5JZuNx2bPPENzswTNFaQU1RDvt3wT4gWFG" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-j0CNLUeiqtyaRmlzUHCPZ+Gy5fQu0dQ6eZ/xAww941Ai1SxSY+0EQqNXNE6DZiVc" crossorigin="anonymous"></script>
<!-- <script type="text/javascript" src="js/main.js"></script> -->
<script>
// document.querySelector("#dropdown-username").innerHTML = `Signed in as <strong>Admin</strong>`;
let dropdowns = document.querySelector(".dropdown-content");
let myDropdown = document.querySelector("#myDropdown");
function myFunction() {
myDropdown.classList.add("show");
}
window.onclick = function(event) {
if (!event.target.matches(".dropbtn")) {
dropdowns.classList.remove("show");
}
};
// let logoutbutton = document.querySelector("#logoutbutton");
// // when clicking the logout button it will set loggedin to false and sent user to homepage
// logoutbutton.onclick = function() {
// let loggedin = false;
// sessionStorage.setItem("loggedin", loggedin);
// window.location.href = "index.html";
// };
//
</script>
</body>
</html>