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

73 lines
No EOL
3.8 KiB
Smarty

{foreach from=$datum item=datum}
{/foreach}
<!-- --------------------------- MPV -->
<b><i><span style='font-size:16pt;line-height:115%; color:#4F81BD'>MPV-Werbung f&uuml;r {$datum}</span></i></b></p>
<table class="datatable full" width="100%" >
<thead>
<tr>
<th>Tour</th>
<th>Info</th>
<th>Zeit</th>
<th>Gewicht</th>
<th>Fahrer</th>
<th>Stammfahrer</th>
<th>Fahrzeug</th>
<th> </th>
<th>SMS</th>
<th>SMS-Nr.</th>
</tr>
</thead>
<tbody>
{foreach from=$werb_tour3 item=tour}
<tr>
<form action="" method="post">
<td><b>{$tour.tour}</td>
<td><b>{$tour.infotitel}</td>
<td><input type="text" value="{$tour.zeit}" style="width:36px;" name="list[{$tour.tid}][zeit]" placeholder="15:30"> Uhr</td>
<td><input type="int" value="{$tour.gewicht}" style="width:34px;" name="list[{$tour.tid}][gewicht]" placeholder="1500" > kg</td>
<!-- --------------------------- fahrer -->
<td ><center>
<select name="list[{$tour.tid}][Fahrer]" {if $tour.da>0} style="background-color:#FFB2B2;"{/if}>
{foreach from=$tour.fahrer_array item=allfahrer}
<option value="{$allfahrer.id}" style=" background-color:#AAA"{if $tour.fahrer_id==$allfahrer.id} selected="selected"{/if} ><strong>{$allfahrer.name}</strong></option>
{/foreach}
</select>
</td>
<!-- --------------------------- Stamm fahrer -->
<td>
{if $tour.nd_stamm>0} <span style='color:#FF0000'> {/if}
{if $tour.s_fahrer==0} <span style='color:#FF0000'> {/if}
</b>{$tour.stammf}<b>
</td>
<!-- --------------------------- Fahrzeug -->
<td><center>
<select name="list[{$tour.tid}][Fahrzeug]">
{foreach from=$tour.auto_array item=allauto}
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
{/foreach}
</select>
</td>
<td><span style='color:#000000'><center> <input type="image" name="savetour" value="{$tour.id}" src="template/images/icon/l.png" /> </center></td>
<td><center> <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png" /> </center></td>
<td><b>{$tour.smsid}</td>
</tr>
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
{/foreach}
<input type="submit" name="testsave" value="kompl. Liste Speichern" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="smspower" value="kompl. Liste per SMS senden" >
</form>
</tbody>
</table>