Different title and description for each page

This commit is contained in:
Divlo
2019-08-16 13:35:54 +02:00
parent 694bed6d59
commit c81b29e924
10 changed files with 86 additions and 17 deletions

View File

@ -1,3 +1,6 @@
<!-- Head Perso -->
<?php include("../../php/headPerso.php");?>
<!-- Header -->
<?php include("../../incl/header.php");?>
@ -6,8 +9,8 @@
<!-- Page Content -->
<div class="container">
<h1 class="mt-4 text-center"><span class="yellow-color">Quelle âge avez-vous ?</span></h1>
<p class="pt-3 text-center">Calcule l'âge de quelqu'un selon la date de naissance.</p>
<h1 class="mt-4 text-center"><span class="yellow-color"><?php echo $title?></span></h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<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="(e.g : 31/03/2003)" class="form-control">

View File

@ -1,3 +1,6 @@
<!-- Head Perso -->
<?php include("../../php/headPerso.php");?>
<!-- Header -->
<?php include("../../incl/header.php");?>
@ -6,8 +9,9 @@
<!-- Page Content -->
<div class="container">
<h1 class="mt-4 text-center"><span class="yellow-color">Conversion de Distance</span> :</h1>
<p class="pt-3 text-center">Convertit la longueur (distance) avec les unités allant de picomètre au Téramètre.</p>
<h1 class="mt-4 text-center"><span class="yellow-color"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<br>
<div class="form-group">
<label for="firstValue">Entrez la distance que vous voulez convertir :</label>
<input name="firstValue" type="text" id="firstValue" placeholder="(e.g : 50cm)" class="form-control">

View File

@ -1,3 +1,6 @@
<!-- Head Perso -->
<?php include("../../php/headPerso.php");?>
<!-- Header -->
<?php include("../../incl/header.php");?>
@ -6,8 +9,8 @@
<!-- Page Content -->
<div class="container">
<h1 class="mt-4 text-center"><span class="yellow-color">Conversion de Température</span> :</h1>
<p class="pt-3 text-center">Convertit des Degré Celsius en Degré Fahrenheit et l'inverse aussi.</p>
<h1 class="mt-4 text-center"><span class="yellow-color"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<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">

View File

@ -1,3 +1,6 @@
<!-- Head Perso -->
<?php include("../../php/headPerso.php");?>
<!-- Header -->
<?php include("../../incl/header.php");?>
@ -6,8 +9,8 @@
<!-- Page Content -->
<div class="container">
<h1 class="mt-4 text-center"><span class="yellow-color">Nombre Aléatoire</span> :</h1>
<p class="pt-3 text-center">Génère un nombre aléatoire entre un minimum inclus et un maximum inclus.</p>
<h1 class="mt-4 text-center"><span class="yellow-color"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<div class="form-group">
<label for="minValue">Entrez la valeur minimale :</label>
<input name="minValue" type="text" id="minValue" placeholder="(e.g : 1)" class="form-control">

View File

@ -1,3 +1,6 @@
<!-- Head Perso -->
<?php include("../../php/headPerso.php");?>
<!-- Header -->
<?php include("../../incl/header.php");?>
@ -6,8 +9,8 @@
<!-- Page Content -->
<div class="container">
<h1 class="mt-4 text-center"><span class="yellow-color">Météo</span> :</h1>
<p class="pt-3 text-center">Affiche la météo et l'heure local selon la ville.</p>
<h1 class="mt-4 text-center"><span class="yellow-color"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<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)" class="form-control">