more fixes for prev commit

pull/14/head
Tom Early 6 years ago
parent 5ee4a42a81
commit 49a6148a03

@ -151,7 +151,7 @@ foreach($showlist as $section) {
echo 'Last Heard:<br><code>', "\n";
$rstr = 'MyCall/Sfx Mod Via Time<br>';
echo str_replace(' ', '&nbsp;', $rstr), "\n";
$dbname = $cfgdir.'/'.GetCFGValue('dash_sql_filename');
$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').' ';
if ($stmnt = $db->prepare($ss)) {

@ -157,7 +157,7 @@ DashboardMenu () {
echo " UR is the Send URCall Section"
EndMenu
elif [[ "$key" == r* ]]; then dash_refresh="$value"
if [[ "$key" == r* ]]; then dash_refresh="$value"
elif [[ "$key" == c* ]]; then dash_lastheard_count="$value"
elif [[ "$key" == o* ]]; then dash_show_order="${value^^}"
elif [[ "$key" == u* ]]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.