summaryrefslogtreecommitdiffstats
path: root/mentions/index.php
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-03 23:27:34 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-03 23:27:34 +0100
commit13b43f96111d4100ac0c21e81d91c2f0ad2a7577 (patch)
tree4b44896b63a9c09b4fcaa46c95a821da2910ed90 /mentions/index.php
parentcss (diff)
downloadoldredditclient-13b43f96111d4100ac0c21e81d91c2f0ad2a7577.tar
oldredditclient-13b43f96111d4100ac0c21e81d91c2f0ad2a7577.tar.gz
oldredditclient-13b43f96111d4100ac0c21e81d91c2f0ad2a7577.tar.bz2
oldredditclient-13b43f96111d4100ac0c21e81d91c2f0ad2a7577.tar.lz
oldredditclient-13b43f96111d4100ac0c21e81d91c2f0ad2a7577.tar.xz
oldredditclient-13b43f96111d4100ac0c21e81d91c2f0ad2a7577.tar.zst
oldredditclient-13b43f96111d4100ac0c21e81d91c2f0ad2a7577.zip
Diffstat (limited to 'mentions/index.php')
-rw-r--r--mentions/index.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/mentions/index.php b/mentions/index.php
new file mode 100644
index 0000000..005efb0
--- /dev/null
+++ b/mentions/index.php
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang=en>
+ <head>
+ <meta charset=UTF-8 />
+ <meta name=viewport content="width=device-width,initial-scale=1.0" />
+ <title>
+ ImgLinkBot
+ </title>
+ <style>
+ body {
+ background-color: black;
+ margin: 0;
+ padding: 0
+ }
+ img {
+ width: 100%
+ }
+ </style>
+ </head>
+ <body>
+ <?php
+ foreach(explode(",", $_REQUEST["i"]) as $a) {
+ echo '<img src="https://i.redd.it/'.htmlspecialchars($a).'" />';
+ }
+ ?>
+ </body>
+</html>