0x001){$GLOBALS[${0x019}]=trim($[0x001]);}else{$GLOBALS[${0x019}]=${0x000017};}break;}}switch($GLOBALS[$[0x00016]]){case ${0x000017}:$=iconv_system(HOME).$;break;痄◡;case KOD_USER_RECYCLE:$GLOBALS[$[0x0000018]]=trim(USER_RECYCLE,${0x00011});$GLOBALS[${0x019}]=${0x000017};return iconv_system(USER_RECYCLE).${0x00011}.str_replace(KOD_USER_RECYCLE,${0x000017},$);;case KOD_USER_SELF:$GLOBALS[$[0x0000018]]=trim(HOME_PATH,${0x00011});יŀċͭϏ䊫ޣѿ;$GLOBALS[${0x019}]=${0x000017};ԣϝ޷Ѷ;return iconv_system(HOME_PATH).${0x00011}.str_replace(KOD_USER_SELF,${0x000017},$);case KOD_USER_FAV:$GLOBALS[$[0x0000018]]=trim(KOD_USER_FAV,${0x00011});ш漏;$GLOBALS[${0x019}]=${0x000017};ȯ;return KOD_USER_FAV;Ƣ٥;case KOD_GROUP_ROOT_SELF:$GLOBALS[$[0x0000018]]=trim(KOD_GROUP_ROOT_SELF,${0x00011});̎ꢯƄѹƟ֜ʽ주澯«퉾񌭬;$GLOBALS[${0x019}]=${0x000017};return KOD_GROUP_ROOT_SELF;case KOD_GROUP_ROOT_ALL:$GLOBALS[$[0x0000018]]=trim(KOD_GROUP_ROOT_ALL,${0x00011});$GLOBALS[${0x019}]=${0x000017};ϼ⊍;return KOD_GROUP_ROOT_ALL;ˈ高פփ̸έ˲Ҧ֟Ҽ;case KOD_GROUP_PATH:$=systemGroup::getInfo($GLOBALS[${0x019}]);if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);ϖᰭ͒ںЈ韱ǖƛ;$GLOBALS[$[0x0000018]]=group_home_path($);$=iconv_system($GLOBALS[$[0x0000018]]).$濲;break;case KOD_GROUP_SHARE:$=systemGroup::getInfo($GLOBALS[${0x019}]);؉Ǹъ뮕⟆䞾榾íާ;if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);ҙ㣥닱ޟ׈ρᗑ¨҉;$GLOBALS[$[0x0000018]]=group_home_path($).$[0x00001c];ٔ;$=iconv_system($GLOBALS[$[0x0000018]]).$濲;break;ǎݹ;case KOD_USER_SHARE:$=systemMember::getInfo($GLOBALS[${0x019}]);Мݎ͞ՃܸЮţ;if(!$GLOBALS[${0x019}]|| !$)return !1;if($GLOBALS[${0x019}]!=$_SESSION[${0x000001d}][$[0x01e]]){$=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}][$[0x0000022]];path_role_check($);}$GLOBALS[$[0x0000018]]=${0x000017};$GLOBALS[$[0x001a]]=$;ͷچ湠;if($濲==${0x000017}){return $;}else{$=explode(${0x00011},$濲);$[0]=iconv_app($[0]);$=systemMember::userShareGet($GLOBALS[${0x019}],$[0]);$GLOBALS[${0x023}]=$;$GLOBALS[$[0x001a]]=KOD_USER_SHARE.${0x0001b}.$GLOBALS[${0x019}].${0x00011}.$[0].${0x00011};unset($[0]);if(!$)return !1;$=rtrim($[$[0x0024]],${0x00011}).${0x00011}.iconv_app(implode(${0x00011},$));ޫۮﲅǠ͒;if($[${0x00025}]!=${0x000021}){$=user_home_path($);$GLOBALS[$[0x0000018]]=$.rtrim($[$[0x0024]],${0x00011}).${0x00011};$=$.$;}else{$GLOBALS[$[0x0000018]]=$[$[0x0024]];$=$;}if($[$[0x000026]]==${0x0000027}){$GLOBALS[$[0x001a]]=rtrim($GLOBALS[$[0x001a]],${0x00011});$GLOBALS[$[0x0000018]]=rtrim($GLOBALS[$[0x0000018]],${0x00011});}$=iconv_system($);}break;default:break;ߨ;}if($!=${0x00011}){$=rtrim($,${0x00011});if(is_dir($))$=$.${0x00011};}return $;}function _DIR_OUT($‘){$=&$GLOBALS{};if(is_array($‘)){foreach($‘[$[0x028]] as $=>&$){$[$[0x0024]]=preClear($[$[0x0024]]);}foreach($‘[${0x0029}] as $=>&$){$[$[0x0024]]=preClear(rtrim($[$[0x0024]],${0x00011}).${0x00011});}}else{$‘=preClear($‘);}return $‘;}function preClear($){$Á=&$GLOBALS{};$=$GLOBALS[$Á[0x00016]];$=rtrim($GLOBALS[$Á[0x0000018]],$Á{0x00011});௬淀ٕ頻ȭʓ;$=array(KOD_USER_FAV,KOD_GROUP_ROOT_SELF,KOD_GROUP_ROOT_ALL);if(isset($GLOBALS[$Á[0x00016]])&& in_array($GLOBALS[$Á[0x00016]],$)){return $;}if(ST==$Á[0x0002a]){return str_replace($,$Á{0x000017},$);}if($GLOBALS[$Á{0x019}]!=$Á{0x000017}){$.=$Á{0x0001b}.$GLOBALS[$Á{0x019}].$Á{0x00011};}if(isset($GLOBALS[$Á[0x001a]])){$=$GLOBALS[$Á[0x001a]];}$=$.str_replace($,$Á{0x000017},$);$=str_replace($Á{0x00002b},$Á{0x00011},$);return $;ކ;}include(CLASS_DIR.$GLOBALS{}[0x000002c]);function owner_group_check($َ){$=&$GLOBALS{};if(!$َ)show_json(LNG(${0x02d}).$َ,!1);if($GLOBALS[${0x0000013}]||(isset($GLOBALS[$[0x002e]])&& $GLOBALS[$[0x002e]]===!0)){return;}$ё=systemMember::userAuthGroup($َ);if($ё==!1){if($GLOBALS[$[0x00016]]==KOD_GROUP_PATH){show_json(LNG(${0x0002f}),!1);}else if($GLOBALS[$[0x00016]]==KOD_GROUP_SHARE){$é=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}];}}else{$é=$GLOBALS[${0x001f}][$[0x000030]][$ё];}path_role_check($é[$[0x0000022]]);}function path_role_check($){$·=&$GLOBALS{};if($GLOBALS[$·{0x0000013}]||(isset($GLOBALS[$·[0x002e]])&& $GLOBALS[$·[0x002e]]===!0)){return;}$=role_permission_arr($);$GLOBALS[$·{0x0000031}]=$;Ć竷ᤨä蝘;if(!isset($[ST.$·[0x032].ACT])&& ST!=$·[0x0002a]){show_json(LNG($·{0x0033}),!1);}}function role_permission_arr($){$=&$GLOBALS{};$ށ=array();ڜۆᇾЫڟʹμ;$=$GLOBALS[${0x001f}][$[0x00034]];⧖ɇŢ;foreach($ as $=>$){if(!$)continue;$=explode(${0x0001b},$);ǁד݂Фݤ͟ח⩴ӗۦӳǗ;if(count($)==0x0002&& is_array($[$[0]])&& is_array($[$[0]][$[0x001]])){$ށ=array_merge($ށ,$[$[0]][$[0x001]]);}}$=array();foreach($ށ as $){$[$]=${0x000021};Ӎʿʼnױղ;}return $;Ɲۡ;}function check_file_writable_user($){$܆=&$GLOBALS{};if(!isset($GLOBALS[$܆[0x00016]])){_DIR($);}$=$܆{0x000035};if($GLOBALS[$܆{0x0000013}])return @is_writable($);if($GLOBALS[$܆[0x0000036]][$]!=$܆{0x000021}){return !1;}if($GLOBALS[$܆[0x00016]]==KOD_GROUP_PATH&& is_array($GLOBALS[$܆{0x0000031}])&& $GLOBALS[$܆{0x0000031}][$]==$܆{0x000021}){return !0;}if($GLOBALS[$܆[0x00016]]==$܆{0x000017} || $GLOBALS[$܆[0x00016]]==KOD_USER_SELF){return !0;}return !1;}function space_size_use_check(){$=&$GLOBALS{};if(!system_space())return;if($GLOBALS[${0x0000013}]==0x001)return;if(isset($GLOBALS[${0x037}])&& isset($GLOBALS[${0x019}])&& $GLOBALS[${0x037}]==$GLOBALS[${0x019}]){return;}if($GLOBALS[$[0x00016]]==KOD_GROUP_SHARE|| $GLOBALS[$[0x00016]]==KOD_GROUP_PATH){systemGroup::spaceCheck($GLOBALS[${0x019}]);}else{if(ST==$[0x0002a]){$=$GLOBALS[$[0x0038]][${0x00039}];}else{$=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceCheck($);}}function spaceSizeChange($,$=true,$=false,$ﹻ=false){$=&$GLOBALS{};if(!system_space())return;if($===!1){$=$GLOBALS[$[0x00016]];$ﹻ=$GLOBALS[${0x019}];}$=$?0x001:-0x001;if(is_file($)){$=get_filesize($);}else if(is_dir($)){$=_path_info_more($);$=$[$[0x00003a]];}else{return;}if($==KOD_GROUP_SHARE|| $==KOD_GROUP_PATH){systemGroup::spaceChange($ﹻ,$*$);}else{if(ST==$[0x0002a]){$=$GLOBALS[$[0x0038]][${0x00039}];}else{$=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceChange($,$*$);}}function spaceSizeChange_move($ʏ){$=&$GLOBALS{};if(isset($GLOBALS[${0x037}])&& isset($GLOBALS[${0x019}])){if($GLOBALS[${0x037}]==$GLOBALS[${0x019}]){return;}else{spaceSizeChange($ʏ);spaceSizeChange($ʏ,!1,$GLOBALS[${0x000003b}],$GLOBALS[${0x037}]);}}else{spaceSizeChange($ʏ);圽ָٴ݊;}}function space_size_use_reset(){$=&$GLOBALS{};if(!system_space())return;$О=isset($GLOBALS[$[0x00016]])?$GLOBALS[$[0x00016]]:${0x000017};ߡ€ԟٺȚΈ䮩֠ݸ;$=isset($GLOBALS[${0x019}])?$GLOBALS[${0x019}]:${0x000017};if($О==KOD_GROUP_SHARE|| $О==KOD_GROUP_PATH){systemGroup::spaceChange($);}else{$=$_SESSION[${0x000001d}][$[0x01e]];systemMember::spaceChange($);}}function init_space_size_hook(){$=&$GLOBALS{};Hook::bind($[0x03c],${0x003d});Hook::bind($[0x0003e],${0x00003f});Hook::bind($[0x0000040],${0x003d});ޞ;Hook::bind(${0x041},${0x003d});̓ɚ֧ƍېɔ;Hook::bind($[0x0042],${0x003d});Ύׂ;Hook::bind(${0x00043},${0x003d});ر촿ӌʙٰ͎ბ­;Hook::bind($[0x000044],${0x003d});;Hook::bind(${0x0000045},${0x003d});Hook::bind($[0x046],${0x003d});Hook::bind(${0x0047},${0x00003f});Hook::bind($[0x00048],${0x00003f});Ҡͽ˹ʰОдדߛՌ;Hook::bind(${0x000049},${0x00003f});Hook::bind($[0x000004a],${0x00003f});Hook::bind(${0x04b},${0x003d});;Hook::bind($[0x004c],${0x0004d});Hook::bind($[0x00004e],${0x000004f});ݛɽǀ;}function init_session(){$Ч=&$GLOBALS{};if(isset($_GET[$Ч[0x050]])){access_token_check($_GET[$Ч[0x050]]);}else if(isset($_GET[$Ч{0x0051}])){access_token_check($_GET[$Ч{0x0051}]);}else{@session_name(SESSION_ID);}if(class_exists($Ч[0x00052])|| defined($Ч{0x000053})|| isset($_SERVER[$Ч[0x0000054]])){}else{@session_save_path(KOD_SESSION);}@session_start();$_SESSION[$Ч{0x055}]=!0;@session_write_close();άԊ⛆ƽ•كɝ;@session_start();Đ󬺶½ء˔;if(!$_SESSION[$Ч{0x055}]){chmod_path(KOD_SESSION,0777);}}function access_token_check($){$=&$GLOBALS{};$=$GLOBALS[${0x001f}][$[0x0056]][${0x00057}];ݧ;$=substr(md5($[0x000058].$),0,0x0f);;$=Mcrypt::decode($,$);if(!$){show_tips(${0x0000059});}session_id($);}function access_token_get(){$=&$GLOBALS{};$ߏ=session_id();$=$GLOBALS[${0x001f}][$[0x0056]][${0x00057}];$=substr(md5($[0x000058].$),0,0x0f);$=Mcrypt::encode($ߏ,$,0x0e10*0x0000018);return $;Ϟâⶬ؝΋㚒؈âʎ٫;}function init_config(){init_setting();init_session();ɵ캤Ǡզǒ;init_space_size_hook();}