mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-08 07:53:36 +00:00
- insert all new fields from the database - own page for each function - overview for last 50 alarm of all function in one
28 lines
676 B
PHP
28 lines
676 B
PHP
<div>
|
|
<b>Last 50 alarms</b>
|
|
<table style="width: 600px;">
|
|
<tr class="tableHead">
|
|
<td>ID</td>
|
|
<td>Datum - Zeit</td>
|
|
<td>Typ</td>
|
|
<td>Daten</td>
|
|
<td></td>
|
|
</tr>
|
|
<?php
|
|
foreach ($tpl['lastAla'] as $lastAla)
|
|
{
|
|
|
|
$time = strtotime($lastAla['time']);
|
|
$time = date("d.m.Y H:i:s", $time);
|
|
|
|
echo "<tr>";
|
|
echo "<td>". $lastAla['id'] . "</td>";
|
|
echo "<td>". $time . "</td>";
|
|
echo "<td>". $lastAla['typ'] . "</td>";
|
|
echo "<td>". $lastAla['data'] . "</td>";
|
|
echo "<td><a href='index.php?" . $lastAla['typ'] . "&id=" . $lastAla['id'] . "'><img src='gfx/lupe.png' alt='show'></a></td>";
|
|
echo "</tr>";
|
|
}
|
|
?>
|
|
</table>
|
|
</div>
|