-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.php
67 lines (46 loc) · 1.97 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
63
64
65
66
67
<?php
// import des fonctions PHP
include_once './functions.php';
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Opendata Census - Contact</title>
<!-- LIBRAIRIES -->
<link rel="stylesheet" href="./libs/bootstrap/css/bootstrap-reboot.min.css">
<link rel="stylesheet" href="./libs/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="./assets/style.css">
</head>
<body>
<?php include_once './include/navigation.php'; ?>
<main class="col-sm-7 mx-auto">
<h1>Contact</h1>
<form id="form-contact" action="contact.php" method="post">
<div class="form-group">
<label for="input-courriel">Adresse courriel</label>
<input type="email" class="form-control" id="input-courriel" name="courriel">
</div>
<div class="form-group">
<label for="input-objet">Objet</label>
<input type="text" class="form-control" id="input-objet" name="objet">
</div>
<div class="form-group">
<label for="input-message">Message</label>
<textarea class="form-control" id="input-message" rows="7" name="message"></textarea>
</div>
<input style="display:none;" type="text" name="bot_empty" value="">
<input style="display:none;" type="text" name="bot_nempty" value="">
<button type="submit" class="btn btn-primary">Envoyer le courriel</button>
<div class="alert mt-2" role="alert" id="form-contact-feedback"></div>
</form>
</main>
<?php include_once './include/footer.html' ?>
<!-- LIBRAIRIES -->
<script src="./libs/jquery.min.js"></script>
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="./libs/bootstrap/js/bootstrap.min.js"></script>
<script src="./assets/form.js"></script>
</body>
</html>