diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-29 02:06:11 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-29 02:06:11 +0500 |
| commit | 93c02436fb0b7afffb6c62547385757b1a1b57f8 (patch) | |
| tree | b60ccd0a1df6076f97c3898d952ec3262dff34d7 /public/users.php | |
| parent | c95dfa9e3dd18c0835626ec29b814cc2b11b7fae (diff) | |
feat: download user's profile banner
Diffstat (limited to 'public/users.php')
| -rw-r--r-- | public/users.php | 3 |
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> |
