| Current Path : /home/happyrenas/old/huissier-express.fr/ |
Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 |
| Current File : /home/happyrenas/old/huissier-express.fr/calcul1.php |
<?
$plage_jour = $_REQUEST['plage_jour'];
$plage_heure = $_REQUEST['plage_heure'];
$plage_urgence = $_REQUEST['plage_urgence'];
$estimation1 = $_REQUEST['estimation1'];
$prix_base = 260;
$prix_origine = $prix_base;
// SEMAINE
if ($plage_jour==1)
{
if ($plage_heure==1) {$prix_base=$prix_base;}
if ($plage_heure==2) {$prix_base=$prix_base*1.9;}
}
// SAMEDI OU DIMANCHE
if ($plage_jour==2 || $plage_jour==3)
{
if ($plage_heure==1) {$prix_base=$prix_base*1.9;}
if ($plage_heure==2) {$prix_base=$prix_base*2.8;}
}
if ($plage_urgence==1) {$prix_base=$prix_base+250;}
if ($plage_urgence==2) {$prix_base=$prix_base+150;}
if ($plage_urgence==3) {$prix_base=$prix_base+100;}
$prix_base=$prix_base+($prix_origine*($estimation1-1));
$prix_base=round($prix_base*1.09,2);
?>
<button type="button" class="bouton_reponse">
<span class="editContent"><?echo $prix_base;?> €</span>
<input style="height: 30px;margin-left:0px;" type= "radio" id="choix1" name="choix" value="1"> Sélectionner
</button>
<input type="hidden" name="tarif1" value="<?echo $prix_base;?>">
<script src="js-files/jquery-1.7.2.min.js" type="text/javascript"></script> <!-- jQuery -->
<script src="js-files/jquery.easing.1.3.js" type="text/javascript"></script> <!-- jQuery easing -->
<script type='text/javascript' src='js-files/jquery.common.min.js'></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script>
$("#choix1").prop("checked", true);
</script>