Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.191.171.136
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
oasis /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
Report
[ DIR ]
drwxr-xr-x
base_file
[ DIR ]
drwxr-xr-x
events
[ DIR ]
drwxr-xr-x
popups
[ DIR ]
drwxr-xr-x
.DS_Store
12
KB
-rwxr-xr-x
AbsentEntrySubjectWise.js
15.19
KB
-rwxr-xr-x
AllkeyEvent.js
37.26
KB
-rw-rw-r--
AllkeyEvent_20102021.js
37.24
KB
-rwxr-xr-x
Att_Ent_Teacher_Wise.js
10.99
KB
-rw-rw-r--
Barchart.js
13.12
KB
-rw-rw-r--
CIEAttendanceNotEligible.js
7.23
KB
-rw-rw-r--
CIEpendingList.js
5.97
KB
-rw-rw-r--
Dispatch_answer_script.js
18.53
KB
-rwxr-xr-x
Dispatch_answer_script_qp.js
16.83
KB
-rwxr-xr-x
ECHblk.js
8.11
KB
-rwxr-xr-x
IdentifyTransactions.js
2.18
KB
-rwxr-xr-x
MainPage.js
18.36
KB
-rwxr-xr-x
MainPage_wait.js
15.19
KB
-rwxr-xr-x
Message_board.js
5.09
KB
-rwxr-xr-x
RvRtAcknowledgement.js
6.95
KB
-rw-rw-r--
SelectSubjType.js
11.2
KB
-rw-rw-r--
SubjectType.js
11.27
KB
-rw-rw-r--
UpdateCollDet.js
8.15
KB
-rwxr-xr-x
absentEntryYearModewise.js
10.67
KB
-rw-rw-r--
absentMalpractice.js
3.04
KB
-rw-rw-r--
absententrysubjectwiseQP.js
20.23
KB
-rwxr-xr-x
ack_adm_application.js
57.5
KB
-rwxr-xr-x
ack_admentry_application.js
57.78
KB
-rwxr-xr-x
ack_admentry_application_dud.j...
56.55
KB
-rwxr-xr-x
ack_exam_app_form.js
4.1
KB
-rwxr-xr-x
ack_exam_app_form_bulk.js
2.21
KB
-rwxr-xr-x
ack_rv_rt_application.js
2.59
KB
-rwxr-xr-x
adm_delete_data.js
3.05
KB
-rwxr-xr-x
admchallanpreparation.js
5.97
KB
-rwxr-xr-x
admdownloadexsheet.js
460
B
-rwxr-xr-x
admentry_nitte.js
137.48
KB
-rw-rw-r--
admission_approve.js
23.71
KB
-rwxr-xr-x
admission_approve_kus.js
29.13
KB
-rwxr-xr-x
admission_entry_reg.js
46.19
KB
-rwxr-xr-x
admission_entry_status.js
1.12
KB
-rwxr-xr-x
admissionapplist.js
3.9
KB
-rwxr-xr-x
admstuddate.js
4.22
KB
-rwxr-xr-x
admuploadexsheet.js
1.4
KB
-rwxr-xr-x
affliation_fee.js
24.58
KB
-rwxrwxrwx
attDegwiseReport.js
3.08
KB
-rw-r--r--
attTeachSum.js
4.16
KB
-rw-r--r--
attendance.js
10.68
KB
-rwxr-xr-x
attendanceReportForm.js
5.01
KB
-rw-rw-r--
attendance_freez.js
6.34
KB
-rwxr-xr-x
attendanceentrydaywise.js
26.78
KB
-rw-r--r--
attendenceshort.js
5.52
KB
-rw-rw-r--
attiacombined.js
3.07
KB
-rwxr-xr-x
attreport.js
3.26
KB
-rw-rw-r--
backup.js
7.98
KB
-rwxr-xr-x
backup_restore.js
1.33
KB
-rwxr-xr-x
batchSetup.js
10.76
KB
-rw-rw-r--
batch_setup.js
10.07
KB
-rwxr-xr-x
batchwisetimetable.js
16.77
KB
-rw-rw-r--
bill_details.js
1.02
KB
-rw-rw-r--
bundle_ack.js
1.5
KB
-rwxr-xr-x
bundle_dispatch.js
8.74
KB
-rwxr-xr-x
bundle_rec_ack.js
1.16
KB
-rwxr-xr-x
calendar-en.js
3.52
KB
-rwxr-xr-x
calendar-setup.js
8.83
KB
-rwxr-xr-x
calendar.js
51.74
KB
-rwxr-xr-x
calender.js
639
B
-rwxr-xr-x
candidate_list.js
33.92
KB
-rwxr-xr-x
centerdet.js
1.45
KB
-rw-rw-r--
challan_entries.js
4.08
KB
-rwxr-xr-x
challan_preparation.js
2.86
KB
-rwxr-xr-x
changeAdmDegree.js
4.01
KB
-rwxr-xr-x
changeMobile.js
3.15
KB
-rwxr-xr-x
checkbrowser.js
2.77
KB
-rwxr-xr-x
classtimetablerpt.js
1.91
KB
-rw-r--r--
cntrDeclaration.js
3.66
KB
-rwxr-xr-x
coll_exam_app_form.js
2.11
KB
-rwxr-xr-x
collbankdet.js
2.49
KB
-rwxr-xr-x
colldesp_ack.js
3.58
KB
-rw-rw-r--
college.js
4.64
KB
-rwxr-xr-x
college_approve.js
23.41
KB
-rwxr-xr-x
college_degree_status.js
3.32
KB
-rwxr-xr-x
collegedet.js
1.47
KB
-rwxr-xr-x
collegewisedownload.js
1.26
KB
-rw-rw-r--
collfundtransfer.js
5.16
KB
-rwxr-xr-x
collinfo_popup.js
10.32
KB
-rwxr-xr-x
colltransfer.js
7.87
KB
-rw-rw-r--
convdet.js
5.91
KB
-rwxr-xr-x
convo.js
13.55
KB
-rw-rw-r--
copomarksentryexternal.js
12.23
KB
-rw-r--r--
copomarkslist.js
2.69
KB
-rw-rw-r--
copomaxmarksentry.js
5.29
KB
-rw-r--r--
coporeport.js
2.37
KB
-rw-r--r--
coposurvey.js
4.53
KB
-rw-rw-r--
courserep.js
1.91
KB
-rw-r--r--
createAdmission.js
12.52
KB
-rwxr-xr-x
createClass.js
18.84
KB
-rw-rw-r--
createattclass.js
9.28
KB
-rw-rw-r--
createclass.js
20.93
KB
-rw-r--r--
daterange.js
7.74
KB
-rwxr-xr-x
deggrp.js
7.48
KB
-rw-rw-r--
deggrpwisepiechart.js
9.62
KB
-rw-rw-r--
degree.js
3.1
KB
-rwxr-xr-x
degree_Subject_Report.js
2.9
KB
-rw-rw-r--
degreegrpwisestud.js
1.72
KB
-rw-rw-r--
degreewisestdusn.js
1.25
KB
-rw-rw-r--
degstudymat.js
4.9
KB
-rwxr-xr-x
degstudymatdet.js
3.58
KB
-rwxr-xr-x
degwiseIAreport.js
5.8
KB
-rw-rw-r--
doc_verification.js
2.33
KB
-rwxr-xr-x
downloadStudentPhotos.js
1.13
KB
-rwxr-xr-x
download_misc_files.js
838
B
-rwxr-xr-x
download_misc_files_new.js
1.65
KB
-rwxr-xr-x
editstddet.js
5.83
KB
-rw-rw-r--
elementwisereport.js
5.42
KB
-rw-rw-r--
enableStudReg.js
6.6
KB
-rwxr-xr-x
enableprintapplication_ru.js
46.21
KB
-rw-rw-r--
entryexitevents.js
1.36
KB
-rwxr-xr-x
examAttendanceReport.js
2.38
KB
-rwxr-xr-x
examappfeereport.js
3.02
KB
-rw-rw-r--
export_import.js
1.62
KB
-rwxr-xr-x
export_import_setup.js
5.65
KB
-rwxr-xr-x
feepaidreports.js
2.08
KB
-rwxr-xr-x
feeupdation.js
5.83
KB
-rwxr-xr-x
finalCieMarks.js
2.62
KB
-rw-rw-r--
footer.js
6.73
KB
-rwxr-xr-x
form_submit.js
1.3
KB
-rwxr-xr-x
formatdate.js
13.87
KB
-rwxr-xr-x
freeze_Ad_Cl_Me.js
2.86
KB
-rwxr-xr-x
freeze_module_at_admin_college...
12.8
KB
-rwxr-xr-x
freeze_module_at_admin_college...
6.09
KB
-rwxr-xr-x
freeze_module_at_university_co...
4.85
KB
-rwxr-xr-x
freezeiaprici.js
13.76
KB
-rwxr-xr-x
grid_display.js
939
B
-rwxr-xr-x
gtransapi.js
398.2
KB
-rwxrwxrwx
htblk.js
5.18
KB
-rwxr-xr-x
iaMarksReport.js
6.91
KB
-rw-r--r--
iaMarksReportnew.js
6.99
KB
-rw-r--r--
iaSummaryReport.js
2.51
KB
-rw-r--r--
ia_invigilators_dairy.js
3.3
KB
-rwxr-xr-x
ia_room_allotment_datewise.js
5.99
KB
-rwxr-xr-x
ia_roomwise_regno.js
4.11
KB
-rw-r--r--
ia_subjectwise_invigilator_dai...
4.04
KB
-rwxr-xr-x
iaabsentEntry.js
7.21
KB
-rw-r--r--
iacombined.js
5.79
KB
-rw-r--r--
iamarks.js
2.3
KB
-rw-rw-r--
iaroomallotmantsummary.js
1.08
KB
-rwxr-xr-x
iaroomdeclaration.js
10.39
KB
-rwxr-xr-x
iasectionwise.js
5.6
KB
-rw-r--r--
iatimetable.js
4.07
KB
-rw-r--r--
identifyCoMarks.js
12.01
KB
-rw-rw-r--
identifyCoMarksNew.js
9.38
KB
-rw-rw-r--
import_marks.js
1.41
KB
-rwxr-xr-x
includeCSS.js
1.31
KB
-rwxr-xr-x
index.js
31.67
KB
-rwxr-xr-x
index_wait.js
29.59
KB
-rwxr-xr-x
invig_report.js
2.82
KB
-rw-rw-r--
invigilators_dairy.js
8.63
KB
-rwxr-xr-x
invigilators_dairy_gug.js
5.52
KB
-rwxr-xr-x
invigilators_dairy_new.js
8.91
KB
-rwxr-xr-x
invigilators_dairy_newone.js
10.72
KB
-rw-rw-r--
invigilators_dairy_stph.js
6.9
KB
-rw-rw-r--
jquery.color.js
4.5
KB
-rwxr-xr-x
jquery.js
29.42
KB
-rwxr-xr-x
lateralentry.js
4.92
KB
-rwxr-xr-x
load-report-js-files.js
11.17
KB
-rwxr-xr-x
load_js_files.js
676
B
-rwxr-xr-x
load_mannual_js_files.js
74.4
KB
-rwxr-xr-x
markentry_studentwise.js
9.95
KB
-rwxr-xr-x
markentry_subjectwise.js
18.8
KB
-rwxr-xr-x
markentry_subjectwise_bf_gcg.j...
17.73
KB
-rwxr-xr-x
marksEntryExt.js
4.3
KB
-rw-r--r--
marksentryexternal.js
11.09
KB
-rw-rw-r--
marksentryquestionwise.js
49.92
KB
-rw-rw-r--
marksentrytwo.js
9.43
KB
-rw-r--r--
marksentrytwonew.js
9.9
KB
-rw-r--r--
markslistelement_report.js
6.46
KB
-rwxr-xr-x
message_text.js
2.05
KB
-rwxr-xr-x
mobiscroll.jquery.min.js
429.36
KB
-rw-r--r--
module_setup.js
4.7
KB
-rwxr-xr-x
month_cal.js
74.26
KB
-rwxr-xr-x
oldqnpaper.js
4.27
KB
-rw-rw-r--
openPopUp.js
5.22
KB
-rwxr-xr-x
passwordshow.js
59
B
-rw-rw-r--
pendingcielist.js
3.32
KB
-rw-rw-r--
piecharttesting.js
64
B
-rw-rw-r--
popup.js
123.65
KB
-rw-rw-r--
popup_20102021.js
122.39
KB
-rwxr-xr-x
popupold.js
61.77
KB
-rwxr-xr-x
postnotification.js
10.25
KB
-rwxr-xr-x
practcalDailyReport.js
2.88
KB
-rw-rw-r--
practicalMarks.js
10.96
KB
-rw-rw-r--
prbillreport.js
2.82
KB
-rw-r--r--
principalfreezingsubject.js
7.31
KB
-rw-rw-r--
principleFreeze.js
7.88
KB
-rw-rw-r--
pwschange.js
1.08
KB
-rwxr-xr-x
qnwiseMarksStats.js
8.94
KB
-rw-rw-r--
qnwisemarksentrynew.js
13.59
KB
-rw-rw-r--
qpSummaryReport.js
2.09
KB
-rw-r--r--
qpissue.js
1.55
KB
-rwxr-xr-x
receive_rv_rt_application.js
2.87
KB
-rwxr-xr-x
receive_teach_transfer.js
5.08
KB
-rw-rw-r--
remove_exam_ack.js
1.07
KB
-rwxr-xr-x
remunerationEntry.js
14.77
KB
-rw-rw-r--
repeateriamarksentry.js
6.82
KB
-rw-rw-r--
report_Admission_Ticket_Jsstu....
5.11
KB
-rwxr-xr-x
report_SubjectListGeneral.js
3.49
KB
-rwxr-xr-x
report_admission_list_vku.js
2.82
KB
-rwxrwxrwx
report_exam_application_form.j...
2.78
KB
-rwxr-xr-x
report_reg_list_gcg.js
2.48
KB
-rw-rw-r--
report_setup.js
13.38
KB
-rwxr-xr-x
resetPasseordValidate.js
2.58
KB
-rw-rw-r--
resultsheet.js
15.67
KB
-rwxr-xr-x
revaluation.js
8.27
KB
-rwxr-xr-x
revaluation_withdegree.js
8.24
KB
-rwxr-xr-x
rommcreationnew.js
6.44
KB
-rw-rw-r--
room_allotment.js
3.97
KB
-rwxr-xr-x
room_allotment_datewise.js
8.63
KB
-rwxr-xr-x
room_allotment_datewise_stph.j...
8.05
KB
-rwxr-xr-x
room_allotment_datewise_stph_n...
6.08
KB
-rwxr-xr-x
room_allotment_shifiting.js
3.38
KB
-rw-r--r--
roomallotmantsummary.js
3.2
KB
-rwxr-xr-x
roomallotmantsummary_new.js
3.67
KB
-rwxr-xr-x
roomallotmentqpwise.js
21.32
KB
-rw-rw-r--
roomallotmentqpwisenew.js
22.03
KB
-rw-rw-r--
roomdeclaration.js
6.54
KB
-rwxr-xr-x
roomdeclaration_stph.js
11.6
KB
-rwxr-xr-x
roomwise_regno.js
6.22
KB
-rw-rw-r--
roomwiseinvigilatorsEntry.js
15.28
KB
-rw-rw-r--
rv_rt_guide_lines.js
466
B
-rwxr-xr-x
rv_rt_report.js
5.67
KB
-rwxrwxrwx
rvdates.js
8.94
KB
-rw-rw-r--
savesemster.js
5.13
KB
-rw-rw-r--
sectionwisepermission.js
4.98
KB
-rwxr-xr-x
semwiseresultanalysis.js
8.68
KB
-rw-rw-r--
shortLists.js
6.53
KB
-rw-rw-r--
std_register_det.js
9.56
KB
-rw-rw-r--
studSubIdent.js
5.34
KB
-rw-r--r--
stud_wise_report.js
4.4
KB
-rw-rw-r--
studdet.js
2.84
KB
-rw-rw-r--
student_entry.js
54.15
KB
-rwxr-xr-x
student_entry_kswu.js
50.1
KB
-rwxr-xr-x
student_entry_rur.js
121.59
KB
-rw-rw-r--
student_entry_rur_new.js
119.52
KB
-rw-rw-r--
student_entry_vku.js
116.63
KB
-rwxr-xr-x
studentphotolist.js
1.75
KB
-rw-rw-r--
studentreport.js
2.29
KB
-rw-rw-r--
studentres.js
770
B
-rw-r--r--
studnamecorr.js
8.13
KB
-rw-rw-r--
subIAMarksEntry.js
8.08
KB
-rw-rw-r--
subblock.js
4.97
KB
-rwxr-xr-x
subdet.js
20.4
KB
-rw-rw-r--
subdetails.js
30.32
KB
-rw-rw-r--
subjReg.js
6.08
KB
-rw-r--r--
subjectAppearing_PopUp.js
2.06
KB
-rwxr-xr-x
subject_freshExam.js
12.67
KB
-rwxr-xr-x
subjectfreez.js
12.3
KB
-rwxr-xr-x
subjectwisePiechart.js
10.97
KB
-rw-rw-r--
subjectwise_freezing_sectionwi...
7.97
KB
-rwxr-xr-x
subjectwise_invigilator_dairy....
4.29
KB
-rwxr-xr-x
subjectwise_invigilator_dairy_...
2.79
KB
-rwxr-xr-x
subshort.js
6.34
KB
-rw-rw-r--
system.js
12.41
KB
-rwxr-xr-x
system_utility.js
8.74
KB
-rwxr-xr-x
tatkal.js
1.23
KB
-rw-rw-r--
teachFreeze.js
8.78
KB
-rw-r--r--
teachOficerEntry.js
7.25
KB
-rwxr-xr-x
teacher_val_report.js
656
B
-rwxr-xr-x
teachers.js
34.27
KB
-rwxr-xr-x
teachersreport.js
1.25
KB
-rwxr-xr-x
testwiseMarksReport.js
4.08
KB
-rw-rw-r--
theorymarksentry.js
7.32
KB
-rw-rw-r--
thvalmarks.js
2.63
KB
-rw-r--r--
time_table_degreewise.js
3.65
KB
-rwxrwxrwx
topsheet.js
1.1
KB
-rwxr-xr-x
transaction-series.js
6.92
KB
-rwxr-xr-x
updateSection.js
7.09
KB
-rwxr-xr-x
updatecopo.js
22.77
KB
-rw-r--r--
updatedegreegroup.js
7.09
KB
-rw-rw-r--
updatefreshexam.js
1.52
KB
-rw-rw-r--
updatesspdetails.js
14.81
KB
-rw-rw-r--
updatetimetable.js
17.27
KB
-rw-r--r--
updateuvcms.js
6.2
KB
-rw-rw-r--
updmarks.js
837
B
-rwxr-xr-x
updnemp.js
827
B
-rwxr-xr-x
uploadStudentPhotos.js
5.15
KB
-rwxr-xr-x
upload_details.js
4.15
KB
-rwxr-xr-x
upload_doc_demo.js
2.03
KB
-rw-rw-r--
uploadcopo.js
3.16
KB
-rw-r--r--
uploadteachattend.js
8.56
KB
-rw-r--r--
userpasswordreset.js
6.5
KB
-rw-rw-r--
usersetup.js
37.94
KB
-rwxr-xr-x
usersetupNew.js
3.93
KB
-rwxr-xr-x
usersubj_identification.js
4.83
KB
-rwxr-xr-x
validate.js
9.84
KB
-rwxr-xr-x
viewNotifications.js
5.95
KB
-rw-rw-r--
view_ledger.js
7.89
KB
-rwxrwxrwx
yearmode.js
6.55
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : subdetails.js
var tableArr = []; function callSubDet() { $("#page_main_div").load("../html_modules/subdetails.html", function () { document.getElementById("display_module_name").innerHTML = "Subject Details"; document.getElementById("module_name_for_save").value = "Subject Details"; getDefaultHeadFooterLinks("Subject Details"); }); loadDegree(); } function loadDegree() { $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "GET", url: $host_url + "getDegreeSubDetails", success: function (res) { let response = JSON.parse(res); let deg = `<option>---Select---</option>`; if (response.error_code == 0) { for (var i in response.data) { deg += `<option value='${response.data[i].FDEGREE}'>${response.data[i].FDEGREE} - ${response.data[i].FDESCPN}</option>`; i++; } $("#degree").html(deg); $.unblockUI(); } else { alert("No data found"); $.unblockUI(); return; } }, }); } function loadSemester() { var degree = $("#degree").val(); $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "GET", url: $host_url + "getSemSubDetails" + "°ree=" + degree, success: function (res) { let response = JSON.parse(res); let sem = `<option>---Select---</option>`; if (response.error_code == 0) { for (var i in response.data) { sem += `<option value='${response.data[i].FEXAMNO}'>${response.data[i].FEXAMNO} - ${response.data[i].FEXAMNAME}</option>`; i++; } $("#sem").html(sem); $.unblockUI(); } else { alert("No data found"); $.unblockUI(); return; } }, }); } function loadSubject() { var degree = $("#degree").val(); var sem = $("#sem").val(); $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "GET", url: $host_url + "getSubSubDetails" + "°ree=" + degree + "&sem=" + sem, success: function (res) { let response = JSON.parse(res); let sub = `<option>---Select---</option>`; if (response.error_code == 0) { for (var i in response.data) { sub += `<option value='${response.data[i].fcsubcode}'>${response.data[i].fcsubcode} - ${response.data[i].fsubname}</option>`; i++; } $("#subject").html(sub); $.unblockUI(); } else { alert("No data found"); $.unblockUI(); return; } }, }); } function getSubDetData() { var degree = $("#degree").val(); var sem = $("#sem").val(); var sub = $("#subject").val(); if (degree == "---Select---" || degree == "" || degree == null) { alert("Select Degree"); return; } if (sem == "---Select---" || sem == "" || sem == null) { alert("Select Sem"); return; } if (sub == "---Select---" || sub == "" || sub == null) { alert("Select Subject"); return; } let param = "°ree=" + degree + "&sem=" + sem + "&sub=" + sub; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "POST", url: $host_url + "getSubDetData", data: param, success: function (res) { let response = JSON.parse(res); if (response.error_code == 0) { $("#getData").show(); let table = `<table align="center" width="100%" cellspacing="0" cellpadding="1" border="1" style="border-radius:5px"> <tr> <th align="left" colspan="14" class="ui-jqgrid-titlebar ui-widget-header ui-corner-tl ui-corner-tr ui-helper" style="font-size:12px; padding-left:6px; height:24px;">Subject Details</th> </tr> <tr class="ui-state-default ui-jqgrid-hdiv"> <th align="center" style="font-size:12px; border-left:1px solid #C5DBEC;border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Sl. No.</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Degree</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Exam No.</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Subject</th> <th align="center" style="font-size:12px; border-left:1px solid #C5DBEC;border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Element</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Sub. Name</th> <th align="center" style="font-size:12px; border-left:1px solid #C5DBEC;border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Th./Pr.</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Max Marks</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Qn. No.</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">No. of Tests</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">U1 Max</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">U2 Max</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Order</th> <th align="center" style="font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Action</th> </tr>`; for (var i = 0; i < response.data.length; i++) { table += `<tr> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${i + 1} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fdegree} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fexamno} </td> <td class="tbl_row_new" style="text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fcsubname} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fsubcode} </td> <td class="tbl_row_new" style="text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fsubname} </td> <td class="tbl_row_new" style="text-align:center; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].ftheory} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fmaxmarks} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fqnno} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fnotest} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fu1max} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].fu2max} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${response.data[i].forder} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;display:flex"> <span onclick="editSubDetData( '${response.data[i].fdegree}', '${response.data[i].fexamno}', '${response.data[i].fcsubcode}', '${response.data[i].fsubcode}', '${response.data[i].fsubname}', '${response.data[i].fmaxmarks}', '${response.data[i].fqnno}', '${response.data[i].fnotest}', '${response.data[i].fu1max}', '${response.data[i].fu2max}', '${response.data[i].forder}', '${response.data[i].ftheory}' )" style=" background-color: #008cba; border: none; color: white; padding: 6px 10px; text-align: center; text-decoration: none; display: inline-block; font-size: 13px; cursor: pointer; border-radius: 3px;">Edit</span> <span onclick="deleteSubDet( '${response.data[i].fdegree}', '${response.data[i].fexamno}', '${response.data[i].fcsubcode}', '${response.data[i].fsubcode}', )" style=" background-color: #FF0000; border: none; color: white; padding: 6px 10px; text-align: center; text-decoration: none; display: inline-block; font-size: 13px; cursor: pointer; margin-left:5px; border-radius: 3px;">Delete</span> </td> </tr>`; } table += `</table>`; $("#getData").html(table); $.unblockUI(); } else { alert(response.data.msg); $("#getData").hide(); $.unblockUI(); return; } }, }); } function addRow(table_body) { var tabBody = document.getElementById(table_body), first_tr = tabBody.firstElementChild; tr_clone = first_tr.cloneNode(true); tabBody.append(tr_clone); clean_first_tr(tabBody.firstElementChild); } function clean_first_tr(first_tr) { let children = first_tr.children; children = Array.isArray(children) ? children : Object.values(children); children.forEach((x) => { if (x !== first_tr.lastElementChild) { x.firstElementChild.value = ""; } }); } function onlyNumberKey(evt) { var ASCIICode = evt.which ? evt.which : evt.keyCode; if (ASCIICode > 31 && (ASCIICode < 48 || ASCIICode > 57)) return false; return true; } function getElementsubDet() { var degree = $("#degree").val(); var sem = $("#sem").val(); var sub = $("#subject").val(); var element = $("#element").val(); var params = "degree=" + degree + "&sem=" + sem + "&sub=" + sub + "&element=" + element; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "GET", url: $host_url + "getElementsubDet", data: params, success: function (res) { var response = JSON.parse(res); if (response.error_code == 0) { alert(response.data.msg); $("#element").focus(); $.unblockUI(); return; } $.unblockUI(); }, }); $.unblockUI(); } function editSubDetData( degree, examno, fcsubcode, fsubcode, fsubname, fmaxmarks, fqnno, fnotest, fu1max, fu2max, order, theory ) { $("#tabdet").hide(); $("#editdata").show(); var tabledata = `<table align="center" width="100%" cellspacing="0" cellpadding="1" border="1" style="border-radius:5px"> <tr class="ui-state-default ui-jqgrid-hdiv"> <th align="center" style="width:50px; font-size:12px; border-left:1px solid #C5DBEC;border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Element</th> <th align="center" style="width:80px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Sub. Name</th> <th align="center" style="width:120px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Th./Pr.</th> <th align="center" style="width:70px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Max. Marks</th> <th align="center" style="width:60px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Qn. No.</th> <th align="center" style="width:50; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">No. of Tests</th> <th align="center" style="width:50px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">U1 Max</th> <th align="center" style="width:50px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">U2 Max</th> <th align="center" style="width:50px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Order</th> <th align="center" style="width:50px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Action</th> </tr> <tr> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="element" maxlength="1" style="width: 70px; height: 25px" onkeypress="return onlyNumberKey(event)"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="subname" style="width: 100px; height: 25px"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <select id="theory" style="width: 126px;height: 30px;"> <option value='T'>Theory</option> <option value='F'>Practical</option> </select></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="maxmarks" style="width: 68px; height: 25px"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="qnno" style="width: 60px; height: 25px"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="notest" style="width: 82px; height: 25px"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="u1max" style="width: 50px; height: 25px"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="u2max" style="width: 50px; height: 25px"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <input type = 'text' id="order" style="width: 50px; height: 25px"></td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> <span style=" background-color: #008cba; border: none; color: white; padding: 7px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 13px; cursor: pointer; border-radius:4px; " onclick="saveSubDetData()" >Save</span></td> </tr> </table>`; $("#editdata").html(tabledata); $("#degree").val(degree); $("#sem").val(examno); $("#subject").val(fcsubcode); $("#element").val(fsubcode); $("#subname").val(fsubname); $("#maxmarks").val(fmaxmarks); $("#qnno").val(fqnno); $("#notest").val(fnotest); $("#u1max").val(fu1max); $("#u2max").val(fu2max); $("#order").val(order); $("#theory").val(theory); $("#element").prop("disabled", true); $("#degree").prop("disabled", true); $("#sem").prop("disabled", true); $("#subject").prop("disabled", true); } function saveSubDetData() { var degree = $("#degree").val(); var sem = $("#sem").val(); var sub = $("#subject").val(); var element = $("#element").val(); var subname = $("#subname").val(); var maxmarks = $("#maxmarks").val(); var qnno = $("#qnno").val(); var notest = $("#notest").val(); var u1max = $("#u1max").val(); var u2max = $("#u2max").val(); var order = $("#order").val(); var theory = $("#theory").val(); if (degree == "---Select---" || degree == "" || degree == null) { alert("Select Degree"); return; } if (sem == "---Select---" || sem == "" || sem == null) { alert("Select Sem"); return; } if (sub == "---Select---" || sub == "" || sub == null) { alert("Select Subject"); return; } if (element == "") { alert("Enter Element"); $("#element").focus(); return; } if (subname == "") { alert("Enter Subject Name"); $("#subname").focus(); return; } if (maxmarks == "") { alert("Enter Maximum Marks"); $("#maxmarks").focus(); return; } if (qnno == "") { alert("Enter Question Number"); $("#qnno").focus(); return; } if (notest == "") { alert("Enter Test Number"); $("#notest").focus(); return; } if (u1max == "") { alert("Enter U1 Maximum Marks"); $("#u1max").focus(); return; } if (u2max == "") { alert("Enter U2 Maximum Marks"); $("#u2max").focus(); return; } let param = "degree=" + degree + "&sem=" + sem + "&sub=" + sub + "&element=" + element + "&subname=" + subname + "&maxmarks=" + maxmarks + "&qnno=" + qnno + "¬est=" + notest + "&u1max=" + u1max + "&u2max=" + u2max + "&order=" + order + "&theory=" + theory; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "POST", url: $host_url + "saveSubDetData", data: param, success: function (res) { let response = JSON.parse(res); if (response.error_code == 0) { alert(response.data.msg); getSubDetData(); $("#editdata").hide(); $.unblockUI(); return; } else { alert(response.data.msg); $.unblockUI(); return; } }, }); } function deleteSubDet(degree, examno, fcsubcode, fsubcode) { var text = "Are You Sure?"; var params = "degree=" + degree + "&sem=" + examno + "&sub=" + fcsubcode + "&element=" + fsubcode; if (confirm(text) == true) { $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "POST", url: $host_url + "deleteSubDet", data: params, success: function (res) { let response = JSON.parse(res); if (response.error_code == 0) { alert(response.data.msg); getSubDetData(); $.unblockUI(); return; } }, }); } else { console.log("cancelled"); $.unblockUI(); return; } } function addSubjectDet() { var degree = $("#degree").val(); var sem = $("#sem").val(); var sub = $("#subject").val(); if (degree == "---Select---" || degree == "" || degree == null) { alert("Select Degree"); return; } if (sem == "---Select---" || sem == "" || sem == null) { alert("Select Sem"); return; } if (sub == "---Select---" || sub == "" || sub == null) { alert("Select Subject"); return; } $("#editdata").hide(); $("#tabdet").show(); let j = tableArr.length; getSubDetRow(j); } function getSubDetRow(j) { let addRowDet = { element: `<input type = 'text' id="element_${j}" maxlength="1" style="width: 70px; height: 25px" onkeypress="return onlyNumberKey(event)">`, subname: `<input type = 'text' id="subname_${j}" style="width: 100px; height: 25px">`, theory: `<select id="theory_${j}" style="width: 126px;height: 30px;"> <option value='T'>Theory</option> <option value='F'>Practical</option> </select>`, maxmarks: `<input type = 'text' id="maxmarks_${j}" style="width: 68px; height: 25px">`, qnno: `<input type = 'text' id="qnno_${j}" style="width: 60px; height: 25px">`, notest: ` <input type = 'text' id="notest_${j}" style="width: 82px; height: 25px">`, u1max: `<input type = 'text' id="u1max_${j}" style="width: 50px; height: 25px">`, u2max: ` <input type = 'text' id="u2max_${j}" style="width: 50px; height: 25px">`, order: `<input type = 'text' id="order_${j}" style="width: 50px; height: 25px" onblur="addSubjectDet()">`, delete: `<span onclick="remove_tr(this, ${j})" style="background-color: #FF0000;border: none;color: white;padding: 6px 10px;text-align: center;text-decoration: none;display: inline-block;font-size: 13px;cursor: pointer;border-radius: 3px;">Delete</span>`, }; if ( $(`#element_${j - 1}`).val() == "" || $(`#subname_${j - 1}`).val() == "" || $(`#maxmarks_${j - 1}`).val() == "" || $(`#qnno_${j - 1}`).val() == "" || $(`#notest_${j - 1}`).val() == "" || $(`#u1max_${j - 1}`).val() == "" || $(`#u2max_${j - 1}`).val() == "" || $(`#theory_${j - 1}`).val() == "" || $(`#order_${j - 1}`).val() == "" ) { alert("Please fill all the details..!"); return; } tableArr.push(addRowDet); var addrow = `<tr> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.element} </td> <td class="tbl_row_new" style="text-align:initial !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.subname} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.theory} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.maxmarks} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.qnno} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.notest} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.u1max} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.u2max} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.order} </td> <td class="tbl_row_new" style="text-align:center !important; text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;"> ${addRowDet.delete} </td> </tr>`; $("#tabledata").append(addrow); $(`#element_${j}`).focus(); } function remove_tr(This, index) { if (index == 0) { alert("cannot delete this"); } else { delete tableArr[index]; This.closest("tr").remove(); } } function saveSubjectDet() { var finalArr = []; var degree = $("#degree").val(); var sem = $("#sem").val(); var sub = $("#subject").val(); var mmarks = $("#maxmarks").val(); for (var i = 0; i < tableArr.length; i++) { if (tableArr[i] != undefined || $(`#element_${i}`).val() != "") { var element = $(`#element_${i}`).val(); var subname = $(`#subname_${i}`).val(); var maxmarks = $(`#maxmarks_${i}`).val(); var qnno = $(`#qnno_${i}`).val(); var notest = $(`#notest_${i}`).val(); var u1max = $(`#u1max_${i}`).val(); var u2max = $(`#u2max_${i}`).val(); var theory = $(`#theory_${i}`).val(); var order = $(`#order_${i}`).val(); var input = { element: element, subname: subname, maxmarks: maxmarks, qnno: qnno, notest: notest, u1max: u1max, u2max: u2max, theory: theory, order: order, }; finalArr.push(input); } } for (var j = finalArr.length - 1; j >= 0; j--) { if (finalArr[j].element == undefined || finalArr[j].element == "") { finalArr.splice(j, 1); } } var j = tableArr.length; if ( $(`#element_${j - 1}`).val() == "" || $(`#subname_${j - 1}`).val() == "" || $(`#maxmarks_${j - 1}`).val() == "" || $(`#qnno_${j - 1}`).val() == "" || $(`#notest_${j - 1}`).val() == "" || $(`#u1max_${j - 1}`).val() == "" || $(`#u2max_${j - 1}`).val() == "" || $(`#theory_${j - 1}`).val() == "" || $(`#order_${j - 1}`).val() == "" ) { alert("Please fill all the details..!"); return; } for (var j = 0; j < finalArr.length - 1; j++) { if (finalArr[j + 1].element == finalArr[j].element) { alert("Duplicate Element Found"); return; } } let total = 0; for (var k = 0; k < finalArr.length; k++) { total += parseInt(finalArr[k]["maxmarks"]); } // if ( // window.db !== "nmamit" && // window.db !== "jssstu" && // window.db !== "jssu" // ) { // if (parseInt(total) != parseInt(mmarks)) { // alert("Element total maximum is not matching with subject maximum"); // return; // } // } $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "POST", data: "&tdata=" + JSON.stringify(finalArr) + "°ree=" + degree + "&sem=" + sem + "&subject=" + sub, url: $host_url + "saveIASubDetData", success: function (res) { console.log(); let response = JSON.parse(res); if (response.error_code == 0) { alert(response.data.msg); getSubDetData(); $.unblockUI(); return; } else { alert(response.data.msg); $.unblockUI(); return; } }, }); } function getMaximumMarks() { let degree = $("#degree").val(); let sem = $("#sem").val(); let subject = $("#subject").val(); $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>", }); $.ajax({ type: "GET", url: $host_url + "getSubDetMaxMarks", data: "°ree=" + degree + "&sem=" + sem + "&subject=" + subject, success: function (res) { let response = JSON.parse(res); console.log(response); if (response.error_code === 0) { $("#maxmarks").val(response.data.fvalmax); $.unblockUI(); } else { alert(res.data.msg); $.unblockUI(); return; } }, }); }
Close