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

54 lines
No EOL
2.4 KiB
Smarty

<form action="" method="post" >
<table class="datatable paginate sortable full">
<thead>
<tr>
<th></th>
<th>Tour</th>
<th>Pakete</th>
<th>Ladung</th>
<th>Paket</th>
<th>Stellzeit</th>
<th>Fahrer</th>
<th>Fahrzeug</th>
<th>SMS</th>
<th> </th>
</tr>
</thead>
<tbody>
{foreach from=$tour item=tour}
<tr>
<input type="hidden" name="time[{$tour.idx}]" value="{$tour.time}" />
<td><center><input type="text" value="{$tour.Short}" style="width:30px;" name="Short[{$tour.idx}]"></center></td>
<td><center><input type="text" value="{$tour.Tour}" style="width:80px;" name="Tour[{$tour.idx}]"></center></td>
<input type="hidden" value="{$tour.Auflage}" style="width:50px;" name="Auflage[{$tour.idx}]">
<td><center><input type="text" value="{$tour.Pakete}" style="width:50px;" name="Pakete[{$tour.idx}]"></center></td>
<td><center><input type="text" value="{$tour.Ladung}" style="width:50px;" name="Ladung[{$tour.idx}]"></center></td>
<td><center><input type="text" value="{$tour.Paket}" style="width:50px;" name="Paket[{$tour.idx}]"></center></td>
<td><center><input type="text" value="{$tour.Stellzeit}" style="width:50px;" name="Stellzeit[{$tour.idx}]"></center></td>
<input type="hidden" value="{$tour.StartRampe}" style="width:50px;" name="StartRampe[{$tour.idx}]">
<input type="hidden" value="{$tour.EndeRampe}" style="width:50px;" name="EndeRampe[{$tour.idx}]">
<td><center>
<select name="Fahrer[{$tour.idx}]" style="width:100px;" >
<option value="{$tour.Fahrer}" >{$tour.Fahrer}</option>
{$option1}
</select>
</center></td>
<td><center>
<select name="Fahrzeug[{$tour.idx}]" style="width:100px;" >
<option value="{$tour.Fahrzeug}" >{$tour.Fahrzeug}</option>
{$option2}
</select>
</center></td>
<td><center>
<a href="?s=sms&tour={$tour.id}" target="_blank" >Senden</a>
<td><center>
<input type="image" name="add" value="{$tour.idx}" src="template/images/icon/add.png" />
</center></td>
</tr>
{/foreach}
</tbody>
</table>
<input type="submit" value="Speichern" >
</form>