header(); // Now here the fun starts... // Basically I will make the text change by the severity of the ban, it could be just a warning so I'm gonna rename it. $ban = Array( "title" => "Warning", "description" => "Our content monitors have determined that your behavior at Roblox has been in violation of our Terms of Service. We will terminate your account if you do not abide by the rules.", "time" => date('m/d/Y H:i:s A'), "note" => "robus." ); $query = $con->prepare('SELECT * FROM owned WHERE user=:user'); $query->bindParam(':user', $_SESSION['user']); $query->execute(); $ban = $query->fetchAll(); $possibleFilters = [ "hats", "shirts", "tshirts", "pants", "gears", "packages", "heads", "torso", "leftarm", "rightarm", "leftleg", "rightleg" ]; if(isset($_GET["filter"])) { $filter = $_GET["filter"]; if(!in_array($filter,$possibleFilters)) { $filter = NULL; } } else { $filter = NULL; } ?>