-
Notifications
You must be signed in to change notification settings - Fork 0
/
Contact.php
62 lines (62 loc) · 2.33 KB
/
Contact.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
<!DOCTYPE html>
<html>
<?php
include 'header.php';
?>
<body>
<?php
include 'menu.php';
?>
<h4>Veuillez compléter le formulaire ci-dessous : </h4>
<form class="default-form" id="myForm" action="insert_into.php" method="POST">
<div>
<label for="name">Nom :</label>
<input type="tex" name="User_name" required maxlenght=30>
</div>
<div>
<label for="firstname">Prénom :</label>
<input type="text" name="User_firstname" required maxlenght=30>
</div>
<div>
<label for="mail">e-mail :</label>
<input type="email" name="User_mail" required maxlenght=30>
</div>
<div>
<label for="phone">Téléphone :</label>
<input type="tel" name="User_phone" required maxlenght=30>
</div>
<label for="select">Objet de la demande:</label>
<select class="default-select" name="status-select">
<optgroup label="Options">
<option value="default" selected hidden>--Choisissez une option--</option>
<option value="club">Rendez-Vous</option><!--option 1-->
<option value="user">Renseignement</option><!--option 2-->
<option value="user">Avis</option><!--option 3-->
</optgroup>
</select>
<div id="register-club-form" class="select-cible"><!-- A afficher si option 1 sélectionnée -->
<label for="calendrier">Sélectionnez une date : </label>
<div id="planning" widht=100%></div>
<?php
include 'PHPpourHTMLplanning.php';
?>
<!--<script type="text/javascript">
calendrier();
</script>-->
</div>
<div id="register-user-form" class="select-cible"><!-- A afficher si option 2 ou 3 sélectionnée -->
<label for="msg">Message :</label>
<textarea id="msg" name="User_message" maxlength="250"></textarea>
</div>
<div class="button">
<button type="submit">Envoyer le message</button>
</div>
</form></br>
<div class="bdd">
<input type="button" value="Consulter la BDD" onClick="window.location.href='select_from.php'">
</div>
</body>
<?php
include 'footer.php';
?>
</html>