403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/dcb/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/dcb/script/MultiLevelDHTMLMenuExpanderV11.js
"undefined"==typeof HTMLElement||HTMLElement.prototype.insertAdjacentElement||(HTMLElement.prototype.insertAdjacentElement=function(e,t){switch(e){case"beforeBegin":this.parentNode.insertBefore(t,this);break;case"afterBegin":this.insertBefore(t,this.firstChild);break;case"beforeEnd":this.appendChild(t);break;case"afterEnd":this.nextSibling?this.parentNode.insertBefore(t,this.nextSibling):this.parentNode.appendChild(t)}},HTMLElement.prototype.insertAdjacentHTML=function(e,t){var l=this.ownerDocument.createRange();l.setStartBefore(this);var n=l.createContextualFragment(t);this.insertAdjacentElement(e,n)},HTMLElement.prototype.insertAdjacentText=function(e,t){var l=document.createTextNode(t);this.insertAdjacentElement(e,l)});var firstLoad=0,GlobalECState=0,firstLoad1=0,GlobalECState1=0,firstLoad2=0,GlobalECState2=0;function InitializePage(){defineLayout(),defineLayout1(),defineLayout2(),createTopMenu(),createTopMenu1(),createTopMenu2(),prepareListStyles(),prepareListStyles1(),prepareListStyles2(),setLEVELs(),setLEVELs1(),setLEVELs2(),Icons(),Icons1(),Icons2(),attachEventhandlers(),attachEventhandlers1(),attachEventhandlers2()}function defineLayout(){document.getElementById("MDME").style.position="static",document.getElementById("MDME").style.left=PagePositionLEFT+"px",document.getElementById("MDME").style.top=PagePositionTOP+"px",document.getElementById("MDME").style.zIndex=50}function defineLayout1(){document.getElementById("MDME1").style.position="static",document.getElementById("MDME1").style.left=PagePositionLEFT+"px",document.getElementById("MDME1").style.top=PagePositionTOP+"px",document.getElementById("MDME1").style.zIndex=50}function defineLayout2(){document.getElementById("MDME2").style.position="static",document.getElementById("MDME2").style.left=PagePositionLEFT+"px",document.getElementById("MDME2").style.top=PagePositionTOP+"px",document.getElementById("MDME2").style.zIndex=50}function setLEVELs(){for(ULCollection=document.getElementById("MDME").getElementsByTagName("UL"),ULCollection.item(0).setAttribute("level",1),LICollection=document.getElementById("MDME").getElementsByTagName("LI"),a=0;a<LICollection.length;a++)LICollection.item(a).setAttribute("level",1);if(null!=ULCollection)for(u=0;u<ULCollection.length;u++){var e=ULCollection.item(u).getElementsByTagName("UL");for(l=0;l<e.length;l++){var t=parseInt(ULCollection.item(u).getAttribute("level"));e.item(l).setAttribute("level",t+1);var n=e.item(l).getElementsByTagName("LI");for(m=0;m<n.length;m++)n.item(m).setAttribute("level",t+1)}}}function setLEVELs1(){for(ULCollection11=document.getElementById("MDME1").getElementsByTagName("UL"),ULCollection11.item(0).setAttribute("level",1),LICollection=document.getElementById("MDME1").getElementsByTagName("LI"),a=0;a<LICollection.length;a++)LICollection.item(a).setAttribute("level",1);if(null!=ULCollection1)for(u=0;u<ULCollection1.length;u++){var e=ULCollection1.item(u).getElementsByTagName("UL");for(l=0;l<e.length;l++){var t=parseInt(ULCollection1.item(u).getAttribute("level"));e.item(l).setAttribute("level",t+1);var n=e.item(l).getElementsByTagName("LI");for(m=0;m<n.length;m++)n.item(m).setAttribute("level",t+1)}}}function setLEVELs2(){for(ULCollection12=document.getElementById("MDME2").getElementsByTagName("UL"),ULCollection12.item(0).setAttribute("level",1),LICollection=document.getElementById("MDME2").getElementsByTagName("LI"),a=0;a<LICollection.length;a++)LICollection.item(a).setAttribute("level",1);if(null!=ULCollection2)for(u=0;u<ULCollection2.length;u++){var e=ULCollection2.item(u).getElementsByTagName("UL");for(l=0;l<e.length;l++){var t=parseInt(ULCollection2.item(u).getAttribute("level"));e.item(l).setAttribute("level",t+1);var n=e.item(l).getElementsByTagName("LI");for(m=0;m<n.length;m++)n.item(m).setAttribute("level",t+1)}}}function createTopMenu(){if("yes"==showECOption&&"yes"!=oneBranch){var e="";e+='<TABLE border="0" cellpadding="2" cellspacing="0" class="topMenu">',e+="<TR>",e+='<TD id="expandAllMenuItem" onClick="ECALL(1)">',""==imageEXPANDALL?e+="Expand ALL</TD>":e+='<IMG border="0" src="images/'+imageEXPANDALL+'" alt="Expand ALL"></TD>',e+='<TD id="collapseAllMenuItem" onClick="ECALL(0)">',""==imageCOLLAPSEALL?e+="Collapse ALL</TD>":e+='<IMG border="0" src="images/'+imageCOLLAPSEALL+'" alt="Collapse ALL"></TD>',e+="</TR>",e+="</TABLE>",document.getElementById("MDME").insertAdjacentHTML("afterBegin",e),0==GlobalECState?(document.getElementById("expandAllMenuItem").style.display="inline",document.getElementById("collapseAllMenuItem").style.display="none"):(document.getElementById("expandAllMenuItem").style.display="none",document.getElementById("collapseAllMenuItem").style.display="inline")}}function createTopMenu1(){if("yes"==showECOption&&"yes"!=oneBranch){var e="";e+='<TABLE border="0" cellpadding="2" cellspacing="0" class="topMenu">',e+="<TR>",e+='<TD id="expandAllMenuItem1" onClick="ECALL1(1)">',""==imageEXPANDALL?e+="Expand ALL</TD>":e+='<IMG border="0" src="images/'+imageEXPANDALL+'" alt="Expand ALL"></TD>',e+='<TD id="collapseAllMenuItem1" onClick="ECALL1(0)">',""==imageCOLLAPSEALL?e+="Collapse ALL</TD>":e+='<IMG border="0" src="images/'+imageCOLLAPSEALL+'" alt="Collapse ALL"></TD>',e+="</TR>",e+="</TABLE>",document.getElementById("MDME1").insertAdjacentHTML("afterBegin",e),0==GlobalECState1?(document.getElementById("expandAllMenuItem1").style.display="inline",document.getElementById("collapseAllMenuItem1").style.display="none"):(document.getElementById("expandAllMenuItem1").style.display="none",document.getElementById("collapseAllMenuItem1").style.display="inline")}}function createTopMenu2(){if("yes"==showECOption&&"yes"!=oneBranch){var e="";e+='<TABLE border="0" cellpadding="2" cellspacing="0" class="topMenu">',e+="<TR>",e+='<TD id="expandAllMenuItem2" onClick="ECALL2(1)">',""==imageEXPANDALL?e+="Expand ALL</TD>":e+='<IMG border="0" src="images/'+imageEXPANDALL+'" alt="Expand ALL"></TD>',e+='<TD id="collapseAllMenuItem2" onClick="ECALL2(0)">',""==imageCOLLAPSEALL?e+="Collapse ALL</TD>":e+='<IMG border="0" src="images/'+imageCOLLAPSEALL+'" alt="Collapse ALL"></TD>',e+="</TR>",e+="</TABLE>",document.getElementById("MDME2").insertAdjacentHTML("afterBegin",e),0==GlobalECState2?(document.getElementById("expandAllMenuItem2").style.display="inline",document.getElementById("collapseAllMenuItem2").style.display="none"):(document.getElementById("expandAllMenuItem2").style.display="none",document.getElementById("collapseAllMenuItem2").style.display="inline")}}function prepareListStyles(){if(ULCollection=document.getElementById("MDME").getElementsByTagName("UL"),null!=ULCollection)for(u=0;u<ULCollection.length;u++)ULCollection.item(u).style.listStyleType="none",ULCollection.item(u).setAttribute("id","ULID"+u)}function prepareListStyles1(){if(ULCollection1=document.getElementById("MDME1").getElementsByTagName("UL"),null!=ULCollection1)for(u=0;u<ULCollection1.length;u++)ULCollection1.item(u).style.listStyleType="none",ULCollection1.item(u).setAttribute("id","BULID"+u)}function prepareListStyles2(){if(ULCollection2=document.getElementById("MDME2").getElementsByTagName("UL"),null!=ULCollection2)for(u=0;u<ULCollection2.length;u++)ULCollection2.item(u).style.listStyleType="none",ULCollection2.item(u).setAttribute("id","eULID"+u)}function attachEventhandlers(){if(LICollection=document.getElementById("MDME").getElementsByTagName("LI"),null!=LICollection)for(l=0;l<LICollection.length;l++)LICollection.item(l).onmouseup=onMouseUpHandler;"Microsoft Internet Explorer"==navigator.appName?document.getElementById("MDME").style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+TValue+")":(document.getElementById("MDME").style.MozOpacity=1,TValue=parseFloat(TValue/100-.001),document.getElementById("MDME").style.MozOpacity=TValue)}function attachEventhandlers1(){if(LICollection=document.getElementById("MDME1").getElementsByTagName("LI"),null!=LICollection)for(l=0;l<LICollection.length;l++)LICollection.item(l).onmouseup=onMouseUpHandler1;"Microsoft Internet Explorer"==navigator.appName?document.getElementById("MDME1").style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+TValue+")":(document.getElementById("MDME1").style.MozOpacity=1,TValue=parseFloat(TValue/100-.001),document.getElementById("MDME1").style.MozOpacity=TValue)}function attachEventhandlers2(){if(LICollection=document.getElementById("MDME2").getElementsByTagName("LI"),null!=LICollection)for(l=0;l<LICollection.length;l++)LICollection.item(l).onmouseup=onMouseUpHandler2;"Microsoft Internet Explorer"==navigator.appName?document.getElementById("MDME2").style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+TValue+")":(document.getElementById("MDME2").style.MozOpacity=1,TValue=parseFloat(TValue/100-.001),document.getElementById("MDME2").style.MozOpacity=TValue)}function ECALL(e){if(LICollection=document.getElementById("MDME").getElementsByTagName("LI"),null!=LICollection)for(d=0;d<LICollection;d++)LICollection.item(i).style.listStyleImage="none";firstLoad=0,GlobalECState=e,Icons(),"yes"==showECOption&&"yes"!=oneBranch&&(0==GlobalECState?(document.getElementById("expandAllMenuItem").style.display="inline",document.getElementById("collapseAllMenuItem").style.display="none"):(document.getElementById("expandAllMenuItem").style.display="none",document.getElementById("collapseAllMenuItem").style.display="inline"))}function ECALL1(e){if(LICollection=document.getElementById("MDME1").getElementsByTagName("LI"),null!=LICollection)for(d=0;d<LICollection;d++)LICollection.item(i).style.listStyleImage="none";firstLoad1=0,GlobalECState1=e,Icons1(),"yes"==showECOption&&"yes"!=oneBranch&&(0==GlobalECState1?(document.getElementById("expandAllMenuItem1").style.display="inline",document.getElementById("collapseAllMenuItem1").style.display="none"):(document.getElementById("expandAllMenuItem1").style.display="none",document.getElementById("collapseAllMenuItem1").style.display="inline"))}function ECALL2(e){if(LICollection=document.getElementById("MDME2").getElementsByTagName("LI"),null!=LICollection)for(d=0;d<LICollection;d++)LICollection.item(i).style.listStyleImage="none";firstLoad2=0,GlobalECState2=e,Icons2(),"yes"==showECOption&&"yes"!=oneBranch&&(0==GlobalECState2?(document.getElementById("expandAllMenuItem2").style.display="inline",document.getElementById("collapseAllMenuItem2").style.display="none"):(document.getElementById("expandAllMenuItem2").style.display="none",document.getElementById("collapseAllMenuItem2").style.display="inline"))}function Icons(e){if(LICollection=document.getElementById("MDME").getElementsByTagName("LI"),null!=LICollection)for(i=0;i<LICollection.length;i++)if(ULChildrenCol=LICollection.item(i).getElementsByTagName("UL"),ULChildrenCol.length>0)if(FirstULWithinLI_ELEMENT=LICollection.item(i).getElementsByTagName("UL"),0==firstLoad)0==GlobalECState?(LICollection.item(i).setAttribute("ECState",0),""!=imagePLUS&&(LICollection.item(i).style.background="url(images/"+imagePLUS+") right top no-repeat"),LICollection.item(i).style.cursor="pointer",FirstULWithinLI_ELEMENT.item(0).style.display="none"):(LICollection.item(i).setAttribute("ECState",1),""!=imageMINUS&&(LICollection.item(i).style.background="url(images/"+imageMINUS+") right top no-repeat"),LICollection.item(i).style.cursor="pointer",FirstULWithinLI_ELEMENT.item(0).style.display="block");else if(State=LICollection.item(i).getAttribute("ECState"),0==State)""!=imagePLUS&&(LICollection.item(i).style.background="url(images/"+imagePLUS+") right top no-repeat"),FirstULWithinLI_ELEMENT.item(0).style.display="none";else{if("yes"==oneBranch&&null!=e)for(targetLevel=e.getAttribute("level"),tarObjParentLICol=e.parentNode.getElementsByTagName("LI"),tar=0;tar<tarObjParentLICol.length;tar++)ItemLevel=tarObjParentLICol.item(tar).getAttribute("level"),targetLevel==ItemLevel&&(tarObjParentLIULCol=tarObjParentLICol.item(tar).getElementsByTagName("UL"),0!=tarObjParentLIULCol.length&&e!=tarObjParentLICol.item(tar)&&(tarObjParentLIULCol.item(0).style.display="none",""!=imagePLUS&&(tarObjParentLICol.item(tar).style.background="url(images/"+imagePLUS+") right top no-repeat",tarObjParentLICol.item(tar).style.listStylePosition="inside",tarObjParentLICol.item(tar).setAttribute("ECState",0))));""!=imageMINUS&&(LICollection.item(i).style.background="url(images/"+imageMINUS+") right top no-repeat",LICollection.item(i).style.listStylePosition="inside"),FirstULWithinLI_ELEMENT.item(0).style.display="block"}else LICollection.item(i).style.listStyleImage="none";0==firstLoad&&(firstLoad=1),"yes"==showECOption&&"yes"!=oneBranch&&(document.getElementById("expandAllMenuItem").style.cursor="pointer",document.getElementById("collapseAllMenuItem").style.cursor="pointer")}function Icons1(e){if(LICollection=document.getElementById("MDME1").getElementsByTagName("LI"),null!=LICollection)for(i=0;i<LICollection.length;i++)if(ULChildrenCol=LICollection.item(i).getElementsByTagName("UL"),ULChildrenCol.length>0)if(FirstULWithinLI_ELEMENT=LICollection.item(i).getElementsByTagName("UL"),0==firstLoad1)0==GlobalECState1?(LICollection.item(i).setAttribute("ECState",0),""!=imagePLUS1&&(LICollection.item(i).style.background="url(images/"+imagePLUS1+") right top no-repeat"),LICollection.item(i).style.cursor="pointer",FirstULWithinLI_ELEMENT.item(0).style.display="none"):(LICollection.item(i).setAttribute("ECState",1),""!=imageMINUS1&&(LICollection.item(i).style.background="url(images/"+imageMINUS1+") right top no-repeat"),LICollection.item(i).style.cursor="pointer",FirstULWithinLI_ELEMENT.item(0).style.display="block");else if(State=LICollection.item(i).getAttribute("ECState"),0==State)""!=imagePLUS1&&(LICollection.item(i).style.background="url(images/"+imagePLUS1+") right top no-repeat"),FirstULWithinLI_ELEMENT.item(0).style.display="none";else{if("yes"==oneBranch&&null!=e)for(targetLevel=e.getAttribute("level"),tarObjParentLICol=e.parentNode.getElementsByTagName("LI"),tar=0;tar<tarObjParentLICol.length;tar++)ItemLevel=tarObjParentLICol.item(tar).getAttribute("level"),targetLevel==ItemLevel&&(tarObjParentLIULCol=tarObjParentLICol.item(tar).getElementsByTagName("UL"),0!=tarObjParentLIULCol.length&&e!=tarObjParentLICol.item(tar)&&(tarObjParentLIULCol.item(0).style.display="none",""!=imagePLUS1&&(tarObjParentLICol.item(tar).style.background="url(images/"+imagePLUS1+") right top no-repeat",tarObjParentLICol.item(tar).style.listStylePosition="inside",tarObjParentLICol.item(tar).setAttribute("ECState",0))));""!=imageMINUS1&&(LICollection.item(i).style.background="url(images/"+imageMINUS1+") right top no-repeat",LICollection.item(i).style.listStylePosition="inside"),FirstULWithinLI_ELEMENT.item(0).style.display="block"}else LICollection.item(i).style.listStyleImage="none";0==firstLoad1&&(firstLoad1=1),"yes"==showECOption&&"yes"!=oneBranch&&(document.getElementById("expandAllMenuItem1").style.cursor="pointer",document.getElementById("collapseAllMenuItem1").style.cursor="pointer")}function Icons2(e){if(LICollection=document.getElementById("MDME2").getElementsByTagName("LI"),null!=LICollection)for(i=0;i<LICollection.length;i++)if(ULChildrenCol=LICollection.item(i).getElementsByTagName("UL"),ULChildrenCol.length>0)if(FirstULWithinLI_ELEMENT=LICollection.item(i).getElementsByTagName("UL"),0==firstLoad2)0==GlobalECState2?(LICollection.item(i).setAttribute("ECState",0),""!=imagePLUS2&&(LICollection.item(i).style.background="url(images/"+imagePLUS2+") right top no-repeat"),LICollection.item(i).style.cursor="pointer",FirstULWithinLI_ELEMENT.item(0).style.display="none"):(LICollection.item(i).setAttribute("ECState",1),""!=imageMINUS2&&(LICollection.item(i).style.background="url(images/"+imageMINUS2+") right top no-repeat"),LICollection.item(i).style.cursor="pointer",FirstULWithinLI_ELEMENT.item(0).style.display="block");else if(State=LICollection.item(i).getAttribute("ECState"),0==State)""!=imagePLUS2&&(LICollection.item(i).style.background="url(images/"+imagePLUS2+") right top no-repeat"),FirstULWithinLI_ELEMENT.item(0).style.display="none";else{if("yes"==oneBranch&&null!=e)for(targetLevel=e.getAttribute("level"),tarObjParentLICol=e.parentNode.getElementsByTagName("LI"),tar=0;tar<tarObjParentLICol.length;tar++)ItemLevel=tarObjParentLICol.item(tar).getAttribute("level"),targetLevel==ItemLevel&&(tarObjParentLIULCol=tarObjParentLICol.item(tar).getElementsByTagName("UL"),0!=tarObjParentLIULCol.length&&e!=tarObjParentLICol.item(tar)&&(tarObjParentLIULCol.item(0).style.display="none",""!=imagePLUS2&&(tarObjParentLICol.item(tar).style.background="url(images/"+imagePLUS2+") right top no-repeat",tarObjParentLICol.item(tar).style.listStylePosition="inside",tarObjParentLICol.item(tar).setAttribute("ECState",0))));""!=imageMINUS2&&(LICollection.item(i).style.background="url(images/"+imageMINUS2+") right top no-repeat",LICollection.item(i).style.listStylePosition="inside"),FirstULWithinLI_ELEMENT.item(0).style.display="block"}else LICollection.item(i).style.listStyleImage="none";0==firstLoad2&&(firstLoad2=1),"yes"==showECOption&&"yes"!=oneBranch&&(document.getElementById("expandAllMenuItem2").style.cursor="pointer",document.getElementById("collapseAllMenuItem2").style.cursor="pointer")}function onMouseUpHandler(e){var t;if(!e)e=window.event;e.target?t=e.target:e.srcElement&&(t=e.srcElement),3==t.nodeType&&(t=t.parentNode),t=findTH(t),State=t.getAttribute("ECState"),0==State?t.setAttribute("ECState",1):t.setAttribute("ECState",0),Icons(t),e.cancelBubble=!0}function onMouseUpHandler1(e){var t;if(!e)e=window.event;e.target?t=e.target:e.srcElement&&(t=e.srcElement),3==t.nodeType&&(t=t.parentNode),t=findTH1(t),State=t.getAttribute("ECState"),0==State?t.setAttribute("ECState",1):t.setAttribute("ECState",0),Icons1(t),e.cancelBubble=!0}function onMouseUpHandler2(e){var t;if(!e)e=window.event;e.target?t=e.target:e.srcElement&&(t=e.srcElement),3==t.nodeType&&(t=t.parentNode),t=findTH2(t),State=t.getAttribute("ECState"),0==State?t.setAttribute("ECState",1):t.setAttribute("ECState",0),Icons2(t),e.cancelBubble=!0}function findTH(e){return"LI"==e.tagName?e:"UL"==e.tagName?null:findTH(e.parentNode)}function findTH1(e){return"LI"==e.tagName?e:"UL"==e.tagName?null:findTH1(e.parentNode)}function findTH2(e){return"LI"==e.tagName?e:"UL"==e.tagName?null:findTH2(e.parentNode)}window.onload=InitializePage;

Youez - 2016 - github.com/yon3zu
LinuXploit