jb-data.de/compile/af6f268878eda2c4b612f0b38fce8c17953d5c2c_0.file.c_info.tpl.php
2025-08-11 22:23:30 +02:00

279 lines
11 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-06-03 09:55:16
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_info.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_665d76e4e05d03_28287758',
'has_nocache_code' => false,
'file_dependency' =>
array (
'af6f268878eda2c4b612f0b38fce8c17953d5c2c' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_info.tpl',
1 => 1708819548,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_665d76e4e05d03_28287758 (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',),));
?>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-car fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> <?php echo $_smarty_tpl->tpl_vars['aktive1']->value;?>
PKW</br></span>
<span style="color:orange"><?php echo $_smarty_tpl->tpl_vars['sonstige1']->value;?>
PKW</br></span>
<span style="color:gray"> <?php echo $_smarty_tpl->tpl_vars['inaktive1']->value;?>
PKW (ex)</span>
</div>
</div>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-truck-pickup fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> <?php echo $_smarty_tpl->tpl_vars['aktive2']->value;?>
Caddy</br></span>
<span style="color:orange"><?php echo $_smarty_tpl->tpl_vars['sonstige2']->value;?>
Caddy</br></span>
<span style="color:gray"> <?php echo $_smarty_tpl->tpl_vars['inaktive2']->value;?>
Caddy (ex)</span>
</div>
</div>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-truck fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> <?php echo $_smarty_tpl->tpl_vars['aktive3']->value;?>
Transporter</br></span>
<span style="color:orange"><?php echo $_smarty_tpl->tpl_vars['sonstige3']->value;?>
Transporter</br></span>
<span style="color:gray"> <?php echo $_smarty_tpl->tpl_vars['inaktive3']->value;?>
Transporter (ex)</span>
</div>
</div>
<!-- 2. Reihe rechts Widged *************************** -->
<div class="col-md-4">
<div class="panel panel-danger">
<header class="panel-heading"><h2 class="panel-title">fehlende Daten * Fahrzeuge</span></h2></header>
<div class="panel-body">
<table class="no-style full">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mafehler']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['maf']->value['line'] > 0) {?>
<tr><td><hr style="color: red; height: 1px;" /></td><td><hr style="color: red; height: 1px;" /></td></tr>
<?php }?>
<tr>
<td nowrap style="width:90px;text-align:right"><a href="?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['maf']->value['id'];?>
" title="Klicke zum bearbeiten" ><?php echo $_smarty_tpl->tpl_vars['maf']->value['name'];?>
</strong> </td>
<td nowrap style="width:200px;text-align:right"><?php echo $_smarty_tpl->tpl_vars['maf']->value['grund'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- </div> -->
<!-- *************************************************************************************** -->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Kalender f&uuml;r diesen Monat</h2></header>
<div class="panel-body">
<dl>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<td nowrap style="width:90px;font-size:11pt"> <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['maf']->value['time'],"%d.%m.%Y");?>
</td>
<td nowrap style="width:80px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
</td>
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
" width="16" height="16"/></td>
<td nowrap style="width:150px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</dl>
</div>
</div>
</div>
<div class="col-md-4">
<!-- *********** Fahrzeug HU-Überprüfung / sanikasten etc-->
<!-- -------------------------------- HU / AU -->
<div id="huau" style="text-align:center;"></div>
<!-- -------------------------------- Sanikasten -->
<div id="sani" style="text-align:center;"></div>
<!-- *********** Fahrzeug Zahnriemen kette -->
<?php if ($_smarty_tpl->tpl_vars['fanz3']->value > 0) {?>
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sanidata']->value, 'sd');
$_smarty_tpl->tpl_vars['sd']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sd']->value) {
$_smarty_tpl->tpl_vars['sd']->do_else = false;
?>
<tr>
<td nowrap style="width:100px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['sd']->value['kz'];?>
</td>
<td nowrap style="width:120px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['sd']->value['info'];?>
</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['sd']->value['hudate'],"%m / %Y");?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<?php }?>
<!-- *********** Fahrzeug Oelwechsel -->
<?php if ($_smarty_tpl->tpl_vars['fanz4']->value > 0) {?>
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hudata']->value, 'hud');
$_smarty_tpl->tpl_vars['hud']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['hud']->value) {
$_smarty_tpl->tpl_vars['hud']->do_else = false;
?>
<tr>
<td nowrap style="width:100px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hud']->value['kz'];?>
</td>
<td nowrap style="width:120px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hud']->value['info'];?>
</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['hud']->value['hudate'],"%m / %Y");?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<?php }?>
<!-- *********** Fahrzeug Oelwechsel -->
<?php if ($_smarty_tpl->tpl_vars['fanz5']->value > 0) {?>
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hudata']->value, 'hd');
$_smarty_tpl->tpl_vars['hd']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['hd']->value) {
$_smarty_tpl->tpl_vars['hd']->do_else = false;
?>
<tr>
<td nowrap style="width:100px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hd']->value['kz'];?>
</td>
<td nowrap style="width:120px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hd']->value['info'];?>
</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['hd']->value['hudate'],"%m / %Y");?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<?php }?>
<style>
.rinfo {
background: #115270;
color:#bbbbbb;
padding: 6px;
border: 1px solid;
border-radius:10px;
margin-bottom: 8px;
margin-top: -10px;
font-size: 14pt;
}
</style>
<?php echo '<script'; ?>
type="text/javascript">
$.ajax({
type : "POST",
url : 'ajax.php?s=huau&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#huau").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=sani&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#sani").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=tuerlog3&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog").html(data);
},
});
var refreshId = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=tuerlog3&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog").html(data);
},
})
}, 10000);
<?php echo '</script'; ?>
>
<?php }
}