profile pictures implemented & poc for active user feautre

This commit is contained in:
thies
2021-01-10 20:51:45 +01:00
parent 13ceba1e23
commit 5d2dd2a6d5
3 changed files with 87 additions and 2 deletions

View File

@@ -12,4 +12,21 @@ if($_SESSION['activated'] == 0) {
die ("Not activated yet");
}
echo "heres the fun world";
?>
?>
<br /> <br />
<div class="jumbotron jumbotron-fluid">
<div class="container">
<?php
echo "Hi ".$_SESSION['username']."!";
if(isset($_GET['notimplemented'])) {
echo '<div class="alert alert-danger" role="alert">Feature not yet implemented!</div>';
}
?>
<br /><br />
<a href="changeprofilepicture.php"><button class="btn btn-primary">Change Profile Picture</button>
<br /><br />
<a href="?notimplemented=1"><button class="btn btn-primary disabled">Change Description</button></a>
<br /> <br /><br />
<a href="start.php"><button class="btn btn-info">Back</button></a>
</div>
</div>