diff --git a/404.jpg b/404.jpg new file mode 100644 index 0000000..55f2904 Binary files /dev/null and b/404.jpg differ diff --git a/image_board.php b/image_board.php new file mode 100644 index 0000000..a242741 --- /dev/null +++ b/image_board.php @@ -0,0 +1,75 @@ + + + +<?php + $query = htmlspecialchars(trim($_REQUEST["q"])); + echo $query; +?> - Binternet + + +
+

Binternet

+ strlen($query) || strlen($query) > 64) + { + // header("Location: ./"); + // die(); + } + + echo "value=\"$query\""; + ?> +
+
+
+
+"; + } +} + +echo "
"; +echo "



"; + +include "misc/footer.php"; + +?> + + diff --git a/search/pins/index.php b/search/pins/index.php new file mode 100644 index 0000000..37c463c --- /dev/null +++ b/search/pins/index.php @@ -0,0 +1,55 @@ + + +<?php + $query = htmlspecialchars(trim($_REQUEST["q"])); + echo $query; +?> - Binternet + + +
+

Binternet

+ strlen($query) || strlen($query) > 64) + { + header("Location: ./"); + die(); + } + + echo "value=\"$query\""; + ?> +
+
+
+ +{"resource_response"}->{"data"}->{"results"} as $result) + { + $image = $result->{"images"}->{"orig"}; + $url = $image->{"url"}; + array_push($images, $url); + echo ""; + echo ""; + } + return $images; +}; + +$images = $search("$query"); +echo "



"; + +include "misc/footer.php"; + +?>