forked from SAAR-IITP/SAAR-IITP
-
Notifications
You must be signed in to change notification settings - Fork 13
/
profile.php
327 lines (295 loc) · 14.1 KB
/
profile.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
<?php
session_start();
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"]==false)
{
// header("location: noaccess.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SAAR</title>
<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/light-box.css">
<link rel="stylesheet" href="css/owl-carousel.css">
<link rel="stylesheet" href="css/profile.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/cards.css" >
<noscript><link rel="stylesheet" href="css/noscript.css" /></noscript>
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body style="background: #fff">
<header class="nav-down responsive-nav hidden-lg hidden-md">
<button type="button" id="nav-toggle" class="navbar-toggle" data-toggle="collapse" data-target="#main-nav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--/.navbar-header-->
<div id="main-nav" class="collapse navbar-collapse">
<nav>
<ul class="nav navbar-nav">
<li><a href="#video">Profile</a></li>
<li><a href="#extra">Settings</a></li>
<li><a href="#blog">Utilities</a></li>
<li><a href="#projects">Gallery</a></li>
<li><a href="#contact">Contact Us</a></li>
<li><form action="#" method="post" id="log">
<button class="btn" formaction="#">Logout</button>
</form></li>
</ul>
</nav>
</div>
</header>
<div class="sidebar-navigation hidde-sm hidden-xs">
<div class="logo">
<img src="img/logo1.png" class="static">
</div>
<nav>
<ul>
<li>
<a href="#video">
<span class="rect"></span>
<span class="circle"></span>
Profile
</a>
</li>
<li>
<a href="#extra">
<span class="rect"></span>
<span class="circle"></span>
Settings
</a>
</li>
<li>
<a href="#blog">
<span class="rect"></span>
<span class="circle"></span>
Utilities
</a>
</li>
<li>
<a href="#projects">
<span class="rect"></span>
<span class="circle"></span>
Newsfeed
</a>
</li>
<li>
<a href="#contact">
<span class="rect"></span>
<span class="circle"></span>
Contact Us
</a>
</li>
<li>
<form action="#" method="post" id="log">
<button class="button" style="vertical-align:middle" formaction="#"><span>Logout </span></button>
</form>
</li>
</ul>
</nav>
<ul class="social-icons">
<li><a href="https://www.facebook.com/saar.iitp" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li><a href="#" target="_blank"><i class="fa fa-twitter"></i></a></li>
<li><a href="#" target="_blank"><i class="fa fa-linkedin"></i></a></li>
</ul>
</div>
<div class="page-content">
<section id="header">
<div class="inner">
<span class="icon major fa-cloud"></span>
<h1>Welcome To <strong>SAAR</strong><br>
<span class="go">Students' Association for Alumni Relations</span></h1>
<p style="font-size: 20px; color: #fff;">Actions speak Better than words.</p>
<ul class="actions special" style="margin-left: -48px;">
<button class="button" style="vertical-align:middle; background: #003C4D; padding: 10px;" formaction="#"><span>Donate Now </span></button>
</ul>
</div>
</section>
<section id="video" class="content-section">
<div class="section-heading" style="text-align: center;">
<br><br>
<h1><?php echo "".$_SESSION["fname"];?><em> <?php echo " ".$_SESSION["lname"];?></em></h1>
</div>
<section id="one" class="main style1">
<div class="container" >
<div class="row gtr-150" style="background: #fff">
<div class="col-6 col-12-medium">
<p>College Id : <?php echo $_SESSION["cid"];?> </p>
<p>DOB : <?php echo $_SESSION["dob"]; ?></p>
<p>Email id : <?php echo $_SESSION["email"];?> </p>
<p>Contact no. : <?php echo $_SESSION["contact"];?> </p>
<p>Graduation year : <?php echo $_SESSION["graduation"];?> </p>
<p>Degree : <?php echo $_SESSION["degree"];?> </p>
<p>Department : <?php echo $_SESSION["dept"];?> </p>
</div>
<div class="col-6 col-12-medium imp-medium">
<span class="image fit"><img src="img/prof.jpeg" alt="" /></span>
</div>
</div>
</div>
</section>
</section>
<section id="extra" class="content-section">
<button class="button" style="vertical-align:middle; background: #003C4D; padding: 10px; margin-left: 15px;" formaction="#"><span>Change Password</span></button>
<button class="button" style="vertical-align:middle; background: #003C4D; padding: 10px; margin-left: 15px;" formaction="#"><span>Update Details</span></button>
<button class="button" style="vertical-align:middle; background: #003C4D; padding: 10px; margin-left: 15px;" formaction="#"><span>Change E-mail</span></button>
</section>
<section id="blog" class="content-section">
<section class="details-card">
<div class="row">
<div class="col-md-3">
<div class="card-content">
<div class="card-img">
<img src="img/ff.jpeg" alt="">
</div>
<div class="card-desc">
<h3>Alumni</h3>
<h4>Near You</h4>
</div>
<a href="#" class="btn-card" style="margin: 0.56em;">Click here</a>
</div>
</div>
<div class="col-md-3">
<div class="card-content">
<div class="card-img">
<img src="img/frr.jpg" alt="">
</div>
<div class="card-desc">
<h3>Find</h3>
<h4>Friends</h4>
</div>
<a href="#" class="btn-card" style="margin: 0.56em;">Click here</a>
</div>
</div>
<div class="col-md-3">
<div class="card-content">
<div class="card-img">
<img src="img/anu.jpeg" alt="">
</div>
<div class="card-desc">
<h3>Download</h3>
<h4>Anusmriti</h4>
</div>
<a href="#" class="btn-card" style="margin: 0.56em;">Click here</a>
</div>
</div>
<div class="col-md-3">
<div class="card-content">
<div class="card-img">
<img src="img/yb.jpeg" alt="">
</div>
<div class="card-desc">
<h3>Download</h3>
<h4>Year Book</h4>
</div>
<a href="#" class="btn-card" style="margin: 0.56em;">Click here</a>
</div>
</div>
</div>
</section>
</section>
<section id="header">
<div class="inner">
<span class="icon major fa-handshake-o"></span>
<h1>Need<strong>Help</strong><br>
</h1>
<ul class="actions special" style="margin-left: -48px;">
<button class="button" style="vertical-align:middle; background: #003C4D; padding: 10px;" formaction="needhelp.php"><span>Privilege Us </span></button>
</ul>
</div>
</section>
<section id="contact" class="content-section">
<div id="con">
<div class="col-md-6">
<div id="map">
<!-- How to change your own map point
1. Go to Google Maps
2. Click on your location point
3. Click "Share" and choose "Embed map" tab
4. Copy only URL and paste it within the src="" field below
-->
<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="400px" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
</div>
<div class="col-md-6">
<div class="teext">
<h1>Contact <span> US</span></h1><br>
<p> <i class="fa fa-envelope" aria-hidden="true" style="font-size: 28px; color: #26C1ED; margin-right: 14px;"></i>saar@iitp.ac.in<br><br><br>
<i class="fa fa-phone" aria-hidden="true" style="font-size: 32px; color: #26C1ED; margin-right: 14px;"></i>8827275145<br><br><br>
<i class="fa fa-map-marker" aria-hidden="true" style="font-size: 32px; color: #26C1ED; margin-right: 14px;"></i> IIT Patna Campus, Patna, 801110</p>
</div>
</div>
</div>
</section>
<section class="footer">
<p>|| Copyright || © IIT Patna SAAR Team ||</p>
</section>
</div>
<script src="https://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/jquery.min.js"></script>
<script src="js/jquery.scrolly.min.js"></script>
<script src="js/browser.min.js"></script>
<script src="js/breakpoints.min.js"></script>
<script src="js/util.js"></script>
<script src="js/main2.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script>
// Hide Header on on scroll down
var didScroll;
var lastScrollTop = 0;
var delta = 5;
var navbarHeight = $('header').outerHeight();
$(window).scroll(function(event){
didScroll = true;
});
setInterval(function() {
if (didScroll) {
hasScrolled();
didScroll = false;
}
}, 250);
function hasScrolled() {
var st = $(this).scrollTop();
// Make sure they scroll more than delta
if(Math.abs(lastScrollTop - st) <= delta)
return;
// If they scrolled down and are past the navbar, add class .nav-up.
// This is necessary so you never see what is "behind" the navbar.
if (st > lastScrollTop && st > navbarHeight){
// Scroll Down
$('header').removeClass('nav-down').addClass('nav-up');
} else {
// Scroll Up
if(st + $(window).height() < $(document).height()) {
$('header').removeClass('nav-up').addClass('nav-down');
}
}
lastScrollTop = st;
}
</script>
<script>
function on() {
document.getElementById("myModal").style.display = "block";
}
function off() {
document.getElementById("myModal").style.display = "none";
}
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
</body>
</html>