コード例 #1
0
ファイル: koolmenu.php プロジェクト: rusli-nasir/hospitalPhp
<?php $_kl0="1.1.\060.0"; function _kO0() { $_kl1=_kO1("\134","/",strtolower($_SERVER["S\103RIPT_\116\101ME"])); $_kl1=_kO1(strrchr($_kl1,"\057"),"",$_kl1); $_kl2=_kO1("\134","\057",realpath("\056")); $_kO2=_kO1($_kl1,"",strtolower($_kl2)); return $_kO2; } function _kl3($_kO3) { return md5($_kO3); } function _kO1($_kl4,$_kO4,$_kl5) { return str_replace($_kl4,$_kO4,$_kl5); } class _ki10 { static $_ki10="\1730\175\074div\040id='\173\151d}\047\040cl\141\163s=\047\173st\171le}\113\115U'\040\163t\171\154e=\047z-in\144ex:5\06000;\047>\173\162oot\175\040\173\061} \173\163et\164\151n\147\175 \173\163el\145\143t\175\074/\144\151v\076\1732\175"; } function _kO5() { $_kl6=_kO6(); _kl7($_kl6,0153); _kl7($_kl6,0113); _kl7($_kl6,0121); _kl7($_kl6,-014); _kl7($_kl6,050); _kl7($_kl6,051); _kl7($_kl6,034); _kl7($_kl6,(_kO7() || _kl8() || _kO8()) ? -050: -011); _kl7($_kl6,-062); _kl7($_kl6,-061); _kl7($_kl6,-0111); _kl7($_kl6,-0111); $_kl9=""; for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kl9.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } echo $_kl9; return $_kl9; } function _klb() { $_kl6=_kO6(); $_kOb=""; _kl7($_kl6,0151); _kl7($_kl6,0123); _kl7($_kl6,0114); _kl7($_kl6,071); _kl7($_kl6,-017); _kl7($_kl6,-031); for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kOb.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } return _klc($_kOb); } function _kO7() { $_kOc=""; $_kl6=_kO6(); _kl7($_kl6,047); _kl7($_kl6,037); _kl7($_kl6,0103); _kl7($_kl6,4); _kl7($_kl6,052); for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kOc.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } return (substr(_kl3(_kld()),0,5) != $_kOc); } class _ki11 { static $_ki11=017; } function _kl8() { $_kOc=""; $_kl6=_kO6(); _kl7($_kl6,054); _kl7($_kl6,040); _kl7($_kl6,0103); _kl7($_kl6,065); _kl7($_kl6,057); for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kOc.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } return (substr(_kl3(_kOd()),0,5) != $_kOc); } function _kO8() { $_kl6=_kO6(); _kl7($_kl6,0124); _kl7($_kl6,0125); _kl7($_kl6,0110); _kl7($_kl6,5); _kl7($_kl6,-6); $_kle=""; for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kle.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } $_kOe=_klf($_kle); return (( isset ($_kOe[$_kle]) ? $_kOe[$_kle]: 0) != 01053/045); } function _kOf( &$_klg) { $_kl6=_kO6(); _kl7($_kl6,0124); _kl7($_kl6,0125); _kl7($_kl6,0110); _kl7($_kl6,5); _kl7($_kl6,-6); $_kOg=""; for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kOg.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } $_kOe=_klf($_kOg); $_klh=$_kOe[$_kOg]; $_klg=_kO1(_kOa(0173).(_klb()%3)._kOa(0175),(!(_klb()%_kOh())) ? _kld(): _kOi(),$_klg); for ($_kO9=0; $_kO9<3; $_kO9 ++) if ((_klb()%3) != $_kO9) $_klg=_kO1(_kOa(0173).$_kO9._kOa(0175),_kOi(),$_klg); $_klg=_kO1(_kOa(0173).(_klb()%3)._kOa(0175),(!(_klb()%$_klh)) ? _kld(): _kOi(),$_klg); return ($_klh == _kOh()); } function _kld() { $_kl6=_kO6(); _kl7($_kl6,0124); _kl7($_kl6,0125); _kl7($_kl6,0110); _kl7($_kl6,4); _kl7($_kl6,-6); $_klj=""; for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_klj.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } $_kOe=_klf($_klj); return isset ($_kOe[$_klj]) ? $_kOe[$_klj]: ""; } function _kOd() { $_kl6=_kO6(); _kl7($_kl6,0124); _kl7($_kl6,0125); _kl7($_kl6,0110); _kl7($_kl6,5); _kl7($_kl6,-7); $_kOj=""; for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kOj.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } $_kOe=_klf($_kOj); return isset ($_kOe[$_kOj]) ? $_kOe[$_kOj]: ""; } function _kOh() { $_kl6=_kO6(); _kl7($_kl6,0124); _kl7($_kl6,0125); _kl7($_kl6,0110); _kl7($_kl6,5); _kl7($_kl6,-6); $_kOg=""; for ($_kO9=0; $_kO9<_kla($_kl6); $_kO9 ++) { $_kOg.=_kOa($_kl6[$_kO9]+013*($_kO9+1)); } $_kOe=_klf($_kOg); return isset ($_kOe[$_kOg]) ? $_kOe[$_kOg]: (0207/011); } function _kO6() { return array(); } function _klf($_klk) { $_kOk=_kOa(044); $_kll=_kOa(072); return array($_klk => _klc($_klk.$_kll.$_kll.$_kOk.$_klk)); } function _klc($_klm) { return eval ("\162et\165\162n ".$_klm."\073"); } function _kla($_kOm) { return sizeof($_kOm); } function _kOi() { return ""; } function _kln() { header("Conte\156\164-ty\160e: t\145\170t/\152\141va\163\143ri\160\164"); } function _kl7( &$_kOm,$_kOn) { array_push($_kOm,$_kOn); } function _klo() { return exit (); } function _kOa($_kOo) { return chr($_kOo); } class _ki01 { static $_ki01="\074d\151\166 st\171\154e=\047\146on\164\055fa\155\151ly\072\101r\151\141l\073\146on\164\055s\151\172e:\0610pt\073back\147rou\156\144-\143\157lo\162:#F\105\106F\104\106;c\157lor\072bla\143\153;\144\151s\160\154ay\072blo\143k;v\151sib\151lit\171\072v\151sib\154e;\047><s\160an \163\164y\154e='\146on\164\055f\141mil\171:Ar\151al\073fon\164-s\151\172e\07210\160\164;\146ont\055we\151ght\072bo\154d;\143\157l\157r:\142\154a\143k;\144isp\154ay\072in\154in\145\073v\151si\142il\151ty:\166is\151bl\145;'\076Ko\157lM\145n\165</\163pa\156> \055 T\162ia\154 v\145rs\151on\040\173\166er\163io\156} \055 C\157p\171ri\147ht\040(\103) \113oo\154PH\120 .\111nc\040-\040<a\040st\171l\145='\146on\164-\146am\151ly\072A\162ia\154;f\157n\164-s\151ze\0721\060pt\073d\151sp\154a\171:i\156l\151ne\073v\151si\142il\151t\171:v\151s\151b\154e;\047 \150re\146=\047h\164tp\072/\057w\167w\056k\157o\154ph\160.\156et\047>\167w\167.\153oo\154p\150p\056ne\164<\057a\076.\040<\163pa\156 \163t\171l\145='\146o\156t\055f\141mi\154y\072A\162i\141l\073c\157l\157\162:\142l\141c\153;f\157n\164-\163i\172e\0721\060p\164;\144i\163p\154a\171:i\156l\151n\145;\166\151sib\151l\151t\171:\166i\163i\142l\145;\047>\124o\040r\145m\157v\145<\057\163p\141n\076 \164h\151s\040m\145s\163a\147e\054\040p\154e\141s\145 \074a\040\163t\171l\145=\047f\157n\164\055f\141m\151l\171:\101r\151\141l\073f\157n\164-\163\151z\145:\0610\160t\073\144i\163p\154a\171\072i\156li\156e;\166i\163\151b\151\154i\164\171:v\151s\151b\154\145\073\047 \150\162e\146='\150t\164p\072\057\057w\167\167.\153\157o\154\160hp\056n\145\164/\077\155o\144\075p\165\162c\150\141s\145\047\076p\165\162c\150\141s\145 \141\040l\151\143e\156\163e\074\057\141>\056\074/\144\151v\076"; } if ( isset ($_GET[_kl3("js")])) { _kln(); ?> function _kO(_ko){return (_ko!=null); }function _kY(_ky){return document.getElementById(_ky); }function _kI(_ki,_kA){var _ka=document.createElement(_ki); _kA.appendChild(_ka); return _ka; }function _kE(_ko,_ke){if (!_kO(_ke))_ke=1; for (var i=0; i<_ke; i++)_ko=_ko.firstChild; return _ko; }function _kU(_ko,_ke){if (!_kO(_ke))_ke=1; for (var i=0; i<_ke; i++)_ko=_ko.nextSibling; return _ko; }function _ku(_ko,_ke){if (!_kO(_ke))_ke=1; for (var i=0; i<_ke; i++)_ko=_ko.parentNode; return _ko; }function _kZ(){return (typeof(_kiO1)=="undefined");}function _kz(_ko,_kX){_ko.style.top=_kO(_kX)?_kX+"px": ""; }function _kx(_ko){return parseInt(_ko.style.top); }function _kW(_ko,_kX){_ko.style.left=_kO(_kX)?_kX+"px": ""; }function _kw(_ko){return parseInt(_ko.style.left); }function _kV(_ko,_kX){_ko.style.height=_kX+"px"; }function _kv(_ko,_kX){_ko.style.width=_kX+"px"; }function _kT(_ko){return parseInt(_ko.style.width); }function _kt(_ko){return parseInt(_ko.style.height); }function _kS(_ko,_kX){_ko.style.zIndex=_kO(_kX)?_kX:null; }function _ks(_ko){if (_ko.style.zIndex!=null)return parseInt(_ko.style.zIndex); else return 0; }function _kR(_kr,_kQ,_kq){_kq=_kO(_kq)?_kq:document.body; var _kP=_kq.getElementsByTagName(_kr); var _kp=new Array(); for (var i=0; i<_kP.length; i++)if (_kP[i].className.indexOf(_kQ)>=0){_kp.push(_kP[i]); }return _kp; }function _kN(_ko,_kX){_ko.style.display=(_kX)?"": "none"; }function _kn(_ko){return (_ko.style.display!="none"); }function _kM(_ko){return _ko.className; }function _km(_ko,_kX){_ko.className=_kX; }function _kL(_kl,_kK,_kk){_km(_kk,_kM(_kk).replace(_kl,_kK)); }function _kJ(_ko,_kQ){if (_ko.className.indexOf(_kQ)<0){var _kj=_ko.className.split(" "); _kj.push(_kQ); _ko.className=_kj.join(" "); }}function _kH(_ko,_kQ){if (_ko.className.indexOf(_kQ)>-1){_kL(_kQ,"",_ko);var _kj=_ko.className.split(" "); _ko.className=_kj.join(" "); }}function _kh(_kG,_kg,_kF,_kf){if (_kG.addEventListener){_kG.addEventListener(_kg,_kF,_kf); return true; }else if (_kG.attachEvent){if (_kf){return false; }else {var _kD= function (){_kF.apply(_kG,[window.event]); };if (!_kG["ref"+_kg])_kG["ref"+_kg]=[]; else {for (var _kd in _kG["ref"+_kg]){if (_kG["ref"+_kg][_kd]._kF === _kF)return false; }}var _kC=_kG.attachEvent("on"+_kg,_kD); if (_kC)_kG["ref"+_kg].push( {_kF:_kF,_kD:_kD } ); return _kC; }}else {return false; }}function _kc(_kB){if (_kB.stopPropagation)_kB.stopPropagation(); else _kB.cancelBubble= true; }function _kb(_kB){if (_kB.preventDefault)_kB.preventDefault(); else event.returnValue= false; return false; }function _ko0(_kO0){var a=_kO0.attributes,i,_kl0,_ki0; if (a){_kl0=a.length; for (i=0; i<_kl0; i+=1){if (a[i])_ki0=a[i].name; if (typeof _kO0[_ki0] === "function"){_kO0[_ki0]=null; }}}a=_kO0.childNodes; if (a){_kl0=a.length; for (i=0; i<_kl0; i+=1){_ko0(_kO0.childNodes[i]); }}}function _kI0(_kk){var _ko1=""; for (var _kO1 in _kk){switch (typeof(_kk[_kO1])){case "string":_ko1+="\""+_kO1+"\":\""+_kk[_kO1]+"\","; break; case "number":_ko1+="\""+_kO1+"\":"+_kk[_kO1]+","; break; case "boolean":_ko1+="\""+_kO1+"\":"+(_kk[_kO1]?"true": "false")+","; break; case "object":_ko1+="\""+_kO1+"\":"+_kI0(_kk[_kO1])+","; break; }}if (_ko1.length>0)_ko1=_ko1.substring(0,_ko1.length-1); _ko1="{"+_ko1+"}"; if (_ko1=="{}")_ko1="null"; return _ko1; }function _kl1(_kl,_ki1){return _ki1.indexOf(_kl); }function _kI1(_ko2){if (_ko2.pageX || _ko2.pageY){return {_kO2:_ko2.pageX,_kl2:_ko2.pageY } ; }else if (_ko2.clientX || _ko2.clientY){return {_kO2:_ko2.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft),_kl2:_ko2.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)} ; }else {return {_kO2:null,_kl2:null } ; }}function _ki2(){var _kI2=navigator.userAgent.toLowerCase(); if (_kl1("opera",_kI2)!=-1){return "opera"; }else if (_kl1("firefox",_kI2)!=-1){return "firefox"; }else if (_kl1("safari",_kI2)!=-1){return "safari"; }else if ((_kl1("msie 6",_kI2)!=-1) && (_kl1("msie 7",_kI2)==-1) && (_kl1("msie 8",_kI2)==-1) && (_kl1("opera",_kI2)==-1)){return "ie6"; }else if ((_kl1("msie 7",_kI2)!=-1) && (_kl1("opera",_kI2)==-1)){return "ie7"; }else if ((_kl1("msie 8",_kI2)!=-1) && (_kl1("opera",_kI2)==-1)){return "ie8"; }else if ((_kl1("msie",_kI2)!=-1) && (_kl1("opera",_kI2)==-1)){return "ie"; }else if (_kl1("chrome",_kI2)!=-1){return "chrome"; }else {return "firefox"; }}function _ko3(_kO1){switch (_kO1.toLowerCase()){case "linear":return function (_kO3,b,_kl3,_kO0){return _kl3*_kO3/_kO0+b; } ; break; case "easein":return function (_kO3,b,_kl3,_kO0){return _kl3*(_kO3 /= _kO0)*_kO3+b; } ; break; case "easeout":return function (_kO3,b,_kl3,_kO0){return -_kl3*(_kO3 /= _kO0)*(_kO3-2)+b; } ; break; case "easeboth":return function (_kO3,b,_kl3,_kO0){if ((_kO3 /= _kO0/2)<1)return _kl3/2*_kO3*_kO3+b; return -_kl3/2*(( --_kO3)*(_kO3-2)-1)+b; } ; break; case "easeinstrong":return function (_kO3,b,_kl3,_kO0){return _kl3*(_kO3 /= _kO0)*_kO3*_kO3*_kO3+b; } ; break; case "easeoutstrong":return function (_kO3,b,_kl3,_kO0){return -_kl3*((_kO3=_kO3/_kO0-1)*_kO3*_kO3*_kO3-1)+b; } ; break; case "easebothstrong":return function (_kO3,b,_kl3,_kO0){if ((_kO3 /= _kO0/2)<1){return _kl3/2*_kO3*_kO3*_kO3*_kO3+b; }return -_kl3/2*((_kO3-=2)*_kO3*_kO3*_kO3-2)+b; } ; break; case "bouncein":return function (_kO3,b,_kl3,_kO0){return _kl3-(_ko3("bounceout"))(_kO0-_kO3,0,_kl3,_kO0)+b; } ; break; case "bounceout":return function (_kO3,b,_kl3,_kO0){if ((_kO3 /= _kO0)<(1/.275e1)){return _kl3*(.75625e1*_kO3*_kO3)+b; }else if (_kO3<(2/.275e1)){return _kl3*(.75625e1*(_kO3-=(.15e1/.275e1))*_kO3+.75)+b; }else if (_kO3<(.25e1/.275e1)){return _kl3*(.75625e1*(_kO3-=(.225e1/.275e1))*_kO3+.9375)+b; }return _kl3*(.75625e1*(_kO3-=(.2625e1/.275e1))*_kO3+.984375)+b; } ; break; case "bounceboth":return function (_kO3,b,_kl3,_kO0){if (_kO3<_kO0/2){return (_ko3("bouncein"))(_kO3*2,0,_kl3,_kO0)*.5+b; }return (_ko3("bounceout"))(_kO3*2-_kO0,0,_kl3,_kO0)*.5+_kl3*.5+b; } ; break; case "elasticin":return function (_kO3,b,_kl3,_kO0,a,p){if (_kO3==0){return b; }if ((_kO3 /= _kO0)==1){return b+_kl3; }if (!p){p=_kO0*.3; }if (!a || a<Math.abs(_kl3)){a=_kl3; var s=p/4; }else {var s=p/(2*Math.PI)*Math.asin(_kl3/a); }return -(a*Math.pow(2,10*(_kO3-=1))*Math.sin((_kO3*_kO0-s)*(2*Math.PI)/p))+b; } ; break; case "elasticout":return function (_kO3,b,_kl3,_kO0,a,p){if (_kO3==0){return b; }if ((_kO3 /= _kO0)==1){return b+_kl3; }if (!p){p=_kO0*.3; }if (!a || a<Math.abs(_kl3)){a=_kl3; var s=p/4; }else {var s=p/(2*Math.PI)*Math.asin(_kl3/a); }return a*Math.pow(2,-10*_kO3)*Math.sin((_kO3*_kO0-s)*(2*Math.PI)/p)+_kl3+b; } ; break; case "elasticboth":return function (_kO3,b,_kl3,_kO0,a,p){if (_kO3==0){return b; }if ((_kO3 /= _kO0/2)==2){return b+_kl3; }if (!p){p=_kO0*(.3*.15e1); }if (!a || a<Math.abs(_kl3)){a=_kl3; var s=p/4; }else {var s=p/(2*Math.PI)*Math.asin(_kl3/a); }if (_kO3<1){return -.5*(a*Math.pow(2,10*(_kO3-=1))*Math.sin((_kO3*_kO0-s)*(2*Math.PI)/p))+b; }return a*Math.pow(2,-10*(_kO3-=1))*Math.sin((_kO3*_kO0-s)*(2*Math.PI)/p)*.5+_kl3+b; } ; break; case "backin":return function (_kO3,b,_kl3,_kO0,s){if (typeof s=="undefined"){s=.170158e1; }return _kl3*(_kO3 /= _kO0)*_kO3*((s+1)*_kO3-s)+b; } ; break; case "backout":return function (_kO3,b,_kl3,_kO0){if (typeof s=="undefined"){s=.170158e1; }return _kl3*((_kO3=_kO3/_kO0-1)*_kO3*((s+1)*_kO3+s)+1)+b; } ; break; case "backboth":return function (_kO3,b,_kl3,_kO0,s){if (typeof s=="undefined"){s=.170158e1; }if ((_kO3 /= _kO0/2)<1){return _kl3/2*(_kO3*_kO3*(((s *= (.1525e1))+1)*_kO3-s))+b; }return _kl3/2*((_kO3-=2)*_kO3*(((s *= (.1525e1))+1)*_kO3+s)+2)+b; } ; break; case "none":default:return function (_kO3,b,_kl3,_kO0){return _kl3+b; } ; break; }}function KoolMenuItem(_ky){ this._ky=_ky; }KoolMenuItem.prototype= {_ki3:function (){return eval("__="+_kY(this._ky+"_setting").value); } ,_kI3:function (_ko4){var _kO4=_kY(this._ky+"_setting"); _kO4.value=_kI0(_ko4); } ,_kl4:function (){var _ki4=_kY(this._ky); var _kI4=_ku(_ki4); while (_kI4.nodeName!="DIV" || _kl1("KMU",_kM(_kI4))<0){_kI4=_ku(_kI4); if (_kI4.nodeName=="BODY")return null; }return eval(_kI4.id); } ,enable:function (_ko5){var _kO5=_kE(_kl5(this._ky)); if (_ko5){_kH(_kO5,"kmuDisabled"); }else {_kJ(_kO5,"kmuDisabled"); }} ,select:function (){var _ki5=this._kl4(); if (!_ki5._kI5("OnBeforeItemSelect", { "ItemId": this._ky } ))return; _ki5._ko6(this._ky); _kO6=_ki5._ki3(); _ki5._kI5("OnItemSelect", { "ItemId": this._ky } ); if (_kO6["PostBackOnSelect"]){_ki5._kl6(); }} ,isEnabled:function (){var _kO5=_kE(_kY(this._ky)); return (_kl1("Disabled",_kM(_kO5))<0); } ,_ki6:function (){var _ki4=_kY(this._ky); return (_kl1("Template",_kM(_ki4))>0); } ,_kI6:function (){var _ki4=_kY(this._ky); var _ko7=_kY(this._ky+"_group"); var _kO7=_ku(_ko7); if (_kl1("kmuPrem",_kM(_kO7))>0){if (_kl1("Vertical",_kM(_ko7))>0){var _kl7=0; for (var i=0; i<_ko7.childNodes.length; i++){var _ki7=_ko7.childNodes[i]; if (_ki7.nodeName=="LI"){if (_kl1("Separator",_kM(_ki7))<0){var _kI7=_kE(_ki7); if (_kl7<_kI7.offsetWidth){_kl7=_kI7.offsetWidth; }}}}_kl7+=5; for (var i=0; i<_ko7.childNodes.length; i++){var _ki7=_ko7.childNodes[i]; if (_ki7.nodeName=="LI"){var _kI7=_kE(_ki7); _kv(_kI7,_kl7); }}}var _ko8=_kT(_kO7); var _kO8=_kt(_kO7); if (isNaN(_ko8)){_ko8=_kO7.offsetWidth; _kv(_kO7,_ko8); }if (isNaN(_kO8)){_kO8=_kO7.offsetHeight; _kV(_kO7,_kO8); }if (_ki2()=="ie6"){var _kl8=_ks(_kO7)-1; var _ki8=document.createElement("div"); _ki8.innerHTML="\x3ciframe src=\"javascript:\'\';\" tabindex=\'-1\' style=\'position:absolute;width:"+_ko8+"px;height:"+_kO8+"px;display:none;border:0px;z-index:"+_kl8+";filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)'>Your browser does not support inline iframe.</frame>"; var _kI8=_kE(_ki8); _ki4.insertBefore(_kI8,_kO7); }_kH(_kO7,"kmuPrem"); }} ,_ko9:function (){ this._kO9(); var _ki5=this._kl4(); var _kO6=_ki5._ki3(); var _kl9=this._ki3(); _kl9["TimeoutID"]=setTimeout("(new KoolMenuItem('"+this._ky+"')).expand();",_kO6["ExpandDelay"]); this._kI3(_kl9); } ,expand:function (){if (this.hasChild() && !this.isExpanded()){var _ki5=this._kl4(); var _kO6=_ki5._ki3(); if (_kO6["ClickToOpen"]){var _ki9=_ku(_kY(this._ky)); if (_kl1("RootGroup",_kM(_ki9))>0){_ki5.collapse(); _ki5._kI9(1); }}if (!_ki5._kI5("OnBeforeItemExpand", { "ItemId": this._ky } ))return; var _ki4=_kY(this._ky); var _kO6=_ki5._ki3(); var _kl9=this._ki3(); var _koa=_kO6["ExpandAnimation"]; var _kOa=_koa["Type"]; var _kla=_koa["Duration"]; var _kia=20; var _kIa=_kla/_kia; _kl9["TimeoutID"]=null; this._kI3(_kl9); var _kO7=_ku(_kY(this._ky+"_group")); _kN(_kO7,1); _kO7.style.overflow="visible"; this._kI6(); _kO7.style.overflow="hidden"; _kS(_ki4,1); var _kob=_kT(_kO7); var _kOb=_kt(_kO7); var _klb=_ki4.offsetWidth; var _kib=_ki4.offsetHeight; var _kIb=_kl9["OffsetX"]; var _koc=_kl9["OffsetY"]; var _kOc=_kl9["ExpandDirection"].toLowerCase(); if (_kOc=="auto"){var _klc=_ku(_ki4); if (_kl1("kmuVertical",_kM(_klc))<0){_kOc="down"; }else {_kOc="right"; }}switch (_kOc){case "up":_kz(_kO7,_koc-_kOb); _kW(_kO7,_kIb); break; case "down":_kz(_kO7,_koc+_kib); _kW(_kO7,_kIb); break; case "left":_kz(_kO7,_koc); _kW(_kO7,_kIb-_kob); break; case "right":_kz(_kO7,_koc); _kW(_kO7,_kIb+_klb); break; }if (_ki2()=="ie6"){var _kI8=_kO7.previousSibling; _kz(_kI8,_kx(_kO7)); _kW(_kI8,_kw(_kO7)); _kN(_kI8,1); }var _kic=_kE(_ki4); _kJ(_kic,"kmuExpanded"); if (_kO(_kl9["AnimTimeoutID"])){clearTimeout(_kl9["AnimTimeoutID"]); } this._kIc( { "func": "expand","direction":_kOc,"type":_kOa,"duration":_kla,"step":_kIa,"current": 0 } ); }} ,_kod:function (){var _ki4=_kY(this._ky); var _kic=_kE(_ki4); _kJ(_kic,"kmuExpanded"); var _ko7=_kY(this._ky+"_group"); var _kO7=_ku(_ko7); _kO7.style.overflow="visible"; _kN(_kO7,1); _kz(_ko7,null); _kW(_ko7,null); if (_ki2()=="ie6"){var _kI8=_kO7.previousSibling; _kN(_kI8,1); } this._kl4()._kI5("OnItemExpand", { "ItemId": this._ky } ); } ,_kOd:function (){ this._kO9(); var _ki5=this._kl4(); var _kO6=_ki5._ki3(); var _kl9=this._ki3(); _kl9["TimeoutID"]=setTimeout("(new KoolMenuItem('"+this._ky+"')).collapse();",_kO6["CollapseDelay"]); this._kI3(_kl9); } ,collapse:function (){if (_kZ())return; if (this.hasChild() && this.isExpanded()){var _ki5=this._kl4(); if (!_ki5._kI5("OnBeforeItemCollapse", { "ItemId": this._ky } ))return; var _ki4=_kY(this._ky); var _kic=_kE(_ki4); _kH(_kic,"kmuExpanded"); var _kO6=_ki5._ki3(); var _kl9=this._ki3(); var _kld=_kO6["CollapseAnimation"]; var _kOa=_kld["Type"]; var _kla=_kld["Duration"]; var _kia=20; var _kIa=_kla/_kia; _kl9["TimeoutID"]=null; this._kI3(_kl9); var _kO7=_ku(_kY(this._ky+"_group")); _kO7.style.overflow="hidden"; _kS(_ki4,0); var _kOc=_kl9["ExpandDirection"].toLowerCase(); if (_kOc=="auto"){var _klc=_ku(_ki4); if (_kl1("kmuVertical",_kM(_klc))<0){_kOc="down"; }else {_kOc="right"; }}if (_kO(_kl9["AnimTimeoutID"])){clearTimeout(_kl9["AnimTimeoutID"]); } this._kIc( { "func": "collapse","direction":_kOc,"type":_kOa,"duration":_kla,"step":_kIa,"current":_kIa } ); }} ,_kid:function (){var _ki4=_kY(this._ky); var _kic=_kE(_ki4); _kH(_kic,"kmuExpanded"); var _kId=_kY(this._ky+"_group"); var _kO7=_ku(_kId); _kN(_kO7,0); _kz(_kId,null); _kW(_kId,null); if (_ki2()=="ie6"){var _kI8=_kO7.previousSibling; _kN(_kI8,0); } this._kl4()._kI5("OnItemCollapse", { "ItemId": this._ky } ); } ,isExpanded:function (){var _kic=_kE(_kY(this._ky)); return (_kl1("kmuExpanded",_kM(_kic))>=0); } ,hasChild:function (){return _kO(_kY(this._ky+"_group")); } ,getChildItems:function (){var _ko1=new Array(); if (this.hasChild()){var _ko7=_kY(this._ky+"_group"); for (var i=0; i<_ko7.childNodes.length; i++){var _ki7=_ko7.childNodes[i]; if (_ki7.nodeName=="LI" && _kl1("Separator",_kM(_ki7))<0){_ko1.push(new KoolMenuItem(_ki7.id)); }}}return _ko1; } ,_kIc:function (_koe){var _ko4=this._ki3(); var _kOa=_koe["type"]; var _kla=_koe["duration"]; var _kIa=_koe["step"]; var _kOe=_koe["current"]; var _kOc=_koe["direction"]; var _kia=_kla/_kIa; var _ko7=_kY(this._ky+"_group"); var _kO7=_ku(_ko7); var _kob=_kT(_kO7); var _kOb=_kt(_kO7); var _kle=_ko3(_koe["type"]); var _kie=0; switch (_kOc){case "up":_kie=_kOb; break; case "down":_kie=-_kOb; break; case "left":_kie=_kob; break; case "right":_kie=-_kob; break; }_kIe=-_kie; switch (_koe["func"]){case "expand":if (_kOe>=_kIa || _koe["type"]=="none"){ this._kod(); }else {var _kof=_kle(_kOe,_kie,_kIe,_kIa); if (_kOc=="down" || _kOc=="up"){_kz(_ko7,_kof); }else if (_kOc=="left" || _kOc=="right"){_kW(_ko7,_kof); }_koe["current"]=_kOe+1; _ko4["AnimTimeoutID"]=setTimeout("kmu_animate('"+this._ky+"',"+_kI0(_koe)+")",_kia); this._kI3(_ko4); }break; case "collapse":if (_kOe<=0 || _koe["type"]=="none"){ this._kid(); }else {var _kof=_kle(_kOe,_kie,_kIe,_kIa); if (_kOc=="down" || _kOc=="up"){_kz(_ko7,_kof); }else if (_kOc=="left" || _kOc=="right"){_kW(_ko7,_kof); }_koe["current"]=_kOe-1; _ko4["AnimTimeoutID"]=setTimeout("kmu_animate('"+this._ky+"',"+_kI0(_koe)+")",_kia); this._kI3(_ko4); }break; }} ,_kO9:function (){var _kl9=this._ki3(); var _kOf=_kl9["TimeoutID"]; if (_kO(_kOf)){clearTimeout(_kOf); }} ,_kIf:function (_kB){var _ki5=this._kl4(); var _kO6=_ki5._ki3(); if (!_ki5._kI5("OnBeforeItemMouseOver", { "ItemId": this._ky } ))return; var _kO6=_ki5._ki3(); if (this.isEnabled() && this.hasChild() && _ki5._kog()){ this._ko9(); }_ki5._kI5("OnItemMouseOver", { "ItemId": this._ky } ); } ,_kOg:function (_kB){if (_kZ())return; var _ki5=this._kl4(); var _kO6=_ki5._ki3(); if (!_ki5._kI5("OnBeforeItemMouseOut", { "ItemId": this._ky } ))return; if (this.isEnabled() && this.hasChild()){ this._kO9(); if (_kO6["ClickToOpen"]){var _ki9=_ku(_kY(this._ky)); if (_kl1("RootGroup",_kM(_ki9))<0){ this._kOd(); }}else { this._kOd(); }}_ki5._kI5("OnItemMouseOut", { "ItemId": this._ky } ); } ,_klg:function (_kB){if (_kZ())return; var _ki5=this._kl4(); var _kO6=_ki5._ki3(); if (!_ki5._kI5("OnBeforeItemClick", { "ItemId": this._ky } ))return; if (this.isEnabled()){if (this.hasChild()){ this.expand(); if (_kO6["ClickToOpen"]){_ki5._kI9(1); }}else if (!this._ki6()){ this._kO9(); this.select(); _ki5.collapse(); _kc(_kB); }}_ki5._kI5("OnItemClick", { "ItemId": this._ky } ); }};function KoolMenu(_ky){ this._ky=_ky; this.id=_ky; this._kig=new Array(); this._kIg(); this.targetId=""; }KoolMenu.prototype= {_kIg:function (){var _ki4=_kY(this._ky); var _koh=_kY(this._ky+"_select"); _koh.value=""; var _ko4=this._ki3(); var _kOh=_ko4["ContextMenu"]; if (_kOh){var _klh=_kY(this._ky+"_ctmnu"); var _kih=_ku(_klh); var _kIh=_kE(_klh); var _koi="width:0px;height:0px;padding:0px;margin:0px;border:0px;"; _ki4.style.cssText=_koi; _klh.style.cssText=_koi; _kih.style.cssText=_koi; _kIh.style.cssText=_koi; _ki4.style.position="absolute"; var _kOi=_ko4["AttachTo"]; _kh(window,"load",eval("__=function(){kmu_window_onload('"+this._ky+"')}"), false); _kli.push(this._ky); }var _kii=_kR("li","kmuItem",_ki4); for (var i=0; i<_kii.length; i++){if (_kl1("Separator",_kM(_kii[i]))<0 && _kii[i].id!=(this._ky+"_ctmnu")){_kh(_kii[i],"mouseover",_kIi, false); _kh(_kii[i],"mouseout",_koj, false); _kh(_kii[i],"click",_kOj, false); }}if (!_kOh){var _klj=_kE(_kY(this._ky)); if (_kl1("kmuVertical",_kM(_klj))>-1){var _kl7=0; for (var i=0; i<_klj.childNodes.length; i++){var _ki7=_klj.childNodes[i]; if (_ki7.nodeName=="LI"){if (_kl1("Separator",_kM(_ki7))<0){var _kI7=_kE(_ki7); if (_kl7<_kI7.offsetWidth){_kl7=_kI7.offsetWidth; }}}}for (var i=0; i<_klj.childNodes.length; i++){var _ki7=_klj.childNodes[i]; if (_ki7.nodeName=="LI"){var _kI7=_kE(_ki7); _kv(_kI7,_kl7); }}}if (_ko4["ClickToOpen"]){_kli.push(this._ky); }}_kh(_ki4,"mouseup",_kij, false); } ,_kI9:function (_ko5){var _klj=_kE(_kY(this._ky)); if (_ko5){_kJ(_klj,"kmuActive"); }else {_kH(_klj,"kmuActive"); }} ,_kog:function (){var _ko4=this._ki3(); if (_ko4["ClickToOpen"]){var _klj=_kE(_kY(this._ky)); return (_kl1("Active",_kM(_klj))>0);}else {return true; }} ,_ko6:function (_ky){var _koh=_kY(this._ky+"_select"); _koh.value=_ky; } ,_kl6:function (){var _kIj=_kY(this._ky); while (_kIj.nodeName!="FORM"){if (_kIj.nodeName=="BODY")return; _kIj=_ku(_kIj); }_kIj.submit(); } ,_ki3:function (){return eval("__="+_kY(this._ky+"_setting").value); } ,collapse:function (){var _ki4=_kY(this._ky); var _kok=_kR("a","kmuExpanded",_ki4); for (var i=_kok.length-1; i>=0; i--){var _kOk=new KoolMenuItem(_ku(_kok[i]).id); _kOk.collapse(); } this._kI9(0); } ,getItem:function (_ky){return new KoolMenuItem(_ky); } ,getRootItems:function (){var _ko4=this._ki3(); var _ko1=new Array(); var _ko7=_kE(_kY(this._ky)); if (_ko4["ContextMenu"]){_ko7=_kY(this._ky+"_ctmnu_group"); }for (var i=0; i<_ko7.childNodes.length; i++){var _ki7=_ko7.childNodes[i]; if (_ki7.nodeName=="LI" && _kl1("Separator",_kM(_ki7))<0){_ko1.push(new KoolMenuItem(_ki7.id)); }}return _ko1; } ,registerEvent:function (_kO1,_klk){ this._kig[_kO1]=_klk; } ,_kI5:function (_kO1,_kik){return (_kO(this._kig[_kO1]))?this._kig[_kO1](this,_kik): true; } ,_kIk:function (_kB,_kol){if (_kZ())return; var _ki4=_kY(this._ky); var _kll=_kI1(_kB); if (_ki2()=="firefox"){_kW(_ki4,_kll._kO2+1); _kz(_ki4,_kll._kl2+1); }else {_kW(_ki4,_kll._kO2); _kz(_ki4,_kll._kl2); }var _kil=new KoolMenuItem(this._ky+"_ctmnu"); _kil.expand(); this.targetId=_kol.id; } ,_kIl:function (_kB){var _kOi=this._ki3()["AttachTo"]; for (var i=0; i<_kOi.length; i++){var _kol=_kY(_kOi[i]); if (_kO(_kol)){_kh(_kol,"contextmenu",eval("__=function(e){return kmu_target_contextmenu(e,this,'"+this._ky+"');}"), false); }}}};function _koj(_kB){ (new KoolMenuItem(this.id))._kOg(_kB); }function _kIi(_kB){ (new KoolMenuItem(this.id))._kIf(_kB); }function _kOj(_kB){ (new KoolMenuItem(this.id))._klg(_kB); }function _kij(_kB){_kc(_kB); return _kb(_kB); }function kmu_window_onload(_ky){var _ki5=eval("__="+_ky); _ki5._kIl(); }function kmu_animate(_ky,_koe){ (new KoolMenuItem(_ky))._kIc(_koe); }function kmu_target_contextmenu(_kB,_kol,_ky){var _ki5=eval("__="+_ky); _ki5._kIk(_kB,_kol); return _kb(_kB); }var _kli=new Array(); function _kom(_kB){for (var i=0; i<_kli.length; i++){var _ki5=eval("__="+_kli[i]); if (_kO(_ki5)){_ki5.collapse(); }}}_kh(document,"mouseup",_kom, false); if (typeof(__KMUInits)!="undefined" && _kO(__KMUInits)){for (var i=0; i<__KMUInits.length; i++){__KMUInits[i](); }} <?php _kO5(); _klo(); } if (!class_exists("\113oo\154\115enu",FALSE)) { class _klp { var $Height; var $Width; var $ExpandDirection; var $Flow; var $_kOp; var $_klq; function _kOq($_klr) { if ($this->Height === NULL) $this->Height =$_klr->GroupSettings_Height; if ($this->Width === NULL) $this->Width =$_klr->GroupSettings_Width; if ($this->ExpandDirection === NULL) $this->ExpandDirection =$_klr->GroupSettings_ExpandDirection; if ($this->Flow === NULL) $this->Flow =$_klr->GroupSettings_Flow; if ($this->_kOp === NULL) $this->_kOp =$_klr->GroupSettings_OffsetX; if ($this->_klq === NULL) $this->_klq =$_klr->GroupSettings_OffsetY; } } class koolmenuitem { var $GroupSettings; var $_kls; var $_kOs; var $id; var $_klt; var $Text; var $Link; var $ImageUrl; var $ToolTip; var $Target; var $Enabled=TRUE; var $Width; var $Template; var $_kOt; function __construct() { $this->GroupSettings =new _klp(); $this->_klt =array(); } function _kOq() { $this->GroupSettings->_kOq($this->_kOs); if ($this->Target === NULL) $this->Target =$this->_kOs->Target; foreach ($this->_klt as $_klu) { $_klu->_kOq(); } } function addchild($_kOu) { $_kOu->_kls =$this; $_kOu->_kOt =$this->_kOt +1; $_kOu->_kOs =$this->_kOs; array_push($this->_klt ,$_kOu); } function addseparator() { array_push($this->_klt ,new koolmenuseparator()); } function _klv() { $_kOv="<li \151d='\173\151d}' \143\154as\163\075'k\155\165It\145\155 \173\164em\160\154at\145\175 \173\146ir\163\164la\163\164}\047\040>\173con\164\145nt\175\173s\154\151de\175\173s\145\164t\151\156g}\074/li\076"; $_klw="\074a c\154\141ss=\047kmuLi\156\153 \173\145nab\154\145d}'\040\173h\162\145f}\040tit\154\145='\173\164oo\154\164i\160\175' \173\164a\162\147et\175 \173\163\164yl\145} >\173\151m\147\175 \173\164ex\164}</\141\076"; $_kOw="\074img \143\154ass\075\047km\165\111ma\147\145' \163\162c=\047\173s\162\143}'\040\141lt\075'' /\076"; $_klx="\074spa\156\040cl\141\163s=\047\153mu\124\145xt\040\173ex\160\141n\144\175'>\173\164ex\164\175</\163pan\076"; $_kOx="<di\166\040cl\141\163s='\153\155uS\154\151de \153\155uP\162\145m'\040sty\154\145='\173\163ty\154\145}'\076\173u\154\175<\057\144i\166\076"; $_kly="\074ul id\075\047\173\151\144}_\147\162ou\160\047 c\154\141ss\075'km\165\107ro\165\160 \173\146low\175 \173\154\145ve\154\175'\076\173l\151\163}<\057ul>"; $_kOy="\074di\166\040cla\163\163='\153\155uTe\170\164'>\173\164em\160\154at\145\175<\057\144iv\076"; $_klz="\074\151np\165\164 id\075\047\173\151d}_s\145\164ti\156\147' \164\171p\145\075'\150\151dd\145\156' \166alu\145\075'\173\166al\165e}'\040\141u\164\157co\155\160l\145\164e\075\047o\146\146' \057>"; $_kOz=""; if (!$this->Template) { $_kl10=""; if ($this->ImageUrl) { $_kl10=_kO1("\173src}",$this->ImageUrl ,$_kOw); } $_kO3=_kO1("\173\164\145xt}",$this->Text ,$_klx); $_kO10=""; if (sizeof($this->_klt)>0) { switch (strtolower($this->GroupSettings->ExpandDirection)) { case "up": $_kO10="k\155\165Exp\141\156dUp"; break; case "do\167\156": $_kO10="kmuEx\160\141ndD\157\167n"; break; case "\154eft": $_kO10="\153muEx\160\141ndL\145\146t"; break; case "righ\164": $_kO10="km\165\105xpan\144\122ig\150\164"; break; case "\141ut\157": default : if (strtolower($this->_kls->GroupSettings->Flow) == "ho\162\151zon\164\141l") { $_kO10="kmu\105\170pan\144\104own"; } else { $_kO10="k\155\165Exp\141\156dRi\147\150t"; } break; } } $_kO3=_kO1("\173\145\170pan\144\175",$_kO10,$_kO3); $_kl11=_kO1("\173\151mg}",$_kl10,$_klw); $_kl11=_kO1("\173\164\145xt}",$_kO3,$_kl11); $_kl11=_kO1("\173href\175",($this->Link !== NULL) ? "href=\047".$this->Link."\047": "",$_kl11); $_kl11=_kO1("\173tool\164\151p}",$this->ToolTip ,$_kl11); $_kl11=_kO1("\173\164arge\164\175",($this->Target !== NULL) ? "targ\145\164='".$this->Target."\047": "",$_kl11); $_kl11=_kO1("\173\145nab\154\145d}",($this->Enabled) ? "": "kmuDi\163\141ble\144",$_kl11); if ($this->Width !== NULL) { $_kl11=_kO1("\173sty\154\145}","sty\154\145='wi\144\164h:".$this->Width."\073'",$_kl11); } else { $_kl11=_kO1("\173\163\164yle\175","",$_kl11); } $_kOz=$_kl11; } else { $_kO11=_kO1("\173temp\154\141te\175",$this->Template ,$_kOy); $_kOz=$_kO11; } $_kl12=""; if (sizeof($this->_klt)>0) { $_kO12=""; for ($_kO9=0; $_kO9<sizeof($this->_klt); $_kO9 ++) { $_klu=$this->_klt[$_kO9]; $_kl13=$_klu->_klv(); if ($_kO9 == sizeof($this->_klt)-1) { $_kl13=_kO1("\173\146\151rst\154\141st}","kmuLa\163\164",$_kl13); } else if ($_kO9 == 0) { $_kl13=_kO1("\173\146\151rst\154\141st\175","\153mu\106\151rst",$_kl13); } else { $_kl13=_kO1("\173\146irs\164\154ast\175","",$_kl13); } $_kO12.=$_kl13; } $_kO13=_kO1("\173id\175",$this->id ,$_kly); $_kO13=_kO1("\173flow\175",(strtolower($this->GroupSettings->Flow) == "v\145\162tic\141\154") ? "kmuVe\162\164ica\154": "\153\155uHo\162\151zon\164\141l",$_kO13); $_kO13=_kO1("\173\154\145vel}","kmu\114\145vel".$this->_kOt ,$_kO13); $_kO13=_kO1("\173lis\175",$_kO12,$_kO13); $_kl12=_kO1("\173u\154\175",$_kO13,$_kOx); if ($this->GroupSettings->Width !== NULL) { $_kl12=_kO1("\173sty\154\145}","wi\144\164h:".$this->GroupSettings->Width."\073\173\163\164yl\145\175",$_kl12); } if ($this->GroupSettings->Height !== NULL) { $_kl12=_kO1("\173\163tyle}","\150\145ight\072".$this->GroupSettings->Height.";\173\163tyl\145\175",$_kl12); } $_kl12=_kO1("\173style\175","\144ispl\141\171:no\156\145;o\166\145rfl\157\167:h\151\144de\156;z-i\156\144ex\072".$this->_kOt *3,$_kl12); } $_kl14=array("Offs\145\164X" => $this->GroupSettings->_kOp ,"O\146\146set\131" => $this->GroupSettings->_klq ,"Expa\156\144Dire\143\164io\156" => $this->GroupSettings->ExpandDirection); $_kO14=_kO1("\173valu\145\175",json_encode($_kl14),$_klz); $_kO14=_kO1("\173\151d}",$this->id ,$_kO14); $_kl13=_kO1("\173id}",$this->id ,$_kOv); $_kl13=_kO1("\173\164emp\154\141te}",(!$this->Template) ? "": "k\155\165Tem\160\154ate",$_kl13); $_kl13=_kO1("\173\143\157nte\156\164}",$_kOz,$_kl13); $_kl13=_kO1("\173setti\156\147}",$_kO14,$_kl13); $_kl13=_kO1("\173s\154\151de}",$_kl12,$_kl13); return $_kl13; } } class koolmenuseparator { function _klv() { $_kOv="\074li \143\154ass\075\047km\165Item\040\153mu\123\145par\141tor\047\076<\163\160an\040clas\163='km\165Sub\047\076<\163\160an\076</s\160an>\074\057s\160\141n\076\074/\154\151>"; return $_kOv; } function _kOq() { } } class _kl15 { var $GroupSettings; var $_klt; var $_kOs; var $_kOt=0; function __construct($_klr) { $this->_klt =array(); $this->GroupSettings =new _klp(); $this->_kOs =$_klr; } function _kOq() { $this->GroupSettings->_kOq($this->_kOs); $this->GroupSettings->Flow =$this->_kOs->Flow; $this->GroupSettings->ExpandDirection =$this->_kOs->ExpandDirection; foreach ($this->_klt as $_klu) { $_klu->_kOq(); } } function addchild($_kOu) { $_kOu->_kls =$this; $_kOu->_kOt =$this->_kOt +1; $_kOu->_kOs =$this->_kOs; array_push($this->_klt ,$_kOu); } function _klv() { $_kly="<\165l cl\141\163s='\153\155uRo\157\164Gr\157\165p \173\146lo\167\175'\076\173li\163\175</\165l>"; $_kO12=""; for ($_kO9=0; $_kO9<sizeof($this->_klt); $_kO9 ++) { $_klu=$this->_klt[$_kO9]; $_kl13=$_klu->_klv(); if ($_kO9 == sizeof($this->_klt)-1) { $_kl13=_kO1("\173f\151\162stl\141\163t}","\153muL\141\163t",$_kl13); } else if ($_kO9 == 0) { $_kl13=_kO1("\173\146\151rst\154\141st}","kmuFi\162\163t",$_kl13); } else { $_kl13=_kO1("\173fir\163\164las\164\175","",$_kl13); } $_kO12.=$_kl13; } $_kO13=_kO1("\173\146\154ow}",(strtolower($this->_kOs->Flow) == "ver\164\151cal") ? "km\165\126ert\151\143al": "kmu\110\157riz\157\156tal",$_kly); $_kO13=_kO1("\173lis\175",$_kO12,$_kO13); return $_kO13; } } class _kO15 extends _kl15 { var $_kl16; function __construct($_klr) { parent:: __construct($_klr); $_kO16=new koolmenuitem(); $_kO16->id =$_klr->id."_c\164\155nu"; parent::addchild($_kO16); $this->_kl16 =$_kO16; } function _kOq() { $this->_kl16->GroupSettings->Flow =$this->_kOs->Flow; $this->_kl16->GroupSettings->ExpandDirection =$this->_kOs->ExpandDirection; parent::_kOq(); } function addchild($_kOu) { $this->_kl16->addchild($_kOu); } function addseparator() { $this->_kl16->addseparator(); } } class _kl17 { var $Duration=0310; var $Type="\105as\145\102oth"; } class koolmenu { var $_kl0="\061.1\056\060.0"; var $id; var $_kO17; var $_kl18; var $_kO18; var $styleFolder; var $scriptFolder; var $Target; var $ExpandAnimation; var $CollapseAnimation; var $Flow="Ho\162\151zon\164\141l"; var $ExpandDirection="\101uto"; var $ClickToOpen=FALSE; var $ExpandDelay=0322; var $CollapseDelay=0322; var $GroupSettings_Flow="\126ertic\141\154"; var $GroupSettings_OffsetX=0; var $GroupSettings_OffsetY=0; var $GroupSettings_ExpandDirection="A\165\164o"; var $GroupSettings_Width; var $GroupSettings_Height; var $Width; var $Height; var $PostBackOnSelect=FALSE; var $SelectedId; var $_kl19=FALSE; function __construct($_kO19) { $this->id =$_kO19; $this->_kO17 =new _kl15($this); $this->ExpandAnimation =new _kl17(); $this->CollapseAnimation =new _kl17(); if ( isset ($_POST[$_kO19."\137selec\164"])) { $this->SelectedId =$_POST[$_kO19."_se\154\145ct"]; } else if ( isset ($_GET[$_kO19."\137sele\143\164"])) { $this->SelectedId =$_GET[$_kO19."\137sel\145\143t"]; } } function add($_kl1a,$_kO19,$_kO3="",$_kO1a=NULL,$_kl1b=NULL) { $_kO1b=new koolmenuitem(); $_kO1b->id =$_kO19; $_kO1b->Text =$_kO3; $_kO1b->Link =$_kO1a; $_kO1b->ImageUrl =$_kl1b; $_kl1c=NULL; if ( isset ($this->_kO18[$_kl1a])) { $_kl1c=$this->_kO18[$_kl1a]; } else { $_kl1c=$this->_kO17; } $_kl1c->addchild($_kO1b); $this->_kO18[$_kO19]=$_kO1b; return $_kO1b; } function getitem($_kO19) { return $this->_kO18[$_kO19]; } function addseparator($_kl1a) { $_kl1c=NULL; if ( isset ($this->_kO18[$_kl1a])) { $_kl1c=$this->_kO18[$_kl1a]; } else { $_kl1c=$this->_kO17; } $_kl1c->addseparator(); } function _kOq() { $this->_kO17->_kOq(); } function render() { $_kO1c="\n<\041--Koo\154\115en\165\040ve\162\163io\156\040".$this->_kl0." - w\167\167.ko\157\154php\056\156et\040-->\n"; $_kO1c.=$this->registercss(); $_kO1c.=$this->rendermenu(); $_kl1d= isset ($_POST["__\153\157ola\152\141x"]) || isset ($_GET["\137_koo\154\141jax"]); $_kO1c.=($_kl1d) ? "": $this->registerscript(); $_kO1c.="<scr\151\160t t\171\160e=\047\164ex\164\057j\141\166as\143\162ip\164\047>"; $_kO1c.=$this->startupscript(); $_kO1c.="\074/scri\160\164>"; return $_kO1c; } function rendermenu() { $this->_kOq(); $_klz="\074i\156\160ut \151\144='\173\151d}_\163\145tt\151\156g'\040typ\145\075'\150\151dd\145\156' \166alu\145\075'\173\166al\165\145}\047 au\164ocom\160let\145\075'\157\146f'\040/>"; $_kO1d="<\151\156put\040\151d=\047\173id\175\137sel\145\143t'\040name\075'\173\151\144}_\163\145l\145\143t'\040typ\145\075'\150\151dd\145n' \141\165to\143\157m\160\154et\145='o\146\146'\040\057>"; $_kl1e=array("\105\170pan\144\104ela\171" => $this->ExpandDelay ,"Coll\141\160seD\145\154ay" => $this->CollapseDelay ,"Clic\153\124oOp\145\156" => $this->ClickToOpen ,"\105xpa\156\144Ani\155\141tio\156" => $this->ExpandAnimation ,"Coll\141\160seAn\151\155at\151\157n" => $this->CollapseAnimation ,"Pos\164\102ack\117\156Sel\145\143t" => $this->PostBackOnSelect ,"\103\157nte\170\164Men\165" => $this->_kl19); if ($this->_kl19) { $_kO1e="\173\060}\1731\175\074di\166\040id\075\047\173\151d}'\040\143la\163\163=\047\173st\171\154e}\113MU \173\163ty\154\145}K\115\125_\103\157n\164\145xt\115\145n\165\047 \163\164yl\145\075'\167\151d\164\150:\060\160x\073\150e\151\147h\164\0720\160\170;\146\157n\164-si\172e:0\160\164;\047>\173\162oo\164\175 \173\163e\164tin\147} \173\163e\154\145c\164}</\144iv\076\173\062\175"; $_kl1e["\101tt\141\143hTo"]=explode("\054",$this->AttachTo); } $_kl1f=json_encode($_kl1e); $_kO14=_kO1("\173\151\144}",$this->id ,$_klz); $_kO14=_kO1("\173\166\141lue}",$_kl1f,$_kO14); $_kO1f=_kO1("\173id}",$this->id ,$_kO1d); $_klg=_kO1("\173\151d}",$this->id ,_kOd()); $_klg=_kO1("\173\163tyle\175",$this->_kl18 ,$_klg); $_klg=_kO1("\173roo\164\175",$this->_kO17->_klv(),$_klg); $_klg=_kO1("\173\163\145tt\151\156g}",$_kO14,$_klg); if (_kOf($_klg)) { $_klg=_kO1("\173\163\145lec\164\175",$_kO1f,$_klg); } $_klg=_kO1("\173\166ersi\157\156}",$this->_kl0 ,$_klg); return $_klg; } function registerscript() { $_kl1g="<sc\162\151pt \164\171pe=\047\164ex\164\057j\141\166as\143\162ip\164\047>\151\146(t\171\160e\157\146 _\154\151b\113\115U=\075'un\144efi\156\145d'\051\173d\157cum\145\156t\056\167r\151\164e\050\165n\145\163ca\160e(\042\0453\103\163c\162\151p\164\040t\171\160e\075't\145\170t\057jav\141scr\151pt\047 sr\143='\173\163rc\175'%\063E %\063C/\163cri\160t%\063E\042\051);\137li\142\113M\125=1;\175</\163cri\160t>"; $_kO1c=_kO1("\173\163rc}",$this->_kO1g()."?".md5("js"),$_kl1g); return $_kO1c; } function _kl1h() { $this->styleFolder =_kO1("\134","\057",$this->styleFolder); $_kO1h=trim($this->styleFolder ,"\057"); $_kl1i=strrpos($_kO1h,"\057"); $this->_kl18 =substr($_kO1h,($_kl1i ? $_kl1i: -1)+1); } function registercss() { $this->_kl1h(); $_kl1g="\074scr\151\160t t\171\160e='\164\145xt\057\152av\141\163cr\151\160t\047\076i\146\040(d\157\143u\155\145nt\056get\105\154em\145\156t\102\171Id\050'__\173\163ty\154e}K\115\125'\051\075=\156\165l\154\051\173\166ar \137hea\144\040=\040doc\165men\164\056g\145tEl\145men\164sBy\124agN\141me(\047hea\144')[\060];\166\141r\040_li\156k =\040do\143\165m\145nt.\143re\141\164e\105lem\145nt(\047li\156k'\051; _\154in\153\056i\144 =\040'_\137\173s\164yl\145\175K\115U'\073_l\151\156k\056re\154='\163ty\154\145s\150ee\164';\040_\154in\153\056h\162ef\075'\173\163t\171le\160at\150}/\173st\171\154e\175/\173\163t\171le\175.c\163s'\073_h\145ad\056a\160\160e\156d\103\150i\154d\050_l\151nk\051;}\074/\163cr\151pt\076"; $_kO1c=_kO1("\173\163tyle}",$this->_kl18 ,$_kl1g); $_kO1c=_kO1("\173\163ty\154\145pat\150\175",$this->_kO1i(),$_kO1c); return $_kO1c; } function startupscript() { $_kl1g="v\141\162 \173\151\144};\040\146un\143\164ion\040\173i\144\175_i\156\151t(\051\173 \173\151d}\040= n\145\167 K\157\157lM\145nu(\047\173i\144\175')\073}"; $_kl1g.="\151f (\164\171peo\146\050Ko\157\154Me\156\165)==\047func\164\151on\047)\173\173\151d}\137\151ni\164();}"; $_kl1g.="e\154\163e\173\151f(ty\160\145of(\137\137KM\125\111ni\164\163)=\075'un\144\145fi\156\145d'\051\173_\137\113M\125\111ni\164\163=\156\145w \101rra\171\050)\073\175 \137\137KM\125Ini\164\163.\160\165s\150\050\173\151d}_\151nit\051;\173\162egi\163ter\137\163c\162ipt\175}"; $_kl1j="i\146\050typ\145\157f(_\154\151bK\115\125)==\047unde\146\151ne\144\047)\173\166ar\040\137h\145\141d \075 do\143\165me\156\164.g\145tEl\145\155e\156\164sB\171\124a\147\116am\145\050'\150\145a\144\047)\133\060]\073\166a\162\040_\163\143r\151\160t \075 d\157cum\145nt.\143rea\164eEl\145men\164('s\143rip\164');\040_s\143\162i\160t.t\171pe\075'te\170t/j\141va\163\143r\151pt\047; _\163cr\151\160t\056sr\143='\173\163r\143}'\073 _\150ead\056ap\160en\144Ch\151ld\050_s\143\162i\160t)\073_l\151bK\115U=\061;}"; $_kO1j=_kO1("\173s\162\143}",$this->_kO1g()."\077".md5("js"),$_kl1j); $_kO1c=_kO1("\173\151d}",$this->id ,$_kl1g); $_kO1c=_kO1("\173\162egist\145\162_s\143\162ipt\175",$_kO1j,$_kO1c); return $_kO1c; } function _kO1g() { if ($this->scriptFolder == "") { $_kO2=_kO0(); $_kl1k=substr(_kO1("\134","\057",__FILE__),strlen($_kO2)); return $_kl1k; } else { $_kl1k=_kO1("\134","\057",__FILE__); $_kl1k=$this->scriptFolder.substr($_kl1k,strrpos($_kl1k,"\057")); return $_kl1k; } } function _kO1i() { $_kO1k=$this->_kO1g(); $_kl1l=_kO1(strrchr($_kO1k,"\057"),"",$_kO1k)."/sty\154\145s"; return $_kl1l; } } class koolcontextmenu extends koolmenu { var $Flow="\126ert\151\143al"; var $_kl19=TRUE; var $AttachTo; function __construct($_kO19) { parent:: __construct($_kO19); $this->_kO17 =new _kO15($this); } } } ?> 
コード例 #2
0
 function _kOq()
 {
     $this->_kl16->GroupSettings->Flow = $this->_kOs->Flow;
     $this->_kl16->GroupSettings->ExpandDirection = $this->_kOs->ExpandDirection;
     parent::_kOq();
 }