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 | : 3.138.178.162
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 /
html /
gfgcg /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
New folder
[ DIR ]
drwxr-xr-x
Report
[ DIR ]
drwxr-xr-x
base_file
[ DIR ]
drwxr-xr-x
events
[ DIR ]
drwxr-xr-x
nitte
[ DIR ]
drwxr-xr-x
popups
[ DIR ]
drwxr-xr-x
.DS_Store
25.95
KB
-rwxr-xr-x
AbsentEntrySubjectWise.js
14.12
KB
-rwxr-xr-x
AbsentEntrySubjectWise_old.js
13.91
KB
-rwxr-xr-x
AbsentEntrySubjectWiseold.js
14.12
KB
-rwxr-xr-x
AllkeyEvent.js
33.05
KB
-rwxr-xr-x
Dispatch_answer_script.js
17.91
KB
-rwxr-xr-x
Dispatch_answer_script_qp.js
16.33
KB
-rwxr-xr-x
Dispatch_answer_script_qpold.j...
16.33
KB
-rwxr-xr-x
ECHblk.js
6.67
KB
-rwxr-xr-x
IdentifyTransactions.js
2.13
KB
-rwxr-xr-x
MainPage.js
17.81
KB
-rwxr-xr-x
Message_board.js
5.02
KB
-rwxr-xr-x
Registrationpage.js
2.22
KB
-rwxr-xr-x
UpdateCollDet.js
7.05
KB
-rwxr-xr-x
absententrysubjectwiseQP.js
16.36
KB
-rwxr-xr-x
absententrysubjectwiseQPold (2...
16.33
KB
-rwxr-xr-x
absententrysubjectwiseQPold.js
16.33
KB
-rwxr-xr-x
ack_adm_application.html
1.79
KB
-rwxr-xr-x
ack_adm_application.js
44.35
KB
-rwxr-xr-x
ack_admentry_application.js
56.83
KB
-rwxr-xr-x
ack_application.js
4.12
KB
-rwxr-xr-x
ack_chalentries.js
3.79
KB
-rwxr-xr-x
ack_exam_app_form - 3020.js
2.52
KB
-rwxr-xr-x
ack_exam_app_form.js
2.44
KB
-rwxr-xr-x
ack_exam_app_form111.js
2.85
KB
-rwxr-xr-x
ack_exam_app_form_bulk - Copy....
2.06
KB
-rwxr-xr-x
ack_exam_app_form_bulk.js
2.06
KB
-rwxr-xr-x
ack_exam_app_form_oldformat.js
2.44
KB
-rwxr-xr-x
ack_registration.js
2.11
KB
-rwxr-xr-x
ack_rv_rt_application.js
2.45
KB
-rwxr-xr-x
ack_rv_rt_report.js
3.32
KB
-rwxr-xr-x
adm_delete_data.js
3.29
KB
-rwxr-xr-x
admchallanpreparation.js
5.59
KB
-rwxr-xr-x
admdownloadexsheet.js
414
B
-rwxr-xr-x
admission_approve.js
20.71
KB
-rwxr-xr-x
admission_entry_reg.js
42.73
KB
-rwxr-xr-x
admission_entry_status.js
1.06
KB
-rwxr-xr-x
admissionapplist.js
3.79
KB
-rwxr-xr-x
admstuddate.js
3.9
KB
-rwxr-xr-x
admuploadexsheet.js
1.31
KB
-rwxr-xr-x
ansbookcancel.js
12.07
KB
-rwxr-xr-x
answer_book_issued.js
11.15
KB
-rwxr-xr-x
apprCandidList.js
1.03
KB
-rwxr-xr-x
appstatus.js
2.57
KB
-rwxr-xr-x
attendance.js
6.64
KB
-rwxr-xr-x
attendance_freez.js
5.7
KB
-rwxr-xr-x
attendance_freez_mth.js
7.05
KB
-rwxr-xr-x
attshort.js
1.52
KB
-rwxr-xr-x
backup.js
2.73
KB
-rwxr-xr-x
backup_restore.js
1.36
KB
-rwxr-xr-x
bcuregn.js
7.09
KB
-rwxr-xr-x
boeselection.js
7.62
KB
-rwxr-xr-x
bundle_ack.js
1.42
KB
-rwxr-xr-x
bundle_dispatch.js
7.82
KB
-rwxr-xr-x
bundle_rec_ack.js
1.08
KB
-rwxr-xr-x
bundledispatchdatewise.js
2.04
KB
-rwxr-xr-x
bundlereceive.js
971
B
-rwxr-xr-x
bundlestatus.js
1.28
KB
-rwxr-xr-x
calendar-en.js
3.52
KB
-rwxr-xr-x
calendar-setup.js
8.65
KB
-rwxr-xr-x
calendar.js
48.08
KB
-rwxr-xr-x
calender.js
903
B
-rwxr-xr-x
candidate_list.js
33.47
KB
-rwxr-xr-x
candidate_list_com27092016.js
30.36
KB
-rwxr-xr-x
centerdet.js
1.57
KB
-rwxr-xr-x
challan_entries.js
3.92
KB
-rwxr-xr-x
challan_preparation.js
2.77
KB
-rwxr-xr-x
changeAdmDegree.js
4.01
KB
-rwxr-xr-x
changeMobile.js
3.03
KB
-rwxr-xr-x
checkbrowser.js
2.46
KB
-rwxr-xr-x
cntrDeclaration.js
3.12
KB
-rwxr-xr-x
coll_exam_app_form.js
909
B
-rwxr-xr-x
collbankdet.js
1.91
KB
-rwxr-xr-x
colldesp_ack.js
3.3
KB
-rwxr-xr-x
college.js
4.56
KB
-rwxr-xr-x
college_BEFORE_LOGINPOPUP.js
2.33
KB
-rwxr-xr-x
college_approve.js
19.79
KB
-rwxr-xr-x
college_degree_status.js
3.29
KB
-rwxr-xr-x
college_wise_degree_status.js
962
B
-rwxr-xr-x
collegedet.js
1.5
KB
-rwxr-xr-x
collfundtransfer.js
4.73
KB
-rwxr-xr-x
collinfo_popup.js
11.62
KB
-rwxr-xr-x
control.js
17.13
KB
-rwxr-xr-x
createAdmission.js
4.44
KB
-rwxr-xr-x
cronjob_sendsms.php
2.94
KB
-rwxr-xr-x
daterange.js
9.18
KB
-rwxr-xr-x
degree.js
2.92
KB
-rwxr-xr-x
display_details_in_grid.php
101.68
KB
-rwxr-xr-x
doc_verification.js
2.19
KB
-rwxr-xr-x
doc_verification_12102019.js
1.8
KB
-rwxr-xr-x
downloadFeeStatement.js
770
B
-rwxr-xr-x
downloadStudentPhotos.js
1.08
KB
-rwxr-xr-x
downloadStudentPhotosold.js
1.08
KB
-rwxr-xr-x
download_misc_files.js
1.6
KB
-rwxr-xr-x
entryexitevents.js
1.23
KB
-rwxr-xr-x
examAppChallan.js
6.54
KB
-rwxr-xr-x
export_import.js
1.83
KB
-rwxr-xr-x
export_import_setup.js
5.47
KB
-rwxr-xr-x
fee_report.js
4.38
KB
-rwxr-xr-x
fee_report_lsys.js
1.15
KB
-rwxr-xr-x
feeupdation.js
5.43
KB
-rwxr-xr-x
feeupdation_bulk.js
6.38
KB
-rwxr-xr-x
footer.js
6.32
KB
-rwxr-xr-x
form_submit.js
1.3
KB
-rwxr-xr-x
formatdate.js
12.14
KB
-rwxr-xr-x
freeze_Ad_Cl_Me.js
2.83
KB
-rwxr-xr-x
freeze_module_at_admin_college...
5.69
KB
-rwxr-xr-x
freeze_module_at_university_co...
4.55
KB
-rwxr-xr-x
freezeiaprici.js
5.22
KB
-rwxr-xr-x
grid_display.js
901
B
-rwxr-xr-x
import_marks.js
1.37
KB
-rwxr-xr-x
includeCSS.js
1.28
KB
-rwxr-xr-x
index.js
29.94
KB
-rwxr-xr-x
index_BEFORE_LOGINPOPUP.js
4.88
KB
-rwxr-xr-x
invigilators_dairy.js
4.79
KB
-rwxr-xr-x
jquery.color.js
3.57
KB
-rwxr-xr-x
jquery.js
29.15
KB
-rwxr-xr-x
load-report-js-files.js
10.34
KB
-rwxr-xr-x
load_js_files.js
701
B
-rwxr-xr-x
load_mannual_js_files.js
37.47
KB
-rwxr-xr-x
load_mannual_js_files_07062019...
36.27
KB
-rwxr-xr-x
load_mannual_js_files_before_u...
11.57
KB
-rwxr-xr-x
load_mannual_js_files_org.js
33.97
KB
-rwxr-xr-x
markentry_studentwise.js
9.29
KB
-rwxr-xr-x
markentry_subjectwise.js
17.75
KB
-rwxr-xr-x
markslistelement_report.js
5.92
KB
-rwxr-xr-x
mascomb.js
15.34
KB
-rwxr-xr-x
message_text.js
1.33
KB
-rwxr-xr-x
module_setup.js
4.44
KB
-rwxr-xr-x
month_cal.js
63.03
KB
-rwxr-xr-x
month_cal1.js
1.96
KB
-rwxr-xr-x
openPopUp.js
4.94
KB
-rwxr-xr-x
photoupload.js
4.45
KB
-rwxr-xr-x
popup.js
118.93
KB
-rwxr-xr-x
popupold.js
57.4
KB
-rwxr-xr-x
postnotification.js
8.71
KB
-rwxr-xr-x
printExamform.js
718
B
-rwxr-xr-x
push_data_to_studentportal.js
771
B
-rwxr-xr-x
qpindent.js
1.08
KB
-rwxr-xr-x
qpissue.js
1.36
KB
-rwxr-xr-x
receive_rv_rt_application.js
2.66
KB
-rwxr-xr-x
recociliaton.js
1.11
KB
-rwxr-xr-x
remove_exam_ack.js
1.02
KB
-rwxr-xr-x
report_SubjectListGeneral.js
3.26
KB
-rwxr-xr-x
report_exam_application_form.j...
1.89
KB
-rwxr-xr-x
report_setup.js
12.46
KB
-rwxr-xr-x
results_pdf.js
851
B
-rwxr-xr-x
resultsheet.js
3.21
KB
-rwxr-xr-x
revaluation.js
7.56
KB
-rwxr-xr-x
revaluation_oldtype.js
4.65
KB
-rwxr-xr-x
revaluation_withdegree.js
7.5
KB
-rwxr-xr-x
room_allotment.js
2.94
KB
-rwxr-xr-x
room_allotment_datewise.js
6.52
KB
-rwxr-xr-x
room_allotment_old_03082018.js
4.79
KB
-rwxr-xr-x
roomallotmantsummary.js
859
B
-rwxr-xr-x
roomdeclaration.js
5.42
KB
-rwxr-xr-x
rv_rt_guide_lines.js
428
B
-rwxr-xr-x
rvdates.js
8.08
KB
-rwxr-xr-x
sectionwisepermission.js
4.71
KB
-rwxr-xr-x
servicehead.js
9.02
KB
-rwxr-xr-x
serviceheadfee.js
10.71
KB
-rwxr-xr-x
services.js
7.96
KB
-rwxr-xr-x
student.php
5.23
KB
-rwxr-xr-x
studentWiseIAMarksPending.js
814
B
-rwxr-xr-x
student_entry.js
87.64
KB
-rwxr-xr-x
student_entry24.js
50.71
KB
-rwxr-xr-x
student_entry_14062018.js
44.4
KB
-rwxr-xr-x
student_entry_24112017.js
43.39
KB
-rwxr-xr-x
student_entry_kswu.js
37.89
KB
-rwxr-xr-x
student_entryold.js
33.98
KB
-rwxr-xr-x
studentphotolist.js
793
B
-rwxr-xr-x
studentphotolist_old.js
1.63
KB
-rwxr-xr-x
studentportal_remove.js
2.95
KB
-rwxr-xr-x
subjectAppearing_PopUp.js
1.92
KB
-rwxr-xr-x
subject_freshExam.js
11.11
KB
-rwxr-xr-x
subjectfreez.js
11.69
KB
-rwxr-xr-x
subjectwise_freezing_sectionwi...
5.79
KB
-rwxr-xr-x
subjectwise_invigilator_dairy....
1.23
KB
-rwxr-xr-x
sum.php
116
B
-rwxr-xr-x
system.js
12.41
KB
-rwxr-xr-x
system_utility.js
8.69
KB
-rwxr-xr-x
teachers.js
32.75
KB
-rwxr-xr-x
teachersOLD.js
13.7
KB
-rwxr-xr-x
teachers_old.js
29.15
KB
-rwxr-xr-x
teachersnew.js
21.4
KB
-rwxr-xr-x
teachersreport.js
1.15
KB
-rwxr-xr-x
topsheet.js
765
B
-rwxr-xr-x
transaction-series.js
6.5
KB
-rwxr-xr-x
updateSection.js
2.74
KB
-rwxr-xr-x
updateexamcnt.js
3.55
KB
-rwxr-xr-x
uploadStudentPhotos.js
3.84
KB
-rwxr-xr-x
uploadStudentPhotos_beforedown...
3.52
KB
-rwxr-xr-x
upload_details.js
4.03
KB
-rwxr-xr-x
uploadzip.js
3.95
KB
-rwxr-xr-x
usersetup.js
30.93
KB
-rwxr-xr-x
usersubj_identification.js
5.33
KB
-rwxr-xr-x
validate.js
10.16
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : teachers.js
// $geditinternalcode=1;CallEnableTeacherEntry("Edit"); var sel_qp_codes = []; var sed_qp_codes = []; function CallEnableTeacherEntry(type) { $("#page_main_div").load('html_modules/teachers.html', function () { document.getElementById('display_module_name').innerHTML = 'Teachers Entry'; document.getElementById('module_name_for_save').value = 'TeachersEntry'; document.getElementById('is_add_edit').value = type; getDefaultHeadFooterLinks('TEACHERS'); AssignTeachDropDownMenus(); sed_qp_codes = []; if (type == 'Add') { $geditinternalcode = 0; } if (type == 'Edit') { EditTeachertDetailsForUpdate($geditinternalcode); } } ); $('#module_details_div').hide(); } function AssignTeachDropDownMenus() { $.ajax({ type: "POST", url: $host_url + "getDegreeGroupQP", success: function ($responce) { $responce = eval('(' + $responce + ')'); document.getElementById('fdeggrp').options.length = 0; var deggrp = $responce.data['deggrp']; $op = new Option('--SELECT--', ''); document.getElementById('fdeggrp').options.add($op); for ($i = 0; $i < deggrp.length; $i++) { $op = new Option(deggrp[$i]['code'] + ' - ' + deggrp[$i]['value'], deggrp[$i]['code']); $op.id = deggrp[$i]['code']; document.getElementById('fdeggrp').options.add($op); } } }); $.ajax({ type: "POST", url: $host_url + "AssignTeachDropDownMenus", data: "id=", success: AssignTeachDropDownMenusSuccess }); } function AssignTeachDropDownMenusSuccess($responce) { $responce = eval('(' + $responce + ')'); // document.getElementById('department').options.length = 0; document.getElementById('designation').options.length = 0; // document.getElementById('faculty').options.length = 0; // var dept = $responce.data['dept']; var des = $responce.data['des']; // var fac = $responce.data['fac']; /*$op = new Option('--SELECT--', ''); document.getElementById('department').options.add($op); for ($i = 0; $i < dept.length; $i++) { $op = new Option(dept[$i]['value'], dept[$i]['code']); $op.id = dept[$i]['code']; document.getElementById('department').options.add($op); }*/ $op = new Option('--SELECT--', ''); document.getElementById('designation').options.add($op); for ($i = 0; $i < des.length; $i++) { $op = new Option(des[$i]['value'], des[$i]['code']); $op.id = des[$i]['code']; document.getElementById('designation').options.add($op); } /*$op = new Option('--SELECT--', ''); document.getElementById('faculty').options.add($op); for ($i = 0; $i < fac.length; $i++) { $op = new Option(fac[$i]['value'], fac[$i]['code']); $op.id = fac[$i]['code']; document.getElementById('faculty').options.add($op); }*/ } function getBoardsQP() { var fdeggrp = $("#fdeggrp").val(); if (fdeggrp == '') { alert("select degree group"); return; } $.ajax({ type: "GET", url: $host_url + "getQPBoards&fdeggrp=" + fdeggrp, success: function ($responce) { $responce = eval('(' + $responce + ')'); document.getElementById('fboard').options.length = 0; var board = $responce.data['board']; $op = new Option('--SELECT--', ''); document.getElementById('fboard').options.add($op); for ($i = 0; $i < board.length; $i++) { $op = new Option(board[$i]['code'] + ' - ' + board[$i]['value'], board[$i]['code']); $op.id = board[$i]['code']; document.getElementById('fboard').options.add($op); } } }); } var alphabet = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; function romanize(num) { if (!+num) return NaN; var digits = String(+num).split(""), key = ["", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM", "", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC", "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"], roman = "", i = 3; while (i--) roman = (key[+digits.pop() + (i * 10)] || "") + roman; return Array(+digits.join("") + 1).join("M") + roman; } function getSubjectsQP() { var fdeggrp = $("#fdeggrp").val(); if (fdeggrp == '') { alert("select degree group"); return; } var fexamno = $("#fexamno").val(); if (fexamno == '') { alert("select Semester"); return; } var fboard = $("#fboard").val(); if (fboard == '') { alert("select board"); return; } $.ajax({ type: "GET", url: $host_url + "getQPSubjects&fdeggrp=" + fdeggrp + "&fexamno=" + fexamno + "&fboard=" + fboard, success: function ($responce) { $responce = eval('(' + $responce + ')'); if ($responce.error_code == 0) { sel_qp_codes = $responce.data['qpdata']; // $("#qp_select_grid").html($responce.data['html']); $e_data = ''; $e_data = "<table width='90%' id='clear' class='tr_ventor_row' align='center' cellspacing='0' cellpadding='0' border='0' >"; $e_data += "<th align='left' colspan='7' class='ui-jqgrid-titlebar ui-widget-header ui-corner-tl ui-corner-tr ui-helper' style='font-size:12px; padding-left:6px; height:22px;'>Selected Valuation Subjects</th>"; $e_data += "<tr class='ui-state-default ui-jqgrid-hdiv'>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Sl. No.</td>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Sem.</td>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Board</td>"; $e_data += "<td align=center style='padding:2px; width:10%; border-bottom:1px solid #C5DBEC;border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>QP Code</td>"; $e_data += "<td align=center style='padding:2px; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Subject Name</td>"; $e_data += "<td align=center style='padding:2px; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Degree Range</td>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>select</td>"; $e_data += "</tr>"; var $edy_data = ''; var k = 1; for (el of sel_qp_codes) { $edy_data += `<tr class='ui-widget-content jqgrow'>`; $edy_data += `<td class='tbl_row_new' align='center' style='border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px;'>${k}</td>`; $edy_data += `<td class='tbl_row_new' align='center' style='border-right:1px solid #C5DBEC; padding:2px;'>${romanize(alphabet.indexOf(el.fexamno) + 1)}</td> `; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-right:1px solid #C5DBEC; padding:2px;' > ${el.fboard}</td>`; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px;' > ${el.fqpcode} <input type='hidden' value='${el.fqpcode}' id='hqpcode_${k}'> </td>`; $edy_data += `<td class='tbl_row_new' align = 'left' style = 'border-right:1px solid #C5DBEC; padding:2px;' > ${el.fsubname}</td> `; $edy_data += `<td class='tbl_row_new' align = 'left' style = 'border-right:1px solid #C5DBEC; padding:2px;' > ${el.fdegrees}</td> `; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-right:1px solid #C5DBEC; padding:2px;' > <input onchange='selectQpcode(this)' value='${el.fqpcode}' type='checkbox' name='sel_qpcode'></td>`; $edy_data += `</tr > `; k++; } $("#qp_select_grid").html($e_data + $edy_data); } else { alert($responce.data['msg']); } } }); } function selectQpcode(obj) { var qpobj = []; if (obj.checked == true) { qpobj = sel_qp_codes.filter((el, i) => { if (el.fqpcode == obj.value) { return { ...el, fdeleted: false }; } }); var dup = false; sed_qp_codes.filter((el, i) => { if (el.fqpcode == obj.value) { dup = true; } }); // console.log(dup) if (dup == false) sed_qp_codes = [...sed_qp_codes, ...qpobj]; } else { qpobj = sed_qp_codes.filter((el, i) => { if (el.fqpcode != obj.value) { return el; } }); sed_qp_codes = [...qpobj]; } buildSelectedGrid(); } function deleteQpcode(obj) { var qpobj = []; if (obj.checked == true) { qpobj = sed_qp_codes.map((el, i) => { if (el.fqpcode == obj.value) { return { ...el, fdeleted: true }; } return el; }); sed_qp_codes = [...qpobj]; } } function buildSelectedGrid() { $e_data = ''; $e_data = "<table width='90%' id='clear' class='tr_ventor_row' align='center' cellspacing='0' cellpadding='0' border='0' >"; $e_data += "<th align='left' colspan='7' class='ui-jqgrid-titlebar ui-widget-header ui-corner-tl ui-corner-tr ui-helper' style='font-size:12px; padding-left:6px; height:22px;'>Selected Valuation Subjects</th>"; $e_data += "<tr class='ui-state-default ui-jqgrid-hdiv'>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Sl. No.</td>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Sem.</td>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Board</td>"; $e_data += "<td align=center style='padding:2px; width:10%; border-bottom:1px solid #C5DBEC;border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>QP Code</td>"; $e_data += "<td align=center style='padding:2px; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Subject Name</td>"; $e_data += "<td align=center style='padding:2px; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Degree Range</td>"; $e_data += "<td align=center style='padding:2px; width:5%; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>delete</td>"; $e_data += "</tr>"; var $edy_data = ''; var k = 1; for (el of sed_qp_codes) { $edy_data += `<tr class='ui-widget-content jqgrow' > `; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px;' > ${k}</td> `; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-right:1px solid #C5DBEC; padding:2px;' > ${romanize(alphabet.indexOf(el.fexamno) + 1)}</td> `; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-right:1px solid #C5DBEC; padding:2px;' > ${el.fboard}</td> `; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px;' > ${el.fqpcode} <input type='hidden' value='${el.fqpcode}' id='hqpcode_${k}'> </td>`; $edy_data += `<td class='tbl_row_new' align = 'left' style = 'border-right:1px solid #C5DBEC; padding:2px;' > ${el.fsubname}</td> `; $edy_data += `<td class='tbl_row_new' align = 'left' style = 'border-right:1px solid #C5DBEC; padding:2px;' > ${el.fdegrees}</td> `; $edy_data += `<td class='tbl_row_new' align = 'center' style = 'border-right:1px solid #C5DBEC; padding:2px;' > <input onchange='deleteQpcode(this)' value='${el.fqpcode}' type='checkbox' name='sel_qpcode'></td>`; $edy_data += `</tr > `; k++; } $('#qp_selected_grid').html($e_data + $edy_data); } function DepartmentSubjectDropDownMenus(deptCode) { $.ajax({ type: "POST", url: $host_url + "DepartmentSubjectDropdown", data: "deptCode=" + deptCode, success: DepartmentSubjectDropDownMenuSuccess }); } function DepartmentSubjectDropDownMenuSuccess($responce) { $responce = eval('(' + $responce + ')'); var deptSubj = $responce.data['deptSubj']; document.getElementById('ss1').options.length = 0; document.getElementById('ss2').options.length = 0; document.getElementById('ss3').options.length = 0; document.getElementById('ss4').options.length = 0; document.getElementById('ss5').options.length = 0; $op = new Option("--SELECT--", "0"); $op.id = "0"; document.getElementById('ss1').options.add($op); $op = new Option("--SELECT--", "0"); $op.id = "0"; document.getElementById('ss2').options.add($op); $op = new Option("--SELECT--", "0"); $op.id = "0"; document.getElementById('ss3').options.add($op); $op = new Option("--SELECT--", "0"); $op.id = "0"; document.getElementById('ss4').options.add($op); $op = new Option("--SELECT--", "0"); $op.id = "0"; document.getElementById('ss5').options.add($op); for ($i = 0; $i < deptSubj.length; $i++) { $op = new Option(deptSubj[$i]['value'], deptSubj[$i]['code']); $op.id = deptSubj[$i]['code']; document.getElementById('ss1').options.add($op); } for ($i = 0; $i < deptSubj.length; $i++) { $op = new Option(deptSubj[$i]['value'], deptSubj[$i]['code']); $op.id = deptSubj[$i]['code']; document.getElementById('ss2').options.add($op); } for ($i = 0; $i < deptSubj.length; $i++) { $op = new Option(deptSubj[$i]['value'], deptSubj[$i]['code']); $op.id = deptSubj[$i]['code']; document.getElementById('ss3').options.add($op); } for ($i = 0; $i < deptSubj.length; $i++) { $op = new Option(deptSubj[$i]['value'], deptSubj[$i]['code']); $op.id = deptSubj[$i]['code']; document.getElementById('ss4').options.add($op); } for ($i = 0; $i < deptSubj.length; $i++) { $op = new Option(deptSubj[$i]['value'], deptSubj[$i]['code']); $op.id = deptSubj[$i]['code']; document.getElementById('ss5').options.add($op); } } function GetExamWorkString(code) { var str = ""; if ($("#ss" + code + "_examiner").is(':checked')) str += "EXAMINER|" if ($("#ss" + code + "_qp").is(':checked')) str += "QP SETTER|" if ($("#ss" + code + "_squad").is(':checked')) str += "SQUAD|" if ($("#ss" + code + "_chief").is(':checked')) str += "CHIEF SUP|" if ($("#ss" + code + "_cust").is(':checked')) str += "CUSTODIAN|" return str; } function AssignExamWorkString(code, string) { var exis_arr = new Array("EXAMINAR", "QP SETTER", "SQUAD", "CHIEF SUP", "CUSTODIAN"); var explode_str = string.split("|"); for (i = 0; i < explode_str.length; i++) { var val = explode_str[i]; if (val == "EXAMINER") { document.getElementById("ss" + code + "_examiner").checked = true; } if (val == "QP SETTER") { document.getElementById("ss" + code + "_qp").checked = true; } if (val == "SQUAD") { document.getElementById("ss" + code + "_squad").checked = true; } if (val == "CHIEF SUP") { document.getElementById("ss" + code + "_chief").checked = true; } if (val == "CUSTODIAN") { document.getElementById("ss" + code + "_cust").checked = true; } } } function SaveTeachersEntry() { $lstr_data = ""; if ($("#teacher_name").val() == '') { alert('Please enter teacher name'); document.getElementById('teacher_name').focus(); return; } if ($("#student_entry_dob_date").val() == '') { alert('Please select day of birth'); document.getElementById('student_entry_dob_date').focus(); return; } if ($("#student_entry_dob_month").val() == '') { alert('Please select month of birth'); document.getElementById('student_entry_dob_month').focus(); return; } if (empty($("#student_entry_dob_year").val())) { alert('Please enter year of birth'); document.getElementById('student_entry_dob_year').focus(); return; } var lmobile = $("#mobile").val(); var len_mobile = lmobile.length; if (len_mobile != 10) { alert('Please enter valid 10 digit mobile no'); document.getElementById('mobile').focus(); return; } var laadharno = $("#aadharno").val(); var len_aadharno = laadharno.length; if (len_aadharno != 12) { alert('Please enter valid 12 digit aadhar no.'); document.getElementById('aadharno').focus(); return; } if ($("#addr1").val() == '') { alert('Please enter address'); document.getElementById('addr1').focus(); return; } if ($("#designation").val() == '') { alert('Please select designation'); document.getElementById('designation').focus(); return; } if (empty($("#doj_date").val())) { alert('Please select joining date'); document.getElementById('doj_date').focus(); return; } if (empty($("#doj_month").val())) { alert('Please select joining month'); document.getElementById('doj_month').focus(); return; } if (empty($("#doj_year").val())) { alert('Please select joining year'); document.getElementById('doj_year').focus(); return; } if ($("#doe_year").val() == '') { alert('Please select experience year'); document.getElementById('doe_year').focus(); return; } if ($("#doe_month").val() == '') { alert('Please select experience month'); document.getElementById('doe_month').focus(); return; } if ($("#teacher_scale").val() == '') { alert('Please select salary scale'); document.getElementById('teacher_scale').focus(); return; } if ($("#qualification").val() == '') { alert('Please enter qualification'); document.getElementById('qualification').focus(); return; } var rgValQP = []; if ($("input[name='valelig']:checked").val() == 'Yes') { if (sed_qp_codes.length == 0) { alert('Please Select Valuation subjects'); document.getElementById('fdeggrp').focus(); return; } else { for (el of sed_qp_codes) { if (el.fdeleted !== true) rgValQP.push(el.fqpcode) } } } var strValQP = JSON.stringify(rgValQP); if ($("#status").val() == '') { alert('Please select working status'); document.getElementById('status').focus(); return; } if ($("#accno").val() == '') { alert('Please enter bank account no.'); document.getElementById('accno').focus(); return; } var lifsccode = $("#ifsccode").val(); var len_ifsccode = lifsccode.length; if (len_ifsccode != 11) { alert('Please enter valid 11 digit IFSC code'); document.getElementById('ifsccode').focus(); return; } if ($("#bankname").val() == '') { alert('Please enter name of the bank'); document.getElementById('bankname').focus(); return; } var lpanno = $("#panno").val(); var len_panno = lpanno.length; if (len_panno != 10) { alert('Please enter valid 10 digit PAN no.'); document.getElementById('panno').focus(); return; } dob = $("#student_entry_dob_year").val() + '-' + returnMonthValue($("#student_entry_dob_month").val()) + '-' + $("#student_entry_dob_date").val(); doj = $("#doj_year").val() + '-' + returnMonthValue($("#doj_month").val()) + '-' + $("#doj_date").val(); doe = $("#doe_year").val() + '-' + returnMonthValue($("#doe_month").val()) + '-' + $("#doe_date").val(); $lstr_data += "&internal_code=" + $geditinternalcode; $lstr_data += "&teacher_code=" + encodeURIComponent($("#teacher_code").val()); $lstr_data += "&teacher_name=" + encodeURIComponent($("#teacher_name").val()); $lstr_data += "&aadharno=" + encodeURIComponent($("#aadharno").val()); $lstr_data += "&accno=" + encodeURIComponent($("#accno").val()); $lstr_data += "&ifsccode=" + encodeURIComponent($("#ifsccode").val()); $lstr_data += "&bankname=" + encodeURIComponent($("#bankname").val()); $lstr_data += "&panno=" + encodeURIComponent($("#panno").val()); $lstr_data += "&designation=" + encodeURIComponent($("#designation").val()); $lstr_data += "&qualification=" + encodeURIComponent($("#qualification").val()); $lstr_data += "&gender=" + encodeURIComponent($("#gender").val()); $lstr_data += "&dob=" + dob; $lstr_data += "&doj=" + doj; $lstr_data += "&doe=" + doe; $lstr_data += "&teacher_scale=" + encodeURIComponent($("#teacher_scale").val()); $lstr_data += "&status=" + encodeURIComponent($("#status").val()); $lstr_data += "&fulltime=" + encodeURIComponent($("input[name='fulltime']:checked").val());//fulltime $lstr_data += "&permanent=" + encodeURIComponent($("input[name='permanent']:checked").val());//permanent $lstr_data += "&land_line_no=" + encodeURIComponent($("#land_line_no").val()); $lstr_data += "&mobile=" + encodeURIComponent($("#mobile").val()); $lstr_data += "&email_id=" + encodeURIComponent($("#email_id").val()); $lstr_data += "&addr1=" + encodeURIComponent($("#addr1").val()); $lstr_data += "&addr2=" + encodeURIComponent($("#addr2").val()); $lstr_data += "&addr3=" + encodeURIComponent($("#addr3").val()); $lstr_data += "&addr4=" + encodeURIComponent($("#addr4").val()); $lstr_data += "&remarks=" + encodeURIComponent($("#remarks").val()); $lstr_data += "&member=" + encodeURIComponent($("input[name='member']:checked").val()); //member // valelig $lstr_data += "&valelig=" + encodeURIComponent($("input[name='valelig']:checked").val());//strValQP $lstr_data += "&valqp=" + strValQP; console.log($lstr_data); var valid_file_extentions = new Array("jpeg", "jpg", 'png', 'gif'); var ext = $("#student_entry_upload").val(); filepath = ext; ext = ext.substring(ext.length - 3, ext.length); ext = ext.toLowerCase(); if (ext != "" && !in_array(ext, valid_file_extentions)) { alert("Please Select the Valid Photo!"); return false; } $lstr_data += "&filepath=" + filepath; $upload = $host_url + "SaveTeachersEntry&" + $lstr_data; document.getElementById("form_module_image_upload").setAttribute("action", $upload); //return AIM.submit(document.getElementById("form_student_entry"), '_new',{'onComplete' : saveStudentEntryResponse}); return AIM.submit(document.getElementById("form_module_image_upload"), 'same_tab', { 'onComplete': saveTeacherEntryResponse }); } function saveTeacherEntryResponse($responce) { $responce = eval('(' + $responce + ')'); if ($responce.error_code == 0) { alert($responce.data); CallEnableTeacherEntry("Add") } else alert($responce.data); } function ViewTeacherDetails() { $main = "<table id='view_teacher_entry' class='scroll' ondblclick='SelectTeacherRowId();'></table> <div id='sub_grid_div' class='scroll' style='text-align:center;'></div>"; document.getElementById('page_main_div').innerHTML = $main; var student_details = jQuery("#view_teacher_entry").jqGrid( { url: $host_url + 'ViewTeacherDetails', datatype: "json", colNames: ['Code', 'Teacher', 'Gender', 'Scale', 'Full Time', 'Experience', 'Status', 'Updated On'], colModel: [ { name: 'FTEACHCODE', index: 'FTEACHCODE', width: 50, align: 'center' }, { name: 'FTEACHNAME', index: 'FTEACHNAME', width: 140 }, { name: 'FGENDER', index: 'FGENDER', width: 60, align: 'center' }, { name: 'FSCALE', index: 'FSCALE', width: 60, align: 'center' }, { name: 'FFULLTIME', index: 'FFULLTIME', width: 60, align: 'center' }, { name: 'FEXP', index: 'FEXP', width: 60, align: 'center' }, { name: 'FSTATUS', index: 'FSTATUS', width: 80, align: 'center' }, { name: 'FLOGDATE', index: 'FLOGDATE', width: 100, align: 'center' }], rowNum: 20, rowList: [20, 30, 40, 60], imgpath: $img_path, pager: jQuery('#sub_grid_div'), sortname: 'id', height: '300', viewrecords: true, sortorder: "desc", multiselect: true, cellEdit: true, width: '850', caption: "Teacher Details", editurl: $host_url + 'deleteTeacherDetails' }).navGrid('#sub_grid_div', { edit: false, add: false, del: false, search: true }, {}, {}, {}, { multipleSearch: true }) .navButtonAdd('#sub_grid_div', { caption: "Toggle", buttonicon: 'ui-icon-pin-s', onClickButton: function () { student_details[0].toggleToolbar() } }) .navButtonAdd('#sub_grid_div', { caption: "Edit", onClickButton: function () { SelectTeacherRowId(); } }); student_details.filterToolbar(); $("#gs_grid_sl_no").focus(); $('.ui-search-toolbar').bind('keydown', function (evt) { var kC = (evt.which) ? evt.which : evt.keyCode; if (kC == 40) jQuery('#degree_grid').editCell(0, 0, false); }); } function SelectTeacherRowId() { var id = jQuery("#view_teacher_entry").getGridParam('selrow'); if (id) { $geditinternalcode = id; CallEnableTeacherEntry('Edit'); var dataset = jQuery("#view_teacher_entry").getRowData(id); } else { alert("Please select row in grid"); return; } } function EditTeachertDetailsForUpdate(id) { //DepartmentSubjectDropDownMenus('0006') ; $.ajax({ type: "POST", //async:false, url: $host_url + "EditTeachertDetailsForUpdate", data: "internal_code=" + id, success: EditTeachertDetailsForUpdateResponse }); } function EditTeachertDetailsForUpdateResponse($responce) { $responce = eval('(' + $responce + ')'); if ($responce.error_code == 0) { // $teachsub = $responce.data['teachsub']; sed_qp_codes = $responce.data['teachsub']; if (sed_qp_codes.length > 0) buildSelectedGrid(); $responce.data = $responce.data['masteach']; $("#student_entry_photo").attr("src", $responce.data['FPHOTO']); $("#teacher_code").val($responce.data['FTEACHCODE']); $("#teacher_name").val($responce.data['FTEACHNAME']); $("#student_entry_dob_date").val($responce.data['FDOB_date']); $("#student_entry_dob_month").val($responce.data['FDOB_month']); $("#student_entry_dob_year").val($responce.data['FDOB_Year']); $("#doj_date").val($responce.data['FDOA_date']); $("#doj_month").val($responce.data['FDOA_month']); $("#doj_year").val($responce.data['FDOA_Year']); $("#doe_date").val($responce.data['FDOC_date']); $("#doe_month").val($responce.data['FDOC_month']); $("#doe_year").val($responce.data['FDOC_Year']); $("#gender").val($responce.data['FGENDER']); $("#designation").val($responce.data['FDEGNCODE']); $("#qualification").val($responce.data['FQUAL']); $("#teacher_scale").val($responce.data['FSCALE']); $("#ifsccode").val($responce.data['FIFSCCODE']); $("#bankname").val($responce.data['FBANKNAME']); $("#panno").val($responce.data['FPANNO']); $("#accno").val($responce.data['FACCNO']); $("#aadharno").val($responce.data['FAADHARNO']); $('input:radio[name="fulltime"]').filter("[value='" + $responce.data['FFULLTIME'] + "']").attr('checked', true); // $("#fulltime").val($responce.data['FFULLTIME']); $('input:radio[name="permanent"]').filter("[value='" + $responce.data['FPERMANENT'] + "']").attr('checked', true); $('input:radio[name="member"]').filter("[value='" + $responce.data['FMEMBER'] + "']").attr('checked', true); $('input:radio[name="valelig"]').filter("[value='" + $responce.data['FVALELIG'] + "']").attr('checked', true); // $("#member").val($responce.data['FMEMBER']); // $("#permanent").val($responce.data['FPERMANENT']); $("#land_line_no").val($responce.data['FPHONE']); $("#mobile").val($responce.data['FMOBILE']); $("#email_id").val($responce.data['FEMAIL']); $("#addr1").val($responce.data['FADDR1']); $("#addr2").val($responce.data['FADDR2']); $("#addr3").val($responce.data['FADDR3']); $("#addr4").val($responce.data['FADDR4']); $("#remarks").val($responce.data['FREMARKS']); $("#status").val($responce.data['FSTATUS']); } } function returnMonthValue(val) { var month_array = new Array(); month_array['Jan'] = '01'; month_array['Feb'] = '02'; month_array['Mar'] = '03'; month_array['Apr'] = '04'; month_array['May'] = '05'; month_array['Jun'] = '06'; month_array['Jul'] = '07'; month_array['Aug'] = '08'; month_array['Sep'] = '09'; month_array['Oct'] = '10'; month_array['Nov'] = '11'; month_array['Dec'] = '12'; return month_array[val]; } function returnMonthName(val) { var month_array = new Array(); month_array['Jan'] = '01'; month_array['Feb'] = '02'; month_array['Mar'] = '03'; month_array['Apr'] = '04'; month_array['May'] = '05'; month_array['Jun'] = '06'; month_array['Jul'] = '07'; month_array['Aug'] = '08'; month_array['Sep'] = '09'; month_array['Oct'] = '10'; month_array['Nov'] = '11'; month_array['Dec'] = '12'; return month_array[val]; } function deleteTeacherRecord() { var ids = jQuery("#view_teacher_entry").getGridParam('selarrrow'); var delete_arr = new Object(); if (ids) { for (var p = 0; p < ids.length; p++) { //alert(ids); var dataset = jQuery("#view_teacher_entry").getRowData(ids[p]); var teach_code = dataset['FTEACHCODE']; var tech_name = dataset['FTEACHNAME']; //alert(sl_no); delete_arr[p] = new Object(); delete_arr[p]['teach_code'] = teach_code; delete_arr[p]['tech_name'] = tech_name; } var agree = confirm("Would you like to Delete this Record..!!"); if (agree) { var myJSONText = encodeURIComponent(JSON.stringify(delete_arr)); $.ajax({ type: "POST", //async:false, url: $host_url + "disableTeacherRecord", data: "&delete_arr=" + myJSONText, success: disableRecordResponse }); } } else { alert("Please select row in grid"); return; } } function disableRecordResponse($responce) { $responce = eval('(' + $responce + ')'); if ($responce.error_code == 0) { alert("Record Deleted Successfully"); $('#view_teacher_entry').trigger("reloadGrid"); } } function onlyAlphabets(e, t) { try { var charCode = e.which || e.keyCode; if ((charCode > 47 && charCode < 58) || (charCode > 64 && charCode < 91) || (charCode > 96 && charCode < 123) || charCode == 32 || charCode == 190 || charCode == 8 || charCode == 188 || charCode == 9 || charCode == 46 || charCode == 35 || charCode == 36 || charCode == 44) { return true; } else { return false; } } catch (err) { alert(err.Description); } }
Close