mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* added player status to tibiacom top 5 highscores box
* fix when there are no changelogs or highscores yet
This commit is contained in:
@@ -26,12 +26,17 @@
|
||||
|
||||
#Topbar a {
|
||||
text-decoration: none;
|
||||
cursor: auto;
|
||||
}
|
||||
.online {
|
||||
color: #008000;
|
||||
}
|
||||
|
||||
.offline {
|
||||
color: #FF0000;
|
||||
}
|
||||
a.topfont {
|
||||
font-family: Verdana, Arial, Helvetica;
|
||||
font-size: 11px;
|
||||
color: #FF0000;
|
||||
text-decoration: none
|
||||
}
|
||||
a:hover.topfont {
|
||||
@@ -47,7 +52,7 @@
|
||||
<?php
|
||||
|
||||
foreach(getTopPlayers(5) as $player) {
|
||||
echo '<div align="left"><a href="'.getPlayerLink($player['name'], false).'" class="topfont">
|
||||
echo '<div align="left"><a href="'.getPlayerLink($player['name'], false).'" class="topfont ' . ($player['online'] == 1 ? 'online' : 'offline') . '">
|
||||
<font color="#CCC"> '.$player['rank'].' - </font>'.$player['name'].'
|
||||
<br>
|
||||
<small><font color="white"> Level: ('.$player['level'].')</font></small>
|
||||
|
Reference in New Issue
Block a user