forked from om1621/Asmita-20
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
231 lines (186 loc) · 10.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
<?php
include("header.php");
?>
<nav class="navbar navbar-expand-lg navbar-light light fixed-top main-nav c25" id="mainNav">
<div class="container-fluid" style="padding-right:0; padding-left:0%;">
<!-- <a class="navbar-brand js-scroll-trigger navbar-title" href="#"><img src="images/Text-Logo.png" class="navbar-img"></a> -->
<!-- <a class="navbar-brand js-scroll-trigger navbar-title" href="#"><img src="images/logo.png" class="navbar-img"></a> -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive"
aria-expanded="false" aria-label="Toggle navigation" style="padding: 5px 5px; margin: 0px 0px; border: none;">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto navbar-list">
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="index.php">HOME</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="events.php">EVENTS</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="sponsor.php">SPONSORS</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="team.php">TEAM</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="register.php">REGISTER</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="#contact">CONTACT</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link js-scroll-trigger" href="projects.html">Projects</a>
</li> -->
</ul>
</div>
</div>
</nav>
<!-- Landing -->
<div class="site-blocks-cover" style="background-image: url(images/landing.jpg);" data-aos="fade" data-stellar-background-ratio="0.5">
<div class="gradient"></div>
<div class="container">
<div class="row align-items-center justify-content-center">
<div class="col-md-7 text-center head" data-aos="fade-up">
<!-- <h1><strong>Inter IIIT</strong> Sports Meet</h1> -->
<img src="images/asmitalogo.png" alt="" style="width: 100%; margin-top:-50px; margin-left: 8%;">
<div class="slide-1">
<h1 class="px-4" id="line"><span id="span1"></span>d : <span id="span2"></span>h : <span id="span3"></span>m : <span id="span4"></span>s</h1>
</div>
<!-- <div class="slide-2">
<ul id="reg" style="padding-top: 1.5rem; list-style: none;">
<li class="regs"> <a href="register.php" target="_blank" id="special-button" class="btn btn-primary pill text-white px-4 special">Register for Events</a> </li>
<li class="merch"><a href="https://docs.google.com/forms/d/e/1FAIpQLSegCyy4AfcM8G3ROwfn8G164rpSp7FAiA6wQXQnLoH44YvS6A/viewform" target="_blank" id="special-button" class="btn btn-primary pill text-white px-4 special">Order Merchandise</a></li>
</ul>
</div> -->
<!-- <a href="register.php" class="btn btn-primary" style="background: #00e600; border-color: #00e600">Register for Events</a> -->
</div>
</div>
</div>
</div>
<!-- Landing ends -->
<!-- About us -->
<div class="site-section bg-light" id="About" >
<div class="container" id="about">
<div class="row align-items-center">
<div class="col-md-12 col-lg-6 mb-5 mb-lg-0" data-aos="fade-up">
<!-- <h2 class="mb-3 text-uppercase">All About <strong class="text-black font-weight-bold">Inter IIIT 2019</strong></h2>
<p class="lead">IIIT Allahabad will be hosting the Inter-IIIT sports meet in 2019, under the aegis of <strong>"Beyond Twenty by 2020"</strong>.
<br>
This will be the <strong>third edition</strong> in the series with the first two being sucessfully hosted in IIITDM Kancheepuram and ABV-IIITM Gwallior.
<br>
With participants from over <strong>24 IIITs</strong> from all over India, it is one of the <strong>largest sports fest</strong> in the North.
</p> -->
<h2 class="mb-3 text-uppercase">All About <strong class="text-black font-weight-bold">Asmita</strong></h2>
<p class="lead">Indian Institute of Information Technology Allahabad (IIIT-A) was established in 1999 , as a center of excellence in Information Technology and allied areas by the Government of India. The Institute has been conceived with the objectives of develooping professional expertise and skilled manpower in Information Technology (IT) and related areas. <br> Asmita is the Annual Sports Fest of IIIT Allahabad. As one of the largest sports fests of India , it is a medium to promote sports and inculcate healthy sportsmanship in young minds in order to feed an arduous tomorrow.</p>
<p><a href="docs/EventBrochure.pdf" class="btn btn-primary pill px-4">Brochure</a></p>
</div>
<div class="col-md-12 col-lg-6 ml-auto" data-aos="fade-up">
<img src="images/about_2.jpg" alt="Image" class="img-fluid about-2">
</div>
</div>
</div>
</div>
<!-- <div class="site-section bg-light">
<div class="container">
<div class="row align-items-center">
<div class="col-md-12 col-lg-5 mb-5 mb-lg-0 order-2" style="padding-top: 1.5rem;">
<h2 class="mb-3 text-uppercase">All About <strong class="text-black font-weight-bold">Asmita</strong></h2>
<p class="lead">Every year, during the even semester the sports enthusiasts of various colleges come together in the campus of Indian Institute of Information Technology, Allahabad to take part in the competitive sporting event known as <strong>ASMITA</strong> (Annual Sports Meet of IIIT-Allahabad). <br>
ASMITA is responsible for hosting various events ranging from Athletics to Carrom.</p>
<p><a href="docs/AsmitaFinalBrochure.pdf" class="btn btn-primary pill px-4">Brochure</a></p>
</div>
<div class="col-md-12 col-lg-6 mr-auto order-1">
<img src="images/about_2.jpg" alt="Image" class="img-fluid">
</div>
</div>
</div>
</div> -->
<!-- About us ends -->
<!-- Gallery -->
<div class="featured-classes bg-white py-5 block-13" id="gallery">
<div class="container">
<div class="heading-with-border">
<h2 class="heading text-uppercase gallery-head">Gallery</h2>
</div>
<div class="nonloop-block-13 owl-carousel">
<div class="block-media-1 heading-with-border bg-white">
<a href="https://www.flickr.com/photos/ams_iiita/albums/72157669425903779"><img src="images/football.jpg" alt="Image" class="img-fluid"></a>
<div class="p-4">
<h3 class="h5 heading">Football</h3>
</div>
</div>
<div class="block-media-1 heading-with-border bg-white">
<a href="https://www.flickr.com/photos/ams_iiita/26241121989/in/album-72157687714586081/"><img src="images/gully.jpg" alt="Image" class="img-fluid"></a>
<div class="p-4">
<h3 class="h5 heading">Gully Cricket</h3>
</div>
</div>
<div class="block-media-1 heading-with-border bg-white">
<a href="https://www.flickr.com/photos/ams_iiita/albums/72157690332752252"><img src="images/swimming.jpg" alt="Image" class="img-fluid"></a>
<div class="p-4">
<h3 class="h5 heading">Swimming</h3>
</div>
</div>
<div class="block-media-1 heading-with-border bg-white">
<a href="https://www.flickr.com/photos/ams_iiita/albums/72157690329912092"><img src="images/volleyball.jpg" alt="Image" class="img-fluid"></a>
<div class="p-4">
<h3 class="h5 heading">Volleyball</h3>
</div>
</div>
<div class="block-media-1 heading-with-border bg-white">
<a href="https://www.flickr.com/photos/ams_iiita/"><img src="images/kabbadi.jpg" alt="Image" class="img-fluid"></a>
<div class="p-4">
<h3 class="h5 heading">kabbadi</h3>
</div>
</div>
<div class="block-media-1 heading-with-border bg-white">
<a href="https://www.flickr.com/photos/ams_iiita/albums/72157691554000791"><img src="images/basketball.jpg" alt="Image" class="img-fluid"></a>
<div class="p-4">
<h3 class="h5 heading">Basketball</h3>
</div>
</div>
</div>
</div>
</div>
<div id="brochure" class="bg-light">
<div class="main-content" data-aos="fade-up">
<h1>Sponsor Us!</h1>
<h3>Download Sponsorship Brochure</h3>
<a href="docs/SB2_01.pdf" class="button" Download><button class="event">Download</button></a>
</div>
</div>
<script>
var interval = setInterval(timer , 1000);
function timer(){
let day = document.getElementById("span1");
let hour = document.getElementById("span2");
let minute = document.getElementById("span3");
let seconds = document.getElementById("span4");
let replace = document.getElementById("line");
const releaseDate = new Date(2020 , 1 , 14 , 00 , 00 , 00);
let currentTime = new Date();
let difference = releaseDate - currentTime;
if(difference > 0)
{
let dayCount =Math.floor(((((difference / 1000) / 60) / 60) / 24));
let hourCount = Math.floor((difference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
let minuteCount = Math.floor((difference % (1000 * 60 * 60)) / (1000 * 60));
let secondCount = Math.floor((difference % ( 1000 * 60)) / (1000));
day.textContent = dayCount;
hour.textContent = hourCount;
minute.textContent = minuteCount;
seconds.textContent = secondCount;
}
else
{
line.innerHTML = "February 14 - 16 , 2020";
clearInterval(timer);
}
}
// console.log("Hillo");
</script>
<!-- Gallery ends -->
<?php
include("footer.php");
?>