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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Suivi des appels d'offre</title>
<script language="JavaScript" type="text/javascript" src="mootools-1.2.4-core-yc.js"></script>
<script language="JavaScript" type="text/javascript" src="ajoutuser.class.js"></script>
<style>
html { font-family: "Trebuchet MS"; color: #222222; font-size: 0.9em; }
div.clear { clear:both; height:0px; font-size:1px; overflow:hidden; }
fieldset { width: 700px; }
div.field { margin-bottom: 20px; }
div.field label { display:block; float:left; width: 200px; }
div.field span label { display:inline; float:none; }
div.field input.text,textarea,select,span.radiobuttons { border: 1px solid #CCCCCC; background: #FAFAFA; display:block; float:left; width: 200px; margin-right: 20px; }
div.field input.checkbox { margin-right: 203px }
/* FormHandler styles */
span.errortext { background: url('img/exclamation.png') no-repeat; padding-left: 25px; display:block;float:right;width: 240px; }
.error { background: #FFEEEE!important; }
textarea.error { background: #FFEEEE; }
div.outputWrapper { padding: 10px; background: #EEEEEE;}
#FHOutput { background: url('img/error.png') no-repeat; padding-left: 20px;}
</style>
</head>
<body id="body" >
<h1>Formulaire d'ajout utilisateur</h1>
<form id="MyForm" action="headuser.php" method="post" >
<fieldset >
<div class="field">
<label for="f5">Titre</label>
<select id="titre" name="titre" class="required">
<option value=""> Choisir</option>
<option value="1">Monsieur</option>
<option value="2">Madame</option>
<option value="3">Mademoiselle</option>
</select>
<div class="clear"></div>
</div>
<div class="field">
<label for="f1">Nom</label> <input id="nom" name="nom" class="text required"/>
<div class="clear"></div>
</div>
<div class="field">
<label for="f1">Prénom</label> <input id="prenom" name="prenom" class="text required"/>
<div class="clear"></div>
</div>
<div class="field">
<label for="f1">Login</label> <input id="login" name="login" class="text required"/>
<div class="clear"></div>
</div>
<div class="field">
<label for="f1">Mot de passe</label> <input id="mp" name="mp" class="text required "/>
<div class="clear"></div>
</div>
<div class="field">
<label for="f5">Type</label>
<select id="type" class="required" name="type">
<option value=""> Choisir</option>
<option value="1">Administrateur</option>
<option value="2">Consultant</option>
<option value="3">Technicien</option>
<option value="4">Assistant</option>
</select>
<div class="clear"></div>
</div>
<div class="field">
<label for="f5">Pays</label>
<select id="pays" class="required" name="pays">
<option value=""> Choisir</option>
<option value="1">Maroc</option>
<option value="2">France</option>
<option value="3">Algérie</option>
<option value="4">USA</option>
</select>
<div class="clear"></div>
</div>
<div class="field">
<label for="f1">Ville</label> <input id="ville" name="ville" class="text required"/>
<div class="clear"></div>
</div>
<div class="field">
<label for="f4">Téléphone</label> <input id="telephone" name="telephone" class="text required number"/>
<div class="clear"></div>
</div>
<div class="field">
<label for="f3">Email </label> <input id="email" name="email" class="text required email"/>
<div class="clear"></div>
</div>
<div class="field">
<label for=fx > date de naissance</label>
<input id="date" class="text" size=10 name="date" maxlength=10 value="00.00.0000">
<div class="clear"></div>
</div>
<div class="outputWrapper"><div id="FHOutput"></div></div>
<br/>
<input type="submit" value="Valider"/>
<input class="nocheck" type="submit" value="Tout effacer"/>
</fieldset>
</form>
<script>
new FormHandler({form:'MyForm', identical:['', ''], onInvalid:function(){alert('Données invalides,veuillez vérifier svp')}, onValid:function(){alert('Données correctes')}});
</script>
</script>
</body>
</html> |
Partager