Skip to content
Permalink
Browse files

fix Stats by System table colors in region.php

  • Loading branch information...
yakra committed Jul 11, 2019
1 parent 0938f62 commit 4dfc9bd816931eea71c421972372cfb44e024028
Showing with 2 additions and 1 deletion.
  1. +2 −1 user/region.php
@@ -342,6 +342,7 @@ function redirect($link) {
$sql_command = <<<SQL
SELECT
systems.fullName,
systems.level,
miByRegion.systemName,
ROUND(IFNULL(clinchedByRegion.mileage, 0), 2) as clinchedMileage,
ROUND(miByRegion.mileage, 2) as totalMileage,
@@ -357,7 +358,7 @@ function redirect($link) {
$res = tmdb_query($sql_command);
while ($row = $res->fetch_assoc()) {
echo "<tr onClick=\"window.open('/user/system.php?u=" . $tmuser . "&sys=" . $row['systemName'] . "&amp;rg=" . $region . "')\" class=\"status-" . $row['status'] . "\">";
echo "<tr onClick=\"window.open('/user/system.php?u=" . $tmuser . "&sys=" . $row['systemName'] . "&amp;rg=" . $region . "')\" class=\"status-" . $row['level'] . "\">";
echo "<td>" . $row['systemName'] . "</td>";
echo "<td>" . $row['fullName'] . "</td>";
echo "<td>" . tm_convert_distance($row['clinchedMileage']) . "</td>";

0 comments on commit 4dfc9bd

Please sign in to comment.
You can’t perform that action at this time.