kompass/modules/event-participants/Templates/Partials/admin/kontaktdaten.php

118 lines
4.0 KiB
PHP
Raw Normal View History

2024-05-27 16:59:30 +02:00
<div>
<table style="width:100%;">
<tr style="vertical-align: top;">
<td style="width: 200px;">
Volljährig:
</td>
<td>
<?= $participant->is_fullaged() ? 'Ja' : 'Nein' ?><br />
<input type="date" name="geburtsdatum" value="<?= $participant->geburtsdatum; ?>" />
(<?= $participant->get_age() ?> Jahre)
</td>
</tr>
<?php if ( !kompass_is_fullaged($participant->geburtsdatum) ) {
?>
<tr>
<td>Name des Ansprechpartners:</td>
<td><input type="text" name="ansprechpartner" style="width: 255px;" value="<?= $participant->ansprechpartner; ?>"></td>
</tr>
<?php
}
?>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Anschrift:
</td>
<td>
<input type="text" name="strasse" style="width: 200px;" value="<?= $participant->strasse; ?>">
<input type="text" name="hausnummer" style="width: 50px;" value="<?= $participant->hausnummer; ?>"> <br />
<input type="text" name="plz" style="width: 50px;" value="<?= $participant->plz; ?>">
<input type="text" name="ort" style="width: 200px;" value="<?= $participant->ort; ?>">
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Stamm:
</td>
<td>
<input type="text" name="stamm" style="width: 100px;" value="<?= $participant->stamm; ?>">
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
E-Mail:
</td>
<td>
<input type="text" name="email_1" style="width: 255px;" value="<?= $participant->email_1; ?>">
<?= !kompass_is_fullaged($participant->geburtsdatum) ? '/ <input type="text" name="email_2" style="width: 255px;" value="' . $participant->email_2 .'">' : ''; ?>
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Telefon:
</td>
<td>
<input type="text" name="telefon_1" style="width: 255px;" value="<?= $participant->telefon_1; ?>">
<?= !kompass_is_fullaged($participant->geburtsdatum) ? '/ <input type="text" name="telefon_2" style="width: 255px;" value="' . $participant->telefon_2 .'">' : ''; ?>
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Foto-Erlaubnis Social Media:
</td>
<td>
<?= $participant->foto_socialmedia ? 'Ja' : 'Nein' ?>
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Foto-Erlaubnis Printartikel:
</td>
<td>
<?= $participant->foto_print ? 'Ja' : 'Nein' ?>
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Foto-Erlaubnis Webseiten:
</td>
<td>
<?= $participant->foto_webseite ? 'Ja' : 'Nein' ?>
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Foto-Erlaubnis Partnermailing:
</td>
<td>
<?= $participant->foto_partner ? 'Ja' : 'Nein' ?>
</td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 200px;">
Foto-Erlaubnis Intern / Archiv:
</td>
<td>
<?= $participant->foto_intern ? 'Ja' : 'Nein' ?>
</td>
</tr>
<tr>
<td><br />
<input class="button" type="submit" value="<?= __('Save', BDP_LV_PLUGIN_SLUG); ?>">
</td>
</tr>
</table>
</div>