mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-01-15 11:05:14 +00:00
21 lines
978 B
PHP
21 lines
978 B
PHP
<?php session_start(); ?>
|
|
|
|
<nav class="nav-root flex-left between">
|
|
<div class="nav-name flex-left">
|
|
<h3>Fluffys Amazing Gallery!</h3>
|
|
</div>
|
|
<div class="nav-links flex-left">
|
|
<a class="btn alert-default" href="https://superdupersecteteuploadtest.fluffybean.gay"><img class="svg" src="assets/icons/house.svg">Home</a>
|
|
<hr>
|
|
<a class="btn alert-default" href="https://superdupersecteteuploadtest.fluffybean.gay/upload.php"><img class="svg" src="assets/icons/upload.svg">Upload</a>
|
|
<hr>
|
|
<?php
|
|
if (isset($_SESSION["username"])) {
|
|
echo "<a class='btn alert-default' href='https://superdupersecteteuploadtest.fluffybean.gay/account.php'><img class='svg' src='assets/icons/user-circle.svg'>".$_SESSION["username"]."</a>";
|
|
} else {
|
|
echo "<a class='btn alert-default' href='https://superdupersecteteuploadtest.fluffybean.gay/signup.php'><img class='svg' src='assets/icons/user-circle-plus.svg'>Sign Up</a>";
|
|
}
|
|
?>
|
|
</div>
|
|
</nav>
|