diff --git a/css/container.css b/css/container.css index 6c6e30c..cc3d523 100755 --- a/css/container.css +++ b/css/container.css @@ -11,7 +11,7 @@ /* flex (as container) */ flex-direction: row; flex-wrap: wrap; - justify-content: space-between; + justify-content: space-around; /* background */ background-color: #ecf0f1; diff --git a/css/global.css b/css/global.css index ff0caee..d41663c 100644 --- a/css/global.css +++ b/css/global.css @@ -10,19 +10,10 @@ table.basic{ } /* affichage du corps si tête activée */ -table.basic thead + tbody{ - display: block; - max-height: 3em; - overflow: hidden; - - transition: max-height .5s 0s ease-in-out; - -moz-transition: max-height .5s 0s ease-in-out; - -webkit-transition: max-height .5s 0s ease-in-out; - -ms-transition: max-height .5s 0s ease-in-out; - -o-transition: max-height .5s 0s ease-in-out; -} -table.basic thead.active + tbody{ - max-height: calc( 3*40em ); +table.basic thead + tbody td{ display: none; } +table.basic thead + tbody td.more{ display: block; } +table.basic thead.active + tbody td{ + display: table-cell; } @@ -70,6 +61,9 @@ table.basic tr td.more{ cursor: pointer; } +table.basic tr td.more:before{ content: 'Voir plus'; } +table.basic thead.active + tbody tr td.more:before{ content: 'Voir moins'; } + /* on cache "voir plus" quand le tableau est déroulé */ table.basic thead.active + td.more{ display: none; } diff --git a/manager/database.php b/manager/database.php index 878d1e9..1cbbb08 100755 --- a/manager/database.php +++ b/manager/database.php @@ -204,6 +204,39 @@ class DataBase{ } + + /***********************************************/ + /*** retourne le nom du groupe d'un étudiant ***/ + /***********************************************/ + public function getGroupeEtudiant($etudiant){ + $grouplist = array(); // contiendra tout les groupes + + // on cherche le groupe associé + $getNomGroupe = $this->pdo->prepare("SELECT `g`.`nom` ". + "FROM `utilisateurs` as `u`, `groupes` as `g`, `association_utilisateur_groupe` as `asso` ". + "WHERE `u`.`id_utilisateur` = `asso`.`id_utilisateur` ". + "AND `g`.`id_groupe` = `asso`.`id_groupe` ". + "AND `u`.`pseudo` = :etudiant ". + "ORDER BY `g`.`nom`"); + $getNomGroupe->execute(array( + ':etudiant' => $etudiant + )); + + // si on a un résultat + if( $nomGroupe = $getNomGroupe->fetch()['nom'] ) + return $nomGroupe; + else + return 'error'; + } + + + + + + + + + /******************************************************/ /***** déplace un étudiant d'un groupe à un autre *****/ /******************************************************/ diff --git a/manager/groups.php b/manager/groups.php index 4400d72..06cd5cd 100755 --- a/manager/groups.php +++ b/manager/groups.php @@ -49,18 +49,18 @@ require_once __ROOT__.'/manager/database.php'; $answer->request = 'param_error'; break; - /**************************************/ - /* ajout d'un utilisateur à un groupe */ - /**************************************/ + /***********************************/ + /* ajout d'un étudiant à un groupe */ + /***********************************/ case 'add': - $areSetParam = isset($request->utilisateur) && isset($request->groupe); // les arguments existent - $typeOkParam = $areSetParam && is_string($request->utilisateur) && is_string($request->groupe); // si c'est des strings - $nEmptyParam = $typeOkParam && strlen($request->utilisateur) > 0 && strlen($request->groupe) > 0; // d'au moins 1 caractère - $utilisateurCheck = $nEmptyParam && preg_match('/^[\w -]{3,50}$/i', $request->utilisateur); // utilisateur (username) bon format + $areSetParam = isset($request->etudiant) && isset($request->groupe); // les arguments existent + $typeOkParam = $areSetParam && is_string($request->etudiant) && is_string($request->groupe); // si c'est des strings + $nEmptyParam = $typeOkParam && strlen($request->etudiant) > 0 && strlen($request->groupe) > 0; // d'au moins 1 caractère + $utilisateurCheck = $nEmptyParam && preg_match('/^[\w -]{3,50}$/i', $request->etudiant); // utilisateur (username) bon format $groupeCheck = $utilisateurCheck && preg_match('/^[a-z -]{1,50}$/i', $request->groupe); // groupe (nom) bon format if( $groupeCheck ){ // si tout les paramètres sont bons - $answer->request = DataBase::getInstance()->ajouterEtudiantGroupe($request->utilisateur, $request->groupe); + $answer->request = DataBase::getInstance()->ajouterEtudiantGroupe($request->etudiant, $request->groupe); }else $answer->request = 'param_error'; break; @@ -101,6 +101,25 @@ require_once __ROOT__.'/manager/database.php'; $answer->answer = $grouplist; break; + /**********************************************/ + /* retourne le nom du groupe d'un utilisateur */ + /**********************************************/ + case 'get': + $areSetParam = isset($request->etudiant); // l'argument existe + $typeOkParam = $areSetParam && is_string($request->etudiant); // si c'est une string + $nEmptyParam = $typeOkParam && strlen($request->etudiant) > 0; // d'au moins 1 caractère + $etudiantCheck = $nEmptyParam && preg_match('/^[\w -]{3,50}$/i', $request->etudiant); // etudiant (username) bon format + + + $groupe = DataBase::getInstance()->getGroupeEtudiant($request->etudiant); + + if( $groupe != 'error' ){ // si on a récupéré quelque chose + $answer->groupe = $groupe; + $answer->request = 'success'; + }else // si on a pas récupéré de liste, alors c'est que $grouplist est un message d'erreur + $answer->answer = 'error'; + break; + diff --git a/page/_JS/groups.js b/page/_JS/groups.js index 718f193..432e147 100755 --- a/page/_JS/groups.js +++ b/page/_JS/groups.js @@ -44,15 +44,14 @@ var request = { API.send(request, function(r){} ); -/* Gestion du déroulement des tableaux */ -var allgroups = document.querySelector('#CONTAINER section[name=allgroups]'); - -allgroups.addEventListener('click', function(e){ - +/* Gestion du déroulement des tableaux des groupes */ +function afficherCacherGroupes(e){ // s'il s'agit de la case "Voir plus" if( e.target.className == 'more' ){ var thead = e.target.parentNode.parentNode.parentNode.children[0]; thead.className = (thead.className=='active') ? '' : 'active'; } +} -}, false); \ No newline at end of file + +DOM.CONTAINER.addEventListener('click', afficherCacherGroupes, false); \ No newline at end of file diff --git a/page/groups.php b/page/groups.php index e936190..a1f5df6 100755 --- a/page/groups.php +++ b/page/groups.php @@ -47,7 +47,7 @@ require_once __ROOT__.'/manager/groups.php'; echo ''; - echo 'Voir plus'; + // pour chaque utilisateur foreach($group->userlist as $user){ @@ -60,6 +60,8 @@ require_once __ROOT__.'/manager/groups.php'; echo ''; } + echo ''; + echo ''; echo ''; @@ -80,9 +82,66 @@ require_once __ROOT__.'/manager/groups.php'; -
- Groupes -
+ + + + +"; + + $request = new stdClass(); $answer = new stdClass(); + + $request->level_1 = 'get'; + $request->etudiant = $_SESSION['username']; + + groups_switch_level_1($request, $answer); + + if( $answer->request == 'success' ){ // si pas d'erreur + $monGroupe = $answer->groupe; + + $request = new stdClass(); $answer = new stdClass(); + $request->level_1 = 'userlist'; + $request->groupe = $monGroupe; + groups_switch_level_1($request, $answer); + + if( $answer->request == 'success' ){ // si on a bien récupéré les membres du groupe + //////////////////////////////////////////////////////////////////////////////// + echo ""; + + echo ''; + echo ''; + echo ''; + + echo ''; + + // pour chaque utilisateur + foreach($answer->userlist as $user){ + echo ''; + foreach($user as $key=>$value) + if( $key == 'prenom' || $key == 'nom' ) + echo ''; + echo ''; + } + + echo ''; + + echo ''; + + echo '
Groupe '.$monGroupe.'
'.$value.'
'; + //////////////////////////////////////////////////////////////////////////////// + }else + echo "Erreur interne."; + }else + echo "Aucun groupe trouvé pour cet utilisateur."; + + echo ''; +} ?> + +
Suivi diff --git a/test.php b/test.php index cbad36f..94fdb4a 100755 --- a/test.php +++ b/test.php @@ -77,7 +77,7 @@ // $answer = new stdClass(); // $request->level_1 = 'add'; - // $request->utilisateur = 'fvg1856a'; // utilisateur.username + // $request->etudiant = 'fvg1856a'; // utilisateur.username // $request->groupe = 'A'; // groupe.nom diff --git a/xdoc/generateur_100_etudiants.php b/xdoc/generateur_100_etudiants.php index b0539c6..124f8fa 100755 --- a/xdoc/generateur_100_etudiants.php +++ b/xdoc/generateur_100_etudiants.php @@ -40,7 +40,7 @@ foreach( $sample as $user ){ if( $answer1->request == 'success' ){ /* AJOUT A UN GROUPE */ - $request2->utilisateur = $request1->username; // utilisateur.username + $request2->etudiant = $request1->username; // utilisateur.username $request2->groupe = chr(rand(65,70)); // groupe entre A - F groups_switch_level_1($request2, $answer2); diff --git a/xdoc/sid.sql b/xdoc/sid.sql new file mode 100644 index 0000000..5bee655 --- /dev/null +++ b/xdoc/sid.sql @@ -0,0 +1,327 @@ +-- phpMyAdmin SQL Dump +-- version 4.0.10deb1 +-- http://www.phpmyadmin.net +-- +-- Client: localhost +-- Généré le: Dim 25 Octobre 2015 à 17:53 +-- Version du serveur: 5.5.44-0ubuntu0.14.04.1 +-- Version de PHP: 5.5.9-1ubuntu4.13 + +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: `sid` +-- +CREATE DATABASE IF NOT EXISTS `sid` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; +USE `sid`; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `association_utilisateur_groupe` +-- + +DROP TABLE IF EXISTS `association_utilisateur_groupe`; +CREATE TABLE IF NOT EXISTS `association_utilisateur_groupe` ( + `id_utilisateur` int(11) NOT NULL, + `id_groupe` int(11) NOT NULL, + PRIMARY KEY (`id_utilisateur`,`id_groupe`), + UNIQUE KEY `id_utilisateur` (`id_utilisateur`,`id_groupe`), + UNIQUE KEY `id_utilisateur_2` (`id_utilisateur`,`id_groupe`), + UNIQUE KEY `id_utilisateur_3` (`id_utilisateur`,`id_groupe`), + UNIQUE KEY `id_utilisateur_4` (`id_utilisateur`,`id_groupe`), + KEY `asso_groupe_utilisateur-foreign_groupe` (`id_groupe`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- RELATIONS POUR LA TABLE `association_utilisateur_groupe`: +-- `id_groupe` +-- `groupes` -> `id_groupe` +-- `id_utilisateur` +-- `utilisateurs` -> `id_utilisateur` +-- + +-- +-- Contenu de la table `association_utilisateur_groupe` +-- + +INSERT INTO `association_utilisateur_groupe` (`id_utilisateur`, `id_groupe`) VALUES +(68, 1), +(70, 1), +(73, 1), +(87, 1), +(95, 1), +(99, 1), +(107, 1), +(119, 1), +(122, 1), +(137, 1), +(154, 1), +(155, 1), +(15, 2), +(42, 2), +(61, 2), +(63, 2), +(64, 2), +(65, 2), +(67, 2), +(69, 2), +(79, 2), +(88, 2), +(94, 2), +(100, 2), +(105, 2), +(110, 2), +(114, 2), +(123, 2), +(124, 2), +(125, 2), +(126, 2), +(127, 2), +(128, 2), +(134, 2), +(136, 2), +(143, 2), +(57, 3), +(71, 3), +(77, 3), +(81, 3), +(98, 3), +(101, 3), +(104, 3), +(109, 3), +(120, 3), +(121, 3), +(130, 3), +(131, 3), +(135, 3), +(138, 3), +(140, 3), +(147, 3), +(149, 3), +(150, 3), +(153, 3), +(60, 4), +(66, 4), +(76, 4), +(78, 4), +(82, 4), +(83, 4), +(86, 4), +(89, 4), +(102, 4), +(111, 4), +(115, 4), +(118, 4), +(129, 4), +(142, 4), +(144, 4), +(148, 4), +(13, 5), +(14, 5), +(59, 5), +(72, 5), +(74, 5), +(84, 5), +(92, 5), +(93, 5), +(106, 5), +(108, 5), +(116, 5), +(141, 5), +(145, 5), +(58, 7), +(62, 7), +(75, 7), +(80, 7), +(85, 7), +(90, 7), +(91, 7), +(96, 7), +(97, 7), +(103, 7), +(112, 7), +(113, 7), +(117, 7), +(132, 7), +(133, 7), +(139, 7), +(146, 7), +(151, 7), +(152, 7); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `groupes` +-- + +DROP TABLE IF EXISTS `groupes`; +CREATE TABLE IF NOT EXISTS `groupes` ( + `id_groupe` int(11) NOT NULL AUTO_INCREMENT, + `nom` varchar(20) NOT NULL, + PRIMARY KEY (`id_groupe`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; + +-- +-- Contenu de la table `groupes` +-- + +INSERT INTO `groupes` (`id_groupe`, `nom`) VALUES +(1, 'A'), +(2, 'B'), +(3, 'C'), +(4, 'D'), +(5, 'E'), +(7, 'F'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `utilisateurs` +-- + +DROP TABLE IF EXISTS `utilisateurs`; +CREATE TABLE IF NOT EXISTS `utilisateurs` ( + `id_utilisateur` int(11) NOT NULL AUTO_INCREMENT, + `pseudo` varchar(50) NOT NULL, + `prenom` varchar(50) NOT NULL, + `nom` varchar(50) NOT NULL, + `email` varchar(50) NOT NULL, + `password` varchar(40) NOT NULL, + `droits` varchar(20) NOT NULL DEFAULT 'student', + PRIMARY KEY (`id_utilisateur`), + UNIQUE KEY `pseudo` (`pseudo`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=356 ; + +-- +-- Contenu de la table `utilisateurs` +-- + +INSERT INTO `utilisateurs` (`id_utilisateur`, `pseudo`, `prenom`, `nom`, `email`, `password`, `droits`) VALUES +(13, 'mrd1609a', 'Adrien', 'LIGOU MARQUES', 'adrien.marques-ligou@etu.iut-tlse3.fr', 'e9f14613d7253434a4f0939d8a38c2a60703bda2', 'student'), +(14, 'clr1433a', 'Aurelien', 'CLERAC', 'aurelien.clerac@etu.iut-tlse3.fr', 'e9f14613d7253434a4f0939d8a38c2a60703bda2', 'student'), +(15, 'fvg1856a', 'Guillaume', 'FAUVET', 'guillaume.fauvet@etu.iut-tlse3.fr', 'e9f14613d7253434a4f0939d8a38c2a60703bda2', 'student'), +(40, 'ydw1981a', 'Glenda', 'WILKINSON', 'glenda.wilkinson@etu.iut-tlse3.fr', '41da8fbd7d39a7d91886c197308cb4495c8fa916', 'student'), +(42, 'eleve1', 'eleve', 'eleve', 'eleve.eleve@eleve.fr', 'lksmdoekrlsidoekrldolksmdoekrlsidoekrldo', 'student'), +(57, 'ihf1991a', 'Robinson', 'MCGEE', 'robinson.mcgee@etu.iut-tlse3.fr', '735194af6966d8cd4c0351bd6f52e4bb39b3ad7b', 'student'), +(58, 'mma1990a', 'Williamson', 'HATFIELD', 'williamson.hatfield@etu.iut-tlse3.fr', 'f3a0053424f8008c9c100ade7b774e0dd3154ed6', 'student'), +(59, 'lme1952a', 'Hollie', 'GILLIAM', 'hollie.gilliam@etu.iut-tlse3.fr', '154357811521bbe188f5bd3f96fd58f145b4d8da', 'student'), +(60, 'imf1922a', 'Hawkins', 'PATTERSON', 'hawkins.patterson@etu.iut-tlse3.fr', 'f6ad3a03b22a29419cf33a0e238cb28b57a83f0c', 'student'), +(61, 'gyy1983a', 'Merrill', 'WALTER', 'merrill.walter@etu.iut-tlse3.fr', '758b160c6c13cae4d576c21ed68554993cb94efb', 'student'), +(62, 'otm1902a', 'Woods', 'DEJESUS', 'woods.dejesus@etu.iut-tlse3.fr', '37517a860171d3588647bf767755a9571d77e11e', 'student'), +(63, 'tnx1949a', 'Dejesus', 'WALTON', 'dejesus.walton@etu.iut-tlse3.fr', '8f0d8b519fe392c1e4ca7be8569b7cfb041a9ea6', 'student'), +(64, 'sjl1937a', 'English', 'POPE', 'english.pope@etu.iut-tlse3.fr', '8077452497ea9d5f31b4fd0baf51e65f92ccaf67', 'student'), +(65, 'anj1991a', 'Katie', 'GUTIERREZ', 'katie.gutierrez@etu.iut-tlse3.fr', 'e932eecdc8fd834c1627fc3b9b54b9ff74c3d583', 'student'), +(66, 'xdh1989a', 'Rasmussen', 'PAGE', 'rasmussen.page@etu.iut-tlse3.fr', '91795dd76d3a44ed3796656bdd31f2142684bb29', 'student'), +(67, 'agl1956a', 'Cruz', 'HOWE', 'cruz.howe@etu.iut-tlse3.fr', 'e8d89188c9036cb200ebfb218e9cc4215efe0648', 'student'), +(68, 'mhu1946a', 'Edna', 'GREEN', 'edna.green@etu.iut-tlse3.fr', '047f218cd08bfd3652801c21d5ece2ef4b2a80f7', 'student'), +(69, 'cvv1936a', 'Kayla', 'CANTRELL', 'kayla.cantrell@etu.iut-tlse3.fr', '1ff3ba4032d7712d364e0e93ec82b9a2aa4db086', 'student'), +(70, 'mzh1955a', 'Leblanc', 'WHEELER', 'leblanc.wheeler@etu.iut-tlse3.fr', '35edbb44f1c626c3e505c5d0030744acd51a1f40', 'student'), +(71, 'pdi1904a', 'Brady', 'ASHLEY', 'brady.ashley@etu.iut-tlse3.fr', '8354d3648e0720424407a104f739565c9cc3b974', 'student'), +(72, 'cuk1947a', 'Baxter', 'HERRERA', 'baxter.herrera@etu.iut-tlse3.fr', '0cac6e0bd1a1f2a9fbe29dfacfe144d8acb0f931', 'student'), +(73, 'non1968a', 'Foster', 'TILLMAN', 'foster.tillman@etu.iut-tlse3.fr', '5f2f200ea6ce656ced3e436548c94af78f8d3178', 'student'), +(74, 'hmn1970a', 'Levy', 'ARMSTRONG', 'levy.armstrong@etu.iut-tlse3.fr', '71e9c4c4bfb0181f7b8e20794a5a82b183a08f98', 'student'), +(75, 'hth1975a', 'Pruitt', 'FERGUSON', 'pruitt.ferguson@etu.iut-tlse3.fr', 'a19a35d82fde8270b26dbf3112e1bd911857e1e5', 'student'), +(76, 'liw1940a', 'Middleton', 'WATERS', 'middleton.waters@etu.iut-tlse3.fr', '7b7f1248490898c8a07f06fccf8e577fe8dea318', 'student'), +(77, 'dtg1946a', 'Ruiz', 'WILKERSON', 'ruiz.wilkerson@etu.iut-tlse3.fr', '863dff5825ff3f157410c0feb4c2d260c370d114', 'student'), +(78, 'oxz1985a', 'Paul', 'GROSS', 'paul.gross@etu.iut-tlse3.fr', 'a43dd59f2c340d6c08665ba6c464099f2277a6cd', 'student'), +(79, 'ono1984a', 'Kitty', 'SANFORD', 'kitty.sanford@etu.iut-tlse3.fr', '482f01aff2d2fa917acf8d4ce24d4c6f74de6186', 'student'), +(80, 'auy1966a', 'Bobbi', 'PRATT', 'bobbi.pratt@etu.iut-tlse3.fr', 'e6a31236e72e4e32f0413c766c563cefd5d04823', 'student'), +(81, 'dui1946a', 'Burns', 'COMPTON', 'burns.compton@etu.iut-tlse3.fr', 'd7a161649252179dd96b3a5a94767b6386cb6d90', 'student'), +(82, 'cyw1979a', 'Zamora', 'RIDDLE', 'zamora.riddle@etu.iut-tlse3.fr', 'c09c0be1184eda65a7f53fccc4a2bba1634acc10', 'student'), +(83, 'pfv1965a', 'Francine', 'COMBS', 'francine.combs@etu.iut-tlse3.fr', '7099f8bf94d6ed46779ad913b19df106c7636c21', 'student'), +(84, 'oqz1937a', 'Morse', 'MICHAEL', 'morse.michael@etu.iut-tlse3.fr', '5b83cb687dd339da656a92dd8430faea2bec313c', 'student'), +(85, 'aft1950a', 'Rachel', 'DAVENPORT', 'rachel.davenport@etu.iut-tlse3.fr', '99ecf0de46a124b8922e3dcf02e92beda9efff5f', 'student'), +(86, 'bae1943a', 'Shaw', 'GOFF', 'shaw.goff@etu.iut-tlse3.fr', 'c3c8c34e1ae3509af6f75035dbcb7960a2606d31', 'student'), +(87, 'kul1903a', 'Magdalena', 'SIMON', 'magdalena.simon@etu.iut-tlse3.fr', '45a62b23dfa7a4951703bbd74e36fe0d1a10a06d', 'student'), +(88, 'rmj1965a', 'Bridges', 'ROSALES', 'bridges.rosales@etu.iut-tlse3.fr', 'b2022e04ca0043cbf786beb3c6a5a0478522441b', 'student'), +(89, 'yyt1926a', 'Bryant', 'CHANEY', 'bryant.chaney@etu.iut-tlse3.fr', '65464c5994c2caf9669738029565cec80365000d', 'student'), +(90, 'ktz1997a', 'Mcgowan', 'COHEN', 'mcgowan.cohen@etu.iut-tlse3.fr', '8410b649a5983bb33b099bacd74d15b5ea88f8f1', 'student'), +(91, 'hku1995a', 'Roslyn', 'MURPHY', 'roslyn.murphy@etu.iut-tlse3.fr', '505aeadd5e9889d384a964aee33f47b0752cc8a3', 'student'), +(92, 'zgy1948a', 'Emily', 'ALVARADO', 'emily.alvarado@etu.iut-tlse3.fr', 'c8366542e6bac9a842613cdf7f5806c5242c00ac', 'student'), +(93, 'vau1957a', 'Kathy', 'STOUT', 'kathy.stout@etu.iut-tlse3.fr', '5508a93cf76ccc59b380e40c14351656b99452e7', 'student'), +(94, 'hsx1927a', 'Irene', 'MONROE', 'irene.monroe@etu.iut-tlse3.fr', 'e724e611c75a7c1e1b0ed27f49c1511a853994c4', 'student'), +(95, 'eca1977a', 'Hope', 'WILSON', 'hope.wilson@etu.iut-tlse3.fr', '3bead96219d7a1cb3ed836c4f2939bfb8bafc065', 'student'), +(96, 'wpa1966a', 'Collier', 'ENGLISH', 'collier.english@etu.iut-tlse3.fr', 'd296f52b000f47b10cef8a08bf80e68348e13d28', 'student'), +(97, 'qoe1974a', 'Raquel', 'CUNNINGHAM', 'raquel.cunningham@etu.iut-tlse3.fr', '44f9e6f9d718407affbfe0c2d79545dae767a98a', 'student'), +(98, 'tkz1955a', 'Nora', 'BREWER', 'nora.brewer@etu.iut-tlse3.fr', 'cb070efa815f0c3f91f8174367f18a20334dcdd5', 'student'), +(99, 'wnx1995a', 'Lorraine', 'PADILLA', 'lorraine.padilla@etu.iut-tlse3.fr', 'fd1a7371589a9b4c2130ad025b131ad454d39070', 'student'), +(100, 'sft1994a', 'Norris', 'BROCK', 'norris.brock@etu.iut-tlse3.fr', '509b2a658e45d1196255c7df07eeb6a6e4e21e85', 'student'), +(101, 'vgb1979a', 'Baird', 'FORD', 'baird.ford@etu.iut-tlse3.fr', 'd376fee23323ba3204d8d7dac3c0ee410184dfb6', 'student'), +(102, 'wbt1993a', 'Goodman', 'PAUL', 'goodman.paul@etu.iut-tlse3.fr', 'c86544b4ad0a2a7fbbd5b822a85a1571b3850514', 'student'), +(103, 'xtb1903a', 'Kelly', 'FLYNN', 'kelly.flynn@etu.iut-tlse3.fr', '97e9ea2b99190ef87b050033c546fd35c36f92c4', 'student'), +(104, 'msj1985a', 'Ball', 'AVILA', 'ball.avila@etu.iut-tlse3.fr', '5fefcd6d87673eeaebca18cb5830ac9881af59d1', 'student'), +(105, 'wvn1982a', 'Sears', 'WELCH', 'sears.welch@etu.iut-tlse3.fr', 'cda70dd81e39eed9c594fa682b74546ef390f7f7', 'student'), +(106, 'psg1965a', 'Knapp', 'STEPHENS', 'knapp.stephens@etu.iut-tlse3.fr', 'd730461b6b3bba9abc291cb78a4b4e05488ac270', 'student'), +(107, 'hpa1908a', 'Jacklyn', 'BYRD', 'jacklyn.byrd@etu.iut-tlse3.fr', 'fd83a122301627c92457a41e269b573eab74425b', 'student'), +(108, 'maq1980a', 'Cook', 'DUNN', 'cook.dunn@etu.iut-tlse3.fr', '19cf3de445a71cada9a741441b0c247719df7467', 'student'), +(109, 'agq1929a', 'Althea', 'POOLE', 'althea.poole@etu.iut-tlse3.fr', 'aee3d75da5b220f12cd5cc7f24cdaddc9ca63dd5', 'student'), +(110, 'gwe1975a', 'Helen', 'HICKS', 'helen.hicks@etu.iut-tlse3.fr', 'e93887aa22ea3f1163393fc89dcf68927e1730ef', 'student'), +(111, 'gdb1939a', 'Kate', 'NOEL', 'kate.noel@etu.iut-tlse3.fr', '2b0245ab913ba8e111210e4bbcd8c48726308322', 'student'), +(112, 'jrc1974a', 'Pierce', 'CHURCH', 'pierce.church@etu.iut-tlse3.fr', 'ee7136fef2f56592fce809efb66e930978fb7dcd', 'student'), +(113, 'jfa1965a', 'Lolita', 'FARRELL', 'lolita.farrell@etu.iut-tlse3.fr', '30da7a6a93335a663edbed16f28f98a46711e3d5', 'student'), +(114, 'buz1982a', 'Kemp', 'JACOBS', 'kemp.jacobs@etu.iut-tlse3.fr', 'df1474b0039dfe2393cf5baae180e170f221f5c3', 'student'), +(115, 'mhr1952a', 'Socorro', 'BLAIR', 'socorro.blair@etu.iut-tlse3.fr', '5b0d4e04d65c8eca304cc6aeeb48fc6a3552ccff', 'student'), +(116, 'pos1958a', 'Juliana', 'FULLER', 'juliana.fuller@etu.iut-tlse3.fr', '9f556f1eb9cf593e4a46a686c60c6271b1e38a35', 'student'), +(117, 'xdi1926a', 'Ferrell', 'SALAS', 'ferrell.salas@etu.iut-tlse3.fr', 'b816cc329f638c9e2eb4786c3e470f37c3cbc60e', 'student'), +(118, 'awl1901a', 'Clare', 'ROLLINS', 'clare.rollins@etu.iut-tlse3.fr', 'a75928507dadeb2b1fe51121cf899203e10187da', 'student'), +(119, 'uix1942a', 'Kristen', 'GIBSON', 'kristen.gibson@etu.iut-tlse3.fr', '7f575f38feb92467196fdd2afd5fcfa1c5fe5337', 'student'), +(120, 'ngz1932a', 'Faye', 'PAYNE', 'faye.payne@etu.iut-tlse3.fr', '93bc9ce253abcfc90adb740c737cf711fd96f1dd', 'student'), +(121, 'kpf1942a', 'Strickland', 'ROACH', 'strickland.roach@etu.iut-tlse3.fr', '1281bd6daabadd55a50a73fc2c2d1a98fc9efe53', 'student'), +(122, 'aiv1989a', 'Concetta', 'ROBLES', 'concetta.robles@etu.iut-tlse3.fr', 'aeffe013bda8b573cbf369387fbc7e4d06019511', 'student'), +(123, 'sjw1936a', 'Cross', 'MEYERS', 'cross.meyers@etu.iut-tlse3.fr', '65f3196b2f65013ae71bb1cbb2459178d8890cd8', 'student'), +(124, 'fei1944a', 'Esperanza', 'TERRELL', 'esperanza.terrell@etu.iut-tlse3.fr', '5a6a7b4ab11d8a74d774a0e460db89d88f852347', 'student'), +(125, 'zge1937a', 'Ella', 'GARZA', 'ella.garza@etu.iut-tlse3.fr', '0185fea737a6a356c257bfa71048ce9376ca7bb8', 'student'), +(126, 'rpl1936a', 'Tamera', 'MOSES', 'tamera.moses@etu.iut-tlse3.fr', '2954ffb8d0709686145664f52797d8363789d8e6', 'student'), +(127, 'hrv1902a', 'Irwin', 'HOUSTON', 'irwin.houston@etu.iut-tlse3.fr', 'd6b6531cd157109d996f08683725477241c33393', 'student'), +(128, 'djo1928a', 'Vaughn', 'DURHAM', 'vaughn.durham@etu.iut-tlse3.fr', '7fc120742ea9f33780c63b7a4b8f1fee02829b70', 'student'), +(129, 'scm1996a', 'Dotson', 'SANDOVAL', 'dotson.sandoval@etu.iut-tlse3.fr', '3dc7712b78fe2e5d4da729521979e42549907f78', 'student'), +(130, 'ylq1926a', 'Stein', 'SILVA', 'stein.silva@etu.iut-tlse3.fr', 'e3e62678d1e76b008edd7f892e40040e7b81599e', 'student'), +(131, 'eme1913a', 'Booth', 'HENRY', 'booth.henry@etu.iut-tlse3.fr', '492891d212304c567331ae71b3241e95884a12cc', 'student'), +(132, 'otv1930a', 'Odonnell', 'BEASLEY', 'odonnell.beasley@etu.iut-tlse3.fr', 'd305bb36dd17bcc283bc1aa0865be6dc30e46b37', 'student'), +(133, 'cda1951a', 'Mcpherson', 'ANTHONY', 'mcpherson.anthony@etu.iut-tlse3.fr', 'bce1c02fbdc1f02a22ade40656d4971442ac0459', 'student'), +(134, 'eee1933a', 'Stacey', 'LITTLE', 'stacey.little@etu.iut-tlse3.fr', 'f1e95516e957d05394fdee0017aae394c9813171', 'student'), +(135, 'kfx1995a', 'Mitzi', 'SCHROEDER', 'mitzi.schroeder@etu.iut-tlse3.fr', '7605f5d97a938c7ba15d174cd108b6692dd655e2', 'student'), +(136, 'jgd1966a', 'Janelle', 'BURKS', 'janelle.burks@etu.iut-tlse3.fr', '5be6d9bcd3871e4de0edddb9318c4f63ac26dedf', 'student'), +(137, 'rwg1909a', 'Kelly', 'WALLACE', 'kelly.wallace@etu.iut-tlse3.fr', '612ca130318a74ec4fe1edede6099f7d23897ff9', 'student'), +(138, 'ngw1997a', 'Booker', 'LOPEZ', 'booker.lopez@etu.iut-tlse3.fr', '22045b63e4c18bf433c41ab0c306de2c352ae409', 'student'), +(139, 'obg1973a', 'Lynch', 'CHANDLER', 'lynch.chandler@etu.iut-tlse3.fr', '73448af356629fd2b66963b6e506d515eac654bc', 'student'), +(140, 'hzg1935a', 'Clarice', 'ORTEGA', 'clarice.ortega@etu.iut-tlse3.fr', '8f20fa9fe75ac4158360964c19c466aeedb1b3ee', 'student'), +(141, 'iyh1918a', 'Tucker', 'TRAN', 'tucker.tran@etu.iut-tlse3.fr', '46d9f1b05d231673d4142961d9eb73be3bdc438c', 'student'), +(142, 'tdc1978a', 'Bird', 'TRAVIS', 'bird.travis@etu.iut-tlse3.fr', '8f2afc2fc7975cb99f0745829c3451d459e342e9', 'student'), +(143, 'swd1951a', 'Jenny', 'GRAHAM', 'jenny.graham@etu.iut-tlse3.fr', '919979759142f8cc4e9c351c0624e40a40e1ab02', 'student'), +(144, 'vdj1905a', 'Dean', 'ESPINOZA', 'dean.espinoza@etu.iut-tlse3.fr', '4329059ef84d124807459d52dc9b744bd4ad7604', 'student'), +(145, 'bit1985a', 'Rosalind', 'FISHER', 'rosalind.fisher@etu.iut-tlse3.fr', '09714ae926b68dcbf1e62c0d7cc9f9273dc4623a', 'student'), +(146, 'iah1936a', 'Franklin', 'SLATER', 'franklin.slater@etu.iut-tlse3.fr', '51d71755f43045f2c96c71ce4ad7f16fe858b379', 'student'), +(147, 'ypt1989a', 'Simon', 'MORALES', 'simon.morales@etu.iut-tlse3.fr', '8bb7b7a41d638a6867935ba0a85b4cc4080f6288', 'student'), +(148, 'ljc1902a', 'Lisa', 'CLEMENTS', 'lisa.clements@etu.iut-tlse3.fr', '057cc0ba19b97b8249b080fc2efff784b45ca34a', 'student'), +(149, 'hcc1997a', 'Madeline', 'MARKS', 'madeline.marks@etu.iut-tlse3.fr', '707da24b23e55e50b090147377e5e2aee6eeb1e8', 'student'), +(150, 'bky1924a', 'Gena', 'ENGLAND', 'gena.england@etu.iut-tlse3.fr', 'c643161955167e1a7ec292ab3001b01f9aeb6d93', 'student'), +(151, 'vul1953a', 'Robyn', 'BATES', 'robyn.bates@etu.iut-tlse3.fr', '1b869180b351e5f900c4bed2c6c1781f93199822', 'student'), +(152, 'ssr1906a', 'Howell', 'FAULKNER', 'howell.faulkner@etu.iut-tlse3.fr', '769b4c973e9b812386e282d375a1c5ec6f00c616', 'student'), +(153, 'yjh1944a', 'Thompson', 'SOLIS', 'thompson.solis@etu.iut-tlse3.fr', '67e91508291d3b6b155018f1736556c64e06e8f3', 'student'), +(154, 'ste1994a', 'Allison', 'CALLAHAN', 'allison.callahan@etu.iut-tlse3.fr', 'c71907802e175fcc96c8f76f24aab27382fae7f7', 'student'), +(155, 'ypo1964a', 'Marylou', 'HOPKINS', 'marylou.hopkins@etu.iut-tlse3.fr', '60eee415a1020d91db35b92e248e755a15d91a9e', 'student'); + +-- +-- Contraintes pour les tables exportées +-- + +-- +-- Contraintes pour la table `association_utilisateur_groupe` +-- +ALTER TABLE `association_utilisateur_groupe` + ADD CONSTRAINT `asso_groupe_utilisateur-foreign_groupe` FOREIGN KEY (`id_groupe`) REFERENCES `groupes` (`id_groupe`), + ADD CONSTRAINT `asso_groupe_utilisateur-foreign_utilisateur` FOREIGN KEY (`id_utilisateur`) REFERENCES `utilisateurs` (`id_utilisateur`); + +/*!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 */;