827 lines
No EOL
32 KiB
Smarty
827 lines
No EOL
32 KiB
Smarty
{literal}
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
|
|
load_data();
|
|
|
|
function load_data(query)
|
|
{
|
|
$.ajax({
|
|
url:"ajax.php?s=fetch",
|
|
method:"POST",
|
|
data:{query:query},
|
|
success:function(data)
|
|
{
|
|
$('#result').html(data);
|
|
}
|
|
});
|
|
}
|
|
$('#search_text').keyup(function(){
|
|
var search = $(this).val();
|
|
if(search != '')
|
|
{
|
|
load_data(search);
|
|
}
|
|
else
|
|
{
|
|
load_data();
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<script>
|
|
function rekla_save(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=rekla_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID,
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
});
|
|
}
|
|
function nl_save(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=nl_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID,
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
});
|
|
}
|
|
function ubk_save(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=ubk_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID,
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
});
|
|
}
|
|
function abk_save(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=abk_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID,
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
});
|
|
}
|
|
function ibk_save(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=ibk_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID,
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
});
|
|
}
|
|
function bk_save(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=bk_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID,
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
});
|
|
}
|
|
function tuer_save(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=tuer_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID,
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
});
|
|
}
|
|
function save_info(fazID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=faz_save&a=info_save",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'fazID=' + fazID + "&texti=" + $("#info_"+fazID).val(),
|
|
success: function (data) {
|
|
$("#meldung"+data.zeile).html(data.htmlresult);
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
{/literal}
|
|
|
|
<!-- Main Section -- mittlere Spalte -->
|
|
<!-- ******************FAZs Menue West -->
|
|
<div class="col-md-3">
|
|
<div class="panel">
|
|
<div class="panel-heading" style="background-color:orange;">Westtour ({$mengeW} Exemplare)</div>
|
|
<div class="panel-body">
|
|
<table class="table-hover" style="font-size:11pt">
|
|
<tbody>
|
|
{foreach from=$menue1 item=menue}
|
|
<tr>
|
|
<td nowrap style="width:50px;line-height:120%;font-size:12pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.tour3}
|
|
</td>
|
|
<td nowrap style="width:160px;line-height:120%;font-size:8pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.infotitel}
|
|
</td>
|
|
<td nowrap style="width:15px;line-height:120%;font-size:10pt"
|
|
<i class="fa fa-pencil" onclick="window.location='?s=ifazs&edit=1&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}';"></i>
|
|
</td>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_e&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i style="color: darkred" class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!-- ******************FAZs Menue Nord -->
|
|
<div class="panel">
|
|
<div class="panel-heading" style="background-color:orange;">Nordtour ({$mengeN} Exemplare)</div>
|
|
<div class="panel-body">
|
|
<table class="table-hover" style="font-size:11pt">
|
|
<tbody>
|
|
{foreach from=$menue2 item=menue}
|
|
<tr>
|
|
<td nowrap style="width:50px;line-height:120%;font-size:12pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.tour3}
|
|
</td>
|
|
<td nowrap style="width:155px;line-height:120%;font-size:8pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.infotitel}
|
|
</td>
|
|
<td nowrap style="width:15px;line-height:120%;font-size:10pt"
|
|
<a
|
|
<i class="fa fa-pencil" onclick="window.location='?s=ifazs&edit=1&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'"></i>
|
|
|
|
|
|
</td>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_e&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i style="color: darkred" class="fal fa-file-pdf-o"></i>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!-- ******************FAZs Menue sued -->
|
|
<div class="panel">
|
|
<div class="panel-heading" style="background-color:orange;">Südtour ({$mengeS} Exemplare)</div>
|
|
<div class="panel-body">
|
|
<table class="table-hover" style="font-size:11pt">
|
|
<tbody>
|
|
{foreach from=$menue3 item=menue}
|
|
<tr>
|
|
<td nowrap style="width:50px;line-height:120%;font-size:12pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.tour3}
|
|
</td>
|
|
<td nowrap style="width:155px;line-height:120%;font-size:8pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.infotitel}
|
|
</td>
|
|
<td nowrap style="width:15px;line-height:120%;font-size:10pt"
|
|
<i class="fa fa-pencil" onclick="window.location='?s=ifazs&edit=1&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}';"></i>
|
|
</td>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_e&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i style="color: darkred" class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!-- ******************FAZs Menue Ost -->
|
|
<div class="panel">
|
|
<div class="panel-heading" style="background-color:orange;">Osttour ({$mengeO} Exemplare)</div>
|
|
<div class="panel-body">
|
|
<table class="table-hover" style="font-size:11pt">
|
|
<tbody>
|
|
{foreach from=$menue4 item=menue}
|
|
<tr>
|
|
<td nowrap style="width:50px;line-height:120%;font-size:12pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.tour3}
|
|
</td>
|
|
<td nowrap style="width:155px;line-height:120%;font-size:8pt"
|
|
onclick="window.location='?s=ifazs&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}'">{$menue.infotitel}
|
|
</td>
|
|
<td nowrap style="width:15px;line-height:120%;font-size:10pt"
|
|
<i class="fa fa-pencil" onclick="window.location='?s=ifazs&edit=1&jahr={$jahr}&kw={$kw}&anz={$menue.tour3}';"></i>
|
|
</td>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_e&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i style="color: darkred" class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!-- ****************** -->
|
|
</div>
|
|
<!-- ****************** Mittelteil -->
|
|
<div class="col-md-6">
|
|
<div class="panel">
|
|
<div class="panel-heading" style="background-color:orange;">Aboliste {$anz}</div>
|
|
<div class="panel-body">
|
|
{if $edit==1}
|
|
<table class="table-hover" style="font-size:10pt">
|
|
<tbody>
|
|
{foreach from=$haupt item=haupt}
|
|
<tr>
|
|
<td nowrap style="background-color:gray;color:white;width:200px;"> {$haupt.titel} {$haupt.name2} {$haupt.name}</td>
|
|
<td nowrap style="background-color:gray;color:yellow;width:330px;font-size:10pt" align="right">{$haupt.bemerkung} </td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td nowrap style="color:black;width:200px;"> {$haupt.strasse} {$haupt.hnr} {$haupt.hnrz}</td>
|
|
|
|
|
|
|
|
<td nowrap style="color:black;width:330px;font-size:7pt" align="left">
|
|
<mark>ABK</mark>
|
|
<mark>IBK</mark>
|
|
<mark> BK</mark>
|
|
<mark> Tür</mark>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td nowrap style="color:black;width:200px;font-size:10pt" align="left"> {$haupt.plz} {$haupt.ort}</td>
|
|
|
|
<td nowrap style="color:black;width:330px;font-size:10pt" align="left" id="meldung{$haupt.id}">
|
|
|
|
<input type="checkbox" value="{$haupt.id}" onChange="abk_save({$haupt.id})" data-toggle="tooltip" title="ABK"
|
|
{if $haupt.meldung=="ABK"}checked="checked" {/if}>
|
|
|
|
<input type="checkbox" value="{$haupt.id}" onChange="ibk_save({$haupt.id})" data-toggle="tooltip" title="IBK"
|
|
{if $haupt.meldung=="IBK"}checked="checked" {/if}>
|
|
|
|
<input type="checkbox" value="{$haupt.id}" onChange="bk_save({$haupt.id})" data-toggle="tooltip" title="BK"
|
|
{if $haupt.meldung=="BK"}checked="checked" {/if}>
|
|
|
|
<input type="checkbox" value="{$haupt.id}" onChange="tuer_save({$haupt.id})" data-toggle="tooltip" title="tuer"
|
|
{if $haupt.meldung=="TÜR"}checked="checked" {/if}>
|
|
|
|
<!-- --------------------------- Zusatzinfo -->
|
|
<input type="text" value="{$haupt.meldung}" id="info_{$haupt.id}"
|
|
style="width:210px;border-color:#dcdcdc;border:none;border-bottom: 1px solid #dcdcdc;" name="infotext[{$haupt.id}]"
|
|
onChange="save_info({$haupt.id})">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
</tr>
|
|
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
{elseif $edit==3}
|
|
<a href="index.php?s=ifazs"><i class="fa fa-home fa-fw" aria-hidden="true"></i> zurück</a>
|
|
<h4 nowrap style="color:black"> {$infoanz.titel} {$infoanz.name2} {$infoanz.name} {$infoanz.name3}</h4>
|
|
<h5 nowrap style="color:black"> {$infoanz.strasse} {$infoanz.hnr} {$infoanz.hnrz}</h5>
|
|
<h5 nowrap style="color:black"> {$infoanz.plz} {$infoanz.ort} ({$infoanz.stadtteil})</h5>
|
|
<h5 nowrap style="color:black"><mark> {$infoanz.bemerkung}</mark> </h5>
|
|
<h5 nowrap style="color:black"><mark> {$kdnrinfo}</mark> </h5>
|
|
<h5 nowrap style="color:black"> KundenNr.: {$infoanz.kdnr} </h5>
|
|
<h5 nowrap style="color:black"> Abo.Nr.: {$infoanz.auftragnr} </h5>
|
|
|
|
<input type="checkbox" value="{$infoanz.auftragnr}" onChange="ubk_save({$infoanz.id})" data-toggle="tooltip" title="ubk"
|
|
{if $ubk==1}checked="checked" {/if}> unbekant
|
|
|
|
<form action="" method="post">
|
|
<div class="input-group">
|
|
<span class="input-group-addon">Kd.Info</span>
|
|
<input type="hidden" name="abonr" value="{$infoanz.auftragnr}"/>
|
|
<input id="msg" type="text" class="form-control" name="msg" placeholder="Zustellinfo" value='{$kdnrinfo}'>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="panel">
|
|
<div class="panel-heading" style="background-color:orange;">Zustellnachweis {$infoanz.num_rows} x zugestellt.</div>
|
|
<div class="panel-body" style="min-height: 490px; max-height: 490px;overflow-y: scroll;">
|
|
<table class="table-hover" style="font-size:11pt">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 90px;font-size:8pt" align="left">Datum</th>
|
|
<th style="width: 80px;font-size:8pt" align="left">Exemplare</th>
|
|
<th style="width:160px;font-size:8pt" align="left">Fahrer/Zusteller</th>
|
|
<th style="width: 90px;font-size:8pt" align="right">Zustellort</th>
|
|
<th style="width: 50px;font-size:8pt" align="right">Rekla</th>
|
|
<th style="width: 50px;font-size:8pt" align="right">NL</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$aboinfo item=haupt}
|
|
{if $haupt.abo==0}
|
|
<tr>
|
|
<td nowrap style="color:black;width: 90px;font-size:11pt">{$haupt.datum} </td>
|
|
<td nowrap style="color:black;width: 80px;font-size:11pt"> </td>
|
|
<td nowrap style="color:red;width:160px;font-size:11pt">Unterbrechung</td>
|
|
<td nowrap style="color:black;width: 90px;font-size:11pt"> </td>
|
|
<td nowrap style="color:black;width: 50px;font-size:10pt"> </td>
|
|
<td nowrap style="color:black;width: 50px;font-size:10pt"> </td>
|
|
</tr>
|
|
{else}
|
|
<tr>
|
|
<td nowrap style="color:black;width: 90px;font-size:11pt">{$haupt.datum} </td>
|
|
<td nowrap style="color:black;width: 80px;font-size:11pt">{$haupt.abo} Stück</td>
|
|
<td nowrap style="color:black;width:160px;font-size:11pt">{$haupt.fahrer} </td>
|
|
<td nowrap style="color:black;width: 90px;font-size:11pt">{$haupt.meldung} </td>
|
|
<div id="reklaload">
|
|
<td nowrap style="color:black;width: 50px;font-size:11pt">
|
|
<input type="checkbox" value="{$haupt.id}" onChange="rekla_save({$haupt.id})" data-toggle="tooltip" title="Reklamation"
|
|
{if $haupt.rekla==1}checked="checked" {/if}>
|
|
</td>
|
|
<td nowrap style="color:black;width: 50px;font-size:11pt">
|
|
<input type="checkbox" value="{$haupt.id}" onChange="nl_save({$haupt.id})" data-toggle="tooltip" title="Nachlieferung"
|
|
{if $haupt.nl==1}checked="checked" {/if}>
|
|
</td>
|
|
</div>
|
|
</tr>
|
|
{/if}
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
|
|
{elseif $anz!=0 }
|
|
<table class="table-hover" style="font-size:11pt">
|
|
<tbody>
|
|
{foreach from=$haupt item=haupt}
|
|
{if $haupt.abo==0}
|
|
<tr>
|
|
<td nowrap style="color:orange;width:200px;font-size:10pt">{$haupt.titel} {$haupt.name2} {$haupt.name}</td>
|
|
<td nowrap style="color:orange;width:180px;font-size:10pt">{$haupt.strasse} {$haupt.hnr} {$haupt.hnrz}</td>
|
|
<td nowrap style="color:orange;width:20px;font-size:10pt">xxx</td>
|
|
</tr>
|
|
{else}
|
|
<tr>
|
|
<td nowrap style="color:black;width:200px;font-size:10pt">{$haupt.titel} {$haupt.name2} {$haupt.name}</td>
|
|
<td nowrap style="color:black;width:180px;font-size:10pt">{$haupt.strasse} {$haupt.hnr} {$haupt.hnrz}</td>
|
|
<td nowrap style="color:black;width:20px;font-size:10pt">{$haupt.abo}x</td>
|
|
</tr>
|
|
{/if}
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
|
|
{elseif $anz==0 }
|
|
<h3 nowrap style="color:black;font-size:18pt">Bitte Auswahl treffen oder Suche benutzen</h3>
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<span class="input-group-addon">Suche</span>
|
|
<input type="text" name="search_text" id="search_text" placeholder="Suche nach Nr., Name, PLZ, strasse" class="form-control" />
|
|
</div>
|
|
</div>
|
|
<div id="result"></div>
|
|
<!--
|
|
<input type="text" id="search" autocomplete="off" placeholder="abo suchen" />
|
|
<div id="display"></div>
|
|
-->
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ****************** -->
|
|
|
|
|
|
<aside class="col-md-3">
|
|
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Datum wechseln</h2></div>
|
|
<section class="panel-body">
|
|
<b><span style='font-size:12pt;line-height:115%;
|
|
color:#4F81BD'>FAZ. für </span></b>   
|
|
<b><span style='font-size:12pt;line-height:115%;
|
|
color:#4F81BD'><a class="button-blue" href="?s=ifazs&wahl=1&jahr={$jahr}&kw={$kw}">«</a>
|
|
  {$kw}.KW / {$jahr}  
|
|
<a class="button-blue" href="?s=ifazs&wahl=2&jahr={$jahr}&kw={$kw}">»</a></span></b>
|
|
</section>
|
|
</div>
|
|
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Upload CSV Data</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
<form action="up_faz.php" method="post" enctype="multipart/form-data">
|
|
<tr><td nowrap="nowrap"><input type="file" name="datei"></td></tr>
|
|
<tr><td nowrap="nowrap" align="left"><input type="submit" value="Hochladen"> <br></td> </tr>
|
|
</form>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
|
|
{if $dataanz==1} <div id="rightmenu" class="panel panel-warning">
|
|
{elseif $dataanz==2} <div id="rightmenu" class="panel panel-success">
|
|
{else} <div id="rightmenu" class="panel panel-danger"> {/if}
|
|
<div class="panel-heading"><h2 class="panel-title">Upload Data-Status: {$kw}.KW</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
<tr>
|
|
<td nowrap="nowrap" style="width:100px">Komplett-Satz:</td>
|
|
{if $danz1==0}
|
|
<td nowrap="nowrap" style="width:30px"><i class="fa fa-window-close-o" aria-hidden="true"></i></td>
|
|
<td nowrap="nowrap" style="width:90px;text-align: right"> </i></td>
|
|
{else}
|
|
<td nowrap="nowrap" style="width:30px"><i class="fa fa-check-square-o" aria-hidden="true"></i></td>
|
|
<td nowrap="nowrap" style="width:90px;text-align: right">{$danz1} DS</i></td>
|
|
{/if}
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap" style="width:100px"><strong>Veränderungen:</strong></td>
|
|
{if $danz2==0}
|
|
<td nowrap="nowrap" style="width:30px"><i class="fa fa-window-close-o" aria-hidden="true"></i></td>
|
|
<td nowrap="nowrap" style="width:90px;text-align: right"> </i></td>
|
|
{else}
|
|
<td nowrap="nowrap" style="width:30px"><i class="fa fa-check-square-o" aria-hidden="true"></i></td>
|
|
<td nowrap="nowrap" style="width:90px;text-align: right">{$danz2} DS</i></td>
|
|
{/if}
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<!--
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Abo-Suche</h2></div>
|
|
<div class="panel-body">
|
|
|
|
<form action="" method="post">
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" name"iabo" placeholder="ABO-Nummer">
|
|
<div class="input-group-btn"><button class="btn btn-default" type="submit"><i class="fa fa-search fa-fw"></i></button></div>
|
|
</div>
|
|
<input type="hidden" name="jahr" value="{$jahr}">
|
|
<input type="hidden" name="kw" value="{$kw}">
|
|
</form>
|
|
|
|
</br>
|
|
|
|
<form action="" method="post">
|
|
<input type="hidden" name="jahr" value="{$jahr}">
|
|
<input type="hidden" name="kw" value="{$kw}">
|
|
<div class="input-group">
|
|
<input type="number" class="form-control" name"ikdnr" placeholder="Kd.-Nummer">
|
|
<div class="input-group-btn"><button class="btn btn-default" type="submit"><i class="fa fa-search fa-fw"></i></button></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
-->
|
|
<!-- ************************************************************* FAZ Stückzahlen -->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">FAZaS. Stückzahlen</h2></div>
|
|
<section class="panel-body">
|
|
<table class="no style">
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_w&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>West-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:100px;text-align: right"><strong>{$mengeW} Exemplare</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_n&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>Nord-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:100px;text-align: right"><strong>{$mengeN} Exemplare</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_s&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>Süd-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:100px;text-align: right"><strong>{$mengeS} Exemplare</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_o&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>Ost-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:100px;text-align: right"><strong>{$mengeO} Exemplare</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap" style="width:20px"><strong>----</strong></td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>------------------</strong></td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>----------------------</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_g&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>Gesamt:</strong></td>
|
|
<td nowrap="nowrap" style="width:100px;text-align: right"><strong>{$mengeG} Exemplare</strong></td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<!-- ************************************************************* FAZ Veränderungen -->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">FAZaS. Änderungen</h2></div>
|
|
<section class="panel-body">
|
|
<table class="no style">
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_w_v&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width: 90px"><strong>West-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:110px;text-align: right"><strong>{$mengeVW} Änderungen</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_n_v&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width: 90px"><strong>Nord-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:110px;text-align: right"><strong>{$mengeVN} Änderungen</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_s_v&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width: 90px"><strong>Süd-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:110px;text-align: right"><strong>{$mengeVS} Änderungen</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_o_v&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width: 90px"><strong>Ost-Tour:</strong></td>
|
|
<td nowrap="nowrap" style="width:110px;text-align: right"><strong>{$mengeVO} Änderungen</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap" style="width: 20px"><strong>----</strong></td>
|
|
<td nowrap="nowrap" style="width: 90px"><strong>------------------</strong></td>
|
|
<td nowrap="nowrap" style="width:110px"><strong>----------------------</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap align="center" style="width:20px">
|
|
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=list_faz_g_v&jahr={$jahr}&kw={$kw}&tour={$menue.tour3}" aria-label="Settings">
|
|
<i class="fa fa-file-pdf-o"></i>
|
|
</td>
|
|
<td nowrap="nowrap" style="width:100px"><strong>Gesamt:</strong></td>
|
|
<td nowrap="nowrap" style="width:100px;text-align: right"><strong>{$mengeVG} Änderungen</strong></td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
</aside>
|
|
<!-- Sidebar End -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{literal}
|
|
<script type="text/javascript">
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=ifaz&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#ifaz").html(data);
|
|
},
|
|
});
|
|
</script>
|
|
{/literal} |