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

86 lines
4.2 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-07-23 08:23:41
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_669f4c6de61450_11042744',
'has_nocache_code' => false,
'file_dependency' =>
array (
'7141c539fa410288ad598e1649a5eae52e422935' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan.tpl',
1 => 1721715813,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_669f4c6de61450_11042744 (Smarty_Internal_Template $_smarty_tpl) {
?>
<p align="center" style="color:yellow;margin-top: -6px;margin-bottom: : 4px;font-size: 26px;background-color:teal"><?php echo $_smarty_tpl->tpl_vars['data']->value['label'];?>
</p>
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Offline JB-Daten</p>
<table class="no-style full" style="color: #000;line-height: 2;margin: 10px">
<tbody>
<tr style="line-height:18px"> <td width="200px">Empfänger: </td> <td width="350px"><?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
</td> </tr>
<tr style="line-height:18px"> <td width="200px"> </td> <td width="350px"><?php echo $_smarty_tpl->tpl_vars['data']->value['plz'];?>
<?php echo $_smarty_tpl->tpl_vars['data']->value['ort'];?>
</br></td> </tr>
<tr style="line-height:18px"> <td width="200px">Status : </td>
<?php if ($_smarty_tpl->tpl_vars['data']->value['status'] == 800) {?> <td width="300px" style="background-color: #555;color:#6495ed"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 0) {?> <td width="300px" style="background-color: #555;color:#00FF00"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 9) {?> <td width="300px" style="background-color: #555;color:#ff8800"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 50) {?> <td width="300px" style="background-color: #555;color:#358d2f"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 505) {?> <td width="300px" style="background-color: #555;color:#E38EF7"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 507) {?> <td width="300px" style="background-color: #555;color:#C7B40A"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } else { ?> <td width="300px" style="background-color: #555;color:#ff0000"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php }?>
</tr>
<tr style="line-height:18px"> <td width="200px">Packst.: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['collie'];?>
</td> </tr>
<?php if ($_smarty_tpl->tpl_vars['data']->value['status'] == 0) {?>
<tr style="line-height:18px"> <td width="200px">Unterschrift:</td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['empfaenger'];?>
</td> </tr>
<?php }?>
<tr style="line-height:18px"> <td width="200px">leter Scan: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['datum'];?>
</td> </tr>
</body>
</table>
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Online Ilonexs-Daten</p>
<div id='iloonline'><i class="fas fa-spinner fa-10x fa-pulse"></i></div>
<?php echo '<script'; ?>
> var lab = '<?php echo $_smarty_tpl->tpl_vars['data']->value['label'];?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
$.ajax({
type : "POST",
url : 'ajax.php?s=ue_iloscan2&tpl',
cache : false,
data: '&lab=' + lab,
dataType : "html",
success : function(data){
$("#iloonline").html(data);
},
});
<?php echo '</script'; ?>
> <?php }
}