diff options
Diffstat (limited to 'lib/emote.php')
| -rw-r--r-- | lib/emote.php | 10 |
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> |
