2015-04-09 13:23:40 +02:00
|
|
|
<?php
|
|
|
|
|
//read FMS
|
2015-04-11 20:28:07 +02:00
|
|
|
$db->query("SELECT id, time, fms, status, direction, tsi FROM ".$tableFMS." ORDER BY id DESC LIMIT 50");
|
2015-04-09 13:23:40 +02:00
|
|
|
$Rows = array();
|
|
|
|
|
while ($daten = $db->fetchAssoc())
|
|
|
|
|
{
|
|
|
|
|
$Rows[] = $daten;
|
|
|
|
|
}
|
|
|
|
|
$tpl['fms'] = $Rows;
|
2015-07-02 09:02:49 +02:00
|
|
|
|
2015-04-09 13:23:40 +02:00
|
|
|
//read ZVEI
|
|
|
|
|
$db->query("SELECT id, time, zvei FROM ".$tableZVEI." ORDER BY id DESC LIMIT 50");
|
|
|
|
|
$Rows = array();
|
|
|
|
|
while ($daten = $db->fetchAssoc())
|
|
|
|
|
{
|
|
|
|
|
$Rows[] = $daten;
|
|
|
|
|
}
|
|
|
|
|
$tpl['zvei'] = $Rows;
|
2015-06-03 18:05:29 +02:00
|
|
|
//read POCSAG
|
|
|
|
|
$db->query("SELECT id, time, ric, funktion, text FROM ".$tablePOC." ORDER BY id DESC LIMIT 50");
|
|
|
|
|
$Rows = array();
|
|
|
|
|
while ($daten = $db->fetchAssoc())
|
|
|
|
|
{
|
|
|
|
|
$Rows[] = $daten;
|
|
|
|
|
}
|
|
|
|
|
$tpl['poc'] = $Rows;
|
|
|
|
|
?>
|