function _bO1k() { if ($this->scriptFolder == "") { $_bl6 = _bl4(); $_bO1m = substr(_bl5("\\", "/", __FILE__), strlen($_bl6)); return $_bO1m; } else { $_bO1m = _bl5("\\", "/", __FILE__); $_bO1m = $this->scriptFolder . substr($_bO1m, strrpos($_bO1m, "/")); return $_bO1m; } }
<?php $_bl0="2.0.\067.2"; if (!class_exists("Kool\123\143rip\164\151ng",FALSE)) { class koolscripting { static function start() { ob_start(); return ""; } static function end() { $_bO0=ob_get_clean(); $_bl1=""; $_bO1=new domdocument(); $_bO1->loadxml($_bO0); $_bl2=$_bO1->documentElement; $id=$_bl2->getattribute("\151d"); $_bO2=$_bl2->nodeName; $id=($id == "") ? "dump": $id; if (class_exists($_bO2,FALSE)) { eval ("\044".$id."\040= new\040".$_bO2."('".$id."'\051\073"); $$id->loadxml($_bl2); $_bl1=$$id->render(); } else { $_bl1.=$_bO0; } return $_bl1; } } } function _bl3($_bO3) { return md5($_bO3); } function _bl4() { $_bO4=_bl5("\134","/",strtolower($_SERVER["SCR\111\120T_\116\101ME"])); $_bO4=_bl5(strrchr($_bO4,"/"),"",$_bO4); $_bO5=_bl5("\134","/",realpath(".")); $_bl6=_bl5($_bO4,"",strtolower($_bO5)); return $_bl6; } function _bl5($_bO6,$_bl7,$_bO7) { return str_replace($_bO6,$_bl7,$_bO7); } class _bi10 { static $_bi10="\1730}<di\166\040id\075\047\173\151d}' \143\154as\163\075'\173\163ty\154\145}K\124\126' \163\164y\154\145='\173\167i\144\164h}\173hei\147\150t\175\173ov\145rfl\157\167}'\076<ul\040cla\163\163=\047\153t\166\125L\040\173n\157\160ad\144ing\175 \173\154\151n\145s}'\076\173\163\165bn\157des\175</\165\154>\173\143l\151\145n\164\163t\141\164e\175\1731\175</d\151v>\173\062}"; } function _bl8() { $_bO8=_bl9(); _bO9($_bO8,0153); _bO9($_bO8,0113); _bO9($_bO8,0121); _bO9($_bO8,-014); _bO9($_bO8,050); _bO9($_bO8,040); _bO9($_bO8,034); _bO9($_bO8,(_bla() || _bOa() || _blb()) ? -050: -011); _bO9($_bO8,-062); _bO9($_bO8,-061); _bO9($_bO8,-0111); _bO9($_bO8,-0111); $_bOb=""; for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_bOb.=_bld($_bO8[$_blc]+013*($_blc+1)); } echo $_bOb; return $_bOb; } function _bOd() { $_bO8=_bl9(); $_ble=""; _bO9($_bO8,0151); _bO9($_bO8,0123); _bO9($_bO8,0114); _bO9($_bO8,071); _bO9($_bO8,-017); _bO9($_bO8,-031); for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_ble.=_bld($_bO8[$_blc]+013*($_blc+1)); } return _bOe($_ble); } function _bla() { $_blf=""; $_bO8=_bl9(); _bO9($_bO8,0130); _bO9($_bO8,0114); _bO9($_bO8,026); _bO9($_bO8,072); _bO9($_bO8,054); for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_blf.=_bld($_bO8[$_blc]+013*($_blc+1)); } return (substr(_bl3(_bOf()),0,5) != $_blf); } class _bi11 { static $_bi11=017; } function _bOa() { $_blf=""; $_bO8=_bl9(); _bO9($_bO8,045); _bO9($_bO8,041); _bO9($_bO8,0102); _bO9($_bO8,070); _bO9($_bO8,056); for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_blf.=_bld($_bO8[$_blc]+013*($_blc+1)); } return (substr(_bl3(_blg()),0,5) != $_blf); } function _blb() { $_bO8=_bl9(); _bO9($_bO8,0124); _bO9($_bO8,0114); _bO9($_bO8,0110); _bO9($_bO8,5); _bO9($_bO8,-6); $_bOg=""; for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_bOg.=_bld($_bO8[$_blc]+013*($_blc+1)); } $_blh=_bOh($_bOg); return (( isset ($_blh[$_bOg]) ? $_blh[$_bOg]: 0) != 01053/045); } function _bOi( &$_blj) { $_bO8=_bl9(); _bO9($_bO8,0124); _bO9($_bO8,0114); _bO9($_bO8,0110); _bO9($_bO8,5); _bO9($_bO8,-6); $_bOj=""; for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_bOj.=_bld($_bO8[$_blc]+013*($_blc+1)); } $_blh=_bOh($_bOj); $_blk=$_blh[$_bOj]; $_blj=_bl5(_bld(0173).(_bOd()%3)._bld(0175),(!(_bOd()%_bOk())) ? _bOf(): _bll(),$_blj); for ($_blc=0; $_blc<3; $_blc ++) if ((_bOd()%3) != $_blc) $_blj=_bl5(_bld(0173).$_blc._bld(0175),_bll(),$_blj); $_blj=_bl5(_bld(0173).(_bOd()%3)._bld(0175),(!(_bOd()%$_blk)) ? _bOf(): _bll(),$_blj); return ($_blk == _bOk()); } function _bOf() { $_bO8=_bl9(); _bO9($_bO8,0124); _bO9($_bO8,0114); _bO9($_bO8,0110); _bO9($_bO8,4); _bO9($_bO8,-6); $_blm=""; for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_blm.=_bld($_bO8[$_blc]+013*($_blc+1)); } $_blh=_bOh($_blm); return isset ($_blh[$_blm]) ? $_blh[$_blm]: ""; } function _blg() { $_bO8=_bl9(); _bO9($_bO8,0124); _bO9($_bO8,0114); _bO9($_bO8,0110); _bO9($_bO8,5); _bO9($_bO8,-7); $_bOm=""; for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_bOm.=_bld($_bO8[$_blc]+013*($_blc+1)); } $_blh=_bOh($_bOm); return isset ($_blh[$_bOm]) ? $_blh[$_bOm]: ""; } function _bOk() { $_bO8=_bl9(); _bO9($_bO8,0124); _bO9($_bO8,0114); _bO9($_bO8,0110); _bO9($_bO8,5); _bO9($_bO8,-6); $_bOj=""; for ($_blc=0; $_blc<_bOc($_bO8); $_blc ++) { $_bOj.=_bld($_bO8[$_blc]+013*($_blc+1)); } $_blh=_bOh($_bOj); return isset ($_blh[$_bOj]) ? $_blh[$_bOj]: (0207/011); } function _bl9() { return array(); } function _bOh($_bln) { $_bOn=_bld(044); $_blo=_bld(072); return array($_bln => _bOe($_bln.$_blo.$_blo.$_bOn.$_bln)); } function _bOe($_bOo) { return eval ("\162etu\162\156 ".$_bOo."\073"); } function _bOc($_blp) { return sizeof($_blp); } function _bll() { return ""; } function _bOp() { header("Con\164\145nt-\164\171pe\072\040t\145\170t/\152\141va\163\143ri\160t"); } function _bO9( &$_blp,$_blq) { array_push($_blp,$_blq); } function _bOq() { return exit (); } function _bld($_blr) { return chr($_blr); } class _bi01 { static $_bi01="<d\151\166 st\171\154e=\047\146on\164\055fa\155\151ly\072\101ri\141\154;\146\157nt\055\163iz\145:10\160\164;b\141\143kg\162oun\144-co\154\157r\072\043F\105\106FD\106;co\154\157r\072\142la\143k;d\151spl\141\171:\142\154oc\153;vi\163ibi\154\151t\171\072v\151sib\154e;'\076<s\160\141n\040\163t\171\154e\075'fo\156t-f\141mil\171:A\162\151a\154\073f\157nt\055\163i\172e:1\060pt\073fon\164-w\145\151g\150t:\142\157l\144;co\154or\072bl\141\143k\073di\163pl\141\171:\151nl\151ne;\166is\151bi\154it\171\072v\151si\142le\073'\076Ko\157lT\162ee\126ie\167\074/\163pa\156> \055 T\162ia\154 v\145rs\151on\040\173\166er\163io\156} \055 C\157py\162ig\150t \050C\051 K\157ol\120HP\040.\111nc\040- \074a\040st\171le\075'\146on\164-f\141mi\154y\072Ar\151al\073f\157nt\055s\151ze\07210\160t\073di\163p\154ay\072i\156li\156e\073vi\163i\142il\151ty\072v\151s\151bl\145;\047 h\162e\146='\150t\164p:\057/\167w\167.k\157o\154ph\160.\156e\164'>\167w\167.k\157o\154p\150p.\156e\164<\057a>\056 \074s\160a\156 s\164y\154e\075'\146o\156t-\146a\155i\154y:\101\162i\141l\073c\157lo\162:\142l\141c\153;\146on\164-\163i\172e\0721\060p\164;\144i\163pl\141y\072i\156l\151n\145;\166i\163i\142i\154i\164y\072v\151s\151bl\145;\047\076T\157 \162e\155o\166e\074/\163p\141n\076 \164h\151s\040m\145s\163a\147e\054 \160\154e\141s\145 \074a\040s\164y\154e\075\047f\157n\164-\146a\155i\154y\072\101r\151a\154;\146o\156t\055\163i\172e\0721\060p\164\073d\151s\160l\141y\072\151n\154i\156e\073\166i\163i\142i\154i\164\171:\166i\163i\142\154e\073'\040\150r\145f\075\047h\164t\160:\057\057w\167\167.\153o\157l\160\150p\056n\145\164/\077m\157\144=\160u\162\143h\141\163e\047>\160\165r\143h\141\163e\040\141 \154i\143\145n\163e\074\057a\076\056<\057\144i\166\076"; } if ( isset ($_GET[_bl3("\152s")])) { _bOp(); ?> function _bO(_bo){return (_bo!=null);}function _bY(_by,_bI){var _bi=document.createElement(_by); _bI.appendChild(_bi); return _bi; }function _bA(_ba){return document.getElementById(_ba); }function _bE(_bo,_be){if (!_bO(_be))_be=1; for (var i=0; i<_be; i++)_bo=_bo.parentNode; return _bo; }function _bU(_bo,_be){if (!_bO(_be))_be=1; for (var i=0; i<_be; i++)_bo=_bo.firstChild; return _bo; }function _bu(_bo,_be){if (!_bO(_be))_be=1; for (var i=0; i<_be; i++)_bo=_bo.nextSibling; return _bo; }function _bZ(){return (typeof(_biO1)=="undefined");}function _bz(_bX,_bx,_bW,_bw){if (_bX.addEventListener){_bX.addEventListener(_bx,_bW,_bw); return true; }else if (_bX.attachEvent){if (_bw){return false; }else {var _bV= function (){_bW.apply(_bX,[window.event]); };if (!_bX["ref"+_bx])_bX["ref"+_bx]=[]; else {for (var _bv in _bX["ref"+_bx]){if (_bX["ref"+_bx][_bv]._bW === _bW)return false; }}var _bT=_bX.attachEvent("on"+_bx,_bV); if (_bT)_bX["ref"+_bx].push( {_bW:_bW,_bV:_bV } ); return _bT; }}else {return false; }} ; function _bt(_bX,_bx,_bW,_bw){if (_bX.removeEventListener){_bX.removeEventListener(_bx,_bW,_bw); return true; }else if (_bX.detachEvent){if (_bX["ref"+_bx]){for (var _bv in _bX["ref"+_bx]){if (_bX["ref"+_bx][_bv]._bW === _bW){_bX.detachEvent("on"+_bx,_bX["ref"+_bx][_bv]._bV); _bX["ref"+_bx][_bv]._bW=null; _bX["ref"+_bx][_bv]._bV=null; delete _bX["ref"+_bx][_bv]; return true; }}}return false; }else {return false; }}function _bS(_bs){return _bs.className; }function _bR(_bs,_br){_bs.className=_br; }function _bQ(_bo,_bq){if (_bo.className.indexOf(_bq)<0){var _bP=_bo.className.split(" "); _bP.push(_bq); _bo.className=_bP.join(" "); }}function _bp(_bo,_bq){if (_bo.className.indexOf(_bq)>-1){_bN(_bq,"",_bo);var _bP=_bo.className.split(" "); _bo.className=_bP.join(" "); }}function _bN(_bn,_bM,_bm){_bR(_bm,_bS(_bm).replace(_bn,_bM)); }function _bL(_bm,_bq){for (var i=0; i<_bm.childNodes.length; i++)if (_bm.childNodes[i].className.indexOf(_bq)>-1)return _bm.childNodes[i]; }function _bl(_bo,_bK){_bo.style.display=(_bK)?"block": "none"; }function _bk(_bo){return (_bo.style.display!="none"); }function _bJ(_bm){var _bj=""; for (var _bH in _bm){switch (typeof(_bm[_bH])){case "string":if (_bO(_bm.length))_bj+="'"+_bm[_bH]+"',"; else _bj+="'"+_bH+"':'"+_bm[_bH]+"',"; break; case "number":if (_bO(_bm.length))_bj+=_bm[_bH]+","; else _bj+="'"+_bH+"':"+_bm[_bH]+","; break; case "object":if (_bO(_bm.length))_bj+=_bJ(_bm[_bH])+","; else _bj+="'"+_bH+"':"+_bJ(_bm[_bH])+","; break; }}if (_bj.length>0)_bj=_bj.substring(0,_bj.length-1); _bj=(_bO(_bm.length))?"["+_bj+"]": "{"+_bj+"}"; if (_bj=="{}")_bj="null"; return _bj; }var _bh= false; function _bG(_bg){_bF=(window.event)?event.keyCode:_bg.keyCode; if (_bF==17){_bh= true; }}function _bf(_bg){_bF=(window.event)?event.keyCode:_bg.keyCode; if (_bF==17){_bh= false; }}_bz(document,"keyup",_bf, false); _bz(document,"keydown",_bG, false); function _bD(_bd){if (_bd.pageX || _bd.pageY){return {_bC:_bd.pageX,_bc:_bd.pageY } ; }return {_bC:_bd.clientX+document.body.scrollLeft-document.body.clientLeft,_bc:_bd.clientY+document.body.scrollTop-document.body.clientTop } ; }var _bB= {_bb:function (){var _bo0=document.cookie.split("; "); for (var i=0; i<_bo0.length; i++){var _bO0=_bo0[i].split("="); this[_bO0[0]]=_bO0[1]; }} ,_bl0:function (_bH,_bi0,_bI0){if (_bI0){var _bo1=new Date(); _bo1.setTime(_bo1.getTime()+(_bI0*60*60*1000)); var _bO1="; expires="+_bo1.toGMTString(); }else var _bO1=""; document.cookie=_bH+"="+_bi0+_bO1+"; path=/"; this[_bH]=_bi0; } ,_bl1:function (_bH){ this._bl0(_bH,"",-1); this[_bH]=undefined; }} ; _bB._bb(); function _bi1(_bI1){ this.NodeId=_bI1; this._ba=_bI1; }_bi1.prototype= {getText:function (){return this._bo2("Text").innerHTML; } ,setText:function (_bO2){ this._bo2("Text").innerHTML=_bO2; return this ; } ,getImageSrc:function (){var _bl2=this._bo2("Image"); return (_bO(_bl2)?_bl2.src: ""); } ,setImageSrc:function (_bi2){var _bl2=this._bo2("Image"); if (_bO(_bl2))_bl2.src=_bi2; return this ; } ,disableSelect:function (_bI2){ (_bI2)?this._bo3("select"): this._bO3("select"); return this ; } ,disableDrag:function (_bI2){ (_bI2)?this._bo3("drag"): this._bO3("drag"); return this ; } ,disableDrop:function (_bI2){ (_bI2)?this._bo3("drop"): this._bO3("drop"); return this ; } ,disableEdit:function (_bI2){ (_bI2)?this._bo3("edit"): this._bO3("edit"); return this ; } ,_bo3:function (_bl3){var _bi3=this.getTree(); var _bI3=_bi3._bo4(); var _bO4=_bI3[_bl3+"DisableIds"]; if (_bO4.join(" ").indexOf(this._ba)<0)_bO4.push(this._ba); _bi3._bl4(_bI3); } ,_bO3:function (_bl3){var _bi3=this.getTree(); var _bI3=_bi3._bo4(); var _bO4=_bI3[_bl3+"DisableIds"]; for (var i in _bO4)if (_bO4[i]==this._ba){_bO4.splice(i,1); break; }_bi3._bl4(_bI3); } ,getData:function (_bF){if (_bZ())return this ; var _bi4=_bU(_bA(this._ba)); var _bI4=null; for (var i=0; i<_bi4.childNodes.length; i++)if (_bi4.childNodes[i].nodeName=="INPUT")if (_bi4.childNodes[i].type="hidden")_bI4=_bi4.childNodes[i]; if (_bO(_bI4)){var _bo5=eval("__="+_bI4.value); var _bi0=_bo5.data[_bF]; return (_bO(_bi0)?decodeURIComponent(_bi0): ""); }else {return ""; }} ,select:function (){var _bi4=_bU(_bA(this._ba)); if (_bS(_bi4).indexOf("Selected")<0){if (!this.getTree()._bO5("OnBeforeSelect", { "NodeId": this._ba } ))return; _bQ(_bi4,"ktvSelected"); var _bi3=this.getTree(); var _bl5=_bi3._bo4(); if (!_bO(_bl5.selectedIds))_bl5.selectedIds=new Array(); _bl5.selectedIds.push(this._ba); _bi3._bl4(_bl5); this.getTree()._bO5("OnSelect", { "NodeId": this._ba } ); }return this ; } ,unselect:function (){var _bi4=_bU(_bA(this._ba)); if (_bZ())return this ; if (_bS(_bi4).indexOf("Selected")>0){if (!this.getTree()._bO5("OnBeforeUnselect", { "NodeId": this._ba } ))return; _bp(_bi4,"ktvSelected"); var _bi3=this.getTree(); var _bl5=_bi3._bo4(); for (var i=0; i<_bl5.selectedIds.length; i++)if (_bl5.selectedIds[i]==this._ba){_bl5.selectedIds.splice(i,1); break; }_bi3._bl4(_bl5); this.getTree()._bO5("OnUnselect", { "NodeId": this._ba } ); }return this ; } ,expand:function (){var _bi5=_bA(this._ba); var _bI5=_bu(_bU(_bi5)); if (_bO(_bI5)){if (!this.getTree()._bO5("OnBeforeExpand", { "NodeId": this._ba } ))return; var _bo6=this._bo2("Plus"); if (_bO(_bo6))_bN("Plus","Minus",_bo6); _bl(_bI5,1); if (this.getTree()._bO6){var _bl6=new Array(); var _bi6=this._ba; while (_bi6.indexOf(".root")<0){_bl6.push(_bi6); _bi6=(new _bi1(_bi6)).getParentId(); }_bl6.push(_bi6); this.getTree()._bI6(_bl6); } this.getTree()._bo7(this._ba,1); this.getTree()._bO5("OnExpand", { "NodeId": this._ba } ); }else {var _bi4=_bU(_bA(this._ba)); var _bI4=null; for (var i=0; i<_bi4.childNodes.length; i++)if (_bi4.childNodes[i].nodeName=="INPUT")_bI4=_bi4.childNodes[i]; if (_bO(_bI4)){var _bo5=eval("__="+_bI4.value); if (_bO(_bo5.url) && _bo5.url!=""){_bo5.url=decodeURIComponent(_bo5.url); if (!this.getTree()._bO5("OnBeforeExpand", { "NodeId": this._ba } ))return; this.loadSubTree(_bo5.url); _bo5.loading=1; _bI4.value=_bJ(_bo5); }}}return this ; } ,collapse:function (){var _bi5=_bA(this._ba); var _bI5=_bu(_bU(_bi5)); if (_bZ())return this ; if (_bO(_bI5)){if (!this.getTree()._bO5("OnBeforeCollapse", { "NodeId": this._ba } ))return; var _bO7=this._bo2("Minus"); if (_bO(_bO7))_bN("Minus","Plus",_bO7); _bl(_bI5,0); this.getTree()._bo7(this._ba,0); this.getTree()._bO5("OnCollapse", { "NodeId": this._ba } ); }return this ; } ,getChildIds:function (){var _bI5=_bu(_bU(_bA(this._ba))); var _bl7=new Array(); if (_bO(_bI5)){for (var i=0; i<_bI5.childNodes.length; i++)_bl7.push(_bI5.childNodes[i].id); }return _bl7; } ,getParentId:function (){return _bE(_bA(this._ba),2).id; } ,getTree:function (){var _bi6=this._ba; while (_bi6.indexOf(".root")<0){_bi6=(new _bi1(_bi6)).getParentId(); }return eval(_bi6.replace(".root","")); } ,moveToAbove:function (_bi7){if ((new _bi1(_bi7).getParentId()==this.getParentId())){var _bi5=_bA(this._ba); var _bI7=_bA(_bi7); _bE(_bi5).insertBefore(_bi5,_bI7); (new _bi1(this.getParentId()))._bo8(); }return this ; } ,moveToBelow:function (_bi7){if ((new _bi1(_bi7).getParentId()==this.getParentId())){var _bi5=_bA(this._ba); var _bI7=_bA(_bi7); var _bI5=_bE(_bi5); if (_bI5.lastChild==_bI7)_bI5.appendChild(_bi5); else _bI5.insertBefore(_bi5,_bu(_bI7)); (new _bi1(this.getParentId()))._bo8(); }return this ; } ,attachTo:function (_bi7){var _bO8=_bi7; var _bl8= false; while (_bO8.indexOf(".root")<0){_bO8=(new _bi1(_bO8)).getParentId(); if (_bO8==this._ba)_bl8= true; }if (_bl8){return false; }var _bi6=this.getParentId(); if (_bi6==_bi7){return false; }var _bi5=_bA(_bi7); var _bI5=_bu(_bU(_bi5)); if (!_bO(_bI5)){_bI5=_bY("ul",_bi5); _bR(_bI5,"ktvUL"); (new _bi1(_bi7)).getTree()._bo7(_bi7,1); }_bI5.appendChild(_bA(this._ba)); (new _bi1(_bi7))._bo8(); (new _bi1(_bi6))._bo8(); return true; } ,loadSubTree:function (_bi8){if (typeof koolajax!="undefined" && _bO(koolajax)){if (_bZ())return this ; var _bI8=this._bo2("Loading"); if (!_bO(_bI8)){if (!this.getTree()._bO5("OnBeforeSubTreeLoad", { "NodeId": this._ba,"Url":_bi8 } ))return; var _bi4=_bU(_bA(this._ba)); _bI8=_bY("span",_bi4); _bR(_bI8,"ktvLoading"); koolajax.load(_bi8,eval("__=function(ct){"+this.getTree()._ba+".OSTLD('"+this._ba+"',ct);}")); }}return this ; } ,_bo9:function (_bO9){var _bi5=_bA(this._ba); var _bi3=this.getTree(); var _bI5=_bu(_bU(_bi5)); if (_bO(_bI5)){ this.getTree()._bt(_bI5); }else {_bI5=_bY("ul",_bi5); _bR(_bI5,"ktvUL"); }_bI5.innerHTML+=_bO9; var _bI8=this._bo2("Loading"); if (_bO(_bI8))_bU(_bi5).removeChild(_bI8); _bi3._bz(_bI5); this._bo8(); _bi3._bO5("OnSubTreeLoad", { "NodeId": this._ba } ); var _bi4=_bU(_bi5); var _bI4=null; for (var i=0; i<_bi4.childNodes.length; i++)if (_bi4.childNodes[i].nodeName=="INPUT")_bI4=_bi4.childNodes[i]; if (_bO(_bI4)){var _bo5=eval("__="+_bI4.value); if (_bO(_bo5.loading) && _bo5.loading==1){ delete _bo5.loading; _bI4.value=_bJ(_bo5); var _bl9=this._bo2("PM"); _bN("Plus","Minus",_bl9); _bi3._bo7(this._ba,1); _bi3._bO5("OnExpand", { "NodeId": this._ba } ); _bi3.rECSFC(); }}} ,addChildNode:function (_bi7,_bO2,_bl2){var _bi9=_bA(this._ba); var _bI5=_bu(_bU(_bi9)); if (!_bO(_bI5)){_bI5=_bY("ul",_bi9); _bR(_bI5,"ktvUL");}var _bi5=_bY("li",_bI5); _bi5.id=_bi7; _bR(_bi5,"ktvLI"); var _bI9=_bY("div",_bi5); _bR(_bI9,"ktvBot"); if (_bO(_bl2)){var _boa=_bY("img",_bI9); _bR(_boa,"ktvImage"); _boa.src=_bl2; _boa.alt=""; }_bO2=(_bO(_bO2))?_bO2: ""; var _bOa=_bY("span",_bI9); _bR(_bOa,"ktvText"); _bOa.innerHTML=_bO2; _bz(_bOa,"click",_bla, false); _bz(_bOa,"mouseover",_bia, false); _bz(_bOa,"mouseout",_bIa, false); _bz(_bOa,"mousedown",_bob, false); _bz(_bOa,"mouseup",_bOb, false); this._bo8(); return this ; } ,_blb:function (_bi7){ (new _bi1(_bi7)).unselect(); var _bI7=_bA(_bi7); var _bI5=_bE(_bI7); this.getTree()._bt(_bI7); _bI5.removeChild(_bI7); this._bo8(); } ,removeAllChildren:function (){var _bi5=_bA(this._ba); var _bI5=_bu(_bU(_bi5)); if (_bO(_bI5)){ this.getTree()._bt(_bI5); _bi5.removeChild(_bI5); this._bo8(); }} ,_bo8:function (_bib){var _bO4=this.getChildIds(); for (var i=0; i<_bO4.length; i++){var _bi5=_bA(_bO4[i]); var _bi4=_bU(_bi5); _bp(_bi5,"ktvFirst"); _bp(_bi5,"ktvLast"); _bN("ktvTop","ktvMid",_bi4); _bN("ktvBot","ktvMid",_bi4); if (i==0){_bQ(_bi5,"ktvFirst"); _bN("ktvMid","ktvTop",_bi4); }if (i==_bO4.length-1){_bQ(_bi5,"ktvLast"); _bN("ktvMid","ktvBot",_bi4); _bN("ktvTop","ktvBot",_bi4); }}var _bIb=this._bo2("PM"); if (_bO4.length==0){if (_bO(_bIb)){_bt(_bIb,"click",_boc, false); _bE(_bIb).removeChild(_bIb); }var _bi5=_bA(this._ba); var _bI5=_bu(_bU(_bi5)); if (_bO(_bI5))_bi5.removeChild(_bI5); }else {if (!_bO(_bIb)){var _bi4=_bU(_bA(this._ba)); var _bI5=_bu(_bi4); _bIb=_bY("span",_bi4); _bi4.insertBefore(_bIb,_bU(_bi4)); _bR(_bIb,"ktvPM ktv"+(_bk(_bI5)?"Minus": "Plus")); _bz(_bIb,"click",_boc, false); }}} ,isExpanded:function (){return _bO(this._bo2("Minus")); } ,isSelected:function (){var _bi4=_bU(_bA(this._ba)); return (_bS(_bi4).indexOf("Selected")>0);} ,startEdit:function (_bi0){if (_bZ())return this ; if (!this.getTree()._bO5("OnBeforeStartEdit", { "NodeId": this._ba } ))return; var _bO2=this._bo2("Text"); _bi4=_bU(_bA(this._ba)); _bl(_bO2,0); var _bI4=_bY("input",_bi4); _bz(_bI4,"blur",_bOc, false); _bz(_bI4,"keypress",_blc, false); _bR(_bI4,"ktvEdit"); _bI4.value=_bO(_bi0)?_bi0:_bO2.innerHTML; _bI4.focus(); _bI4.select(); this.getTree()._bO5("OnStartEdit", { "NodeId": this._ba } ); return this ; } ,endEdit:function (_bic){if (!this.getTree()._bO5("OnBeforeEndEdit", { "NodeId": this._ba } ))return; var _bI4=this._bo2("Edit"); var _bO2=this._bo2("Text"); _bt(_bI4,"blur",_bOc, false); _bt(_bI4,"keypress",_blc, false); if (!_bO(_bic))_bic= true; if (_bic)_bO2.innerHTML=_bI4.value; _bO2.style.display=""; _bE(_bI4).removeChild(_bI4); this.getTree()._bO5("OnEndEdit", { "NodeId": this._ba } ); return this ; } ,_bo2:function (_bq){var _bi5=_bA(this._ba); var _bIc=_bL(_bU(_bi5),"ktv"+_bq); return _bIc; } ,_bod:function (_bg){var _bi3=this.getTree(); if (_bi3._bOd){var _bld=this.isSelected(); var _bl5=_bi3._bo4(); var _bid=" "+_bl5.selectDisableIds.join(" "); if (_bid.indexOf(" "+this._ba)<0){if (!_bh || !_bi3._bId){_bi3.unselectAll(); } this.select(); }if (_bld && _bi3._boe){var _bl5=_bi3._bo4(); var _bOe=" "+_bl5.editDisableIds.join(" "); if (_bOe.indexOf(" "+this._ba)<0){ this.startEdit(); }}}} ,_ble:function (_bg,_bic){ this.endEdit(_bic); } ,_bie:function (_bg){if (this.isExpanded())this.collapse(); else this.expand(); } ,_bIe:function (_bg){var _bi4=_bU(_bA(this._ba)); _bQ(_bi4,"ktvOver"); if (_bof && this._bOf()){_bQ(_bi4,"ktvDrop"); }} ,_bIf:function (_bg){var _bi4=_bU(_bA(this._ba)); _bp(_bi4,"ktvOver"); if (_bof && this._bOf()){_bp(_bi4,"ktvDrop"); }} ,_bOf:function (){if (_bZ())return false; var _bi3=this.getTree(); var _bO4=" "+_bi3._bo4().dropDisableIds.join(" "); return (_bi3._bog && _bO4.indexOf(" "+this._ba)<0); } ,_bOg:function (_bg){if (_bof && this._bOf()){var _bi4=_bU(_bA(this._ba)); _bp(_bi4,"ktvDrop"); if (!this.getTree()._bO5("OnBeforeDrop", { "NodeId": this._ba,"DragNodeId":_blg } ))return; var _big= false; if (this._ba!=_blg){_big=(new _bi1(_blg)).attachTo(this._ba); } this.getTree()._bO5("OnDrop", { "NodeId": this._ba,"DragNodeId":_blg,"Succeed":_big } ); }} ,_bIg:function (){if (_bZ())return false; var _bi3=this.getTree(); var _bO4=" "+_bi3._bo4().dragDisableIds.join(" "); return (_bi3._bog && _bO4.indexOf(" "+this._ba)<0); } ,_boh:function (_bg){var _bi4=_bU(_bA(this._ba)); var _bI9=_bi4.cloneNode( true); var _bOh=_bL(_bI9,"ktvPM"); if (_bO(_bOh))_bI9.removeChild(_bOh); var _blh=_bY("div",document.body); _blh.id="__"+this._ba; var _bih=_bS(_bA(this.getTree()._ba)); _bR(_blh,_bih);_bQ(_bI9,"ktvDrag"); _blh.style.position="absolute"; _blh.appendChild(_bI9); var _bIh=_bD(_bg); _blh.style.top=_bIh._bc+"px"; _blh.style.left=(_bIh._bC+5)+"px"; this.getTree()._bO5("OnDrag", { "NodeId": this._ba } ); } ,_boi:function (_bg){var _blh=_bA("__"+this._ba); var _bIh=_bD(_bg); _blh.style.top=_bIh._bc+"px"; _blh.style.left=(_bIh._bC+5)+"px"; } ,_bOi:function (_bg){var _blh=_bA("__"+this._ba); document.body.removeChild(_blh); }};function KoolTreeView(_ba,_bO6,_bOd,_bId,_bog,_boe,_bli,_bii,_bIi){ this._ba=_ba; this._bId=_bId; this._bOd=_bOd; this._bog=_bog; this._boe=_boe; this._bO6=_bO6; this._bli=_bli.toLowerCase(); this._bii=_bii; this._boj=new Array(); _bA(_ba+".clientState").value=_bIi; this._bb(); }KoolTreeView.prototype= {getSelectedIds:function (){var _bIi=this._bo4(); return (_bO(_bIi.selectedIds))?_bIi.selectedIds: (new Array()); } ,unselectAll:function (){var _bO4=this.getSelectedIds(); for (var i=0; i<_bO4.length; i++)(new _bi1(_bO4[i])).unselect(); return this ; } ,removeNode:function (_bi7){var _bOj=this.getNode(this.getNode(_bi7).getParentId()); _bOj._blb(_bi7); return this ; } ,getNode:function (_bi7){return new _bi1(_bi7); } ,expandAll:function (){if (_bZ())return this ; var _blj=_bA(this._ba+".root"); var _bij=_blj.getElementsByTagName("ul"); for (var i=0; i<_bij.length; i++)if (_bS(_bij[i]).indexOf("ktvUL")>-1){_bl(_bij[i],1); var _bi4=_bU(_bE(_bij[i])); var _bl9=_bL(_bi4,"ktvPM"); _bN("Plus","Minus",_bl9); }return this ; } ,collapseAll:function (){if (_bZ())return this ; this._bI6(new Array()); return this ; } ,_bI6:function (_bl6){if (_bZ())return this ; var _bIj=_bl6.join(" "); var _blj=_bA(this._ba+".root"); var _bij=_blj.getElementsByTagName("ul"); for (var i=0; i<_bij.length; i++){var _bi7=_bE(_bij[i]).id; if (_bS(_bij[i]).indexOf("ktvUL")>-1 && _bIj.indexOf(_bi7)<0){_bl(_bij[i],0); var _bi4=_bU(_bE(_bij[i])); var _bl9=_bL(_bi4,"ktvPM"); _bN("Minus","Plus",_bl9); }}} ,_bo4:function (){var _bok=_bA(this._ba+".clientState"); var _bIi=eval("__="+_bok.value); return _bIi; } ,_bl4:function (_bIi){var _bok=_bA(this._ba+".clientState"); _bok.value=_bJ(_bIi); } ,OSTLD:function (_bi7,_bO9){ (new _bi1(_bi7))._bo9(_bO9); } ,_bz:function (_bOk){var _blk=_bOk.getElementsByTagName("li"); for (var i=0; i<_blk.length; i++)if (_bS(_blk[i]).indexOf("ktvLI")!=-1){_bi4=_bU(_blk[i]); _bIb=_bL(_bi4,"ktvPM"); if (_bO(_bIb))_bz(_bIb,"click",_boc, false); _bOa=_bL(_bi4,"ktvText"); _bz(_bOa,"click",_bla, false); _bz(_bOa,"mouseover",_bia, false); _bz(_bOa,"mouseout",_bIa, false); _bz(_bOa,"mousedown",_bob, false); _bz(_bOa,"mouseup",_bOb, false); }} ,_bt:function (_bOk){var _blk=_bOk.getElementsByTagName("li"); for (var i=0; i<_blk.length; i++)if (_bS(_blk[i]).indexOf("ktvLI")!=-1){_bi4=_bU(_blk[i]); _bIb=_bL(_bi4,"ktvPM"); if (_bO(_bIb))_bt(_bIb,"click",_boc, false); _bOa=_bL(_bi4,"ktvText"); _bt(_bOa,"click",_bla, false); _bt(_bOa,"mouseover",_bia, false); _bt(_bOa,"mouseout",_bIa, false); _bt(_bOa,"mousedown",_bob, false); _bt(_bOa,"mouseup",_bOb, false); }} ,_bb:function (){var _bi3=document.getElementById(this._ba); _bi3.onselectstart=_bik; this._bz(_bi3); setTimeout(this._ba+".rECSFC()",0); } ,rECSFC:function (){var _bIk=""; switch (this._bli){case "onpage":var _bol=window.location.href.indexOf("?"); _bIk=(_bol<0)?window.location.href:window.location.href.substring(0,_bol)+"_"+this._ba+"_opcl"; break; case "crosspage":_bIk=this._ba+"_opcl"; break; case "none":default:return; break; }var _bO2=_bB[_bIk]; _bO2=_bO(_bO2)?_bO2: "{}"; var _bll=eval("__="+_bO2); var _blk=_bA(this._ba).getElementsByTagName("li"); for (var i=0; i<_blk.length; i++)if (_bS(_blk[i]).indexOf("ktvLI")!=-1){if (_bO(_bll[_blk[i].id])){var _bil=this.getNode(_blk[i].id); if (_bll[_bil._ba]==1 && !_bil.isExpanded()){_bil.expand(); }else if (_bll[_bil._ba]==0 && _bil.isExpanded()){_bil.collapse(); }}}} ,_bo7:function (_bi7,_bIl){var _bIk=""; switch (this._bli){case "onpage":var _bol=window.location.href.indexOf("?"); _bIk=((_bol<0)?window.location.href:window.location.href.substring(0,_bol))+"_"+this._ba+"_opcl"; break; case "crosspage":_bIk=this._ba+"_opcl"; break; case "none":default:return; break; }var _bO2=_bB[_bIk]; _bO2=_bO(_bO2)?_bO2: "{}"; var _bll=eval("__="+_bO2); _bll[_bi7]=_bIl; _bB._bl0(_bIk,_bJ(_bll),this._bii); } ,registerEvent:function (_bH,_bom){if (_bZ())return this ; this._boj[_bH]=_bom; } ,_bO5:function (_bH,_bOm){if (_bZ())return true; return (_bO(this._boj[_bH]))?this._boj[_bH](this,_bOm): true; }};function _boc(_bg){ (new _bi1(_bE(this,2).id))._bie(_bg); }function _bla(_bg){ (new _bi1(_bE(this,2).id))._bod(_bg); }function _bia(_bg){ (new _bi1(_bE(this,2).id))._bIe(_bg); }function _bIa(_bg){ (new _bi1(_bE(this,2).id))._bIf(_bg); }function _bOc(_bg){ (new _bi1(_bE(this,2).id))._ble(_bg); }function _blc(_bg){var _bF=(window.event)?event.keyCode:_bg.keyCode; if (_bF==13 || _bF==27){ (new _bi1(_bE(this,2).id))._ble(_bg,(_bF==13)); if (_bF==13){if (_bg.stopPropagation){_bg.stopPropagation(); _bg.preventDefault(); }else {event.cancelBubble= true; event.returnValue= false; }return false; }}}var _bIm=0,_bon,_bof,_blg; var _bOn= true; function _bob(_bg){if ((new _bi1(_bE(this,2).id))._bIg(_bg)){if (_bg.preventDefault)_bg.preventDefault(); _bOn= false; _blg=_bE(this,2).id; _bon=_bD(_bg); _bIm=1; _bof= false; _bz(document,"mousemove",_bIn, false); _bz(document,"mouseup",_boo, false); if (_bg.stopPropagation!=null)_bg.stopPropagation(); else event.cancelBubble= true; }}function _bIn(_bg){if (_bIm==1 || _bIm==2){if (_bof){ (new _bi1(_blg))._boi(_bg); }else {var _bIh=_bD(_bg); if (Math.abs(_bIh._bC-_bon._bC)>10 || Math.abs(_bIh._bc-_bon._bc)>10){_bof= true; (new _bi1(_blg))._boh(_bg); }}}_bIm=2; }function _boo(_bg){if (_bIm==1){}if (_bIm==2){if (_bof){ (new _bi1(_blg))._bOi(_bg); _bof= false; }}_bt(document,"mousemove",_bIn, false); _bt(document,"mouseup",_boo, false); _bOn= true; }function _bOb(_bg){ (new _bi1(_bE(this,2).id))._bOg(_bg); }function _bik(){if (_bh || !_bOn)return false; }if (typeof(__KTVInits)!="undefined" && _bO(__KTVInits)){for (var i=0; i<__KTVInits.length; i++){__KTVInits[i](); }} <?php _bl8(); _bOq(); } if (!class_exists("\113ool\124\162eeV\151\145w",FALSE)) { function _bls($_bOs) { return _bl5("+","\040",urlencode($_bOs)); } class treenode { var $id; var $text; var $image; var $_blt; var $expand=FALSE; var $subTreeUrl; var $visible=TRUE; var $showPlusMinus=TRUE; var $_bOt; var $_blu; function __construct($_bOu,$_bO3="",$_blv=FALSE,$_bOv="",$_blw="") { $this->id =$_bOu; $this->text =$_bO3; $this->image =$_bOv; $this->expand =$_blv; $this->subTreeUrl =$_blw; $this->_blt =array(); $this->_bOt =array(); } function addchild($_bOw) { $_bOw->_blu =$this; array_push($this->_blt ,$_bOw); } function adddata($_blx,$_bOx) { $this->_bOt[$_blx]=$_bOx; } } class kooltreeview { var $_bl0="\062.0.7\056\062"; var $id; var $_bly; var $_bOy; var $_blz; var $width=""; var $height=""; var $overflow=""; var $styleFolder; var $imageFolder; var $selectedIds; var $selectEnable=TRUE; var $selectDisableIds; var $multipleSelectEnable=FALSE; var $DragAndDropEnable=FALSE; var $dragDisableIds; var $dropDisableIds; var $EditNodeEnable=FALSE; var $editDisableIds; var $isSubTree=FALSE; var $singleExpand=FALSE; var $keepState="n\157\156e"; var $keepStateHours=030; var $showLines=FALSE; var $scriptFolder=""; function __construct($_bOu) { $this->id =$_bOu; $this->_bly =new treenode("roo\164"); $this->_blz =array(); $this->_blz["\162oo\164"]=$this->_bly; } function loadxml($_bOz) { if (gettype($_bOz) == "s\164\162ing") { $_bO1=new domdocument(); $_bO1->loadxml($_bOz); $_bOz=$_bO1->documentElement; } $id=$_bOz->getattribute("\151d"); if ($id != "") $this->id =$id; $this->width =$_bOz->getattribute("wid\164\150"); $this->height =$_bOz->getattribute("\150eig\150\164"); $this->overflow =$_bOz->getattribute("ove\162\146low"); $this->styleFolder =$_bOz->getattribute("\163ty\154\145Fol\144\145r"); $this->imageFolder =$_bOz->getattribute("\151mag\145\106olde\162"); $this->selectedIds =$_bOz->getattribute("sel\145\143tedI\144\163"); $this->selectDisableIds =$_bOz->getattribute("\163elect\104\151sab\154\145Ids"); $this->dragDisableIds =$_bOz->getattribute("d\162\141gDis\141\142leI\144\163"); $this->dropDisableIds =$_bOz->getattribute("dro\160\104isa\142\154eId\163"); $this->editDisableIds =$_bOz->getattribute("\145dit\104\151sab\154\145Ids"); $_bl10=$_bO10->getattribute("\163cr\151\160tFo\154\144er"); if ($_bl10 != "") $this->scriptFolder =$_bl10; $_bl11=$_bOz->getattribute("\163ele\143\164En\141\142le"); $this->selectEnable =($_bl11 == "") ? FALSE: (($_bl11 == "\164ru\145") ? TRUE: FALSE); $_bl11=$_bOz->getattribute("\155ult\151\160leS\145\154ect\105\156ab\154\145"); $this->multipleSelectEnable =($_bl11 == "") ? FALSE: (($_bl11 == "\164\162ue") ? TRUE: FALSE); $_bl11=$_bOz->getattribute("Dra\147\101ndD\162\157pEn\141\142le"); $this->DragAndDropEnable =($_bl11 == "") ? FALSE: (($_bl11 == "\164rue") ? TRUE: FALSE); $_bl11=$_bOz->getattribute("\105di\164\116ode\105\156ab\154\145"); $this->EditNodeEnable =($_bl11 == "") ? FALSE: (($_bl11 == "\164ru\145") ? TRUE: FALSE); $_bl11=$_bOz->getattribute("is\123\165bTr\145\145"); $this->isSubTree =($_bl11 == "") ? FALSE: (($_bl11 == "\164rue") ? TRUE: FALSE); $_bl11=$_bOz->getattribute("\163ho\167\117nEx\160\141nd"); $this->showOnExpand =($_bl11 == "") ? FALSE: (($_bl11 == "\164\162ue") ? TRUE: FALSE); $_bl11=$_bOz->getattribute("\153ee\160\123tat\145"); if ($_bl11 != "") $this->keepState =$_bl11; $_bl11=$_bOz->getattribute("k\145epSta\164\145Hou\162\163"); if ($_bl11 != "") $this->keepStateHours =intval($_bl11); $_bl11=$_bOz->getattribute("sing\154\145Exp\141\156d"); $this->singleExpand =($_bl11 == "") ? FALSE: (($_bl11 == "\164rue") ? TRUE: FALSE); foreach ($_bOz->childNodes as $_bO11) { switch (strtolower($_bO11->nodeName)) { case "roo\164\156ode": $this->_bly->text =$_bO11->getattribute("te\170\164"); $this->_bly->image =$_bO11->getattribute("\151mage"); $this->_bly->subTreeUrl =$_bO11->getattribute("\163ubTr\145\145Url"); $_bl11=$_bO11->getattribute("expa\156\144"); $this->_bly->expand =($_bl11 == "") ? FALSE: (($_bl11 == "t\162\165e") ? TRUE: FALSE); $_bl11=$_bO11->getattribute("\166isi\142\154e"); $this->_bly->visible =($_bl11 == "") ? TRUE: (($_bl11 == "\164ru\145") ? TRUE: FALSE); $_bl11=$_bO11->getattribute("\163howPl\165\163Min\165\163"); $this->_bly->showPlusMinus =($_bl11 == "") ? TRUE: (($_bl11 == "true") ? TRUE: FALSE); $this->_bl12($this->_bly ,$_bO11); break; case "t\145\155pla\164\145s": break; } } } function _bl12($_bO12,$_bl13) { foreach ($_bl13->childNodes as $_bO13) { if ($_bO13->nodeName == "node") { $id=$_bO13->getattribute("\151d"); $_bl14=new treenode($id); $_bl14->text =$_bO13->getattribute("t\145\170t"); $_bl14->image =$_bO13->getattribute("\151mag\145"); $_bl14->subTreeUrl =$_bO13->getattribute("\163ubT\162\145eUr\154"); $_bl11=$_bO13->getattribute("exp\141\156d"); $_bl14->expand =($_bl11 == "") ? FALSE: (($_bl11 == "\164\162ue") ? TRUE: FALSE); $this->_bl12($_bl14,$_bO13); $_bO12->addchild($_bl14); } } } function render() { $_bO14=""; if ($this->isSubTree) { $this->_bl15(); for ($_blc=0; $_blc<sizeof($this->_bly->_blt); $_blc ++) $_bO14.=$this->_bO15($this->_bly->_blt[$_blc]); } else { $_bO14="\n<!\055-Kool\124\162ee\126\151ew\040\166er\163\151on\040".$this->_bl0."\040\055 w\167\167.ko\157\154php\056net \055\055>\n"; $_bO14.=$this->registercss(); $_bO14.=$this->rendertree(); $_bl16= isset ($_POST["\137_\153\157ola\152\141x"]) || isset ($_GET["__\153\157ola\152\141x"]); $_bO14.=($_bl16) ? "": $this->registerscript(); $_bO14.="<sc\162\151pt \164\171pe=\047\164e\170\164/ja\166\141sc\162\151p\164\047>"; $_bO14.=$this->startupscript(); $_bO14.="</\163\143rip\164\076"; } return $_bO14; } function add($_bO16,$_bOu,$_bO3="",$_blv=FALSE,$_bOv="",$_blw="") { $_bl17=new treenode($_bOu); $_bl17->text =$_bO3; $_bl17->expand =$_blv; $_bl17->image =$_bOv; $_bl17->subTreeUrl =$_blw; $this->_blz[$_bO16]->addchild($_bl17); $this->_blz[$_bOu]=$_bl17; return $_bl17; } function getrootnode() { return $this->_bly; } function getnode($_bO17) { return $this->_blz[$_bO17]; } function _bl15() { $this->styleFolder =_bl5("\134","/",$this->styleFolder); $_bl18=trim($this->styleFolder ,"/"); $_bO18=strrpos($_bl18,"/"); $this->_bOy =substr($_bl18,($_bO18 ? $_bO18: -1)+1); } function registercss() { $this->_bl15(); $_bl19="\074sc\162\151pt \164\171pe\075\047te\170\164/j\141\166as\143\162i\160\164'>\151\146 (\144ocu\155\145nt\056getE\154eme\156\164By\111d('\137_\173\163\164yl\145}KT\126\047)\075=nu\154\154)\173\166ar\040_h\145\141d \075 do\143ume\156t.g\145tEl\145\155e\156\164s\102yTa\147Nam\145('h\145ad'\051[0\135\073v\141\162 \137lin\153 = \144oc\165\155e\156t.c\162ea\164\145E\154eme\156t(\047lin\153')\073 _\154\151n\153.i\144\040=\040'_\137\173\163\164y\154e}\113TV\047;_l\151nk\056re\154='\163\164y\154es\150ee\164';\040_l\151nk\056hr\145f=\047\173\163ty\154ep\141th\175/\173\163ty\154e}\057\173\163ty\154e}\056cs\163';\137h\145\141d\056a\160pe\156dC\150il\144(_\154in\153);\175<\057sc\162ip\164>"; $_bO19=_bl5("\173\163tyle\175",$this->_bOy ,$_bl19); $_bO19=_bl5("\173\163tylep\141\164h}",$this->_bl1a(),$_bO19); return $_bO19; } function rendertree() { $this->_bl15(); $_bO1a="<inpu\164\040ty\160\145='h\151\144de\156\047 i\144\075'\173\151d}\056\143li\145\156tS\164ate'\040nam\145\075'\173\151d}\056\143l\151\145n\164\123ta\164\145'\040\057>"; $_blj=_bl5("\173id\175",$this->id ,_blg()); $_blj=_bl5("\173sty\154\145}",$this->_bOy ,$_blj); $_blj=_bl5("\173\156\157pad\144\151ng}",(!$this->_bly->visible || !$this->_bly->showPlusMinus) ? "\153\164vNo\120\141ddi\156\147": "",$_blj); $_blj=_bl5("\173s\165\142nod\145\163}",$this->_bO15($this->_bly),$_blj); $_blj=_bl5("\173\154\151nes}",(($this->showLines) ? "\153tvLin\145\163": ""),$_blj); $_bl1b=_bl5("\173\151d}",$this->id ,$_bO1a); if (_bOi($_blj)) { $_blj=_bl5("\173\143\154ien\164\163ta\164\145}",$_bl1b,$_blj); } $_blj=_bl5("\173\167idt\150\175",(($this->width != "") ? "\167\151dt\150\072".$this->width.";": ""),$_blj); $_blj=_bl5("\173heig\150\164}",(($this->height != "") ? "\150eight\072".$this->height.";": ""),$_blj); $_blj=_bl5("\173overf\154\157w}",(($this->overflow != "") ? "ove\162\146low\072".$this->overflow."\073": ""),$_blj); $_blj=_bl5("\173\166ers\151\157n}",$this->_bl0 ,$_blj); return $_blj; } function _bO15($_bO12) { $_bO1b="\074ul \143\154ass\075\047k\164\166UL'\040\163ty\154\145='\144\151s\160\154ay\072\173d\151\163pl\141\171}'\076\173s\165\142no\144es}\074/ul\076"; $_bl1c="\074\154i \151\144='\173\156odei\144\175' \143\154as\163\075'\173\143la\163\163}'\076\173no\144\145c\157\156te\156\164}\173\163ub\156ode\163\175</\154\151>"; $_bO1c="\074di\166\040cl\141\163s='\173\143la\163\163}'\076\173pl\165\163mi\156us}\173\151ma\147\145}\173\164ex\164\175\173\156\157d\145\144at\141}</\144\151v>"; $_bl1d="<\163\160an c\154\141ss\075\047kt\166\120M \153\164v\173\160lus\155\151nu\163\175'>\040</s\160\141n>"; $_bO1d="\074img s\162\143='\173\151mage\175\047 \143\154ass\075'ktv\111\155ag\145' al\164\075'\047\057>"; $_bl1e="\074sp\141\156 cl\141\163s='\153\164vT\145\170t'>\173\164ex\164\175<\057\163pa\156\076"; $_bO1e="\074\151np\165\164 id\075\047\173\156odei\144\175_d\141\164a' \164ype=\047hid\144\145n'\040\166al\165e='\173\166al\165\145}'\057>"; $_bl1f=$_bl1c; $_bO1f=$_bO1c; $_bl11=_bl5("\173text\175",$_bO12->text ,$_bl1e); $_bO1f=_bl5("\173text\175",$_bl11,$_bO1f); $_bl1g=""; if ($_bO12->image != "") { $_bl11=_bl5("\173i\155\141ge}",(($this->imageFolder != "") ? $this->imageFolder."\057": "").$_bO12->image ,$_bO1d); $_bO1f=_bl5("\173\151\155age\175",$_bl11,$_bO1f); } else { $_bO1f=_bl5("\173\151mage}","",$_bO1f); } if (sizeof($_bO12->_blt)>0) { $_bl11=_bl5("\173plu\163\155in\165\163}",($_bO12->expand) ? "\115\151nus": "Plus",$_bl1d); $_bO1f=_bl5("\173pl\165\163min\165\163}",$_bl11,$_bO1f); $_bl1g=""; for ($_blc=0; $_blc<sizeof($_bO12->_blt); $_blc ++) { $_bl1g.=$this->_bO15($_bO12->_blt[$_blc]); } $_bl1g=_bl5("\173sub\156\157des\175",$_bl1g,$_bO1b); $_bl1g=_bl5("\173d\151\163pla\171\175",($_bO12->expand) ? "\142lock": "\156one",$_bl1g); } else { if ($_bO12->subTreeUrl != "") { $_bl11=_bl5("\173plu\163\155inu\163\175","\120lus",$_bl1d); $_bO1f=_bl5("\173plusm\151\156us}",$_bl11,$_bO1f); } else { $_bO1f=_bl5("\173pl\165\163min\165\163}","",$_bO1f); } } if ($_bO12->subTreeUrl != "" || sizeof($_bO12->_bOt)>0) { $_bO1g=_bls($_bO12->subTreeUrl); $_bl1h=array(); foreach ($_bO12->_bOt as $_bO1h => $_bl1i) { $_bl1h[$_bO1h]=_bls($_bl1i); } $_bOt=array("url" => $_bO1g,"d\141\164a" => $_bl1h); $_bO1i=_bl5("\173\156odei\144\175",(($_bO12 === $this->_bly) ? $this->id.".": "").$_bO12->id ,$_bO1e); $_bO1i=_bl5("\173va\154\165\145}",json_encode($_bOt),$_bO1i); $_bO1f=_bl5("\173noded\141\164a}",$_bO1i,$_bO1f); } else { $_bO1f=_bl5("\173noded\141\164a}","",$_bO1f); } $_bl1j="ktv\114\111"; if (( isset ($_bO12->_blu->_blt[0]) && $_bO12->_blu->_blt[0] === $_bO12) || $_bO12 === $this->_bly) { $_bl1j.="\040kt\166\106irs\164"; } if (( isset ($_bO12->_blu->_blt) && isset ($_bO12->_blu->_blt[sizeof($_bO12->_blu->_blt)-1]) && $_bO12->_blu->_blt[sizeof($_bO12->_blu->_blt)-1] === $_bO12) || $_bO12 === $this->_bly) { $_bl1j.="\040ktvLa\163\164"; } $_bO1j=""; if ($_bO12 === $this->_bly) { $_bO1j="ktv\124\157p"; if (!$_bO12->visible) $_bO1j.=" ktvI\156\166"; if (!$_bO12->showPlusMinus) $_bO1j.=" k\164\166NoP\115"; } else { if ($_bO12->_blu->_blt[0] === $_bO12) { $_bO1j="\153tv\124\157p"; } if ($_bO12->_blu->_blt[sizeof($_bO12->_blu->_blt)-1] === $_bO12) { $_bO1j="ktvB\157\164"; } if ($_bO1j == "") { $_bO1j="\153tv\115\151d"; } } $_bl1k="\133".str_replace(",","\135[",$this->selectedIds)."]"; if (strpos($_bl1k,"[".$_bO12->id."\135") !== FALSE) $_bO1j.=" \153\164vSe\154\145ct\145\144"; $_bO1f=_bl5("\173\143\154ass\175",$_bO1j,$_bO1f); $_bl1f=_bl5("\173\156\157dei\144\175",(($_bO12 === $this->_bly) ? $this->id."\056": "").$_bO12->id ,$_bl1f); $_bl1f=_bl5("\173\143las\163\175",$_bl1j,$_bl1f); $_bl1f=_bl5("\173no\144\145con\164\145nt}",$_bO1f,$_bl1f); $_bl1f=_bl5("\173\163ubn\157\144es}",$_bl1g,$_bl1f); return $_bl1f; } function registerscript() { $_bl19="\074\163cri\160\164 t\171\160e='\164\145xt\057\152av\141\163cr\151\160t\047\076if\050typ\145\157f \137\154i\142\113TV\075\075'\165nde\146\151ne\144')\173\144ocu\155ent\056\167r\151\164e(\165nes\143\141p\145\050\042\0453C\163cri\160\164 \164\171pe\075't\145\170t\057jav\141scr\151pt'\040src\075'\173\163rc\175\047%\063E \045\063C\057sc\162\151p\164\0453\105\042\051);_\154ib\113\124V\0751;\175\074/\163cr\151\160t\076"; $_bO19=_bl5("\173\163rc}",$this->_bO1k()."?".md5("j\163"),$_bl19); return $_bO19; } function startupscript() { $_bl19="var \173\151d}; \146\165nc\164\151on\040\173id\175\137ini\164\050)\173\040\173\151d} \075 new\040Koo\154\124re\145\126i\145\167(\042\173id\175\042,\173\163i\156\147le\105xpan\144},\173\163ele\143tEn\141ble\175\054\173\155ult\151ple\123ele\143\164E\156\141b\154e},\173Dra\147\101n\144\104r\157\160E\156\141b\154\145}\054\173E\144it\116\157d\145\105n\141ble\175,'\173\153e\145pSt\141te\175\047,\173kee\160St\141teH\157ur\163},\042\173c\163}\042\051;}"; $_bl19.="\151f (\164\171peo\146\050Ko\157\154Tr\145\145Vi\145\167)==\047fun\143\164io\156\047)\173\173id\175_in\151\164()\073}"; $_bl19.="\145lse\173\151\146(t\171\160eof\050__KT\126\111ni\164\163)=\075\047u\156\144ef\151\156ed\047)\173\137\137K\124\126In\151\164s=\156ew \101\162r\141\171()\073} _\137\113T\126\111ni\164s.p\165\163h(\173id}\137\151n\151\164)\073\173r\145\147i\163\164e\162\137s\143\162i\160\164}\175"; $_bl1l="\151f(typ\145\157f(\137\154ibK\124\126)=\075\047un\144\145fi\156ed'\051\173va\162\040_\150\145ad\040= d\157\143um\145\156t\056\147e\164\105le\155ent\163\102yT\141gNa\155\145(\047\150e\141\144')\1330];\166ar _sc\162ipt\040= d\157cum\145nt.\143\162e\141\164e\105lem\145nt(\047scr\151pt'\051; \137\163c\162ipt\056ty\160\145=\047te\170\164/\152ava\163cr\151\160t\047; \137scr\151pt\056src\075'\173\163r\143\175'\073 _\150ea\144\056\141\160p\145nd\103\150i\154d(\137sc\162ipt\051;_\154ib\113TV\0751;\175"; $_bO1l=_bl5("\173\163\162c}",$this->_bO1k()."\077".md5("js"),$_bl1l); $_bl1m="\173's\145\154ect\145\144Ids\047\072[\173\163ele\143\164ed\111\144s\175\135,'\163\145le\143\164D\151\163ab\154\145I\144\163':\133\173s\145\154ec\164Dis\141\142le\111ds}\135\054'\144\162a\147\104is\141ble\111\144s\047:[\173\144ra\147\104i\163\141bl\145Id\163\175]\054'dr\157pDi\163\141b\154eId\163':\133\173d\162\157p\104isa\142le\111\144s\175],'\145di\164\104i\163abl\145Id\163\047:\133\173\145dit\104is\141bl\145\111d\163}]\175"; $_bO14=_bl5("\173id}",$this->id ,$_bl19); $_bl1k=($this->selectedIds != "") ? "'"._bl5(",","',\047",$this->selectedIds)."\047": ""; $_bl1b=_bl5("\173se\154\145cte\144\111ds}",$_bl1k,$_bl1m); $_bl1k=($this->selectDisableIds != "") ? "\047"._bl5("\054","','",$this->selectDisableIds)."'": ""; $_bl1b=_bl5("\173\163ele\143\164Dis\141\142leI\144\163}",$_bl1k,$_bl1b); $_bl1k=($this->dragDisableIds != "") ? "'"._bl5("\054","',\047",$this->dragDisableIds)."\047": ""; $_bl1b=_bl5("\173\144rag\104\151sab\154\145Ids\175",$_bl1k,$_bl1b); $_bl1k=($this->dropDisableIds != "") ? "\047"._bl5("\054","',\047",$this->dropDisableIds)."\047": ""; $_bl1b=_bl5("\173\144\162opD\151\163ab\154\145Id\163\175",$_bl1k,$_bl1b); $_bl1k=($this->editDisableIds != "") ? "'"._bl5("\054","','",$this->editDisableIds)."'": ""; $_bl1b=_bl5("\173\145ditDi\163\141bl\145\111ds}",$_bl1k,$_bl1b); $_bO14=_bl5("\173singl\145\105xpa\156\144}",($this->singleExpand) ? "\061": "\060",$_bO14); $_bO14=_bl5("\173\163elec\164\105nab\154\145}",($this->selectEnable) ? "\061": "0",$_bO14); $_bO14=_bl5("\173\155\165lti\160\154eSe\154\145ct\105\156ab\154\145}",($this->multipleSelectEnable) ? "1": "0",$_bO14); $_bO14=_bl5("\173\104rag\101\156dDr\157\160Ena\142\154e}",($this->DragAndDropEnable) ? "\061": "\060",$_bO14); $_bO14=_bl5("\173\105\144itN\157\144eE\156\141ble\175",($this->EditNodeEnable) ? "1": "0",$_bO14); $_bO14=_bl5("\173kee\160\123tat\145\175",$this->keepState ,$_bO14); $_bO14=_bl5("\173\153\145epS\164\141te\110\157urs\175",$this->keepStateHours ,$_bO14); $_bO14=_bl5("\173\143s}",$_bl1b,$_bO14); $_bO14=_bl5("\173\162egist\145\162_sc\162\151pt\175",$_bO1l,$_bO14); return $_bO14; } function _bO1k() { if ($this->scriptFolder == "") { $_bl6=_bl4(); $_bO1m=substr(_bl5("\134","/",__FILE__),strlen($_bl6)); return $_bO1m; } else { $_bO1m=_bl5("\134","/",__FILE__); $_bO1m=$this->scriptFolder.substr($_bO1m,strrpos($_bO1m,"\057")); return $_bO1m; } } function _bl1a() { $_bl1n=$this->_bO1k(); $_bO1n=_bl5(strrchr($_bl1n,"\057"),"",$_bl1n)."\057st\171\154es"; return $_bO1n; } } } ?>