1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2026-06-05 23:24:44 -04:00

Change dashboard2 accordingly

This commit is contained in:
phl0
2017-06-12 14:34:37 +02:00
parent 41d2ae6ef4
commit 52e4e6bf3e
3 changed files with 9 additions and 6 deletions
+3 -2
View File
@@ -24,8 +24,9 @@ for ($i=0;$i<$Reflector->StationCount();$i++) {
echo '</td>
<td>';
if (file_exists("./img/flags/".$Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign()).".png")) {
echo '<img src="./img/flags/'.$Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign()).'.png" class="table-flag" alt="">';
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign());
if (file_exists("./img/flags/".$Flag.".png")) {
echo '<img src="./img/flags/'.$Flag.'.png" class="table-flag" alt="'.$Name.'" title="'.$Name.'">';
}
echo '</td>
<td><a href="https://www.qrz.com/db/'.$Reflector->Stations[$i]->GetCallsignOnly().'" class="pl" target="_blank">'.$Reflector->Stations[$i]->GetCallsignOnly().'</a></td>