diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-04-13 16:25:46 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-04-13 16:25:46 -0700 |
commit | 5aa045473d919ecc87cc2defebb665b24a4d2d95 (patch) | |
tree | 513bda0928a80c7357c27347e5fff419faca15f1 | |
parent | d7907b2889bda9926ebe9e2e574864d6b8d79fc3 (diff) | |
download | pathery-5aa045473d919ecc87cc2defebb665b24a4d2d95.tar.xz |
Score Update time and Achievement name fixes
-rw-r--r-- | includes/datas.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/includes/datas.php b/includes/datas.php index 42132f8..9062ae0 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -27,9 +27,9 @@ function topScores($mapid, $top = 5) { LIMIT $top "; $result = mysql_query($sql); - + $utime = date("g:i A (T)"); $output .= "<table class='score'>"; - $output .= "<tr>"; + $output .= "<tr title='Updated $utime'>"; $output .= "<th>Rank</th>"; $output .= "<th>Badge</th>"; $output .= "<th>Name</th>"; @@ -47,13 +47,13 @@ function topScores($mapid, $top = 5) { $wallEmblem = 'blank.png'; } - $cdate = date("g:i A", strtotime($cdate)); + $cdate = date("g:i A (T)", strtotime($cdate)); if ($_SESSION['userID'] == $userID) $output .= "<tr style='background-color: #356;' "; else $output .= "<tr "; - $output .= "title='Scored $cdate (EST)'>"; + $output .= "title='Scored $cdate'>"; $output .= "<td>$i</td> @@ -74,6 +74,8 @@ function topScores($mapid, $top = 5) { //Returns text refering to any notifications. function getNotified($userID) { + + $r = ''; $sql = "SELECT `ID`, `type`, `level` @@ -436,7 +438,7 @@ function getCareerPathArray() { $cp[4] = array(10000, 2, 'DiamondSmall_B.png', 'Dark Small Diamond', 0); $cp[5] = array(20000, 3, '#a9b1f6', 'Steel Blue'); $cp[6] = array(32000, 2, 'DiagonalCover_W.png', 'Light Diagonal Cover', 0); - $cp[7] = array(50000, 2, 'DiamondLargeDonut_B_I.png', 'Dark Annulated Diamond', 0); + $cp[7] = array(50000, 2, 'DiamondLargeDonut_B_I.png', 'Inverted Dark Annulated Diamond', 0); $cp[8] = array(75000, 3, '#ffffaa', 'Yellow'); $cp[9] = array(100000, 3, '#ffbb77', 'Orange'); $cp[10] = array(130000, 2, 'OffsetStripesVertical_W.png', 'Light Vertical Stripes', 0); @@ -461,7 +463,7 @@ function getCareerMazesArray() { $cm[5] = array(85, 2, 'CrossXL_W.png', 'Light Large Present', 0); $cm[6] = array(150, 1, '#cc22aa', 'Magenta', 0); $cm[7] = array(250, 1, '#ff3344', 'Red'); - $cm[8] = array(375, 1, '#ffdd88', 'Gold'); + $cm[8] = array(375, 1, '#ffdd88', 'Gold', 1); $cm[9] = array(550, 2, 'ConvexCover_W.png', 'Light Dome Cover', 0); $cm[10] = array(750, 2, 'OffsetStripesVertical_B.png', 'Dark Vertical Stripes', 0); $cm[11] = array(1000, 3, '#ff95b0', 'Pink'); |