mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 22:17:24 +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
29
exampleAddOns/simpleWeb/tpl/template.zvei.php
Normal file
29
exampleAddOns/simpleWeb/tpl/template.zvei.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<b>Last ZVEI data</b>
|
||||
<table style="width: 600px;">
|
||||
<tr class="tableHead">
|
||||
<td>ID</td>
|
||||
<td>Datum - Zeit</td>
|
||||
<td>Schleife</td>
|
||||
<td>Beschreibung</td>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($tpl['zvei'] as $zvei)
|
||||
{
|
||||
|
||||
$time = strtotime($zvei['time']);
|
||||
$time = date("d.m.Y H:i:s", $time);
|
||||
|
||||
if(!empty($_GET['id']) && $_GET['id'] == $zvei['id']){
|
||||
echo "<tr class='highlight'>";
|
||||
}
|
||||
else{
|
||||
echo "<tr>";
|
||||
}
|
||||
echo "<td>". $zvei['id'] . "</td>";
|
||||
echo "<td>". $time . "</td>";
|
||||
echo "<td>". $zvei['zvei'] . "</td>";
|
||||
echo "<td>". $zvei['description'] . "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue