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 68 69 70
| <html>
<style>
#form1,#form2,#form3{
display:none;
}
</style>
<script type="text/javascript">
function hideThis(id){
var obj = document.getElementById(id);
if(obj.style.display == "block")
obj.style.display = "none";
else
obj.style.display = "block";
}
</script>
<body>
<input type="button" value="Afficher/Cacher Form1" onclick="hideThis('form1')"/>
<input type="button" value="Afficher/Cacher Form2" onclick="hideThis('form2')"/>
<input type="button" value="Afficher/Cacher Form3" onclick="hideThis('form3')"/>
<center>
<FORM id="form1" method="POST" action="page_traitement.php">
<input type="text"/>
<input type="submit" value="Valider"/>
</FORM>
</center>
<center>
<Form id="form2" method="POST" action="page_traitement2.php">
<CENTER><label><TABLE WIDTH="500" BORDER="3" BGCOLOR="#BBBBBB" BORDERCOLOR="#000000" CELLPADDING="3" CELLSPACING="5"></CENTER>
<TR BGCOLOR="#346E99">
<TD><CENTER><H2>LOGIN</H2></TD></CENTER></TR>
<TR BGCOLOR="#346E99">
<TD HEIGHT="150"><CENTER><B>Username : </B><INPUT TYPE="TEXT" NAME="USERNAME" SIZE="30"><P>
<B>Password : </B><INPUT TYPE="PASSWORD" NAME="PASSWORD" SIZE="30"><P>
<INPUT TYPE="SUBMIT" VALUE=" LOGIN " STYLE="filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0, StartColorStr='#8ff2ff', EndColorStr='#008785')">
<TR BGCOLOR="#346E99">
</TD></TR></TABLE>
</Form>
</center>
<center>
<form method="post" id="form3" action="pagederemerciements.php">
<p>
<label for="nom">Nom :</label>
<input type="text" name="nom" id="nom" />
</p>
<p>
<label for="prenom">Prénom :</label>
<input type="text" name="prenom" id="prenom" />
</p>
<p>
<label for="email">Email :</label>
<input type="text" name="email" id="email" />
</p>
<p>
<label for="message">Message :</label><br />
<textarea name="message" cols="45" rows="10"></textarea>
</p>
<p>
<input type="submit" value="Envoyer" />
</p>
</form>
</center>
</body>
</html> |
Partager