-
Notifications
You must be signed in to change notification settings - Fork 0
/
erwtima3.php
154 lines (115 loc) · 4.34 KB
/
erwtima3.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?php
session_start();
if(!isset($_SESSION['username']))
{
header('location:Welcome.php');
}
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Web Project 2020</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="erwtima3_style.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
</head>
<body class="Starters">
<div class="caption">
<h1>HTTP Headers</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>
<div class="ISPs">
<h1>Ιστόγραμμα κατανομής των TTL</h1>
<div id="isps_a"></div>
<div class="Chart1">
<canvas id="Erwtima3a"></canvas>
</div>
</div>
<div class="ISP_b">
<h1>Ποσοστό max-stales, min-fresh</h1>
<div id="isps_b"></div>
<div class="Chart2">
<canvas id="Erwtima3b"></canvas>
</div>
</div>
<div class="ISP_g">
<h1>Ποσοστό cacheability directives</h1>
<div id="isps_g"></div>
<div class="Chart3">
<canvas id="Erwtima3g"></canvas>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.ajax({
'async': true,
'global': false,
'method': "POST",
'url': "erwtima3a.php",
'success': function(data)
{
$("#isps_a").html(data);
}
});
});
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.ajax({
'async': true,
'global': false,
'method': "POST",
'url': "erwtima3g.php",
'success': function(data)
{
$("#isps_g").html(data);
}
});
});
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.ajax({
'async': true,
'global': false,
'method': "POST",
'url': "erwtima3b.php",
'success': function(data)
{
$("#isps_b").html(data);
}
});
});
</script>
</div>
<!-- footer -->
<div class="footer">
<p> All copyrigths reserved. ©</p>
</div>
</body>
<script src="index_js.js"></script>
<script src="erwtima3a.js"></script>
<script src="erwtima3b.js"></script>
<script src="erwtima3g.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</html>