summaryrefslogtreecommitdiff
path: root/public/users.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-29 02:06:11 +0500
committerilotterytea <iltsu@alright.party>2025-04-29 02:06:11 +0500
commit93c02436fb0b7afffb6c62547385757b1a1b57f8 (patch)
treeb60ccd0a1df6076f97c3898d952ec3262dff34d7 /public/users.php
parentc95dfa9e3dd18c0835626ec29b814cc2b11b7fae (diff)
feat: download user's profile banner
Diffstat (limited to 'public/users.php')
-rw-r--r--public/users.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/users.php b/public/users.php
index de9bfc8..123d37f 100644
--- a/public/users.php
+++ b/public/users.php
@@ -299,7 +299,8 @@ if ($is_json) {
<div class="box navtab">
<p>User #<?php echo $user->id() ?></p>
</div>
- <div class="box content">
+ <div class="box content background"
+ style="background-image: url('/static/userdata/banners/<?php echo $user->id() ?>');">
<img src="/static/userdata/avatars/<?php echo $user->id() ?>" width="96" height="96">
<h1><?php echo $user->username() ?></h1>
</div>