1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
| <script type = 'text/javascript'>
function modifInterface(actionVoulue, formulaire)
{
document.getElementById(formulaire).action = actionVoulue ;
return true;
}
</script>
<form name = "creationChiffrage" id = "creationChiffrage" action = "test.php" method = "post" >
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<table>
<tr>
<td align = "center" id = "topActiv">
Nombre d’activités à saisir :
<?php
$nbActiv = 0;
if (isset($_POST['nbActiv'])) {
$nbActiv = $_POST['nbActiv'];
}
?>
<select name = "nbActiv" id = "nbActiv" onChange = "modifInterface('test.php#topActiv', 'creationChiffrage'); return submit();">
<?php
for ( $i = 0 ; $i < 100 ; $i++ ) {
?>
<option value = "<?php echo $i;?>" <?php if ($i == $nbActiv) {echo ' selected ';}?> ><?php echo $i;?></option>
<?php
}
?>
</select>
</td>
</tr>
</table>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<table bgcolor = "red">
<tr>
<td align = "center" id = "topAppli">
Nombre d’applications à saisir :
<?php
$nbAppli = 0;
if (isset($_POST['nbAppli'])) {
$nbAppli = $_POST['nbAppli'];
}
?>
<select name = "nbAppli" id = "nbAppli" onChange = "modifInterface('test.php#topAppli', 'creationChiffrage'); return submit();">
<?php
for ( $i = 0 ; $i < 100 ; $i++ ) {
?>
<option value = "<?php echo $i;?>" <?php if ($i == $nbAppli) {echo ' selected ';}?> ><?php echo $i;?></option>
<?php
}
?>
</select>
</td>
</tr>
</table>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
<p> ici </p>
</form> |
Partager