167 lines
6.1 KiB
PHP
167 lines
6.1 KiB
PHP
<?php
|
|
/* Smarty version 4.3.0, created on 2024-04-10 16:20:50
|
|
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/tuer.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '4.3.0',
|
|
'unifunc' => 'content_6616a042a14dc1_88741163',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'c1ea86064178bbb0a1523332db6bc6c7f7d471ce' =>
|
|
array (
|
|
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/tuer.tpl',
|
|
1 => 1709896011,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_6616a042a14dc1_88741163 (Smarty_Internal_Template $_smarty_tpl) {
|
|
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
|
|
?>
|
|
<!-- Left column/section -->
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-md-5">
|
|
<div class="tlog">
|
|
<header class="current"><h2><span style='color:#0000FF'>Tuereintrag Heute <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tag1b']->value,"%d.%m.%Y");?>
|
|
</h2></header>
|
|
<section>
|
|
<table class="datatable full" >
|
|
<thead>
|
|
<tr>
|
|
<th>Zeitstempel</th>
|
|
<th>Fahrer</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['status1']->value, 'st1');
|
|
$_smarty_tpl->tpl_vars['st1']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['st1']->value) {
|
|
$_smarty_tpl->tpl_vars['st1']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<td width="200px"><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['st1']->value['zeit'],"%d.%m.%Y - %H:%M");?>
|
|
Uhr</strong></td>
|
|
<td> <b><?php echo $_smarty_tpl->tpl_vars['st1']->value['fahrer'];?>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-5">
|
|
<div class="widget">
|
|
<header class="current"><h2><span style='color:#0000FF'>Tuereintrag Gestern <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tag2b']->value,"%d.%m.%Y");?>
|
|
</h2></header>
|
|
<section>
|
|
<table class="datatable full" >
|
|
<thead>
|
|
<tr>
|
|
<th>Zeitstempel</th>
|
|
<th>Fahrer</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['status2']->value, 'st2');
|
|
$_smarty_tpl->tpl_vars['st2']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['st2']->value) {
|
|
$_smarty_tpl->tpl_vars['st2']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<td width="200px"><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['st2']->value['zeit'],"%d.%m.%Y - %H:%M");?>
|
|
Uhr</strong></td>
|
|
<td> <b><?php echo $_smarty_tpl->tpl_vars['st2']->value['fahrer'];?>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<!-- Sidebar -->
|
|
<div class="column grid_2 last">
|
|
<div class="widget">
|
|
<header class="current"><h2><span style='color:#0000FF'>Status Anlage</h2></header>
|
|
<section>
|
|
<table class="datatable full">
|
|
<tbody> <strong>
|
|
<tr><td><strong>Tuer ist</strong></td> <td><strong><?php echo $_smarty_tpl->tpl_vars['tuer']->value;?>
|
|
</strong></td></tr>
|
|
<tr><td><strong>Alarmanlage ist</strong></td> <td><strong><?php echo $_smarty_tpl->tpl_vars['alarm']->value;?>
|
|
</strong></td></tr>
|
|
<tr><td><strong>___________________</strong></td><td><strong>_____</strong></td></tr>
|
|
<tr><td><strong><span style='color:#0000FF'><strong>letzte Zugangskarte:</strong></td></tr>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['status']->value, 'st');
|
|
$_smarty_tpl->tpl_vars['st']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['st']->value) {
|
|
$_smarty_tpl->tpl_vars['st']->do_else = false;
|
|
?>
|
|
<tr></strong>
|
|
<td><strong><?php echo $_smarty_tpl->tpl_vars['st']->value['fahrer'];?>
|
|
</strong></td>
|
|
<td><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['st']->value['zeit'],"%H:%M");?>
|
|
</strong></td>
|
|
<!-- <td> <span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['status']->value['zeit2'];?>
|
|
</td> -->
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2><span style='color:#FF0000'>Fehler Anlage</h2></header>
|
|
<section>
|
|
<table class="nostyle full">
|
|
<tbody> <strong>
|
|
<tr><td><strong><span style='color:#0000FF'><strong>letzter Fehlversuch:</strong></td></tr>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['estatus']->value, 'est');
|
|
$_smarty_tpl->tpl_vars['est']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['est']->value) {
|
|
$_smarty_tpl->tpl_vars['est']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<td><strong><span style='color:#FF00FF'><?php echo $_smarty_tpl->tpl_vars['est']->value['karte'];?>
|
|
</strong></td>
|
|
<td><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['est']->value['zeit'],"%d.%m %H:%M");?>
|
|
</strong></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php }
|
|
}
|