Hotfix: Main tag

This commit is contained in:
Divlo 2019-12-28 22:36:09 +01:00
parent 0b6e2f9181
commit b3225f3adc
25 changed files with 651 additions and 604 deletions

View File

@ -38,9 +38,6 @@ p {
} }
/* HEADER */ /* HEADER */
header {
margin-bottom: 4%;
}
#header-container { #header-container {
padding-bottom: 0; padding-bottom: 0;
} }
@ -59,14 +56,14 @@ header {
} }
/* CONTENT */ /* CONTENT */
main {
padding-top: 81px;
}
@media (max-width: 576px) { @media (max-width: 576px) {
.container { .container {
width: 90% !important; width: 90% !important;
} }
} }
.container {
padding-bottom: 25px;
}
.selectInline { .selectInline {
display: inline-block !important; display: inline-block !important;
width: 80px !important; width: 80px !important;

View File

@ -1,6 +1,5 @@
<footer class="text-center"> <footer class="text-center">
<div class="container-fluid"> <div class="container-fluid">
<!-- <a href="#" class="scroll-top-arrow important"><i class="fas fa-arrow-up"></i></a> -->
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<a href="#" class="scroll-top-arrow important"><i class="fas fa-arrow-up"></i></a> <a href="#" class="scroll-top-arrow important"><i class="fas fa-arrow-up"></i></a>

View File

@ -39,7 +39,7 @@
<link rel="stylesheet" href="/css/style.css"> <link rel="stylesheet" href="/css/style.css">
</head> </head>
<body> <body class="d-flex flex-column">
<header> <header>
<nav class="navbar navbar-expand-lg navbar-dark static-top"> <nav class="navbar navbar-expand-lg navbar-dark static-top">
<div class="container" id="header-container"> <div class="container" id="header-container">

View File

@ -5,30 +5,32 @@
<?php include("./incl/header.php");?> <?php include("./incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<div class="container">
<div class="row">
<h1 class="pb-4">Bienvenue sur <span class="important">FunctionProject</span> <i class="fas fa-file-code"></i></h1>
</div>
<div class="row pb-5 pt-2">
<p class="mx-auto"><a href="/views/function-list.php">Liste de Mini-programmes</a> permettant de <a id="change" href="/views/function-views/weatherRequest.php">connaître la météo</a>...</p>
</div>
<div class="row"> <div class="row">
<h1 class="pb-4">Bienvenue sur <span class="important">FunctionProject</span> <i class="fas fa-file-code"></i></h1> <div class="col-sm-12 col-md-6 pb-4">
</div> <div class="text-center pb-5">
<div class="row pb-5 pt-2"> <h2 class="function-list-title"><a target="_blank" href="https://github.com/Divlo/FunctionProject">Code Source :</a></h2>
<p class="mx-auto"><a href="/views/function-list.php">Liste de Mini-programmes</a> permettant de <a id="change" href="/views/function-views/weatherRequest.php">connaître la météo</a>...</p> <a target="_blank" href="https://github.com/Divlo/FunctionProject"><img class="function-list-image" src="/img/GitHub.png" alt=""></a>
</div> <p class="function-list-description">Code source disponible sur <a target="_blank" href="https://github.com/Divlo">mon profil GitHub</a> <i class="fab fa-github"></i>.</p>
<div class="row"> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a target="_blank" href="https://github.com/Divlo/FunctionProject">Code Source :</a></h2>
<a target="_blank" href="https://github.com/Divlo/FunctionProject"><img class="function-list-image" src="/img/GitHub.png" alt=""></a>
<p class="function-list-description">Code source disponible sur <a target="_blank" href="https://github.com/Divlo">mon profil GitHub</a> <i class="fab fa-github"></i>.</p>
</div> </div>
</div> <div class="col-sm-12 col-md-6 pb-4">
<div class="col-sm-12 col-md-6 pb-4"> <div class="text-center pb-5">
<div class="text-center pb-5"> <h2 class="function-list-title"><a href="/views/feedback-form_view.php">Donnez votre avis :</a></h2>
<h2 class="function-list-title"><a href="/views/feedback-form_view.php">Donnez votre avis :</a></h2> <a href="/views/feedback-form_view.php"><img class="function-list-image" src="/img/Feedback-Formulaire.png" alt=""></a>
<a href="/views/feedback-form_view.php"><img class="function-list-image" src="/img/Feedback-Formulaire.png" alt=""></a> <p class="function-list-description">Vous pouvez m'envoyer votre avis sur le projet grâce au <a href="/views/feedback-form_view.php">Feedback Formulaire</a> 📝.</p>
<p class="function-list-description">Vous pouvez m'envoyer votre avis sur le projet grâce au <a href="/views/feedback-form_view.php">Feedback Formulaire</a> 📝.</p> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </main>
<!-- Footer --> <!-- Footer -->
<?php include("./incl/footer.php");?> <?php include("./incl/footer.php");?>

View File

@ -5,10 +5,12 @@
<?php include("../incl/header.php");?> <?php include("../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1>Erreur <span class="important">404</span></h1> <div class="container">
<p class="pt-3 text-center">Cette page n'existe pas! <a href="/index.php" class="important">Revenir à la page d'accueil ?</a></p> <h1>Erreur <span class="important">404</span></h1>
</div> <p class="pt-3 text-center">Cette page n'existe pas! <a href="/index.php" class="important">Revenir à la page d'accueil ?</a></p>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../incl/footer.php");?> <?php include("../incl/footer.php");?>

View File

@ -5,30 +5,32 @@
<?php include("../incl/header.php");?> <?php include("../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?> <br> <h1><span class="important"><?php echo $title?></span> :</h1>
Note : Tous les feedbacks publiés sont publics. <br> <p class="pt-3 text-center"><?php echo $description?> <br>
<a href="/views/feedback-list.php">La liste des feedbacks publiés</a> Note : Tous les feedbacks publiés sont publics. <br>
</p> <a href="/views/feedback-list.php">La liste des feedbacks publiés</a>
<form id="feedbackForm" method="POST"> </p>
<div class="form-group"> <form id="feedbackForm" method="POST">
<label for="pseudo">Entrez votre pseudo :</label> <div class="form-group">
<input name="pseudo" type="text" id="pseudo" placeholder="Divlo" class="form-control"> <label for="pseudo">Entrez votre pseudo :</label>
<br> <input name="pseudo" type="text" id="pseudo" placeholder="Divlo" class="form-control">
<label for="feedback">Votre message :</label> <br>
<textarea name="feedback" type="text" id="feedback" placeholder="Soyez le plus précis possible dans votre ressenti afin que je puisse améliorer au mieux le projet. ⚙️" class="form-control"></textarea> <label for="feedback">Votre message :</label>
<br> <textarea name="feedback" type="text" id="feedback" placeholder="Soyez le plus précis possible dans votre ressenti afin que je puisse améliorer au mieux le projet. ⚙️" class="form-control"></textarea>
<div class="form-row text-center"> <br>
<div class="col-12"> <div class="form-row text-center">
<button type="submit" id="submitFeedback" class="btn btn-dark text-center">Envoyer</button> <div class="col-12">
</div> <button type="submit" id="submitFeedback" class="btn btn-dark text-center">Envoyer</button>
</div> </div>
<br> <br> </div>
<p class="results text-center"></p> <br> <br>
</div> <p class="results text-center"></p>
</form> </div>
</div> </form>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../incl/footer.php");?> <?php include("../incl/footer.php");?>

View File

@ -5,38 +5,41 @@
<?php include("../incl/header.php");?> <?php include("../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"> <h1><span class="important"><?php echo $title?></span> :</h1>
<?php echo $description?> <br> <p class="pt-3 text-center">
<a href="/views/feedback-form_view.php">Revenir au formulaire</a> <?php echo $description?> <br>
</p> <a href="/views/feedback-form_view.php">Revenir au formulaire</a>
</p>
<table class="table table-bordered mt-5"> <table class="table table-bordered mt-5">
<thead> <thead>
<tr> <tr>
<th class="text-center" scope="col">Pseudo</th> <th class="text-center" scope="col">Pseudo</th>
<th class="text-center" scope="col">Feedback</th> <th class="text-center" scope="col">Feedback</th>
<th class="text-center" scope="col">Statut</th> <th class="text-center" scope="col">Statut</th>
</tr> </tr>
</thead> </thead>
<tbody class="text-center"> <tbody class="text-center">
<?php <?php
$path = $_SERVER['DOCUMENT_ROOT']; $path = $_SERVER['DOCUMENT_ROOT'];
// Connexion à la base de donnée // Connexion à la base de donnée
require_once($path.'/php/config_database/connectDB.php'); require_once($path.'/php/config_database/connectDB.php');
$req = $bdd->query("SELECT * FROM functiondivlofr_feedback"); $req = $bdd->query("SELECT * FROM functiondivlofr_feedback");
while($row = $req->fetch()) { ?> while($row = $req->fetch()) { ?>
<tr> <tr>
<td class="important"><?= $row['pseudo'] ?></td> <td class="important"><?= $row['pseudo'] ?></td>
<td><?= $row['feedback'] ?></td> <td><?= $row['feedback'] ?></td>
<td><?= $row['statut'] ?></td> <td><?= $row['statut'] ?></td>
</tr> </tr>
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../incl/footer.php");?> <?php include("../incl/footer.php");?>

View File

@ -5,141 +5,144 @@
<?php include("../incl/header.php");?> <?php include("../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<div class="row pb-5"> <div class="container">
<h1>La liste des <span class="important">Fonctions</span> :</h1> <div class="row pb-5">
</div> <h1>La liste des <span class="important">Fonctions</span> :</h1>
</div>
<div class="row pt-4"> <div class="row pt-4">
<div class="col-sm-12 col-md-6 pb-4"> <div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/weatherRequest.php">Météo</a></h2> <h2 class="function-list-title"><a href="./function-views/weatherRequest.php">Météo</a></h2>
<a href="./function-views/weatherRequest.php"><img class="function-list-image" src="/img/function-image/weatherRequest.png" alt="Météo"></a> <a href="./function-views/weatherRequest.php"><img class="function-list-image" src="/img/function-image/weatherRequest.png" alt="Météo"></a>
<p class="function-list-description">Affiche la météo et l'heure locale.</p> <p class="function-list-description">Affiche la météo et l'heure locale.</p>
</div>
</div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/randomNumber.php">Nombre aléatoire</a></h2>
<a href="./function-views/randomNumber.php"><img class="function-list-image" src="/img/function-image/randomNumber.png" alt="Nombre aléatoire"></a>
<p class="function-list-description">Génère un nombre aléatoire entre un minimum inclus et un maximum inclus.</p>
</div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/randomNumber.php">Nombre aléatoire</a></h2>
<a href="./function-views/randomNumber.php"><img class="function-list-image" src="/img/function-image/randomNumber.png" alt="Nombre aléatoire"></a>
<p class="function-list-description">Génère un nombre aléatoire entre un minimum inclus et un maximum inclus.</p>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-6 pb-4"> <div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/calculateAge.php">Quel âge avez-vous ?</a></h2> <h2 class="function-list-title"><a href="./function-views/calculateAge.php">Quel âge avez-vous ?</a></h2>
<a href="./function-views/calculateAge.php"><img class="function-list-image" src="/img/function-image/calculateAge.png" alt="Calendrier"></a> <a href="./function-views/calculateAge.php"><img class="function-list-image" src="/img/function-image/calculateAge.png" alt="Calendrier"></a>
<p class="function-list-description">Calcule l'âge selon la date de naissance.</p> <p class="function-list-description">Calcule l'âge selon la date de naissance.</p>
</div>
</div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertTemperature.php">Conversion de Température</a></h2>
<a href="./function-views/convertTemperature.php"><img class="function-list-image" src="/img/function-image/convertTemperature.png" alt="Thermomètre"></a>
<p class="function-list-description">Convertis des Degré Celsius en Degré Fahrenheit et l'inverse aussi.</p>
</div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertTemperature.php">Conversion de Température</a></h2>
<a href="./function-views/convertTemperature.php"><img class="function-list-image" src="/img/function-image/convertTemperature.png" alt="Thermomètre"></a>
<p class="function-list-description">Convertis des Degré Celsius en Degré Fahrenheit et l'inverse aussi.</p>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-6 pb-4"> <div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertDistance.php">Conversion de Distance</a></h2> <h2 class="function-list-title"><a href="./function-views/convertDistance.php">Conversion de Distance</a></h2>
<a href="./function-views/convertDistance.php"><img class="function-list-image" src="/img/function-image/convertDistance.png" alt="Règle"></a> <a href="./function-views/convertDistance.php"><img class="function-list-image" src="/img/function-image/convertDistance.png" alt="Règle"></a>
<p class="function-list-description">Convertis la longueur (distance) avec les unités allant de picomètre au Téramètre.</p> <p class="function-list-description">Convertis la longueur (distance) avec les unités allant de picomètre au Téramètre.</p>
</div>
</div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/filterStudents.php">Trie les prénoms par leur première lettre</a></h2>
<a href="./function-views/filterStudents.php"><img class="function-list-image" src="/img/function-image/filterStudents.png" alt="Carte étudiant"></a>
<p class="function-list-description">Affiche uniquement les prénoms (qui sont dans la liste) qui commencent par la lettre souhaitée.</p>
</div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/filterStudents.php">Trie les prénoms par leur première lettre</a></h2>
<a href="./function-views/filterStudents.php"><img class="function-list-image" src="/img/function-image/filterStudents.png" alt="Carte étudiant"></a>
<p class="function-list-description">Affiche uniquement les prénoms (qui sont dans la liste) qui commencent par la lettre souhaitée.</p>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-6 pb-4"> <div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/randomQuote.php">Générateur de citations</a></h2> <h2 class="function-list-title"><a href="./function-views/randomQuote.php">Générateur de citations</a></h2>
<a href="./function-views/randomQuote.php"><img class="function-list-image" src="/img/function-image/randomQuote.png" alt="Citation"></a> <a href="./function-views/randomQuote.php"><img class="function-list-image" src="/img/function-image/randomQuote.png" alt="Citation"></a>
<p class="function-list-description">Génère aléatoirement une citation ou un proverbe.</p> <p class="function-list-description">Génère aléatoirement une citation ou un proverbe.</p>
</div>
</div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertCurrency.php">Conversion de devises</a></h2>
<a href="./function-views/convertCurrency.php"><img class="function-list-image" src="/img/function-image/convertCurrency.png" alt="Sac de pièces"></a>
<p class="function-list-description">Convertis une valeur dans une devise dans une autre devise.</p>
</div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertCurrency.php">Conversion de devises</a></h2>
<a href="./function-views/convertCurrency.php"><img class="function-list-image" src="/img/function-image/convertCurrency.png" alt="Sac de pièces"></a>
<p class="function-list-description">Convertis une valeur dans une devise dans une autre devise.</p>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-6 pb-4"> <div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertEncoding.php">Conversion des Encodages de caractères</a></h2> <h2 class="function-list-title"><a href="./function-views/convertEncoding.php">Conversion des Encodages de caractères</a></h2>
<a href="./function-views/convertEncoding.php"><img class="function-list-image" src="/img/function-image/convertEncoding.png" alt="Binaire"></a> <a href="./function-views/convertEncoding.php"><img class="function-list-image" src="/img/function-image/convertEncoding.png" alt="Binaire"></a>
<p class="function-list-description">Convertis des nombres de différentes bases et convertis en UTF-8.</p> <p class="function-list-description">Convertis des nombres de différentes bases et convertis en UTF-8.</p>
</div>
</div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertRomanArabicNumbers.php">Conversion d'un nombre arabe en nombre romain</a></h2>
<a href="./function-views/convertRomanArabicNumbers.php"><img class="function-list-image" src="/img/function-image/convertRomanArabicNumbers.png" alt="Chiffres Romains"></a>
<p class="function-list-description">Convertis un nombre arabe en nombre romain (et l'inverse aussi).</p>
</div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertRomanArabicNumbers.php">Conversion d'un nombre arabe en nombre romain</a></h2>
<a href="./function-views/convertRomanArabicNumbers.php"><img class="function-list-image" src="/img/function-image/convertRomanArabicNumbers.png" alt="Chiffres Romains"></a>
<p class="function-list-description">Convertis un nombre arabe en nombre romain (et l'inverse aussi).</p>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-6 pb-4"> <div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/armstrongNumber.php">Nombre d'Armstrong</a></h2> <h2 class="function-list-title"><a href="./function-views/armstrongNumber.php">Nombre d'Armstrong</a></h2>
<a href="./function-views/armstrongNumber.php"><img class="function-list-image" src="/img/function-image/armstrongNumber.png" alt="Nombre d'Armstrong"></a> <a href="./function-views/armstrongNumber.php"><img class="function-list-image" src="/img/function-image/armstrongNumber.png" alt="Nombre d'Armstrong"></a>
<p class="function-list-description">Vérifie si un nombre fait partie des nombres d'Armstrong ou non.</p> <p class="function-list-description">Vérifie si un nombre fait partie des nombres d'Armstrong ou non.</p>
</div>
</div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/heapAlgorithm.php">Heap's algorithm</a></h2>
<a href="./function-views/heapAlgorithm.php"><img class="function-list-image" src="/img/function-image/heapAlgorithm.png" alt="Heap's algorithm"></a>
<p class="function-list-description">Génère toutes les permutations uniques possibles d'une chaîne de caractère (en changeant de place les lettres du mot, permet den créer un nouveau qui n'a pas forcément de sens).</p>
</div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/heapAlgorithm.php">Heap's algorithm</a></h2>
<a href="./function-views/heapAlgorithm.php"><img class="function-list-image" src="/img/function-image/heapAlgorithm.png" alt="Heap's algorithm"></a>
<p class="function-list-description">Génère toutes les permutations uniques possibles d'une chaîne de caractère (en changeant de place les lettres du mot, permet den créer un nouveau qui n'a pas forcément de sens).</p>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-6 pb-4"> <div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/convertMarkdown.php">Markdown</a></h2> <h2 class="function-list-title"><a href="./function-views/convertMarkdown.php">Markdown</a></h2>
<a href="./function-views/convertMarkdown.php"><img class="function-list-image" src="/img/function-image/convertMarkdown.png" alt="Markdown"></a> <a href="./function-views/convertMarkdown.php"><img class="function-list-image" src="/img/function-image/convertMarkdown.png" alt="Markdown"></a>
<p class="function-list-description">Convertis du Markdown en HTML.</p> <p class="function-list-description">Convertis du Markdown en HTML.</p>
</div>
</div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/linkShortener.php">Raccourcisseurs de liens</a></h2>
<a href="./function-views/linkShortener.php"><img class="function-list-image" src="/img/function-image/linkShortener.png" alt="Raccourcisseurs de liens"></a>
<p class="function-list-description">Une URL trop longue ? Raccourcissez- !</p>
</div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-6 pb-4">
<div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/linkShortener.php">Raccourcisseurs de liens</a></h2>
<a href="./function-views/linkShortener.php"><img class="function-list-image" src="/img/function-image/linkShortener.png" alt="Raccourcisseurs de liens"></a>
<p class="function-list-description">Une URL trop longue ? Raccourcissez- !</p>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-12 pb-4"> <div class="col-12 pb-4">
<div class="text-center pb-5"> <div class="text-center pb-5">
<h2 class="function-list-title"><a href="./function-views/toDoList.php">Liste de choses à faire</a></h2> <h2 class="function-list-title"><a href="./function-views/toDoList.php">Liste de choses à faire</a></h2>
<a href="./function-views/toDoList.php"><img class="function-list-image" src="/img/function-image/toDoList.png" alt="ToDoList"></a> <a href="./function-views/toDoList.php"><img class="function-list-image" src="/img/function-image/toDoList.png" alt="ToDoList"></a>
<p class="function-list-description"></p> <p class="function-list-description"></p>
</div>
</div> </div>
</div> </div>
</div>
</div> </div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../incl/footer.php");?> <?php include("../incl/footer.php");?>

View File

@ -5,19 +5,21 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/armstrongNumber.png" alt="Nombre d'Armstrong"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/armstrongNumber.png" alt="Nombre d'Armstrong">
<div class="form-group">
<label for="numberToTest">Entrez votre nombre :</label>
<input name="numberToTest" type="number" id="numberToTest" placeholder="(e.g : 153)" class="form-control">
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <div class="form-group">
<label for="numberToTest">Entrez votre nombre :</label>
<input name="numberToTest" type="number" id="numberToTest" placeholder="(e.g : 153)" class="form-control">
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,19 +5,21 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span></h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span></h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/calculateAge.png" alt="Calendrier"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/calculateAge.png" alt="Calendrier">
<div class="form-group">
<label for="birthDateValue">Entrez la date de naissance au format (dd/mm/yyyy) :</label>
<input name="birthDateValue" type="text" id="birthDateValue" placeholder="Sélectionnez une date" class="form-control datepicker">
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <div class="form-group">
<label for="birthDateValue">Entrez la date de naissance au format (dd/mm/yyyy) :</label>
<input name="birthDateValue" type="text" id="birthDateValue" placeholder="Sélectionnez une date" class="form-control datepicker">
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,58 +5,60 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?> <h1><span class="important"><?php echo $title?></span> :</h1>
<br> <p class="pt-3 text-center"><?php echo $description?>
Les taux de change sont récupérés grâce à l'API <a href="https://exchangeratesapi.io/" target="_blank">exchangeratesapi.io</a>. <br>
</p> Les taux de change sont récupérés grâce à l'API <a href="https://exchangeratesapi.io/" target="_blank">exchangeratesapi.io</a>.
<div class="text-center"> </p>
<img class="function-image" src="/img/function-image/convertCurrency.png" alt="Sac de pièces"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/convertCurrency.png" alt="Sac de pièces">
<br>
<div class="form-group">
<label for="value">Entrez le nombre à convertir et sélectionner la devise de celui-çi :</label>
<br>
<input name="value" type="text" class="inlineInput" id="value" placeholder="(e.g : 50)" class="form-control">
<select class="form-control selectInline" id="currencyOfTheValue">
<option value="EUR">Euro () - EUR</option>
<option value="GBP">Livre sterling (£) - GBP</option>
<option value="USD">Dollar Américain ($) - USD</option>
<option value="CAD">Dollar Canadien ($) - CAD</option>
<option value="AUD">Dollar Australien ($) - AUD</option>
<option value="MXN">Peso Mexicain ($) - MXN</option>
<option value="CHF">Franc Suisse (Fr) - CHF</option>
<option value="RUB">Rouble Russe () - RUB</option>
<option value="BRL">Réal brésilien (R$) - BRL</option>
<option value="JPY">Yen (¥) - JPY</option>
</select>
<br> <br>
<label for="currencyAfter">Choisissez la devise que voulez avoir après conversion :</label> <br>
<select class="form-control selectInline" id="currencyAfter">
<option value="£">Livre sterling (£) - GBP</option>
<option value="$ Américain">Dollar Américain ($) - USD</option>
<option value="$ Canadien">Dollar Canadien ($) - CAD</option>
<option value="$ Australien">Dollar Australien ($) - AUD</option>
<option value="$ Mexicain">Peso Mexicain ($) - MXN</option>
<option value="CHF">Franc Suisse (Fr) - CHF</option>
<option value="">Rouble Russe () - RUB</option>
<option value="R$">Réal brésilien (R$) - BRL</option>
<option value="¥">Yen (¥) - JPY</option>
<option value="">Euro () - EUR</option>
</select>
<br>
<div class="form-row text-center">
<div class="col-12">
<br>
<button type="submit" id="submitConvertCurrency" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
<p class="rateDate text-center"></p>
</div> </div>
</div> <br>
<div class="form-group">
<label for="value">Entrez le nombre à convertir et sélectionner la devise de celui-çi :</label>
<br>
<input name="value" type="text" class="inlineInput" id="value" placeholder="(e.g : 50)" class="form-control">
<select class="form-control selectInline" id="currencyOfTheValue">
<option value="EUR">Euro () - EUR</option>
<option value="GBP">Livre sterling (£) - GBP</option>
<option value="USD">Dollar Américain ($) - USD</option>
<option value="CAD">Dollar Canadien ($) - CAD</option>
<option value="AUD">Dollar Australien ($) - AUD</option>
<option value="MXN">Peso Mexicain ($) - MXN</option>
<option value="CHF">Franc Suisse (Fr) - CHF</option>
<option value="RUB">Rouble Russe () - RUB</option>
<option value="BRL">Réal brésilien (R$) - BRL</option>
<option value="JPY">Yen (¥) - JPY</option>
</select>
<br> <br>
<label for="currencyAfter">Choisissez la devise que voulez avoir après conversion :</label> <br>
<select class="form-control selectInline" id="currencyAfter">
<option value="£">Livre sterling (£) - GBP</option>
<option value="$ Américain">Dollar Américain ($) - USD</option>
<option value="$ Canadien">Dollar Canadien ($) - CAD</option>
<option value="$ Australien">Dollar Australien ($) - AUD</option>
<option value="$ Mexicain">Peso Mexicain ($) - MXN</option>
<option value="CHF">Franc Suisse (Fr) - CHF</option>
<option value="">Rouble Russe () - RUB</option>
<option value="R$">Réal brésilien (R$) - BRL</option>
<option value="¥">Yen (¥) - JPY</option>
<option value="">Euro () - EUR</option>
</select>
<br>
<div class="form-row text-center">
<div class="col-12">
<br>
<button type="submit" id="submitConvertCurrency" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
<p class="rateDate text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,60 +5,62 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/convertDistance.png" alt="Règle"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/convertDistance.png" alt="Règle">
<br>
<div class="form-group">
<label for="firstValue">Entrez la distance que vous voulez convertir et sélectionner l'unité de celle-çi :</label>
<br>
<input name="firstValue" type="text" class="inlineInput" id="firstValue" placeholder="(e.g : 50)" class="form-control">
<select class="form-control selectInline" id="firstValueUnit">
<option value="pm">pm</option>
<option value="nm">nm</option>
<option value="µm">µm</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="dm">dm</option>
<option value="m">m</option>
<option value="dam">dam</option>
<option value="hm">hm</option>
<option value="km">km</option>
<option value="Mm">Mm</option>
<option value="Gm">Gm</option>
<option value="Tm">Tm</option>
</select>
<br> <br>
<label for="secondValue">Choisissez l'unité que vous voulez avoir après conversion :</label> <br>
<select class="form-control selectInline" id="secondValue">
<option value="pm">pm</option>
<option value="nm">nm</option>
<option value="µm">µm</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="dm">dm</option>
<option value="m">m</option>
<option value="dam">dam</option>
<option value="hm">hm</option>
<option value="km">km</option>
<option value="Mm">Mm</option>
<option value="Gm">Gm</option>
<option value="Tm">Tm</option>
</select>
<br>
<div class="form-row text-center">
<div class="col-12">
<br>
<button type="submit" id="submitConvertDistance" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <br>
<div class="form-group">
<label for="firstValue">Entrez la distance que vous voulez convertir et sélectionner l'unité de celle-çi :</label>
<br>
<input name="firstValue" type="text" class="inlineInput" id="firstValue" placeholder="(e.g : 50)" class="form-control">
<select class="form-control selectInline" id="firstValueUnit">
<option value="pm">pm</option>
<option value="nm">nm</option>
<option value="µm">µm</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="dm">dm</option>
<option value="m">m</option>
<option value="dam">dam</option>
<option value="hm">hm</option>
<option value="km">km</option>
<option value="Mm">Mm</option>
<option value="Gm">Gm</option>
<option value="Tm">Tm</option>
</select>
<br> <br>
<label for="secondValue">Choisissez l'unité que vous voulez avoir après conversion :</label> <br>
<select class="form-control selectInline" id="secondValue">
<option value="pm">pm</option>
<option value="nm">nm</option>
<option value="µm">µm</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="dm">dm</option>
<option value="m">m</option>
<option value="dam">dam</option>
<option value="hm">hm</option>
<option value="km">km</option>
<option value="Mm">Mm</option>
<option value="Gm">Gm</option>
<option value="Tm">Tm</option>
</select>
<br>
<div class="form-row text-center">
<div class="col-12">
<br>
<button type="submit" id="submitConvertDistance" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,41 +5,44 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/convertEncoding.png" alt="Binaire"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/convertEncoding.png" alt="Binaire">
<div class="form-group"> </div>
<label for="value">Entrez votre valeur :</label> <div class="form-group">
<textarea name="value" type="text" id="value" placeholder="Votre valeur..." class="form-control"></textarea> <label for="value">Entrez votre valeur :</label>
<br> <textarea name="value" type="text" id="value" placeholder="Votre valeur..." class="form-control"></textarea>
<label for="option">Choisissez une option : </label> <br>
<select class="form-control selectInline" id="option">
<option value="decimalToBinary">Décimal en Binaire</option>
<option value="binaryToDecimal">Binaire en Décimal</option>
<option value="decimalToHexadecimal">Décimal en Hexadecimal</option>
<option value="hexadecimalToDecimal">Hexadecimal en Décimal</option>
<option value="binaryToHexadecimal">Binaire en Hexadécimal</option>
<option value="hexadecimalToBinary">Hexadécimal en Binaire</option>
<option value="textToNumberUnicode">Chaque caractère a un nombre Unicode</option>
<option value="numberUnicodeToText">Chaque nombre Unicode a un caractère</option>
<option value="textToBinary">Texte en Binaire (UTF-8)</option>
<option value="binaryToText">Binaire (UTF-8) en Texte</option>
<option value="textToHexadecimal">Texte en Hexadécimal (UTF-8)</option>
<option value="hexadecimalToText">Hexadécimal (UTF-8) en Texte</option>
</select>
<div class="form-row text-center">
<div class="col-12">
<br> <br>
<button type="submit" id="submitConvertEncoding" class="btn btn-dark text-center">Envoyer</button> <label for="option">Choisissez une option : </label> <br>
<select class="form-control selectInline" id="option">
<option value="decimalToBinary">Décimal en Binaire</option>
<option value="binaryToDecimal">Binaire en Décimal</option>
<option value="decimalToHexadecimal">Décimal en Hexadecimal</option>
<option value="hexadecimalToDecimal">Hexadecimal en Décimal</option>
<option value="binaryToHexadecimal">Binaire en Hexadécimal</option>
<option value="hexadecimalToBinary">Hexadécimal en Binaire</option>
<option value="textToNumberUnicode">Chaque caractère a un nombre Unicode</option>
<option value="numberUnicodeToText">Chaque nombre Unicode a un caractère</option>
<option value="textToBinary">Texte en Binaire (UTF-8)</option>
<option value="binaryToText">Binaire (UTF-8) en Texte</option>
<option value="textToHexadecimal">Texte en Hexadécimal (UTF-8)</option>
<option value="hexadecimalToText">Hexadécimal (UTF-8) en Texte</option>
</select>
<div class="form-row text-center">
<div class="col-12">
<br>
<button type="submit" id="submitConvertEncoding" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> </div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> </main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,21 +5,23 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/convertMarkdown.png" alt="Markdown"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/convertMarkdown.png" alt="Markdown">
<div class="row">
<div class="col-sm-6">
<textarea rows="6" name="texteMarkdown" id="texteMarkdown" placeholder="Votre texte..." class="form-control"></textarea>
</div> </div>
<div class="col-sm-6 results"> <div class="row">
<p>Votre texte...</p> <div class="col-sm-6">
<textarea rows="6" name="texteMarkdown" id="texteMarkdown" placeholder="Votre texte..." class="form-control"></textarea>
</div>
<div class="col-sm-6 results">
<p>Votre texte...</p>
</div>
</div> </div>
</div> </div>
</div> </main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,31 +5,33 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/convertRomanArabicNumbers.png" alt="Chiffres Romains"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/convertRomanArabicNumbers.png" alt="Chiffres Romains">
<div class="form-group">
<label for="numbersArabic">Entrez votre nombre :</label>
<input name="numbersArabic" type="text" id="numbersArabic" placeholder="(e.g : 50)" class="form-control">
<br>
<label for="convertNumberType">Convertir en : </label> <br>
<select class="form-control" id="convertNumberType">
<option value="Nombre Romain">Nombre Romain</option>
<option value="Nombre Arabe">Nombre Arabe</option>
</select>
<div class="form-row text-center">
<div class="col-12">
<br>
<button type="submit" id="submitConvertRomanArabicNumbers" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <div class="form-group">
<label for="numbersArabic">Entrez votre nombre :</label>
<input name="numbersArabic" type="text" id="numbersArabic" placeholder="(e.g : 50)" class="form-control">
<br>
<label for="convertNumberType">Convertir en : </label> <br>
<select class="form-control" id="convertNumberType">
<option value="Nombre Romain">Nombre Romain</option>
<option value="Nombre Arabe">Nombre Arabe</option>
</select>
<div class="form-row text-center">
<div class="col-12">
<br>
<button type="submit" id="submitConvertRomanArabicNumbers" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,25 +5,27 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/convertTemperature.png" alt="Thermomètre"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/convertTemperature.png" alt="Thermomètre">
<div class="form-group">
<label for="temperatureValue">Entrez la température :</label>
<input name="temperatureValue" type="text" id="temperatureValue" placeholder="(e.g : 23°C)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitConvertTemperature" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <div class="form-group">
<label for="temperatureValue">Entrez la température :</label>
<input name="temperatureValue" type="text" id="temperatureValue" placeholder="(e.g : 23°C)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitConvertTemperature" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,28 +5,30 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/filterStudents.png" alt="Carte étudiant"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/filterStudents.png" alt="Carte étudiant">
<div class="form-group">
<label for="nameEntered">Entrer les prénoms :</label>
<input name="nameEntered" type="text" id="nameEntered" placeholder="(e.g : 'Prénom1, Prénom2, Prénom3, ...')" class="form-control">
<br>
<label for="filteredLetter">Entrer la lettre à filtré :</label>
<input name="filteredLetter" type="text" id="filteredLetter" placeholder="(e.g : 'A')" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitFilterStudents" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <div class="form-group">
<label for="nameEntered">Entrer les prénoms :</label>
<input name="nameEntered" type="text" id="nameEntered" placeholder="(e.g : 'Prénom1, Prénom2, Prénom3, ...')" class="form-control">
<br>
<label for="filteredLetter">Entrer la lettre à filtré :</label>
<input name="filteredLetter" type="text" id="filteredLetter" placeholder="(e.g : 'A')" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitFilterStudents" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,27 +5,29 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?> <br> <br> <h1><span class="important"><?php echo $title?></span> :</h1>
<em>Par souci de performance, je recommande de ne pas essayer un mot avec + de 8 lettres.</em> <p class="pt-3 text-center"><?php echo $description?> <br> <br>
</p> <em>Par souci de performance, je recommande de ne pas essayer un mot avec + de 8 lettres.</em>
<div class="text-center"> </p>
<img class="function-image" src="/img/function-image/heapAlgorithm.png" alt="Heap's algorithm"> <div class="text-center">
<img class="function-image" src="/img/function-image/heapAlgorithm.png" alt="Heap's algorithm">
</div>
<div class="form-group">
<label for="value">Entrez un mot :</label>
<input name="value" type="text" id="value" placeholder="(e.g : Mot)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitHeapAlgorithm" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div> </div>
<div class="form-group"> </main>
<label for="value">Entrez un mot :</label>
<input name="value" type="text" id="value" placeholder="(e.g : Mot)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitHeapAlgorithm" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,36 +5,39 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"> <h1><span class="important"><?php echo $title?></span> :</h1>
<?php echo $description?> <p class="pt-3 text-center">
<div class="text-center"> <?php echo $description?>
<img class="function-image" src="/img/function-image/linkShortener.png" alt="Raccourcisseurs de liens"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/linkShortener.png" alt="Raccourcisseurs de liens">
<br>
<div class="text-center">
<a href="/views/short_links-list.php">La liste de vos liens raccourcit les plus récents.</a>
</div>
</p>
<form id="formLinkShortener" method="post">
<div class="form-group">
<label for="url">Entrez le lien :</label> <br>
<input name="url" type="url" id="url" placeholder="(e.g : divlo.fr)" class="form-control"> <br class="hideUserShortcut">
<label class="hideUserShortcut" for="userShortcut">Entrez le nom du raccourci :</label> <br class="hideUserShortcut">
<input name="userShortcut" type="text" id="userShortcut" placeholder="(e.g : divlo)" class="form-control hideUserShortcut"> <br>
<label for="option">Choisissez une option : </label> <br>
<select class="form-control" id="option" name="option">
<option value="randomShortcut">Raccourci aléatoire</option>
<option value="userShortcut">Donner un nom au raccourci</option>
</select>
<br>
<button type="submit" class="btn btn-dark text-center">Envoyer</button>
<br>
</div> </div>
<p class="results text-center"></p> <br>
</form> <div class="text-center">
<a href="/views/short_links-list.php">La liste de vos liens raccourcit les plus récents.</a>
</div>
</p>
<form id="formLinkShortener" method="post">
<div class="form-group">
<label for="url">Entrez le lien :</label> <br>
<input name="url" type="url" id="url" placeholder="(e.g : divlo.fr)" class="form-control"> <br class="hideUserShortcut">
<label class="hideUserShortcut" for="userShortcut">Entrez le nom du raccourci :</label> <br class="hideUserShortcut">
<input name="userShortcut" type="text" id="userShortcut" placeholder="(e.g : divlo)" class="form-control hideUserShortcut"> <br>
<label for="option">Choisissez une option : </label> <br>
<select class="form-control" id="option" name="option">
<option value="randomShortcut">Raccourci aléatoire</option>
<option value="userShortcut">Donner un nom au raccourci</option>
</select>
<br>
<button type="submit" class="btn btn-dark text-center">Envoyer</button>
<br>
</div>
<p class="results text-center"></p>
</form>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,28 +5,30 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?></p> <h1><span class="important"><?php echo $title?></span> :</h1>
<div class="text-center"> <p class="pt-3 text-center"><?php echo $description?></p>
<img class="function-image" src="/img/function-image/randomNumber.png" alt="Nombre aléatoire"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/randomNumber.png" alt="Nombre aléatoire">
<div class="form-group">
<label for="minValue">Entrez la valeur minimale :</label>
<input name="minValue" type="number" min="0" id="minValue" placeholder="(e.g : 1)" class="form-control">
<br>
<label for="maxValue">Entrez la valeur maximale :</label>
<input name="maxValue" type="number" min="1" id="maxValue" placeholder="(e.g : 100)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitRandomNumber" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <div class="form-group">
<label for="minValue">Entrez la valeur minimale :</label>
<input name="minValue" type="number" min="0" id="minValue" placeholder="(e.g : 1)" class="form-control">
<br>
<label for="maxValue">Entrez la valeur maximale :</label>
<input name="maxValue" type="number" min="1" id="maxValue" placeholder="(e.g : 100)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitRandomNumber" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,32 +5,34 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"> <h1><span class="important"><?php echo $title?></span> :</h1>
<?php echo $description?> <p class="pt-3 text-center">
<div class="text-center"> <?php echo $description?>
<img class="function-image" src="/img/function-image/randomQuote.png" alt="Citation"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/randomQuote.png" alt="Citation">
<br>
<div class="text-center">
<a href="/views/quote-list.php">La liste de toutes les citations/proverbes.</a>
</div>
</p> <br>
<div class="form-group">
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitRandomQuote" class="btn btn-dark text-center">Générer une nouvelle citation</button>
</div>
</div> </div>
<br> <br>
<p class="resultsRandomQuote text-center"></p>
<br>
<div class="text-center"> <div class="text-center">
<a target="_blank" id="twitterLink" class="btn btn-lg btn-primary"><i class="fab fa-twitter"></i> Twitter</a> <a href="/views/quote-list.php">La liste de toutes les citations/proverbes.</a>
</div>
</p> <br>
<div class="form-group">
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitRandomQuote" class="btn btn-dark text-center">Générer une nouvelle citation</button>
</div>
</div>
<br>
<p class="resultsRandomQuote text-center"></p>
<br>
<div class="text-center">
<a target="_blank" id="twitterLink" class="btn btn-lg btn-primary"><i class="fab fa-twitter"></i> Twitter</a>
</div>
</div> </div>
</div> </div>
</div> </main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -4,38 +4,41 @@
<!-- Header --> <!-- Header -->
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<div class="container"> <!-- Page Content -->
<div class="row"> <main class="container-fluid flex-fill">
<div class="col-sm-12 col-md-10 mx-auto"> <div class="container">
<div class="header"> <div class="row">
<h1 class="text-center pt-3 toDoListTitle"><img style="height: 1.4em;" src="/img/function-image/toDoList.png" alt="ToDoList">Liste de choses à faire</h1> <div class="col-sm-12 col-md-10 mx-auto">
<div class="clear pt-3 pb-3 mx-auto"> <div class="header">
<i class="fas fa-sync"></i> <h1 class="text-center pt-3 toDoListTitle"><img style="height: 1.4em;" src="/img/function-image/toDoList.png" alt="ToDoList">Liste de choses à faire</h1>
<div class="clear pt-3 pb-3 mx-auto">
<i class="fas fa-sync"></i>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-10 mx-auto">
<div class="content">
<!-- Remplissage de la liste avec Javascript -->
<ul id="list">
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-10 mx-auto">
<div class="add-to-do">
<form action="" id="addTask">
<i id="btnAddTask" class="fa fa-plus-circle"></i>
<input type="text" name="taskToAdd" id="taskToAdd" placeholder="Ajouter">
</form>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="row"> </main>
<div class="col-sm-12 col-md-10 mx-auto">
<div class="content">
<!-- Remplissage de la liste avec Javascript -->
<ul id="list">
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-10 mx-auto">
<div class="add-to-do">
<form action="" id="addTask">
<i id="btnAddTask" class="fa fa-plus-circle"></i>
<input type="text" name="taskToAdd" id="taskToAdd" placeholder="Ajouter">
</form>
</div>
</div>
</div>
</div>
<script defer src="/scripts/toDoList.js"></script> <script defer src="/scripts/toDoList.js"></script>

View File

@ -5,29 +5,31 @@
<?php include("../../incl/header.php");?> <?php include("../../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"><?php echo $description?> <br> <h1><span class="important"><?php echo $title?></span> :</h1>
Pour une meilleure précision, je recommande de préciser le pays de la ville. <br> <p class="pt-3 text-center"><?php echo $description?> <br>
La météo est récupérée grâce à l'API <a href="https://openweathermap.org/" target="_blank">openweathermap.org</a>. <br> Il faut rentrer le nom anglais de la ville (si il est différent qu'en français). <br> Pour une meilleure précision, je recommande de préciser le pays de la ville. <br>
Exemples : Paris, FR - London, UK - Moscow, RU - etc. La météo est récupérée grâce à l'API <a href="https://openweathermap.org/" target="_blank">openweathermap.org</a>. <br> Il faut rentrer le nom anglais de la ville (si il est différent qu'en français). <br>
</p> Exemples : Paris, FR - London, UK - Moscow, RU - etc.
<div class="text-center"> </p>
<img class="function-image" src="/img/function-image/weatherRequest.png" alt="Météo"> <div class="text-center">
</div> <img class="function-image" src="/img/function-image/weatherRequest.png" alt="Météo">
<div class="form-group">
<label for="cityName">Entrez le nom d'une ville :</label>
<input name="cityName" type="text" id="cityName" placeholder="(e.g : Paris, FR)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitWeatherRequest" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div> </div>
</div> <div class="form-group">
<label for="cityName">Entrez le nom d'une ville :</label>
<input name="cityName" type="text" id="cityName" placeholder="(e.g : Paris, FR)" class="form-control">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitWeatherRequest" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../../incl/footer.php");?> <?php include("../../incl/footer.php");?>

View File

@ -5,25 +5,28 @@
<?php include("../incl/header.php");?> <?php include("../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"> <h1><span class="important"><?php echo $title?></span> :</h1>
<?php echo $description?> <br> <p class="pt-3 text-center">
<span class="totalLengthQuote"></span><br> <?php echo $description?> <br>
<a href="/views/function-views/randomQuote.php">Revenir au générateur de citations/proverbes.</a> <span class="totalLengthQuote"></span><br>
</p> <a href="/views/function-views/randomQuote.php">Revenir au générateur de citations/proverbes.</a>
</p>
<table class="table table-bordered mt-5"> <table class="table table-bordered mt-5">
<thead> <thead>
<tr> <tr>
<th class="text-center" scope="col">Source</th> <th class="text-center" scope="col">Source</th>
<th class="text-center" scope="col">Citation/Proverbe</th> <th class="text-center" scope="col">Citation/Proverbe</th>
</tr> </tr>
</thead> </thead>
<tbody class="quote-list text-center"> <tbody class="quote-list text-center">
</tbody> </tbody>
</table> </table>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../incl/footer.php");?> <?php include("../incl/footer.php");?>

View File

@ -5,24 +5,27 @@
<?php include("../incl/header.php");?> <?php include("../incl/header.php");?>
<!-- Page Content --> <!-- Page Content -->
<div class="container"> <main class="container-fluid flex-fill">
<h1><span class="important"><?php echo $title?></span> :</h1> <div class="container">
<p class="pt-3 text-center"> <h1><span class="important"><?php echo $title?></span> :</h1>
<span class="totalLengthLinksList"></span><br> <p class="pt-3 text-center">
<a href="/views/function-views/linkShortener.php">Revenir au raccourcisseur de liens.</a> <span class="totalLengthLinksList"></span><br>
</p> <a href="/views/function-views/linkShortener.php">Revenir au raccourcisseur de liens.</a>
</p>
<table class="table table-bordered mt-5"> <table class="table table-bordered mt-5">
<thead> <thead>
<tr> <tr>
<th class="text-center" scope="col">Liens originaux</th> <th class="text-center" scope="col">Liens originaux</th>
<th class="text-center" scope="col">Liens raccourcit</th> <th class="text-center" scope="col">Liens raccourcit</th>
</tr> </tr>
</thead> </thead>
<tbody class="links-list text-center"> <tbody class="links-list text-center">
</tbody> </tbody>
</table> </table>
</div>
</main>
<!-- Footer --> <!-- Footer -->
<?php include("../incl/footer.php");?> <?php include("../incl/footer.php");?>