-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathindex.php
538 lines (473 loc) · 28.9 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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
<?php
session_start();
include "connect.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Infinito 2k22</title>
<?php
require('./templates/header.php');
?>
</head>
<body>
<div class="main-page-wrapper">
<!--
=============================================
Theme Header
==============================================
-->
<header class="theme-main-header">
<div class="container">
<a href="index.php" class="logo float-left tran4s"><img src="images/logo/logo.png" alt="Logo" style="width:56px; height:56px;" /></a>
<!-- ========================= Theme Feature Page Menu ======================= -->
<nav class="navbar float-right theme-main-menu one-page-menu">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false" style="margin-top:-4px;">
<span class="sr-only">Toggle navigation</span>
Menu
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="./index.php">Home</a></li>
<li><a href="./events.php">Events</a></li>
<li><a href="./team.php">Team</a></li>
<li><a href="./gallery.php">Gallery</a></li>
<?php
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) {
echo '<li><a href="./profile.php">Profile</a></li>
<li><a href="./logout.php">Logout</a></li>';
} else {
echo '
<li><a href="./registration.php">Register</a></li>
<li><a href="./signIn.php">Sign In</a></li>';
}
?>
</ul>
</div>
<!-- /.navbar-collapse -->
</nav>
<!-- /.theme-feature-menu -->
</div>
</header>
<!-- /.theme-main-header -->
<!--
=====================================================
Theme Main SLider
=====================================================
-->
<div id="home" class="banner">
<div class="rev_slider_wrapper">
<!-- START REVOLUTION SLIDER 5.0.7 auto mode -->
<div id="main-banner-slider" class="rev_slider video-slider" data-version="5.0.7">
<ul>
<!-- SLIDE1 -->
<li id="poster_index" data-index="rs-280" data-transition="fade" data-slotamount="default" data-easein="default" data-easeout="default" data-masterspeed="default" data-title="Feel The Burn" data-description="">
<!-- MAIN IMAGE -->
<!-- Image will be inserted using javascript-->
</li>
<!-- SLIDE3 -->
<li data-index="rs-18" data-transition="fade" data-slotamount="default" data-easein="default" data-easeout="default" data-masterspeed="default" data-thumb="" data-rotate="0" data-saveperformance="off" data-title="Feel The burn" data-description="">
<!-- LAYER NR. 1 -->
<div class="tp-caption" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['-58','-33','-33','-100']" data-width="none" data-height="none" data-whitespace="nowrap" data-transform_idle="o:1;" data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;opacity:0;s:2000;e:Power4.easeInOut;" data-transform_out="y:[100%];s:1000;e:Power2.easeInOut;s:1000;e:Power2.easeInOut;" data-mask_in="x:0px;y:[100%];" data-mask_out="x:inherit;y:inherit;" data-start="1000" data-splitin="none" data-splitout="none" data-responsive_offset="on" style="z-index: 6; white-space: nowrap;text-align:center;">
<h1 style="color:#d73e4d;font-weight:100">Feel the Burn</h1>
<h3 style="color:white;padding-top:20px">Infinito 2k22</h3>
</div>
<!-- LAYER NR. 3 -->
<div class="tp-caption" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['52','185','185','105']" data-transform_idle="o:1;" data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;opacity:0;s:2000;e:Power4.easeInOut;" data-transform_out="y:[100%];s:1000;e:Power2.easeInOut;s:1000;e:Power2.easeInOut;" data-mask_in="x:0px;y:[100%];" data-mask_out="x:inherit;y:inherit;" data-start="3000" data-splitin="none" data-splitout="none" data-responsive_offset="on">
<a href="registration.php" class="project-button hvr-bounce-to-right">Register Now !</a>
</div>
</li>
</ul>
</div>
</div>
<!-- END REVOLUTION SLIDER -->
</div>
<!-- /#banner -->
<!--
=====================================================
About us Section
=====================================================
-->
<section id="about-us">
<div class="container">
<div class="theme-title">
<h2>Welcome to Infinito</h2>
</div>
<!-- /.theme-title -->
<div class="row" style="margin: 10px;">
<div class="row">
<div class="col-lg-8 col-md-6 col-sm-12" style="font-size:20px;font-weight:300">
<div class="col" style="display: flex; flex-direction: column; align-items: center; margin-bottom: 10%;">
<p class="about-infinito">
<br>
Infinito is the annual sports fest of IIT Patna.
<br>
<br>
Once a humble initiative, after just three editions, Infinito has already grown into the biggest and most awaited sports fest of Bihar. It is an endeavor to ensure that no talent goes unnoticed.
Through Infinito we provide people a platform where they can not only display their skills but also learn and develop the qualities of a true sportsman. Knit together are the virtues of team spirit, undying determination and zeal, and Infinito is an embodiment of them all.
<br>
<br>
Infinito is a three days fest and these three days see participation from colleges all over India. With a plethora of sporting events and exhilarating cultural nights we leave no stones unturned into ensuring that these three days are filled with fun and thrill and that everyone who is a part of our ever-growing family gets to make the most beautiful of memories.
<br>
<br>
Let's sweat to glory, together.
<br>
</p>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 about-image">
<img src="images/home/about_20.png" alt="Infinito-Pic" id="image1">
<img src="images/home/about_19.png" alt="Infinito-Pic" id="image2">
<!-- <div style="display:flex; justify-content:center;margin-top:25px"> -->
<!--<button class="hell" style="background:black;font-size:20px; border-radius:10px;padding:10px"><a style="color:white" href="./registration.php" class="project-button hvr-bounce-to-right">REGISTER HERE!</a></button>-->
<!-- </div> -->
<!-- <div style="display:flex; justify-content:center;margin-top:25px">
<button class="hell" style="background:black;font-size:20px; border-radius:5px;padding:10px"><a style="color:white" href="schedule.html" class="project-button hvr-bounce-to-right">SCHEDULE!</a></button>
</div> -->
<div class="row about-buttons">
<!-- <div class="button-schedule hvr-bounce-to-right">
<a href="schedule.php">View Schedule</a>
</div> -->
<div class="button-brochure hvr-bounce-to-right">
<a href="https://drive.google.com/file/d/1A7r8d-ILzoFhzX27Xr7AhKX16DsOiQ4i/view?usp=sharing" target="_blank">Learn More</a> </div>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
<!-- <div class="row" id="countdown">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<h1>Countdown to Infinito</h1>
</div>
<div class="days time col-lg-2 col-md-2 col-sm-3 col-xs-3 ">
<span id='days'> 0 </span><span>Days</span>
</div>
<div class="hours time col-lg-2 col-md-2 col-sm-3 col-xs-3">
<span id='hours'>0</span><span>Hours</span>
</div>
<div class="minutes time col-lg-2 col-md-2 col-sm-3 col-xs-3">
<span id='minutes'> 0 </span><span> Minutes</span>
</div>
<div class="seconds time col-lg-2 col-md-2 col-sm-3 col-xs-3">
<span id='seconds'> 0 </span><span>Seconds</span>
</div>
</div> -->
</section>
<!-- Steps to register -->
<div id="steps">
<div class="container">
<div class="wrapper" style="box-shadow:0 10px 15px rgb(66 66 66 / 19%);">
<h1 style="font-size:1.6rem;">Steps to Register</h1>
<ul class="sessions">
<li>
<p><h1>Step 1: Sign Up and generate a unique Infinito ID. <a href="./registerPlayer.php">Click here</a> to Register.</h1></p>
<div class="time">Kindly note your Infinito ID, it will be required to register for any events.
<br> Your Infinito ID is your unique verification ID for the fest.</div>
</li>
<li>
<p><h1>Step 2: Register for various events using the Infinito ID. <a href="./events.php">Click here</a> to view events.</h1></p>
<div class="time">For registering in any event, go to the <a href="./events.php">event section</a>. Select your game and register using Infinito ID.</div>
</li>
<li>
<p><h1>Have fun , play games and win exciting prizes.</h1></p>
<div class="time">For any queries mail to <a href="mailto:[email protected]">[email protected]</a></div>
</li>
</ul>
</div>
</div>
</div>
<!--
=====================================================
events Section
=====================================================
-->
<div id="events-section">
<div class="container">
<div class="theme-title">
<h2><a href="./events.php" style="color: white">EVENTS</a></h2>
</div>
<div id="partner_logo" class="row owl-carousel owl-theme" style="text-align: center">
<div class="item"><img style="padding:10px 15px;" width="700" height="200" src="images\events\football.jpg" alt="logo" /></a>
<!-- <div class="events-tp-caption" style="margin-left: 20px;margin-right: 20px">
<a href="" class="project-button hvr-bounce-to-right" style="padding:10px 15px;margin-top:10px;font-size:16px;border: #d8545d 2px solid;width:60%; text-align:center;">Register</a> -->
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" class="project-button hvr-bounce-to-right" target="_blank">Payment</a> -->
<!-- </div> -->
</div>
<div class="item"><img style="padding:10px 15px;" width="700" height="200" src="images\events\cricket.jpg" alt="logo" />
<!-- <div class="events-tp-caption" style="margin-left: 20px;margin-right: 20px">
<a href="" class="project-button hvr-bounce-to-right" style="padding:10px 15px;margin-top:10px;font-size:16px;border: #d8545d 2px solid;width:60%; text-align:center;">Register</a> -->
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" class="project-button hvr-bounce-to-right" target="_blank">Payment</a> -->
<!-- </div> -->
</div>
<div class="item"><img style="padding:10px 15px;" width="700" height="200" src="images\events\teahub.io-chess-wallpaper-412540.png" alt="logo" />
<!-- <div class="events-tp-caption" style="margin-left: 20px;margin-right: 20px">
<a href="" class="project-button hvr-bounce-to-right" style="padding:10px 15px;margin-top:10px;font-size:16px;border: #d8545d 2px solid;width:60%; text-align:center;">Register</a> -->
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" class="project-button hvr-bounce-to-right" target="_blank">Payment</a> -->
<!-- </div> -->
</div>
<div class="item"><img style="padding:10px 15px;" width="700" height="200" src="images\events\valorant-wide-wallpaper-74475-77178-hd-wallpapers.jpg" alt="logo" />
<!-- <div class="events-tp-caption" style="margin-left: 20px;margin-right: 20px">
<a href="" class="project-button hvr-bounce-to-right" style="padding:10px 15px;margin-top:10px;font-size:16px;border: #d8545d 2px solid;width:60%; text-align:center;">Register</a> -->
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" class="project-button hvr-bounce-to-right" target="_blank">Payment</a> -->
<!-- </div> -->
</div>
<div class="item"><img style="padding:10px 15px;" width="700" height="200" src="images\events\table_tennis.jpg" alt="logo" />
<!-- <div class="events-tp-caption" style="margin-left: 20px;margin-right: 20px">
<a href="" class="project-button hvr-bounce-to-right" style="padding:10px 15px;margin-top:10px;font-size:16px;border: #d8545d 2px solid;width:60%; text-align:center;">Register</a> -->
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" class="project-button hvr-bounce-to-right" target="_blank">Payment</a> -->
<!-- </div> -->
</div>
<div class="item"><img style="padding:10px 15px;" width="700" height="200" src="images\events\badminton.jpg" alt="logo" />
<!-- <div class="events-tp-caption" style="margin-left: 20px;margin-right: 20px">
<a href="" class="project-button hvr-bounce-to-right" style="padding:10px 15px;margin-top:10px;font-size:16px;border: #d8545d 2px solid;width:60%; text-align:center;">Register</a> -->
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" class="project-button hvr-bounce-to-right" target="_blank">Payment</a> -->
<!-- </div> -->
</div>
<div class="item"><img style="padding:10px 15px;" width="700" height="200" src="images\events\athletics.jpg" alt="logo" />
<!-- <div class="events-tp-caption" style="margin-left: 20px;margin-right: 20px">
<a href="" class="project-button hvr-bounce-to-right" style="padding:10px 15px;margin-top:10px;font-size:16px;border: #d8545d 2px solid;width:60%; text-align:center;">Register</a> -->
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" class="project-button hvr-bounce-to-right" target="_blank">Payment</a> -->
<!-- </div> -->
</div>
<!-- <div class="item"><img src="images/logo/c3.jpeg" alt="logo" /></div> -->
</div>
</div>
<div class="register-1">
<div class="events-tp-caption">
<a href="https://linktr.ee/infinito2k22" target="blank" class="project-button hvr-bounce-to-right">Register</a>
<!-- <a id="modal-btn--1" href="https://drive.google.com/file/d/1iWYbBkCWc-DQyNbE9atzdbtsI_mgQ9Hj/view?usp=drivesdk" target="blank" class="project-button hvr-bounce-to-right">Payment</a> -->
</div>
</div>
</div>
<!-- /#events-section -->
<!-- SLIDER
-->
<!--
<div class="container">
<div class="container" >
<div class="theme-title">
<h2>Guest Lectures </h2>
</div>
</div>
</div>
<div class="slideshow-container">
<a href="https://www.youtube.com/watch?v=5M05Ob94P-c">
<div class="mySlides fade">
<div class="numbertext"></div>
<img src="images/Guest Lectures/sonali.jpeg" style="width:100%">
<div class="text"></div>
</div>
</a>
<a href="https://www.youtube.com/watch?v=6TJc5oGnFwY">
<div class="mySlides fade">
<div class="numbertext"></div>
<img src="images/Guest Lectures/Lokesh.jpeg" style="width:100%">
<div class="text"></div>
</div>
</a>
<a href="https://www.youtube.com/watch?v=oAANoOl9FxM">
<div class="mySlides fade">
<div class="numbertext"></div>
<img src="images/Guest Lectures/sapna.jpeg" style="width:100%">
<div class="text"></div>
</div>
</a>
<a href="https://www.youtube.com/watch?v=8XyiZ4QWETo">
<div class="mySlides fade">
<div class="numbertext"></div>
<img src="images/Guest Lectures/shams.jpeg" style="width:100%">
<div class="text"></div>
</div>
</a>
<a href="https://www.youtube.com/watch?v=JMLvq_BQJJQ">
<div class="mySlides fade">
<div class="numbertext"></div>
<img src="images/Guest Lectures/MD A.jpeg" style="width:100%">
<div class="text"></div>
</a>
</div>
</div>
<br>
<div style="text-align:center">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div> -->
<!--slider end -->
<!--
=====================================================
Scores Section
=====================================================
-->
<!-- removed stray comment end sign from here -->
<!-- /#scores-section -->
<!--
=====================================================
Blog Section
=====================================================
-->
<!-- <div id="updates">
<div id="blog-section">
<div class="container">
<div class="theme-title">
<h2>Updates</h2>
<p>
Be updated with the latest news in the fest
</p>
</div> -->
<!-- /.theme-title -->
<!-- <div class="clear-fix">
<? php // require('./pullUpdates.php');
?> -->
<!-- If any problem hers count no of pairs of divs so that every div here has a counter closing div
-->
<!-- </div> -->
<!-- /.col- -->
<!-- </div> -->
<!-- /.clear-fix -->
<!-- </div> -->
<!-- /.container -->
<!-- </div> -->
<!-- /#blog-section -->
<!-- </div> -->
<!-- removed stray comment end sign from here -->
<!--
=====================================================
Page middle banner
=====================================================
-->
<div class="page-middle-banner">
<div class="opacity">
<h3>Feel The
<!-- <span class="p-color">&</span> -->
Burn
</h3>
<a href="https://drive.google.com/file/d/1A7r8d-ILzoFhzX27Xr7AhKX16DsOiQ4i/view?usp=sharing" class="project-button hvr-bounce-to-right" target="_blank" id="sponsors">Brochure</a>
</div>
<!-- /.opacity -->
</div>
<!-- /.page-middle-banner -->
<!--
=====================================================
Partner Section
=====================================================
-->
<!-- <div class="theme-title"> -->
<!-- <h2>Sponsors</h2> -->
<!-- </div> -->
<!-- <div id="partner-section"> -->
<!-- <div class="container"> -->
<!-- <div id="partner_logo" class="row owl-carousel owl-theme">
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/comm_events.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/enfield.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/layyon.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/ncc.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/sparx.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/big_95.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/bizarre.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/ruban.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/eventom.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/varta.png" alt="logo" /></a></div>
<div class="item"><a href = "#"><img src="images/logo/regenesis_sponsors/zebronics.png" alt="logo" /></a></div> -->
<!-- <div class="item"><img src="images/logo/c3.jpeg" alt="logo" /></div> -->
<!-- </div> -->
<!-- End .partner_logo -->
<!-- </div> -->
<!-- /.container -->
<!-- </div> -->
<!-- /#partner-section -->
<!--
=====================================================
Footer & Contact Section
=====================================================
-->
<div id="contact-section">
<div class="container">
<h2 style="margin-bottom: 35px;">Contact Info</h2>
<div class="clear-fix contact-address-content">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="left-side">
<ul>
<li>
<div class="icon tran3s round-border p-color-bg">
<i class="fa fa-map-marker" aria-hidden="true"></i>
</div>
<h6>Address</h6>
<p>IIT Patna , Bihta , Patna , Bihar</p>
</li>
<li>
<div class="icon tran3s round-border p-color-bg">
<i class="fa fa-phone" aria-hidden="true"></i>
</div>
<a href="tel:+918619481946" style="color:#6f6f6f;">
<h6>Phone</h6>
<p>+91 8619481946</p>
</a>
</li>
<li>
<div class="icon tran3s round-border p-color-bg">
<i class="fa fa-envelope" aria-hidden="true"></i>
</div>
<a href="mailto:[email protected]" style="color:#6f6f6f;">
<h6>Email</h6>
<p>[email protected]</p>
</a>
<p>[email protected]</p>
</li>
</ul>
</div>
<!-- /.left-side -->
</div>
<div class="right-side col-lg-8 col-md-8 col-sm-12 col-xs-12">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d14399.37835508978!2d84.8434447170254!3d25.54355318850096!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x398d567a193702ff%3A0xc9c527c7faec3056!2sIIT+Patna+Administration+Block!5e0!3m2!1sen!2sin!4v1539177184721" width="100%" height="100%" frameborder="0" style="border-radius: 5px" allowfullscreen></iframe>
</div>
</div>
<!-- /.contact-address-content -->
</div>
<!-- /.container -->
</div>
<!-- /#contact-section -->
<?php
require('./templates/footer.php');
?>
<script>
var x = window.matchMedia("(max-width: 700px)");
console.log(x)
console.log(x.matches)
if(x.matches){
document.getElementById("poster_index").innerHTML = '<img src="images/home/poster_phone.webp" style="width:100% " alt="image" class="rev-slidebg" data-bgparallax="3" data-bgposition="center center" data-duration="20000" data-ease="Linear.easeIn" data-kenburns="on" data-no-retina="" data-offsetend="0 0" data-offsetstart="0 0" data-rotateend="0" data-rotatestart="0" data-scaleend="90" data-scalestart="110" />';
}
else{
document.getElementById("poster_index").innerHTML = '<img src="images/home/poster_laptop.png" style="width:100% " alt="image" class="rev-slidebg" data-bgparallax="3" data-bgposition="center center" data-duration="20000" data-ease="Linear.easeIn" data-kenburns="on" data-no-retina="" data-offsetend="0 0" data-offsetstart="0 0" data-rotateend="0" data-rotatestart="0" data-scaleend="90" data-scalestart="110" />';
}
var slideIndex = 0;
showSlides();
function showSlides() {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
slideIndex++;
if (slideIndex > slides.length) {
slideIndex = 1
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " active";
setTimeout(showSlides, 2000); // Change image every 2 seconds
}
</script>
</body>
</html>