2016-04-30 15:38:12 +02:00
|
|
|
<?php
|
2016-06-24 22:12:47 +02:00
|
|
|
$totalLH = count($lastHeard);
|
2016-04-30 15:38:12 +02:00
|
|
|
?>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<!-- Standard-Panel-Inhalt -->
|
2016-06-24 22:12:47 +02:00
|
|
|
<div class="panel-heading">Last Heard List of today's <?php echo $totalLH; ?> callsigns.</div>
|
2016-04-30 15:38:12 +02:00
|
|
|
<!-- Tabelle -->
|
2016-06-23 21:18:36 +02:00
|
|
|
<div class="table-responsive">
|
2016-06-25 00:08:42 +02:00
|
|
|
<table id="lastHeard" class="table table-condensed table-striped table-hover">
|
2016-06-23 21:18:36 +02:00
|
|
|
<thead>
|
2016-04-30 15:38:12 +02:00
|
|
|
<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-09 21:02:41 +02:00
|
|
|
<th>Dur (s)</th>
|
2016-05-03 21:36:47 +02:00
|
|
|
<th>Loss</th>
|
|
|
|
<th>BER</th>
|
2016-04-30 15:38:12 +02:00
|
|
|
</tr>
|
2016-06-23 21:18:36 +02:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-04-30 15:38:12 +02:00
|
|
|
<?php
|
2016-06-24 22:12:47 +02:00
|
|
|
for ($i = 0; ($i < $totalLH); $i++) {
|
2016-05-01 21:53:08 +02:00
|
|
|
$listElem = $lastHeard[$i];
|
2016-04-30 15:38:12 +02:00
|
|
|
echo"<tr>";
|
2016-07-13 15:07:23 +02:00
|
|
|
echo"<td class=\"nowrap\">$listElem[0]</td>";
|
|
|
|
echo"<td class=\"nowrap\">$listElem[1]</td>";
|
|
|
|
echo"<td class=\"nowrap\">$listElem[2]</td>";
|
|
|
|
echo"<td class=\"nowrap\">$listElem[3]</td>";
|
|
|
|
echo"<td class=\"nowrap\">$listElem[4]</td>";
|
2016-06-23 21:14:54 +02:00
|
|
|
if ($listElem[5] == "RF"){
|
2016-07-13 15:07:23 +02:00
|
|
|
echo "<td class=\nowrap\"><span class=\"label label-success\">RF</span></td>";
|
2016-06-23 21:14:54 +02:00
|
|
|
}else{
|
2016-07-13 15:07:23 +02:00
|
|
|
echo"<td class=\"nowrap\">$listElem[5]</td>";
|
2016-06-23 21:14:54 +02:00
|
|
|
}
|
2016-05-04 14:59:45 +02:00
|
|
|
if ($listElem[6] == null) {
|
2016-07-13 15:07:23 +02:00
|
|
|
echo'<td class=\"nowrap\">transmitting</td><td></td><td></td>';
|
2016-05-19 22:24:59 +02:00
|
|
|
} else if ($listElem[6] == "SMS") {
|
2016-07-13 15:07:23 +02:00
|
|
|
echo'<td class=\"nowrap\">sending or receiving SMS</td><td></td><td></td>';
|
2016-05-19 22:24:59 +02:00
|
|
|
} else {
|
2016-07-13 15:07:23 +02:00
|
|
|
echo"<td class=\"nowrap\">$listElem[6]</td>";
|
|
|
|
echo"<td class=\"nowrap\">$listElem[7]</td>";
|
|
|
|
echo"<td class=\"nowrap\">$listElem[8]</td>";
|
2016-05-04 14:59:45 +02:00
|
|
|
}
|
2016-05-01 21:53:08 +02:00
|
|
|
echo"</tr>\n";
|
2016-04-30 15:38:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
2016-06-23 21:18:36 +02:00
|
|
|
</tbody>
|
2016-04-30 15:38:12 +02:00
|
|
|
</table>
|
2016-06-23 21:18:36 +02:00
|
|
|
</div>
|
2016-05-05 21:21:55 +02:00
|
|
|
</div>
|
2016-06-24 23:34:16 +02:00
|
|
|
|