commit bd8d7ed0a5ea7216b3107568a4355e5edfafc34e Author: Crom (Thibaut CHARLES) Date: Thu Jun 7 10:57:43 2018 +0200 First diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b53ace --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.svn/ diff --git a/config.php b/config.php new file mode 100644 index 0000000..bf3bade --- /dev/null +++ b/config.php @@ -0,0 +1,88 @@ + DEBUT CONFIGURATION + * Pour installer le site, vous devez paramètrer les lignes ci dessous : + * ========================================================================= + */ + + /** + * @brief Adresse de la BDD + * @example mysql:host=127.0.0.1; dbname=burgerquizz + * @var string + */ + public static $bdd_address = "mysql:host=127.0.0.1; dbname=burgerquizz"; + + + /** + * @brief Login de l'utilisateur de la BDD + * @note Cet utilisater doit avoir tous les droits sur les tables du burger quizz + * @var string + */ + public static $bdd_user = "root"; + + + /** + * @brief Mot de passe de l'utilisateur de la BDD + * @var string + */ + public static $bdd_password = "2684"; + + /* + * ========================================================================= + * ==> FIN DE LA CONFIGURATION + * ========================================================================= + */ + + + + + + + + + + + + //Ne pas toucher aux lignes ci dessous : + + /** + * @brief Variable pour le débugage + * @example TRUE ==> affiche toutes les erreures des TRY + * @example FALSE ==> usage standard + * @var boolean + */ + public static $debug = TRUE; + + + /** + * @brief Table de liaison Page-Titre-URL + * @var array[page code][titre=0/url=1] + */ + public static $pages = array( + 'welcome' => array('Accueil', 'view/welcome/index.php'), //Page d'acceuil + 'login' => array("Connexion", "view/welcome/login.php"), //Page de connexion + 'signup' => array('Inscription', 'view/signup/index.php'), //Page d'inscription au site + 'logout' => array('Déconnexion', 'view/logout/index.php'), //Page de déconnexion + 'account' => array('Mon compte', 'view/account/index.php'), //Page du compte + 'update' => array('Mise à jour', 'view/account/update.php'), //Page de mise à jour du compte + 'game' => array('Jeu', 'view/game/index.php'), //Page du jeu + 'finish' => array('Fin du jeu', 'view/game/finish.php'), //Page de fin de la partie + 'error' => array('Erreur', 'view/game/error.php'), // Page d'erreur d'enregistrement de la partie + 'result' => array('Résultats', 'view/result/index.php'), //Page des parties personnelles du joueur + 'rank' => array('Rangs', 'view/rank/index.php'), //Page du classement principal + 'rank_cat' => array("Classement par catégorie", "view/rank/bycat.php"), + '404' => array('Erreur 404', 'view/404.php'), //Page d'erreur NOT FOUND + '500' => array('Erreur 500', 'view/500.php') //Page d'erreur SERVER ERROR + ); + + + + } + diff --git a/controller.php b/controller.php new file mode 100644 index 0000000..ef742cb --- /dev/null +++ b/controller.php @@ -0,0 +1,173 @@ +) + */ +class controller + { + + ///Instance de la classe + private static $Ctrl; + + ///Code de la page courante + private $currpage_code; + + ///Titre de la page courante + private $currpage_title; + + ///URL de la page courante + private $currpage_url; + + + /** + * @brief Instancie le contrôleur et charge les données de la barre d'adresse + * @note Si le contrôleur a déja été instancié, cette methode executera uniquement route() + */ + public static function init() + { + //Si l'instance de la classe est NULL + if (!isset(self::$Ctrl)) + { + //On instancie un nouveau controlleur + self::$Ctrl = new controller(); + } + + //On lance le routage + self::$Ctrl->route(); + } + + /** + * @brief Récupère le contrôleur utilisé + * @return controller + * @warning Si le contrôleur n'a pas été instancié, renverra null + */ + public static function get() + { + return self::$Ctrl; + } + + /** + * @brief Génère le code HTML de la page désirée, enfonction du terminal + * @note le contrôleur doit avoir été instancié et être routé + */ + public function render() + { + //Chargement du fichier user.php pour la session et de la classe DAO + require_once "metier/user.php"; + + //Dérrage de la sessions + session_start(); + + + //Detection du type de terminal (smartphone ou normal) + $bSmartphone = + strstr($_SERVER['HTTP_USER_AGENT'], 'Android') + || strstr($_SERVER['HTTP_USER_AGENT'], 'BlackBerry') + || strstr($_SERVER['HTTP_USER_AGENT'], 'Windows') + || strstr($_SERVER['HTTP_USER_AGENT'], 'Opera Mini') + || strstr($_SERVER['HTTP_USER_AGENT'], 'Mobile') + || strstr($_SERVER['HTTP_USER_AGENT'], 'iPad'); + + //Cette variable permettra par la suite de décider du placement de + // certains menus ainsi que de la feuille de style + ?> + + + + + + + + "; + if ($bSmartphone) + { + echo ""; + } + ?> + + BurgerQuizz - $this->currpage_title"; ?> + + + + + "; + echo "
"; + include $this->currpage_url; + echo "
"; + echo ""; + ?> + + + + + + currpage_code = '404'; + } else + { + $this->currpage_code = $_GET['page']; + } + } else + { + $this->currpage_code = 'welcome'; + } + + + //Récupération du template à utiliser (smartphone/normal) + if (isset($_GET['tmpl']) && $_GET['tmpl'] == "smartphone") + { + $this->currpage_template = "smartphone"; + } else + { + $this->currpage_template = "global"; + } + + //Titre & URL + $this->currpage_title = config::$pages[$this->currpage_code][0]; + $this->currpage_url = config::$pages[$this->currpage_code][1]; + } + + } +?> diff --git a/dao/bdd.php b/dao/bdd.php new file mode 100644 index 0000000..ce05ac7 --- /dev/null +++ b/dao/bdd.php @@ -0,0 +1,66 @@ + 'SET NAMES utf8', + ); + + //Création du PDO + $this->instancePDO = new PDO(config::$bdd_address, config::$bdd_user, config::$bdd_password, $options); + + //On précise les options du PDO + $this->instancePDO->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); + } catch (PDOException $e) { + if (config::$debug) { + //En cas de bug et si le mode DEBUG est activé + //On affiche un message + echo 'Connexion échouée : ' . $e->getMessage(); + header("Refresh: 0;URL=index.php?page=500"); + } + } + } + + /** + * @brief Accesseur de l'instance bdd + * @return instance BDD + * @note Création automatique d'une nouvelle instance si besoin + */ + public static function getInstance() { + if (!isset(self::$bdd)) { + //Si l'instance n'a pas encore été crée + //On en créer une nouvelle et on la stocke + self::$bdd = new bdd(); + } + + //On renvoie l'instance sauvegardée + return self::$bdd; + } + + /** + * @brief Accesseur pour l'objet PDO de la classe + * @return PDO + */ + public function getPDO() { + return $this->instancePDO; + } + +} + +?> diff --git a/dao/cat_dao.php b/dao/cat_dao.php new file mode 100644 index 0000000..ce456c1 --- /dev/null +++ b/dao/cat_dao.php @@ -0,0 +1,37 @@ +db->query($query)->fetchAll(); + + //On renvoie les données + return $result; + } + +} + +?> diff --git a/dao/dao.php b/dao/dao.php new file mode 100644 index 0000000..a43b5fa --- /dev/null +++ b/dao/dao.php @@ -0,0 +1,36 @@ +db = bdd::getInstance()->getPDO(); + } + + /** + * @brief Fonction gérant la récupération d'infos + * @note l'id est soit l'id (int) soit le login pour user + */ + abstract function select($id); + + /// @brief Fonction gérant l'insertion d'un nouvel objet dans la BDD + abstract function insert(&$objet); + + /// @brief Fonction gérant la suppression d'un objet dans la BDD + abstract function delete($id); + + /// @brief Fonction gérant la mise de jour des données + abstract function update(&$objet); +} + +?> \ No newline at end of file diff --git a/dao/game_dao.php b/dao/game_dao.php new file mode 100644 index 0000000..5984922 --- /dev/null +++ b/dao/game_dao.php @@ -0,0 +1,121 @@ +db->query($query)->fetch(); + + //On retourne l'objet frâichement crée + return $result; + } + + /** + * @brief Récupère toutes les partie relatives à un joueur + * @arg $login login du joueur permettant de récupérer les partie qui lui sont associée + * @return tableau de lignes de la base de données ou FALSE + */ + public function selectByLogin($login) { + //Mise en place de la requête + $query = "SELECT * FROM `game` WHERE `user_login`='$login' ORDER BY date DESC"; + + //On récupère les données + $result = $this->db->query($query)->fetchAll(); + + //On retourne les données + return $result; + } + + /** + * @brief Compte le nombre de jeux effectués par chaque joueurs + */ + public function countGame() { + //Création de la requête + $query = "SELECT COUNT(*) AS nb, user_login FROM game GROUP BY user_login ORDER BY user_login ASC"; + + //Récupération des données + $result = $this->db->query($query)->fetchAll(); + + //On retourne les données + return $result; + } + + /** + * @brief Insert une occurence game relative à l'objet passé + * @arg $objet objet game à ajouter dans la base de données + */ + public function insert(&$objet) { + //On stocke les données à ajouter + $user = $objet->getUserLogin(); + $length = $objet->getLength(); + + //On met en place la requête + $query = "INSERT INTO `game`(`user_login`,`length`, `date`) VALUES ('$user','$length', NOW())"; + + //On envoie la requête + try { + $this->db->query($query); + return TRUE; + } catch (Exception $ex) { + if (config::$debug) { + echo $ex->getMessage(); + } + + return FALSE; + } + } + + /** + * @brief Fonction obsolète + * @note il est impossible de faire une mise à jour d'une partie via le site + */ + public function update(&$objet) { + //On ne fait rien + } + + /** + * @brief Supprime une occurence game de la base de données + * @arg $id identifiant de la partie à supprimer + * @note on utilise le ON DELETE CASCADE pour supprimer les réponses associées. La BDD reste donc cohérente + */ + public function delete($id) { + //Mise en place de la requête SQL + $query = "DELETE FROM `game` WHERE `id`='$id'"; + + //On envoie la requête SQL + $result = $this->db->query($query); + + //On renvoie si oui ou non on a réussi la requête + if ($result->rowCount() == 0) { + return FALSE; + } else { + return TRUE; + } + } + + public function getLastId() { + //Mise en place de la requête SQL + $query = "SELECT MAX(id) FROM game LIMIT 1"; + + //On envoie la requête SQL + $result = $this->db->query($query)->fetch(); + + //On retourne le résultat + return $result; + } + + +} + +?> \ No newline at end of file diff --git a/dao/groupe_dao.php b/dao/groupe_dao.php new file mode 100644 index 0000000..1402b84 --- /dev/null +++ b/dao/groupe_dao.php @@ -0,0 +1,90 @@ +db->query($query)->fetch(); + + //On renvoie les données + return $result; + } + + public function selectByCat($cat) { + //Préparation de la requête + $query = "SELECT * FROM `group` WHERE categorie_nom = '" . $cat . "'"; + + //On envoie la requête + $result = $this->db->query($query)->fetchAll(); + + //On renvoie les données + return $result; + } + + /** + * @brief Fonction obsolète + * @note on ne fait pas d'insertion via le site, seulement via l'application JAVA + */ + public function insert(&$objet) { + //On ne fait rien + } + + /** + * @brief Fonction obsolète + * @note il est impossible de supprimer un groupe sur le site. C'est possible via l'application JAVA uniquement + */ + public function delete($id) { + //On ne fait rien + } + + /** + * @brief Fonction obsolète + * @note il est impossible de mettre à jour un groupe via le site. Seul l'application JAVA pourra le faire + */ + public function update(&$objet) { + //On ne fait rien + } + + /** + * @brief Compte le nombre de groupe de question par catégories + */ + public function count($cat) { + //Préparation de la requête + $query = "SELECT COUNT(*) FROM `group` WHERE `categorie_nom` = '" . $cat . "'"; + + //On envoie la requête + $result = $this->db->query($query)->fetch(); + + //On renvoie les données + return $result; + } + + /** + * @brief Compte le nombre total de groupe de question + */ + public function countAll() { + //Préparation de la requête + $query = "SELECT COUNT(*) FROM `group`"; + + //On envoie la requête + $result = $this->db->query($query)->fetch(); + + //On renvoie les données + return $result; + } + + +} + +?> diff --git a/dao/point_manager.php b/dao/point_manager.php new file mode 100644 index 0000000..24bddc6 --- /dev/null +++ b/dao/point_manager.php @@ -0,0 +1,221 @@ + table GAME + // le nombre de réponses => table QUESTION + // le nombre de bonne réponses => table LINK_GAME_QUESTION + + //Récupération de la durée + $length = self::getLengthByGame($game_id); + + //Récupération du nombre de questions + $nb_question = self::getNbQuestion($game_id); + + //Récupération du nombre de bonne réponses + $nb_br = self::getGoodAnswer($game_id); + + + //Calcul du score final + $points = ($nb_br[0] / $nb_question[0]) * 100 - ($length[0] / 1000); + + if ($points < 0) + { + return 0; + } else + { + return $points; + } + + + //On retourne le résultat + return $points; + } + + + /** + * @brief Obtient le nombre de bonnes réponses dans une partie + * @arg $game_id identifiant de la partie + * @return int + */ + public static function getGoodAnswer($game_id) + { + + //Récupération de la base de données + $bdd = bdd::getInstance()->getPDO(); + + //Mise en place de la requête + $query = "SELECT SUM(lnk.reponse = question.bonnereponse) AS sum + FROM link_game_question AS lnk INNER JOIN question + ON lnk.question_id = question.id + WHERE lnk.game_id = '" . $game_id . "'"; + + //Récupération des résultat + $data = $bdd->query($query)->fetch(); + + //On renvoie les données + return $data; + } + + /** + * @brief Obtient le nombre de questions associées à une partie + * @arg $game_id identifiant de la partie + * @return int + */ + public static function getNbQuestion($game_id) + { + //Récupération de la BDD + $bdd = bdd::getInstance()->getPDO(); + + //Création de la requête + $query = "SELECT COUNT(*) AS nb + FROM link_game_question AS lnk INNER JOIN question + ON lnk.question_id = question.id + WHERE lnk.game_id = '" . $game_id . "'"; + + //Récupération des résultats + $data = $bdd->query($query)->fetch(); + + //On renvoie les infos + return $data; + } + + /** + * @brief Obtient les identifiants des parties jouées par un joueur + * @arg $login login du joueur + * @return tableau d'entier + */ + public static function getGamesByLogin($login) + { + //Mise en place de la connexion à la base de données + $bdd = bdd::getInstance()->getPDO(); + + //Mise en place de la requête + $query = "SELECT id FROM game WHERE user_login = '$login'"; + + //Récupération des résultats + $result = $bdd->query($query)->fetchAll(); + + //On renvoi les résultats + return $result; + } + + /** + * @brief Obtient la durée d'une partie + * @arg $game_id identifiant de la partie + * @return int (temps en milliseconde) + */ + public static function getLengthByGame($game_id) + { + //Mise en place de la connexion à la base de données + $bdd = bdd::getInstance()->getPDO(); + + //Mise en place de la requête + $query = "SELECT length FROM game ORDER BY id = '$game_id'"; + + //Récupération du résultat + $result = $bdd->query($query)->fetch(); + + //On renvoie les résultats + return $result; + } + + /** + * @brief Obtient la liste de toutes les personnes inscrites + * @return tableau de login + */ + public static function getAllPlayer() + { + //Mise en place de la connexion à la base de données + $bdd = bdd::getInstance()->getPDO(); + + //Mise en place de la requête + $query = "SELECT login FROM user ORDER BY login ASC"; + + //Récupération des résultats + $result = $bdd->query($query)->fetchAll(); + + //On renvoie les résultats + return $result; + } + + /** + * @brief Obtient le nom de la catégorie et les 2 réponses du groupe de question associé à l'identifiant de la partie + * @arg $game_id identifiant de la partie + * @return array[categorie, reponse0, reponse1] + */ + public static function getInfoByGroupId($game_id) + { + //Récupếration de la connexion à la base de données + $bdd = bdd::getInstance()->getPDO(); + + //Création de la requête + $query = "SELECT categorie_nom AS categorie, reponse0, reponse1 FROM `group` WHERE `id`= + (SELECT group_id FROM question WHERE `id` = + (SELECT question_id FROM link_game_question WHERE game_id = '$game_id' LIMIT 1) + LIMIT 1) + LIMIT 1"; + + //Récupération des résultats + $result = $bdd->query($query)->fetch(); + + //On renvoie les données + return $result; + } + + /** + * @brief Obtient les parties jouée par un joueur dans une catégorie + * @arg $login login du joueur + * @arg $cat catégorie désirée + * @return tableau contenant l'id, le temps et le login de la partie + */ + public static function getGameByLoginByCat($login, $cat) + { + //Mise en place de la BDD + $bdd = bdd::getInstance()->getPDO(); + + //Mise en place de la requête + $query = "SELECT * FROM game + WHERE game.user_login = '$login' + AND game.id = + ANY( + SELECT lnk.game_id + FROM link_game_question AS lnk + INNER JOIN question + ON lnk.question_id = question.id + + INNER JOIN `group` + ON question.group_id = group.id + + INNER JOIN categorie + ON `group`.categorie_nom = categorie.nom + + WHERE categorie.nom = '$cat' + + GROUP BY lnk.game_id + )"; + + //Récupération des résultats + $result = $bdd->query($query)->fetchAll(); + + //On renvoie les résultats + return $result; + } + + } + +?> diff --git a/dao/question_dao.php b/dao/question_dao.php new file mode 100644 index 0000000..6fa97f1 --- /dev/null +++ b/dao/question_dao.php @@ -0,0 +1,68 @@ +db->query($query)->fetch(); + + //On retourne les données + return $return; + } + + public function selectByGroup($id_group) + { + //Mise en place de la requête SQL + $query = "SELECT * FROM `question` WHERE `group_id`='$id_group' ORDER BY RAND()"; + + //On récupère les données + $return = $this->db->query($query)->fetchAll(); + + //On retourne les données + return $return; + } + + /** + * @brief Fonction obsolète + * @note il est impossible d'ajouter des question via le site. Seule l'application JAVA y sera autorisée + */ + public function insert(&$objet) + { + //On ne fait rien + } + + /** + * @brief Fonction obsolète + * @note il est impossible de mettre à jour une question via le site. L'application JAVA pourra le faire + */ + public function update(&$objet) + { + //On ne fait rien + } + + /** + * @brief Fonction obsolète + * @note il est impossible de supprimer une question via la site. Seule l'application JAVA sera autorisée à le faire + */ + + public function delete($id) + { + //On ne fait rien + } + + } + +?> \ No newline at end of file diff --git a/dao/reponse_user_dao.php b/dao/reponse_user_dao.php new file mode 100644 index 0000000..489440b --- /dev/null +++ b/dao/reponse_user_dao.php @@ -0,0 +1,111 @@ + la condition devient TRUE + if ($idgame == "%") { + $cond1 = "TRUE"; + } + + //Mise en place de la seconde condition + $cond2 = "`question_id`='$idquest'"; + + //Si on a mis un %, on charge toutes les questions => la condition devient TRUE + if ($idquest == "%") { + $cond2 = "TRUE"; + } + + //On met en place la requête + $query = "SELECT * FROM `link_game_question` WHERE $cond1 AND $cond2"; + + //On récupère les données + $result = $this->db->query($query); + + //Si on a pas de données, inutilise d'aller plus loin + if (!$result) { + return FALSE; + } + + //On parse les résultats en fonction de chaque cas + if ($idquest == "%") { + //On demande toutes les questions du jeu spécifié + $return = array(); + $i = 0; + + //On boucle pour chaque occurence + foreach ($result as $row) { + $return[$i] = new reponse_user($row["game_id"], $row["question_id"], $row["reponse"]); + $i++; + } + } else { + //On demande une seule partie + $return = $result->fetch(); + } + + //On retourne les résultats + return $return; + } + + /** + * @brief Insert un objet reponse_user dans la base de données + * @arg $objet objet reponse_user à inserer + */ + public function insert(&$objet) { + //Récupération des données + $game_id = $objet->getGame(); + $question_id = $objet->getQuestion(); + $reponse = $objet->getReponse(); + + //Mise en place de la requête + $query = "INSERT INTO `link_game_question` + (`game_id`,`question_id`,`reponse`) + VALUES ('$game_id','$question_id','$reponse')"; + + //Envoie de la requête + try { + $this->db->query($query); + return TRUE; + } catch (Exception $ex) { + if (config::$debug) { + echo $ex->getMessage(); + } + + return FALSE; + } + } + + /** + * @brief Fonction obsolète mais nécessaire pour l'héritage de DAO + * @note on ne peut pas mettre à jour les réponses de l'utilisateur + */ + public function update(&$objet) { + //On ne fait rien + } + + /** + * @brief Fonction obsolète mais nécessaire pour l'héritage de DAO + * @note la réponse de l'utilisateur est automatiquement supprimée par la suppression de la partie elle-même, via un ON DELETE CASCADE + */ + public function delete($idgame) { + //One ne fait rien + } + + +} + +?> \ No newline at end of file diff --git a/dao/user_dao.php b/dao/user_dao.php new file mode 100644 index 0000000..c789b07 --- /dev/null +++ b/dao/user_dao.php @@ -0,0 +1,121 @@ +db->query($query)->fetch(); + + //On retourne les infos + return $return; + } + + /** + * @brief Insert un nouvel utilisateur dans la base de données + * @arg $objet information de l'utilisateur à ajouter + */ + public function insert(&$objet) { + //On récupère les informations à ajouter + $login = $objet->getLogin(); + $passwd = $objet->getPassword(); + $nom = $objet->getNom(); + $prenom = $objet->getPrenom(); + $mail = $objet->getMail(); + + //On prépare la requête SQL + $query = "INSERT INTO `user`(`login`,`pwd`,`nom`,`prenom`,`dateinscription`, `email`) + VALUES ('$login','$passwd','$nom','$prenom',NOW(), '" . $mail . "')"; + + //On exécute la requête + try { + $this->db->query($query); + return TRUE; + } catch (Exception $ex) { + $ex = NULL; + return FALSE; + } + } + + /** + * @brief Met à jour un utilisateur avec les nouvelles données spécifiée + * @arg $objet objet user contenant les nouvelles données + * @note le login est le seul élément inchangeable. On se sert de ce dernier pour mettre à jour la base de données + */ + public function update(&$object) { + //On récupère les données de l'utilisateur + $login = $object->getLogin(); + $passwd = $object->getPassword(); + $nom = $object->getNom(); + $prenom = $object->getPrenom(); + $mail = $object->getMail(); + + //On prépare la requête + $query = "UPDATE `user` + SET `pwd`='$passwd', `nom`='$nom', `prenom`='$prenom', `email`='$mail' + WHERE login='$login'"; + + //On envoie la requête + $result = $this->db->query($query); + + //On renvoie le résultat + if ($result->rowCount() == 0) { + return FALSE; + } else { + return TRUE; + } + } + + public function updateNoPassword($object) { + $login = $object->getLogin(); + $nom = $object->getNom(); + $prenom = $object->getPrenom(); + $mail = $object->getMail(); + + //On prépare la requête + $query = "UPDATE `user` + SET `nom`='$nom', `prenom`='$prenom', `email`='$mail' + WHERE login='$login'"; + + //On envoie la requête + $result = $this->db->query($query); + + //On renvoie le résultat + if ($result->rowCount() == 0) { + return FALSE; + } else { + return TRUE; + } + } + + /** + * @brief Supprime un utilisateur de la base + * @arg $id login de l'utilisateur à supprimer + * @note la suppression d'un utilisateur entraine la suppression de ses parties et de ses réponses avec le ON DELETE CASCADE + */ + public function delete($id) { + //On prépare la requête SQL + $query = "DELETE FROM `user` WHERE `login`='$id'"; + + //On envoie la requête SQL + $result = $this->db->query($query); + + if ($result->rowCount() == 0) { + return FALSE; + } else { + return TRUE; + } + } + +} + +?> \ No newline at end of file diff --git a/doc/index.php b/doc/index.php new file mode 100644 index 0000000..efa0082 --- /dev/null +++ b/doc/index.php @@ -0,0 +1,13 @@ + + + + BurgerQuizz - Documentation + + + +
+
+

Documentation du Java


+

Documentation du PHP


+ + diff --git a/doc/java/_app_8java.html b/doc/java/_app_8java.html new file mode 100755 index 0000000..bc6d81e --- /dev/null +++ b/doc/java/_app_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/App.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/App.java File Reference

+
+
+ + + + +

+Classes

class  App
 Application contenant la méthode main. More...
+
+ + + diff --git a/doc/java/_bdd_8java.html b/doc/java/_bdd_8java.html new file mode 100755 index 0000000..843c336 --- /dev/null +++ b/doc/java/_bdd_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/Bdd.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/Bdd.java File Reference

+
+
+ + + + +

+Classes

class  Bdd
 Classe principalement statique servant d'intermédiaire avec la BDD. More...
+
+ + + diff --git a/doc/java/_config_file_8java.html b/doc/java/_config_file_8java.html new file mode 100755 index 0000000..02af81b --- /dev/null +++ b/doc/java/_config_file_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/ConfigFile.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/ConfigFile.java File Reference

+
+
+ + + + +

+Classes

class  ConfigFile
 Classe statique servant à charger/récupérer/écrire les différents paramètres du fichier de configuration. More...
+
+ + + diff --git a/doc/java/_list_row_8java.html b/doc/java/_list_row_8java.html new file mode 100755 index 0000000..effc8fa --- /dev/null +++ b/doc/java/_list_row_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/ListRow.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/ListRow.java File Reference

+
+
+ + + + +

+Classes

class  ListRow
 Ligne pour les jComboBox ou les jList. More...
+
+ + + diff --git a/doc/java/_page_8java.html b/doc/java/_page_8java.html new file mode 100755 index 0000000..e5fb038 --- /dev/null +++ b/doc/java/_page_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/Page.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/Page.java File Reference

+
+
+ + + + +

+Classes

class  Page
 Classe abstraite représentant la partie fixe des pages de catégorie, groupe et question. More...
+
+ + + diff --git a/doc/java/_page_categorie_8java.html b/doc/java/_page_categorie_8java.html new file mode 100755 index 0000000..9bccd44 --- /dev/null +++ b/doc/java/_page_categorie_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/PageCategorie.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/PageCategorie.java File Reference

+
+
+ + + + +

+Classes

class  PageCategorie
 Page d'administration des catégories. More...
+
+ + + diff --git a/doc/java/_page_config_8java.html b/doc/java/_page_config_8java.html new file mode 100755 index 0000000..79b8f67 --- /dev/null +++ b/doc/java/_page_config_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/PageConfig.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/PageConfig.java File Reference

+
+
+ + + + +

+Classes

class  PageConfig
 Page de configuration de la connexion MySQL. More...
+
+ + + diff --git a/doc/java/_page_group_8java.html b/doc/java/_page_group_8java.html new file mode 100755 index 0000000..c0374c6 --- /dev/null +++ b/doc/java/_page_group_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/PageGroup.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/PageGroup.java File Reference

+
+
+ + + + +

+Classes

class  PageGroup
 Page d'administration des groupes de questions. More...
+
+ + + diff --git a/doc/java/_page_question_8java.html b/doc/java/_page_question_8java.html new file mode 100755 index 0000000..c582775 --- /dev/null +++ b/doc/java/_page_question_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/PageQuestion.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/PageQuestion.java File Reference

+
+
+ + + + +

+Classes

class  PageQuestion
 Page d'administration des questions. More...
+
+ + + diff --git a/doc/java/_window_8java.html b/doc/java/_window_8java.html new file mode 100755 index 0000000..97c672a --- /dev/null +++ b/doc/java/_window_8java.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: /media/data/ProjWeb/Java/Window.java File Reference + + + + + + +
+ +
+

/media/data/ProjWeb/Java/Window.java File Reference

+
+
+ + + + +

+Classes

class  Window
 Ne sert pas à grand chose si ce n'est à initialiser et contenir les pages & tabs. More...
+
+ + + diff --git a/doc/java/annotated.html b/doc/java/annotated.html new file mode 100755 index 0000000..ccafbe3 --- /dev/null +++ b/doc/java/annotated.html @@ -0,0 +1,50 @@ + + + + +BurgerQuizz: Class List + + + + + + +
+
+

Class List

+
+
+Here are the classes, structs, unions and interfaces with brief descriptions: + + + + + + + + + + +
AppApplication contenant la méthode main
BddClasse principalement statique servant d'intermédiaire avec la BDD
ConfigFileClasse statique servant à charger/récupérer/écrire les différents paramètres du fichier de configuration
ListRowLigne pour les jComboBox ou les jList
PageClasse abstraite représentant la partie fixe des pages de catégorie, groupe et question
PageCategoriePage d'administration des catégories
PageConfigPage de configuration de la connexion MySQL
PageGroupPage d'administration des groupes de questions
PageQuestionPage d'administration des questions
WindowNe sert pas à grand chose si ce n'est à initialiser et contenir les pages & tabs
+
+ + + diff --git a/doc/java/bc_s.png b/doc/java/bc_s.png new file mode 100755 index 0000000..e401862 Binary files /dev/null and b/doc/java/bc_s.png differ diff --git a/doc/java/class_app-members.html b/doc/java/class_app-members.html new file mode 100755 index 0000000..d1dc48b --- /dev/null +++ b/doc/java/class_app-members.html @@ -0,0 +1,40 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

App Member List

+
+
+This is the complete list of members for App, including all inherited members. + +
main(String args[])App [static]
+ + + diff --git a/doc/java/class_app.html b/doc/java/class_app.html new file mode 100755 index 0000000..00c8c91 --- /dev/null +++ b/doc/java/class_app.html @@ -0,0 +1,77 @@ + + + + +BurgerQuizz: App Class Reference + + + + + + +
+ +
+

App Class Reference

+
+
+ +

Application contenant la méthode main. +More...

+ +

List of all members.

+ + + + +

+Static Public Member Functions

static void main (String args[])
 Main.
+

Detailed Description

+

Application contenant la méthode main.

+

Member Function Documentation

+ +
+
+ + + + + + + + + +
static void App.main (String  args[] )  [static]
+
+
+ +

Main.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_bdd-members.html b/doc/java/class_bdd-members.html new file mode 100755 index 0000000..3bb3fa5 --- /dev/null +++ b/doc/java/class_bdd-members.html @@ -0,0 +1,62 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

Bdd Member List

+
+
+This is the complete list of members for Bdd, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + +
close()Bdd [static]
connect(String sIPb, String sSchemab, String sUserb, String sPasswordb)Bdd [static]
generateAnsList(String sGrpID)Bdd [static]
generateCatList()Bdd [static]
generateGroupList(String sCat)Bdd [static]
generateQuestionList(String sGrpID)Bdd [static]
getGroupAns0ByID(String sID)Bdd [static]
getGroupAns1ByID(String sID)Bdd [static]
getIP()Bdd [static]
getIsConnected()Bdd [static]
getPassword()Bdd [static]
getQuestionAns(String sIDQuestion)Bdd [static]
getSchema()Bdd [static]
getUser()Bdd [static]
insertDefaultCatRow()Bdd [static]
insertDefaultGroupRow(String sCat)Bdd [static]
insertDefaultQuestionRow(String sGroupID)Bdd [static]
removeCat(String sID)Bdd [static]
removeGroup(String sID)Bdd [static]
removeQuestion(String sID)Bdd [static]
updateCat(String sID, String sName)Bdd [static]
updateGroup(String sID, String sCat, String sAns0, String sAns1)Bdd [static]
updateQuestion(String sID, String sGroupID, String sQuest, String sGoodAns)Bdd [static]
+ + + diff --git a/doc/java/class_bdd.html b/doc/java/class_bdd.html new file mode 100755 index 0000000..76f51f3 --- /dev/null +++ b/doc/java/class_bdd.html @@ -0,0 +1,711 @@ + + + + +BurgerQuizz: Bdd Class Reference + + + + + + +
+ +
+

Bdd Class Reference

+
+
+ +

Classe principalement statique servant d'intermédiaire avec la BDD. +More...

+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

static String getIP ()
 Accesseur pour l'IP de la dernière tentative de connexion à la bdd.
static String getSchema ()
 Accesseur pour le schéma de la dernière tentative de connexion à la bdd.
static String getUser ()
 Accesseur pour le nom de l'utilisateur de la dernière tentative de connexion à la bdd.
static String getPassword ()
 Accesseur pour le mdp utilisé à la dernière tentative de connexion à la bdd.
static void connect (String sIPb, String sSchemab, String sUserb, String sPasswordb) throws Exception
static void close ()
 Ferme la connexion MySQL.
static boolean getIsConnected ()
 Renvoie 1 si la l'application est connectée à la BDD.
static ArrayList< ListRowgenerateCatList ()
static ArrayList< ListRowgenerateGroupList (String sCat)
static ArrayList< ListRowgenerateQuestionList (String sGrpID)
static ArrayList< ListRowgenerateAnsList (String sGrpID)
static String getGroupAns0ByID (String sID)
static String getGroupAns1ByID (String sID)
static int getQuestionAns (String sIDQuestion)
static void removeCat (String sID)
static void removeGroup (String sID)
static void removeQuestion (String sID)
static void updateCat (String sID, String sName)
static void updateGroup (String sID, String sCat, String sAns0, String sAns1)
static void updateQuestion (String sID, String sGroupID, String sQuest, String sGoodAns)
static void insertDefaultCatRow ()
static void insertDefaultGroupRow (String sCat)
static void insertDefaultQuestionRow (String sGroupID)
+

Detailed Description

+

Classe principalement statique servant d'intermédiaire avec la BDD.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
static void Bdd.close ( )  [static]
+
+
+ +

Ferme la connexion MySQL.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void Bdd.connect (String  sIPb,
String  sSchemab,
String  sUserb,
String  sPasswordb 
) throws Exception [static]
+
+
+

Connecte la BDD au serveur MySQL donné

+
Warning:
Stocke les paramètres utilisé dans la classe, même si la connexion à échouée
+
Returns:
1 si connecté, 0 si la connexion à échouée
+
Parameters:
+ + + + + +
sIPb l'IP de la bdd
sSchemab le schéma utilisé par la bdd
sUserb l'utilisateur ayant accès la table burgerquizz
sPasswordb le mot de passe à utiliser
+
+
+
Exceptions:
+ + +
propage l'exception générée par la tentative de connexion MySQL
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static ArrayList<ListRow> Bdd.generateAnsList (String  sGrpID )  [static]
+
+
+

Génère une liste contenant les réponses possibles d'un groupe donnée, tirées de la BDD

+
Parameters:
+ + +
sGrpID valeur de la colonne id de la table group
+
+
+
Returns:
ladite liste
+ +
+
+ +
+
+ + + + + + + + +
static ArrayList<ListRow> Bdd.generateCatList ( )  [static]
+
+
+

Génère une liste contenant les catégories tirées de la BDD

+
Returns:
ladite liste
+ +
+
+ +
+
+ + + + + + + + + +
static ArrayList<ListRow> Bdd.generateGroupList (String  sCat )  [static]
+
+
+

Génère une liste contenant les groupes d'une catégorie donnée, tirés de la BDD

+
Parameters:
+ + +
sCat valeur de la colonne nom de la table categorie
+
+
+
Returns:
ladite liste
+ +
+
+ +
+
+ + + + + + + + + +
static ArrayList<ListRow> Bdd.generateQuestionList (String  sGrpID )  [static]
+
+
+

Génère une liste contenant les questions d'un groupe donnée, tirées de la BDD

+
Parameters:
+ + +
sGrpID valeur de la colonne id de la table group
+
+
+
Returns:
ladite liste
+ +
+
+ +
+
+ + + + + + + + + +
static String Bdd.getGroupAns0ByID (String  sID )  [static]
+
+
+

retourne la 1ere réponse possible dans un groupe donné, tirées de la BDD

+
Parameters:
+ + +
sID valeur de la colonne id de la table group
+
+
+
Returns:
le texte de la reponse0
+ +
+
+ +
+
+ + + + + + + + + +
static String Bdd.getGroupAns1ByID (String  sID )  [static]
+
+
+

retourne la 2de réponse possible dans un groupe donné, tirées de la BDD

+
Parameters:
+ + +
sID valeur de la colonne id de la table group
+
+
+
Returns:
le texte de la reponse1
+ +
+
+ +
+
+ + + + + + + + +
static String Bdd.getIP ( )  [static]
+
+
+ +

Accesseur pour l'IP de la dernière tentative de connexion à la bdd.

+ +
+
+ +
+
+ + + + + + + + +
static boolean Bdd.getIsConnected ( )  [static]
+
+
+ +

Renvoie 1 si la l'application est connectée à la BDD.

+ +
+
+ +
+
+ + + + + + + + +
static String Bdd.getPassword ( )  [static]
+
+
+ +

Accesseur pour le mdp utilisé à la dernière tentative de connexion à la bdd.

+ +
+
+ +
+
+ + + + + + + + + +
static int Bdd.getQuestionAns (String  sIDQuestion )  [static]
+
+
+

retourne la réponse correcte de la question, tirées de la BDD

+
Parameters:
+ + +
sIDQuestion valeur de la colonne id de la table question
+
+
+
Returns:
0, 1, 2 respectivement pour reponse0, reponse1, les deux
+ +
+
+ +
+
+ + + + + + + + +
static String Bdd.getSchema ( )  [static]
+
+
+ +

Accesseur pour le schéma de la dernière tentative de connexion à la bdd.

+ +
+
+ +
+
+ + + + + + + + +
static String Bdd.getUser ( )  [static]
+
+
+ +

Accesseur pour le nom de l'utilisateur de la dernière tentative de connexion à la bdd.

+ +
+
+ +
+
+ + + + + + + + +
static void Bdd.insertDefaultCatRow ( )  [static]
+
+
+

Ajoute une catégorie par défaut

+
Note:
le nom de la catégorie est 'Nouvelle cat.'
+ +
+
+ +
+
+ + + + + + + + + +
static void Bdd.insertDefaultGroupRow (String  sCat )  [static]
+
+
+

Ajoute un groupe par défaut dans la catégorie identifiée par sCat

+
Note:
le nom du nouveau groupe est 'RéponseA/RéponseB'
+
Parameters:
+ + +
sCat valeur de la colonne nom de la table categorie
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static void Bdd.insertDefaultQuestionRow (String  sGroupID )  [static]
+
+
+

Ajoute un groupe par défaut dans la catégorie identifiée par sCat

+
Note:
le nom du nouveau groupe est 'RéponseA/RéponseB'
+
Parameters:
+ + +
sGroupID valeur de la colonne id de la table group
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static void Bdd.removeCat (String  sID )  [static]
+
+
+

Supprime la catégorie identifiée par son ID

+
Warning:
Supprime aussi tous les group et les question associés via OnDeleteCascade (via MySQL)
+
Parameters:
+ + +
sID valeur de la colonne nom de la table categorie de la catégorie à supprimer
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static void Bdd.removeGroup (String  sID )  [static]
+
+
+

Supprime le groupe identifié par son ID

+
Warning:
Supprime aussi toutes les question associés via OnDeleteCascade (via MySQL)
+
Parameters:
+ + +
sID valeur de la colonne id de la table group du groupe à supprimer
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static void Bdd.removeQuestion (String  sID )  [static]
+
+
+

Supprime la question identifiée par son ID

+
Warning:
cohérence de la BDD : il est préférable que personne n'ai répondu à cette question via le site
+
Parameters:
+ + +
sID valeur de la colonne id de la table question de la question à supprimer
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
static void Bdd.updateCat (String  sID,
String  sName 
) [static]
+
+
+

Modifie la catégorie identifiée par sID

+
Parameters:
+ + + +
sID valeur de la colonne nom de la table categorie de la catégorie à modifier
sName nouveau nom à attribuer
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void Bdd.updateGroup (String  sID,
String  sCat,
String  sAns0,
String  sAns1 
) [static]
+
+
+

Modifie le groupe identifiée par sID

+
Parameters:
+ + + + + +
sID valeur de la colonne id de la table group du groupe à modifier
sCat nom de la catégorie dans laquelle classer le groupe
sAns0 1ere réponse possible
sAns1 2de réponse possible
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void Bdd.updateQuestion (String  sID,
String  sGroupID,
String  sQuest,
String  sGoodAns 
) [static]
+
+
+

Modifie la question identifiée par sID

+
Parameters:
+ + + + +
sID valeur de la colonne id de la table question de la question à modifier
sGroupID Groupe auquel appartient la question
sQuest Intitulé de la question Bonne réponse (0, 1, ou 2 pour reponse1, reponse1, les deux)
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_config_file-members.html b/doc/java/class_config_file-members.html new file mode 100755 index 0000000..0be81a4 --- /dev/null +++ b/doc/java/class_config_file-members.html @@ -0,0 +1,46 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

ConfigFile Member List

+
+
+This is the complete list of members for ConfigFile, including all inherited members. + + + + + + + +
getBddIpaddress()ConfigFile [static]
getBddPassword()ConfigFile [static]
getBddSavepassword()ConfigFile [static]
getBddSchema()ConfigFile [static]
getBddUser()ConfigFile [static]
read()ConfigFile [static]
write(String sIP, String sSchema, String sUser, Integer nSavePassword, String sPassword)ConfigFile [static]
+ + + diff --git a/doc/java/class_config_file.html b/doc/java/class_config_file.html new file mode 100755 index 0000000..7fd2162 --- /dev/null +++ b/doc/java/class_config_file.html @@ -0,0 +1,230 @@ + + + + +BurgerQuizz: ConfigFile Class Reference + + + + + + +
+ +
+

ConfigFile Class Reference

+
+
+ +

Classe statique servant à charger/récupérer/écrire les différents paramètres du fichier de configuration. +More...

+ +

List of all members.

+ + + + + + + + + + + + + + + +

+Static Public Member Functions

static String getBddIpaddress ()
 Accesseur IP.
static String getBddSchema ()
 Accesseur schéma.
static String getBddUser ()
 Accesseur utilisateur.
static Integer getBddSavepassword ()
 Accesseur enregistrement mdp.
static String getBddPassword ()
 Accesseur mdp.
static void read ()
 Ouvre le fichier de configuration (placé dans le dossier d'éxécution) et met à jour les variables de la classe.
static void write (String sIP, String sSchema, String sUser, Integer nSavePassword, String sPassword)
+

Detailed Description

+

Classe statique servant à charger/récupérer/écrire les différents paramètres du fichier de configuration.

+
Warning:
Le fichier de configuration doit être dans le même dossier que l'éxécutable java
+

Member Function Documentation

+ +
+
+ + + + + + + + +
static String ConfigFile.getBddIpaddress ( )  [static]
+
+
+ +

Accesseur IP.

+ +
+
+ +
+
+ + + + + + + + +
static String ConfigFile.getBddPassword ( )  [static]
+
+
+ +

Accesseur mdp.

+ +
+
+ +
+
+ + + + + + + + +
static Integer ConfigFile.getBddSavepassword ( )  [static]
+
+
+ +

Accesseur enregistrement mdp.

+ +
+
+ +
+
+ + + + + + + + +
static String ConfigFile.getBddSchema ( )  [static]
+
+
+ +

Accesseur schéma.

+ +
+
+ +
+
+ + + + + + + + +
static String ConfigFile.getBddUser ( )  [static]
+
+
+ +

Accesseur utilisateur.

+ +
+
+ +
+
+ + + + + + + + +
static void ConfigFile.read ( )  [static]
+
+
+ +

Ouvre le fichier de configuration (placé dans le dossier d'éxécution) et met à jour les variables de la classe.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void ConfigFile.write (String  sIP,
String  sSchema,
String  sUser,
Integer  nSavePassword,
String  sPassword 
) [static]
+
+
+

Ecrit le fichier de configuration avec les variables stockées dans la classe
+ Les paramètres de la méthode sont les variables à enregistrer dans le fichier

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_list_row-members.html b/doc/java/class_list_row-members.html new file mode 100755 index 0000000..15c766a --- /dev/null +++ b/doc/java/class_list_row-members.html @@ -0,0 +1,43 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

ListRow Member List

+
+
+This is the complete list of members for ListRow, including all inherited members. + + + + +
getID()ListRow
getTxt()ListRow
ListRow(String sIDb, String sTxtb)ListRow
toString()ListRow
+ + + diff --git a/doc/java/class_list_row.html b/doc/java/class_list_row.html new file mode 100755 index 0000000..5261bf5 --- /dev/null +++ b/doc/java/class_list_row.html @@ -0,0 +1,155 @@ + + + + +BurgerQuizz: ListRow Class Reference + + + + + + +
+ +
+

ListRow Class Reference

+
+
+ +

Ligne pour les jComboBox ou les jList. +More...

+ +

List of all members.

+ + + + + + + + + +

+Public Member Functions

 ListRow (String sIDb, String sTxtb)
String getID ()
 Accesseur pour l'identifiant du row.
String getTxt ()
 Accesseur pour le texte descriptif du row.
String toString ()
 Override pour afficher le txt dans le row.
+

Detailed Description

+

Ligne pour les jComboBox ou les jList.

+

Sert à stocker une id et un texte affichable

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
ListRow.ListRow (String  sIDb,
String  sTxtb 
)
+
+
+
Parameters:
+ + + +
sIDb Identifiant unique de la ligne
sTxtb Texte à afficher
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
String ListRow.getID ( ) 
+
+
+ +

Accesseur pour l'identifiant du row.

+ +
+
+ +
+
+ + + + + + + + +
String ListRow.getTxt ( ) 
+
+
+ +

Accesseur pour le texte descriptif du row.

+ +
+
+ +
+
+ + + + + + + + +
String ListRow.toString ( ) 
+
+
+ +

Override pour afficher le txt dans le row.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_page-members.html b/doc/java/class_page-members.html new file mode 100755 index 0000000..3320ef8 --- /dev/null +++ b/doc/java/class_page-members.html @@ -0,0 +1,50 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

Page Member List

+
+
+This is the complete list of members for Page, including all inherited members. + + + + + + + + + + + +
actionPerformed(ActionEvent e)Page
add()Page [pure virtual]
getSelectedListRow()Page [protected]
modify()Page [pure virtual]
onListSelection()Page [pure virtual]
onOpened()Page [pure virtual]
Page()Page
remove()Page [pure virtual]
setListContent(ArrayList< ListRow > content)Page [protected]
setListTop(int top)Page [protected]
valueChanged(ListSelectionEvent e)Page
+ + + diff --git a/doc/java/class_page.html b/doc/java/class_page.html new file mode 100755 index 0000000..36264bb --- /dev/null +++ b/doc/java/class_page.html @@ -0,0 +1,317 @@ + + + + +BurgerQuizz: Page Class Reference + + + + + + +
+ +
+

Page Class Reference

+
+
+ +

Classe abstraite représentant la partie fixe des pages de catégorie, groupe et question. +More...

+
+Inheritance diagram for Page:
+
+
+ + +PageCategorie +PageGroup +PageQuestion + +
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

abstract void onOpened ()
 this appelle cette méthode quand on ouvre l'onglet
abstract void onListSelection ()
 this appelle cette méthode quand on clique sur un élément de la liste
abstract void modify ()
 Methode appelée par un clic sur le bouton "Modifier".
abstract void remove ()
 Methode appelée par un clic sur le bouton "Supprimer".
abstract void add ()
 Methode appelée par un clic sur le bouton "Ajouter".
 Page ()
 Place les elements sur la page.
void actionPerformed (ActionEvent e)
void valueChanged (ListSelectionEvent e)

+Protected Member Functions

void setListContent (ArrayList< ListRow > content)
ListRow getSelectedListRow ()
 Récupère la cellule selectionnée dans la liste.
void setListTop (int top)
+

Detailed Description

+

Classe abstraite représentant la partie fixe des pages de catégorie, groupe et question.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Page.Page ( ) 
+
+
+ +

Place les elements sur la page.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
void Page.actionPerformed (ActionEvent  e ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
abstract void Page.add ( )  [pure virtual]
+
+
+ +

Methode appelée par un clic sur le bouton "Ajouter".

+ +

Implemented in PageCategorie.

+ +
+
+ +
+
+ + + + + + + + +
ListRow Page.getSelectedListRow ( )  [protected]
+
+
+ +

Récupère la cellule selectionnée dans la liste.

+ +
+
+ +
+
+ + + + + + + + +
abstract void Page.modify ( )  [pure virtual]
+
+
+ +

Methode appelée par un clic sur le bouton "Modifier".

+ +

Implemented in PageCategorie.

+ +
+
+ +
+
+ + + + + + + + +
abstract void Page.onListSelection ( )  [pure virtual]
+
+
+ +

this appelle cette méthode quand on clique sur un élément de la liste

+ +

Implemented in PageCategorie.

+ +
+
+ +
+
+ + + + + + + + +
abstract void Page.onOpened ( )  [pure virtual]
+
+
+ +

this appelle cette méthode quand on ouvre l'onglet

+ +

Implemented in PageCategorie.

+ +
+
+ +
+
+ + + + + + + + +
abstract void Page.remove ( )  [pure virtual]
+
+
+ +

Methode appelée par un clic sur le bouton "Supprimer".

+ +

Implemented in PageCategorie.

+ +
+
+ +
+
+ + + + + + + + + +
void Page.setListContent (ArrayList< ListRow content )  [protected]
+
+
+

Permet de changer le contenu de la liste

+
Parameters:
+ + +
content ArrayList contenant des ListRow représentant une entrée
+
+
+ +
+
+ +
+
+ + + + + + + + + +
void Page.setListTop (int  top )  [protected]
+
+
+

Modifie la hauteur de la liste, tout en la gardant alignée en bas (redimentionnement auto)

+
Parameters:
+ + +
top Pixe
+
+
+ +
+
+ +
+
+ + + + + + + + + +
void Page.valueChanged (ListSelectionEvent  e ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_page.png b/doc/java/class_page.png new file mode 100755 index 0000000..4de7889 Binary files /dev/null and b/doc/java/class_page.png differ diff --git a/doc/java/class_page_categorie-members.html b/doc/java/class_page_categorie-members.html new file mode 100755 index 0000000..364ea7c --- /dev/null +++ b/doc/java/class_page_categorie-members.html @@ -0,0 +1,52 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

PageCategorie Member List

+
+
+This is the complete list of members for PageCategorie, including all inherited members. + + + + + + + + + + + + + +
actionPerformed(ActionEvent e)Page
add()PageCategorie [virtual]
getSelectedListRow()Page [protected]
modify()PageCategorie [virtual]
onListSelection()PageCategorie [virtual]
onOpened()PageCategorie [virtual]
Page()Page
PageCategorie()PageCategorie
remove()PageCategorie [virtual]
setListContent(ArrayList< ListRow > content)Page [protected]
setListTop(int top)Page [protected]
updateBrowseList()PageCategorie
valueChanged(ListSelectionEvent e)Page
+ + + diff --git a/doc/java/class_page_categorie.html b/doc/java/class_page_categorie.html new file mode 100755 index 0000000..c66a945 --- /dev/null +++ b/doc/java/class_page_categorie.html @@ -0,0 +1,219 @@ + + + + +BurgerQuizz: PageCategorie Class Reference + + + + + + +
+ +
+

PageCategorie Class Reference

+
+
+ +

Page d'administration des catégories. +More...

+
+Inheritance diagram for PageCategorie:
+
+
+ + +Page + +
+ +

List of all members.

+ + + + + + + + + + + + + + + +

+Public Member Functions

 PageCategorie ()
 Place les elements sur la page.
void onOpened ()
 this appelle cette méthode quand on ouvre l'onglet
void onListSelection ()
 this appelle cette méthode quand on clique sur un élément de la liste
void modify ()
 Methode appelée par un clic sur le bouton "Modifier".
void remove ()
 Methode appelée par un clic sur le bouton "Supprimer".
void add ()
 Methode appelée par un clic sur le bouton "Ajouter".
void updateBrowseList ()
+

Detailed Description

+

Page d'administration des catégories.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PageCategorie.PageCategorie ( ) 
+
+
+ +

Place les elements sur la page.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void PageCategorie.add ( )  [virtual]
+
+
+ +

Methode appelée par un clic sur le bouton "Ajouter".

+ +

Implements Page.

+ +
+
+ +
+
+ + + + + + + + +
void PageCategorie.modify ( )  [virtual]
+
+
+ +

Methode appelée par un clic sur le bouton "Modifier".

+ +

Implements Page.

+ +
+
+ +
+
+ + + + + + + + +
void PageCategorie.onListSelection ( )  [virtual]
+
+
+ +

this appelle cette méthode quand on clique sur un élément de la liste

+ +

Implements Page.

+ +
+
+ +
+
+ + + + + + + + +
void PageCategorie.onOpened ( )  [virtual]
+
+
+ +

this appelle cette méthode quand on ouvre l'onglet

+ +

Implements Page.

+ +
+
+ +
+
+ + + + + + + + +
void PageCategorie.remove ( )  [virtual]
+
+
+ +

Methode appelée par un clic sur le bouton "Supprimer".

+ +

Implements Page.

+ +
+
+ +
+
+ + + + + + + + +
void PageCategorie.updateBrowseList ( ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_page_categorie.png b/doc/java/class_page_categorie.png new file mode 100755 index 0000000..2f72e50 Binary files /dev/null and b/doc/java/class_page_categorie.png differ diff --git a/doc/java/class_page_config-members.html b/doc/java/class_page_config-members.html new file mode 100755 index 0000000..22f863c --- /dev/null +++ b/doc/java/class_page_config-members.html @@ -0,0 +1,42 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

PageConfig Member List

+
+
+This is the complete list of members for PageConfig, including all inherited members. + + + +
actionPerformed(ActionEvent e)PageConfig
PageConfig()PageConfig [package]
update()PageConfig
+ + + diff --git a/doc/java/class_page_config.html b/doc/java/class_page_config.html new file mode 100755 index 0000000..4100366 --- /dev/null +++ b/doc/java/class_page_config.html @@ -0,0 +1,119 @@ + + + + +BurgerQuizz: PageConfig Class Reference + + + + + + +
+ +
+

PageConfig Class Reference

+
+
+ +

Page de configuration de la connexion MySQL. +More...

+ +

Inherits java::awt::event::ActionListener.

+ +

List of all members.

+ + + + + + + +

+Public Member Functions

void update ()
 Met à jour tous les champs de la page (ainsi que les lbl de la config).
void actionPerformed (ActionEvent e)

+Package Functions

 PageConfig ()
+

Detailed Description

+

Page de configuration de la connexion MySQL.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PageConfig.PageConfig ( )  [package]
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
void PageConfig.actionPerformed (ActionEvent  e ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
void PageConfig.update ( ) 
+
+
+ +

Met à jour tous les champs de la page (ainsi que les lbl de la config).

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_page_group-members.html b/doc/java/class_page_group-members.html new file mode 100755 index 0000000..99c3222 --- /dev/null +++ b/doc/java/class_page_group-members.html @@ -0,0 +1,59 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

PageGroup Member List

+
+
+This is the complete list of members for PageGroup, including all inherited members. + + + + + + + + + + + + + + + + + + + + +
actionPerformed(ActionEvent e)PageGroup
Page.actionPerformed(ActionEvent e)Page
add()PageGroup
Page.add()Page [pure virtual]
getSelectedListRow()Page [protected]
modify()PageGroup
Page.modify()Page [pure virtual]
onListSelection()PageGroup
Page.onListSelection()Page [pure virtual]
onOpened()PageGroup
Page.onOpened()Page [pure virtual]
Page()Page
PageGroup()PageGroup
remove()PageGroup
Page.remove()Page [pure virtual]
setListContent(ArrayList< ListRow > content)Page [protected]
setListTop(int top)Page [protected]
updateBrowseList()PageGroup
updateCat()PageGroup
valueChanged(ListSelectionEvent e)Page
+ + + diff --git a/doc/java/class_page_group.html b/doc/java/class_page_group.html new file mode 100755 index 0000000..8c3380f --- /dev/null +++ b/doc/java/class_page_group.html @@ -0,0 +1,255 @@ + + + + +BurgerQuizz: PageGroup Class Reference + + + + + + +
+ +
+

PageGroup Class Reference

+
+
+ +

Page d'administration des groupes de questions. +More...

+
+Inheritance diagram for PageGroup:
+
+
+ + +Page + +
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 PageGroup ()
 Place les elements sur la page.
void onOpened ()
 Vide les champs si ils sont remplis et met a jour la liste des catégories.
void onListSelection ()
 Met a jour les champs d'entrée (à droite).
void modify ()
 Modifie la ligne selectionnée.
void remove ()
 Supprime la ligne selectionnée.
void add ()
 Ajoute une ligne par défaut.
void updateCat ()
 Met à jour la liste des catégories.
void updateBrowseList ()
 Met à jour la liste.
void actionPerformed (ActionEvent e)
 Ajoute la gestion de la combobox.
+

Detailed Description

+

Page d'administration des groupes de questions.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PageGroup.PageGroup ( ) 
+
+
+ +

Place les elements sur la page.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
void PageGroup.actionPerformed (ActionEvent  e ) 
+
+
+ +

Ajoute la gestion de la combobox.

+ +
+
+ +
+
+ + + + + + + + +
void PageGroup.add ( ) 
+
+
+ +

Ajoute une ligne par défaut.

+ +
+
+ +
+
+ + + + + + + + +
void PageGroup.modify ( ) 
+
+
+ +

Modifie la ligne selectionnée.

+ +
+
+ +
+
+ + + + + + + + +
void PageGroup.onListSelection ( ) 
+
+
+ +

Met a jour les champs d'entrée (à droite).

+ +
+
+ +
+
+ + + + + + + + +
void PageGroup.onOpened ( ) 
+
+
+ +

Vide les champs si ils sont remplis et met a jour la liste des catégories.

+ +
+
+ +
+
+ + + + + + + + +
void PageGroup.remove ( ) 
+
+
+ +

Supprime la ligne selectionnée.

+ +
+
+ +
+
+ + + + + + + + +
void PageGroup.updateBrowseList ( ) 
+
+
+ +

Met à jour la liste.

+ +
+
+ +
+
+ + + + + + + + +
void PageGroup.updateCat ( ) 
+
+
+ +

Met à jour la liste des catégories.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_page_group.png b/doc/java/class_page_group.png new file mode 100755 index 0000000..3f21584 Binary files /dev/null and b/doc/java/class_page_group.png differ diff --git a/doc/java/class_page_question-members.html b/doc/java/class_page_question-members.html new file mode 100755 index 0000000..029f91a --- /dev/null +++ b/doc/java/class_page_question-members.html @@ -0,0 +1,61 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

PageQuestion Member List

+
+
+This is the complete list of members for PageQuestion, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + +
actionPerformed(ActionEvent e)PageQuestion
Page.actionPerformed(ActionEvent e)Page
add()PageQuestion
Page.add()Page [pure virtual]
getSelectedListRow()Page [protected]
modify()PageQuestion
Page.modify()Page [pure virtual]
onListSelection()PageQuestion
Page.onListSelection()Page [pure virtual]
onOpened()PageQuestion
Page.onOpened()Page [pure virtual]
Page()Page
PageQuestion()PageQuestion
remove()PageQuestion
Page.remove()Page [pure virtual]
setListContent(ArrayList< ListRow > content)Page [protected]
setListTop(int top)Page [protected]
updateBrowseGroup()PageQuestion
updateBrowseList()PageQuestion
updateEntryAnsList()PageQuestion
updateEntryGroup()PageQuestion
valueChanged(ListSelectionEvent e)Page
+ + + diff --git a/doc/java/class_page_question.html b/doc/java/class_page_question.html new file mode 100755 index 0000000..ac3ba53 --- /dev/null +++ b/doc/java/class_page_question.html @@ -0,0 +1,283 @@ + + + + +BurgerQuizz: PageQuestion Class Reference + + + + + + +
+ +
+

PageQuestion Class Reference

+
+
+ +

Page d'administration des questions. +More...

+
+Inheritance diagram for PageQuestion:
+
+
+ + +Page + +
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

 PageQuestion ()
 Place les elements sur la page.
void onOpened ()
 Vide les champs et actualise les listes des catégories.
void onListSelection ()
 Met à jour les champs & listes de droite.
void modify ()
void remove ()
void add ()
void updateBrowseGroup ()
void updateBrowseList ()
 Met à jour la liste principale (panneau de gauche).
void updateEntryGroup ()
void updateEntryAnsList ()
 Met à jour la liste réponses du panneau de droite.
void actionPerformed (ActionEvent e)
+

Detailed Description

+

Page d'administration des questions.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PageQuestion.PageQuestion ( ) 
+
+
+ +

Place les elements sur la page.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
void PageQuestion.actionPerformed (ActionEvent  e ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.add ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.modify ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.onListSelection ( ) 
+
+
+ +

Met à jour les champs & listes de droite.

+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.onOpened ( ) 
+
+
+ +

Vide les champs et actualise les listes des catégories.

+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.remove ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.updateBrowseGroup ( ) 
+
+
+

Met à jour la liste des groupes du panneau de gauche

+
Warning:
execute updateBrowseList()
+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.updateBrowseList ( ) 
+
+
+ +

Met à jour la liste principale (panneau de gauche).

+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.updateEntryAnsList ( ) 
+
+
+ +

Met à jour la liste réponses du panneau de droite.

+ +
+
+ +
+
+ + + + + + + + +
void PageQuestion.updateEntryGroup ( ) 
+
+
+

Met à jour la liste des groupes du panneau de droite

+
Warning:
execute updateEntryAnsList()
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/class_page_question.png b/doc/java/class_page_question.png new file mode 100755 index 0000000..af92242 Binary files /dev/null and b/doc/java/class_page_question.png differ diff --git a/doc/java/class_page_theme.html b/doc/java/class_page_theme.html new file mode 100755 index 0000000..7905dec --- /dev/null +++ b/doc/java/class_page_theme.html @@ -0,0 +1,42 @@ + + + + +BurgerQuizz: PageTheme Class Reference + + + + + + +
+
+

PageTheme Class Reference

+
+
+ +
+
The documentation for this class was generated from the following file:
    +
  • /media/data/ProjWeb/Java/PageTheme.java
  • +
+
+ + + diff --git a/doc/java/class_window-members.html b/doc/java/class_window-members.html new file mode 100755 index 0000000..0516b0a --- /dev/null +++ b/doc/java/class_window-members.html @@ -0,0 +1,41 @@ + + + + +BurgerQuizz: Member List + + + + + + +
+
+

Window Member List

+
+
+This is the complete list of members for Window, including all inherited members. + + +
stateChanged(ChangeEvent e)Window
Window()Window
+ + + diff --git a/doc/java/class_window.html b/doc/java/class_window.html new file mode 100755 index 0000000..cc765e2 --- /dev/null +++ b/doc/java/class_window.html @@ -0,0 +1,98 @@ + + + + +BurgerQuizz: Window Class Reference + + + + + + +
+ +
+

Window Class Reference

+
+
+ +

Ne sert pas à grand chose si ce n'est à initialiser et contenir les pages & tabs. +More...

+ +

Inherits javax::swing::event::ChangeListener.

+ +

List of all members.

+ + + + + +

+Public Member Functions

 Window ()
 place les elements et initialise ce qu'il faut !
void stateChanged (ChangeEvent e)
+

Detailed Description

+

Ne sert pas à grand chose si ce n'est à initialiser et contenir les pages & tabs.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Window.Window ( ) 
+
+
+ +

place les elements et initialise ce qu'il faut !

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
void Window.stateChanged (ChangeEvent  e ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/java/classes.html b/doc/java/classes.html new file mode 100755 index 0000000..2536fda --- /dev/null +++ b/doc/java/classes.html @@ -0,0 +1,47 @@ + + + + +BurgerQuizz: Alphabetical List + + + + + + +
+
+

Class Index

+
+
+
A | B | C | L | P | W
+ +
  A  
+
  C  
+
ListRow   PageCategorie   PageQuestion   
App   ConfigFile   
  P  
+
PageConfig   
  W  
+
  B  
+
  L  
+
Page   PageGroup   Window   
Bdd   
A | B | C | L | P | W
+
+ + + diff --git a/doc/java/closed.png b/doc/java/closed.png new file mode 100755 index 0000000..b7d4bd9 Binary files /dev/null and b/doc/java/closed.png differ diff --git a/doc/java/doxygen.css b/doc/java/doxygen.css new file mode 100755 index 0000000..658686f --- /dev/null +++ b/doc/java/doxygen.css @@ -0,0 +1,656 @@ +/* The standard CSS for doxygen */ + +body, table, div, p, dl { + font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; + font-size: 12px; +} + +/* @group Heading Levels */ + +h1 { + font-size: 150%; +} + +h2 { + font-size: 120%; +} + +h3 { + font-size: 100%; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd, p.starttd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + padding: 2px; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code { + color: #4665A2; +} + +a.codeRef { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +.fragment { + font-family: monospace, fixed; + font-size: 105%; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 10px; + margin-right: 10px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memItemLeft, .memItemRight, .memTemplParams { + border-top: 1px solid #C4CFE5; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 3px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.memitem { + padding: 0; + margin-bottom: 10px; +} + +.memname { + white-space: nowrap; + font-weight: bold; + margin-left: 6px; +} + +.memproto { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 8px; + -moz-border-radius-topleft: 8px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 8px; + -webkit-border-top-left-radius: 8px; + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + +} + +.memdoc { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 2px 5px; + background-color: #FBFCFD; + border-top-width: 0; + /* firefox specific markup */ + -moz-border-radius-bottomleft: 8px; + -moz-border-radius-bottomright: 8px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7); + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#F7F8FB), to(#EEF1F7)); +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} + +/* @end */ + +/* @group Directory (tree) */ + +/* for the tree view */ + +.ftvtree { + font-family: sans-serif; + margin: 0px; +} + +/* these are for tree view when used as main index */ + +.directory { + font-size: 9pt; + font-weight: bold; + margin: 5px; +} + +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +/* +The following two styles can be used to replace the root node title +with an image of your choice. Simply uncomment the next two styles, +specify the name of your image and be sure to set 'height' to the +proper pixel height of your image. +*/ + +/* +.directory h3.swap { + height: 61px; + background-repeat: no-repeat; + background-image: url("yourimage.gif"); +} +.directory h3.swap span { + display: none; +} +*/ + +.directory > h3 { + margin-top: 0; +} + +.directory p { + margin: 0px; + white-space: nowrap; +} + +.directory div { + display: none; + margin: 0px; +} + +.directory img { + vertical-align: -30%; +} + +/* these are for tree view when not used as main index */ + +.directory-alt { + font-size: 100%; + font-weight: bold; +} + +.directory-alt h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +.directory-alt > h3 { + margin-top: 0; +} + +.directory-alt p { + margin: 0px; + white-space: nowrap; +} + +.directory-alt div { + display: none; + margin: 0px; +} + +.directory-alt img { + vertical-align: -30%; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; +} + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right: 15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; +} + +.navpath a:hover +{ + color:#6884BD; +} + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + diff --git a/doc/java/doxygen.png b/doc/java/doxygen.png new file mode 100755 index 0000000..635ed52 Binary files /dev/null and b/doc/java/doxygen.png differ diff --git a/doc/java/files.html b/doc/java/files.html new file mode 100755 index 0000000..e5d4302 --- /dev/null +++ b/doc/java/files.html @@ -0,0 +1,47 @@ + + + + +BurgerQuizz: File Index + + + + + + +
+
+

File List

+
+
+Here is a list of all files with brief descriptions: + + + + + + + + + + +
/media/data/ProjWeb/Java/App.java
/media/data/ProjWeb/Java/Bdd.java
/media/data/ProjWeb/Java/ConfigFile.java
/media/data/ProjWeb/Java/ListRow.java
/media/data/ProjWeb/Java/Page.java
/media/data/ProjWeb/Java/PageCategorie.java
/media/data/ProjWeb/Java/PageConfig.java
/media/data/ProjWeb/Java/PageGroup.java
/media/data/ProjWeb/Java/PageQuestion.java
/media/data/ProjWeb/Java/Window.java
+
+ + + diff --git a/doc/java/ftv2blank.png b/doc/java/ftv2blank.png new file mode 100755 index 0000000..493c3c0 Binary files /dev/null and b/doc/java/ftv2blank.png differ diff --git a/doc/java/ftv2doc.png b/doc/java/ftv2doc.png new file mode 100755 index 0000000..f72999f Binary files /dev/null and b/doc/java/ftv2doc.png differ diff --git a/doc/java/ftv2folderclosed.png b/doc/java/ftv2folderclosed.png new file mode 100755 index 0000000..d6d0634 Binary files /dev/null and b/doc/java/ftv2folderclosed.png differ diff --git a/doc/java/ftv2folderopen.png b/doc/java/ftv2folderopen.png new file mode 100755 index 0000000..bbe2c91 Binary files /dev/null and b/doc/java/ftv2folderopen.png differ diff --git a/doc/java/ftv2lastnode.png b/doc/java/ftv2lastnode.png new file mode 100755 index 0000000..e7b9ba9 Binary files /dev/null and b/doc/java/ftv2lastnode.png differ diff --git a/doc/java/ftv2link.png b/doc/java/ftv2link.png new file mode 100755 index 0000000..14f3fed Binary files /dev/null and b/doc/java/ftv2link.png differ diff --git a/doc/java/ftv2mlastnode.png b/doc/java/ftv2mlastnode.png new file mode 100755 index 0000000..09ceb6a Binary files /dev/null and b/doc/java/ftv2mlastnode.png differ diff --git a/doc/java/ftv2mnode.png b/doc/java/ftv2mnode.png new file mode 100755 index 0000000..3254c05 Binary files /dev/null and b/doc/java/ftv2mnode.png differ diff --git a/doc/java/ftv2node.png b/doc/java/ftv2node.png new file mode 100755 index 0000000..c9f06a5 Binary files /dev/null and b/doc/java/ftv2node.png differ diff --git a/doc/java/ftv2plastnode.png b/doc/java/ftv2plastnode.png new file mode 100755 index 0000000..0b07e00 Binary files /dev/null and b/doc/java/ftv2plastnode.png differ diff --git a/doc/java/ftv2pnode.png b/doc/java/ftv2pnode.png new file mode 100755 index 0000000..2001b79 Binary files /dev/null and b/doc/java/ftv2pnode.png differ diff --git a/doc/java/ftv2vertline.png b/doc/java/ftv2vertline.png new file mode 100755 index 0000000..b330f3a Binary files /dev/null and b/doc/java/ftv2vertline.png differ diff --git a/doc/java/functions.html b/doc/java/functions.html new file mode 100755 index 0000000..48dd4df --- /dev/null +++ b/doc/java/functions.html @@ -0,0 +1,306 @@ + + + + +BurgerQuizz: Class Members + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- a -

+ + +

- c -

    +
  • close() +: Bdd +
  • +
  • connect() +: Bdd +
  • +
+ + +

- g -

    +
  • generateAnsList() +: Bdd +
  • +
  • generateCatList() +: Bdd +
  • +
  • generateGroupList() +: Bdd +
  • +
  • generateQuestionList() +: Bdd +
  • +
  • getBddIpaddress() +: ConfigFile +
  • +
  • getBddPassword() +: ConfigFile +
  • +
  • getBddSavepassword() +: ConfigFile +
  • +
  • getBddSchema() +: ConfigFile +
  • +
  • getBddUser() +: ConfigFile +
  • +
  • getGroupAns0ByID() +: Bdd +
  • +
  • getGroupAns1ByID() +: Bdd +
  • +
  • getID() +: ListRow +
  • +
  • getIP() +: Bdd +
  • +
  • getIsConnected() +: Bdd +
  • +
  • getPassword() +: Bdd +
  • +
  • getQuestionAns() +: Bdd +
  • +
  • getSchema() +: Bdd +
  • +
  • getSelectedListRow() +: Page +
  • +
  • getTxt() +: ListRow +
  • +
  • getUser() +: Bdd +
  • +
+ + +

- i -

    +
  • insertDefaultCatRow() +: Bdd +
  • +
  • insertDefaultGroupRow() +: Bdd +
  • +
  • insertDefaultQuestionRow() +: Bdd +
  • +
+ + +

- l -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

    +
  • setListContent() +: Page +
  • +
  • setListTop() +: Page +
  • +
  • stateChanged() +: Window +
  • +
+ + +

- t -

+ + +

- u -

+ + +

- v -

    +
  • valueChanged() +: Page +
  • +
+ + +

- w -

+
+ + + diff --git a/doc/java/functions_func.html b/doc/java/functions_func.html new file mode 100755 index 0000000..8e8d876 --- /dev/null +++ b/doc/java/functions_func.html @@ -0,0 +1,306 @@ + + + + +BurgerQuizz: Class Members - Functions + + + + + + +
+  + +

- a -

+ + +

- c -

    +
  • close() +: Bdd +
  • +
  • connect() +: Bdd +
  • +
+ + +

- g -

    +
  • generateAnsList() +: Bdd +
  • +
  • generateCatList() +: Bdd +
  • +
  • generateGroupList() +: Bdd +
  • +
  • generateQuestionList() +: Bdd +
  • +
  • getBddIpaddress() +: ConfigFile +
  • +
  • getBddPassword() +: ConfigFile +
  • +
  • getBddSavepassword() +: ConfigFile +
  • +
  • getBddSchema() +: ConfigFile +
  • +
  • getBddUser() +: ConfigFile +
  • +
  • getGroupAns0ByID() +: Bdd +
  • +
  • getGroupAns1ByID() +: Bdd +
  • +
  • getID() +: ListRow +
  • +
  • getIP() +: Bdd +
  • +
  • getIsConnected() +: Bdd +
  • +
  • getPassword() +: Bdd +
  • +
  • getQuestionAns() +: Bdd +
  • +
  • getSchema() +: Bdd +
  • +
  • getSelectedListRow() +: Page +
  • +
  • getTxt() +: ListRow +
  • +
  • getUser() +: Bdd +
  • +
+ + +

- i -

    +
  • insertDefaultCatRow() +: Bdd +
  • +
  • insertDefaultGroupRow() +: Bdd +
  • +
  • insertDefaultQuestionRow() +: Bdd +
  • +
+ + +

- l -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

    +
  • setListContent() +: Page +
  • +
  • setListTop() +: Page +
  • +
  • stateChanged() +: Window +
  • +
+ + +

- t -

+ + +

- u -

+ + +

- v -

    +
  • valueChanged() +: Page +
  • +
+ + +

- w -

+
+ + + diff --git a/doc/java/hierarchy.html b/doc/java/hierarchy.html new file mode 100755 index 0000000..6f5aa85 --- /dev/null +++ b/doc/java/hierarchy.html @@ -0,0 +1,52 @@ + + + + +BurgerQuizz: Hierarchical Index + + + + + + +
+
+

Class Hierarchy

+
+
+This inheritance list is sorted roughly, but not completely, alphabetically: +
+ + + diff --git a/doc/java/index.html b/doc/java/index.html new file mode 100755 index 0000000..6901ae3 --- /dev/null +++ b/doc/java/index.html @@ -0,0 +1,16 @@ + + + + +BurgerQuizz + + + + + + <body> + <a href="main.html">Frames are disabled. Click here to go to the main page.</a> + </body> + + + diff --git a/doc/java/installdox b/doc/java/installdox new file mode 100755 index 0000000..2697a81 --- /dev/null +++ b/doc/java/installdox @@ -0,0 +1,117 @@ +#!/usr/bin/perl + +%subst = ( ); +$quiet = 0; + +if (open(F,"search.cfg")) +{ + $_= ; s/[ \t\n]*$//g ; $subst{"_doc"} = $_; + $_= ; s/[ \t\n]*$//g ; $subst{"_cgi"} = $_; +} + +while ( @ARGV ) { + $_ = shift @ARGV; + if ( s/^-// ) { + if ( /^l(.*)/ ) { + $v = ($1 eq "") ? shift @ARGV : $1; + ($v =~ /\/$/) || ($v .= "/"); + $_ = $v; + if ( /(.+)\@(.+)/ ) { + if ( exists $subst{$1} ) { + $subst{$1} = $2; + } else { + print STDERR "Unknown tag file $1 given with option -l\n"; + &usage(); + } + } else { + print STDERR "Argument $_ is invalid for option -l\n"; + &usage(); + } + } + elsif ( /^q/ ) { + $quiet = 1; + } + elsif ( /^\?|^h/ ) { + &usage(); + } + else { + print STDERR "Illegal option -$_\n"; + &usage(); + } + } + else { + push (@files, $_ ); + } +} + +foreach $sub (keys %subst) +{ + if ( $subst{$sub} eq "" ) + { + print STDERR "No substitute given for tag file `$sub'\n"; + &usage(); + } + elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) + { + print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; + } +} + +if ( ! @files ) { + if (opendir(D,".")) { + foreach $file ( readdir(D) ) { + $match = ".html"; + next if ( $file =~ /^\.\.?$/ ); + ($file =~ /$match/) && (push @files, $file); + ($file =~ "tree.js") && (push @files, $file); + } + closedir(D); + } +} + +if ( ! @files ) { + print STDERR "Warning: No input files given and none found!\n"; +} + +foreach $f (@files) +{ + if ( ! $quiet ) { + print "Editing: $f...\n"; + } + $oldf = $f; + $f .= ".bak"; + unless (rename $oldf,$f) { + print STDERR "Error: cannot rename file $oldf\n"; + exit 1; + } + if (open(F,"<$f")) { + unless (open(G,">$oldf")) { + print STDERR "Error: opening file $oldf for writing\n"; + exit 1; + } + if ($oldf ne "tree.js") { + while () { + s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; + print G "$_"; + } + } + else { + while () { + s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; + print G "$_"; + } + } + } + else { + print STDERR "Warning file $f does not exist\n"; + } + unlink $f; +} + +sub usage { + print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; + print STDERR "Options:\n"; + print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; + print STDERR " -q Quiet mode\n\n"; + exit 1; +} diff --git a/doc/java/main.html b/doc/java/main.html new file mode 100755 index 0000000..1e135a2 --- /dev/null +++ b/doc/java/main.html @@ -0,0 +1,30 @@ + + + + +BurgerQuizz: Main Page + + + + + + +
+
+

BurgerQuizz Documentation

+
+
+
+ + + diff --git a/doc/java/nav_f.png b/doc/java/nav_f.png new file mode 100755 index 0000000..1b07a16 Binary files /dev/null and b/doc/java/nav_f.png differ diff --git a/doc/java/nav_h.png b/doc/java/nav_h.png new file mode 100755 index 0000000..01f5fa6 Binary files /dev/null and b/doc/java/nav_h.png differ diff --git a/doc/java/open.png b/doc/java/open.png new file mode 100755 index 0000000..7b35d2c Binary files /dev/null and b/doc/java/open.png differ diff --git a/doc/java/search/all_61.html b/doc/java/search/all_61.html new file mode 100755 index 0000000..0631b65 --- /dev/null +++ b/doc/java/search/all_61.html @@ -0,0 +1,52 @@ + + + + + + + +
+
Loading...
+ + +
+
+ App +
+
+
+
+ App.java +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_62.html b/doc/java/search/all_62.html new file mode 100755 index 0000000..591a181 --- /dev/null +++ b/doc/java/search/all_62.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+
+ Bdd +
+
+
+
+ Bdd.java +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_63.html b/doc/java/search/all_63.html new file mode 100755 index 0000000..dcfeb8f --- /dev/null +++ b/doc/java/search/all_63.html @@ -0,0 +1,42 @@ + + + + + + + +
+
Loading...
+
+
+ close + Bdd +
+
+
+ +
+ +
+
+ connect + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_67.html b/doc/java/search/all_67.html new file mode 100755 index 0000000..4419b5e --- /dev/null +++ b/doc/java/search/all_67.html @@ -0,0 +1,140 @@ + + + + + + + +
+
Loading...
+
+
+ generateAnsList + Bdd +
+
+
+
+ generateCatList + Bdd +
+
+
+
+ generateGroupList + Bdd +
+
+
+ +
+
+
+ getBddIpaddress + ConfigFile +
+
+
+
+ getBddPassword + ConfigFile +
+
+
+
+ getBddSavepassword + ConfigFile +
+
+
+
+ getBddSchema + ConfigFile +
+
+
+
+ getBddUser + ConfigFile +
+
+
+
+ getGroupAns0ByID + Bdd +
+
+
+
+ getGroupAns1ByID + Bdd +
+
+
+
+ getID + ListRow +
+
+
+
+ getIP + Bdd +
+
+
+
+ getIsConnected + Bdd +
+
+
+
+ getPassword + Bdd +
+
+
+
+ getQuestionAns + Bdd +
+
+
+
+ getSchema + Bdd +
+
+
+
+ getSelectedListRow + Page +
+
+
+
+ getTxt + ListRow +
+
+
+
+ getUser + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_69.html b/doc/java/search/all_69.html new file mode 100755 index 0000000..433ef68 --- /dev/null +++ b/doc/java/search/all_69.html @@ -0,0 +1,38 @@ + + + + + + + +
+
Loading...
+
+ +
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_6c.html b/doc/java/search/all_6c.html new file mode 100755 index 0000000..16fde3f --- /dev/null +++ b/doc/java/search/all_6c.html @@ -0,0 +1,34 @@ + + + + + + + +
+
Loading...
+ +
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_6d.html b/doc/java/search/all_6d.html new file mode 100755 index 0000000..9b88608 --- /dev/null +++ b/doc/java/search/all_6d.html @@ -0,0 +1,37 @@ + + + + + + + +
+
Loading...
+
+
+ main + App +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_6f.html b/doc/java/search/all_6f.html new file mode 100755 index 0000000..53fa5b9 --- /dev/null +++ b/doc/java/search/all_6f.html @@ -0,0 +1,42 @@ + + + + + + + +
+
Loading...
+ + +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_70.html b/doc/java/search/all_70.html new file mode 100755 index 0000000..899c021 --- /dev/null +++ b/doc/java/search/all_70.html @@ -0,0 +1,90 @@ + + + + + + + +
+
Loading...
+
+
+ Page + +
+
+
+
+ Page.java +
+
+ + + + + + + + +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_72.html b/doc/java/search/all_72.html new file mode 100755 index 0000000..6d0f654 --- /dev/null +++ b/doc/java/search/all_72.html @@ -0,0 +1,55 @@ + + + + + + + +
+
Loading...
+
+
+ read + ConfigFile +
+
+ +
+
+ removeCat + Bdd +
+
+
+
+ removeGroup + Bdd +
+
+
+
+ removeQuestion + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_73.html b/doc/java/search/all_73.html new file mode 100755 index 0000000..98fe76c --- /dev/null +++ b/doc/java/search/all_73.html @@ -0,0 +1,38 @@ + + + + + + + +
+
Loading...
+
+
+ setListContent + Page +
+
+
+
+ setListTop + Page +
+
+
+
+ stateChanged + Window +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_74.html b/doc/java/search/all_74.html new file mode 100755 index 0000000..c344686 --- /dev/null +++ b/doc/java/search/all_74.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ toString + ListRow +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_75.html b/doc/java/search/all_75.html new file mode 100755 index 0000000..fbe97d8 --- /dev/null +++ b/doc/java/search/all_75.html @@ -0,0 +1,75 @@ + + + + + + + +
+
Loading...
+
+
+ update + PageConfig +
+
+
+
+ updateBrowseGroup + PageQuestion +
+
+ + +
+
+ updateEntryAnsList + PageQuestion +
+
+
+
+ updateEntryGroup + PageQuestion +
+
+
+
+ updateGroup + Bdd +
+
+
+
+ updateQuestion + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_76.html b/doc/java/search/all_76.html new file mode 100755 index 0000000..791aea3 --- /dev/null +++ b/doc/java/search/all_76.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ valueChanged + Page +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/all_77.html b/doc/java/search/all_77.html new file mode 100755 index 0000000..bc8ba1d --- /dev/null +++ b/doc/java/search/all_77.html @@ -0,0 +1,40 @@ + + + + + + + +
+
Loading...
+
+ +
+
+ +
+
+
+ write + ConfigFile +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/classes_61.html b/doc/java/search/classes_61.html new file mode 100755 index 0000000..aa10406 --- /dev/null +++ b/doc/java/search/classes_61.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ App +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/classes_62.html b/doc/java/search/classes_62.html new file mode 100755 index 0000000..4e11a6f --- /dev/null +++ b/doc/java/search/classes_62.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/classes_63.html b/doc/java/search/classes_63.html new file mode 100755 index 0000000..1ae4b39 --- /dev/null +++ b/doc/java/search/classes_63.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/classes_6c.html b/doc/java/search/classes_6c.html new file mode 100755 index 0000000..da59f7a --- /dev/null +++ b/doc/java/search/classes_6c.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ ListRow +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/classes_70.html b/doc/java/search/classes_70.html new file mode 100755 index 0000000..6128f67 --- /dev/null +++ b/doc/java/search/classes_70.html @@ -0,0 +1,45 @@ + + + + + + + +
+
Loading...
+
+
+ Page +
+
+
+ +
+
+ +
+
+
+ PageGroup +
+
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/classes_77.html b/doc/java/search/classes_77.html new file mode 100755 index 0000000..de25d72 --- /dev/null +++ b/doc/java/search/classes_77.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ Window +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/close.png b/doc/java/search/close.png new file mode 100755 index 0000000..9342d3d Binary files /dev/null and b/doc/java/search/close.png differ diff --git a/doc/java/search/files_61.html b/doc/java/search/files_61.html new file mode 100755 index 0000000..fb85f5f --- /dev/null +++ b/doc/java/search/files_61.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ App.java +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/files_62.html b/doc/java/search/files_62.html new file mode 100755 index 0000000..9837f33 --- /dev/null +++ b/doc/java/search/files_62.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ Bdd.java +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/files_63.html b/doc/java/search/files_63.html new file mode 100755 index 0000000..d15424e --- /dev/null +++ b/doc/java/search/files_63.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/files_6c.html b/doc/java/search/files_6c.html new file mode 100755 index 0000000..8cdd3d5 --- /dev/null +++ b/doc/java/search/files_6c.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/files_70.html b/doc/java/search/files_70.html new file mode 100755 index 0000000..e2eca11 --- /dev/null +++ b/doc/java/search/files_70.html @@ -0,0 +1,45 @@ + + + + + + + +
+
Loading...
+
+
+ Page.java +
+
+ + + + +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/files_77.html b/doc/java/search/files_77.html new file mode 100755 index 0000000..f8bd800 --- /dev/null +++ b/doc/java/search/files_77.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_61.html b/doc/java/search/functions_61.html new file mode 100755 index 0000000..ccb5986 --- /dev/null +++ b/doc/java/search/functions_61.html @@ -0,0 +1,42 @@ + + + + + + + +
+
Loading...
+ + +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_63.html b/doc/java/search/functions_63.html new file mode 100755 index 0000000..b652632 --- /dev/null +++ b/doc/java/search/functions_63.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ close + Bdd +
+
+
+
+ connect + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_67.html b/doc/java/search/functions_67.html new file mode 100755 index 0000000..4419b5e --- /dev/null +++ b/doc/java/search/functions_67.html @@ -0,0 +1,140 @@ + + + + + + + +
+
Loading...
+
+
+ generateAnsList + Bdd +
+
+
+
+ generateCatList + Bdd +
+
+
+
+ generateGroupList + Bdd +
+
+
+ +
+
+
+ getBddIpaddress + ConfigFile +
+
+
+
+ getBddPassword + ConfigFile +
+
+
+
+ getBddSavepassword + ConfigFile +
+
+
+
+ getBddSchema + ConfigFile +
+
+
+
+ getBddUser + ConfigFile +
+
+
+
+ getGroupAns0ByID + Bdd +
+
+
+
+ getGroupAns1ByID + Bdd +
+
+
+
+ getID + ListRow +
+
+
+
+ getIP + Bdd +
+
+
+
+ getIsConnected + Bdd +
+
+
+
+ getPassword + Bdd +
+
+
+
+ getQuestionAns + Bdd +
+
+
+
+ getSchema + Bdd +
+
+
+
+ getSelectedListRow + Page +
+
+
+
+ getTxt + ListRow +
+
+
+
+ getUser + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_69.html b/doc/java/search/functions_69.html new file mode 100755 index 0000000..433ef68 --- /dev/null +++ b/doc/java/search/functions_69.html @@ -0,0 +1,38 @@ + + + + + + + +
+
Loading...
+
+ +
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_6c.html b/doc/java/search/functions_6c.html new file mode 100755 index 0000000..4bf446c --- /dev/null +++ b/doc/java/search/functions_6c.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ ListRow + ListRow +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_6d.html b/doc/java/search/functions_6d.html new file mode 100755 index 0000000..9b88608 --- /dev/null +++ b/doc/java/search/functions_6d.html @@ -0,0 +1,37 @@ + + + + + + + +
+
Loading...
+
+
+ main + App +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_6f.html b/doc/java/search/functions_6f.html new file mode 100755 index 0000000..53fa5b9 --- /dev/null +++ b/doc/java/search/functions_6f.html @@ -0,0 +1,42 @@ + + + + + + + +
+
Loading...
+ + +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_70.html b/doc/java/search/functions_70.html new file mode 100755 index 0000000..a0cfdb8 --- /dev/null +++ b/doc/java/search/functions_70.html @@ -0,0 +1,50 @@ + + + + + + + +
+
Loading...
+
+
+ Page + Page +
+
+
+
+ PageCategorie + PageCategorie +
+
+
+
+ PageConfig + PageConfig +
+
+
+
+ PageGroup + PageGroup +
+
+
+
+ PageQuestion + PageQuestion +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_72.html b/doc/java/search/functions_72.html new file mode 100755 index 0000000..6d0f654 --- /dev/null +++ b/doc/java/search/functions_72.html @@ -0,0 +1,55 @@ + + + + + + + +
+
Loading...
+
+
+ read + ConfigFile +
+
+ +
+
+ removeCat + Bdd +
+
+
+
+ removeGroup + Bdd +
+
+
+
+ removeQuestion + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_73.html b/doc/java/search/functions_73.html new file mode 100755 index 0000000..98fe76c --- /dev/null +++ b/doc/java/search/functions_73.html @@ -0,0 +1,38 @@ + + + + + + + +
+
Loading...
+
+
+ setListContent + Page +
+
+
+
+ setListTop + Page +
+
+
+
+ stateChanged + Window +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_74.html b/doc/java/search/functions_74.html new file mode 100755 index 0000000..c344686 --- /dev/null +++ b/doc/java/search/functions_74.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ toString + ListRow +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_75.html b/doc/java/search/functions_75.html new file mode 100755 index 0000000..fbe97d8 --- /dev/null +++ b/doc/java/search/functions_75.html @@ -0,0 +1,75 @@ + + + + + + + +
+
Loading...
+
+
+ update + PageConfig +
+
+
+
+ updateBrowseGroup + PageQuestion +
+
+ + +
+
+ updateEntryAnsList + PageQuestion +
+
+
+
+ updateEntryGroup + PageQuestion +
+
+
+
+ updateGroup + Bdd +
+
+
+
+ updateQuestion + Bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_76.html b/doc/java/search/functions_76.html new file mode 100755 index 0000000..791aea3 --- /dev/null +++ b/doc/java/search/functions_76.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ valueChanged + Page +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/functions_77.html b/doc/java/search/functions_77.html new file mode 100755 index 0000000..c8d4a40 --- /dev/null +++ b/doc/java/search/functions_77.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ Window + Window +
+
+
+
+ write + ConfigFile +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/java/search/mag_sel.png b/doc/java/search/mag_sel.png new file mode 100755 index 0000000..81f6040 Binary files /dev/null and b/doc/java/search/mag_sel.png differ diff --git a/doc/java/search/nomatches.html b/doc/java/search/nomatches.html new file mode 100755 index 0000000..b1ded27 --- /dev/null +++ b/doc/java/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/doc/java/search/search.css b/doc/java/search/search.css new file mode 100755 index 0000000..50249e5 --- /dev/null +++ b/doc/java/search/search.css @@ -0,0 +1,240 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#searchli { + float: right; + display: block; + width: 170px; + height: 36px; +} + +#MSearchBox { + white-space : nowrap; + position: absolute; + float: none; + display: inline; + margin-top: 8px; + right: 0px; + width: 170px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:116px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:0px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} diff --git a/doc/java/search/search.js b/doc/java/search/search.js new file mode 100755 index 0000000..785d50a --- /dev/null +++ b/doc/java/search/search.js @@ -0,0 +1,732 @@ +// Search script generated by doxygen +// Copyright (C) 2009 by Dimitri van Heesch. + +// The code in this file is loosly based on main.js, part of Natural Docs, +// which is Copyright (C) 2003-2008 Greg Valure +// Natural Docs is licensed under the GPL. + +var indexSectionsWithContent = +{ + 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000101001101101111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000001000100000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000001000100000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101000101001101101111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions" +}; + +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var hexCode; + if (code<16) + { + hexCode="0"+code.toString(16); + } + else + { + hexCode=code.toString(16); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') + { + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location.href = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} diff --git a/doc/java/search/search_l.png b/doc/java/search/search_l.png new file mode 100755 index 0000000..c872f4d Binary files /dev/null and b/doc/java/search/search_l.png differ diff --git a/doc/java/search/search_m.png b/doc/java/search/search_m.png new file mode 100755 index 0000000..b429a16 Binary files /dev/null and b/doc/java/search/search_m.png differ diff --git a/doc/java/search/search_r.png b/doc/java/search/search_r.png new file mode 100755 index 0000000..97ee8b4 Binary files /dev/null and b/doc/java/search/search_r.png differ diff --git a/doc/java/tab_a.png b/doc/java/tab_a.png new file mode 100755 index 0000000..2d99ef2 Binary files /dev/null and b/doc/java/tab_a.png differ diff --git a/doc/java/tab_b.png b/doc/java/tab_b.png new file mode 100755 index 0000000..b2c3d2b Binary files /dev/null and b/doc/java/tab_b.png differ diff --git a/doc/java/tab_h.png b/doc/java/tab_h.png new file mode 100755 index 0000000..c11f48f Binary files /dev/null and b/doc/java/tab_h.png differ diff --git a/doc/java/tab_s.png b/doc/java/tab_s.png new file mode 100755 index 0000000..978943a Binary files /dev/null and b/doc/java/tab_s.png differ diff --git a/doc/java/tabs.css b/doc/java/tabs.css new file mode 100755 index 0000000..2192056 --- /dev/null +++ b/doc/java/tabs.css @@ -0,0 +1,59 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/doc/java/tree.html b/doc/java/tree.html new file mode 100755 index 0000000..8332e68 --- /dev/null +++ b/doc/java/tree.html @@ -0,0 +1,147 @@ + + + + + + + + + + TreeView + + + + + +
+
+ + + + + + +
+
+ + + + +
+ +
+ + + + diff --git a/doc/web/404_8php.html b/doc/web/404_8php.html new file mode 100644 index 0000000..7cde79d --- /dev/null +++ b/doc/web/404_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/404.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/404.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/500_8php.html b/doc/web/500_8php.html new file mode 100644 index 0000000..3c51302 --- /dev/null +++ b/doc/web/500_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/500.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/500.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/_f_a_l_s_e-example.html b/doc/web/_f_a_l_s_e-example.html new file mode 100644 index 0000000..e6f70a4 --- /dev/null +++ b/doc/web/_f_a_l_s_e-example.html @@ -0,0 +1,33 @@ + + + + +BurgerQuizz - Web: FALSE + + + + + + +
+
+

FALSE

+
+
+

==> usage standard

+
+
+ + + diff --git a/doc/web/_t_r_u_e-example.html b/doc/web/_t_r_u_e-example.html new file mode 100644 index 0000000..ea5a29d --- /dev/null +++ b/doc/web/_t_r_u_e-example.html @@ -0,0 +1,33 @@ + + + + +BurgerQuizz - Web: TRUE + + + + + + +
+
+

TRUE

+
+
+

Variable pour le débugage ==> affiche toutes les erreures des TRY

+
+
+ + + diff --git a/doc/web/account_2default_8php.html b/doc/web/account_2default_8php.html new file mode 100644 index 0000000..be794e8 --- /dev/null +++ b/doc/web/account_2default_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/default.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/account/default.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/annotated.html b/doc/web/annotated.html new file mode 100644 index 0000000..0f89aba --- /dev/null +++ b/doc/web/annotated.html @@ -0,0 +1,59 @@ + + + + +BurgerQuizz - Web: Data Structures + + + + + + +
+
+

Data Structures

+
+
+Here are the data structures with brief descriptions: + + + + + + + + + + + + + + + + + + +
bddClasse gérant le comportement à la base de données
cat_dao
configConfiguration standard du site
controllerGère l'affichage des pages en fonction de l'argument 'page' de la barre d'adresse
daoClasse mère contenant les fonctions standards de requête à la base de données
game
game_dao
groupe
groupe_dao
point_manager
question
question_dao
ranker
reponse_user
reponse_user_dao
sort_manager
user
user_dao
+
+ + + diff --git a/doc/web/bc_s.png b/doc/web/bc_s.png new file mode 100644 index 0000000..e401862 Binary files /dev/null and b/doc/web/bc_s.png differ diff --git a/doc/web/bdd_8php.html b/doc/web/bdd_8php.html new file mode 100644 index 0000000..797ff4f --- /dev/null +++ b/doc/web/bdd_8php.html @@ -0,0 +1,45 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/bdd.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/bdd.php File Reference

+
+
+ + + + +

+Data Structures

class  bdd
 Classe gérant le comportement à la base de données. More...
+
+ + + diff --git a/doc/web/bycat_8php.html b/doc/web/bycat_8php.html new file mode 100644 index 0000000..bc408b9 --- /dev/null +++ b/doc/web/bycat_8php.html @@ -0,0 +1,58 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/rank/bycat.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/rank/bycat.php File Reference

+
+
+ + + +

+Variables

 $dao = new cat_dao()
+

Variable Documentation

+ +
+
+ + + + +
$dao = new cat_dao()
+
+
+ +
+
+
+ + + diff --git a/doc/web/cat__dao_8php.html b/doc/web/cat__dao_8php.html new file mode 100644 index 0000000..b2c01bc --- /dev/null +++ b/doc/web/cat__dao_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/cat_dao.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/cat_dao.php File Reference

+
+
+ + + +

+Data Structures

class  cat_dao
+
+ + + diff --git a/doc/web/categories_8php.html b/doc/web/categories_8php.html new file mode 100644 index 0000000..83b2839 --- /dev/null +++ b/doc/web/categories_8php.html @@ -0,0 +1,72 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/game/categories.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/game/categories.php File Reference

+
+
+ + + + +

+Variables

 $dao = new cat_dao()
 $cats = $dao->getAllCat()
+

Variable Documentation

+ +
+
+ + + + +
$cats = $dao->getAllCat()
+
+
+ +
+
+ +
+
+ + + + +
$dao = new cat_dao()
+
+
+ +
+
+
+ + + diff --git a/doc/web/classbdd.html b/doc/web/classbdd.html new file mode 100644 index 0000000..a705b0a --- /dev/null +++ b/doc/web/classbdd.html @@ -0,0 +1,103 @@ + + + + +BurgerQuizz - Web: bdd Class Reference + + + + + + + +
+ +

Classe gérant le comportement à la base de données. +More...

+ + + + + + + +

+Public Member Functions

 getPDO ()
 Accesseur pour l'objet PDO de la classe.

+Static Public Member Functions

static getInstance ()
 Accesseur de l'instance bdd.
+

Detailed Description

+

Classe gérant le comportement à la base de données.

+

Sert d'intermédiaire entre la BDD et le PDO

+

Member Function Documentation

+ +
+
+ + + + + + + + +
static getInstance ( )  [static]
+
+
+ +

Accesseur de l'instance bdd.

+
Returns:
instance BDD
+
Note:
Création automatique d'une nouvelle instance si besoin
+ +
+
+ +
+
+ + + + + + + + +
getPDO ( ) 
+
+
+ +

Accesseur pour l'objet PDO de la classe.

+
Returns:
PDO
+ +
+
+
The documentation for this class was generated from the following file:
    +
  • /var/www/Burger-ct-glf/dao/bdd.php
  • +
+
+ + + diff --git a/doc/web/classcat__dao.html b/doc/web/classcat__dao.html new file mode 100644 index 0000000..bbb56c8 --- /dev/null +++ b/doc/web/classcat__dao.html @@ -0,0 +1,175 @@ + + + + +BurgerQuizz - Web: cat_dao Class Reference + + + + + + +
+ +
+

cat_dao Class Reference

+
+
+
+Inheritance diagram for cat_dao:
+
+
+ + +dao + +
+ + + + + + + + + + + +

+Public Member Functions

 delete ($id)
 Fonction gérant la suppression d'un objet dans la BDD.
 insert (&$objet)
 Fonction gérant l'insertion d'un nouvel objet dans la BDD.
 select ($id)
 Fonction gérant la récupération d'infos.
 update (&$objet)
 Fonction gérant la mise de jour des données.
 getAllCat ()
+

Detailed Description

+

Classe DAO relative à la table catégorie de la base de données

+

Member Function Documentation

+ +
+
+ + + + + + + + + +
delete ( id ) 
+
+
+ +

Fonction gérant la suppression d'un objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + +
getAllCat ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
insert (&$  objet ) 
+
+
+ +

Fonction gérant l'insertion d'un nouvel objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
select ( id ) 
+
+
+ +

Fonction gérant la récupération d'infos.

+
Note:
l'id est soit l'id (int) soit le login pour user
+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
update (&$  objet ) 
+
+
+ +

Fonction gérant la mise de jour des données.

+ +

Reimplemented from dao.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classcat__dao.png b/doc/web/classcat__dao.png new file mode 100644 index 0000000..1baaf5c Binary files /dev/null and b/doc/web/classcat__dao.png differ diff --git a/doc/web/classconfig.html b/doc/web/classconfig.html new file mode 100644 index 0000000..7af25c2 --- /dev/null +++ b/doc/web/classconfig.html @@ -0,0 +1,140 @@ + + + + +BurgerQuizz - Web: config Class Reference + + + + + + +
+ +
+

config Class Reference

+
+
+ +

Configuration standard du site. +More...

+ + + + + + + +

+Static Public Attributes

static $bdd_address = "mysql:host=172.17.8.32; dbname=burgerquizz"
static $bdd_user = "bigmac"
static $bdd_password = "bigmac"
static $debug = TRUE
static $pages
+

Detailed Description

+

Configuration standard du site.

+

Field Documentation

+ +
+
+ + + + +
$bdd_address = "mysql:host=172.17.8.32; dbname=burgerquizz" [static]
+
+
+ +
+
+ +
+
+ + + + +
$bdd_password = "bigmac" [static]
+
+
+ +
+
+ +
+
+ + + + +
$bdd_user = "bigmac" [static]
+
+
+ +
+
+ +
+
+ + + + +
$debug = TRUE [static]
+
+
+ +
+
+ +
+
+ + + + +
$pages [static]
+
+
+Initial value:
 array(
+        'welcome' => array('Accueil', 'view/welcome/index.php'), 
+        'login' => array("Connexion", "view/welcome/login.php"), 
+        'signup' => array('Inscription', 'view/signup/index.php'), 
+        'logout' => array('Déconnexion', 'view/logout/index.php'), 
+        'account' => array('Mon compte', 'view/account/index.php'), 
+        'update' => array('Mise à jour', 'view/account/update.php'), 
+        'game' => array('Jeu', 'view/game/index.php'), 
+        'finish' => array('Fin du jeu', 'view/game/finish.php'), 
+        'error' => array('Erreur', 'view/game/error.php'), 
+        'result' => array('Résultats', 'view/result/index.php'), 
+        'rank' => array('Rangs', 'view/rank/index.php'), 
+        'rank_cat' => array("Classement par catégorie", "view/rank/bycat.php"),
+        '404' => array('Erreur 404', 'view/404.php'), 
+        '500' => array('Erreur 500', 'view/500.php') 
+    )
+
+
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classcontroller.html b/doc/web/classcontroller.html new file mode 100644 index 0000000..91db37f --- /dev/null +++ b/doc/web/classcontroller.html @@ -0,0 +1,147 @@ + + + + +BurgerQuizz - Web: controller Class Reference + + + + + + +
+ +
+

controller Class Reference

+
+
+ +

Gère l'affichage des pages en fonction de l'argument 'page' de la barre d'adresse. +More...

+ + + + + + + + + + + +

+Public Member Functions

 render ()
 Génère le code HTML de la page désirée, enfonction du terminal.
 route ()
 Charge les données de la barre d'adresse.

+Static Public Member Functions

static init ()
 Instancie le contrôleur et charge les données de la barre d'adresse.
static get ()
 Récupère le contrôleur utilisé.
+

Detailed Description

+

Gère l'affichage des pages en fonction de l'argument 'page' de la barre d'adresse.

+
Note:
définit également la structure de la page (<head>)
+

Member Function Documentation

+ +
+
+ + + + + + + + +
static get ( )  [static]
+
+
+ +

Récupère le contrôleur utilisé.

+
Returns:
controller
+
Warning:
Si le contrôleur n'a pas été instancié, renverra null
+ +
+
+ +
+
+ + + + + + + + +
static init ( )  [static]
+
+
+ +

Instancie le contrôleur et charge les données de la barre d'adresse.

+
Note:
Si le contrôleur a déja été instancié, cette methode executera uniquement route()
+ +
+
+ +
+
+ + + + + + + + +
render ( ) 
+
+
+ +

Génère le code HTML de la page désirée, enfonction du terminal.

+
Note:
le contrôleur doit avoir été instancié et être routé
+ +
+
+ +
+
+ + + + + + + + +
route ( ) 
+
+
+ +

Charge les données de la barre d'adresse.

+

Charge les vars $currpage_code, $currpage_title, $currpage_url correspondant à la page en cours grace au param 'page'

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classdao.html b/doc/web/classdao.html new file mode 100644 index 0000000..c6afbd8 --- /dev/null +++ b/doc/web/classdao.html @@ -0,0 +1,209 @@ + + + + +BurgerQuizz - Web: dao Class Reference + + + + + + +
+ +
+

dao Class Reference

+
+
+ +

Classe mère contenant les fonctions standards de requête à la base de données. +More...

+
+Inheritance diagram for dao:
+
+
+ + +cat_dao +game_dao +groupe_dao +question_dao +reponse_user_dao +user_dao + +
+ + + + + + + + + + + + + + + +

+Public Member Functions

 __construct ()
 Récupère le PDO via la classe bdd.
 select ($id)
 Fonction gérant la récupération d'infos.
 insert (&$objet)
 Fonction gérant l'insertion d'un nouvel objet dans la BDD.
 delete ($id)
 Fonction gérant la suppression d'un objet dans la BDD.
 update (&$objet)
 Fonction gérant la mise de jour des données.

+Data Fields

 $db
 Variable contenant l'objet de connexion à la BDD.
+

Detailed Description

+

Classe mère contenant les fonctions standards de requête à la base de données.

+
Note:
Ne peut être instanciée
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
__construct ( ) 
+
+
+ +

Récupère le PDO via la classe bdd.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
delete ( id )  [abstract]
+
+
+ +

Fonction gérant la suppression d'un objet dans la BDD.

+ +

Reimplemented in cat_dao, game_dao, groupe_dao, question_dao, reponse_user_dao, and user_dao.

+ +
+
+ +
+
+ + + + + + + + + +
insert (&$  objet )  [abstract]
+
+
+ +

Fonction gérant l'insertion d'un nouvel objet dans la BDD.

+ +

Reimplemented in cat_dao, game_dao, groupe_dao, question_dao, reponse_user_dao, and user_dao.

+ +
+
+ +
+
+ + + + + + + + + +
select ( id )  [abstract]
+
+
+ +

Fonction gérant la récupération d'infos.

+
Note:
l'id est soit l'id (int) soit le login pour user
+ +

Reimplemented in cat_dao, game_dao, groupe_dao, question_dao, and user_dao.

+ +
+
+ +
+
+ + + + + + + + + +
update (&$  objet )  [abstract]
+
+
+ +

Fonction gérant la mise de jour des données.

+ +

Reimplemented in cat_dao, game_dao, groupe_dao, question_dao, reponse_user_dao, and user_dao.

+ +
+
+

Field Documentation

+ +
+
+ + + + +
$db
+
+
+ +

Variable contenant l'objet de connexion à la BDD.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • /var/www/Burger-ct-glf/dao/dao.php
  • +
+
+ + + diff --git a/doc/web/classdao.png b/doc/web/classdao.png new file mode 100644 index 0000000..a0ab082 Binary files /dev/null and b/doc/web/classdao.png differ diff --git a/doc/web/classes.html b/doc/web/classes.html new file mode 100644 index 0000000..b33cbac --- /dev/null +++ b/doc/web/classes.html @@ -0,0 +1,51 @@ + + + + +BurgerQuizz - Web: Alphabetical List + + + + + + +
+
+

Data Structure Index

+
+
+
B | C | D | G | P | Q | R | S | U
+ +
  B  
+
  D  
+
groupe_dao   question_dao   
  S  
+
bdd   dao   
  P  
+
  R  
+
sort_manager   
  C  
+
  G  
+
point_manager   ranker   
  U  
+
cat_dao   game   
  Q  
+
reponse_user   user   
config   game_dao   question   reponse_user_dao   user_dao   
controller   groupe   
B | C | D | G | P | Q | R | S | U
+
+ + + diff --git a/doc/web/classgame.html b/doc/web/classgame.html new file mode 100644 index 0000000..0629132 --- /dev/null +++ b/doc/web/classgame.html @@ -0,0 +1,230 @@ + + + + +BurgerQuizz - Web: game Class Reference + + + + + + + +
+ + + + + + + + + + + +

+Public Member Functions

 __construct ($id_game, $user_login=NULL, $length=NULL, $reponses_user=NULL, $date=NULL)
 getLength ()
 getUserLogin ()
 getReponses ()
 getGameId ()
 setGameId ($id)
 getDate ()

+Static Public Member Functions

static saveGame (&$data)
+

Detailed Description

+

Description of game

+
Author:
phenom
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
__construct ( id_game,
user_login = NULL,
length = NULL,
reponses_user = NULL,
date = NULL 
)
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
getDate ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getGameId ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getLength ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getReponses ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getUserLogin ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static saveGame (&$  data )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
setGameId ( id ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file:
    +
  • /var/www/Burger-ct-glf/metier/game.php
  • +
+
+ + + diff --git a/doc/web/classgame__dao.html b/doc/web/classgame__dao.html new file mode 100644 index 0000000..f788428 --- /dev/null +++ b/doc/web/classgame__dao.html @@ -0,0 +1,210 @@ + + + + +BurgerQuizz - Web: game_dao Class Reference + + + + + + +
+ +
+

game_dao Class Reference

+
+
+
+Inheritance diagram for game_dao:
+
+
+ + +dao + +
+ + + + + + + + + + + + + +

+Public Member Functions

 select ($id)
 Fonction gérant la récupération d'infos.
 selectByLogin ($login)
 countGame ()
 insert (&$objet)
 Fonction gérant l'insertion d'un nouvel objet dans la BDD.
 update (&$objet)
 Fonction gérant la mise de jour des données.
 delete ($id)
 Fonction gérant la suppression d'un objet dans la BDD.
 getLastId ()
+

Member Function Documentation

+ +
+
+ + + + + + + + +
countGame ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
delete ( id ) 
+
+
+ +

Fonction gérant la suppression d'un objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + +
getLastId ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
insert (&$  objet ) 
+
+
+ +

Fonction gérant l'insertion d'un nouvel objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
select ( id ) 
+
+
+ +

Fonction gérant la récupération d'infos.

+
Note:
l'id est soit l'id (int) soit le login pour user
+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
selectByLogin ( login ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
update (&$  objet ) 
+
+
+ +

Fonction gérant la mise de jour des données.

+ +

Reimplemented from dao.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classgame__dao.png b/doc/web/classgame__dao.png new file mode 100644 index 0000000..b2d878d Binary files /dev/null and b/doc/web/classgame__dao.png differ diff --git a/doc/web/classgroupe.html b/doc/web/classgroupe.html new file mode 100644 index 0000000..fa6fc77 --- /dev/null +++ b/doc/web/classgroupe.html @@ -0,0 +1,162 @@ + + + + +BurgerQuizz - Web: groupe Class Reference + + + + + + +
+ +
+

groupe Class Reference

+
+
+ + + + + + + + +

+Public Member Functions

 __construct ($id)
 getId ()
 getReponse_0 ()
 getReponse_1 ()
 getQuestion ()
 getCategorie ()
+

Detailed Description

+

Description of groupe

+
Author:
phenom
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
__construct ( id ) 
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
getCategorie ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getId ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getQuestion ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getReponse_0 ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getReponse_1 ( ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classgroupe__dao.html b/doc/web/classgroupe__dao.html new file mode 100644 index 0000000..0935e98 --- /dev/null +++ b/doc/web/classgroupe__dao.html @@ -0,0 +1,211 @@ + + + + +BurgerQuizz - Web: groupe_dao Class Reference + + + + + + +
+ +
+

groupe_dao Class Reference

+
+
+
+Inheritance diagram for groupe_dao:
+
+
+ + +dao + +
+ + + + + + + + + + + + + +

+Public Member Functions

 select ($id)
 Fonction gérant la récupération d'infos.
 selectByCat ($cat)
 insert (&$objet)
 Fonction gérant l'insertion d'un nouvel objet dans la BDD.
 delete ($id)
 Fonction gérant la suppression d'un objet dans la BDD.
 update (&$objet)
 Fonction gérant la mise de jour des données.
 count ($cat)
 countAll ()
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
count ( cat ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
countAll ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
delete ( id ) 
+
+
+ +

Fonction gérant la suppression d'un objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
insert (&$  objet ) 
+
+
+ +

Fonction gérant l'insertion d'un nouvel objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
select ( id ) 
+
+
+ +

Fonction gérant la récupération d'infos.

+
Note:
l'id est soit l'id (int) soit le login pour user
+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
selectByCat ( cat ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
update (&$  objet ) 
+
+
+ +

Fonction gérant la mise de jour des données.

+ +

Reimplemented from dao.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classgroupe__dao.png b/doc/web/classgroupe__dao.png new file mode 100644 index 0000000..ce948d3 Binary files /dev/null and b/doc/web/classgroupe__dao.png differ diff --git a/doc/web/classpoint__manager.html b/doc/web/classpoint__manager.html new file mode 100644 index 0000000..6f7a3da --- /dev/null +++ b/doc/web/classpoint__manager.html @@ -0,0 +1,209 @@ + + + + +BurgerQuizz - Web: point_manager Class Reference + + + + + + +
+ +
+

point_manager Class Reference

+
+
+ + + + + + + + + + +

+Static Public Member Functions

static getGamePoint ($game_id)
static getGoodAnswer ($game_id)
static getNbQuestion ($game_id)
static getGamesByLogin ($login)
static getLengthByGame ($game_id)
static getAllPlayer ()
static getInfoByGroupId ($game_id)
static getGameByLoginByCat ($login, $cat)
+

Member Function Documentation

+ +
+
+ + + + + + + + +
static getAllPlayer ( )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
static getGameByLoginByCat ( login,
cat 
) [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static getGamePoint ( game_id )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static getGamesByLogin ( login )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static getGoodAnswer ( game_id )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static getInfoByGroupId ( game_id )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static getLengthByGame ( game_id )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static getNbQuestion ( game_id )  [static]
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classquestion.html b/doc/web/classquestion.html new file mode 100644 index 0000000..34ee156 --- /dev/null +++ b/doc/web/classquestion.html @@ -0,0 +1,165 @@ + + + + +BurgerQuizz - Web: question Class Reference + + + + + + +
+ +
+

question Class Reference

+
+
+ + + + + + + +

+Public Member Functions

 __construct ($id, $group_id=NULL, $question=NULL, $reponse=NULL)
 getId ()
 getGroupId ()
 getQuestion ()
 getReponse ()
+

Detailed Description

+

Description of question

+
Author:
phenom
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
__construct ( id,
group_id = NULL,
question = NULL,
reponse = NULL 
)
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
getGroupId ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getId ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getQuestion ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getReponse ( ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classquestion__dao.html b/doc/web/classquestion__dao.html new file mode 100644 index 0000000..a1f5841 --- /dev/null +++ b/doc/web/classquestion__dao.html @@ -0,0 +1,174 @@ + + + + +BurgerQuizz - Web: question_dao Class Reference + + + + + + +
+ +
+

question_dao Class Reference

+
+
+
+Inheritance diagram for question_dao:
+
+
+ + +dao + +
+ + + + + + + + + + + +

+Public Member Functions

 select ($id)
 Fonction gérant la récupération d'infos.
 selectByGroup ($id_group)
 insert (&$objet)
 Fonction gérant l'insertion d'un nouvel objet dans la BDD.
 update (&$objet)
 Fonction gérant la mise de jour des données.
 delete ($id)
 Fonction gérant la suppression d'un objet dans la BDD.
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
delete ( id ) 
+
+
+ +

Fonction gérant la suppression d'un objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
insert (&$  objet ) 
+
+
+ +

Fonction gérant l'insertion d'un nouvel objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
select ( id ) 
+
+
+ +

Fonction gérant la récupération d'infos.

+
Note:
l'id est soit l'id (int) soit le login pour user
+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
selectByGroup ( id_group ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
update (&$  objet ) 
+
+
+ +

Fonction gérant la mise de jour des données.

+ +

Reimplemented from dao.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classquestion__dao.png b/doc/web/classquestion__dao.png new file mode 100644 index 0000000..44fcac0 Binary files /dev/null and b/doc/web/classquestion__dao.png differ diff --git a/doc/web/classranker.html b/doc/web/classranker.html new file mode 100644 index 0000000..693ca78 --- /dev/null +++ b/doc/web/classranker.html @@ -0,0 +1,248 @@ + + + + +BurgerQuizz - Web: ranker Class Reference + + + + + + +
+ +
+

ranker Class Reference

+
+
+ + + + + + + + + + + + + + +

+Public Member Functions

 __construct ($type, $args)
 buildGlobal ($args)
 buildCat ($args)
 getUser ()
 getPoint ()
 getLength ()
 getNbGame ()

+Data Fields

 $user
 $point
 $length
 $nb_game
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
__construct ( type,
args 
)
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
buildCat ( args ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
buildGlobal ( args ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getLength ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getNbGame ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getPoint ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getUser ( ) 
+
+
+ +
+
+

Field Documentation

+ +
+
+ + + + +
$length
+
+
+ +
+
+ +
+
+ + + + +
$nb_game
+
+
+ +
+
+ +
+
+ + + + +
$point
+
+
+ +
+
+ +
+
+ + + + +
$user
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classreponse__user.html b/doc/web/classreponse__user.html new file mode 100644 index 0000000..a661705 --- /dev/null +++ b/doc/web/classreponse__user.html @@ -0,0 +1,160 @@ + + + + +BurgerQuizz - Web: reponse_user Class Reference + + + + + + +
+ +
+

reponse_user Class Reference

+
+
+ + + + + + + +

+Public Member Functions

 __construct ($game_id, $question_id, $reponse)
 getGame ()
 getQuestion ()
 getReponse ()
 setGame ($id)
+

Detailed Description

+

Description of reponse_user

+
Author:
phenom
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
__construct ( game_id,
question_id,
reponse 
)
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
getGame ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getQuestion ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getReponse ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
setGame ( id ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classreponse__user__dao.html b/doc/web/classreponse__user__dao.html new file mode 100644 index 0000000..d697b71 --- /dev/null +++ b/doc/web/classreponse__user__dao.html @@ -0,0 +1,158 @@ + + + + +BurgerQuizz - Web: reponse_user_dao Class Reference + + + + + + +
+ +
+

reponse_user_dao Class Reference

+
+
+
+Inheritance diagram for reponse_user_dao:
+
+
+ + +dao + +
+ + + + + + + + + +

+Public Member Functions

 select ($idgame, $idquest=NULL)
 insert (&$objet)
 Fonction gérant l'insertion d'un nouvel objet dans la BDD.
 update (&$objet)
 Fonction gérant la mise de jour des données.
 delete ($idgame)
 Fonction gérant la suppression d'un objet dans la BDD.
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
delete ( id ) 
+
+
+ +

Fonction gérant la suppression d'un objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
insert (&$  objet ) 
+
+
+ +

Fonction gérant l'insertion d'un nouvel objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
select ( idgame,
idquest = NULL 
)
+
+
+ +
+
+ +
+
+ + + + + + + + + +
update (&$  objet ) 
+
+
+ +

Fonction gérant la mise de jour des données.

+ +

Reimplemented from dao.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classreponse__user__dao.png b/doc/web/classreponse__user__dao.png new file mode 100644 index 0000000..31eb978 Binary files /dev/null and b/doc/web/classreponse__user__dao.png differ diff --git a/doc/web/classsort__manager.html b/doc/web/classsort__manager.html new file mode 100644 index 0000000..0d0f849 --- /dev/null +++ b/doc/web/classsort__manager.html @@ -0,0 +1,77 @@ + + + + +BurgerQuizz - Web: sort_manager Class Reference + + + + + + +
+ +
+

sort_manager Class Reference

+
+
+ + + +

+Static Public Member Functions

static pointsort ($a, $b)
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
static pointsort ( a,
b 
) [static]
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classuser.html b/doc/web/classuser.html new file mode 100644 index 0000000..f46d5ac --- /dev/null +++ b/doc/web/classuser.html @@ -0,0 +1,361 @@ + + + + +BurgerQuizz - Web: user Class Reference + + + + + + + +
+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

 __construct ($login, $password=null, $nom=null, $prenom=null, $mail=null)
 getLogin ()
 getPassword ()
 setPassword ($password)
 getNom ()
 setNom ($nom)
 getPrenom ()
 setPrenom ($prenom)
 getGames ()
 getMail ()
 setMail ($mail)
 isNull ()

+Static Public Member Functions

static saveUser ($user)
static saveUserNoPassword ($user)
static exist ($login)
+

Detailed Description

+

Description of user

+
Author:
phenom
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
__construct ( login,
password = null,
nom = null,
prenom = null,
mail = null 
)
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
static exist ( login )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + +
getGames ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getLogin ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getMail ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getNom ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getPassword ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
getPrenom ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
isNull ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static saveUser ( user )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
static saveUserNoPassword ( user )  [static]
+
+
+ +
+
+ +
+
+ + + + + + + + + +
setMail ( mail ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
setNom ( nom ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
setPassword ( password ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
setPrenom ( prenom ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file:
    +
  • /var/www/Burger-ct-glf/metier/user.php
  • +
+
+ + + diff --git a/doc/web/classuser__dao.html b/doc/web/classuser__dao.html new file mode 100644 index 0000000..1436f15 --- /dev/null +++ b/doc/web/classuser__dao.html @@ -0,0 +1,174 @@ + + + + +BurgerQuizz - Web: user_dao Class Reference + + + + + + +
+ +
+

user_dao Class Reference

+
+
+
+Inheritance diagram for user_dao:
+
+
+ + +dao + +
+ + + + + + + + + + + +

+Public Member Functions

 select ($id)
 Fonction gérant la récupération d'infos.
 insert (&$objet)
 Fonction gérant l'insertion d'un nouvel objet dans la BDD.
 update (&$object)
 Fonction gérant la mise de jour des données.
 updateNoPassword ($object)
 delete ($id)
 Fonction gérant la suppression d'un objet dans la BDD.
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
delete ( id ) 
+
+
+ +

Fonction gérant la suppression d'un objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
insert (&$  objet ) 
+
+
+ +

Fonction gérant l'insertion d'un nouvel objet dans la BDD.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
select ( id ) 
+
+
+ +

Fonction gérant la récupération d'infos.

+
Note:
l'id est soit l'id (int) soit le login pour user
+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
update (&$  objet ) 
+
+
+ +

Fonction gérant la mise de jour des données.

+ +

Reimplemented from dao.

+ +
+
+ +
+
+ + + + + + + + + +
updateNoPassword ( object ) 
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + diff --git a/doc/web/classuser__dao.png b/doc/web/classuser__dao.png new file mode 100644 index 0000000..99bb20e Binary files /dev/null and b/doc/web/classuser__dao.png differ diff --git a/doc/web/closed.png b/doc/web/closed.png new file mode 100644 index 0000000..b7d4bd9 Binary files /dev/null and b/doc/web/closed.png differ diff --git a/doc/web/config_8php.html b/doc/web/config_8php.html new file mode 100644 index 0000000..3ff4b82 --- /dev/null +++ b/doc/web/config_8php.html @@ -0,0 +1,45 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/config.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/config.php File Reference

+
+
+ + + + +

+Data Structures

class  config
 Configuration standard du site. More...
+
+ + + diff --git a/doc/web/connexion__form_8php.html b/doc/web/connexion__form_8php.html new file mode 100644 index 0000000..698629a --- /dev/null +++ b/doc/web/connexion__form_8php.html @@ -0,0 +1,58 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/connexion_form.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/template/connexion_form.php File Reference

+
+
+ + + +

+Variables

 $user = "user"]
+

Variable Documentation

+ +
+
+ + + + +
$user = "user"]
+
+
+ +
+
+
+ + + diff --git a/doc/web/controller_8php.html b/doc/web/controller_8php.html new file mode 100644 index 0000000..4c9cb59 --- /dev/null +++ b/doc/web/controller_8php.html @@ -0,0 +1,45 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/controller.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/controller.php File Reference

+
+
+ + + + +

+Data Structures

class  controller
 Gère l'affichage des pages en fonction de l'argument 'page' de la barre d'adresse. More...
+
+ + + diff --git a/doc/web/core_8php.html b/doc/web/core_8php.html new file mode 100644 index 0000000..f9065f3 --- /dev/null +++ b/doc/web/core_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/core.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/template/core.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/dao_8php.html b/doc/web/dao_8php.html new file mode 100644 index 0000000..11d3c41 --- /dev/null +++ b/doc/web/dao_8php.html @@ -0,0 +1,45 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/dao.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/dao.php File Reference

+
+
+ + + + +

+Data Structures

class  dao
 Classe mère contenant les fonctions standards de requête à la base de données. More...
+
+ + + diff --git a/doc/web/delete_8php.html b/doc/web/delete_8php.html new file mode 100644 index 0000000..3a81ad0 --- /dev/null +++ b/doc/web/delete_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/delete.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/account/delete.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/delete__confirm_8php.html b/doc/web/delete__confirm_8php.html new file mode 100644 index 0000000..bf89172 --- /dev/null +++ b/doc/web/delete__confirm_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/delete_confirm.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/account/delete_confirm.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/doxygen.css b/doc/web/doxygen.css new file mode 100644 index 0000000..658686f --- /dev/null +++ b/doc/web/doxygen.css @@ -0,0 +1,656 @@ +/* The standard CSS for doxygen */ + +body, table, div, p, dl { + font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; + font-size: 12px; +} + +/* @group Heading Levels */ + +h1 { + font-size: 150%; +} + +h2 { + font-size: 120%; +} + +h3 { + font-size: 100%; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd, p.starttd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + padding: 2px; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code { + color: #4665A2; +} + +a.codeRef { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +.fragment { + font-family: monospace, fixed; + font-size: 105%; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 10px; + margin-right: 10px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memItemLeft, .memItemRight, .memTemplParams { + border-top: 1px solid #C4CFE5; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 3px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.memitem { + padding: 0; + margin-bottom: 10px; +} + +.memname { + white-space: nowrap; + font-weight: bold; + margin-left: 6px; +} + +.memproto { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 8px; + -moz-border-radius-topleft: 8px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 8px; + -webkit-border-top-left-radius: 8px; + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + +} + +.memdoc { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 2px 5px; + background-color: #FBFCFD; + border-top-width: 0; + /* firefox specific markup */ + -moz-border-radius-bottomleft: 8px; + -moz-border-radius-bottomright: 8px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7); + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#F7F8FB), to(#EEF1F7)); +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} + +/* @end */ + +/* @group Directory (tree) */ + +/* for the tree view */ + +.ftvtree { + font-family: sans-serif; + margin: 0px; +} + +/* these are for tree view when used as main index */ + +.directory { + font-size: 9pt; + font-weight: bold; + margin: 5px; +} + +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +/* +The following two styles can be used to replace the root node title +with an image of your choice. Simply uncomment the next two styles, +specify the name of your image and be sure to set 'height' to the +proper pixel height of your image. +*/ + +/* +.directory h3.swap { + height: 61px; + background-repeat: no-repeat; + background-image: url("yourimage.gif"); +} +.directory h3.swap span { + display: none; +} +*/ + +.directory > h3 { + margin-top: 0; +} + +.directory p { + margin: 0px; + white-space: nowrap; +} + +.directory div { + display: none; + margin: 0px; +} + +.directory img { + vertical-align: -30%; +} + +/* these are for tree view when not used as main index */ + +.directory-alt { + font-size: 100%; + font-weight: bold; +} + +.directory-alt h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +.directory-alt > h3 { + margin-top: 0; +} + +.directory-alt p { + margin: 0px; + white-space: nowrap; +} + +.directory-alt div { + display: none; + margin: 0px; +} + +.directory-alt img { + vertical-align: -30%; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; +} + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right: 15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; +} + +.navpath a:hover +{ + color:#6884BD; +} + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + diff --git a/doc/web/doxygen.png b/doc/web/doxygen.png new file mode 100644 index 0000000..635ed52 Binary files /dev/null and b/doc/web/doxygen.png differ diff --git a/doc/web/edit__succes_8php.html b/doc/web/edit__succes_8php.html new file mode 100644 index 0000000..54934a7 --- /dev/null +++ b/doc/web/edit__succes_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/edit_succes.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/account/edit_succes.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/examples.html b/doc/web/examples.html new file mode 100644 index 0000000..4ea3007 --- /dev/null +++ b/doc/web/examples.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: Examples + + + + + + +
+
+

Examples

+
+
+Here is a list of all examples: +
+ + + diff --git a/doc/web/files.html b/doc/web/files.html new file mode 100644 index 0000000..8055d7b --- /dev/null +++ b/doc/web/files.html @@ -0,0 +1,102 @@ + + + + +BurgerQuizz - Web: File Index + + + + + + +
+
+

File List

+
+
+Here is a list of all files with brief descriptions: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
/var/www/Burger-ct-glf/config.php
/var/www/Burger-ct-glf/controller.php
/var/www/Burger-ct-glf/index.php
/var/www/Burger-ct-glf/dao/bdd.php
/var/www/Burger-ct-glf/dao/cat_dao.php
/var/www/Burger-ct-glf/dao/dao.php
/var/www/Burger-ct-glf/dao/game_dao.php
/var/www/Burger-ct-glf/dao/groupe_dao.php
/var/www/Burger-ct-glf/dao/point_manager.php
/var/www/Burger-ct-glf/dao/question_dao.php
/var/www/Burger-ct-glf/dao/reponse_user_dao.php
/var/www/Burger-ct-glf/dao/user_dao.php
/var/www/Burger-ct-glf/metier/game.php
/var/www/Burger-ct-glf/metier/groupe.php
/var/www/Burger-ct-glf/metier/question.php
/var/www/Burger-ct-glf/metier/ranker.php
/var/www/Burger-ct-glf/metier/reponse_user.php
/var/www/Burger-ct-glf/metier/sort_manager.php
/var/www/Burger-ct-glf/metier/user.php
/var/www/Burger-ct-glf/view/404.php
/var/www/Burger-ct-glf/view/500.php
/var/www/Burger-ct-glf/view/account/default.php
/var/www/Burger-ct-glf/view/account/delete.php
/var/www/Burger-ct-glf/view/account/delete_confirm.php
/var/www/Burger-ct-glf/view/account/edit_succes.php
/var/www/Burger-ct-glf/view/account/games.php
/var/www/Burger-ct-glf/view/account/index.php
/var/www/Burger-ct-glf/view/account/not_connected.php
/var/www/Burger-ct-glf/view/account/param.php
/var/www/Burger-ct-glf/view/account/update.php
/var/www/Burger-ct-glf/view/game/categories.php
/var/www/Burger-ct-glf/view/game/error.php
/var/www/Burger-ct-glf/view/game/finish.php
/var/www/Burger-ct-glf/view/game/index.php
/var/www/Burger-ct-glf/view/game/notconnected.php
/var/www/Burger-ct-glf/view/game/question.php
/var/www/Burger-ct-glf/view/game/run.php
/var/www/Burger-ct-glf/view/logout/error.php
/var/www/Burger-ct-glf/view/logout/index.php
/var/www/Burger-ct-glf/view/logout/success.php
/var/www/Burger-ct-glf/view/rank/bycat.php
/var/www/Burger-ct-glf/view/rank/default.php
/var/www/Burger-ct-glf/view/rank/globalrank.php
/var/www/Burger-ct-glf/view/rank/index.php
/var/www/Burger-ct-glf/view/signup/formulaire.php
/var/www/Burger-ct-glf/view/signup/index.php
/var/www/Burger-ct-glf/view/signup/login_exist.php
/var/www/Burger-ct-glf/view/signup/mail_error.php
/var/www/Burger-ct-glf/view/signup/name_error.php
/var/www/Burger-ct-glf/view/signup/pwd_error.php
/var/www/Burger-ct-glf/view/signup/success.php
/var/www/Burger-ct-glf/view/template/connexion_form.php
/var/www/Burger-ct-glf/view/template/core.php
/var/www/Burger-ct-glf/view/template/header.php
/var/www/Burger-ct-glf/view/template/index.php
/var/www/Burger-ct-glf/view/template/menu_left.php
/var/www/Burger-ct-glf/view/template/menu_right.php
/var/www/Burger-ct-glf/view/template/smartphone_connexion_form.php
/var/www/Burger-ct-glf/view/template/smartphone_menu_left.php
/var/www/Burger-ct-glf/view/template/smartphone_menu_right.php
/var/www/Burger-ct-glf/view/welcome/default.php
/var/www/Burger-ct-glf/view/welcome/index.php
/var/www/Burger-ct-glf/view/welcome/login.php
+
+ + + diff --git a/doc/web/finish_8php.html b/doc/web/finish_8php.html new file mode 100644 index 0000000..f5f183e --- /dev/null +++ b/doc/web/finish_8php.html @@ -0,0 +1,100 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/game/finish.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/game/finish.php File Reference

+
+
+ + + + + + +

+Variables

 $game = new game($_GET["game"])
 $infos = point_manager::getInfoByGroupId($game->getGameId())
 $good = point_manager::getGoodAnswer($game->getGameId())
 $nbquestion = point_manager::getNbQuestion($game->getGameId())
+

Variable Documentation

+ +
+
+ + + + +
$game = new game($_GET["game"])
+
+
+ +
+
+ +
+
+ + + + +
$good = point_manager::getGoodAnswer($game->getGameId())
+
+
+ +
+
+ +
+
+ + + + +
$infos = point_manager::getInfoByGroupId($game->getGameId())
+
+
+ +
+
+ +
+
+ + + + +
$nbquestion = point_manager::getNbQuestion($game->getGameId())
+
+
+ +
+
+
+ + + diff --git a/doc/web/formulaire_8php.html b/doc/web/formulaire_8php.html new file mode 100644 index 0000000..9001355 --- /dev/null +++ b/doc/web/formulaire_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/signup/formulaire.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/signup/formulaire.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/ftv2blank.png b/doc/web/ftv2blank.png new file mode 100644 index 0000000..493c3c0 Binary files /dev/null and b/doc/web/ftv2blank.png differ diff --git a/doc/web/ftv2doc.png b/doc/web/ftv2doc.png new file mode 100644 index 0000000..f72999f Binary files /dev/null and b/doc/web/ftv2doc.png differ diff --git a/doc/web/ftv2folderclosed.png b/doc/web/ftv2folderclosed.png new file mode 100644 index 0000000..d6d0634 Binary files /dev/null and b/doc/web/ftv2folderclosed.png differ diff --git a/doc/web/ftv2folderopen.png b/doc/web/ftv2folderopen.png new file mode 100644 index 0000000..bbe2c91 Binary files /dev/null and b/doc/web/ftv2folderopen.png differ diff --git a/doc/web/ftv2lastnode.png b/doc/web/ftv2lastnode.png new file mode 100644 index 0000000..e7b9ba9 Binary files /dev/null and b/doc/web/ftv2lastnode.png differ diff --git a/doc/web/ftv2link.png b/doc/web/ftv2link.png new file mode 100644 index 0000000..14f3fed Binary files /dev/null and b/doc/web/ftv2link.png differ diff --git a/doc/web/ftv2mlastnode.png b/doc/web/ftv2mlastnode.png new file mode 100644 index 0000000..09ceb6a Binary files /dev/null and b/doc/web/ftv2mlastnode.png differ diff --git a/doc/web/ftv2mnode.png b/doc/web/ftv2mnode.png new file mode 100644 index 0000000..3254c05 Binary files /dev/null and b/doc/web/ftv2mnode.png differ diff --git a/doc/web/ftv2node.png b/doc/web/ftv2node.png new file mode 100644 index 0000000..c9f06a5 Binary files /dev/null and b/doc/web/ftv2node.png differ diff --git a/doc/web/ftv2plastnode.png b/doc/web/ftv2plastnode.png new file mode 100644 index 0000000..0b07e00 Binary files /dev/null and b/doc/web/ftv2plastnode.png differ diff --git a/doc/web/ftv2pnode.png b/doc/web/ftv2pnode.png new file mode 100644 index 0000000..2001b79 Binary files /dev/null and b/doc/web/ftv2pnode.png differ diff --git a/doc/web/ftv2vertline.png b/doc/web/ftv2vertline.png new file mode 100644 index 0000000..b330f3a Binary files /dev/null and b/doc/web/ftv2vertline.png differ diff --git a/doc/web/functions.html b/doc/web/functions.html new file mode 100644 index 0000000..eaaa994 --- /dev/null +++ b/doc/web/functions.html @@ -0,0 +1,363 @@ + + + + +BurgerQuizz - Web: Data Fields + + + + + + +
+Here is a list of all struct and union fields with links to the structures/unions they belong to: + +

- $ -

+ + +

- _ -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

    +
  • exist() +: user +
  • +
+ + +

- g -

+ + +

- i -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+
+ + + diff --git a/doc/web/functions_func.html b/doc/web/functions_func.html new file mode 100644 index 0000000..46fc2b8 --- /dev/null +++ b/doc/web/functions_func.html @@ -0,0 +1,328 @@ + + + + +BurgerQuizz - Web: Data Fields - Functions + + + + + + +
+  + +

- _ -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

    +
  • exist() +: user +
  • +
+ + +

- g -

+ + +

- i -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+
+ + + diff --git a/doc/web/functions_vars.html b/doc/web/functions_vars.html new file mode 100644 index 0000000..1a3ad26 --- /dev/null +++ b/doc/web/functions_vars.html @@ -0,0 +1,74 @@ + + + + +BurgerQuizz - Web: Data Fields - Variables + + + + + + +
+
+ + + diff --git a/doc/web/game_2error_8php.html b/doc/web/game_2error_8php.html new file mode 100644 index 0000000..5372c79 --- /dev/null +++ b/doc/web/game_2error_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/game/error.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/game/error.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/game_8php.html b/doc/web/game_8php.html new file mode 100644 index 0000000..272c63c --- /dev/null +++ b/doc/web/game_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/metier/game.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/metier/game.php File Reference

+
+
+ + + +

+Data Structures

class  game
+
+ + + diff --git a/doc/web/game__dao_8php.html b/doc/web/game__dao_8php.html new file mode 100644 index 0000000..ed8e855 --- /dev/null +++ b/doc/web/game__dao_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/game_dao.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/game_dao.php File Reference

+
+
+ + + +

+Data Structures

class  game_dao
+
+ + + diff --git a/doc/web/games_8php.html b/doc/web/games_8php.html new file mode 100644 index 0000000..26f702b --- /dev/null +++ b/doc/web/games_8php.html @@ -0,0 +1,86 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/games.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/account/games.php File Reference

+
+
+ + + + + +

+Variables

 $user = "user"]
 $dao = new game_dao()
 $games = $dao->selectByLogin($user->getLogin())
+

Variable Documentation

+ +
+
+ + + + +
$dao = new game_dao()
+
+
+ +
+
+ +
+
+ + + + +
$games = $dao->selectByLogin($user->getLogin())
+
+
+ +
+
+ +
+
+ + + + +
$user = "user"]
+
+
+ +
+
+
+ + + diff --git a/doc/web/globalrank_8php.html b/doc/web/globalrank_8php.html new file mode 100644 index 0000000..5f13e3e --- /dev/null +++ b/doc/web/globalrank_8php.html @@ -0,0 +1,86 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/rank/globalrank.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/rank/globalrank.php File Reference

+
+
+ + + + + +

+Variables

 $players = point_manager::getAllPlayer()
 $storage = array()
 $i = 0
+

Variable Documentation

+ +
+
+ + + + +
$i = 0
+
+
+ +
+
+ +
+
+ + + + +
$players = point_manager::getAllPlayer()
+
+
+ +
+
+ +
+
+ + + + +
$storage = array()
+
+
+ +
+
+
+ + + diff --git a/doc/web/globals.html b/doc/web/globals.html new file mode 100644 index 0000000..3e9648a --- /dev/null +++ b/doc/web/globals.html @@ -0,0 +1,151 @@ + + + + +BurgerQuizz - Web: Data Fields + + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: + +

- $ -

+ + +

- c -

+ + +

- e -

+ + +

- i -

+ + +

- s -

+
+ + + diff --git a/doc/web/globals_func.html b/doc/web/globals_func.html new file mode 100644 index 0000000..d1490d4 --- /dev/null +++ b/doc/web/globals_func.html @@ -0,0 +1,54 @@ + + + + +BurgerQuizz - Web: Data Fields + + + + + + +
+
+ + + diff --git a/doc/web/globals_vars.html b/doc/web/globals_vars.html new file mode 100644 index 0000000..2bb56ed --- /dev/null +++ b/doc/web/globals_vars.html @@ -0,0 +1,112 @@ + + + + +BurgerQuizz - Web: Data Fields + + + + + + +
+
+ + + diff --git a/doc/web/groupe_8php.html b/doc/web/groupe_8php.html new file mode 100644 index 0000000..ada46f5 --- /dev/null +++ b/doc/web/groupe_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/metier/groupe.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/metier/groupe.php File Reference

+
+
+ + + +

+Data Structures

class  groupe
+
+ + + diff --git a/doc/web/groupe__dao_8php.html b/doc/web/groupe__dao_8php.html new file mode 100644 index 0000000..9cc1cff --- /dev/null +++ b/doc/web/groupe__dao_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/groupe_dao.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/groupe_dao.php File Reference

+
+
+ + + +

+Data Structures

class  groupe_dao
+
+ + + diff --git a/doc/web/header_8php.html b/doc/web/header_8php.html new file mode 100644 index 0000000..7b8edb1 --- /dev/null +++ b/doc/web/header_8php.html @@ -0,0 +1,72 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/header.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/template/header.php File Reference

+
+
+ + + + +

+Variables

 $motos = file("moto.txt")
 $index = rand(0, count($motos) - 1)
+

Variable Documentation

+ +
+
+ + + + +
$index = rand(0, count($motos) - 1)
+
+
+ +
+
+ +
+
+ + + + +
$motos = file("moto.txt")
+
+
+ +
+
+
+ + + diff --git a/doc/web/hierarchy.html b/doc/web/hierarchy.html new file mode 100644 index 0000000..e38c627 --- /dev/null +++ b/doc/web/hierarchy.html @@ -0,0 +1,61 @@ + + + + +BurgerQuizz - Web: Hierarchical Index + + + + + + +
+
+

Class Hierarchy

+
+
+This inheritance list is sorted roughly, but not completely, alphabetically: +
+ + + diff --git a/doc/web/index.html b/doc/web/index.html new file mode 100644 index 0000000..ae805c6 --- /dev/null +++ b/doc/web/index.html @@ -0,0 +1,16 @@ + + + + +BurgerQuizz - Web + + + + + + <body> + <a href="main.html">Frames are disabled. Click here to go to the main page.</a> + </body> + + + diff --git a/doc/web/index_8php.html b/doc/web/index_8php.html new file mode 100644 index 0000000..25f231b --- /dev/null +++ b/doc/web/index_8php.html @@ -0,0 +1,58 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/index.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/index.php File Reference

+
+
+ + + +

+Variables

 $controlleur = controller::get()
+

Variable Documentation

+ +
+
+ + + + +
$controlleur = controller::get()
+
+
+ +
+
+
+ + + diff --git a/doc/web/installdox b/doc/web/installdox new file mode 100755 index 0000000..2697a81 --- /dev/null +++ b/doc/web/installdox @@ -0,0 +1,117 @@ +#!/usr/bin/perl + +%subst = ( ); +$quiet = 0; + +if (open(F,"search.cfg")) +{ + $_= ; s/[ \t\n]*$//g ; $subst{"_doc"} = $_; + $_= ; s/[ \t\n]*$//g ; $subst{"_cgi"} = $_; +} + +while ( @ARGV ) { + $_ = shift @ARGV; + if ( s/^-// ) { + if ( /^l(.*)/ ) { + $v = ($1 eq "") ? shift @ARGV : $1; + ($v =~ /\/$/) || ($v .= "/"); + $_ = $v; + if ( /(.+)\@(.+)/ ) { + if ( exists $subst{$1} ) { + $subst{$1} = $2; + } else { + print STDERR "Unknown tag file $1 given with option -l\n"; + &usage(); + } + } else { + print STDERR "Argument $_ is invalid for option -l\n"; + &usage(); + } + } + elsif ( /^q/ ) { + $quiet = 1; + } + elsif ( /^\?|^h/ ) { + &usage(); + } + else { + print STDERR "Illegal option -$_\n"; + &usage(); + } + } + else { + push (@files, $_ ); + } +} + +foreach $sub (keys %subst) +{ + if ( $subst{$sub} eq "" ) + { + print STDERR "No substitute given for tag file `$sub'\n"; + &usage(); + } + elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) + { + print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; + } +} + +if ( ! @files ) { + if (opendir(D,".")) { + foreach $file ( readdir(D) ) { + $match = ".html"; + next if ( $file =~ /^\.\.?$/ ); + ($file =~ /$match/) && (push @files, $file); + ($file =~ "tree.js") && (push @files, $file); + } + closedir(D); + } +} + +if ( ! @files ) { + print STDERR "Warning: No input files given and none found!\n"; +} + +foreach $f (@files) +{ + if ( ! $quiet ) { + print "Editing: $f...\n"; + } + $oldf = $f; + $f .= ".bak"; + unless (rename $oldf,$f) { + print STDERR "Error: cannot rename file $oldf\n"; + exit 1; + } + if (open(F,"<$f")) { + unless (open(G,">$oldf")) { + print STDERR "Error: opening file $oldf for writing\n"; + exit 1; + } + if ($oldf ne "tree.js") { + while () { + s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; + print G "$_"; + } + } + else { + while () { + s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; + print G "$_"; + } + } + } + else { + print STDERR "Warning file $f does not exist\n"; + } + unlink $f; +} + +sub usage { + print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; + print STDERR "Options:\n"; + print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; + print STDERR " -q Quiet mode\n\n"; + exit 1; +} diff --git a/doc/web/login_8php.html b/doc/web/login_8php.html new file mode 100644 index 0000000..5168001 --- /dev/null +++ b/doc/web/login_8php.html @@ -0,0 +1,86 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/welcome/login.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/welcome/login.php File Reference

+
+
+ + + + + +

+Variables

 $login = "login"]
 $password = "mdp"]
 $user = new user($login)
+

Variable Documentation

+ +
+
+ + + + +
$login = "login"]
+
+
+ +
+
+ +
+
+ + + + +
$password = "mdp"]
+
+
+ +
+
+ +
+
+ + + + +
$user = new user($login)
+
+
+ +
+
+
+ + + diff --git a/doc/web/login__exist_8php.html b/doc/web/login__exist_8php.html new file mode 100644 index 0000000..d1ebd14 --- /dev/null +++ b/doc/web/login__exist_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/signup/login_exist.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/signup/login_exist.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/logout_2error_8php.html b/doc/web/logout_2error_8php.html new file mode 100644 index 0000000..944e472 --- /dev/null +++ b/doc/web/logout_2error_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/logout/error.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/logout/error.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/logout_2success_8php.html b/doc/web/logout_2success_8php.html new file mode 100644 index 0000000..6ab1825 --- /dev/null +++ b/doc/web/logout_2success_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/logout/success.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/logout/success.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/mail__error_8php.html b/doc/web/mail__error_8php.html new file mode 100644 index 0000000..35c2f9e --- /dev/null +++ b/doc/web/mail__error_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/signup/mail_error.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/signup/mail_error.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/main.html b/doc/web/main.html new file mode 100644 index 0000000..204b1eb --- /dev/null +++ b/doc/web/main.html @@ -0,0 +1,31 @@ + + + + +BurgerQuizz - Web: Main Page + + + + + + +
+
+

BurgerQuizz - Web Documentation

+
+
+
+ + + diff --git a/doc/web/menu__left_8php.html b/doc/web/menu__left_8php.html new file mode 100644 index 0000000..52326ce --- /dev/null +++ b/doc/web/menu__left_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/menu_left.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/template/menu_left.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/menu__right_8php.html b/doc/web/menu__right_8php.html new file mode 100644 index 0000000..99c4942 --- /dev/null +++ b/doc/web/menu__right_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/menu_right.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/template/menu_right.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/metier_2question_8php.html b/doc/web/metier_2question_8php.html new file mode 100644 index 0000000..63ae95f --- /dev/null +++ b/doc/web/metier_2question_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/metier/question.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/metier/question.php File Reference

+
+
+ + + +

+Data Structures

class  question
+
+ + + diff --git a/doc/web/mysql_1host-example.html b/doc/web/mysql_1host-example.html new file mode 100644 index 0000000..e40f864 --- /dev/null +++ b/doc/web/mysql_1host-example.html @@ -0,0 +1,33 @@ + + + + +BurgerQuizz - Web: mysql:host + + + + + + +
+
+

mysql:host

+
+
+

Adresse de la BDD =127.0.0.1; dbname=burgerquizz

+
+
+ + + diff --git a/doc/web/name__error_8php.html b/doc/web/name__error_8php.html new file mode 100644 index 0000000..f57d29f --- /dev/null +++ b/doc/web/name__error_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/signup/name_error.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/signup/name_error.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/nav_f.png b/doc/web/nav_f.png new file mode 100644 index 0000000..1b07a16 Binary files /dev/null and b/doc/web/nav_f.png differ diff --git a/doc/web/nav_h.png b/doc/web/nav_h.png new file mode 100644 index 0000000..01f5fa6 Binary files /dev/null and b/doc/web/nav_h.png differ diff --git a/doc/web/not__connected_8php.html b/doc/web/not__connected_8php.html new file mode 100644 index 0000000..2851518 --- /dev/null +++ b/doc/web/not__connected_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/not_connected.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/account/not_connected.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/notconnected_8php.html b/doc/web/notconnected_8php.html new file mode 100644 index 0000000..7307f84 --- /dev/null +++ b/doc/web/notconnected_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/game/notconnected.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/game/notconnected.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/open.png b/doc/web/open.png new file mode 100644 index 0000000..7b35d2c Binary files /dev/null and b/doc/web/open.png differ diff --git a/doc/web/param_8php.html b/doc/web/param_8php.html new file mode 100644 index 0000000..a497abc --- /dev/null +++ b/doc/web/param_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/param.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/account/param.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/point__manager_8php.html b/doc/web/point__manager_8php.html new file mode 100644 index 0000000..5ddf8c0 --- /dev/null +++ b/doc/web/point__manager_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/point_manager.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/point_manager.php File Reference

+
+
+ + + +

+Data Structures

class  point_manager
+
+ + + diff --git a/doc/web/pwd__error_8php.html b/doc/web/pwd__error_8php.html new file mode 100644 index 0000000..3f5326d --- /dev/null +++ b/doc/web/pwd__error_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/signup/pwd_error.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/signup/pwd_error.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/question__dao_8php.html b/doc/web/question__dao_8php.html new file mode 100644 index 0000000..5869899 --- /dev/null +++ b/doc/web/question__dao_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/question_dao.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/question_dao.php File Reference

+
+
+ + + +

+Data Structures

class  question_dao
+
+ + + diff --git a/doc/web/rank_2default_8php.html b/doc/web/rank_2default_8php.html new file mode 100644 index 0000000..4a43f93 --- /dev/null +++ b/doc/web/rank_2default_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/rank/default.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/rank/default.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/ranker_8php.html b/doc/web/ranker_8php.html new file mode 100644 index 0000000..66795f6 --- /dev/null +++ b/doc/web/ranker_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/metier/ranker.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/metier/ranker.php File Reference

+
+
+ + + +

+Data Structures

class  ranker
+
+ + + diff --git a/doc/web/reponse__user_8php.html b/doc/web/reponse__user_8php.html new file mode 100644 index 0000000..6cc12bb --- /dev/null +++ b/doc/web/reponse__user_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/metier/reponse_user.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/metier/reponse_user.php File Reference

+
+
+ + + +

+Data Structures

class  reponse_user
+
+ + + diff --git a/doc/web/reponse__user__dao_8php.html b/doc/web/reponse__user__dao_8php.html new file mode 100644 index 0000000..3e79c80 --- /dev/null +++ b/doc/web/reponse__user__dao_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/reponse_user_dao.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/reponse_user_dao.php File Reference

+
+
+ + + +

+Data Structures

class  reponse_user_dao
+
+ + + diff --git a/doc/web/run_8php.html b/doc/web/run_8php.html new file mode 100644 index 0000000..5cf15cf --- /dev/null +++ b/doc/web/run_8php.html @@ -0,0 +1,72 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/game/run.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/game/run.php File Reference

+
+
+ + + + +

+Variables

 $questions = $group->getQuestion()
foreach($questions as $question$i = 0
+

Variable Documentation

+ +
+
+ + + + +
foreach ($questions as $question) $i = 0
+
+
+ +
+
+ +
+
+ + + + +
$questions = $group->getQuestion()
+
+
+ +
+
+
+ + + diff --git a/doc/web/search/all_24.html b/doc/web/search/all_24.html new file mode 100644 index 0000000..e861844 --- /dev/null +++ b/doc/web/search/all_24.html @@ -0,0 +1,208 @@ + + + + + + + +
+
Loading...
+
+
+ $bdd_address + config +
+
+
+
+ $bdd_password + config +
+
+
+
+ $bdd_user + config +
+
+
+
+ $cats + categories.php +
+
+
+
+ $controlleur + index.php +
+
+ +
+
+ $data + update.php +
+
+
+
+ $db + dao +
+
+
+
+ $debug + config +
+
+
+
+ $decok + index.php +
+
+
+
+ $game + finish.php +
+
+
+
+ $games + games.php +
+
+
+
+ $good + finish.php +
+
+ +
+
+ $index + header.php +
+
+
+
+ $infos + finish.php +
+
+
+
+ $length + ranker +
+
+
+
+ $login + login.php +
+
+
+
+ $motos + header.php +
+
+
+
+ $nb_game + ranker +
+
+
+
+ $nbquestion + finish.php +
+
+
+
+ $new_pwd + update.php +
+
+
+
+ $pages + config +
+
+
+
+ $password + login.php +
+
+
+
+ $players + globalrank.php +
+
+
+
+ $point + ranker +
+
+
+
+ $questions + run.php +
+
+
+
+ $storage + globalrank.php +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_34.html b/doc/web/search/all_34.html new file mode 100644 index 0000000..a197c38 --- /dev/null +++ b/doc/web/search/all_34.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ 404.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_35.html b/doc/web/search/all_35.html new file mode 100644 index 0000000..e3f0282 --- /dev/null +++ b/doc/web/search/all_35.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ 500.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_5f.html b/doc/web/search/all_5f.html new file mode 100644 index 0000000..31ae02c --- /dev/null +++ b/doc/web/search/all_5f.html @@ -0,0 +1,34 @@ + + + + + + + +
+
Loading...
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_62.html b/doc/web/search/all_62.html new file mode 100644 index 0000000..394f933 --- /dev/null +++ b/doc/web/search/all_62.html @@ -0,0 +1,47 @@ + + + + + + + +
+
Loading...
+
+
+ bdd +
+
+
+
+ bdd.php +
+
+
+
+ buildCat + ranker +
+
+
+
+ buildGlobal + ranker +
+
+
+
+ bycat.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_63.html b/doc/web/search/all_63.html new file mode 100644 index 0000000..d638351 --- /dev/null +++ b/doc/web/search/all_63.html @@ -0,0 +1,89 @@ + + + + + + + +
+
Loading...
+
+
+ cat_dao +
+
+
+ +
+ +
+
+ checkstate + index.php +
+
+
+
+ config +
+
+
+ +
+ +
+ +
+ +
+
+ core.php +
+
+
+
+ count + groupe_dao +
+
+
+
+ countAll + groupe_dao +
+
+
+
+ countGame + game_dao +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_64.html b/doc/web/search/all_64.html new file mode 100644 index 0000000..5efaa50 --- /dev/null +++ b/doc/web/search/all_64.html @@ -0,0 +1,69 @@ + + + + + + + +
+
Loading...
+
+
+ dao +
+
+
+
+ dao.php +
+
+
+ +
+
+ +
+
+ +
+ +
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_65.html b/doc/web/search/all_65.html new file mode 100644 index 0000000..17a4f45 --- /dev/null +++ b/doc/web/search/all_65.html @@ -0,0 +1,47 @@ + + + + + + + +
+
Loading...
+ +
+
+ endGame + index.php +
+
+
+
+ error.php +
+
+
+
+ error.php +
+
+
+
+ exist + user +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_66.html b/doc/web/search/all_66.html new file mode 100644 index 0000000..71a01be --- /dev/null +++ b/doc/web/search/all_66.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_67.html b/doc/web/search/all_67.html new file mode 100644 index 0000000..5310495 --- /dev/null +++ b/doc/web/search/all_67.html @@ -0,0 +1,293 @@ + + + + + + + +
+
Loading...
+
+
+ game +
+
+
+
+ game.php +
+
+
+
+ game_dao +
+
+
+ +
+
+
+ games.php +
+
+
+
+ get + controller +
+
+
+
+ getAllCat + cat_dao +
+
+
+
+ getAllPlayer + point_manager +
+
+
+
+ getCategorie + groupe +
+
+
+
+ getDate + game +
+
+
+
+ getGame + reponse_user +
+
+
+
+ getGameByLoginByCat + point_manager +
+
+
+
+ getGameId + game +
+
+
+
+ getGamePoint + point_manager +
+
+
+
+ getGames + user +
+
+
+
+ getGamesByLogin + point_manager +
+
+
+
+ getGoodAnswer + point_manager +
+
+
+
+ getGroupId + question +
+
+ +
+
+ getInfoByGroupId + point_manager +
+
+
+
+ getInstance + bdd +
+
+
+
+ getLastId + game_dao +
+
+ +
+
+ getLengthByGame + point_manager +
+
+
+
+ getLogin + user +
+
+
+
+ getMail + user +
+
+
+
+ getNbGame + ranker +
+
+
+
+ getNbQuestion + point_manager +
+
+
+
+ getNom + user +
+
+
+
+ getPassword + user +
+
+
+
+ getPDO + bdd +
+
+
+
+ getPoint + ranker +
+
+
+
+ getPrenom + user +
+
+ + +
+
+ getReponse_0 + groupe +
+
+
+
+ getReponse_1 + groupe +
+
+
+
+ getReponses + game +
+
+
+
+ getUser + ranker +
+
+
+
+ getUserLogin + game +
+
+ +
+
+ groupe +
+
+
+ +
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_68.html b/doc/web/search/all_68.html new file mode 100644 index 0000000..85eaefc --- /dev/null +++ b/doc/web/search/all_68.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_69.html b/doc/web/search/all_69.html new file mode 100644 index 0000000..beed3ec --- /dev/null +++ b/doc/web/search/all_69.html @@ -0,0 +1,92 @@ + + + + + + + +
+
Loading...
+
+
+ if + question.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ init + controller +
+
+ +
+
+ isNull + user +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_6c.html b/doc/web/search/all_6c.html new file mode 100644 index 0000000..562ed9a --- /dev/null +++ b/doc/web/search/all_6c.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+
+ login.php +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_6d.html b/doc/web/search/all_6d.html new file mode 100644 index 0000000..f91edaa --- /dev/null +++ b/doc/web/search/all_6d.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+ +
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_6e.html b/doc/web/search/all_6e.html new file mode 100644 index 0000000..4b88408 --- /dev/null +++ b/doc/web/search/all_6e.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+ + + +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_70.html b/doc/web/search/all_70.html new file mode 100644 index 0000000..7c07643 --- /dev/null +++ b/doc/web/search/all_70.html @@ -0,0 +1,46 @@ + + + + + + + +
+
Loading...
+
+
+ param.php +
+
+
+ +
+ +
+
+ pointsort + sort_manager +
+
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_71.html b/doc/web/search/all_71.html new file mode 100644 index 0000000..7238d56 --- /dev/null +++ b/doc/web/search/all_71.html @@ -0,0 +1,45 @@ + + + + + + + +
+
Loading...
+
+
+ question +
+
+
+ +
+
+ +
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_72.html b/doc/web/search/all_72.html new file mode 100644 index 0000000..cececc6 --- /dev/null +++ b/doc/web/search/all_72.html @@ -0,0 +1,67 @@ + + + + + + + +
+
Loading...
+
+
+ ranker +
+
+
+ +
+
+
+ render + controller +
+
+
+ +
+ + + +
+
+ route + controller +
+
+
+
+ run.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_73.html b/doc/web/search/all_73.html new file mode 100644 index 0000000..ca81b99 --- /dev/null +++ b/doc/web/search/all_73.html @@ -0,0 +1,153 @@ + + + + + + + +
+
Loading...
+
+
+ saveGame + game +
+
+
+
+ saveUser + user +
+
+
+
+ saveUserNoPassword + user +
+
+ +
+
+ selectByCat + groupe_dao +
+
+
+
+ selectByGroup + question_dao +
+
+
+
+ selectByLogin + game_dao +
+
+
+
+ setGame + reponse_user +
+
+
+
+ setGameId + game +
+
+
+
+ setMail + user +
+
+
+
+ setNom + user +
+
+
+
+ setPassword + user +
+
+
+
+ setPrenom + user +
+
+
+
+ showCategories + index.php +
+
+
+
+ showQuestion + index.php +
+
+ + + +
+ +
+ +
+ +
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/all_75.html b/doc/web/search/all_75.html new file mode 100644 index 0000000..9633af6 --- /dev/null +++ b/doc/web/search/all_75.html @@ -0,0 +1,65 @@ + + + + + + + +
+
Loading...
+ +
+ +
+
+
+ updateNoPassword + user_dao +
+
+
+
+ user +
+
+
+
+ user.php +
+
+
+
+ user_dao +
+
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_62.html b/doc/web/search/classes_62.html new file mode 100644 index 0000000..8bc12ac --- /dev/null +++ b/doc/web/search/classes_62.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ bdd +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_63.html b/doc/web/search/classes_63.html new file mode 100644 index 0000000..b5ff1d7 --- /dev/null +++ b/doc/web/search/classes_63.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+
+
+ cat_dao +
+
+
+
+ config +
+
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_64.html b/doc/web/search/classes_64.html new file mode 100644 index 0000000..b450369 --- /dev/null +++ b/doc/web/search/classes_64.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ dao +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_67.html b/doc/web/search/classes_67.html new file mode 100644 index 0000000..6ccf61a --- /dev/null +++ b/doc/web/search/classes_67.html @@ -0,0 +1,40 @@ + + + + + + + +
+
Loading...
+
+
+ game +
+
+
+
+ game_dao +
+
+
+
+ groupe +
+
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_70.html b/doc/web/search/classes_70.html new file mode 100644 index 0000000..ad0d4b7 --- /dev/null +++ b/doc/web/search/classes_70.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_71.html b/doc/web/search/classes_71.html new file mode 100644 index 0000000..4055b37 --- /dev/null +++ b/doc/web/search/classes_71.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+
+ question +
+
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_72.html b/doc/web/search/classes_72.html new file mode 100644 index 0000000..fef1c09 --- /dev/null +++ b/doc/web/search/classes_72.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+
+
+ ranker +
+
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_73.html b/doc/web/search/classes_73.html new file mode 100644 index 0000000..92acc5c --- /dev/null +++ b/doc/web/search/classes_73.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/classes_75.html b/doc/web/search/classes_75.html new file mode 100644 index 0000000..f4bbd92 --- /dev/null +++ b/doc/web/search/classes_75.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+
+ user +
+
+
+
+ user_dao +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/close.png b/doc/web/search/close.png new file mode 100644 index 0000000..9342d3d Binary files /dev/null and b/doc/web/search/close.png differ diff --git a/doc/web/search/files_34.html b/doc/web/search/files_34.html new file mode 100644 index 0000000..a197c38 --- /dev/null +++ b/doc/web/search/files_34.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ 404.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_35.html b/doc/web/search/files_35.html new file mode 100644 index 0000000..e3f0282 --- /dev/null +++ b/doc/web/search/files_35.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ 500.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_62.html b/doc/web/search/files_62.html new file mode 100644 index 0000000..0e43bc8 --- /dev/null +++ b/doc/web/search/files_62.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+
+ bdd.php +
+
+
+
+ bycat.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_63.html b/doc/web/search/files_63.html new file mode 100644 index 0000000..527febf --- /dev/null +++ b/doc/web/search/files_63.html @@ -0,0 +1,50 @@ + + + + + + + +
+
Loading...
+
+ +
+ +
+ +
+ + +
+
+ core.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_64.html b/doc/web/search/files_64.html new file mode 100644 index 0000000..7c95517 --- /dev/null +++ b/doc/web/search/files_64.html @@ -0,0 +1,50 @@ + + + + + + + +
+
Loading...
+
+
+ dao.php +
+
+
+ +
+
+ +
+
+ +
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_65.html b/doc/web/search/files_65.html new file mode 100644 index 0000000..c50348b --- /dev/null +++ b/doc/web/search/files_65.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+ +
+
+ error.php +
+
+
+
+ error.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_66.html b/doc/web/search/files_66.html new file mode 100644 index 0000000..71a01be --- /dev/null +++ b/doc/web/search/files_66.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_67.html b/doc/web/search/files_67.html new file mode 100644 index 0000000..44f000e --- /dev/null +++ b/doc/web/search/files_67.html @@ -0,0 +1,50 @@ + + + + + + + +
+
Loading...
+
+
+ game.php +
+
+
+ +
+
+
+ games.php +
+
+ +
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_68.html b/doc/web/search/files_68.html new file mode 100644 index 0000000..85eaefc --- /dev/null +++ b/doc/web/search/files_68.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_69.html b/doc/web/search/files_69.html new file mode 100644 index 0000000..d709e28 --- /dev/null +++ b/doc/web/search/files_69.html @@ -0,0 +1,60 @@ + + + + + + + +
+
Loading...
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
+
+ index.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_6c.html b/doc/web/search/files_6c.html new file mode 100644 index 0000000..562ed9a --- /dev/null +++ b/doc/web/search/files_6c.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+
+
+ login.php +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_6d.html b/doc/web/search/files_6d.html new file mode 100644 index 0000000..f91edaa --- /dev/null +++ b/doc/web/search/files_6d.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+ +
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_6e.html b/doc/web/search/files_6e.html new file mode 100644 index 0000000..4b88408 --- /dev/null +++ b/doc/web/search/files_6e.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+ + + +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_70.html b/doc/web/search/files_70.html new file mode 100644 index 0000000..ff5ca9a --- /dev/null +++ b/doc/web/search/files_70.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+
+
+ param.php +
+
+ +
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_71.html b/doc/web/search/files_71.html new file mode 100644 index 0000000..965dc47 --- /dev/null +++ b/doc/web/search/files_71.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+
+ +
+
+ +
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_72.html b/doc/web/search/files_72.html new file mode 100644 index 0000000..ef5f121 --- /dev/null +++ b/doc/web/search/files_72.html @@ -0,0 +1,40 @@ + + + + + + + +
+
Loading...
+
+ +
+ + +
+
+ run.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_73.html b/doc/web/search/files_73.html new file mode 100644 index 0000000..01f2240 --- /dev/null +++ b/doc/web/search/files_73.html @@ -0,0 +1,50 @@ + + + + + + + +
+
Loading...
+ + + + +
+ +
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/files_75.html b/doc/web/search/files_75.html new file mode 100644 index 0000000..f881b18 --- /dev/null +++ b/doc/web/search/files_75.html @@ -0,0 +1,35 @@ + + + + + + + +
+
Loading...
+
+ +
+
+
+ user.php +
+
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_5f.html b/doc/web/search/functions_5f.html new file mode 100644 index 0000000..31ae02c --- /dev/null +++ b/doc/web/search/functions_5f.html @@ -0,0 +1,34 @@ + + + + + + + +
+
Loading...
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_62.html b/doc/web/search/functions_62.html new file mode 100644 index 0000000..736e2f3 --- /dev/null +++ b/doc/web/search/functions_62.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ buildCat + ranker +
+
+
+
+ buildGlobal + ranker +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_63.html b/doc/web/search/functions_63.html new file mode 100644 index 0000000..50af49b --- /dev/null +++ b/doc/web/search/functions_63.html @@ -0,0 +1,44 @@ + + + + + + + +
+
Loading...
+
+
+ checkstate + index.php +
+
+
+
+ count + groupe_dao +
+
+
+
+ countAll + groupe_dao +
+
+
+
+ countGame + game_dao +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_64.html b/doc/web/search/functions_64.html new file mode 100644 index 0000000..b694480 --- /dev/null +++ b/doc/web/search/functions_64.html @@ -0,0 +1,34 @@ + + + + + + + +
+
Loading...
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_65.html b/doc/web/search/functions_65.html new file mode 100644 index 0000000..a03c67c --- /dev/null +++ b/doc/web/search/functions_65.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ endGame + index.php +
+
+
+
+ exist + user +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_67.html b/doc/web/search/functions_67.html new file mode 100644 index 0000000..8aba4f0 --- /dev/null +++ b/doc/web/search/functions_67.html @@ -0,0 +1,243 @@ + + + + + + + +
+
Loading...
+
+
+ get + controller +
+
+
+
+ getAllCat + cat_dao +
+
+
+
+ getAllPlayer + point_manager +
+
+
+
+ getCategorie + groupe +
+
+
+
+ getDate + game +
+
+
+
+ getGame + reponse_user +
+
+
+
+ getGameByLoginByCat + point_manager +
+
+
+
+ getGameId + game +
+
+
+
+ getGamePoint + point_manager +
+
+
+
+ getGames + user +
+
+
+
+ getGamesByLogin + point_manager +
+
+
+
+ getGoodAnswer + point_manager +
+
+
+
+ getGroupId + question +
+
+ +
+
+ getInfoByGroupId + point_manager +
+
+
+
+ getInstance + bdd +
+
+
+
+ getLastId + game_dao +
+
+ +
+
+ getLengthByGame + point_manager +
+
+
+
+ getLogin + user +
+
+
+
+ getMail + user +
+
+
+
+ getNbGame + ranker +
+
+
+
+ getNbQuestion + point_manager +
+
+
+
+ getNom + user +
+
+
+
+ getPassword + user +
+
+
+
+ getPDO + bdd +
+
+
+
+ getPoint + ranker +
+
+
+
+ getPrenom + user +
+
+ + +
+
+ getReponse_0 + groupe +
+
+
+
+ getReponse_1 + groupe +
+
+
+
+ getReponses + game +
+
+
+
+ getUser + ranker +
+
+
+
+ getUserLogin + game +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_69.html b/doc/web/search/functions_69.html new file mode 100644 index 0000000..7f2914b --- /dev/null +++ b/doc/web/search/functions_69.html @@ -0,0 +1,46 @@ + + + + + + + +
+
Loading...
+
+
+ init + controller +
+
+ +
+
+ isNull + user +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_70.html b/doc/web/search/functions_70.html new file mode 100644 index 0000000..8d7b113 --- /dev/null +++ b/doc/web/search/functions_70.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ pointsort + sort_manager +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_72.html b/doc/web/search/functions_72.html new file mode 100644 index 0000000..c16727c --- /dev/null +++ b/doc/web/search/functions_72.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ render + controller +
+
+
+
+ route + controller +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_73.html b/doc/web/search/functions_73.html new file mode 100644 index 0000000..e23ef88 --- /dev/null +++ b/doc/web/search/functions_73.html @@ -0,0 +1,118 @@ + + + + + + + +
+
Loading...
+
+
+ saveGame + game +
+
+
+
+ saveUser + user +
+
+
+
+ saveUserNoPassword + user +
+
+ +
+
+ selectByCat + groupe_dao +
+
+
+
+ selectByGroup + question_dao +
+
+
+
+ selectByLogin + game_dao +
+
+
+
+ setGame + reponse_user +
+
+
+
+ setGameId + game +
+
+
+
+ setMail + user +
+
+
+
+ setNom + user +
+
+
+
+ setPassword + user +
+
+
+
+ setPrenom + user +
+
+
+
+ showCategories + index.php +
+
+
+
+ showQuestion + index.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/functions_75.html b/doc/web/search/functions_75.html new file mode 100644 index 0000000..654c1ec --- /dev/null +++ b/doc/web/search/functions_75.html @@ -0,0 +1,40 @@ + + + + + + + +
+
Loading...
+ +
+
+ updateNoPassword + user_dao +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/mag_sel.png b/doc/web/search/mag_sel.png new file mode 100644 index 0000000..81f6040 Binary files /dev/null and b/doc/web/search/mag_sel.png differ diff --git a/doc/web/search/nomatches.html b/doc/web/search/nomatches.html new file mode 100644 index 0000000..b1ded27 --- /dev/null +++ b/doc/web/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/doc/web/search/search.css b/doc/web/search/search.css new file mode 100644 index 0000000..50249e5 --- /dev/null +++ b/doc/web/search/search.css @@ -0,0 +1,240 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#searchli { + float: right; + display: block; + width: 170px; + height: 36px; +} + +#MSearchBox { + white-space : nowrap; + position: absolute; + float: none; + display: inline; + margin-top: 8px; + right: 0px; + width: 170px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:116px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:0px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} diff --git a/doc/web/search/search.js b/doc/web/search/search.js new file mode 100644 index 0000000..9ba0929 --- /dev/null +++ b/doc/web/search/search.js @@ -0,0 +1,734 @@ +// Search script generated by doxygen +// Copyright (C) 2009 by Dimitri van Heesch. + +// The code in this file is loosly based on main.js, part of Natural Docs, +// which is Copyright (C) 2003-2008 Greg Valure +// Natural Docs is licensed under the GPL. + +var indexSectionsWithContent = +{ + 0: "0000000000000000000000000000000000001000000000000000110000000000000000000000000000000000000000010011111111001110111101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100100000000111101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 2: "0000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000011111111001110111101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010011110101000000101101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 4: "0000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions", + 4: "variables" +}; + +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var hexCode; + if (code<16) + { + hexCode="0"+code.toString(16); + } + else + { + hexCode=code.toString(16); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') + { + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location.href = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} diff --git a/doc/web/search/search_l.png b/doc/web/search/search_l.png new file mode 100644 index 0000000..c872f4d Binary files /dev/null and b/doc/web/search/search_l.png differ diff --git a/doc/web/search/search_m.png b/doc/web/search/search_m.png new file mode 100644 index 0000000..b429a16 Binary files /dev/null and b/doc/web/search/search_m.png differ diff --git a/doc/web/search/search_r.png b/doc/web/search/search_r.png new file mode 100644 index 0000000..97ee8b4 Binary files /dev/null and b/doc/web/search/search_r.png differ diff --git a/doc/web/search/variables_24.html b/doc/web/search/variables_24.html new file mode 100644 index 0000000..e861844 --- /dev/null +++ b/doc/web/search/variables_24.html @@ -0,0 +1,208 @@ + + + + + + + +
+
Loading...
+
+
+ $bdd_address + config +
+
+
+
+ $bdd_password + config +
+
+
+
+ $bdd_user + config +
+
+
+
+ $cats + categories.php +
+
+
+
+ $controlleur + index.php +
+
+ +
+
+ $data + update.php +
+
+
+
+ $db + dao +
+
+
+
+ $debug + config +
+
+
+
+ $decok + index.php +
+
+
+
+ $game + finish.php +
+
+
+
+ $games + games.php +
+
+
+
+ $good + finish.php +
+
+ +
+
+ $index + header.php +
+
+
+
+ $infos + finish.php +
+
+
+
+ $length + ranker +
+
+
+
+ $login + login.php +
+
+
+
+ $motos + header.php +
+
+
+
+ $nb_game + ranker +
+
+
+
+ $nbquestion + finish.php +
+
+
+
+ $new_pwd + update.php +
+
+
+
+ $pages + config +
+
+
+
+ $password + login.php +
+
+
+
+ $players + globalrank.php +
+
+
+
+ $point + ranker +
+
+
+
+ $questions + run.php +
+
+
+
+ $storage + globalrank.php +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/search/variables_69.html b/doc/web/search/variables_69.html new file mode 100644 index 0000000..3b71cfd --- /dev/null +++ b/doc/web/search/variables_69.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ if + question.php +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/doc/web/signup_2success_8php.html b/doc/web/signup_2success_8php.html new file mode 100644 index 0000000..cacd543 --- /dev/null +++ b/doc/web/signup_2success_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/signup/success.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/signup/success.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/smartphone__connexion__form_8php.html b/doc/web/smartphone__connexion__form_8php.html new file mode 100644 index 0000000..f6a53a6 --- /dev/null +++ b/doc/web/smartphone__connexion__form_8php.html @@ -0,0 +1,58 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/smartphone_connexion_form.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/template/smartphone_connexion_form.php File Reference

+
+
+ + + +

+Variables

 $user = "user"]
+

Variable Documentation

+ +
+
+ + + + +
$user = "user"]
+
+
+ +
+
+
+ + + diff --git a/doc/web/smartphone__menu__left_8php.html b/doc/web/smartphone__menu__left_8php.html new file mode 100644 index 0000000..928fa04 --- /dev/null +++ b/doc/web/smartphone__menu__left_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/smartphone_menu_left.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/template/smartphone_menu_left.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/smartphone__menu__right_8php.html b/doc/web/smartphone__menu__right_8php.html new file mode 100644 index 0000000..bea121f --- /dev/null +++ b/doc/web/smartphone__menu__right_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/smartphone_menu_right.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/template/smartphone_menu_right.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/sort__manager_8php.html b/doc/web/sort__manager_8php.html new file mode 100644 index 0000000..edcf303 --- /dev/null +++ b/doc/web/sort__manager_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/metier/sort_manager.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/metier/sort_manager.php File Reference

+
+
+ + + +

+Data Structures

class  sort_manager
+
+ + + diff --git a/doc/web/tab_a.png b/doc/web/tab_a.png new file mode 100644 index 0000000..2d99ef2 Binary files /dev/null and b/doc/web/tab_a.png differ diff --git a/doc/web/tab_b.png b/doc/web/tab_b.png new file mode 100644 index 0000000..b2c3d2b Binary files /dev/null and b/doc/web/tab_b.png differ diff --git a/doc/web/tab_h.png b/doc/web/tab_h.png new file mode 100644 index 0000000..c11f48f Binary files /dev/null and b/doc/web/tab_h.png differ diff --git a/doc/web/tab_s.png b/doc/web/tab_s.png new file mode 100644 index 0000000..978943a Binary files /dev/null and b/doc/web/tab_s.png differ diff --git a/doc/web/tabs.css b/doc/web/tabs.css new file mode 100644 index 0000000..2192056 --- /dev/null +++ b/doc/web/tabs.css @@ -0,0 +1,59 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/doc/web/tree.html b/doc/web/tree.html new file mode 100644 index 0000000..b902056 --- /dev/null +++ b/doc/web/tree.html @@ -0,0 +1,223 @@ + + + + + + + + + + TreeView + + + + + +
+
+ + + + + + +
+
+ + + + +
+ +
+ +
+

BurgerQuizz - Web

+
+

o+Data Structures

+ +

o+Class Hierarchy

+ +

o*Data Fields

+

o+File List

+
+

|o*/var/www/Burger-ct-glf/config.php

+

|o*/var/www/Burger-ct-glf/controller.php

+

|o*/var/www/Burger-ct-glf/index.php

+

|o*/var/www/Burger-ct-glf/dao/bdd.php

+

|o*/var/www/Burger-ct-glf/dao/cat_dao.php

+

|o*/var/www/Burger-ct-glf/dao/dao.php

+

|o*/var/www/Burger-ct-glf/dao/game_dao.php

+

|o*/var/www/Burger-ct-glf/dao/groupe_dao.php

+

|o*/var/www/Burger-ct-glf/dao/point_manager.php

+

|o*/var/www/Burger-ct-glf/dao/question_dao.php

+

|o*/var/www/Burger-ct-glf/dao/reponse_user_dao.php

+

|o*/var/www/Burger-ct-glf/dao/user_dao.php

+

|o*/var/www/Burger-ct-glf/metier/game.php

+

|o*/var/www/Burger-ct-glf/metier/groupe.php

+

|o*/var/www/Burger-ct-glf/metier/question.php

+

|o*/var/www/Burger-ct-glf/metier/ranker.php

+

|o*/var/www/Burger-ct-glf/metier/reponse_user.php

+

|o*/var/www/Burger-ct-glf/metier/sort_manager.php

+

|o*/var/www/Burger-ct-glf/metier/user.php

+

|o*/var/www/Burger-ct-glf/view/404.php

+

|o*/var/www/Burger-ct-glf/view/500.php

+

|o*/var/www/Burger-ct-glf/view/account/default.php

+

|o*/var/www/Burger-ct-glf/view/account/delete.php

+

|o*/var/www/Burger-ct-glf/view/account/delete_confirm.php

+

|o*/var/www/Burger-ct-glf/view/account/edit_succes.php

+

|o*/var/www/Burger-ct-glf/view/account/games.php

+

|o*/var/www/Burger-ct-glf/view/account/index.php

+

|o*/var/www/Burger-ct-glf/view/account/not_connected.php

+

|o*/var/www/Burger-ct-glf/view/account/param.php

+

|o*/var/www/Burger-ct-glf/view/account/update.php

+

|o*/var/www/Burger-ct-glf/view/game/categories.php

+

|o*/var/www/Burger-ct-glf/view/game/error.php

+

|o*/var/www/Burger-ct-glf/view/game/finish.php

+

|o*/var/www/Burger-ct-glf/view/game/index.php

+

|o*/var/www/Burger-ct-glf/view/game/notconnected.php

+

|o*/var/www/Burger-ct-glf/view/game/question.php

+

|o*/var/www/Burger-ct-glf/view/game/run.php

+

|o*/var/www/Burger-ct-glf/view/logout/error.php

+

|o*/var/www/Burger-ct-glf/view/logout/index.php

+

|o*/var/www/Burger-ct-glf/view/logout/success.php

+

|o*/var/www/Burger-ct-glf/view/rank/bycat.php

+

|o*/var/www/Burger-ct-glf/view/rank/default.php

+

|o*/var/www/Burger-ct-glf/view/rank/globalrank.php

+

|o*/var/www/Burger-ct-glf/view/rank/index.php

+

|o*/var/www/Burger-ct-glf/view/signup/formulaire.php

+

|o*/var/www/Burger-ct-glf/view/signup/index.php

+

|o*/var/www/Burger-ct-glf/view/signup/login_exist.php

+

|o*/var/www/Burger-ct-glf/view/signup/mail_error.php

+

|o*/var/www/Burger-ct-glf/view/signup/name_error.php

+

|o*/var/www/Burger-ct-glf/view/signup/pwd_error.php

+

|o*/var/www/Burger-ct-glf/view/signup/success.php

+

|o*/var/www/Burger-ct-glf/view/template/connexion_form.php

+

|o*/var/www/Burger-ct-glf/view/template/core.php

+

|o*/var/www/Burger-ct-glf/view/template/header.php

+

|o*/var/www/Burger-ct-glf/view/template/index.php

+

|o*/var/www/Burger-ct-glf/view/template/menu_left.php

+

|o*/var/www/Burger-ct-glf/view/template/menu_right.php

+

|o*/var/www/Burger-ct-glf/view/template/smartphone_connexion_form.php

+

|o*/var/www/Burger-ct-glf/view/template/smartphone_menu_left.php

+

|o*/var/www/Burger-ct-glf/view/template/smartphone_menu_right.php

+

|o*/var/www/Burger-ct-glf/view/welcome/default.php

+

|o*/var/www/Burger-ct-glf/view/welcome/index.php

+

|\*/var/www/Burger-ct-glf/view/welcome/login.php

+
+

o+Examples

+ +

\*Globals

+
+
+ + diff --git a/doc/web/update_8php.html b/doc/web/update_8php.html new file mode 100644 index 0000000..4320862 --- /dev/null +++ b/doc/web/update_8php.html @@ -0,0 +1,86 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/update.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/account/update.php File Reference

+
+
+ + + + + +

+Variables

 $user = "user"]
 $data = $_POST
 $new_pwd = FALSE
+

Variable Documentation

+ +
+
+ + + + +
$data = $_POST
+
+
+ +
+
+ +
+
+ + + + +
$new_pwd = FALSE
+
+
+ +
+
+ +
+
+ + + + +
$user = "user"]
+
+
+ +
+
+
+ + + diff --git a/doc/web/user_8php.html b/doc/web/user_8php.html new file mode 100644 index 0000000..6598607 --- /dev/null +++ b/doc/web/user_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/metier/user.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/metier/user.php File Reference

+
+
+ + + +

+Data Structures

class  user
+
+ + + diff --git a/doc/web/user__dao_8php.html b/doc/web/user__dao_8php.html new file mode 100644 index 0000000..c2bd336 --- /dev/null +++ b/doc/web/user__dao_8php.html @@ -0,0 +1,44 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/dao/user_dao.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/dao/user_dao.php File Reference

+
+
+ + + +

+Data Structures

class  user_dao
+
+ + + diff --git a/doc/web/view_2account_2index_8php.html b/doc/web/view_2account_2index_8php.html new file mode 100644 index 0000000..02b2363 --- /dev/null +++ b/doc/web/view_2account_2index_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/account/index.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/account/index.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/view_2game_2index_8php.html b/doc/web/view_2game_2index_8php.html new file mode 100644 index 0000000..27d5144 --- /dev/null +++ b/doc/web/view_2game_2index_8php.html @@ -0,0 +1,116 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/game/index.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/game/index.php File Reference

+
+
+ + + + + + +

+Functions

 checkstate ()
 showCategories ()
 showQuestion ()
 endGame ()
+

Function Documentation

+ +
+
+ + + + + + + + +
checkstate ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
endGame ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
showCategories ( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + +
showQuestion ( ) 
+
+
+ +
+
+
+ + + diff --git a/doc/web/view_2game_2question_8php.html b/doc/web/view_2game_2question_8php.html new file mode 100644 index 0000000..0ac750f --- /dev/null +++ b/doc/web/view_2game_2question_8php.html @@ -0,0 +1,58 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/game/question.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/game/question.php File Reference

+
+
+ + + +

+Variables

 if ($i > 0)
+

Variable Documentation

+ +
+
+ + + + +
if($i > 0)
+
+
+ +
+
+
+ + + diff --git a/doc/web/view_2logout_2index_8php.html b/doc/web/view_2logout_2index_8php.html new file mode 100644 index 0000000..508a997 --- /dev/null +++ b/doc/web/view_2logout_2index_8php.html @@ -0,0 +1,58 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/logout/index.php File Reference + + + + + + +
+ +
+

/var/www/Burger-ct-glf/view/logout/index.php File Reference

+
+
+ + + +

+Variables

 $decok = session_destroy()
+

Variable Documentation

+ +
+
+ + + + +
$decok = session_destroy()
+
+
+ +
+
+
+ + + diff --git a/doc/web/view_2rank_2index_8php.html b/doc/web/view_2rank_2index_8php.html new file mode 100644 index 0000000..1c00f94 --- /dev/null +++ b/doc/web/view_2rank_2index_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/rank/index.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/rank/index.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/view_2signup_2index_8php.html b/doc/web/view_2signup_2index_8php.html new file mode 100644 index 0000000..f74d2eb --- /dev/null +++ b/doc/web/view_2signup_2index_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/signup/index.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/signup/index.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/view_2template_2index_8php.html b/doc/web/view_2template_2index_8php.html new file mode 100644 index 0000000..a482340 --- /dev/null +++ b/doc/web/view_2template_2index_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/template/index.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/template/index.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/view_2welcome_2index_8php.html b/doc/web/view_2welcome_2index_8php.html new file mode 100644 index 0000000..c43e559 --- /dev/null +++ b/doc/web/view_2welcome_2index_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/welcome/index.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/welcome/index.php File Reference

+
+
+ +
+
+ + + diff --git a/doc/web/welcome_2default_8php.html b/doc/web/welcome_2default_8php.html new file mode 100644 index 0000000..6a7030e --- /dev/null +++ b/doc/web/welcome_2default_8php.html @@ -0,0 +1,39 @@ + + + + +BurgerQuizz - Web: /var/www/Burger-ct-glf/view/welcome/default.php File Reference + + + + + + +
+
+

/var/www/Burger-ct-glf/view/welcome/default.php File Reference

+
+
+ +
+
+ + + diff --git a/favicon.ico b/favicon.ico new file mode 100755 index 0000000..65c42d4 Binary files /dev/null and b/favicon.ico differ diff --git a/img/burger_bottom.png b/img/burger_bottom.png new file mode 100644 index 0000000..e4c8c57 Binary files /dev/null and b/img/burger_bottom.png differ diff --git a/img/burger_left.png b/img/burger_left.png new file mode 100644 index 0000000..5dab9dd Binary files /dev/null and b/img/burger_left.png differ diff --git a/img/burger_oignon.png b/img/burger_oignon.png new file mode 100644 index 0000000..138761d Binary files /dev/null and b/img/burger_oignon.png differ diff --git a/img/burger_right.png b/img/burger_right.png new file mode 100644 index 0000000..2a4b4c9 Binary files /dev/null and b/img/burger_right.png differ diff --git a/img/burger_salade.png b/img/burger_salade.png new file mode 100644 index 0000000..4dac6db Binary files /dev/null and b/img/burger_salade.png differ diff --git a/img/burger_steak.png b/img/burger_steak.png new file mode 100644 index 0000000..0957c60 Binary files /dev/null and b/img/burger_steak.png differ diff --git a/img/burger_tomate.png b/img/burger_tomate.png new file mode 100644 index 0000000..dbcdb92 Binary files /dev/null and b/img/burger_tomate.png differ diff --git a/img/burger_top.png b/img/burger_top.png new file mode 100644 index 0000000..5e029a9 Binary files /dev/null and b/img/burger_top.png differ diff --git a/img/frites.png b/img/frites.png new file mode 100644 index 0000000..6ad2d78 Binary files /dev/null and b/img/frites.png differ diff --git a/img/logo.png b/img/logo.png new file mode 100644 index 0000000..b58fd19 Binary files /dev/null and b/img/logo.png differ diff --git a/index.php b/index.php new file mode 100644 index 0000000..0aa221d --- /dev/null +++ b/index.php @@ -0,0 +1,10 @@ +render(); + + +?> \ No newline at end of file diff --git a/metier/game.php b/metier/game.php new file mode 100644 index 0000000..adf6e38 --- /dev/null +++ b/metier/game.php @@ -0,0 +1,185 @@ +autobuild($id_game); + } else + { + $this->user_login = $user_login; + $this->length = $length; + $this->reponses_user = $reponses_user; + $this->id_game = $id_game; + $this->date = $date; + } + } + + private function autobuild($id) + { + //Inclusion des fichiers nécessaires + require_once 'dao/game_dao.php'; + + //Création d'un game DAO + $dao = new game_dao(); + + //Chargement des données + $datas = $dao->select($id); + + //Mise en place des données + $this->id_game = $id; + $this->user_login = $datas["user_login"]; + $this->length = $datas["length"]; + $this->date = $datas["date"]; + } + + /* + * @brief Retourne la durée de la partie + * @return durée + */ + public function getLength() + { + return $this->length; + } + + /** + * @brief Obtient le login de l'utilisateur ayant joué à cette partie + * @return string + */ + public function getUserLogin() + { + return $this->user_login; + } + + /** + * @brief Obtient les réponses de l'utilisateur associées à la partie + * @return reponses[] + */ + public function getReponses() + { + //Si il n'y a rien comme réponses, on les charge + if ($this->reponses_user == NULL) + { + //Inclusion des fichiers nécessaire + include_once './dao/reponse_user_dao.php'; + include_once './metier/reponse_user.php'; + + //Initialisation du DAO + $dao = new reponse_user_dao(); + + //Chargement des données + $data = $dao->select($this->id_game); + + //Mise en place d'une variable de stockage + $tmp = array(); + $i = 0; + + //Encapsulation des données + foreach ($data as $row) + { + $tmp[$i] = new reponse_user($row["game_id"], $row["question_id"], $row["reponse"]); + $i++; + } + + //On termine par sauvegarder les données + $this->reponses_user = $tmp; + } + + return $this->reponses_user; + } + + /** + * @brief Obtient l'identifiant de la partie + * @return string + */ + public function getGameId() + { + return $this->id_game; + } + + /** + * @brief Définit l'identfiant de la partie + * @arg $id int + */ + public function setGameId($id) + { + $this->id_game = $id; + } + + /** + * @brief Obtient quand la partie a été jouée + */ + public function getDate() + { + return $this->date; + } + + /** + * @brief Enregistre une partie dans la base de données + */ + public static function saveGame(&$data) + { + //Inclusion des fichier + include_once './dao/game_dao.php'; + include_once './dao/reponse_user_dao.php'; + + //Création d'un nouveau DAO + $dao = new game_dao(); + + //On enregistre la partie + $dao->insert($data); + + //On récupère la dernière partie enregistrée + $new_id = $dao->getLastId(); + + //On met à jour l'objet passé en argument + $data->setGameId($new_id[0]); + + //On enregistre les réponses + $dao = new reponse_user_dao(); + + $reps = $data->getReponses(); + + foreach ($reps as $rep) + { + $rep->setGame($new_id[0]); + $dao->insert($rep); + } + + return true; + } + + } + +?> diff --git a/metier/groupe.php b/metier/groupe.php new file mode 100644 index 0000000..876e704 --- /dev/null +++ b/metier/groupe.php @@ -0,0 +1,125 @@ +select($id); + + //Encapsulation des données + $this->id = $id; + $this->reponse_0 = $data["reponse0"]; + $this->reponse_1 = $data["reponse1"]; + $this->categorie = $data["categorie_nom"]; + $this->questions = null; //On ne charge pas les questions pour éviter un lag + } + + /** + * @brief Obtient l'identifiant du groupe + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @brief Obtient la 1er réponse possible du groupe + * @return string + */ + public function getReponse_0() + { + return $this->reponse_0; + } + + /** + * @brief Obtient la 2nde réponse possible du groupe + * @return string + */ + public function getReponse_1() + { + return $this->reponse_1; + } + + /** + * @brief Obtient les questions relatives au groupes + * @return question[] + */ + public function getQuestion() + { + if ($this->questions == NULL) + { + //On charge les fichiers nécessaires + include_once './dao/question_dao.php'; + include_once './metier/question.php'; + + //On instancie un nouveau DAO + $dao = new question_dao(); + + //On charge les données + $data = $dao->selectByGroup($this->id); + + //On initialise une variable temporaire pour stocker les données + $tmp = array(); + $i = 0; + + //On parse toutes les données + foreach ($data as $row) + { + $tmp[$i] = new question($row["id"], $row["group_id"], $row["question"], $row["bonnereponse"]); + $i++; + } + + //On sauvegarde les données dans l'attribut spécifique de la classe + $this->questions = $tmp; + } + + //On retourne les données; + return $this->questions; + } + + /** + * @brief Obtient la catégorie du groupe + * @return string + */ + public function getCategorie() + { + return $this->categorie; + } + + } + +?> diff --git a/metier/question.php b/metier/question.php new file mode 100644 index 0000000..978da4f --- /dev/null +++ b/metier/question.php @@ -0,0 +1,82 @@ +select($id); + + //On parse les données récupérées + $this->id = $id; + $this->group_id = $data["group_id"]; + $this->question = $data["question"]; + $this->bonne_reponse = $data["bonnereponse"]; + } + else + { + //On crée un nouvel objet + $this->id = $id; + $this->group_id = $group_id; + $this->question_text = $question; + $this->bonne_reponse = $reponse; + } + } + + public function getId() + { + return $this->id; + } + + public function getGroupId() + { + return $this->group_id; + } + + public function getQuestion() + { + return $this->question_text; + } + + public function getReponse() + { + return $this->bonne_reponse; + } + + } + +?> diff --git a/metier/ranker.php b/metier/ranker.php new file mode 100644 index 0000000..3c1e0e5 --- /dev/null +++ b/metier/ranker.php @@ -0,0 +1,157 @@ +buildGlobal($args); + } elseif ($type == "cat") + { + //On a demandé un objet pour une catégorie + $this->buildCat($args); + } + } + + /** + * @brief Fonction d'auto construction pour un classement global + * @arg $args tableau contenant seulement le login + */ + public function buildGlobal($args) + { + //Inclusion des fichiers nécessaire + include_once 'dao/point_manager.php'; + include_once 'metier/user.php'; + include_once "dao/dao.php"; + include_once "dao/bdd.php"; + + //Mise en place des données + $login = $args["login"]; + + //Chargement des données utilisateur + $this->user = new user($login); + + + //Chargement de toutes les parties du joueur + $games = point_manager::getGamesByLogin($login); + + //On établit le nombre total de point pour le joueur ainsi que le temps + //total + $this->point = 0; + $this->length = 0; + + //Pour toutes les parties, on additionne les points + foreach ($games as $game) + { + $this->point+= point_manager::getGamePoint($game[0]); + $length = point_manager::getLengthByGame($game); + $this->length += $length[0]; + } + + //On calcul le nombre total de partie jouées + $this->nb_game = count($games); + } + + /* + * @brief Fonction d'autoconstruction pour un classement par catégorie + * @arg $args tableau contenant le login et la catégorie + */ + public function buildCat($args) + { + //Inclusion des fichiers nécessaires + require_once 'metier/user.php'; + require_once 'dao/point_manager.php'; + require_once 'dao/bdd.php'; + + //Mise en place des variables standard pour la fonctions + $login = $args["login"]; + $cat = $args["cat"]; + + //On crée un nouvel utilisateur + $this->user = new user($login); + + //Chargement de toutes les parties selon la catégorie du joueur + $games = point_manager::getGameByLoginByCat($login, $cat); + + //Initialisation des variables locales de l'objet + $this->length = 0; + $this->nb_game = 0; + $this->point = 0; + + //On boucle pour chaque parties + foreach ($games as $game) + { + $this->point+=point_manager::getGamePoint($game["id"]); + // $this->length+= point_manager::getLengthByGame($game["id"]); + } + + //Mise en place du nombre de parties + $this->nb_game = count($games); + } + + /** + * @brief Obtient l'utilisateur courant + * @return objet user + */ + public function getUser() + { + return $this->user; + } + + /** + * @brief Obtient le nombre de point + * @return int + */ + public function getPoint() + { + return $this->point; + } + + /** + * @brief Obtient la durée d'une partie + * @return int (temps en milliseconde) + */ + public function getLength() + { + return $this->length; + } + + /** + * @brief Obtient le nombre de parties jouées + * @return int + */ + public function getNbGame() + { + return $this->nb_game; + } + + } + +?> diff --git a/metier/reponse_user.php b/metier/reponse_user.php new file mode 100644 index 0000000..252aa0d --- /dev/null +++ b/metier/reponse_user.php @@ -0,0 +1,49 @@ +id_game = $game_id; + $this->id_question = $question_id; + $this->reponse = $reponse; + } + + public function getGame() { + return $this->id_game; + } + + public function getQuestion() { + return $this->id_question; + } + + public function getReponse() { + return $this->reponse; + } + + public function setGame($id) + { + $this->id_game = $id; + } + +} + +?> diff --git a/metier/sort_manager.php b/metier/sort_manager.php new file mode 100644 index 0000000..5bc492b --- /dev/null +++ b/metier/sort_manager.php @@ -0,0 +1,39 @@ +getPoint(); + $pb = $b->getPoint(); + + //On retourne la comparison + return $pa < $pb; + } catch (Exception $ex) { + if (config::$debug) { + //On cas d'erreur, on affiche un message si DEBUG = ON + echo $ex->getMessage(); + } + + //On renvoie le résultat d'égalité pour éviter de bloquer les résultats + return 0; + } + } + +} + +?> diff --git a/metier/user.php b/metier/user.php new file mode 100644 index 0000000..1772214 --- /dev/null +++ b/metier/user.php @@ -0,0 +1,238 @@ +select($login); + + + //On parse les résultats + $this->login = $data["login"]; + $this->pwd = $data["pwd"]; + $this->nom = $data["nom"]; + $this->prenom = $data["prenom"]; + $this->email = $data["email"]; + $this->date_inscription = $data["dateinscription"]; + } else { + //Sinon, on à toutes les infos + //Chargement des données + $this->login = $login; + $this->pwd = $password; + $this->nom = $nom; + $this->prenom = $prenom; + $this->email = $mail; + $this->date_inscription = time(); + } + + //On ne charge pas les parties pour éviter la surcharge mémoire + $this->games = NULL; + } + + /** + * @brief Retourne le login du joueur + * @return string + */ + public function getLogin() { + return $this->login; + } + + /** + * @brief Retourne le hash du mot de passe du joueur + */ + public function getPassword() { + return $this->pwd; + } + + /** + * @brief Définie le mot de passe du joueur + * @note la converion en hash MD5 est automatiquement réalisée + */ + public function setPassword($password) { + $this->pwd = md5($password); + } + + /** + * @brief Obtient le nom du joueur + * @return string + */ + public function getNom() { + return $this->nom; + } + + /** + * @brief Définie le nom du joueur + * @return $nom nom du joueur + */ + public function setNom($nom) { + $this->nom = $nom; + } + + /** + * @brief Obtient le prénom du joueur + * @return string + */ + public function getPrenom() { + return $this->prenom; + } + + /** + * @brief Définie le prénom du joueur + * @arg $prenom prénom du joueur + */ + public function setPrenom($prenom) { + $this->prenom = $prenom; + } + + /** + * @brief Obtient les parties jouées par le joueur + * @return tableau de game ou FALSE si rien + */ + public function getGames() { + //Si il n'y a pas de données enregistrées, on fait une requête + if ($this->games == NULL) { + //On fait les inclusions nécessaire + include_once "./dao/game_dao.php"; + include_once "./metier/game.php"; + + //On instancie un nouvel objet + $dao = new game_dao(); + + //On récupère les logiciel + $result = $dao->selectByLogin($this->login); + + //Mise en place d'une variable pour sauvegarder les résultats + $tmp = array(); + $i = 0; + + //On parse les résultats + foreach ($result as $row) { + $tmp[$i] = new game($row["id"], $row["user_login"], $row["length"], NULL); + } + + //On sauvegarde les résultats dans l'attribut spécifique + $this->games = $tmp; + } + + //On renvoie les résultats + return $this->games; + } + + /** + * @brief Obtient l'email de l'utilisateur + * @return string + */ + public function getMail() { + return $this->email; + } + + /** + * @brief Définie l'email de l'utilisateur + * @arg $mail email de l'utilisateur + * @note la vérification se fera en javascript + */ + public function setMail($mail) { + $this->email = $mail; + } + + /** + * @brief Obtient si l'objet est NULL + * @return bool + */ + public function isNull() { + if ($this->login != NULL) { + return FALSE; + } else { + return TRUE; + } + } + + /* + * @brief Sauvegarde un utilisateur dans la base de données + */ + public static function saveUser($user) { + //On include le DAO pour savegarder l'utilisateur + include_once './dao/user_dao.php'; + + //On instancie un nouvel objet + $dao = new user_dao(); + + //On demande la sauvegarde + if (!$dao->update($user)) { + $dao->insert($user); + } + } + + public static function saveUserNoPassword($user) { + //On include le DAO pour savegarder l'utilisateur + include_once './dao/user_dao.php'; + + //On instancie un nouvel objet + $dao = new user_dao(); + + //On demande la sauvegarde + $dao->updateNoPassword($user); + } + + public static function exist($login) { + //On include le DAO pour savegarder l'utilisateur + include_once './dao/user_dao.php'; + + //On instancie un nouvel objet + $dao = new user_dao(); + + $tmp = $dao->select($login); + + if ($tmp == NULL) { + return FALSE; + } else { + return TRUE; + } + } + +} + +?> diff --git a/moto.txt b/moto.txt new file mode 100644 index 0000000..1f1d9e8 --- /dev/null +++ b/moto.txt @@ -0,0 +1,18 @@ +Le site officiel du Burger Quizz et de Chuck Noris... mais pas que ! +Le site officiel du Burger Quizz et de Pierre Fulla... mais pas que ! +Le site officiel du Burger Quizz et de Maurice et Richard MacDonald... mais pas que ! +Le site officiel du Burger Quizz et de Ray Kroc... mais pas que ! +« Le travail est le steak du hamburger de la vie. » Ray Kroc +Le site qui envoie du steak ! +Le site qui permet de garder la frite en toute circonstance ! +Assaisonné comme il faut ! +Ni trop sucré, ni trop salé ! +Sponsor officiel de la McBaguette ! +Interdit aux végétariens ! +Le guide de "Comment perdre du poid en rigolant" ! +Sans édulcorants ! +Dîtes "Cheseeeeeeeeeeeeeeeeeeeseburgeravecdoubleportionderitesiouplait" ! +Plus fort que Pacman ! +0% de croute, 100 mie de pain ! +Jamais en rupture de rigolade ! +Plus fort que la sauce ketchup sans tomate ! \ No newline at end of file diff --git a/scripts/burgermenu.js b/scripts/burgermenu.js new file mode 100644 index 0000000..c3dc680 --- /dev/null +++ b/scripts/burgermenu.js @@ -0,0 +1,77 @@ +function BurgerOnMouseEnter() +{ + //Burger container + var elmt = document.getElementById('burger'); + elmt.setAttribute("style","height:256px;"); + // + + + //Burger elements + elmt = document.getElementById('burger_top'); + elmt.setAttribute("style","top:60px;"); + elmt = document.getElementById('burger_top_text'); + elmt.setAttribute("style","top:103px; opacity:1;"); + + elmt = document.getElementById('burger_salade'); + elmt.setAttribute("style","top:120px;"); + elmt = document.getElementById('burger_salade_text'); + elmt.setAttribute("style","top:149px; opacity:1;"); + + elmt = document.getElementById('burger_tomate'); + elmt.setAttribute("style","top:169px;"); + elmt = document.getElementById('burger_tomate_text'); + elmt.setAttribute("style","top:187px; opacity:1;"); + + elmt = document.getElementById('burger_oignon'); + elmt.setAttribute("style","top:207px;"); + elmt = document.getElementById('burger_oignon_text'); + elmt.setAttribute("style","top:222px; opacity:1;"); + + elmt = document.getElementById('burger_steak'); + elmt.setAttribute("style","top:245px;"); + elmt = document.getElementById('burger_steak_text'); + elmt.setAttribute("style","top:267px; opacity:1;"); + + elmt = document.getElementById('burger_bottom'); + elmt.setAttribute("style","top:284px;"); +// + +} +function BurgerOnMouseExit() +{ + //Burger container + var elmt = document.getElementById('burger'); + elmt.setAttribute("style","height:106px;"); + // + + + //Burger elements + elmt = document.getElementById('burger_top'); + elmt.setAttribute("style","top:60px;"); + elmt = document.getElementById('burger_top_text'); + elmt.setAttribute("style","top:99px; opacity:0;"); + + elmt = document.getElementById('burger_salade'); + elmt.setAttribute("style","top:90px;"); + elmt = document.getElementById('burger_salade_text'); + elmt.setAttribute("style","top:116px; opacity:0;"); + + elmt = document.getElementById('burger_tomate'); + elmt.setAttribute("style","top:109px;"); + elmt = document.getElementById('burger_tomate_text'); + elmt.setAttribute("style","top:122px; opacity:0;"); + + elmt = document.getElementById('burger_oignon'); + elmt.setAttribute("style","top:117px;"); + elmt = document.getElementById('burger_oignon_text'); + elmt.setAttribute("style","top:129px; opacity:0;"); + + elmt = document.getElementById('burger_steak'); + elmt.setAttribute("style","top:125px;"); + elmt = document.getElementById('burger_steak_text'); + elmt.setAttribute("style","top:142px; opacity:0;"); + + elmt = document.getElementById('burger_bottom'); + elmt.setAttribute("style","top:134px;"); + +} \ No newline at end of file diff --git a/scripts/manager.js b/scripts/manager.js new file mode 100644 index 0000000..b6806f3 --- /dev/null +++ b/scripts/manager.js @@ -0,0 +1,17 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +function init_file(file) +{ + var header = document.createElement("script"); + var src = "scripts/" + file; + header.setAttribute("type", "text/javascript"); + header.setAttribute("src", src); + document.getElementsByTagName("head")[0].appendChild(header); +} + +function navigate(page) +{ + document.location = page; +} \ No newline at end of file diff --git a/scripts/menu_left.js b/scripts/menu_left.js new file mode 100644 index 0000000..02e7c79 --- /dev/null +++ b/scripts/menu_left.js @@ -0,0 +1,139 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ + +function displaymenu() +{ + //On créer les images + var img1 = document.createElement("img"); + var img2 = document.createElement("img"); + var img3 = document.createElement("img"); + var img4 =document.createElement("img"); + var img5 =document.createElement("img"); + var img6 =document.createElement("img"); + + //Mise en place des attributs + img1.setAttribute("src", "../../img/burger_top.png"); + img2.setAttribute("src", "../../img/burger_salade.png"); + img3.setAttribute("src", "../../img/burger_tomate.png"); + img4.setAttribute("src", "../../img/burger_oignon.png"); + img5.setAttribute("src", "../../img/burger_steak.png"); + img6.setAttribute("src", "../../img/burger_bottom.png"); + + img1.setAttribute("alt", "img"); + img2.setAttribute("alt", "img") + img3.setAttribute("alt", "img") + img4.setAttribute("alt", "img") + img5.setAttribute("alt", "img") + img6.setAttribute("alt", "img") + + img1.setAttribute("class", "sub_menu_img"); + img2.setAttribute("class", "sub_menu_img"); + img3.setAttribute("class", "sub_menu_img"); + img4.setAttribute("class", "sub_menu_img"); + img5.setAttribute("class", "sub_menu_img"); + img6.setAttribute("class", "sub_menu_img"); + + //Creation des liens + var link1 = document.createElement("a"); + var link2 = document.createElement("a"); + var link3 = document.createElement("a"); + var link4 = document.createElement("a"); + var link5 = document.createElement("a"); + var link6 = document.createElement("a"); + + link1.setAttribute("href", "index.php"); + link2.setAttribute("href", "index.php?page=game"); + link3.setAttribute("href", "index.php?page=signup"); + link4.setAttribute("href", "index.php?page=account"); + link5.setAttribute("href", "index.php?page=rank"); + link6.setAttribute("href", "index.php?page=logout"); + + link1.appendChild(document.createTextNode("Accueil")); + link2.appendChild(document.createTextNode("Jouer")); + link3.appendChild(document.createTextNode("Inscription")); + link4.appendChild(document.createTextNode("Compte")); + link5.appendChild(document.createTextNode("Classement")); + link6.appendChild(document.createTextNode("Déconnexion")); + + + //Creation des conteneurs + var cnt1 = document.createElement("li"); + var cnt2 = document.createElement("li"); + var cnt3 = document.createElement("li"); + var cnt4 = document.createElement("li"); + var cnt5 = document.createElement("li"); + var cnt6 = document.createElement("li"); + + //Ajout des élements aux containers + cnt1.appendChild(img1); + cnt1.appendChild(link1); + + cnt2.appendChild(img2); + cnt2.appendChild(link2); + + cnt3.appendChild(img3); + cnt3.appendChild(link3); + cnt3.appendChild(document.createElement("br")); + cnt3.appendChild(document.createElement("br")); + cnt3.appendChild(link4); + + cnt4.appendChild(img4); + cnt4.appendChild(link5); + + cnt5.appendChild(img5); + cnt5.appendChild(link6); + + cnt6.appendChild(img6); + + //Avant la mise en place on supprime les anciens élements + menu = document.getElementById("menu_ul"); + + while(menu.firstChild) + { + menu.removeChild(menu.firstChild); + } + + //On ajoute les éléments + menu.appendChild(cnt1); + menu.appendChild(cnt2); + menu.appendChild(cnt3); + menu.appendChild(cnt4); + menu.appendChild(cnt5); + menu.appendChild(cnt6); + +} + +function hidemenu() +{ + //On supprime tous les noeud + var ul = document.getElementById("menu_ul"); + + while(ul.firstChild) + { + ul.removeChild(ul.firstChild); + } + + //On met en place l'image de départ + var img = document.createElement("img"); + img.setAttribute("alt", "img"); + img.setAttribute("id", "menu_img"); + img.setAttribute("src", "../../img/burger_menu.png"); + + //On met en place le conteneur + var cnt = document.createElement("li"); + cnt.appendChild(img); + + //On met en place l'image + ul.appendChild(cnt); + +} + + +function init() +{ + var core = document.getElementById("core"); + // core.setAttribute("onmouseover", "javascript:hidemenu()") + +} diff --git a/scripts/param_account_manager.js b/scripts/param_account_manager.js new file mode 100644 index 0000000..2420b43 --- /dev/null +++ b/scripts/param_account_manager.js @@ -0,0 +1,120 @@ +/* + *Fichier gérant les paramètres du comptes de l'utilisateur + */ + + + +/* + * Affiche le champ de modification d'un champ du compte de l'utilisateur + */ +function showEditBox(field) +{ + //On crée un nouvel element input + var input = document.createElement("input"); + input.setAttribute("type", "text"); + input.setAttribute("id", field + "_input"); + + //On crée 2 boutons : 1 pour valider, 1 pour annuler + var bok = document.createElement("button"); + var ban = document.createElement("button"); + + //Mise en place des attributs + bok.setAttribute("onclick", "javascript:valider('" + field + "');"); + bok.setAttribute("id", "bok_" + field); + bok.setAttribute("type", "button"); + bok.innerHTML = "Valider"; + + ban.setAttribute("onclick", "javascript:cancel('" + field + "');"); + ban.setAttribute("id", "ban_" + field); + ban.setAttribute("type", "button"); + ban.innerHTML = "Annuler" + + //On récupère le champ servant de placement + var node_pos = document.getElementById(field + "_value"); + + //On ajoute les champs + document.getElementById("form_param").insertBefore(input, node_pos); + document.getElementById("form_param").insertBefore(bok, node_pos); + document.getElementById("form_param").insertBefore(ban, node_pos); + + //On cache le label contenant les informations allant être modifiée + node_pos.setAttribute("style", "visibility: hidden"); + document.getElementById(field + "_edit").setAttribute("style", "visibility: hidden"); +} + +/* + * Fonction appelée lors de la validation des modifications + */ +function valider(field) +{ + //La modification du champ a été confirmée + //On met en place les nouvelles données + var value = document.getElementById(field + "_input").value; + document.getElementById(field + "_value").innerHTML = value; + document.getElementById("new_" + field).value = value; + defaultshow(field); +} + +/* + * Fonction appelée lors de l'annulation de modification + */ +function cancel(field) +{ + //Modification annulée, on réaffiche les champs standards + defaultshow(field); +} + +/* + * Fonction appelée lors de la réinitialisation de la vue + */ +function defaultshow(field) +{ + //On réinitialise l'affichage' + var parent = document.getElementById("form_param"); + parent.removeChild(document.getElementById(field + "_input")); + parent.removeChild(document.getElementById("bok_" + field)); + parent.removeChild(document.getElementById("ban_" + field)); + + //On réaffiche le label et le bouton de modification + document.getElementById(field + "_edit").setAttribute("style", "visibility: visible"); + document.getElementById(field + "_value").setAttribute("style", "visibility: visible"); + +} + +/* + * Fonction appelée lors de la modification du mot de passe + */ +function changepassword() +{ + //On affiche un MessageBox + var pwd1 = prompt("Nouveau mot de passe", ""); + + if ((pwd1 == "") || (pwd1 == null)) + { + alert("Le not de passe ne peut être vide"); + return; + } + + var pwd2 = prompt("Confirmer le mot de passe", ""); + + if (!(pwd1 == pwd2)) + { + alert("Les mot de passes sont différents. Annulation"); + return; + } + + if((pwd2 == "") || (pwd2 == null)) + { + alert("Le mot de passe ne peut être vide"); + return; + } + + if( (pwd1 == pwd2) && (pwd2 != "") && (pwd2 != null)) + { + alert("Nouveau mot de passe valide. Confirmer les changements pour prendre effet"); + document.getElementById("new_password").value = pwd1; + } + + + +} \ No newline at end of file diff --git a/scripts/question_manager.js b/scripts/question_manager.js new file mode 100644 index 0000000..db11cab --- /dev/null +++ b/scripts/question_manager.js @@ -0,0 +1,135 @@ +/*Fonction scripts gérant les questions + *Est appelée et chargé uniquement dans le fichier run de view/game + * + **/ + + + + +var auto_next_time = 30; //Temps de passage automatique à la fonction suivante en secondes +var save_next_time = 0; //Temps sauvegardé, variable inter-fonctions +var num = 0; //Numéro de la question en cours + +/* + * Affiche la question suivante + * Args : identifiant de l'appelant + */ +function shownext(args) +{ + //On réinitialise le temps de l'autonext + save_next_time = 0; + + //On parse le numéro de la question + var num_ori = args.toString().substring(args.toString().indexOf("q", 0) + 1, args.toString().indexOf("a", 0)); + + //Sauvegarde du numéro de la question + num = num_ori; + + //On parse la réponse + var rep = args.toString().substring(args.toString().indexOf("a", 0) + 1, args.toString().length); + + //Si la réponse est null, le joueur n'a pas répondu + //Par défaut, c'est le code d'une mauvaise réponse => -1 + if(rep == null) + { + rep = -1; + } + + //On sauvegarde la réponse dans le champ associé + document.getElementById("saveq" + num).value = rep; + + num++; + + //On met à jour les attribut des boutons + document.getElementById("form_q_b0").setAttribute("onclick", "javascript:shownext('q" + num + "a0')"); + document.getElementById("form_q_b1").setAttribute("onclick", "javascript:shownext('q" + num + "a1')"); + document.getElementById("form_q_b2").setAttribute("onclick", "javascript:shownext('q" + num + "a2')"); + + try + { + document.getElementById("form_q_text").innerHTML = document.getElementById("form_q" + num).innerHTML; + } + catch (error) + { + //Il n'y a plus de question + //On envoi le formulaire + document.getElementById("form_q").submit(); + } +} + + +/* + *Démarre la partie + *Rend visible les premier éléments + */ +function startgame() +{ + //On récupère le formulaire de démarrae + var form = document.getElementById("form_start"); + + //On supprime tous ses noeuds enfants + while (form.firstChild) + { + form.removeChild(form.firstChild); + } + + //On affiche le formulaire finale + document.getElementById("form_q").setAttribute("style", "visibility : auto"); + + //On lance le chrono + starttimer(); +} + + +/* + * Démarre et affiche le temps du chrono + */ +function starttimer() +{ + var time = 0; + + //On lance aussi le timer qui passe automatiquement à la question suivante + start_autonexttimer(); + + //On lance le timer + setInterval(function() + { + //On met à jour le temps + time +=100; + var timer_date = new Date(time); + var timer = new Date(time).toLocaleTimeString(); + + //On parse les minutes et les secondes pour l'affichage' + var minuts = timer.split(":")[1]; + var seconds = timer.split(":")[2]; + + //On affiche la chaîne modifiée + document.getElementById("time").innerHTML = minuts + "m " + seconds + "s " + timer_date.getMilliseconds() + "ms"; + + //On stocke le temps en millisecondes dans le champ caché + document.getElementById("form_q_time").setAttribute("value", time); + + }, 100); + + +} + +/* + * Lance le timer chargé de passer automatiquement à la question suivante au bout de 3 secondes + */ +function start_autonexttimer() +{ + //On lance le timer + setInterval(function() + { + save_next_time +=1; + + //Si le temps est un multiple de 3s, on passe à la question suivante + if((save_next_time % 30) == 0) + { + num++; + shownext('q' + num + 'a3'); + } + + }, 1000); +} diff --git a/scripts/rightmenu_hilight.js b/scripts/rightmenu_hilight.js new file mode 100644 index 0000000..c0dec15 --- /dev/null +++ b/scripts/rightmenu_hilight.js @@ -0,0 +1,22 @@ +function rightmenu_fire() +{ + rightmenu_hilight(); + setTimeout(rightmenu_fade,500); + + setTimeout(rightmenu_hilight,1000); + setTimeout(rightmenu_fade,1500); +} + +function rightmenu_hilight() +{ + var elmt = document.getElementById('menu_right'); + elmt.setAttribute("style","border-color: #FFFFFF;box-shadow:0px 0px 40px #492A13;background-color:#492A13;"); + +} + +function rightmenu_fade() +{ + var elmt = document.getElementById('menu_right'); + elmt.setAttribute("style",""); + +} \ No newline at end of file diff --git a/scripts/signup.js b/scripts/signup.js new file mode 100644 index 0000000..e4a68fa --- /dev/null +++ b/scripts/signup.js @@ -0,0 +1,20 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +function check() +{ + var mdp1 = document.getElementById("input_pwd").nodeValue; + var mdp2 = document.getElementById("input_pwd2").nodeValue; + + if(mdp1 == mdp2) + { + document.getElementById("password_compare").nodeValue = "OK"; + } + else + { + document.getElementById("password_compare").nodeValue = "PAS OK"; + + } +} + diff --git a/style/global.css b/style/global.css new file mode 100644 index 0000000..c7d863c --- /dev/null +++ b/style/global.css @@ -0,0 +1,360 @@ + + +html +{ + position: absolute; + background-color: black; + color: white; + width: 100%; + height : 100%; +} + + + +/********************************************************************/ +/* Divers/général */ +a +{ + transition-property: color; + -moz-transition-property: color;-webkit-transition-property: color;-o-transition-property: color; + transition-duration: 300ms; + -moz-transition-duration: 300ms;-webkit-transition-duration: 300ms;-o-transition-duration: 300ms; + + color: #CAC063; + text-decoration: none; +} +a:hover +{ + color: #CACACA;/* Miam :) */ + text-decoration: underline; +} + +fieldset +{ + width:auto; + + border-width: 6px; + border-color: #3E3E3E; + border-radius: 15px; + border-style: solid; + padding: 15px; +} + + + +.bigbutton +{ + width:120px; + height:50px; + margin: 10px; +} +/********************************************************************/ + + + + + + + +/********************************************************************/ +/* Bandeau superieur */ +#header +{ + position : absolute; + left: 0%; + right: 0%; + top: 0%; + height: 150px; + + text-align: center; +} + +#logo_center +{ + background-image: url('../img/logo.png'); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + position: absolute; + left: 20%; + width : 60%; + top : 5%; + height : 80%; +} + +#logo_left +{ + background-image: url('../img/burger_left.png'); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + position: absolute; + left: 5%; + width : 20%; + top : 25%; + height : 40%; +} + +#logo_right +{ + background-image: url('../img/burger_right.png'); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + position: absolute; + right: 5%; + width : 20%; + top : 25%; + height : 40%; +} + + + +#moto +{ + position : absolute; + text-align: center; + width : 100%; + bottom: 0%; +} +/********************************************************************/ + + + + +/********************************************************************/ +/* Bloc principal */ +#core +{ + position: absolute; + left : 180px; + right: 180px; + top : 160px; + + background-color: #2E2E2E; + + border-style:solid; + border-color: #555555; + border-radius: 40px; + box-shadow:0px 0px 40px #492A13; + +} + +#content +{ + margin: 30px; +} + +#content h1 +{ + text-align: center; +} + +#content h4, #content h5, #content input, #content label,#content button, #content form, #content fieldset, .center_item +{ + text-align: center; +} +/********************************************************************/ + + + + +/********************************************************************/ +/* Menus */ +#menu_left +{ + position:absolute; + top : 160px; + left: 0%; + width: 140px; + text-align: center; + + padding: 15px 15px 15px 0px; + + border-style: solid hidden solid hidden; + border-color: #2E2E2E; + border-radius: 0px 40px 40px 0px; + + padding-bottom: 10px; +} +#menu_left a +{ + font-size: 20px; + color: #CACACA; + text-decoration: none; +} +#menu_left a:hover +{ + color: #CAC063; +} + +#menu_right +{ + position:absolute; + top : 160px; + right: 0%; + width: 140px; + text-align: center; + + padding: 15px 0px 15px 15px; + + + + transition-property: border-color, box-shadow; + -moz-transition-property: border-color, box-shadow, background-color; + -webkit-transition-property: border-color, box-shadow, background-color; + -o-transition-property: border-color, box-shadow, background-color; + + transition-duration: 500ms; + -moz-transition-duration: 500ms;-webkit-transition-duration: 500ms;-o-transition-duration: 500ms; + + border-style: solid hidden solid hidden; + border-color: #2E2E2E; + border-radius: 40px 0px 0px 40px; + + box-shadow:0px 0px 0px #492A13; + background-color: #000000; + + padding-bottom: 10px; +} + +.menu_title +{ + width : 100%; + height : 10%; + top : 0%; + left : 0%; + padding: 0px 0px 10px 0px; + + font-family:"Times New Roman",Georgia,Serif; + font-size: 30px; +} + + +#burger +{ + transition-property: height; + -moz-transition-property: height; -webkit-transition-property: height; -o-transition-property: height; + + transition-duration: 500ms; + -moz-transition-duration: 500ms; -webkit-transition-duration: 500ms; -o-transition-duration:500ms; +} +.burger_image +{ + transition-property: top; + -moz-transition-property: top; -webkit-transition-property: top; -o-transition-property: top; + + transition-duration: 500ms; + -moz-transition-duration: 500ms; -webkit-transition-duration: 500ms; -o-transition-duration: 500ms; + + position: absolute; + left:10px; + + z-index: 10; + +} +.burger_text_cont +{ + transition-property: opacity, top; + -moz-transition-property: opacity, top; -webkit-transition-property: opacity, top; -o-transition-property: opacity, top; + + transition-duration: 500ms; + -moz-transition-duration: 500ms; -webkit-transition-duration: 500ms; -o-transition-duration: 500ms; + + font-size: 20px; + text-decoration: none; + text-shadow: 5px; + + color: white; + + vertical-align: central; + + position: absolute; + left:10px; + width:125px; + height:30px; + + z-index: 9; +} +.burger_text +{ + font-size: 20px; + text-decoration: none; + text-shadow: 5px; + + color: white; + + vertical-align: central; + text-align: center; + width:100%; + height:100%; +} + +/********************************************************************/ +/* Formulaire de connexion */ +.form +{ + width : 100%; + height : 10%; + left : 0%; + text-align: center; +} + +.form_input +{ + width: 100%; + height : 100%; +} + +.form_input input +{ + width : 90%; +} +/********************************************************************/ + + + + +/********************************************************************/ +/* Propriété des tableaux */* +table +{ + position: relative; + width: 80%; + left : 10%; + + border-width: 3px; + border-color: #3E3E3E; + border-radius: 15px; + border-style: solid; + padding: 15px; + margin: 20px 0px 20px 0px; +} +/********/ +th { + text-align: center; + border : 1px solid #bababa; + background-color: #3E3E3E; +} +/********/ +tr.selected { + text-align: center; + border : 1px solid #bababa; + background-color: #9C391E; +} +tr.selected:hover { + background-color: #C54826; + +} +/********/ +tr { + text-align: center; + border : 1px solid #bababa; + background-color: #2E2E2E; + +} +tr:hover { + background-color: #404040; + +} +/********************************************************************/ \ No newline at end of file diff --git a/style/smartphone.css b/style/smartphone.css new file mode 100644 index 0000000..ee36498 --- /dev/null +++ b/style/smartphone.css @@ -0,0 +1,91 @@ +html +{ + min-width: 460px; +} + + + + + +#core +{ + left : 5px; + right: 5px; + top : 280px; + +} + + +#menu_left +{ + /*text-justify: inter-word;*/ + + position:absolute; + top : 160px; + height: 80px; + + left: 30px; + right: 30px; + width: auto; + min-width: 400px; + + padding: 0px; + + border-style: solid hidden solid hidden; + border-radius: 20px 20px 20px 20px; + + +} +#menu_left a +{ + font-size: 32px; + + letter-spacing: -2px; +} + + +#menu_right +{ + position:absolute; + top: 250px; + right: 10px; + left:10px; + width: auto; + + height: 30px; + + padding: 0px; + + border-style: hidden; +} + + + +.form +{ + width : 100%; + height : 10%; + left : 0%; + text-align: center; +} + +.form_input +{ + width: 100%; + height : 20px; +} + +.form_input input +{ + width : 90px; + height : 20px; +} + +table{ + + border-width: 0px; + border-radius: 0px; + border-style: none; + padding: 0px; + margin: 20px 0px 20px 0px; +} \ No newline at end of file diff --git a/view/404.php b/view/404.php new file mode 100644 index 0000000..85b5c7a --- /dev/null +++ b/view/404.php @@ -0,0 +1 @@ +

Error 404 : not found

\ No newline at end of file diff --git a/view/500.php b/view/500.php new file mode 100644 index 0000000..1fb595e --- /dev/null +++ b/view/500.php @@ -0,0 +1,2 @@ +

Error 500 : Erreur interne au serveur

+

Merci de contacter l'administrateur

\ No newline at end of file diff --git a/view/account/default.php b/view/account/default.php new file mode 100644 index 0000000..4320ea6 --- /dev/null +++ b/view/account/default.php @@ -0,0 +1,22 @@ +

+ Compte +

+

+ Ici, vous pourrez afficher toutes les parties jouées, modifiez vos paramètres et vous désinscrire ! +

+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +
\ No newline at end of file diff --git a/view/account/delete.php b/view/account/delete.php new file mode 100644 index 0000000..029fb69 --- /dev/null +++ b/view/account/delete.php @@ -0,0 +1,12 @@ +

+ Désinscription +

+

+ Êtes-vous sur de vouloir vous désinscrire ? Toutes vos parties seront supprimées et vous ne serez plus présent dans le classement général ! +

+
+
+ + +
+
\ No newline at end of file diff --git a/view/account/delete_confirm.php b/view/account/delete_confirm.php new file mode 100644 index 0000000..b64d1ec --- /dev/null +++ b/view/account/delete_confirm.php @@ -0,0 +1,12 @@ +

+ Désinscription +

+

+ Vous avez été supprimer du site. Bonne journée ! +
+ Redirection en cours, veuillez patienter... +

+ + diff --git a/view/account/edit_succes.php b/view/account/edit_succes.php new file mode 100644 index 0000000..b727db9 --- /dev/null +++ b/view/account/edit_succes.php @@ -0,0 +1,14 @@ +

+ Paramètre de compte +

+

+ Les modifications ont été enregistrées avec succès ! +
+ Redirection en cours ... +

+ + \ No newline at end of file diff --git a/view/account/games.php b/view/account/games.php new file mode 100644 index 0000000..e391423 --- /dev/null +++ b/view/account/games.php @@ -0,0 +1,106 @@ +

Historique des parties jouées

+ + + + + + + + + + + + + + + + + selectByLogin($user->getLogin()); + + //On vérifie si il y joué des partie + if ($games == NULL) { + //Dans ce cas, pour la validation W3C, on met des éléments vides + //Mise en place du nombre de colonnes + $nb_col = 9; + + //Début de la ligne + echo ''; + + //On boucle pour chaque colonnes + for ($i = 0; $i < $nb_col; $i++) { + echo ''; + } + + //On termine la ligne + echo ''; + } else { + + //Mise en place du compteur pour le classement + $i = count($games); + + //On récupère les donnnées + foreach ($games as $game) { + $game_info = point_manager::getInfoByGroupId($game["id"]); + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + $i--; + } + } + ?> + +
Numéro de la partieCatégorieThèmeDate de réalisationDuréeNombre de bonne réponsesNombre de questionsPourcentage de réussitePoints obtenues
'; + echo 'NA'; + echo '
'; + echo $i; + echo ''; + echo $game_info["categorie"]; + echo ''; + echo $game_info["reponse0"] . ", " . $game_info["reponse1"] . " ou les 2"; + echo ''; + echo $game["date"]; + echo ''; + echo ($game["length"] / 1000) . "s"; + echo ''; + $ga = point_manager::getGoodAnswer($game["id"]); + echo $ga[0]; + echo ''; + $qa = point_manager::getNbQuestion($game["id"]); + echo $qa[0]; + echo ''; + echo floor($ga[0] / $qa[0] * 100) . "%"; + echo ''; + echo floor(point_manager::getGamePoint($game["id"])); + echo '
+ +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/view/account/index.php b/view/account/index.php new file mode 100644 index 0000000..dff8de4 --- /dev/null +++ b/view/account/index.php @@ -0,0 +1,69 @@ +delete($user->getLogin()); + + //On supprime le user de SESSION + session_destroy(); + + //On termine afficher le message de confirmation + include "./view/account/delete_confirm.php"; +} + +?> \ No newline at end of file diff --git a/view/account/name_fail.php b/view/account/name_fail.php new file mode 100644 index 0000000..4043251 --- /dev/null +++ b/view/account/name_fail.php @@ -0,0 +1,12 @@ +

+ Paramètres +

+

+ Votre nom et prénom ne peuvent être vide. Aucune modification n'a été effectuée. +
+ Redirection en cours veuillez patienter... +

+ + \ No newline at end of file diff --git a/view/account/no_change.php b/view/account/no_change.php new file mode 100644 index 0000000..3ee59fc --- /dev/null +++ b/view/account/no_change.php @@ -0,0 +1,12 @@ +

+ Paramètres +

+

+ Aucune modification n'a été détectée. +
+ Redirection en cours veuillez patienter... +

+ + \ No newline at end of file diff --git a/view/account/not_connected.php b/view/account/not_connected.php new file mode 100644 index 0000000..9ce2e54 --- /dev/null +++ b/view/account/not_connected.php @@ -0,0 +1,9 @@ +

+ Compte +

+

+ Vous devez vous connecter pour avoir accès à cette page ! +

+

+ Connectez-vous avez le menu de droite ! +

\ No newline at end of file diff --git a/view/account/param.php b/view/account/param.php new file mode 100644 index 0000000..965e138 --- /dev/null +++ b/view/account/param.php @@ -0,0 +1,37 @@ +

+ Paramètres de compte +

+ + + + +
+
+ + +
+
+ + + +
+
+ + + +
+
+ +
+
+ + + + + + + +
+
\ No newline at end of file diff --git a/view/account/pwd_fail.php b/view/account/pwd_fail.php new file mode 100644 index 0000000..7644bd3 --- /dev/null +++ b/view/account/pwd_fail.php @@ -0,0 +1,12 @@ +

+ Paramètres +

+

+ Votre mot de passe ne peut être vide. Aucune modification n'a été effectuée. +
+ Redirection en cours veuillez patienter... +

+ + \ No newline at end of file diff --git a/view/account/update.php b/view/account/update.php new file mode 100644 index 0000000..f976748 --- /dev/null +++ b/view/account/update.php @@ -0,0 +1,84 @@ +setNom($data["new_name"]); + } else + { + //Sinon, on affiche un message d'erreur et on quitte + include 'view/account/name_fail.php'; + return; + } + } + +if ((isset($data["new_prenom"])) && ($data["new_prenom"] != "null")) + { + //On vérifie si le prénom est valide + if (!$data["new_prenom"] == "") + { + //Si c'est OK, on sauvegarde + $user->setPrenom($data["new_prenom"]); + } else + { + //Sinon, on affiche le message d'erreur et on quitte + include 'view/account/name_fail.php'; + return; + } + } + +if ((isset($data["new_password"])) && ($data["new_password"] != "null")) + { + if (!$data["new_password"] == "") + { + //Si le nouveau mot de passe est valide, on sauvegarde + $new_pwd = TRUE; + $user->setPassword($data["new_password"]); + } else + { + //Sinon ,on affiche le message d'erreur approprié + include 'view/account/pwd_fail.php'; + return; + } + } + + +if ($new_pwd) + { + //Il y a un nouveau mot de passe, on fait un update complet + user::saveUser($user); + } else + { + //Sinon on fait un update partiel + user::saveUserNoPassword($user); + } + +//On met à jour les données de la session +$_SESSION["user"] = $user; + +//On affiche un message de confirmation +require_once 'edit_succes.php'; +?> diff --git a/view/game/categories.php b/view/game/categories.php new file mode 100644 index 0000000..d7a2e76 --- /dev/null +++ b/view/game/categories.php @@ -0,0 +1,44 @@ +

+ Sel ou Poivre ? +

+

+ Veuillez sélectionner une catégorie +

+

+ Pour commencer, veuiller choisir une catégorie de questions. +
+ La partie sera alors choisi aléatoirement parmi cette catégorie. +

+
+
+
+ + +
+
+ +
+
+
+
+ + +
+
+
diff --git a/view/game/error.php b/view/game/error.php new file mode 100644 index 0000000..0dd21fe --- /dev/null +++ b/view/game/error.php @@ -0,0 +1,18 @@ +

+ Sel ou Poivre ? +

+

+ Erreur ! +

+

+ Une erreur est survenue lors de l'enregistrement de votre partie. +
+ Veuillez contacter l'administrateur pour résoudre le problème. +
+ Veuillez nous excuser pour le dérangement occasionné ! +

+
+
+ +
+
\ No newline at end of file diff --git a/view/game/finish.php b/view/game/finish.php new file mode 100644 index 0000000..3924beb --- /dev/null +++ b/view/game/finish.php @@ -0,0 +1,76 @@ +

+ Sel ou Poivre ? +

+

+ Fini ! +

+

+ La partie est terminée et a été correctement enregistrée. +
+ Vous pouvez commencer une nouvelle partie en cliquant sur 'Jouer' dans le menu de gauche ! +

+ + + + + + + + + + + + + + + + getGameId()); + + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo "'; + ?> + + +
CatégorieThèmeDurée de la partieNombre de bonnes réponsesNombre de questionsPourcentage de réussitePoints obtenus
"; + echo $infos["categorie"]; + echo ""; + echo $infos["reponse0"] . ", " . $infos["reponse1"] . " ou les 2"; + echo ""; + echo ($game->getLength() / 1000) . "s"; + echo ""; + $good = point_manager::getGoodAnswer($game->getGameId()); + echo $good[0]; + echo ""; + $nbquestion = point_manager::getNbQuestion($game->getGameId()); + echo $nbquestion[0]; + echo ""; + echo floor($good[0] / $nbquestion[0] * 100) . "%"; + echo ""; + echo floor(point_manager::getGamePoint($game->getGameId())); + echo '
+
+
+ +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/view/game/index.php b/view/game/index.php new file mode 100644 index 0000000..f1ff128 --- /dev/null +++ b/view/game/index.php @@ -0,0 +1,135 @@ +count($_POST["cat"]); + $max = $tmp[0]; + + //Mise en place de l'index + $index = rand(0, $max - 1); + + //On récupère tous les groupes relatifs à la catégorie sélectionnée + $data_groupes = $dao->selectByCat($_POST["cat"]); + + //On récupère l'identifiant du groupe aléatoirement choisi + $id = $data_groupes[$index]["id"]; + + //On charge le groupe + $group = NULL; + $group = new groupe($id); + + //On inclue la page principale + include_once 'view/game/run.php'; + } + +/* + * On traite la fin de la partie + */ + +function endGame() + { + //On inclue les fichiers nécessaires + include_once './metier/reponse_user.php'; + include_once './metier/game.php'; + + $reponses = array(); //Tableau contenant les futurs objets réponses + $questions_id = explode("|", $_POST["questions_id"]); //Tableau des identifiants des questions + $datas = array(); //Tableau des réponses de l'utilisateur + //Parsage des réponses + $max = count($questions_id) - 1; + for ($i = 0; $i < $max; $i++) + { + $datas[$i] = $_POST["saveq$i"]; + } + + //Mise en place des objets réponses + $max = count($datas); + for ($i = 0; $i < $max; $i++) + { + $tmp = new reponse_user(NULL, $questions_id[$i], $datas[$i]); + $reponses[$i] = $tmp; + } + + //Création d'un nouvel objet game + $game = new game(NULL, $_SESSION["user"]->getLogin(), $_POST["time"], $reponses, null); + + //Sauvegarde de la partie + $result = game::saveGame($game); + + //Une fois que c'est terminée, on fait un redirection pour éviter les refreshs + //et donc les doublons de sauvegarde + if ($result) + { + //Si tout va bien, on affiche la page finale avec en argument l'id de la partie + //pour afficher les statistiques + header('Location: index.php?page=finish&game=' . $game->getGameId()); + } else + { + //Sinon, un message d'erreur + header('Location: index.php?page=error'); + } + } + +?> \ No newline at end of file diff --git a/view/game/notconnected.php b/view/game/notconnected.php new file mode 100644 index 0000000..e238c2e --- /dev/null +++ b/view/game/notconnected.php @@ -0,0 +1,9 @@ +

+ Sel ou Poivre +

+

+ Erreur +

+

+ Pour pouvoir jouer, merci de vous connecter ou de vous inscrire. Cela ne vous prendra que quelques minutes. +

\ No newline at end of file diff --git a/view/game/question.php b/view/game/question.php new file mode 100644 index 0000000..80fb0d2 --- /dev/null +++ b/view/game/question.php @@ -0,0 +1,41 @@ +
0) { + echo 'style="visibility : hidden"'; +} +?>> +
+ + + + + +
+
+
\ No newline at end of file diff --git a/view/game/run.php b/view/game/run.php new file mode 100644 index 0000000..2b2fd4f --- /dev/null +++ b/view/game/run.php @@ -0,0 +1,82 @@ + + +

+ Jeux +

+

+ getReponse_0() . ", " . $group->getReponse_1() . " ou les 2 ?"; + ?> +

+

+ Vous allez avoir une série de question. + La réponse est soit getReponse_0(); ?>, + soit getReponse_1() ?> ou les 2 propositions. +
+ Votre partie sera chronomètrée. +
+ Il y a getQuestion()); ?> questions. +
+ Quand vous serez prêt, + appuyez sur le bouton suivant pour commencer la partie ! +

+
+
+
+
+
+ +
+
+ + +
\ No newline at end of file diff --git a/view/logout/error.php b/view/logout/error.php new file mode 100644 index 0000000..0e03319 --- /dev/null +++ b/view/logout/error.php @@ -0,0 +1,6 @@ +

+ Déconnexion +

+

+ Echec lors de la déconnexion. Contacter l'administrateur du site ! +

\ No newline at end of file diff --git a/view/logout/index.php b/view/logout/index.php new file mode 100644 index 0000000..f35bcf4 --- /dev/null +++ b/view/logout/index.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/view/logout/success.php b/view/logout/success.php new file mode 100644 index 0000000..99d7084 --- /dev/null +++ b/view/logout/success.php @@ -0,0 +1,8 @@ +

+ Déconnexion +

+

Déconnexion réussie avec succès. Bonne jourée !

+ + \ No newline at end of file diff --git a/view/rank/bycat.php b/view/rank/bycat.php new file mode 100644 index 0000000..eff6d35 --- /dev/null +++ b/view/rank/bycat.php @@ -0,0 +1,155 @@ +

+ Classement par catégorie +

+ +getAllCat(); + } else + { + $categories = array(0 => (array(0 => $_POST["cat"]))); + } + } else + { + $categories = $dao->getAllCat(); + } + +//On met en place un formulaire pour le choix de la catégories +?> + +
+
+ +
+
+ +
+
+ + + +

+ + + + + + + + + + + + getNbGame() == 0) + { + continue; + } + + if (isset($_SESSION["user"]) && $user->getLogin() == $rank->getUser()->getLogin()) + echo ""; + else + echo ""; + + echo ""; + echo "'; + echo "'; + echo "'; + echo "'; + echo ''; + $i++; + } + ?> + +
NomPrénomNombre de partie jouéesTotal pointsRang
"; + echo $rank->getUser()->getNom(); + echo ""; + echo $rank->getUser()->getPrenom(); + echo '"; + echo $rank->getNbGame(); + echo '"; + echo floor($rank->getPoint()); + echo '"; + echo $i; + echo '
+ + + +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/view/rank/default.php b/view/rank/default.php new file mode 100644 index 0000000..decfbf1 --- /dev/null +++ b/view/rank/default.php @@ -0,0 +1,21 @@ +

+ Classement +

+

+ Ici, vous trouverez le classement général du site. +
+ Le classement par catégorie représente le classement de tout les joueurs pour une catégorie. +
+ Le classement général contient le classement total, toutes catégories confondues. +

+
+
+ +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/view/rank/globalrank.php b/view/rank/globalrank.php new file mode 100644 index 0000000..a3a93be --- /dev/null +++ b/view/rank/globalrank.php @@ -0,0 +1,102 @@ +

Classement général

+
+ + + + + + + + + + + + + + getNbGame() == 0) + { + continue; + } + + if (isset($_SESSION["user"])) + { + $user = $_SESSION["user"]; + + if ($user->getLogin() == $rank->getUser()->getLogin()) + { + echo ''; + } else + { + echo ''; + } + } else + { + echo ''; + } + + echo ""; + echo "'; + echo "'; + echo "'; + echo "'; + echo "'; + echo ''; + $i++; + } + ?> + +
NomPrénomParties jouéesTotal pointsMoyenne de pointsRang
"; + echo $rank->getUser()->getNom(); + echo ""; + echo $rank->getUser()->getPrenom(); + echo '"; + echo $rank->getNbGame(); + echo '"; + echo floor($rank->getPoint()); + echo '"; + echo floor($rank->getPoint() / $rank->getNbGame()); + echo '"; + echo $i; + echo '
+
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/view/rank/index.php b/view/rank/index.php new file mode 100644 index 0000000..3e61cf3 --- /dev/null +++ b/view/rank/index.php @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/view/signup/formulaire.php b/view/signup/formulaire.php new file mode 100644 index 0000000..08dc82d --- /dev/null +++ b/view/signup/formulaire.php @@ -0,0 +1,40 @@ +

+ Inscription +

+

+ Pour pouvoir vous enregistrer, merci de bien vouloir remplir ce court formulaire +
+ Votre nom et prénom seront visibles dans la page des scores +

+
+
+
+ +
+
+ +
+ + +
+
+ +
+
+ + +
+ + +
+
+

(*) Champ obligatoire

+ + +
+
+ + +
+
+
diff --git a/view/signup/index.php b/view/signup/index.php new file mode 100644 index 0000000..1565d24 --- /dev/null +++ b/view/signup/index.php @@ -0,0 +1,69 @@ + \ No newline at end of file diff --git a/view/signup/login_exist.php b/view/signup/login_exist.php new file mode 100644 index 0000000..5d9f535 --- /dev/null +++ b/view/signup/login_exist.php @@ -0,0 +1,12 @@ +

+ Inscription +

+

+ L'enregistrement a échoué. Le login existe déjà dans la base de données.Veuillez choisir un login différent ! +
+ Redirection en cours veuillez patienter... +

+ + \ No newline at end of file diff --git a/view/signup/mail_error.php b/view/signup/mail_error.php new file mode 100644 index 0000000..744196b --- /dev/null +++ b/view/signup/mail_error.php @@ -0,0 +1,12 @@ +

+ Inscription +

+

+ L'email n'est pas valide ! +
+ Redirection en cours veuillez patienter... +

+ + \ No newline at end of file diff --git a/view/signup/name_error.php b/view/signup/name_error.php new file mode 100644 index 0000000..219dbed --- /dev/null +++ b/view/signup/name_error.php @@ -0,0 +1,12 @@ +

+ Inscription +

+

+ Votre nom ou prénom n'est pas valide ! +
+ Redirection en cours veuillez patienter... +

+ + \ No newline at end of file diff --git a/view/signup/pwd_error.php b/view/signup/pwd_error.php new file mode 100644 index 0000000..a69861d --- /dev/null +++ b/view/signup/pwd_error.php @@ -0,0 +1,11 @@ +

+ Inscription +

+

+ Les mots de passes ne sont pas identiques. +
+ Redirection en cours veuillez patienter... +

+ \ No newline at end of file diff --git a/view/signup/success.php b/view/signup/success.php new file mode 100644 index 0000000..5edbf1c --- /dev/null +++ b/view/signup/success.php @@ -0,0 +1,9 @@ +

+ Inscription +

+

Enregistrement effectué avec succès. Vous pouvez dès à présent naviguer entièrement sur le site !

+ + + \ No newline at end of file diff --git a/view/template/connexion_form.php b/view/template/connexion_form.php new file mode 100644 index 0000000..e554614 --- /dev/null +++ b/view/template/connexion_form.php @@ -0,0 +1,36 @@ + +
+
+
+ + + + + +
+
+
+ +
+ +
+ + diff --git a/view/template/core.php b/view/template/core.php new file mode 100644 index 0000000..186fed6 --- /dev/null +++ b/view/template/core.php @@ -0,0 +1,4 @@ +
+

Hello world !

+
+ diff --git a/view/template/header.php b/view/template/header.php new file mode 100644 index 0000000..46c7d3c --- /dev/null +++ b/view/template/header.php @@ -0,0 +1,26 @@ + + + diff --git a/view/template/img/burger.png b/view/template/img/burger.png new file mode 100644 index 0000000..b15ee05 Binary files /dev/null and b/view/template/img/burger.png differ diff --git a/view/template/img/burgerquizz.png b/view/template/img/burgerquizz.png new file mode 100644 index 0000000..b58fd19 Binary files /dev/null and b/view/template/img/burgerquizz.png differ diff --git a/view/template/img/logo.png b/view/template/img/logo.png new file mode 100644 index 0000000..b58fd19 Binary files /dev/null and b/view/template/img/logo.png differ diff --git a/view/template/index.html b/view/template/index.html new file mode 100644 index 0000000..e69de29 diff --git a/view/template/index.php b/view/template/index.php new file mode 100644 index 0000000..23458b5 --- /dev/null +++ b/view/template/index.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/view/template/menu_left.php b/view/template/menu_left.php new file mode 100644 index 0000000..0393012 --- /dev/null +++ b/view/template/menu_left.php @@ -0,0 +1,70 @@ + + + + + + + + \ No newline at end of file diff --git a/view/template/menu_left_SAVE.txt b/view/template/menu_left_SAVE.txt new file mode 100644 index 0000000..8533044 --- /dev/null +++ b/view/template/menu_left_SAVE.txt @@ -0,0 +1,29 @@ +