Auth angepasst

This commit is contained in:
2025-06-27 10:24:21 +02:00
parent 5477e7fdd8
commit 36d6364cd0
4 changed files with 130 additions and 123 deletions

13
Views/Auth/login.phtml Normal file
View File

@@ -0,0 +1,13 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<?php if (isset($errors)) echo $errors["login"]?>
<div class="msg">
<p>Login für user <?php echo $_SESSION["user"] ?>erfolgreich</p>
<a href="?controller=Welcome&do=showWelcome">Weiter</a>
</div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

12
Views/Auth/register.phtml Normal file
View File

@@ -0,0 +1,12 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="msg">
<p>Erfolgreich registriert!</p>
<a href="?controller=Welcome&do=showWelcome">Weiter</a>
</div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>