<?php define('堃', '');䶞ӊº۰̩͞鍎閲܊õ벪ܴ瞨;$_SERVER[堃] = explode('|<|"|2', 'config|<|"|2|<|"|2settingSystem|<|"|2systemPassword|<|"|2settings|<|"|2downloadUrlTime|<|"|2index.php?|<|"|2paramRewrite|<|"|2index.php/|<|"|2user/publicLink&fid=|<|"|2&file_name=/|<|"|2path|<|"|2/home/|<|"|2homePath|<|"|2autoDeskViewer|<|"|2Q|<|"|2gstarCAD|<|"|2P|<|"|2fileHistory|<|"|2djoffice|<|"|2O|<|"|2onlyoffice|<|"|2systemLog|<|"|2designView|<|"|2fileView|<|"|2T|<|"|2versionType|<|"|2A|<|"|2.|<|"|2O|<|"|2P|<|"|2Q|<|"|2R|<|"|2S|<|"|2T|<|"|2system_member.php|<|"|2systemMember.add|<|"|2isImport|<|"|2version_not_support|<|"|2version_error|<|"|2version_not_support_number|<|"|2systemMember.edit|<|"|2systemMember.get|<|"|2system_group.php|<|"|2systemGroup.add|<|"|2systemGroup.edit|<|"|2systemGroup.get|<|"|2user.versionInstall|<|"|2share.commonJs|<|"|2kodUser|<|"|2role|<|"|21|<|"|2user/license.html|<|"|2system_role.php|<|"|2@dfq[-)&*^*%(_90|<|"|2versionHash|<|"|2versionUser|<|"|2versionLicense|<|"|2deviceUUID|<|"|2devicePath|<|"|2./lib/core/|<|"|2./app/core/|<|"|2|<|"|2reset|<|"|2location:./|<|"|2license_code|<|"|2license/index|<|"|2pluginServer|<|"|2https://|<|"|2http://|<|"|2&code=|<|"|2&uuid=|<|"|2&referer=|<|"|2HTTP_REFERER|<|"|2INSTALL_CHANNEL|<|"|2&channel=|<|"|2code|<|"|2data|<|"|2system_setting.php|<|"|2version_license|<|"|2version_type|<|"|2/config/setting_user.php|<|"|2<?php |<|"|2success|<|"|2./|<|"|2./index.php?user/versionInstall|<|"|2Success !(升级成功)|<|"|2version_time_to|<|"|2.|<|"|2.log|<|"|2config/i18n/|<|"|2app/core/|<|"|2app/kod/|<|"|2Group/|<|"|2User/|<|"|2system/|<|"|2/|<|"|2set_device_path|<|"|2./app/core/ can\'t writeable');ֿ͂クǟ͜ă޿ȵ◮퀹҃ʉւ;
 function _make_file_proxy($){$ӗ=&$_SERVER{堃};$̓=$GLOBALS[$ӗ[0]];;if(!file_exists($)){return $ӗ{0x001};}$=$̓[$ӗ[0x0002]][$ӗ{0x00003}];$=Mcrypt::encode($,$,$̓[$ӗ[0x000004]][$ӗ{0x05}]);$=rawurlencode(iconv_app(get_path_this($)));$=APP_HOST.$ӗ[0x006];ܰʿфћӈѡɃ㶎֦ȱ㗴ƨш;if(isset($̓[$ӗ[0x000004]][$ӗ{0x0007}])&& $̓[$ӗ[0x000004]][$ӗ{0x0007}]==!0){$=APP_HOST.$ӗ[0x00008];}return $.$ӗ{0x000009}.$.$ӗ[0x0a].$;}function group_home_path($){$䊙=&$_SERVER{堃};$=GROUP_PATH.$[$䊙{0x00b}].$䊙[0x000c];if(isset($[$䊙{0x0000d}])&& file_exists(iconv_system($[$䊙{0x0000d}]))){$=$[$䊙{0x0000d}];}return $;}function user_home_path($){$=&$_SERVER{堃};$Ҷ=USER_PATH.$[${0x00b}].$[0x000c];if(isset($[${0x0000d}])&& file_exists(iconv_system($[${0x0000d}]))){$Ҷ=$[${0x0000d}];}return $Ҷ;}function plugin_check_auth($絝,$){$=&$_SERVER{堃};$՜=array($[0x00000e] =>${0x0f},$[0x0010] =>${0x00011},$[0x000012] =>${0x0f},${0x0000013} =>$[0x014],${0x0015} =>${0x00011},$[0x00016] =>${0x00011},${0x000017} =>${0x00011},$[0x0000018] =>${0x019},);$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];֍㪟;if(isset($՜[$絝])&& $<$՜[$絝]){return !1;}return check_user_select($);}function system_space(){$=&$_SERVER{堃};$=${0x0001b};ȌԱᝣ˂녏ץս䤴ˍ;$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];if($==$){return !1;}return !0;}function systemMemberData(){$=&$_SERVER{堃};global$in;ƅž֎υݳݣ˙ȿٴλ;$=ST.$[0x00001c].ACT;;$=${0x0001b};п³͞ǧ;$=${0x000001d};$ā=$[0x01e];$=${0x001f};Ű䊠喠Ѽ縷ޡɱ;$=$[0x00020];$㳿=${0x000021};$=$[0x0000022];$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];μ;if(!$|| !in_array($,array($,$,$ā,$,$,$㳿,$))){$=$;}$=new FileCache(USER_SYSTEM.${0x023});$ߢ=array($=>0x0a,$=>0x014,$ā=>0x032,$=>0x096,$=>0x01f4,$㳿=>0x03e8,$=>0x03e8,);;$=$->get();뢫߷ƨ˘䐌ԉ࣠ڞ;$=$ߢ[$];if($==$[0x0024]){if($==$&& isset($in[${0x00025}])){show_json(LNG($[0x000026]),!1,${0x0000027});}if(count($)>=$&& $!=0x03e8){show_json(LNG($[0x028]),!1,${0x0000027});}}if($==$[0x0024] || $==${0x0029}){if($==$&& isset($in[${0x0000d}])){show_json(LNG($[0x000026]),!1,${0x0000027});}}if($==$[0x0002a]){if(count($)>$&& $!=0x03e8){$=0x001;$=array();foreach($ as $=>$){if($>$)break;$[$]=$;پǡܘϗŗϚɋ͘;$++;}$->reset($,!1);}$=$->get();if($==$){$=array();foreach($ as $=>$){unset($[${0x0000d}]);$[$]=$;}$->reset($,!1);}}return $;ұ웭җ𥳵щȐ;}function systemGroupData(){$=&$_SERVER{堃};global$in;$=ST.$[0x00001c].ACT;$=${0x0001b};$=${0x000001d};瀳򆦼뎝Ҙƞ儴ݍ㨬ԙꯥ;$=$[0x01e];ž;$=${0x001f};Ɗ;$=$[0x00020];$㡋=${0x000021};$=$[0x0000022];$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];̮ΓڻŅ;if(!$|| !in_array($,array($,$,$,$,$,$㡋,$))){$=$;}$=new FileCache(USER_SYSTEM.${0x00002b});$Ȝ=array($=>0x001,$=>0x05,$=>0x014,$=>0x01e,$=>0x064,$㡋=>0x03e8,$=>0x03e8,);܅ѧ׼̼;$=$->get();΍˹ޤǤλ;$ճ=$Ȝ[$];ߢ񼄈˭Ęۏж;if($==$[0x000002c]){if(count($)>=$ճ&& $ճ!=0x03e8){show_json(LNG($[0x028]),!1,${0x0000027});}}if($==$[0x000002c] || $==${0x02d}){if($==$&& isset($in[${0x0000d}])){show_json(LNG($[0x000026]),!1,${0x0000027});}}if($==$[0x002e]){if(count($)>$ճ&& $ճ!=0x03e8){$ߦ=0x001;$=array();foreach($ as $=>$){if($ߦ>$ճ)break;$[$]=$;Íݾ;$ߦ++;Γ֤;}$->reset($,!1);↋գʔ䗆ԅƳ诨̥΍Ԇ;}$=$->get();иڇъ׊;if($==$){$=array();foreach($ as $=>$){unset($[${0x0000d}]);$[$]=$;}$->reset($,!1);}}return $;}function systemRoleData(){$=&$_SERVER{堃};$υ=ST.$[0x00001c].ACT;ꮸԦӦ;$=${0x0001b};Ǫ׀پיǇцѵҝڕܭ党޿;if($υ==${0x0002f}){version_install();exit;}$=&$GLOBALS[$[0]][$[0x0002]];if(!init_version_check()){$[$[0x001a]]=$;if($υ!=$[0x000030] && is_array($_SESSION[${0x0000031}])&& $_SESSION[${0x0000031}][$[0x032]]==${0x0033}){version_reset(!1);include(TEMPLATE.$[0x00034]);exit;}}$﷕=new FileCache(USER_SYSTEM.${0x000035});return $﷕;Ŭۮ;}function init_version_check(){$󜼮=&$_SERVER{堃};$ߦ=&$GLOBALS[$󜼮[0]][$󜼮[0x0002]];뾓;$=$󜼮[0x0000036];$𭽭=$󜼮{0x0001b};$=$󜼮{0x000001d};$=$󜼮[0x01e];$=$󜼮{0x001f};ߔ;$襩=$󜼮[0x00020];$=$󜼮{0x000021};$ށ=$󜼮[0x0000022];Ԏ;if(!isset($ߦ[$󜼮[0x001a]])|| !in_array($ߦ[$󜼮[0x001a]],array($𭽭,$,$,$,$襩,$,$ށ))){$ߦ[$󜼮[0x001a]]=$𭽭;}if($ߦ[$󜼮[0x001a]]==$𭽭){unset($ߦ[$󜼮{0x037}]);return !0;}if(!isset($ߦ[$󜼮[0x001a]])|| !isset($ߦ[$󜼮[0x0038]])|| !isset($ߦ[$󜼮{0x00039}])|| !isset($ߦ[$󜼮[0x00003a]])|| !isset($ߦ[$󜼮{0x000003b}])){return !1;}if(strlen($ߦ[$󜼮[0x001a]])!=0x001|| strlen($ߦ[$󜼮[0x0038]])!=0x0010|| strlen($ߦ[$󜼮{0x00039}])!=0x0003e|| strlen($ߦ[$󜼮[0x00003a]])!=0x0010){return !1;}$=substr($ߦ[$󜼮{0x00039}],0x00020);$=md5($.$ߦ[$󜼮[0x0038]].$ߦ[$󜼮[0x00003a]].$ߦ[$󜼮[0x001a]]);if($!=substr($ߦ[$󜼮{0x00039}],0,0x00020)){return !1;}$=Mcrypt::decode($ߦ[$󜼮{0x000003b}],md5($.$ߦ[$󜼮{0x00039}]));$=$󜼮[0x03c];if(get_path_father($)==$){$=str_replace($,$󜼮{0x003d},$);}$=!1;if(file_exists($)){$=file_get_contents($);$Б=Mcrypt::decode($,md5($.$ߦ[$󜼮[0x00003a]]));if($Б!=$󜼮[0x0003e] && strtotime($Б)>time()){$=!0;}}if(!$){return !1;}$=substr(md5($ߦ[$󜼮{0x00039}]),0x0a,0x0a);$Ä=$.$ߦ[$󜼮[0x001a]].$ߦ[$󜼮[0x00003a]];$ߦ[$󜼮{0x037}]=Mcrypt::encode($Ä,$,0);;return !0;}function version_install(){$=&$_SERVER{堃};$̮=&$GLOBALS[$[0]][$[0x0002]];ٳҴ;$=$[0x0000036];if(isset($_GET[${0x00003f}])){version_reset(!0);header($[0x0000040]);}if(!isset($_GET[${0x041}])){include(TEMPLATE.$[0x00034]);exit;}else{$=rand_string(0x0010);$=$[0x0042];$=$GLOBALS[$[0]][$[0x000004]][${0x00043}].$;$=str_replace($[0x000044],${0x0000045},$);$=$.$[0x046].$_GET[${0x041}].${0x0047}.$;$.=$[0x00048].rawurlencode($_SERVER[${0x000049}]);if(defined($[0x000004a])){$.=${0x04b}.INSTALL_CHANNEL;}$=json_decode(file_get_contents($),!0);if(is_array($)&& $[$[0x004c]]==!0&& is_array($[${0x0004d}])){$ѯ=new FileCache(USER_SYSTEM.$[0x00004e]);$=$ѯ->get();$[$[0x0038]]=$_GET[${0x041}];$[${0x00039}]=$[${0x0004d}][${0x000004f}];$[$[0x00003a]]=$;$[$[0x001a]]=$[${0x0004d}][$[0x050]];$=Mcrypt::decode($̮[${0x000003b}],md5($.$̮[${0x00039}]));del_file($);version_install_path($,$[${0x0004d}]);$ѯ->reset($);$=BASIC_PATH.${0x0051};if(!file_exists($)){$Ҫ=$[0x00052];file_put_contents($,$Ҫ);}install_msg(LNG(${0x000053}));}else{install_msg($[${0x0004d}],!1);߾˶;}}}function install_msg($,$=true){$Ώ=&$_SERVER{堃};$=$?$Ώ[0x0000054] :$Ώ{0x055};show_tips($,$,0x0002,$Ώ[0x0056]);}function version_install_path(&$,$){$=&$_SERVER{堃};$Ǵ=$[${0x00057}];ӟӊ;$=$[0x0000036];ސصդ̨;$ʨ=$[0x0003e];$=$[0x000058].substr(md5(rand_string(0x014).time()),0x0f,0x0a).${0x0000059};$=array(BASIC_PATH.$[0x05a],BASIC_PATH.${0x005b},BASIC_PATH.$[0x0005c],DATA_PATH.${0x00005d},DATA_PATH.$[0x000005e],DATA_PATH.${0x05f});$=$[0x0003e];ϽʺՌσ伷ԩ;foreach($ as $){if(file_exists($)&& is_writable($)){$=$.$[0x0060].$;break;}}if(isset($[${0x00061}])&& $[${0x00061}]==0x001){$=${0x003d}.$;}$؂=Mcrypt::encode($Ǵ,md5($.$[$[0x00003a]]));file_put_contents($,$؂);if(!file_exists($)){install_msg($[0x000062],!1);}$[${0x000003b}]=Mcrypt::encode($,md5($.$[${0x00039}]));return;}function version_reset($=false){$=&$_SERVER{堃};$φ=&$GLOBALS[$[0]][$[0x0002]];$=$[0x0000036];if(isset($φ[${0x000003b}])){$ӎ=Mcrypt::decode($φ[${0x000003b}],md5($.$φ[${0x00039}]));del_file($ӎ);}$=new FileCache(USER_SYSTEM.$[0x00004e]);$=$->get();unset($[$[0x0038]]);unset($[${0x00039}]);unset($[$[0x00003a]]);ÁĦÏЋ֩;unset($[${0x000003b}]);ƯӸݥÉ鷝Ɣ·خ܍ߊʨ;if($){unset($[$[0x001a]]);}$->reset($);}