forked from Kelevan/ForumHundredMiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddMembre.php
64 lines (61 loc) · 3 KB
/
addMembre.php
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
<?php
include_once("./includes.php");
entete("Ajouter un membre");
verif_connexion();
?>
<div class="container">
<ul class="nav nav-tabs">
<li><a href="./listeMembre.php">Listes</a></li>
<li><a href="./addMembre.php">Ajouter un membre</a></li>
</ul>
<h3>Ajouter un membre</h3><br/>
<div class="tab-pane active" id="tab1">
<form class="well form-horizontal" method="post" action="./transfert_addMembre.php">
<fieldset>
<div class="control-group">
<label class="control-label" for="input01"><b>Pseudo</b></label>
<div class="controls">
<input type="text" class="input-medium" id="pseudo" name="pseudo" placeholder="Tom">
</div>
</div>
<div class="control-group">
<label class="control-label" for="input02"><b>E-mail</b></label>
<div class="controls">
<input type="email" class="input-medium" id="mail" name="mail" >
</div>
</div>
<div class="control-group">
<label class="control-label" for="select01"><b>Ajouter un rôle</b></label>
<div class="controls">
<select id="typeutil" name="typeutil">
<?php
$req_connexion=query("select * from type_utilisateur");
while ($row = mysql_fetch_array($req_connexion, MYSQL_NUM)) {
echo "<option value='".$row[0]."'>".$row[1]."</option>";
}
?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label"><b>Mot de passe :*</b></label>
<div class="controls">
<input type="password" class="input-xlarge" id="pass" name="pass">
</div>
</div>
<div class="control-group">
<label class="control-label"><b>Confirmation:*</b></label>
<div class="controls">
<input type="password" class="input-xlarge" id="pass2" name="pass2">
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Ajouter</button>
<button type="reset" class="btn btn-warning">Annuler</button>
</div>
</fieldset>
</form>
</div>
<?php
pied();
?>