summaryrefslogtreecommitdiff
path: root/lib/emote.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-12-09 01:51:38 +0500
committerilotterytea <iltsu@alright.party>2025-12-09 01:51:38 +0500
commit64a9bfae4a659f38f33320e59004a1d1dd259a40 (patch)
tree037ada7511f50fa78dff1c6645b984b327f77ce2 /lib/emote.php
parent29477e67ede12347b153e2255325327374e1b073 (diff)
upd: replaced <?php echo with <?=
Diffstat (limited to 'lib/emote.php')
-rw-r--r--lib/emote.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/emote.php b/lib/emote.php
index ce39c09..a724914 100644
--- a/lib/emote.php
+++ b/lib/emote.php
@@ -209,9 +209,8 @@ function html_random_emote(PDO &$db)
<p>Random emote</p>
</div>
<div class="box content center">
- <a href="/emotes?id=<?php echo $row["id"] ?>">
- <img src="/static/userdata/emotes/<?php echo $row["id"] ?>/3x.webp" alt="<?php echo $row["code"] ?>"
- width="192">
+ <a href="/emotes?id=<?= $row["id"] ?>">
+ <img src="/static/userdata/emotes/<?= $row["id"] ?>/3x.webp" alt="<?= $row["code"] ?>" width="192">
</a>
</div>
</section>
@@ -236,9 +235,8 @@ function html_featured_emote(PDO &$db)
<p>Featured emote</p>
</div>
<div class="box content center">
- <a href="/emotes?id=<?php echo $row["id"] ?>">
- <img src="/static/userdata/emotes/<?php echo $row["id"] ?>/3x.webp" alt="<?php echo $row["code"] ?>"
- width="192">
+ <a href="/emotes?id=<?= $row["id"] ?>">
+ <img src="/static/userdata/emotes/<?= $row["id"] ?>/3x.webp" alt="<?= $row["code"] ?>" width="192">
</a>
</div>
</section>