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