-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.php
44 lines (36 loc) · 1.69 KB
/
signup.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
<?php
require('actions/signupAction.php') ;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Inscription</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</head>
<body>
<form class="container" method="POST">
<?php if(isset($errorMsg)){ echo '<p>'.$errorMsg.'<p>';} ?>
<br><br>
<div class="mb-3">
<label for="" class="form-label">Nom</label>
<input type="text" class="form-control" placeholder="Quel est votre nom?" name="lastname">
</div>
<div class="mb-3">
<label for="" class="form-label">Prenom</label>
<input type="text" class="form-control" placeholder="Quel est votre prenom" name="firstname">
</div>
<div class="mb-3">
<label for="" class="form-label">Numero Carte Etudiant</label>
<input type="text" class="form-control" placeholder="Numero de votre carte etudiant" name="numero">
</div>
<div class="mb-3">
<label for="" class="form-label">Mots de passe</label>
<input type="password" class="form-control" placeholder="password" name="mdp">
</div>
<button type="submit" class="btn btn-primary" name="validate">S'inscrire</button>
<a href="signin.php"> <p>Vous avez deja un compte? S'inscrire?</p></a>
</form>
</body>
</html>