-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
658 lines (509 loc) · 22.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
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
<?php
session_start();
require_once('includes/dbh.inc.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home | IAS</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/home.css">
<link rel="stylesheet" type="text/css" href="css/header.css">
<link rel="stylesheet" type="text/css" href="css/footer.css">
<link rel="stylesheet" type="text/css" href="css/animate.css">
<link rel="stylesheet" type="text/css" href="css/aos.css">
<link rel="stylesheet" type="text/css" href="vendor/css/lightslider.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="icon" type="image/jpg" href="images/logo.jpg" />
<body>
<?php
include('header.php');
?>
<!--<div class="container-fluid for-sm">
<div class="row cover">
<p class="heading" data-aos="fade-up" data-aos-duration="700" data-aos-anchor-placement="center-center" data-aos-delay="100" data-aos-once="true">Where True Learning Begins...</p>
<p class="text" data-aos="fade-up" data-aos-duration="700" data-aos-delay="200" data-aos-once="true" >Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.Lorem ipsum Excepteur amet adipisicing fugiat velit nisi. Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.</p>
<div class="clearfix">
<h6 class="pull-right" data-aos="fade-up" data-aos-duration="700" data-aos-delay="300" data-aos-once="true">Enroll Now</h6>
</div>
<p class="scroll"><i class="fa fa-ellipsis-v" aria-hidden="true"></i></p><br>
<p class="sc">SCROLL</p>
</div>
</div>-->
<div class="container-fluid carouseller hidden-xs">
<div class="row">
<div class="col-sm-12 slide-show">
<div id="my-slider" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#my-slider" data-slide-to="0" class="active"></li>
<li data-target="#my-slider" data-slide-to="1"></li>
<li data-target="#my-slider" data-slide-to="2"></li>
<li data-target="#my-slider" data-slide-to="3"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<a href="" title="Click to Know More!">
<img src="images/SET218002.png" />
</a>
</div>
<div class="item">
<a href="courses.php?crX=IAS Test Series" title="Click to Know More!">
<img src="images/Home2.png" />
</a>
</div>
<div class="item">
<a href="courses.php?crX=GATE / PSU / IES" title="Click to Know More!">
<img src="images/Home30.png" />
</a>
</div>
<div class="item">
<a href="courses.php?crX=Training & Project Work" title="Click to Know More!">
<img src="images/ard.png" />
</a>
</div>
</div>
<a class="left carousel-control" href="#my-slider" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"aria-hidden="true"></span>
</a>
<a class="right carousel-control" href="#my-slider" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
</a>
</div>
</div>
</div>
</div> <!--END OF CAROUSEL -->
<div class="container-fluid hidden-md hidden-lg">
<div class="row">
<div class="col-sm-12 slide-show">
<div id="my-slider1" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#my-slider1" data-slide-to="0" class="active"></li>
<li data-target="#my-slider1" data-slide-to="1"></li>
<li data-target="#my-slider1" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<a href="#" title="Click to Know More!">
<img src="images/mob1.png" />
</a>
</div>
<div class="item">
<a href="courses.php?crX=IAS Test Series" title="Click to Know More!">
<img src="images/mob2.png" />
</a>
</div>
<div class="item">
<a href="courses.php?crX=GATE / PSU / IES" title="Click to Know More!">
<img src="images/mob3.png" />
</a>
</div>
</div>
<a class="left carousel-control" href="#my-slider1" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"aria-hidden="true"></span>
</a>
<a class="right carousel-control" href="#my-slider1" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
</a>
</div>
</div>
</div>
</div> <!--END OF CAROUSEL -->
<div class="container-fluid" >
<div class="row notice-wrapper">
<div class="col-md-6 notice-container">
<h4 class="label-primary text-center">NOTICEBOARD</h4>
<div class="notice-board">
<?php
$query ="Select * from notices where notices_status=1";
$result =@mysqli_query($conn,$query);
$count=mysqli_num_rows($result);
if($count < 1){
echo '<span style="display:block; width:100%; text-align:center; font-size:18px;">Noticeboard shall be updated soon.</span>';
}
else{
echo'<div class="marquee">';
$i=0;
while($row = mysqli_fetch_array($result))
{
$phpdate = strtotime($row['notices_date']);
$date = date( 'd M, Y', $phpdate );
echo'
<div class=notice_data>';
if($i<4){
echo '<img src="images/new.jpg" height="20" width="20"></img> ';
}
echo '<span class="fa fa-file-text-o"></span>
<a href="'.$row['notices_location'].'" target="_blank"><span>'.$date.'</span> | ' . $row['notices_content']. '</a>
</div> <br>
';
$i++;
}
echo '</div>';
}
?>
</div>
<a class="link btn btn-primary" href="notices.php">View All Notices</a>
</div>
<div class="col-md-6 notice-container">
<h4 class="label-primary text-center"> EVENTS & ANNOUNCEMENTS</h4>
<div class="notice-board">
<?php
$query ="Select * from events where events_status=1";
$result1 =@mysqli_query($conn,$query);
$count=mysqli_num_rows($result1);
if($count < 1){
echo '<span style="display:block; width:100%; text-align:center; font-size:18px;">Events shall be updated soon.</span>';
}
else
{
echo '<div class="marquee">';
while($row = mysqli_fetch_array($result1))
{
$phpdate = strtotime($row['events_startdate']);
$date1 = date( 'd M, Y', $phpdate );
$phpdate = strtotime($row['events_enddate']);
$date2 = date( 'd M, Y', $phpdate );
$i=0;
if( strtotime('now') < strtotime($date2) ) {
echo '<div class="notice_data">';
if($i<4){
echo '<img src="images/new.jpg" height="20" width="20"></img> ';
}
echo '<i class="fa fa-calendar" style="color:#795548;" aria-hidden="true"></i>
<a href="events.php"><span>Starts: '.$date1.' Ends: '.$date2.'</span> | <span>From '.$row['events_starttime'].' to '.$row['events_endtime'].' | </span>' . $row['events_heading']. '</a>';
echo '</div> <br>';
}
$i++;
}
echo '</div>';
}
?>
</div>
<a class="link btn btn-primary" href="events.php">View All Events</a>
</div>
</div>
</div>
<!--NEW SECTION-->
<div class="container-fluid welcome" >
<h3>WELCOME TO INSTITUTE OF APPLIED SCIENCE</h3>
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="content-wlcm" >
<span class="fa fa-thumbs-o-up" data-aos="fade-up" data-aos-delay="100" data-aos-once="true"></span>
<p data-aos="fade-up" data-aos-once="true" data-aos-delay="200" style="text-align:justify;">Institute of Applied Science, established and directed by the alumni of Jadavpur University and different IITs in India along with other reputed Institutions, is a noble organization in the field of education and has been serving the students since 2000. </p>
</div>
</div>
<div class="col-md-3">
<div class="content-wlcm">
<span class="fa fa-graduation-cap" data-aos="fade-up" data-aos-once="true" data-aos-delay="100"></span>
<p data-aos="fade-up" data-aos-once="true" data-aos-delay="200" style="text-align:justify;">Our admission process
is simple and we also
offer Scholarships to
deserving & needy
students through a knowledge based screening process, IAS Scholarship Entrance Test (SET). </p>
</div>
</div>
<div class="col-md-3" >
<div class="content-wlcm" >
<span class="fa fa-trophy" data-aos="fade-up" data-aos-once="true" data-aos-delay="100"></span>
<p data-aos="fade-up" data-aos-once="true" data-aos-delay="200" style="text-align:justify;">IAS offers Scholarship Entrance
Test (SET) to the students who
are willing to admit in the
specific course in which the
minimum qualifying marks in
the Board Exams is not fulfilled.</p>
</div>
</div>
<div class="col-md-3">
<div class="content-wlcm">
<span class="fa fa-snowflake-o" data-aos="fade-up" data-aos-once="true" data-aos-delay="100"></span>
<p data-aos="fade-up" data-aos-once="true" data-aos-delay="200" style="text-align:justify;">We are aimed to become an
international Institute through
our success and analysis and
development of leadership
and educational policy.</p>
</div>
</div>
</div>
</div>
</div>
<!--NEW SECTION ENDS-->
<!--Enroll container -->
<div class="container">
<div class="row enroll" >
<div class="col-sm-4 slogan" data-aos="zoom-in-up" data-aos-duration="1000" data-aos-once="true">
EDUCATION FOR A BETTER FUTURE!
</div>
<div class="col-sm-5 mission" data-aos="zoom-in-up" data-aos-duration="1000" data-aos-once="true">
The mission of the Institute of Applied Science is to help prepare outstanding educators, scholars, and researchers, through research on the science and art of teaching and learning, the application of clinical processes, the effective uses of technology, and the analysis and development of leadership and educational policy.
</div>
<div class="col-sm-3">
<a class="enroll-btn btn" href="registration.php" data-aos="zoom-in-up" data-aos-duration="1000" data-aos-once="true">ENROLL NOW</a>
</div>
</div>
</div> <!--Enroll container -->
<!--<div class="container-fluid" id="gallery">
<div class="row" >
<div class="col-md-6 lefty">
<h1>Have a look at our Gallery</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.<br><a href="gallery.php">Browse All!</a>
</p>
<img data-aos="fade-up-left" data-aos-duration="1000" data-aos-once="true" data-aos-delay="300" src="images/3.jpg"></img>
</div>
<div class="col-md-6 righty">
<img src="images/1.jpg" class="first" data-aos="fade-up-right" data-aos-once="true" data-aos-duration="1000" data-aos-delay="300" ></img>
<img src="images/demo.jpg" class="second" data-aos="fade-up-right" data-aos-once="true" data-aos-duration="1000" data-aos-delay="300" ></img>
</div>
</div>
</div>-->
<!--GALLERY SECTION ENDS-->
<!--<div class="container-fluid review-wrap">
<h2>Hear From Our Students</h2>
<div class="container" >
<div class="row review">
<ul id="light-slider">
<li class="review-content">
<p><img src="images/profile.jpg"></img><span>"</span>Lorem ipsum Cupidatat quis pariatur anim.Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.<span>"</span></p>
<br><label class="name">Chris P. Bacon</label><br>
<label class="details">ISC, Delhi Public School</label>
</li>
<li class="review-content">
<p><img src="images/profile.jpg"></img><span>"</span>Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.<span>"</span></p>
<br><label class="name">Chris P. Bacon</label><br>
<label class="details">ISC, Delhi Public School</label>
</li>
<li class="review-content">
<p><img src="images/profile.jpg"></img><span>"</span>Lorem ipsum Excepteur amet adipisicing fugiat velit nisi. Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.<span>"</span></p>
<br><label class="name">Chris P. Bacon</label><br>
<label class="details">ISC, Delhi Public School</label>
</li >
<li class="review-content">
<p><img src="images/profile.jpg"></img><span>"</span>Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.<span>"</span></p>
<br><label class="name">Chris P. Bacon</label><br>
<label class="details">ISC, Delhi Public School</label>
</li>
<li class="review-content">
<p><img src="images/profile.jpg"></img><span>"</span>Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.<span>"</span></p>
<br><label class="name">Chris P. Bacon</label><br>
<label class="details">ISC, Delhi Public School</label>
</li>
<li class="review-content">
<p><img src="images/profile.jpg"></img><span>"</span>Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.Lorem ipsum Excepteur amet adipisicing fugiat velit nisi.<span>"</span></p>
<br><label class="name">Chris P. Bacon</label><br>
<label class="details">ISC, Delhi Public School</label>
</li>
</ul>
</div>
</div>
</div>-->
<div class="container-fluid top-pad">
<div class="row" >
<div class="col-md-12 contact-form">
<h2>Contact Us</h2>
<p class="text">Have doubts in mind? How about sharing then with us? We would be happy to hear from you.</p>
<div class="row">
<div class="col-md-6" id="contact">
<?php
if(isset($_GET['qs']) && $_GET['qs'] == 1){
echo '
<p class="success">Thank You for reaching us. We will get in touch at the earliest.</p>
';
}
?>
<form action="includes/contact.inc.php" method="POST">
<div class="col-md-6">
<div class="form-group">
<input type="email" required class="form-control" id="email" name="email" placeholder="Email">
<p id="error_email"></p>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<input type="text" required class="form-control" id="phone" name="phone" maxlength="10" placeholder="Contact Number">
<p id="error_contact"></p>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<input type="text" class="form-control" id="name" name="name" placeholder="Name" required>
</div>
</div>
<div class="col-md-12">
<div class="form-group ">
<textarea class="form-control" id="msg" rows="3" placeholder="Message" name="message" required></textarea>
<button type="submit" id="submit" name="qsubmit" class="btn btn-default submit">Send Query</button>
</div>
</div>
</form>
</div>
<div class="col-sm-6 side hidden-xs">
<table>
<tr>
<td><p><span class="fa fa-phone"></span>Call us : </p></td>
<td class="ans"><p >+91 700-329-8045</p></td>
</tr>
<tr>
<td><p><span class="fa fa-envelope-o"></span>Email : </p></td>
<td class="ans"><p >[email protected]</p></td>
</tr>
<tr>
<td style="vertical-align:top;"><p><span class="fa fa-address-book-o"></span>Address : </p></td>
<td class="ans"><p>INSTITUTE OF APPLIED SCIENCE<br>
67B, Maharaja Thakur Road,<br>Dhakuria, Kolkata-700031</p></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<!--<div class="container-fluid contact-form" id="contact" data-stellar-background-ratio="0.4">
<div class="row">
<div class="col-sm-5 contactus" data-aos="fade-up" data-aos-once="true" data-aos-delay="300">
<p class="send-query">Send Your Queries</p>
<p class="bottomliner">We would be happy to hear from you</p>
<form action="includes/contact.inc.php" method="POST">
<div class="form-group ">
<input type="email" required class="form-control" id="email" name="email" placeholder="Email" id="email">
<p id="error_email"></p>
</div>
<div class="form-group">
<input type="text" required class="form-control" id="phone" name="phone" maxlength="10" placeholder="Contact Number">
<p id="error_contact"></p>
</div>
<div class="form-group">
<input type="text" class="form-control" id="name" name="name" placeholder="Name" required>
</div>
<div class="form-group ">
<textarea class="form-control" id="msg" rows="3" placeholder="Message" name="message" required></textarea>
</div>
<button type="submit" id="submit" name="qsubmit" class="btn btn-default">Send Query</button>
</form>
</div>
</div>
</div>-->
<!-- SET MODAL -->
<!--<div id="set" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="memberModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content" >
<div class="modal-body">
<button type="button" class="close" data-dismiss="modal">×</button>
<p class="title"><span>IAS</span> TALENT SEARCH 2018</p>
<p class="know">through </p>
<p class="test">Scholarship Entrance Test</p>
<small class="small">(Tentative Date: 3rd Week of April)</small>
<img src="images/set.png"></img>
<p class="know-hl">Medal and Certificates for best Performers </p>
<p class="know">And get upto 100% scholarship for tution fees of courses at IAS</p>
<a href="set_enroll.php" class="set_enroll btn" id="enroll">Enroll Now</a>
</div>
<div class="modal-footer">
<a href="#"><i class="fa fa-arrow-left"></i>LEARN MORE</a>
</div>
</div>
</div>
</div>-->
<?php
include('footer.php');
?>
<script src="js/jquery-3.2.1.min.js" type="text/javascript"></script>
<script src="js/bootstrap.js" type="text/javascript"></script>
<script type="text/javascript">
$(window).on('load', function () {
$('#set').modal('show');
});
</script>
<script src="js/aos.js"></script>
<script src="js/jquery.marquee.js" type="text/javascript"></script>
<script>
$('.marquee').marquee({
duration: 10000,
gap:320,
delayBeforeStart: 0,
direction: 'up',
duplicated: true,
pauseOnHover: true
});
</script>
<script>
AOS.init();
</script>
<script src="vendor/js/lightslider.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#light-slider").lightSlider({
item: 4,
auto: true,
pauseOnHover: false,
loop: true,
keyPress: false,
controls: true,
prevHtml: '',
nextHtml: '',
adaptiveHeight:false
});
});
</script>
<script>
$('#submit').on('click',function() {
if ($('#email').val()=="") {
$('#email').addClass('animated shake');
$('#email').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
$('#email').removeClass('animated shake');
});
}
if ($('#name').val()=="") {
$('#name').addClass('animated shake');
$('#name').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
$('#name').removeClass('animated shake');
});
}
if ($('#msg').val()=="") {
$('#msg').addClass('animated shake');
$('#msg').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
$('#msg').removeClass('animated shake');
});
}
});
</script>
<script>
$('ul.nav li.dropdown').hover(function() {
$(this).find('.dropdown-menu').stop(true, true).delay(100).fadeIn(500);
$('.bg').removeClass('bg');
$(this).addClass('bg');
}, function() {
$(this).find('.dropdown-menu').stop(true, true).delay(100).fadeOut(100);
$('.bg').removeClass('bg');
});
</script>
<script>
$('#email').on('blur', function(){
if(!this.value.match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/))
{
$('#error_email').html('Please provide a valid email address.').css('color', '#D32F2F').css('padding-top','10px').css('font-size','16px');
$('#email').css('border', '2px solid #D32F2F');
return false;
}
$('#error_email').html('');
$('#email').css('border', 'none');
});
$('#phone').on('blur', function(){
if(!this.value.match(/^[0-9]{10}$/))
{
$('#error_contact').html('Please provide a valid Contact Number.').css('color', '#D32F2F').css('padding-top','10px').css('font-size','16px');
$('#phone').css('border', '2px solid #D32F2F');
return false;
}
$('#error_contact').html('');
$('#contact').css('border', 'none');
});
</script>
<script>
$('#home').addClass('actv');
</script>
</body>
</html>