Skip to content

Commit

Permalink
website update
Browse files Browse the repository at this point in the history
regarding #40
  • Loading branch information
peonso committed Nov 7, 2016
1 parent f419201 commit b3ddbb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions www/insomaniacs.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,22 @@ function hours_and_minutes($value, $color = 1)
if($type == "sum")
echo '<th>Total</th>';
else
echo '<th><a href="?subtopic=onlinetime&type=sum">Total</a></th>';
echo '<th><a href="?subtopic=onlinetime&type=sum" style="color: #fff;">Total</a></th>';
for($i = 3; $i >= 2; $i--)
{
if($type == $i)
echo '<th>'.$i.' Days Ago</th>';
else
echo '<th><a href="?subtopic=onlinetime&type='.$i.'">'.$i.' Days Ago</a></th>';
echo '<th><a href="?subtopic=onlinetime&type='.$i.'" style="color: #fff;">'.$i.' Days Ago</a></th>';
}
if($type == 1)
echo '<th>1 Day Ago</th>';
else
echo '<th><a href="?subtopic=onlinetime&type=1">1 Day Ago</a></th>';
echo '<th><a href="?subtopic=onlinetime&type=1" style="color: #fff;">1 Day Ago</a></th>';
if(empty($type))
echo '<th>Today</th>';
else
echo '<th><a href="?subtopic=onlinetime">Today</a></th>';
echo '<th><a href="?subtopic=onlinetime" style="color: #fff;">Today</a></th>';
echo '</tr>';
$number_of_rows = 1;
if($znotePlayers)
Expand Down
6 changes: 3 additions & 3 deletions www/powergamers.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function coloured_value($valuein)
<th>Total</th>';

for($i = 3; $i >= 2; $i--)
echo ($type == $i) ? '<th width="16%">'.$i.' Days Ago</th>' : '<th width="16%"><a href="powergamers.php?type='.$i.'">'.$i.' Days Ago</a></th>';
echo ($type == 1) ? '<th width="16%">1 Day Ago</th>' : '<th width="16%"><a href="powergamers.php?type=1">1 Day Ago</a></th>';
echo (empty($type)) ? '<th>Today</th>' : '<th><a href="powergamers.php">Today</a></th>';
echo ($type == $i) ? '<th width="16%">'.$i.' Days Ago</th>' : '<th width="16%"><a href="powergamers.php?type='.$i.'" style="color: #fff;">'.$i.' Days Ago</a></th>';
echo ($type == 1) ? '<th width="16%">1 Day Ago</th>' : '<th width="16%"><a href="powergamers.php?type=1" style="color: #fff;">1 Day Ago</a></th>';
echo (empty($type)) ? '<th>Today</th>' : '<th><a href="powergamers.php" style="color: #fff;">Today</a></th>';
echo '</tr>';

$number_of_rows = 1;
Expand Down

0 comments on commit b3ddbb8

Please sign in to comment.