Added "Top" button 👀

This commit is contained in:
Michał Gdula 2022-07-26 13:34:48 +01:00
parent d6c9951233
commit 4ab1b39650
12 changed files with 78 additions and 13 deletions

View file

@ -16,7 +16,7 @@
<h2>Account settings</h2>
<?php
if (isset($_SESSION["loggedin"]) && $_SESSION["loggedin"] === true) {
echo "<p>O hi ".$_SESSION["username"].".</p>";
echo "<p>O hi ".$_SESSION["username"].". This is pretty empty right now. But it wont be soon!</p>";
echo "<a class='btn alert-default space-top' href='https://superdupersecteteuploadtest.fluffybean.gay/logout.php'><img class='svg' src='assets/icons/sign-out.svg'>Logout</a>";
} else {
echo "<p class='space-bottom-large'>You must be logged in to change your account settings!</p>";
@ -25,6 +25,9 @@
?>
</div>
<?php include("ui/footer.php"); ?>
<?php
include("ui/top.html");
include("ui/footer.html");
?>
</body>
</html>