-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.php
329 lines (299 loc) · 16 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
<?php
include("sqlcon.php");
/* ### */
?>
<!DOCTYPE html>
<html>
<head>
<title>Alumni Management System</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<!-- Custom Theme files -->
<script src="js/jquery.min.js"></script>
<!--theme-style-->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!--//theme-style-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Vigor Responsive web template, Bootstrap Web Templates, Flat Web Templates, AndroId Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href=//fonts.googleapis.com/css?family=Simonetta:400,900 rel=stylesheet type=text/css>
<link href=//fonts.googleapis.com/css?family=Questrial rel=stylesheet type=text/css>
<script src="js/bootstrap.min.js"></script>
<!--pop-up-box-->
<script type="text/javascript" src="js/modernizr.custom.53451.js"></script>
<link href="css/popup-box.css" rel="stylesheet" type="text/css" media="all">
<script src="js/jquery.magnific-popup.js" type="text/javascript"></script>
<!--pop-up-box-->
<!-- animation-effect -->
<link href="css/animate.min.css" rel="stylesheet">
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>
<!-- //animation-effect -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<!--header-->
<div class="header">
<div class="container">
<div class="header-top">
<div class="col-sm-2 header-login">
<div class=" logo animated wow shake" data-wow-duration="1000ms" data-wow-delay="500ms">
<h1><a href="index.php">ALUMNI MANAGEMENT SYSTEM</a> </h1>
</div>
</div>
<div class="col-sm-10 header-social ">
<ul class="social-icon">
<?php
if(!isset($_SESSION['type']))
{
/* ### */ ?>
<li><a href="adminlogin.php" style="font-weight:bold;">Admin Login</a></li>
<?php
}
else
{
echo "<li><a href=# style=font-weight:bold;>Welcome ".$_SESSION['name']."</a></li>";
}
/* ### */ ?>
<!--<li><a href="#"><i class="ic1"></i></a></li>
<li><a href="#"><i class="ic2"></i></a></li>
<li><a href="#"><i class="ic3"></i></a></li>
<li><a href="#"><i class="ic4"></i></a></li>-->
</ul>
<div class="clearfix"> </div>
<div class="head">
<nav class="navbar navbar-default" style="background-color: #4a3131;">
<!-- 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="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li ><a class="nav-in" href="index.php"><span data-letters="Home">Home</span></a> </li>
<?php
if(!isset($_SESSION['type']))
{
/* ### */ ?>
<li ><a class="nav-in" href="about.php"><span data-letters="About">About</span></a> </li>
<li><a class="nav-in" href="event.php"><span data-letters="Events">Events</span></a></li>
<li><a class="nav-in" href="gallery.php"><span data-letters="Gallery">Gallery</span></a></li>
<li><a class="nav-in" href="login.php"><span data-letters="Login">Login</span></a></li>
<li><a class="nav-in" href="reg.php"><span data-letters="New Alumni">New Alumni</span></a></li>
<li><a class="nav-in" href="staffreg.php"><span data-letters="New Staff">New Staff</span></a></li>
<li><a class="nav-in" href="contact.php"><span data-letters="Contact">Contact</span></a></li>
<?php
}
else if(isset($_SESSION['type']) && $_SESSION[type] == admin)
{
/* ### */ ?>
<li><a class="nav-in" href="addadmin.php"><span data-letters="Manage Course">New User</span></a></li>
<li><a class="nav-in" href="managecourse.php"><span data-letters="Manage Course">Manage Course</span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Verify<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="verify_reg.php" style=color:black><span data-letters="Alumni">Alumni</span></a></li>
<li><a href="verify_staff.php" style=color:black><span data-letters="Staff">Staff</span></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Events<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="alumnimeet.php" style=color:black><span data-letters="Add">Add</span></a></li>
<li><a href="manage_events.php" style=color:black><span data-letters="View/Update">View/Update</span></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gallery<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="gallery.php" style=color:black><span data-letters="View Gallery">View Gallery</span></a></li>
<li><a href="alumnigallery.php" style=color:black><span data-letters="Update Gallery">Update Gallery</span></a></li>
<li><a href="managegallery.php" style=color:black><span data-letters="Manage Gallery">Manage Gallery</span></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Office Bearers<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="region.php" style=color:black><span data-letters="Add Region">Add Region</span></a></li>
<li><a href="regionoffice.php" style=color:black><span data-letters="Add">Add Office Bearears</span></a></li>
<li><a href="alumnioffice.php" style=color:black><span data-letters="View/Update">View/Update</span></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Fund<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="viewfund.php" style=color:black><span data-letters="View Collection">View Collection</span></a></li>
<li><a href="invest.php" style=color:black><span data-letters="Update Investment">Update Investment</span></a></li>
<li><a href="viewinvest.php" style=color:black><span data-letters="View Investment">View Investment</span></a></li>
</ul>
</li>
<li><a class="nav-in" href="verifyjob.php"><span data-letters="Job Postings">Job Postings</span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Training<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="training.php" style=color:black><span data-letters="Add">Add</span></a></li>
<li><a href="viewtraining.php" style=color:black><span data-letters="View/Update">View/Update</span></a></li>
</ul>
</li>
<li><a class="nav-in" href="feedback.php"><span data-letters="Feedback">Feedback</span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">My Account<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="changepass.php" style=color:black><span data-letters="Change Password">Change Password</span></a></li>
<li><a href="logout.php" style=color:black><span data-letters="Logout">Logout</span></a></li>
</ul>
</li>
<?php
}
else if(isset($_SESSION['type']) && $_SESSION[type] == alumni)
{
/* ### */ ?>
<li><a class="nav-in" href="event.php"><span data-letters="Events">Events</span></a></li>
<li><a class="nav-in" href="job.php"><span data-letters="Jobs">Jobs</span></a></li>
<li><a class="nav-in" href="search.php"><span data-letters="Friends">Friends</span></a></li>
<li><a class="nav-in" href="officesearch.php"><span data-letters="Office Bearers">Office Bearers</span></a></li>
<li><a class="nav-in" href="viewtraining.php"><span data-letters="Training">Training</span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Fund<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="raisefunds.php" style=color:black><span data-letters="Donate Fund">Donate Fund</span></a></li>
<li><a href="viewfund.php" style=color:black><span data-letters="View Donations">View Donations</span></a></li>
<li><a href="viewinvest.php" style=color:black><span data-letters="View Utilized Fund">View Utilized Fund</span></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gallery<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="gallery.php" style=color:black><span data-letters="View Gallery">View Gallery</span></a></li>
<li><a href="alumnigallery.php" style=color:black><span data-letters="Update Gallery">Update Gallery</span></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">My Account<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="alumniprofile.php" style=color:black><span data-letters="Update Profile">Update Profile</span></a></li>
<li><a href="changepass.php" style=color:black><span data-letters="Change Password">Change Password</span></a></li>
<li><a href="logout.php" style=color:black><span data-letters="Logout">Logout</span></a></li>
</ul>
</li>
<?php
}
else if(isset($_SESSION['type']) && $_SESSION[type] == staff)
{
/* ### */ ?>
<li><a class="nav-in" href="job.php"><span data-letters="Jobs">Jobs</span></a></li>
<li><a class="nav-in" href="event.php"><span data-letters="View Events">View Events</span></a></li>
<li><a class="nav-in" href="officesearch.php"><span data-letters="Office Bearers">Office Bearers</span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gallery<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="gallery.php" style=color:black><span data-letters="View Gallery">View Gallery</span></a></li>
<li><a href="alumnigallery.php" style=color:black><span data-letters="Update Gallery">Update Gallery</span></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">My Account<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="alumniprofile.php" style=color:black><span data-letters="Update Profile">Update Profile</span></a></li>
<li><a href="changepass.php" style=color:black><span data-letters="Change Password">Change Password</span></a></li>
<li><a href="logout.php" style=color:black><span data-letters="Logout">Logout</span></a></li>
</ul>
</li>
<?php
}
/* ### */ ?>
</ul>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<div class="banner-head">
<div class="col-sm-10 col-sm-offset-1 banner-top">
<div class=" banner animated wow fadeInLeft" data-wow-duration="1000ms" data-wow-delay="500ms">
</div>
</div>
<div class="clearfix"> </div>
</div>
<!--content-->
<div class="content">
<!--welcome-->
<div class="col-top" >
<div class="container">
<marquee behavior="scroll" scrollamount="5" direction="left" onmouseover="this.stop();" onmouseout="this.start();"><h3>Welcome to Alumni Management System </h3>
</marquee>
<div class="content-top" >
<div class="col-md-4 content-top-1 animated wow fadeInLeft" data-wow-duration="1000ms" data-wow-delay="500ms">
<h4>Alumni today are the best source of jobs, donation & knowledge capital for you institute,
so get them back by signing up for ALUMNI today! </h4>
</div>
<div class="col-md-8 content-top-2 animated wow fadeInRight" data-wow-duration="1000ms" data-wow-delay="500ms">
<p>Alumni of a college generally stay in touch with their immediate friends but find it hard to stay connected with other college mates. Contact between alumni can be used to forge business connections and to gain references or insight in a new field. Alumni work can consist of alumni mentoring students, organizing alumni days, having training sessions during alumni days for alumni, inviting alumni to give lectures, arranging work practices, and proposing topics of theses, raise funds for the organizations. It is important to carry out a good follow-up marketing of alumni events.</p>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="content-mid">
<div class="container">
<div class="content-mid-top">
<h3> Events</h3>
<p>It is important to carry out a good follow-up marketing of alumni events. With over 100 worldwide events a year, you have a wealth of alumni networking opportunities.</p>
</div>
<div class="news">
<?php
$rs = mysqli_query($con, "select * from tblalumnimeet where status=Active and event_date >= CURDATE() order by eventid DESC LIMIT 3");
if(mysqli_num_rows($rs) > 0)
{
while($rowd = mysqli_fetch_array($rs))
{
$event_date = $rowd[event_date];
$parts = explode("-",$event_date);
$day = $parts[2];
$dateobj = DateTime::createFromFormat(!m,$parts[1]);
$month = $dateobj->format(F);
/* ### */ ?>
<div class=" new-more animated wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="500ms">
<!--<div class="col-md-2 new-1">
<a href="single.html"><img src="images/ev.jpg" class="img-responsive" alt=""></a>
</div>-->
<div class="col-md-2 six">
<h4><?php echo $day; /* ### */ ?><span><?php echo $month; /* ### */ ?></span></h4>
</div>
<div class="col-md-5 new-2">
<h3><?php echo $rowd[event_name]; /* ### */ ?></h3>
<p><?php echo $rowd[description]; /* ### */ ?></p>
</div>
<div class="col-md-3 new-3">
<a class="more1 hvr-sweep-to-bottom" href="event_info.php?eventid=<?php echo $rowd[0]; /* ### */ ?>">Read More</a>
</div>
<div class="clearfix"> </div>
</div>
<?php
}
}
else
{
echo "<h3 align=center>No Upcoming Events</h3>";
}
/* ### */ ?>
</div>
</div>
</div>
</div>
<?php
include("footer.php");
/* ### */ ?>