now mobile friendly(ish)

This commit is contained in:
2023-10-30 18:39:32 -04:00
parent c75861db6a
commit ad842b7b2c
2 changed files with 96 additions and 102 deletions

View File

@ -25,6 +25,20 @@
$res = getwallpaper("https://wallhaven.cc/api/v1/w/$matches[0]?apikey=$apikey");
?>
<div id='wallmaster'>
<div id='bwallpaperview'>
<?php
if ($_GET['p'] == "nsfw" && !$apikey)
printf("<p id='error'>Server doesn't have an apikey, cannot view image.</p>");
?>
<div>
<label>
<input type="checkbox">
<?php
printf("<img src='/proxy.php?i=%s'>\n", $_POST['wall']);
?>
</label>
</div>
</div>
<div id='wallpaperinfo'>
<div id='uploader'>
<?php
@ -50,18 +64,4 @@
</details>
<hr>
</div>
<div id='bwallpaperview'>
<?php
if ($_GET['p'] == "nsfw" && !$apikey)
printf("<p id='error'>Server doesn't have an apikey, cannot view image.</p>");
?>
<div>
<label>
<input type="checkbox">
<?php
printf("<img src='/proxy.php?i=%s'>\n", $_POST['wall']);
?>
</label>
</div>
</div>
</div>