Created
April 11, 2014 16:30
-
-
Save tarto-dev/10482266 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="listeBilan inner_text"> | |
| <div class="q_bloc"> | |
| <div class="sstitreEtapeB"> | |
| <div class="numeroQuestions">1.1</div> | |
| <div class="titreQuestions">Précisez les informations suivantes :</div> | |
| </div> | |
| <div class="questionBilan"> | |
| <div class="textsexe">Vous êtes : | |
| <?php if (isset($_SESSION['Tabform'][$sessionId]['sexe']) && $_SESSION['Tabform'][$sessionId]['sexe'] == 'Homme') { ?> | |
| <label for="sexe"><input type="radio" id="sexe" name="sexe" value="Homme" checked="true"/> Homme </label> | |
| <?php } else { ?> | |
| <label for="sexe"><input type="radio" id="sexe" name="sexe" value="Homme" /> Homme </label> | |
| <?php | |
| } | |
| if (isset($_SESSION['Tabform'][$sessionId]['sexe']) && $_SESSION['Tabform'][$sessionId]['sexe'] == 'Femme') { | |
| ?> | |
| <label for="sexe1"><input id="sexe1" type="radio" name="sexe" value="Femme" checked="true"/> Femme </label> | |
| </div> | |
| <?php } else { ?> | |
| <label for="sexe1"><input id="sexe1" type="radio" name="sexe" value="Femme" /> Femme </label> | |
| </div> | |
| <?php } ?> | |
| <div class="textage">Votre âge : | |
| <select name="age" id="age" style="width:65px;border-top:1px solid #BFBFBF;border-left:1px solid #BFBFBF;border-right:1px solid #BFBFBF;border-bottom:1px solid #BFBFBF;"> | |
| <?php | |
| // echo "AGE==".$age; | |
| if (isset($age)) { | |
| $a = $age; | |
| } else { | |
| $a = 18; | |
| } | |
| $iAgeCounter = 18; | |
| while ($iAgeCounter <= 100) { | |
| if ($a == $iAgeCounter) { | |
| ?> | |
| <option value="<?php echo $a; ?>" selected="true"><?php echo $a; ?></option> | |
| <?php } else { ?> | |
| <option value="<?php echo $iAgeCounter; ?>" ><?php echo $iAgeCounter; ?></option> | |
| <?php | |
| } | |
| $iAgeCounter++; | |
| } | |
| ?> | |
| </select> ans | |
| </div> | |
| <div class="texttaille">Votre taille : <input value="<?php echo $_SESSION['Tabform'][$sessionId]['taille']; ?>" type="text" style="width:65px;border-top:1px solid #BFBFBF;border-left:1px solid #BFBFBF;border-right:1px solid #BFBFBF;border-bottom:1px solid #BFBFBF;" name="taille" id="taille" maxlength="3"/> cm</div> | |
| <div class="textpoids">Votre poids : <input value="<?php echo $_SESSION['Tabform'][$sessionId]['poids']; ?>" type="text" style="width:65px;border-top:1px solid #BFBFBF;border-left:1px solid #BFBFBF;border-right:1px solid #BFBFBF;border-bottom:1px solid #BFBFBF;" name="poids" id="poids" maxlength="3"/> kg</div> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment