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

223 lines
12 KiB
Smarty

{literal}
<script>
$(function() {
$( "#pp_tag" ).datepicker({ autoOpen: false });
});
</script>
{/literal}
<form action="" method="post">
</select>
<input type="text" name="dasdatum" id="pp_tag" value="{$smarty.now|date_format:"%d.%m.%Y"}" style="width:90px"/>
<input type="submit" name="datesubmit" value="Datum wechseln" >
<b><i><span style='font-size:16pt;line-height:115%; color:#4F81BD'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sondertouren f&uuml;r: {$datum}</span></i></b></p>
</form>
<td><hr style="color:#4F81BD'; height: 10px;" /></td>
<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">
<form action="" method="post">
<div class="widget collapsible">
<header class="current"><h2><span style='font-size:10pt;line-height:115%; color:#4F81BD'>Sondertouren</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:150px" >Fahrer</th>
<th style="width:100px" >Fahrzeug</th>
<th style="width:100px" >Bezeichnung</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>
<!-- --------------------------- fahrer -->
<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>
<!-- --------------------------- Fahrzeug -->
<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.id}"/>
</tbody> {/foreach}
</table>
</section>
</div>
</div>
<!-- /////////////////Sidebar -->
<div class="column grid_3 last">
<div class="widget collapsible">
<header class="current"><h2>Kalender f&uuml;r {$datum}</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>
<!-- Sidebar End -->
</div>
<!--</div>-->
</section>
</div>
</section>
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<section id="content1">
<div class="wrapper"> <!-- Main Section -- linke Spalte -->
<section class="grid_8 first top">
<div class="column grid_2 first">
<div class="widget collapsible">
<header class="current"><h2><span style='font-size:10pt;line-height:115%; color:#4F81BD'>PIN-Sondertouren</h2></header>
<section>
<table class="no-style full">
<form action="" method="post">
</br><b>Abnahme hinzu:</b>
<select name="plus1" style="width:120px;" >
{foreach from=$tourplus1 item=tourplus}
{html_options values=$tourplus.id output=$tourplus.tour}
{/foreach}
<input type="hidden" name="dazu1" value="{$tourplus.id}"/>
<input type="submit" name="dazuplus" value="hinzuf&uuml;gen" >
</select>
</form>
</table>
</section>
</div>
</div>
<!-- ///////////////// mitte links -->
<div class="column grid_2 mid1">
<div class="widget collapsible">
<header class="current"><h2><span style='font-size:10pt;line-height:115%; color:#4F81BD'>PIN-Paletten</h2></header>
<section>
<table class="no-style full">
<form action="" method="post">
</br><b>Abnahme hinzu:</b>
<select name="plus2" style="width:120px;" >
{foreach from=$tourplus2 item=tourplus}
{html_options values=$tourplus.id output=$tourplus.tour}
{/foreach}
<input type="hidden" name="dazu2" value="{$tourplus.id}"/>
<input type="submit" name="dazuplus" value="hinzuf&uuml;gen" >
</select>
</form>
</table>
</section>
</div>
</div>
<!-- ///////////////// mitte rechts -->
<div class="column grid_2 mid2">
<div class="widget collapsible">
<header class="current"><h2><span style='font-size:10pt;line-height:115%; color:#4F81BD'>Ersatzfahrzeug</h2></header>
<section>
<table class="no-style full">
<form action="" method="post">
</br><b>Abnahmetour hinzu:</b>
<select name="plus3" style="width:120px;" >
{foreach from=$tourplus3 item=tourplus}
{html_options values=$tourplus.id output=$tourplus.tour}
{/foreach}
<input type="hidden" name="dazu3" value="{$tourplus.id}"/>
<input type="submit" name="dazuplus" value="hinzuf&uuml;gen" >
</select>
</form>
</table>
</section>
</div>
</div>
<!-- ///////////////// mitte rechts -->
<div class="column grid_2 rechts">
<div class="widget collapsible">
<header class="current"><h2><span style='font-size:10pt;line-height:115%; color:#4F81BD'>Tour lernen / 2.Person</h2></header>
<section>
<table class="no-style full">
<form action="" method="post">
</br><b>Tour lernen hinzu: (int. Kosten)</b>
<select name="plus4" style="width:120px;" >
{foreach from=$tourplus4 item=tourplus}
{html_options values=$tourplus.id output=$tourplus.tour}
{/foreach}
<input type="hidden" name="dazu4" value="{$tourplus.id}"/>
<input type="submit" name="dazuplus" value="hinzuf&uuml;gen" >
</select>
</form>
</table>
</section>
</div>
</div>
<!--</div>-->
</section>
</div>
</section>
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<!-----------------------------------------------------------------------------------------------------> ^
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------------------------------------------------->