Zou le retour

This commit is contained in:
Fauvet 2016-01-08 14:49:04 +01:00
commit 0aff11bf31
45 changed files with 986 additions and 4451 deletions

View File

@ -94,7 +94,7 @@ require_once __ROOT__.'/manager/security.php';
break;
}
}else
$answer->request = 'no_level_0';
$answer->request = 'missing_level_0';

View File

@ -197,12 +197,17 @@ span.link{
/* foreground */
color: #333;
}
/* désactivation du curseur pointer pour les liens sans destination */
span.link:not(.inactive){
/* extra */
cursor: pointer;
}
span.link:hover:not(.inactive){ color: #000; }
table.basic td > span.link{ background: #eee; }
span.link:hover{ color: #000; }
/*********************/
/*** SELECT/OPTION ***/

View File

@ -111,6 +111,11 @@
z-index: 1;
}
/* BOUTON CONNECTION */
#HEADER .notifbar #LOGOUT[data-info].logged{
background-image: url(../src/header/login.svg);
}
/* TEXTE INFO */
#HEADER .notifbar #LOGOUT[data-info]:after{
content: attr(data-info);
@ -149,6 +154,7 @@
/* logo AGAC */
#HEADER > nav.subsections{
/* position */

View File

@ -87,7 +87,7 @@ $notifNotifNum = 5;
else echo "<div class='notification'></div>";
}else // si l'utilisateur n'est pas connecté on affiche le bouton de CONNECTION
echo "<div id='LOGOUT' data-info='Connexion'></div>";
echo "<div id='LOGOUT' data-info='Connexion' class='logged'></div>";
?>

View File

@ -51,7 +51,7 @@ APIClass.prototype = {
if( ptrAPI.xhr[i].readyState == 4 ){ // si la requête est terminée
/* DEBUG : affiche la réponse BRUTE de API.php */
// console.log('API.php => '+ptrAPI.xhr[i].responseText);
console.log('API.php => '+ptrAPI.xhr[i].responseText);
console.log( JSON.parse(ptrAPI.xhr[i].responseText) );
/* si success de requête */

View File

@ -1,3 +1,15 @@
/***************************************/
/* */
/* GESTIONNAIRE D'OPTIMISATION DES */
/* RESSOURCES ET DE */
/* NAVIGATION EN AJAX */
/* */
/* Développé par {xdrm} */
/* */
/* GITHUB github.com/xdrm-brackets/ */
/* */
/***************************************/
function pageManager(){};
var ptrPageManager; // pointeur global pour l'utilisation de fonctions de fonctions

View File

@ -205,7 +205,7 @@ class careerManager{
/****************************************************/
/* saisie d'une note pour un étudiant à un contrôle */
/****************************************************/
case 'saisieNote': if( (permission('teacher') || permission('admin')) && $_SESSION['annee'] >= getCurrentYear() ){
case 'saisieNote': if( (permission('teacher') || permission('admin')) && $_SESSION['annee'] >= DataBase::getInstance()->getSemestreInfoFromTime(time())['annee'] ){
$areSetParam = isset($request->etudiant) && isset($request->controle) && isset($request->note); // les arguments existent
$etudiantCheck = $areSetParam && checkParam($request->etudiant, 'utilisateur.identifiant'); // nom bon format
@ -223,7 +223,7 @@ class careerManager{
/****************************************************/
/* saisie d'une note pour un groupe à un contrôle */
/****************************************************/
case 'saisieNoteMultiple': if( (permission('teacher') || permission('admin')) && $_SESSION['annee'] >= getCurrentYear() ){
case 'saisieNoteMultiple': if( (permission('teacher') || permission('admin')) && $_SESSION['annee'] >= DataBase::getInstance()->getSemestreInfoFromTime(time())['annee'] ){
$areSetParam = isset($request->notes) && isset($request->controle); // les arguments existent
$typeOkParam = $areSetParam && is_array($request->notes) && checkParam($request->controle, 'auto_increment_id'); // si c'est des strings
@ -242,7 +242,7 @@ class careerManager{
/*********************************************************/
/* définie le caractère "publié" des notes d'un contrôle */
/*********************************************************/
case 'publicationcontrole': if( permission('admin') && $_SESSION['annee'] >= getCurrentYear() ){
case 'publicationcontrole': if( permission('admin') && $_SESSION['annee'] >= DataBase::getInstance()->getSemestreInfoFromTime(time())['annee'] ){
$areSetParam = isset($request->controle) && isset($request->publication); // les arguments existent
$typeOkParam = $areSetParam && checkParam($request->controle, 'auto_increment_id') && is_bool($request->publication); // si les types sont bons

View File

@ -112,6 +112,42 @@ class DataBase{
public function getSemestreInfoFromTime($time){
$now = date('Y-m-d', $time);
/* On cherche si l'année en cours est définie et on y est */
$req = DataBase::getPDO()->prepare("SELECT *
FROM semestrepair
WHERE :now BETWEEN debut AND FIN");
$req->execute(array( ':now' => $now ));
$res = $req->fetch();
/* Résultat bon, on le retourne */
if( is_array($res) )
return array('annee' => $res['annee'], 'semestre_pair' => $time >= strtotime($res['milieu']) );
/* Sinon, on recherche la dernière année entrée dans la BDD */
else{
$req2 = DataBase::getPDO()->query("SELECT *
FROM semestrepair
WHERE annee in (select max(annee) from semestrepair);");
$res2 = $req2->fetch();
/* Résultat bon, on le retourne */
if( is_array($res2) )
return array('annee' => $res2['annee'], 'semestre_pair' => $time >= strtotime($res2['milieu']) );
/* Sinon on retourne la valeur par défaut */
else{
$semestre_pair = Date('m', $time) < 8;
$annee = ($semestre_pair) ? Date('Y', $time)-1 : Date('Y', $time);
return array('annee' => "".$annee, 'semestre_pair' => $semestre_pair );
}
}
}
/*********************************************************************************/
@ -667,11 +703,6 @@ class DataBase{
* OU fin de formation
* * => ERREUR
*
* @history
* 1. ADM/ADJ => passage de semestre
* 2. RDB => Redoublement
* 3. RFS => Arrêt
*
* ADM => Passage de semestre (admis)
* ADJ => Passage de semestre (admis pas jury)
* ATT => Passage de semestre (si rang impair) SINON redoublement
@ -981,6 +1012,11 @@ class DataBase{
$moyenneSemestre = 0; // contiendra la somme des valeurs*coefficients
$totalSemestre = 0; // contiendra la somme des coefficients
// par défaut le semestre est compensable
$semestreCompensable = true;
// vrai si le semestre est obtenu par compensation des UE
$semestreCompensation = false;
/* [2] Chaque UE
==========================*/
@ -1029,6 +1065,14 @@ class DataBase{
if( !is_bool($tmpUE['moyenne']) ){
$moyenneSemestre += $tmpUE['moyenne']['moyenne']/$tmpUE['moyenne']['base'] * $tmpUE['coefficient'];
$totalSemestre += $tmpUE['coefficient'];
// le semestre est non compensable si la moyenne d'au moins un UE < 8
if( 20*$tmpUE['moyenne']['moyenne']/$tmpUE['moyenne']['base'] < 8 )
$semestreCompensable = false;
// semestreCompensé est VRAI si au moins un semestre est entre 8 et 10
if( 20*$tmpUE['moyenne']['moyenne']/$tmpUE['moyenne']['base'] >= 8 && 20*$tmpUE['moyenne']['moyenne']/$tmpUE['moyenne']['base'] < 10 )
$semestreCompensation = true;
}
}
@ -1040,6 +1084,14 @@ class DataBase{
else
$parcours[$iter_s]['moyenne'] = array('moyenne' => 20*$moyenneSemestre/$totalSemestre, 'base' => 20 );
$parcours[$iter_s]['compensable'] = $semestreCompensable;
// si le semestre est obtenu et utilise la compensation => on le définit
if( $semestreCompensable && $semestreCompensation && $parcours[$iter_s]['moyenne']['moyenne'] >= 10 )
$parcours[$iter_s]['compensation'] = true;
else
$parcours[$iter_s]['compensation'] = false;
}
return $parcours;
@ -1138,6 +1190,8 @@ class DataBase{
if( $groupe != null ){
if( !($groupeUID=groupRepo::info($groupe)['id']) ) return 'unknown_group'; else $groupeUID = (int) $groupeUID; // on récupère l'UID du groupe
$controlObj['moyenneGroupe'] = noteRepo::forGroupe($controle, $groupeUID)['moyenne'];
$controlObj['userlist'] = groupRepo::membres($groupeUID, $controlObj['id_semestre']); // on récupère la liste des étudiants de ce groupe
foreach($controlObj['userlist'] as $iter=>$note)
@ -1180,6 +1234,8 @@ class DataBase{
if( $groupe != null ){
if( !($groupeUID=groupRepo::info($groupe)['id']) ) return 'unknown_group'; else $groupeUID = (int) $groupeUID; // on récupère l'UID du groupe
$controlObj['moyenneGroupe'] = noteRepo::forGroupe($controle, $groupeUID)['moyenne'];
$controlObj['userlist'] = groupRepo::membres($groupeUID, $controlObj['id_semestre']); // on récupère la liste des étudiants de ce groupe
foreach($controlObj['userlist'] as $iter=>$note)

View File

@ -198,7 +198,7 @@ class groupsManager{
/************************************************************/
/* déplace une liste d'étudiants de leurs groupe à un autre */
/************************************************************/
case 'move_multiple': if( permission('admin') && $_SESSION['annee'] >= getCurrentYear() ){
case 'move_multiple': if( permission('admin') && $_SESSION['annee'] >= DataBase::getInstance()->getSemestreInfoFromTime(time())['annee'] ){
$areSetParam = isset($request->etudiants) && isset($request->groupe) && isset($request->semestre); // les arguments existent
$typeOkParam = $areSetParam && is_array($request->etudiants) && is_numeric($request->groupe); // si c'est des strings
@ -237,7 +237,7 @@ class groupsManager{
case 'addUserlist': if( permission('admin') ){
$areSetParam = isset($request->formationList) && isset($request->rang) && isset($request->annee);
$typeOkParam = $areSetParam && is_numeric($request->rang) && is_numeric($request->annee);
$verifiParam = $typeOkParam && $request->annee >= getCurrentYear();
$verifiParam = $typeOkParam && $request->annee >= DataBase::getInstance()->getSemestreInfoFromTime(time())['annee'];
if( $verifiParam ){ // si tout les paramètres sont bons
DataBase::getInstance()->addUserlist($request->rang, $request->annee, $request->formationList);

View File

@ -292,15 +292,22 @@ class noteRepo{
/* [3] On vérifie que la note a bien été créé pour cet étudiant et ce contrôle
=================================================================================*/
$verifNote = DataBase::getPDO()->prepare("SELECT n.id_note as id
$verifNote = DataBase::getPDO()->prepare("SELECT n.id_note as id, n.valeur
FROM note as n, appartenance as app
WHERE n.id_appartenance = app.id_appartenance
AND app.id_etudiant = :etudiant
AND n.id_controle = :controle
AND n.valeur = :valeur");
$verifNote->execute(array( ':etudiant' => $etudiant, ':controle' => $controle, ':valeur' => $valeur ));
AND n.id_note in (SELECT max(id_note) FROM note GROUP BY id_controle, id_appartenance)
GROUP BY app.id_appartenance, n.id_controle");
$verifNote->execute(array( ':etudiant' => $etudiant, ':controle' => $controle ));
return is_array( $verifNote->fetch() );
$verifResult = $verifNote->fetch();
// si aucun résultat, on retourne FALSE
if( !is_array($verifResult) ) return false;
// sinon on retourne la vérification de la valeur
return $verifResult['valeur'] == $valeur;
}

View File

@ -56,12 +56,6 @@
}debug();
function getCurrentYear(){
if( Date('m', time()) < 8 ) return Date('Y', time()) - 1;
else return Date('Y', time());
}
function anneeScolaire($year){
return $year.' - '.($year+1);
}

View File

@ -136,7 +136,7 @@ class userManager{
* delModule<NULL> Si NULL, on n'enlève aucun module
*
*/
case 'updateRole': if( permission('admin') && $_SESSION['annee'] >= getCurrentYear() ){
case 'updateRole': if( permission('admin') && $_SESSION['annee'] >= DataBase::getInstance()->getSemestreInfoFromTime(time())['annee'] ){
$identifiantCheck = isset($request->identifiant) && checkParam($request->identifiant, 'utilisateur.identifiant'); // identifiant au bon format
$adminCheck = $identifiantCheck && ( is_null($request->admin) || is_bool($request->admin) ); // admin ok
@ -257,13 +257,15 @@ class userManager{
$_SESSION['droits'] = explode(',', $utilInfo['droits']);
$_SESSION['sexe'] = ($utilInfo['sexe']=='1') ? 'M' : 'F';
// on récupère l'année courante (1er sept à 1er sept)
// SI (mois < 8) ALORS (annee - 1) SINON (annee)
$_SESSION['annee'] = getCurrentYear();
// on défini si le semestre est pair ou non
$_SESSION['semestre_pair'] = userManager::semestrePair(time());
$timestamp = time();
// on récupère l'année scolaire courante ainsi que si le semestre est pair
$infoSemestre = DataBase::getInstance()->getSemestreInfoFromTime($timestamp);
/* On définit l'année courante et si le semestre est pair */
$_SESSION['annee'] = $infoSemestre['annee'];
$_SESSION['semestre_pair'] = (permission('student')) ? $infoSemestre['semestre_pair'] : null;
// on défini le semestre par défaut à NULL
$_SESSION['semestre'] = null;
@ -290,22 +292,5 @@ class userManager{
}
/* RETOURNE LES SEMESTRES EN COURS
*
* détermine si les semestres IMPAIRS ou PAIRS sont en cours
*
* @$answer->request = isEven<Boolean> VRAI si pair, sinon FAUX (impair)
*
*/
public static function semestrePair($timestamp=null){
// si $datetime n'est pas défini, on prend la date actuelle
if( $timestamp == null )
$timestamp = time();
return Date('m', $timestamp) < 8;
}
}
?>

View File

@ -152,7 +152,7 @@ if( document.querySelector('#CONTAINER section[name=controlesenseignants]') != n
var nombreModificationEnseignant = 0; // contiendra le nombre de notes saisies
/* SAISIE A L'AIDE DES <INPUT> */
var saisieInputEnseignant = document.querySelectorAll('#CONTAINER section[name=controlesenseignants] table tr td input[type=number][data-ctrl].saisie_note');
var saisieInputEnseignant = document.querySelectorAll('#CONTAINER section[name=controlesenseignants] table tr td input[type=text][data-ctrl].saisie_note');
var saisieObjEnseignant = [];
@ -295,7 +295,7 @@ if( document.querySelector('#CONTAINER section[name=allcontroles]') != null ){ /
var nombreModificationAdmin = 0; // contiendra le nombre de notes saisies
/* SAISIE A L'AIDE DES <INPUT> */
var saisieInputAdmin = document.querySelectorAll('#CONTAINER section[name=allcontroles] table tr td input[type=number][data-ctrl].saisie_note');
var saisieInputAdmin = document.querySelectorAll('#CONTAINER section[name=allcontroles] table tr td input[type=text][data-ctrl].saisie_note');
var saisieObjAdmin = [];
@ -658,18 +658,25 @@ if( studentCase != null ){
/*******************/
/* IMPORT DE NOTES */
/*******************/
var importNotes = document.querySelector('#import_notes[data-ctrl]');
var importNotes = document.querySelectorAll('#import_notes[data-ctrl]');
if( importNotes.length > 0 ){
for( var i = 0 ; i < importNotes.length ; i++ ){
// on récupère l'input de fichier
var fileInput = importNotes[i].children[0];
if( importNotes != null ){
var fileInput = importNotes.children[0]
fileInput.addEventListener('change', function(e){
var boutonImport = e.target.parentNode;
// on récupère le contrôle en question
var controle = importNotes.dataset.ctrl;
var controle = boutonImport.dataset.ctrl;
console.log('controle: '+controle);
// on récupère le fichier
var file = importNotes.children[0].files[0];
var file = boutonImport.children[0].files[0];
/* [1] IMPORTATION DU FICHIER
=======================================*/
@ -717,6 +724,8 @@ if( importNotes != null ){
}
}

View File

@ -255,7 +255,7 @@ if( importInscrits != null ){
importInscrits.addEventListener('change', function(e){
var annee = parseInt( importInscrits.parentNode.dataset.year );
var rang = parseInt( importInscrits.parentNode.parentNode.children[5].value );
var rang = parseInt( importInscrits.parentNode.parentNode.children[6].value );
console.log(annee);
console.log(rang);

View File

@ -113,7 +113,7 @@ if( permission('student') ){ // si l'utilisateur est connecté et que c'est un
foreach($module['controles'] as $controle){ // pour chaque contrôle
echo '<tr>';
echo '<td><span class=link>'.$controle['libelle'].'</span></td>';
echo "<td><span class='link inactive'>".$controle['libelle']."</span></td>";
if( $controle['publication'] == '0' || count($controle['notes']) == 0 ) // si aucune note pour ce controle on affiche 'Pas de note'
echo '<td><span class=unstressed>Pas encore de note</span></td>';
@ -284,7 +284,7 @@ if( permission('teacher') && $controleOpt == null ){ // si c'est un enseignant e
foreach($UE['modules'] as $module){ // pour chaque module
echo "<table class='basic col5'><thead>";
echo '<tr><th colspan=4><strong>'.$semestre['nom_formation'].' - '.$semestre['nom'].'</th></tr></thead><tbody>';
echo '<tr><th colspan=4><strong>'.$semestre['nom_formation'].' - '.$semestre['nom']." - <span class='unstressed'>".$UE['nom']." - ".$module['nom']." - ".$module['libelle']."</span></th></tr></thead><tbody>";
if( count($module['controles']) > 0 ){ // s'il y a au moins un contrôle pour ce module
@ -383,7 +383,7 @@ elseif( permission('teacher') ){ // si enseignant et qu'un contrôle est spécif
if( !isset($answer->controle['userlist']) || !is_array($answer->controle['userlist']) || count($answer->controle['userlist']) == 0 ) // si il y a au moins une note pour ce contrôle
echo '<th><span class=unstressed>Pas noté</span></th>';
else
echo '<th><span class=unstressed>Moyenne de</span> '.number_format($answer->controle['moyenne'], 2).' <span class=unstressed>/</span> '.$answer->controle['base'].'</th>';
echo '<th><span class=unstressed>Moyenne de</span> '.number_format($answer->controle['moyenneGroupe'], 2).' <span class=unstressed>/</span> '.$answer->controle['base'].'</th>';
}
@ -430,7 +430,7 @@ elseif( permission('teacher') ){ // si enseignant et qu'un contrôle est spécif
foreach($answer->controle['userlist'] as $user){ // on affiche la liste des élèves avec leurs notes
echo "<tr>";
echo "<td><span class='link etu' data-etu='".$user['identifiant']."' data-ctrl='".$answer->controle['id']."' data-info='".$user['prenom'].' '.$user['nom']."'>".$user['identifiant']."</span></td>";
echo "<td><span class='link etu inactive' data-etu='".$user['identifiant']."' data-ctrl='".$answer->controle['id']."' data-info='".$user['prenom'].' - '.$user['nom']."'>".$user['identifiant']."</span></td>";
echo "<td><span class='link grp' data-grp='".$user['id_groupe']."'>".$user['groupe']."</span></td>";
if( $user['note'] != null ) // si on a une note
@ -440,9 +440,9 @@ elseif( permission('teacher') ){ // si enseignant et qu'un contrôle est spécif
echo "<td>";
if( $user['note'] != null ) // s'il a déjà une note, on la met par défaut
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='number' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note' value='".$user['note']."'>";
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='text' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note' value='".$user['note']."'>";
else // sinon on laisse le champ vide
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='number' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note'>";
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='text' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note'>";
echo "<div class='confirm'>enregistrer</div>";
echo "</td>";
@ -629,7 +629,7 @@ if( (permission('master') || permission('admin')) && $controleOpt == null ){ //
foreach($UE['modules'] as $module){ // pour chaque module
echo "<table class='basic col5'><thead>";
echo '<tr><th colspan=4><strong>'.$semestre['nom_formation'].' - '.$semestre['nom'].'</th></tr></thead><tbody>';
echo '<tr><th colspan=4><strong>'.$semestre['nom_formation'].' - '.$semestre['nom']." - <span class='unstressed'>".$UE['nom']." - ".$module['nom']." - ".$module['libelle']."</span></th></tr></thead><tbody>";
if( count($module['controles']) > 0 ){ // s'il y a au moins un contrôle pour ce module
@ -652,9 +652,9 @@ if( (permission('master') || permission('admin')) && $controleOpt == null ){ //
/**/ // seul l'admin peut publier/cacher les notes
if( permission('admin') ){
if( $controle['publication'] == '0' )
echo "<td><div class='confirm center active' data-ctrl='".$controle['id']."' data-publication='1'>publier</div></td>";
echo "<td><div class='confirm pamp center active' data-ctrl='".$controle['id']."' data-publication='1'>caché</div></td>";
else
echo "<td><div class='confirm pamp center active' data-ctrl='".$controle['id']."' data-publication='0'>cacher</div></td>";
echo "<td><div class='confirm center active' data-ctrl='".$controle['id']."' data-publication='0'>visible</div></td>";
}
echo '</tr>';
@ -738,7 +738,7 @@ elseif( permission('master') || permission('admin') ){ // si enseignant et qu'un
if( count($answer->controle['userlist']) == 0 ) // si il y a au moins une note pour ce contrôle
echo '<th><span class=unstressed>Pas noté</span></th>';
else
echo '<th><span class=unstressed>Moyenne de</span> '.number_format($answer->controle['moyenne'], 2).' <span class=unstressed>/</span> '.$answer->controle['base'].'</th>';
echo '<th><span class=unstressed>Moyenne de</span> '.number_format($answer->controle['moyenneGroupe'], 2).' <span class=unstressed>/</span> '.$answer->controle['base'].'</th>';
}
@ -795,9 +795,9 @@ elseif( permission('master') || permission('admin') ){ // si enseignant et qu'un
if( permission('admin') ){
echo "<td>";
if( $user['note'] != null ) // s'il a déjà une note, on la met par défaut
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='number' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note' value='".$user['note']."'>";
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='text' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note' value='".$user['note']."'>";
else // sinon on laisse le champ vide
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='number' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note'>";
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='text' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note'>";
echo "<div class='confirm'>enregistrer</div>";
echo "</td>";
@ -961,14 +961,14 @@ if( permission('master') || permission('admin') ){
/* [2] Importation
==========================================*/
$currentYear = getCurrentYear();
$currentYear = $_SESSION['annee'];
// si annéeOpt n'est pas définie, on le fait
if( $anneeOpt == null || $anneeOpt < $currentYear || $anneeOpt > $currentYear+5 ) $anneeOpt = $currentYear;
$anneeOpt = intval($anneeOpt); // on met l'année en (int)
echo "<div class='p center'>";
echo "Importation des mentions jury d'un semestre<br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='src/files/modele_import_jury.xlsx'>modèle de fichier</a>)</span><br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='http://".$_SERVER['HTTP_HOST']."/src/files/modele_import_jury.xlsx'>modèle de fichier</a>)</span><br>";
/**********************/
@ -1081,6 +1081,27 @@ function noteToClass($valeur, $base){
else return 'hig'; // A la moyenne
}
// retourne la classe correspondant à une couleur pour un semestre
function noteToClassSemestre($valeur, $base, $compensable, $compensation){
$class = null;
$val = 20 * $valeur/$base;
if( $compensation ) // on a le semestre, avec aucun UE en dessous de 8 (ORANGE)
$class = 'med';
if( !$compensable ) // non compensable (au moins un UE en dessous de 8), on a pas le semestre (ROUGE)
$class = 'low';
// si rien de spécial, on définit avec les valeurs par défaut
if( $class == null ){
if( $val < 10 ) $class = 'low'; // si en-dessous de 10, on a pas le semestre (ROUGE)
else $class = 'hig'; // si sup/egal à 10, on a le semestre (VERT)
}
return $class;
}
if( (permission('master') || permission('admin')) && $etudiantOpt != null ){
include __ROOT__.'/src/svg_v2.php';
@ -1112,7 +1133,9 @@ if( (permission('master') || permission('admin')) && $etudiantOpt != null ){
'id' => $semestre['id'],
'nom' => $semestre['code'].' '.$semestre['semestre'],
'mention' => $semestre['mention'],
'moyenne' => $semestre['moyenne']
'moyenne' => $semestre['moyenne'],
'compensable' => $semestre['compensable'],
'compensation' => $semestre['compensation']
);
// on spécifie les moyennes des UEs
@ -1173,7 +1196,7 @@ if( (permission('master') || permission('admin')) && $etudiantOpt != null ){
if( is_bool($semestre['moyenne']) ) // si aucune note pour ce semestre on affiche 'Pas de moyenne'
echo "<td colspan=1><span class='link stressed' style='padding:.5em 1em; background:white;'>Pas de moyenne</span></td>";
else // si un moyenne, alors on l'affiche
echo "<td colspan=1><span class='link ".noteToClass($semestre['moyenne']['moyenne'], $semestre['moyenne']['base'])."' style='padding:.5em 1em; background:white;'>Moyenne semestre: <strong>".number_format($semestre['moyenne']['moyenne'], 2)." <span class=unstressed>/</span> ".$semestre['moyenne']['base']."</span></strong></td>";
echo "<td colspan=1><span class='link ".noteToClassSemestre($semestre['moyenne']['moyenne'], $semestre['moyenne']['base'], $semestre['compensable'], $semestre['compensation'])."' style='padding:.5em 1em; background:white;'>Moyenne semestre: <strong>".number_format($semestre['moyenne']['moyenne'], 2)." <span class=unstressed>/</span> ".$semestre['moyenne']['base']."</span></strong></td>";
echo '</tr>';

View File

@ -88,7 +88,7 @@ if( permission('student') ){ // si connecté && utilisateur
// pour chaque utilisateur
foreach($group['userlist'] as $user){
echo '<tr>';
echo "<td><span class=link>".$user['identifiant'].'</span></td>';
echo "<td><span class='link inactive'>".$user['identifiant'].'</span></td>';
echo '<td>'.$user['prenom'].'</td>';
echo '<td>'.$user['nom'].'</td>';
echo '<td>'.$group['semestre'].'</td>';
@ -156,7 +156,7 @@ if( permission('student') ){ // si l'utilisateur est connecté et que c'est un
// pour chaque utilisateur
foreach($answer->userlist as $user){ if( $user != $answer->userlist['groupe'] ){
echo '<tr>';
echo "<td><span class=link>".$user['identifiant'].'</span></td>';
echo "<td><span class='link inactive'>".$user['identifiant'].'</span></td>';
echo '<td>'.$user['prenom'].'</td>';
echo '<td>'.$user['nom'].'</td>';
echo '<td>'.$user['semestre'].'</td>';
@ -323,7 +323,7 @@ if( permission('teacher') ){ // si l'utilisateur est connecté et que c'est un
// pour chaque utilisateur
foreach($group['userlist'] as $user){
echo '<tr>';
echo "<td><span class=link>".$user['identifiant'].'</span></td>';
echo "<td><span class='link inactive'>".$user['identifiant'].'</span></td>';
echo '<td>'.$user['prenom'].'</td>';
echo '<td>'.$user['nom'].'</td>';
echo '<td>'.$group['semestre'].'</td>';
@ -655,7 +655,7 @@ if( permission('master') || permission('admin') ){
/* [2] Importation
==========================================*/
$currentYear = getCurrentYear();
$currentYear = $_SESSION['annee'];
// si annéeOpt n'est pas définie, on le fait
if( $anneeOpt == null || $anneeOpt < $currentYear ) $anneeOpt = $currentYear;
@ -673,7 +673,7 @@ if( permission('master') || permission('admin') ){
/* AFFINAGE PAR ANNEE */
/**********************/
echo "Importation des listes d'étudiants<br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='src/files/modele_import_inscrits.xlsx'>modèle de fichier</a>)</span><br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='http://".$_SERVER['HTTP_HOST']."/src/files/modele_import_inscrits.xlsx'>modèle de fichier</a>)</span><br>";
/* AFFINAGE POUR LES 5 ANNEES SUIVANTES */
echo "<select name='annee'>";
@ -684,7 +684,14 @@ if( permission('master') || permission('admin') ){
echo "<option value='".($currentYear+$i)."'>".anneeScolaire($currentYear+$i)."</option>";
}
echo "</select><br>";
echo "<input type='number' class='import_rangs' min=0 max=6 step=1 placeholder='rang du semestre'><br>";
// echo "<input type='number' class='import_rangs' min=1 max=2 step=1 placeholder='rang du semestre'><br>";
echo "<span class='unstressed'>Rang du semestre :</span>";
echo "<select id='rang_semestre'>";
echo "<option value='1'>1</option>";
echo "<option value='2'>2</option>";
echo "</select><br>";
// echo "<div data-year='".$anneeOpt."' class='confirm active center'>Importer une liste</div>";
echo "<div data-year='".$anneeOpt."' class='confirm active center'>Importer une liste<input type='file' id='import_inscrits'></div>";

View File

@ -75,7 +75,7 @@ require_once __ROOT__.'/manager/security.php';
<img data-sublink='career/allcontroles' src='src/menu/menu_icon/career@hover.svg'/>Consulter les notes en cliquant sur le nom d'un <span class='link'>contrôle</span><br>
<img data-sublink='career/allcontroles' src='src/menu/menu_icon/career@hover.svg'/>Saisir des notes en cliquant sur le nom d'un <span class='link'>groupe</span><br>
<img data-sublink='career/allcontroles' src='src/menu/menu_icon/career@hover.svg'/>Importer des notes d'un contrôle en cliquant sur <span class='link'>importer notes</span><br>
<img data-sublink='career/allcontroles' src='src/menu/menu_icon/career@hover.svg'/>Gérer l'affichage des notes d'un contrôle en cliquant sur <span style='position:relative;top:.5em;left:-1.5em;' class="confirm active">Publier</span><span style='position:relative;top:.5em;left:-1.5em;' class="confirm pamp active">Cacher</span><br>
<img data-sublink='career/allcontroles' src='src/menu/menu_icon/career@hover.svg'/>Gérer l'affichage des notes d'un contrôle en cliquant sur <span style='position:relative;top:.5em;left:-1.5em;' class="confirm active pamp">caché</span><span style='position:relative;top:.5em;left:-1.5em;' class="confirm active">visible</span><br>
<img data-sublink='career/importjury' src='src/menu/menu_icon/career@hover.svg'/>Exporter un feuille excel à remplir par le jury<br>
<img data-sublink='career/importjury' src='src/menu/menu_icon/career@hover.svg'/>Importer un feuille excel remplie par le jury<br>

View File

@ -257,7 +257,7 @@ if( permission('teacher') ){ // si l'utilisateur est un prof
echo "<table class='basic'>";
echo "<thead>";
echo '<tr>';
echo '<th colspan=5>'.$semestre['nom_formation'].' - '.$semestre['nom'].'</th>';
echo '<th colspan=5>'.$semestre['nom_formation'].' - '.$semestre['nom']." - <span class='unstressed'>".$UE['nom']." - ".$UE['libelle']."</span></th>";
echo '</tr>';
echo '</thead>';
echo '<tbody>';
@ -439,7 +439,7 @@ if( permission('master') || permission('admin') ){ // si l'utilisateur est un ad
echo "<table class='basic'>";
echo "<thead>";
echo '<tr>';
echo '<th colspan=5>'.$semestre['nom_formation'].' - '.$semestre['nom'].'</th>';
echo '<th colspan=5>'.$semestre['nom_formation'].' - '.$semestre['nom']." - <span class='unstressed'>".$UE['nom']." - ".$UE['libelle']."</span></th>";
echo '</tr>';
echo '</thead>';
echo '<tbody>';
@ -452,22 +452,6 @@ if( permission('master') || permission('admin') ){ // si l'utilisateur est un ad
echo '</tr>';
}
// require_once __ROOT__.'/manager/database.php';
// $completeModuleList = DataBase::getInstance()->getExhaustiveModuleList();
// // saisie d'un nouveau module
// echo "<tr class='grayscale'><td>";
// echo "<select name='modules'>";
// foreach($completeModuleList as $module)
// echo "<option value='".$module['id']."'>".$module['nom']." - ".$module['libelle']."</option>";
// echo "</select>";
// echo "</td><td>";
// echo "<input style='min-width:20%;' type='text' placeholder='Nom'>";
// echo "<input style='min-width:50%;' type='text' placeholder='Libellé'>";
// echo "</td><td>";
// echo "<div class='confirm active'>Ajouter le module</div>";
// echo "</td></tr>";
echo '</tbody>';
echo '</table>';
@ -621,14 +605,14 @@ if( permission('master') || permission('admin') ){
/* [2] Importation
==========================================*/
$currentYear = getCurrentYear();
$currentYear = $_SESSION['annee'];
// si annéeOpt n'est pas définie, on le fait
if( $anneeOpt == null || $anneeOpt < $currentYear || $anneeOpt > $currentYear+5 ) $anneeOpt = $currentYear;
$anneeOpt = intval($anneeOpt); // on met l'année en (int)
echo "<div class='p center'>";
echo "Importation des MCC d'un semestre<br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='src/files/modele_import_mcc.xlsx'>modèle de fichier</a>)</span><br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='http://".$_SERVER['HTTP_HOST']."/src/files/modele_import_mcc.xlsx'>modèle de fichier</a>)</span><br>";
/**********************/

View File

@ -40,24 +40,37 @@ require_once __ROOT__.'/manager/security.php';
/***************/
/*** PROFILE ***/
/***************/
/**************/
/*** PROFIL ***/
/**************/
if( connected() ){ // si l'utilisateur est connecté
$infos = userRepo::info($_SESSION['identifiant']);
$droits = explode(',', $infos['droits']);
echo "<section name='myprofile' data-title='Profil'>";
echo '<p>';
echo 'Nom : '.ucfirst($infos['nom']).'<br><br>';
echo 'Prénom : '.ucfirst($infos['prenom']).'<br><br>';
echo 'Statut : ';
echo '<table class=basic>';
echo '<tr><td>Identifiant</td><td>'.$infos['identifiant'] .'</td></tr>';
echo '<tr><td>Prénom</td><td>' .ucfirst($infos['prenom']).'</td></tr>';
echo '<tr><td>Nom</td><td>' .strtoupper($infos['nom']).'</td></tr>';
echo '<tr><td>Statut</td><td>';
$count = 0;
foreach ($droits as $droit) {
echo "<span class='link'>".$droit.'</span>';
echo '&nbsp&nbsp&nbsp';
if( $count > 0 ) echo ', ';
switch($droit){
case 'admin' : echo 'administrateur'; break;
case 'master' : echo 'référent'; break;
case 'teacher': echo 'enseignant'; break;
case 'student': echo 'étudiant'; break;
default: echo 'inconnu'; break;
}
echo '<br><br>';
echo 'Mail : '.$infos['mail'];
echo '</p>';
$count++;
}
echo '</td></tr>';
echo '<tr><td>Mail</td><td>'.$infos['mail'].'</td></tr>';
echo '</td></tr></table>';
echo '</section>';
}
@ -105,6 +118,9 @@ if( permission('admin') ){
// si la formation optionnelle n'est pas définie ou incohérente, on le fait (première valeur trouvée)
if( $formationOpt == null || !in_array($formationOpt, $verificationUIDFormations) )
if( count($verificationUIDFormations) == 0 ) // si aucune formation trouvée
$formationOpt = 0;
else
$formationOpt = $verificationUIDFormations[0];

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

53
src/header/login.svg Executable file
View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 128 128"
id="Layer_1"
version="1.1"
viewBox="0 0 132.28162 100.1875"
xml:space="preserve"
inkscape:version="0.48.4 r9939"
width="100%"
height="100%"
sodipodi:docname="logout.svg"><metadata
id="metadata11"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs9" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1056"
id="namedview7"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="1.3037281"
inkscape:cx="87.529217"
inkscape:cy="39.059701"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
d="m 73.17057,31.893749 -16.3,16.4 c -0.4,0.4 -0.6,0.9 -0.6,1.4 0,0.6 0.2,1.1 0.6,1.4 l 16.2,16.2 c 0.8,0.8 2,0.8 2.8,0 0.4,-0.4 0.6,-0.9 0.6,-1.4 0,-0.5 -0.2,-1.1 -0.6,-1.4 l -12.8,-12.9 h 63.69999 c 1.1,0 2,-0.9 2,-2 0,-1.1 -0.9,-2 -2,-2 H 63.07057 l 12.9,-12.9 c 0.4,-0.4 0.6,-0.9 0.6,-1.4 0,-0.5 -0.2,-1 -0.6,-1.4 -0.7,-0.8 -2,-0.8 -2.8,0 z"
id="path3"
inkscape:connector-curvature="0"
style="fill:#28b965;fill-opacity:1;stroke:#28b965;stroke-width:1.89999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /><path
d="m 45.07057,1.5937484 h 44 c 5.5,0 10,4.5 10,10.0000006 v 16.3 h -4 v -16.3 c 0,-3.3000006 -2.7,-6.0000006 -6,-6.0000006 h -44 c -3.3,0 -6,2.7 -6,6.0000006 v 77 c 0,3.3 2.7,6 6,6 h 44 c 3.3,0 6,-2.7 6,-6 v -17.3 h 4 v 17.3 c 0,5.5 -4.5,10 -10,10 h -44 c -5.5,0 -10,-4.5 -10,-10 v -77 c 0,-5.5000006 4.5,-10.0000006 10,-10.0000006 z"
id="path5"
inkscape:connector-curvature="0"
style="fill:#28b965;fill-opacity:1;stroke:#28b965;stroke-width:3.20000004999999987;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -75,10 +75,22 @@ function displayParcours($parcours, $selected){
// couleur du texte en fonction de la note
if( !is_bool($parcours[$i]['moyenne']) ){
$themeColor = null;
$val = 20 * $parcours[$i]['moyenne']['moyenne']/$parcours[$i]['moyenne']['base'];
if( $val <= 8 ) $themeColor = '#f55b55';
elseif( $val < 10 ) $themeColor = '#f59555';
else $themeColor = '#2dcc70';
if( $parcours[$i]['compensation'] ) // on a le semestre, avec aucun UE en dessous de 8 (ORANGE)
$themeColor = '#f59555';
if( !$parcours[$i]['compensable'] ) // non compensable (au moins un UE en dessous de 8), on a pas le semestre (ROUGE)
$themeColor = '#f55b55';
// si rien de spécial, on définit avec les valeurs par défaut
if( $themeColor == null ){
if( $val < 10 ) $themeColor = '#f55b55'; // si en-dessous de 8, on a pas le semestre (ROUGE)
else $themeColor = '#2dcc70'; // si sup/egal à 10, on a le semestre (VERT)
}
}else // si pas de note, on met la couleur par défaut
$themeColor = $normColor;
@ -98,7 +110,7 @@ function displayParcours($parcours, $selected){
// couleur du texte en fonction de la note
if( !is_bool($UE['moyenne']) ){
$val = 20 * $UE['moyenne']['moyenne']/$UE['moyenne']['base'];
if( $val <= 8 ) $themeColor = '#f55b55';
if( $val < 8 ) $themeColor = '#f55b55';
elseif( $val < 10 ) $themeColor = '#f59555';
else $themeColor = '#2dcc70';
}else // si pas de note, on met la couleur par défaut

View File

@ -1,802 +0,0 @@
[
{
"identifiant": "ydw1981a",
"prenom": "Glenda",
"nom": "WILKINSON",
"mail": "glenda.wilkinson@etu.iut-tlse3.fr",
"mdp": "c95fca15-628e-4977-8a92-6dc1be76d15a",
"droits": "student"
},
{
"identifiant": "ihf1991a",
"prenom": "Robinson",
"nom": "MCGEE",
"mail": "robinson.mcgee@etu.iut-tlse3.fr",
"mdp": "4350c63d-3b73-4c79-b56f-5cba092a37a6",
"droits": "student"
},
{
"identifiant": "mma1990a",
"prenom": "Williamson",
"nom": "HATFIELD",
"mail": "williamson.hatfield@etu.iut-tlse3.fr",
"mdp": "60872c3f-6511-4dbc-9bbf-17cf7be9f517",
"droits": "student"
},
{
"identifiant": "lme1952a",
"prenom": "Hollie",
"nom": "GILLIAM",
"mail": "hollie.gilliam@etu.iut-tlse3.fr",
"mdp": "195d3eb8-0bd1-4996-85ee-f83c46288028",
"droits": "student"
},
{
"identifiant": "imf1922a",
"prenom": "Hawkins",
"nom": "PATTERSON",
"mail": "hawkins.patterson@etu.iut-tlse3.fr",
"mdp": "7352c517-b8a1-4949-93e5-45ce6a70cca4",
"droits": "student"
},
{
"identifiant": "gyy1983a",
"prenom": "Merrill",
"nom": "WALTER",
"mail": "merrill.walter@etu.iut-tlse3.fr",
"mdp": "f47bd592-cfe8-4c62-b029-a258f8738b90",
"droits": "student"
},
{
"identifiant": "otm1902a",
"prenom": "Woods",
"nom": "DEJESUS",
"mail": "woods.dejesus@etu.iut-tlse3.fr",
"mdp": "e7799a36-d363-43fb-a72d-b218fb65d277",
"droits": "student"
},
{
"identifiant": "tnx1949a",
"prenom": "Dejesus",
"nom": "WALTON",
"mail": "dejesus.walton@etu.iut-tlse3.fr",
"mdp": "ea7fb3b1-cd41-4945-8984-b2a43cd782f2",
"droits": "student"
},
{
"identifiant": "sjl1937a",
"prenom": "English",
"nom": "POPE",
"mail": "english.pope@etu.iut-tlse3.fr",
"mdp": "007a511b-058f-4921-aa0b-04eb6d4d5a5f",
"droits": "student"
},
{
"identifiant": "anj1991a",
"prenom": "Katie",
"nom": "GUTIERREZ",
"mail": "katie.gutierrez@etu.iut-tlse3.fr",
"mdp": "c6a4e96b-3ba8-4a9a-bff6-955b6e14d689",
"droits": "student"
},
{
"identifiant": "xdh1989a",
"prenom": "Rasmussen",
"nom": "PAGE",
"mail": "rasmussen.page@etu.iut-tlse3.fr",
"mdp": "f04c06bd-6c24-44b8-9c16-80514f0df1ad",
"droits": "student"
},
{
"identifiant": "agl1956a",
"prenom": "Cruz",
"nom": "HOWE",
"mail": "cruz.howe@etu.iut-tlse3.fr",
"mdp": "4028d5c1-6cfa-4224-82c9-588906a2d136",
"droits": "student"
},
{
"identifiant": "mhu1946a",
"prenom": "Edna",
"nom": "GREEN",
"mail": "edna.green@etu.iut-tlse3.fr",
"mdp": "10aea3aa-4ec2-4b2b-9c92-f671d3d38f7f",
"droits": "student"
},
{
"identifiant": "cvv1936a",
"prenom": "Kayla",
"nom": "CANTRELL",
"mail": "kayla.cantrell@etu.iut-tlse3.fr",
"mdp": "948a9aa9-f1d5-41d9-9697-045a82bf7a3e",
"droits": "student"
},
{
"identifiant": "mzh1955a",
"prenom": "Leblanc",
"nom": "WHEELER",
"mail": "leblanc.wheeler@etu.iut-tlse3.fr",
"mdp": "57757114-b1c4-4b66-9d5d-0c0ab076ec3d",
"droits": "student"
},
{
"identifiant": "pdi1904a",
"prenom": "Brady",
"nom": "ASHLEY",
"mail": "brady.ashley@etu.iut-tlse3.fr",
"mdp": "62313578-4af5-453f-bb14-970c0dcd8842",
"droits": "student"
},
{
"identifiant": "cuk1947a",
"prenom": "Baxter",
"nom": "HERRERA",
"mail": "baxter.herrera@etu.iut-tlse3.fr",
"mdp": "77db6fc0-b39a-4ee5-b0b7-be23e7dd28f6",
"droits": "student"
},
{
"identifiant": "non1968a",
"prenom": "Foster",
"nom": "TILLMAN",
"mail": "foster.tillman@etu.iut-tlse3.fr",
"mdp": "8c44e474-49a5-4135-b19a-865f449a768b",
"droits": "student"
},
{
"identifiant": "hmn1970a",
"prenom": "Levy",
"nom": "ARMSTRONG",
"mail": "levy.armstrong@etu.iut-tlse3.fr",
"mdp": "ed432400-b0f9-42fb-aabb-d24a10147a94",
"droits": "student"
},
{
"identifiant": "hth1975a",
"prenom": "Pruitt",
"nom": "FERGUSON",
"mail": "pruitt.ferguson@etu.iut-tlse3.fr",
"mdp": "eaf1645b-5eb3-40ed-9c7f-1d41cda82386",
"droits": "student"
},
{
"identifiant": "liw1940a",
"prenom": "Middleton",
"nom": "WATERS",
"mail": "middleton.waters@etu.iut-tlse3.fr",
"mdp": "0f6f7e0a-9ecf-4ee8-b8b0-95dcbe57e94e",
"droits": "student"
},
{
"identifiant": "dtg1946a",
"prenom": "Ruiz",
"nom": "WILKERSON",
"mail": "ruiz.wilkerson@etu.iut-tlse3.fr",
"mdp": "afc6fc1d-8695-4b5f-8f34-2ea17fdf85ae",
"droits": "student"
},
{
"identifiant": "oxz1985a",
"prenom": "Paul",
"nom": "GROSS",
"mail": "paul.gross@etu.iut-tlse3.fr",
"mdp": "c56b772c-a472-469a-8aec-fc26773826f2",
"droits": "student"
},
{
"identifiant": "ono1984a",
"prenom": "Kitty",
"nom": "SANFORD",
"mail": "kitty.sanford@etu.iut-tlse3.fr",
"mdp": "925f58ce-794b-4318-aa1f-51a03ca2bc4f",
"droits": "student"
},
{
"identifiant": "auy1966a",
"prenom": "Bobbi",
"nom": "PRATT",
"mail": "bobbi.pratt@etu.iut-tlse3.fr",
"mdp": "55b7b267-e7bc-4742-a0c2-71e910913c84",
"droits": "student"
},
{
"identifiant": "dui1946a",
"prenom": "Burns",
"nom": "COMPTON",
"mail": "burns.compton@etu.iut-tlse3.fr",
"mdp": "ccba19e5-a67e-458a-bcdb-d5565b3952a2",
"droits": "student"
},
{
"identifiant": "cyw1979a",
"prenom": "Zamora",
"nom": "RIDDLE",
"mail": "zamora.riddle@etu.iut-tlse3.fr",
"mdp": "40160f4f-5fea-4648-b2d0-239db6d927b7",
"droits": "student"
},
{
"identifiant": "pfv1965a",
"prenom": "Francine",
"nom": "COMBS",
"mail": "francine.combs@etu.iut-tlse3.fr",
"mdp": "235ef6a4-02e2-4d50-b519-93b14fb1306a",
"droits": "student"
},
{
"identifiant": "oqz1937a",
"prenom": "Morse",
"nom": "MICHAEL",
"mail": "morse.michael@etu.iut-tlse3.fr",
"mdp": "8ec716fd-2479-4d1a-b436-c29ded017ad1",
"droits": "student"
},
{
"identifiant": "aft1950a",
"prenom": "Rachel",
"nom": "DAVENPORT",
"mail": "rachel.davenport@etu.iut-tlse3.fr",
"mdp": "8f0bf05c-acf6-4992-82c9-47aaa79c279b",
"droits": "student"
},
{
"identifiant": "bae1943a",
"prenom": "Shaw",
"nom": "GOFF",
"mail": "shaw.goff@etu.iut-tlse3.fr",
"mdp": "a3c8e161-da01-4eb2-b4bb-75bd6632d8a8",
"droits": "student"
},
{
"identifiant": "kul1903a",
"prenom": "Magdalena",
"nom": "SIMON",
"mail": "magdalena.simon@etu.iut-tlse3.fr",
"mdp": "d47aa9ea-2458-4954-9b3d-38a92fc95352",
"droits": "student"
},
{
"identifiant": "rmj1965a",
"prenom": "Bridges",
"nom": "ROSALES",
"mail": "bridges.rosales@etu.iut-tlse3.fr",
"mdp": "fc5c6d48-2296-48fd-b3f0-49f22c2af78e",
"droits": "student"
},
{
"identifiant": "yyt1926a",
"prenom": "Bryant",
"nom": "CHANEY",
"mail": "bryant.chaney@etu.iut-tlse3.fr",
"mdp": "a0a8c49b-13b5-42fd-b643-44e2aaf8cd65",
"droits": "student"
},
{
"identifiant": "ktz1997a",
"prenom": "Mcgowan",
"nom": "COHEN",
"mail": "mcgowan.cohen@etu.iut-tlse3.fr",
"mdp": "20ed35e7-a5b8-4ebd-8a7e-506f99ae20ac",
"droits": "student"
},
{
"identifiant": "hku1995a",
"prenom": "Roslyn",
"nom": "MURPHY",
"mail": "roslyn.murphy@etu.iut-tlse3.fr",
"mdp": "ff26b118-0c7e-428c-9a63-c31891366a1a",
"droits": "student"
},
{
"identifiant": "zgy1948a",
"prenom": "Emily",
"nom": "ALVARADO",
"mail": "emily.alvarado@etu.iut-tlse3.fr",
"mdp": "dc42abea-f17a-4172-bebe-33d25d0ebe8e",
"droits": "student"
},
{
"identifiant": "vau1957a",
"prenom": "Kathy",
"nom": "STOUT",
"mail": "kathy.stout@etu.iut-tlse3.fr",
"mdp": "75eb8158-e324-4f05-9176-db7c2cdb6cb0",
"droits": "student"
},
{
"identifiant": "hsx1927a",
"prenom": "Irene",
"nom": "MONROE",
"mail": "irene.monroe@etu.iut-tlse3.fr",
"mdp": "25db4cbf-0afc-4343-9909-4ffd96443b7a",
"droits": "student"
},
{
"identifiant": "eca1977a",
"prenom": "Hope",
"nom": "WILSON",
"mail": "hope.wilson@etu.iut-tlse3.fr",
"mdp": "f7623f39-c177-46f5-ad02-9a52e14ded1c",
"droits": "student"
},
{
"identifiant": "wpa1966a",
"prenom": "Collier",
"nom": "ENGLISH",
"mail": "collier.english@etu.iut-tlse3.fr",
"mdp": "e6e23a50-17d4-42ca-804c-d6331143d441",
"droits": "student"
},
{
"identifiant": "qoe1974a",
"prenom": "Raquel",
"nom": "CUNNINGHAM",
"mail": "raquel.cunningham@etu.iut-tlse3.fr",
"mdp": "bd420e39-5b69-4950-9638-eff22f293a00",
"droits": "student"
},
{
"identifiant": "tkz1955a",
"prenom": "Nora",
"nom": "BREWER",
"mail": "nora.brewer@etu.iut-tlse3.fr",
"mdp": "f19df613-1e90-432a-86fe-da18f629eaf2",
"droits": "student"
},
{
"identifiant": "wnx1995a",
"prenom": "Lorraine",
"nom": "PADILLA",
"mail": "lorraine.padilla@etu.iut-tlse3.fr",
"mdp": "c28316db-3b09-4749-8e4b-6127a4501fa8",
"droits": "student"
},
{
"identifiant": "sft1994a",
"prenom": "Norris",
"nom": "BROCK",
"mail": "norris.brock@etu.iut-tlse3.fr",
"mdp": "25f8ea48-770b-4f83-97d8-62dc9d85bf03",
"droits": "student"
},
{
"identifiant": "vgb1979a",
"prenom": "Baird",
"nom": "FORD",
"mail": "baird.ford@etu.iut-tlse3.fr",
"mdp": "4824985e-f5a3-4713-8c58-4c2256dd3e62",
"droits": "student"
},
{
"identifiant": "wbt1993a",
"prenom": "Goodman",
"nom": "PAUL",
"mail": "goodman.paul@etu.iut-tlse3.fr",
"mdp": "e005d13a-4bbe-4d23-9078-dcba9c59d9b6",
"droits": "student"
},
{
"identifiant": "xtb1903a",
"prenom": "Kelly",
"nom": "FLYNN",
"mail": "kelly.flynn@etu.iut-tlse3.fr",
"mdp": "22094e3b-af6d-4da3-bcde-b2c2c8ac5049",
"droits": "student"
},
{
"identifiant": "msj1985a",
"prenom": "Ball",
"nom": "AVILA",
"mail": "ball.avila@etu.iut-tlse3.fr",
"mdp": "b3106552-2158-4bc2-9fe8-84ea110e6d8d",
"droits": "student"
},
{
"identifiant": "wvn1982a",
"prenom": "Sears",
"nom": "WELCH",
"mail": "sears.welch@etu.iut-tlse3.fr",
"mdp": "8ce7381c-082f-4a2b-8d6d-0627977f14e6",
"droits": "student"
},
{
"identifiant": "psg1965a",
"prenom": "Knapp",
"nom": "STEPHENS",
"mail": "knapp.stephens@etu.iut-tlse3.fr",
"mdp": "f0123274-da67-47ec-8d2d-9a386f8f4303",
"droits": "student"
},
{
"identifiant": "hpa1908a",
"prenom": "Jacklyn",
"nom": "BYRD",
"mail": "jacklyn.byrd@etu.iut-tlse3.fr",
"mdp": "7f13f262-2785-4888-a1b2-2995254103c5",
"droits": "student"
},
{
"identifiant": "maq1980a",
"prenom": "Cook",
"nom": "DUNN",
"mail": "cook.dunn@etu.iut-tlse3.fr",
"mdp": "7d379650-7511-4c4c-896b-328c3d4549d8",
"droits": "student"
},
{
"identifiant": "agq1929a",
"prenom": "Althea",
"nom": "POOLE",
"mail": "althea.poole@etu.iut-tlse3.fr",
"mdp": "3713d843-72a0-482a-aaab-bd2764eb4df4",
"droits": "student"
},
{
"identifiant": "gwe1975a",
"prenom": "Helen",
"nom": "HICKS",
"mail": "helen.hicks@etu.iut-tlse3.fr",
"mdp": "d17c1b03-487a-4078-8670-16c89b97af7b",
"droits": "student"
},
{
"identifiant": "gdb1939a",
"prenom": "Kate",
"nom": "NOEL",
"mail": "kate.noel@etu.iut-tlse3.fr",
"mdp": "18f9fd7c-0192-4e65-a1d8-4dca7edac32e",
"droits": "student"
},
{
"identifiant": "jrc1974a",
"prenom": "Pierce",
"nom": "CHURCH",
"mail": "pierce.church@etu.iut-tlse3.fr",
"mdp": "82a37551-a563-4981-85ea-15fe50832fb1",
"droits": "student"
},
{
"identifiant": "jfa1965a",
"prenom": "Lolita",
"nom": "FARRELL",
"mail": "lolita.farrell@etu.iut-tlse3.fr",
"mdp": "bf1b2d0e-02a2-4c78-bf1b-2c7c36964d19",
"droits": "student"
},
{
"identifiant": "buz1982a",
"prenom": "Kemp",
"nom": "JACOBS",
"mail": "kemp.jacobs@etu.iut-tlse3.fr",
"mdp": "a7a14ee0-ae59-4442-a231-e7663575123c",
"droits": "student"
},
{
"identifiant": "mhr1952a",
"prenom": "Socorro",
"nom": "BLAIR",
"mail": "socorro.blair@etu.iut-tlse3.fr",
"mdp": "c4b4de9e-ce49-46d3-bd55-4d3be9447598",
"droits": "student"
},
{
"identifiant": "pos1958a",
"prenom": "Juliana",
"nom": "FULLER",
"mail": "juliana.fuller@etu.iut-tlse3.fr",
"mdp": "4b66d175-d740-41c5-a5d1-663a0840c728",
"droits": "student"
},
{
"identifiant": "xdi1926a",
"prenom": "Ferrell",
"nom": "SALAS",
"mail": "ferrell.salas@etu.iut-tlse3.fr",
"mdp": "61d323c5-e517-44fd-b9fa-fd145e2b2d62",
"droits": "student"
},
{
"identifiant": "awl1901a",
"prenom": "Clare",
"nom": "ROLLINS",
"mail": "clare.rollins@etu.iut-tlse3.fr",
"mdp": "be1afdea-248c-4b5b-b55d-6ba6bff09439",
"droits": "student"
},
{
"identifiant": "uix1942a",
"prenom": "Kristen",
"nom": "GIBSON",
"mail": "kristen.gibson@etu.iut-tlse3.fr",
"mdp": "2ed013f8-b881-4c76-a6e9-70f2716ddb42",
"droits": "student"
},
{
"identifiant": "ngz1932a",
"prenom": "Faye",
"nom": "PAYNE",
"mail": "faye.payne@etu.iut-tlse3.fr",
"mdp": "a78506a7-0b4e-4542-92ea-0585539eed14",
"droits": "student"
},
{
"identifiant": "kpf1942a",
"prenom": "Strickland",
"nom": "ROACH",
"mail": "strickland.roach@etu.iut-tlse3.fr",
"mdp": "d687a554-7e2e-4bd9-9858-12e4661a2959",
"droits": "student"
},
{
"identifiant": "aiv1989a",
"prenom": "Concetta",
"nom": "ROBLES",
"mail": "concetta.robles@etu.iut-tlse3.fr",
"mdp": "c45dda76-735b-4e05-b99d-10194403d323",
"droits": "student"
},
{
"identifiant": "sjw1936a",
"prenom": "Cross",
"nom": "MEYERS",
"mail": "cross.meyers@etu.iut-tlse3.fr",
"mdp": "f21bf5f1-918f-4b56-b9a0-861a4067505a",
"droits": "student"
},
{
"identifiant": "fei1944a",
"prenom": "Esperanza",
"nom": "TERRELL",
"mail": "esperanza.terrell@etu.iut-tlse3.fr",
"mdp": "8e011d85-ca8c-43bd-8706-21c099243a0c",
"droits": "student"
},
{
"identifiant": "zge1937a",
"prenom": "Ella",
"nom": "GARZA",
"mail": "ella.garza@etu.iut-tlse3.fr",
"mdp": "e68937a7-b587-453d-9aa9-bc7cc9aafb6f",
"droits": "student"
},
{
"identifiant": "rpl1936a",
"prenom": "Tamera",
"nom": "MOSES",
"mail": "tamera.moses@etu.iut-tlse3.fr",
"mdp": "92ba2ace-8d63-4cae-bcf1-f8c36d4a6368",
"droits": "student"
},
{
"identifiant": "hrv1902a",
"prenom": "Irwin",
"nom": "HOUSTON",
"mail": "irwin.houston@etu.iut-tlse3.fr",
"mdp": "4352ca7f-0391-43bf-8f2b-8df1337c46e8",
"droits": "student"
},
{
"identifiant": "djo1928a",
"prenom": "Vaughn",
"nom": "DURHAM",
"mail": "vaughn.durham@etu.iut-tlse3.fr",
"mdp": "bfe74f7f-936c-4e09-b348-d03f6cf8131b",
"droits": "student"
},
{
"identifiant": "scm1996a",
"prenom": "Dotson",
"nom": "SANDOVAL",
"mail": "dotson.sandoval@etu.iut-tlse3.fr",
"mdp": "5c5d2861-e968-4fdd-a975-20210f1d06a4",
"droits": "student"
},
{
"identifiant": "ylq1926a",
"prenom": "Stein",
"nom": "SILVA",
"mail": "stein.silva@etu.iut-tlse3.fr",
"mdp": "23dc5c90-4b08-4ea6-bf43-eb60d7ec7414",
"droits": "student"
},
{
"identifiant": "eme1913a",
"prenom": "Booth",
"nom": "HENRY",
"mail": "booth.henry@etu.iut-tlse3.fr",
"mdp": "1391a307-4181-46f3-8f52-424255ed3d84",
"droits": "student"
},
{
"identifiant": "otv1930a",
"prenom": "Odonnell",
"nom": "BEASLEY",
"mail": "odonnell.beasley@etu.iut-tlse3.fr",
"mdp": "8e079e14-d637-482c-9937-38d4d67c337d",
"droits": "student"
},
{
"identifiant": "cda1951a",
"prenom": "Mcpherson",
"nom": "ANTHONY",
"mail": "mcpherson.anthony@etu.iut-tlse3.fr",
"mdp": "27f6c12c-8aba-40a1-b918-5e1802dd0e57",
"droits": "student"
},
{
"identifiant": "eee1933a",
"prenom": "Stacey",
"nom": "LITTLE",
"mail": "stacey.little@etu.iut-tlse3.fr",
"mdp": "9c6fdab4-5cc4-4e8b-a28f-860c4a3c0a54",
"droits": "student"
},
{
"identifiant": "kfx1995a",
"prenom": "Mitzi",
"nom": "SCHROEDER",
"mail": "mitzi.schroeder@etu.iut-tlse3.fr",
"mdp": "2d6e7b0a-3c90-485e-a603-0b1a8748ce03",
"droits": "student"
},
{
"identifiant": "jgd1966a",
"prenom": "Janelle",
"nom": "BURKS",
"mail": "janelle.burks@etu.iut-tlse3.fr",
"mdp": "cbbf96b9-25fc-458c-b3ac-ff74fcf15afb",
"droits": "student"
},
{
"identifiant": "rwg1909a",
"prenom": "Kelly",
"nom": "WALLACE",
"mail": "kelly.wallace@etu.iut-tlse3.fr",
"mdp": "7ca32e62-b150-4135-a7d8-5eb72b9a2e8b",
"droits": "student"
},
{
"identifiant": "ngw1997a",
"prenom": "Booker",
"nom": "LOPEZ",
"mail": "booker.lopez@etu.iut-tlse3.fr",
"mdp": "866900e1-90eb-4a3b-9c48-6ef948483d52",
"droits": "student"
},
{
"identifiant": "obg1973a",
"prenom": "Lynch",
"nom": "CHANDLER",
"mail": "lynch.chandler@etu.iut-tlse3.fr",
"mdp": "9eb70aff-5b1b-4363-85cc-ecfa505dbd55",
"droits": "student"
},
{
"identifiant": "hzg1935a",
"prenom": "Clarice",
"nom": "ORTEGA",
"mail": "clarice.ortega@etu.iut-tlse3.fr",
"mdp": "ed5dbd13-a27b-4419-8045-4378c56df2bd",
"droits": "student"
},
{
"identifiant": "iyh1918a",
"prenom": "Tucker",
"nom": "TRAN",
"mail": "tucker.tran@etu.iut-tlse3.fr",
"mdp": "a8cdb727-0da8-4137-9c36-aaba530dc798",
"droits": "student"
},
{
"identifiant": "tdc1978a",
"prenom": "Bird",
"nom": "TRAVIS",
"mail": "bird.travis@etu.iut-tlse3.fr",
"mdp": "c8850d9a-a8cd-46ba-9771-2aeac5abe8c5",
"droits": "student"
},
{
"identifiant": "swd1951a",
"prenom": "Jenny",
"nom": "GRAHAM",
"mail": "jenny.graham@etu.iut-tlse3.fr",
"mdp": "167b942a-5d6c-40d7-b787-190aa19ebf71",
"droits": "student"
},
{
"identifiant": "vdj1905a",
"prenom": "Dean",
"nom": "ESPINOZA",
"mail": "dean.espinoza@etu.iut-tlse3.fr",
"mdp": "97b5fb5d-81c7-4d98-9a50-4bb356c53329",
"droits": "student"
},
{
"identifiant": "bit1985a",
"prenom": "Rosalind",
"nom": "FISHER",
"mail": "rosalind.fisher@etu.iut-tlse3.fr",
"mdp": "a457fdbc-a30c-4d38-8c2b-5595bd56eda2",
"droits": "student"
},
{
"identifiant": "iah1936a",
"prenom": "Franklin",
"nom": "SLATER",
"mail": "franklin.slater@etu.iut-tlse3.fr",
"mdp": "981c0270-fcfd-4e6f-9445-82ef2a703651",
"droits": "student"
},
{
"identifiant": "ypt1989a",
"prenom": "Simon",
"nom": "MORALES",
"mail": "simon.morales@etu.iut-tlse3.fr",
"mdp": "426aa049-96d7-4c24-9ef6-6021f373e47f",
"droits": "student"
},
{
"identifiant": "ljc1902a",
"prenom": "Lisa",
"nom": "CLEMENTS",
"mail": "lisa.clements@etu.iut-tlse3.fr",
"mdp": "815f43eb-9e1d-4392-ab3f-23be4cd15a7f",
"droits": "student"
},
{
"identifiant": "hcc1997a",
"prenom": "Madeline",
"nom": "MARKS",
"mail": "madeline.marks@etu.iut-tlse3.fr",
"mdp": "5d4e3567-32f7-4c94-b807-a02627d434c1",
"droits": "student"
},
{
"identifiant": "bky1924a",
"prenom": "Gena",
"nom": "ENGLAND",
"mail": "gena.england@etu.iut-tlse3.fr",
"mdp": "85a84b58-2809-41ec-9feb-975fe1c8d158",
"droits": "student"
},
{
"identifiant": "vul1953a",
"prenom": "Robyn",
"nom": "BATES",
"mail": "robyn.bates@etu.iut-tlse3.fr",
"mdp": "8817dcef-cd68-45b7-843e-394dd93d8c73",
"droits": "student"
},
{
"identifiant": "ssr1906a",
"prenom": "Howell",
"nom": "FAULKNER",
"mail": "howell.faulkner@etu.iut-tlse3.fr",
"mdp": "be683631-8f66-484f-b324-9a1494a35d5e",
"droits": "student"
},
{
"identifiant": "yjh1944a",
"prenom": "Thompson",
"nom": "SOLIS",
"mail": "thompson.solis@etu.iut-tlse3.fr",
"mdp": "9774f86d-42a7-4617-9227-ccd3f6d33f01",
"droits": "student"
},
{
"identifiant": "ste1994a",
"prenom": "Allison",
"nom": "CALLAHAN",
"mail": "allison.callahan@etu.iut-tlse3.fr",
"mdp": "836461f5-f10d-47ff-9158-bb0b143a62f3",
"droits": "student"
},
{
"identifiant": "ypo1964a",
"prenom": "Marylou",
"nom": "HOPKINS",
"mail": "marylou.hopkins@etu.iut-tlse3.fr",
"mdp": "932b8588-b836-4872-bc7f-778194e7b859",
"droits": "student"
}
]

View File

@ -46,6 +46,15 @@ require_once __ROOT__.'/manager/security.php';
debug();
// var_dump(DataBase::getInstance()->getSemestreInfoFromTime( strtotime('2017-01-31') ));
// $ts = time();
// $date1 = date('Y-m-d', $ts);
// $date2 = date('Y-m-d', strtotime($date1.' - 1 year'));
// var_dump( $date1 );
// var_dump( $date2 );
/* [1] On récupère le semestre d'un étudiant
=====================================================*/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 594 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

View File

@ -2,10 +2,10 @@
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 22, 2015 at 04:33 PM
-- Server version: 5.5.46-0ubuntu0.14.04.2
-- PHP Version: 5.5.9-1ubuntu4.14
-- Client: localhost
-- Généré le: Ven 08 Janvier 2016 à 10:51
-- Version du serveur: 5.5.46-0ubuntu0.14.04.2
-- Version de PHP: 5.5.9-1ubuntu4.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
@ -17,13 +17,13 @@ SET time_zone = "+00:00";
/*!40101 SET NAMES utf8 */;
--
-- Database: `sid2`
-- Base de données: `sid2`
--
-- --------------------------------------------------------
--
-- Table structure for table `appartenance`
-- Structure de la table `appartenance`
--
CREATE TABLE IF NOT EXISTS `appartenance` (
@ -31,6 +31,7 @@ CREATE TABLE IF NOT EXISTS `appartenance` (
`id_etudiant` varchar(50) NOT NULL,
`id_groupe` int(11) NOT NULL,
`id_semestre` int(11) NOT NULL,
`mention` varchar(3) DEFAULT NULL,
PRIMARY KEY (`id_appartenance`),
KEY `id_etudiant` (`id_etudiant`),
KEY `id_groupe` (`id_groupe`),
@ -39,10 +40,10 @@ CREATE TABLE IF NOT EXISTS `appartenance` (
KEY `id_etudiant_2` (`id_etudiant`),
KEY `id_groupe_2` (`id_groupe`),
KEY `id_semestre_2` (`id_semestre`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=104 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5651 ;
--
-- RELATIONS FOR TABLE `appartenance`:
-- RELATIONS POUR LA TABLE `appartenance`:
-- `id_etudiant`
-- `utilisateur` -> `identifiant`
-- `id_groupe`
@ -51,117 +52,10 @@ CREATE TABLE IF NOT EXISTS `appartenance` (
-- `semestre` -> `id_semestre`
--
--
-- Dumping data for table `appartenance`
--
INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_semestre`) VALUES
(1, 'mrd1609a', 2, 2),
(2, 'ihf1991a', 8, 4),
(3, 'mma1990a', 13, 1),
(4, 'lme1952a', 15, 3),
(5, 'imf1922a', 21, 1),
(6, 'gyy1983a', 4, 4),
(7, 'otm1902a', 14, 2),
(8, 'tnx1949a', 12, 4),
(9, 'sjl1937a', 4, 4),
(10, 'anj1991a', 16, 4),
(11, 'xdh1989a', 20, 4),
(12, 'agl1956a', 3, 3),
(13, 'mhu1946a', 21, 1),
(14, 'cvv1936a', 14, 2),
(15, 'mzh1955a', 6, 2),
(16, 'pdi1904a', 19, 3),
(17, 'cuk1947a', 10, 2),
(18, 'non1968a', 22, 2),
(19, 'hmn1970a', 1, 1),
(20, 'hth1975a', 5, 1),
(21, 'liw1940a', 6, 2),
(22, 'dtg1946a', 18, 2),
(23, 'oxz1985a', 7, 3),
(24, 'ono1984a', 14, 2),
(25, 'auy1966a', 15, 3),
(26, 'dui1946a', 1, 1),
(27, 'cyw1979a', 24, 4),
(28, 'pfv1965a', 3, 3),
(29, 'oqz1937a', 24, 4),
(30, 'aft1950a', 7, 3),
(31, 'bae1943a', 8, 4),
(32, 'kul1903a', 9, 1),
(33, 'rmj1965a', 11, 3),
(34, 'yyt1926a', 17, 1),
(35, 'ktz1997a', 6, 2),
(36, 'hku1995a', 17, 1),
(37, 'zgy1948a', 10, 2),
(38, 'vau1957a', 23, 3),
(39, 'hsx1927a', 19, 3),
(40, 'eca1977a', 3, 3),
(41, 'wpa1966a', 20, 4),
(42, 'qoe1974a', 20, 4),
(43, 'tkz1955a', 11, 3),
(44, 'wnx1995a', 16, 4),
(45, 'sft1994a', 2, 2),
(46, 'vgb1979a', 11, 3),
(47, 'wbt1993a', 19, 3),
(48, 'xtb1903a', 11, 3),
(49, 'msj1985a', 13, 1),
(50, 'wvn1982a', 9, 1),
(51, 'psg1965a', 4, 4),
(52, 'hpa1908a', 5, 1),
(53, 'maq1980a', 19, 3),
(54, 'agq1929a', 13, 1),
(55, 'gwe1975a', 18, 2),
(56, 'gdb1939a', 7, 3),
(57, 'jrc1974a', 10, 2),
(58, 'jfa1965a', 1, 1),
(59, 'buz1982a', 24, 4),
(60, 'mhr1952a', 7, 3),
(61, 'pos1958a', 11, 3),
(62, 'xdi1926a', 3, 3),
(63, 'awl1901a', 17, 1),
(64, 'uix1942a', 7, 3),
(65, 'ngz1932a', 19, 3),
(66, 'kpf1942a', 15, 3),
(67, 'aiv1989a', 21, 1),
(68, 'sjw1936a', 19, 3),
(69, 'fei1944a', 23, 3),
(70, 'zge1937a', 21, 1),
(71, 'rpl1936a', 19, 3),
(72, 'hrv1902a', 22, 2),
(73, 'djo1928a', 9, 1),
(74, 'scm1996a', 5, 1),
(75, 'ylq1926a', 18, 2),
(76, 'eme1913a', 23, 3),
(77, 'otv1930a', 1, 1),
(78, 'cda1951a', 5, 1),
(79, 'eee1933a', 17, 1),
(80, 'kfx1995a', 18, 2),
(81, 'jgd1966a', 3, 3),
(82, 'rwg1909a', 14, 2),
(83, 'ngw1997a', 17, 1),
(84, 'obg1973a', 2, 2),
(85, 'hzg1935a', 12, 4),
(86, 'iyh1918a', 3, 3),
(87, 'tdc1978a', 13, 1),
(88, 'swd1951a', 2, 2),
(89, 'vdj1905a', 22, 2),
(90, 'bit1985a', 19, 3),
(91, 'iah1936a', 1, 1),
(92, 'ypt1989a', 7, 3),
(93, 'ljc1902a', 17, 1),
(94, 'hcc1997a', 7, 3),
(95, 'bky1924a', 22, 2),
(96, 'vul1953a', 5, 1),
(97, 'ssr1906a', 9, 1),
(98, 'yjh1944a', 11, 3),
(99, 'ste1994a', 10, 2),
(100, 'ypo1964a', 7, 3),
(103, 'mrd1609a', 1, 1);
-- --------------------------------------------------------
--
-- Table structure for table `controle`
-- Structure de la table `controle`
--
CREATE TABLE IF NOT EXISTS `controle` (
@ -171,13 +65,13 @@ CREATE TABLE IF NOT EXISTS `controle` (
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`base` int(11) NOT NULL,
`coefficient` float NOT NULL,
`date_publication` date NOT NULL,
`publication` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id_controle`),
KEY `id_mcc_module` (`id_mcc_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=64 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1309 ;
--
-- RELATIONS FOR TABLE `controle`:
-- RELATIONS POUR LA TABLE `controle`:
-- `id_mcc_module`
-- `mcc_module` -> `id_mcc_module`
--
@ -185,23 +79,27 @@ CREATE TABLE IF NOT EXISTS `controle` (
-- --------------------------------------------------------
--
-- Table structure for table `enseignement`
-- Structure de la table `enseignement`
--
CREATE TABLE IF NOT EXISTS `enseignement` (
`id_enseignement` int(11) NOT NULL AUTO_INCREMENT,
`id_enseignant` varchar(50) NOT NULL,
`id_mcc_module` int(11) NOT NULL,
`id_groupe` int(11) NOT NULL,
`correcteur` tinyint(4) NOT NULL,
PRIMARY KEY (`id_enseignement`),
KEY `id_enseignant` (`id_enseignant`),
KEY `id_mcc_module` (`id_mcc_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
KEY `id_mcc_module` (`id_mcc_module`),
KEY `id_groupe` (`id_groupe`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=229 ;
--
-- RELATIONS FOR TABLE `enseignement`:
-- RELATIONS POUR LA TABLE `enseignement`:
-- `id_enseignant`
-- `utilisateur` -> `identifiant`
-- `id_groupe`
-- `groupe` -> `id_groupe`
-- `id_mcc_module`
-- `mcc_module` -> `id_mcc_module`
--
@ -209,39 +107,31 @@ CREATE TABLE IF NOT EXISTS `enseignement` (
-- --------------------------------------------------------
--
-- Table structure for table `formation`
-- Structure de la table `formation`
--
CREATE TABLE IF NOT EXISTS `formation` (
`id_formation` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`nom` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`nb_semestres` int(11) NOT NULL,
`nb_semestres` int(11) NOT NULL DEFAULT '2',
PRIMARY KEY (`id_formation`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
--
-- Dumping data for table `formation`
--
INSERT INTO `formation` (`id_formation`, `code`, `nom`, `nb_semestres`) VALUES
(1, 'ITINN1', 'DUT 1A INFORMATIQUE', 2),
(2, 'ITINN2', 'DUT 2A INFORMATIQUE', 2);
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=106 ;
-- --------------------------------------------------------
--
-- Table structure for table `groupe`
-- Structure de la table `groupe`
--
CREATE TABLE IF NOT EXISTS `groupe` (
`id_groupe` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_groupe`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=165 ;
--
-- Dumping data for table `groupe`
-- Contenu de la table `groupe`
--
INSERT INTO `groupe` (`id_groupe`, `nom`) VALUES
@ -268,12 +158,143 @@ INSERT INTO `groupe` (`id_groupe`, `nom`) VALUES
(21, 'S1F'),
(22, 'S2F'),
(23, 'S3F'),
(24, 'S4F');
(24, 'S4F'),
(34, 'INGBD1 S1'),
(35, 'INSIQ1 S1'),
(36, 'ITINAS S1'),
(37, 'ITINN1 S1'),
(38, 'ITINN2 S1'),
(39, 'ITINS1 S1'),
(40, 'ITINT2 S1'),
(41, 'ITINT3 S1'),
(42, 'S1M'),
(43, 'S2M'),
(44, 'S3M'),
(45, 'S4M'),
(46, 'S5M'),
(47, 'S6M'),
(48, 'S7M'),
(49, 'S8M'),
(50, 'S9M'),
(51, 'S10M'),
(52, 'S1G'),
(53, 'S1H'),
(54, 'S1I'),
(55, 'S1J'),
(56, 'S1K'),
(57, 'S1L'),
(58, 'S2G'),
(59, 'S2H'),
(60, 'S2I'),
(61, 'S2J'),
(62, 'S2K'),
(63, 'S2L'),
(64, 'S3G'),
(65, 'S3H'),
(66, 'S3I'),
(67, 'S3J'),
(68, 'S3K'),
(69, 'S3L'),
(70, 'S4G'),
(71, 'S4H'),
(72, 'S4I'),
(73, 'S4J'),
(74, 'S4K'),
(75, 'S4L'),
(76, 'S5A'),
(77, 'S5B'),
(78, 'S5C'),
(79, 'S5D'),
(80, 'S5E'),
(81, 'S5F'),
(82, 'S5G'),
(83, 'S5H'),
(84, 'S5I'),
(85, 'S5J'),
(86, 'S5K'),
(87, 'S5L'),
(88, 'S6A'),
(89, 'S6B'),
(90, 'S6C'),
(91, 'S6D'),
(92, 'S6E'),
(93, 'S6F'),
(94, 'S6G'),
(95, 'S6H'),
(96, 'S6I'),
(97, 'S6J'),
(98, 'S6K'),
(99, 'S6L'),
(100, 'S7A'),
(101, 'S7B'),
(102, 'S7C'),
(103, 'S7D'),
(104, 'S7E'),
(105, 'S7F'),
(106, 'S7G'),
(107, 'S7H'),
(108, 'S7I'),
(109, 'S7J'),
(110, 'S7K'),
(111, 'S7L'),
(112, 'S8A'),
(113, 'S8B'),
(114, 'S8C'),
(115, 'S8D'),
(116, 'S8E'),
(117, 'S8F'),
(118, 'S8G'),
(119, 'S8H'),
(120, 'S8I'),
(121, 'S8J'),
(122, 'S8K'),
(123, 'S8L'),
(124, 'S9A'),
(125, 'S9B'),
(126, 'S9C'),
(127, 'S9D'),
(128, 'S9E'),
(129, 'S9F'),
(130, 'S9G'),
(131, 'S9H'),
(132, 'S9I'),
(133, 'S9J'),
(134, 'S9K'),
(135, 'S9L'),
(136, 'S10A'),
(137, 'S10B'),
(138, 'S10C'),
(139, 'S10D'),
(140, 'S10E'),
(141, 'S10F'),
(142, 'S10G'),
(143, 'S10H'),
(144, 'S10I'),
(145, 'S10J'),
(146, 'S10K'),
(147, 'S10L'),
(148, 'INGBD1 S2'),
(149, 'INSIQ1 S2'),
(150, 'ITINAS S2'),
(151, 'ITINN1 S2'),
(152, 'ITINN2 S2'),
(153, 'ITINS1 S2'),
(154, 'ITINT2 S2'),
(155, 'ITINT3 S2'),
(156, 'ITINN1 S0'),
(157, 'INGBD1 S10'),
(158, 'INSIQ1 S10'),
(159, 'ITINAS S10'),
(160, 'ITINN1 S10'),
(161, 'ITINN2 S10'),
(162, 'ITINS1 S10'),
(163, 'ITINT2 S10'),
(164, 'ITINT3 S10');
-- --------------------------------------------------------
--
-- Table structure for table `mcc_module`
-- Structure de la table `mcc_module`
--
CREATE TABLE IF NOT EXISTS `mcc_module` (
@ -284,10 +305,10 @@ CREATE TABLE IF NOT EXISTS `mcc_module` (
PRIMARY KEY (`id_mcc_module`),
KEY `id_mcc_ue` (`id_mcc_ue`),
KEY `id_module` (`id_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=40 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=599 ;
--
-- RELATIONS FOR TABLE `mcc_module`:
-- RELATIONS POUR LA TABLE `mcc_module`:
-- `id_mcc_ue`
-- `mcc_ue` -> `id_mcc_ue`
-- `id_module`
@ -297,7 +318,7 @@ CREATE TABLE IF NOT EXISTS `mcc_module` (
-- --------------------------------------------------------
--
-- Table structure for table `mcc_ue`
-- Structure de la table `mcc_ue`
--
CREATE TABLE IF NOT EXISTS `mcc_ue` (
@ -308,10 +329,10 @@ CREATE TABLE IF NOT EXISTS `mcc_ue` (
PRIMARY KEY (`id_mcc_ue`),
KEY `id_semestre` (`id_semestre`),
KEY `id_ue` (`id_ue`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=93 ;
--
-- RELATIONS FOR TABLE `mcc_ue`:
-- RELATIONS POUR LA TABLE `mcc_ue`:
-- `id_semestre`
-- `semestre` -> `id_semestre`
-- `id_ue`
@ -321,7 +342,7 @@ CREATE TABLE IF NOT EXISTS `mcc_ue` (
-- --------------------------------------------------------
--
-- Table structure for table `module`
-- Structure de la table `module`
--
CREATE TABLE IF NOT EXISTS `module` (
@ -329,12 +350,12 @@ CREATE TABLE IF NOT EXISTS `module` (
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=222 ;
-- --------------------------------------------------------
--
-- Table structure for table `note`
-- Structure de la table `note`
--
CREATE TABLE IF NOT EXISTS `note` (
@ -345,10 +366,10 @@ CREATE TABLE IF NOT EXISTS `note` (
PRIMARY KEY (`id_note`),
KEY `id_appartenance` (`id_appartenance`),
KEY `id_controle` (`id_controle`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=493 ;
--
-- RELATIONS FOR TABLE `note`:
-- RELATIONS POUR LA TABLE `note`:
-- `id_appartenance`
-- `appartenance` -> `id_appartenance`
-- `id_controle`
@ -358,7 +379,7 @@ CREATE TABLE IF NOT EXISTS `note` (
-- --------------------------------------------------------
--
-- Table structure for table `semestre`
-- Structure de la table `semestre`
--
CREATE TABLE IF NOT EXISTS `semestre` (
@ -368,35 +389,41 @@ CREATE TABLE IF NOT EXISTS `semestre` (
`rang` tinyint(4) NOT NULL,
`annee` year(4) NOT NULL,
PRIMARY KEY (`id_semestre`),
UNIQUE KEY `rang` (`rang`,`annee`),
KEY `id_formation` (`id_formation`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=249 ;
--
-- RELATIONS FOR TABLE `semestre`:
-- RELATIONS POUR LA TABLE `semestre`:
-- `id_formation`
-- `formation` -> `id_formation`
--
-- --------------------------------------------------------
--
-- Dumping data for table `semestre`
-- Structure de la table `semestrepair`
--
INSERT INTO `semestre` (`id_semestre`, `id_formation`, `nom`, `rang`, `annee`) VALUES
(1, 1, 'S1', 1, 2015),
(2, 1, 'S2', 2, 2015),
(3, 2, 'S3', 3, 2015),
(4, 2, 'S4', 4, 2015),
(5, 1, 'S1', 1, 2016),
(6, 1, 'S2', 2, 2016),
(7, 2, 'S3', 3, 2016),
(8, 2, 'S4', 4, 2016),
(15, 1, 'S1', 1, 2017);
CREATE TABLE IF NOT EXISTS `semestrepair` (
`annee` varchar(4) NOT NULL,
`debut` date NOT NULL,
`milieu` date NOT NULL,
`fin` date NOT NULL,
UNIQUE KEY `annee` (`annee`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `semestrepair`
--
INSERT INTO `semestrepair` (`annee`, `debut`, `milieu`, `fin`) VALUES
('2015', '2015-09-01', '2016-01-31', '2016-07-01'),
('2016', '2016-09-01', '2017-01-31', '2017-07-01');
-- --------------------------------------------------------
--
-- Table structure for table `ue`
-- Structure de la table `ue`
--
CREATE TABLE IF NOT EXISTS `ue` (
@ -404,12 +431,12 @@ CREATE TABLE IF NOT EXISTS `ue` (
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_ue`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ;
-- --------------------------------------------------------
--
-- Table structure for table `utilisateur`
-- Structure de la table `utilisateur`
--
CREATE TABLE IF NOT EXISTS `utilisateur` (
@ -419,127 +446,27 @@ CREATE TABLE IF NOT EXISTS `utilisateur` (
`sexe` tinyint(1) NOT NULL DEFAULT '1',
`mail` varchar(50) NOT NULL,
`mdp` varchar(40) NOT NULL,
`droits` varchar(44) NOT NULL DEFAULT '[]',
`droits` varchar(44) NOT NULL DEFAULT 'student',
PRIMARY KEY (`identifiant`),
UNIQUE KEY `identifiant` (`identifiant`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `utilisateur`
-- Contenu de la table `utilisateur`
--
INSERT INTO `utilisateur` (`identifiant`, `prenom`, `nom`, `sexe`, `mail`, `mdp`, `droits`) VALUES
('admin', 'monsieur', 'administrateur', 1, 'admin@iut-tlse3.fr', 'lkjdsqlkjdlqksjdlqksjdqlksdjlqksjdqj', 'admin,teacher'),
('admin', 'monsieur', 'administrateur', 1, 'admin@iut-tlse3.fr', 'lkjdsqlkjdlqksjdlqksjdqlksdjlqksjdqj', 'teacher,admin'),
('admin2', 'madame', 'administratrice', 0, 'mme.admin@iut-tlse3.fr', 'lkjdsqlkjdlqksjdlqksjdqlksdjlqksjdqj', 'admin'),
('aft1950a', 'Rachel', 'DAVENPORT', 0, 'rachel.davenport@etu.iut-tlse3.fr', '68724b2da1b628fd37116d3abae9c4233aa9fa56', 'student'),
('agl1956a', 'Cruz', 'HOWE', 1, 'cruz.howe@etu.iut-tlse3.fr', 'c3f22ac779a9e0e276acdc9933cdcdb2f054e317', 'student'),
('agq1929a', 'Althea', 'POOLE', 1, 'althea.poole@etu.iut-tlse3.fr', 'f20feea8f16e481683d420f8c97c4366d4941f4c', 'student'),
('aiv1989a', 'Concetta', 'ROBLES', 1, 'concetta.robles@etu.iut-tlse3.fr', 'e3e642e4b47a582f3a4b3e20c4d9bf612add1824', 'student'),
('anj1991a', 'Katie', 'GUTIERREZ', 1, 'katie.gutierrez@etu.iut-tlse3.fr', '0e2a184f4a27976f6648dbad6f33ffaba193c190', 'student'),
('auy1966a', 'Bobbi', 'PRATT', 1, 'bobbi.pratt@etu.iut-tlse3.fr', 'bd01c0a7d116ac61a12cddf768de4384cb2ed382', 'student'),
('awl1901a', 'Clare', 'ROLLINS', 1, 'clare.rollins@etu.iut-tlse3.fr', '0294ff411362354abbad41829c27b5d42cbc4388', 'student'),
('bae1943a', 'Shaw', 'GOFF', 1, 'shaw.goff@etu.iut-tlse3.fr', '99636e590508ed14336cf5847dcd24302bd86908', 'student'),
('bit1985a', 'Rosalind', 'FISHER', 1, 'rosalind.fisher@etu.iut-tlse3.fr', 'bbba4cd89896d2d6bf5c8d33ce3b4af025d6165d', 'student'),
('bky1924a', 'Gena', 'ENGLAND', 1, 'gena.england@etu.iut-tlse3.fr', '89805c2213710c0f7c03954d1fb171b3aba3c107', 'student'),
('buz1982a', 'Kemp', 'JACOBS', 1, 'kemp.jacobs@etu.iut-tlse3.fr', 'eda25de06910b9bbeeebcd81421093f1163d5a2c', 'student'),
('cda1951a', 'Mcpherson', 'ANTHONY', 1, 'mcpherson.anthony@etu.iut-tlse3.fr', '928e8e07046c74f035b0bd0f84a6463133890006', 'student'),
('cuk1947a', 'Baxter', 'HERRERA', 1, 'baxter.herrera@etu.iut-tlse3.fr', '1e0927db69476aa8dad0e2f0b360aa142800b66c', 'student'),
('cvv1936a', 'Kayla', 'CANTRELL', 1, 'kayla.cantrell@etu.iut-tlse3.fr', '7c9976507ec461d729f8e48ccdf5b8e8418ae6fa', 'student'),
('cyw1979a', 'Zamora', 'RIDDLE', 0, 'zamora.riddle@etu.iut-tlse3.fr', '747582c758969846527f612f05ac525a82f2d67f', 'student'),
('djo1928a', 'Vaughn', 'DURHAM', 1, 'vaughn.durham@etu.iut-tlse3.fr', 'cd6d4eb78a2f2b4228913d8ca89ab95fba17a953', 'student'),
('dtg1946a', 'Ruiz', 'WILKERSON', 1, 'ruiz.wilkerson@etu.iut-tlse3.fr', '61fa79da89021355623584247fc5597b4a811c4a', 'student'),
('dui1946a', 'Burns', 'COMPTON', 1, 'burns.compton@etu.iut-tlse3.fr', '7efa228dda0181027eff80368fe5426321ffa40e', 'student'),
('eca1977a', 'Hope', 'WILSON', 1, 'hope.wilson@etu.iut-tlse3.fr', 'aa9f150450bed0a9c47d6d1b412e9af032da8fa9', 'student'),
('eee1933a', 'Stacey', 'LITTLE', 0, 'stacey.little@etu.iut-tlse3.fr', '31b9ae5ec7027c386807ca2e8212dcc26c3b087e', 'student'),
('eme1913a', 'Booth', 'HENRY', 1, 'booth.henry@etu.iut-tlse3.fr', '86fb4f37792e36d800265554310d21e59d624d4d', 'student'),
('fei1944a', 'Esperanza', 'TERRELL', 1, 'esperanza.terrell@etu.iut-tlse3.fr', '9800cde34ddf1e24c2b1e31f84d72f2f9de753c8', 'student'),
('gdb1939a', 'Kate', 'NOEL', 1, 'kate.noel@etu.iut-tlse3.fr', '918bcf2e3ffccb2bd18290a67bcbada6921c8ba3', 'student'),
('gwe1975a', 'Helen', 'HICKS', 1, 'helen.hicks@etu.iut-tlse3.fr', 'd5578ae52d8b9429a411fe6824f79aa2e4ba4295', 'student'),
('gyy1983a', 'Merrill', 'WALTER', 1, 'merrill.walter@etu.iut-tlse3.fr', '2d6450fb04820591c34d6e470d8d16cc129ed634', 'student'),
('hcc1997a', 'Madeline', 'MARKS', 1, 'madeline.marks@etu.iut-tlse3.fr', '193e0b1555ac578b13b6f02b4b2c6b8c0576a2cd', 'student'),
('hku1995a', 'Roslyn', 'MURPHY', 1, 'roslyn.murphy@etu.iut-tlse3.fr', 'a2c17932dcc6a628601a86bd02e5e6110b774205', 'student'),
('hmn1970a', 'Levy', 'ARMSTRONG', 1, 'levy.armstrong@etu.iut-tlse3.fr', '85eed5e07ad380224e3dff9c68631436fc5e0580', 'student'),
('hpa1908a', 'Jacklyn', 'BYRD', 1, 'jacklyn.byrd@etu.iut-tlse3.fr', '50c850d3d6c6e8b5277f58f59c206d7ed685b8f9', 'student'),
('hrv1902a', 'Irwin', 'HOUSTON', 1, 'irwin.houston@etu.iut-tlse3.fr', '99ab47f6cce9313bb631d892d3a192420df1ba43', 'student'),
('hsx1927a', 'Irene', 'MONROE', 1, 'irene.monroe@etu.iut-tlse3.fr', '7fa7e7fcbb03c0be72583f2d1bfc41720f2274f1', 'student'),
('hth1975a', 'Pruitt', 'FERGUSON', 1, 'pruitt.ferguson@etu.iut-tlse3.fr', '562802653c96a2e3d2523fb6f38df8c42a6c70a2', 'student'),
('hzg1935a', 'Clarice', 'ORTEGA', 1, 'clarice.ortega@etu.iut-tlse3.fr', '8c50183063238ec8218d0959c71f3315715102be', 'student'),
('iah1936a', 'Franklin', 'SLATER', 1, 'franklin.slater@etu.iut-tlse3.fr', 'c4b7e3ae38056aa7b5a492b5ae4d6822bbc4f04b', 'student'),
('ihf1991a', 'Robinson', 'MCGEE', 1, 'robinson.mcgee@etu.iut-tlse3.fr', '4aeeee2100e584893c71d32ebcb5b4837f3e2e1a', 'student'),
('imf1922a', 'Hawkins', 'PATTERSON', 1, 'hawkins.patterson@etu.iut-tlse3.fr', '05ef138dfd9464af5ca7ddb1e6fc5d38a5d256dc', 'student'),
('iyh1918a', 'Tucker', 'TRAN', 1, 'tucker.tran@etu.iut-tlse3.fr', '70e3a6e9f775731a6dc43044576feb6acf4739bd', 'student'),
('jfa1965a', 'Lolita', 'FARRELL', 1, 'lolita.farrell@etu.iut-tlse3.fr', '1a5d44889500c4f04f076836691d9ccea4c56cff', 'student'),
('jgd1966a', 'Janelle', 'BURKS', 1, 'janelle.burks@etu.iut-tlse3.fr', '83cbc892278c1d7aab3214383b272a2677a39f01', 'student'),
('jrc1974a', 'Pierce', 'CHURCH', 1, 'pierce.church@etu.iut-tlse3.fr', '0bf72260769a364574bebe43a0e2d40f0b42918a', 'student'),
('kfx1995a', 'Mitzi', 'SCHROEDER', 1, 'mitzi.schroeder@etu.iut-tlse3.fr', 'ea085dda880c523b14c1d9c24bfe8479901d90bf', 'student'),
('kpf1942a', 'Strickland', 'ROACH', 1, 'strickland.roach@etu.iut-tlse3.fr', '49ae8a41825e039415fc5403721a08bf849675dd', 'student'),
('ktz1997a', 'Mcgowan', 'COHEN', 1, 'mcgowan.cohen@etu.iut-tlse3.fr', '77f2eb9b0cd9702671799b4016e115fe185b44da', 'student'),
('kul1903a', 'Magdalena', 'SIMON', 1, 'magdalena.simon@etu.iut-tlse3.fr', 'a364c06c6bc0883322fe0b8fecf70379187e85de', 'student'),
('lbh1609a', 'Hervé', 'LEBLANC', 1, 'herve.leblanc@iut-tlse3.fr', 'lqkjsdlkjsdlkjqsdlkjqsdlkjqsdkjqsldjqsj', 'teacher'),
('liw1940a', 'Middleton', 'WATERS', 1, 'middleton.waters@etu.iut-tlse3.fr', '406a96ab06f805166e3ef4809e5b8aefd3fa422a', 'student'),
('ljc1902a', 'Lisa', 'CLEMENTS', 1, 'lisa.clements@etu.iut-tlse3.fr', '8b554a1fdc6fa3c07988a523bf411c90c1b647f7', 'student'),
('lme1952a', 'Hollie', 'GILLIAM', 1, 'hollie.gilliam@etu.iut-tlse3.fr', '3f7b0669e6d2a9df317c89d9947b8b2c724278f5', 'student'),
('maq1980a', 'Cook', 'DUNN', 1, 'cook.dunn@etu.iut-tlse3.fr', '9a35d39268d9ba001290d4ad62de2e8d3da645dc', 'student'),
('mhr1952a', 'Socorro', 'BLAIR', 1, 'socorro.blair@etu.iut-tlse3.fr', '007a09dbff0959962f7aca117f55e125d77658c4', 'student'),
('mhu1946a', 'Edna', 'GREEN', 1, 'edna.green@etu.iut-tlse3.fr', 'a2be4db796235e6ee539d8a96a692fc1936957db', 'student'),
('mma1990a', 'Williamson', 'HATFIELD', 1, 'williamson.hatfield@etu.iut-tlse3.fr', 'b00d282627610321925b6573ecf55242491e4382', 'student'),
('mrd1609a', 'Adrien', 'MARQUES', 1, 'adrien.marques@etu.iut-tlse3.de', '34ad81180ba7cfa510101af8abe47a558e46858a', 'student'),
('msj1985a', 'Ball', 'AVILA', 1, 'ball.avila@etu.iut-tlse3.fr', 'a65d0ad5230a8e62f691ad1f2f95a3c65f1c03dd', 'student'),
('mzh1955a', 'Leblanc', 'WHEELER', 1, 'leblanc.wheeler@etu.iut-tlse3.fr', 'd5711bb21c243770c254b30fc2fb429b06bbfaf0', 'student'),
('ngw1997a', 'Booker', 'LOPEZ', 1, 'booker.lopez@etu.iut-tlse3.fr', 'a0feaf0e9ec8f18cfc3cc8eaa0a4af131c5c91d7', 'student'),
('ngz1932a', 'Faye', 'PAYNE', 1, 'faye.payne@etu.iut-tlse3.fr', '166e4a0172787e784c6835ed07d34a550b61b986', 'student'),
('non1968a', 'Foster', 'TILLMAN', 1, 'foster.tillman@etu.iut-tlse3.fr', '3a3f8d8ddbf68fa1e366cd87d20357f05fa09f45', 'student'),
('obg1973a', 'Lynch', 'CHANDLER', 1, 'lynch.chandler@etu.iut-tlse3.fr', 'a10d3ba3eacf95b418fe2c108492ea41ad83fc9e', 'student'),
('ono1984a', 'Kitty', 'SANFORD', 0, 'kitty.sanford@etu.iut-tlse3.fr', '2100f892c9e0c1a0ce35e444d969b2bdf9de9d6b', 'student'),
('oqz1937a', 'Morse', 'MICHAEL', 1, 'morse.michael@etu.iut-tlse3.fr', '2edfedd459e1b63bf637184c4ee4a978f0c8e41e', 'student'),
('otm1902a', 'Woods', 'DEJESUS', 1, 'woods.dejesus@etu.iut-tlse3.fr', '8d3a059e7df1744e6e342dad660adeb3675d42d1', 'student'),
('otv1930a', 'Odonnell', 'BEASLEY', 0, 'odonnell.beasley@etu.iut-tlse3.fr', 'b55e173984ef282d1bbfb1cf441b1c702533ac87', 'student'),
('oxz1985a', 'Paul', 'GROSS', 1, 'paul.gross@etu.iut-tlse3.fr', '5ba7159ed8bea08ff0c6b25f47c979f2e3b9e1a5', 'student'),
('pdi1904a', 'Brady', 'ASHLEY', 1, 'brady.ashley@etu.iut-tlse3.fr', '48c9adaa6687ec1f896675cd7dd262c6b38c2b44', 'student'),
('pfv1965a', 'Francine', 'COMBS', 0, 'francine.combs@etu.iut-tlse3.fr', 'a6ba94eec7357d691231ce8b7940d86ae2cb94a9', 'student'),
('pos1958a', 'Juliana', 'FULLER', 0, 'juliana.fuller@etu.iut-tlse3.fr', 'bd4300a1779af89b2c87863384d7ab4c93d922ad', 'student'),
('psg1965a', 'Knapp', 'STEPHENS', 1, 'knapp.stephens@etu.iut-tlse3.fr', '4e24185809f6d19ab25469582b340d1d98d1478a', 'student'),
('qoe1974a', 'Raquel', 'CUNNINGHAM', 1, 'raquel.cunningham@etu.iut-tlse3.fr', '5670da6f0a600ea148705e8dfe87921b35bc24dc', 'student'),
('rmj1965a', 'Bridges', 'ROSALES', 1, 'bridges.rosales@etu.iut-tlse3.fr', 'ffa1cf9f81059b83a1a05fe7408867027decf767', 'student'),
('rpl1936a', 'Tamera', 'MOSES', 0, 'tamera.moses@etu.iut-tlse3.fr', 'd7f0216bd90b84f878bf562f473875e500d6ae40', 'student'),
('rwg1909a', 'Kelly', 'WALLACE', 0, 'kelly.wallace@etu.iut-tlse3.fr', '28356092e4722e7d40d761db1b2a3e4178c0e8a1', 'student'),
('scm1996a', 'Dotson', 'SANDOVAL', 1, 'dotson.sandoval@etu.iut-tlse3.fr', '3d2818a46340435822af94d9736bfad7ad1ecd4b', 'student'),
('sft1994a', 'Norris', 'BROCK', 1, 'norris.brock@etu.iut-tlse3.fr', 'fcfd756acef2869bb15d72b877ccd9eed675fd26', 'student'),
('sjl1937a', 'English', 'POPE', 1, 'english.pope@etu.iut-tlse3.fr', 'a5536a593633b1d610e976985d3be1fc27999e4d', 'student'),
('sjw1936a', 'Cross', 'MEYERS', 1, 'cross.meyers@etu.iut-tlse3.fr', '8571d7564e2a196feb0841fd8474754d0032721c', 'student'),
('ssr1906a', 'Howell', 'FAULKNER', 1, 'howell.faulkner@etu.iut-tlse3.fr', '073de42d66740dfd2beec792e63806a7147fa087', 'student'),
('ste1994a', 'Allison', 'CALLAHAN', 0, 'allison.callahan@etu.iut-tlse3.fr', 'a5f1074db3275a128b57d99c8a48a557297084c9', 'student'),
('swd1951a', 'Jenny', 'GRAHAM', 0, 'jenny.graham@etu.iut-tlse3.fr', 'ae8ffe6506ca1863cee65fc4402bb5dd6e563d4b', 'student'),
('tdc1978a', 'Bird', 'TRAVIS', 1, 'bird.travis@etu.iut-tlse3.fr', '4a10508dd7f87089a321fc07ff63a8269a427bcb', 'student'),
('tkz1955a', 'Nora', 'BREWER', 0, 'nora.brewer@etu.iut-tlse3.fr', '6695f488b7caf712423e5f090707058b5af0798d', 'student'),
('tnx1949a', 'Dejesus', 'WALTON', 1, 'dejesus.walton@etu.iut-tlse3.fr', '830e567e1f570e0b90ae23488e1aaa11142ec4a6', 'student'),
('uix1942a', 'Kristen', 'GIBSON', 0, 'kristen.gibson@etu.iut-tlse3.fr', '66fa9b0c1e377689bde5992b7ce9f8a88b394693', 'student'),
('vau1957a', 'Kathy', 'STOUT', 0, 'kathy.stout@etu.iut-tlse3.fr', '7149c984ea57994e5306ce3c4026064a776de1d4', 'student'),
('vdj1905a', 'Dean', 'ESPINOZA', 1, 'dean.espinoza@etu.iut-tlse3.fr', 'fde91e6c0086ecda41e08a683eb6df56c7739371', 'student'),
('vgb1979a', 'Baird', 'FORD', 1, 'baird.ford@etu.iut-tlse3.fr', '66eb6f8e8634e210729fcf25dfa32ca17bf401c3', 'student'),
('vul1953a', 'Robyn', 'BATES', 1, 'robyn.bates@etu.iut-tlse3.fr', '6421ed3a69005e0de9ab025db4617a5a2d125682', 'student'),
('wbt1993a', 'Goodman', 'PAUL', 1, 'goodman.paul@etu.iut-tlse3.fr', '282c5d93f43a3960e840b410f95b4c598e8a9340', 'student'),
('wnx1995a', 'Lorraine', 'PADILLA', 1, 'lorraine.padilla@etu.iut-tlse3.fr', '6f38a397c9c7e5b3aceab87e63da5533fa612459', 'student'),
('wpa1966a', 'Collier', 'ENGLISH', 1, 'collier.english@etu.iut-tlse3.fr', 'fd63ff8eefa080cbecb52b68dc3cf264cf121fe3', 'student'),
('wvn1982a', 'Sears', 'WELCH', 1, 'sears.welch@etu.iut-tlse3.fr', '39b49c655ec584119306086db59253cf3a171f42', 'student'),
('xdh1989a', 'Rasmussen', 'PAGE', 1, 'rasmussen.page@etu.iut-tlse3.fr', '51240c864a1efe510e150f5789889dd7b1173e9c', 'student'),
('xdi1926a', 'Ferrell', 'SALAS', 1, 'ferrell.salas@etu.iut-tlse3.fr', '50a8f5265f56c9a30816379dd91d26870c9b649b', 'student'),
('xtb1903a', 'Kelly', 'FLYNN', 0, 'kelly.flynn@etu.iut-tlse3.fr', '270b848d2e7ecb404a3816219bcfc32dafed8477', 'student'),
('ydw1981a', 'Glenda', 'WILKINSON', 0, 'glenda.wilkinson@etu.iut-tlse3.fr', '594ca97b532fa21cc524792f2d00a2720b010191', 'student'),
('yjh1944a', 'Thompson', 'SOLIS', 1, 'thompson.solis@etu.iut-tlse3.fr', '303925d37b3d505b6162bd0222bd654dc06327a9', 'student'),
('ylq1926a', 'Stein', 'SILVA', 1, 'stein.silva@etu.iut-tlse3.fr', '9d4517cb3cec7bae1957f4026db777e33ccc097d', 'student'),
('ypo1964a', 'Marylou', 'HOPKINS', 0, 'marylou.hopkins@etu.iut-tlse3.fr', 'b72c606e9f02d46fbd29da132d96bbdbbffabf35', 'student'),
('ypt1989a', 'Simon', 'MORALES', 1, 'simon.morales@etu.iut-tlse3.fr', '552b82ca9e6d6b6f661e66d7af0a380e00d52625', 'student'),
('yyt1926a', 'Bryant', 'CHANEY', 1, 'bryant.chaney@etu.iut-tlse3.fr', '5a962df24a9b04ed8a56c02a68d8dfc5e9435abe', 'student'),
('zge1937a', 'Ella', 'GARZA', 0, 'ella.garza@etu.iut-tlse3.fr', '927065354ae8e224f43f6eb9578b5c7c9750461b', 'student'),
('zgy1948a', 'Emily', 'ALVARADO', 0, 'emily.alvarado@etu.iut-tlse3.fr', '34ad81180ba7cfa510101af8abe47a558e46858a', 'student');
('lbh1609a', 'Hervé', 'LEBLANC', 1, 'herve.leblanc@iut-tlse3.fr', 'lqkjsdlkjsdlkjqsdlkjqsdlkjqsdkjqsldjqsj', 'teacher'),
('ref', 'mlle', 'référente', 0, 'ref@ref.ref', 'sqldkmsqldksqmlkd', 'master');
--
-- Constraints for dumped tables
-- Contraintes pour les tables exportées
--
--
-- Constraints for table `appartenance`
-- Contraintes pour la table `appartenance`
--
ALTER TABLE `appartenance`
ADD CONSTRAINT `appartenance_ibfk_1` FOREIGN KEY (`id_etudiant`) REFERENCES `utilisateur` (`identifiant`),
@ -547,41 +474,42 @@ ALTER TABLE `appartenance`
ADD CONSTRAINT `appartenance_ibfk_3` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`);
--
-- Constraints for table `controle`
-- Contraintes pour la table `controle`
--
ALTER TABLE `controle`
ADD CONSTRAINT `controle_ibfk_1` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`) ON DELETE CASCADE;
--
-- Constraints for table `enseignement`
-- Contraintes pour la table `enseignement`
--
ALTER TABLE `enseignement`
ADD CONSTRAINT `enseignement_id_enseignant` FOREIGN KEY (`id_enseignant`) REFERENCES `utilisateur` (`identifiant`),
ADD CONSTRAINT `enseignement_id_groupe` FOREIGN KEY (`id_groupe`) REFERENCES `groupe` (`id_groupe`),
ADD CONSTRAINT `enseignement_id_mcc_module` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`);
--
-- Constraints for table `mcc_module`
-- Contraintes pour la table `mcc_module`
--
ALTER TABLE `mcc_module`
ADD CONSTRAINT `mcc_module_id_mcc_ue` FOREIGN KEY (`id_mcc_ue`) REFERENCES `mcc_ue` (`id_mcc_ue`) ON DELETE CASCADE,
ADD CONSTRAINT `mcc_module_id_module` FOREIGN KEY (`id_module`) REFERENCES `module` (`id_module`) ON DELETE CASCADE;
--
-- Constraints for table `mcc_ue`
-- Contraintes pour la table `mcc_ue`
--
ALTER TABLE `mcc_ue`
ADD CONSTRAINT `mcc_ue_id_semestre` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`) ON DELETE CASCADE,
ADD CONSTRAINT `mcc_ue_id_ue` FOREIGN KEY (`id_ue`) REFERENCES `ue` (`id_ue`) ON DELETE CASCADE;
--
-- Constraints for table `note`
-- Contraintes pour la table `note`
--
ALTER TABLE `note`
ADD CONSTRAINT `note_id_appartenance` FOREIGN KEY (`id_appartenance`) REFERENCES `appartenance` (`id_appartenance`) ON DELETE CASCADE,
ADD CONSTRAINT `note_id_controle` FOREIGN KEY (`id_controle`) REFERENCES `controle` (`id_controle`) ON DELETE CASCADE;
--
-- Constraints for table `semestre`
-- Contraintes pour la table `semestre`
--
ALTER TABLE `semestre`
ADD CONSTRAINT `semestre_id_formation` FOREIGN KEY (`id_formation`) REFERENCES `formation` (`id_formation`);

View File

@ -1,948 +0,0 @@
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Client: localhost
-- Généré le: Sam 02 Janvier 2016 à 01:13
-- Version du serveur: 5.5.46-0ubuntu0.14.04.2
-- Version de PHP: 5.5.9-1ubuntu4.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Base de données: `sid2`
--
-- --------------------------------------------------------
--
-- Structure de la table `appartenance`
--
CREATE TABLE IF NOT EXISTS `appartenance` (
`id_appartenance` int(11) NOT NULL AUTO_INCREMENT,
`id_etudiant` varchar(50) NOT NULL,
`id_groupe` int(11) NOT NULL,
`id_semestre` int(11) NOT NULL,
PRIMARY KEY (`id_appartenance`),
KEY `id_etudiant` (`id_etudiant`),
KEY `id_groupe` (`id_groupe`),
KEY `id_semestre` (`id_semestre`),
KEY `identifiant` (`id_etudiant`),
KEY `id_etudiant_2` (`id_etudiant`),
KEY `id_groupe_2` (`id_groupe`),
KEY `id_semestre_2` (`id_semestre`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=114 ;
--
-- RELATIONS POUR LA TABLE `appartenance`:
-- `id_etudiant`
-- `utilisateur` -> `identifiant`
-- `id_groupe`
-- `groupe` -> `id_groupe`
-- `id_semestre`
-- `semestre` -> `id_semestre`
--
--
-- Contenu de la table `appartenance`
--
INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_semestre`) VALUES
(1, 'mrd1609a', 2, 2),
(2, 'ihf1991a', 8, 4),
(3, 'mma1990a', 13, 1),
(4, 'lme1952a', 15, 3),
(5, 'imf1922a', 21, 1),
(6, 'gyy1983a', 4, 4),
(7, 'otm1902a', 14, 2),
(8, 'tnx1949a', 12, 4),
(9, 'sjl1937a', 4, 4),
(10, 'anj1991a', 16, 4),
(11, 'xdh1989a', 20, 4),
(12, 'agl1956a', 3, 3),
(13, 'mhu1946a', 21, 1),
(14, 'cvv1936a', 14, 2),
(15, 'mzh1955a', 6, 2),
(16, 'pdi1904a', 19, 3),
(17, 'cuk1947a', 10, 2),
(18, 'non1968a', 22, 2),
(19, 'hmn1970a', 1, 1),
(20, 'hth1975a', 5, 1),
(21, 'liw1940a', 6, 2),
(22, 'dtg1946a', 18, 2),
(23, 'oxz1985a', 7, 3),
(24, 'ono1984a', 14, 2),
(25, 'auy1966a', 15, 3),
(26, 'dui1946a', 55, 1),
(27, 'cyw1979a', 24, 4),
(28, 'pfv1965a', 3, 3),
(29, 'oqz1937a', 24, 4),
(30, 'aft1950a', 7, 3),
(31, 'bae1943a', 8, 4),
(32, 'kul1903a', 9, 1),
(33, 'rmj1965a', 11, 3),
(34, 'yyt1926a', 17, 1),
(35, 'ktz1997a', 6, 2),
(36, 'hku1995a', 17, 1),
(37, 'zgy1948a', 10, 2),
(38, 'vau1957a', 23, 3),
(39, 'hsx1927a', 19, 3),
(40, 'eca1977a', 3, 3),
(41, 'wpa1966a', 20, 4),
(42, 'qoe1974a', 20, 4),
(43, 'tkz1955a', 11, 3),
(44, 'wnx1995a', 16, 4),
(45, 'sft1994a', 2, 2),
(46, 'vgb1979a', 11, 3),
(47, 'wbt1993a', 19, 3),
(48, 'xtb1903a', 11, 3),
(49, 'msj1985a', 13, 1),
(50, 'wvn1982a', 9, 1),
(51, 'psg1965a', 4, 4),
(52, 'hpa1908a', 5, 1),
(53, 'maq1980a', 19, 3),
(54, 'agq1929a', 13, 1),
(55, 'gwe1975a', 18, 2),
(56, 'gdb1939a', 7, 3),
(57, 'jrc1974a', 10, 2),
(58, 'jfa1965a', 1, 1),
(59, 'buz1982a', 24, 4),
(60, 'mhr1952a', 7, 3),
(61, 'pos1958a', 11, 3),
(62, 'xdi1926a', 3, 3),
(63, 'awl1901a', 17, 1),
(64, 'uix1942a', 7, 3),
(65, 'ngz1932a', 19, 3),
(66, 'kpf1942a', 15, 3),
(67, 'aiv1989a', 21, 1),
(68, 'sjw1936a', 19, 3),
(69, 'fei1944a', 23, 3),
(70, 'zge1937a', 21, 1),
(71, 'rpl1936a', 19, 3),
(72, 'hrv1902a', 22, 2),
(73, 'djo1928a', 9, 1),
(74, 'scm1996a', 1, 1),
(75, 'ylq1926a', 18, 2),
(76, 'eme1913a', 23, 3),
(77, 'otv1930a', 1, 1),
(78, 'cda1951a', 55, 1),
(79, 'eee1933a', 17, 1),
(80, 'kfx1995a', 18, 2),
(81, 'jgd1966a', 3, 3),
(82, 'rwg1909a', 14, 2),
(83, 'ngw1997a', 17, 1),
(84, 'obg1973a', 2, 2),
(85, 'hzg1935a', 12, 4),
(86, 'iyh1918a', 3, 3),
(87, 'tdc1978a', 13, 1),
(88, 'swd1951a', 2, 2),
(89, 'vdj1905a', 22, 2),
(90, 'bit1985a', 19, 3),
(91, 'iah1936a', 1, 1),
(92, 'ypt1989a', 7, 3),
(93, 'ljc1902a', 17, 1),
(94, 'hcc1997a', 7, 3),
(95, 'bky1924a', 22, 2),
(96, 'vul1953a', 5, 1),
(97, 'ssr1906a', 55, 1),
(98, 'yjh1944a', 11, 3),
(99, 'ste1994a', 2, 2),
(100, 'ypo1964a', 7, 3),
(103, 'mrd1609a', 9, 1),
(104, 'scm1996a', 2, 2),
(105, 'hmn1970a', 2, 2),
(106, 'hpa1908a', 2, 2),
(107, 'wvn1982a', 2, 2),
(108, 'msj1985a', 2, 2),
(109, 'tdc1978a', 2, 2),
(110, 'yyt1926a', 2, 2),
(111, 'ljc1902a', 2, 2),
(112, 'zge1937a', 2, 2),
(113, 'ssr1906a', 2, 2);
-- --------------------------------------------------------
--
-- Structure de la table `controle`
--
CREATE TABLE IF NOT EXISTS `controle` (
`id_controle` int(11) NOT NULL AUTO_INCREMENT,
`id_mcc_module` int(11) NOT NULL,
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`base` int(11) NOT NULL,
`coefficient` float NOT NULL,
`publication` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id_controle`),
KEY `id_mcc_module` (`id_mcc_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=259 ;
--
-- RELATIONS POUR LA TABLE `controle`:
-- `id_mcc_module`
-- `mcc_module` -> `id_mcc_module`
--
--
-- Contenu de la table `controle`
--
INSERT INTO `controle` (`id_controle`, `id_mcc_module`, `nom`, `libelle`, `base`, `coefficient`, `publication`) VALUES
(169, 105, '4R1101E1', 'Archi n°1', 20, 25, 1),
(170, 105, '4R1101E2', 'Système', 20, 30, 1),
(171, 105, '4R1101E3', 'Archi n°2', 20, 25, 1),
(172, 105, '4R1101E4', 'Admin. Système', 20, 20, 0),
(173, 106, '4R1102E1', 'Controle TP', 20, 30, 0),
(174, 106, '4R1102E2', 'Contrôle TP', 20, 30, 0),
(175, 106, '4R1102E3', 'Algo - Prog', 20, 40, 0),
(176, 107, '4R1103E1', 'CC TD/TP', 20, 40, 0),
(177, 107, '4R1103E2', 'Struct. Données & Algo', 20, 60, 0),
(178, 108, '4R1104E1', 'ACSI', 20, 60, 0),
(179, 108, '4R1104E2', 'Bases de données', 20, 40, 0),
(180, 109, '4R1105E1', 'Contrôle TP', 20, 32, 0),
(181, 109, '4R1105E2', 'Contrôle TP', 20, 68, 0),
(182, 110, '4R1106E1', 'Oral', 20, 50, 0),
(183, 110, '4R1106E2', 'Ecrit', 20, 50, 0),
(184, 111, '4R1201E1', 'Ecrit n°1', 20, 33, 0),
(185, 111, '4R1201E2', 'Ecrit n°2', 20, 67, 0),
(186, 112, '4R1202E1', 'Ecrit n°1', 20, 33, 0),
(187, 112, '4R1202E2', 'Ecrit n°2', 20, 67, 0),
(188, 113, '4R1203E1', 'Contrôle cont', 20, 25, 0),
(189, 113, '4R1203E2', 'Environnement eco', 20, 75, 0),
(190, 114, '4R1204E1', 'Mod Organisation', 20, 65, 0),
(191, 114, '4R1204E2', 'Diagnostic Strat.', 20, 35, 0),
(192, 115, '4R1205E1', 'Oral Indiv.', 20, 38, 0),
(193, 115, '4R1205E2', 'Ecrit CC', 20, 12, 0),
(194, 115, '4R1205E3', 'Ecrit Indiv.', 20, 50, 0),
(195, 116, '4R1206E1', 'Anglais informatique : Oral', 20, 50, 0),
(196, 116, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, 0),
(197, 117, '4R1207E1', 'Oral Coll.', 20, 75, 0),
(198, 117, '4R1207E2', 'Ecrit Ind.', 20, 25, 0),
(199, 118, '4R1101E1', 'Archi n°1', 20, 25, 1),
(200, 118, '4R1101E2', 'Système', 20, 30, 0),
(201, 118, '4R1101E3', 'Archi n°2', 20, 25, 0),
(202, 118, '4R1101E4', 'Admin. Système', 20, 20, 0),
(203, 119, '4R1102E1', 'Controle TP', 20, 30, 0),
(204, 119, '4R1102E2', 'Contrôle TP', 20, 30, 0),
(205, 119, '4R1102E3', 'Algo - Prog', 20, 40, 0),
(206, 120, '4R1103E1', 'CC TD/TP', 20, 40, 0),
(207, 120, '4R1103E2', 'Struct. Données & Algo', 20, 60, 0),
(208, 121, '4R1104E1', 'ACSI', 20, 60, 0),
(209, 121, '4R1104E2', 'Bases de données', 20, 40, 0),
(210, 122, '4R1105E1', 'Contrôle TP', 20, 32, 0),
(211, 122, '4R1105E2', 'Contrôle TP', 20, 68, 0),
(212, 123, '4R1106E1', 'Oral', 20, 50, 0),
(213, 123, '4R1106E2', 'Ecrit', 20, 50, 0),
(214, 124, '4R1201E1', 'Ecrit n°1', 20, 33, 0),
(215, 124, '4R1201E2', 'Ecrit n°2', 20, 67, 0),
(216, 125, '4R1202E1', 'Ecrit n°1', 20, 33, 0),
(217, 125, '4R1202E2', 'Ecrit n°2', 20, 67, 0),
(218, 126, '4R1203E1', 'Contrôle cont', 20, 25, 0),
(219, 126, '4R1203E2', 'Environnement eco', 20, 75, 0),
(220, 127, '4R1204E1', 'Mod Organisation', 20, 65, 0),
(221, 127, '4R1204E2', 'Diagnostic Strat.', 20, 35, 0),
(222, 128, '4R1205E1', 'Oral Indiv.', 20, 38, 0),
(223, 128, '4R1205E2', 'Ecrit CC', 20, 12, 0),
(224, 128, '4R1205E3', 'Ecrit Indiv.', 20, 50, 0),
(225, 129, '4R1206E1', 'Anglais informatique : Oral', 20, 50, 0),
(226, 129, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, 0),
(227, 130, '4R1207E1', 'Oral Coll.', 20, 75, 0),
(228, 130, '4R1207E2', 'Ecrit Ind.', 20, 25, 0),
(229, 131, '4R1101E1', 'Archi n°1', 20, 25, 0),
(230, 131, '4R1101E2', 'Système', 20, 30, 0),
(231, 131, '4R1101E3', 'Archi n°2', 20, 25, 0),
(232, 131, '4R1101E4', 'Admin. Système', 20, 20, 0),
(233, 132, '4R1102E1', 'Controle TP', 20, 30, 0),
(234, 132, '4R1102E2', 'Contrôle TP', 20, 30, 0),
(235, 132, '4R1102E3', 'Algo - Prog', 20, 40, 0),
(236, 133, '4R1103E1', 'CC TD/TP', 20, 40, 0),
(237, 133, '4R1103E2', 'Struct. Données & Algo', 20, 60, 0),
(238, 134, '4R1104E1', 'ACSI', 20, 60, 0),
(239, 134, '4R1104E2', 'Bases de données', 20, 40, 0),
(240, 135, '4R1105E1', 'Contrôle TP', 20, 32, 0),
(241, 135, '4R1105E2', 'Contrôle TP', 20, 68, 0),
(242, 136, '4R1106E1', 'Oral', 20, 50, 0),
(243, 136, '4R1106E2', 'Ecrit', 20, 50, 0),
(244, 137, '4R1201E1', 'Ecrit n°1', 20, 33, 0),
(245, 137, '4R1201E2', 'Ecrit n°2', 20, 67, 0),
(246, 138, '4R1202E1', 'Ecrit n°1', 20, 33, 0),
(247, 138, '4R1202E2', 'Ecrit n°2', 20, 67, 0),
(248, 139, '4R1203E1', 'Contrôle cont', 20, 25, 0),
(249, 139, '4R1203E2', 'Environnement eco', 20, 75, 0),
(250, 140, '4R1204E1', 'Mod Organisation', 20, 65, 0),
(251, 140, '4R1204E2', 'Diagnostic Strat.', 20, 35, 0),
(252, 141, '4R1205E1', 'Oral Indiv.', 20, 38, 0),
(253, 141, '4R1205E2', 'Ecrit CC', 20, 12, 0),
(254, 141, '4R1205E3', 'Ecrit Indiv.', 20, 50, 0),
(255, 142, '4R1206E1', 'Anglais informatique : Oral', 20, 50, 0),
(256, 142, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, 0),
(257, 143, '4R1207E1', 'Oral Coll.', 20, 75, 0),
(258, 143, '4R1207E2', 'Ecrit Ind.', 20, 25, 0);
-- --------------------------------------------------------
--
-- Structure de la table `enseignement`
--
CREATE TABLE IF NOT EXISTS `enseignement` (
`id_enseignement` int(11) NOT NULL AUTO_INCREMENT,
`id_enseignant` varchar(50) NOT NULL,
`id_mcc_module` int(11) NOT NULL,
`id_groupe` int(11) NOT NULL,
`correcteur` tinyint(4) NOT NULL,
PRIMARY KEY (`id_enseignement`),
KEY `id_enseignant` (`id_enseignant`),
KEY `id_mcc_module` (`id_mcc_module`),
KEY `id_groupe` (`id_groupe`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=203 ;
--
-- RELATIONS POUR LA TABLE `enseignement`:
-- `id_enseignant`
-- `utilisateur` -> `identifiant`
-- `id_groupe`
-- `groupe` -> `id_groupe`
-- `id_mcc_module`
-- `mcc_module` -> `id_mcc_module`
--
--
-- Contenu de la table `enseignement`
--
INSERT INTO `enseignement` (`id_enseignement`, `id_enseignant`, `id_mcc_module`, `id_groupe`, `correcteur`) VALUES
(192, 'lbh1609a', 105, 17, 1),
(194, 'lbh1609a', 105, 1, 1),
(195, 'lbh1609a', 105, 9, 1);
-- --------------------------------------------------------
--
-- Structure de la table `formation`
--
CREATE TABLE IF NOT EXISTS `formation` (
`id_formation` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`nom` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`nb_semestres` int(11) NOT NULL DEFAULT '2',
PRIMARY KEY (`id_formation`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
--
-- Contenu de la table `formation`
--
INSERT INTO `formation` (`id_formation`, `code`, `nom`, `nb_semestres`) VALUES
(1, 'ITINN1', 'DUT 1A INFORMATIQUE', 2),
(2, 'ITINN2', 'DUT 2A INFORMATIQUE', 2),
(3, 'INGBD1', 'LP AGBD', 2),
(4, 'INSIQ1', 'LP DQL', 2),
(5, 'ITINAS', 'DUT AS INFORMATIQUE', 2),
(6, 'ITINS1', 'DUT PST 1A INFORMATIQUE', 2),
(7, 'ITINT2', 'DUT PST INFO/G.INFO 2E AN', 2),
(8, 'ITINT3', 'DUT PST INFO/G.INFO 3E AN', 2);
-- --------------------------------------------------------
--
-- Structure de la table `groupe`
--
CREATE TABLE IF NOT EXISTS `groupe` (
`id_groupe` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_groupe`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=148 ;
--
-- Contenu de la table `groupe`
--
INSERT INTO `groupe` (`id_groupe`, `nom`) VALUES
(1, 'S1A'),
(2, 'S2A'),
(3, 'S3A'),
(4, 'S4A'),
(5, 'S1B'),
(6, 'S2B'),
(7, 'S3B'),
(8, 'S4B'),
(9, 'S1C'),
(10, 'S2C'),
(11, 'S3C'),
(12, 'S4C'),
(13, 'S1D'),
(14, 'S2D'),
(15, 'S3D'),
(16, 'S4D'),
(17, 'S1E'),
(18, 'S2E'),
(19, 'S3E'),
(20, 'S4E'),
(21, 'S1F'),
(22, 'S2F'),
(23, 'S3F'),
(24, 'S4F'),
(34, 'INGBD1 S1'),
(35, 'INSIQ1 S1'),
(36, 'ITINAS S1'),
(37, 'ITINN1 S1'),
(38, 'ITINN2 S1'),
(39, 'ITINS1 S1'),
(40, 'ITINT2 S1'),
(41, 'ITINT3 S1'),
(42, 'S1M'),
(43, 'S2M'),
(44, 'S3M'),
(45, 'S4M'),
(46, 'S5M'),
(47, 'S6M'),
(48, 'S7M'),
(49, 'S8M'),
(50, 'S9M'),
(51, 'S10M'),
(52, 'S1G'),
(53, 'S1H'),
(54, 'S1I'),
(55, 'S1J'),
(56, 'S1K'),
(57, 'S1L'),
(58, 'S2G'),
(59, 'S2H'),
(60, 'S2I'),
(61, 'S2J'),
(62, 'S2K'),
(63, 'S2L'),
(64, 'S3G'),
(65, 'S3H'),
(66, 'S3I'),
(67, 'S3J'),
(68, 'S3K'),
(69, 'S3L'),
(70, 'S4G'),
(71, 'S4H'),
(72, 'S4I'),
(73, 'S4J'),
(74, 'S4K'),
(75, 'S4L'),
(76, 'S5A'),
(77, 'S5B'),
(78, 'S5C'),
(79, 'S5D'),
(80, 'S5E'),
(81, 'S5F'),
(82, 'S5G'),
(83, 'S5H'),
(84, 'S5I'),
(85, 'S5J'),
(86, 'S5K'),
(87, 'S5L'),
(88, 'S6A'),
(89, 'S6B'),
(90, 'S6C'),
(91, 'S6D'),
(92, 'S6E'),
(93, 'S6F'),
(94, 'S6G'),
(95, 'S6H'),
(96, 'S6I'),
(97, 'S6J'),
(98, 'S6K'),
(99, 'S6L'),
(100, 'S7A'),
(101, 'S7B'),
(102, 'S7C'),
(103, 'S7D'),
(104, 'S7E'),
(105, 'S7F'),
(106, 'S7G'),
(107, 'S7H'),
(108, 'S7I'),
(109, 'S7J'),
(110, 'S7K'),
(111, 'S7L'),
(112, 'S8A'),
(113, 'S8B'),
(114, 'S8C'),
(115, 'S8D'),
(116, 'S8E'),
(117, 'S8F'),
(118, 'S8G'),
(119, 'S8H'),
(120, 'S8I'),
(121, 'S8J'),
(122, 'S8K'),
(123, 'S8L'),
(124, 'S9A'),
(125, 'S9B'),
(126, 'S9C'),
(127, 'S9D'),
(128, 'S9E'),
(129, 'S9F'),
(130, 'S9G'),
(131, 'S9H'),
(132, 'S9I'),
(133, 'S9J'),
(134, 'S9K'),
(135, 'S9L'),
(136, 'S10A'),
(137, 'S10B'),
(138, 'S10C'),
(139, 'S10D'),
(140, 'S10E'),
(141, 'S10F'),
(142, 'S10G'),
(143, 'S10H'),
(144, 'S10I'),
(145, 'S10J'),
(146, 'S10K'),
(147, 'S10L');
-- --------------------------------------------------------
--
-- Structure de la table `mcc_module`
--
CREATE TABLE IF NOT EXISTS `mcc_module` (
`id_mcc_module` int(11) NOT NULL AUTO_INCREMENT,
`id_mcc_ue` int(11) NOT NULL,
`id_module` int(11) NOT NULL,
`coefficient` float NOT NULL,
PRIMARY KEY (`id_mcc_module`),
KEY `id_mcc_ue` (`id_mcc_ue`),
KEY `id_module` (`id_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=144 ;
--
-- RELATIONS POUR LA TABLE `mcc_module`:
-- `id_mcc_ue`
-- `mcc_ue` -> `id_mcc_ue`
-- `id_module`
-- `module` -> `id_module`
--
--
-- Contenu de la table `mcc_module`
--
INSERT INTO `mcc_module` (`id_mcc_module`, `id_mcc_ue`, `id_module`, `coefficient`) VALUES
(105, 17, 53, 3.5),
(106, 17, 54, 3.5),
(107, 17, 55, 2.5),
(108, 17, 56, 3.5),
(109, 17, 57, 2.5),
(110, 17, 58, 1.5),
(111, 18, 59, 2.5),
(112, 18, 60, 2),
(113, 18, 61, 1.5),
(114, 18, 62, 2.5),
(115, 18, 63, 2),
(116, 18, 64, 1.5),
(117, 18, 65, 1),
(118, 19, 53, 3.5),
(119, 19, 54, 3.5),
(120, 19, 55, 2.5),
(121, 19, 56, 3.5),
(122, 19, 57, 2.5),
(123, 19, 58, 1.5),
(124, 20, 59, 2.5),
(125, 20, 60, 2),
(126, 20, 61, 1.5),
(127, 20, 62, 2.5),
(128, 20, 63, 2),
(129, 20, 64, 1.5),
(130, 20, 65, 1),
(131, 21, 53, 3.5),
(132, 21, 54, 3.5),
(133, 21, 55, 2.5),
(134, 21, 56, 3.5),
(135, 21, 57, 2.5),
(136, 21, 58, 1.5),
(137, 22, 59, 2.5),
(138, 22, 60, 2),
(139, 22, 61, 1.5),
(140, 22, 62, 2.5),
(141, 22, 63, 2),
(142, 22, 64, 1.5),
(143, 22, 65, 1);
-- --------------------------------------------------------
--
-- Structure de la table `mcc_ue`
--
CREATE TABLE IF NOT EXISTS `mcc_ue` (
`id_mcc_ue` int(11) NOT NULL AUTO_INCREMENT,
`id_semestre` int(11) NOT NULL,
`id_ue` int(11) NOT NULL,
`coefficient` float NOT NULL,
PRIMARY KEY (`id_mcc_ue`),
KEY `id_semestre` (`id_semestre`),
KEY `id_ue` (`id_ue`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=23 ;
--
-- RELATIONS POUR LA TABLE `mcc_ue`:
-- `id_semestre`
-- `semestre` -> `id_semestre`
-- `id_ue`
-- `ue` -> `id_ue`
--
--
-- Contenu de la table `mcc_ue`
--
INSERT INTO `mcc_ue` (`id_mcc_ue`, `id_semestre`, `id_ue`, `coefficient`) VALUES
(17, 1, 9, 17),
(18, 1, 10, 13),
(19, 2, 9, 17),
(20, 2, 10, 13),
(21, 8, 9, 17),
(22, 8, 10, 13);
-- --------------------------------------------------------
--
-- Structure de la table `module`
--
CREATE TABLE IF NOT EXISTS `module` (
`id_module` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=66 ;
--
-- Contenu de la table `module`
--
INSERT INTO `module` (`id_module`, `nom`, `libelle`) VALUES
(53, '4R1101', 'Introduction aux systèmes informatiques'),
(54, '4R1102', 'Introduction à l''algorithmique et à la programmation'),
(55, '4R1103', 'Structure de données et algorithmique fondamentaux'),
(56, '4R1104', 'Introduction aux bases de données'),
(57, '4R1105', 'Conception de documents et d''interfaces numériques'),
(58, '4R1106', 'Projet tutoré - découverte'),
(59, '4R1201', 'Mathématiques discrètes'),
(60, '4R1202', 'Algèbre linéaire'),
(61, '4R1203', 'Environnement économique'),
(62, '4R1204', 'Fonctionnement des organisations'),
(63, '4R1205', 'Expression-Communication - Fondamentaux de la communication'),
(64, '4R1206', 'Anglais et informatique'),
(65, '4R1207', 'PPP - connaître le monde professionnel');
-- --------------------------------------------------------
--
-- Structure de la table `note`
--
CREATE TABLE IF NOT EXISTS `note` (
`id_note` int(11) NOT NULL AUTO_INCREMENT,
`id_appartenance` int(11) NOT NULL,
`id_controle` int(11) NOT NULL,
`valeur` float NOT NULL,
PRIMARY KEY (`id_note`),
KEY `id_appartenance` (`id_appartenance`),
KEY `id_controle` (`id_controle`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=133 ;
--
-- RELATIONS POUR LA TABLE `note`:
-- `id_appartenance`
-- `appartenance` -> `id_appartenance`
-- `id_controle`
-- `controle` -> `id_controle`
--
--
-- Contenu de la table `note`
--
INSERT INTO `note` (`id_note`, `id_appartenance`, `id_controle`, `valeur`) VALUES
(104, 83, 169, 1),
(105, 103, 169, 1),
(106, 103, 170, 2),
(107, 103, 171, 3),
(108, 103, 169, 2),
(109, 83, 169, 20),
(110, 103, 169, 10),
(111, 103, 169, 18),
(112, 97, 169, 0),
(113, 97, 169, 15),
(114, 32, 169, 10),
(115, 32, 169, 8),
(116, 32, 169, 5),
(117, 91, 169, 0),
(118, 103, 170, 5),
(119, 103, 170, 6.7),
(120, 103, 170, 6.7),
(121, 103, 170, 6.7),
(122, 103, 170, 6.7),
(123, 103, 170, 6.7),
(124, 103, 170, 6.7),
(125, 103, 170, 6.5),
(126, 103, 170, 8.7),
(127, 103, 170, 18.4),
(128, 103, 170, 18.4),
(129, 103, 170, 13.9),
(130, 103, 170, 8.34),
(131, 50, 169, 1),
(132, 73, 169, 2);
-- --------------------------------------------------------
--
-- Structure de la table `semestre`
--
CREATE TABLE IF NOT EXISTS `semestre` (
`id_semestre` int(11) NOT NULL AUTO_INCREMENT,
`id_formation` int(11) NOT NULL,
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`rang` tinyint(4) NOT NULL,
`annee` year(4) NOT NULL,
PRIMARY KEY (`id_semestre`),
KEY `id_formation` (`id_formation`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;
--
-- RELATIONS POUR LA TABLE `semestre`:
-- `id_formation`
-- `formation` -> `id_formation`
--
--
-- Contenu de la table `semestre`
--
INSERT INTO `semestre` (`id_semestre`, `id_formation`, `nom`, `rang`, `annee`) VALUES
(1, 1, 'S1', 1, 2015),
(2, 1, 'S2', 2, 2015),
(3, 2, 'S3', 3, 2015),
(4, 2, 'S4', 4, 2015),
(8, 1, 'S1', 1, 2016),
(9, 2, 'S1', 1, 2016),
(16, 2, 'S1', 1, 2015);
-- --------------------------------------------------------
--
-- Structure de la table `ue`
--
CREATE TABLE IF NOT EXISTS `ue` (
`id_ue` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_ue`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
--
-- Contenu de la table `ue`
--
INSERT INTO `ue` (`id_ue`, `nom`, `libelle`) VALUES
(9, '4RUE11', 'UE1 - Bases de l''informatique'),
(10, '4RUE12', 'UE2 - Bases de culture scientifique, sociale et humaine');
-- --------------------------------------------------------
--
-- Structure de la table `utilisateur`
--
CREATE TABLE IF NOT EXISTS `utilisateur` (
`identifiant` varchar(50) NOT NULL,
`prenom` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`nom` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`sexe` tinyint(1) NOT NULL DEFAULT '1',
`mail` varchar(50) NOT NULL,
`mdp` varchar(40) NOT NULL,
`droits` varchar(44) NOT NULL DEFAULT 'student',
PRIMARY KEY (`identifiant`),
UNIQUE KEY `identifiant` (`identifiant`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `utilisateur`
--
INSERT INTO `utilisateur` (`identifiant`, `prenom`, `nom`, `sexe`, `mail`, `mdp`, `droits`) VALUES
('admin', 'monsieur', 'administrateur', 1, 'admin@iut-tlse3.fr', 'lkjdsqlkjdlqksjdlqksjdqlksdjlqksjdqj', 'teacher,admin'),
('admin2', 'madame', 'administratrice', 0, 'mme.admin@iut-tlse3.fr', 'lkjdsqlkjdlqksjdlqksjdqlksdjlqksjdqj', 'admin'),
('aft1950a', 'Rachel', 'DAVENPORT', 0, 'rachel.davenport@etu.iut-tlse3.fr', '68724b2da1b628fd37116d3abae9c4233aa9fa56', 'student'),
('agl1956a', 'Cruz', 'HOWE', 1, 'cruz.howe@etu.iut-tlse3.fr', 'c3f22ac779a9e0e276acdc9933cdcdb2f054e317', 'student'),
('agq1929a', 'Althea', 'POOLE', 1, 'althea.poole@etu.iut-tlse3.fr', 'f20feea8f16e481683d420f8c97c4366d4941f4c', 'student'),
('aiv1989a', 'Concetta', 'ROBLES', 1, 'concetta.robles@etu.iut-tlse3.fr', 'e3e642e4b47a582f3a4b3e20c4d9bf612add1824', 'student'),
('anj1991a', 'Katie', 'GUTIERREZ', 1, 'katie.gutierrez@etu.iut-tlse3.fr', '0e2a184f4a27976f6648dbad6f33ffaba193c190', 'student'),
('auy1966a', 'Bobbi', 'PRATT', 1, 'bobbi.pratt@etu.iut-tlse3.fr', 'bd01c0a7d116ac61a12cddf768de4384cb2ed382', 'student'),
('awl1901a', 'Clare', 'ROLLINS', 1, 'clare.rollins@etu.iut-tlse3.fr', '0294ff411362354abbad41829c27b5d42cbc4388', 'student'),
('bae1943a', 'Shaw', 'GOFF', 1, 'shaw.goff@etu.iut-tlse3.fr', '99636e590508ed14336cf5847dcd24302bd86908', 'student'),
('bit1985a', 'Rosalind', 'FISHER', 1, 'rosalind.fisher@etu.iut-tlse3.fr', 'bbba4cd89896d2d6bf5c8d33ce3b4af025d6165d', 'student'),
('bky1924a', 'Gena', 'ENGLAND', 1, 'gena.england@etu.iut-tlse3.fr', '89805c2213710c0f7c03954d1fb171b3aba3c107', 'student'),
('buz1982a', 'Kemp', 'JACOBS', 1, 'kemp.jacobs@etu.iut-tlse3.fr', 'eda25de06910b9bbeeebcd81421093f1163d5a2c', 'student'),
('cda1951a', 'Mcpherson', 'ANTHONY', 1, 'mcpherson.anthony@etu.iut-tlse3.fr', '928e8e07046c74f035b0bd0f84a6463133890006', 'student'),
('cuk1947a', 'Baxter', 'HERRERA', 1, 'baxter.herrera@etu.iut-tlse3.fr', '1e0927db69476aa8dad0e2f0b360aa142800b66c', 'student'),
('cvv1936a', 'Kayla', 'CANTRELL', 1, 'kayla.cantrell@etu.iut-tlse3.fr', '7c9976507ec461d729f8e48ccdf5b8e8418ae6fa', 'student'),
('cyw1979a', 'Zamora', 'RIDDLE', 0, 'zamora.riddle@etu.iut-tlse3.fr', '747582c758969846527f612f05ac525a82f2d67f', 'student'),
('djo1928a', 'Vaughn', 'DURHAM', 1, 'vaughn.durham@etu.iut-tlse3.fr', 'cd6d4eb78a2f2b4228913d8ca89ab95fba17a953', 'student'),
('dtg1946a', 'Ruiz', 'WILKERSON', 1, 'ruiz.wilkerson@etu.iut-tlse3.fr', '61fa79da89021355623584247fc5597b4a811c4a', 'student'),
('dui1946a', 'Burns', 'COMPTON', 1, 'burns.compton@etu.iut-tlse3.fr', '7efa228dda0181027eff80368fe5426321ffa40e', 'student'),
('eca1977a', 'Hope', 'WILSON', 1, 'hope.wilson@etu.iut-tlse3.fr', 'aa9f150450bed0a9c47d6d1b412e9af032da8fa9', 'student'),
('eee1933a', 'Stacey', 'LITTLE', 0, 'stacey.little@etu.iut-tlse3.fr', '31b9ae5ec7027c386807ca2e8212dcc26c3b087e', 'student'),
('eme1913a', 'Booth', 'HENRY', 1, 'booth.henry@etu.iut-tlse3.fr', '86fb4f37792e36d800265554310d21e59d624d4d', 'student'),
('fei1944a', 'Esperanza', 'TERRELL', 1, 'esperanza.terrell@etu.iut-tlse3.fr', '9800cde34ddf1e24c2b1e31f84d72f2f9de753c8', 'student'),
('gdb1939a', 'Kate', 'NOEL', 1, 'kate.noel@etu.iut-tlse3.fr', '918bcf2e3ffccb2bd18290a67bcbada6921c8ba3', 'student'),
('gwe1975a', 'Helen', 'HICKS', 1, 'helen.hicks@etu.iut-tlse3.fr', 'd5578ae52d8b9429a411fe6824f79aa2e4ba4295', 'student'),
('gyy1983a', 'Merrill', 'WALTER', 1, 'merrill.walter@etu.iut-tlse3.fr', '2d6450fb04820591c34d6e470d8d16cc129ed634', 'student'),
('hcc1997a', 'Madeline', 'MARKS', 1, 'madeline.marks@etu.iut-tlse3.fr', '193e0b1555ac578b13b6f02b4b2c6b8c0576a2cd', 'student'),
('hku1995a', 'Roslyn', 'MURPHY', 1, 'roslyn.murphy@etu.iut-tlse3.fr', 'a2c17932dcc6a628601a86bd02e5e6110b774205', 'student'),
('hmn1970a', 'Levy', 'ARMSTRONG', 1, 'levy.armstrong@etu.iut-tlse3.fr', '85eed5e07ad380224e3dff9c68631436fc5e0580', 'student'),
('hpa1908a', 'Jacklyn', 'BYRD', 1, 'jacklyn.byrd@etu.iut-tlse3.fr', '50c850d3d6c6e8b5277f58f59c206d7ed685b8f9', 'student'),
('hrv1902a', 'Irwin', 'HOUSTON', 1, 'irwin.houston@etu.iut-tlse3.fr', '99ab47f6cce9313bb631d892d3a192420df1ba43', 'student'),
('hsx1927a', 'Irene', 'MONROE', 1, 'irene.monroe@etu.iut-tlse3.fr', '7fa7e7fcbb03c0be72583f2d1bfc41720f2274f1', 'student'),
('hth1975a', 'Pruitt', 'FERGUSON', 1, 'pruitt.ferguson@etu.iut-tlse3.fr', '562802653c96a2e3d2523fb6f38df8c42a6c70a2', 'student'),
('hzg1935a', 'Clarice', 'ORTEGA', 1, 'clarice.ortega@etu.iut-tlse3.fr', '8c50183063238ec8218d0959c71f3315715102be', 'student'),
('iah1936a', 'Franklin', 'SLATER', 1, 'franklin.slater@etu.iut-tlse3.fr', 'c4b7e3ae38056aa7b5a492b5ae4d6822bbc4f04b', 'student'),
('ihf1991a', 'Robinson', 'MCGEE', 1, 'robinson.mcgee@etu.iut-tlse3.fr', '4aeeee2100e584893c71d32ebcb5b4837f3e2e1a', 'student'),
('imf1922a', 'Hawkins', 'PATTERSON', 1, 'hawkins.patterson@etu.iut-tlse3.fr', '05ef138dfd9464af5ca7ddb1e6fc5d38a5d256dc', 'student'),
('iyh1918a', 'Tucker', 'TRAN', 1, 'tucker.tran@etu.iut-tlse3.fr', '70e3a6e9f775731a6dc43044576feb6acf4739bd', 'student'),
('jfa1965a', 'Lolita', 'FARRELL', 1, 'lolita.farrell@etu.iut-tlse3.fr', '1a5d44889500c4f04f076836691d9ccea4c56cff', 'student'),
('jgd1966a', 'Janelle', 'BURKS', 1, 'janelle.burks@etu.iut-tlse3.fr', '83cbc892278c1d7aab3214383b272a2677a39f01', 'student'),
('jrc1974a', 'Pierce', 'CHURCH', 1, 'pierce.church@etu.iut-tlse3.fr', '0bf72260769a364574bebe43a0e2d40f0b42918a', 'student'),
('kfx1995a', 'Mitzi', 'SCHROEDER', 1, 'mitzi.schroeder@etu.iut-tlse3.fr', 'ea085dda880c523b14c1d9c24bfe8479901d90bf', 'student'),
('kpf1942a', 'Strickland', 'ROACH', 1, 'strickland.roach@etu.iut-tlse3.fr', '49ae8a41825e039415fc5403721a08bf849675dd', 'student'),
('ktz1997a', 'Mcgowan', 'COHEN', 1, 'mcgowan.cohen@etu.iut-tlse3.fr', '77f2eb9b0cd9702671799b4016e115fe185b44da', 'student'),
('kul1903a', 'Magdalena', 'SIMON', 1, 'magdalena.simon@etu.iut-tlse3.fr', 'a364c06c6bc0883322fe0b8fecf70379187e85de', 'student'),
('lbh1609a', 'Hervé', 'LEBLANC', 1, 'herve.leblanc@iut-tlse3.fr', 'lqkjsdlkjsdlkjqsdlkjqsdlkjqsdkjqsldjqsj', 'teacher'),
('liw1940a', 'Middleton', 'WATERS', 1, 'middleton.waters@etu.iut-tlse3.fr', '406a96ab06f805166e3ef4809e5b8aefd3fa422a', 'student'),
('ljc1902a', 'Lisa', 'CLEMENTS', 1, 'lisa.clements@etu.iut-tlse3.fr', '8b554a1fdc6fa3c07988a523bf411c90c1b647f7', 'student'),
('lme1952a', 'Hollie', 'GILLIAM', 1, 'hollie.gilliam@etu.iut-tlse3.fr', '3f7b0669e6d2a9df317c89d9947b8b2c724278f5', 'student'),
('maq1980a', 'Cook', 'DUNN', 1, 'cook.dunn@etu.iut-tlse3.fr', '9a35d39268d9ba001290d4ad62de2e8d3da645dc', 'student'),
('mhr1952a', 'Socorro', 'BLAIR', 1, 'socorro.blair@etu.iut-tlse3.fr', '007a09dbff0959962f7aca117f55e125d77658c4', 'student'),
('mhu1946a', 'Edna', 'GREEN', 1, 'edna.green@etu.iut-tlse3.fr', 'a2be4db796235e6ee539d8a96a692fc1936957db', 'student'),
('mma1990a', 'Williamson', 'HATFIELD', 1, 'williamson.hatfield@etu.iut-tlse3.fr', 'b00d282627610321925b6573ecf55242491e4382', 'student'),
('mrd1609a', 'Adrien', 'MARQUES', 1, 'adrien.marques@etu.iut-tlse3.de', '34ad81180ba7cfa510101af8abe47a558e46858a', 'student'),
('msj1985a', 'Ball', 'AVILA', 1, 'ball.avila@etu.iut-tlse3.fr', 'a65d0ad5230a8e62f691ad1f2f95a3c65f1c03dd', 'student'),
('mzh1955a', 'Leblanc', 'WHEELER', 1, 'leblanc.wheeler@etu.iut-tlse3.fr', 'd5711bb21c243770c254b30fc2fb429b06bbfaf0', 'student'),
('ngw1997a', 'Booker', 'LOPEZ', 1, 'booker.lopez@etu.iut-tlse3.fr', 'a0feaf0e9ec8f18cfc3cc8eaa0a4af131c5c91d7', 'student'),
('ngz1932a', 'Faye', 'PAYNE', 1, 'faye.payne@etu.iut-tlse3.fr', '166e4a0172787e784c6835ed07d34a550b61b986', 'student'),
('non1968a', 'Foster', 'TILLMAN', 1, 'foster.tillman@etu.iut-tlse3.fr', '3a3f8d8ddbf68fa1e366cd87d20357f05fa09f45', 'student'),
('obg1973a', 'Lynch', 'CHANDLER', 1, 'lynch.chandler@etu.iut-tlse3.fr', 'a10d3ba3eacf95b418fe2c108492ea41ad83fc9e', 'student'),
('ono1984a', 'Kitty', 'SANFORD', 0, 'kitty.sanford@etu.iut-tlse3.fr', '2100f892c9e0c1a0ce35e444d969b2bdf9de9d6b', 'student'),
('oqz1937a', 'Morse', 'MICHAEL', 1, 'morse.michael@etu.iut-tlse3.fr', '2edfedd459e1b63bf637184c4ee4a978f0c8e41e', 'student'),
('otm1902a', 'Woods', 'DEJESUS', 1, 'woods.dejesus@etu.iut-tlse3.fr', '8d3a059e7df1744e6e342dad660adeb3675d42d1', 'student'),
('otv1930a', 'Odonnell', 'BEASLEY', 0, 'odonnell.beasley@etu.iut-tlse3.fr', 'b55e173984ef282d1bbfb1cf441b1c702533ac87', 'student'),
('oxz1985a', 'Paul', 'GROSS', 1, 'paul.gross@etu.iut-tlse3.fr', '5ba7159ed8bea08ff0c6b25f47c979f2e3b9e1a5', 'student'),
('pdi1904a', 'Brady', 'ASHLEY', 1, 'brady.ashley@etu.iut-tlse3.fr', '48c9adaa6687ec1f896675cd7dd262c6b38c2b44', 'student'),
('pfv1965a', 'Francine', 'COMBS', 0, 'francine.combs@etu.iut-tlse3.fr', 'a6ba94eec7357d691231ce8b7940d86ae2cb94a9', 'student'),
('pos1958a', 'Juliana', 'FULLER', 0, 'juliana.fuller@etu.iut-tlse3.fr', 'bd4300a1779af89b2c87863384d7ab4c93d922ad', 'student'),
('psg1965a', 'Knapp', 'STEPHENS', 1, 'knapp.stephens@etu.iut-tlse3.fr', '4e24185809f6d19ab25469582b340d1d98d1478a', 'student'),
('qoe1974a', 'Raquel', 'CUNNINGHAM', 1, 'raquel.cunningham@etu.iut-tlse3.fr', '5670da6f0a600ea148705e8dfe87921b35bc24dc', 'student'),
('ref', 'mlle', 'référente', 0, 'ref@ref.ref', 'sqldkmsqldksqmlkd', 'master'),
('rmj1965a', 'Bridges', 'ROSALES', 1, 'bridges.rosales@etu.iut-tlse3.fr', 'ffa1cf9f81059b83a1a05fe7408867027decf767', 'student'),
('rpl1936a', 'Tamera', 'MOSES', 0, 'tamera.moses@etu.iut-tlse3.fr', 'd7f0216bd90b84f878bf562f473875e500d6ae40', 'student'),
('rwg1909a', 'Kelly', 'WALLACE', 0, 'kelly.wallace@etu.iut-tlse3.fr', '28356092e4722e7d40d761db1b2a3e4178c0e8a1', 'student'),
('scm1996a', 'Dotson', 'SANDOVAL', 1, 'dotson.sandoval@etu.iut-tlse3.fr', '3d2818a46340435822af94d9736bfad7ad1ecd4b', 'student'),
('sft1994a', 'Norris', 'BROCK', 1, 'norris.brock@etu.iut-tlse3.fr', 'fcfd756acef2869bb15d72b877ccd9eed675fd26', 'student'),
('sjl1937a', 'English', 'POPE', 1, 'english.pope@etu.iut-tlse3.fr', 'a5536a593633b1d610e976985d3be1fc27999e4d', 'student'),
('sjw1936a', 'Cross', 'MEYERS', 1, 'cross.meyers@etu.iut-tlse3.fr', '8571d7564e2a196feb0841fd8474754d0032721c', 'student'),
('ssr1906a', 'Howell', 'FAULKNER', 1, 'howell.faulkner@etu.iut-tlse3.fr', '073de42d66740dfd2beec792e63806a7147fa087', 'student'),
('ste1994a', 'Allison', 'CALLAHAN', 0, 'allison.callahan@etu.iut-tlse3.fr', 'a5f1074db3275a128b57d99c8a48a557297084c9', 'student'),
('swd1951a', 'Jenny', 'GRAHAM', 0, 'jenny.graham@etu.iut-tlse3.fr', 'ae8ffe6506ca1863cee65fc4402bb5dd6e563d4b', 'student'),
('tdc1978a', 'Bird', 'TRAVIS', 1, 'bird.travis@etu.iut-tlse3.fr', '4a10508dd7f87089a321fc07ff63a8269a427bcb', 'student'),
('tkz1955a', 'Nora', 'BREWER', 0, 'nora.brewer@etu.iut-tlse3.fr', '6695f488b7caf712423e5f090707058b5af0798d', 'student'),
('tnx1949a', 'Dejesus', 'WALTON', 1, 'dejesus.walton@etu.iut-tlse3.fr', '830e567e1f570e0b90ae23488e1aaa11142ec4a6', 'student'),
('uix1942a', 'Kristen', 'GIBSON', 0, 'kristen.gibson@etu.iut-tlse3.fr', '66fa9b0c1e377689bde5992b7ce9f8a88b394693', 'student'),
('vau1957a', 'Kathy', 'STOUT', 0, 'kathy.stout@etu.iut-tlse3.fr', '7149c984ea57994e5306ce3c4026064a776de1d4', 'student'),
('vdj1905a', 'Dean', 'ESPINOZA', 1, 'dean.espinoza@etu.iut-tlse3.fr', 'fde91e6c0086ecda41e08a683eb6df56c7739371', 'student'),
('vgb1979a', 'Baird', 'FORD', 1, 'baird.ford@etu.iut-tlse3.fr', '66eb6f8e8634e210729fcf25dfa32ca17bf401c3', 'student'),
('vul1953a', 'Robyn', 'BATES', 1, 'robyn.bates@etu.iut-tlse3.fr', '6421ed3a69005e0de9ab025db4617a5a2d125682', 'student'),
('wbt1993a', 'Goodman', 'PAUL', 1, 'goodman.paul@etu.iut-tlse3.fr', '282c5d93f43a3960e840b410f95b4c598e8a9340', 'student'),
('wnx1995a', 'Lorraine', 'PADILLA', 1, 'lorraine.padilla@etu.iut-tlse3.fr', '6f38a397c9c7e5b3aceab87e63da5533fa612459', 'student'),
('wpa1966a', 'Collier', 'ENGLISH', 1, 'collier.english@etu.iut-tlse3.fr', 'fd63ff8eefa080cbecb52b68dc3cf264cf121fe3', 'student'),
('wvn1982a', 'Sears', 'WELCH', 1, 'sears.welch@etu.iut-tlse3.fr', '39b49c655ec584119306086db59253cf3a171f42', 'student'),
('xdh1989a', 'Rasmussen', 'PAGE', 1, 'rasmussen.page@etu.iut-tlse3.fr', '51240c864a1efe510e150f5789889dd7b1173e9c', 'student'),
('xdi1926a', 'Ferrell', 'SALAS', 1, 'ferrell.salas@etu.iut-tlse3.fr', '50a8f5265f56c9a30816379dd91d26870c9b649b', 'student'),
('xtb1903a', 'Kelly', 'FLYNN', 0, 'kelly.flynn@etu.iut-tlse3.fr', '270b848d2e7ecb404a3816219bcfc32dafed8477', 'student'),
('ydw1981a', 'Glenda', 'WILKINSON', 0, 'glenda.wilkinson@etu.iut-tlse3.fr', '594ca97b532fa21cc524792f2d00a2720b010191', 'student'),
('yjh1944a', 'Thompson', 'SOLIS', 1, 'thompson.solis@etu.iut-tlse3.fr', '303925d37b3d505b6162bd0222bd654dc06327a9', 'student'),
('ylq1926a', 'Stein', 'SILVA', 1, 'stein.silva@etu.iut-tlse3.fr', '9d4517cb3cec7bae1957f4026db777e33ccc097d', 'student'),
('ypo1964a', 'Marylou', 'HOPKINS', 0, 'marylou.hopkins@etu.iut-tlse3.fr', 'b72c606e9f02d46fbd29da132d96bbdbbffabf35', 'student'),
('ypt1989a', 'Simon', 'MORALES', 1, 'simon.morales@etu.iut-tlse3.fr', '552b82ca9e6d6b6f661e66d7af0a380e00d52625', 'student'),
('yyt1926a', 'Bryant', 'CHANEY', 1, 'bryant.chaney@etu.iut-tlse3.fr', '5a962df24a9b04ed8a56c02a68d8dfc5e9435abe', 'student'),
('zge1937a', 'Ella', 'GARZA', 0, 'ella.garza@etu.iut-tlse3.fr', '927065354ae8e224f43f6eb9578b5c7c9750461b', 'student'),
('zgy1948a', 'Emily', 'ALVARADO', 0, 'emily.alvarado@etu.iut-tlse3.fr', '34ad81180ba7cfa510101af8abe47a558e46858a', 'student');
--
-- Contraintes pour les tables exportées
--
--
-- Contraintes pour la table `appartenance`
--
ALTER TABLE `appartenance`
ADD CONSTRAINT `appartenance_ibfk_1` FOREIGN KEY (`id_etudiant`) REFERENCES `utilisateur` (`identifiant`),
ADD CONSTRAINT `appartenance_ibfk_2` FOREIGN KEY (`id_groupe`) REFERENCES `groupe` (`id_groupe`),
ADD CONSTRAINT `appartenance_ibfk_3` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`);
--
-- Contraintes pour la table `controle`
--
ALTER TABLE `controle`
ADD CONSTRAINT `controle_ibfk_1` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`) ON DELETE CASCADE;
--
-- Contraintes pour la table `enseignement`
--
ALTER TABLE `enseignement`
ADD CONSTRAINT `enseignement_id_enseignant` FOREIGN KEY (`id_enseignant`) REFERENCES `utilisateur` (`identifiant`),
ADD CONSTRAINT `enseignement_id_groupe` FOREIGN KEY (`id_groupe`) REFERENCES `groupe` (`id_groupe`),
ADD CONSTRAINT `enseignement_id_mcc_module` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`);
--
-- Contraintes pour la table `mcc_module`
--
ALTER TABLE `mcc_module`
ADD CONSTRAINT `mcc_module_id_mcc_ue` FOREIGN KEY (`id_mcc_ue`) REFERENCES `mcc_ue` (`id_mcc_ue`) ON DELETE CASCADE,
ADD CONSTRAINT `mcc_module_id_module` FOREIGN KEY (`id_module`) REFERENCES `module` (`id_module`) ON DELETE CASCADE;
--
-- Contraintes pour la table `mcc_ue`
--
ALTER TABLE `mcc_ue`
ADD CONSTRAINT `mcc_ue_id_semestre` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`) ON DELETE CASCADE,
ADD CONSTRAINT `mcc_ue_id_ue` FOREIGN KEY (`id_ue`) REFERENCES `ue` (`id_ue`) ON DELETE CASCADE;
--
-- Contraintes pour la table `note`
--
ALTER TABLE `note`
ADD CONSTRAINT `note_id_appartenance` FOREIGN KEY (`id_appartenance`) REFERENCES `appartenance` (`id_appartenance`) ON DELETE CASCADE,
ADD CONSTRAINT `note_id_controle` FOREIGN KEY (`id_controle`) REFERENCES `controle` (`id_controle`) ON DELETE CASCADE;
--
-- Contraintes pour la table `semestre`
--
ALTER TABLE `semestre`
ADD CONSTRAINT `semestre_id_formation` FOREIGN KEY (`id_formation`) REFERENCES `formation` (`id_formation`);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

View File

@ -1,97 +0,0 @@
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
require_once __ROOT__.'/manager/database.php';
require_once __ROOT__.'/manager/user.php';
require_once __ROOT__.'/manager/groups.php';
debug();
/* LECTURE DU JSON */
$sampleFile = file_get_contents('../src/userlistSample.json');
$sample = JSON_decode($sampleFile);
/*** CRÉATION D'UTILISATEUR ***/
foreach( $sample as $user ){
$answer1 = new stdClass();
$answer2 = new stdClass();
$request1 = new stdClass();
$request1->level_1 = 'create';
$request2 = new stdClass();
$request2->level_1 = 'add';
foreach($user as $k=>$v)
switch($k){
case 'identifiant': $request1->identifiant = $v; break;
case 'prenom' : $request1->prenom = $v; break;
case 'nom' : $request1->nom = $v; break;
case 'mail' : $request1->mail = $v; break;
case 'mdp' : $request1->mdp = $v; break;
case 'droits' : $request1->droits = $v; break;
}
user_switch_level_1($request1, $answer1);
echo $request1->identifiant;
if( $answer1->request == 'success' ){
/* AJOUT A UN GROUPE */
$rang = ''.(rand(1,4));
$request2->etudiant = $request1->identifiant; // utilisateur.identifiant
$request2->groupe ='S'.$rang.chr(rand(65,70)); // groupe entre S1A - S4F
$request2->semestre = $rang; // semestre.rang
$request2->annee = '2015'; // semestre.annee
groups_switch_level_1($request2, $answer2);
if( $answer2->request == 'success' )
echo '['.$request2->groupe.']<br>';
else
echo '[ERROR_2: '.$answer2->request.']<br>';
}else
echo ' [ERROR_1: '.$answer1->request.']<br>';
}
// user_switch_level_1($request, $answer);
// echo var_dump( $answer );
// echo '<br><br><br><br><br><br><br>It works !';
/*** AJOUT D'UN UTILISATEUR À UN GROUPE ***/
//
// $request = new stdClass();
// $answer = new stdClass();
// $request->level_1 = 'add';
// $request->utilisateur = 'fvg1856a'; // utilisateur.username
// $request->groupe = 'A'; // groupe.nom
// groups_switch_level_1($request, $answer);
// echo var_dump( $answer );
// echo "<br><br><br><br><br><br><br>It works !";
?>

432
xdoc/git.graph Normal file
View File

@ -0,0 +1,432 @@
* 367520c - (HEAD, origin/dev, dev) (il y a 19 minutes) (2016-01-08 10:58:53 +0100) <xdrm-brackets> Nettoyage des sources
* 7e20d41 - (origin/master, origin/HEAD, master) (il y a 9 heures) (2016-01-08 02:16:27 +0100) <xdrm-brackets> [x] Compensations + au moins 1 des UE entre 8 et 10 (strictement pour 10) + moyenne des UE < 10 -> UEs entre 8 et 10 ORANGES + SEMESTRE en ORANGE + moyenne des UE >= 10 -> UEs entre 8 et 10 ORANGES + SEMESTRE en VERT + au moins 1 des UE < 8 + SEMESTRE en ROUGE
* f991b43 - (il y a 11 heures) (2016-01-07 23:54:43 +0100) <xdrm-brackets> [x] Pas de "pointer" sur lien sans destination + lien dossier étudiant pour enseignant + mes groupes + saisie notes + lien dossier étudiant pour étudiant + tous les groupes + mes groupes + lien contrôle étudiant
* bb6dc71 - (il y a 12 heures) (2016-01-07 23:42:17 +0100) <xdrm-brackets> [x] Import de notes pour admin+enseignant (droits cumulés)
* 702b20a - (il y a 12 heures) (2016-01-07 23:17:23 +0100) <xdrm-brackets> [x] Afficher la moyenne du contrôle pour le groupe sur la page de saisie
* be149f6 - (il y a 12 heures) (2016-01-07 23:04:02 +0100) <xdrm-brackets> [x] Bouton différent pour la connexion
* 4125338 - (il y a 12 heures) (2016-01-07 22:56:54 +0100) <xdrm-brackets> [x] Rang pour import d'inscrits limité 'liste déroulante'
* 99bf544 - (il y a 13 heures) (2016-01-07 22:39:01 +0100) <xdrm-brackets> [x] Saisie de note libre (sans pas de .25) [x] Pb saisie_notemultiple renvoie "error"
* 326738d - (il y a 13 heures) (2016-01-07 22:00:20 +0100) <xdrm-brackets> [x] Mise en page de la page PROFIL
* b588868 - (il y a 13 heures) (2016-01-07 21:51:25 +0100) <xdrm-brackets> [x] Modifier l'affichage du profil
* 5bf45d3 - (il y a 14 heures) (2016-01-07 21:41:45 +0100) <xdrm-brackets> Correction selection formation SETTINGS
* 946d87d - (il y a 14 heures) (2016-01-07 21:39:49 +0100) <xdrm-brackets> Correction des managers avec getCurrentYear
* a572d13 - (il y a 14 heures) (2016-01-07 21:32:00 +0100) <xdrm-brackets> Correction settings quand aucune formation + getCurrentYear utilisation de la session
* b0983bb - (il y a 14 heures) (2016-01-07 21:24:43 +0100) <xdrm-brackets> Correction et renforcement de la gestion de l'année+semestre_pair
* 4eb3c19 - (il y a 14 heures) (2016-01-07 21:15:16 +0100) <xdrm-brackets> [x] Gestion semestre_pair par BDD [x] +Ajouter nom du module pour affichage MODULES>TOUS LES MODULES et autres pages équivalentes Pareil pour NOTES > *
* 98a73d3 - (il y a 16 heures) (2016-01-07 19:18:21 +0100) <xdrm-brackets> [x] Publier/Cacher devient Caché/Visible
* da06864 - (il y a 19 heures) (2016-01-07 16:14:31 +0100) <xdrm-brackets> Correction liens vers modeles excel
* fdf3c22 - (il y a 20 heures) (2016-01-07 15:33:57 +0100) <xdrm-brackets> MMM
* 204db59 - (il y a 20 heures) (2016-01-07 15:10:12 +0100) <xdrm-brackets> Retrait images modèles
* 2b354f3 - (il y a 20 heures) (2016-01-07 15:09:20 +0100) <xdrm-brackets> Correction post-entretien1
* ed7634c - (il y a 23 heures) (2016-01-07 12:25:00 +0100) <xdrm-brackets> Merge branch 'master' of https://github.com/xdrm-brackets/SID
|\
| * 3de18d8 - (il y a 23 heures) (2016-01-07 12:13:42 +0100) <xdrm> Create README.md
* | f503c6b - (il y a 23 heures) (2016-01-07 12:23:47 +0100) <xdrm-brackets> Creative Commons
* | 29e1300 - (il y a 2 jours) (2016-01-06 22:26:40 +0100) <xdrm-brackets> ..
* | 9118c3a - (il y a 3 jours) (2016-01-05 23:40:13 +0100) <xdrm-brackets> [x] Cacher "importer les notes" au référent (master) [x] Correction erreur chevauchement HTML référent marks@jury
* | 5b9d528 - (il y a 3 jours) (2016-01-05 23:03:10 +0100) <xdrm-brackets> [x] Permettre d'ajouter un même module pour un correcteur mais pour un autre semestre (afficher dans le <select>)
* | f98d4c6 - (il y a 3 jours) (2016-01-05 21:34:43 +0100) <xdrm-brackets> Correction de la redirection de groupe (useless) sur la page des notes
* | 2acf167 - (il y a 3 jours) (2016-01-05 11:53:54 +0100) <xdrm-brackets> Correction code couleur (strict < 8 pour moyenne modules)
|/
* cfb354a - (il y a 4 jours) (2016-01-04 23:02:57 +0100) <xdrm-brackets> [x] Régler le problème de visualisation d'un semestre d'une autre année dans le parcours
* 20c49eb - (il y a 4 jours) (2016-01-04 22:51:58 +0100) <xdrm-brackets> [x] Lien du <svg> vers les UE sur la page (ancre)
* 22b4898 - (il y a 4 jours) (2016-01-04 22:26:26 +0100) <xdrm-brackets> Correction <SVG>
* f78ed92 - (il y a 4 jours) (2016-01-04 22:24:31 +0100) <xdrm-brackets> [x] Faire apparaître les UE sur le <SVG> du parcours avec le code couleur uniquement
* e3f251d - (il y a 4 jours) (2016-01-04 21:15:52 +0100) <xdrm-brackets> Correction mineure (prev2 => prev)
* 9de7312 - (il y a 4 jours) (2016-01-04 18:54:37 +0100) <xdrm-brackets> [x] Correction des "Notice: " offset 0 des formations (auto-selection)
* cc9b94f - (il y a 4 jours) (2016-01-04 18:41:48 +0100) <xdrm-brackets> [x] Correction couleur <SVG> du parcours [x] Lien vers les contrôles depuis le parcours
* 22693dd - (il y a 4 jours) (2016-01-04 17:48:13 +0100) <xdrm-brackets> [x] Rectification des mentions jurys + ADM => Passage semestre (admis) + ADJ => Passage de semestre (admis pas jury) + ATT => Passage de semestre (si rang impair) + NAR/DEM/AJ => Pas pris
* c816d7a - (il y a 4 jours) (2016-01-04 17:09:07 +0100) <xdrm-brackets> + Explicitation
* a585b3d - (il y a 4 jours) (2016-01-04 17:05:15 +0100) <xdrm-brackets> [x] Affichage explicite (code couleur) des semestre / UEs / Modules
* acc3a00 - (il y a 4 jours) (2016-01-04 15:53:28 +0100) <xdrm-brackets> Coloration des moyennes
* 9271b5f - (il y a 4 jours) (2016-01-04 12:32:20 +0100) <xdrm-brackets> [x] Affiches les moyennes + par modules + prendre les max(id_notes) + ignorer là ou aucune note pour avoir un aperçu du niveau + par UE + prendre les max(id_notes) + ignorer là ou aucune note pour avoir un aperçu du niveau - par semestres + prendre les max(id_notes) + ignorer là ou aucune note pour avoir un aperçu du niveau
* 5b10816 - (il y a 5 jours) (2016-01-03 22:07:50 +0100) <xdrm-brackets> [x] Import de notes pour un contrôle (admin)
* 17dd409 - (il y a 5 jours) (2016-01-03 22:02:46 +0100) <xdrm-brackets> [x] Import de notes pour un contrôle + @excelManager + enregistrement + lecture/parsage + intégration
* 5b6a537 - (il y a 5 jours) (2016-01-03 20:57:59 +0100) <xdrm-brackets> Nettoyage index
* e1a4a75 - (il y a 5 jours) (2016-01-03 12:51:35 +0100) <xdrm-brackets> [x] Mettre à jour les pages d'accueil
* cc5e1f8 - (il y a 5 jours) (2016-01-03 12:26:45 +0100) <xdrm-brackets> Mise en valeur du semestre courant student_case@svg
* c2ef609 - (il y a 5 jours) (2016-01-03 12:12:50 +0100) <xdrm-brackets> [x] Afficher les mentions jury dans le dossier étudiant
* c087f7c - (il y a 5 jours) (2016-01-03 11:58:11 +0100) <xdrm-brackets> [x] Corrections delNumeric(*, true);
* 4c3d629 - (il y a 5 jours) (2016-01-03 11:55:20 +0100) <xdrm-brackets> [x] Import appréciations jury + sous-caté sur @career + @excelManager + export (si déjà donné, "ADM/ADJ/...", sinon "[A compléter]") + import pour un semestre + déploiement de l'application de la mention jury
* be13fec - (il y a 5 jours) (2016-01-03 11:31:26 +0100) <xdrm-brackets> excelManager@import_jury
* d7b4c4c - (il y a 5 jours) (2016-01-03 01:04:28 +0100) <xdrm-brackets> Correction erreur delNumeric();
* 28623c1 - (il y a 5 jours) (2016-01-03 00:59:18 +0100) <xdrm-brackets> [x] Ajout de la colonne "mention" à la table "appartenance" dans la BDD qui contiendra la mention jury du semestre
* 9f1d953 - (il y a 6 jours) (2016-01-02 20:59:31 +0100) <xdrm-brackets> delNumeric pour tous les fetch() de 1-deep + début de passage de semestres
* d8fbc6e - (il y a 6 jours) (2016-01-02 20:15:06 +0100) <xdrm-brackets> [x] Export jury + format + excelManager + génération + téléchargement
* 7863168 - (il y a 6 jours) (2016-01-02 18:43:33 +0100) <xdrm-brackets> [x] Export groupes + format + excelManager + génération + téléchargement
* 9e9356d - (il y a 6 jours) (2016-01-02 17:16:14 +0100) <xdrm-brackets> Modifications et rectifications mineures + création page career@jury (export/import) + affinage career@jury
* e25aa52 - (il y a 6 jours) (2016-01-02 15:55:25 +0100) <xdrm-brackets> [x] Clonage d'un MCC + On récupère la dernière année ayant des MCC (au moins un UE) + On clone les semestres + On clone les mcc_ue + On clone les mcc_modules + On duplique les contrôles
* 5a2d135 - (il y a 6 jours) (2016-01-02 14:27:04 +0100) <xdrm-brackets> [x] Cacher le déplacement d'étudiants pour le référent [x] Cacher "publier/cacher" les contrôles pour le référent
* a4c38bc - (il y a 6 jours) (2016-01-02 14:21:31 +0100) <xdrm-brackets> [x] Corrections (étape 1) + connection étudiant, infos ==== RANG+ANNEE+FORMATION => SEMESTRE_ID ==== + groupes étudiant, erreur semestre + groupe étudiant, erreur semestre + notes étudiant + modules étudiant + suppression "extends DBAccess" dans les repos + publication par défaut lors de l'import de contrôles (non visible) + Affichage des groupes pour un contrôle (enseignant) + Affichage des étudiants d'un groupe pour un contrôle (enseignant) + Affichage des groupes pour un contrôle (master/admin) + Affichage des étudiants d'un groupe pour un contrôle (master/admin)
* 7747395 - (il y a 9 jours) (2015-12-30 17:39:24 +0100) <xdrm-brackets> Correction erreur mineure lors de la selection auto de la première "formation" sur la page "admin@tous_les_groupes" alors qu'aucune formation n'existe
* 850cca7 - (il y a 9 jours) (2015-12-30 17:21:10 +0100) <xdrm-brackets> Déploiement du checkParam() (principe de vérification des champs centralisé) terminé (~80)
* 6f35306 - (il y a 9 jours) (2015-12-30 17:04:02 +0100) <xdrm-brackets> Correction de la connection BDD générique
|\
| * cdd9407 - (il y a 4 semaines) (2015-12-08 10:57:35 +0100) <Fauvet> [AJOUT] Profil
* | 594615f - (il y a 9 jours) (2015-12-30 17:02:17 +0100) <xdrm-brackets> Implémentation des conditions du checkParam(); et déploiement débuté
|/
* 61a2daa - (il y a 5 semaines) (2015-12-06 20:16:44 +0100) <xdrm-brackets> Correction finale du loader
* 0f7b4a8 - (il y a 5 semaines) (2015-12-06 20:08:28 +0100) <xdrm-brackets> Ajout de l'autoloader (intégration complèteà
* e079849 - (il y a 5 semaines) (2015-12-06 19:42:02 +0100) <xdrm-brackets> Intégration de l'autoloader
* 7a4c2e7 - (il y a 5 semaines) (2015-12-06 15:05:22 +0100) <xdrm-brackets> Déplacement d'étudiants multiple + affichage des noms de groupes par taille puis alpha
* 4e24047 - (il y a 5 semaines) (2015-12-05 19:45:06 +0100) <xdrm-brackets> merge remote
|\
| * 3d2eb51 - (il y a 5 semaines) (2015-12-02 22:01:00 +0100) <xdrm-brackets> Modification de shortcut-manager (pas besoin de tout retaper dans l'ordre) + correction JS "undefined creerSemestre"
* | c96b605 - (il y a 5 semaines) (2015-12-05 19:43:44 +0100) <xdrm-brackets> Modification de shortcut-manager (pas besoin de tout retaper dans l'ordre) + correction JS "undefined creerSemestre"
|/
* b24b818 - (il y a 5 semaines) (2015-12-02 20:12:34 +0100) <xdrm-brackets> Ajout des raccourcis clavier et suppression de données inutiles (loader+php vars dans <input:hidden>)
* f6d40ff - (il y a 5 semaines) (2015-12-01 20:00:37 +0100) <xdrm-brackets> [x] Les contrôles nayant pas encore de note doivent afficher "pas encore de note" [x] Enlever le nom du module à laffichage de chaque contrôle car il est déjà affiché au dessus. [x] Afficher le poids des modules mais aussi des UEs
* f62e14c - (il y a 5 semaines) (2015-12-01 19:45:00 +0100) <xdrm-brackets> Affichage de l'année courante et màj dynamique
* 39e06d2 - (il y a 5 semaines) (2015-12-01 19:08:42 +0100) <xdrm-brackets> Modification majeure de la BDD
* 72507bb - (il y a 5 semaines) (2015-12-01 19:07:45 +0100) <xdrm-brackets> ] Modifier modèle: note visible par étudiant quand activée (checkbox de l'admin) + modification par l'admin + visibilité au niveau de l'étudiant
* 1fa1c55 - (il y a 5 semaines) (2015-12-01 19:01:05 +0100) <xdrm-brackets> Modification design (bouton del) + Modification du modèle(BDD entre autres) l'admin peut choisir le caractère "publié" d'un contrôle ce qui permet de définir si les étudiants peuvent voir leur note pour ce contrôle (modification implémentée, visu étu à faire)
* a8369ef - (il y a 5 semaines) (2015-12-01 18:17:55 +0100) <xdrm-brackets> Mise à jour de la BDD
* e89e992 - (il y a 5 semaines) (2015-12-01 18:15:44 +0100) <xdrm-brackets> [x] Déployer et remodeler: enseignement de groupe & mcc_module + définir les requêtes à modifier + définir les actions qui auront de conséquences + modifier les requêtes + modifier l'interface + modifier le déploiement
* 7b98cb3 - (il y a 5 semaines) (2015-12-01 16:46:41 +0100) <xdrm-brackets> Correction: plus de duplicata sur la page mes_groupes/tous_les_groupes au niveau de l'affinage de semestres
* 83fd11c - (il y a 6 semaines) (2015-11-30 21:46:40 +0100) <xdrm-brackets> Déploiement de l'intégration/modification des enseignements + déploiement à l'interface de modification des rôles, reste affiche à déployer et modifier. [x] Modifier modèle: prof corrige un GROUPE pour un module + modifier BDD + afficher les groupes pour le changement de rôles + intégrer la modification au changement de rôles
* 75265c8 - (il y a 6 semaines) (2015-11-30 19:58:06 +0100) <xdrm-brackets> Mettre en couleur les notes modifiées
* 8b6e898 - (il y a 6 semaines) (2015-11-30 19:46:10 +0100) <xdrm-brackets> Possibilité de changer l'année pour référent / admin + page pour changer l'année de visualisation + dans toute saisie/modification ajouter une condition (annee courante = année session ?)
* e248a57 - (il y a 6 semaines) (2015-11-30 19:41:31 +0100) <xdrm-brackets> Importation des MCC/inscrits en fonction de getCurrentYear() et non $_SESSION['annee']
* 5cc28c4 - (il y a 6 semaines) (2015-11-30 19:34:35 +0100) <xdrm-brackets> Utilisation de l'id groupe pour l'affichage de notes par groupe
* 7be48a9 - (il y a 6 semaines) (2015-11-30 19:29:12 +0100) <xdrm-brackets> Correction de l'affichage de groupes avec un nom avec des espaces => utiliser des ID à faire
* d6a7b78 - (il y a 6 semaines) (2015-11-30 19:17:39 +0100) <xdrm-brackets> Possibilité pour 'master'/'admin' de changer l'année de visualisation reste à bloquer la modification des années précédentes
* 8df5020 - (il y a 6 semaines) (2015-11-30 17:32:17 +0100) <xdrm-brackets> Fixation du #MENU
* 4ed2b35 - (il y a 6 semaines) (2015-11-30 17:25:33 +0100) <xdrm-brackets> Correction des moyennes par modules, prise en compte des coefficients des contrôles reste à déployer le reste des moyennes à travers le MCC
* 1b2cba7 - (il y a 6 semaines) (2015-11-30 10:23:34 +0100) <xdrm-brackets> Affichage des moyennes des modules
* 87def55 - (il y a 6 semaines) (2015-11-29 23:29:54 +0100) <xdrm-brackets> Première mise en beauté + évènement sur <svg> pour le dossier étudiant + déploiement et implémentation complète de toutes les informations qui découlent du parcours semestres>ues>modules>controles(+note)
* 23877eb - (il y a 6 semaines) (2015-11-29 22:18:50 +0100) <xdrm-brackets> Correction du bug de phpexcel@import_mcc importe maintenant les UE/modules fusionnés
* 07550c0 - (il y a 6 semaines) (2015-11-29 18:26:46 +0100) <xdrm-brackets> Première mise en page et ébauche du dossier étudiant ainsi qu'une correction d'affinage due au dernier debug
* 4a79df4 - (il y a 6 semaines) (2015-11-29 18:07:16 +0100) <xdrm-brackets> Correction de la correction de la correction (qui s'est mal corrigée)
* f868895 - (il y a 6 semaines) (2015-11-29 18:01:20 +0100) <xdrm-brackets> Conflits de correction d'affinage
|\
| * 12c384f - (il y a 6 semaines) (2015-11-29 17:46:50 +0100) <xdrm-brackets> Affinage pour les pages import/export corrigé mais fonction générique à développer
* | 057f5d3 - (il y a 6 semaines) (2015-11-29 17:59:31 +0100) <xdrm-brackets> Affinage pour les pages import/export corrigé mais fonction générique à développer
|/
* 275d884 - (il y a 6 semaines) (2015-11-29 17:00:02 +0100) <xdrm-brackets> Correction du pb de droit illisible (virgule permanente)
* 2cdd1e0 - (il y a 6 semaines) (2015-11-29 16:49:59 +0100) <xdrm-brackets> Générateur de svg pour le parcours
* 0652a00 - (il y a 6 semaines) (2015-11-29 12:44:03 +0100) <xdrm-brackets> Rectification des liens de modèles de documents
* d475071 - (il y a 6 semaines) (2015-11-29 12:41:36 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 8892c35 - (il y a 6 semaines) (2015-11-29 11:10:14 +0100) <aurehacks> phpExcel ajout -> import_Jury
* | d2824c2 - (il y a 6 semaines) (2015-11-29 12:41:22 +0100) <xdrm-brackets> Rectification droits 'admin' pour saisie notes
|/
* 4117da2 - (il y a 6 semaines) (2015-11-27 08:50:04 +0100) <xdrm-brackets> Merge commit
|\
| * 62fc7f3 - (il y a 6 semaines) (2015-11-27 08:45:59 +0100) <xdrm-brackets> Correction bug delNumeric pour controleUID
* | 6c3f2cd - (il y a 6 semaines) (2015-11-27 08:48:13 +0100) <xdrm-brackets> Correction erreur php DataBase@delNumeric sur controleUID
|/
* d578048 - (il y a 6 semaines) (2015-11-27 08:17:14 +0100) <xdrm-brackets> Correction @home erreur de javascript
* a294043 - (il y a 6 semaines) (2015-11-26 21:58:57 +0100) <xdrm-brackets> Correction erreur phpExcel aurel
* 0ae7099 - (il y a 6 semaines) (2015-11-26 21:54:01 +0100) <xdrm-brackets> Correction des droits pour définir l'action des liens vers le dossier étu
* 552f741 - (il y a 6 semaines) (2015-11-26 21:28:01 +0100) <xdrm-brackets> Correction conflit de saisie de notes entre teacher&admin
* cf8e58b - (il y a 6 semaines) (2015-11-26 20:37:41 +0100) <xdrm-brackets> Correction affiche des contrôles teacher/(admin/master)
* 0172d6b - (il y a 6 semaines) (2015-11-26 19:06:27 +0100) <xdrm-brackets> Page admin@touscontroles pour 'admin' et 'master'
* c89c8dd - (il y a 6 semaines) (2015-11-26 18:17:05 +0100) <xdrm-brackets> Affichage de tous les contrôles pour "admin" / "master" reste à empêcher la saisie par master
* feac2ae - (il y a 6 semaines) (2015-11-26 17:56:56 +0100) <xdrm-brackets> Tutoriel terminé pour master
* af0c886 - (il y a 6 semaines) (2015-11-26 16:43:04 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 26c9a83 - (il y a 6 semaines) (2015-11-26 16:22:44 +0100) <aurehacks> phpExcel ajout -> export_notes
| |\
| * | 38b7eac - (il y a 6 semaines) (2015-11-26 16:21:17 +0100) <aurehacks> phpExcel ajout -> export_notes
* | | fcb2361 - (il y a 6 semaines) (2015-11-26 16:40:04 +0100) <xdrm-brackets> Implémentation et intégration du rôle master
| |/
|/|
* | 6130bb8 - (il y a 6 semaines) (2015-11-26 16:15:51 +0100) <xdrm-brackets> Intégration complète du tutoriel et de la redirection associée ainsi que le css
|/
* c992157 - (il y a 6 semaines) (2015-11-26 15:01:05 +0100) <xdrm-brackets> Page admin@settings/rôles, affinage fonctionnel + affichage de la formation associée à l'enseignement + propose les modules en fonction de l'affinage
* e43a564 - (il y a 6 semaines) (2015-11-26 14:50:25 +0100) <xdrm-brackets> Correction admin@modules/import, <select> de semestre de l'import marchent
* 40a22a9 - (il y a 6 semaines) (2015-11-26 14:44:04 +0100) <xdrm-brackets> Correction chevauchement affinage .partlist
* c10b29e - (il y a 6 semaines) (2015-11-26 14:39:01 +0100) <xdrm-brackets> Correction de l'année d'importation pour modules@import
* 15959dd - (il y a 6 semaines) (2015-11-26 14:38:38 +0100) <xdrm-brackets> Correction de l'affichage des modules possibles pour admin@rôles
* 5034479 - (il y a 6 semaines) (2015-11-26 14:38:04 +0100) <xdrm-brackets> Correction design (nom catégories)
* ccced89 - (il y a 6 semaines) (2015-11-26 00:26:50 +0100) <xdrm-brackets> Correction terminée de compatibilité (webkit) design des <select>
* 853f2ec - (il y a 6 semaines) (2015-11-26 00:18:50 +0100) <xdrm-brackets> Correction de la liste de proposition de changement de groupe (maintenant exhaustive) + correction de relation dans requête d'affichage des manager/repo@membres
* 917fdec - (il y a 6 semaines) (2015-11-25 18:22:32 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 58255ea - (il y a 6 semaines) (2015-11-25 18:17:34 +0100) <xdrm-brackets> Correction et fin de l'implémentation|déploiement|intégration de la liste d'étudiants
* | 75560f0 - (il y a 6 semaines) (2015-11-25 18:22:05 +0100) <xdrm-brackets> Correction et fin de l'implémentation|déploiement|intégration de la liste d'étudiants + Correction d'affinage des pages @groupes et @modules ainsi que l'affinage au niveau jsevent pour l'export (affinage par formation)
|/
* 09c2190 - (il y a 6 semaines) (2015-11-25 15:13:27 +0100) <xdrm-brackets> Déploiement import inscrits terminé
* b58aa24 - (il y a 6 semaines) (2015-11-25 00:23:47 +0100) <xdrm-brackets> Comment test.php + page/groups.php ajout du champ 'rang' du semestre pour l'import de liste d'élèves
* e86bd94 - (il y a 6 semaines) (2015-11-25 00:08:37 +0100) <xdrm-brackets> Correction de déplacement d'élève non pas avec nom du semestre mais bien avec l'id_semestre
* b7ca3d0 - (il y a 6 semaines) (2015-11-25 00:04:02 +0100) <xdrm-brackets> Intégration d'une liste d'élèves opérationnelle
* bad5697 - (il y a 6 semaines) (2015-11-24 21:27:53 +0100) <xdrm-brackets> Finition et arrangement de phpExcel@import_userlist_group
* fd595c8 - (il y a 6 semaines) (2015-11-24 21:06:43 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 7b640bc - (il y a 6 semaines) (2015-11-24 19:00:28 +0100) <Clecle> Import user_list -> à affiner..
* | 8ef0dc5 - (il y a 6 semaines) (2015-11-24 21:06:20 +0100) <xdrm-brackets> Test d'import liste élèves
|/
* af815d1 - (il y a 6 semaines) (2015-11-24 18:41:03 +0100) <xdrm-brackets> Ajout des modèles mcc/inscrits
* 2085eb4 - (il y a 6 semaines) (2015-11-24 18:35:39 +0100) <xdrm-brackets> Création de requête pour effacer bdd + suppression du fichier "inconnu" / "inutile" + application de la police globales aux <select> et <input>
* 6c1d288 - (il y a 6 semaines) (2015-11-24 10:37:02 +0100) <xdrm-brackets> Gestion des rôles implémentée et fonctionnelle
* 1638e9d - (il y a 6 semaines) (2015-11-24 09:59:17 +0100) <xdrm-brackets> API: admin@updateRole opérationnel, reste à déployer jusqu'à l'iface
* 1963262 - (il y a 7 semaines) (2015-11-23 23:37:23 +0100) <xdrm-brackets> Etape 1 : déploiement de l'ajout d'un module en tant que correcteur
* 57357fd - (il y a 7 semaines) (2015-11-23 21:56:53 +0100) <xdrm-brackets> Correction padding on <select> pour webkit
* f8accc0 - (il y a 7 semaines) (2015-11-23 21:02:27 +0100) <xdrm-brackets> Suppression mauvais rep
* 5aa3aab - (il y a 7 semaines) (2015-11-23 20:56:00 +0100) <xdrm-brackets> Interface admin@rôles quasi-temrinale
* 335bfaa - (il y a 7 semaines) (2015-11-23 16:40:54 +0100) <xdrm-brackets> Visualisation modules en tant que correcteur : admin@settings/rôles
* 17b118f - (il y a 7 semaines) (2015-11-23 16:21:03 +0100) <xdrm-brackets> Pour la visu/modification des rôles, on récupère les modules/par ue
* 551916d - (il y a 7 semaines) (2015-11-22 19:17:04 +0100) <xdrm-brackets> Création du loader débutée
* 77ab852 - (il y a 7 semaines) (2015-11-22 17:26:13 +0100) <xdrm-brackets> API silencieux
* a1641fc - (il y a 7 semaines) (2015-11-22 17:24:10 +0100) <xdrm-brackets> Merge travail aurel
|\
| * b592e21 - (il y a 7 semaines) (2015-11-22 17:03:44 +0100) <Clecle> phpExcel ajout -> import_notes
* | 7fdaa31 - (il y a 7 semaines) (2015-11-22 17:23:01 +0100) <xdrm-brackets> [OPT] Saisie multiple optimisé
|/
* c760d32 - (il y a 7 semaines) (2015-11-22 16:34:07 +0100) <xdrm-brackets> Modification empty.sql + import_multiple etape 1
* 1272d1a - (il y a 7 semaines) (2015-11-22 15:00:18 +0100) <xdrm-brackets> Intégration+déploiement de la création de semestre/formation
* 9a013ef - (il y a 7 semaines) (2015-11-22 12:02:26 +0100) <xdrm-brackets> Etape 1 : admin@création_semestre
* 4744cb8 - (il y a 7 semaines) (2015-11-22 11:27:48 +0100) <xdrm-brackets> Correction affinage admin@page/modules.php
* bb0088e - (il y a 7 semaines) (2015-11-22 11:16:03 +0100) <xdrm-brackets> Import MCC fonctionnel et opé
* 12128eb - (il y a 7 semaines) (2015-11-22 11:15:11 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 5982830 - (il y a 7 semaines) (2015-11-22 08:16:27 +0100) <Clecle> ajout gestionLog.php -> Ecriture des log dans sys.log
| * 4cb6362 - (il y a 7 semaines) (2015-11-22 08:15:17 +0100) <Clecle> ajout fichier sys.log -> sauvegarde des log
| * 48399d1 - (il y a 7 semaines) (2015-11-22 07:38:17 +0100) <Clecle> move notifications() -> notifications_switch_lvl1()
| * 84dc9ea - (il y a 7 semaines) (2015-11-22 07:36:22 +0100) <Clecle> uncomment notifications.php
* | 15dd58c - (il y a 7 semaines) (2015-11-22 11:14:57 +0100) <xdrm-brackets> Import MCC opérationnel et déployé
* | 5e0b63e - (il y a 7 semaines) (2015-11-22 10:54:05 +0100) <xdrm-brackets> Correction modules => prise en compte du nombre de semestres
|/
* 31e73e7 - (il y a 7 semaines) (2015-11-21 18:09:40 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 170fe39 - (il y a 7 semaines) (2015-11-21 18:07:08 +0100) <Clecle> No comment..
| * b757573 - (il y a 7 semaines) (2015-11-21 18:03:32 +0100) <Clecle> Erreur lié au merge
| * 7492adc - (il y a 7 semaines) (2015-11-21 17:02:36 +0100) <Clecle> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
| |\
| * | 5fe89d3 - (il y a 7 semaines) (2015-11-21 17:02:10 +0100) <Clecle> Gestion des notifications
* | | f9f79e1 - (il y a 7 semaines) (2015-11-21 18:09:03 +0100) <xdrm-brackets> Import du MCC en cours (phase de déploiement)
| |/
|/|
* | 6cb50fd - (il y a 7 semaines) (2015-11-21 16:15:15 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\ \
| |/
| * 1de3daa - (il y a 7 semaines) (2015-11-21 14:49:23 +0100) <Clecle> phpExcel ajout -> export_jury
| * 3d8e42d - (il y a 7 semaines) (2015-11-21 14:36:19 +0100) <Clecle> phpExcel ajout -> import_jury
* | 8fc2f16 - (il y a 7 semaines) (2015-11-21 16:15:01 +0100) <xdrm-brackets> Correction lien retour pour contrôle
|/
* 76b4afa - (il y a 7 semaines) (2015-11-21 13:28:13 +0100) <xdrm-brackets> Gestion de l'encodage utf-8 de la BDD
* 7fdb83f - (il y a 7 semaines) (2015-11-21 13:13:40 +0100) <xdrm-brackets> Ajout du loader
* 651e3cf - (il y a 7 semaines) (2015-11-21 13:10:08 +0100) <xdrm-brackets> Correction "base" dans la création de contrôle par import de MCC
* 2eb0449 - (il y a 7 semaines) (2015-11-21 13:01:52 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 739c762 - (il y a 7 semaines) (2015-11-21 12:28:08 +0100) <Clecle> phpExcel mise en forme du code / commentaires
* | 53f6db1 - (il y a 7 semaines) (2015-11-21 13:01:12 +0100) <xdrm-brackets> Interface import/export MCC + création de semestre
|/
* facc912 - (il y a 7 semaines) (2015-11-21 11:42:03 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 16838ee - (il y a 7 semaines) (2015-11-21 11:37:29 +0100) <Clecle> néant
| * 70e0d96 - (il y a 7 semaines) (2015-11-21 11:34:44 +0100) <Clecle> phpExcel export_notes - > sauvegarde du fichier / Ecriture de la boucle à faire
* | 5b3efd4 - (il y a 7 semaines) (2015-11-21 11:41:32 +0100) <xdrm-brackets> Interface graphique étape1 > import/export des MCC
|/
* 47754ac - (il y a 7 semaines) (2015-11-20 22:07:02 +0100) <xdrm-brackets> Import MCC intégration des contrôles -> tout fonctionnel
* 6b05ff4 - (il y a 7 semaines) (2015-11-20 21:57:00 +0100) <xdrm-brackets> Correction erreurs de syntaxe auré
* c43e08b - (il y a 7 semaines) (2015-11-20 20:55:12 +0100) <Clecle> phpExcel algo -> export_notes
* 5b9203d - (il y a 7 semaines) (2015-11-20 17:30:50 +0100) <Clecle> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * b744270 - (il y a 7 semaines) (2015-11-20 17:17:05 +0100) <xdrm-brackets> Modification majeure BDD (voir empty.sql)
* | c855d0c - (il y a 7 semaines) (2015-11-20 17:29:52 +0100) <Clecle> phpExcel ajout -> import_notes
|/
* 16e2d62 - (il y a 7 semaines) (2015-11-20 17:14:36 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 8779716 - (il y a 7 semaines) (2015-11-20 16:48:08 +0100) <Clecle> phpExcel ajout -> import_userlist_group
* | 3844fc4 - (il y a 7 semaines) (2015-11-20 17:13:47 +0100) <xdrm-brackets> Intégration UE et modules fonctionnelle, reste les contrôles ...
|/
* 746197e - (il y a 7 semaines) (2015-11-20 13:39:06 +0100) <xdrm-brackets> Modification & optimisation format MCC
* 47bba6c - (il y a 7 semaines) (2015-11-20 13:21:40 +0100) <xdrm-brackets> Import de MCC valide renvoie un objet, il reste à déployer les données
* 6d522a2 - (il y a 7 semaines) (2015-11-20 10:36:10 +0100) <xdrm-brackets> Espacements admin@import_export
* afdb0ff - (il y a 7 semaines) (2015-11-20 10:33:28 +0100) <xdrm-brackets> Modifications mineures
* c663e62 - (il y a 7 semaines) (2015-11-20 10:32:07 +0100) <xdrm-brackets> Page de modification des rôles + checkbox hack
* c7f2a01 - (il y a 7 semaines) (2015-11-20 10:14:22 +0100) <xdrm-brackets> Modification interface page/groups@import_export
* 31b5fd6 - (il y a 7 semaines) (2015-11-20 09:58:40 +0100) <xdrm-brackets> admin@role retourne maintenant uniquement les non-élèves
* dd3d284 - (il y a 7 semaines) (2015-11-20 09:54:15 +0100) <xdrm-brackets> Déploiement des données de la liste des admin@rôles afin de modifier les rôles des enseignants (correcteurs, etc)
* 9b4dc10 - (il y a 7 semaines) (2015-11-19 23:49:51 +0100) <xdrm-brackets> Correction du nom de la catégorie import/export de liste d'élèves
* 6e5e07b - (il y a 7 semaines) (2015-11-19 23:47:58 +0100) <xdrm-brackets> Simplification d'affichage de etudiant@mon_groupe en utilisant une requête unique
* 7228ae4 - (il y a 7 semaines) (2015-11-19 23:32:54 +0100) <xdrm-brackets> Prise en compte de la formation pour un étudiant afin de ne pas confondre les semestres (de formations différentes)
* 38c09f2 - (il y a 7 semaines) (2015-11-19 22:36:43 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 418ce6c - (il y a 7 semaines) (2015-11-19 18:28:40 +0100) <Clecle> Ajout phpExcel
* | ab99784 - (il y a 7 semaines) (2015-11-19 22:35:29 +0100) <xdrm-brackets> Modification <select> (explicité par "v")
|/
* f37d073 - (il y a 7 semaines) (2015-11-19 14:42:38 +0100) <xdrm-brackets> Création interface graphique importation liste élèves
* a467ba7 - (il y a 7 semaines) (2015-11-19 14:16:27 +0100) <xdrm-brackets> Correction erreur de selection semestreOpt
* 9b81ac2 - (il y a 7 semaines) (2015-11-19 14:08:40 +0100) <xdrm-brackets> Ajout de l'interface exportation groupes@excel
* 804cfd8 - (il y a 7 semaines) (2015-11-19 11:24:17 +0100) <xdrm-brackets> Prise en compte du sexe pour l'image du profil
* 9613b75 - (il y a 7 semaines) (2015-11-19 08:58:15 +0100) <xdrm-brackets> Correction accès => enseignant ne peut pas visualiser les contrôles auquels il n'est pas correcteur
* 0cc2d1a - (il y a 7 semaines) (2015-11-18 10:25:33 +0100) <xdrm-brackets> Modification de la vérification (RegExp) de explodeURL pour prendre en compte les affinages
* b3f466a - (il y a 7 semaines) (2015-11-18 10:05:15 +0100) <xdrm-brackets> Correction de la saisie de notes qui était corrompue à cause de l'unification des strings des requêtes SQL
* f022265 - (il y a 7 semaines) (2015-11-18 09:48:08 +0100) <xdrm-brackets> Màj checkParam pour aurélien
* ad091e8 - (il y a 7 semaines) (2015-11-18 09:38:02 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 5182803 - (il y a 7 semaines) (2015-11-17 19:02:28 +0100) <Clecle> CheckParam() avec paramètres variables
| * c0f5dfa - (il y a 7 semaines) (2015-11-17 10:50:11 +0100) <Fauvet> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
| |\
| * | e32f903 - (il y a 7 semaines) (2015-11-17 10:49:28 +0100) <Fauvet> Nouveau modèle MCC prêt à être push
| * | ff7758b - (il y a 8 semaines) (2015-11-14 14:42:30 +0100) <Fauvet> Nouveau modèle MCC
| * | c0acb83 - (il y a 8 semaines) (2015-11-13 14:55:48 +0100) <Fauvet> Ajout du nouveau modele Excel dans le src. Modele non fini.
* | | a44027b - (il y a 7 semaines) (2015-11-18 09:37:36 +0100) <xdrm-brackets> Ajout des input pour ajouter un module à un UE d'un Semestre
* | | 4151f80 - (il y a 7 semaines) (2015-11-17 21:26:08 +0100) <xdrm-brackets> Correction manager/groupRepo unification des String(s) des requêtes SQL
* | | 6546e34 - (il y a 7 semaines) (2015-11-17 13:00:50 +0100) <xdrm-brackets> Suppression (") dans requêtes des repos
| |/
|/|
* | d96ace8 - (il y a 7 semaines) (2015-11-17 09:07:53 +0100) <xdrm-brackets> Correction déplacement d'élèves sur admin@tous_les_groupes
* | df1f23a - (il y a 7 semaines) (2015-11-17 08:55:33 +0100) <xdrm-brackets> Correction erreur commit
* | 26fe68d - (il y a 7 semaines) (2015-11-17 08:46:39 +0100) <xdrm-brackets> Suppression des paramètres optionnels (évitent de tout charger + les données affinées) donc maintenant on charge tout, mais une fois
* | 6efa758 - (il y a 7 semaines) (2015-11-17 08:35:21 +0100) <xdrm-brackets> Affinage par formation pour enseignant@mes_groupes + admin@tous_les_groupes + utilisation d'UIDs
* | f0643a8 - (il y a 8 semaines) (2015-11-16 21:48:11 +0100) <xdrm-brackets> Suppression de la possibilité de création de @semestre/@UE à partir des pages : enseignant@contrôles + enseignant@modules
* | b84a064 - (il y a 8 semaines) (2015-11-16 21:44:53 +0100) <xdrm-brackets> Màj BDD ajout de la table FORMATION + refactor de page/career + page/modules en utilisant maintenant les identifiants uniques de BDD (pour formations, semestre, UE) afin de permettre des UEs de même nom (à travers différentes formations)
* | d6d10b9 - (il y a 8 semaines) (2015-11-16 19:07:39 +0100) <xdrm-brackets> Ajout affinage par formation enseigant@contrôles
* | 50c8c44 - (il y a 8 semaines) (2015-11-16 17:03:16 +0100) <xdrm-brackets> Affinage par @formation pour enseignant@modules + admin@modules
* | 01334b4 - (il y a 8 semaines) (2015-11-16 13:28:24 +0100) <xdrm-brackets> Affichage par semestre enseignant@mes_modules + admin@tous_les_modules + enseignant@contrôles
* | c7063cb - (il y a 8 semaines) (2015-11-16 12:42:36 +0100) <xdrm-brackets> En cours d'intégration du type de formation
* | 4d4f2aa - (il y a 8 semaines) (2015-11-16 12:02:03 +0100) <xdrm-brackets> Modification page/modules affichage par semestre, par UE, par modules
* | 499d173 - (il y a 8 semaines) (2015-11-16 10:34:41 +0100) <xdrm-brackets> Correction incohérence entre moyenne contrôle de la liste des contrôles ET les détails d'un contrôle
* | f83b096 - (il y a 8 semaines) (2015-11-16 10:27:35 +0100) <xdrm-brackets> Correction du déplacement de groupe, cohérence du semestre pendant le déplacement
* | 2aa3b09 - (il y a 8 semaines) (2015-11-16 00:09:04 +0100) <xdrm-brackets> Modification page/career.php un enseignant peut maintenant visualiser les controles et groupes qui n'ont pas de notes
* | e10c3ad - (il y a 8 semaines) (2015-11-16 00:01:05 +0100) <xdrm-brackets> Affichage des contrôles même si aucune note n'est encore saisie
* | 0f779dc - (il y a 8 semaines) (2015-11-15 23:29:39 +0100) <xdrm-brackets> Affichage de TOUS les groupes inscrit à un contrôle et plus seulement ceux qui ont au moins une note
* | 2df2c85 - (il y a 8 semaines) (2015-11-15 22:36:35 +0100) <xdrm-brackets> Possibilité de saisir les notes par groupe (précisemment: plusieurs notes dans un groupe)
* | 9c4000b - (il y a 8 semaines) (2015-11-15 21:27:29 +0100) <xdrm-brackets> Possibilité de désactiver l'animation de tr@hover avec la "class" du <body>
* | 27cb3b7 - (il y a 8 semaines) (2015-11-15 21:24:15 +0100) <xdrm-brackets> Modification de .valider_action, devenu plus explicite (textuel & non simplement symbolique)
* | 76f1713 - (il y a 8 semaines) (2015-11-15 19:10:33 +0100) <xdrm-brackets> Suppression doublons semestres
* | 80c247d - (il y a 8 semaines) (2015-11-15 18:28:29 +0100) <xdrm-brackets> Correction mineure
* | fb37b5a - (il y a 8 semaines) (2015-11-15 18:12:49 +0100) <xdrm-brackets> Modification du select par partlist et filtrage PHP sur page/*.php plus efficace qu'au niveau de database et des managers
* | 59d1e45 - (il y a 8 semaines) (2015-11-15 16:12:48 +0100) <xdrm-brackets> Màk xdoc/linecount
* | 33fcc68 - (il y a 8 semaines) (2015-11-15 15:42:12 +0100) <xdrm-brackets> Modification JS attribute pour navigation (section name='' data-title) au lien de 'title'
* | 97bc41d - (il y a 8 semaines) (2015-11-15 15:12:26 +0100) <xdrm-brackets> Saisie note individuelle OP
* | f5ae82f - (il y a 8 semaines) (2015-11-15 13:02:34 +0100) <xdrm-brackets> Correction affichage notes étudiants, + saisie en cours
* | 92435df - (il y a 8 semaines) (2015-11-15 12:30:35 +0100) <xdrm-brackets> Ajout raccourci-clavier pour dev: ctrl+alt+e pour ouvrir box connection
* | 60b484d - (il y a 8 semaines) (2015-11-15 12:20:24 +0100) <xdrm-brackets> Correction erreur de modification attribut tableau
* | e51c344 - (il y a 8 semaines) (2015-11-15 12:15:30 +0100) <xdrm-brackets> Ajout de l'affichage des étudiants même s'ils n'ont pas de note
* | 6d24b03 - (il y a 8 semaines) (2015-11-14 18:34:03 +0100) <xdrm-brackets> Mise à jour de xdoc/sid.sql
* | 334272f - (il y a 8 semaines) (2015-11-14 18:33:06 +0100) <xdrm-brackets> Ajout de page/career vision professeur correcteur sur ses modules et les notes données aux groupes s'il y en a (moyenne, note min, max, ..) et possibilité d'affinage et donc d'afficher les élèves d'un groupe pour un partiel particulier
* | 6a2151c - (il y a 8 semaines) (2015-11-14 00:47:11 +0100) <xdrm-brackets> Ajout de l'affichage des notes par groupes (pour les profs) + [à faire] Affinage pour un groupe et/ou un partiel + finir le bordel
* | 179a7f9 - (il y a 8 semaines) (2015-11-13 19:33:33 +0100) <xdrm-brackets> Avancement dans affichage notes pour les enseignants correcteurs (reste: définir l'affichage et le coder)
* | 04f2545 - (il y a 8 semaines) (2015-11-13 19:07:36 +0100) <xdrm-brackets> Affichage des notes pour profs : Etape 1
* | 53a6683 - (il y a 8 semaines) (2015-11-13 18:00:17 +0100) <xdrm-brackets> Remplacement du Drag&Drop par des <select> Fini et opérationnel
* | 5375d79 - (il y a 8 semaines) (2015-11-13 17:24:58 +0100) <xdrm-brackets> Remplacement D&D par <select> étape 1 : CSS créé, html/php créé, reste le JS à faire
|/
* 79d9f63 - (il y a 8 semaines) (2015-11-12 17:15:13 +0100) <xdrm-brackets> Ajout compte rendu rdv itération 1
* 06a119f - (il y a 8 semaines) (2015-11-12 15:52:31 +0100) <xdrm-brackets> Refactor page/groups.php@teacher
* e246657 - (il y a 8 semaines) (2015-11-12 12:15:51 +0100) <xdrm-brackets> Correction "mes groupes"/enseignant
* f7c9357 - (il y a 8 semaines) (2015-11-12 11:19:58 +0100) <xdrm-brackets> Modification de l'affichage des notes util (UE->modules->controles->notes) + Refacto REPOS
* b985e2f - (il y a 8 semaines) (2015-11-12 09:18:10 +0100) <xdrm-brackets> Rectification et factorisation des groupes (page, manager, database, repo) + commentaire phpexcell car fait bugger
* 0b790cd - (il y a 8 semaines) (2015-11-11 22:54:52 +0100) <xdrm-brackets> avancée dans REPOS(ue, module, user, semestre) + modification de l'affichage d'erreurs dans page/*.php + refactor/augmentation de manager/database.php
* f33351a - (il y a 8 semaines) (2015-11-11 22:02:13 +0100) <xdrm-brackets> Correction REPO user
* db6fa9f - (il y a 8 semaines) (2015-11-11 21:53:33 +0100) <xdrm-brackets> Correction repo UE
* e99080f - (il y a 8 semaines) (2015-11-11 19:12:29 +0100) <xdrm-brackets> Correction des erreurs dues à la dernière correction
* e5c8d79 - (il y a 8 semaines) (2015-11-11 18:25:22 +0100) <xdrm-brackets> Merge aure
|\
| * 09711e6 - (il y a 8 semaines) (2015-11-11 17:41:10 +0100) <Clecle> Test checkParam
| * e5b45dd - (il y a 8 semaines) (2015-11-11 16:28:01 +0100) <Clecle> réécriture CheckParam()
* | 5df449c - (il y a 8 semaines) (2015-11-11 18:23:37 +0100) <xdrm-brackets> Corrections "return" dans manager/groups.php
* | 9abf093 - (il y a 8 semaines) (2015-11-11 15:50:31 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\ \
| |/
| * 3a5c1ee - (il y a 8 semaines) (2015-11-11 08:05:51 +0100) <Clecle> corps de la fonction checkParam
* | ac885f6 - (il y a 8 semaines) (2015-11-11 15:50:05 +0100) <xdrm-brackets> Commit pour modifs aure
|/
* 989cae3 - (il y a 8 semaines) (2015-11-11 01:06:24 +0100) <xdrm-brackets> Refactor + avancée repos + corrections repos utilisation statique au lieu de $this (car ne marchais pas) + creation module/Ue vérifiée
* 4b78463 - (il y a 8 semaines) (2015-11-11 00:04:56 +0100) <xdrm-brackets> Création des repos module.php/ue.php + augmentation de userRepo::UID($identifiant, $semestre, $annee)
* 7a26d3a - (il y a 8 semaines) (2015-11-10 22:49:27 +0100) <xdrm-brackets> Feedback - aurelien@checkParam();
* 9d57182 - (il y a 8 semaines) (2015-11-10 22:34:02 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * db8ef47 - (il y a 8 semaines) (2015-11-10 20:55:40 +0100) <Clecle> Squelette fonction checkParam
* | 33b2d5c - (il y a 8 semaines) (2015-11-10 22:33:51 +0100) <xdrm-brackets> Modifications mineures
|/
* 6cd8beb - (il y a 8 semaines) (2015-11-10 10:56:43 +0100) <xdrm-brackets> Prise en compte si on est dans période S1/S3 ou S2/S4
* 716afc8 - (il y a 8 semaines) (2015-11-10 10:50:43 +0100) <xdrm-brackets> Refactor 3 DB + ajout de la récupération du semestre courant d'un ETU (traitement à FAIRE) + il faut prendre en compte dans affichage des données
* e4bde4d - (il y a 8 semaines) (2015-11-10 09:17:41 +0100) <xdrm-brackets> Modification des repo et de la récupération de connection (PDO) + refactor 2 db
* 4fbae93 - (il y a 9 semaines) (2015-11-09 22:06:33 +0100) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * 4594e98 - (il y a 9 semaines) (2015-11-09 21:58:38 +0100) <Cedric> ok
| * c9ffcca - (il y a 9 semaines) (2015-11-09 21:47:53 +0100) <Cedric> Exportation de tous étudiants sur Excel
* | bfd64fb - (il y a 9 semaines) (2015-11-09 22:05:57 +0100) <xdrm-brackets> Premiere étape du REFACTOR de manager/database.php en manager/repo/
|/
* 86c643f - (il y a 9 semaines) (2015-11-09 12:52:03 +0100) <xdrm-brackets> Modification structure de données (BDD) + rectifications associées
* 7ee2692 - (il y a 9 semaines) (2015-11-09 11:54:21 +0100) <Cedric> Ajout de l'API PHPExcel
* 4771c00 - (il y a 9 semaines) (2015-11-09 10:13:52 +0100) <Fauvet> MàJ de SID/index.php
* f8b632b - (il y a 9 semaines) (2015-11-09 10:04:36 +0100) <xdrm-brackets> Modification bdd
* 4caf4df - (il y a 9 semaines) (2015-11-09 09:56:34 +0100) <xdrm-brackets> Commit mineur
* 8257019 - (il y a 9 semaines) (2015-11-08 22:30:23 +0100) <xdrm-brackets> Informations utilisateur récupérées, gestion des droits dans la BDD, refactor de database.php
* 94c36a0 - (il y a 9 semaines) (2015-11-06 23:01:46 +0100) <xdrm-brackets> Correction mineure (section name=) différenciés dans page/modules.php
* 53846ce - (il y a 9 semaines) (2015-11-06 23:00:08 +0100) <xdrm-brackets> Ajout de la visualisation des modules d'un enseignant (page/modules.php|manager/modules.php|manager/database.php)
* deb8976 - (il y a 9 semaines) (2015-11-06 16:23:49 +0100) <xdrm-brackets> Corrections mineures sémantiques (!!)
* 60c8800 - (il y a 9 semaines) (2015-11-06 16:23:00 +0100) <xdrm-brackets> Modification du formulaire de connection/déconnection (flou au lieu de foncé)
* dcf23ef - (il y a 9 semaines) (2015-11-06 15:57:12 +0100) <xdrm-brackets> Ajout de la fonctionnalité de selection semestre(ou)groupe pour la section COMPOSITION + correction de la fonction "MOVE" qui vérifie maintenant qu'on ne passe pas d'un semestre à un autre
* 954698d - (il y a 9 semaines) (2015-11-06 14:05:14 +0100) <xdrm-brackets> Modification PHP, prise en compte choix du semestre ou groupe, à faire JS qui modifie pageM.vars
* 55a2e54 - (il y a 9 semaines) (2015-11-06 11:16:41 +0100) <xdrm-brackets> Mise à jour sid.sql
* 9a75ef5 - (il y a 9 semaines) (2015-11-06 11:13:32 +0100) <xdrm-brackets> Modifications mineures
* 8281ffe - (il y a 9 semaines) (2015-11-04 09:15:35 +0100) <xdrm-brackets> Correction de l'affichage des utilisateurs + afficher groupes d'un enseignant pour l'année courante à FAIRE (@database.php)
* 6b0acd8 - (il y a 9 semaines) (2015-11-03 23:31:41 +0100) <xdrm-brackets> Modification affichage notes + correction section [COMPOSITION/MON GROUPE]
* eb29d68 - (il y a 9 semaines) (2015-11-03 23:20:54 +0100) <xdrm-brackets> Affichage des @modules par UE par étudiant (section [MODULES/MES MODULES])
* 802c406 - (il y a 9 semaines) (2015-11-03 21:59:16 +0100) <xdrm-brackets> Rectification de l'affichage des modules/notes
* beba5bb - (il y a 9 semaines) (2015-11-03 12:09:14 +0100) <xdrm-brackets> Intégration du MCC à la BDD, aucune page adaptée[à faire] requêtes_sql_types.sql en cours de redaction
* d33f25a - (il y a 10 semaines) (2015-11-02 13:52:16 +0100) <xdrm-brackets> Correction design tableaux
* 1bf0141 - (il y a 10 semaines) (2015-11-02 12:25:25 +0100) <xdrm-brackets> Correction de modification design tableaux + déplacement élèves
* f746ba1 - (il y a 10 semaines) (2015-11-02 12:20:01 +0100) <xdrm-brackets> Modification design tableaux
* 149f8db - (il y a 10 semaines) (2015-11-01 22:57:00 +0100) <xdrm-brackets> Pull merge aurelien
|\
| * 92dc3aa - (il y a 2 mois) (2015-10-26 07:30:05 +0100) <Clecle> correction gestion arguments deplacerEtudiant()
* | d405e37 - (il y a 10 semaines) (2015-11-01 00:16:23 +0100) <xdrm-brackets> Ajout du lien vers les notifications
* | a2b42ac - (il y a 10 semaines) (2015-11-01 00:02:07 +0100) <xdrm-brackets> Correction du drag'n'drop, maintenant aucun chargement, mise à jour du DOM en JS + possibilité de redéplacer indéfiniement les membres
* | e61b914 - (il y a 10 semaines) (2015-10-31 18:16:54 +0100) <xdrm-brackets> Avancée dans déplacement d'étudiants (correction d'erreurs)
* | c22fe6a - (il y a 10 semaines) (2015-10-31 17:25:19 +0100) <xdrm-brackets> Ajout du déplacement d'étudiants par Drag'n'Drop
* | 0029905 - (il y a 10 semaines) (2015-10-31 13:30:01 +0100) <xdrm-brackets> Ajout du lien vers le profil quand clic sur tronche quand co
* | 43d44b9 - (il y a 10 semaines) (2015-10-31 12:06:36 +0100) <xdrm-brackets> Ajout du MCD
* | 89e70c7 - (il y a 10 semaines) (2015-10-31 12:00:24 +0100) <xdrm-brackets> Ajout de la table "enseignement" qui attribue un enseignant à un programme
* | d016a9b - (il y a 2 mois) (2015-10-30 12:52:50 +0100) <xdrm-brackets> Changement du design, suppression du #SUBHEADER
* | 29f634f - (il y a 2 mois) (2015-10-30 00:02:27 +0100) <xdrm-brackets> Mise à jour de la structure bdd (sid.sql)
* | a77aaa7 - (il y a 2 mois) (2015-10-30 00:01:35 +0100) <xdrm-brackets> Affichage des notes par module + affichage des notes par UE
* | 6b0867b - (il y a 2 mois) (2015-10-28 23:33:16 +0100) <xdrm-brackets> Correction de la structure bdd + ajout @note + ajout xdoc/MCD.png
* | 70af321 - (il y a 2 mois) (2015-10-28 18:31:58 +0100) <xdrm-brackets> Ajout d'une fonctionnalité à la navigation, on peut maintenant selectionner la sous-partie avec pageM.vars[0] = 'souspartie' et ensuite selectSection('section') pour charger plus précisemment
* | c86836c - (il y a 2 mois) (2015-10-28 18:08:12 +0100) <xdrm-brackets> Modification de la bdd + affichage des modules + dragndrop en cours + affichage à arranger/refaire
* | 29ac894 - (il y a 2 mois) (2015-10-27 12:30:56 +0100) <xdrm-brackets> Rectification des modifications de classes en JS (@addClass/@remClass) + affichage de "mongroupe", "tous les groupes", "déplacement groupe"
|/
* 786ec08 - (il y a 2 mois) (2015-10-26 01:32:18 +0100) <xdrm-brackets> Création de @js/dragndrop.js à terminer, inclusion des scripts sql
* 4489e41 - (il y a 3 mois) (2015-10-25 17:55:18 +0100) <xdrm-brackets> @Tous les groupes@ + @Mon Groupe@ fait, sans question de design. Implémentation de @getGroupeEtudiant dans API
* 984d60f - (il y a 3 mois) (2015-10-24 19:01:22 +0200) <xdrm-brackets> Affichage des groupes modifié (à refaire en suivant le template@2)
* 41fe605 - (il y a 3 mois) (2015-10-24 11:06:56 +0200) <xdrm-brackets> Modification nom des fonctions de :database: | feedback aurélien dans le fichier :database.php:
* a84911d - (il y a 3 mois) (2015-10-24 10:57:52 +0200) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * f8ece61 - (il y a 3 mois) (2015-10-23 18:42:33 +0200) <Clecle> Cotrôle variable deplacerEleve()
| * b2d290f - (il y a 3 mois) (2015-10-23 18:36:33 +0200) <Clecle> Ajout de la fonction déplacerEleve()
* | 3fd3ad4 - (il y a 3 mois) (2015-10-24 10:57:16 +0200) <xdrm-brackets> Script de création d'utilisateurs + ajout à un groupe (pour les tests)
|/
* ddc5666 - (il y a 3 mois) (2015-10-23 13:08:33 +0200) <xdrm-brackets> Affichage "Tous les groupes"
* 471a077 - (il y a 3 mois) (2015-10-23 10:56:22 +0200) <xdrm-brackets> Pb réglé: dans manager/database.php@listeUtilisateursGroupe(), il n'y a plus de doublons numériques (car les propriétés des utilisateurs étaient en doublons mais avec un indice numérique)
* 125eee4 - (il y a 3 mois) (2015-10-23 10:04:26 +0200) <xdrm-brackets> Implémentation: 1@"retourner tout les groupes (nom, listeUtilisateurs)"
* 89dafce - (il y a 3 mois) (2015-10-22 23:06:25 +0200) <xdrm-brackets> Pb du autoheight réglé
* c3fc8b5 - (il y a 3 mois) (2015-10-22 21:19:52 +0200) <xdrm-brackets> Implémentation de : 1@CréationUtilisateur 2@CréationGroupe 3@AjouterUtilisateurDansGroupe 4@récupérerListeUtilisateursDunGroupe
* 5613157 - (il y a 3 mois) (2015-10-22 18:55:26 +0200) <xdrm-brackets> Création d'utilisateur implémentée (pas de gestion de droits pour cette action pour l'instant) + toutes les vérifications
* 47799cd - (il y a 3 mois) (2015-10-22 14:17:53 +0200) <xdrm-brackets> inclusion de security/session modifiée dans index.php
* a338e9c - (il y a 3 mois) (2015-10-22 14:11:47 +0200) <xdrm-brackets> Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
|\
| * b2bb6a3 - (il y a 3 mois) (2015-10-22 14:05:10 +0200) <xdrm-brackets> Création de @dev
* | cacd505 - (il y a 3 mois) (2015-10-22 14:07:56 +0200) <xdrm-brackets> Création de @dev
* | 3590a9f - (il y a 3 mois) (2015-10-22 14:06:49 +0200) <xdrm-brackets> Mise à jour de @master
|/
* bc084b0 - (il y a 3 mois) (2015-10-22 13:57:22 +0200) <xdrm-brackets> Merge de @xdrm
|\
| * b4e2299 - (il y a 3 mois) (2015-10-22 13:50:56 +0200) <xdrm-brackets> Commit de corrections mineures
| * ab992af - (il y a 3 mois) (2015-10-22 12:07:41 +0200) <xdrm-brackets> Déconnection par clic sur "username" ou sur bouton spécial
| * 01cd088 - (il y a 3 mois) (2015-10-22 11:33:10 +0200) <xdrm-brackets> Bouton de déconnection ajouté
| * 0d60eed - (il y a 3 mois) (2015-10-22 10:29:43 +0200) <xdrm-brackets> Connection et déconnection implémentée
| * 2dfa431 - (il y a 3 mois) (2015-10-22 08:55:12 +0200) <xdrm-brackets> Modification de l'icône de "home", définition des "lien" des sous-parties dynamiquement (actionScript) en fonction du corps du fichier page/fichier.php
| * 941a379 - (il y a 3 mois) (2015-10-22 00:27:12 +0200) <xdrm-brackets> Notification visuelle de la connection / et lien clair vers la connection
| * 4298b7f - (il y a 3 mois) (2015-10-22 00:13:58 +0200) <xdrm-brackets> Ajout du lien d'affichage de l'interface de connection + design du formulaire+filtre +js qui affiche/cache
| * 7a8131c - (il y a 3 mois) (2015-10-21 22:56:56 +0200) <xdrm-brackets> Merge de @wrapper_backup sur le design de @dev_flat
| * d7c9b0d - (il y a 3 mois) (2015-10-21 22:28:57 +0200) <xdrm-brackets> Commit 1 @xdrm
| * fc063a6 - (il y a 3 mois) (2015-10-21 19:13:56 +0200) <xdrm-brackets> commit 4 @dev_flat -> créé=> [fond] + [layout] + [menu] + [sous-parties] + [searchbar] + [username] + [notif]
| * eed265b - (il y a 3 mois) (2015-10-21 13:42:28 +0200) <xdrm-brackets> Commit fin session 1 @dev_flat
| * 2bf224c - (il y a 3 mois) (2015-10-21 13:35:59 +0200) <xdrm-brackets> commit 3 @dev_flat
| * 8ff10d7 - (il y a 3 mois) (2015-10-21 13:22:34 +0200) <xdrm-brackets> commit 2 @dev_flat
| * 20d1689 - (il y a 3 mois) (2015-10-21 10:53:45 +0200) <xdrm-brackets> commit 1 @template_1
| * f6f2570 - (il y a 3 mois) (2015-10-20 23:41:55 +0200) <xdrm-brackets> Connection ok, reste à faire modifications css (bouton quitter[OPT])
| * 153e4f2 - (il y a 3 mois) (2015-10-20 23:03:24 +0200) <xdrm-brackets> Création de l'authentification (en cours)
| * e9a025a - (il y a 3 mois) (2015-10-20 22:10:38 +0200) <xdrm-brackets> Commit 1 de @dev
* | 24b0a8a - (il y a 3 mois) (2015-10-22 13:52:15 +0200) <xdrm-brackets> Suppression de tout
|/
* fe42829 - (il y a 3 mois) (2015-10-20 20:18:13 +0200) <xdrm-brackets> Ajout de templates dans xdoc/
* ba01610 - (il y a 3 mois) (2015-10-20 12:12:30 +0200) <xdrm-brackets> Ajout de police googleFonts
* b8d067f - (il y a 3 mois) (2015-10-20 10:44:40 +0200) <xdrm-brackets> Commit de migration (re-création) du GIT
* 90b1557 - (il y a 3 mois) (2015-10-20 10:42:51 +0200) <xdrm> Initial commit

View File

@ -1,59 +0,0 @@
Bonjour,
En accord avec le cycle de développement sélectionné, nous vous soumettons un compte rendu de la première itération du projet,
afin d'avoir votre approbation ou vos corrections afin de définir les premiers objectifs de la seconde itération.
Voici les principales fonctionnalités implémentées:
[1] Authentification par fichier JSON (synchronisé avec la BDD)
[2] pour les étudiants
(1) affichage des groupes du même semestre
(2) affichage du groupe auquel il appartient actuellement
(3) affichage des modules de son semestre (affichage par ue)
(4) affichage de ses notes par modules (affichage par ue)
[3] pour les enseignants
(1) affichage des groupes des semestres en cours (possibilité de filtrage par semestre ou par groupe)
(2) affichage des groupes qui sont ses élèves (possibilité de filtrage par semestre ou par groupe)
(3) affichage des modules qu'il enseigne sur ce semestre (affichage par ue)
[4] pour l'administrateur
(1) affichage des groupes des semestres en cours (possibilité de filtrage par semestre ou par groupe)
Les fonctionnalités prévues pour la seconde itération sont
[1] pour les étudiants
(1) affichage des groupes du même semestre
(2) affichage du groupe auquel il appartient actuellement
(3) affichage des modules de son semestre (affichage par ue)
(4) affichage de ses notes par modules (affichage par ue)
[2] pour les enseignants
(4) affichage des contrôles de ses modules uniquement
+ visualisation par groupe avec une moyenne et un graphique de répartition
(4bis) si correcteur pour un module, alors peut créér/modifier un contrôle et/ou ajouter des notes
+ import Excel
[3] pour l'administrateur
(2) affichage des modules par UE (semestres en cours)
(3) créer/modifier/supprimer des modules
créer/modifier/supprimer des UEs
ajouter/supprimer des modules d'un UE
+ import Excel

View File

@ -1,17 +0,0 @@
/*************************/
/* GENERER 100 étudiants */
/*************************/
[
'{{repeat(100)}}',
{
pseudo: function(tags){
return String.fromCharCode(tags.integer(97,122)) + String.fromCharCode(tags.integer(97,122)) + String.fromCharCode(tags.integer(97,122)) + tags.integer(1900,1999) + 'a';
},
prenom: function(tags){ return tags.firstName(); },
nom: function(tags){ return tags.surname().toUpperCase(); },
email: function(){ return (this.prenom +'.'+ this.nom +'@etu.iut-tlse3.fr').toLowerCase(); },
password: '{{guid()}}',
droits: 'student'
}
]

View File

@ -1,11 +1,11 @@
| css | 1036 |
| js | 866 |
| manager | 1774 |
| repo | 1248 |
| page | 1235 |
| _JS | 250 |
| API.js | 77 |
| API.php | 104 |
| index.php | 141 |
| css | 1359 |
| js | 915 |
| manager | 3516 |
| repo | 2709 |
| page | 3242 |
| _JS | 1655 |
| API.php | 112 |
| index.php | 138 |
+-----------+-------+
| TOTAL | 13646 |
+-----------+-------+
| TOTAL | 6731 |

View File

@ -1,286 +0,0 @@
/*****************/
/*** REFLEXION ***/
/*****************/
/*
* 1 etudiant (utilisateur) s'inscrit à un semestre
* + 1 semestre pour une année scolaire particulière contient les modules d'un UE
* + un UE pour un semestre+année particuliers contient des modules
* + un module pour un groupe particulier contient des notes
*
* [ETUDIANT] est membre d'un [GROUPE] associé à un [SEMESTRE] qui contient des [UE] qui en fonction de l [ANNEE] ont certains [MODULES]
*
******************************************************************************************************************************************
*
* [ETUDIANT] || [ADMIN] || [ENSEIGNANT]
* + identifiant (mrd1609a)
* + prenom (adrien)
* + nom (LIGOU-MARQUES)
* + email (adrien.ligou-marques@etu.iut-tlse3.fr)
* + mdp (89N7VNIOUDJOFUJSO83YNERDLUSC)
* + droits (etu|admin|prof|saisienote|visunote|visuetu|...)
*
* [GROUPE]
* + id_groupe (++)
* + nom (S1A)
*
* [SEMESTRE]
* + id_semestre (++)
* + nom (S1)
* + rang (1,2,3 ou 4)
* + annee (2015) => année scolaire 2015-2016
*
* [MODULE]
* + id_module (++)
* + nom (M2105)
* + libelle (Algorithmique et structure de données)
*
* [UE]
* + id_ue (++)
* + nom (UE1)
* + libelle (Informatique générale)
*
* [APPARTENANCE]
* + id_etudiant (mrd1609a)
* + id_groupe (4) => A
* + id_semestre (63) => S3
*
* [PROGRAMME]
* + id_programme (++)
* + id_semestre (63) => S3
* + id_ue (3) => UE3
* + id_module (39) => M3305
*
* [ENSEIGNE]
* + id_enseignement (++)
* + id_enseignant (utilisateur.identifiant)
* + id_programme (10) => M2103 UE1 semestre 2 année 2015
* + correcteur (true)
*
* [NOTE]
* + id_note (++)
* + id_etudiant (mrd1609a)
* + id_programme (10)
* + valeur (18) => 18
* + base (20) => /20
*
* [ETUDIANT] membre d'un [GROUPE] associé à un [SEMESTRE] = appartenance [id_etudiant, id_groupe, id_semestre]
*
* [UE] contient des [MODULES] en fonction du [SEMESTRE] = programme [id_semestre, id_ue, id_module]
*
* [UE] appartient à un semestre = mcc_ue [id_semestre, id_ue, coefficient]
*
* [MODULE] appartient à un [mcc_ue] ([UE] d'un [SEMESTRE]) = mcc_module [id_mcc_ue, id_module, coefficient]
*
* [NOTE] est définie pour une [APPARTENANCE] ([ETUDIANT] dans un [GROUPE] un [SEMESTRE]) dans un [PROGRAMME] ([MODULE] d'un [UE] lors d'un [SEMESTRE])
*
* [ENSEIGNANT] enseigne un [PROGRAMME] ([MODULE] d'un [UE] lors d'un [SEMESTRE])
*
*
*
*
*
*
*
*
*
*
*
*
* ACTIONS POSSIBLES
*===================
*
* Pour un utilisateur
* - récupérer ses groupes lors de son parcours
* - récupérer les semestres qu'il a fait
* - récupérer les ue qu'il a fait
* - récupérer les modules qu'il a eu
* - récupérer les notes pour chaque module de chaque ue de chaque semestre de chaque annee
*
* Pour un enseignant
* - récupérer ses modules de chaque année
* - récupérer les groupes suivant ses modules
* -
*
*
*
*
*
*
*/
/******************************************************/
/*** AFFICHE LES MODULES D'UN GROUPE POUR UNE ANNEE ***/
/******************************************************/
SELECT DISTINCT s.annee, g.nom as groupe, m.nom as module, m.libelle
FROM module as m, groupe as g, semestre as s, ue, appartenance as app, mcc_ue, mcc_module as mcc_m
WHERE app.id_semestre = mcc_ue.id_semestre
AND app.id_semestre = s.id_semestre
AND app.id_groupe = g.id_groupe
AND mcc_ue.id_ue = ue.id_ue
AND mcc_m.id_module = m.id_module
AND mcc_m.id_mcc_ue = mcc_ue.id_mcc_ue
-- AND s.annee = '2015'
-- AND g.nom = 'S3A'
ORDER BY s.annee, g.nom, m.nom, m.libelle ASC;
/**************************************************/
/*** AFFICHE LES MODULES PAR UE (par SEMESTRES) ***/
/**************************************************/
SELECT DISTINCT ue.nom as UE,s.nom as semestre, m.nom as module, m.libelle
FROM module as m, ue, semestre as s, mcc_ue, mcc_module as mcc_m
WHERE mcc_ue.id_semestre = s.id_semestre
AND mcc_m.id_module = m.id_module
AND mcc_ue.id_ue = ue.id_ue
AND mcc_ue.id_mcc_ue = mcc_m.id_mcc_ue
AND ue.nom = 'UE1'
ORDER BY ue.nom, s.nom, m.nom, m.libelle ASC;
/*****************************************************/
/*** AFFICHER LES ANNES AVEC LES MODULES ET LES UE ***/
/*****************************************************/
SELECT DISTINCT semestre.annee as annee, ue.nom as UE, module.nom as module
FROM module, ue, semestre, mcc_ue, mcc_module as mcc_m
WHERE mcc_m.id_module = module.id_module
AND mcc_ue.id_semestre = semestre.id_semestre
AND mcc_ue.id_ue = ue.id_ue
AND mcc_ue.id_mcc_ue = mcc_m.id_mcc_ue
ORDER BY semestre.annee DESC, ue.nom ASC;
/************************************/
/*** AFFICHE LES UE PAR SEMESTRES ***/
/************************************/s
SELECT DISTINCT s.annee as annee, s.nom as semestre, ue.nom as UE
FROM semestre as s, ue, mcc_ue
WHERE mcc_ue.id_semestre = s.id_semestre
AND mcc_ue.id_ue = ue.id_ue
-- AND s.annee = '2015'
ORDER BY s.annee, s.nom, ue.nom ASC;
/****************************************/
/*** AFFICHE LES MODULES PAR SEMESTRE ***/
/****************************************/
SELECT DISTINCT s.annee as annee, ue.nom as UE, m.nom as module
FROM module as m, semestre as s, ue, mcc_ue, mcc_module as mcc_m
WHERE mcc_ue.id_semestre = s.id_semestre
AND mcc_ue.id_ue = ue.id_ue
AND mcc_m.id_module = m.id_module
AND mcc_m.id_mcc_ue = mcc_ue.id_mcc_ue
ORDER BY s.annee, ue.nom, m.nom ASC;
/*************************************************/
/*** AFFICHE LE NOMBRE DE MODULES PAR SEMESTRE ***/
/*************************************************/
SELECT DISTINCT s.annee as annee, ue.nom as UE, count(m.nom) as nb_modules
FROM module as m, semestre as s, ue, mcc_ue, mcc_module as mcc_m
WHERE mcc_ue.id_semestre = s.id_semestre
AND mcc_ue.id_ue = ue.id_ue
AND mcc_m.id_module = m.id_module
AND mcc_m.id_mcc_ue = mcc_ue.id_mcc_ue
GROUP BY s.annee, ue.nom
ORDER BY s.annee, ue.nom, m.nom ASC;
/******************************************/
/*** AFFICHE LES ETUDIANTS PAR SEMESTRE ***/
/******************************************/
SELECT DISTINCT s.annee as annee, s.nom as semestre, u.identifiant as etudiant
FROM utilisateur as u, semestre as s, appartenance as app
WHERE app.id_etudiant = u.identifiant
AND app.id_semestre = s.id_semestre
ORDER BY s.annee, s.nom, u.identifiant ASC;
/**************************************/
/*** AFFICHER LES NOTES PAR MODULES ***/
/**************************************/
SELECT DISTINCT m.nom as module, app.id_etudiant as etudiant, n.valeur as note, n.base as base
FROM note as n, module as m, programme as prog, appartenance as app
WHERE prog.id_module = m.id_module
AND prog.id_programme = n.id_programme
AND n.id_appartenance = app.id_appartenance
ORDER BY m.nom, app.id_etudiant, n.valeur ASC;
/***************** ENSEIGNANT *******************/
/*******************************/
/*** AFFICHE LES ENSEIGNANTS ***/
/*******************************/
SELECT DISTINCT u.identifiant, u.prenom, u.nom
FROM utilisateur as u
WHERE u.droits >= 1
ORDER BY u.identifiant, u.prenom, u.nom ASC;
/*******************************************/
/*** AFFICHE LES MODULES D'UN ENSEIGNANT ***/
/*******************************************/
SELECT DISTINCT u.prenom, u.nom, m.nom, m.libelle
FROM module as m, utilisateur as u, enseignement as ens, mcc_ue, mcc_module as mcc_m, semestre as s
WHERE mcc_ue.id_semestre = s.id_semestre
AND mcc_ue.id_mcc_ue = mcc_m.id_mcc_ue
AND mcc_m.id_module = m.id_module
AND mcc_m.id_mcc_module = ens.id_mcc_module
AND ens.id_enseignant = u.identifiant
AND s.annee = 2015
ORDER BY u.prenom, u.nom, m.nom, m.libelle ASC;
/***************************************************/
/*** AFFICHE LE NOMBRE DE MODULES PAR ENSEIGNANT ***/
/***************************************************/
SELECT DISTINCT u.prenom, u.nom, count(distinct m.id_module) as nb_modules
FROM module as m, utilisateur as u, enseignement as e, programme as prog, semestre as s
WHERE prog.id_module = m.id_module
AND prog.id_semestre = s.id_semestre
AND prog.id_programme = e.id_programme
AND e.id_enseignant = u.identifiant
AND s.annee = 2015
GROUP BY u.identifiant
ORDER BY u.prenom, u.nom, m.nom, m.libelle ASC;
/***************************************************/
/*** AFFICHE LES GROUPES PAR MODULES PAR ENSEIGNANT ***/
/***************************************************/
SELECT DISTINCT u.prenom, u.nom, m.nom as module, g.nom as groupe
FROM module as m, utilisateur as u, enseignement as e, programme as prog, appartenance as app, semestre as s, groupe as g
WHERE prog.id_module = m.id_module
AND prog.id_semestre = s.id_semestre
AND prog.id_programme = e.id_programme
AND e.id_enseignant = u.identifiant
AND app.id_semestre = s.id_semestre
AND app.id_groupe = g.id_groupe
AND s.annee = 2015
ORDER BY u.prenom, u.nom, m.nom, g.nom ASC;
/***************************************************************/
/*** AFFICHE LE NOMBRE DE GROUPES PAR MODULES PAR ENSEIGNANT ***/
/***************************************************************/
SELECT DISTINCT u.prenom, u.nom, m.nom as module, count(distinct g.id_groupe) as nb_groupe
FROM module as m, utilisateur as u, enseignement as e, programme as prog, appartenance as app, semestre as s, groupe as g
WHERE prog.id_module = m.id_module
AND prog.id_semestre = s.id_semestre
AND prog.id_programme = e.id_programme
AND e.id_enseignant = u.identifiant
AND app.id_semestre = s.id_semestre
AND app.id_groupe = g.id_groupe
AND s.annee = 2015
GROUP BY u.identifiant, m.id_module
ORDER BY u.prenom, u.nom, m.nom, g.nom ASC;

File diff suppressed because it is too large Load Diff

View File

@ -1,135 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="199.99998"
height="54.478554"
id="svg2">
<defs
id="defs4" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
stransform="translate(-101.83599,-413.69978)"
id="layer1">
<rect
width="177.1049"
height="5.5744505"
x="112.6554"
y="454.54483"
id="rect2993"
style="fill:#4d4d4d;fill-opacity:1;stroke:none" />
<g
transform="matrix(0.98169544,0,0,0.98169544,1.8640596,8.5697978)"
id="g2989">
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(1.5086207,0,0,1.5086207,-57.415411,-232.50567)"
id="path2985"
style="fill:#4d4d4d;fill-opacity:1;stroke:none" />
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(0.7527479,0,0,0.7527479,27.910935,113.02629)"
id="path2987"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
</g>
<g
transform="matrix(0.98169544,0,0,0.98169544,60.765779,8.5697978)"
id="g3014">
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(1.5086207,0,0,1.5086207,-57.415411,-232.50567)"
id="path3016"
style="fill:#4d4d4d;fill-opacity:1;stroke:none" />
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(0.7527479,0,0,0.7527479,27.910935,113.02629)"
id="path3018"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
</g>
<g
transform="matrix(0.98169544,0,0,0.98169544,119.66751,8.5697978)"
id="g3020">
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(1.5086207,0,0,1.5086207,-57.415411,-232.50567)"
id="path3022"
style="fill:#4d4d4d;fill-opacity:1;stroke:none" />
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(0.7527479,0,0,0.7527479,27.910935,113.02629)"
id="path3024"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
</g>
<g
transform="matrix(0.98169544,0,0,0.98169544,178.56924,8.5697978)"
id="g3026">
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(1.5086207,0,0,1.5086207,-57.415411,-232.50567)"
id="path3028"
style="fill:#4d4d4d;fill-opacity:1;stroke:none" />
<path
d="m 120.20814,457.12979 a 7.323606,7.323606 0 1 1 -14.64721,0 7.323606,7.323606 0 1 1 14.64721,0 z"
transform="matrix(0.7527479,0,0,0.7527479,27.910935,113.02629)"
id="path3030"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
</g>
<text
x="101.29529"
y="431.00143"
id="text3038"
xml:space="preserve"
style="font-size:24.40289116px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;font-family:Sawasdee;-inkscape-font-specification:Sawasdee"><tspan
x="101.29529"
y="431.00143"
id="tspan3040"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#4d4d4d;fill-opacity:1;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">S1</tspan></text>
<text
x="158.72063"
y="431.00143"
id="text3042"
xml:space="preserve"
style="font-size:24.40289116px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;font-family:Sawasdee;-inkscape-font-specification:Sawasdee"><tspan
x="158.72063"
y="431.00143"
id="tspan3044"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#4d4d4d;fill-opacity:1;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">S2</tspan></text>
<text
x="217.63457"
y="431.00143"
id="text3046"
xml:space="preserve"
style="font-size:24.40289116px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;font-family:Sawasdee;-inkscape-font-specification:Sawasdee"><tspan
x="217.63457"
y="431.00143"
id="tspan3048"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#4d4d4d;fill-opacity:1;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">S3</tspan></text>
<text
x="276.13364"
y="431.00143"
id="text3050"
xml:space="preserve"
style="font-size:24.40289116px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;font-family:Sawasdee;-inkscape-font-specification:Sawasdee"><tspan
x="276.13364"
y="431.00143"
id="tspan3052"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#4d4d4d;fill-opacity:1;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">S4</tspan></text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.1 KiB