2
0

cms.sociale-check-salarie.php 541 B

123456789101112131415161718
  1. <?php
  2. if(core::ifPost("from")){
  3. $return = salaries::checkSalarieByMatricule(core::getPost("checkSalarie"));
  4. historique::recRef("/sociale-check-salarie.html");
  5. historique::add(array(
  6. "idType" => historique::getIdRef("ACTION"),
  7. "idUser" => session::getId(),
  8. "idPage" => historique::getIdRef("/sociale-check-salarie.html"),
  9. "log" => "Vérification sur un matricule de salarié"
  10. ));
  11. $_SESSION["result-check-salarie"] = $return;
  12. }
  13. header("Location: /sociale-check-salarie.html");
  14. exit();