now mobile friendly(ish)
This commit is contained in:
parent
c75861db6a
commit
ad842b7b2c
2 changed files with 96 additions and 102 deletions
28
view.php
28
view.php
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue