jb-data.de/template/tpl/pfaz.tpl
2025-08-11 22:23:30 +02:00

582 lines
34 KiB
Smarty

<section class="col-md-9">
<div class="row sortable">
<!-- fas 1 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, {$datum} - Tour 1 "WEST"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car1" >
{foreach from=$auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$s_auto}
{/foreach}
</select>
<select style="width:120px;font-size:8pt;float: right" name="user1" >
{foreach from=$fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$s_fahrer}
{/foreach}
</select>
<input style="float:right" type="image" name="tour1all" value="{$tourname}" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
{foreach from=$tour1 item=tour}
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b>{$tour.tour}</td>
{if $tour.utyp==1} <td style="width:60px;font-size:10pt" align="left"><b>West</td>{/if}
{if $tour.utyp==2} <td style="width:60px;font-size:10pt" align="left"><b>Nord</td>{/if}
{if $tour.utyp==3} <td style="width:60px;font-size:10pt" align="left"><b>Süd</td>{/if}
{if $tour.utyp==4} <td style="width:60px;font-size:10pt" align="left"><b>Ost</td>{/if}
<td style="width:260px;font-size:10pt" align="left">{$tour.infotitel}</td>
<td style="width:120px;font-size:12pt" align="right">{$tour.exemplare} Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrer]" id="user_{$tour.id}" style="width:160px;" onChange="save_user({$tour.id})">
{foreach from=$tour.fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrzeug]" id="car_{$tour.id}" style="width:100px;" onChange="save_car({$tour.id})">
{foreach from=$tour.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
{/foreach}
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
<input type="hidden" name="list[{$tour.tid}][tourid]" value="{$tour.tourid}"/>
<div id="smsstatus{$tour.id}" style="text-align:center;">
{if $tour.fahrer_id==0}
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==0 AND $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==1 AND $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==2 AND $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: {$tour.smsstatusdate|date_format:"%d.%m.%Y-%H:%M"} Uhr"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==5 AND $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==8 AND $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==20 AND $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
</div>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 2 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange; color: aliceblue">
FAZ am Sonntag, {$datum} - Tour 2 "Nord"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car2" >
{foreach from=$auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$s_auto}
{/foreach}
</select>
<select style="width:120px;font-size:8pt;float: right" name="user2" >
{foreach from=$fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$s_fahrer}
{/foreach}
</select>
<input style="float:right" type="image" name="tour2all" value="{$tourname}" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
{foreach from=$tour2 item=tour}
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b>{$tour.tour}</td>
{if $tour.utyp==1} <td style="width:60px;font-size:10pt" align="left"><b>West</td>{/if}
{if $tour.utyp==2} <td style="width:60px;font-size:10pt" align="left"><b>Nord</td>{/if}
{if $tour.utyp==3} <td style="width:60px;font-size:10pt" align="left"><b>Süd</td>{/if}
{if $tour.utyp==4} <td style="width:60px;font-size:10pt" align="left"><b>Ost</td>{/if}
<td style="width:260px;font-size:10pt" align="left">{$tour.infotitel}</td>
<td style="width:120px;font-size:12pt" align="right">{$tour.exemplare} Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrer]" id="user_{$tour.id}" style="width:160px;" onChange="save_user({$tour.id})">
{foreach from=$tour.fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrzeug]" id="car_{$tour.id}" style="width:100px;" onChange="save_car({$tour.id})">
{foreach from=$tour.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
{/foreach}
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
<input type="hidden" name="list[{$tour.tid}][tourid]" value="{$tour.tourid}"/>
<div id="smsstatus{$tour.id}" style="text-align:center;">
{if $tour.fahrer_id==0}
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==0 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==1 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==2 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: {$tour.smsstatusdate|date_format:"%d.%m.%Y-%H:%M"} Uhr"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==5 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==8 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==20 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
</div>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 3 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, {$datum} - Tour 3 "Süd"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car3" >
{foreach from=$auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$s_auto}
{/foreach}
</select>
<select style="width:120px;font-size:8pt;float: right" name="user3" >
{foreach from=$fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$s_fahrer}
{/foreach}
</select>
<input style="float:right" type="image" name="tour3all" value="{$tourname}" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
{foreach from=$tour3 item=tour}
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b>{$tour.tour}</td>
{if $tour.utyp==1} <td style="width:60px;font-size:10pt" align="left"><b>West</td>{/if}
{if $tour.utyp==2} <td style="width:60px;font-size:10pt" align="left"><b>Nord</td>{/if}
{if $tour.utyp==3} <td style="width:60px;font-size:10pt" align="left"><b>Süd</td>{/if}
{if $tour.utyp==4} <td style="width:60px;font-size:10pt" align="left"><b>Ost</td>{/if}
<td style="width:260px;font-size:10pt" align="left">{$tour.infotitel}</td>
<td style="width:120px;font-size:12pt" align="right">{$tour.exemplare} Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrer]" id="user_{$tour.id}" style="width:160px;" onChange="save_user({$tour.id})">
{foreach from=$tour.fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrzeug]" id="car_{$tour.id}" style="width:100px;" onChange="save_car({$tour.id})">
{foreach from=$tour.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
{/foreach}
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
<input type="hidden" name="list[{$tour.tid}][tourid]" value="{$tour.tourid}"/>
<div id="smsstatus{$tour.id}" style="text-align:center;">
{if $tour.fahrer_id==0}
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==0}
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==1}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==2}
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: {$tour.smsstatusdate|date_format:"%d.%m.%Y-%H:%M"} Uhr"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==3}
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==5}
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==8}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==20}
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
</div>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 4 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, {$datum} - Tour 4 "Ost"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car4" >
{foreach from=$auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$s_auto}
{/foreach}
</select>
<select style="width:120px;font-size:8pt;float: right" name="user4" >
{foreach from=$fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$s_fahrer}
{/foreach}
</select>
<input style="float:right" type="image" name="tour4all" value="{$tourname}" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
{foreach from=$tour4 item=tour}
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b>{$tour.tour}</td>
{if $tour.utyp==1} <td style="width:60px;font-size:10pt" align="left"><b>West</td>{/if}
{if $tour.utyp==2} <td style="width:60px;font-size:10pt" align="left"><b>Nord</td>{/if}
{if $tour.utyp==3} <td style="width:60px;font-size:10pt" align="left"><b>Süd</td>{/if}
{if $tour.utyp==4} <td style="width:60px;font-size:10pt" align="left"><b>Ost</td>{/if}
<td style="width:260px;font-size:10pt" align="left">{$tour.infotitel}</td>
<td style="width:120px;font-size:12pt" align="right">{$tour.exemplare} Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrer]" id="user_{$tour.id}" style="width:160px;" onChange="save_user({$tour.id})">
{foreach from=$tour.fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[{$tour.tid}][Fahrzeug]" id="car_{$tour.id}" style="width:100px;" onChange="save_car({$tour.id})">
{foreach from=$tour.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
{/foreach}
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
<input type="hidden" name="list[{$tour.tid}][tourid]" value="{$tour.tourid}"/>
<div id="smsstatus{$tour.id}" style="text-align:center;">
{if $tour.fahrer_id==0}
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==0 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==1 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==2 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: {$tour.smsstatusdate|date_format:"%d.%m.%Y-%H:%M"} Uhr"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==5 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==8 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
{if $tour.smsstatus==20 && $tour.fahrer_id>0}
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid={$tour.id}&kw={$kw}&jahr={$jahr}';"></i>
{/if}
</div>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------------->
</div>
</section>
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-3">
<div id="rightmenu" class="panel panel-default">
<div class="btn-group">
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=1&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm">{$kw}.KW</button>
</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=2&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
<a class="btn btn-default btn-sm href="#"">-</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=3&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm">{$jahr}</button>
</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=4&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
</div>
</div>
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Kalender f&uuml;r {$datumland}</h2></header>
<section class="panel-body">
<table class="no-style full">
<tbody> {foreach from=$mafx item=maf1 }
<td nowrap style="width:145px;height:10px;font-size:10pt"> {$maf1.fahrer}</td>
<td nowrap style= "width:20px;height:10px;font-size:10pt"> <img src="/template/images/icon/{$maf1.icon}" width="12" height="12"/></td>
<td nowrap style="width:150px;height:10px;font-size:10pt"> {$maf1.bez}</td>
</tbody> {/foreach}
</table>
</section>
</div>
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Summe FAZ {$datum}</h2></header>
<section class="panel-body">
<table class="no-style full" style="font-size:12pt">
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Gesamtabos</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right">{$summe1} &nbsp;&nbsp;&nbsp;Exemplare</td>
</tr>
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Gesamtkunden</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right">{$summe2} Abonnenten</td>
</tr>
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Unterbrechung:</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right">{$summe3} Abonnenten</td>
</tr>
</table>
</section>
</div>
<!-- --------------------------- Sms sendebutton -->
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Summe FAZ {$datum}</h2></header>
<section class="panel-body">
<form action="" method="post">
<input type="submit" class="btn btn-link" value="alle SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')">
</form>
</section>
</div>
<!-- --------------------------- Vorwoche anzeigen -->
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Einsatzplanung letzte Woche</h2></header>
<section class="panel-body">
<section>
<table class="no-style full">
<tbody> {foreach from=$lastx item=last }
<td nowrap style= "width:60px;height:10px;font-size:8pt"> {$last.tour}</td>
<td nowrap style="width:120px;height:10px;font-size:8pt"> {$last.fahrer}</td>
<td nowrap style="width:100px;height:10px;font-size:8pt"> {$last.kennz}</td>
</tbody> {/foreach}
</table>
</section>
</div>
</aside>
<!-- Sidebar End -->
<script> var tagheute = '{$datum_unix|date_format:"%Y-%m-%d"}';</script>
{literal}
<script>
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=prundschau&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
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'
}
});
}
console.log(data)
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=prundschau&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
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'
}
});
}
console.log(data)
}
});
}
</script>
{/literal}