summaryrefslogtreecommitdiff
path: root/src/partials.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/partials.php')
-rw-r--r--src/partials.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/partials.php b/src/partials.php
index 8f2d2ab..0087df4 100644
--- a/src/partials.php
+++ b/src/partials.php
@@ -9,13 +9,14 @@ function html_navigation_bar()
</a>
<div class="links">
<a href="/emotes" class="button">Emotes</a>
+ <a href="/users.php" class="button">Users</a>
<a href="/emotes/upload.php" class="button">Upload</a>
<a href="/account" class="button">Account</a>
</div>
<?php
if (isset($_SESSION["user_id"])) {
echo '' ?>
- <a href="/users/<?php echo $_SESSION["user_id"] ?>" class="links" style="margin-left:auto;">
+ <a href="/users.php?id=<?php echo $_SESSION["user_id"] ?>" class="links" style="margin-left:auto;">
Signed in as <?php echo $_SESSION["user_name"] ?> <img
src="/static/userdata/avatars/<?php echo $_SESSION["user_id"] ?>" width="24" height="24" />
</a>