25 lines
815 B
Plaintext
25 lines
815 B
Plaintext
<?php $_shouldextend[1]=1; ?>
|
|
|
|
<?php $this->startSection("main"); ?>
|
|
|
|
<form action="/anmeldung_verifizieren" method="post">
|
|
|
|
<label for="email">E-Mail</label>
|
|
<input id="email" name="email" type="email" placeholder="email" required maxlength="100">
|
|
|
|
<label for="passwort">Passwort</label>
|
|
<input id="passwort" name="passwort" type="password" placeholder="passwort" required maxlength="200">
|
|
|
|
<button type="submit" >Anmelden</button>
|
|
</form>
|
|
|
|
<?php if(!isset($anmeldung)): ?> Bitte anmelden!
|
|
<?php elseif($anmeldung == 1): ?>
|
|
<?php echo \htmlentities(session_start()??'', ENT_QUOTES, 'UTF-8', false); ?>
|
|
|
|
Anmeldung erlaubt!
|
|
<?php else: ?> Anmeldung nicht erlaubt!
|
|
<?php endif; ?>
|
|
|
|
<?php $this->stopSection(); ?>
|
|
<?php if (isset($_shouldextend[1])) { echo $this->runChild("m5_a1.layout_anmeldung"); } ?> |