2016-04-30 15:38:12 +02:00
|
|
|
<?php
|
2016-05-02 09:50:26 +02:00
|
|
|
$lastHeard = getLastHeard($logLines);
|
2016-04-30 15:38:12 +02:00
|
|
|
?>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<!-- Standard-Panel-Inhalt -->
|
2016-05-09 15:46:49 +02:00
|
|
|
<div class="panel-heading">Last Heard List of today's <?php echo LHLINES; ?> callsigns.</div>
|
|
|
|
<!--<div class="panel-body">
|
2016-05-05 21:21:55 +02:00
|
|
|
<p>In the following table you will find a maximum of the last <?php echo LHLINES; ?> callsigns heard on this repeater for the current day</p>
|
2016-05-09 15:46:49 +02:00
|
|
|
</div>-->
|
2016-04-30 15:38:12 +02:00
|
|
|
|
|
|
|
<!-- Tabelle -->
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
2016-05-02 13:59:00 +02:00
|
|
|
<th>Time (UTC)</th>
|
2016-04-30 15:38:12 +02:00
|
|
|
<th>Mode</th>
|
|
|
|
<th>Callsign</th>
|
|
|
|
<th>DSTAR-ID</th>
|
|
|
|
<th>Target</th>
|
2016-04-30 19:33:41 +02:00
|
|
|
<th>Source</th>
|
2016-05-03 21:36:47 +02:00
|
|
|
<th>Duration (s)</th>
|
|
|
|
<th>Loss</th>
|
|
|
|
<th>BER</th>
|
2016-04-30 15:38:12 +02:00
|
|
|
</tr>
|
|
|
|
<?php
|
2016-05-01 21:53:08 +02:00
|
|
|
for ($i = 0; ($i < LHLINES) AND ($i < count($lastHeard)); $i++) {
|
|
|
|
$listElem = $lastHeard[$i];
|
2016-04-30 15:38:12 +02:00
|
|
|
echo"<tr>";
|
|
|
|
echo"<td>$listElem[0]</td>";
|
|
|
|
echo"<td>$listElem[1]</td>";
|
|
|
|
echo"<td>$listElem[2]</td>";
|
|
|
|
echo"<td>$listElem[3]</td>";
|
|
|
|
echo"<td>$listElem[4]</td>";
|
2016-04-30 19:33:41 +02:00
|
|
|
echo"<td>$listElem[5]</td>";
|
2016-05-04 14:59:45 +02:00
|
|
|
if ($listElem[6] == null) {
|
|
|
|
echo'<td colspan="3">transmitting</td>';
|
|
|
|
} else {
|
|
|
|
echo"<td>$listElem[6]</td>";
|
|
|
|
echo"<td>$listElem[7]</td>";
|
|
|
|
echo"<td>$listElem[8]</td>";
|
|
|
|
}
|
2016-05-01 21:53:08 +02:00
|
|
|
echo"</tr>\n";
|
2016-04-30 15:38:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</table>
|
2016-05-05 21:21:55 +02:00
|
|
|
</div>
|