introduced activated only page

This commit is contained in:
Thies Mueller
2021-01-10 14:12:52 +01:00
parent a0f9dfe0ce
commit ae886df878
2 changed files with 29 additions and 1 deletions

15
activatedarea.php Normal file
View File

@@ -0,0 +1,15 @@
<html>
<head>
<title>Activated Area</title>
<link rel="stylesheet" href="ressources/css/bootstrap.min.css" crossorigin="anonymous">
</head>
<body>
<script src="ressources/js/bootstrap.min.js"></script>
<?php
session_start();
if($_SESSION['activated'] == 0) {
die ("Not activated yet")
}
echo "heres the fun world"
?>