-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
147 lines (117 loc) · 4.9 KB
/
footer.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?php
include 'connection.php';
?>
<footer id="footer" class="block block-bg-grey-dark" data-block-bg-img="img/bg_footer-map.png" data-stellar-background-ratio="0.4">
<div class="container">
<div class="row" id="contact">
<div class="col-md-3">
<address>
<strong>BD Mariage Govt</strong>
<br>
<i class="fa fa-map-pin fa-fw text-primary"></i> Dhanmondi 28,Dhaka
<br>
<i class="fa fa-phone fa-fw text-primary"></i> 01722602924
<br>
<i class="fa fa-envelope-o fa-fw text-primary"></i> info@gmail.com
<br>
</address>
</div>
<div class="col-md-6">
<h4 class="text-uppercase">
Contact Us
</h4>
<form accept-charset="UTF-8" role="form" method="POST">
<fieldset>
<div class="form-group">
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="fa fa-fw fa-user"></i></span>
<input type="text" name="name" class="form-control" placeholder="Name" required="1">
</div>
</div>
<div class="form-group">
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="fa fa-fw fa-envelope"></i></span>
<input type="email" name="email" class="form-control" placeholder="Email" required="">
</div>
</div>
<div class="form-group">
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="fa fa-fw fa-envelope"></i></span>
<input type="text" name="subject" class="form-control" placeholder="Subject" required="1">
</div>
</div>
<div class="form-group">
<textarea class="form-control" name="message" placeholder="Message" required="1"></textarea>
</div>
<input class="btn btn-lg btn-primary btn-block" type="submit" name="button" value="Sent">
</fieldset>
</form>
</div>
<?php
include 'connection.php';
if(isset($_POST['button'])){
$name=$_POST['name'];
$email=$_POST['email'];
$subject=$_POST['subject'];
$message=$_POST['message'];
$date=date("Y/m/d");
$query="insert into question(name,email, subject, message)
values('$name','$email','$subject','$message');";
$result = mysqli_query($connection,$query);
if($result){
echo "<script>window.alert('Data Added')</script>";
}
else{
echo "<script>window.alert('Data not Added')</script>";
}
}
?>
<div class="col-md-3">
<h4 class="text-uppercase">
Follow Us On:
</h4>
<!--social media icons-->
<div class="social-media social-media-stacked">
<!--@todo: replace with company social media details-->
<a href="#"><i class="fa fa-twitter fa-fw"></i> Twitter</a>
<a href="#"><i class="fa fa-facebook fa-fw"></i> Facebook</a>
<a href="#"><i class="fa fa-linkedin fa-fw"></i> LinkedIn</a>
<a href="#"><i class="fa fa-google-plus fa-fw"></i> Google+</a>
</div>
</div>
</div>
<div class="row subfooter">
<!--@todo: replace with company copyright details-->
<div class="col-md-7">
<p>Copyright © bangladesh govt</p>
<div class="credits">
Designed by <a href="https://www.facebook.com/km.ibrahim.arif">Arif</a>
</div>
</div>
<div class="col-md-5">
<ul class="list-inline pull-right">
<li><a href="#">Terms</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</div>
<a href="#top" class="scrolltop">Top</a>
</div>
</footer>
<!-- Required JavaScript Libraries -->
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/stellar/stellar.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/counterup/counterup.min.js"></script>
<script src="contactform/contactform.js"></script>
<!-- Template Specisifc Custom Javascript File -->
<script src="js/custom.js"></script>
<!--Custom scripts demo background & colour switcher - OPTIONAL -->
<script src="js/color-switcher.js"></script>
<!--Contactform script -->
<script src="contactform/contactform.js"></script>
</body>
</html>