From a25aca329747cac77264847b29cb844a45c7a88f Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Sun, 7 Jan 2018 23:56:13 +0100 Subject: Basic styling and header/footer markup --- html/includes/header.php | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'html/includes/header.php') diff --git a/html/includes/header.php b/html/includes/header.php index 52ab2c3..c92c1fa 100755 --- a/html/includes/header.php +++ b/html/includes/header.php @@ -11,19 +11,20 @@ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // HTTP/1.1 header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); +header("Content-Type: text/html; charset=utf-8"); // HTTP/1.0 header("Pragma: no-cache"); if (isset($_COOKIE['uts_lastvisit'])) { - if (isset($_COOKIE['utss_lastvisit'])) { - $s_lastvisit = $_COOKIE['utss_lastvisit']; - } else { - setcookie('utss_lastvisit', $_COOKIE['uts_lastvisit'], 0); - $s_lastvisit = $_COOKIE['uts_lastvisit']; - } + if (isset($_COOKIE['utss_lastvisit'])) { + $s_lastvisit = $_COOKIE['utss_lastvisit']; + } else { + setcookie('utss_lastvisit', $_COOKIE['uts_lastvisit'], 0); + $s_lastvisit = $_COOKIE['uts_lastvisit']; + } } else { - $s_lastvisit = time(); + $s_lastvisit = time(); } setcookie('uts_lastvisit', time(), time()+60*60*24*30*365); @@ -32,27 +33,27 @@ echo' Unreal Tournament Stats - Powered by UTStats - + - - + + - - - - - - - - + + + + + + +