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