forked from SAAR-IITP/SAAR-IITP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
270 lines (245 loc) · 14.6 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
<?php
session_start();
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>SAAR! HOMEPAGE</title>
<link href="style.less" rel="stylesheet" type="text/less">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="stylesheet/index/974.less" rel="stylesheet" type="text/less" media="only screen and (max-width:974px)"/>
<link href="stylesheet/index/912.css" rel="stylesheet" type="text/css" media="only screen and (max-width:912px)and (min-width:768px)"/>
<link href="stylesheet/index/900.less" rel="stylesheet" type="text/less" media="only screen and (max-width:900px)"/>
<link href="stylesheet/index/768.less" rel="stylesheet" type="text/less" media="only screen and (max-width:768px)"/>
<link href="stylesheet/index/600.less" rel="stylesheet" type="text/less" media="only screen and (max-width:600px)"/>
<link href="stylesheet/index/577.less" rel="stylesheet" type="text/less" media="only screen and (max-width:577px)"/>
<link href="stylesheet/index/458.less" rel="stylesheet" type="text/less" media="only screen and (max-width:458px)"/>
<link href="stylesheet/index/smallest.css" rel="stylesheet" type="text/css"/>
<link href="common/navbar.less" rel="stylesheet" type="text/less">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto" rel="stylesheet">
<link href="asset/AOS/aos.css" rel="stylesheet" type="text/css"/>
<script src="asset/less js/less.min.js" type="text/javascript" ></script>
</head>
<body>
<!-- Navigation -->
<div id="nav-bar" >
<div class="nav-left" >
<div class="nav-logo"><a href="index.php"><img src="asset/img/saar_logo.jpg" alt="saar-logo" class="nav-logo"></a></div>
<div class="nav-title"><a href="index.php">STUDENT ASSOCIATION FOR ALUMNI RELATIONS</a></div>
</div>
<div class="nav-right">
<a href="#" >HOME</a>
<a href="#about">ABOUT</a>
<a href="#portal">PORTAL</a>
<a href="#gallery">GALLERY</a>
<a href="#donate">DONATE</a>
<a href="#calender">CALENDER</a>
</div>
</div>
<!-- navigation Ends -->
<div class="container">
<div id="parallax" ><div class="parallax-background"><div class="caption"><span class="caption-text" data-aos="zoom-in" data-aos-duration="1000" data-aos-once="true" data-aos-delay="2000" >Welcome To SAAR</span></div></div></div>
<div id="about">
<div class="about-container">
<h1 class="h1-heading" data-aos="fade-up" data-aos-duration="1000" data-aos-once="true">
About Us
<div class=" underline" data-aos="fade-up" data-aos-duration="1000" data-aos-once="true"><div class="underline-inner pad-1"></div></div>
</h1>
<h4 class="about_para">Labore provident optio quis commodi quod quaerat quo similique perspiciatis libero facere. Suscipit odit quas nemo, enim laudantium, provident repellendus natus nostrum facilis expedita adipisci qui, harum minus quidem officia cupiditate repellat ut praesentium.
Possimus corporis, error atque ex adipisci, illum suscipit pariatur saepe impedit aliquam amet eos reiciendis quidem hic, nisi. Sint nobis modi, nesciunt quasi placeat quia. Veniam inventore corrupti quisquam illum debitis vitae accusamus nobis alias cum iste error magnam, cupiditate
earum! Incidunt at consequuntur, rem ipsa odio ipsum deleniti repudiandae blanditiis harum ut in, fugit officia rerum ad, corporis dolore! Commodi repellendus esse quibusdam enim qui totam ipsum, consequuntur officia vel dolores, quod corrupti eveniet maiores minus explicabo, sapiente
ratione doloribus laboriosam impedit nesciunt a obcaecati quam veritatis! Placeat, velit possimus delectus, atque voluptate iste alias illo, dolor odit ipsa facere quibusdam? Non omnis aliquid eveniet fuga labore dolores, autem blanditiis, dolorem error ex enim fugiat quisquam aut reprehenderit
delectus, nihil accusamus eaque at odit natus accusantium sunt asperiores unde? Tempora dolorem, ad quidem quis adipisci dolores tempore. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officiis impedit libero esse odio excepturi fuga est ut itaque a quod suscipit, rerum asperiores.
Consequuntur voluptates illo rerum recusandae pariatur asperiores, aspernatur, saepe ipsum error dolorem, quod inventore possimus modi deleniti tenetur et officiis. Nemo ab in totam ratione sequi error, ea dolorum repudiandae omnis, eaque facere impedit fugiat. Dolorum distinctio autem sequi enim quidem esse accusamus repudiandae voluptatum nobis, velit,
</h4>
</div>
</div>
<div id="portal">
<div class="v-div"></div>
<div class="portal-title">
<h3 data-aos="fade-up" data-aos-duration="1000" data-aos-once="true">Welcome to Student Alumni Portal</h3>
<p data-aos="fade-up" data-aos-duration="1000" data-aos-once="true">far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
</div>
<div class="portal-div">
<div class="portal-col" data-aos="fade-left" data-aos-once="true" data-aos-duration="1000" data-aos-delay="400">
<div class="portal-img"><img src="asset/img/img1.png"></div>
<div class="portal-para"><p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p></div>
</div>
<div class="portal-col" data-aos="fade-left" data-aos-once="true" data-aos-duration="1000" data-aos-delay="300">
<div class="portal-img"><img src="asset/img/img2.jpg"></div>
<div class="portal-para"><p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p></div>
</div>
<div class="portal-col" data-aos="fade-left" data-aos-once="true" data-aos-duration="1000" data-aos-delay="200">
<div class="portal-img"><img src="asset/img/img3.jpg"></div>
<div class="portal-para"><p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p></div>
</div>
<div class="portal-button">
<div class="portal-bottom-text" id="btn" data-aos="fade-up" data-aos-duration="1000" data-aos-once="true">Get Started</div>
</div>
</div>
</div>
<div id="myModal">
<div class="modal-content">
<div class="modal-header"><div id="close" class="close-1">×</div></div>
<div class="div-content">
<div class="div-left">
<form action="login.php" method="post">
<h1>Login Here</h1>
<input type="email" name="email" placeholder="[email protected]" class="email" required>
<input type="password" name="password" placeholder="**************" class="password" required>
<button class="submit" type="submit" name="submit">Submit</button>
</form>
</div>
<div class="div-right"><h1>SignUp Here</h1><br><h4>If you don't have an account.<br><button class="submit pad-2"><a href='signup.php' id='sign-up'>SignUp</a></button></h4></div>
</div>
</div>
</div>
<!-- Popup -->
<div id='popup'>
<div class='popup-content'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M224 32C15.9 32-77.5 278 84.6 400.6V480l75.7-42c142.2 39.8 285.4-59.9 285.4-198.7C445.8 124.8 346.5 32 224 32zm23.4 278.1L190 250.5 79.6 311.6l121.1-128.5 57.4 59.6 110.4-61.1-121.1 128.5z"/>
</svg>
</div>
</div>
<div id="pop">
<div class="modal-header pop-header"><div id="close-pop" class="close-1">×</div></div>
<div class="modal-content pop-content" id="pop-c">
<div class="pop-box">
<div class="div-content pop-content-1">
<div class="div-left pop-left">
<form action="contactInfo.php" method="post">
<h1>Help Us Growing</h1>
<p>Provide us contact information of other alumini so that we can reach them.</p>
<input type="text" name="name" placeholder="Name" class="email mar-top-2" required>
<input type="email" name="email" placeholder="Email" class="email mar-top-2" >
<input type="tel" name="contact" placeholder="Mobile number" class="email mar-top-2" required>
<button class="submit" type="submit" name="submit">Submit</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- pop ends -->
<!-- gallery begins -->
<div id="gallery">
<div class="ga-container">
<div class="ga-content">
<h3>
<center data-aos="fade-up" data-aos-duration="1000" data-aos-once="true">GALLERY</center>
<div class=" underline" data-aos="fade-up" data-aos-duration="1000" data-aos-once="true" data-aos-delay="200"><div class="underline-inner mar-top-1"></div></div>
</h3>
<img src="asset/img/anw1.jpg" alt="anwesha fest" id="slideshow"></div>
</div>
</div>
<!-- gallery ends -->
<!-- donate -->
<div id="donate">
<div class="donate-content">
<div class="donate-quote">
<center><q>We make a living by what we get, we make a life by what we give.</q></center>
<center><span><img src="https://www.biography.com/.image/t_share/MTE5NTU2MzE2MTg0NzQxMzg3/winston-churchill-9248164-1-402.jpg" alt="jay asher"></span></center>
<center> <span>Winston Churchill</span></center>
</div>
<div class="donate-btn"><div class="donate-btn-c" data-aos="fade-up" data-aos-duration="1000" data-aos-once="true"><a href="donateUs.php">Donate Now</a></div></div>
</div>
</div>
<div id="calender">
<div class=" calender-title">
<h3 data-aos="fade-up" data-aos-duration="1000" data-aos-once="true">News and headlines</h3>
<p data-aos="fade-up" data-aos-duration="1000" data-aos-once="true">far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
</div>
<div class="calender-container">
<div class="calender-content"></div>
</div>
</div>
<footer>
<div class="footer">
</div>
</footer>
</div>
<script src="slideshow.js" type="text/javascript" ></script>
<script type="text/javascript" src="loade.js" ></script>
<script src="asset/AOS/aos.js" type="text/javascript" ></script>
<script>
window.onload = function(){
btn = document.getElementById('btn');
if(btn){ btn.addEventListener('click',function(){
<?php
if(isset($_SESSION['loggedin']) && $_SESSION['loggedin']==true)
{
echo 'window.location = "portal.php";';
}
else
{
echo 'modal.style.display = "block";';
}
?>
});};
modal = document.getElementById('myModal');
close = document.getElementById('close');
if(close){
close.addEventListener('click', function(){
modal.style.display="none";
});};
btn1 = document.getElementById('popup');
if(btn1){ btn1.addEventListener('click',function(){
modal1.style.display = "block";
var marTop2 = document.querySelector('#pop-c').clientHeight;
marTop2 = -marTop2/2;
document.querySelector('#pop-c').style.marginTop = marTop2 + "px";
});};
modal1 = document.getElementById('pop');
close1 = document.getElementById('close-pop');
if(close1){
close1.addEventListener('click', function(){
modal1.style.display="none";
});};
window.onclick = function(event){
if(event.target == modal){
modal.style.display="none";
}
};
var marTop = document.querySelector('.caption').clientHeight;
marTop = -marTop/2;
document.querySelector('.caption').style.marginTop = marTop + "px";
var marTop1 = document.querySelector('.donate-btn-c').clientHeight;
marTop1 = -marTop1/2;
document.querySelector('.donate-btn-c').style.marginTop = marTop1 + "px";
function colorChange(){
if( document.documentElement.scrollTop >50){
document.getElementById('nav-bar').className="nav-scroll";
}
else{
document.querySelector('#nav-bar').classList.remove("nav-scroll");
document.getElementById('nav-bar').style.backgroundColor="#333";
}
}
window.onscroll =colorChange;
colorChange();
imageChange();
AOS.init();
};
$(window).bind("load", function() {
<?php
if(isset($_SESSION['loginfail']) && $_SESSION['loginfail'] == true)
{
echo 'modal.style.display = "block";
setTimeout("alertpass()", 100); ';
$_SESSION['loginfail']=false;
}
?>
});
function alertpass(){
alert("Incorrect Credentials");
}
</script>
</body>
</html>