2021-04-20 09:41:25 +02:00
|
|
|
<?php
|
|
|
|
require_once 'general.php';
|
|
|
|
|
|
|
|
returnHeader();
|
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
$config = getConfig();
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
$minDate = date("m-d-Y", strtotime("-120 years"));
|
|
|
|
$maxDate = date("m-d-Y", strtotime("-10 years"));
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
?>
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
<div class="container">
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column col-2"></div>
|
|
|
|
<div class="column col-8">
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column col-2"></div>
|
|
|
|
<div class="column col-8">
|
2021-04-23 09:17:58 +02:00
|
|
|
<img class="img-responsive" src="<?php echo $config['logo_url'] ?>" alt="Logo der Schule"/>
|
2021-04-21 10:17:02 +02:00
|
|
|
</div>
|
|
|
|
<div class="column col-2"></div>
|
2021-04-20 09:41:25 +02:00
|
|
|
</div>
|
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
<p class="text-center"><?php echo $config['description'] ?></p>
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
<form action="submit.php" method="post">
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label" for="name">Name</label>
|
2021-05-05 12:40:57 +02:00
|
|
|
<input type="text" name="name" id="name" required="required" class="form-input" placeholder="Erforderlich">
|
2021-04-21 10:17:02 +02:00
|
|
|
</div>
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label" for="email">E-Mail Adresse</label>
|
2021-05-05 12:40:57 +02:00
|
|
|
<input type="email" name="email" id="email" required="required" class="form-input" placeholder="Erforderlich">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label" for="phone">Telefonnummer</label>
|
|
|
|
<input type="tel" name="phone" id="phone" class="form-input" placeholder="Optional">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label" for="location">Wohnort</label>
|
|
|
|
<input type="text" name="location" id="location" class="form-input" placeholder="Optional">
|
2021-04-21 10:17:02 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label" for="year">Abschlussjahrgang</label>
|
|
|
|
<select name="year" id="year" required="required" class="form-select">
|
|
|
|
<option disabled="disabled" selected="selected" hidden="hidden">---</option>
|
|
|
|
<?php
|
2021-05-05 12:48:15 +02:00
|
|
|
for ($i = date("Y") - 80; $i <= date("Y"); $i++) {
|
2021-04-21 10:17:02 +02:00
|
|
|
?>
|
|
|
|
<option><?php echo $i ?></option>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label" for="birthday">Geburtstag</label>
|
2021-05-05 12:40:57 +02:00
|
|
|
<input type="date" name="birthday" id="birthday" required="required" pattern="\d{2}-\d{2}-\d{4}" min="<?php echo $minDate ?>" max="<?php echo $maxDate ?>" class="form-input">
|
2021-04-21 10:17:02 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label" for="vocation">Tätigkeit</label>
|
2021-05-05 12:40:57 +02:00
|
|
|
<textarea name="vocation" id="vocation" required="required" class="form-input" placeholder="Erforderlich"></textarea>
|
2021-04-21 10:17:02 +02:00
|
|
|
</div>
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-checkbox">
|
2021-04-23 09:17:58 +02:00
|
|
|
<input type="checkbox" id="privacy" name="privacy" required="required">
|
2021-04-21 10:17:02 +02:00
|
|
|
<i class="form-icon"></i>Ich akzeptiere hiermit<a
|
|
|
|
href="<?php echo $config['privacy_url'] ?>" target="_blank"
|
|
|
|
class="font-semibold text-black border-b-2 border-gray-200 hover:border-gray-500">
|
|
|
|
die Datenschutzerklärung.</a>
|
|
|
|
</label>
|
|
|
|
</div>
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
<button type="submit" class="btn">Eintragen</button>
|
2021-04-20 09:41:25 +02:00
|
|
|
|
2021-04-21 10:17:02 +02:00
|
|
|
</form>
|
2021-04-20 09:41:25 +02:00
|
|
|
</div>
|
2021-04-21 10:17:02 +02:00
|
|
|
<div class="column col-2"></div>
|
|
|
|
</div>
|
2021-04-20 09:41:25 +02:00
|
|
|
</div>
|
2021-04-21 10:17:02 +02:00
|
|
|
|
|
|
|
<br>
|
2021-04-20 09:41:25 +02:00
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
returnFooter();
|