8 lines
9.9 KiB
PHP
8 lines
9.9 KiB
PHP
<?php
|
||
// +----------------------------------------------------------------------
|
||
// | 相关站点: www.metinfo.wang,www.metinfo.cc
|
||
// +----------------------------------------------------------------------
|
||
// | 米拓( MetInfo )应用开å<E282AC>‘QQ群: 1452532
|
||
// +----------------------------------------------------------------------
|
||
trait appcmp { public $m_name = M_NAME; public $k_name; public $tname; public $appshow = ''; public $destruct = true; protected function show($yš70L, $H˜vL˜) { goto w_R<EFBFBD>s; cNŒr8: require_once $F“3q_->dodisplay($yš70L, $H˜vL˜); goto dsN„c; FŽV‡ : $F“3q_ = load::sys_class("\145\x6e\x67\x69\x6e\145", "\156\x65\167"); goto cNŒr8; w_R<EFBFBD>s: global $_M, $_YW; goto FŽV‡ ; dsN„c: } protected function check_auth() { goto H’h˜j; fkFQO: $DlŸHš = time(); goto Ze’Nž; BmjtG: HŽPli: goto x“”EK; x“”EK: if ($F34B_) { goto Bw‡j9; } goto BmrLŽ; Ze’Nž: $F34B_ = false; goto olG_9; nT‚4w: $NGqwH = strtotime("{$o5‰NB}\x20\53{$rj…GA["\x76\141\164\151\x6d\145"]["\x6d\151\156\165\164\145"]}\x20\155\151\156\x75\x74\x65"); goto QCFŠa; W<EFBFBD>bŒA: $o5‰NB = date("\x59\x2d\155\x2d\x64\x20\110\72\151\72\x73", $rj…GA["\x76\x61\x74\151\155\x65"]["\x73\x74\151\155\145"]); goto nT‚4w; fCLv—: if (!($rj…GA["\166\141\x74\x69\155\x65"]["\x6d\x69\156\165\x74\145"] > 0)) { goto ix<EFBFBD>h; } goto W<EFBFBD>bŒA; QCFŠa: if (!($NGqwH <= $DlŸHš)) { goto l5FTk; } goto Q<EFBFBD>23t; twIŸq: t<EFBFBD>S‘I: goto O<EFBFBD>4už; sšr–Q: ix<EFBFBD>h: goto OE7<EFBFBD>i; wU‘<EFBFBD>_: $rj…GA = json_decode(authcode($VTZcK["\x63\x68\x65\143\x6b"], "\x44\105\x43\x4f\x44\x45", md5(self::parse_url($_M["\143\157\x6e\x66\x69\x67"]["\x6d\x65\x74\x5f\x77\x65\142\x75\162\154"]) . md5($this->m_name . $_YW["\x61\x70\x70"]["\x61\144\144\x74\151\x6d\x65"]))), true); goto GdŸS‘; Q<EFBFBD>23t: $SOnJX = false; goto svIu‡; BmrLŽ: turnover($_M["\x75\162\154"]["\x6f\167\x6e\137\156\141\x6d\145"] . "\143\75\151\x6e\144\145\x78\x26\x61\x3d\x64\x6f\x69\156\x64\x65\x78\x26\x63\x68\x65\143\153\75\x31", "\116\x6f\40\x70\162\x6f\x6d\160\x74"); goto Uon‘˜; D‘ŸŒ9: if (!file_exists(PATH_APP_FILE . "\143\157\156\x66\x69\x67\57\165\x70\144\141\164\145\x2e\154\157\143\x6b")) { goto t<EFBFBD>S‘I; } goto QaU…W; olG_9: $VTZcK = json_decode(authcode($_YW["\143"]["\141\x63\137\x63\x61\x63\x68\145"], "\x44\105\103\x4f\x44\105", md5($_M["\x63\157\156\146\151\x67"]["\155\x65\x74\137\167\x65\142\165\162\x6c"])), true); goto D‘ŸŒ9; Uon‘˜: Bw‡j9: goto Z1zMz; QaU…W: $VTZcK["\x75\160\x64\x61\164\145"] = 1; goto twIŸq; SWhkl: if (!$SOnJX) { goto T4†Xc; } goto fCLv—; OE7<EFBFBD>i: $F34B_ = $SOnJX && !empty($VTZcK["\167\145\143\150\x61\x74"]) && !empty($VTZcK["\x75\160\x64\141\164\x65"]) ? true : false; goto HKa‡F; svIu‡: l5FTk: goto sšr–Q; HKa‡F: T4†Xc: goto BmjtG; GdŸS‘: $SOnJX = $rj…GA["\163\x74\141\164\x65"] && $rj…GA["\141\160\160"]["\166\137\155\x5f\156\141\155\145"] == $this->m_name ? true : false; goto SWhkl; sJŒ˜Z: self::cmp_a(); goto fkFQO; O<EFBFBD>4už: if (!($VTZcK["\x74\x69\x6d\145"] > $DlŸHš || $VTZcK["\x74\x69\x6d\145"] > $VTZcK["\145\x78\145\x74\151\x6d\145"] && $VTZcK["\x74\x69\155\145"] < $DlŸHš)) { goto HŽPli; } goto wU‘<EFBFBD>_; H’h˜j: global $_M, $_YW; goto sJŒ˜Z; Z1zMz: } public function loadp($W9eZt = '') { goto BITM<EFBFBD>; BITM<EFBFBD>: global $_M, $_YW; goto U‰VJ<EFBFBD>; U‰VJ<EFBFBD>: $jTK_S = explode("\x2c", $W9eZt); goto X_–‡t; Qv<EFBFBD>O<EFBFBD>: xSCmS: goto c„0‡H; X_–‡t: foreach ($jTK_S as $hvŠCu) { self::$hvŠCu(); IVZ5E: } goto Qv<EFBFBD>O<EFBFBD>; c„0‡H: } public function cmp_load() { global $_M, $_YW; self::loadp("\143\x6d\160\x5f\153\x2c\143\155\x70\x5f\x63\x2c\x63\155\x70\x5f\164"); } public function cmp_k() { goto D5D0o; nY”_B: $efTœ5 = ["\143\x6c\x6f\x75\x64\137\x63\x6f\x6e\x66\151\x67"]; goto Pt 1B; k<EFBFBD>Vƒƒ: ta“xŸ: goto RX15€; kcm H: foreach ($this->k_name as $hvŠCu) { $_YW["\x6b"][$hvŠCu] = $_M["\164\x61\x62\154\x65"][$this->m_name . "\x5f" . $hvŠCu]; rCDwF: } goto LI…›X; LI…›X: TwAt‘: goto qŸ…•x; D5D0o: global $_M, $_YW; goto nY”_B; qŸ…•x: foreach ($efTœ5 as $hvŠCu) { $_YW["\153"][$hvŠCu] = $_M["\x74\x61\142\x6c\145"][$hvŠCu]; mes˜U: } goto k<EFBFBD>Vƒƒ; Pt 1B: $sGV‚y = file_get_contents(PATH_ALL_APP . $this->m_name . "\57\143\157\156\146\x69\x67\57\x74\x61\x62\154\x65"); goto UAXšb; UAXšb: $this->k_name = array_diff(stringto_array($sGV‚y, "\x2c"), $efTœ5); goto kcm H; RX15€: } public function cmp_c($LeIua = '') { goto qN‰…G; SPDƒŸ: R3ŠaC: goto yJRzZ; QO˜_N: self::check_auth(); goto n›x“€; A <EFBFBD>XK: goto qyWCa; goto SPDƒŸ; iQ‡Œ5: $_YW["\x63"][$hvŠCu["\156\141\155\145"]] = $hvŠCu["\x76\x61\x6c\x75\145"]; goto A <EFBFBD>XK; x<EFBFBD>n_Œ: e6“ I: goto es<EFBFBD>ŒŸ; qN‰…G: global $_M, $_YW; goto UB€Ea; yM<EFBFBD>žR: if (!($hvŠCu = DB::fetch_array($eYsDD))) { goto R3ŠaC; } goto iQ‡Œ5; UB€Ea: $_YW["\156"] = $this->m_name; goto o‡aŒm; o‡aŒm: if (!empty($LeIua)) { goto e6“ I; } goto D_5ba; b•™2ƒ: qyWCa: goto yM<EFBFBD>žR; es<EFBFBD>ŒŸ: $eYsDD = DB::query("\x73\145\x6c\145\143\x74\x20\x6e\141\x6d\x65\54\166\x61\x6c\x75\145\40\x66\162\x6f\x6d\40{$_M["\x74\x61\142\x6c\x65"]["\x63\x6c\x6f\x75\144\x5f\x63\x6f\x6e\146\151\147"]}\x20\x77\x68\145\x72\145\x20\155\x5f\x6e\141\x6d\x65\40\x3d\40\47{$this->m_name}\x27\40\101\116\x44\x20\x28\x6c\x61\156\147\40\75\x20\47{$LeIua}\47\40\x4f\122\40\x6c\141\x6e\147\40\x3d\x20\x27\x63\x6c\157\165\x64\47\x29\40"); goto b•™2ƒ; yJRzZ: if (!(class_exists("\x61\144\155\151\156") || class_exists("\x61\x70\160"))) { goto YBd; } goto QO˜_N; D_5ba: $LeIua = $_M["\154\141\156\x67"]; goto x<EFBFBD>n_Œ; n›x“€: YBd: goto wŸQAK; wŸQAK: } public function cmp_a() { global $_M, $_YW; $_YW["\141\160\160"] = DB::get_one("\x53\105\114\105\x43\x54\x20\52\x20\106\122\117\115\40{$_M["\164\x61\x62\154\145"]["\x61\160\160\x6c\x69\163\x74"]}\x20\127\110\105\122\105\40\x6d\137\x6e\141\x6d\145\x3d\47{$this->m_name}\47\x20"); } public function cmp_ac() { global $_M, $_YW; $_YW["\x61\160\160"]["\143\157\x6c\165\x6d\x6e"] = DB::get_one("\x53\x45\x4c\105\x43\124\40\x2a\x20\106\x52\117\115\40{$_M["\x74\x61\142\154\x65"]["\x63\157\x6c\165\155\156"]}\40\127\x48\105\x52\x45\x20\x6d\x6f\x64\165\154\x65\x3d\47{$_YW["\x61\x70\160"]["\156\157"]}\x27\x20\x41\116\x44\40\x6c\141\x6e\x67\75\x27{$_M["\154\141\156\147"]}\x27\40"); } public function cmp_t() { goto QON<EFBFBD>s; dd<EFBFBD>bJ: require_once $yš70L; goto Hfp˜S; Ws‚€Y: if (!file_exists($yš70L)) { goto E’dQJ; } goto dd<EFBFBD>bJ; Vo5fD: $yš70L = PATH_APP_FILE . "\x6c\x61\x6e\x67\x2f" . $_M["\154\x61\x6e\x67"] . "\56\160\150\160"; goto DH_j3; Hfp˜S: E’dQJ: goto UŠ”›G; QON<EFBFBD>s: global $_M, $_YW; goto Vo5fD; u›yiJ: $yš70L = PATH_APP_FILE . "\x6c\x61\156\147\57\x63\156\56\160\x68\x70"; goto bA9<EFBFBD>Ž; DH_j3: if (file_exists($yš70L)) { goto G <EFBFBD>K‡; } goto u›yiJ; bA9<EFBFBD>Ž: G <EFBFBD>K‡: goto Ws‚€Y; UŠ”›G: } public function addconsql($e’‹‰ž, $hvŠCu = '', $LeIua) { goto DWbŠ0; E9j˜ˆ: DB::query("\x49\116\x53\105\122\124\40\x49\x4e\124\x4f\x20{$_M["\x74\x61\142\154\x65"]["\x63\154\x6f\x75\144\137\143\157\156\x66\x69\x67"]}\40\50\x6e\x61\155\x65\54\x6c\x61\156\x67\x2c\155\137\156\x61\x6d\x65\54\x76\141\154\x75\145\51\40\x56\x41\114\x55\105\123\x20\x28\x27{$e’‹‰ž}\x27\x2c\47{$LeIua}\x27\x2c\x27{$this->m_name}\x27\x2c\x27{$hvŠCu}\x27\51\x20\117\x4e\x20\x44\x55\x50\x4c\x49\103\x41\124\x45\x20\113\105\131\40\125\120\x44\x41\x54\105\40\166\x61\x6c\x75\145\75\x27{$hvŠCu}\x27\x20"); goto r2‰dj; HyL›Y: ANƒtr: goto E9j˜ˆ; DWbŠ0: global $_M, $_YW; goto i‚0hq; veaŒ™: $LeIua = $_M["\154\141\156\147"]; goto HyL›Y; i‚0hq: if (!empty($LeIua)) { goto ANƒtr; } goto veaŒ™; r2‰dj: } public function scriptgo($CHBŽŒ) { goto c‘j”3; l0H8ƒ: $this->destruct = false; goto fTaŸn; fTaŸn: echo "\74\163\143\162\151\160\x74\x3e\x61\x6c\145\x72\164\x28\47{$CHBŽŒ}\47\x29\x3b\x68\151\163\164\157\162\171\x2e\x67\157\x28\x2d\x31\x29\x3b\74\57\x73\x63\x72\151\x70\x74\76"; goto QnH„c; c‘j”3: global $_M; goto l0H8ƒ; QnH„c: exit(0); goto c<EFBFBD>85’; c<EFBFBD>85’: } public function tname() { global $_M, $_YW; return substr($_M["\x66\x6f\162\x6d"]["\141"], 2); } public function data_time($o5‰NB) { global $_M, $_YW; return $o5‰NB ? date("\x59\55\155\55\144\x20\110\x3a\151\72\163", $o5‰NB) : ''; } public function sub_str($W9eZt) { global $_M, $_YW; return strlen($W9eZt) > 0 ? substr($W9eZt, 0, 8) . "\x2e\56\x2e" : ''; } public function jsoncallback($T–euC, $Df8PF = "\143\141\x6c\x6c\x62\141\143\153") { goto pUFes; pUFes: global $_M; goto iKm<EFBFBD>S; Xl—9‰: $EAJtK = json_encode($T–euC, JSON_UNESCAPED_UNICODE); goto wQŽ…‡; iKm<EFBFBD>S: header("\x43\x6f\x6e\164\145\156\164\55\x74\x79\160\x65\72\x20\x61\x70\x70\154\x69\143\141\164\151\x6f\x6e\57\x78\55\152\x61\x76\141\163\x63\162\151\160\x74"); goto W‰SmO; W‰SmO: $Df8PF = $_M["\146\157\x72\155"][$Df8PF]; goto Xl—9‰; wQŽ…‡: echo $Df8PF ? $Df8PF . "\50" . $EAJtK . "\51" : $EAJtK; goto s‡ŒSl; s‡ŒSl: } public function parse_url($UTk7A, $Aœl“ = "\x68\157\163\164") { goto Bj…A…; aXrF_: $dg‡ya = parse_url($UTk7A); goto f›a’0; tAe7<EFBFBD>: $UTk7A = url_standard($UTk7A); goto aXrF_; f›a’0: return $Aœl“ == "\x61\162\162" ? $dg‡ya : $dg‡ya[$Aœl“]; goto cer’9; Bj…A…: global $_M; goto tAe7<EFBFBD>; cer’9: } public function http_build_query($UTk7A, $jTK_S) { goto ECPEh; qTT•Ž: vH€<EFBFBD>R: goto LŽž‘V; LŽž‘V: return $UTk7A . http_build_query($jTK_S); goto Ch8yž; ysOG_: $UTk7A .= "\46"; goto qTT•Ž; ECPEh: global $_M, $_YW; goto FA1Y; FA1Y: if (in_array(substr($UTk7A, -1), ["\46", "\x3f"])) { goto vH€<EFBFBD>R; } goto ysOG_; Ch8yž: } public function merge_css($lT0Vw = '') { goto n†”07; xˆŸ”2: Q›„YB: goto e™YPy; B‚Wz_: $pw’rT = PATH_APP_FILE . "\x70\165\142\x6c\x69\x63\57\x63\163\163\x2f\144\x69\171\x63\163\x73\56\x63\x73\x73"; goto Syoo; aCD: h’ŒVž: goto Z››<EFBFBD> ; DUNvf: $d“<64>K<EFBFBD> = file_get_contents($f3O0˜); goto B‚Wz_; v…Ž›3: H6r†„: goto DUNvf; xŒ‚ƒf: if (file_exists($f3O0˜)) { goto H6r†„; } goto P1<EFBFBD>™„; P1<EFBFBD>™„: return false; goto v…Ž›3; Syoo: if (!file_exists($pw’rT)) { goto Q›„YB; } goto OZE6<EFBFBD>; Bžl”D: $f3O0˜ = PATH_APP_FILE . "\x70\x75\142\154\x69\143\x2f\x63\x73\163\x2f\x77\145\x62\143\x73\163\x2e\143\x73\163"; goto xŒ‚ƒf; D0‘Zy: $lT0Vw = $_YW["\143"]["\144\x69\171\x63\163\x73"]; goto aCD; OZE6<EFBFBD>: $d“<64>K<EFBFBD> .= PHP_EOL . file_get_contents($pw’rT); goto xˆŸ”2; n†”07: global $_M, $_YW; goto Bžl”D; Z››<EFBFBD> : return file_put_contents(PATH_APP_FILE . "\x77\145\x62\x2f\164\145\155\160\154\x61\x74\x65\163\57\155\145\164\57\x63\163\163\57\x6d\x65\x74\x69\156\146\x6f\56\143\163\163", $d“<64>K<EFBFBD> . PHP_EOL . $lT0Vw); goto dWœUO; e™YPy: if (!empty($lT0Vw)) { goto h’ŒVž; } goto D0‘Zy; dWœUO: } }
|