From 472092fe43ad7da9feb4a8c0b4bf216b20c063b9 Mon Sep 17 00:00:00 2001 From: Squibid Date: Fri, 22 Sep 2023 18:08:37 -0400 Subject: inital commit --- query.php | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 query.php (limited to 'query.php') diff --git a/query.php b/query.php new file mode 100644 index 0000000..1b7b7c1 --- /dev/null +++ b/query.php @@ -0,0 +1,52 @@ +\n"); + 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"); + } + printf("\n"); + + /* page numbers */ + if (!$res || $res[1]["pages"] == 0 || !$res[0][0]) + return; + + printf("
\n\n

\n"); +?> -- cgit v1.2.1