', "\n";
- $rstr = 'MyCall/Sfx Mod Via Time
';
+ $rstr = 'MyCall/Sfx Message Mod Via Location Time
';
echo str_replace(' ', ' ', $rstr), "\n";
$dbname = $cfgdir.'/qn.db';
$db = new SQLite3($dbname, SQLITE3_OPEN_READONLY);
- $ss = 'SELECT callsign,sfx,module,reflector,strftime("%s","now")-lasttime FROM LHEARD ORDER BY 5 LIMIT '.GetCFGValue('dash_lastheard_count').' ';
+ // 0 1 2 3 4 5 6 7 8
+ $ss = 'SELECT callsign,sfx,message,module,reflector,maidenhead,latitude,longitude,strftime("%s","now")-lasttime FROM LHEARD ORDER BY 9 LIMIT '.GetCFGValue('dash_lastheard_count').' ';
if ($stmnt = $db->prepare($ss)) {
if ($result = $stmnt->execute()) {
while ($row = $result->FetchArray(SQLITE3_NUM)) {
- $rstr = MyAndSfxToQrz($row[0], $row[1]).' '.$row[2].' '.$row[3].' '.SecToString(intval($row[4])).'
';
+ $rstr = MyAndSfxToQrz($row[0], $row[1]).' '.$row[2].' '.$row[3].' '.$row[4].' '.Maidenhead($row[5], $row[6], $row[7]).' '.SecToString(intval($row[4])).'
';
echo str_replace('*', ' ', str_replace(' ', ' ', $rstr)), "\n";
}
$result->finalize();
@@ -254,6 +272,6 @@ foreach($showlist as $section) {
}
?>
-QnetGateway Dashboard Version 525 Copyright © by Thomas A. Early, N7TAE.
+QnetGateway Dashboard Version 613 Copyright © by Thomas A. Early, N7TAE.