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

369 lines
No EOL
22 KiB
Smarty

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
asdadsdfasdfdsasfadsfdsafasedfs
<b><i><span style='font-size:16pt;line-height:115%; color:#4F81BD'>Rundschau f&uuml;r die {$kw_aktuell}.KW</span></i></b>
<section id="content">
<div class="container">
<section class="row">
<div class="col-md-12">
<h2>Anzeige hauptfenster</h2>
<form action="" method="post">
<header class="panel-heading">
<h2 class="panel-title">Rundschau Stadt-Nord &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{$datumstadt}&#160; {$rsnorm1}er Norm</h2>
</header>
<!-- --------------------------- Rundschau Land
<div class="column grid_5 first">
{if ($atyp1)>0}
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Rundschau Land &#160; {$rsnorm1}er Norm</h2></header>
<section class="panel-body">
<p>This is a normal panel</p>
</section>
<footer class="panel-footer">
<a class="btn btn-primary">OK</a>
</footer>
</div>
<header class="current"><h2>Rundschau Land &#160; {$rsnorm1}er Norm</h2></header>
<section>
<table class="no-style full">
<thead>
<tr>
<th style="width:40px" align="left">Tour</th>
<th style="width:36px" align="left">Zeit</th>
<th style="width:50px" >Gewicht</th>
<th style="width:150px" >Fahrer</th>
<th style="width:100px" >Fahrzeug</th>
<th style="width:5px" align="left">SMSID</th>
<th style="width:5px">SMS</th>
</tr>
</thead>
<tbody> {foreach from=$rs_tour1 item=rs_tour1}
<td nowrap> <b>{$rs_tour1.tour}</td>
<td nowrap> <b>{$rs_tour1.zeit} Uhr</td>
<td nowrap align="right"> <b>{$rs_tour1.gewicht} kg</td> </right>
<td nowrap><center>
<select name="list[{$rs_tour1.tid}][Fahrer]" style="width:150px;" >
{foreach from=$fahrer_array1 item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$rs_tour1.fahrer_id}
{/foreach}
</select>
</td>
<td nowrap><center>
<select name="list[{$rs_tour1.tid}][Fahrzeug]" style="width:100px;" >
{foreach from=$rs_tour1.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$rs_tour1.auto_id}
{/foreach}
</select>
</td>
<td> <b>{$rs_tour1.smsid}</td>
<td> <center>
{if $rs_tour1.smsid==0 && $rs_tour1.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
{if $rs_tour1.smsid>0 && $rs_tour1.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
{if $rs_tour1.fahrer_id==0 || $rs_tour1.fahrer_id==1009}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
<input type="hidden" name="list[{$rs_tour1.tid}][tid]" value="{$rs_tour1.tid}"/>
</tbody> {/foreach}
</table>
</section>
</div>
{/if}
-->
<!-- --------------------------- Rundschau Land -->
form
<div class="row">
<div class="col-md-2">
<h4>col-md-2</h4>
<p class="box">&nbsp;</p>
</div>
<div class="col-md-2">
<h4>col-md-2</h4>
<p class="box">&nbsp;</p>
</div>
<div class="col-md-2">
<h4>col-md-2</h4>
<p class="box">&nbsp;</p>
</div>
<div class="col-md-2">
<h4>col-md-2</h4>
<p class="box">&nbsp;</p>
</div>
<div class="col-md-2">
<h4>col-md-2</h4>
<p class="box">&nbsp;</p>
</div>
<div class="col-md-2">
<h4>col-md-2</h4>
<p class="box">&nbsp;</p>
</div>
</div>
<!--
</div>
{if ($atyp2)>0} -->
<section class="panel-body">
<p>This is a normal panel</p>
</section>
<footer class="panel-footer">
<a class="btn btn-primary">OK</a>
</footer>
</div>
<!--
<table class="no-style full">
<thead>
<tr>
<th style="width:40px" align="left">Tour</th>
<th style="width:20px" align="left">Zeit</th>
<th style="width:50px" >Gewicht</th>
<th style="width:150px" >Fahrer</th>
<th style="width:100px" >Fahrzeug</th>
<th style="width:5px" align="left">SMSID</th>
<th style="width:5px">SMS</th>
</tr>
</thead>
<tbody> {foreach from=$rs_tour2 item=rs_tour2}
<td nowrap> <b>{$rs_tour2.tour}</td>
<td nowrap> <b>{$rs_tour2.zeit} Uhr</td>
<td nowrap align="right"> <b>{$rs_tour2.gewicht} kg</td> </right>
<!-- --------------------------- fahrer -->
<!-- <td nowrap><center>
<select name="list[{$rs_tour2.tid}][Fahrer]" style="width:150px;" >
{foreach from=$fahrer_array2 item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$rs_tour2.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<!-- <td nowrap><center>
<select name="list[{$rs_tour2.tid}][Fahrzeug]" style="width:100px;" >
{foreach from=$rs_tour2.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$rs_tour2.auto_id}
{/foreach}
</select>
</td>
<td> <b>{$rs_tour2.smsid}</td>
<input type="hidden" name="list[{$rs_tour2.tid}][tid]" value="{$rs_tour2.id}"/>
<td> <center>
{if $rs_tour2.smsid==0 && $rs_tour2.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
{if $rs_tour2.smsid>0 && $rs_tour2.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
{if $rs_tour2.fahrer_id==0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
</tbody> {/foreach}
</table>
</section>
</div>
-->
{/if}
{if ($atyp3)>0}
<div class="widget collapsible">
<header class="current"><h2>Rundschau Stadt-West &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{$datumstadt} &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {$rsnorm3}er Norm</h2></header>
<section>
<table class="no-style full">
<thead>
<tr>
<th style="width:40px" align="left">Tour</th>
<th style="width:20px" align="left">Zeit</th>
<th style="width:20px" >Gewicht</th>
<th style="width:150px" >Fahrer</th>
<th style="width:100px" >Fahrzeug</th>
<th style="width:5px" align="left">SMSID</th>
<th style="width:5px">SMS</th>
</tr>
</thead>
<tbody> {foreach from=$rs_tour3 item=rs_tour3}
<td> <b>{$rs_tour3.tour}</td>
<td nowrap> <b>{$rs_tour3.zeit} Uhr</td>
<td nowrap style="width:5px" align="right"> <b>{$rs_tour3.gewicht} kg</td> </right>
<!-- --------------------------- fahrer -->
<td nowrap><center>
<select name="list[{$rs_tour3.tid}][Fahrer]" style="width:150px;" >
{foreach from=$fahrer_array2 item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$rs_tour3.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap><center>
<select name="list[{$rs_tour3.tid}][Fahrzeug]" style="width:100px;" >
{foreach from=$rs_tour3.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$rs_tour3.auto_id}
{/foreach}
</select>
</td>
<td> <b>{$rs_tour3.smsid}</td>
<input type="hidden" name="list[{$rs_tour3.tid}][tid]" value="{$rs_tour3.id}"/>
<td> <center>
{if $rs_tour3.smsid==0 && $rs_tour3.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
{if $rs_tour3.smsid>0 && $rs_tour3.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
{if $rs_tour3.fahrer_id==0 || $rs_tour3.fahrer_id==1009}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
</tbody> {/foreach}
</table>
</section>
</div>
{/if}
{if ($atyp4)>0}
<div class="widget collapsible">
<header class="current"><h2>Rundschau Stadt-S&uuml;d &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{$datumstadt} &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {$rsnorm4}er Norm</h2></header>
<section>
<table class="no-style full">
<thead>
<tr>
<th style="width:40px" align="left">Tour</th>
<th style="width:36px" align="left">Zeit</th>
<th style="width:50px" >Gewicht</th>
<th style="width:150px" >Fahrer</th>
<th style="width:100px" >Fahrzeug</th>
<th style="width:5px" align="left">SMSID</th>
<th style="width:5px">SMS</th>
</tr>
</thead>
<tbody> {foreach from=$rs_tour4 item=rs_tour4}
<td nowrap> <b>{$rs_tour4.tour}</td>
<td nowrap> <b>{$rs_tour4.zeit} Uhr</td>
<td nowrap align="right"> <b>{$rs_tour3.gewicht} kg</td> </right>
<!-- --------------------------- fahrer -->
<td nowrap><center>
<select name="list[{$rs_tour4.tid}][Fahrer]" style="width:150px;" >
{foreach from=$fahrer_array2 item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$rs_tour4.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap><center>
<select name="list[{$rs_tour4.tid}][Fahrzeug]" style="width:100px;" >
{foreach from=$rs_tour4.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$rs_tour4.auto_id}
{/foreach}
</select>
</td>
<td> <b>{$rs_tour1.smsid}</td>
<td> <center>
{if $rs_tour4.smsid==0 && $rs_tour4.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
{if $rs_tour4.smsid>0 && $rs_tour4.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
{if $rs_tour4.fahrer_id==0 || $rs_tour4.fahrer_id==1009}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
<input type="hidden" name="list[{$rs_tour4.tid}][tid]" value="{$rs_tour4.id}"/>
</tbody> {/foreach}
</table>
</section>
</div>
{/if}
<input type="submit" name="testsave" value="kompl. Liste Speichern" >
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
<input type="submit" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')" />
</form>
</div>
<!-- /////////////////Sidebar -->
<div class="column grid_3 last">
{if ($atyp1)>0}
<div class="widget collapsible">
<header class="current"><h2>Kalender f&uuml;r {$datumland}</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$maf1 item=maf1 }
<td> {$maf1.fahrer}</td>
<td> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
<td> {$maf1.bez}</td>
</tbody> {/foreach}
</table>
</section>
</div>
{/if}
<div class="widget collapsible">
<header class="current"><h2>Kalender f&uuml;r {$datumstadt}</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$maf2 item=maf2 }
<td> {$maf2.fahrer}</td>
<td> <img src="/template/images/icon/{$maf2.icon}" width="16" height="16"/></td>
<td> {$maf2.bez}</td>
</tbody> {/foreach}
</table>
</section>
</div>
<div class="widget collapsible">
<header class="current"><h2>letzte Woche {$kw_alt}.KW/{$jahr_alt}</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$last item=last }
<td nowrap> {$last.tour}</td>
<td> {$last.fahrer}</td>
<td> {$last.kennz}</td>
</tbody> {/foreach}
</table>
</section>
</div>
<!-- Sidebar End -->
</div>
<!--</div>-->
</section>
</div>
</section>