<?php define('', 'Й');;$GLOBALS[] = explode('|.|&|7', 'config|.|&|7|.|&|7settingSystem|.|&|7systemPassword|.|&|7settings|.|&|7downloadUrlTime|.|&|7index.php?|.|&|7paramRewrite|.|&|7index.php/|.|&|7user/publicLink&fid=|.|&|7&file_name=/|.|&|7path|.|&|7/home/|.|&|7homePath|.|&|7autoDeskViewer|.|&|7Q|.|&|7gstarCAD|.|&|7P|.|&|7fileHistory|.|&|7onlyoffice|.|&|7systemLog|.|&|7designView|.|&|7fileView|.|&|7T|.|&|7versionType|.|&|7A|.|&|7.|.|&|7O|.|&|7P|.|&|7Q|.|&|7R|.|&|7S|.|&|7T|.|&|7system_member.php|.|&|7systemMember.add|.|&|7isImport|.|&|7version_not_support|.|&|7version_error|.|&|7version_not_support_number|.|&|7systemMember.edit|.|&|7systemMember.get|.|&|7system_group.php|.|&|7systemGroup.add|.|&|7systemGroup.edit|.|&|7systemGroup.get|.|&|7user.versionInstall|.|&|7share.commonJs|.|&|7kodUser|.|&|7role|.|&|71|.|&|7user/license.html|.|&|7explorer.officeSave|.|&|7system_role.php|.|&|7@dfq[-)&*^*%(_90|.|&|7versionHash|.|&|7versionUser|.|&|7versionLicense|.|&|7deviceUUID|.|&|7devicePath|.|&|7./lib/core/|.|&|7./app/core/|.|&|7|.|&|7reset|.|&|7location:./|.|&|7license_code|.|&|7license/index|.|&|7pluginServer|.|&|7https://|.|&|7http://|.|&|7&code=|.|&|7&uuid=|.|&|7&referer=|.|&|7HTTP_REFERER|.|&|7INSTALL_CHANNEL|.|&|7&channel=|.|&|7code|.|&|7data|.|&|7system_setting.php|.|&|7version_license|.|&|7version_type|.|&|7/config/setting_user.php|.|&|7<?php |.|&|7success|.|&|7./|.|&|7./index.php?user/versionInstall|.|&|7Success !(升级成功)|.|&|7version_time_to|.|&|7.|.|&|7.log|.|&|7config/i18n/|.|&|7app/core/|.|&|7app/kod/|.|&|7Group/|.|&|7User/|.|&|7system/|.|&|7/|.|&|7set_device_path|.|&|7./app/core/ can\'t writeable');澕ď헞;
 function _make_file_proxy($){$=&$GLOBALS{};$=$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($){$=&$GLOBALS{};$ӭ=GROUP_PATH.$[${0x00b}].$[0x000c];if(isset($[${0x0000d}])&& file_exists(iconv_system($[${0x0000d}]))){$ӭ=$[${0x0000d}];}return $ӭ;}function user_home_path($){$Ԏ=&$GLOBALS{};$ᶟ=USER_PATH.$[$Ԏ{0x00b}].$Ԏ[0x000c];Ŋ;if(isset($[$Ԏ{0x0000d}])&& file_exists(iconv_system($[$Ԏ{0x0000d}]))){$ᶟ=$[$Ԏ{0x0000d}];}return $ᶟ;}function plugin_check_auth($,$){$=&$GLOBALS{};$=array($[0x00000e] =>${0x0f},$[0x0010] =>${0x00011},$[0x000012] =>${0x0f},${0x0000013} =>${0x00011},$[0x014] =>${0x00011},${0x0015} =>${0x00011},$[0x00016] =>${0x000017},);;$ɩ=$GLOBALS[$[0]][$[0x0002]][$[0x0000018]];ԉʔ;if(isset($[$])&& $ɩ<$[$]){return !1;}return check_user_select($);}function system_space(){$ʂ=&$GLOBALS{};$Ć=$ʂ{0x019};$=$GLOBALS[$ʂ[0]][$ʂ[0x0002]][$ʂ[0x0000018]];if($==$Ć){return !1;}return !0;}function systemMemberData(){$=&$GLOBALS{};global$in;Ć߾艵;$=ST.$[0x001a].ACT;ɮ椺Ƥݣ𓡟ݦ˳;$=${0x019};$=${0x0001b};ʠ;$=$[0x00001c];$=${0x000001d};꓊嘷ت;$΂=$[0x01e];$=${0x001f};ܤ½ƾ;$ø=$[0x00020];ΐހԲ;$=$GLOBALS[$[0]][$[0x0002]][$[0x0000018]];֫ۨǹ;if(!$|| !in_array($,array($,$,$,$,$΂,$,$ø))){$=$;}$ɓ=new FileCache(USER_SYSTEM.${0x000021});$=array($=>0x0a,$=>0x014,$=>0x032,$=>0x096,$΂=>0x01f4,$=>0x03e8,$ø=>0x03e8,);$=$ɓ->get();ܖ߂ԪӨƔ;$=$[$];if($==$[0x0000022]){if($==$&& isset($in[${0x023}])){show_json(LNG($[0x0024]),!1,${0x00025});}if(count($)>=$&& $!=0x03e8){show_json(LNG($[0x000026]),!1,${0x00025});}}if($==$[0x0000022] || $==${0x0000027}){if($==$&& isset($in[${0x0000d}])){show_json(LNG($[0x0024]),!1,${0x00025});}}if($==$[0x028]){if(count($)>$&& $!=0x03e8){$=0x001;$=array();foreach($ as $=>$̱){if($>$)break;$[$]=$̱;$++;ت;}$ɓ->reset($,!1);ˎ˵;}$=$ɓ->get();𺂅잪;if($==$){$=array();foreach($ as $=>$̱){unset($̱[${0x0000d}]);$[$]=$̱;}$ɓ->reset($,!1);}}return $ɓ;}function systemGroupData(){$=&$GLOBALS{};global$in;ԵžӲ¿;$=ST.$[0x001a].ACT;$=${0x019};$=${0x0001b};$ԅ=$[0x00001c];$=${0x000001d};ܑ;$=$[0x01e];$=${0x001f};ͅǨ;$ꏷƪ=$[0x00020];$=$GLOBALS[$[0]][$[0x0002]][$[0x0000018]];;if(!$|| !in_array($,array($,$,$ԅ,$,$,$,$ꏷƪ))){$=$;}$=new FileCache(USER_SYSTEM.${0x0029});$=array($=>0x001,$=>0x05,$ԅ=>0x014,$=>0x01e,$=>0x064,$=>0x03e8,$ꏷƪ=>0x03e8,);񑌜򪞝ꭽ٧ÓϡŔ٥;$=$->get();$Ɲ=$[$];if($==$[0x0002a]){if(count($)>=$Ɲ&& $Ɲ!=0x03e8){show_json(LNG($[0x000026]),!1,${0x00025});}}if($==$[0x0002a] || $==${0x00002b}){if($==$&& isset($in[${0x0000d}])){show_json(LNG($[0x0024]),!1,${0x00025});}}if($==$[0x000002c]){if(count($)>$Ɲ&& $Ɲ!=0x03e8){$=0x001;$=array();foreach($ as $=>$){if($>$Ɲ)break;$[$]=$;㐩ѣ;$++;;}$->reset($,!1);}$=$->get();if($==$){$=array();foreach($ as $=>$){unset($[${0x0000d}]);$[$]=$;}$->reset($,!1);}}return $;۵ѡ;}function systemRoleData(){$=&$GLOBALS{};$=ST.$[0x001a].ACT;Ǘ̡кգʚ侘಄őʓލ;$Վ=${0x019};if($==${0x02d}){version_install();exit;}$=&$GLOBALS[$[0]][$[0x0002]];if(!init_version_check()){$[$[0x0000018]]=$Վ;if($!=$[0x002e] && is_array($_SESSION[${0x0002f}])&& $_SESSION[${0x0002f}][$[0x000030]]==${0x0000031}){version_reset(!1);include(TEMPLATE.$[0x032]);exit;}}if($==${0x0033} && $[$[0x0000018]]==$Վ){show_json(LNG($[0x0024]),!1);}$=new FileCache(USER_SYSTEM.$[0x00034]);return $;ǖ˕;}function init_version_check(){$Ћ=&$GLOBALS{};$=&$GLOBALS[$Ћ[0]][$Ћ[0x0002]];$=$Ћ{0x000035};$˷ټ=$Ћ{0x019};$=$Ћ{0x0001b};$=$Ћ[0x00001c];$=$Ћ{0x000001d};ȵ؟۳;$=$Ћ[0x01e];Ӣ܏;$Ԉ=$Ћ{0x001f};ޗ̥;$Έ=$Ћ[0x00020];if(!isset($[$Ћ[0x0000018]])|| !in_array($[$Ћ[0x0000018]],array($˷ټ,$,$,$,$,$Ԉ,$Έ))){$[$Ћ[0x0000018]]=$˷ټ;}if($[$Ћ[0x0000018]]==$˷ټ){unset($[$Ћ[0x0000036]]);return !0;}if(!isset($[$Ћ[0x0000018]])|| !isset($[$Ћ{0x037}])|| !isset($[$Ћ[0x0038]])|| !isset($[$Ћ{0x00039}])|| !isset($[$Ћ[0x00003a]])){return !1;}if(strlen($[$Ћ[0x0000018]])!=0x001|| strlen($[$Ћ{0x037}])!=0x0010|| strlen($[$Ћ[0x0038]])!=0x0003e|| strlen($[$Ћ{0x00039}])!=0x0010){return !1;}$=substr($[$Ћ[0x0038]],0x00020);$̈=md5($.$[$Ћ{0x037}].$[$Ћ{0x00039}].$[$Ћ[0x0000018]]);if($̈!=substr($[$Ћ[0x0038]],0,0x00020)){return !1;}$ט=Mcrypt::decode($[$Ћ[0x00003a]],md5($.$[$Ћ[0x0038]]));$=$Ћ{0x000003b};晆;if(get_path_father($ט)==$){$ט=str_replace($,$Ћ[0x03c],$ט);}$=!1;if(file_exists($ט)){$=file_get_contents($ט);$=Mcrypt::decode($,md5($.$[$Ћ{0x00039}]));if($!=$Ћ{0x003d} && strtotime($)>time()){$=!0;}}if(!$){return !1;}$=substr(md5($[$Ћ[0x0038]]),0x0a,0x0a);$=$.$[$Ћ[0x0000018]].$[$Ћ{0x00039}];ʮ쥓ϖ;$[$Ћ[0x0000036]]=Mcrypt::encode($,$,0);񹿵Ȑо;return !0;}function version_install(){$=&$GLOBALS{};$=&$GLOBALS[$[0]][$[0x0002]];;$=${0x000035};if(isset($_GET[$[0x0003e]])){version_reset(!0);header(${0x00003f});}if(!isset($_GET[$[0x0000040]])){include(TEMPLATE.$[0x032]);exit;}else{$=rand_string(0x0010);$=${0x041};$=$GLOBALS[$[0]][$[0x000004]][$[0x0042]].$;$=str_replace(${0x00043},$[0x000044],$);$=$.${0x0000045}.$_GET[$[0x0000040]].$[0x046].$;$.=${0x0047}.rawurlencode($_SERVER[$[0x00048]]);if(defined(${0x000049})){$.=$[0x000004a].INSTALL_CHANNEL;}$=json_decode(file_get_contents($),!0);if(is_array($)&& $[${0x04b}]==!0&& is_array($[$[0x004c]])){$=new FileCache(USER_SYSTEM.${0x0004d});$=$->get();$[${0x037}]=$_GET[$[0x0000040]];$[$[0x0038]]=$[$[0x004c]][$[0x00004e]];$[${0x00039}]=$;$[$[0x0000018]]=$[$[0x004c]][${0x000004f}];$=Mcrypt::decode($[$[0x00003a]],md5($.$[$[0x0038]]));del_file($);version_install_path($,$[$[0x004c]]);$->reset($);$=BASIC_PATH.$[0x050];if(!file_exists($)){$=${0x0051};file_put_contents($,$);}install_msg(LNG($[0x00052]));}else{install_msg($[$[0x004c]],!1);;}}}function install_msg($,$봸=true){$=&$GLOBALS{};$=$봸?${0x000053} :$[0x0000054];Ӧ꬧߱吻ב֥ڭӋ;show_tips($,$,0x0002,${0x055});ېƼĖɛޗ겣;}function version_install_path(&$,$){$=&$GLOBALS{};$=$[$[0x0056]];;$=${0x000035};$=${0x003d};ďɞ⿛ӊǤϹɟ¶Դ;$㲟=${0x00057}.substr(md5(rand_string(0x014).time()),0x0f,0x0a).$[0x000058];$=array(BASIC_PATH.${0x0000059},BASIC_PATH.$[0x05a],BASIC_PATH.${0x005b},DATA_PATH.$[0x0005c],DATA_PATH.${0x00005d},DATA_PATH.$[0x000005e]);ͱ;$=${0x003d};ԣϿ;foreach($ as $){if(file_exists($)&& is_writable($)){$=$.${0x05f}.$㲟;break;}}if(isset($[$[0x0060]])&& $[$[0x0060]]==0x001){$=$[0x03c].$㲟;}$=Mcrypt::encode($,md5($.$[${0x00039}]));file_put_contents($,$);if(!file_exists($)){install_msg(${0x00061},!1);}$[$[0x00003a]]=Mcrypt::encode($,md5($.$[$[0x0038]]));return;}function version_reset($=false){$=&$GLOBALS{};$=&$GLOBALS[$[0]][$[0x0002]];$=${0x000035};;if(isset($[$[0x00003a]])){$=Mcrypt::decode($[$[0x00003a]],md5($.$[$[0x0038]]));del_file($);}$֐=new FileCache(USER_SYSTEM.${0x0004d});$=$֐->get();գⶠ;unset($[${0x037}]);unset($[$[0x0038]]);ϑⷉߩ;unset($[${0x00039}]);unset($[$[0x00003a]]);if($){unset($[$[0x0000018]]);}$֐->reset($);}