-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·74 lines (66 loc) · 3.7 KB
/
index.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
65
66
67
68
69
70
71
72
73
74
<?php
include('header.php');
?>
<body>
<div id="wrapper_index">
<section class="section_title">
<h1>We Meet</h1>
<h2>Share your hobbies and passions with others !</h2>
</section>
<section id="section_form">
<form method="POST" id="form_register">
<div class="fieldset_name">
<label class="label_info" for="lastname">Nom : </label>
<input type="text" name="lastname" id="lastname" required>
<label class="label_info" for="firstname">Prénom : </label>
<input type="text" name="firstname" id="firstname" required>
<label class="label_info" for="birthday">Date de naissance : </label>
<input type="date" min="1920-01-01" max="2020-12-31" name="birthday" id="birthday" required><br>
<label class="label_info" for="city">Ville : </label>
<input type="text" name="city" id="city" required>
</div>
<div class="fieldset_gender">
<label class="label_info" for="gender">Genre :</label>
<select id="gender" name="gender_select">
<option value="">-----------------Choisir-----------------</option>
<option value="Femme">Femme</option>
<option value="Homme">Homme</option>
<option value="Agenre">Agenre</option>
<option value="Bigenre">Bigenre</option>
<option value="Trans Femme">Trans Femme</option>
<option value="Trans Homme">Trans Homme</option>
<option value="Androgyne">Androgyne</option>
</select>
</div>
<div class="fieldset_mail">
<label class="label_info" for="email">E-mail : </label>
<input type="text" name="email" id="email" required><br>
<span class="error" id="email_error">Email invalide</span>
<label class="label_info" for="password">Mot de passe : </label>
<input type="password" name="password" id="password" required><br>
</div>
<div class="fieldset_hobbies">
<p>Loisirs : </p>
<label class="label_check" for="dance">Dance</label><input type="checkbox" name="hobbies" id="dance" value="1">
<label class="label_check" for="skateboard">Skateboard</label><input type="checkbox" name="hobbies" id="skateboard" value="2">
<label class="label_check" for="manga">Manga</label><input type="checkbox" name="hobbies" id="manga" value="3">
<label class="label_check" for="licorne">Licorne</label><input type="checkbox" name="hobbies" id="licorne" value="4">
<label class="label_check" for="cuisiner">Cuisiner</label><input type="checkbox" name="hobbies" id="cuisiner" value="5"><br>
<span class="error" id="hobbies_error">Veuillez choisir au moins un loisir</span>
</div>
<div class="fieldset_validation">
<input id="button_subscribe" type="submit" name="submit_subscribe" value="Valider">
<input id="button_reset" type="reset" name="button_reset" value="Reset">
<p>Déjà membre ? <a href="login_connexion.php" id="connexion_link"> Connexion</a></p>
</div>
</form>
<div id="info_messages"></div>
</section>
</div>
<footer id="footer">
<p>Copyright © 2020 We Meet, Inc. All rights reserved. Terms of Use | Privacy Policy</p>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="register_ajax.js"></script>
</body>
</html>