69 lines
3.1 KiB
PHP
69 lines
3.1 KiB
PHP
<?php
|
|
/* Smarty version 4.3.0, created on 2024-08-18 13:48:28
|
|
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_car.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '4.3.0',
|
|
'unifunc' => 'content_66c1df8c308371_39357610',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'cb692c065ca0c099b4b2f5925e3dae226232698a' =>
|
|
array (
|
|
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_car.tpl',
|
|
1 => 1723981704,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_66c1df8c308371_39357610 (Smarty_Internal_Template $_smarty_tpl) {
|
|
?><div class="panel panel-tbox">
|
|
<header class="panel-heading" style="font-size: 10pt;line-height:80%">
|
|
<span style="font-size: 14pt" class="far fa-truck pull-left"></span>
|
|
<span style="font-size: 12pt"> <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
|
|
</span>
|
|
</header>
|
|
<div class="panel-body">
|
|
<table class="no-style full" style="margin:-9px;line-height:12px">
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'fc');
|
|
$_smarty_tpl->tpl_vars['fc']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fc']->value) {
|
|
$_smarty_tpl->tpl_vars['fc']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<?php if ($_smarty_tpl->tpl_vars['fc']->value['n_a'] == 1) {?>
|
|
<td style="width:30px;font-size:12pt"><i class="far fa-engine-warning" style="color: red"></i></td>
|
|
<td style="width:200px;font-size:11pt;"><strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['car'];?>
|
|
</strong></br>
|
|
<span style="width:145px;font-size: 7pt;color: orange"><?php echo $_smarty_tpl->tpl_vars['fc']->value['info'];?>
|
|
</span>
|
|
</td>
|
|
<?php } else { ?>
|
|
<td style="width:30px;font-size:12pt">
|
|
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 1) {?> <i class="far fa-car-side" style="color: sandybrown"></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 2) {?> <i class="far fa-shuttle-van" style="color: orange"></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 3) {?> <i class="far fa-truck" style="color: deepskyblue"></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 4) {?> <i class="far fa-truck" style="color: cadetblue"></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 5) {?> <i class="far fa-truck-moving" style="color: darkgreen"></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 98) {?><i class="far fa-truck-plow" style="color: red"></i> <?php }?>
|
|
<td style="width:200px;font-size:11pt;">
|
|
<strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['car'];?>
|
|
</strong></br>
|
|
<span style="width:145px;font-size: 7pt;"><?php echo $_smarty_tpl->tpl_vars['fc']->value['info'];?>
|
|
</span>
|
|
</td>
|
|
<?php }?>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<?php }
|
|
}
|