M5 A1 bis auf 9)

This commit is contained in:
S170H
2023-12-18 18:59:00 +01:00
committed by Robert
parent 94f7100138
commit 5ee2f923fe
4 changed files with 35 additions and 1 deletions

View File

@@ -17,7 +17,18 @@
<a href="#wichtig">Wichtig für uns</a>
</div>
<div>
<?php if(($_SESSION['login'] ?? NULL) == 0): ?>
<a href="/anmeldung">Anmelden</a>
<?php else: ?>
Angemeldet als:<br>
<div><?php echo \htmlentities($_SESSION['name']??'', ENT_QUOTES, 'UTF-8', false); ?></div>
<a href="/abmeldung">Abmelden</a>
<?php endif; ?>
</div>
</div>
<?php $this->stopSection(); ?>
<?php $this->startSection("text"); ?>