level_1 = 'getNotesByModules'; $request->etudiant = $_SESSION['identifiant']; $request->semestre = $_SESSION['semestre']; $request->annee = $_SESSION['annee']; career_switch_level_1($request, $answer); if( $answer->request == 'success' ){ // si on a bien récupéré les modules/notes //////////////////////////////////////////////////////////////////////////////// echo "
"; foreach($answer->notes as $module){ echo ""; echo ""; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($module['notes'] as $note){ echo ''; echo ''; echo ''; echo ''; } echo ''; echo '
'.$module['module']['nom'].' - '.$module['module']['libelle'].'
'.$note['intitule'].''.$note['valeur'].'/'.$note['base'].'
'; } //////////////////////////////////////////////////////////////////////////////// echo '
'; }else echo "Erreur interne."; } ?> level_1 = 'getNotesByUEs'; $request->etudiant = $_SESSION['identifiant']; $request->semestre = $_SESSION['semestre']; $request->annee = $_SESSION['annee']; career_switch_level_1($request, $answer); if( $answer->request == 'success' ){ // si on a bien récupéré les UE/notes //////////////////////////////////////////////////////////////////////////////// echo "
"; foreach($answer->notes as $UE){ echo ""; echo ""; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($UE['notes'] as $note){ echo ''; echo ''; echo ''; echo ''; echo ''; } echo ''; echo '
'.$UE['UE']['nom'].' - '.$UE['UE']['libelle'].'
'.$note['module'].''.$note['intitule'].''.$note['valeur'].'/'.$note['base'].'
'; } //////////////////////////////////////////////////////////////////////////////// echo '
'; }else echo "Erreur interne."; } ?>