From 472092fe43ad7da9feb4a8c0b4bf216b20c063b9 Mon Sep 17 00:00:00 2001 From: Squibid Date: Fri, 22 Sep 2023 18:08:37 -0400 Subject: inital commit --- view.php | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 view.php (limited to 'view.php') diff --git a/view.php b/view.php new file mode 100644 index 0000000..bbc707b --- /dev/null +++ b/view.php @@ -0,0 +1,55 @@ + + WallHeaven + + + +
+
+
+\n
\n", $res["uploader"]["avatar"]["medium"]); + printf("%s\n
\n", $res["uploader"]["username"], $res["uploader"]["group"], $res["uploader"]["username"]); + printf("%s old\n", $res["created_at"], timesince(strtotime($res["created_at"]))); +?> +
+
TagsSimilar Wallpapers\n", $matches[0]); + foreach ($res["tags"] as $tags) + printf("%s\n", $tags["alias"], $tags["purity"], $tags["id"], $tags["name"]); +?> +
+
Properties +Category %s

\n", ucfirst($res["category"])); + printf("

Purity %s

\n", $res["purity"], toupperpurity($res["purity"])); + printf("

Resolution %s

\n", $res["resolution"]); + printf("

File Size %s

\n", humanfilesize($res["file_size"])); + printf("

Share %s

\n", $matches[0], $_POST['purity'], $matches[0]); +?> +
+
+
+
+\n", $_POST['wall']); +?> +
+
-- cgit v1.2.1