forked from students-alumni-cell-iitkgp/sac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acap.php
708 lines (379 loc) · 13.3 KB
/
acap.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
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
<html>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
$('#form1').on('submit', function (e) {
e.preventDefault();
$.ajax({
type: 'post',
url: 'acap-rega.php',
data: $('#form1').serialize(),
success: function (response) {
/* if(response== 0 )
{
swal({
title: "WRONG CAPTCHA!",
text: "Please re-enter the captcha!",
icon: "error",
buttons: true,
dangerMode: true,
}).then((value) => {
});
}*/
if(response==0)
{
swal({
title: "INCOMPLETE DETAILS!",
text: "Please fill all the details!",
icon: "error",
buttons: true,
dangerMode: true,
}).then((value) => {
});
}
else if(response== 2 )
{
swal({
title: "REGISTRATED!",
text: "Registration successful!",
icon: "success",
buttons: true,
dangerMode: true,
}).then((value) => {
window.location="acap.php";
});
//alert(response);
}
else
{
alert(response);
}
}
});
});
});
</script>
<script type="text/javascript">
$(function () {
$('#form2').on('submit', function (e) {
e.preventDefault();
$.ajax({
type: 'post',
url: 'acapregstu.php',
data: $('#form2').serialize(),
success: function (response) {
if(response== 0 )
{
swal({
title: "INCOMPLETE DETAILS!",
text: "Please fill all the details!",
icon: "error",
buttons: true,
dangerMode: true,
}).then((value) => {
});
}
else if(response== 2 )
{
swal({
title: "REGISTERED!",
text: "Registration successful!",
icon: "success",
buttons: true,
dangerMode: true,
}).then((value) => {
window.location="acap.php";
});
//alert(response);
}
else
{
alert(response);
}
}
});
});
});
</script>
<head>
<title>Students Alumni Cell · IIT Kharagpur</title>
<link rel="icon" href="img/meet_14.png">
<link rel="stylesheet" href="css/materialize.min.css">
<script src="js/materialize.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style.css">
<style>
ul.indicators{z-index: 3;}
.slider .indicators .indicator-item{ height: 10px; width: 50px; border-radius: 0px; margin: 5px 12px; background-color: #a4a9b2; }
.slider .indicators .indicator-item.active{ background-color: #717375; }
@media only screen and (min-width: 768px) {
.about {
padding: 6px 100px;
}
#about-acap{
font-size: 16px;
padding: 3.3em 3em;
background-color: white;
}
.slider .slides li #img1 {
background-size: 80% 100%;
background-color: #FCFBF9;
background-repeat: no-repeat;
background-position: center;
}
}
@media only screen and (max-width: 414px){
.about{
padding-left: .5em;
}
.subheading{
font-size:4.5vw;
}
#about-acap{
font-size:3.2vw;
padding: 3.3em 3em;
}
.modal-trigger{
height: 7.5vw;
line-height: 8vw;
padding: 0 1rem;
font-size: 3.5vw;
}
}
@media only screen and (max-width: 995px){
#fbplug{
display: none;
}
.subheading{
font-size:4.5vw;
}
#about-acap{
font-size:3.3vw;
padding: 3.3em 3em;
}
}
</style>
</head>
<body>
<div class="_wrapper">
<?php include 'navbar.php';?>
<div>
<img src="img/dak.jpg" width="100%" alt="">
<div class="row">
<div class="heading">
<center>
<h class="subheading"><b>Alumni Career Assistance Programme</b></h>
</center>
</div>
</div>
<div>
<div class="center-align">
<div class="row">
<div class="col l10 offset-l1">
<div >
<p class="z-depth-1 text_align" id="about-acap" >'Alumni Career Assistance Programme' (ACAP) aims on helping the final year students to understand the confusing and tedious process of placements in a company specific manner, as every company has a different procedure for selection. The students sitting for placements will fill in their companies of choice in a manner of preference and will be allotted an alumnus/alumna who themselves were placed in the same company in KGP as a mentor/buddy.
Each alumnus will be allotted at most 4 mentees and every student will fill in 3 companies of choice strictly in their order of preference.
The students will be allotted respective mentors latest by 15th October giving them more than a month's time to prepare for the company of their choice.
This initiative will help the students in applying and getting placed in various companies through without last minute chaos. This Program also signifies the first of the Institute's attempt at engagement of the recently graduated alumni with the Institute.
Thus, we encourage all alumni to sign up for the Program and start off on the track of giving back to your alma mater. You can sign up through the 'Alumni Registration' link below.</p>
</div></div>
</div>
</div>
</div>
<div class="heading">
<center>
<h class="subheading"><b>Registration</b></h>
</center>
</div>
<hr><hr>
<br>
<div class="row" style="margin-left:20.5%">
<div class="col l6" >
<center>
<div class="row section">
<div class="col">
<!-- Modal Trigger -->
<a class="waves-effect waves-light btn modal-trigger" href="#modal1">Alumni Registration</a>
</div>
</div>
<!-- Modal Structure -->
<div id="modal1" class="modal">
<form class="col s12" id="form1">
<div class="modal-content">
<h4>Alumni Registration <hr></h4>
<div class="row">
<div class="row">
<div class="input-field col s12">
<input placeholder="Name" name="name" type="text" class="validate" >
<label for="name">Name</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Phone Number" name="phoneno" type="text" class="validate">
<label for="phoneno">Phone No</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Email" name="email" type="email" class="validate">
<label for="email">Email</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Company Name" name="company" type="text" class="validate" >
<label for="hall">Current company</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Company Designation" name="designation" type="text" class="validate" >
<label for="hall">Current Designation</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Current City" name="city" type="text" class="validate" >
<label for="hall">Current City</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Areas Of Expertise" name="expertise" type="text" class="validate" >
<label for="hall">Areas Of Expertise</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Year of Graduation" name="gradyear" type="text" class="validate" >
<label for="hall">Year of Graduation</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Company placed via CDC" name="cdc" type="text" class="validate" >
<label for="hall">Company placed via CDC</label>
</div>
</div>
<!--
<div class="row">
<?php
// @session_start();
// include 'captcha_gen_a.php';
?>
<div class="input-field col s12">
<input placeholder="ENTER CAPTCHA" name="captcha_a" type="text" class="validate">
<label for="email">ENTER CAPTCHA</label>
</div>
</div>-->
</div>
</div>
<div class="modal-footer">
<a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat" style="background-color:#26a69a"><input style="padding:9px" type="submit" name="submit"></a>
</div>
</form>
</div>
</center>
</div>
<div class="col l6">
<div class="row section">
<div class="col">
<!-- Modal Trigger -->
<a class="waves-effect waves-light btn modal-trigger" href="#modal2">Students Registration</a>
</div>
</div>
<!-- Modal Structure -->
<div id="modal2" class="modal">
<form class="col s12" id="form2" >
<div class="modal-content">
<h4> <center>Students Registration</center> <hr></h4>
<div class="row">
<div class="row">
<div class="input-field col s12">
<input placeholder="Name" name="name" type="text" class="validate" >
<label for="name">Name</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Roll Number" name="roll" type="text" class="validate" >
<label for="roll">Roll No</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Phone Number" name="phoneno" type="text" class="validate">
<label for="phoneno">Phone No</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Email" name="email" type="email" class="validate">
<label for="email">Email</label>
</div>
</div>
<p style="
margin-left: 12px;
color: palegoldenrod;
text-align: justify;
">Please fill in the companies for which you genuinely want to prepare for. This will greatly help us in allotting mentors to you.</p>
<div class="row">
<div class="input-field col s12">
<input placeholder="Company Name" name="PC1" type="text" class="validate" >
<label for="hall">Preferred company 1</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Company Name" name="PC2" type="text" class="validate" >
<label for="hall">Preferred company 2</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Company Name" name="PC3" type="text" class="validate" >
<label for="hall">Preferred company 3</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input placeholder="Preferred placement field (Eg. Software, Consultancy)" name="PC4" type="text" class="validate">
<label for="email">Preferred placement field (Eg. Software, Consultancy)</label>
</div>
</div>
<!--
<div class="row">
<?php
/* @session_start();
include 'captcha_gen_s.php';*/
?>
<div class="input-field col s12">
<input placeholder="ENTER CAPTCHA" name="captcha_s" type="text" class="validate">
<label for="email">ENTER CAPTCHA</label>
</div>
</div>
-->
</div>
</div>
<div class="modal-footer">
<a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat" style="background-color:#26a69a;padding:0px!important"><input style="padding:9px;width:150px" type="submit" name="submit"></a>
</div>
</form>
</div>
</div>
</div>
<?php
include 'footer.php';
?>
</body>
<script type="text/javascript">
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
</script>
</html>