cms.event-deinscription.php 400 B

12345678910111213
  1. <?php
  2. if(core::ifPost("event") AND core::ifPost("from")){
  3. if(event::unsubscribe() == TRUE) {
  4. alert::recSuccess("Désinscription de ". core::getPost("texte"));
  5. alert::recTab("inscrits-tab");
  6. } else {
  7. alert::recError("ERREUR : Désinscription de ". core::getPost("texte"));
  8. }
  9. header("Location: /evenement-" . core::getPost("event").".html");
  10. exit();
  11. }