From f03c9a928b9019c4b7947a9b087134ead88e7655 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 21 Apr 2012 13:44:11 -0700 Subject: Scoreboard colors. & Blank Emblem fix --- includes/datas.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'includes/datas.php') diff --git a/includes/datas.php b/includes/datas.php index 9062ae0..81184cd 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -46,16 +46,22 @@ function topScores($mapid, $top = 5) { $wallColor = '#666666'; $wallEmblem = 'blank.png'; } + if ($wallEmblem == '') + $wallEmblem = 'blank.png'; $cdate = date("g:i A (T)", strtotime($cdate)); + $background = '#262631'; + if ($i % 2 == 1) + $background = '#20202a'; + if ($_SESSION['userID'] == $userID) - $output .= "