prepare("DELETE FROM notices WHERE id = :id"); $stmt->bindParam(":id", $_GET["del"]); $stmt->execute(); header("Location: /forum"); } if(isset($_POST["notif"])&&verifyUser("admin")){ conn(); $stmt = $conn->prepare("INSERT INTO notices (text) VALUES (:text)"); $stmt->bindParam(":text", $_POST["notif"]); $stmt->execute(); unset($_POST["notif"]); header("Location: /forum"); } ?> "; //Adding notifs echo"\n

ADD NOTIFS


DELETE NOTIFS

You can delete any notif by clicking on it. Keep in mind that once you click it, it's gone forever. Don't delete something if you aren't sure it should be deleted!

Make sure notifs apply to everyone!

"; } ?>