-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.php
44 lines (37 loc) · 850 Bytes
/
template.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
<!DOCTYPE html>
<html lang="en">
<body>
<h2>Website tag statistics</h2>
<ul style="color: #fd4d4d">
<?php foreach ($errors as $error): ?>
<li><?php echo $error ?></li>
<?php endforeach; ?>
</ul>
<?php echo $form ?>
<?php if (isset($statistics) && is_array($statistics)): ?>
<ul style="color: #1b5cff">
<?php foreach ($statistics as $item): ?>
<li>
<strong><?php echo $item['tag'] ?>: </strong>
<span><?php echo $item['count'] ?></span>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<style>
body {
margin-left: 300px;
margin-top: 100px;
}
form {
margin-top: 25px;
}
a, a:visited, a:hover, a:active {
color: inherit;
}
a.active {
color: limegreen;
}
</style>
</body>
</html>