59 lines
2.5 KiB
PHP
59 lines
2.5 KiB
PHP
|
<div style="display: inline-block; vertical-align: top; width: 40%;">
|
||
|
<table style="width: 100%;">
|
||
|
<tr style="vertical-align: top;">
|
||
|
<td>
|
||
|
Anreise:
|
||
|
</td>
|
||
|
<td>
|
||
|
<input type="date" name="anreise" value="<?= $participant->anreise; ?>" required>
|
||
|
<select name="anreise_essen" style="width: 50%;">
|
||
|
<option <?= $participant->anreise_essen == 1 ? 'selected' : '' ?> value="1">Vor dem Abendessen</option>
|
||
|
<option <?= $participant->anreise_essen == 2 ? 'selected' : '' ?> value="2">Vor dem Mittagessen</option>
|
||
|
<option <?= $participant->anreise_essen == 3 ? 'selected' : '' ?> value="3">Vor dem Frühstück</option>
|
||
|
<option <?= $participant->anreise_essen == 4 ? 'selected' : '' ?> value="4">Zur Abendrunde / Kein Essen am Anreisetag</option>
|
||
|
|
||
|
</select>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr style="vertical-align: top;">
|
||
|
<td>
|
||
|
Abreise:
|
||
|
</td>
|
||
|
<td>
|
||
|
<input type="date" name="abreise" value="<?= $participant->abreise; ?>" required>
|
||
|
<select name="abreise_essen" style="width:50%;">
|
||
|
<option <?= $participant->abreise_essen == 1 ? 'selected' : '' ?> value="1">Nach dem Frühstück</option>
|
||
|
<option <?= $participant->abreise_essen == 2 ? 'selected' : '' ?> value="2">Nach dem Mittagessen</option>
|
||
|
<option <?= $participant->abreise_essen == 3 ? 'selected' : '' ?> value="3">Nach dem Abendessen</option>
|
||
|
<option <?= $participant->abreise_essen == 4 ? 'selected' : '' ?> value="4">ganz am Morgen / Kein Essen am Abreisetag</option>
|
||
|
|
||
|
</select>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr style="vertical-align: top;">
|
||
|
<td>
|
||
|
Teiligruppe:
|
||
|
</td>
|
||
|
<td>
|
||
|
<select name="teilnahme" style="width:100%;">
|
||
|
<?php
|
||
|
foreach (['participant' => 'Teili', 'volunteer' => 'Teami', 'other' => 'Sontige'] as $group_name => $possible_group) {
|
||
|
echo '<option value="' . $group_name . '"' . ($participant->teilnahme == $group_name ? 'selected' : '') . '>' . $possible_group .'</option>';
|
||
|
}
|
||
|
?>
|
||
|
</select>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr style="vertical-align: top;">
|
||
|
<td>
|
||
|
Beitrag:
|
||
|
</td>
|
||
|
<td>
|
||
|
<input type="text" name="beitrag_bezahlt" value="<?= $participant->beitrag_bezahlt; ?>" style="width:75px;"> Euro /
|
||
|
<input type="text" name="beitrag" value="<?= $participant->beitrag; ?>" style="width:75px;"> Euro
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|