247 lines
15 KiB
PHP
247 lines
15 KiB
PHP
<?php
|
|
/* Smarty version 4.3.0, created on 2024-09-04 20:33:23
|
|
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_tdata.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '4.3.0',
|
|
'unifunc' => 'content_66d8a7f3b14b09_51936078',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'adee1be0af42ca6fb0fa735428738184002273c0' =>
|
|
array (
|
|
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_tdata.tpl',
|
|
1 => 1725474794,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_66d8a7f3b14b09_51936078 (Smarty_Internal_Template $_smarty_tpl) {
|
|
?><!-- <div id="p_tdata" > -->
|
|
<div class="col-md-5" >
|
|
<div class="panel panel-tbox">
|
|
<div class="panel-body" style="margin: -6px">
|
|
<table class="no-style hover" style="font-size: 12pt">
|
|
<tbody>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['nt1']->value, 'tour');
|
|
$_smarty_tpl->tpl_vars['tour']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
|
|
$_smarty_tpl->tpl_vars['tour']->do_else = false;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-tbox">
|
|
<div class="panel-body">
|
|
<table class="no-style full" style="font-size: 12pt">
|
|
<tbody>
|
|
|
|
|
|
<?php }?>
|
|
<tr onclick="tdd(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
|
)" style="color:#ccc">
|
|
<form action="" method="post">
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
|
|
<td nowrap style="width:120px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
|
</td>
|
|
<?php } else { ?>
|
|
<td nowrap style="width:120px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
|
</td>
|
|
<?php }?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 0) {?><td nowrap style="width:3px;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;"> </td><?php }?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 0) {?> <td nowrap style="width:200px"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 1) {?> <td nowrap style="width:200px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 2) {?> <td nowrap style="width:200px;color:darkorange"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 3) {?> <td nowrap style="width:200px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 4) {?> <td nowrap style="width:200px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
|
|
<!--
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td nowrap style="width:200px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td nowrap style="width:200px;color:red" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
|
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td nowrap style="width:200px;color:orange" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
|
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
-->
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 0) {?><td nowrap style="width:3px;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;"> </td><?php }?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 0) {?><td nowrap align="right" style="width:75px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 1) {?><td nowrap align="right" style="width:75px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 2) {?><td nowrap align="right" style="width:75px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 3) {?><td nowrap align="right" style="width:75px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
|
|
<!-- SMS Status !!!!! ------------------------------------- -->
|
|
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
|
">
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?> <i class='fas fa-comment-alt-exclamation fa-1x' style='color:orange' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?> <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?> <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 2. Spalte für LVZ ------------------------------------- -->
|
|
<div class="col-md-5" >
|
|
<div class="panel panel-tbox">
|
|
<div class="panel-body" style="margin: -6px">
|
|
<table class="no-style hover" style="font-size: 12pt">
|
|
<tbody>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['nt2']->value, 'tour');
|
|
$_smarty_tpl->tpl_vars['tour']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
|
|
$_smarty_tpl->tpl_vars['tour']->do_else = false;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-tbox">
|
|
<div class="panel-body">
|
|
<table class="no-style full" style="font-size: 12pt">
|
|
<tbody>
|
|
|
|
|
|
<?php }?>
|
|
<tr onclick="tdd(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
|
)">
|
|
<form action="" method="post">
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
|
|
<td nowrap style="width:120px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
|
</td>
|
|
<?php } else { ?>
|
|
<td nowrap style="width:120px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
|
</td>
|
|
<?php }?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 0) {?><td nowrap style="width:3px;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;"> </td><?php }?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 0) {?> <td nowrap style="width:200px"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 1) {?> <td nowrap style="width:200px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 2) {?> <td nowrap style="width:200px;color:darkorange"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 3) {?> <td nowrap style="width:200px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 4) {?> <td nowrap style="width:200px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
|
|
<!--
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td nowrap style="width:200px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td nowrap style="width:200px;color:red" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
|
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td nowrap style="width:200px;color:orange" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
|
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
|
|
</td> <?php }?>
|
|
-->
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 0) {?><td nowrap style="width:3px;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;"> </td><?php }?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 0) {?><td nowrap align="right" style="width:75px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 1) {?><td nowrap align="right" style="width:75px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 2) {?><td nowrap align="right" style="width:75px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 3) {?><td nowrap align="right" style="width:75px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
|
</td> <?php }?>
|
|
|
|
<!-- SMS Status !!!!! ------------------------------------- -->
|
|
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
|
">
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?> <i class='fas fa-comment-alt-exclamation fa-1x' style='color:darkorange' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?> <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?> <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- </div> -->
|
|
|
|
|
|
<?php echo '<script'; ?>
|
|
>
|
|
function tdd(id) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=p_night_tdd&tpl",
|
|
dataType: 'html',
|
|
data: '&id=' + id,
|
|
success: function (data) {
|
|
console.log(data)
|
|
$("#tddmodal").html(data);
|
|
$('#modal').modal('show');
|
|
}
|
|
});
|
|
}
|
|
<?php echo '</script'; ?>
|
|
>
|
|
<?php }
|
|
}
|