From 16cb41ee3920c12a27c3009543d1cc7a3573e9e7 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 9 Oct 2023 08:58:45 -0400 Subject: make wallpaper query work without forms --- query.php | 8 ++------ style/style.css | 8 +------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/query.php b/query.php index 1b7b7c1..9722bb6 100644 --- a/query.php +++ b/query.php @@ -26,12 +26,8 @@ if (!$res[0]) printf("No Results Found :("); else - foreach($res[0] as $walls) { - printf("
\n"); - printf("\n", $walls["purity"]); - printf("\n", $walls["path"], $walls["purity"], $walls["purity"], $walls["thumbs"]["small"]); - printf("
\n"); - } + foreach($res[0] as $walls) + printf("", $walls["id"], $walls["purity"], $walls["purity"], $walls["thumbs"]["small"]); printf("\n"); /* page numbers */ diff --git a/style/style.css b/style/style.css index 11f90fe..4ebfcc7 100644 --- a/style/style.css +++ b/style/style.css @@ -55,13 +55,7 @@ h1, #header { text-align: center; color: #fff; } -#wallpapers form { display: inline-block; } - -button[name=wall] { - all: unset; - margin: 3px; - cursor: pointer; -} +#wallpapers img { margin: 5px; } #wallmaster { width: 100%; -- cgit v1.2.1