<?php $_shouldextend[1]=1; ?>

<?php $this->startSection("main"); ?>

 <?php if($anmeldung == 1): ?>
 <meta http-equiv="refresh" content="/"/>
 <form id="form_ok" action="/"></form>

 <script type="text/javascript">

 function formAutoSubmit() {

 var frm = document.getElementById("form_ok");

 frm.submit();

 }


 window.onload = formAutoSubmit;

 </script>
 <?php else: ?>

 <form method="post" id="auto_form" action="/anmeldung_fehler">
 <input type="hidden" name="email" value=<?php echo \htmlentities($email??'', ENT_QUOTES, 'UTF-8', false); ?>>
 <input type="hidden" name="passwort" value=<?php echo \htmlentities($passwort??'', ENT_QUOTES, 'UTF-8', false); ?>>
 <input type="hidden" name="anmeldung" value=<?php echo \htmlentities($anmeldung??'', ENT_QUOTES, 'UTF-8', false); ?>>
 </form>

 <script type="text/javascript">

 function formAutoSubmit() {

 var frm = document.getElementById("auto_form");

 frm.submit();

 }

 window.onload = formAutoSubmit;

 </script>
 <?php endif; ?>

 <img src="https://upload.wikimedia.org/wikipedia/commons/b/b1/Loading_icon.gif?20151024034921" alt="loading">
 <br>
 Bitte warten!

<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild("m5_a1.layout_anmeldung"); } ?>