-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.php
More file actions
45 lines (34 loc) · 1.32 KB
/
signup.php
File metadata and controls
45 lines (34 loc) · 1.32 KB
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
<?php require('forum\actions\users\signupAction.php'); ?>
<!DOCTYPE html>
<html lang="en">
<?php include 'forum\includes\head.php'; ?>
<body>
<br><br>
<form class="container" method="POST">
<?php if (isset($errorMsg)) {
echo '<p>' . $errorMsg . '</p>';
} ?>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Pseudo</label>
<input type="text" class="form-control" name="pseudo">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Nom</label>
<input type="text" class="form-control" name="lastname">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Prénom</label>
<input type="text" class="form-control" name="firstname">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" class="form-control" name="password">
</div>
<button type="submit" class="btn btn-primary" name="validate">S'inscrire</button>
<br><br>
<a href="login.php">
<p>J'ai déjà un compte, je me connecte</p>
</a>
</form>
</body>
</html>