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.149.249.84
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 /
gsc /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
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
32.5
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
14.64
KB
-rwxr-xr-x
Message_board.js
5.02
KB
-rwxr-xr-x
absententrysubjectwiseQP.js
16.34
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.44
KB
-rwxr-xr-x
ack_rv_rt_application.js
1.9
KB
-rwxr-xr-x
admission_approve.js
20.63
KB
-rwxr-xr-x
admission_entry_status.js
1.06
KB
-rwxr-xr-x
admissionapplist.js
3.79
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
attendance_report.php
2.25
KB
-rwxr-xr-x
backup.js
2.73
KB
-rwxr-xr-x
backup_restore.js
1.36
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
30.76
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
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
daterange.js
9.18
KB
-rwxr-xr-x
degree.js
2.86
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
downloadStudentPhotos_12022019...
1.64
KB
-rwxr-xr-x
downloadStudentPhotosold.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
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_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
37.69
KB
-rwxr-xr-x
load_mannual_js_files_12022018...
24.41
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.6
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
popup.js
99.33
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
KB
-rwxr-xr-x
report_SubjectListGeneral.js
3.26
KB
-rwxr-xr-x
report_setup.js
12.46
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
4.72
KB
-rwxr-xr-x
room_allotment16112017.js
3.6
KB
-rwxr-xr-x
room_allotment17112017.js
2.94
KB
-rwxr-xr-x
roomallotmantsummary.js
859
B
-rwxr-xr-x
roomdeclaration.js
5.31
KB
-rwxr-xr-x
rv_rt_guide_lines.js
428
B
-rwxr-xr-x
rvdates.js
8.08
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_entry.js
44.96
KB
-rwxr-xr-x
student_entry24.js
50.71
KB
-rwxr-xr-x
student_entryold.js
33.98
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
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
19.92
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
uploadStudentPhotos.js
3.52
KB
-rwxr-xr-x
uploadStudentPhotos_beforedown...
3.52
KB
-rwxr-xr-x
upload_details.js
4.03
KB
-rwxr-xr-x
usersetup.js
29.92
KB
-rwxr-xr-x
usersubj_identification.js
4.06
KB
-rwxr-xr-x
validate.js
9.65
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : control.js
var fldorder = ''; var mandfields = ''; function onfocusvalidate(event) { function processkey3() { } document.body.onkeydown = processkey3; forder = {}; mfields = {}; if(fldorder.length == fldorder.lastIndexOf(",")+1) var tflorder = fldorder.substring(0, fldorder.length - 1); else var tflorder = fldorder; if(mandfields.length == mandfields.lastIndexOf(",")+1) var tmfields = mandfields.substring(0, mandfields.length - 1); else var tmfields = mandfields; var forder = tflorder.split(','); var mfields = tmfields.split(','); if ( event.keyCode == 9 ) { event.preventDefault(); event.stopPropagation(); } if(event.keyCode == 13) { var focusid = document.activeElement.id; return formcontrol(forder,mfields,focusid); } /* if(event.keyCode == 9) { var focusid = document.activeElement.id; return formcontrol(forder,mfields,focusid); } */ if(event.keyCode == 38) { var focusid = document.activeElement.id; var Tindex = forder.indexOf(focusid); if(Tindex > 0) document.getElementById(forder[Tindex-1]).focus(); } if(event.keyCode == 40) { var focusid = document.activeElement.id; var Tindex = forder.indexOf(focusid); if(Tindex > 0 && Tindex< forder.length-1) document.getElementById(forder[Tindex+1]).focus(); } } function onsavevalidate(lobj,lval) { forder = {}; msfields = {}; findex = {}; if(mandfields.length == mandfields.lastIndexOf(",")+1) var mdfields = mandfields.substring(0, mandfields.length - 1); else var mdfields = mandfields; var msfields = mdfields.split(','); var validateStr =''; var findex = new Array(); for(var i=0,j=0;i<msfields.length;i++) { if(trim(document.getElementById(msfields[i]).value) == '') { findex[j]=msfields[i]; fieldtitle = document.getElementById(msfields[i]).title; fieldtitlearr = fieldtitle.split(','); validateStr += fieldtitlearr[0]+'\r\n'; j++; } } if(validateStr != '') { alert("Following fields are missing / invalid\r\n\r\n"+validateStr); document.getElementById(findex[0]).focus(); return findex[0]; } else { return 999; } } function formcontrol(fcorder,mffields,lastfocus) { var Tindex = mffields.indexOf(lastfocus); if(Tindex != -1) { if(trim(document.getElementById(lastfocus).value) =='') { fieldtitle = document.getElementById(lastfocus).title; fieldtitlearr = fieldtitle.split(','); alert("Enter " +fieldtitlearr[0]); document.getElementById(lastfocus).focus(); return lastfocus; } else { var Tcurrindex = fcorder.indexOf(lastfocus); if(Tcurrindex < fcorder.length-1) { document.getElementById(fcorder[Tcurrindex+1]).focus(); return 999; } else { return 999; } } } else { var Tcurrindex = fcorder.indexOf(lastfocus); if(Tcurrindex < fcorder.length-1) { document.getElementById(fcorder[Tcurrindex+1]).focus(); return false; } else { return 999; } } } var GTName=''; var GTFields; var GTSFields = new Array(); var GTLeftFields = new Array(); var GTWhere ; var GTTwidth; var GTColwidth; var GTHeader; var GTColcnt; var GTFirst; var GPK; function srchHeaderGrid(TName,TFields,TWhere,TTwidth,TColwidth,THeader,TColcnt,TPK) { var event = ''; var id = '' ; GTFirst = true; GTName = TName; GTFields = TFields; GTWhere = TWhere; GTTwidth = TTwidth; GTColwidth = TColwidth; GTHeader = THeader; GTColcnt = TColcnt; GPK = TPK; var tabHeader =''; tabHeader +="<table class='scroll' align='center' width='"+TTwidth+"px' cellspacing='0' cellpadding='0' border='0px' id='item_table' >"; tabHeader +="<tr class='ui-state-default ui-jqgrid-hdiv'>"; for(var hindex=0;hindex<TColcnt;hindex++) tabHeader +="<td style='padding:2px; width:"+TColwidth[hindex]+"px; text-align:center;border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>"+THeader[hindex]+"</td>"; tabHeader +="</tr><tr>"; tabHeader +="<td style='padding:2px; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>"; tabHeader +="<input style='width:"+TColwidth[0]+"px;' class='form-control input-md'/></td>"; for(var hindex=0;hindex<TColcnt-1;hindex++) { var srchid = TFields[hindex].toUpperCase(); var strext = srchid.search(' AS '); if(strext > 0) { var strid = srchid.split(' AS '); GTSFields[hindex] = strid[1]; GTLeftFields[hindex] = strid[0].toLowerCase(); } else { GTSFields[hindex] = srchid; GTLeftFields[hindex] = srchid; } tabHeader +="<td style='padding:2px; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>"; tabHeader +="<input id='"+GTLeftFields[hindex]+"' style='width:"+TColwidth[hindex+1]+"px;' onkeyup='srchDetailGrid(event,this.id);' value ='' class='form-control input-md'/></td>"; } tabHeader +="</tr></table><div id='dynamicrow'></div>"; document.getElementById('grid_view').innerHTML =tabHeader; $("#grid_view").show(); srchDetailGrid(event,id); document.getElementById(GTLeftFields[0]).focus(); return false; } function srchDetailGrid(event,id) { if(event.keyCode!=38 && event.keyCode != 40 && event.keyCode != 13) { var fckempty = ''; var srcfield=''; var srchKeyqry = ''; for(var i=0;i<GTColcnt-1;i++) { var fckempty = trim(document.getElementById(GTLeftFields[i]).value); if(fckempty.length >0 && fckempty.length !=0) srchKeyqry += " and "+GTLeftFields[i]+" like "+"'"+document.getElementById(GTLeftFields[i]).value+"%'"; } if(trim(srchKeyqry).length > 0 || GTFirst==true ) { var dataString = '&TName='+GTName+'&TFields='+GTFields+"&TWhere="+GTWhere+"&TColcnt="+GTColcnt+"&srchKeyqry="+srchKeyqry; $.ajax({ type:"POST", url:$host_url+"srchDetailGrid", data:dataString, cache:false, success:function($responce) { $responce=eval('('+ $responce+')'); if($responce.error_code==0) { if(trim(srchKeyqry).length >= 1) GTFirst=true; else GTFirst=false; var modulename = document.getElementById('module_name_for_save').value; var count=$responce.data.length; var new_row =''; var arrIndex = 0; new_row +="<div class='CSSTableGenerator'><table class='scroll' align='center' width=''"+GTTwidth+"px' cellspacing='0' cellpadding='0' border='0px' id='mstrTable' >"; for(var rows=0;rows< count;rows++) { var index = rows+1; var rowdt = $responce.data[rows]; lsupcode = rowdt[GTSFields[0]]; catcode = rowdt[GTSFields[1]]; feecode = rowdt[GTSFields[2]]; if(modulename == 'HeadFee') click = "ondblclick = edit"+modulename+"Master('"+lsupcode+"','"+catcode+"','"+feecode+"')"; else click = "ondblclick = edit"+modulename+"Master('"+lsupcode+"')"; new_row +="<tr id="+lsupcode+" "+click+" "+" onkeydown='processkey()'>"; new_row +="<td style='width:"+GTColwidth[0]+"px;text-align:center;border:1px solid #C5DBEC;padding:5px' >"+index+"</td>"; for(var i=0;i<GTColcnt-1;i++) { var rowfname = GTSFields[i]; new_row +="<td style='width:"+GTColwidth[i+1]+"px;padding:5px;border:1px solid #C5DBEC;' >"+rowdt[rowfname] +"</td>"; } new_row +="</tr>"; } new_row +="</table></div>"; document.getElementById('dynamicrow').innerHTML = new_row; var trows = document.getElementById('mstrTable').rows; var t = trows.length; var trow; function processkey(e){ if(document.getElementById('is_add_edit').value == 'view') { e = e || event; switch(e.keyCode){ case 38: {//up arrow return movehighlightUP(-1, e); } case 40: {//down arrow return movehighlight(1, e); } case 13:{ return selecthighlight(1, e); } default: { return true; } } } } while (--t > -1) { trow = trows[t]; trow.className = 'normal'; //trow.onclick = highlightRow; }//end while function highlightRow(gethighlight) { gethighlight = gethighlight === true; var t = trows.length, hrow; while (--t > -1) { trow = trows[t]; if(gethighlight && trow.className === 'highlighted'){ return t;} else if (!gethighlight && trow !== this) { trow.className = 'normal'; } }//end while return gethighlight? null : this.className = this.className === 'highlighted'? 'normal' : 'highlighted'; }//end function function movehighlight(way, e){ //e.preventDefault && e.preventDefault(); //e.returnValue = false; var idx = highlightRow(true), nextrow; if(typeof idx === 'number'){ idx += way; if(idx && (nextrow = trows[idx])){ return highlightRow.apply(nextrow); } else if(idx){ return highlightRow.apply(trows[0]); } return highlightRow.apply(trows[trows.length - 1]); } return highlightRow.apply(trows[way > 0? 0 : trows.length-1]); } function movehighlightUP(way, e){ //e.preventDefault && e.preventDefault(); //e.returnValue = false; var idx = highlightRow(true), nextrow; if(typeof idx === 'number'){ if(idx !=1) idx += way; else { return highlightRow.apply(trows[0]); } if(idx && (nextrow = trows[idx])){ return highlightRow.apply(nextrow); } else if(idx){ return highlightRow.apply(trows[0]); } return highlightRow.apply(trows[trows.length - 1]); } return highlightRow.apply(trows[way > 0 ? 0 :trows.length-1]); } function selecthighlight(way, e){ //e.preventDefault && e.preventDefault(); e.returnValue = false; gethighlight=true; gethighlight = gethighlight === true; var t = trows.length, hrow; while (--t > -1) { trow = trows[t]; if(gethighlight && trow.className === 'highlighted'){ method_prefix = "edit"+modulename+"Master"; window[method_prefix](trow.id); exit(); } } } document.body.onkeydown = processkey; /* var t = trows.length; while (--t > -1) { trow = trows[t]; alert(trow.id); document.getElementById(trow.id).onkeydown = processkey; }// document.getElementById('mstrTable').onkeydown = processkey; */ } else { var new_row =''; GTFirst=true; document.getElementById('dynamicrow').innerHTML = new_row; } } }); } } } var PGTName=''; var PGDbclick =''; var PGTFields; var PGTSFields = new Array(); var PGTLeftFields = new Array(); var PGTWhere ; var PGTTwidth; var PGTColwidth var PGTHeader; var PGTColcnt; var GTFirst; function srchPOPHeaderGrid(PTName,PTFields,PTWhere,PDbclick,PTTwidth,PTColwidth,PTHeader,PTColcnt) { var event =''; var id = ''; GTFirst = true; PGTName = PTName; PGTFields = PTFields; PGTWhere = PTWhere; PGDbclick = PDbclick; PGTTwidth = PTTwidth; PGTColwidth = PTColwidth; PGTHeader = PTHeader; PGTColcnt = PTColcnt; var tabHeader =''; tabHeader +="<table class='scroll' align='center' width='"+PTTwidth+"px' cellspacing='0' cellpadding='0' border='0px' id='item_table' >"; tabHeader +="<tr class='ui-state-default ui-jqgrid-hdiv'>"; for(var hindex=0;hindex<PTColcnt;hindex++) tabHeader +="<td style='padding:2px; width:"+PTColwidth[hindex]+"px; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>"+PTHeader[hindex]+"</td>"; tabHeader +="</tr><tr>"; tabHeader +="<td style='padding:2px; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>"; tabHeader +="<input style='width:"+PTColwidth[0]+"px;' class='form-control input-md'/></td>"; for(var hindex=0;hindex<PTColcnt-1;hindex++) { var srchid = PTFields[hindex].toUpperCase(); var strext = srchid.search(' AS '); if(strext > 0) { var strid = srchid.split(' AS '); PGTSFields[hindex] = strid[1]; PGTLeftFields[hindex] = strid[0].toLowerCase(); } else { PGTSFields[hindex] = srchid; PGTLeftFields[hindex] = srchid; } tabHeader +="<td style='padding:2px; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>"; tabHeader +="<input id='"+PGTLeftFields[hindex]+"' style='width:"+PTColwidth[hindex+1]+"px;' onkeyup='srchPopupDetailGrid(event,this.id)' class='form-control input-md'/></td>"; } tabHeader +="</tr></table><div id='dynamicrow'></div>"; document.getElementById('popupgrid_view').innerHTML =tabHeader; $("#popupgrid_view").show(); document.getElementById(PGTLeftFields[0]).focus(); srchPopupDetailGrid(event,id); } function srchPopupDetailGrid(event,id) { if(event.keyCode!=38 && event.keyCode != 40 && event.keyCode != 13) { var srcfield=''; var srchKeyqry = ''; for(var i=0;i<PGTColcnt-1;i++) { if(trim(document.getElementById(PGTLeftFields[i]).value) != '') srchKeyqry += " and "+PGTLeftFields[i]+" like "+"'"+document.getElementById(PGTLeftFields[i]).value+"%'"; } if(trim(PGTWhere).length > 0) { var dataString = '&TName='+PGTName+'&TFields='+PGTFields+"&TWhere="+PGTWhere+"&TColcnt="+PGTColcnt+"&srchKeyqry="+srchKeyqry; $.ajax({ type:"POST", url:$host_url+"srchDetailGrid", data:dataString, cache:false, success:function($responce) { $responce=eval('('+ $responce+')'); if($responce.error_code==0) { //loadDynamicSrchTable($responce.data); var modulename = document.getElementById('module_name_for_save').value; var count=$responce.data.length; var new_row =''; GTFirst=false; var arrIndex = 0; new_row +="<div class='CSSTableGenerator' ><table class='scroll' align='center' onkeydown ='processkey()' width=''"+PGTTwidth+"px' cellspacing='0' cellpadding='0' border='0px' id='mstrTable1' >"; for(var rows=0;rows< count;rows++) { var index = rows+1; var rowdt = $responce.data[rows]; new_row +="<tr id ='"+rowdt[PGTSFields[0]]+"' ondblclick=select"+PGDbclick+"('"+rowdt[PGTSFields[0]]+"') >"; new_row +="<td style='width:"+PGTColwidth[0]+"px;text-align:center;border:1px solid #C5DBEC;padding:5px' >"+index+"</td>"; for(var i=0;i<PGTColcnt-1;i++) { var rowfname = PGTSFields[i]; new_row +="<td style='width:"+PGTColwidth[i+1]+"px;padding:5px;border:1px solid #C5DBEC;' >"+rowdt[rowfname] +"</td>"; } new_row +="</tr>"; } new_row +="</table></div>"; document.getElementById('dynamicrow').innerHTML = new_row; var trows = document.getElementById('mstrTable1').rows; var t = trows.length; var trow; while (--t > -1) { trow = trows[t]; trow.className = 'normal'; //trow.onclick = highlightRow; }//end while function highlightRow(gethighlight) { gethighlight = gethighlight === true; var t = trows.length, hrow; while (--t > -1) { trow = trows[t]; if(gethighlight && trow.className === 'highlighted'){ return t;} else if (!gethighlight && trow !== this) { trow.className = 'normal'; } }//end while return gethighlight? null : this.className = this.className === 'highlighted'? 'normal' : 'highlighted'; }//end function function movehighlight(way, e){ //e.preventDefault && e.preventDefault(); //e.returnValue = false; var idx = highlightRow(true), nextrow; if(typeof idx === 'number'){ idx += way; if(idx && (nextrow = trows[idx])){ return highlightRow.apply(nextrow); } else if(idx){ return highlightRow.apply(trows[0]); } return highlightRow.apply(trows[trows.length - 1]); } return highlightRow.apply(trows[way > 0? 0 : trows.length-1]); } function movehighlightUP(way, e){ //e.preventDefault && e.preventDefault(); //e.returnValue = false; var idx = highlightRow(true), nextrow; if(typeof idx === 'number'){ if(idx !=1) idx += way; else { return highlightRow.apply(trows[0]); } if(idx && (nextrow = trows[idx])){ return highlightRow.apply(nextrow); } else if(idx){ return highlightRow.apply(trows[0]); } return highlightRow.apply(trows[trows.length - 1]); } return highlightRow.apply(trows[way > 0 ? 0 :trows.length-1]); } function selecthighlight(way, e){ //e.preventDefault && e.preventDefault(); //e.returnValue = false; gethighlight=true; gethighlight = gethighlight === true; var t = trows.length; var trow; while (--t > -1) { var trow = trows[t]; if(gethighlight && trow.className === 'highlighted') { method_prefix = "select"+PGDbclick; window[method_prefix](trow.id); return 0; } } } function processkey2() { } function processkey(e){ e = e || event; switch(e.keyCode){ case 38: {//up arrow return movehighlightUP(-1, e); } case 40: {//down arrow return movehighlight(1, e); } case 13:{ document.body.onkeydown = processkey2; return selecthighlight(1, e); } default: { return true; } } } document.body.onkeydown = processkey; } else { var new_row =''; document.getElementById('dynamicrow').innerHTML = new_row; } } }); } } } function processkey2() { } ////// open file in html page and link to print function viewReportToPrint(report_filename) { url = 'printpreview.html'; var win = window.open(url, '_blank'); setCookie('reporturl',report_filename); }
Close