-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·342 lines (309 loc) · 15.8 KB
/
index.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<?php
include_once 'dbconnect.php';
if(isset($_POST['send'])){
$to = "[email protected]"; // this is your Email address
$from = $_POST['contactEmail']; // this is the sender's Email address
$first_name = $_POST['contactName'];
$mobile = $_POST['phone'];
$subject = "Form submission";
$subject2 = "Copy of your form submission";
$temp = $_POST['message'];
$message = $first_name ."\n" . $mobile . "\nWrote the following:" . "\n\n" . $_POST['message'];
$message2 = "Here is a copy of your message " . $first_name . "\n\n" . $_POST['message'];
$headers = "From:" . $from;
$headers2 = "From:" . $to;
mysqli_query($con, "INSERT INTO inbox(name,email,phone,message) VALUES('" . $first_name . "', '" . $from . "', '" . $mobile . "', '" . $temp . "')");
mail($to,$subject,$message,$headers);
// mail($from,$subject2,$message2,$headers2); // sends a copy of the message to the sender
$smsg= "Mail Sent. Thank you " . $first_name . ", we will contact you shortly.";
// You can also use header('Location: thank_you.php'); to redirect to another page.
}
?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Newline CSS Template with a video background</title>
<!--
Newline Template
http://www.templatemo.com/tm-503-newline
-->
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/fontAwesome.css">
<link rel="stylesheet" href="css/templatemo-style.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900" rel="stylesheet">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<div class="overlay"></div>
<section class="top-part">
<video controls autoplay loop>
<source src="videos/video.mp4" type="video/mp4">
<source src="videos/video.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</section>
<section class="cd-hero">
<div class="cd-slider-nav">
<nav>
<span class="cd-marker item-1"></span>
<ul>
<li class="selected"><a href="#0"><div class="image-icon"><img src="img/home-icon.png"></div><h6>Welcome</h6></a></li>
<li><a href="#0"><div class="image-icon"><img src="img/about-icon.png"></div><h6>About Us</h6></a></li>
<li><a href="#0"><div class="image-icon"><img src="img/featured-icon.png"></div><h6>Services</h6></a></li>
<li><a href="#0"><div class="image-icon"><img src="img/projects-icon.png"></div><h6>Projects</h6></a></li>
<li><a href="#0"><div class="image-icon"><img src="img/contact-icon.png"></div><h6>Contact Us</h6></a></li>
</ul>
</nav>
</div> <!-- .cd-slider-nav -->
<ul class="cd-hero-slider">
<li class="selected">
<div class="heading">
<h1>PROMINENCE</h1>
<span>STRUCTURAL DESIGN CONSULTANT</span>
</div>
<div class="cd-full-width first-slide">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="content first-content">
<h4>Let’s Talk More About Newline</h4>
<p>Welcome to PROMINENCE DESIGN AND CONSULTANCY, for modern, Economic and Dynamic designers in the field of civil engineering. The team prominence is comprises of professionals having Master Knowledge in all aspects of civil engineering structures</p>
<!--
<div class="primary-button">
<a href="#">Discover More</a>
</div>
-->
<div style="margin-top:18px">
</div>
</div>
</div>
</div>
</div>
</div>
</li>
<li>
<div class="heading">
<h1>About Us</h1>
<span>Get More Info About Our Agency</span>
</div>
<div class="cd-half-width second-slide">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="content second-content">
<div class="row">
<div class="col-md-7 left-image">
<img src="img/left-about-image.jpg">
</div>
<div class="col-md-5">
<div class="right-about-text">
<h4>Who we are?</h4>
<p>We are a global network of experts working with clients, communities to develop and implement innovative solutions to the world’s most complex challenges.</p>
<!--
<div class="primary-button">
<a href="#">Discover More</a>
</div>
-->
</div>
</div>
</div>
<div class="row">
<div class="col-md-7">
<div class="left-about-text">
<h4>What we do?</h4>
<p>We are dedicated to tackling our clients’ toughest infrastructure and natural resource challenges with optimism and imagination. Explore all our capabilities, see our projects and connect with us, so together, we can turn challenge into opportunity.</p>
<!--
<div class="primary-button">
<a href="#">Discover More</a>
</div>
-->
</div>
</div>
<div class="col-md-5 right-image">
<img src="img/right-about-image.jpg">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
<li>
<div class="heading">
<h1>SERVICES</h1>
<span>We provide these Services</span>
</div>
<div class="cd-half-width third-slide">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="content third-content">
<div class="row">
<div class="col-md-7 left-image">
<img src="img/left-feature-image.png">
</div>
<div class="col-md-5">
<div class="right-feature-text">
<!-- <h4>Featured Product: <em>Newline</em></h4>-->
<div class="feature-list">
<ul>
<p>- Structural design of reinforced cement concrete structures Residential and commercial buildings.</p>
<p>- Design of Steel Structures.</p>
<p>- Design of Bridges, Culverts and Regulators.</p>
<p>- Planning of Buildings</p>
<p>- Approval.</p>
<p>- Student Project Guidance.</p>
</ul>
</div>
<h5 style="margin-top:20px;">On Going Projects</h5>
<div class="feature-list">
<ul>
<p>- Commercial flats in Sarjapura, Bangalore.</p>
<p>- Residential projects in Bangalore.</p>
<p>- Residential Projects in Chickmagalure Karnataka.</p>
</ul>
</div>
<!--
<div class="primary-button">
<a href="#">Discover More</a>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
<li>
<div class="heading">
<h1>Our projects</h1>
<span>Here you can check our recent projects</span>
</div>
<div class="cd-half-width fourth-slide">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="content fourth-content">
<div class="row">
<div class="col-md-3 project-item">
<a href="img/item-01.jpg" data-lightbox="image-1"><img src="img/project-item-01.jpg"></a>
</div>
<div class="col-md-3 project-item">
<a href="img/item-02.jpg" data-lightbox="image-1"><img src="img/project-item-02.jpg"></a>
</div>
<div class="col-md-3 project-item">
<a href="img/item-03.jpg" data-lightbox="image-1"><img src="img/project-item-03.jpg"></a>
</div>
<div class="col-md-3 project-item">
<a href="img/item-04.jpg" data-lightbox="image-1"><img src="img/project-item-04.jpg"></a>
</div>
<div class="col-md-3 project-item">
<a href="img/item-05.jpg" data-lightbox="image-1"><img src="img/project-item-05.jpg"></a>
</div>
<div class="col-md-3 project-item">
<a href="img/item-06.jpg" data-lightbox="image-1"><img src="img/project-item-06.jpg"></a>
</div>
<div class="col-md-3 project-item">
<a href="img/item-07.jpg" data-lightbox="image-1"><img src="img/project-item-07.jpg"></a>
</div>
<div class="col-md-3 project-item">
<a href="img/item-08.jpg" data-lightbox="image-1"><img src="img/project-item-08.jpg"></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
<li>
<div class="heading">
<h1>Contact us</h1>
<span>You'll be responded within 48 hrs</span>
</div>
<div class="cd-half-width fivth-slide">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="content fivth-content">
<div class="row">
<div class="col-md-4">
<div class="left-info">
<p>
MAIL : <br><a href="mailto:[email protected]">[email protected]</a><br>
PHONE : <br><a href="tel:9495717528">9495717528</a><br><br>
<em>Address1 Address2<br>Address 3 Address 4 </em>
</p>
<ul class="social-icons">
<i><a href="#"><i class="fa fa-facebook"></i></a></i>
<i><a href="#"><i class="fa fa-twitter"></i></a></i>
<i><a href="#"><i class="fa fa-linkedin"></i></a></i>
<i><a href="#"><i class="fa fa-rss"></i></a></i>
<i><a href="#"><i class="fa fa-behance"></i></a></i>
</ul>
</div>
</div>
<div class="col-md-8">
<div class="row">
<form id="contact" action="" method="post">
<div class="col-md-4">
<fieldset>
<input name="contactName" type="text" class="form-control" id="name" placeholder="Your Name" required="">
</fieldset>
</div>
<div class="col-md-4">
<fieldset>
<input name="contactEmail" type="email" class="form-control" id="email" placeholder="Email" required="">
</fieldset>
</div>
<div class="col-md-4">
<fieldset>
<input name="phone" type="text" class="form-control" id="phone" pattern="[789][0-9]{9}" placeholder="Mobile Number" required="">
</fieldset>
</div>
<div class="col-md-12">
<fieldset>
<textarea name="message" rows="6" class="form-control" id="message" placeholder="Message" required=""></textarea>
</fieldset>
</div>
<div class="col-md-12">
<fieldset>
<button type="submit" name="send" id="form-submit" class="btn">Send Message</button>
</fieldset>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
</ul> <!-- .cd-hero-slider -->
</section> <!-- .cd-hero -->
<footer>
<p>Copyright © 2017 Your Company
| Designed by <a href="http://inkers.in" target="_parent"><em>inkers.Inc</em></a></p>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
</body>
</html>