171 lines
No EOL
8.9 KiB
Smarty
171 lines
No EOL
8.9 KiB
Smarty
<!-- <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>
|
|
{foreach from=$nt1 item=tour}
|
|
{if $tour.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>
|
|
|
|
|
|
{/if}
|
|
<tr onclick="tdd({$tour.id})" style="color:#ccc">
|
|
<form action="" method="post">
|
|
{if $tour.aktiv==0}
|
|
<td nowrap style="width:120px;color:cyan">{$tour.tour}</td>
|
|
{else}
|
|
<td nowrap style="width:120px;color:#ccc">{$tour.tour}</td>
|
|
{/if}
|
|
|
|
{if $tour.s_info==0}<td nowrap style="width:3px;"> </td>{/if}
|
|
{if $tour.s_info==1}<td nowrap style="width:3px;border-left: 2px solid cyan;"> </td>{/if}
|
|
{if $tour.s_info==2}<td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td>{/if}
|
|
{if $tour.s_info==3}<td nowrap style="width:3px;border-left: 2px solid red;"> </td>{/if}
|
|
|
|
{if $tour.m_info==0} <td nowrap style="width:200px">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==1} <td nowrap style="width:200px;color:cyan">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==2} <td nowrap style="width:200px;color:darkorange">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==3} <td nowrap style="width:200px;color:red">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==4} <td nowrap style="width:200px;color:darkseagreen">{$tour.fname}</td> {/if}
|
|
|
|
<!--
|
|
{if $tour.stamm_info==0} <td nowrap style="width:200px;color:#ccc">{$tour.fname}</td> {/if}
|
|
{if $tour.stamm_info==1} <td nowrap style="width:200px;color:red" data-toggle="ttp" title={$tour.stamminfo}>{$tour.fname}</td> {/if}
|
|
{if $tour.stamm_info==2} <td nowrap style="width:200px;color:orange" data-toggle="ttp" title={$tour.stamminfo}>{$tour.fname}</td> {/if}
|
|
-->
|
|
|
|
{if $tour.csinfo==0}<td nowrap style="width:3px;"> </td>{/if}
|
|
{if $tour.csinfo==1}<td nowrap style="width:3px;border-left: 2px solid cyan;"> </td>{/if}
|
|
{if $tour.csinfo==2}<td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td>{/if}
|
|
{if $tour.csinfo==3}<td nowrap style="width:3px;border-left: 2px solid red;"> </td>{/if}
|
|
|
|
{if $tour.c_info==0}<td nowrap align="right" style="width:75px;color:#ccc">{$tour.kz}</td> {/if}
|
|
{if $tour.c_info==1}<td nowrap align="right" style="width:75px;color:cyan">{$tour.kz}</td> {/if}
|
|
{if $tour.c_info==2}<td nowrap align="right" style="width:75px;color:darkseagreen">{$tour.kz}</td> {/if}
|
|
{if $tour.c_info==3}<td nowrap align="right" style="width:75px;color:red">{$tour.kz}</td> {/if}
|
|
|
|
<!-- SMS Status !!!!! ------------------------------------- -->
|
|
<td nowrap align="center" style="width:30px" id="smscheck{$tour.tourid}">
|
|
{if $tour.smsstatus==0 } <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> {/if}
|
|
{if $tour.smsstatus==1 } <i class='fas fa-comment-alt-exclamation fa-1x' style='color:orange' ></i> {/if}
|
|
{if $tour.smsstatus==2 } <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> {/if}
|
|
{if $tour.smsstatus==8 } <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> {/if}
|
|
{if $tour.smsstatus==20} <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> {/if}
|
|
{if $tour.smsstatus==3 } <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> {/if}
|
|
{if $tour.smsstatus==4 } <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> {/if}
|
|
{if $tour.smsstatus==5 } <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> {/if}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
{/foreach}
|
|
</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>
|
|
{foreach from=$nt2 item=tour}
|
|
{if $tour.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>
|
|
|
|
|
|
{/if}
|
|
<tr onclick="tdd({$tour.id})">
|
|
<form action="" method="post">
|
|
{if $tour.aktiv==0}
|
|
<td nowrap style="width:120px;color:cyan">{$tour.tour}</td>
|
|
{else}
|
|
<td nowrap style="width:120px;color:#ccc">{$tour.tour}</td>
|
|
{/if}
|
|
|
|
{if $tour.s_info==0}<td nowrap style="width:3px;"> </td>{/if}
|
|
{if $tour.s_info==1}<td nowrap style="width:3px;border-left: 2px solid cyan;"> </td>{/if}
|
|
{if $tour.s_info==2}<td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td>{/if}
|
|
{if $tour.s_info==3}<td nowrap style="width:3px;border-left: 2px solid red;"> </td>{/if}
|
|
|
|
{if $tour.m_info==0} <td nowrap style="width:200px">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==1} <td nowrap style="width:200px;color:cyan">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==2} <td nowrap style="width:200px;color:darkorange">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==3} <td nowrap style="width:200px;color:red">{$tour.fname}</td> {/if}
|
|
{if $tour.m_info==4} <td nowrap style="width:200px;color:darkseagreen">{$tour.fname}</td> {/if}
|
|
|
|
<!--
|
|
{if $tour.stamm_info==0} <td nowrap style="width:200px;color:#ccc">{$tour.fname}</td> {/if}
|
|
{if $tour.stamm_info==1} <td nowrap style="width:200px;color:red" data-toggle="ttp" title={$tour.stamminfo}>{$tour.fname}</td> {/if}
|
|
{if $tour.stamm_info==2} <td nowrap style="width:200px;color:orange" data-toggle="ttp" title={$tour.stamminfo}>{$tour.fname}</td> {/if}
|
|
-->
|
|
|
|
{if $tour.csinfo==0}<td nowrap style="width:3px;"> </td>{/if}
|
|
{if $tour.csinfo==1}<td nowrap style="width:3px;border-left: 2px solid cyan;"> </td>{/if}
|
|
{if $tour.csinfo==2}<td nowrap style="width:3px;border-left: 2px solid darkorange;"> </td>{/if}
|
|
{if $tour.csinfo==3}<td nowrap style="width:3px;border-left: 2px solid red;"> </td>{/if}
|
|
|
|
{if $tour.c_info==0}<td nowrap align="right" style="width:75px;color:#ccc">{$tour.kz}</td> {/if}
|
|
{if $tour.c_info==1}<td nowrap align="right" style="width:75px;color:cyan">{$tour.kz}</td> {/if}
|
|
{if $tour.c_info==2}<td nowrap align="right" style="width:75px;color:darkseagreen">{$tour.kz}</td> {/if}
|
|
{if $tour.c_info==3}<td nowrap align="right" style="width:75px;color:red">{$tour.kz}</td> {/if}
|
|
|
|
<!-- SMS Status !!!!! ------------------------------------- -->
|
|
<td nowrap align="center" style="width:30px" id="smscheck{$tour.tourid}">
|
|
{if $tour.smsstatus==0 } <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> {/if}
|
|
{if $tour.smsstatus==1 } <i class='fas fa-comment-alt-exclamation fa-1x' style='color:darkorange' ></i> {/if}
|
|
{if $tour.smsstatus==2 } <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> {/if}
|
|
{if $tour.smsstatus==8 } <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> {/if}
|
|
{if $tour.smsstatus==20} <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> {/if}
|
|
{if $tour.smsstatus==3 } <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> {/if}
|
|
{if $tour.smsstatus==4 } <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> {/if}
|
|
{if $tour.smsstatus==5 } <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> {/if}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- </div> -->
|
|
|
|
{literal}
|
|
<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');
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
{/literal} |