";
foreach ($lastHeard as $listElem) {
if (defined("ENABLEXTDLOOKUP") && $listElem[7] == null || !defined("ENABLEXTDLOOKUP") && $listElem[6] == null) {
echo "
";
echo"$listElem[0] | ";
echo"$listElem[1] | ";
/*if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
echo"".str_replace("0","Ø",$listElem[2])." | ";
} else {
echo"".$listElem[2]." | ";
}*/
echo"$listElem[2] | ";
if (defined("ENABLEXTDLOOKUP")) {
//echo "".getName($listElem[2])." | ";
echo"$listElem[3] | ";
echo"$listElem[4] | ";
echo"$listElem[5] | ";
if ($listElem[6] == "RF"){
echo "RF | ";
}else{
echo"$listElem[6] | ";
}
$UTC = new DateTimeZone("UTC");
$d1 = new DateTime($listElem[0], $UTC);
$d2 = new DateTime('now', $UTC);
$diff = $d2->getTimestamp() - $d1->getTimestamp();
echo"$diff s | ";
} else {
echo"$listElem[3] | ";
echo"$listElem[4] | ";
if ($listElem[5] == "RF"){
echo "RF | ";
}else{
echo"$listElem[5] | ";
}
$UTC = new DateTimeZone("UTC");
$d1 = new DateTime($listElem[0], $UTC);
$d2 = new DateTime('now', $UTC);
$diff = $d2->getTimestamp() - $d1->getTimestamp();
echo"$diff s | ";
}
echo "
";
}
}
?>