feedback notifications and fun search bar stuff

This commit is contained in:
ThaMunsta
2024-12-18 12:03:03 -05:00
parent 51897d0bf3
commit 2cbd3d1728
2 changed files with 40 additions and 3 deletions

View File

@@ -10,11 +10,46 @@
<!-- Center navbar links -->
<ul class="navbar-nav ml-auto">
<?php
$placeholder = array(
"Search",
"Find",
"Find something",
"Find anything",
"Find meaning",
"Search anywhere",
"Search somewhere",
"Search everywhere",
"Search nowhere",
"Search everything",
"Search nothing",
"Search life",
"NO IMAGINATION",
"OBEY",
"OBEY GOVERNMENT",
"STAY ASLEEP",
"WORK 8 HOURS",
"PLAY 8 HOURS",
"SLEEP 8 HOURS",
"SURRENDER",
"YOU LOVE THIS",
"YOU NEED THIS",
"BE NORMAL",
"SEARCH CORRUPT",
"NO THOUGHT",
"CONFORM",
"CONSUME",
"DO NOT QUESTION",
"FOLLOW ORDERS",
"HONOR APATHY",
"END"
);
shuffle($placeholder);
?>
<!-- SEARCH FORM -->
<form class="form-inline" action="global_search.php">
<div class="input-group input-group-sm">
<input class="form-control form-control-navbar" type="search" placeholder="Search everywhere" name="query"
<input class="form-control form-control-navbar" type="search" placeholder="<?php echo $placeholder[0]?>" name="query"
value="<?php if (isset($_GET['query'])) { echo nullable_htmlentities($_GET['query']); } ?>">
<div class="input-group-append">
<button class="btn btn-navbar" type="submit">