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.15.225.188
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_old /
[ HOME SHELL ]
Name
Size
Permission
Action
Report
[ DIR ]
drwxr-sr-x
base_file
[ DIR ]
drwxr-sr-x
events
[ DIR ]
drwxr-sr-x
popups
[ DIR ]
drwxr-sr-x
AbsentEntrySubjectWise.js
15.63
KB
-rwxr-xr-x
AllkeyEvent.js
38.37
KB
-rwxr-xr-x
Dispatch_answer_script.js
18.98
KB
-rwxr-xr-x
Dispatch_answer_script_qp.js
17.24
KB
-rwxr-xr-x
ECHblk.js
6.49
KB
-rwxr-xr-x
IdentifyTransactions.js
2.22
KB
-rwxr-xr-x
MainPage.js
18.24
KB
-rwxr-xr-x
Message_board.js
5.24
KB
-rwxr-xr-x
Registrationpage.js
2.22
KB
-rwxr-xr-x
UpdateCollDet.js
7.24
KB
-rwxr-xr-x
absententrysubjectwiseQP.js
17.99
KB
-rwxr-xr-x
ack_adm_application.js
45.7
KB
-rwxr-xr-x
ack_admentry_application.js
58.39
KB
-rwxr-xr-x
ack_application.js
4.37
KB
-rwxr-xr-x
ack_chalentries.js
4.16
KB
-rwxr-xr-x
ack_exam_app_form.js
3.24
KB
-rwxr-xr-x
ack_exam_app_form_bulk.js
2.28
KB
-rwxr-xr-x
ack_registration.js
2.36
KB
-rwxr-xr-x
ack_rv_rt_application.js
2.68
KB
-rwxr-xr-x
ack_rv_rt_report.js
3.63
KB
-rwxr-xr-x
adm_delete_data.js
3.44
KB
-rwxr-xr-x
admchallanpreparation.js
6.17
KB
-rwxr-xr-x
admdownloadexsheet.js
472
B
-rwxr-xr-x
admission_approve.js
21.33
KB
-rwxr-xr-x
admission_entry_reg.js
47.43
KB
-rwxr-xr-x
admission_entry_status.js
1.15
KB
-rwxr-xr-x
admissionapplist.js
3.97
KB
-rwxr-xr-x
admstuddate.js
4.36
KB
-rwxr-xr-x
admuploadexsheet.js
1.45
KB
-rwxr-xr-x
ansbookcancel.js
13.49
KB
-rwxr-xr-x
answer_book_issued.js
12.43
KB
-rwxr-xr-x
apprCandidList.js
1.07
KB
-rwxr-xr-x
appstatus.js
2.91
KB
-rwxr-xr-x
attendance.js
7.13
KB
-rwxr-xr-x
attendance_freez.js
6.15
KB
-rwxr-xr-x
attendance_freez_mth.js
7.77
KB
-rwxr-xr-x
attshort.js
1.73
KB
-rwxr-xr-x
backup.js
3.15
KB
-rwxr-xr-x
backup_restore.js
1.38
KB
-rwxr-xr-x
bcuregn.js
7.39
KB
-rwxr-xr-x
boeselection.js
8.27
KB
-rwxr-xr-x
bundle_ack.js
1.55
KB
-rwxr-xr-x
bundle_dispatch.js
8.75
KB
-rwxr-xr-x
bundle_rec_ack.js
1.19
KB
-rwxr-xr-x
bundledispatchdatewise.js
2.04
KB
-rwxr-xr-x
bundlereceive.js
1.01
KB
-rwxr-xr-x
bundlestatus.js
1.46
KB
-rwxr-xr-x
calendar-en.js
3.64
KB
-rwxr-xr-x
calendar-setup.js
8.84
KB
-rwxr-xr-x
calendar.js
49.85
KB
-rwxr-xr-x
calender.js
922
B
-rwxr-xr-x
candidate_list.js
36.74
KB
-rwxr-xr-x
centerdet.js
1.54
KB
-rwxr-xr-x
challan_entries.js
4.21
KB
-rwxr-xr-x
challan_preparation.js
2.94
KB
-rwxr-xr-x
changeAdmDegree.js
4.3
KB
-rwxr-xr-x
changeMobile.js
3.26
KB
-rwxr-xr-x
checkbrowser.js
2.58
KB
-rwxr-xr-x
cntrDeclaration.js
3.6
KB
-rwxr-xr-x
coll_exam_app_form.js
1017
B
-rwxr-xr-x
collbankdet.js
2.1
KB
-rwxr-xr-x
colldesp_ack.js
3.7
KB
-rwxr-xr-x
college.js
4.76
KB
-rwxr-xr-x
college_BEFORE_LOGINPOPUP.js
2.44
KB
-rwxr-xr-x
college_approve.js
23.99
KB
-rwxr-xr-x
college_degree_status.js
3.41
KB
-rwxr-xr-x
college_wise_degree_status.js
1.08
KB
-rwxr-xr-x
collegedet.js
1.47
KB
-rwxr-xr-x
collfundtransfer.js
5.16
KB
-rwxr-xr-x
collinfo_popup.js
12.03
KB
-rwxr-xr-x
control.js
17.74
KB
-rwxr-xr-x
convdet.js
5.9
KB
-rwxr-xr-x
createAdmission.js
4.61
KB
-rwxr-xr-x
daterange.js
10.38
KB
-rwxr-xr-x
degree.js
3.02
KB
-rwxr-xr-x
degstudymat.js
4.89
KB
-rwxr-xr-x
degstudymatdet.js
3.47
KB
-rwxr-xr-x
doc_verification.js
2.34
KB
-rwxr-xr-x
downloadFeeStatement.js
907
B
-rwxr-xr-x
downloadStudentPhotos.js
1.13
KB
-rwxr-xr-x
download_misc_files.js
1.7
KB
-rwxr-xr-x
entryexitevents.js
1.27
KB
-rwxr-xr-x
examAppChallan.js
6.7
KB
-rwxr-xr-x
examAttendanceReport.js
2.37
KB
-rwxr-xr-x
export_import.js
1.66
KB
-rwxr-xr-x
export_import_setup.js
5.81
KB
-rwxr-xr-x
fee_report.js
4.91
KB
-rwxr-xr-x
fee_report_lsys.js
1.28
KB
-rwxr-xr-x
feepaidreports.js
2.02
KB
-rwxr-xr-x
feeupdation.js
5.88
KB
-rwxr-xr-x
feeupdation_bulk.js
6.98
KB
-rwxr-xr-x
footer.js
6.59
KB
-rwxr-xr-x
form_submit.js
1.36
KB
-rwxr-xr-x
formatdate.js
12.48
KB
-rwxr-xr-x
freeze_Ad_Cl_Me.js
2.95
KB
-rwxr-xr-x
freeze_module_at_admin_college...
6.14
KB
-rwxr-xr-x
freeze_module_at_university_co...
4.99
KB
-rwxr-xr-x
freezeiaprici.js
5.66
KB
-rwxr-xr-x
grid_display.js
939
B
-rwxr-xr-x
import_marks.js
1.45
KB
-rwxr-xr-x
includeCSS.js
1.34
KB
-rwxr-xr-x
index.js
30.96
KB
-rwxr-xr-x
index_BEFORE_LOGINPOPUP.js
5.05
KB
-rwxr-xr-x
invigilators_dairy.js
5.65
KB
-rwxr-xr-x
jquery.color.js
3.69
KB
-rwxr-xr-x
jquery.js
29.16
KB
-rwxr-xr-x
load-report-js-files.js
10.98
KB
-rwxr-xr-x
load_js_files.js
736
B
-rwxr-xr-x
load_mannual_js_files.js
39.51
KB
-rwxr-xr-x
markentry_studentwise.js
10.26
KB
-rwxr-xr-x
markentry_subjectwise.js
19.5
KB
-rwxr-xr-x
markslistelement_report.js
6.72
KB
-rwxr-xr-x
mascomb.js
17.08
KB
-rwxr-xr-x
message_text.js
1.45
KB
-rwxr-xr-x
module_setup.js
4.83
KB
-rwxr-xr-x
month_cal.js
64.55
KB
-rwxr-xr-x
month_cal1.js
2.11
KB
-rwxr-xr-x
openPopUp.js
5.11
KB
-rwxr-xr-x
photoupload.js
4.78
KB
-rwxr-xr-x
popup.js
126.47
KB
-rwxr-xr-x
popupold.js
59.11
KB
-rwxr-xr-x
postnotification.js
9.57
KB
-rwxr-xr-x
printExamform.js
817
B
-rwxr-xr-x
push_data_to_studentportal.js
845
B
-rwxr-xr-x
qpindent.js
1.21
KB
-rwxr-xr-x
qpissue.js
1.48
KB
-rwxr-xr-x
receive_rv_rt_application.js
2.95
KB
-rwxr-xr-x
recociliaton.js
1.25
KB
-rwxr-xr-x
remove_exam_ack.js
1.11
KB
-rwxr-xr-x
report_SubjectListGeneral.js
3.59
KB
-rwxr-xr-x
report_exam_application_form.j...
2.57
KB
-rwxr-xr-x
report_setup.js
13.77
KB
-rwxr-xr-x
results_pdf.js
953
B
-rwxr-xr-x
resultsheet.js
3.36
KB
-rwxr-xr-x
revaluation.js
8.52
KB
-rwxr-xr-x
revaluation_oldtype.js
5.14
KB
-rwxr-xr-x
revaluation_withdegree.js
8.48
KB
-rwxr-xr-x
room_allotment.js
3.21
KB
-rwxr-xr-x
room_allotment_datewise.js
6.74
KB
-rwxr-xr-x
roomallotmantsummary.js
975
B
-rwxr-xr-x
roomdeclaration.js
6.23
KB
-rwxr-xr-x
rv_rt_guide_lines.js
477
B
-rwxr-xr-x
rvdates.js
9.23
KB
-rwxr-xr-x
sectionwisepermission.js
5.15
KB
-rwxr-xr-x
sendnotification.js
3.64
KB
-rwxr-xr-x
servicehead.js
9.98
KB
-rwxr-xr-x
serviceheadfee.js
11.71
KB
-rwxr-xr-x
services.js
8.84
KB
-rwxr-xr-x
studentWiseIAMarksPending.js
930
B
-rwxr-xr-x
student_entry.js
96.12
KB
-rwxr-xr-x
studentphotolist.js
910
B
-rwxr-xr-x
studentportal_remove.js
3.12
KB
-rwxr-xr-x
subjectAppearing_PopUp.js
1.97
KB
-rwxr-xr-x
subject_freshExam.js
12.21
KB
-rwxr-xr-x
subjectfreez.js
12.67
KB
-rwxr-xr-x
subjectwise_freezing_sectionwi...
6.3
KB
-rwxr-xr-x
subjectwise_invigilator_dairy....
1.41
KB
-rwxr-xr-x
subshort.js
4.26
KB
-rwxr-xr-x
system.js
13.49
KB
-rwxr-xr-x
system_utility.js
9.05
KB
-rwxr-xr-x
teachOficerEntry.js
3.02
KB
-rwxr-xr-x
teachers.js
32.59
KB
-rwxr-xr-x
teachersreport.js
1.28
KB
-rwxr-xr-x
topsheet.js
845
B
-rwxr-xr-x
transaction-series.js
7.11
KB
-rwxr-xr-x
updateSection.js
3.05
KB
-rwxr-xr-x
updateexamcnt.js
3.76
KB
-rwxr-xr-x
uploadStudentPhotos.js
4.03
KB
-rwxr-xr-x
upload_details.js
4.15
KB
-rwxr-xr-x
uploadzip.js
4.32
KB
-rwxr-xr-x
usersetup.js
34.35
KB
-rwxr-xr-x
usersubj_identification.js
5.93
KB
-rwxr-xr-x
validate.js
10.54
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Dispatch_answer_script.js
$g_dispatch_ans_script_count = 1; $g_dispatch_ans_script_data = ""; $g_dispatch_popup = ""; $g_dispatch_degree_code = ""; $g_Dispatch_ans_script_header = ""; function LoadEnableDispatchanswerscript() { $("#page_main_div").load( "../html_modules/dispatch_answer_scripts.html", function() { $geditinternalcode = 0; window.enable_proper_module = "enableDispatchanswerscript"; document.getElementById("display_module_name").innerHTML = "Dispatch Answers Script"; document.getElementById("module_name_for_save").value = "saveDispatchAnswersScript"; document.getElementById("is_add_edit").value = "Edit"; getDefaultHeadFooterLinks("Dispatch Answers Script"); $("#print_row").hide(); retainDispatchAnsScripts(); } ); } function GetDefaultDispatchAnsScript() { if ($("#date_of_exam").val() == "") { alert("Please Enter Date of Exam"); $("#date_of_exam").focus(); return; } else if ($("#session_state").val() == "") { alert("Please Enter session"); $("#session_state").focus(); return; } $.ajax({ type: "POST", //async:false, url: $host_url + "getDefaultDispatchAnswersScript.demo", data: "date=" + encodeURIComponent(date_format($("#date_of_exam").val())) + "&session=" + trim($("#session_state").val()), success: GetDefaultDispatchAnswersScriptResponse }); } function GetDefaultDispatchAnswersScriptResponse($responce) { $responce = eval("(" + $responce + ")"); if ($responce.error_code == 0) { $("#Dispatch_default_ans_script_div").html($responce.data.html); $("#Dispatch_default_ans_script_div").show(); $("#dispatch_list_div").hide(); $g_dispatch_ans_script_data = $responce.data.table_data; //$('#add_row').focus(); } } function showDispatchAnswerScript() { document.getElementById("is_add_edit").value = "Add"; $("#dispatch_list_div").show(); $("#Dispatch_default_ans_script_div").hide(); } function getDASExamName($deg_value, $id) { if ($deg_value != "") getExamName($deg_value, $id); else { $deg_id = $id.substring($id.lastIndexOf("_") + 1); alert("Please Enter Degree"); $("#dispatch_degree_" + $deg_id).focus(); } } function CreateNextRowDispatchEntry($id) { $Textbox = document.getElementsByName("dispatch_ans_degree"); $NumTextBox = $Textbox.length; // alert($NumTextBox); $previous_NumTextBox = $Textbox.length; $sub = $id.substring($id.lastIndexOf("_") + 1); $NumTextBox += 1; $g_dispatch_ans_script_count = $NumTextBox; if (parseInt($NumTextBox % 2) == 0) { $input_class = "tbl_row_input"; $class = "tbl_row"; } else { $class = "tbl_row1"; $input_class = "tbl_row1_input"; } //document.getElementById("dispatch_degree_"+$previous_NumTextBox).readOnly=true; $tbody = document.getElementById("Dispatch_ans_script_header"); $rowcount = $tbody.rows.length; //alert($rowcount); $tr = $tbody.insertRow($rowcount); $tr.id = $NumTextBox; $tr.className = $class; $td_one = $tr.insertCell(0); $degree = document.createElement("input"); $degree.type = "text"; $degree.className = $input_class; $degree.id = "dispatch_degree_" + $NumTextBox; $degree.name = "dispatch_ans_degree"; $degree.onClick = "$g_dispatch_degree_code=" + $degree.id; // alert($g_dispatch_degree_code); $degree.align = "center"; $td_one.style.borderLeft = "solid #C5DBEC 1px"; $td_one.style.borderRight = "solid #C5DBEC 1px"; $td_one.style.borderBottom = "solid #C5DBEC 1px"; $td_one.style.padding = "2px"; $degree.onkeydown = DispatchDegreeEntryPopup; $degree.onblur = function() { getDASDegreeCode(this.id); }; $degree.onfocus = function() { assignGolbalDispatchScriptIDS(this.id); }; $td_one.appendChild($degree); // $td_one.style.width = "30px"; $td_one.align = "center"; $td_two = $tr.insertCell(1); $exam = document.createElement("input"); $exam.type = "text"; $exam.className = $input_class; $exam.id = "dispatch_exam_" + $NumTextBox; $exam.name = "dispatch_ans_exam"; $exam.align = "center"; $td_two.style.borderRight = "solid #C5DBEC 1px"; $td_two.style.borderBottom = "solid #C5DBEC 1px"; $td_two.style.padding = "2px"; $exam.onkeydown = DispatchExamEntryPopup; $exam.onblur = function() { getExamName(document.getElementById($degree.id).value, this.id); }; $exam.onfocus = function() { assignGolbalDispatchScriptIDS(this.id); }; $td_two.appendChild($exam); // $td_two.style.width = "20px"; $td_two.align = "center"; $td_three = $tr.insertCell(2); $code = document.createElement("input"); $code.type = "text"; $code.className = $input_class; $code.id = "dispatch_subcode_" + $NumTextBox; $code.name = "dispatch_ans_subcode"; $code.align = "center"; $td_three.style.borderRight = "solid #C5DBEC 1px"; $td_three.style.borderBottom = "solid #C5DBEC 1px"; $td_three.style.padding = "2px"; $code.setAttribute( "onkeydown", "keyboardSubjectNamesPopupForAnswerScript(event,'" + $NumTextBox + "')" ); $code.onblur = function() { getSubjectNameForDispatchScriptBlur(this.id); }; $code.onfocus = function() { assignGolbalDispatchScriptIDS(this.id); }; $td_three.appendChild($code); window.location.g_popup_id = this.id; // $td_three.style.width = "40px"; $td_three.align = "center"; $td_three = $tr.insertCell(3); $name = document.createElement("input"); $name.type = "text"; $name.className = $input_class; $name.id = "dispatch_name_" + $NumTextBox; $name.name = "dispatch_ans_name"; $name.align = "center"; $name.readonly = "readonly"; $name.tabindex = "-1"; $td_three.style.borderRight = "solid #C5DBEC 1px"; $td_three.style.borderBottom = "solid #C5DBEC 1px"; $td_three.style.padding = "2px"; $name.onkeydown = DispatchSubjectCodeEntryPopup; $td_three.appendChild($name); //$td_three.style.width = "140px"; $td_three.align = "center"; $td_four = $tr.insertCell(4); $bundles = document.createElement("input"); $bundles.type = "text"; $bundles.className = $input_class; $bundles.id = "dispatch_buddles_" + $NumTextBox; $bundles.name = "dispatch_ans_buddles"; $bundles.align = "center"; $bundles.setAttribute( "onkeypress", "return acceptNumbersOnlyForModule(event)" ); $td_four.style.borderRight = "solid #C5DBEC 1px"; $td_four.style.borderBottom = "solid #C5DBEC 1px"; $td_four.style.padding = "2px"; $td_four.appendChild($bundles); // $td_four.style.width = "50px"; $td_four.align = "center"; $td_five = $tr.insertCell(5); $script = document.createElement("input"); $script.type = "text"; $script.className = $input_class; $script.id = "dispatch_script_" + $NumTextBox; $script.name = "dispatch_ans_script"; $script.align = "center"; $td_five.style.borderRight = "solid #C5DBEC 1px"; $td_five.style.borderBottom = "solid #C5DBEC 1px"; $td_five.style.padding = "2px"; $script.onblur = function() { CheckForEmptyToCreatNextRow(this.id); }; $td_five.appendChild($script); // $td_five.style.width = "50px"; $td_five.align = "center"; document.getElementById("dispatch_degree_" + $NumTextBox).style.width = "60px"; document.getElementById("dispatch_degree_" + $NumTextBox).align = "center"; //document.getElementById("dispatch_degree_"+$NumTextBox).style.border="0px"; document.getElementById("dispatch_exam_" + $NumTextBox).style.width = "25px"; document.getElementById("dispatch_exam_" + $NumTextBox).align = "center"; //document.getElementById("dispatch_exam_"+$NumTextBox).style.border="0px"; document.getElementById("dispatch_subcode_" + $NumTextBox).style.width = "75px"; document.getElementById("dispatch_subcode_" + $NumTextBox).align = "center"; document.getElementById("dispatch_name_" + $NumTextBox).style.width = "200px"; document.getElementById("dispatch_name_" + $NumTextBox).align = "center"; //document.getElementById("dispatch_name_"+$NumTextBox).style.border="0px"; document.getElementById("dispatch_buddles_" + $NumTextBox).style.width = "70px"; document.getElementById("dispatch_buddles_" + $NumTextBox).align = "center"; //document.getElementById("dispatch_buddles_"+$NumTextBox).style.border="0px"; document.getElementById("dispatch_script_" + $NumTextBox).style.width = "70px"; document.getElementById("dispatch_script_" + $NumTextBox).align = "center"; //document.getElementById("dispatch_script_"+$NumTextBox).style.border="0px"; // $("#dispatch_degree_"+$NumTextBox).focus(); } function CheckForEmptyToCreatNextRow($cur_id) { $id = $cur_id.substring($cur_id.lastIndexOf("_") + 1); $subcode = $("#dispatch_subcode_" + $id).val(); //alert($subcode); if ( document.getElementById($cur_id).value != "" && $id == $g_dispatch_ans_script_count && $subcode != "" ) { CreateNextRowDispatchEntry($cur_id); document.getElementById("dispatch_degree_" + $id).focus(); } /* else { //alert('Enter Subject Code / Total Scripts'); $("#dispatch_subcode_"+$id).focus(); } */ } function DispatchDegreeEntryPopup(evt) { var kC = evt.which ? evt.which : evt.keyCode; if (kC == 112) { $degree_code = ""; $g_dispatch_popup = 1; openDegreeDetailsPopup(); $("#gs_FDEGREE").focus(); return false; /* var url = "../ui/DegreeDetailsPopup.html?height=200&width=400&search_field="+$degree_code; tb_show("College Details", url); return false; */ } } function DispatchExamEntryPopup(evt) { var kC = evt.which ? evt.which : evt.keyCode; if (kC == 112) { $Textbox = document.getElementsByName("dispatch_ans_degree"); $NumTextBox = $Textbox.length; $g_dispatch_popup = 2; $degree_code = document.getElementById("dispatch_degree_" + $NumTextBox) .value; $Examno = ""; PopupMarkEntrySubGetExamNO($degree_code, $Examno); } } function assignGolbalDispatchScriptIDS($textbox_id) { $id = $textbox_id.substring($textbox_id.lastIndexOf("_") + 1); //alert($id); window.location.g_popup_degree_code = $("#dispatch_degree_" + $id).val(); window.location.g_popup_exam_no = $("#dispatch_exam_" + $id).val(); window.location.g_dispatch_row_count_id = $id; //alert(window.location.g_popup_degree_code+'-'+window.location.g_popup_exam_no); } /* function keyboardSubjectNamesPopupForAnswerScript(evt,$thsid) { // alert($thsid); // $Disdegcode = $("#dispatch_degree_"+$thsid).val(); // $Disexamno = $("#dispatch_exam_"+$thsid).val(); //alert($Disdegcode+'-'+$Disexamno); /* if($Disdegcode=="") { alert("Please Enter Degree Code"); document.getElementById("dispatch_degree_"+window.location.g_popup_degree_code).focus(); return false; } if($Disexamno == "") { alert("Please Enter ExamNo"); document.getElementById("dispatch_exam_").focus(); return false; } var charCode = (evt.which) ? evt.which : evt.keyCode; if(charCode==112)// f1 KEY { var url = "../ui/SubjectAppearingPopupForAnswerScript.html?height=200&width=400"; tb_show("Dispatch Details", url); //window.location.g_popup_degree_code = $Disdegcode; //window.location.g_popup_exam_no = $Disexamno; //window.location.g_dispatch_row_count_id = $g_dispatch_ans_script_count; // this row id } } */ function DispatchSubjectCodeEntryPopup(evt) { var kC = evt.which ? evt.which : evt.keyCode; if (kC == 112) { //$Textbox = document.getElementsByName("dispatch_ans_degree"); //$NumTextBox = $Textbox.length; $g_dispatch_popup = 3; // $degree_code=document.getElementById('dispatch_degree_'+$NumTextBox).value; // $Examno=document.getElementById('dispatch_exam_'+$NumTextBox).value; //PopupMarkEntrySubGetSubjectDetails( $degree,$Examno); PopupMarkEntrySubGetSubjectDetails(); } } function saveDispatchAnswerScripts() { $total_count_degree_dispatch = window.location.g_dispatch_row_count_id; $lstr_data = "&doe=" + date_format($("#date_of_exam").val()); $lstr_data += "&session=" + encodeURIComponent($("#session_state").val()); $disp_arr = new Object(); //alert(g_dispatch_ans_script_data); if (document.getElementById("is_add_edit").value == "Edit") { $lstr_data += "&Type=" + "Edit"; $Textbox = document.getElementsByName("dispatch_answer_scripts"); $NumRow = $Textbox.length; $n = 0; for ($k = 1; $k <= $NumRow; $k++) { $disp_arr[$n] = new Object(); // $mes_all_sub_code+="'"+$g_mark_entry_student_default_data[$i]['FCsubcode']+"',"; // alert($("#d_degree_"+$k).val()); $disp_arr[$n]["degree_code"] = $("#d_degree_" + $k).val(); $disp_arr[$n]["degree_exam"] = $("#d_exam_" + $k).val(); $disp_arr[$n]["degree_subcode"] = $("#d_code_" + $k).val(); $disp_arr[$n]["degree_bundle"] = $("#d_bundles_" + $k).val(); $disp_arr[$n]["degree_script"] = $("#d_script_" + $k).val(); $n++; } } else { $lstr_data += "&Type=" + "Add"; $n = 0; for ($i = 1; $i <= $total_count_degree_dispatch; $i++) { $disp_arr[$n] = new Object(); $disp_arr[$n]["degree_code"] = trim($("#dispatch_degree_" + $i).val()); $disp_arr[$n]["degree_exam"] = trim($("#dispatch_exam_" + $i).val()); $disp_arr[$n]["degree_subcode"] = trim( $("#dispatch_subcode_" + $i).val() ); $disp_arr[$n]["degree_bundle"] = trim($("#dispatch_buddles_" + $i).val()); $disp_arr[$n]["degree_script"] = trim($("#dispatch_script_" + $i).val()); $n++; } } var myJSONText = encodeURIComponent(JSON.stringify($disp_arr)); $.ajax({ type: "POST", //async:false, url: $host_url + "saveDispatchAnswerScripts.demo", data: $lstr_data + "&disp_arr=" + myJSONText, success: saveDispatchAnswerScriptsResponse }); } function saveDispatchAnswerScriptsResponse($responce) { $responce = eval("(" + $responce + ")"); alert($responce.data); clearDispatchAnswerScriptsFields(); $("#date_of_exam").focus(); } function clearDispatchAnswerScriptsFields() { $("#dispatch_list_div").html($g_Dispatch_ans_script_header); $("#date_of_exam").val(""); $("#session_state").val(""); $("#dispatch_degree_1").val(""); $("#dispatch_exam_1").val(""); $("#dispatch_subcode_1").val(""); $("#dispatch_name_1").val(""); $("#dispatch_buddles_1").val(""); $("#dispatch_script_1").val(""); $id = 0; window.location.g_popup_degree_code = ""; window.location.g_popup_exam_no = ""; window.location.g_dispatch_row_count_id = ""; $("#dispatch_list_div").hide(); } function retainDispatchAnsScripts() { $g_Dispatch_ans_script_header = "<table width='98%' id='Dispatch_ans_script_header' align='center' border='0' cellpadding='' cellspacing=''>"; $g_Dispatch_ans_script_header += "<tr><td class='act_txtclr' colspan='7' style='background-color:#3D83CC; color:#fff; font-weight:700; width:222px; padding:3px 6px; letter-spacing:0.5pt;'>Dispatch Answers Script</td></tr>"; $g_Dispatch_ans_script_header += "<tr style='background-image:url(../jqGrid3/themes/tarka/images/grid-blue-hd.gif);border-bottom:1px solid #CBC7B8; color:#000; font-weight:700; padding:3px 6px; letter-spacing:0.5pt;'>"; $g_Dispatch_ans_script_header += "<td id='td_dispatch_degree' style='padding:2px; width:70px; border-left:1px solid #ccc; border-right:1px solid #ccc;'><center>Degree</center></td>"; $g_Dispatch_ans_script_header += "<td id='td_dispatch_exam' style='padding:2px; width:30px; border-right:1px solid #ccc;'><center> Exam</center></td>"; $g_Dispatch_ans_script_header += "<td id='td_dispatch_subcode' style='padding:2px; width:85px; border-right:1px solid #ccc;'><center> CODE </center></td>"; $g_Dispatch_ans_script_header += "<td id='td_dispatch_name' style='padding:2px; width:210px; border-right:1px solid #ccc;'><center>Name</center></td>"; $g_Dispatch_ans_script_header += "<td id='td_dispatch_bundle' style='padding:2px; width:80px; border-right:1px solid #ccc;'><center>Bundle</center></td>"; $g_Dispatch_ans_script_header += "<td id='td_dispatch_script' style='padding:2px; width:80px; border-right:1px solid #ccc;'><center>Script</center></td>"; $g_Dispatch_ans_script_header += "</tr>"; $g_Dispatch_ans_script_header += "<tr class=tbl_row>"; $g_Dispatch_ans_script_header += "<td align=center style='width:70px;border-top:1px solid #ccc;border-left:1px solid #ccc; padding:2px;'>"; $g_Dispatch_ans_script_header += "<input id='dispatch_degree_1' type='text' name='dispatch_ans_degree'"; $g_Dispatch_ans_script_header += " style='width:60px;'"; $g_Dispatch_ans_script_header += "onblur='getDASDegreeCode(this.id);'"; $g_Dispatch_ans_script_header += " onkeydown='return keyboardDegreePopup(event,this.id,$(\"#dispatch_degree_1\").val());' />"; $g_Dispatch_ans_script_header += "</td>"; $g_Dispatch_ans_script_header += "<td align='center' style='width:30px;'> "; $g_Dispatch_ans_script_header += "<input name=dispatch_ans_exam id=dispatch_exam_1 type=text "; $g_Dispatch_ans_script_header += "onblur='getDASExamName($(\"#dispatch_degree_1\").val(), this.id);' "; $g_Dispatch_ans_script_header += "onkeydown='return keyboardExamNoPopup(event,this.id,$(\"#dispatch_exam_1\").val())'"; $g_Dispatch_ans_script_header += " style='width:25px;' >"; $g_Dispatch_ans_script_header += "</td>"; $g_Dispatch_ans_script_header += "<td align='center' style='width:85px;'>"; $g_Dispatch_ans_script_header += "<input name='dispatch_ans_subcode' id='dispatch_subcode_1' type='text' style='width:75px;'"; $g_Dispatch_ans_script_header += "onblur='getSubjectNameForDispatchScriptBlur(this.id);'"; $g_Dispatch_ans_script_header += "onclick='$g_dispatch_ans_code=this.id'"; $g_Dispatch_ans_script_header += "onkeydown='return keyboardSubjectNamesPopupForAnswerScript(event,1);'"; $g_Dispatch_ans_script_header += "onfocus='assignGolbalDispatchScriptIDS(this.id)'/>"; $g_Dispatch_ans_script_header += "</td>"; $g_Dispatch_ans_script_header += "<td align='center' style='width:210px;' >"; $g_Dispatch_ans_script_header += "<input name='dispatch_ans_name' id='dispatch_name_1' readonly"; $g_Dispatch_ans_script_header += "onclick='$g_dispatch_ans_name=this.id'"; $g_Dispatch_ans_script_header += " type='text' style='width:200px;' />"; $g_Dispatch_ans_script_header += "</td>"; $g_Dispatch_ans_script_header += "<td align='center' style='width:80px;'>"; $g_Dispatch_ans_script_header += "<input name='dispatch_ans_buddles' id='dispatch_buddles_1' type='text' style='width:70px;'/>"; $g_Dispatch_ans_script_header += "</td>"; $g_Dispatch_ans_script_header += "<td align='center' style='width:80px;'>"; $g_Dispatch_ans_script_header += "<input type=text id=dispatch_script_1 name=dispatch_ans_script style='width:70px;' onblur='CheckForEmptyToCreatNextRow(this.id);' /></td>"; $g_Dispatch_ans_script_header += "</tr>"; $g_Dispatch_ans_script_header += "</table>"; }
Close