|
|
|
@ -18,7 +18,36 @@
|
|
|
|
|
<!-- L'intégralité du formulaire de témoignage -->
|
|
|
|
|
<form id="container_form">
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
$content = "Est-ce que tu aimes l'IUT ?";
|
|
|
|
|
$printStrategy = "<label>$content</label>
|
|
|
|
|
<select name='answers[]'>
|
|
|
|
|
<option value='Yes' selected>Yes</option>
|
|
|
|
|
<option value='No'>No</option>
|
|
|
|
|
</select>";
|
|
|
|
|
|
|
|
|
|
$content2 = "Parles nous rapidement de ce que l'IUT t'as apporté";
|
|
|
|
|
$printStrategy2 = "<label>$content2</label>
|
|
|
|
|
<input type='text' name='answers[]' />";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$possibleResponses = array("BAC Pro", "BAC Général Scientifique", "BAC général Éco");
|
|
|
|
|
$categories = array("Pro", "Scientifique", "Éco");
|
|
|
|
|
|
|
|
|
|
$content3 = "Séléctionnez votre cursus :";
|
|
|
|
|
$printStrategy3 = "<div id='question'>
|
|
|
|
|
<label>$content3</label>
|
|
|
|
|
<select name='answers[]'>";
|
|
|
|
|
for($i = 0; $i < count($possibleResponses); $i++)
|
|
|
|
|
{
|
|
|
|
|
$printStrategy3.= "<option value='$categories[$i]'>$possibleResponses[$i]</option>";
|
|
|
|
|
}
|
|
|
|
|
$printStrategy3.= "</select>
|
|
|
|
|
</div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $printStrategy."\n";
|
|
|
|
|
echo $printStrategy2."\n";
|
|
|
|
|
echo $printStrategy3."\n";
|
|
|
|
|
?>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|