59 lines
3.6 KiB
PHP
59 lines
3.6 KiB
PHP
<?php
|
|
/* Smarty version 4.3.0, created on 2024-03-29 15:05:10
|
|
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ssstatus.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '4.3.0',
|
|
'unifunc' => 'content_6606ca962f6b81_39785083',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'832c4300d401959b9dbafac3e4dddb4cb929e392' =>
|
|
array (
|
|
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ssstatus.tpl',
|
|
1 => 1694432193,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_6606ca962f6b81_39785083 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if ($_smarty_tpl->tpl_vars['data']->value['fahrer'] == 0) {?>
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-times' style="color:#000000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['auto'] == 0) {?>
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-times' style="color:#000000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 0) {?> <!-- SMS in Warteschleife -->
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-comment-o' style="color:#0080FF;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 1) {?> <!-- SMS in statusbericht abfarge -->
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 2) {?>
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
|
"><i class='fa fa-check' style="color:#04B404;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 3) {?> <!-- SMS in statusbericht abfarge -->
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 4) {?> <!-- SMS in statusbericht abfarge -->
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 5) {?>
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-ban' style="color:#ff0000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 8) {?> <!-- SMS in Warteschleife -->
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 20) {?> <!-- SMS in Warteschleife -->
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i></button>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 99) {?>
|
|
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
|
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
|
<?php }?>
|
|
<?php }
|
|
}
|