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 - + - - + + - - - - - - - - + + + + + + + + - - - - - - - - - + + + + + + + + -- cgit From 7c2945bf46812dc0c8943a11eed4e04da16a85e3 Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Tue, 9 Jan 2018 02:05:04 +0100 Subject: Custom chart theme --- html/includes/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html/includes/header.php') diff --git a/html/includes/header.php b/html/includes/header.php index 7d55e33..4f5f82c 100755 --- a/html/includes/header.php +++ b/html/includes/header.php @@ -50,7 +50,7 @@ echo' - + -- cgit From 277232a9cad87dc2c7074bf72dc206f712aea9a7 Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Wed, 10 Jan 2018 00:58:56 +0100 Subject: Logo and centered navbar --- html/includes/header.php | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'html/includes/header.php') diff --git a/html/includes/header.php b/html/includes/header.php index 4f5f82c..92e0dd1 100755 --- a/html/includes/header.php +++ b/html/includes/header.php @@ -28,8 +28,7 @@ if (isset($_COOKIE['uts_lastvisit'])) { } setcookie('uts_lastvisit', time(), time()+60*60*24*30*365); -echo' - +echo ' Unreal Tournament Stats - Powered by UTStats @@ -54,22 +53,8 @@ echo' - - - - - -'; +'; include("includes/navbar.php"); -echo' -
- - - -
-
-
-
-'; +echo '

'; -- cgit From 861e3230f0154e6a5942698adedf18d5eb0e0b8a Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Wed, 10 Jan 2018 20:08:33 +0100 Subject: Move imaegs to assets folder --- html/includes/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html/includes/header.php') diff --git a/html/includes/header.php b/html/includes/header.php index 92e0dd1..1759a8b 100755 --- a/html/includes/header.php +++ b/html/includes/header.php @@ -33,7 +33,7 @@ echo ' Unreal Tournament Stats - Powered by UTStats - + -- cgit