-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConnexion.php
42 lines (35 loc) · 1.02 KB
/
Connexion.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
<?php
require_once("BibliothequeFonctions.php");
teteDePage("Noodle : connexion");
?>
<h1>Page de connexion</h1>
<main>
<form action='ConnexionTraitement.php' method="POST">
<div><table><tbody>
<tr>
<td>Pseudo</td>
<td><input type="text" name="pseudo" placeholder="Pseudonyme" required
<?php
if (isset($_POST["pseudo"])) {
echo "value=\"".$_POST["pseudo"]."\"";
}
?>>
</td>
</tr>
<tr>
<td>Mot de passe</td>
<td><input type="password" name="mdp" placeholder="Mot de passe" required></td>
</tr>
</tbody></table></div>
<div>
<input class='button' type='reset' value='Réinitialiser'>
<input class='button' type='submit' value='Envoyer'>
</div>
</form>
<form action="Frontpage.php">
<input class='button' type='submit' value="Retour à l'accueil">
</form>
</main>
<?php
piedDePage();
?>