-
Notifications
You must be signed in to change notification settings - Fork 1
/
inscription.php
33 lines (28 loc) · 1.06 KB
/
inscription.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
<?php
if(!isset($engineLoaded))
{
$needHTML = true;
require("engine.php");
}
require("include/verifInscription.php");
if(isset($needHTML))
{
$titre = "Inscription";
require("header.php");
}
?>
<form method="POST" action="inscription.php" class="table">
<label for="nom">Nom : </label><input type="text" name="nom" id="nom" value="<?=defaultPost('nom')?>"/><br/>
<label for="prenom">Prénom : </label><input type="text" name="prenom" id="prenom" value="<?=defaultPost('prenom')?>"/><br/>
<label for="email">Email : </label><input type="text" name="email" id="email" value="<?=defaultPost('email')?>"/><br/>
<label for="mdp">Mot de passe: </label><input type="password" name="mdp" id="mdp" value="<?=defaultPost('mdp')?>"/><br/>
<label for="mdp2">Repetez : </label><input type="password" name="mdp2" id="mdp2" value="<?=defaultPost('mdp2')?>"/><br/>
<label for="auteur">Auteur :</label><input type="checkbox" name="auteur" id="auteur" <?=defaultPostChecked('auteur')?>/>Oui<br/>
<input type="submit"/>
</form>
<?php
if(isset($needHTML))
{
require("footer.php");
}
?>