Successfully deleted image: ".$_GET['id']."

"; } // Account toast if ($_GET["login"] == "success") { echo "

O hi ".$_SESSION['username']."

"; } // Show search if ($_GET["srch"] == "show") { $header = "Search for a tags!"; $content = "Here you can search for funnies! Like raccoons!!!!!!!!!"; $action = "
"; flyout($header, $content, $action); } /* Search Confirm */ if (isset($_POST['search_confirm'])) { // Unset all the variables, needed by flyout unset($header, $content, $action); // Clean tags before adding function clean($string) { // Change to lowercase $string = strtolower($string); // Replace hyphens $string = str_replace('-', '_', $string); // Regex $string = preg_replace('/[^A-Za-z0-9\_ ]/', '', $string); // Return string return preg_replace('/ +/', ' ', $string); } // Clean input $tags_string = clean(trim($_POST['search'])); header("Location:https://superdupersecteteuploadtest.fluffybean.gay?q=".$tags_string); } if (isset($_GET["q"])) { echo "

Search results for: ".$_GET['q']."

"; } ?>
Welcome ".$_SESSION['username']."!"; } else { echo "

Welcome!

"; } // Random welcome message $welcome_message = array("*internal screaming*", "Sussy Wussy", "What is this world?", "Don't forget to drink water!", "Bruh", "This is so poorly programmed", "Sorry", "Fluffy made this!", "maybe", "I'm gay"); echo "

".$welcome_message[array_rand($welcome_message, 1)]."

"; ?>
"; include("ui/top.html"); include("ui/footer.php"); ?>