Modification affichage notes + correction section [COMPOSITION/MON GROUPE]

This commit is contained in:
xdrm-brackets 2015-11-03 23:31:41 +01:00
parent eb29d683ee
commit 6b0acd8719
2 changed files with 5 additions and 5 deletions

View File

@ -306,11 +306,11 @@ class DataBase{
// on cherche le groupe associé
$getNomGroupe = $this->pdo->prepare("SELECT g.nom ".
"FROM utilisateur as u, groupe as g, appartenance as app ".
"WHERE app.identifiant = u.id_etudiant ".
"WHERE app.id_etudiant = u.identifiant ".
"AND app.id_groupe = g.id_groupe ".
"AND app.id_semestre = :semestreUID ".
"AND u.identifiant = :etudiantUID ".
"AND app.id_semestre = :semestreUID ".
"ORDER BY g.nom");
$getNomGroupe->execute(array(
':etudiantUID' => $etudiantUID,

View File

@ -54,7 +54,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
echo '<tr>';
echo "<td><span class=link>".$note['module']." - ".$note['modulelib']."</span></td>";
echo '<td>'.$note['intitule'].'</td>';
echo '<td>'.$note['valeur'].'/'.$note['base'].'</td>';
echo '<td>'.$note['valeur']." <span style='color:#aaa;'>/</span> ".$note['base'].'</td>';
echo '<td>'.$note['coefficient'].'</td>';
echo '</tr>';
}
@ -108,7 +108,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
echo '<tr>';
echo "<td><span class=link>".$note['module']." - ".$note['modulelib']."</span></td>";
echo '<td>'.$note['intitule'].'</td>';
echo '<td>'.$note['valeur'].'/'.$note['base'].'</td>';
echo '<td>'.$note['valeur']." <span style='color:#aaa;'>/</span> ".$note['base'].'</td>';
echo '<td>'.$note['coefficient'].'</td>';
echo '</tr>';
}