mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-06 06:53:32 +00:00
move www-dir to exampleAddOns
This commit is contained in:
parent
beb955567f
commit
ad88f65d0b
70 changed files with 0 additions and 0 deletions
30
exampleAddOns/simpleWeb/tpl/template.overview.php
Normal file
30
exampleAddOns/simpleWeb/tpl/template.overview.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<div>
|
||||
<b>Last data (max. 25)</b>
|
||||
<table style="width: 800px;">
|
||||
<tr class="tableHead">
|
||||
<td>ID</td>
|
||||
<td>Datum - Zeit</td>
|
||||
<td>Typ</td>
|
||||
<td>Daten</td>
|
||||
<td>Beschreibung</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>". $lastAla['description'] . "</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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue