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é
|
// on cherche le groupe associé
|
||||||
$getNomGroupe = $this->pdo->prepare("SELECT g.nom ".
|
$getNomGroupe = $this->pdo->prepare("SELECT g.nom ".
|
||||||
"FROM utilisateur as u, groupe as g, appartenance as app ".
|
"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_groupe = g.id_groupe ".
|
||||||
"AND app.id_semestre = :semestreUID ".
|
|
||||||
|
|
||||||
"AND u.identifiant = :etudiantUID ".
|
"AND u.identifiant = :etudiantUID ".
|
||||||
|
|
||||||
|
"AND app.id_semestre = :semestreUID ".
|
||||||
"ORDER BY g.nom");
|
"ORDER BY g.nom");
|
||||||
$getNomGroupe->execute(array(
|
$getNomGroupe->execute(array(
|
||||||
':etudiantUID' => $etudiantUID,
|
':etudiantUID' => $etudiantUID,
|
||||||
|
|
|
@ -54,7 +54,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo "<td><span class=link>".$note['module']." - ".$note['modulelib']."</span></td>";
|
echo "<td><span class=link>".$note['module']." - ".$note['modulelib']."</span></td>";
|
||||||
echo '<td>'.$note['intitule'].'</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 '<td>'.$note['coefficient'].'</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo "<td><span class=link>".$note['module']." - ".$note['modulelib']."</span></td>";
|
echo "<td><span class=link>".$note['module']." - ".$note['modulelib']."</span></td>";
|
||||||
echo '<td>'.$note['intitule'].'</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 '<td>'.$note['coefficient'].'</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue