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

553 lines
25 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-03-28 16:53:53
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit_sb.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66059291be40e1_25493591',
'has_nocache_code' => false,
'file_dependency' =>
array (
'cd418886ca1a83fb3e6bcc28ba5e69ed1e6b155f' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit_sb.tpl',
1 => 1710318935,
2 => 'file',
),
),
'includes' =>
array (
'file:tpl/ajax/_ma_subm.tpl' => 1,
),
),false)) {
function content_66059291be40e1_25493591 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<?php if ($_smarty_tpl->tpl_vars['j1']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px;color: #115270"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j1']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j1']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable1 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable1;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable1) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable2 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable2;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable2) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable3 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable3;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable3) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable4 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable4;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable4) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable5 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable5;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable5) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable6 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable6;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable6) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable7 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable7;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable7) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j2']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j2']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j2']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable8 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable8;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable8) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable9 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable9;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable9) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable10 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable10;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable10) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable11 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable11;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable11) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable12 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable12;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable12) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable13 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable13;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable14 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable14;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable14) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j3']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j3']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j3']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable15 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable15;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable15) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable16 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable16;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable16) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable17 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable17;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable17) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable18 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable18;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable18) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable19 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable19;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable19) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable20 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable20;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable20) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable21 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable21;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable21) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j4']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j4']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j4']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable22 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable22;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable22) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable23 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable23;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable23) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable24 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable24;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable24) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable25 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable25;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable25) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable26 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable26;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable26) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable27 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable27;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable27) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable28 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable28;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable28) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }?>
<div class="max">
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['klog']->value, 'k');
$_smarty_tpl->tpl_vars['k']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value) {
$_smarty_tpl->tpl_vars['k']->do_else = false;
?>
<tr style="line-height:18px;color: #aaa">
<td width="160px"><?php echo $_smarty_tpl->tpl_vars['k']->value['zeit'];?>
Uhr</td>
<td align="right" width="80px" style="color: #808080">~<?php echo $_smarty_tpl->tpl_vars['k']->value['diff'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<style>
.max {
background: #222;
color: turquoise;
padding: 3px;
border: 1px solid turquoise;
font-size: 14px;
border-radius:6px;
margin-top: -12px;
margin-bottom: 20px;
min-height: 50px;
}
.masb {
background: #222222;
color: turquoise;
padding: 5px;
font-size: 13px;
min-height: 115px;
max-height: 615px;
border: 1px solid turquoise;
border-radius: 6px;
margin-left: -5px;
width: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
</style>
<?php }
}