-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
364 lines (299 loc) · 17.4 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
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/custom.css">
<!-- Object Fit polyfill -->
<script src="https://unpkg.com/object-fit-images/dist/ofi.min.js"></script>
<title>Home Page</title>
<style>
.error-msg {
color: yellow;
font-size: 14px;
}
</style>
</head>
<body>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<picture>
<source type="image/webp" srcset="images/mobile-image-3.webp" media="(max-width: 768px)">
<source type="image/jpg" srcset="images/mobile-image.jpg" media="(max-width: 768px)">
<source type="image/webp" srcset="images/parallex-3.webp">
<source type="image/jpg" srcset="images/parallex-3.jpg">
<img src="images/parallex-3.jpg" alt="#" class="d-block w-100">
</picture>
<div class="parallex-content banner_block">
<div class="banner_content" id="form_top">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
</div>
<div class="col-md-6">
<div class="banner_form form_style">
<form action="lead.php" method="post" onsubmit="return validateForm()">
<div class="form-group position-relative">
<span><img src="images/name-icon.png" alt="name"></span>
<input type="text" class="form-control" placeholder="Name" id="name" name="name">
<span class="error-msg" id="nameErr"></span>
</div>
<div class="form-group position-relative">
<span><img src="images/phone-icon.png" alt="name"></span>
<input type="text" class="form-control" placeholder="Phone" id="number" name="number">
<span class="error-msg" id="numberErr"></span>
</div>
<div class="form-group position-relative">
<span><img src="images/email-icon.png" alt="name"></span>
<input type="email" class="form-control" placeholder="Email" id="email" name="email">
<span class="error-msg" id="emailErr"></span>
</div>
<div class="form-group position-relative">
<input type="radio" id="genderM" name="gender" value="male" />
<label for="genderM">Male</label>
<input type="radio" id="genderF" name="gender" value="female" />
<label for="genderF">Female</label>
</div>
<div class="custom-control custom-checkbox ">
<input type="checkbox" class="custom-control-input" name="box" id="box" value="Yes" checked>
<label class="custom-control-label text-block " for="box">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</label>
</div>
<div class="form-group position-relative mt-4">
<input type="submit" class="form-control submit_btn" value="Connect With Us">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="why_save gap-block">
<div class="container">
<div class="row">
<div class="col-12">
<div class="text_content text-center">
<h3 class="header_text position-relative mb-5">
Lorem ipsum <br> dolor sit amet,
</h3>
<p>Integer sit amet nulla sed ex tincidunt vulputate. Pellentesque lacinia vitae elit nec iaculis. Suspendisse potenti. Aliquam posuere, dui in blandit posuere, ante ipsum tempus sem, quis finibus est lectus et sem.</p>
<p>Nullam tellus tellus, blandit id ante ac, suscipit varius nisi. Nam rhoncus ante non ipsum imperdiet, ac interdum dui dignissim.</p>
<p>Suspendisse orci tellus, condimentum a nibh eu, viverra interdum ligula. Vestibulum sagittis orci et pharetra sodales. Cras eleifend est risus, eget vestibulum sapien tincidunt eget. </p>
<p>Vestibulum cursus sed ligula ac volutpat. Nam consectetur sapien neque, in commodo nunc imperdiet quis. Nullam quis massa purus. Donec eu mauris non orci dignissim molestie.</p>
<a href="#form_top" class="btn theme_btn mt-2">Take the Pledge</a>
</div>
</div>
</div>
</div>
</div>
<div class="jarallax how_does">
<picture>
<source type="image/webp" srcset="images/mobile-image-2.webp" media="(max-width: 580px)">
<source type="image/jpg" srcset="images/mobile-image-2.jpg" media="(max-width: 580px)">
<source type="image/webp" srcset="images/parallex-2.webp">
<source type="image/jpg" srcset="images/parallex-2.jpg">
<img src="images/parallex-2.jpg" alt="#" class="jarallax-img">
</picture>
<div class="parallex-content h-100">
<div class="banner_content h-100">
<div class="container h-100">
<div class="row h-100 align-items-center">
<div class="col-12 col-md-6">
<div class="text_content text-white style_two">
<h3 class="header_text position-relative mb-5">
How
does<br>it
affect
</h3>
<p>Vestibulum cursus sed ligula ac volutpat. Nam consectetur sapien neque, in commodo nunc imperdiet quis. Nullam quis massa purus. Donec eu mauris non orci dignissim molestie.
</p>
<p>Vestibulum cursus sed ligula ac volutpat. Nam consectetur sapien neque, in commodo nunc imperdiet quis. Nullam quis massa purus. Donec eu mauris non orci dignissim molestie.</p>
<p>Vestibulum cursus sed ligula ac volutpat. Nam consectetur sapien neque, in commodo nunc imperdiet quis. Nullam quis massa purus. Donec eu mauris non orci dignissim molestie.</p>
<p>Vestibulum cursus sed ligula ac volutpat. Nam consectetur sapien neque, in commodo nunc imperdiet quis. Nullam quis massa purus. Donec eu mauris non orci dignissim molestie.</p>
<a href="#form_top" class="btn theme_btn mt-2">Take the Pledge</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="why_save gap-block">
<div class="container">
<div class="row my-lg-5 align-items-center">
<div class="col-12 col-md-5">
<img src="images/earth-iamge.png" alt="earth Image" class="img-fluid">
</div>
<div class="col-12 col-md-7">
<div class="text_content defualt_style">
<h3 class="header_text position-relative brfore_right mb-4">
Initiative and<br>
Programs
</h3>
<p class="text-right">Ut elit ipsum, pharetra at placerat non, sagittis pharetra magna. Nulla eget dui ac sem faucibus convallis sit amet vel mi. In vestibulum eu tortor ac tempor. Morbi nec mattis tellus. Donec sagittis vestibulum felis, aliquet porttitor ipsum feugiat sit amet.
</p>
<p class="text-right">Ut elit ipsum, pharetra at placerat non, sagittis pharetra magna. Nulla eget dui ac sem faucibus convallis sit amet vel mi. In vestibulum eu tortor ac tempor. Morbi nec mattis tellus. Donec sagittis vestibulum felis, aliquet porttitor ipsum feugiat sit amet.
</p>
<div class="text-lg-right text-center">
<a href="#form_top" class="btn theme_btn mt-2">Take the Pledge</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="jarallax sree_heat gap-block">
<picture>
<source type="image/webp" srcset="images/mobile-image-4.webp" media="(max-width: 580px)">
<source type="image/jpg" srcset="images/mobile-image-4.jpg" media="(max-width: 580px)">
<source type="image/webp" srcset="images/parallex-4.webp">
<source type="image/jpg" srcset="images/parallex-4.jpg">
<img src="images/parallex-2.jpg" alt="#" class="jarallax-img">
</picture>
<div class="parallex-content h-100">
<div class="banner_content h-100">
<div class="container h-100">
<div class="row h-100 align-items-center">
<div class="col-12 col-md-12">
<div class="text_content text-white style_two">
<h3 class="header_text position-relative mb-5">
Ut elit ipsum<br>
Donec sagittis
</h3>
<p>SNulla in congue est, ut vestibulum velit. Nunc pharetra mauris in blandit eleifend. Vestibulum suscipit odio eu mollis egestas. Donec laoreet ullamcorper felis, ut semper urna. Nullam tellus tellus, blandit id ante ac, suscipit varius nisi. Nam rhoncus ante non ipsum imperdiet, ac interdum dui dignissim.</p>
<p>Suspendisse orci tellus, condimentum a nibh eu, viverra interdum ligula. Vestibulum sagittis orci et pharetra sodales. Cras eleifend est risus, eget vestibulum sapien tincidunt eget. Ut elit ipsum, pharetra at placerat non, sagittis pharetra magna. Nulla eget dui ac sem faucibus convallis sit amet vel mi. In vestibulum eu tortor ac tempor. Morbi nec mattis tellus. Donec sagittis vestibulum felis, aliquet porttitor ipsum feugiat sit amet.</p>
<p>SNulla in congue est, ut vestibulum velit. Nunc pharetra mauris in blandit eleifend. Vestibulum suscipit odio eu mollis egestas. Donec laoreet ullamcorper felis, ut semper urna. Nullam tellus tellus, blandit id ante ac, suscipit varius nisi. Nam rhoncus ante non ipsum imperdiet, ac interdum dui dignissim.</p>
<p>Suspendisse orci tellus, condimentum a nibh eu, viverra interdum ligula. Vestibulum sagittis orci et pharetra sodales. Cras eleifend est risus, eget vestibulum sapien tincidunt eget. Ut elit ipsum, pharetra at placerat non, sagittis pharetra magna. Nulla eget dui ac sem faucibus convallis sit amet vel mi. In vestibulum eu tortor ac tempor. Morbi nec mattis tellus. Donec sagittis vestibulum felis, aliquet porttitor ipsum feugiat sit amet.</p>
<a href="#form_bottom" class="btn theme_btn mt-2">Take the Pledge</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="pledge gap-block">
<div class="container">
<div class="row">
<div class="col-12">
<div class="text_content text-center">
<h3 class="header_text position-relative mb-5">
I Pledge!
</h3>
<p>nteger sit amet nulla sed ex tincidunt vulputate. Pellentesque lacinia vitae elit nec iaculis. Suspendisse potenti. Aliquam posuere, dui in blandit posuere, ante ipsum tempus sem, quis finibus est lectus et sem. </p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nec hendrerit urna, non rhoncus diam. Proin at leo nisl. Ut posuere diam vel pellentesque hendrerit. </p>
<p>Enteger sit amet nulla sed ex tincidunt vulputate. Pellentesque lacinia vitae elit nec iaculis. Suspendisse potenti. Aliquam posuere, dui in blandit posuere, ante ipsum tempus sem, quis finibus est lectus et sem. Vestibulum malesuada urna nibh, aliquet ornare quam bibendum et. Morbi posuere enim in dignissim feugiat. Vestibulum cursus sed ligula ac volutpat. </p>
<a href="#form_bottom" class="btn theme_btn mt-2">Take the Pledge</a>
</div>
</div>
</div>
</div>
</div>
<div class="banner_form gap-block pt-0" id="form_bottom">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="form_block form_style">
<form action="lead.php" method="post" onsubmit="return validateFormtwo()">
<div class="form-group position-relative">
<span><img src="images/name-icon.png" alt="name"></span>
<input type="text" class="form-control" name="name" id="nametwo" placeholder="Name">
<span class="error-msg" id="nameerr"></span>
</div>
<div class="form-group position-relative">
<span><img src="images/phone-icon.png" alt="name"></span>
<input type="phone" class="form-control" name="number" id="numbertwo" placeholder="Phone">
<span class="error-msg" id="numbererr"></span>
</div>
<div class="form-group position-relative">
<span><img src="images/email-icon.png" alt="name"></span>
<input type="email" class="form-control" name="email" id="emailtwo" placeholder="Email">
<span class="error-msg" id="emailerr"></span>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" name="box" id="box2" value="Yes" checked>
<label class="custom-control-label text-white" for="box2">I am okay with receiving marketing information from your website</label>
</div>
<input type="hidden" name="utm_src" id="utm_src_two" value="<?php echo $_GET['utm_source']; ?>">
<input type="hidden" name="utm_med" id="utm_med_two" value="<?php echo $_GET['utm_medium']; ?>">
<input type="hidden" name="utm_camp" id="utm_camp_two" value="<?php echo $_GET['utm_campaign']; ?>">
<input type="hidden" name="utm_term" id="utm_term_two" value="<?php echo $_GET['utm_term']; ?>">
<input type="hidden" name="utm_cont" id="utm_cont_two" value="<?php echo $_GET['utm_content']; ?>">
<input type="hidden" name="utm_refer" id="utm_refer_two" value="<?php echo $_SERVER['HTTP_REFERER']; ?>">
<input type="hidden" name="ip_add" id="ip_add_two" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>">
<div class="form-group position-relative mt-4">
<input type="submit" class="form-control submit_btn" value="I Pledge!">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="jarallax savethesoil gap-block">
<picture>
<source type="image/webp" srcset="images/mobile-image-5.webp" media="(max-width: 580px)">
<source type="image/jpg" srcset="images/mobile-image-5.jpg" media="(max-width: 580px)">
<source type="image/webp" srcset="images/parallex-5.webp">
<source type="image/jpg" srcset="images/parallex-5.jpg">
<img src="images/parallex-2.jpg" alt="#" class="jarallax-img">
</picture>
<div class="parallex-content h-100">
<div class="banner_content h-100">
<div class="container h-100">
<div class="row h-100 align-items-center">
<div class="col-12 col-md-12">
<div class="text_content text-white style_two">
<h3 class="header_text position-relative text-right before_none">
lorem ipsum
</h3>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer_block gap-block">
<div class="container">
<div class="row">
<div class="col-12 col-md-6">
<div class="footer_content">
<img src="images/footer-logo.jpg" alt="footer_logo">
</div>
</div>
<div class="col-12 col-md-6">
<div class="social_block text-right">
<ul class="list-unstyled d-flex">
<li><a href="#"><img src="images/insta.png" alt="Instagram"></a></li>
<li><a href="#"><img src="images/facebook.png" alt="facebook"></a></li>
</ul>
<p class="font-weight-bold mb-0">© 2022 all rights reserved</p>
<a href="#" class="links">privacy policy</a>
<br>
<a href="#" class="links">terms & conditions</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jarallax.min.js"></script>
<script src="js/script.js"></script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="scripttwo.js"></script>
</body>
</html>