File: visitors.php

package info (click to toggle)
dtc 0.35.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 18,824 kB
  • sloc: php: 50,739; sh: 8,596; makefile: 572; perl: 148; xml: 25
file content (114 lines) | stat: -rw-r--r-- 2,235 bytes parent folder | download
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Visitors statistics</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="title" content="Visitors statistics" />
<meta name="robots" content="NOINDEX, FOLLOW" />
<meta name="cache-control" content="no-cache" />
<style type="text/css"><!--
* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	margin: 0;
}

body {
	height: 100%;
	margin: 0;
	font: 12px Arial, Helvetica, sans-serif;
	color: #000000;
}

html>body #container {
	height: auto;
}

a {
	color: #105278;
}

a:hover {
	color: #000000;
}

h1 {
	text-decoration: none;
	text-align: center;
}

#container {
	position: relative;
	min-height: 100%;
	height: 100%;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: auto;
}

#wrapper {
	padding-bottom: 32px;
}

.top {
	padding: 25% 0 0 0;
	text-align: center;
}

.message {
	padding: 1% 5% 1% 5%;
	text-align: center;
}

.footer {
	width: 98%;
	text-align: center;
	position: absolute;
	bottom: 0;
	padding: 1%;
}

.italics {
	font-style: italic;
}
--></style>
</head>
<body>
<div align="center">
<h1>DTC Visitors stats</h1>
<ul>
	<?php
if ($handle = opendir ('.'))
{
        while ($file = readdir($handle))
        { 
                if (preg_match("/^(\d{4})\.(\d{2})\.report.html/", $file, $matches))
                {
                        $month_stats = date("F Y", mktime (0,0,0,$matches[2],0, $matches[1]));
                        echo "<li><a href=\"$file\">$month_stats</a>";
                }
        }
}
?>
</ul>
</div>
<div class="footer">
<p>This website server is powered by Domain Technologie Control
(DTC), the open-source control panel.</p>
<p><em> Get your DTC setup for <strong>free</strong> with one
of our <strong><a target="_blank"
	href="http://gplhost.com/hosting-vps.html"
	title="Virtual private server hosting">VPS servers</a></strong> and dedicated
hosting services; visit the <a target="_blank"
	href="http://gplhost.com/software-dtc.html">DTC control panel</a> to
learn more and download it for your server. </em></p>
</div>
</body>
</html>