M5 A1 bis auf 9)

This commit is contained in:
S170H
2023-12-18 18:59:00 +01:00
parent 99d78584ec
commit 4ed0518f1b
4 changed files with 35 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
@if(!isset($_SESSION['name']))
<meta http-equiv="refresh" content="0;url=/werbeseite" />
<meta http-equiv="refresh" content="0;url=/" />
@endif

View File

@@ -17,7 +17,18 @@
<a href="#wichtig">Wichtig für uns</a>
</div>
<div>
@if(($_SESSION['login'] ?? NULL) == 0)
<a href="/anmeldung">Anmelden</a>
@else
Angemeldet als:<br>
<div>{{ $_SESSION['name'] }}</div>
<a href="/abmeldung">Abmelden</a>
@endif
</div>
</div>
@endsection
@section("text")