-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
executable file
·195 lines (148 loc) · 5.57 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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang="zxx">
<head>
<title>Book Planet | Contact Us</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" id="bootstrap-css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<style media="screen">
.border-md {
border-width: 2px;
}
.btn-facebook {
background: #405D9D;
border: none;
}
.btn-facebook:hover, .btn-facebook:focus {
background: #314879;
}
.btn-twitter {
background: #42AEEC;
border: none;
}
.btn-twitter:hover, .btn-twitter:focus {
background: #1799e4;
}
/*
*
* ==========================================
* FOR DEMO PURPOSES
* ==========================================
*
*/
body {
min-height: 100vh;
}
.form-control:not(select) {
padding: 1.5rem 0.5rem;
}
select.form-control {
height: 52px;
padding-left: 0.5rem;
}
.form-control::placeholder {
color: #ccc;
font-weight: bold;
font-size: 0.9rem;
}
.form-control:focus {
box-shadow: none;
}
</style>
<script type="text/javascript">
$(function () {
$('input, select').on('focus', function () {
$(this).parent().find('.input-group-text').css('border-color', '#80bdff');
});
$('input, select').on('blur', function () {
$(this).parent().find('.input-group-text').css('border-color', '#ced4da');
});
});
</script>
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
</head>
<body>
<header class="header">
<nav class="navbar navbar-expand-lg navbar-light py-3">
<div class="container">
<!-- Navbar Brand -->
<a href="#" class="navbar-brand">
<img src="images/logo-bookplanet.png" alt="logo" width="230">
</a>
</div>
</nav>
</header>
<div class="container">
<div class="row py-3 align-items-center">
<!-- For Demo Purpose -->
<div class="col-md-5 pr-lg-5 mb-5 mb-md-0">
<img src="images/query.svg" alt="" class="img-fluid mb-3 d-none d-md-block">
<center><h1>Ask your query!</h1></center>
</div>
<!-- Registeration Form -->
<div class="col-md-7 col-lg-6 ml-auto">
<!-- Top Name -->
<div class=" col-lg-12 mb-4">
<center><h1>Contact Us</h1></center>
</div>
<form action="querysent.php" method="post">
<div class="row">
<!-- First Name -->
<div class="input-group col-lg-12 mb-4">
<div class="input-group-prepend">
<span class="input-group-text bg-white px-4 border-md border-right-0">
<i class="fa fa-user text-muted"></i>
</span>
</div>
<input id="firstName" type="text" name="fullname" placeholder="Full Name" class="form-control bg-white border-left-0 border-md">
</div>
<!-- Email Address -->
<div class="input-group col-lg-12 mb-4">
<div class="input-group-prepend">
<span class="input-group-text bg-white px-4 border-md border-right-0">
<i class="fa fa-envelope text-muted"></i>
</span>
</div>
<input id="email" type="email" name="mail" placeholder="Email Address" class="form-control bg-white border-left-0 border-md">
</div>
<!-- Query Name -->
<div class="input-group col-lg-12 mb-4">
<div class="input-group-prepend">
<span class="input-group-text bg-white px-4 border-md border-right-0">
<i class="fa fa-black-tie text-muted"></i>
</span>
</div>
<textarea rows="4" id="firstName" type="text" name="query" placeholder="Enter your query" class="form-control bg-white border-left-0 border-md"></textarea>
</div>
<!-- Submit Button -->
<div class="form-group col-lg-12 mx-auto mb-0">
<center> <input type="submit" value="Submit Your Query" class="btn btn-primary btn-block py-2"> </center>
</div>
<!-- Divider Text -->
<div class="form-group col-lg-12 mx-auto d-flex align-items-center my-4">
<div class="border-bottom w-100 ml-5"></div>
<span class="px-2 small text-muted font-weight-bold text-muted">OR</span>
<div class="border-bottom w-100 mr-5"></div>
</div>
<!-- Social Login -->
<div class="form-group col-lg-12 mx-auto">
<a href="bookplanet.php" class="btn btn-primary btn-block py-2 btn-facebook">
<i class="fa fa-home mr-2"></i>
<span class="font-weight-bold">Back To Home</span>
</a>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>