summaryrefslogtreecommitdiffstats
path: root/bot/index.php
blob: 005efb042e72dad5ce8cd5eaa48e4f22935dacd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>