568 lines
18 KiB
Smarty
568 lines
18 KiB
Smarty
{literal}
|
|
|
|
<script type="text/javascript">
|
|
// $.ajax({
|
|
// type : "POST",
|
|
// url : 'smsdata.php',
|
|
// cache : false,
|
|
// data : {
|
|
// },
|
|
// dataType : "html",
|
|
// success : function(data){
|
|
// $("#smscheck").html(data);
|
|
// },
|
|
// });
|
|
|
|
|
|
<!-- laden nur einmalig
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=info_rs&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#info_rs").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=info_ex&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#info_ex").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=info_ss&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#info_ss").html(data);
|
|
},
|
|
});
|
|
<!-- laden nur reload
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=huau&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#huau").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=time&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#time").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=sani&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#sani").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=hkal_1&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#kal_1").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=hkal_2&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#kal_2").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=kal_nw&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#kal_nw").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=ue_carload&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#carload").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=login_edv&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#maonline").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=tuerlog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#tlog").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=a_tour&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#atour").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=x_tour&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#xtour").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=n_tour&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#ntour").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=smslog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#smslog").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=system&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#slog").html(data);
|
|
},
|
|
});
|
|
var refreshId = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=time&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#time").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
|
|
var refreshId = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=tuerlog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#tlog").html(data);
|
|
},
|
|
})
|
|
}, 10000);
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=login_edv&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#maonline").html(data);
|
|
},
|
|
})
|
|
}, 30000);
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=a_tour&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#atour").html(data);
|
|
},
|
|
})
|
|
}, 30000);
|
|
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=x_tour&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#xtour").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=system&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#slog").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=smslog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#smslog").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=n_tour&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#ntour").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=ue_carload&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#carload").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
</script>
|
|
{/literal}
|
|
|
|
|
|
|
|
|
|
<section class="col-md-8">
|
|
<!-- Planungskontrolle -->
|
|
|
|
<!-- heute Tag !!!!!!!!!!!! offene Tourenplanung -->
|
|
{if $wichtiga1>0}
|
|
<div class="panel panel-danger">
|
|
<div class="panel-heading">Tourenplanung Heute ({$tag1})</div>
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw1 item=tw1 }
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tag1}</strong></td>
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tw1.tour}</strong></td>
|
|
<td nowrap style="width:180px;line-height:80%;font-size:11pt"> <strong><span style='color:#FF0000'>{$tw1.fahrer}</strong></td>
|
|
<td nowrap style="width:120px;line-height:80%;font-size:11pt"> <strong> <span style='color:#FF0000'>{$tw1.kennz}</strong></td>
|
|
<td nowrap style="width:250px;line-height:80%;font-size:11pt"> <strong><span style='color:#FF0000'>{$tw1.info}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</div>
|
|
{else}
|
|
<div class="panel panel-success">
|
|
<div class="panel-heading">Tourenplanung Heute ({$tag1})</div>
|
|
</div>
|
|
{/if}
|
|
<!--Nächster Tag !!!!!!!!!!!! offene Tourenplanung -->
|
|
{if $wichtiga2>0}
|
|
<div class="panel panel-danger">
|
|
<div class="panel-heading">Tourenplanung Morgen ({$tag2})</div>
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw2 item=tw2 }
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tag2}</strong></td>
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tw2.tour}</strong></td>
|
|
<td nowrap style="width:180px;line-height:80%;font-size:11pt"> <strong><span style='color:#FF0000'>{$tw2.fahrer}</strong></td>
|
|
<td nowrap style="width:120px;line-height:80%;font-size:11pt"> <strong> <span style='color:#FF0000'>{$tw2.kennz}</strong></td>
|
|
<td nowrap style="width:250px;line-height:80%;font-size:11pt"> <strong><span style='color:#FF0000'>{$tw2.info}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</div>
|
|
{else}
|
|
<div class="panel panel-success">
|
|
<div class="panel-heading">Tourenplanung Morgen ({$tag2})</div>
|
|
</div>
|
|
{/if}
|
|
|
|
<!-- -------------------------------- -->
|
|
<div class="row sortable">
|
|
|
|
<!-- -------------------------------- fehlende Mitarbeiter heute -->
|
|
<div id="kal_1" style="text-align:center;"></div>
|
|
<!-- -------------------------------- fehlende Mitarbeiter morgen -->
|
|
<div id="kal_2" style="text-align:center;"></div>
|
|
<!-- -------------------------------- -->
|
|
<!-- -------------------------------- -->
|
|
<!-- heute Tag !!!!!!!!!!!! besondere Tourenplanung -->
|
|
{if $wichtigb1>0}
|
|
<div class="col-md-12">
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading">Sonder-Touren Heute ({$tag1})</div>
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw3 item=tw1 }
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tag1}</strong></td>
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw1.tour}</strong></td>
|
|
<td nowrap style="width:180px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw1.fahrer}</strong></td>
|
|
<td nowrap style="width:120px;line-height:80%;font-size:11pt"> <strong> <span style='color:#271FE0'>{$tw1.kennz}</strong></td>
|
|
<td nowrap style="width:250px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw1.info}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
<!--Nächster Tag !!!!!!!!!!!! besondere Tourenplanung -->
|
|
{if $wichtigb2>0}
|
|
<div class="col-md-12">
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading">Sonder-Touren Morgen ({$tag2})</div>
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw4 item=tw2 }
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tag2}</strong></td>
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw2.tour}</strong></td>
|
|
<td nowrap style="width:180px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw2.fahrer}</strong></td>
|
|
<td nowrap style="width:120px;line-height:80%;font-size:11pt"> <strong> <span style='color:#271FE0'>{$tw2.kennz}</strong></td>
|
|
<td nowrap style="width:250px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw2.info}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
<!-- -------------------------------- rundschau heute -->
|
|
<div id="info_rs" style="text-align:center;"></div>
|
|
<!-- -------------------------------- exxtra morgen -->
|
|
<div id="info_ex" style="text-align:center;"></div>
|
|
<!-- -------------------------------- Saso Info -->
|
|
<div id="info_ss" style="text-align:center;"></div>
|
|
<!-- -------------------------------- -->
|
|
|
|
<!-- -------------------------------- system status -->
|
|
<div class="col-md-3">
|
|
<div class="panel panel-default collapsible">
|
|
<div class="panel-heading"><h2 class="panel-title">System Check:</a></h2></div>
|
|
<div class="panel-body">
|
|
<div id="slog" style="text-align:center;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- -------------------------------- sms Status -->
|
|
<div class="col-md-3">
|
|
<div class="panel panel-default collapsible">
|
|
<div class="panel-heading"><h2 class="panel-title">SMS Check:</a></h2></div>
|
|
<div class="panel-body">
|
|
<div id="smslog" style="text-align:center;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
<div class="panel panel-default collapsible">
|
|
<div class="panel-heading"><h2 class="panel-title">Fehler Türsystem</h2></div>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$estatus item=estatus}
|
|
<tr></strong>
|
|
<td nowrap style="width:160px;font-size:11pt">{$estatus.karte}</td>
|
|
<td nowrap style="width:170px;font-size:11pt" align="right">{$estatus.zeit|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
|
<!-- <td> <span style='color:#FF0000'>{$status.zeit2}</td> -->
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- -------------------------------- Status gesperrte Login -->
|
|
|
|
<div class="col-md-12">
|
|
<div class="panel panel-default collapsible">
|
|
<div class="panel-heading"><h2 class="panel-title">Sperre Türsystem</h2></div>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$ustatus item=ustatus}
|
|
<tr></strong>
|
|
<td nowrap style="width:220px;font-size:11pt">{$ustatus.user}</td>
|
|
<td nowrap style="width:290px;font-size:11pt">{$ustatus.grund}</td>
|
|
<td nowrap style="width:180px;font-size:11pt" align="right">{$ustatus.zeit|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
<!-- Main Section End -->
|
|
<!-- Sidebar ----------------------------------------------------------------------------------------------------------------->
|
|
<aside class="col-md-4">
|
|
<!-- -------------------------------- Time -->
|
|
<div id="time" style="text-align:center;"></div>
|
|
<!-- -------------------------------- Status Zutritt Tür -->
|
|
<div id="tlog" style="text-align:center;"></div>
|
|
<!-- -------------------------------- Status Login -->
|
|
<div id="maonline" style="text-align:center;"></div>
|
|
<!-- -------------------------------- HU / AU -->
|
|
<div id="huau" style="text-align:center;"></div>
|
|
<!-- -------------------------------- Sanikasten -->
|
|
<div id="sani" style="text-align:center;"></div>
|
|
<!-- -------------------------------- carloadtest -->
|
|
<div id="kal_nw" style="text-align:center;"></div>
|
|
<!--
|
|
<div class="panel panel-warning">
|
|
<div class="panel-heading">TEST !!!! noch Fehler !!!!)</div>
|
|
<div class="panel-body">
|
|
<table class="table-condensed">
|
|
<div id="carload" style="text-align:center;"></div>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
-->
|
|
<!-- -------------------------------- xxxxxxxxxxxxxx
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">laufende Touren</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
<div id="atour" style="text-align:center;"></div>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Touren nicht losgefahren.</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
<div id="xtour" style="text-align:center;"></div>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Touren demnächst</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
<div id="ntour" style="text-align:center;"></div>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
-->
|
|
</section>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- Sidebar End -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|