-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
91 lines (80 loc) · 3.67 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
session_start();
include("includes/db.php");
include("includes/header.php");
include("includes/navbar.php");
?>
<!-- Start Content Page -->
<div class="container-fluid bg-light py-5">
<div class="col-md-6 m-auto text-center">
<h1 class="h1">Contact Us</h1>
<p>
Get in touch with us anytime anywhere
</p>
</div>
</div>
<!-- Start Map -->
<div id="mapid" style="width: 100%; height: 300px;"></div>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
<script>
var mymap = L.map('mapid').setView([-23.013104, -43.394365, 13], 13);
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', {
maxZoom: 18,
attribution: 'Zay Telmplte | Template Design by <a href="https://templatemo.com/">Templatemo</a> | Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
id: 'mapbox/streets-v11',
tileSize: 512,
zoomOffset: -1
}).addTo(mymap);
L.marker([-23.013104, -43.394365, 13]).addTo(mymap)
.bindPopup("<b>Zay</b> eCommerce Template<br />Location.").openPopup();
mymap.scrollWheelZoom.disable();
mymap.touchZoom.disable();
</script>
<!-- Ena Map -->
<!-- Start Contact -->
<div class="container py-5">
<div class="row py-5">
<form class="col-md-9 m-auto" method="post" role="form">
<div class="row">
<div class="form-group col-md-6 mb-3">
<label for="inputname">Name</label>
<input type="text" class="form-control mt-1" id="name" name="name" placeholder="Name">
</div>
<div class="form-group col-md-6 mb-3">
<label for="inputemail">Email</label>
<input type="email" class="form-control mt-1" id="email" name="email" placeholder="Email">
</div>
</div>
<div class="mb-3">
<label for="inputsubject">Subject</label>
<input type="text" class="form-control mt-1" id="subject" name="subject" placeholder="Subject">
</div>
<div class="mb-3">
<label for="inputmessage">Message</label>
<textarea class="form-control mt-1" id="message" name="message" placeholder="Message" rows="8"></textarea>
</div>
<div class="row">
<div class="col text-end mt-2">
<button type="submit" class="btn btn-success btn-lg px-3">Let’s Talk</button>
</div>
</div>
</form>
</div>
</div>
<!-- End Contact -->
<!-- Start Footer -->
<?php
include("includes/footer.php");
?>
<!-- End Footer -->
<!-- Start Script -->
<script src="assets/js/jquery-1.11.0.min.js"></script>
<script src="assets/js/jquery-migrate-1.2.1.min.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/templatemo.js"></script>
<script src="assets/js/custom.js"></script>
<!-- End Script -->
</body>
</html>