le 12/02/2014 à 15:23
Les sessions avec plusieurs formulaires
CODE HTML:
code php:
<table style="border:collapse:collapse;">
<tr>
<td style="font-size:10px;text-align:center;border:1px solid black;background-color:rgb(128,204,40);width:50px;height:10px;">
Etape1:<br/>Recherche
</td>
<td style="font-size:10px;text-align:center;border:1px solid black;width:50px;height:10px;">
Etape 2 :<br>Valider Recherche
</td>
<td style="font-size:10px;text-align:center;border:1px solid black;width:50px;height:10px;">
Etape 3 :<br/> Identification
</td>
</tr>
</table>
<h1 style="text-align-center;background-color:red;color:white;">Remplacement VELUX®, Configurez-les vous-mêmes ! en 1 clin d'oeil.</h1>
<div style="background-color:rgb(128,204,40);">
<form name="Formfenetre" id="FormFenetre"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">
<table style="font-size:13px; border-collapse:collapse;">
<tbody>
<tr>
<td style="text-align:center;margin:0px auto;">
taille<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/cote.jpg" style="height:80px;width:70px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
vitrage<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-standard.jpg" style="height:100px;width:100px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
finition<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/finition-bois-verni-VELUX.jpg" style="height:50px;width:50px;margin-left:2px;" />
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/finition-coque-blanche-VELUX.jpg" style="height:50px;width:50px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
ouverture<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/ouverture-par-projection1.jpg" style="height:100px;width:100px;margin-left:2px;" />
</td>
<td style="text-align:center;">
tuile<span style="color:red;">*</span>:
</td>
<td style="text-align:center;margin:0px auto;">
stores:
</td>
<td style="text-align:center;margin:0px auto;">
volet:
</td>
</tr>
</tbody>
</table>
</form>
<form name="Formfenetre1" id="FormFenetre1"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">
<table style="background-color:rgb(128,204,40)">
<tbody>
<span id='Formfenetre1'>fenetre 1:<input style="width:200px;margin-left:5px;height:9.5px;font-size:9.4px" maxlength="100" type="text" name="fenetre1Nom"id="fenetre1Nom" value="chambre de Lya"> <input style="width:100px;margin-left:5px;height:22px;font-size:10px;margin-top:10px;" type="submit" name="fenetre1Boutton"id="fenetre1Boutton"value="rennommer">
<tr>
<td>
<select id="tailleFenetre1" name="tailleFenetre1" style="width:47px;font-size:8.4px;margin-left:1px;"><option value="optionTailleFenetre1">Taille</option><option value="55x70">55x70</option><option value="55x78">55X78</option><option value="55x98">55X98</option><option value="78x98">78X98</option><option value="78x118">78X118</option><option value="78x140">78X140</option><option value="114x118">114X118</option><option value="114x140">114X140</option><option value="134x98">134X98</option><option value="134x140">134X140</option> </select>
</td>
<td>
<select id="vitrageFenetre1" name="vitrageFenetre1" style="font-size:8.4px;width:65px;"><option value="optionVitrageFenetre1">vitrage</option><option value="Standard">Standard</option><option value="Confort">Confort</option><option value="Tout confort">Tout confort</option> </select>
</td>
<td>
<select id="finitionFenetre1" name="finitionFenetre1" style="font-size:8.4px;width:140px;"><option value="optionFinitionFenetre1">finition</option><option value="Bois vernis TopFinish">Bois vernis TopFinish</option><option>Coque blanche sans entretien</option> </select>
</td>
<td>
<select name="ouvertureFenetre1" style="font-size:8.4px;width:88px;"><option value="optionOuvertureFenetre1">type ouverture</option><option value="rotation">rotation</option><option>projection</option><option>motorisé</option> </select>
</td>
<td>
<select name="tuileFenetre1" style="font-size:8.4px;width:100px;"><option value="optionTuileFenetre1">tuile</option><option>Petites tuiles plates</option><option>Tuiles mécaniques</option><option>Ardoise</option> </select>
</td>
<td>
<select name="storeFenetre1" style="font-size:8.4px;width:120px;"><option value="optionStoreFenetre1">stores</option><option value="storeOccultantClassFenetre1">Occultants classique</option><option value="storeOccultantEnergSolFenetre1">Occultant à Energie solaire</option><option value="storeOccultaTamisFenetre1">Occultant et tamisant</option><option value="storeObscurIsoFenetre1">Obscurcissant et isolant</option> <option value="storeOccultPlissFenetre1">Occultant et plissé</option><option value="storePlissTransFenetre1">plissé translucide</option><option value="storeVenitManFenetre1">Venitien manuel</option><option value="storeVenitTelFenetre1">venitien télécommandé</option><option value="storeMoustiqFenetre1">Moustiquaire</option></select>
</td>
<td>
<select name="voletFenetre1" style="font-size:8.4px;width:40px;"><option value="optionVoletFenetre1">volet</option><option value="optionSSLFenetre1">SSL</option><option value="optionSMLFenetre1">SML</option> </select>
</td>
</tr>
</tbody>
</table>
<input id="BoutSubFormFenetre1" name="BoutSubFormFenetre1" style="font-size:9.4px;margin-left:595px;color:white;height:23px;" type="submit" value="rechercher"/>
</form>
<form name="FormFenetre2" id="FormFenetre2"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">
<table style="background-color:rgb(128,204,40)">
<tbody>
<span id='FormFenetre2'>fenetre 2:<input style="width:200px;margin-left:5px;height:9.5px;font-size:9.4px" maxlength="100" type="text" name="Fenetre2Nom"id="Fenetre2Nom" value="chambre de Lya"> <input style="width:100px;margin-left:5px;height:22px;font-size:10px;margin-top:10px;" type="submit" name="Fenetre2Boutton"id="Fenetre2Boutton"value="rennommer">
<tr>
<td>
<select id="tailleFenetre2" name="tailleFenetre2" style="width:47px;font-size:8.4px;margin-left:1px;"><option value="optionTailleFenetre2">Taille</option><option value="55x70">55x70</option><option value="55x78">55X78</option><option value="55x98">55X98</option><option value="78x98">78X98</option><option value="78x118">78X118</option><option value="78x140">78X140</option><option value="114x118">114X118</option><option value="114x140">114X140</option><option value="134x98">134X98</option><option value="134x140">134X140</option> </select>
</td>
<td>
<select id="vitrageFenetre2" name="vitrageFenetre2" style="font-size:8.4px;width:65px;"><option value="optionVitrageFenetre2">vitrage</option><option value="Standard">Standard</option><option value="Confort">Confort</option><option value="Tout confort">Tout confort</option> </select>
</td>
<td>
<select id="finitionFenetre2" name="finitionFenetre2" style="font-size:8.4px;width:140px;"><option value="optionFinitionFenetre2">finition</option><option value="Bois vernis TopFinish">Bois vernis TopFinish</option><option>Coque blanche sans entretien</option> </select>
</td>
<td>
<select name="ouvertureFenetre2" style="font-size:8.4px;width:88px;"><option value="optionOuvertureFenetre2">type ouverture</option><option value="rotation">rotation</option><option>projection</option><option>motorisé</option> </select>
</td>
<td>
<select name="tuileFenetre2" style="font-size:8.4px;width:100px;"><option value="optionTuileFenetre2">tuile</option><option>Petites tuiles plates</option><option>Tuiles mécaniques</option><option>Ardoise</option> </select>
</td>
<td>
<select name="storeFenetre2" style="font-size:8.4px;width:120px;"><option value="optionStoreFenetre2">stores</option><option value="storeOccultantClassFenetre2">Occultants classique</option><option value="storeOccultantEnergSolFenetre2">Occultant à Energie solaire</option><option value="storeOccultaTamisFenetre2">Occultant et tamisant</option><option value="storeObscurIsoFenetre2">Obscurcissant et isolant</option> <option value="storeOccultPlissFenetre2">Occultant et plissé</option><option value="storePlissTransFenetre2">plissé translucide</option><option value="storeVenitManFenetre2">Venitien manuel</option><option value="storeVenitTelFenetre2">venitien télécommandé</option><option value="storeMoustiqFenetre2">Moustiquaire</option></select>
</td>
<td>
<select name="voletFenetre2" style="font-size:8.4px;width:40px;"><option value="optionVoletFenetre2">volet</option><option value="optionSSLFenetre2">SSL</option><option value="optionSMLFenetre2">SML</option> </select>
</td>
</tr>
</tbody>
</table>
<input id="BoutSubFormFenetre2" name="BoutSubFormFenetre2" style="font-size:9.4px;margin-left:595px;color:white;height:23px;" type="submit" value="rechercher"/>
</form>
<tr>
<td style="font-size:10px;text-align:center;border:1px solid black;background-color:rgb(128,204,40);width:50px;height:10px;">
Etape1:<br/>Recherche
</td>
<td style="font-size:10px;text-align:center;border:1px solid black;width:50px;height:10px;">
Etape 2 :<br>Valider Recherche
</td>
<td style="font-size:10px;text-align:center;border:1px solid black;width:50px;height:10px;">
Etape 3 :<br/> Identification
</td>
</tr>
</table>
<h1 style="text-align-center;background-color:red;color:white;">Remplacement VELUX®, Configurez-les vous-mêmes ! en 1 clin d'oeil.</h1>
<div style="background-color:rgb(128,204,40);">
<form name="Formfenetre" id="FormFenetre"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">
<table style="font-size:13px; border-collapse:collapse;">
<tbody>
<tr>
<td style="text-align:center;margin:0px auto;">
taille<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/cote.jpg" style="height:80px;width:70px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
vitrage<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-standard.jpg" style="height:100px;width:100px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
finition<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/finition-bois-verni-VELUX.jpg" style="height:50px;width:50px;margin-left:2px;" />
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/finition-coque-blanche-VELUX.jpg" style="height:50px;width:50px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
ouverture<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/ouverture-par-projection1.jpg" style="height:100px;width:100px;margin-left:2px;" />
</td>
<td style="text-align:center;">
tuile<span style="color:red;">*</span>:
</td>
<td style="text-align:center;margin:0px auto;">
stores:
</td>
<td style="text-align:center;margin:0px auto;">
volet:
</td>
</tr>
</tbody>
</table>
</form>
<form name="Formfenetre1" id="FormFenetre1"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">
<table style="background-color:rgb(128,204,40)">
<tbody>
<span id='Formfenetre1'>fenetre 1:<input style="width:200px;margin-left:5px;height:9.5px;font-size:9.4px" maxlength="100" type="text" name="fenetre1Nom"id="fenetre1Nom" value="chambre de Lya"> <input style="width:100px;margin-left:5px;height:22px;font-size:10px;margin-top:10px;" type="submit" name="fenetre1Boutton"id="fenetre1Boutton"value="rennommer">
<tr>
<td>
<select id="tailleFenetre1" name="tailleFenetre1" style="width:47px;font-size:8.4px;margin-left:1px;"><option value="optionTailleFenetre1">Taille</option><option value="55x70">55x70</option><option value="55x78">55X78</option><option value="55x98">55X98</option><option value="78x98">78X98</option><option value="78x118">78X118</option><option value="78x140">78X140</option><option value="114x118">114X118</option><option value="114x140">114X140</option><option value="134x98">134X98</option><option value="134x140">134X140</option> </select>
</td>
<td>
<select id="vitrageFenetre1" name="vitrageFenetre1" style="font-size:8.4px;width:65px;"><option value="optionVitrageFenetre1">vitrage</option><option value="Standard">Standard</option><option value="Confort">Confort</option><option value="Tout confort">Tout confort</option> </select>
</td>
<td>
<select id="finitionFenetre1" name="finitionFenetre1" style="font-size:8.4px;width:140px;"><option value="optionFinitionFenetre1">finition</option><option value="Bois vernis TopFinish">Bois vernis TopFinish</option><option>Coque blanche sans entretien</option> </select>
</td>
<td>
<select name="ouvertureFenetre1" style="font-size:8.4px;width:88px;"><option value="optionOuvertureFenetre1">type ouverture</option><option value="rotation">rotation</option><option>projection</option><option>motorisé</option> </select>
</td>
<td>
<select name="tuileFenetre1" style="font-size:8.4px;width:100px;"><option value="optionTuileFenetre1">tuile</option><option>Petites tuiles plates</option><option>Tuiles mécaniques</option><option>Ardoise</option> </select>
</td>
<td>
<select name="storeFenetre1" style="font-size:8.4px;width:120px;"><option value="optionStoreFenetre1">stores</option><option value="storeOccultantClassFenetre1">Occultants classique</option><option value="storeOccultantEnergSolFenetre1">Occultant à Energie solaire</option><option value="storeOccultaTamisFenetre1">Occultant et tamisant</option><option value="storeObscurIsoFenetre1">Obscurcissant et isolant</option> <option value="storeOccultPlissFenetre1">Occultant et plissé</option><option value="storePlissTransFenetre1">plissé translucide</option><option value="storeVenitManFenetre1">Venitien manuel</option><option value="storeVenitTelFenetre1">venitien télécommandé</option><option value="storeMoustiqFenetre1">Moustiquaire</option></select>
</td>
<td>
<select name="voletFenetre1" style="font-size:8.4px;width:40px;"><option value="optionVoletFenetre1">volet</option><option value="optionSSLFenetre1">SSL</option><option value="optionSMLFenetre1">SML</option> </select>
</td>
</tr>
</tbody>
</table>
<input id="BoutSubFormFenetre1" name="BoutSubFormFenetre1" style="font-size:9.4px;margin-left:595px;color:white;height:23px;" type="submit" value="rechercher"/>
</form>
<form name="FormFenetre2" id="FormFenetre2"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">
<table style="background-color:rgb(128,204,40)">
<tbody>
<span id='FormFenetre2'>fenetre 2:<input style="width:200px;margin-left:5px;height:9.5px;font-size:9.4px" maxlength="100" type="text" name="Fenetre2Nom"id="Fenetre2Nom" value="chambre de Lya"> <input style="width:100px;margin-left:5px;height:22px;font-size:10px;margin-top:10px;" type="submit" name="Fenetre2Boutton"id="Fenetre2Boutton"value="rennommer">
<tr>
<td>
<select id="tailleFenetre2" name="tailleFenetre2" style="width:47px;font-size:8.4px;margin-left:1px;"><option value="optionTailleFenetre2">Taille</option><option value="55x70">55x70</option><option value="55x78">55X78</option><option value="55x98">55X98</option><option value="78x98">78X98</option><option value="78x118">78X118</option><option value="78x140">78X140</option><option value="114x118">114X118</option><option value="114x140">114X140</option><option value="134x98">134X98</option><option value="134x140">134X140</option> </select>
</td>
<td>
<select id="vitrageFenetre2" name="vitrageFenetre2" style="font-size:8.4px;width:65px;"><option value="optionVitrageFenetre2">vitrage</option><option value="Standard">Standard</option><option value="Confort">Confort</option><option value="Tout confort">Tout confort</option> </select>
</td>
<td>
<select id="finitionFenetre2" name="finitionFenetre2" style="font-size:8.4px;width:140px;"><option value="optionFinitionFenetre2">finition</option><option value="Bois vernis TopFinish">Bois vernis TopFinish</option><option>Coque blanche sans entretien</option> </select>
</td>
<td>
<select name="ouvertureFenetre2" style="font-size:8.4px;width:88px;"><option value="optionOuvertureFenetre2">type ouverture</option><option value="rotation">rotation</option><option>projection</option><option>motorisé</option> </select>
</td>
<td>
<select name="tuileFenetre2" style="font-size:8.4px;width:100px;"><option value="optionTuileFenetre2">tuile</option><option>Petites tuiles plates</option><option>Tuiles mécaniques</option><option>Ardoise</option> </select>
</td>
<td>
<select name="storeFenetre2" style="font-size:8.4px;width:120px;"><option value="optionStoreFenetre2">stores</option><option value="storeOccultantClassFenetre2">Occultants classique</option><option value="storeOccultantEnergSolFenetre2">Occultant à Energie solaire</option><option value="storeOccultaTamisFenetre2">Occultant et tamisant</option><option value="storeObscurIsoFenetre2">Obscurcissant et isolant</option> <option value="storeOccultPlissFenetre2">Occultant et plissé</option><option value="storePlissTransFenetre2">plissé translucide</option><option value="storeVenitManFenetre2">Venitien manuel</option><option value="storeVenitTelFenetre2">venitien télécommandé</option><option value="storeMoustiqFenetre2">Moustiquaire</option></select>
</td>
<td>
<select name="voletFenetre2" style="font-size:8.4px;width:40px;"><option value="optionVoletFenetre2">volet</option><option value="optionSSLFenetre2">SSL</option><option value="optionSMLFenetre2">SML</option> </select>
</td>
</tr>
</tbody>
</table>
<input id="BoutSubFormFenetre2" name="BoutSubFormFenetre2" style="font-size:9.4px;margin-left:595px;color:white;height:23px;" type="submit" value="rechercher"/>
</form>
code php:
<?php
if(isset($_POST['BoutSubFormFenetre1'])|| isset($_POST['BoutSubFormFenetre2']))
{
echo 'Le prix de le fenetre est de '.$_SESSION['prixFen1'].' €';
$tauxVelux=(28/100);
$tauxRemiseVelux=1-$tauxVelux;
$margeAlpha=20/100;
$TauxMargeAlpha=1+($margeAlpha);
$TauxremiseRaccord=(10/100);
$remiseRaccord=1-$TauxremiseRaccord;
$prixMDO=54;
$_SESSION['Formfenetre1']['taille']=$_POST['tailleFenetre1'];
$_SESSION['vitrage']=$_POST['vitrageFenetre1'];
$_SESSION['finition']=$_POST['finitionFenetre1'];
$_SESSION['ouverture']=$_POST['ouvertureFenetre1'];
$_SESSION['tuile']=$_POST['tuileFenetre1'];
$_SESSION['store']=$_POST['storeFenetre1'];
$_SESSION['volet']=$_POST['voletFenetre1'];
if($_SESSION['Formfenetre1']['taille']=="optionTailleFenetre1" && $_SESSION['vitrage']=="optionVitrageFenetre1" && $_SESSION['finition']=="optionFinitionFenetre1" && $_SESSION['ouverture']=="optionOuvertureFenetre1" && $_SESSION['tuile']=="optionTuileFenetre1" && $_SESSION['store']="optionStoreFenetre1" && $_SESSION['volet']=="optionVoletFenetre1")
{
echo"<br><span style='color:red; text-align:center;font-size:20px;'>erreur,aucun champs de rempli</span>";
}
else
{
if($_SESSION['Formfenetre1']['taille']=="optionTailleFenetre1" || $_SESSION['vitrage']=="optionVitrageFenetre1" || $_SESSION['finition']=="optionFinitionFenetre1" || $_SESSION['ouverture']=="optionOuvertureFenetre1" || $_SESSION['tuile']=="optionTuileFenetre1")
{
echo"<br><span style='color:red; text-align:center;font-size:20px;'>Erreur,tout les Champs obligatoires n'ont pas etaient saisis</span>";
}
{
if($_SESSION['Formfenetre1']['taille']=='55x70')
{
if($_SESSION['vitrage']=='Confort')
{
if($_SESSION['finition']=='Bois vernis TopFinish')
{
if($_SESSION['ouverture']=='rotation')
{
$PrixCatalogue=246;
$PrixRemiseVelux=$PrixCatalogue*$tauxRemiseVelux;
$PrixRemise=$PrixRemiseVelux*$TauxMargeAlpha;
if($_SESSION['tuile']=='Tuiles mécaniques')
{
if($_SESSION['store']!="optionStoreFenetre1")
{
if($_SESSION['store']=="storeOccultantClassFenetre1")
{
if($_SESSION['volet']!="optionVoletFenetre1")
{
if($_SESSION['volet']=="optionSSLFenetre1")
{
$prixCatalogueRaccord=67;
$prixStore=41;
$prixVolet=526;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant classsique(DKL) et volet roulant(SSL) </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
else
{
if($_SESSION['volet']=="optionSMLFenetre1")
{
$prixCatalogueRaccord=67;
$prixStore=41;
$prixVolet=311;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille <?php echo $_SESSION['Formfenetre1']['taille']; ?> finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant classsique(DKL) et volet roulant(SML) </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
}
}
else
{
$prixCatalogueRaccord=67;
$prixStore=41;
$prixVolet=0;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant classsique(DKL) et sans volets </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
}
else
{
if($_SESSION['store']=="storeOccultantEnergSolFenetre1")
{
if($_SESSION['volet']!="optionVoletFenetre1")
{
if($_SESSION['volet']=="optionSSLFenetre1")
{
$prixCatalogueRaccord=67;
$prixStore=182;
$prixVolet=526;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant à energie solaire(DSL) et volet roulant(SSL) </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
else
{
if($_SESSION['volet']=="optionSMLFenetre1")
{
$prixCatalogueRaccord=67;
$prixStore=182;
$prixVolet=311;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant à energie solaire(DSL) et volet roulant(SML) </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
}
}
else
{
$prixCatalogueRaccord=67;
$prixStore=182;
$prixVolet=0;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant à energie solaire(DSL) et sans volet </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
}
else
{
if($_SESSION['store']=="storeOccultaTamisFenetre1")
{
if($_SESSION['volet']!="optionVoletFenetre1")
{
if($_SESSION['volet']=="optionSSLFenetre1")
{
$prixCatalogueRaccord=67;
$prixStore=76;
$prixVolet=526;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store Duo "2 en 1" occultant et tamisant(DFD) et volet roulant(SSL) </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
else
{
if($_SESSION['volet']=="optionSMLFenetre1")
{
$prixCatalogueRaccord=67;
$prixStore=76;
$prixVolet=311;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store Duo "2 en 1" occultant et tamisant(DFD) et volet roulant(SML) </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
}
}
else
{
$prixCatalogueRaccord=67;
$prixStore=76;
$prixVolet=0;
$prixAccessoires=$prixStore+$prixVolet;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
$_SESSION['prixFen1']=$PrixTotal;
?>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store Duo "2 en 1" occultant et tamisant(DFD) et sans volet roulant </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
}
else
{
if($_SESSION['store']=="storeMoustiquaireFenetre1")
{
if($_SESSION['volet']!="optionVoletFenetre1")
{
if($_SESSION['volet']=="optionSSLFenetre1")
{
}
else
{
if($_SESSION['volet']=="optionSMLFenetre1")
{
}
}
}
else
{
}
}
}
}
}
if($_SESSION['store']!="optionVoletFenetre1")
{
}
else
{
}
}
else
{
if($_SESSION['volet']!="optionVoletFenetre1")
{
}
else
{
$prixCatalogueRaccord=67;
$PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
$PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
$PrixTotal=$PrixTotalRaccord+$prixMDO;
?>
<input name="" type="hidden" value=<?php echo $PrixTotal ;?>>
<br/>
<table style="font-size:12px"><tr><td></td><td style="text-align:center;">
<tr>
<td>
</td>
<td>
</td>
<td style="text-align:center;">Description</td>
<td style="text-align:center;">Prix</td>
</tr>
<tr>
<td>
</td>
<td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
<td><?php $velux="Velux®(CK01)";?><b>Fournitures et pose</b> Velux®(CK01) taille 55x70 finition: bois vernis TopFinish de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000) sans store ni volet </td>
<td><b>Prix total:<br/><?php echo $PrixTotal; ?>€</b></td></tr></table>
<tr>
</table><?php
}
}
}
}
}
}
}
}
}
}
else
{
echo'';
}
?>