cleanup some unneeded things
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
60 => 'minute',
|
||||
];
|
||||
|
||||
$numunits;
|
||||
foreach ($timeunits as $unit => $text) {
|
||||
if ($time < $unit)
|
||||
continue;
|
||||
|
@ -8,9 +8,8 @@
|
||||
die();
|
||||
}
|
||||
try {
|
||||
if (!isset($_GET["s"]) || $_GET["s"] == "original") {
|
||||
if (!isset($_GET["s"]) || $_GET["s"] == "original")
|
||||
$proxy->stream_linear_image($_GET["i"]);
|
||||
}
|
||||
} catch (Exception $error) {
|
||||
header("X-Error: " . $error->getMessage());
|
||||
$proxy->do404();
|
||||
|
@ -15,7 +15,6 @@
|
||||
printf("<head>\n<title>WallHeaven - Viewing A Wallpaper</title>\n", $_GET["w"]);
|
||||
printf("<meta name='description' content='Wallpaper id:%s'>\n", $_GET["w"]);
|
||||
}
|
||||
|
||||
?>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="stylesheet" href="/style/style.css">
|
||||
@ -24,7 +23,7 @@
|
||||
<a href="/" id="header"><h3>Wall<span id="heaven">Heaven</span></h3></a>
|
||||
<div id="searchbox">
|
||||
<form action="/query.php" method="GET">\n
|
||||
GFG;
|
||||
<?php
|
||||
printf("<input type='text' placeholder='Search...' name='q' value='%s'>\n", $_GET["q"]);
|
||||
printf("<div id='options'>\n");
|
||||
printf(" <input type='checkbox' name='SFW' id='SFW' %s>\n", $SFW);
|
||||
|
@ -68,7 +68,7 @@ h1, #header {
|
||||
margin-right: 10px;
|
||||
padding: 10px;
|
||||
float: left;
|
||||
overflow-y: auto;
|
||||
overflow: auto;
|
||||
background-color: #1a1a1a;
|
||||
color: #fff;
|
||||
}
|
||||
|
Reference in New Issue
Block a user