-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstats.php
More file actions
37 lines (33 loc) · 1.07 KB
/
stats.php
File metadata and controls
37 lines (33 loc) · 1.07 KB
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
<?php
/**
* @author neo <dipolukarov@gmail.com>
* @version $Id$
*/
global $has_password;
$has_password = 0;
if(isset($_COOKIE['phpMp_password'])) {
$password = $_COOKIE['phpMp_password'];
$has_password = 1;
}
include 'config.php';
include 'theme.php';
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Cache-Control: no-cache, must-revalidate');
header('Pragma: no-cache');
header('Content-Type: text/html; charset=UTF-8');
echo '<html>' , "\n"
, '<head>'
, '<META HTTP-EQUIV="Expires" CONTENT="Thu, 01 Dec 1994 16:00:00 GMT">'
, '<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'
, '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">'
// php won't interpret inside of the style block
, '<style type="text/css">' , "\n"
, "* {\n"
, ' font-family: ' , $fonts['all'] , ";\n"
, "}\n"
, '</style>'
, '</head>'
, '<body link="' , $colors['links']['link'] , '" vlink="' , $colors['links']['visual'] , '" '
, 'alink="' , $colors['links']['active'] , '" bgcolor="' , $colors['background'] , '">';
include 'stats_body.php';
echo '</body></html>';