prepare( $query ); $queryRequest->bindParam( ':num_eta', $_SESSION['cfa_num'], PDO::PARAM_INT ); $queryRequest->bindParam( ':myIdCap', $myIdCap, PDO::PARAM_INT ); $queryRequest->execute(); $data=$queryRequest->fetchAll(); $count = $queryRequest->rowCount(); if($count!=1){ header('location:index-cfa.php'); exit(); } $nom_cap = decrypter($maCleDeCryptage,$data[0]['nom_cap']).' '.decrypter($maCleDeCryptage,$data[0]['prenom_cap']); if(!isset($_POST['myCreneau']) || $_POST['myCreneau']=='undefined' || !isset($_POST['myDay'])){ $_SESSION['msg']='Une erreur a été rencontrée pour affecter une sollicitation.'; header('location:index-cfa.php'); exit(); } //Ajout ou Modification if($_POST['myAction']=='affecterSol'){ $myCreneau = $_POST['myCreneau']; $myDay = $_POST['myDay']; }else{ $_SESSION['msg']='Une erreur a été rencontrée pour affecter une sollicitation.'; header('location:index-cfa.php'); exit(); } ?> FAFIH - DECIDAY
Votre espace Référent

Référent : modifier
Déconnexion
Choisir une sollicitation pour un créneau


prepare( $query ); $queryRequest->bindParam( ':id_cap', $myIdCap, PDO::PARAM_INT ); $queryRequest->bindParam( ':chxNumEta', $_SESSION['cfa_num'], PDO::PARAM_INT ); $queryRequest->execute(); $countSol = $queryRequest->rowCount(); $dataSol = $queryRequest->fetchAll(); if($countSol==0) echo '
Vous n\'avez aucune sollicitation en attente.
'; echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($dataSol as $k => $v){ $myjourSol = MysqlToDateFr($v['chxJour']); $mycreneauSol = getCreneauSol($v['chxCreneau']); echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
 EtablissementContactLocalisationJourCreneau
'.decrypter($maCleDeCryptage,$v['etaCoLy']).''.decrypter($maCleDeCryptage,$v['nomCoLy']).' '.decrypter($maCleDeCryptage,$v['prenomCoLy']).''.decrypter($maCleDeCryptage,$v['cpCoLy']).' '.decrypter($maCleDeCryptage,$v['villeCoLy']).''.$myjourSol.''.$mycreneauSol.'
'; echo ''; ?>