2016-01-01 07:42:52 -05:00
|
|
|
<table border="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
2016-02-04 06:21:42 -05:00
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
|
|
|
|
<table class="listingtable">
|
2016-02-04 06:21:42 -05:00
|
|
|
<tr>
|
2016-01-01 07:42:52 -05:00
|
|
|
<th>#</th>
|
|
|
|
<th>Flag</th>
|
|
|
|
<th>Callsign</th>
|
|
|
|
<th>Suffix</th>
|
|
|
|
<th>DPRS</th>
|
2016-02-11 12:51:12 -05:00
|
|
|
<th>Via / Peer</th>
|
2016-01-01 07:42:52 -05:00
|
|
|
<th>Last heard</th>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$Reflector->LoadFlags();
|
|
|
|
$odd = "";
|
|
|
|
for ($i=0;$i<$Reflector->StationCount();$i++) {
|
|
|
|
if ($odd == "#FFFFFF") { $odd = "#F1FAFA"; } else { $odd = "#FFFFFF"; }
|
|
|
|
echo '
|
|
|
|
<tr height="30" bgcolor="'.$odd.'" onMouseOver="this.bgColor=\'#FFFFCA\';" onMouseOut="this.bgColor=\''.$odd.'\';">
|
|
|
|
<td align="center" width="35">';
|
|
|
|
echo ($i==0 ? '<img src="./img/radio-waves-hi.png" />' : $i+1);
|
2016-02-04 06:21:42 -05:00
|
|
|
|
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
echo '</td>
|
2016-02-19 06:23:06 -05:00
|
|
|
<td align="center" width="60">';
|
2016-02-04 06:21:42 -05:00
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
if (file_exists("./img/flags/".$Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign()).".png")) {
|
|
|
|
echo '<img src="./img/flags/'.$Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign()).'.png" height="15" />';
|
|
|
|
}
|
|
|
|
echo '</td>
|
|
|
|
<td width="75"><a href="https://www.qrz.com/db/'.$Reflector->Stations[$i]->GetCallsignOnly().'" class="pl" target="_blank">'.$Reflector->Stations[$i]->GetCallsignOnly().'</a></td>
|
|
|
|
<td width="60">'.$Reflector->Stations[$i]->GetSuffix().'</td>
|
|
|
|
<td width="50" align="center"><a href="http://www.aprs.fi/'.$Reflector->Stations[$i]->GetCallsignOnly().'" class="pl" target="_blank"><img src="./img/sat.png" /></a></td>
|
2016-02-19 06:23:06 -05:00
|
|
|
<td width="127">'.$Reflector->Stations[$i]->GetVia();
|
2016-02-11 12:51:12 -05:00
|
|
|
if ($Reflector->Stations[$i]->GetPeer() != 'XLX'.$ServiceName) {
|
|
|
|
echo ' / '.$Reflector->Stations[$i]->GetPeer();
|
|
|
|
}
|
|
|
|
echo '</td>
|
2016-01-01 07:42:52 -05:00
|
|
|
<td width="150">'.date("d.m.Y H:i", $Reflector->Stations[$i]->GetLastHeardTime()).'</td>
|
|
|
|
</tr>';
|
2016-02-04 06:21:42 -05:00
|
|
|
if ($i == 39) { $i = $Reflector->StationCount()+1; }
|
2016-01-01 07:42:52 -05:00
|
|
|
}
|
|
|
|
|
2016-02-04 06:21:42 -05:00
|
|
|
?>
|
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td style="padding-left:50px;" align="center" valign="top">
|
2016-02-04 06:21:42 -05:00
|
|
|
|
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
<table class="listingtable">
|
2016-02-04 06:21:42 -05:00
|
|
|
<?php
|
2016-01-01 07:42:52 -05:00
|
|
|
echo '
|
|
|
|
<tr>';
|
|
|
|
|
|
|
|
$Modules = $Reflector->GetModules();
|
|
|
|
for ($i=0;$i<count($Modules);$i++) {
|
|
|
|
echo '
|
|
|
|
<th>'.$Modules[$i].'</th>';
|
|
|
|
}
|
|
|
|
|
|
|
|
echo '
|
|
|
|
</tr>
|
|
|
|
<tr bgcolor="#FFFFFF" style="padding:0px;">';
|
|
|
|
|
|
|
|
for ($i=0;$i<count($Modules);$i++) {
|
2016-02-04 06:21:42 -05:00
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
$Users = $Reflector->GetCallSignsInModules($Modules[$i]);
|
|
|
|
echo '
|
|
|
|
<td valign="top" style="border:0px;padding:0px;">
|
2016-02-04 06:21:42 -05:00
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
<table width="100" border="0" style="padding:0px;margin:0px;">';
|
|
|
|
$odd = "";
|
2016-02-19 06:23:06 -05:00
|
|
|
|
|
|
|
$UserCheckedArray = array();
|
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
for ($j=0;$j<count($Users);$j++) {
|
|
|
|
if ($odd == "#FFFFFF") { $odd = "#F1FAFA"; } else { $odd = "#FFFFFF"; }
|
2016-02-19 06:23:06 -05:00
|
|
|
if (in_array($Users[$j], $UserCheckedArray)) {
|
|
|
|
$CurrentPositions = array_keys($UserCheckedArray,$Users[$j]);
|
|
|
|
$Displayname = $Users[$j].'-'.$Reflector->GetSuffixOfRepeater($Users[$j], $Modules[$i], max($CurrentPositions)+1);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$Displayname = $Users[$j].'-'.$Reflector->GetSuffixOfRepeater($Users[$j], $Modules[$i]);
|
|
|
|
}
|
2016-01-01 07:42:52 -05:00
|
|
|
echo '<tr height="25" bgcolor="'.$odd.'" onMouseOver="this.bgColor=\'#FFFFCA\';" onMouseOut="this.bgColor=\''.$odd.'\';">
|
2016-02-19 06:23:06 -05:00
|
|
|
<td valign="top" style="border-bottom:1px #C1DAD7 solid;"><a href="http://www.aprs.fi/'.$Displayname.'" class="pl" target="_blank">'.$Displayname.'</a> </td>
|
2016-01-01 07:42:52 -05:00
|
|
|
</tr>';
|
2016-02-19 06:23:06 -05:00
|
|
|
$UserCheckedArray[] = $Users[$j];
|
2016-01-01 07:42:52 -05:00
|
|
|
}
|
|
|
|
echo '
|
|
|
|
</table>
|
2016-02-04 06:21:42 -05:00
|
|
|
|
2016-01-01 07:42:52 -05:00
|
|
|
</td>';
|
|
|
|
}
|
|
|
|
|
|
|
|
echo '
|
|
|
|
</tr>';
|
|
|
|
|
|
|
|
?>
|
2016-02-04 06:21:42 -05:00
|
|
|
</table>
|
2016-01-01 07:42:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
2016-02-04 06:21:42 -05:00
|
|
|
</table>
|