-
Notifications
You must be signed in to change notification settings - Fork 0
/
ViewStatus.php
87 lines (65 loc) · 2.61 KB
/
ViewStatus.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
<?php
session_start();
if(!isset($_SESSION['username']))
{
header('location:Welcome.php');
}
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Web Project 2020</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="admin_style.css">
<link rel="stylesheet" href="viewstatus_style.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
</head>
<body class="Starters">
<div class="caption">
<h1>View Status</h1>
</div>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="WelcomeAdmin.php">Home</a>
<a href="ViewStatus.php">View Status</a>
<a href="RequestTimings.php">Response Times</a>
<a href="erwtima3.php">HTTP Headers</a>
<a href="adminHeatmap.php">Optimize Data</a>
<a href="logout.php">Logout</a>
</div>
<div id="main">
<div class="container">
<div class="nav-wrapper">
<div class="left-side">
<div class="nav-link-wrapper">
<a><span onclick="openNav()">Menu</span></a>
</div>
</div>
</div>
<form>
<select name="users" onchange=showData(this.value)>
<option value="">Επιλογές</option>
<option value="1">Πλήθος Χρηστών</option>
<option value="2">Πλήθος μεθόδων αιτήσεων</option>
<option value="3">Πλήθος κωδικών απόκρισης</option>
<option value="4">Πλήθος μοναδικών Domain</option>
<option value="5">Πλήθος μοναδικών παρόχων</option>
<option value="6">Μέση ηλικία ανά content type Response</option>
<option value="7">Μέση ηλικία ανά content type Request</option>
</select>
</form>
<div class="myChartDiv">
<canvas id="Erwtima1"></canvas>
</div>
</div>
</div>
<!-- footer -->
<div class="footer">
<p> All copyrigths reserved. ©</p>
</div>
</body>
<script src="index_js.js"></script>
<script src="ViewStatus_function.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</html>