2016-09-11 23:00:43 +02:00
|
|
|
<?php
|
2016-09-14 20:38:12 +02:00
|
|
|
header("Cache-Control: no-cache, must-revalidate");
|
|
|
|
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
|
2016-09-11 23:00:43 +02:00
|
|
|
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);
|
2016-09-13 21:36:42 +02:00
|
|
|
foreach ($lastHeard as $listElem) {
|
|
|
|
echo "<tr>";
|
|
|
|
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>";
|
|
|
|
}
|
2016-09-11 23:00:43 +02:00
|
|
|
}
|
2016-09-13 21:36:42 +02:00
|
|
|
echo "</tr>";
|
2016-09-11 23:00:43 +02:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
|