c4fc382cd5
Actual only last callsign starting TX shown, but working
28 lines
879 B
PHP
28 lines
879 B
PHP
<?php
|
|
include "config/config.php";
|
|
include "include/tools.php";
|
|
include "include/functions.php";
|
|
$mmdvmconfigs = getMMDVMConfig();
|
|
$logLinesMMDVM = getShortMMDVMLog();
|
|
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
|
array_multisort($reverseLogLinesMMDVM,SORT_DESC);
|
|
$lastHeard = getLastHeard($reverseLogLinesMMDVM, True);
|
|
$listElem = $lastHeard[0];
|
|
if ($listElem[6] == null) {
|
|
echo"<td class=\"nowrap\">$listElem[0]</td>";
|
|
echo"<td class=\"nowrap\">$listElem[1]</td>";
|
|
echo"<td class=\"nowrap\">$listElem[2]</td>";
|
|
if (defined("ENABLEXTDLOOKUP")) {
|
|
echo "<td class=\"nowrap\">".getName($listElem[2])."</td>";
|
|
}
|
|
echo"<td class=\"nowrap\">$listElem[3]</td>";
|
|
echo"<td class=\"nowrap\">$listElem[4]</td>";
|
|
if ($listElem[5] == "RF"){
|
|
echo "<td class=\nowrap\"><span class=\"label label-success\">RF</span></td>";
|
|
}else{
|
|
echo"<td class=\"nowrap\">$listElem[5]</td>";
|
|
}
|
|
}
|
|
|
|
?>
|
|
|