Modification affichage notes + correction section [COMPOSITION/MON GROUPE]
This commit is contained in:
parent
eb29d683ee
commit
6b0acd8719
|
@ -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,
|
||||
|
|
|
@ -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>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue