-
Notifications
You must be signed in to change notification settings - Fork 8
/
admin_dashboard.php
59 lines (52 loc) · 2.06 KB
/
admin_dashboard.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
<?php require_once("includes/sessions.php"); ?>
<?php require_once("includes/functions.php"); ?>
<?php confirm_admin_login(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>
<?php echo $_SESSION["admin_name"]; ?>
</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link rel="stylesheet" href="public/css/style.css">
<link rel="stylesheet" href="public/css/dashboard.css">
<link rel="icon" href="favicon.ico">
<script src="https://kit.fontawesome.com/2f7569df82.js" crossorigin="anonymous"></script>
<link rel = "icon"
href = "public/images/statue.jpg"
type = "image/x-icon">
</head>
<body>
<div class="title-bar">
<div id="item1">
<i class="fas fa-gavel fa-3x"></i>
<h1>Court Case Information System</h1>
</div>
<div id="item2">
<button class="sm" onclick="window.top.location='logout.php'">
<span class="glyphicon glyphicon-off"></span> Logout
</button>
</div>
</div>
<?php
if(!isset($_GET['q']))
require_once("admin/currentcases.php");
elseif($_GET['q'] == "finishedcases")
require_once("admin/finishedcases.php");
elseif($_GET['q'] == "managelawyers")
require_once("admin/managelawyers.php");
elseif($_GET['q'] == "feedbacks")
require_once("admin/feedbacks.php");
elseif($_GET['q'] == "updatecase")
require_once("admin/updatecase.php");
elseif($_GET['q'] == 'removefeedback')
require_once("admin/removefeedback.php");
?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="https://kit.fontawesome.com/76a3098157.js"></script>
</body>
</html>