Last FMS alarms
| ID |
Datum - Zeit |
FMS |
Stat. |
Richt. |
TKI |
query("SELECT id, time, fms, status, direction, tsi FROM ".$tableFMS." ORDER BY id DESC LIMIT 50");
$Rows = array();
while ($daten = $db->fetchAssoc())
{
$Rows[] = $daten;
}
$tpl['fms'] = $Rows;
foreach ($tpl['fms'] as $fms)
{
$time = strtotime($fms['time']);
$time = date("d.m.Y H:i:s", $time);
echo "";
echo "| ". $fms['id'] . " | ";
echo "". $time . " | ";
echo "". $fms['fms'] . " | ";
echo "". $fms['status'] . " | ";
echo "". $fms['direction'] . " | ";
echo "". $fms['tsi'] . " | ";
echo "
";
}
?>