cms.event-inscription.php 398 B

1234567891011121314
  1. <?php
  2. if(core::ifPost("event") AND core::ifPost("salarie")){
  3. if(event::subscribe() == TRUE){
  4. alert::recSuccess("Inscription de ". core::getPost("texte"));
  5. alert::recTab("salaries-tab");
  6. } else {
  7. alert::recError("ERRREUR : Inscription de ". core::getPost("texte"));
  8. }
  9. header("Location: /evenement-" . core::getPost("event").".html");
  10. exit();
  11. }