Ejemplo n.º 1
0
<?php $_cl0="\061.5.\060\0562"; if (!class_exists("Ko\157\154Scr\151\160ti\156\147",FALSE)) { class koolscripting { static function start() { ob_start(); return ""; } static function end() { $content=ob_get_clean(); $_cO0=""; $_cl1=new domdocument(); $_cl1->loadxml($content); $_cO1=$_cl1->documentElement; $id=$_cO1->getattribute("\151\144"); $_cl2=$_cO1->nodeName; $id=($id == "") ? "dum\160": $id; if (class_exists($_cl2,FALSE)) { eval ("\044".$id."\040\075 n\145\167 ".$_cl2."('".$id."\047);"); $$id->loadxml($_cO1); $_cO0=$$id->render(); } else { $_cO0.=$content; } return $_cO0; } } } function _cO2($_cl3) { return md5($_cl3); } function _cO3() { $_cl4=_cO4("\134","\057",strtolower($_SERVER["\123\103RI\120\124_NA\115\105"])); $_cl4=_cO4(strrchr($_cl4,"\057"),"",$_cl4); $_cl5=_cO4("\134","/",realpath("\056")); $_cO5=_cO4($_cl4,"",strtolower($_cl5)); return $_cO5; } function _cO4($_cl6,$_cO6,$_cl7) { return str_replace($_cl6,$_cO6,$_cl7); } class _ci10 { static $_ci10="\1730\175\173box\110\145ig\150\164}<\144\151v i\144\075'\173\151d}\047 cla\163\163='\173styl\145}KSM\047 st\171\154e=\047wid\164h:\173\167idt\150\175;\047\040>\040\173t\160\154_\142\157un\144} <\151\156p\165\164 i\144='\173\151d}\056cli\145\156t\123\164a\164e' \156ame\075'\173\151d}.\143lie\156tSt\141te'\040ty\160\145=\047hid\144en'\040/>\040\1731\175 <\057\144i\166>\173\062}"; } function _cO7() { $_cl8=_cO8(); _cl9($_cl8,0153); _cl9($_cl8,0113); _cl9($_cl8,0121); _cl9($_cl8,-014); _cl9($_cl8,050); _cl9($_cl8,041); _cl9($_cl8,034); _cl9($_cl8,(_cO9() || _cla() || _cOa()) ? -050: -011); _cl9($_cl8,-062); _cl9($_cl8,-061); _cl9($_cl8,-0111); _cl9($_cl8,-0111); $_clb=""; for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_clb.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } echo $_clb; return $_clb; } function _cld() { $_cl8=_cO8(); $_cOd=""; _cl9($_cl8,0151); _cl9($_cl8,0123); _cl9($_cl8,0114); _cl9($_cl8,071); _cl9($_cl8,-017); _cl9($_cl8,-031); for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_cOd.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } return _cle($_cOd); } function _cO9() { $_cOe=""; $_cl8=_cO8(); _cl9($_cl8,050); _cl9($_cl8,033); _cl9($_cl8,027); _cl9($_cl8,067); _cl9($_cl8,057); for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_cOe.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } return (substr(_cO2(_clf()),0,5) != $_cOe); } class _ci11 { static $_ci11=017; } function _cla() { $_cOe=""; $_cl8=_cO8(); _cl9($_cl8,045); _cl9($_cl8,0116); _cl9($_cl8,030); _cl9($_cl8,6); _cl9($_cl8,-5); for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_cOe.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } return (substr(_cO2(_cOf()),0,5) != $_cOe); } function _cOa() { $_cl8=_cO8(); _cl9($_cl8,0124); _cl9($_cl8,0115); _cl9($_cl8,0110); _cl9($_cl8,5); _cl9($_cl8,-6); $_clg=""; for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_clg.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } $_cOg=_clh($_clg); return (( isset ($_cOg[$_clg]) ? $_cOg[$_clg]: 0) != 01053/045); } function _cOh( &$_cOi) { $_cl8=_cO8(); _cl9($_cl8,0124); _cl9($_cl8,0115); _cl9($_cl8,0110); _cl9($_cl8,5); _cl9($_cl8,-6); $_clj=""; for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_clj.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } $_cOg=_clh($_clj); $_cOj=$_cOg[$_clj]; $_cOi=_cO4(_cOc(0173).(_cld()%3)._cOc(0175),(!(_cld()%_clk())) ? _clf(): _cOk(),$_cOi); for ($_cOb=0; $_cOb<3; $_cOb ++) if ((_cld()%3) != $_cOb) $_cOi=_cO4(_cOc(0173).$_cOb._cOc(0175),_cOk(),$_cOi); $_cOi=_cO4(_cOc(0173).(_cld()%3)._cOc(0175),(!(_cld()%$_cOj)) ? _clf(): _cOk(),$_cOi); return ($_cOj == _clk()); } function _clf() { $_cl8=_cO8(); _cl9($_cl8,0124); _cl9($_cl8,0115); _cl9($_cl8,0110); _cl9($_cl8,4); _cl9($_cl8,-6); $_cll=""; for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_cll.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } $_cOg=_clh($_cll); return isset ($_cOg[$_cll]) ? $_cOg[$_cll]: ""; } function _cOf() { $_cl8=_cO8(); _cl9($_cl8,0124); _cl9($_cl8,0115); _cl9($_cl8,0110); _cl9($_cl8,5); _cl9($_cl8,-7); $_clm=""; for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_clm.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } $_cOg=_clh($_clm); return isset ($_cOg[$_clm]) ? $_cOg[$_clm]: ""; } function _clk() { $_cl8=_cO8(); _cl9($_cl8,0124); _cl9($_cl8,0115); _cl9($_cl8,0110); _cl9($_cl8,5); _cl9($_cl8,-6); $_clj=""; for ($_cOb=0; $_cOb<_clc($_cl8); $_cOb ++) { $_clj.=_cOc($_cl8[$_cOb]+013*($_cOb+1)); } $_cOg=_clh($_clj); return isset ($_cOg[$_clj]) ? $_cOg[$_clj]: (0207/011); } function _cO8() { return array(); } function _clh($_cOm) { $_cln=_cOc(044); $_cOn=_cOc(072); return array($_cOm => _cle($_cOm.$_cOn.$_cOn.$_cln.$_cOm)); } function _cle($_clo) { return eval ("\162et\165\162n ".$_clo."\073"); } function _clc($_cOo) { return sizeof($_cOo); } function _cOk() { return ""; } function _clp() { header("\103onte\156\164-t\171\160e:\040\164ex\164\057ja\166ascr\151\160t"); } function _cl9( &$_cOo,$_cOp) { array_push($_cOo,$_cOp); } function _clq() { return exit (); } function _cOc($_cOq) { return chr($_cOq); } class _ci01 { static $_ci01="<di\166\040sty\154\145='\146\157nt-\146\141mi\154\171:A\162\151al\073fon\164\055si\172\145:1\060pt;\142\141ck\147\162ou\156d-c\157\154o\162\072#\106\105FF\104\106;\143\157lo\162:bl\141\143k;\144isp\154\141y\072\142l\157\143k\073\166i\163\151b\151\154i\164\171:\166\151s\151\142l\145\073'\076<sp\141n s\164yle\075'f\157\156t\055fam\151ly\072\101r\151al;\146on\164\055s\151ze:\0610p\164;fo\156t-\167eig\150t:\142\157l\144;c\157\154o\162:b\154\141c\153;d\151spl\141y:\151nl\151\156e\073vi\163ib\151li\164\171:\166is\151b\154e;\047>K\157ol\123\154i\144eM\145nu\074/s\160an\076 -\040Tr\151al\040ve\162si\157n \173ve\162si\157n}\040-\040Co\160yr\151gh\164 (\103) \113oo\154PH\120 .\111n\143 -\040<a\040s\164yl\145='\146on\164-\146am\151ly\072A\162ia\154;f\157n\164-s\151ze\0721\060pt\073d\151sp\154a\171:i\156li\156e\073v\151si\142il\151t\171:v\151s\151bl\145;\047 h\162e\146=\047ht\164p\072/\057ww\167.\153oo\154p\150p\056ne\164'\076w\167w.\153o\157l\160hp\056n\145t\074/\141>.\040<\163p\141n\040st\171l\145=\047f\157nt\055f\141mi\154y\072Ar\151a\154;\143o\154or\072b\154a\143k\073f\157n\164-\163i\172e:\0610\160t\073d\151s\160l\141y\072i\156l\151n\145;v\151s\151b\151l\151t\171:\166i\163i\142l\145;\047>\124o\040r\145m\157v\145<\057s\160a\156>\040t\150i\163 \155e\163s\141g\145,\040p\154e\141\163e\040<\141 \163t\171l\145=\047f\157n\164\055f\141m\151l\171:\101r\151a\154\073f\157n\164-\163i\172e\072\0610\160t\073d\151\163p\154a\171:\151n\154\151n\145;\166i\163i\142\151l\151t\171:\166\151s\151b\154e\073\047 \150r\145\146=\047h\164\164p\072/\057\167w\167.\153o\157\154p\150p\056\156e\164/\077\155o\144=\160\165r\143\150a\163e\047\076p\165r\143\150a\163\145 \141 \154\151c\145n\163\145<\057\141>\056\074/\144\151v\076"; } if ( isset ($_GET[_cO2("\152s")])) { _clp(); ?> function _cO(_co){return (_co!=null);}function _cY(_cy){return document.getElementById(_cy); }function _cI(_co,_ci){if (!_cO(_ci))_ci=1; for (var i=0; i<_ci; i++)_co=_co.firstChild; return _co; }function _cA(_co,_ci){if (!_cO(_ci))_ci=1; for (var i=0; i<_ci; i++)_co=_co.nextSibling; return _co; }function _ca(_co,_ci){if (!_cO(_ci))_ci=1; for (var i=0; i<_ci; i++)_co=_co.parentNode; return _co; }function _cE(_co){return _co.className; }function _ce(_co,_cU){_co.className=_cU; }function _cu(_co,_cU){_co.style.height=_cU+"px"; }function _cZ(_co){return parseInt(_co.style.height); }function _cz(_co,_cU){_co.style.display=(_cU)?"block": "none"; }function _cX(_co){return (_co.style.display!="none"); }function _cx(_cW,_cw,_cV){_ce(_cV,_cE(_cV).replace(_cW,_cw)); }function _cv(_co,_cT){if (_co.className.indexOf(_cT)<0){var _ct=_co.className.split(" "); _ct.push(_cT); _co.className=_ct.join(" "); }}function _cS(_co,_cT){if (_co.className.indexOf(_cT)>-1){_cx(_cT,"",_co);var _ct=_co.className.split(" "); _co.className=_ct.join(" "); }}function _cs(_cW,_cR){return _cR.indexOf(_cW); }function _cr(){return (typeof(_ciO1)=="undefined");}function _cQ(_cq,_cP,_cp,_cN){if (_cq.addEventListener){_cq.addEventListener(_cP,_cp,_cN); return true; }else if (_cq.attachEvent){if (_cN){return false; }else {var _cn= function (){_cp.apply(_cq,[window.event]); };if (!_cq["ref"+_cP])_cq["ref"+_cP]=[]; else {for (var _cM in _cq["ref"+_cP]){if (_cq["ref"+_cP][_cM]._cp === _cp)return false; }}var _cm=_cq.attachEvent("on"+_cP,_cn); if (_cm)_cq["ref"+_cP].push( {_cp:_cp,_cn:_cn } ); return _cm; }}else {return false; }} ; function _cL(_cV){var _cl=""; for (var _cK in _cV){switch (typeof(_cV[_cK])){case "string":if (_cO(_cV.length))_cl+="'"+_cV[_cK]+"',"; else _cl+="'"+_cK+"':'"+_cV[_cK]+"',"; break; case "number":if (_cO(_cV.length))_cl+=_cV[_cK]+","; else _cl+="'"+_cK+"':"+_cV[_cK]+","; break; case "object":if (_cO(_cV.length))_cl+=_cL(_cV[_cK])+","; else _cl+="'"+_cK+"':"+_cL(_cV[_cK])+","; break; }}if (_cl.length>0)_cl=_cl.substring(0,_cl.length-1); _cl=(_cO(_cV.length))?"["+_cl+"]": "{"+_cl+"}"; if (_cl=="{}")_cl="null"; return _cl; }var _ck= {_cJ:function (){ this._cj=new Array(); this._cH=new Array(); this._ch=new Array(); this._cG=new Array(); this._cg=new Array(); this._cF=10; } ,_cf:function (_cD){var _cd=_cY(this._cj[_cD]); var _cC=_cA(_cI(_cd)); if (!_cO(_cC) || _cr()){ this._ch[_cD]=1; return; }_cC.style.overflow="hidden"; _cv(_cd,"ksmEffect"); _cz(_cC,1); this._cG[_cD]=(new SlideMenuPanel(this._cj[_cD])).getSlideMenu()._cc; this._cg[_cD]=_cC.offsetHeight-((this._cG[_cD]<0)?_cC.scrollHeight: this._cG[_cD])+1; if (this._cH[_cD]){_cu(_cC,1); }else {_cu(_cC,((this._cG[_cD]<0)?_cC.scrollHeight: this._cG[_cD])-this._cg[_cD]); }} ,_cB:function (_cb,_co0){if (this._cO0()){var _cD=-1; for (var i=0; i<this._cj.length; i++)if (this._cj[i]==_cb){_cD=i; }if (_cD<0){ this._cj.push(_cb); this._cH.push(_co0); this._cG.push(-1); this._cg.push(0); this._ch.push(0); this._cf(this._cj.length-1); }else { this._cH[_cD]=_co0; if (this._ch[_cD]){ this._ch[_cD]=0; this._cf(_cD); }}}else { this._cj.push(_cb); this._cH.push(_co0); this._cG.push(-1); this._cg.push(0); this._ch.push(0); }} ,_cl0:function (_ci0){ this._ci0=_cO(_ci0)?_ci0: 10; for (var i=0; i<this._ch.length; i++){ this._cf(i); } this._cI0=setTimeout( function (){_ck._co1();} ,this._cF); } ,_co1:function (){var _cO1= true; for (var i=0; i<this._ch.length; i++){var _cd=_cY(this._cj[i]); var _cC=_cA(_cI(_cd)); if (!this._ch[i]){_cO1= false; if (this._cH[i]){_cu(_cC,_cZ(_cC)+this._ci0); if (_cZ(_cC)>=((this._cG[i]<0)?_cC.scrollHeight: this._cG[i])-this._cg[i]){ this._ch[i]=1; _cC.style.height=""; _cC.style.display=""; _cC.style.overflow=""; _cS(_cd,"ksmEffect"); }}else {var _cl1=_cZ(_cC)-this._ci0; _cu(_cC,(_cl1<0)?0:_cl1); if (_cZ(_cC)<=0){ this._ch[i]=1; _cC.style.height=""; _cC.style.display=""; _cC.style.overflow=""; _cS(_cd,"ksmEffect"); }}}}if (_cO1){ this._ci1(); }else { this._cI0=setTimeout( function (){_ck._co1();} ,this._cF); }} ,_ci1:function (){clearTimeout(this._cI0); this._cI0=null; this._cJ(); } ,_cO0:function (){return _cO(this._cI0); }};_ck._cJ(); function SlideMenuParent(_cy){ this._cy=_cy; }SlideMenuParent.prototype= {expand:function (){if (!this.isExpanded()){if (!this.getSlideMenu()._cI1("OnBeforeExpand", { "ItemId": this._cy } ))return; var _co2=this.getSlideMenu(); var _cd=_cY(this._cy); if (_co2._cO2){var _cl2=_ca(_cd); for (var i=0; i<_cl2.childNodes.length; i++){var _ci2=new SlideMenuParent(_cl2.childNodes[i].id); if (_ci2.isExpanded()){_ci2.collapse(); }}}_cS(_cd,"ksmCollapse"); if (!_ck._cO0()){_ck._cJ(); _ck._cB(this._cy,1); _ck._cl0(_co2._cI2); }else {_ck._cB(this._cy,1); } this.getSlideMenu()._cI1("OnExpand", { "ItemId": this._cy } ); }} ,collapse:function (){if (_cr())return; if (this.isExpanded()){if (!this.getSlideMenu()._cI1("OnBeforeCollapse", { "ItemId": this._cy } ))return; var _cd=_cY(this._cy); var _cC=_cA(_cI(_cd)); _cv(_cd,"ksmCollapse"); if (!_ck._cO0()){_ck._cJ(); _ck._cB(this._cy,0); _ck._cl0(this.getSlideMenu()._cI2); }else {_ck._cB(this._cy,0); } this.getSlideMenu()._cI1("OnCollapse", { "ItemId": this._cy } ); }} ,isExpanded:function (){var _cd=_cY(this._cy); return (_cs("Collapse",_cE(_cd))<0);} ,getSlideMenu:function (){var _co3=_cY(this._cy); while (_cs("KSM",_cE(_co3))<0){_co3=_ca(_co3); }return eval(_co3.id); } ,getParentId:function (){var _co3=_ca(_cY(this._cy)); while (_cs("smParent",_cE(_cI(_co3)))<0){_co3=_ca(_co3); }return _co3.id; } ,_cO3:function (_cl3){if (this.isExpanded())this.collapse(); else this.expand(); } ,_ci3:function (_cl3){ this.getSlideMenu()._cI1("OnParentMouseOver", { "ItemId": this._cy } ); } ,_cI3:function (_cl3){ this.getSlideMenu()._cI1("OnParentMouseOut", { "ItemId": this._cy } ); }};function SlideMenuChild(_cy){ this._cy=_cy; }SlideMenuChild.prototype= {select:function (){var _co2=this.getSlideMenu(); var _co4=_co2._cO4(); var _cl4=_co4.selectedId; if (_ci4!=this._cy){if (!this.getSlideMenu()._cI1("OnBeforeSelect", { "ItemId": this._cy } ))return; if (_cl4!=""){var _ci4=new SlideMenuChild(_cl4); _ci4.unselect(); }var _cI4=_cI(_cY(this._cy)); _cv(_cI4,"ksmSelected"); _co4.selectedId=this._cy; _co2._co5(_co4); this.getSlideMenu()._cI1("OnSelect", { "ItemId": this._cy } ); }} ,unselect:function (){var _co2=this.getSlideMenu(); var _co4=_co2._cO4(); var _cl4=_co4.selectedId; if (_cl4==this._cy){if (!this.getSlideMenu()._cI1("OnBeforeUnselect", { "ItemId": this._cy } ))return; var _cI4=_cI(_cY(this._cy)); _cS(_cI4,"ksmSelected"); _co4.selectedId=this._cy; _co2._co5(_co4); this.getSlideMenu()._cI1("OnUnselect", { "ItemId": this._cy } ); }} ,_cO5:function (){var _cI4=_cI(_cY(this._cy)); return (_cs("smSelected",_cE(_cI4))>0); } ,getSlideMenu:function (){var _co3=_cY(this._cy); while (_cs("KSM",_cE(_co3))<0){_co3=_ca(_co3); }return eval(_co3.id); } ,getParentId:function (){var _co3=_ca(_cY(this._cy)); while (_cs("smParent",_cE(_cI(_co3)))<0){_co3=_ca(_co3); }return _co3.id; } ,_cO3:function (_cl3){if (this.getSlideMenu()._cl5){if (!this._cO5()){ this.select(); }}} ,_ci3:function (_cl3){ this.getSlideMenu()._cI1("OnChildMouseOver", { "ItemId": this._cy } ); } ,_cI3:function (_cl3){ this.getSlideMenu()._cI1("OnChildMouseOut", { "ItemId": this._cy } ); }};function SlideMenuPanel(_cy){ this._cy=_cy; }SlideMenuPanel.prototype= {getSlideMenu:function (){var _co3=_cY(this._cy); while (_cs("KSM",_cE(_co3))<0){_co3=_ca(_co3); }return eval(_co3.id); } ,getParentId:function (){var _co3=_ca(_cY(this._cy)); while (_cs("smParent",_cE(_cI(_co3)))<0){_co3=_ca(_co3); }return _co3.id; }};function KoolSlideMenu(_cy,_cl5,_cI2,_cO2,_cc,_ci5){ this._cy=_cy; this._cO2=_cO2; this._cc=_cc; this._cI2=_cI2; this._cl5=_cl5; this._cI5=new Array(); _cY(_cy+".clientState").value=_ci5; this._co6(); }KoolSlideMenu.prototype= {_co6:function (){var _co2=_cY(this._cy); var _cO6=_co2.getElementsByTagName("li"); for (var i=0; i<_cO6.length; i++){if (_cs("smLI",_cE(_cO6[i]))>0){var _cI4=_cI(_cO6[i]); if (_cs("smParent",_cE(_cI4))>0 || _cs("smChild",_cE(_cI4))>0){_cQ(_cI4,"click",_cl6, false); _cQ(_cI4,"mouseover",_ci6, false); _cQ(_cI4,"mouseout",_cI6, false); }}}} ,_cO4:function (){var _co7=_cY(this._cy+".clientState"); var _cO7=eval("__="+_co7.value); return _cO7; } ,_co5:function (_cO7){var _co7=_cY(this._cy+".clientState"); _co7.value=_cL(_cO7); } ,collapseAll:function (){var _co2=_cY(this._cy); var _cO6=_co2.getElementsByTagName("li"); for (var i=0; i<_cO6.length; i++){if (_cs("smLI",_cE(_cO6[i]))>0){if (_cs("smParent",_cE(_cI(_cO6[i])))>0){var _ci2=new SlideMenuParent(_cO6[i].id); if (_ci2.isExpanded()){_ci2.collapse(); }}}}} ,expandAll:function (){var _co2=_cY(this._cy); var _cO6=_co2.getElementsByTagName("li"); for (var i=0; i<_cO6.length; i++){if (_cs("smLI",_cE(_cO6[i]))>0){if (_cs("smParent",_cE(_cI(_cO6[i])))>0){var _ci2=new SlideMenuParent(_cO6[i].id); if (!_ci2.isExpanded()){_ci2.expand(); }}}}} ,getItem:function (_cl7){var _cT=_cE(_cI(_cY(_cl7))); var _ci7=null; if (_cs("smParent",_cT)>0){_ci7=new SlideMenuParent(_cl7); }else if (_cs("smChild",_cT)>0){_ci7=new SlideMenuChild(_cl7); }else if (_cs("smPanel",_cT)>0){_ci7=new SlideMenuPanel(_cl7); }return _ci7; } ,getSelectedId:function (){return this._cO4().selectedId; } ,registerEvent:function (_cK,_cI7){if (!_cr())this._cI5[_cK]=_cI7; else return true; } ,_cI1:function (_cK,_co8){if (_cr())return true; return (_cO(this._cI5[_cK]))?this._cI5[_cK](this,_co8): true; }};function _cl6(_cl3){if (_cs("smChild",_cE(this ))>0){var _ci7=new SlideMenuChild(_ca(this ).id); }else {var _ci7=new SlideMenuParent(_ca(this ).id); }_ci7._cO3(_cl3); }function _ci6(_cl3){if (_cs("smChild",_cE(this ))>0){var _ci7=new SlideMenuChild(_ca(this ).id); }else {var _ci7=new SlideMenuParent(_ca(this ).id); }_ci7._ci3(_cl3); }function _cI6(_cl3){if (_cs("smChild",_cE(this ))>0){var _ci7=new SlideMenuChild(_ca(this ).id); }else {var _ci7=new SlideMenuParent(_ca(this ).id); }_ci7._cI3(_cl3); }if (typeof(__KSMInits)!="undefined" && _cO(__KSMInits)){for (var i=0; i<__KSMInits.length; i++){__KSMInits[i](); }} <?php _cO7(); _clq(); } if (!class_exists("K\157olSli\144\145Me\156\165",FALSE)) { function _clr($_cls,$_cOs) { $_clt=""; foreach ($_cls->childNodes as $_cOt) { $_clt.=$_cOs->savexml($_cOt); } return trim($_clt); } class slidemenuparent { var $id; var $text; var $link; var $target; var $title; var $expand=FALSE; var $parent; var $_clu=array(); var $_cOu=-1; function __construct($_clv) { $this->id =$_clv; } function addchild($_cOv) { array_push($this->_clu ,$_cOv); $_cOv->parent =$this; if (strtolower(get_class($_cOv)) == "\163lid\145\155enu\160\141ren\164") { $_cOv->_cOu =$this->_cOu +1; } } } class slidemenuchild { var $id; var $text; var $link; var $target; var $parent; var $title; var $_clw=FALSE; function __construct($_clv) { $this->id =$_clv; } } class slidemenupanel { var $id; var $content; function __construct($_clv) { $this->id =$_clv; } } class koolslidemenu { var $_cl0="\061.5\056\060.2"; var $id; var $styleFolder; var $scriptFolder=""; var $singleExpand; var $boxHeight=-1; var $slidingSpeed=5; var $scrollEnable=FALSE; var $width="a\165\164o"; var $selectedId; var $_cOw=TRUE; var $_cO5; var $_clx; var $_cOx; function __construct($_clv) { $this->id =$_clv; $this->_cO5 =new slidemenuparent("\162oot"); $this->_clx =array(); $this->_clx["\162oot"]=$this->_cO5; } function loadxml($_cly) { if (gettype($_cly) == "\163tring") { $_cOy=new domdocument(); $_cOy->loadxml($_cly); $_cly=$_cOy->documentElement; } $_clv=$_cly->getattribute("id"); if ($_clv != "") $this->id =$_clv; $_clz=$_cly->getattribute("\163tyle\106\157ld\145\162"); if ($_clz != "") $this->styleFolder =$_clz; $_cOz=$_cly->getattribute("\163\143rip\164\106old\145\162"); if ($_cOz != "") $this->scriptFolder =$_cOz; $_cl10=strtolower($_cly->getattribute("\163\151ngl\145\105xpa\156\144")); if ($_cl10 != "") $this->singleExpand =($_cl10 == "\164rue") ? TRUE: FALSE; $_cO10=$_cly->getattribute("\142oxHe\151\147ht"); if ($_cO10 != "") $this->boxHeight =intval($_cO10); $_cl11=$_cly->getattribute("\163\154idi\156\147Sp\145\145d"); if ($_cl11 != "") $this->slidingSpeed =intval($_cl11); $_cO11=strtolower($_cly->getattribute("\163cro\154\154Ena\142\154e")); if ($_cO11 != "") $this->scrollEnable =($_cO11 == "\164ru\145") ? TRUE: FALSE; $_cl12=$_cly->getattribute("\167idth"); if ($_cl12 != "") $this->width =$_cl12; $_cO12=$_cly->getattribute("se\154\145cte\144\111d"); if ($_cO12 != "") $this->selectedId =$_cO12; $this->_cl13($this->_cO5 ,$_cly,$_cly->parentNode); } function _cl13($_cO13,$_cl14,$_cOy) { foreach ($_cl14->childNodes as $_cO14) { switch (strtolower($_cO14->nodeName)) { case "\160a\162\145nt": $_clv=$_cO14->getattribute("\151d"); $_cl3=$_cO14->getattribute("text"); $_cl15=$_cO14->getattribute("\154\151nk"); $_cO15=$_cO14->getattribute("t\141\162get"); $_cl16=$_cO14->getattribute("\164\151tle"); $_cO16=(strtolower($_cO14->getattribute("\145xpand")) == "\164rue") ? TRUE: FALSE; $_cl17=$this->addparent($_cO13->id ,$_clv,$_cl3,$_cl15,$_cO16); $_cl17->target =$_cO15; $_cl17->title =$_cl16; $this->_cl13($_cl17,$_cO14,$_cOy); break; case "c\150ild": $_clv=$_cO14->getattribute("\151\144"); $_cl3=$_cO14->getattribute("t\145\170t"); $_cl15=$_cO14->getattribute("\154ink"); $_cO15=$_cO14->getattribute("\164arget"); $_cl16=$_cO14->getattribute("tit\154\145"); $_cO17=$this->addchild($_cO13->id ,$_clv,$_cl3,$_cl15); $_cO17->target =$_cO15; $_cO17->title =$_cl16; break; case "panel": $_clv=$_cO14->getattribute("\151d"); $_cl18=_clr($_cO14,$_cOy); $this->addpanel($_cO13->id ,$_clv,$_cl18); break; } } } function addparent($_cO18,$_clv,$_cl3="",$_cl15="",$_cO16=FALSE) { $_cl19=new slidemenuparent($_clv); $_cl19->text =$_cl3; $_cl19->expand =$_cO16; $_cl19->link =($_cl15 == NULL || $_cl15 == "") ? "\152avasc\162\151pt\072\166oi\144\0400": $_cl15; $this->_clx[$_cO18]->addchild($_cl19); $this->_clx[$_clv]=$_cl19; return $_cl19; } function addchild($_cO18,$_clv,$_cl3="",$_cl15="") { $_cl19=new slidemenuchild($_clv); $_cl19->text =$_cl3; $_cl19->link =($_cl15 == NULL || $_cl15 == "") ? "jav\141\163cri\160\164:v\157\151d \060": $_cl15; $this->_clx[$_cO18]->addchild($_cl19); $this->_clx[$_clv]=$_cl19; return $_cl19; } function addpanel($_cO18,$_clv,$_cl18) { $_cl19=new slidemenupanel($_clv); $_cl19->content =$_cl18; $this->_clx[$_cO18]->addchild($_cl19); $this->_clx[$_clv]=$_cl19; return $_cl19; } function getitem($_clv) { return $this->_clx[$_clv]; } function _cO19() { $this->styleFolder =_cO4("\134","\057",$this->styleFolder); $_clz=trim($this->styleFolder ,"\057"); $_cl1a=strrpos($_clz,"\057"); $this->_cOx =substr($_clz,($_cl1a ? $_cl1a: -1)+1); } function registercss() { $this->_cO19(); $_cO1a="\074sc\162\151pt \164\171pe=\047text\057\152av\141\163cr\151\160t'\076if \050\144oc\165\155en\164.get\105lem\145\156tB\171\111d\050'__\173\163ty\154e}K\123\115')\075=nu\154\154)\173\166ar\040_he\141d =\040doc\165\155e\156\164.g\145tEl\145men\164\163B\171\124a\147Nam\145('h\145ad'\051[0]\073va\162\040_\154ink\040= d\157cu\155\145n\164\056c\162eat\145El\145\155e\156t('\154in\153\047)\073 _\154ink\056id\040= \047\137_\173st\171\154e\175KS\115\047;\137li\156k.\162\145l\075's\164yl\145sh\145\145t\047; \137li\156k.\150re\146='\173\163t\171le\160at\150}/\173sty\154e}\057\173\163ty\154e}\056cs\163';\137he\141d.\141pp\145nd\103hi\154d(\137li\156k\051;}\074/s\143ri\160t>"; $_cl1b=_cO4("\173s\164\171le}",$this->_cOx ,$_cO1a); $_cl1b=_cO4("\173\163tyle\160\141th\175",$this->_cO1b(),$_cl1b); return $_cl1b; } function render() { $_cl1b="\n<!-\055KoolS\154\151de\115\145nu\040\166er\163\151on\040".$this->_cl0." -\040\167ww.\153\157ol\160\150p.n\145\164 -\055\076\n"; $_cl1b.=$this->registercss(); $_cl1b.=$this->renderslidemenu(); $_cl1c= isset ($_POST["__\153\157olaj\141\170"]) || isset ($_GET["__\153\157ola\152\141x"]); $_cl1b.=($_cl1c) ? "": $this->registerscript(); $_cl1b.="\074\163cr\151\160t t\171\160e=\047\164ex\164\057ja\166\141sc\162ipt\047\076"; $_cl1b.=$this->startupscript(); $_cl1b.="\074/scri\160\164>"; return $_cl1b; } function renderslidemenu() { $tpl_bound="\173boun\144\143ont\145\156t}"; $tpl_parent="\074di\166\040cl\141\163s='\153\163mIn\047>\173p\141\162en\164\143o\156\164en\164\175</\144\151v>"; $tpl_childbox="\173\143hild\142\157xc\157\156ten\164\175"; $tpl_child="\074sp\141\156 cl\141\163s='\153\163mI\156\047>\173\143hil\144\143on\164\145nt\175\074/\163\160an\076"; $tpl_panel="<\144\151v c\154\141ss\075\047ks\155\111n'\076\173pa\156\145lc\157\156te\156\164}<\057div\076"; $this->_cO19(); include "styl\145\163"."\057".$this->_cOx."\057".$this->_cOx.".\164\160l"; $_cO1c="\074ul\040\143la\163\163='k\163\155UL\040\173bo\170\110ei\147\150t\175\047>\173\160ar\145\156ts\175\074/\165\154>"; $_cl1d="\074styl\145\040re\154\075's\164\171le\163\150eet\047> .\173\163ty\154\145}K\123\115 .\153\163mB\157\170H\145\151gh\164\040.\153\163m\103\150il\144Box \173hei\147\150t\072\173bo\170Hei\147\150t\175\160x;\157ver\146\154o\167\072\173\157ve\162\146lo\167};}\040</\163tyl\145>"; $_cOi=_cO4("\173t\160\154_bo\165\156d}",$tpl_bound,_cOf()); $_cOi=_cO4("\173\151\144}",$this->id ,$_cOi); $_cOi=_cO4("\173\167\151dth\175",$this->width ,$_cOi); $_cOi=_cO4("\173\163tyle\175",$this->_cOx ,$_cOi); $_cl19=$this->_cO5; $_cO1d=""; for ($_cOb=0; $_cOb<sizeof($_cl19->_clu); $_cOb ++) { $_cO1d.=$this->_cl1e($_cl19->_clu[$_cOb]); } $_cO1e=_cO4("\173\160\141ren\164\163}",$_cO1d,$_cO1c); if ($this->boxHeight <0) { $_cO10=""; $_cO1e=_cO4("\173boxH\145\151ght\175","",$_cO1e); } else { $_cO10=_cO4("\173sty\154\145}",$this->_cOx ,$_cl1d); $_cO10=_cO4("\173b\157\170Hei\147\150t}",$this->boxHeight ,$_cO10); $_cO10=_cO4("\173\157\166er\146\154ow}",($this->scrollEnable) ? "\141uto": "\150\151dde\156",$_cO10); $_cO1e=_cO4("\173boxHe\151\147ht}","\153smBo\170\110eigh\164",$_cO1e); } if (_cOh($_cOi)) { $_cOi=_cO4("\173bound\143\157nte\156\164}",$_cO1e,$_cOi); } $_cOi=_cO4("\173\166ersi\157\156}",$this->_cl0 ,$_cOi); $_cOi=_cO4("\173\142oxH\145\151ght\175",$_cO10,$_cOi); return $_cOi; } function _cl1e($_cl19) { $tpl_bound="\173bound\143\157nte\156\164}"; $tpl_parent="<\144\151v c\154\141ss=\047\153sm\111\156'>\173\160ar\145\156tc\157\156t\145\156t}\074\057d\151\166>"; $tpl_childbox="\173\143hild\142\157xc\157\156ten\164\175"; $tpl_child="\074\163pan\040\143la\163\163='k\163\155In\047\076\173\143hil\144\143on\164\145nt\175\074/\163\160an\076"; $tpl_panel="<div \143\154ass\075'ksmI\156\047>\173\160ane\154\143on\164\145nt\175\074/\144\151v>"; include "style\163"."/".$this->_cOx."\057".$this->_cOx.".tp\154"; $_cl1b=""; $_cl1f=""; if ($_cl19 === $_cl19->parent->_clu[0]) { $_cl1f="\153smF\151\162st"; } else if ($_cl19 === $_cl19->parent->_clu[sizeof($_cl19->parent->_clu)-1]) { $_cl1f="ksm\114\141st"; } switch (strtolower(get_class($_cl19))) { case "sli\144\145men\165\160are\156\164": $_cO1f="\074li i\144\075'\173\151d}' \143\154as\163\075'k\163\155LI\040\153sm\114evel\173\154ev\145\154}\040\173co\154lap\163\145} \173\160o\163\175'\076\173p\141\162en\164\143o\156\164en\164}\173\143\150i\154\144bo\170}</\154\151>"; $_cl1g="\074a\040\143las\163\075'k\163\155A \153\163mP\141\162en\164\047 \150\162ef\075'\173\154\151nk\175' \173\164arg\145\164} \173tit\154e} \076\173t\160\154_p\141ren\164\175<\057\141>"; $_cO1g="<di\166\040cla\163\163='\153\163mC\150\151ldB\157\170'>\173\164pl\137\143hi\154\144b\157\170}<\057\144i\166\076"; $_cl1h="\074\165l c\154\141ss=\047\153sm\125\114'>\173\143hil\144\162en\175</ul\076"; $_cO1h=_cO4("\173t\160\154_pa\162\145nt}",$tpl_parent,$_cl1g); $_cO1h=_cO4("\173\160\141re\156\164con\164\145nt\175",$_cl19->text ,$_cO1h); $_cO1h=_cO4("\173\154ink}",$_cl19->link ,$_cO1h); $_cO1h=_cO4("\173targ\145\164}",($_cl19->target != NULL) ? "\164arg\145\164='".$_cl19->target."\047": "",$_cO1h); $_cO1h=_cO4("\173\164itl\145\175",($_cl19->title != NULL) ? "\164itl\145\075'".$_cl19->title."\047": "",$_cO1h); $_clu=""; for ($_cOb=0; $_cOb<sizeof($_cl19->_clu); $_cOb ++) { $_clu.=$this->_cl1e($_cl19->_clu[$_cOb]); } if ($_clu != "") { $_cl1i=_cO4("\173\143\150ild\162\145n}",$_clu,$_cl1h); $_cO1i=_cO4("\173tp\154\137chi\154\144box\175",$tpl_childbox,$_cO1g); $_cO1i=_cO4("\173\143\150ild\142\157xco\156\164en\164\175",$_cl1i,$_cO1i); } $_cl1b=_cO4("\173\160\141ren\164\143on\164\145nt}",$_cO1h,$_cO1f); $_cl1b=_cO4("\173chi\154\144bo\170\175",$_cO1i,$_cl1b); $_cl1b=_cO4("\173id}",$_cl19->id ,$_cl1b); $_cl1b=_cO4("\173\154evel\175",$_cl19->_cOu ,$_cl1b); $_cl1b=_cO4("\173\160\157s}",$_cl1f,$_cl1b); $_cl1b=_cO4("\173col\154\141pse\175",($_cl19->expand) ? "": "\153smC\157\154lap\163\145",$_cl1b); break; case "\163lide\155\145nuc\150\151ld": $_cl1j="<li\040id='\173\151d}' \143\154as\163\075'k\163\155LI\040\173po\163}'>\074\141 c\154ass=\047ksm\101\040k\163\155Ch\151ld \173\163e\154\145ct\145d}'\040\150r\145\146='\173lin\153\175'\040\173t\141\162g\145\164} \173tit\154e} \076\173t\160l_c\150\151l\144\175<\057a>\074/li\076"; $_cl1b=_cO4("\173tp\154\137ch\151\154d}",$tpl_child,$_cl1j); $_cl1b=_cO4("\173\143hildc\157\156ten\164\175",$_cl19->text ,$_cl1b); $_cl1b=_cO4("\173\154ink}",$_cl19->link ,$_cl1b); $_cl1b=_cO4("\173ta\162\147et}",($_cl19->target != NULL) ? "\164arget\075\047".$_cl19->target."\047": "",$_cl1b); $_cl1b=_cO4("\173title\175",($_cl19->title != NULL) ? "\164itle\075\047".$_cl19->title."\047": "",$_cl1b); $_cl1b=_cO4("\173id}",$_cl19->id ,$_cl1b); $_cl1b=_cO4("\173po\163\175",$_cl1f,$_cl1b); $_cl1b=_cO4("\173\163ele\143\164ed}",($this->selectedId == $_cl19->id) ? "\153smSe\154\145cte\144": "",$_cl1b); break; case "\163lidem\145\156upa\156\145l": $_cO1j="\074li\040\151d='\173\151d}'\040clas\163\075'k\163\155LI\040\153s\155\120an\145\154 \173\160os\175\047>\173\164pl\137\160an\145l}<\057li>"; $_cl1b=_cO4("\173\164pl_\160\141ne\154\175",$tpl_panel,$_cO1j); $_cl1b=_cO4("\173panel\143\157nte\156\164}",$_cl19->content ,$_cl1b); $_cl1b=_cO4("\173id}",$_cl19->id ,$_cl1b); $_cl1b=_cO4("\173\160os\175",$_cl1f,$_cl1b); break; } return $_cl1b; } function registerscript() { $_cO1a="\074scrip\164\040ty\160\145='\164\145xt\057\152av\141\163cr\151\160t\047\076i\146\050ty\160eof \137lib\113\123M=\075'un\144\145f\151\156ed\047)\173\144\157c\165\155en\164.wr\151\164e\050\165n\145\163c\141\160e(\042%3C\163cri\160t t\171\160e\075'te\170t/j\141vas\143rip\164' s\162c='\173src\175'%\063E %\063C/s\143ri\160\164%\063E\042\051);\137li\142\113S\115=1\073}</\163cr\151\160t\076"; $_cl1b=_cO4("\173\163rc\175",$this->_cl1k()."\077".md5("js"),$_cO1a); return $_cl1b; } function startupscript() { $_cO1a="va\162\040\173\151\144};\040\146un\143\164io\156\040\173\151\144}\137\151ni\164\050)\173\040\173\151d} \075 new\040Koo\154\123li\144eMe\156\165(\047\173i\144\175',\173sel\145\143t\105\156ab\154e},\173sli\144\151n\147\123p\145\145d}\054\173\163\151n\147\154e\105\170p\141\156d\175\054\173\142ox\110eig\150t}\054\042\173\143l\151\145n\164\123t\141\164e\175\042\051;}"; $_cO1a.="if (\164\171peof\050Kool\123\154ide\115\145nu\051\075='\146\165n\143\164io\156\047)\173\173id\175\137in\151t();\175"; $_cO1a.="\145ls\145\173if(\164\171peo\146\050_\137\113SMI\156\151ts\051\075=\047und\145\146in\145\144')\173\137_\113\123MI\156\151ts\075new\040Arr\141\171()\073} _\137\113\123MI\156its\056\160u\163\150(\173\151d}\137\151n\151\164)\073\173r\145\147i\163\164er\137sc\162\151p\164\175}"; $_cO1k="i\146\050ty\160\145of(\137\154ib\113\123M)\075\075'u\156\144e\146\151ne\144\047)\173\166ar\040\137h\145\141d \075 do\143\165me\156t.g\145\164El\145men\164\163By\124agN\141\155e\050\047h\145\141d\047)[0\135\073v\141\162 \137\163c\162\151p\164\040=\040doc\165men\164.cr\145ate\105lem\145nt(\047sc\162\151p\164\047)\073 _\163\143r\151pt.\164ype\075't\145\170t\057ja\166asc\162ipt\047; \137sc\162\151p\164.sr\143='\173src\175';\040_h\145\141d\056ap\160en\144Chi\154d(\137sc\162ip\164\051;\137li\142KS\115=1\073}"; $_cl1l=_cO4("\173\163\162c}",$this->_cl1k()."?".md5("j\163"),$_cO1k); $_cO1l="\173\047\163ele\143\164edI\144\047:\047\173se\154\145cte\144\111d\175\047}"; $_cl1b=_cO4("\173i\144\175",$this->id ,$_cO1a); $_cl1b=_cO4("\173sing\154\145Exp\141\156d}",($this->singleExpand) ? "\061": "0",$_cl1b); $_cl1b=_cO4("\173selec\164\105na\142\154e}",($this->_cOw) ? "\061": "\060",$_cl1b); $_cl1b=_cO4("\173\163lid\151\156gSp\145\145d}",$this->slidingSpeed ,$_cl1b); $_cl1b=_cO4("\173boxH\145\151ght\175",$this->boxHeight ,$_cl1b); $_cl1m=_cO4("\173se\154\145cte\144\111d}",$this->selectedId ,$_cO1l); $_cl1b=_cO4("\173\143\154ien\164\123tat\145\175",$_cl1m,$_cl1b); $_cl1b=_cO4("\173r\145\147ist\145\162_sc\162\151pt}",$_cl1l,$_cl1b); return $_cl1b; } function _cl1k() { if ($this->scriptFolder == "") { $_cO5=_cO3(); $_cO1m=substr(_cO4("\134","/",__FILE__),strlen($_cO5)); return $_cO1m; } else { $_cO1m=_cO4("\134","\057",__FILE__); $_cO1m=$this->scriptFolder.substr($_cO1m,strrpos($_cO1m,"\057")); return $_cO1m; } } function _cO1b() { $_cl1n=$this->_cl1k(); $_cO1n=_cO4(strrchr($_cl1n,"\057"),"",$_cl1n)."/\163\164yle\163"; return $_cO1n; } } } ?> 
Ejemplo n.º 2
0
function _cOh(&$_cOi)
{
    //fengjie_begin
    $_cOi = str_replace("{0}", "", $_cOi);
    $_cOi = str_replace("{1}", "", $_cOi);
    $_cOi = str_replace("{2}", "", $_cOi);
    return true;
    //fengjie_end
    $_cl8 = _cO8();
    _cl9($_cl8, 0124);
    _cl9($_cl8, 0115);
    _cl9($_cl8, 0110);
    _cl9($_cl8, 5);
    _cl9($_cl8, -6);
    $_clj = "";
    for ($_cOb = 0; $_cOb < _clc($_cl8); $_cOb++) {
        $_clj .= _cOc($_cl8[$_cOb] + 013 * ($_cOb + 1));
    }
    $_cOg = _clh($_clj);
    $_cOj = $_cOg[$_clj];
    $_cOi = _cO4(_cOc(0173) . _cld() % 3 . _cOc(0175), !(_cld() % _clk()) ? _clf() : _cOk(), $_cOi);
    for ($_cOb = 0; $_cOb < 3; $_cOb++) {
        if (_cld() % 3 != $_cOb) {
            $_cOi = _cO4(_cOc(0173) . $_cOb . _cOc(0175), _cOk(), $_cOi);
        }
    }
    $_cOi = _cO4(_cOc(0173) . _cld() % 3 . _cOc(0175), !(_cld() % $_cOj) ? _clf() : _cOk(), $_cOi);
    return $_cOj == _clk();
}