mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 15:15:15 +01:00
Initiale Version
This commit is contained in:
21
Kapitel_5/Lektion_3/login/privat.php
Executable file
21
Kapitel_5/Lektion_3/login/privat.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Geschützter Bereich</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Geschützter Bereich</h1>
|
||||
|
||||
<?php if (false): ?>
|
||||
<p>angemeldet als (Hier soll der Benutzername erscheinen)</p>
|
||||
<p>Weitere vertrauliche Inhalte ...</p>
|
||||
<p><a href="logout.php">Abmelden</a></p>
|
||||
<?php else: ?>
|
||||
<p>Zugriff nur für angemeldete Benutzer</p>
|
||||
<p><a href="login.php">Zur Anmeldung</a></p>
|
||||
<?php endif; ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user