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 71 72 73 74
| <?php
include("tete.php"); // pour le logo
include ("transfert.php"); // cest le fichier qui fait le transfert vers la BDD
if(isset($_POST['userid'])) $userid=$_POST['userid'];
if(isset($_POST['sexe'])) $sexe=$_POST['sexe'];
if(isset($_POST['Option_E'])) $Option_E=$_POST['Option_E'];
if ( isset($_FILES['fic']) ) // pour la photo
{
transfert($userid,$sexe,$Option_E);
}
?>
<CENTER>
<form enctype="multipart/form-data" action="#" method="post">
<?////////////////////////////////////////////////////////////////////////////////////////////////?>
<h3>Le Formulaire dInscription </h3>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD><IMG height=22 src="00/01.gif" width=18></TD>
<TD width="100%" bgColor=#008000><FONT color=#ffffff><B>S-V-P remplir ces champs :</B></FONT></TD>
<TD><IMG height=22 src="00/00.gif" width=18></TD></TR></TBODY></TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD bgColor=#008000><IMG height=1 src="00/point.gif" width=2></TD>
<TD width="100%">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD rowSpan=7 width=16><IMG height=8 src="00/point.gif" width=16></TD>
<TD colSpan=2 height=18 noWrap><B>
<FONT color=#000080>A) Informations personnelles
</FONT></B></TD>
<TD rowSpan=7 width=16><IMG height=1 src="00/point.gif" width=16></TD></TR>
<TR>
<TD height=18 noWrap width=18><IMG height=8 src="00/point.gif" width=16></TD>
<TD height=18 width=373>
<TABLE border=0 width="100%">
<TBODY>
<?////////////////////////////////////////////////////////////////////////////////////////////////?>
<TR><TD><FONT color=#000080>* Matricule:</FONT></TD>
<TD><INPUT name=userid size="20"> </TD></TR>
<TR><TD><FONT color=#000080>* Sexe :</FONT></TD><TD><input type="radio" name="sexe" value="Masculin" checked="checked" /> Masculin
<input type="radio" name="sexe" value="Féminin " /> Féminin</TD></TR>
<TR><TD><FONT color=#000080>* Option :</FONT></TD><TD><select name="Option_E">
<option value="Informatique">Informatique</option>
<option value="Mathématique">Mathématique</option>
<option value="Physique">Physique</option>
</select></TD></TR>
<TR><TD><FONT color=#000080>* Photo : </FONT></TD><input type="hidden" name="MAX_FILE_SIZE" value="250000" />
<TD><input type="file" name="fic" size=25 /></TD></TR>
<TR><TD><input type="submit" value="Envoyer" /></TD></TR>
<?////////////////////////////////////////////////////////////////////////////////////////////////?>
</TBODY></TABLE>
</TD></TR>
</TBODY></TABLE></TD>
<TD bgColor=#008000><IMG height=1 src="00/point.gif" width=2></TD></TR>
<TR>
<TD bgColor=#008000><IMG height=2 src="00/point.gif" width=2></TD>
<TD bgColor=#008000><IMG height=2 src="00/point.gif" width=1></TD>
<TD bgColor=#008000><IMG height=2 src="00/point.gif" width=2></TD></TR>
</TBODY></TABLE></TD></TR>
</TBODY></TABLE>
<?////////////////////////////////////////////////////////////////////////////////////////////////?>
</form>
</CENTER> |
Partager