commented activatedarea.php
This commit is contained in:
parent
2b67675b51
commit
8d2ffcde8a
@ -7,20 +7,21 @@
|
||||
<body>
|
||||
<script src="ressources/js/bootstrap.min.js"></script>
|
||||
<?php
|
||||
session_start();
|
||||
if($_SESSION['activated'] == 0) {
|
||||
session_start(); //check for a session
|
||||
if($_SESSION['activated'] == 0) { //check if the account is activated, if not, die with an error
|
||||
die ("Not activated yet");
|
||||
}
|
||||
echo "heres the fun world";
|
||||
echo "heres the fun world"; //just a placeholder
|
||||
?>
|
||||
<br /> <br />
|
||||
<div class="jumbotron jumbotron-fluid">
|
||||
<div class="container">
|
||||
<?php
|
||||
echo "Hi ".$_SESSION['username']."!";
|
||||
if(isset($_GET['notimplemented'])) {
|
||||
if(isset($_GET['notimplemented'])) { //if "?notimplemented=1" is received, print the following error code:
|
||||
echo '<div class="alert alert-danger" role="alert">Feature not yet implemented!</div>';
|
||||
}
|
||||
//some html links to other pages
|
||||
?>
|
||||
<br /><br />
|
||||
<a href="changeprofilepicture.php"><button class="btn btn-primary">Change Profile Picture</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user