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

111 lines
4.1 KiB
Smarty

<form action="" method="post">
</select>
<input type="date" name="dasdatum" value="{$time|date_format:"%d.%m.%Y"}" />
<input type="submit" name="datesubmit" value="OK" >
{foreach from=$datum item=datum}
<b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>&nbsp;&nbsp;Tagestouren f&uuml;r: {$datum}</span></i></b></p>{/foreach}
</form>
<table class="datatable full" >
<thead>
<tr>
<th style="width:100px">GH-Tour</th>
<th style="width:180px">Fahrer</th>
<th style="width:100px">Fahrzeug</th>
<th style="width:380px">Bemerkung</th>
<th style="width:5px">Speichern</th>
<th style="width:5px">SMS</th>
</tr>
</thead>
<tbody>
{foreach from=$tag_tour2 item=tour}
<tr>
<form action="" method="post">
<td><b> {$tour.tour}</td>
<!-- --------------------------- fahrer -->
<td><center>
<select name="Fahrer[{$tour.id}]" style="width:180px;" >
{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:450px;" name="infotext[{$tour.id}]"></center></td>
<td><center>
<input type="hidden" name="savetour" value="{$tour.id}"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
<td><center>
<input type="hidden" name="sendtour" value="{$tour.id}"/>
<input type="submit" name="smssenden" value="SMS" >
</center></td>
</form>
</tr>
{/foreach}
</tbody>
</table>
<br>
<table class="datatable full" >
<thead>
<tr>
<th style="width:100px">LVZ-Tour</th>
<th style="width:180px">Fahrer</th>
<th style="width:100px">Fahrzeug</th>
<th style="width:380px">Bemerkung</th>
<th style="width:5px">Speichern</th>
<th style="width:5px">SMS</th>
</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:180px;" >
{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:450px;" 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>
<br>