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

217 lines
No EOL
13 KiB
Smarty

{literal}
<script>
$(function() {
$( "#p_tag" ).datepicker({ autoOpen: false });
});
</script>
{/literal}
<form action="" method="post">
</select>
<input type="text" name="dasdatum" id="p_tag" value="{$smarty.now|date_format:"%d.%m.%Y"}" style="width:90px"/>
<input type="submit" name="datesubmit" value="Datum wechseln" >
<section id="content0">
<div class="wrapper"> <!-- Main Section -- linke Spalte -->
<section class="grid_8 first top">
<!-- <div class="columns">-->
<div class="column grid_4 first">
<div class="widget">
<header class="current"><h2>PVL Gerichshain f&uuml;r: {$datum}</h2></header>
<section>
<!-- Gerichshain -->
</form>
<table class="no-style full">
<thead>
<tr>
<th style="width:50px">Tour</th>
<th style="width:140px">Fahrer</th>
<th style="width:100px">Fahrzeug</th>
<th style="width:100px">Bemerkung</th>
<th style="width:5px">Save</th>
<th style="width:5px">SMS</th>
</tr>
</thead>
<tbody>
{foreach from=$tag_tour2 item=tour}
<tr>
<form action="" method="post">
<td nowrap><b> {$tour.tour}</td>
<!-- --------------------------- fahrer -->
<td><center>
<select name="Fahrer[{$tour.id}]" 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>
<!-- --------------------------- Fahrzeug -->
<td><center>
<select name="Fahrzeug[{$tour.id}]" 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><input type="text" value="{$tour.infotext}" style="width:100px;" name="infotext[{$tour.id}]"></center></td>
<td><center>
<input type="hidden" name="savetour" value="{$tour.id}"/>
<input type="image" name="savetoursubmit" value="{$tour.id}" src="template/images/icon/save.png"/>
</center></td>
<td> <center>
<input type="hidden" name="sendtour" value="{$tour.id}"/>
{if $tour.smsid==0 && $tour.fahrer_id>0 && $tour.fahrer_id!=1009}<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 || $tour.fahrer_id==1009} <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
</form>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
<!-- LVZ -->
<div class="widget">
<header class="current"><h2>LVZ Stahmeln f&uuml;r: {$datum}</h2></header>
<section>
<table class="no-style full">
<thead>
<tr>
<th nowrap style="width:50px">Tour</th>
<th style="width:140px">Fahrer</th>
<th style="width:100px">Fahrzeug</th>
<th style="width:100px">Bemerkung</th>
<th style="width:5px">Save</th>
<th style="width:5px">SMS</th>
</tr>
</tr>
</thead>
<tbody>
{foreach from=$lvz_tour2 item=ltour}
<tr>
<form action="" method="post">
<td nowrap><b> {$ltour.tour}</td>
<!-- --------------------------- fahrer -->
<td><center>
<select name="Fahrer[{$ltour.id}]" style="width:140px;" >
{foreach from=$ltour.fahrer_array item=allfahrer2}
{html_options values=$allfahrer2.id output=$allfahrer2.name selected=$ltour.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td><center>
<select name="Fahrzeug[{$ltour.id}]" style="width:100px;" >
{foreach from=$ltour.auto_array item=allauto2}
{html_options values=$allauto2.id output=$allauto2.kz selected=$ltour.auto_id}
{/foreach}
</select>
</td>
<td><input type="text" value="{$ltour.infotext}" style="width:100px;" name="infotext[{$ltour.id}]"></center></td>
<td><center>
<input type="hidden" name="savetour" value="{$tour.id}"/>
<input type="image" name="savetoursubmit" value="{$tour.id}" src="template/images/icon/save.png"/>
</center></td>
<td> <center>
<input type="hidden" name="sendtour" value="{$tour.id}"/>
{if $tour.smsid==0 && $tour.fahrer_id>0 && $tour.fahrer_id!=1009}<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 || $tour.fahrer_id==1009} <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
</center>
</td>
</form>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
</div>
<!-- 2. spalte -->
<!-- 2. spalte -->
<!-- 2. spalte -->
<!-- 2. spalte -->
<!-- 2. spalte -->
<!-- 2. spalte -->
<!-- 2. spalte -->
<!-- 2. spalte -->
<div class="column grid_4 last">
<div class="widget collapsible">
<header class="current"><h2>LVZ Stahmeln f&uuml;r: {$datum}</h2></header>
<section>
<!-- LVZ -->
<table class="no-style full">
<thead>
<tr>
<th style="width:100px">LVZ-Tour</th>
<th style="width:140px">Fahrer</th>
<th style="width:100px">Fahrzeug</th>
<th style="width:100px">Bemerkung</th>
<th style="width:5px">Save</th>
<th style="width:5px">SMS</th>
</tr>
</tr>
</thead>
<tbody>
{foreach from=$lvz_tour2 item=ltour}
<tr>
<form action="" method="post">
<td><b> {$ltour.tour}</td>
<!-- --------------------------- fahrer -->
<td><center>
<select name="Fahrer[{$ltour.id}]" style="width:140px;" >
{foreach from=$ltour.fahrer_array item=allfahrer2}
{html_options values=$allfahrer2.id output=$allfahrer2.name selected=$ltour.fahrer_id}
{/foreach}
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td><center>
<select name="Fahrzeug[{$ltour.id}]" style="width:100px;" >
{foreach from=$ltour.auto_array item=allauto2}
{html_options values=$allauto2.id output=$allauto2.kz selected=$ltour.auto_id}
{/foreach}
</select>
</td>
<td><input type="text" value="{$ltour.infotext}" style="width:100px;" name="infotext[{$ltour.id}]"></center></td>
<td><center>
<input type="hidden" name="savetour" value="{$ltour.id}"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
<td><center>
<input type="hidden" name="sendtour" value="{$ltour.id}"/>
<input type="submit" name="smssenden" value="SMS" >
</center></td>
</form>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
<!-- rechte seite -->
</div>
<!--</div>-->
</section>
</div>
</section>