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

169 lines
9.7 KiB
Smarty

<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'>MPV-Werbung f&uuml;r </span></i></b>&#160;&#160;&#160;
<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'><a class="button-blue" href="?s=rpin2&wahl=1&jahr={$jahr}&monat={$monat}">&laquo;</a>
&#160;&#160;{$kw}.KW / {$jahr}&#160;&#160;
<a class="button-blue" href="?s=rpin2&wahl=2&jahr={$jahr}&monat={$monat}">&raquo;</a></span></i></b>
</p>
<section id="content0">
<div class="wrapper"> <!-- Main Section -- linke Spalte -->
<section class="grid_8 first top">
<!-- <div class="columns">-->
<div class="column grid_5 first">
<div class="widget">
<section>
<table class="no-style full">
<header class="current">
<h2>letzte Woche {$kw_alt}.KW/{$jahr_alt}
<!-- <th style="width:80px" align="left">Datum</th> -->
<th style="width:70px" align="left">Tour</th>
<th style="width:45px" align="left">Zeit</th>
<th style="width:50px" align="left">Gew. 1</th>
<th style="width:50px" align="left">Gew. 2</th>
<th style="width:140px" align="left">Fahrer</th>
<th style="width:100px" align="left">Auto</th>
<th style="width:130px" align="left">z.Info</th>
</h2></header>
<form action="" method="post">
{foreach from=$werb_tour3 item=tour}
<!-- <td style="width:80px">{$tour.datum}</td> -->
<td style="width:70px">{$tour.tour}</td>
<td style="width:45px">{$tour.zeit}</td>
<td style="width:50px">{$tour.gewicht}</td>
<td style="width:50px">{$tour.gewicht4}</td>
<td><center>
<select name="list5[{$tour.tid}][Fahrer]" style="width:140px;"/>
{foreach from=$tour.fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
{/foreach}
</select>
</td>
<td></td>
<!-- --------------------------- Fahrzeug -->
<td><center>
<select name="list5[{$tour.tid}][Fahrzeug]" style="width:100px;"/>
{foreach from=$tour.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
{/foreach}
</select>
</td>
<td></td>
<td>
<input type="int" value="{$tour.infotext}" style="width:150px; " name="list5[{$tour.tid}][infotext]" placeholder="Info" >
<input type="hidden" name="list5[{$tour.tid}][tid]" value="{$tour.id}"/>
</td>
<input type="image" name="speichern" value="{$tour.id}" src="template/images/icon/l.png"/>
<td>
<center>
{if $tour.smsid==0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
{if $tour.smsid>0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
{if $tour.fahrer_id==0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
</tr> <!-- neue Zeile -->
<!-- ///////////////// Amtsblatt -->
{if $tour.datum2>0}
<td style="width:60px">{$tour.datum2}</td>
<td style="width:70px">{$tour.tour2}</td>
<td style="width:45px">{$tour.zeit2}</td>
<td style="width:50px">{$tour.gewicht8}</td>
<td style="width:50px">{$tour.gewicht6}</td>
<td>
<center>
<select name="list5[{$tour.tid}][Fahrer]" style="width:140px;"/>
{foreach from=$tour.fahrer_array item=allfahrer}
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id2}
{/foreach}
</select>
</center>
</td>
<td></td>
<!-- --------------------------- Fahrzeug -->
<td>
<center>
<select name="list5[{$tour.tid}][Fahrzeug]" style="width:100px;"/>
{foreach from=$tour.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id2}
{/foreach}
</select>
</center>
</td>
<td></td>
<td>
<input type="int" value="{$tour.infotext2}" style="width:130px; " name="list5[{$tour.tid}][infotext]" placeholder="Info" >
<input type="hidden" name="list5[{$tour.tid}][tid]" value="{$tour.id2}"/>
</td>
<input type="image" name="speichern" value="{$tour.id}" src="template/images/icon/l.png"/>
<td>
<center>
{if $tour.smsid==0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
{if $tour.smsid>0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
{if $tour.fahrer_id==0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
{/if}
{/foreach}
</table>
</section>
</div>
<input type="submit" name="testsave" value="Speichern" >
</form>
</div>
<!-- ///////////////// rechte seite -->
<div class="column grid_3 last">
<!-- ***** Auswahl ***** -->
<!-- Letze Woche -->
<div class="widget">
<header class="current"><h2><h2>Ausfuhr-Datum</h2></header>
<section>
<table class="no-style full">
<thead>
<tr><td>Werbung-Stadt</td><td>{$Datum_s}</td></tr>
<tr><td>Werbung- Land</td><td>{$Datum_l}</td></tr>
<tr>{if $amtsbl==1}<td>Amtsblatt-Stadt</td><td>{$Datum_as}</td></tr>{/if}
<tr>{if $amtsbl2==1}<td>Amtsblatt- Land</td><td>{$Datum_al}</td></tr>{/if}
<tr>{if $amtsbl==0}<td>Amtsblatt-Stadt</td><td>{$Datum_as}</td></tr>{/if}
<tr>{if $amtsbl2==0}<td>Amtsblatt- Land</td><td>{$Datum_al}</td></tr>{/if}
</thead>
</table>
</section>
</div>
<!-- Letze Woche -->
<div class="widget">
<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>
<!-- rechte seite -->
</div>
<!--</div>-->
</section>
</div>
</section>