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/convertCurrency.php

54 lines
2.4 KiB
PHP
Raw Normal View History

2019-09-13 21:56:36 +02:00
<!-- Config -->
<?php include("../../php/config.php");?>
<!-- Header -->
<?php include("../../incl/header.php");?>
<!-- Page Content -->
<div class="container">
<h1><span class="important"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<br>
<div class="form-group">
2019-09-16 20:39:30 +02:00
<label for="value">Entrez le nombre à convertir et sélectionner la devise de celui-çi :</label>
2019-09-13 21:56:36 +02:00
<br>
2019-09-16 20:39:30 +02:00
<input name="value" type="text" class="inlineInput" id="value" placeholder="(e.g : 50)" class="form-control">
<select 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>
2019-09-13 21:56:36 +02:00
<br> <br>
2019-09-16 20:39:30 +02:00
<label for="currencyAfter">Choisissez la devise que voulez avoir après conversion :</label> <br>
<select 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="Fr">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>
2019-09-16 20:39:30 +02:00
<option value="">Euro () - EUR</option>
2019-09-13 21:56:36 +02:00
</select>
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitConvertCurrency" 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");?>