This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/views/function-views/calculateAge.php
2019-08-16 12:05:56 +02:00

26 lines
953 B
PHP

<!-- Header -->
<?php include("../../incl/header.php");?>
<!-- Menu -->
<?php include("../../incl/menu.php");?>
<!-- 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>
<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">
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitCalculateAge" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
<!-- Footer -->
<?php include("../../incl/footer.php");?>