Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php defined("\111\x4e\x5f\x49\101") or exit("\101\x63\143\x65\163\163\40\x44\145\156\x..

Decoded Output download

<?php 
 defined("IN_IA") or exit("Access Denied"); class Tc_cardModuleWxapp extends WeModuleWxapp { private function getjson($url, $refer) { goto be_fn; RSIaU: curl_setopt($curl, CURLOPT_REFERER, $refer); goto pZNc4; aSdog: curl_close($curl); goto mKsw1; pZNc4: curl_setopt($curl, CURLOPT_USERAGENT, ""Dalvik/1.6.0 (Linux; U; Android 4.1.2; DROID RAZR HD Build/9.8.1Q-62_VQW_MR-2)"); goto kMjwM; ye9FA: curl_setopt($curl, CURLOPT_URL, $url); goto RSIaU; sayLd: $qqlyc = curl_exec($curl); goto aSdog; mKsw1: return $qqlyc; goto kB_iR; be_fn: $curl = curl_init(); goto ye9FA; kMjwM: curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); goto sayLd; kB_iR: } private function extend($file_name) { goto TOgAE; dX3_F: $extend = strtolower($extend["extension"]); goto wxiOR; wxiOR: return $extend; goto GYRj4; TOgAE: $extend = pathinfo($file_name); goto dX3_F; GYRj4: } private function file_cardremote_upload($filename, $remote, $auto_delete_local = true) { goto YZQGX; LUkaY: D4Zfc: goto qDWYZ; bROt0: goto yL0OM; goto FKB4T; YBWm9: LjHA7: goto sr2rr; BkYWO: if (!empty($response)) { goto NKp60; } goto B1Euu; e4Fv1: YlTOt: goto dNjYV; Y6YMj: $uploadtoken = $auth->uploadToken($remote["qiniu"]["bucket"], $filename, 3600, $putpolicy); goto as9fE; F3m0c: $endpoint = "http://" . $buckets[$remote["alioss"]["bucket"]]["location"] . ".aliyuncs.com"; goto Uvs7H; rxx7s: switch ($uploadRet["code"]) { case -62: $message = "\350\276\x93\345\x85\xa5\xe7\x9a\204appid\xe6\x9c\211\xe8\xaf\257"; goto GNPht; case -79: $message = "\xe8\xbe\x93\345\x85\xa5\xe7\232\204SecretID\xe6\x9c\x89\350\257\xaf"; goto GNPht; case -97: $message = "\350\xbe\223\xe5\x85\245\347\x9a\x84SecretKEY\346\234\211\xe8\xaf\xaf"; goto GNPht; case -166: $message = "\xe8\276\223\xe5\205\xa5\347\x9a\204bucket\346\234\211\xe8\xaf\xaf"; goto GNPht; } goto NsyHx; P9XB6: return true; goto CW8L1; TcJL8: $buckets = attachment_alioss_buctkets($remote["alioss"]["key"], $remote["alioss"]["secret"]); goto F3m0c; y2Fwz: return error(-1, $message); goto MH8G4; WvMdq: $ftp_config = array("hostname" => $remote["ftp"]["host"], "username" => $remote["ftp"]["username"], "password" => $remote["ftp"]["password"], "port" => $remote["ftp"]["port"], "ssl" => $remote["ftp"]["ssl"], "passive" => $remote["ftp"]["pasv"], "timeout" => $remote["ftp"]["timeout"], "rootdir" => $remote["ftp"]["dir"]); goto tbYNI; bPSJs: FgiBy: goto BkYWO; DymFo: bfe4C: goto oYY5L; MZmt6: $auth = new Qiniu\Auth($remote["qiniu"]["accesskey"], $remote["qiniu"]["secretkey"]); goto jcSti; ip7xS: goto C20Sh; goto pVyJ0; Uvs7H: try { $ossClient = new \OSS\OssClient($remote["alioss"]["key"], $remote["alioss"]["secret"], $endpoint); $ossClient->uploadFile($remote["alioss"]["bucket"], $filename, ATTACHMENT_ROOT . "/" . $filename); } catch (\OSS\Core\OssException $e) { return error(1, $e->getMessage()); } goto OqbGU; WCwXN: $response = $ftp->upload(ATTACHMENT_ROOT . "/" . $filename, $filename); goto SigY5; yOev2: goto G6R0p; goto U13o1; C2M2y: brL3P: goto rQjWx; CW8L1: goto TgD41; goto YBWm9; wEU8a: yL0OM: goto R0x3x; B1Euu: return error(1, "\350\xbf\x9c\xe7\xa8\x8b\xe9\x99\x84\344\xbb\xb6\xe4\xb8\x8a\xe4\xbc\xa0\345\244\xb1\350\xb4\xa5\xef\274\x8c\xe8\xaf\267\346\xa3\200\xe6\237\245\351\x85\215\347\275\256\xe5\271\xb6\351\x87\215\346\226\xb0\xe4\270\212\344\xbc\240"); goto R3pI1; pVyJ0: Ja1yD: goto PJCYS; qDWYZ: if ($remote["type"] == "1") { goto lKloh; } goto kc3g1; y9iP2: Qrk50: goto evQM2; R0x3x: if (!($uploadRet["code"] != 0)) { goto IScQ7; } goto rxx7s; as9fE: list($ret, $err) = $uploadmgr->putFile($uploadtoken, $filename, ATTACHMENT_ROOT . "/" . $filename); goto k_qBV; oYY5L: goto C20Sh; goto GS439; rMBex: $uploadRet = \Qcloud_cos\Cosapi::upload($remote["cos"]["bucket"], ATTACHMENT_ROOT . $filename, "/" . $filename, '', 3 * 1024 * 1024, 0); goto bROt0; FKB4T: sXkg3: goto jYuOG; SigY5: if (!$auto_delete_local) { goto FgiBy; } goto JH1jV; k_qBV: if (!$auto_delete_local) { goto Muq5J; } goto HgUcr; boAWd: if ($err !== null) { goto LjHA7; } goto P9XB6; Op_PW: GNPht: goto y2Fwz; HgUcr: file_delete($filename); goto SwKsv; BOv0Q: file_delete($filename); goto DymFo; FgQ2M: load()->library("cosv3"); goto rMBex; eImHT: if (!empty($remote["type"])) { goto D4Zfc; } goto CAFB5; pQRs2: goto C20Sh; goto C2M2y; PP_ei: $uploadRet = qcloudcos\Cosapi::upload($remote["cos"]["bucket"], ATTACHMENT_ROOT . $filename, "/" . $filename, '', 3 * 1024 * 1024, 0); goto wEU8a; bTfhC: file_delete($filename); goto e4Fv1; kc3g1: if ($remote["type"] == "2") { goto brL3P; } goto YjkYm; evQM2: G6R0p: goto pQRs2; rN5aL: if (!$auto_delete_local) { goto YlTOt; } goto bTfhC; HEtWa: if (true === $ftp->connect()) { goto tvDXN; } goto fQ4Cg; vazEc: return true; goto y9iP2; jYuOG: load()->library("cos"); goto lOumQ; MH8G4: IScQ7: goto rN5aL; fQ4Cg: return error(1, "\350\xbf\x9c\347\xa8\x8b\351\x99\x84\xe4\273\266\344\270\212\xe4\274\xa0\xe5\xa4\261\350\xb4\xa5\357\274\x8c\xe8\xaf\267\346\243\200\xe6\x9f\245\xe9\205\x8d\xe7\275\xae\345\xb9\266\351\207\x8d\xe6\x96\260\344\xb8\x8a\344\274\240"); goto yOev2; sr2rr: return error(1, "\350\277\x9c\347\xa8\x8b\351\231\204\xe4\xbb\266\344\xb8\x8a\344\274\240\345\xa4\xb1\350\xb4\xa5\xef\274\214\350\257\xb7\xe6\243\x80\xe6\x9f\245\xe9\205\215\347\275\xae\345\xb9\266\351\207\215\xe6\x96\xb0\344\xb8\x8a\xe4\xbc\xa0"); goto tMLhY; R3pI1: goto Qrk50; goto yGxRW; lOumQ: qcloudcos\Cosapi::setRegion($remote["cos"]["local"]); goto PP_ei; tbYNI: $ftp = new Ftp($ftp_config); goto HEtWa; lfiwx: if ($remote["type"] == "4") { goto Ja1yD; } goto jfgZg; SwKsv: Muq5J: goto boAWd; YjkYm: if ($remote["type"] == "3") { goto YT1Jm; } goto lfiwx; PJCYS: if (!empty($remote["cos"]["local"])) { goto sXkg3; } goto FgQ2M; CAFB5: return false; goto LUkaY; pVNkK: require_once IA_ROOT . "/framework/library/ftp/ftp.php"; goto WvMdq; JH1jV: file_delete($filename); goto bPSJs; U13o1: tvDXN: goto WCwXN; YZQGX: global $_W; goto eImHT; dNjYV: C20Sh: goto kLjmr; rQjWx: load()->library("oss"); goto moTOn; jfgZg: goto C20Sh; goto Qxmvw; moTOn: load()->model("attachment"); goto TcJL8; Qxmvw: lKloh: goto pVNkK; tMLhY: TgD41: goto ip7xS; GS439: YT1Jm: goto J18Ml; NsyHx: LiCru: goto Op_PW; yGxRW: NKp60: goto vazEc; jcSti: $uploadmgr = new Qiniu\Storage\UploadManager(); goto uiv3P; OqbGU: if (!$auto_delete_local) { goto bfe4C; } goto BOv0Q; uiv3P: $putpolicy = Qiniu\base64_urlSafeEncode(json_encode(array("scope" => $remote["qiniu"]["bucket"] . ":" . $filename))); goto Y6YMj; J18Ml: load()->library("qiniu"); goto MZmt6; kLjmr: } private function imgurl() { goto mrCPA; eiaPB: goto QKqCe; goto CetWZ; torez: koWX9: goto IDhX1; mrCPA: global $_GPC, $_W; goto XAqbX; Kij6c: QKqCe: goto GRfQ6; fhOEQ: if ($cfg["remote"]["type"] == 2) { goto koWX9; } goto hPpme; hPpme: if ($cfg["remote"]["type"] == 3) { goto A2h28; } goto ZmkJd; Zv8lc: goto kl5WO; goto torez; Jk58Q: kl5WO: goto Kij6c; ShZET: $url = $cfg["remote"]["qiniu"]["url"] . "/"; goto hvZ0d; CetWZ: bif0a: goto esclh; IDhX1: $url = $cfg["remote"]["alioss"]["url"] . "/"; goto qGP9E; k9pQ_: A2h28: goto ShZET; XAqbX: $cfg = $this->module["config"]; goto Qb6tY; nTT0i: $url = $cfg["remote"]["cos"]["url"] . "/"; goto Jk58Q; Dd9p2: $url = $cfg["remote"]["ftp"]["url"] . "/"; goto Zv8lc; GRfQ6: return $url; goto wmruk; ExV6u: $url = $_W["siteroot"] . "attachment/"; goto eiaPB; mrsds: goto kl5WO; goto iiGSM; ow2Wh: RaOQ0: goto nTT0i; Qb6tY: if ($cfg["remote"]["type"]) { goto bif0a; } goto ExV6u; ZmkJd: if ($cfg["remote"]["type"] == 4) { goto RaOQ0; } goto mrsds; esclh: if ($cfg["remote"]["type"] == 1) { goto SBXnw; } goto fhOEQ; hvZ0d: goto kl5WO; goto ow2Wh; iiGSM: SBXnw: goto Dd9p2; qGP9E: goto kl5WO; goto k9pQ_; wmruk: } private function skinurl() { goto o6LAm; iPhqK: if ($cfg["remote"]["type"] == 2) { goto HeuSV; } goto fkgxu; IQzX1: HeuSV: goto wFuMz; t5234: a82XD: goto BuoJJ; awyvC: goto YZU4d; goto m9e1p; m9e1p: icO5J: goto wTCfE; thvSu: kbTLN: goto NSHpU; LZnk3: YZU4d: goto mihCX; Ap7h6: goto dEp0a; goto IQzX1; o6LAm: global $_GPC, $_W; goto pyax2; wTCfE: if ($cfg["remote"]["type"] == 1) { goto dm2Nj; } goto iPhqK; mihCX: return $url; goto AlUm6; LCd4O: goto dEp0a; goto thvSu; fkgxu: if ($cfg["remote"]["type"] == 3) { goto a82XD; } goto HdddA; BuoJJ: $url = $cfg["remote"]["qiniu"]["url"] . "/"; goto LCd4O; LHmVa: $url = $_W["siteroot"] . "addons/" . $this->modulename . "/"; goto awyvC; NSHpU: $url = $cfg["remote"]["cos"]["url"] . "/"; goto iT0Bz; HdddA: if ($cfg["remote"]["type"] == 4) { goto kbTLN; } goto DS4s7; m6ISw: if ($cfg["remote"]["type"] && $cfg["remoteskin"]) { goto icO5J; } goto LHmVa; uA5OM: dm2Nj: goto gs1gV; gs1gV: $url = $cfg["remote"]["ftp"]["url"] . "/"; goto Ap7h6; fh9a0: goto dEp0a; goto t5234; pyax2: $cfg = $this->module["config"]; goto m6ISw; DS4s7: goto dEp0a; goto uA5OM; wFuMz: $url = $cfg["remote"]["alioss"]["url"] . "/"; goto fh9a0; iT0Bz: dEp0a: goto LZnk3; AlUm6: } private function savevoice($voice) { goto pVaJD; ivUWv: if (!$cfg["remote"]["type"]) { goto eE4LM; } goto nJT83; tloPn: load()->func("file"); goto bJ1Ej; XTV3k: $cfg = $this->module["config"]; goto H8xOn; VtzCQ: if (!in_array($ext, $allow_type)) { goto iyyta; } goto B3Xfx; bJ1Ej: file_move($voice["tmp_name"], $filenames); goto ivUWv; leDL3: return $filename; goto qcw3X; nJT83: $this->file_cardremote_upload($filename, $cfg["remote"], $auto_delete_local = true); goto xQawB; B3Xfx: $filename = random(30) . "." . $ext; goto yLJTt; yLJTt: $filename = "images/" . $_W["uniacid"] . "/tc_card/" . date("Y/m/") . $filename; goto h_QWT; paR5X: iyyta: goto leDL3; xQawB: eE4LM: goto paR5X; QwEyL: $allow_type = array("mp3", "acc"); goto Fujz9; h_QWT: $filenames = ATTACHMENT_ROOT . "/" . $filename; goto tloPn; qcw3X: xnTgl: goto v7zOF; Fujz9: $ext = $this->extend($voice["name"]); goto VtzCQ; pVaJD: global $_GPC, $_W; goto XTV3k; H8xOn: if (empty($voice)) { goto xnTgl; } goto QwEyL; v7zOF: } private function savepics($pic) { goto a3UJ_; a3UJ_: global $_GPC, $_W; goto NZYiT; PFSAm: return $imgurl . $filename; goto VK6XO; aL37G: $this->file_cardremote_upload($filename, $cfg["remote"], $auto_delete_local = true); goto PQ7qR; FOhKv: $filename = "images/" . $_W["uniacid"] . "/tc_card/" . date("Y/m/") . $filename; goto IJh22; wanuo: $filename = random(30) . "." . $ext; goto FOhKv; yLLw8: if (!$cfg["remote"]["type"]) { goto UIRYH; } goto aL37G; REcax: $imgurl = $this->imgurl(); goto DjUIH; L7r60: $allow_type = array("jpg", "jpeg", "gif", "png"); goto HYkTi; VK6XO: yc7ci: goto VMXkP; DjUIH: if (empty($pic)) { goto yc7ci; } goto L7r60; grr63: VWi8d: goto PFSAm; PQ7qR: UIRYH: goto grr63; HYkTi: $ext = $this->extend($pic["name"]); goto rrp7H; rrp7H: if (!in_array($ext, $allow_type)) { goto VWi8d; } goto wanuo; IJh22: $filenames = ATTACHMENT_ROOT . "/" . $filename; goto KwMlE; PswZA: file_move($pic["tmp_name"], $filenames); goto yLLw8; KwMlE: load()->func("file"); goto PswZA; NZYiT: $cfg = $this->module["config"]; goto REcax; VMXkP: } public function doPageUpimg() { goto BPK3f; oNSul: goto dDxdb; goto kAiV4; BPK3f: global $_GPC, $_W; goto lX1rz; IJJa7: return $this->savepics($pic); goto oNSul; kAiV4: qqWSr: goto pwsi5; lX1rz: if ($_FILES["file"]["error"] > 0) { goto qqWSr; } goto lU_K4; lU_K4: $pic = $_FILES["file"]; goto IJJa7; pwsi5: echo "Error: " . $_FILES["file"]["error"] . "<br />"; goto XlS_t; XlS_t: dDxdb: goto JLW6i; JLW6i: } private function vkey() { goto mW30L; l64PI: if ($guid && $ckey && $times < $extime) { goto tqS6J; } goto exF4J; GZ9Yh: vDzZR: goto a0POr; ZEDWr: $url = "https://c.y.qq.com/base/fcgi-bin/fcg_music_express_mobile3.fcg?g_tk=217896930&jsonpCallback=MusicJsonCallback34474659184462486&hostUin=0&format=json&inCharset=utf8&outCharset=utf-8&notice=0&platform=yqq&needNewCode=0&cid=205361747&songmid=0003FhfU2GR1tu&filename=C100000g3AfO4JHZsS.m4a&guid=" . $guid; goto NODvv; WK3yL: $ckey = cache_load("cvkey"); goto mBrS1; S8iWU: cache_write("cvkey", $key); goto Lk4mF; qDYON: return $data; goto vWzxX; QA3E7: $key = $ckey; goto dmKb1; uTgMv: $key = $this->vkey(); goto GZ9Yh; dmKb1: Z18f8: goto yfhD2; a0POr: goto Z18f8; goto Bq_0g; kJ4Zw: $rs = $this->getjson($url, $refer); goto OmPvj; mW30L: $guid = cache_load("cguid"); goto WK3yL; SCbVi: $key = $arr["data"]["items"][0]["vkey"]; goto xn4yO; NODvv: $refer = "https://c.y.qq.com"; goto kJ4Zw; OxxYv: $times = TIMESTAMP; goto l64PI; AEp7m: YHVhD: goto uTgMv; xn4yO: if ($key == "file type wrong") { goto YHVhD; } goto SlAW1; yfhD2: $data = array("key" => $key, "guid" => $guid); goto qDYON; exF4J: $guid = time(); goto ZEDWr; Bq_0g: tqS6J: goto QA3E7; mBrS1: $extime = cache_load("cextime"); goto OxxYv; OmPvj: $arr = json_decode($rs, true); goto SCbVi; Lk4mF: cache_write("cextime", $times + 70000); goto qM3aO; SlAW1: cache_write("cguid", $guid); goto S8iWU; qM3aO: goto vDzZR; goto AEp7m; vWzxX: } public function doPagemember() { goto QavqM; xhV46: return json_encode($user); goto OUwsN; vwdYP: if ($cfg["review"] && $ver == "23") { goto H4EAX; } goto e07sw; Kb7LJ: $cfg = $this->module["config"]; goto baBqh; QavqM: global $_GPC, $_W; goto Kb7LJ; svWSe: $isave = pdo_fetch("SELECT id,fee,avatar FROM" . tablename($this->modulename . "_user") . " WHERE openid = :openid", array(":openid" => $oauth["openid"])); goto xqcbV; OnG5l: goto erj2A; goto H64t1; C7vDs: $data = array("nickname" => $_GPC["nickName"], "avatar" => $_GPC["avatarUrl"]); goto G2xtR; Pha32: $account_api = WeAccount::create(); goto foaUp; baBqh: $url = $this->imgurl(); goto SdmpH; H64t1: H4EAX: goto uB7Cx; G2xtR: pdo_update($this->modulename . "_user", $data, array("id" => $isave["id"])); goto gsFIc; xqcbV: if (!$isave["id"]) { goto o09ZL; } goto amcvq; foaUp: $oauth = $account_api->getOauthInfo($code); goto wVhn2; NCacm: erj2A: goto Pha32; kwBgQ: MRq_O: goto xhV46; amcvq: if ($isave["avatar"]) { goto Cebur; } goto C7vDs; gh4nl: goto MRq_O; goto QfcVy; vIZjK: $ver = $_GPC["ver"]; goto vwdYP; SdmpH: $skinurl = $this->skinurl(); goto ituEy; ituEy: $code = $_GPC["code"]; goto vIZjK; rA1X0: $data = array("nickname" => $_GPC["nickName"], "openid" => $oauth["openid"], "avatar" => $_GPC["avatarUrl"], "uniacid" => $_W["uniacid"], "addtime" => TIMESTAMP); goto WTQxD; q0mVx: $user["fee"] = $isave["fee"]; goto gh4nl; e07sw: $review = 0; goto OnG5l; WTQxD: pdo_insert($this->modulename . "_user", $data); goto kwBgQ; gsFIc: Cebur: goto q0mVx; uB7Cx: $review = $cfg["review"]; goto NCacm; QfcVy: o09ZL: goto rA1X0; wVhn2: $user = array("openid" => $oauth["openid"], "nickname" => $_GPC["nickName"], "avatar" => $_GPC["avatarUrl"], "sts" => 1, "spacename" => $cfg["spacename"], "mpname" => $cfg["mpname"], "imgurl" => $url, "skinurl" => $skinurl, "review" => $review, "sharepic" => $cfg["sharepic"], "piao" => $cfg["piaofu"], "ispay" => $cfg["ispay"], "openmsg" => $cfg["openmsg"]); goto svWSe; OUwsN: } public function doPageSaveuser() { goto zSans; N9EY9: $isave = pdo_fetch("SELECT id,nickname,avatar FROM" . tablename($this->modulename . "_user") . " WHERE openid = :openid", array(":openid" => $_GPC["openid"])); goto vhVzN; vhVzN: if ($isave["nickname"]) { goto VinLU; } goto Jg57o; rBOPP: pdo_update($this->modulename . "_user", $data, array("openid" => $_GPC["openid"])); goto coEfW; Jg57o: $data = array("nickname" => $_GPC["nickname"], "avatar" => $_GPC["avatar"]); goto rBOPP; coEfW: VinLU: goto IsMLF; zSans: global $_GPC, $_W; goto N9EY9; IsMLF: } public function doPageLogin() { goto U_476; u1B32: $account_api = WeAccount::create(); goto WxG6G; WxG6G: $oauth = $account_api->getOauthInfo($code); goto qxgzl; Ckmq4: $user = array("openid" => $oauth["openid"]); goto lcc6a; oO433: pdo_insert($this->modulename . "_user", $data); goto Tbdpa; Tk1Tc: $code = $_GPC["code"]; goto u1B32; r33rm: if ($isave["id"]) { goto RshzJ; } goto oJoYJ; qxgzl: $isave = pdo_fetch("SELECT id,fee,avatar FROM" . tablename($this->modulename . "_user") . " WHERE openid = :openid", array(":openid" => $oauth["openid"])); goto r33rm; lcc6a: return json_encode($user); goto RYS_X; U_476: global $_GPC, $_W; goto Tk1Tc; oJoYJ: $data = array("openid" => $oauth["openid"], "uniacid" => $_W["uniacid"], "addtime" => TIMESTAMP); goto oO433; Tbdpa: RshzJ: goto Ckmq4; RYS_X: } public function doPageConfig() { goto ni1DU; lnVW1: unset($cfg["remote"]); goto ebb8X; cdnTZ: $cfg["dstext"] = htmlspecialchars_decode($cfg["dstext"]); goto lnVW1; CUBuD: $cfg["imgurl"] = $url; goto B1Bee; BoKBa: $ver = $_GPC["ver"]; goto G7Cdk; at6pz: $url = $this->imgurl(); goto yEkt_; B1Bee: $cfg["skinurl"] = $skinurl; goto dTf9l; aL_ki: $review = $cfg["review"]; goto FFhcz; ni1DU: global $_GPC, $_W; goto liccn; G7Cdk: if ($cfg["review"] && $ver == "23") { goto ZfH2S; } goto HDgbi; sLZu0: $cfg["msgtext"] = htmlspecialchars_decode($cfg["msgtext"]); goto cdnTZ; FFhcz: oIc8T: goto CUBuD; lxaGx: ZfH2S: goto aL_ki; AnECR: goto oIc8T; goto lxaGx; ebb8X: return json_encode($cfg); goto owY6T; liccn: $cfg = $this->module["config"]; goto at6pz; HDgbi: $review = 0; goto AnECR; dTf9l: $cfg["review"] = $review; goto sLZu0; yEkt_: $skinurl = $this->skinurl(); goto BoKBa; owY6T: } public function doPageSetdata() { goto CeAgm; ZbZpW: $cfg["dstext"] = htmlspecialchars_decode($cfg["dstext"]); goto dB3BS; GhmoU: if ($cfg["review"] && $ver == "21") { goto Xrcej; } goto rcN6f; CeAgm: global $_GPC, $_W; goto OTwWK; OTwWK: $cfg = $this->module["config"]; goto osCaU; dsuzG: $cfg["review"] = $review; goto xG_Oq; mnXd7: $cfg["skinurl"] = $skinurl; goto dsuzG; dB3BS: unset($cfg["remote"]); goto E2NCZ; zmeHz: $review = $cfg["review"]; goto E623X; osCaU: $url = $this->imgurl(); goto JQIv0; E623X: iOfKP: goto zOJ9B; MBRlh: $ver = $_GPC["ver"]; goto GhmoU; zOJ9B: $cfg["imgurl"] = $url; goto mnXd7; J6hwR: Xrcej: goto zmeHz; rcN6f: $review = 0; goto TTdXr; E2NCZ: return json_encode($cfg); goto wiaat; TTdXr: goto iOfKP; goto J6hwR; xG_Oq: $cfg["msgtext"] = htmlspecialchars_decode($cfg["msgtext"]); goto ZbZpW; JQIv0: $skinurl = $this->skinurl(); goto MBRlh; wiaat: } public function doPagecarddata() { goto pXldt; lAAAf: if ($list[$i]["istype"]) { goto IMPtR; } goto Bl_dm; USoIA: $data = array("rcdata" => $rcarr, "jrdata" => $jrarr, "ads" => $ads); goto tkDI9; ok_Li: IMPtR: goto kw9I4; sQY83: $i++; goto gK4Gn; zDndq: $ads = pdo_fetchall("SELECT title,thumb,ishot,type,path,appid FROM" . tablename($this->modulename . "_ads") . " WHERE uniacid = :uniacid ORDER BY displayorder DESC", array(":uniacid" => $_W["uniacid"])); goto tTpNt; kw9I4: $rcarr[] = $list[$i]; goto jhz5u; sZJY0: TU1UT: goto USoIA; Bl_dm: $jrarr[] = $list[$i]; goto F2AUB; O8vnH: JcxoQ: goto sQY83; e7eqh: $list = pdo_fetchall("SELECT id,title,istype,thumb,showed FROM " . tablename($this->modulename . "_skincate") . " WHERE uniacid = :uniacid and showed = 1 ORDER BY displayorder DESC", array(":uniacid" => $_W["uniacid"])); goto zDndq; pXldt: global $_GPC, $_W; goto e7eqh; F2AUB: goto TkQnQ; goto ok_Li; LV6X6: AIhou: goto IifMB; tkDI9: return json_encode($data); goto lkYKF; IifMB: if (!($i < count($list))) { goto TU1UT; } goto lAAAf; gK4Gn: goto AIhou; goto sZJY0; tTpNt: $i = 0; goto LV6X6; jhz5u: TkQnQ: goto O8vnH; lkYKF: } public function doPageCardlist() { goto yHc3S; aiJAg: $cid = $_GPC["cid"]; goto E6OMK; ZC02b: return json_encode($data); goto SSA92; ywz_6: $data = array("list" => $list); goto ZC02b; yHc3S: global $_GPC, $_W; goto aiJAg; E6OMK: $list = pdo_fetchall("SELECT id,uniacid,cid,click,bogusclick,smallthumb,showed,title,addtime FROM " . tablename($this->modulename . "_skin") . " WHERE uniacid = :uniacid and showed = 1 and cid = :cid ORDER BY displayorder DESC, addtime DESC", array(":uniacid" => $_W["uniacid"], ":cid" => $cid)); goto ywz_6; SSA92: } public function doPageCardinfo() { goto qwSYz; voF8E: $data = array("card" => $card, "textlist" => $textlist, "guanjianci" => trim($cfg["guanjianci"])); goto gvvVZ; Ygu5x: $id = $_GPC["id"]; goto PTnaJ; foPG8: $card = pdo_fetch("SELECT * FROM " . tablename($this->modulename . "_skin") . " WHERE uniacid = :uniacid and id = :id ORDER BY displayorder DESC", array(":uniacid" => $_W["uniacid"], ":id" => $id)); goto PEjxl; nUTvZ: M8ZX_: goto voF8E; xWP8c: $textlist = pdo_fetchall("SELECT content FROM" . tablename($this->modulename . "_text") . " WHERE cid = :cid ORDER BY rand() LIMIT 20", array(":cid" => $textid)); goto aqnfM; LKa9i: $card["music"] = str_replace("fromtag=0", "fromtag=46", $card["music"]); goto U52mO; PEjxl: $card["fontcolor"] = "#" . str_ireplace("#", '', $card["fontcolor"]); goto K0g1U; qwSYz: global $_GPC, $_W; goto Ygu5x; TCCqM: $card["music"] = $card["music"] . "&guid=" . $key["guid"] . "&vkey=" . $key["key"]; goto nUTvZ; K0g1U: $textid = pdo_fetchcolumn("SELECT b.id FROM" . tablename($this->modulename . "_skincate") . " a INNER JOIN " . tablename($this->modulename . "_textcate") . " b ON a.oltitle = b.oldtitle WHERE a.id = :id and b.uniacid = :uniacid", array(":id" => $card["cid"], ":uniacid" => $_W["uniacid"])); goto xWP8c; PTnaJ: $cfg = $this->module["config"]; goto foPG8; aqnfM: $card["music"] = str_replace("ws.stream.qqmusic.qq.com", "dl.stream.qqmusic.qq.com", $card["music"]); goto XkHDF; gvvVZ: return json_encode($data); goto XEc_9; U52mO: if (!strstr($card["music"], "qqmusic")) { goto M8ZX_; } goto IjUUY; XkHDF: $card["music"] = str_replace("C10000", "C40000", $card["music"]); goto LKa9i; IjUUY: $key = $this->vkey(); goto TCCqM; XEc_9: } public function doPageUpvoice() { goto LBn1S; oHL2d: echo "Error: " . $_FILES["file"]["error"] . "<br />"; goto NGeSm; ml6xP: XORon: goto oHL2d; jETPr: if ($_FILES["file"]["error"] > 0) { goto XORon; } goto dvmz5; pMFgM: goto yiIm6; goto ml6xP; LBn1S: global $_GPC, $_W; goto jETPr; NGeSm: yiIm6: goto UFjpo; sLs7d: return $this->savevoice($voice); goto pMFgM; dvmz5: $voice = $_FILES["file"]; goto sLs7d; UFjpo: } public function doPageservers() { goto MgIcp; ugkSt: $appId = $_W["account"]["key"]; goto mgIqZ; DVghO: $token = $cfg["tokens"]; goto ugkSt; AGsfs: if (!$isok) { goto jJVLp; } goto iNdhV; t05cc: $cfg = $this->module["config"]; goto GpY10; mgIqZ: $signature = $_GPC["signature"]; goto WD04V; ntUHL: $nonce = $_GPC["nonce"]; goto ENPcA; e7ple: $isok = $pc->checkSignature($signature, $timestamp, $nonce); goto AGsfs; NSGFi: $pc = new WXBizMsgCrypt($token, $encodingAesKey, $appId); goto e7ple; ev8vl: $this->sendRes($pdata); goto NSGFi; EP2yD: $pdata = file_get_contents("php://input"); goto ev8vl; iNdhV: return $echostr; goto Qumru; GpY10: require_once MODULE_ROOT . "/public/wxBizMsgCrypt.php"; goto qyxBd; Qumru: jJVLp: goto oYwm6; ENPcA: $echostr = $_GPC["echostr"]; goto EP2yD; qyxBd: $encodingAesKey = $cfg["encodingAesKey"]; goto DVghO; MgIcp: global $_GPC, $_W; goto t05cc; WD04V: $timestamp = $_GPC["timestamp"]; goto ntUHL; oYwm6: } public function sendRes($pdata) { goto fiJZG; QIjaW: load()->classs("wxapp.account"); goto c2I4R; L03_Y: $postdata = json_decode($pdata, true); goto kP1uE; c2I4R: $accObj = WxappAccount::create(); goto HYN1Q; HYN1Q: $access_token = $accObj->getAccessToken($_W["uniacid"]); goto Tr19J; Fmhxu: $link = $linkarr[$allnum]; goto AGU6Y; u0ZMJ: $ret = ihttp_request($url, $post); goto v0Jc4; jEj1B: $linkarr = explode(",", $cfg["kfurl"]); goto xM_uv; xM_uv: $allnum = rand(0, count($linkarr) - 1); goto Fmhxu; kP1uE: if (!($postdata["Event"] == "user_enter_tempsession")) { goto sm6z5; } goto jEj1B; AGU6Y: $post = "{"touser":"" . $postdata["FromUserName"] . "","msgtype":"link","link":{"title": "" . $cfg["kftitle"] . "","description": "" . $cfg["kfdesc"] . "","url": "" . $link . "", "thumb_url": "" . $this->imgurl() . $cfg["kfpic"] . ""}}"; goto QIjaW; MeePa: $cfg = $this->module["config"]; goto L03_Y; HZY9B: load()->func("communication"); goto u0ZMJ; Tr19J: $url = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token={$access_token}"; goto HZY9B; fiJZG: global $_W; goto MeePa; v0Jc4: sm6z5: goto SUM80; SUM80: } private function hex2rgb($hexColor) { goto Rz3Ju; fldq1: $b = substr($color, 2, 1) . substr($color, 2, 1); goto Vms7l; yqC8l: return $rgb; goto E0aws; Rz3Ju: $color = str_replace("#", '', $hexColor); goto C6joI; C6joI: if (strlen($color) > 3) { goto wjcpY; } goto ATSP9; Vms7l: $rgb = array("r" => hexdec($r), "g" => hexdec($g), "b" => hexdec($b)); goto I1sGN; rsA7J: Ef55T: goto yqC8l; ATSP9: $color = $hexColor; goto scv0o; zxvgY: wjcpY: goto BpEvo; YWqXZ: $g = substr($color, 1, 1) . substr($color, 1, 1); goto fldq1; scv0o: $r = substr($color, 0, 1) . substr($color, 0, 1); goto YWqXZ; I1sGN: goto Ef55T; goto zxvgY; BpEvo: $rgb = array("r" => hexdec(substr($color, 0, 2)), "g" => hexdec(substr($color, 2, 2)), "b" => hexdec(substr($color, 4, 2))); goto rsA7J; E0aws: } public function doPageTpic() { goto UiWAk; gRL0n: header("content-type: image/jpeg"); goto d0Tew; MV1_B: $bgcolor = $this->hex2rgb($_GPC["bgcolor"]); goto DaC1g; N1PdD: $white = imagecolorallocate($target, $bgcolor["r"], $bgcolor["g"], $bgcolor["b"]); goto QZY_P; UiWAk: global $_GPC, $_W; goto mYuJB; IOtgi: $text = $_GPC["font"]; goto N1PdD; QoMww: $fontColor = imagecolorallocate($target, $textcolor, $textcolor, $textcolor); goto PXCjm; zaMel: imagettftext($target, 20, 0, ceil((600 - $fontBox[2]) / 2), 300, $fontColor, $font, $text); goto gRL0n; DaC1g: $target = imagecreatetruecolor(600, 600); goto IOtgi; gfhcy: imagedestroy($target); goto gkRSM; PXCjm: $font = MODULE_ROOT . "/skin/yahei.ttf"; goto dOQfI; dOQfI: $fontBox = imagettfbbox(20, 0, $font, $text); goto zaMel; mYuJB: $textcolor = $_GPC["fontcolor"] == "#000" ? "0" : "255"; goto MV1_B; d0Tew: imagejpeg($target); goto gfhcy; QZY_P: imagefill($target, 0, 0, $white); goto QoMww; gkRSM: } public function doPageClick() { goto yvFMh; RW8C_: ZTRp4: goto aNFbW; ZsWUU: pdo_query("UPDATE " . tablename($this->modulename . "_skin") . " SET click = click + 1 WHERE id = :id", array(":id" => $id)); goto RW8C_; XreTT: if (!$_W["ispost"]) { goto ZTRp4; } goto X71SB; X71SB: $id = intval($_GPC["id"]); goto ZsWUU; yvFMh: global $_GPC, $_W; goto XreTT; aNFbW: } public function doPageUpform() { goto ao_No; urD4R: pdo_insert($this->modulename . "_formdata", $data); goto IqxUJ; IqxUJ: WL0Zz: goto mock_; cPtrC: if (!$_W["ispost"]) { goto WL0Zz; } goto DDr87; DDr87: $data = array("formid" => $_GPC["formid"], "openid" => $_GPC["openid"], "uniacid" => $_W["uniacid"], "addtime" => TIMESTAMP); goto urD4R; ao_No: global $_GPC, $_W; goto cPtrC; mock_: } public function doPagePostdata() { goto nJpIA; VP2FH: $data = array("uniacid" => $_W["uniacid"], "openid" => $_GPC["openid"], "cardid" => $_GPC["cardid"], "pageword" => $_GPC["pageword"], "nickname" => $_GPC["nickname"], "avatar" => $_GPC["avatar"], "voice" => $_GPC["voice"], "addtime" => TIMESTAMP); goto i04j9; gzwgr: $id = pdo_insertid(); goto cL3Ba; AW8NT: return json_encode($dats); goto PjdOV; i04j9: pdo_insert($this->modulename . "_data", $data); goto gzwgr; nJpIA: global $_GPC, $_W; goto VP2FH; cL3Ba: $dats = array("scene" => $id); goto AW8NT; PjdOV: } public function doPageUserdata() { goto AVPZl; n_dco: $card["music"] = $card["music"] . "&guid=" . $key["guid"] . "&vkey=" . $key["key"]; goto lITs1; ErcvA: if (!strstr($card["music"], "dl.stream.qqmusic.qq.com")) { goto vH3aH; } goto EzHi7; hNuSR: $data = array("card" => $card, "usercard" => $usercard, "edbtn" => $cfg["edbtn"], "sharebtn" => $cfg["sharebtn"], "shbitle" => $cfg["shbitle"], "cardtitle" => $cfg["cardtitle"], "ispay" => $cfg["ispay"], "piao" => $cfg["piao"], "skinurl" => $this->skinurl(), "imgurl" => $this->imgurl()); goto xDHTF; TD2_L: $card["music"] = str_replace("fromtag=0", "fromtag=46", $card["music"]); goto d4vtx; Wzk44: $id = $_GPC["id"]; goto YVJy7; AVPZl: global $_GPC, $_W; goto GD9OV; d4vtx: $key = $this->vkey(); goto n_dco; GD9OV: $cfg = $this->module["config"]; goto Wzk44; lITs1: vH3aH: goto hNuSR; pOhgT: $card["music"] = str_replace("ws.stream.qqmusic.qq.com", "dl.stream.qqmusic.qq.com", $card["music"]); goto ErcvA; YVJy7: $usercard = pdo_fetch("SELECT * FROM" . tablename($this->modulename . "_data") . "WHERE id = :id", array(":id" => $id)); goto vpBJX; xDHTF: return json_encode($data); goto ezs3r; EzHi7: $card["music"] = str_replace("C10000", "C40000", $card["music"]); goto TD2_L; vpBJX: $card = pdo_fetch("SELECT * FROM " . tablename($this->modulename . "_skin") . " WHERE uniacid = :uniacid and id = :id ORDER BY displayorder DESC", array(":uniacid" => $_W["uniacid"], ":id" => $usercard["cardid"])); goto pOhgT; ezs3r: } public function doPageQrcode() { goto xfHPz; AEUMy: $data = array("scene" => urlencode($pid), "page" => "tc_card/pages/card/card", "width" => "430", "auto_color" => true); goto ZPIuU; vJaQr: $token = $account_api->getAccessToken(); goto npLFa; xutnQ: $account_api = WeAccount::create(); goto vJaQr; OxKkJ: header("Content-type: image/jpg"); goto fK9JV; dMW_1: $url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=" . $token; goto AEUMy; ZPIuU: $ss = ihttp_post($url, json_encode($data)); goto OxKkJ; fK9JV: echo $ss["content"]; goto VYiNJ; xfHPz: global $_GPC, $_W; goto lWSId; lWSId: $pid = intval($_GPC["pid"]); goto xutnQ; npLFa: load()->func("communication"); goto dMW_1; VYiNJ: } public function doPagebgthumb() { goto WrSQ2; WrSQ2: global $_GPC, $_W; goto lL2MM; lL2MM: $id = intval($_GPC["cid"]); goto uWOFC; hYBXC: echo file_get_contents($url . $img); goto tFlQ0; kYoQL: $img = pdo_fetchcolumn("SELECT bigthumb FROM" . tablename($this->modulename . "_skin") . " WHERE id = :id", array(":id" => $id)); goto JOVKG; uWOFC: $url = $this->skinurl(); goto kYoQL; JOVKG: header("Content-type: image/jpg"); goto hYBXC; tFlQ0: } public function doPageSendlist() { goto XL2gi; uK9W9: $list = pdo_fetchall("SELECT a.id,a.addtime,b.title,b.smallthumb FROM" . tablename($this->modulename . "_data") . " a INNER JOIN" . tablename($this->modulename . "_skin") . " b ON b.id = a.cardid WHERE  a.openid = :openid order by a.addtime DESC", array(":openid" => $openid)); goto Xznrx; rQcqg: rhURM: goto A8Ojo; Xznrx: $i = 0; goto zsMl5; W4Rd7: if (!($i < count($list))) { goto vS90B; } goto PE9oe; O0H0y: if (!$_W["ispost"]) { goto rhURM; } goto UoaWE; lgtsI: goto DkqRt; goto tHknq; UoaWE: $openid = $_GPC["openid"]; goto uK9W9; zsMl5: DkqRt: goto W4Rd7; tHknq: vS90B: goto LL4Ga; PE9oe: $list[$i]["addtime"] = date("Y-m-d", $list[$i]["addtime"]); goto qXYRP; LL4Ga: return json_encode($list); goto rQcqg; F0pFr: $i++; goto lgtsI; qXYRP: q7KKG: goto F0pFr; XL2gi: global $_GPC, $_W; goto O0H0y; A8Ojo: } public function doPageMoneynum() { goto UofoT; uMdLV: $datas = array("numarr" => $numarr, "con" => $paycon); goto uYpvM; TbLYv: $paycon = $cfg["paycon"]; goto EBcGR; EBcGR: $data = pdo_fetchcolumn("SELECT content FROM" . tablename($this->modulename . "_paydata") . " WHERE uniacid = :uniacid", array(":uniacid" => $_W["uniacid"])); goto m2_pg; UofoT: global $_GPC, $_W; goto eay7d; DX9Zo: $cfg = $this->module["config"]; goto TbLYv; FDHiU: mLzDS: goto KX6vf; eay7d: if (!$_W["ispost"]) { goto mLzDS; } goto DX9Zo; uYpvM: return json_encode($datas); goto FDHiU; m2_pg: $numarr = unserialize($data); goto uMdLV; KX6vf: } public function doPageGotocost() { goto CcFnP; xiWw_: $nickname = $_GPC["nickname"]; goto Aa6in; bmNba: return json_encode($result); goto sna1Y; gqt8y: $id = pdo_insertid(); goto UhJoz; FwlI0: goto qtpEk; goto jD1Qn; Wevkg: $result = array("result" => 1, "msg" => "\346\x8f\x90\xe7\x8e\xb0\347\224\263\xe8\257\xb7\346\x88\x90\345\x8a\x9f", "fee" => $nowcost); goto VFUOo; qpMIm: goto nzIEC; goto oo3Y7; jD1Qn: B536z: goto Wevkg; oo3Y7: m0aYy: goto QCf1i; H477Q: $result = array("result" => 0); goto mIpbx; cDVF8: FntPU: goto bmNba; fsZpD: $result = array("result" => 0, "msg" => "\xe6\x8f\220\xe7\216\xb0\xe5\244\xb1\xe8\xb4\xa5\350\257\267\xe8\201\224\xe7\xb3\273\xe5\256\xa2\xe6\x9c\215"); goto FwlI0; CcFnP: global $_GPC, $_W; goto gStZC; BK6RQ: $info = pdo_fetch("SELECT fee,status FROM" . tablename($this->modulename . "_user") . " WHERE openid = :openid and uniacid = :uniacid", array(":openid" => $openid, "uniacid" => $_W["uniacid"])); goto VOeUa; UhJoz: $result = pdo_update($this->modulename . "_user", array("fee" => $nowcost), array("openid" => $openid, "uniacid" => $_W["uniacid"])); goto NRCUc; PfWK1: $tixian = $_GPC["tixian"]; goto qsR2x; h_xzq: $nowcost = $info["fee"] - $fee; goto T0qFe; vxJlp: hSORr: goto h_xzq; k6NsK: $result = array("result" => 0, "msg" => "\xe4\275\231\351\xa2\235\344\xb8\x8d\350\xb6\xb3"); goto qpMIm; akD2X: nzIEC: goto cDVF8; Aa6in: $fee = $_GPC["nowmoney"]; goto PfWK1; QCf1i: pdo_insert($this->modulename . "_cashpay", $data); goto gqt8y; qsR2x: $data = array("uniacid" => $uniacid, "openid" => $openid, "avatar" => $avatar, "nickname" => $nickname, "cost" => $fee, "rcost" => $tixian, "addtime" => TIMESTAMP); goto BK6RQ; VOeUa: if (!$info["status"] && $fee && $tixian) { goto hSORr; } goto H477Q; mIpbx: goto FntPU; goto vxJlp; NRCUc: if ($result) { goto B536z; } goto fsZpD; glgb_: $avatar = $_GPC["avatar"]; goto xiWw_; VFUOo: qtpEk: goto akD2X; T0qFe: if ($nowcost >= 0) { goto m0aYy; } goto k6NsK; bIwRZ: $uniacid = $_W["uniacid"]; goto glgb_; gStZC: $openid = $_GPC["openid"]; goto bIwRZ; sna1Y: } public function doPagePaylog() { goto EcBGK; kdIQg: $i = 0; goto WkgZY; LchkW: return json_encode($list); goto Ypu_0; g3OZM: $list = pdo_fetchall("SELECT avatar,tnickname,cost,addtime FROM" . tablename($this->modulename . "_paylog") . " WHERE tid = :tid and uniacid = :uniacid and status = 1 ORDER BY addtime desc", array(":tid" => $openid, ":uniacid" => $_W["uniacid"])); goto kdIQg; b8l8s: $openid = $_GPC["openid"]; goto g3OZM; CYDJI: kJrNq: goto LchkW; WkgZY: xFot_: goto vM98u; nIK_Q: Zz0p2: goto T3cN5; T3cN5: $i++; goto FhYH1; FhYH1: goto xFot_; goto CYDJI; DV1_E: $list[$i]["addtime"] = date("Y-m-d H:s:i", $list[$i]["addtime"]); goto nIK_Q; vM98u: if (!($i < count($list))) { goto kJrNq; } goto DV1_E; EcBGK: global $_GPC, $_W; goto b8l8s; Ypu_0: } public function doPageTxlog() { goto ot2OT; K3XOI: if (!($i < count($list))) { goto nOT1x; } goto KVWnz; LKqDU: $i++; goto vu37J; ot2OT: global $_GPC, $_W; goto heYj3; KVWnz: $list[$i]["addtime"] = date("Y-m-d H:s:i", $list[$i]["addtime"]); goto xUV7d; S1oW_: nOT1x: goto xcs29; pOm_R: f1d8a: goto K3XOI; heYj3: $openid = $_GPC["openid"]; goto Utnch; xUV7d: mGStR: goto LKqDU; vu37J: goto f1d8a; goto S1oW_; z5CxF: $i = 0; goto pOm_R; xcs29: return json_encode($list); goto CgxIS; Utnch: $list = pdo_fetchall("SELECT * FROM" . tablename($this->modulename . "_cashpay") . " WHERE openid = :openid and uniacid = :uniacid ORDER BY addtime desc", array(":openid" => $openid, ":uniacid" => $_W["uniacid"])); goto z5CxF; CgxIS: } public function doPageGetsetdata() { goto BPoXD; hVJgx: return json_encode($payset); goto wM_T7; ExsZq: $uniacid = $_W["uniacid"]; goto lFGBx; BPoXD: global $_GPC, $_W; goto ExsZq; lFGBx: $payset = pdo_fetch("SELECT leastmon,service FROM" . tablename($this->modulename . "_paydata") . " WHERE uniacid = :uniacid", array(":uniacid" => $_W["uniacid"])); goto hVJgx; wM_T7: } public function doPagePay() { goto Tdhuu; VYlrZ: $signkey = $_W["account"]["setting"]["payment"]["wechat"]["signkey"]; goto D0Hkm; ptgBy: $formid = $return["package"]; goto ymW4A; j0_P4: $formdata = array("uniacid" => $_W["uniacid"], "openid" => $openid, "formid" => $formid, "addtime" => TIMESTAMP); goto FXplY; R9Xs7: $return = $weixinpay->pay(); goto FnH2H; Tdhuu: global $_GPC, $_W; goto KAzzc; FnH2H: $data = array("uniacid" => $_W["uniacid"], "tid" => $_GPC["tid"], "out_trade_no" => $out_trade_no, "openid" => $_GPC["openid"], "pid" => $_GPC["pid"], "nickname" => $_GPC["nickname"], "avatar" => $_GPC["avatar"], "tnickname" => $_GPC["tnickname"], "cost" => $money, "addtime" => TIMESTAMP); goto hpCxW; ymW4A: $formid = str_replace("prepay_id=", '', $formid); goto j0_P4; KAzzc: include "wxpay.php"; goto JK669; I5Zs2: $openid = $_GPC["openid"]; goto zxIxZ; EyT7v: $mch_id = $_W["account"]["setting"]["payment"]["wechat"]["mchid"]; goto VYlrZ; aXDfL: $notify = $_W["siteroot"] . "addons/tc_card/notify.php"; goto Y3Cf8; osGeS: $return["out_trade_no"] = $out_trade_no; goto ZLOMp; FXplY: pdo_insert($this->modulename . "_formdata", $formdata); goto osGeS; JK669: $out_trade_no = date("Ymd") . substr(implode(NULL, array_map("ord", str_split(substr(uniqid(), 7, 13), 1))), 0, 8); goto I5Zs2; Zrvss: $body = "\346\x89\223\350\xb5\217"; goto aXDfL; Y3Cf8: $weixinpay = new WeixinPay($appid, $openid, $mch_id, $signkey, $out_trade_no, $body, $total_fee, $notify); goto R9Xs7; hpCxW: pdo_insert($this->modulename . "_paylog", $data); goto ptgBy; INTpx: $appid = $_W["account"]["key"]; goto EyT7v; zxIxZ: $money = $_GPC["cost"]; goto INTpx; D0Hkm: $total_fee = $money * 100; goto Zrvss; ZLOMp: return json_encode($return); goto ebv3A; ebv3A: } public function doPagepayResult() { goto ZJCBt; XEWem: if (!$_W["ispost"]) { goto E5opo; } goto QqPOw; ZJCBt: global $_GPC, $_W; goto XEWem; VdP1e: $res = pdo_fetch("SELECT * FROM" . tablename($this->modulename . "_paylog") . " WHERE openid = :openid and out_trade_no = :out_trade_no", array(":openid" => $_GPC["openid"], ":out_trade_no" => $trade_no)); goto pc3Ni; sQo_C: E5opo: goto OMOXo; QqPOw: $trade_no = $_GPC["trade_no"]; goto VdP1e; pc3Ni: $this->Sendmsgs($res["cost"], $res["addtime"], $res["openid"], $res["tid"]); goto sQo_C; OMOXo: } public function Sendmsgs($money, $ztime, $openid, $tid) { goto mC2an; merUD: $path = "tc_card/pages/user/index"; goto u4Jg0; D_EVm: FacSO: goto te1JV; EwB7l: goto FacSO; goto IIBO0; MLt22: $url = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=" . $token; goto D7u5k; IIBO0: goto CGRgj; goto UcYTR; N8G0z: pdo_delete($this->modulename . "_formdata", array("id" => $formid["id"])); goto YSqCI; cKQUg: $i++; goto wAhlw; wqFRe: if (!($i < count($list))) { goto FacSO; } goto ZB8J9; PU4wo: $list = pdo_fetchall("SELECT id,formid,addtime FROM" . tablename($this->modulename . "_formdata") . " WHERE openid = :openid", array(":openid" => $tid)); goto vxszC; IrMwR: load()->func("communication"); goto MLt22; KCf3x: $formid = $list[$i]; goto EwB7l; irzap: return false; goto szu9F; jNYJ5: $nickname = pdo_fetchcolumn("SELECT nickname FROM" . tablename($this->modulename . "_user") . " WHERE openid = :openid", array(":openid" => $openid)); goto umHij; wAhlw: goto PKBjo; goto D_EVm; szu9F: goto Nl9v6; goto TY7xI; xRgIQ: $ztime = date("Y-m-d H:s:i", $ztime); goto jNYJ5; nsEim: if ($nowtiems > strtotime("+ 7 days", $list[$i]["addtime"])) { goto vUeHm; } goto KCf3x; liEVc: Nl9v6: goto rFDB7; D7u5k: $data = array("touser" => $tid, "template_id" => $cfg["templateid"], "page" => $path, "form_id" => $formid["formid"], "data" => array("keyword1" => array("value" => $nickname, "color" => "#FF0000"), "keyword2" => array("value" => $money . "\345\205\203", "color" => "#1803C6"), "keyword3" => array("value" => $ztime, "color" => "#1803C6"), "keyword4" => array("value" => $nickname . "\350\247\211\345\276\x97\xe4\xbd\240\xe5\276\210\350\265\236\xef\xbc\x8c\345\xaf\271\344\275\xa0\xe8\241\250\350\xbe\276\xe4\272\206\xe6\x94\257\xe6\x8c\x81\xe5\x93\xa6", "color" => "#8559e5")), "emphasis_keyword" => "keyword1.DATA"); goto e23cu; mDNvQ: $formid = 0; goto PU4wo; vxszC: $i = 0; goto DoJ2x; vhnCT: file_put_contents(IA_ROOT . "/addons/tc_card/log.txt", $res); goto N8G0z; e23cu: $res = ihttp_post($url, json_encode($data)); goto vhnCT; UcYTR: vUeHm: goto lNe0h; ZB8J9: $nowtiems = TIMESTAMP; goto nsEim; DoJ2x: PKBjo: goto wqFRe; rFDB7: nXf_6: goto Vp_oy; mC2an: global $_W, $_GPC; goto mDNvQ; te1JV: if (!$formid) { goto nXf_6; } goto merUD; FMs0r: $token = $account_api->getAccessToken(); goto IrMwR; u4Jg0: $cfg = $this->module["config"]; goto xRgIQ; BqfeE: utXuI: goto cKQUg; OSvzo: return $res; goto liEVc; YSqCI: if ($res->errcode == 0) { goto ZG911; } goto irzap; TY7xI: ZG911: goto OSvzo; umHij: $account_api = WeAccount::create(); goto FMs0r; lNe0h: pdo_delete($this->modulename . "_formdata", array("id" => $list[$i]["id"], "uniacid" => $_W["uniacid"])); goto l5agF; l5agF: CGRgj: goto BqfeE; Vp_oy: } public function doPageGetfee() { goto H3YJ9; H3YJ9: global $_W, $_GPC; goto dmls7; xngSG: $fee = pdo_fetch("SELECT fee FROM" . tablename($this->modulename . "_user") . " WHERE openid = :openid", array(":openid" => $openid)); goto chAO0; chAO0: return json_encode($fee); goto biGCY; dmls7: $openid = $_GPC["openid"]; goto xngSG; biGCY: } public function doPageDelcard() { goto oWgK0; aBPx4: if ($rs) { goto aAtDZ; } goto HsFSa; yIQzv: return json_encode($result); goto OdXc1; zvfTS: $openid = $_GPC["openid"]; goto UIkYg; OdXc1: Mp_X1: goto Tbj7E; mezMK: aAtDZ: goto ErPZe; HsFSa: $result = array("result" => 0); goto hGUtV; oWgK0: global $_W, $_GPC; goto iFfdx; hGUtV: goto jnV_1; goto mezMK; ErPZe: $result = array("result" => 1); goto AuK86; YAdeq: $rs = pdo_delete($this->modulename . "_data", array("openid" => $openid, "id" => $id)); goto aBPx4; AuK86: jnV_1: goto yIQzv; iFfdx: if (!$_W["ispost"]) { goto Mp_X1; } goto zvfTS; UIkYg: $id = $_GPC["id"]; goto YAdeq; Tbj7E: } } ?>

Did this file decode correctly?

Original Code

<?php
 defined("\111\x4e\x5f\x49\101") or exit("\101\x63\143\x65\163\163\40\x44\145\156\x69\x65\x64"); class Tc_cardModuleWxapp extends WeModuleWxapp { private function getjson($url, $refer) { goto be_fn; RSIaU: curl_setopt($curl, CURLOPT_REFERER, $refer); goto pZNc4; aSdog: curl_close($curl); goto mKsw1; pZNc4: curl_setopt($curl, CURLOPT_USERAGENT, "\x22\104\x61\x6c\166\x69\x6b\57\x31\x2e\66\x2e\x30\40\x28\x4c\x69\x6e\165\x78\x3b\40\125\73\x20\x41\156\x64\162\157\x69\144\40\64\x2e\61\x2e\x32\73\40\x44\x52\117\x49\104\x20\x52\101\132\122\x20\110\x44\40\x42\165\151\154\144\57\71\56\70\x2e\x31\121\55\66\62\x5f\126\121\127\137\115\x52\55\x32\x29"); goto kMjwM; ye9FA: curl_setopt($curl, CURLOPT_URL, $url); goto RSIaU; sayLd: $qqlyc = curl_exec($curl); goto aSdog; mKsw1: return $qqlyc; goto kB_iR; be_fn: $curl = curl_init(); goto ye9FA; kMjwM: curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); goto sayLd; kB_iR: } private function extend($file_name) { goto TOgAE; dX3_F: $extend = strtolower($extend["\x65\170\x74\145\x6e\x73\151\157\156"]); goto wxiOR; wxiOR: return $extend; goto GYRj4; TOgAE: $extend = pathinfo($file_name); goto dX3_F; GYRj4: } private function file_cardremote_upload($filename, $remote, $auto_delete_local = true) { goto YZQGX; LUkaY: D4Zfc: goto qDWYZ; bROt0: goto yL0OM; goto FKB4T; YBWm9: LjHA7: goto sr2rr; BkYWO: if (!empty($response)) { goto NKp60; } goto B1Euu; e4Fv1: YlTOt: goto dNjYV; Y6YMj: $uploadtoken = $auth->uploadToken($remote["\161\151\156\x69\x75"]["\x62\x75\x63\153\145\164"], $filename, 3600, $putpolicy); goto as9fE; F3m0c: $endpoint = "\150\164\164\x70\72\x2f\57" . $buckets[$remote["\x61\x6c\x69\x6f\163\x73"]["\x62\x75\143\x6b\x65\164"]]["\x6c\x6f\143\141\164\151\x6f\x6e"] . "\x2e\x61\x6c\x69\171\x75\x6e\143\163\56\143\157\x6d"; goto Uvs7H; rxx7s: switch ($uploadRet["\143\x6f\x64\145"]) { case -62: $message = "\350\276\x93\345\x85\xa5\xe7\x9a\204\141\160\x70\151\x64\xe6\x9c\211\xe8\xaf\257"; goto GNPht; case -79: $message = "\xe8\xbe\x93\345\x85\xa5\xe7\232\204\x53\x65\143\162\x65\164\x49\x44\xe6\x9c\x89\350\257\xaf"; goto GNPht; case -97: $message = "\350\xbe\223\xe5\x85\245\347\x9a\x84\123\x65\x63\162\145\164\x4b\105\x59\346\234\211\xe8\xaf\xaf"; goto GNPht; case -166: $message = "\xe8\276\223\xe5\205\xa5\347\x9a\204\142\x75\143\x6b\x65\x74\346\234\211\xe8\xaf\xaf"; goto GNPht; } goto NsyHx; P9XB6: return true; goto CW8L1; TcJL8: $buckets = attachment_alioss_buctkets($remote["\141\154\x69\157\163\x73"]["\153\x65\x79"], $remote["\x61\154\x69\157\x73\x73"]["\163\x65\x63\162\x65\x74"]); goto F3m0c; y2Fwz: return error(-1, $message); goto MH8G4; WvMdq: $ftp_config = array("\x68\157\163\x74\x6e\141\155\x65" => $remote["\x66\164\x70"]["\x68\157\x73\164"], "\x75\x73\145\x72\x6e\141\x6d\145" => $remote["\x66\x74\160"]["\x75\163\x65\x72\156\141\x6d\x65"], "\160\141\163\x73\x77\157\162\144" => $remote["\146\164\x70"]["\x70\141\x73\163\x77\157\x72\144"], "\160\157\162\x74" => $remote["\x66\164\x70"]["\x70\x6f\162\x74"], "\x73\163\154" => $remote["\x66\x74\160"]["\x73\x73\x6c"], "\160\141\163\163\x69\166\x65" => $remote["\x66\164\x70"]["\x70\x61\163\166"], "\x74\x69\x6d\145\157\x75\x74" => $remote["\x66\x74\160"]["\x74\x69\155\145\157\x75\164"], "\x72\x6f\x6f\x74\144\x69\162" => $remote["\146\x74\x70"]["\144\151\x72"]); goto tbYNI; bPSJs: FgiBy: goto BkYWO; DymFo: bfe4C: goto oYY5L; MZmt6: $auth = new Qiniu\Auth($remote["\161\x69\156\151\x75"]["\141\x63\x63\145\x73\163\153\145\171"], $remote["\161\151\156\x69\x75"]["\x73\145\143\x72\x65\164\x6b\145\x79"]); goto jcSti; ip7xS: goto C20Sh; goto pVyJ0; Uvs7H: try { $ossClient = new \OSS\OssClient($remote["\x61\x6c\x69\157\x73\163"]["\153\x65\x79"], $remote["\x61\x6c\x69\x6f\x73\x73"]["\x73\x65\x63\x72\145\x74"], $endpoint); $ossClient->uploadFile($remote["\141\154\x69\157\163\163"]["\x62\x75\x63\153\x65\164"], $filename, ATTACHMENT_ROOT . "\57" . $filename); } catch (\OSS\Core\OssException $e) { return error(1, $e->getMessage()); } goto OqbGU; WCwXN: $response = $ftp->upload(ATTACHMENT_ROOT . "\57" . $filename, $filename); goto SigY5; yOev2: goto G6R0p; goto U13o1; C2M2y: brL3P: goto rQjWx; CW8L1: goto TgD41; goto YBWm9; wEU8a: yL0OM: goto R0x3x; B1Euu: return error(1, "\350\xbf\x9c\xe7\xa8\x8b\xe9\x99\x84\344\xbb\xb6\xe4\xb8\x8a\xe4\xbc\xa0\345\244\xb1\350\xb4\xa5\xef\274\x8c\xe8\xaf\267\346\xa3\200\xe6\237\245\351\x85\215\347\275\256\xe5\271\xb6\351\x87\215\346\226\xb0\xe4\270\212\344\xbc\240"); goto R3pI1; pVyJ0: Ja1yD: goto PJCYS; qDWYZ: if ($remote["\x74\171\x70\x65"] == "\x31") { goto lKloh; } goto kc3g1; y9iP2: Qrk50: goto evQM2; R0x3x: if (!($uploadRet["\143\x6f\144\145"] != 0)) { goto IScQ7; } goto rxx7s; as9fE: list($ret, $err) = $uploadmgr->putFile($uploadtoken, $filename, ATTACHMENT_ROOT . "\57" . $filename); goto k_qBV; oYY5L: goto C20Sh; goto GS439; rMBex: $uploadRet = \Qcloud_cos\Cosapi::upload($remote["\143\x6f\163"]["\x62\x75\143\x6b\145\164"], ATTACHMENT_ROOT . $filename, "\x2f" . $filename, '', 3 * 1024 * 1024, 0); goto bROt0; FKB4T: sXkg3: goto jYuOG; SigY5: if (!$auto_delete_local) { goto FgiBy; } goto JH1jV; k_qBV: if (!$auto_delete_local) { goto Muq5J; } goto HgUcr; boAWd: if ($err !== null) { goto LjHA7; } goto P9XB6; Op_PW: GNPht: goto y2Fwz; HgUcr: file_delete($filename); goto SwKsv; BOv0Q: file_delete($filename); goto DymFo; FgQ2M: load()->library("\x63\157\163\x76\63"); goto rMBex; eImHT: if (!empty($remote["\164\171\x70\145"])) { goto D4Zfc; } goto CAFB5; pQRs2: goto C20Sh; goto C2M2y; PP_ei: $uploadRet = qcloudcos\Cosapi::upload($remote["\143\x6f\x73"]["\x62\165\143\153\x65\164"], ATTACHMENT_ROOT . $filename, "\57" . $filename, '', 3 * 1024 * 1024, 0); goto wEU8a; bTfhC: file_delete($filename); goto e4Fv1; kc3g1: if ($remote["\x74\171\x70\x65"] == "\62") { goto brL3P; } goto YjkYm; evQM2: G6R0p: goto pQRs2; rN5aL: if (!$auto_delete_local) { goto YlTOt; } goto bTfhC; HEtWa: if (true === $ftp->connect()) { goto tvDXN; } goto fQ4Cg; vazEc: return true; goto y9iP2; jYuOG: load()->library("\143\x6f\163"); goto lOumQ; MH8G4: IScQ7: goto rN5aL; fQ4Cg: return error(1, "\350\xbf\x9c\347\xa8\x8b\351\x99\x84\xe4\273\266\344\270\212\xe4\274\xa0\xe5\xa4\261\350\xb4\xa5\357\274\x8c\xe8\xaf\267\346\243\200\xe6\x9f\245\xe9\205\x8d\xe7\275\xae\345\xb9\266\351\207\x8d\xe6\x96\260\344\xb8\x8a\344\274\240"); goto yOev2; sr2rr: return error(1, "\350\277\x9c\347\xa8\x8b\351\231\204\xe4\xbb\266\344\xb8\x8a\344\274\240\345\xa4\xb1\350\xb4\xa5\xef\274\214\350\257\xb7\xe6\243\x80\xe6\x9f\245\xe9\205\215\347\275\xae\345\xb9\266\351\207\215\xe6\x96\xb0\344\xb8\x8a\xe4\xbc\xa0"); goto tMLhY; R3pI1: goto Qrk50; goto yGxRW; lOumQ: qcloudcos\Cosapi::setRegion($remote["\143\157\163"]["\154\x6f\x63\x61\x6c"]); goto PP_ei; tbYNI: $ftp = new Ftp($ftp_config); goto HEtWa; lfiwx: if ($remote["\164\171\160\145"] == "\64") { goto Ja1yD; } goto jfgZg; SwKsv: Muq5J: goto boAWd; YjkYm: if ($remote["\x74\x79\x70\145"] == "\x33") { goto YT1Jm; } goto lfiwx; PJCYS: if (!empty($remote["\143\x6f\163"]["\154\x6f\143\x61\154"])) { goto sXkg3; } goto FgQ2M; CAFB5: return false; goto LUkaY; pVNkK: require_once IA_ROOT . "\x2f\x66\162\141\155\145\x77\157\162\153\57\x6c\151\x62\162\x61\x72\171\57\x66\x74\x70\x2f\146\x74\160\56\160\150\160"; goto WvMdq; JH1jV: file_delete($filename); goto bPSJs; U13o1: tvDXN: goto WCwXN; YZQGX: global $_W; goto eImHT; dNjYV: C20Sh: goto kLjmr; rQjWx: load()->library("\157\163\x73"); goto moTOn; jfgZg: goto C20Sh; goto Qxmvw; moTOn: load()->model("\141\164\x74\141\143\x68\155\x65\156\164"); goto TcJL8; Qxmvw: lKloh: goto pVNkK; tMLhY: TgD41: goto ip7xS; GS439: YT1Jm: goto J18Ml; NsyHx: LiCru: goto Op_PW; yGxRW: NKp60: goto vazEc; jcSti: $uploadmgr = new Qiniu\Storage\UploadManager(); goto uiv3P; OqbGU: if (!$auto_delete_local) { goto bfe4C; } goto BOv0Q; uiv3P: $putpolicy = Qiniu\base64_urlSafeEncode(json_encode(array("\163\143\157\160\x65" => $remote["\x71\x69\156\x69\165"]["\x62\165\x63\x6b\145\164"] . "\x3a" . $filename))); goto Y6YMj; J18Ml: load()->library("\x71\x69\156\151\x75"); goto MZmt6; kLjmr: } private function imgurl() { goto mrCPA; eiaPB: goto QKqCe; goto CetWZ; torez: koWX9: goto IDhX1; mrCPA: global $_GPC, $_W; goto XAqbX; Kij6c: QKqCe: goto GRfQ6; fhOEQ: if ($cfg["\162\145\155\x6f\x74\x65"]["\164\x79\x70\x65"] == 2) { goto koWX9; } goto hPpme; hPpme: if ($cfg["\x72\x65\x6d\x6f\164\x65"]["\164\171\160\x65"] == 3) { goto A2h28; } goto ZmkJd; Zv8lc: goto kl5WO; goto torez; Jk58Q: kl5WO: goto Kij6c; ShZET: $url = $cfg["\x72\x65\x6d\157\164\145"]["\x71\151\x6e\x69\165"]["\165\x72\154"] . "\57"; goto hvZ0d; CetWZ: bif0a: goto esclh; IDhX1: $url = $cfg["\x72\x65\x6d\157\x74\x65"]["\x61\154\x69\157\x73\163"]["\165\162\154"] . "\57"; goto qGP9E; k9pQ_: A2h28: goto ShZET; XAqbX: $cfg = $this->module["\x63\157\x6e\x66\x69\x67"]; goto Qb6tY; nTT0i: $url = $cfg["\162\x65\x6d\x6f\164\x65"]["\143\157\163"]["\x75\162\x6c"] . "\57"; goto Jk58Q; Dd9p2: $url = $cfg["\162\x65\x6d\157\164\x65"]["\146\164\x70"]["\x75\x72\154"] . "\x2f"; goto Zv8lc; GRfQ6: return $url; goto wmruk; ExV6u: $url = $_W["\x73\x69\x74\145\162\157\157\x74"] . "\x61\164\164\141\x63\x68\x6d\x65\156\x74\x2f"; goto eiaPB; mrsds: goto kl5WO; goto iiGSM; ow2Wh: RaOQ0: goto nTT0i; Qb6tY: if ($cfg["\x72\x65\x6d\x6f\x74\x65"]["\164\171\x70\x65"]) { goto bif0a; } goto ExV6u; ZmkJd: if ($cfg["\162\x65\x6d\157\x74\145"]["\x74\171\160\x65"] == 4) { goto RaOQ0; } goto mrsds; esclh: if ($cfg["\x72\x65\x6d\x6f\164\145"]["\164\x79\160\x65"] == 1) { goto SBXnw; } goto fhOEQ; hvZ0d: goto kl5WO; goto ow2Wh; iiGSM: SBXnw: goto Dd9p2; qGP9E: goto kl5WO; goto k9pQ_; wmruk: } private function skinurl() { goto o6LAm; iPhqK: if ($cfg["\162\x65\155\x6f\x74\x65"]["\x74\171\160\145"] == 2) { goto HeuSV; } goto fkgxu; IQzX1: HeuSV: goto wFuMz; t5234: a82XD: goto BuoJJ; awyvC: goto YZU4d; goto m9e1p; m9e1p: icO5J: goto wTCfE; thvSu: kbTLN: goto NSHpU; LZnk3: YZU4d: goto mihCX; Ap7h6: goto dEp0a; goto IQzX1; o6LAm: global $_GPC, $_W; goto pyax2; wTCfE: if ($cfg["\x72\x65\x6d\157\x74\145"]["\x74\171\160\x65"] == 1) { goto dm2Nj; } goto iPhqK; mihCX: return $url; goto AlUm6; LCd4O: goto dEp0a; goto thvSu; fkgxu: if ($cfg["\162\x65\155\x6f\164\x65"]["\164\x79\160\145"] == 3) { goto a82XD; } goto HdddA; BuoJJ: $url = $cfg["\x72\x65\155\157\x74\145"]["\161\151\156\x69\x75"]["\165\162\154"] . "\x2f"; goto LCd4O; LHmVa: $url = $_W["\x73\151\x74\145\x72\x6f\157\x74"] . "\141\144\144\157\x6e\163\x2f" . $this->modulename . "\57"; goto awyvC; NSHpU: $url = $cfg["\x72\x65\155\x6f\x74\145"]["\x63\157\x73"]["\x75\x72\154"] . "\x2f"; goto iT0Bz; HdddA: if ($cfg["\162\145\x6d\x6f\164\145"]["\x74\171\160\145"] == 4) { goto kbTLN; } goto DS4s7; m6ISw: if ($cfg["\162\x65\x6d\157\x74\x65"]["\164\x79\x70\x65"] && $cfg["\162\x65\155\157\x74\x65\163\153\x69\x6e"]) { goto icO5J; } goto LHmVa; uA5OM: dm2Nj: goto gs1gV; gs1gV: $url = $cfg["\x72\x65\x6d\157\x74\145"]["\146\164\160"]["\x75\162\x6c"] . "\57"; goto Ap7h6; fh9a0: goto dEp0a; goto t5234; pyax2: $cfg = $this->module["\143\157\x6e\146\x69\x67"]; goto m6ISw; DS4s7: goto dEp0a; goto uA5OM; wFuMz: $url = $cfg["\162\145\155\x6f\x74\145"]["\x61\154\151\157\163\163"]["\165\x72\x6c"] . "\x2f"; goto fh9a0; iT0Bz: dEp0a: goto LZnk3; AlUm6: } private function savevoice($voice) { goto pVaJD; ivUWv: if (!$cfg["\162\x65\x6d\157\164\145"]["\164\171\x70\145"]) { goto eE4LM; } goto nJT83; tloPn: load()->func("\146\151\x6c\145"); goto bJ1Ej; XTV3k: $cfg = $this->module["\143\x6f\156\146\151\147"]; goto H8xOn; VtzCQ: if (!in_array($ext, $allow_type)) { goto iyyta; } goto B3Xfx; bJ1Ej: file_move($voice["\164\155\160\x5f\156\141\155\x65"], $filenames); goto ivUWv; leDL3: return $filename; goto qcw3X; nJT83: $this->file_cardremote_upload($filename, $cfg["\162\x65\x6d\157\x74\x65"], $auto_delete_local = true); goto xQawB; B3Xfx: $filename = random(30) . "\56" . $ext; goto yLJTt; yLJTt: $filename = "\x69\155\x61\x67\x65\163\57" . $_W["\x75\156\151\x61\143\151\x64"] . "\x2f\x74\143\x5f\x63\141\162\144\57" . date("\x59\57\x6d\x2f") . $filename; goto h_QWT; paR5X: iyyta: goto leDL3; xQawB: eE4LM: goto paR5X; QwEyL: $allow_type = array("\x6d\160\63", "\x61\143\x63"); goto Fujz9; h_QWT: $filenames = ATTACHMENT_ROOT . "\x2f" . $filename; goto tloPn; qcw3X: xnTgl: goto v7zOF; Fujz9: $ext = $this->extend($voice["\x6e\x61\x6d\145"]); goto VtzCQ; pVaJD: global $_GPC, $_W; goto XTV3k; H8xOn: if (empty($voice)) { goto xnTgl; } goto QwEyL; v7zOF: } private function savepics($pic) { goto a3UJ_; a3UJ_: global $_GPC, $_W; goto NZYiT; PFSAm: return $imgurl . $filename; goto VK6XO; aL37G: $this->file_cardremote_upload($filename, $cfg["\162\145\155\157\x74\145"], $auto_delete_local = true); goto PQ7qR; FOhKv: $filename = "\151\155\141\147\145\x73\x2f" . $_W["\165\x6e\x69\x61\143\151\x64"] . "\x2f\164\x63\x5f\x63\x61\162\144\x2f" . date("\131\57\155\57") . $filename; goto IJh22; wanuo: $filename = random(30) . "\x2e" . $ext; goto FOhKv; yLLw8: if (!$cfg["\162\145\x6d\157\164\145"]["\x74\x79\160\145"]) { goto UIRYH; } goto aL37G; REcax: $imgurl = $this->imgurl(); goto DjUIH; L7r60: $allow_type = array("\x6a\x70\x67", "\152\160\145\147", "\147\x69\146", "\x70\x6e\147"); goto HYkTi; VK6XO: yc7ci: goto VMXkP; DjUIH: if (empty($pic)) { goto yc7ci; } goto L7r60; grr63: VWi8d: goto PFSAm; PQ7qR: UIRYH: goto grr63; HYkTi: $ext = $this->extend($pic["\156\x61\x6d\x65"]); goto rrp7H; rrp7H: if (!in_array($ext, $allow_type)) { goto VWi8d; } goto wanuo; IJh22: $filenames = ATTACHMENT_ROOT . "\x2f" . $filename; goto KwMlE; PswZA: file_move($pic["\164\x6d\x70\x5f\156\x61\x6d\x65"], $filenames); goto yLLw8; KwMlE: load()->func("\146\x69\154\145"); goto PswZA; NZYiT: $cfg = $this->module["\143\157\x6e\x66\151\x67"]; goto REcax; VMXkP: } public function doPageUpimg() { goto BPK3f; oNSul: goto dDxdb; goto kAiV4; BPK3f: global $_GPC, $_W; goto lX1rz; IJJa7: return $this->savepics($pic); goto oNSul; kAiV4: qqWSr: goto pwsi5; lX1rz: if ($_FILES["\146\151\154\145"]["\145\162\x72\157\162"] > 0) { goto qqWSr; } goto lU_K4; lU_K4: $pic = $_FILES["\146\151\154\145"]; goto IJJa7; pwsi5: echo "\105\x72\162\x6f\162\x3a\40" . $_FILES["\x66\x69\x6c\145"]["\145\162\162\157\x72"] . "\x3c\x62\162\x20\57\x3e"; goto XlS_t; XlS_t: dDxdb: goto JLW6i; JLW6i: } private function vkey() { goto mW30L; l64PI: if ($guid && $ckey && $times < $extime) { goto tqS6J; } goto exF4J; GZ9Yh: vDzZR: goto a0POr; ZEDWr: $url = "\150\164\164\160\163\72\57\x2f\x63\56\x79\x2e\161\161\56\x63\x6f\155\57\x62\x61\163\x65\x2f\x66\143\147\x69\x2d\x62\151\156\57\146\x63\x67\137\155\165\x73\x69\143\x5f\145\x78\160\x72\x65\163\x73\x5f\x6d\x6f\142\x69\154\x65\63\56\x66\x63\147\x3f\x67\137\x74\153\x3d\x32\61\x37\x38\x39\x36\71\63\x30\x26\152\163\157\x6e\160\x43\x61\154\x6c\x62\141\143\x6b\x3d\115\165\163\x69\143\112\163\157\156\103\141\x6c\154\142\141\x63\153\63\x34\64\x37\x34\66\x35\x39\x31\70\x34\x34\66\62\x34\x38\x36\46\x68\x6f\x73\x74\x55\x69\156\x3d\60\x26\146\157\162\155\x61\x74\x3d\152\163\x6f\x6e\x26\151\x6e\103\150\141\x72\x73\145\164\x3d\165\164\x66\x38\x26\157\x75\x74\x43\x68\x61\x72\163\145\164\75\x75\x74\x66\55\x38\x26\156\x6f\x74\151\143\145\x3d\60\46\x70\154\141\164\x66\157\162\x6d\75\x79\161\x71\x26\156\145\145\x64\116\145\167\103\157\x64\x65\x3d\60\x26\143\x69\x64\75\x32\x30\x35\x33\x36\x31\67\x34\x37\46\x73\157\156\147\x6d\151\x64\75\60\60\x30\63\x46\x68\x66\125\x32\107\x52\61\x74\x75\x26\x66\x69\154\145\x6e\141\x6d\145\75\x43\61\60\x30\60\60\x30\147\x33\x41\x66\x4f\x34\112\110\x5a\x73\x53\56\x6d\x34\x61\46\147\x75\151\x64\x3d" . $guid; goto NODvv; WK3yL: $ckey = cache_load("\143\x76\x6b\x65\x79"); goto mBrS1; S8iWU: cache_write("\x63\x76\x6b\145\x79", $key); goto Lk4mF; qDYON: return $data; goto vWzxX; QA3E7: $key = $ckey; goto dmKb1; uTgMv: $key = $this->vkey(); goto GZ9Yh; dmKb1: Z18f8: goto yfhD2; a0POr: goto Z18f8; goto Bq_0g; kJ4Zw: $rs = $this->getjson($url, $refer); goto OmPvj; mW30L: $guid = cache_load("\x63\147\165\151\x64"); goto WK3yL; SCbVi: $key = $arr["\144\x61\164\x61"]["\151\164\145\x6d\x73"][0]["\166\x6b\145\x79"]; goto xn4yO; NODvv: $refer = "\150\164\x74\160\x73\72\x2f\x2f\143\x2e\171\56\x71\161\x2e\x63\157\x6d"; goto kJ4Zw; OxxYv: $times = TIMESTAMP; goto l64PI; AEp7m: YHVhD: goto uTgMv; xn4yO: if ($key == "\x66\151\154\145\40\164\x79\160\145\x20\167\162\x6f\x6e\147") { goto YHVhD; } goto SlAW1; yfhD2: $data = array("\x6b\145\x79" => $key, "\x67\x75\151\144" => $guid); goto qDYON; exF4J: $guid = time(); goto ZEDWr; Bq_0g: tqS6J: goto QA3E7; mBrS1: $extime = cache_load("\x63\x65\170\164\x69\155\x65"); goto OxxYv; OmPvj: $arr = json_decode($rs, true); goto SCbVi; Lk4mF: cache_write("\143\145\170\164\x69\x6d\145", $times + 70000); goto qM3aO; SlAW1: cache_write("\143\x67\x75\151\x64", $guid); goto S8iWU; qM3aO: goto vDzZR; goto AEp7m; vWzxX: } public function doPagemember() { goto QavqM; xhV46: return json_encode($user); goto OUwsN; vwdYP: if ($cfg["\x72\145\x76\151\145\x77"] && $ver == "\x32\x33") { goto H4EAX; } goto e07sw; Kb7LJ: $cfg = $this->module["\x63\x6f\156\x66\151\x67"]; goto baBqh; QavqM: global $_GPC, $_W; goto Kb7LJ; svWSe: $isave = pdo_fetch("\x53\105\x4c\105\x43\x54\40\x69\144\x2c\x66\145\145\x2c\x61\166\141\x74\141\162\40\106\122\117\115" . tablename($this->modulename . "\137\165\163\x65\162") . "\40\x57\x48\105\x52\x45\x20\157\160\145\156\151\144\40\75\x20\x3a\157\160\145\x6e\151\x64", array("\x3a\157\160\x65\156\x69\x64" => $oauth["\x6f\x70\x65\x6e\151\144"])); goto xqcbV; OnG5l: goto erj2A; goto H64t1; C7vDs: $data = array("\x6e\151\x63\153\x6e\x61\x6d\x65" => $_GPC["\x6e\x69\x63\153\x4e\141\155\x65"], "\x61\166\x61\164\x61\162" => $_GPC["\141\166\141\x74\x61\162\125\x72\x6c"]); goto G2xtR; Pha32: $account_api = WeAccount::create(); goto foaUp; baBqh: $url = $this->imgurl(); goto SdmpH; H64t1: H4EAX: goto uB7Cx; G2xtR: pdo_update($this->modulename . "\137\x75\x73\x65\x72", $data, array("\151\x64" => $isave["\151\x64"])); goto gsFIc; xqcbV: if (!$isave["\151\144"]) { goto o09ZL; } goto amcvq; foaUp: $oauth = $account_api->getOauthInfo($code); goto wVhn2; NCacm: erj2A: goto Pha32; kwBgQ: MRq_O: goto xhV46; amcvq: if ($isave["\141\166\141\164\x61\162"]) { goto Cebur; } goto C7vDs; gh4nl: goto MRq_O; goto QfcVy; vIZjK: $ver = $_GPC["\166\x65\162"]; goto vwdYP; SdmpH: $skinurl = $this->skinurl(); goto ituEy; ituEy: $code = $_GPC["\143\x6f\144\145"]; goto vIZjK; rA1X0: $data = array("\156\x69\143\153\156\x61\155\145" => $_GPC["\x6e\151\x63\153\x4e\141\x6d\145"], "\x6f\160\145\x6e\151\x64" => $oauth["\157\x70\145\156\x69\x64"], "\x61\x76\x61\x74\x61\x72" => $_GPC["\x61\x76\141\x74\141\x72\125\162\x6c"], "\x75\x6e\x69\x61\143\151\144" => $_W["\x75\x6e\x69\x61\x63\x69\x64"], "\x61\x64\144\164\x69\x6d\x65" => TIMESTAMP); goto WTQxD; q0mVx: $user["\146\145\145"] = $isave["\146\x65\x65"]; goto gh4nl; e07sw: $review = 0; goto OnG5l; WTQxD: pdo_insert($this->modulename . "\137\x75\163\x65\162", $data); goto kwBgQ; gsFIc: Cebur: goto q0mVx; uB7Cx: $review = $cfg["\162\145\166\x69\x65\x77"]; goto NCacm; QfcVy: o09ZL: goto rA1X0; wVhn2: $user = array("\x6f\160\x65\156\x69\x64" => $oauth["\157\160\x65\156\151\x64"], "\156\x69\x63\x6b\x6e\141\155\145" => $_GPC["\x6e\x69\x63\x6b\x4e\141\x6d\145"], "\x61\x76\141\164\141\162" => $_GPC["\141\x76\x61\164\141\162\125\162\x6c"], "\x73\164\163" => 1, "\163\x70\141\143\145\x6e\141\x6d\145" => $cfg["\x73\160\x61\143\145\x6e\141\155\145"], "\155\x70\x6e\141\155\x65" => $cfg["\x6d\x70\x6e\141\x6d\x65"], "\x69\x6d\147\165\162\x6c" => $url, "\163\x6b\151\156\x75\x72\154" => $skinurl, "\162\x65\x76\151\145\x77" => $review, "\x73\x68\141\x72\145\160\151\143" => $cfg["\x73\150\x61\x72\x65\x70\x69\143"], "\160\151\141\x6f" => $cfg["\160\151\141\x6f\x66\x75"], "\151\x73\160\x61\x79" => $cfg["\x69\163\160\141\171"], "\157\x70\145\156\x6d\x73\147" => $cfg["\x6f\160\145\156\155\163\x67"]); goto svWSe; OUwsN: } public function doPageSaveuser() { goto zSans; N9EY9: $isave = pdo_fetch("\x53\105\x4c\105\103\x54\x20\151\144\54\156\151\x63\x6b\156\141\155\145\54\141\x76\x61\164\141\x72\40\x46\122\117\115" . tablename($this->modulename . "\x5f\165\163\145\162") . "\x20\x57\x48\x45\x52\105\x20\157\x70\x65\156\x69\x64\x20\x3d\x20\72\157\x70\x65\156\x69\x64", array("\72\x6f\160\145\x6e\151\x64" => $_GPC["\157\160\x65\156\151\144"])); goto vhVzN; vhVzN: if ($isave["\156\151\x63\x6b\x6e\141\155\145"]) { goto VinLU; } goto Jg57o; rBOPP: pdo_update($this->modulename . "\137\x75\x73\x65\x72", $data, array("\x6f\x70\x65\x6e\151\144" => $_GPC["\157\x70\x65\156\x69\x64"])); goto coEfW; Jg57o: $data = array("\x6e\151\143\153\156\x61\x6d\145" => $_GPC["\156\x69\143\153\156\141\155\x65"], "\x61\166\141\164\x61\x72" => $_GPC["\141\x76\x61\x74\141\162"]); goto rBOPP; coEfW: VinLU: goto IsMLF; zSans: global $_GPC, $_W; goto N9EY9; IsMLF: } public function doPageLogin() { goto U_476; u1B32: $account_api = WeAccount::create(); goto WxG6G; WxG6G: $oauth = $account_api->getOauthInfo($code); goto qxgzl; Ckmq4: $user = array("\157\x70\x65\x6e\x69\144" => $oauth["\x6f\160\x65\156\151\x64"]); goto lcc6a; oO433: pdo_insert($this->modulename . "\x5f\x75\163\145\x72", $data); goto Tbdpa; Tk1Tc: $code = $_GPC["\x63\x6f\144\145"]; goto u1B32; r33rm: if ($isave["\151\144"]) { goto RshzJ; } goto oJoYJ; qxgzl: $isave = pdo_fetch("\123\x45\114\x45\x43\124\x20\151\144\54\146\145\x65\x2c\141\166\141\164\141\162\40\106\x52\x4f\x4d" . tablename($this->modulename . "\137\x75\x73\145\x72") . "\40\x57\110\105\x52\105\40\157\160\145\156\x69\x64\x20\75\x20\x3a\157\x70\x65\156\151\x64", array("\72\157\x70\x65\156\151\x64" => $oauth["\157\x70\x65\x6e\151\x64"])); goto r33rm; lcc6a: return json_encode($user); goto RYS_X; U_476: global $_GPC, $_W; goto Tk1Tc; oJoYJ: $data = array("\157\x70\x65\x6e\151\144" => $oauth["\x6f\160\x65\x6e\151\x64"], "\165\156\x69\141\x63\151\144" => $_W["\165\x6e\x69\141\x63\151\x64"], "\x61\x64\x64\164\x69\155\x65" => TIMESTAMP); goto oO433; Tbdpa: RshzJ: goto Ckmq4; RYS_X: } public function doPageConfig() { goto ni1DU; lnVW1: unset($cfg["\x72\x65\155\x6f\x74\145"]); goto ebb8X; cdnTZ: $cfg["\144\x73\164\145\x78\x74"] = htmlspecialchars_decode($cfg["\144\x73\x74\x65\170\164"]); goto lnVW1; CUBuD: $cfg["\x69\155\x67\165\162\154"] = $url; goto B1Bee; BoKBa: $ver = $_GPC["\166\145\162"]; goto G7Cdk; at6pz: $url = $this->imgurl(); goto yEkt_; B1Bee: $cfg["\x73\153\x69\156\165\162\154"] = $skinurl; goto dTf9l; aL_ki: $review = $cfg["\x72\145\166\151\x65\x77"]; goto FFhcz; ni1DU: global $_GPC, $_W; goto liccn; G7Cdk: if ($cfg["\162\x65\166\151\145\x77"] && $ver == "\62\63") { goto ZfH2S; } goto HDgbi; sLZu0: $cfg["\155\163\147\164\x65\x78\164"] = htmlspecialchars_decode($cfg["\x6d\163\x67\x74\145\170\164"]); goto cdnTZ; FFhcz: oIc8T: goto CUBuD; lxaGx: ZfH2S: goto aL_ki; AnECR: goto oIc8T; goto lxaGx; ebb8X: return json_encode($cfg); goto owY6T; liccn: $cfg = $this->module["\143\x6f\x6e\x66\151\147"]; goto at6pz; HDgbi: $review = 0; goto AnECR; dTf9l: $cfg["\162\145\x76\151\145\167"] = $review; goto sLZu0; yEkt_: $skinurl = $this->skinurl(); goto BoKBa; owY6T: } public function doPageSetdata() { goto CeAgm; ZbZpW: $cfg["\144\163\x74\x65\170\x74"] = htmlspecialchars_decode($cfg["\144\x73\164\x65\x78\x74"]); goto dB3BS; GhmoU: if ($cfg["\162\x65\166\151\145\167"] && $ver == "\62\61") { goto Xrcej; } goto rcN6f; CeAgm: global $_GPC, $_W; goto OTwWK; OTwWK: $cfg = $this->module["\x63\x6f\x6e\x66\x69\x67"]; goto osCaU; dsuzG: $cfg["\x72\x65\x76\x69\145\x77"] = $review; goto xG_Oq; mnXd7: $cfg["\163\153\x69\x6e\x75\162\154"] = $skinurl; goto dsuzG; dB3BS: unset($cfg["\x72\145\x6d\x6f\164\x65"]); goto E2NCZ; zmeHz: $review = $cfg["\x72\145\166\x69\145\167"]; goto E623X; osCaU: $url = $this->imgurl(); goto JQIv0; E623X: iOfKP: goto zOJ9B; MBRlh: $ver = $_GPC["\166\145\x72"]; goto GhmoU; zOJ9B: $cfg["\151\x6d\147\x75\162\154"] = $url; goto mnXd7; J6hwR: Xrcej: goto zmeHz; rcN6f: $review = 0; goto TTdXr; E2NCZ: return json_encode($cfg); goto wiaat; TTdXr: goto iOfKP; goto J6hwR; xG_Oq: $cfg["\x6d\163\147\164\145\x78\x74"] = htmlspecialchars_decode($cfg["\155\x73\x67\164\x65\x78\164"]); goto ZbZpW; JQIv0: $skinurl = $this->skinurl(); goto MBRlh; wiaat: } public function doPagecarddata() { goto pXldt; lAAAf: if ($list[$i]["\x69\163\164\x79\160\x65"]) { goto IMPtR; } goto Bl_dm; USoIA: $data = array("\x72\x63\144\x61\x74\x61" => $rcarr, "\x6a\162\x64\x61\x74\x61" => $jrarr, "\141\x64\163" => $ads); goto tkDI9; ok_Li: IMPtR: goto kw9I4; sQY83: $i++; goto gK4Gn; zDndq: $ads = pdo_fetchall("\123\105\114\x45\103\124\x20\164\151\164\154\x65\54\x74\150\165\155\x62\54\x69\x73\150\157\x74\54\164\171\x70\x65\x2c\x70\x61\164\150\x2c\141\x70\160\x69\144\x20\x46\122\117\x4d" . tablename($this->modulename . "\x5f\x61\x64\163") . "\x20\x57\x48\x45\122\105\x20\165\x6e\x69\141\x63\x69\x64\x20\75\x20\72\165\156\x69\141\x63\x69\144\40\x4f\122\104\x45\122\x20\x42\x59\x20\144\x69\163\160\154\x61\171\157\162\144\x65\x72\x20\104\x45\123\103", array("\72\165\156\151\141\x63\x69\144" => $_W["\x75\156\151\x61\x63\151\144"])); goto tTpNt; kw9I4: $rcarr[] = $list[$i]; goto jhz5u; sZJY0: TU1UT: goto USoIA; Bl_dm: $jrarr[] = $list[$i]; goto F2AUB; O8vnH: JcxoQ: goto sQY83; e7eqh: $list = pdo_fetchall("\123\105\x4c\105\x43\124\x20\x69\x64\54\164\151\x74\x6c\145\x2c\x69\163\x74\171\160\x65\54\164\x68\165\155\x62\54\163\x68\x6f\x77\x65\x64\40\106\x52\x4f\x4d\x20" . tablename($this->modulename . "\x5f\163\x6b\151\x6e\x63\x61\x74\x65") . "\40\127\x48\105\x52\105\x20\x75\156\x69\141\x63\x69\144\x20\75\40\72\x75\x6e\151\141\x63\151\x64\x20\141\156\144\40\163\x68\x6f\x77\145\144\x20\x3d\x20\x31\x20\x4f\x52\104\105\x52\40\x42\131\x20\x64\x69\x73\x70\x6c\141\x79\157\x72\144\x65\162\40\104\105\x53\x43", array("\x3a\165\x6e\151\x61\x63\x69\x64" => $_W["\165\x6e\151\x61\x63\x69\144"])); goto zDndq; pXldt: global $_GPC, $_W; goto e7eqh; F2AUB: goto TkQnQ; goto ok_Li; LV6X6: AIhou: goto IifMB; tkDI9: return json_encode($data); goto lkYKF; IifMB: if (!($i < count($list))) { goto TU1UT; } goto lAAAf; gK4Gn: goto AIhou; goto sZJY0; tTpNt: $i = 0; goto LV6X6; jhz5u: TkQnQ: goto O8vnH; lkYKF: } public function doPageCardlist() { goto yHc3S; aiJAg: $cid = $_GPC["\x63\151\144"]; goto E6OMK; ZC02b: return json_encode($data); goto SSA92; ywz_6: $data = array("\x6c\x69\x73\x74" => $list); goto ZC02b; yHc3S: global $_GPC, $_W; goto aiJAg; E6OMK: $list = pdo_fetchall("\123\x45\114\x45\103\124\40\x69\144\x2c\x75\x6e\151\x61\x63\x69\144\54\143\x69\x64\54\143\154\x69\x63\153\54\142\x6f\147\165\x73\143\x6c\151\143\153\54\163\x6d\x61\154\154\x74\x68\165\x6d\142\54\x73\150\x6f\167\145\x64\x2c\x74\x69\164\154\x65\x2c\141\144\144\164\151\x6d\x65\40\x46\122\x4f\x4d\x20" . tablename($this->modulename . "\137\163\x6b\x69\x6e") . "\x20\127\110\x45\x52\x45\40\x75\156\x69\x61\143\x69\144\40\x3d\x20\x3a\165\x6e\x69\x61\x63\x69\x64\x20\x61\x6e\x64\40\x73\x68\x6f\167\145\x64\40\75\x20\61\x20\x61\x6e\x64\40\x63\151\x64\40\75\x20\72\143\151\x64\40\x4f\122\x44\x45\122\40\x42\x59\40\x64\151\163\160\x6c\141\171\157\x72\x64\x65\162\x20\104\105\x53\103\54\x20\141\x64\144\164\x69\x6d\145\x20\x44\105\123\x43", array("\x3a\165\156\151\141\143\x69\144" => $_W["\165\x6e\151\x61\143\151\144"], "\x3a\143\151\144" => $cid)); goto ywz_6; SSA92: } public function doPageCardinfo() { goto qwSYz; voF8E: $data = array("\x63\x61\x72\x64" => $card, "\x74\x65\170\x74\x6c\x69\163\164" => $textlist, "\x67\x75\141\156\x6a\x69\x61\156\143\x69" => trim($cfg["\147\165\x61\156\152\151\141\156\x63\151"])); goto gvvVZ; Ygu5x: $id = $_GPC["\x69\144"]; goto PTnaJ; foPG8: $card = pdo_fetch("\123\x45\x4c\105\x43\124\x20\52\x20\x46\x52\x4f\x4d\40" . tablename($this->modulename . "\137\x73\x6b\151\x6e") . "\40\x57\110\105\122\x45\40\x75\x6e\x69\141\x63\151\x64\x20\75\x20\x3a\165\156\x69\x61\143\x69\x64\40\x61\156\144\40\151\144\x20\75\40\72\151\144\40\117\x52\104\x45\122\40\102\x59\x20\x64\151\163\x70\x6c\141\x79\157\x72\144\x65\x72\40\104\x45\123\x43", array("\x3a\165\x6e\x69\141\143\151\x64" => $_W["\x75\x6e\x69\x61\x63\151\x64"], "\72\151\144" => $id)); goto PEjxl; nUTvZ: M8ZX_: goto voF8E; xWP8c: $textlist = pdo_fetchall("\123\105\x4c\x45\x43\124\40\143\x6f\156\x74\145\156\x74\x20\106\122\x4f\x4d" . tablename($this->modulename . "\x5f\164\x65\170\x74") . "\x20\x57\110\105\x52\x45\40\x63\x69\144\40\75\40\72\143\x69\144\40\117\122\x44\x45\x52\40\x42\x59\40\162\141\156\144\x28\51\x20\114\111\115\x49\124\40\x32\60", array("\72\x63\151\144" => $textid)); goto aqnfM; LKa9i: $card["\x6d\165\x73\x69\143"] = str_replace("\146\162\157\155\164\x61\147\x3d\x30", "\x66\162\157\155\164\x61\147\x3d\64\x36", $card["\155\x75\x73\151\143"]); goto U52mO; PEjxl: $card["\146\x6f\x6e\164\143\x6f\x6c\x6f\x72"] = "\43" . str_ireplace("\x23", '', $card["\x66\157\156\164\x63\x6f\154\157\162"]); goto K0g1U; qwSYz: global $_GPC, $_W; goto Ygu5x; TCCqM: $card["\x6d\x75\163\151\x63"] = $card["\x6d\165\163\151\x63"] . "\x26\147\165\x69\144\x3d" . $key["\x67\165\151\x64"] . "\46\x76\153\145\x79\x3d" . $key["\x6b\x65\171"]; goto nUTvZ; K0g1U: $textid = pdo_fetchcolumn("\123\x45\114\105\103\124\40\142\x2e\151\144\x20\106\122\x4f\x4d" . tablename($this->modulename . "\137\163\x6b\151\156\x63\x61\x74\145") . "\x20\x61\x20\111\116\x4e\x45\x52\x20\112\117\x49\x4e\40" . tablename($this->modulename . "\x5f\x74\145\x78\164\143\x61\x74\145") . "\40\142\40\x4f\116\40\x61\56\157\154\164\x69\x74\x6c\x65\x20\75\40\142\56\157\154\x64\164\151\164\x6c\145\40\x57\x48\x45\x52\x45\x20\x61\56\x69\144\40\x3d\40\72\151\x64\x20\141\x6e\144\40\142\x2e\x75\156\151\x61\x63\x69\x64\x20\75\40\x3a\x75\x6e\151\x61\143\151\x64", array("\72\x69\x64" => $card["\143\151\x64"], "\x3a\x75\x6e\x69\141\143\x69\144" => $_W["\x75\x6e\151\x61\143\x69\144"])); goto xWP8c; PTnaJ: $cfg = $this->module["\143\x6f\x6e\x66\x69\x67"]; goto foPG8; aqnfM: $card["\x6d\x75\x73\x69\x63"] = str_replace("\x77\x73\x2e\163\164\x72\145\141\155\x2e\x71\x71\155\x75\x73\x69\143\x2e\x71\161\56\143\x6f\155", "\x64\x6c\56\x73\164\162\145\x61\155\56\161\x71\x6d\x75\x73\151\143\x2e\161\161\x2e\x63\x6f\155", $card["\155\165\x73\x69\143"]); goto XkHDF; gvvVZ: return json_encode($data); goto XEc_9; U52mO: if (!strstr($card["\155\165\x73\151\143"], "\x71\161\155\x75\163\x69\143")) { goto M8ZX_; } goto IjUUY; XkHDF: $card["\155\x75\x73\x69\x63"] = str_replace("\x43\x31\60\60\60\x30", "\x43\64\x30\x30\x30\x30", $card["\155\x75\163\x69\x63"]); goto LKa9i; IjUUY: $key = $this->vkey(); goto TCCqM; XEc_9: } public function doPageUpvoice() { goto LBn1S; oHL2d: echo "\x45\162\162\x6f\162\72\40" . $_FILES["\146\151\x6c\x65"]["\145\162\162\157\x72"] . "\x3c\x62\162\x20\x2f\76"; goto NGeSm; ml6xP: XORon: goto oHL2d; jETPr: if ($_FILES["\x66\151\x6c\x65"]["\145\162\162\157\x72"] > 0) { goto XORon; } goto dvmz5; pMFgM: goto yiIm6; goto ml6xP; LBn1S: global $_GPC, $_W; goto jETPr; NGeSm: yiIm6: goto UFjpo; sLs7d: return $this->savevoice($voice); goto pMFgM; dvmz5: $voice = $_FILES["\x66\151\x6c\x65"]; goto sLs7d; UFjpo: } public function doPageservers() { goto MgIcp; ugkSt: $appId = $_W["\141\143\143\157\x75\156\x74"]["\153\x65\171"]; goto mgIqZ; DVghO: $token = $cfg["\164\x6f\x6b\145\156\x73"]; goto ugkSt; AGsfs: if (!$isok) { goto jJVLp; } goto iNdhV; t05cc: $cfg = $this->module["\x63\x6f\x6e\146\x69\147"]; goto GpY10; mgIqZ: $signature = $_GPC["\163\x69\x67\156\141\x74\165\x72\145"]; goto WD04V; ntUHL: $nonce = $_GPC["\156\x6f\156\x63\145"]; goto ENPcA; e7ple: $isok = $pc->checkSignature($signature, $timestamp, $nonce); goto AGsfs; NSGFi: $pc = new WXBizMsgCrypt($token, $encodingAesKey, $appId); goto e7ple; ev8vl: $this->sendRes($pdata); goto NSGFi; EP2yD: $pdata = file_get_contents("\160\x68\160\72\x2f\x2f\151\x6e\x70\x75\x74"); goto ev8vl; iNdhV: return $echostr; goto Qumru; GpY10: require_once MODULE_ROOT . "\57\x70\x75\142\154\151\143\x2f\x77\170\102\151\172\115\x73\147\103\x72\x79\x70\x74\56\x70\x68\x70"; goto qyxBd; Qumru: jJVLp: goto oYwm6; ENPcA: $echostr = $_GPC["\145\x63\x68\x6f\163\x74\x72"]; goto EP2yD; qyxBd: $encodingAesKey = $cfg["\x65\156\143\157\144\151\156\147\x41\145\x73\113\x65\x79"]; goto DVghO; MgIcp: global $_GPC, $_W; goto t05cc; WD04V: $timestamp = $_GPC["\x74\151\x6d\x65\x73\x74\141\x6d\x70"]; goto ntUHL; oYwm6: } public function sendRes($pdata) { goto fiJZG; QIjaW: load()->classs("\167\x78\141\160\x70\x2e\x61\x63\143\x6f\x75\x6e\164"); goto c2I4R; L03_Y: $postdata = json_decode($pdata, true); goto kP1uE; c2I4R: $accObj = WxappAccount::create(); goto HYN1Q; HYN1Q: $access_token = $accObj->getAccessToken($_W["\x75\x6e\151\141\x63\x69\144"]); goto Tr19J; Fmhxu: $link = $linkarr[$allnum]; goto AGU6Y; u0ZMJ: $ret = ihttp_request($url, $post); goto v0Jc4; jEj1B: $linkarr = explode("\54", $cfg["\153\x66\165\x72\x6c"]); goto xM_uv; xM_uv: $allnum = rand(0, count($linkarr) - 1); goto Fmhxu; kP1uE: if (!($postdata["\105\x76\145\x6e\x74"] == "\x75\x73\145\x72\137\x65\x6e\x74\x65\x72\x5f\164\145\155\x70\163\145\163\163\x69\x6f\x6e")) { goto sm6z5; } goto jEj1B; AGU6Y: $post = "\173\42\x74\157\x75\163\x65\x72\x22\x3a\x22" . $postdata["\x46\x72\x6f\155\125\x73\x65\x72\x4e\x61\x6d\145"] . "\x22\x2c\x22\x6d\x73\x67\164\171\x70\x65\x22\72\x22\x6c\151\156\x6b\x22\54\42\x6c\x69\156\x6b\x22\72\173\42\164\151\x74\x6c\x65\42\x3a\x20\x22" . $cfg["\153\146\x74\151\164\154\145"] . "\x22\x2c\42\x64\x65\163\143\162\151\160\164\x69\157\156\x22\72\40\x22" . $cfg["\153\146\144\145\x73\143"] . "\42\x2c\x22\x75\x72\x6c\42\72\40\x22" . $link . "\x22\54\x20\x22\164\x68\165\155\x62\137\x75\162\154\42\x3a\40\x22" . $this->imgurl() . $cfg["\x6b\x66\160\x69\x63"] . "\x22\x7d\x7d"; goto QIjaW; MeePa: $cfg = $this->module["\x63\x6f\156\x66\151\147"]; goto L03_Y; HZY9B: load()->func("\x63\157\155\x6d\165\x6e\151\143\x61\x74\x69\x6f\x6e"); goto u0ZMJ; Tr19J: $url = "\150\164\164\x70\x73\x3a\57\x2f\x61\x70\151\56\x77\x65\x69\170\151\x6e\56\x71\x71\56\143\157\x6d\57\x63\x67\151\55\142\x69\156\x2f\x6d\x65\x73\x73\x61\147\145\x2f\x63\x75\x73\x74\x6f\155\57\163\x65\x6e\x64\x3f\141\x63\143\x65\163\x73\137\x74\x6f\153\145\x6e\x3d{$access_token}"; goto HZY9B; fiJZG: global $_W; goto MeePa; v0Jc4: sm6z5: goto SUM80; SUM80: } private function hex2rgb($hexColor) { goto Rz3Ju; fldq1: $b = substr($color, 2, 1) . substr($color, 2, 1); goto Vms7l; yqC8l: return $rgb; goto E0aws; Rz3Ju: $color = str_replace("\x23", '', $hexColor); goto C6joI; C6joI: if (strlen($color) > 3) { goto wjcpY; } goto ATSP9; Vms7l: $rgb = array("\x72" => hexdec($r), "\x67" => hexdec($g), "\x62" => hexdec($b)); goto I1sGN; rsA7J: Ef55T: goto yqC8l; ATSP9: $color = $hexColor; goto scv0o; zxvgY: wjcpY: goto BpEvo; YWqXZ: $g = substr($color, 1, 1) . substr($color, 1, 1); goto fldq1; scv0o: $r = substr($color, 0, 1) . substr($color, 0, 1); goto YWqXZ; I1sGN: goto Ef55T; goto zxvgY; BpEvo: $rgb = array("\x72" => hexdec(substr($color, 0, 2)), "\x67" => hexdec(substr($color, 2, 2)), "\142" => hexdec(substr($color, 4, 2))); goto rsA7J; E0aws: } public function doPageTpic() { goto UiWAk; gRL0n: header("\143\157\156\164\x65\156\164\x2d\x74\x79\x70\145\x3a\x20\151\155\141\x67\145\57\x6a\x70\145\x67"); goto d0Tew; MV1_B: $bgcolor = $this->hex2rgb($_GPC["\142\x67\x63\157\154\157\x72"]); goto DaC1g; N1PdD: $white = imagecolorallocate($target, $bgcolor["\x72"], $bgcolor["\147"], $bgcolor["\142"]); goto QZY_P; UiWAk: global $_GPC, $_W; goto mYuJB; IOtgi: $text = $_GPC["\146\157\156\x74"]; goto N1PdD; QoMww: $fontColor = imagecolorallocate($target, $textcolor, $textcolor, $textcolor); goto PXCjm; zaMel: imagettftext($target, 20, 0, ceil((600 - $fontBox[2]) / 2), 300, $fontColor, $font, $text); goto gRL0n; DaC1g: $target = imagecreatetruecolor(600, 600); goto IOtgi; gfhcy: imagedestroy($target); goto gkRSM; PXCjm: $font = MODULE_ROOT . "\57\163\153\151\156\x2f\x79\x61\150\x65\151\x2e\164\x74\146"; goto dOQfI; dOQfI: $fontBox = imagettfbbox(20, 0, $font, $text); goto zaMel; mYuJB: $textcolor = $_GPC["\x66\157\156\x74\x63\157\154\x6f\162"] == "\x23\x30\60\60" ? "\60" : "\x32\x35\65"; goto MV1_B; d0Tew: imagejpeg($target); goto gfhcy; QZY_P: imagefill($target, 0, 0, $white); goto QoMww; gkRSM: } public function doPageClick() { goto yvFMh; RW8C_: ZTRp4: goto aNFbW; ZsWUU: pdo_query("\x55\x50\x44\x41\x54\x45\x20" . tablename($this->modulename . "\137\163\x6b\151\156") . "\40\x53\x45\124\x20\x63\x6c\x69\x63\153\40\75\x20\x63\154\x69\x63\x6b\x20\x2b\x20\61\x20\127\110\105\x52\105\40\151\x64\x20\x3d\x20\72\151\144", array("\x3a\x69\x64" => $id)); goto RW8C_; XreTT: if (!$_W["\151\x73\x70\x6f\163\164"]) { goto ZTRp4; } goto X71SB; X71SB: $id = intval($_GPC["\151\x64"]); goto ZsWUU; yvFMh: global $_GPC, $_W; goto XreTT; aNFbW: } public function doPageUpform() { goto ao_No; urD4R: pdo_insert($this->modulename . "\x5f\x66\x6f\162\x6d\x64\x61\164\x61", $data); goto IqxUJ; IqxUJ: WL0Zz: goto mock_; cPtrC: if (!$_W["\151\163\160\x6f\x73\164"]) { goto WL0Zz; } goto DDr87; DDr87: $data = array("\146\157\x72\155\151\144" => $_GPC["\146\157\162\x6d\x69\x64"], "\157\x70\x65\x6e\x69\x64" => $_GPC["\157\160\145\x6e\x69\x64"], "\x75\156\151\141\143\151\144" => $_W["\165\156\151\141\x63\x69\x64"], "\141\x64\144\164\151\x6d\x65" => TIMESTAMP); goto urD4R; ao_No: global $_GPC, $_W; goto cPtrC; mock_: } public function doPagePostdata() { goto nJpIA; VP2FH: $data = array("\165\156\x69\x61\x63\151\x64" => $_W["\165\156\x69\141\x63\x69\x64"], "\x6f\160\x65\156\x69\x64" => $_GPC["\157\x70\x65\156\x69\144"], "\143\141\x72\x64\x69\x64" => $_GPC["\x63\x61\x72\144\151\x64"], "\x70\x61\x67\x65\167\157\x72\144" => $_GPC["\160\141\x67\x65\167\157\162\144"], "\156\151\x63\x6b\156\x61\x6d\145" => $_GPC["\156\151\x63\153\x6e\x61\155\x65"], "\x61\x76\x61\x74\x61\x72" => $_GPC["\x61\166\x61\164\141\162"], "\x76\x6f\x69\143\145" => $_GPC["\166\157\x69\143\x65"], "\x61\x64\144\164\x69\155\145" => TIMESTAMP); goto i04j9; gzwgr: $id = pdo_insertid(); goto cL3Ba; AW8NT: return json_encode($dats); goto PjdOV; i04j9: pdo_insert($this->modulename . "\137\x64\141\x74\x61", $data); goto gzwgr; nJpIA: global $_GPC, $_W; goto VP2FH; cL3Ba: $dats = array("\163\143\145\156\145" => $id); goto AW8NT; PjdOV: } public function doPageUserdata() { goto AVPZl; n_dco: $card["\155\165\163\151\x63"] = $card["\155\x75\163\x69\x63"] . "\46\147\x75\151\x64\75" . $key["\147\165\151\x64"] . "\x26\x76\x6b\x65\171\75" . $key["\153\x65\171"]; goto lITs1; ErcvA: if (!strstr($card["\155\165\163\x69\143"], "\144\x6c\x2e\x73\164\162\145\x61\x6d\x2e\x71\x71\155\x75\x73\x69\x63\56\161\161\x2e\143\157\x6d")) { goto vH3aH; } goto EzHi7; hNuSR: $data = array("\143\141\162\144" => $card, "\165\x73\x65\x72\143\x61\x72\144" => $usercard, "\145\144\x62\164\x6e" => $cfg["\x65\144\x62\164\156"], "\x73\150\x61\162\x65\142\x74\x6e" => $cfg["\163\150\x61\x72\145\x62\x74\156"], "\x73\x68\x62\151\164\154\x65" => $cfg["\163\x68\142\x69\x74\154\145"], "\143\x61\162\144\x74\151\164\154\145" => $cfg["\143\141\162\144\x74\151\164\154\x65"], "\151\163\160\x61\x79" => $cfg["\x69\x73\160\141\171"], "\x70\x69\x61\157" => $cfg["\160\x69\141\157"], "\163\x6b\x69\x6e\165\162\154" => $this->skinurl(), "\x69\155\147\x75\x72\x6c" => $this->imgurl()); goto xDHTF; TD2_L: $card["\x6d\x75\x73\151\x63"] = str_replace("\146\x72\157\x6d\164\141\x67\x3d\60", "\146\162\x6f\x6d\x74\141\147\x3d\64\66", $card["\x6d\x75\x73\x69\143"]); goto d4vtx; Wzk44: $id = $_GPC["\x69\144"]; goto YVJy7; AVPZl: global $_GPC, $_W; goto GD9OV; d4vtx: $key = $this->vkey(); goto n_dco; GD9OV: $cfg = $this->module["\143\157\156\146\151\147"]; goto Wzk44; lITs1: vH3aH: goto hNuSR; pOhgT: $card["\155\165\163\151\x63"] = str_replace("\167\163\x2e\x73\164\162\x65\141\155\x2e\x71\x71\x6d\x75\163\151\x63\56\x71\x71\56\x63\157\155", "\x64\x6c\x2e\163\x74\x72\x65\141\155\x2e\x71\161\x6d\x75\163\x69\143\56\161\161\56\x63\157\155", $card["\155\x75\163\x69\143"]); goto ErcvA; YVJy7: $usercard = pdo_fetch("\123\x45\x4c\105\103\x54\x20\52\40\106\122\117\x4d" . tablename($this->modulename . "\x5f\x64\141\164\x61") . "\127\x48\105\122\105\40\151\x64\40\75\x20\x3a\151\x64", array("\72\151\x64" => $id)); goto vpBJX; xDHTF: return json_encode($data); goto ezs3r; EzHi7: $card["\155\x75\x73\151\143"] = str_replace("\x43\61\x30\x30\60\60", "\x43\64\60\x30\x30\60", $card["\155\165\x73\151\143"]); goto TD2_L; vpBJX: $card = pdo_fetch("\x53\x45\114\x45\x43\124\40\52\x20\106\x52\117\115\x20" . tablename($this->modulename . "\137\163\153\151\156") . "\x20\127\110\x45\x52\105\x20\x75\x6e\x69\141\x63\151\x64\40\x3d\x20\x3a\165\x6e\x69\141\x63\x69\x64\x20\x61\x6e\144\40\x69\x64\40\75\x20\72\x69\x64\40\117\x52\104\105\x52\40\x42\x59\40\144\x69\163\x70\x6c\141\x79\x6f\x72\x64\145\x72\x20\104\105\123\103", array("\72\x75\x6e\151\x61\x63\151\x64" => $_W["\165\156\x69\141\x63\151\144"], "\72\151\x64" => $usercard["\143\141\x72\x64\x69\x64"])); goto pOhgT; ezs3r: } public function doPageQrcode() { goto xfHPz; AEUMy: $data = array("\163\143\145\x6e\x65" => urlencode($pid), "\x70\141\147\145" => "\x74\143\137\143\x61\162\144\57\160\x61\147\145\x73\x2f\x63\x61\162\144\57\143\141\162\x64", "\x77\151\144\x74\150" => "\64\63\60", "\141\165\164\157\137\143\x6f\x6c\x6f\x72" => true); goto ZPIuU; vJaQr: $token = $account_api->getAccessToken(); goto npLFa; xutnQ: $account_api = WeAccount::create(); goto vJaQr; OxKkJ: header("\103\x6f\x6e\164\x65\x6e\164\x2d\x74\x79\160\x65\x3a\40\x69\x6d\141\147\145\57\x6a\x70\x67"); goto fK9JV; dMW_1: $url = "\x68\164\x74\160\163\x3a\x2f\57\141\x70\x69\56\167\145\151\170\151\x6e\x2e\x71\x71\56\x63\x6f\155\57\167\170\x61\57\x67\x65\x74\x77\170\x61\x63\157\144\x65\x75\x6e\154\151\155\151\164\x3f\x61\143\x63\145\163\x73\137\164\x6f\x6b\145\156\x3d" . $token; goto AEUMy; ZPIuU: $ss = ihttp_post($url, json_encode($data)); goto OxKkJ; fK9JV: echo $ss["\x63\157\x6e\164\145\x6e\164"]; goto VYiNJ; xfHPz: global $_GPC, $_W; goto lWSId; lWSId: $pid = intval($_GPC["\x70\x69\x64"]); goto xutnQ; npLFa: load()->func("\x63\x6f\x6d\155\165\x6e\151\x63\141\164\151\157\x6e"); goto dMW_1; VYiNJ: } public function doPagebgthumb() { goto WrSQ2; WrSQ2: global $_GPC, $_W; goto lL2MM; lL2MM: $id = intval($_GPC["\x63\151\144"]); goto uWOFC; hYBXC: echo file_get_contents($url . $img); goto tFlQ0; kYoQL: $img = pdo_fetchcolumn("\x53\x45\x4c\105\x43\124\x20\142\151\x67\164\150\x75\x6d\x62\x20\106\x52\117\115" . tablename($this->modulename . "\137\163\153\151\156") . "\40\x57\x48\x45\x52\x45\x20\151\x64\40\75\x20\x3a\x69\x64", array("\x3a\151\144" => $id)); goto JOVKG; uWOFC: $url = $this->skinurl(); goto kYoQL; JOVKG: header("\x43\x6f\156\x74\145\x6e\164\55\164\x79\160\145\72\40\x69\155\141\x67\145\x2f\x6a\x70\x67"); goto hYBXC; tFlQ0: } public function doPageSendlist() { goto XL2gi; uK9W9: $list = pdo_fetchall("\123\105\114\x45\103\124\x20\x61\x2e\x69\144\54\x61\56\x61\x64\x64\164\151\155\145\x2c\142\x2e\x74\151\x74\154\145\54\x62\56\163\155\x61\154\x6c\164\150\x75\155\142\x20\x46\122\x4f\x4d" . tablename($this->modulename . "\x5f\x64\141\x74\x61") . "\x20\141\x20\111\116\116\105\x52\40\x4a\117\111\x4e" . tablename($this->modulename . "\x5f\x73\x6b\151\x6e") . "\x20\x62\40\x4f\116\40\x62\56\x69\144\40\x3d\40\141\x2e\143\x61\162\144\151\x64\40\x57\110\105\x52\x45\x20\40\141\56\x6f\x70\145\156\x69\144\40\x3d\x20\x3a\157\x70\145\156\151\144\40\x6f\x72\144\x65\x72\40\142\171\40\141\56\x61\144\144\164\151\155\x65\40\x44\105\123\103", array("\72\x6f\160\145\x6e\151\x64" => $openid)); goto Xznrx; rQcqg: rhURM: goto A8Ojo; Xznrx: $i = 0; goto zsMl5; W4Rd7: if (!($i < count($list))) { goto vS90B; } goto PE9oe; O0H0y: if (!$_W["\151\163\x70\157\x73\x74"]) { goto rhURM; } goto UoaWE; lgtsI: goto DkqRt; goto tHknq; UoaWE: $openid = $_GPC["\x6f\160\x65\x6e\151\144"]; goto uK9W9; zsMl5: DkqRt: goto W4Rd7; tHknq: vS90B: goto LL4Ga; PE9oe: $list[$i]["\x61\144\x64\164\151\x6d\145"] = date("\x59\x2d\155\x2d\144", $list[$i]["\141\144\144\164\x69\155\145"]); goto qXYRP; LL4Ga: return json_encode($list); goto rQcqg; F0pFr: $i++; goto lgtsI; qXYRP: q7KKG: goto F0pFr; XL2gi: global $_GPC, $_W; goto O0H0y; A8Ojo: } public function doPageMoneynum() { goto UofoT; uMdLV: $datas = array("\x6e\x75\155\141\x72\x72" => $numarr, "\x63\157\156" => $paycon); goto uYpvM; TbLYv: $paycon = $cfg["\160\141\x79\x63\x6f\156"]; goto EBcGR; EBcGR: $data = pdo_fetchcolumn("\x53\105\114\105\103\x54\x20\x63\x6f\x6e\164\145\156\x74\x20\106\122\117\115" . tablename($this->modulename . "\x5f\x70\141\x79\144\x61\x74\141") . "\x20\127\x48\x45\x52\105\40\x75\156\151\x61\143\151\x64\x20\75\40\72\x75\x6e\151\x61\x63\x69\144", array("\x3a\165\156\151\x61\x63\x69\144" => $_W["\165\156\151\141\x63\x69\144"])); goto m2_pg; UofoT: global $_GPC, $_W; goto eay7d; DX9Zo: $cfg = $this->module["\x63\157\x6e\x66\x69\147"]; goto TbLYv; FDHiU: mLzDS: goto KX6vf; eay7d: if (!$_W["\151\x73\160\157\x73\164"]) { goto mLzDS; } goto DX9Zo; uYpvM: return json_encode($datas); goto FDHiU; m2_pg: $numarr = unserialize($data); goto uMdLV; KX6vf: } public function doPageGotocost() { goto CcFnP; xiWw_: $nickname = $_GPC["\x6e\151\x63\x6b\156\141\x6d\x65"]; goto Aa6in; bmNba: return json_encode($result); goto sna1Y; gqt8y: $id = pdo_insertid(); goto UhJoz; FwlI0: goto qtpEk; goto jD1Qn; Wevkg: $result = array("\162\145\x73\x75\x6c\x74" => 1, "\155\163\147" => "\346\x8f\x90\xe7\x8e\xb0\347\224\263\xe8\257\xb7\346\x88\x90\345\x8a\x9f", "\146\145\x65" => $nowcost); goto VFUOo; qpMIm: goto nzIEC; goto oo3Y7; jD1Qn: B536z: goto Wevkg; oo3Y7: m0aYy: goto QCf1i; H477Q: $result = array("\162\x65\x73\x75\154\164" => 0); goto mIpbx; cDVF8: FntPU: goto bmNba; fsZpD: $result = array("\162\x65\163\x75\154\x74" => 0, "\x6d\x73\147" => "\xe6\x8f\220\xe7\216\xb0\xe5\244\xb1\xe8\xb4\xa5\350\257\267\xe8\201\224\xe7\xb3\273\xe5\256\xa2\xe6\x9c\215"); goto FwlI0; CcFnP: global $_GPC, $_W; goto gStZC; BK6RQ: $info = pdo_fetch("\123\105\114\x45\103\x54\x20\x66\x65\x65\54\163\164\x61\164\165\163\40\x46\x52\117\x4d" . tablename($this->modulename . "\137\165\163\145\162") . "\40\127\x48\105\x52\x45\x20\x6f\x70\145\x6e\x69\144\x20\75\x20\x3a\157\x70\145\x6e\151\x64\40\141\x6e\x64\x20\165\x6e\151\141\143\151\x64\40\x3d\x20\x3a\x75\156\x69\x61\x63\x69\x64", array("\72\157\160\145\156\151\144" => $openid, "\x75\x6e\151\x61\143\151\144" => $_W["\165\x6e\151\x61\143\151\x64"])); goto VOeUa; UhJoz: $result = pdo_update($this->modulename . "\x5f\x75\x73\x65\x72", array("\146\x65\x65" => $nowcost), array("\157\160\145\x6e\151\x64" => $openid, "\165\156\x69\x61\143\151\144" => $_W["\x75\x6e\151\141\x63\151\144"])); goto NRCUc; PfWK1: $tixian = $_GPC["\164\151\170\x69\x61\x6e"]; goto qsR2x; h_xzq: $nowcost = $info["\146\x65\x65"] - $fee; goto T0qFe; vxJlp: hSORr: goto h_xzq; k6NsK: $result = array("\x72\x65\163\x75\154\x74" => 0, "\155\163\147" => "\xe4\275\231\351\xa2\235\344\xb8\x8d\350\xb6\xb3"); goto qpMIm; akD2X: nzIEC: goto cDVF8; Aa6in: $fee = $_GPC["\x6e\x6f\x77\155\157\x6e\145\171"]; goto PfWK1; QCf1i: pdo_insert($this->modulename . "\x5f\x63\x61\163\150\160\x61\x79", $data); goto gqt8y; qsR2x: $data = array("\165\156\151\141\143\x69\144" => $uniacid, "\157\x70\145\x6e\x69\144" => $openid, "\141\x76\141\x74\141\x72" => $avatar, "\x6e\x69\x63\153\x6e\141\155\x65" => $nickname, "\143\157\163\164" => $fee, "\x72\143\157\x73\x74" => $tixian, "\141\x64\x64\164\x69\155\x65" => TIMESTAMP); goto BK6RQ; VOeUa: if (!$info["\x73\x74\141\x74\x75\163"] && $fee && $tixian) { goto hSORr; } goto H477Q; mIpbx: goto FntPU; goto vxJlp; NRCUc: if ($result) { goto B536z; } goto fsZpD; glgb_: $avatar = $_GPC["\141\x76\x61\x74\141\162"]; goto xiWw_; VFUOo: qtpEk: goto akD2X; T0qFe: if ($nowcost >= 0) { goto m0aYy; } goto k6NsK; bIwRZ: $uniacid = $_W["\165\x6e\151\x61\143\x69\x64"]; goto glgb_; gStZC: $openid = $_GPC["\x6f\160\145\x6e\x69\144"]; goto bIwRZ; sna1Y: } public function doPagePaylog() { goto EcBGK; kdIQg: $i = 0; goto WkgZY; LchkW: return json_encode($list); goto Ypu_0; g3OZM: $list = pdo_fetchall("\x53\x45\114\105\x43\x54\40\x61\x76\x61\164\x61\162\54\x74\156\x69\x63\x6b\156\141\155\145\x2c\143\x6f\x73\x74\x2c\x61\x64\144\164\151\x6d\145\40\x46\122\x4f\x4d" . tablename($this->modulename . "\137\160\x61\x79\x6c\157\147") . "\40\127\x48\105\x52\105\x20\164\151\x64\x20\x3d\x20\x3a\x74\x69\144\40\x61\156\144\40\165\x6e\151\141\x63\151\144\40\x3d\40\72\x75\156\151\x61\x63\151\144\40\x61\x6e\144\40\163\x74\141\164\x75\163\40\x3d\40\x31\40\117\x52\104\105\122\40\x42\x59\x20\141\x64\144\164\151\155\145\40\144\x65\x73\x63", array("\72\164\151\144" => $openid, "\72\x75\x6e\x69\141\143\151\x64" => $_W["\165\x6e\x69\x61\143\151\144"])); goto kdIQg; b8l8s: $openid = $_GPC["\157\x70\x65\156\x69\144"]; goto g3OZM; CYDJI: kJrNq: goto LchkW; WkgZY: xFot_: goto vM98u; nIK_Q: Zz0p2: goto T3cN5; T3cN5: $i++; goto FhYH1; FhYH1: goto xFot_; goto CYDJI; DV1_E: $list[$i]["\141\x64\144\164\x69\155\145"] = date("\131\x2d\x6d\55\x64\40\x48\72\163\x3a\151", $list[$i]["\x61\144\144\x74\151\x6d\x65"]); goto nIK_Q; vM98u: if (!($i < count($list))) { goto kJrNq; } goto DV1_E; EcBGK: global $_GPC, $_W; goto b8l8s; Ypu_0: } public function doPageTxlog() { goto ot2OT; K3XOI: if (!($i < count($list))) { goto nOT1x; } goto KVWnz; LKqDU: $i++; goto vu37J; ot2OT: global $_GPC, $_W; goto heYj3; KVWnz: $list[$i]["\x61\144\x64\164\151\155\145"] = date("\x59\x2d\155\x2d\144\x20\110\72\x73\x3a\x69", $list[$i]["\141\x64\x64\164\151\155\145"]); goto xUV7d; S1oW_: nOT1x: goto xcs29; pOm_R: f1d8a: goto K3XOI; heYj3: $openid = $_GPC["\x6f\160\x65\156\151\x64"]; goto Utnch; xUV7d: mGStR: goto LKqDU; vu37J: goto f1d8a; goto S1oW_; z5CxF: $i = 0; goto pOm_R; xcs29: return json_encode($list); goto CgxIS; Utnch: $list = pdo_fetchall("\x53\x45\x4c\105\x43\124\40\52\x20\x46\x52\117\115" . tablename($this->modulename . "\x5f\x63\141\163\150\x70\141\171") . "\x20\x57\110\x45\x52\105\40\x6f\x70\x65\156\151\x64\40\x3d\40\x3a\157\160\145\156\x69\144\40\x61\x6e\144\x20\165\x6e\151\141\x63\151\x64\40\x3d\40\x3a\165\156\x69\x61\x63\x69\x64\40\117\122\x44\x45\x52\40\102\x59\x20\x61\x64\x64\x74\151\x6d\x65\x20\x64\145\163\x63", array("\72\157\160\x65\156\151\x64" => $openid, "\72\165\x6e\151\x61\143\151\144" => $_W["\165\x6e\151\141\143\151\x64"])); goto z5CxF; CgxIS: } public function doPageGetsetdata() { goto BPoXD; hVJgx: return json_encode($payset); goto wM_T7; ExsZq: $uniacid = $_W["\165\156\x69\141\x63\x69\x64"]; goto lFGBx; BPoXD: global $_GPC, $_W; goto ExsZq; lFGBx: $payset = pdo_fetch("\x53\x45\114\x45\103\x54\40\154\145\141\x73\164\155\x6f\x6e\54\163\x65\x72\x76\151\x63\x65\40\106\122\x4f\115" . tablename($this->modulename . "\x5f\x70\141\x79\144\141\164\x61") . "\40\127\x48\x45\122\105\x20\165\x6e\151\141\x63\x69\144\40\x3d\40\x3a\x75\x6e\151\x61\x63\151\x64", array("\x3a\165\x6e\151\141\x63\151\x64" => $_W["\165\156\x69\141\x63\x69\144"])); goto hVJgx; wM_T7: } public function doPagePay() { goto Tdhuu; VYlrZ: $signkey = $_W["\x61\x63\x63\x6f\x75\x6e\164"]["\x73\x65\164\x74\x69\x6e\147"]["\x70\141\x79\x6d\145\156\x74"]["\x77\x65\x63\x68\141\x74"]["\163\151\147\x6e\x6b\x65\171"]; goto D0Hkm; ptgBy: $formid = $return["\160\141\143\153\x61\x67\x65"]; goto ymW4A; j0_P4: $formdata = array("\x75\x6e\x69\141\143\x69\x64" => $_W["\x75\156\151\x61\x63\151\x64"], "\x6f\160\145\156\151\x64" => $openid, "\x66\x6f\x72\155\x69\x64" => $formid, "\x61\x64\x64\164\x69\x6d\145" => TIMESTAMP); goto FXplY; R9Xs7: $return = $weixinpay->pay(); goto FnH2H; Tdhuu: global $_GPC, $_W; goto KAzzc; FnH2H: $data = array("\165\156\x69\x61\143\151\x64" => $_W["\x75\156\x69\x61\x63\x69\x64"], "\164\x69\144" => $_GPC["\x74\151\x64"], "\x6f\x75\x74\137\x74\x72\141\x64\145\137\156\x6f" => $out_trade_no, "\157\x70\x65\156\x69\144" => $_GPC["\157\160\x65\x6e\x69\x64"], "\x70\151\x64" => $_GPC["\x70\x69\144"], "\156\151\143\x6b\156\x61\155\145" => $_GPC["\x6e\151\x63\x6b\156\x61\155\x65"], "\x61\x76\141\x74\141\x72" => $_GPC["\x61\166\x61\164\x61\x72"], "\x74\x6e\151\x63\153\156\x61\x6d\x65" => $_GPC["\x74\156\151\143\x6b\156\x61\x6d\x65"], "\x63\157\x73\164" => $money, "\x61\x64\x64\x74\151\x6d\x65" => TIMESTAMP); goto hpCxW; ymW4A: $formid = str_replace("\160\162\x65\x70\141\171\137\x69\x64\75", '', $formid); goto j0_P4; KAzzc: include "\167\x78\x70\x61\171\56\160\x68\x70"; goto JK669; I5Zs2: $openid = $_GPC["\x6f\x70\145\156\151\144"]; goto zxIxZ; EyT7v: $mch_id = $_W["\141\143\x63\x6f\x75\x6e\164"]["\x73\x65\x74\164\x69\156\147"]["\160\x61\171\155\145\156\164"]["\167\145\143\150\141\164"]["\x6d\x63\150\x69\144"]; goto VYlrZ; aXDfL: $notify = $_W["\163\x69\x74\145\162\157\157\x74"] . "\x61\144\144\157\x6e\163\x2f\x74\x63\137\143\x61\162\x64\x2f\156\157\x74\x69\146\171\56\x70\x68\160"; goto Y3Cf8; osGeS: $return["\157\165\164\x5f\x74\x72\x61\144\145\x5f\x6e\x6f"] = $out_trade_no; goto ZLOMp; FXplY: pdo_insert($this->modulename . "\137\x66\x6f\x72\x6d\144\x61\x74\x61", $formdata); goto osGeS; JK669: $out_trade_no = date("\x59\x6d\x64") . substr(implode(NULL, array_map("\x6f\162\x64", str_split(substr(uniqid(), 7, 13), 1))), 0, 8); goto I5Zs2; Zrvss: $body = "\346\x89\223\350\xb5\217"; goto aXDfL; Y3Cf8: $weixinpay = new WeixinPay($appid, $openid, $mch_id, $signkey, $out_trade_no, $body, $total_fee, $notify); goto R9Xs7; hpCxW: pdo_insert($this->modulename . "\137\160\x61\x79\154\x6f\x67", $data); goto ptgBy; INTpx: $appid = $_W["\x61\x63\x63\157\165\x6e\x74"]["\153\145\x79"]; goto EyT7v; zxIxZ: $money = $_GPC["\x63\x6f\163\x74"]; goto INTpx; D0Hkm: $total_fee = $money * 100; goto Zrvss; ZLOMp: return json_encode($return); goto ebv3A; ebv3A: } public function doPagepayResult() { goto ZJCBt; XEWem: if (!$_W["\x69\163\x70\x6f\163\x74"]) { goto E5opo; } goto QqPOw; ZJCBt: global $_GPC, $_W; goto XEWem; VdP1e: $res = pdo_fetch("\x53\x45\114\x45\x43\124\x20\x2a\40\106\122\117\115" . tablename($this->modulename . "\137\160\x61\171\154\x6f\x67") . "\40\x57\110\x45\122\105\x20\157\160\145\156\151\144\40\x3d\x20\72\x6f\x70\145\x6e\x69\144\40\x61\156\x64\x20\157\x75\x74\x5f\x74\x72\141\144\145\137\156\x6f\x20\x3d\x20\x3a\x6f\x75\164\137\164\x72\x61\x64\145\x5f\156\157", array("\72\157\160\145\x6e\x69\144" => $_GPC["\x6f\x70\145\x6e\151\144"], "\x3a\x6f\x75\x74\x5f\164\162\141\144\145\x5f\156\x6f" => $trade_no)); goto pc3Ni; sQo_C: E5opo: goto OMOXo; QqPOw: $trade_no = $_GPC["\x74\x72\141\x64\145\x5f\x6e\157"]; goto VdP1e; pc3Ni: $this->Sendmsgs($res["\x63\x6f\x73\x74"], $res["\x61\x64\x64\x74\151\155\x65"], $res["\x6f\x70\x65\156\x69\144"], $res["\164\x69\x64"]); goto sQo_C; OMOXo: } public function Sendmsgs($money, $ztime, $openid, $tid) { goto mC2an; merUD: $path = "\x74\143\137\143\141\162\x64\57\x70\141\x67\145\163\x2f\165\x73\x65\x72\x2f\151\156\x64\145\170"; goto u4Jg0; D_EVm: FacSO: goto te1JV; EwB7l: goto FacSO; goto IIBO0; MLt22: $url = "\x68\164\164\x70\x73\72\57\57\x61\x70\x69\x2e\167\145\x69\170\151\156\x2e\x71\161\56\x63\157\155\57\x63\x67\x69\x2d\x62\x69\156\x2f\155\145\163\x73\x61\x67\x65\x2f\x77\170\x6f\160\145\x6e\x2f\x74\x65\x6d\x70\x6c\141\x74\145\x2f\163\x65\x6e\x64\77\141\143\x63\x65\163\163\137\164\x6f\153\x65\x6e\75" . $token; goto D7u5k; IIBO0: goto CGRgj; goto UcYTR; N8G0z: pdo_delete($this->modulename . "\137\146\157\x72\155\144\141\164\x61", array("\151\144" => $formid["\x69\144"])); goto YSqCI; cKQUg: $i++; goto wAhlw; wqFRe: if (!($i < count($list))) { goto FacSO; } goto ZB8J9; PU4wo: $list = pdo_fetchall("\x53\x45\114\x45\103\x54\40\151\144\54\x66\157\x72\x6d\x69\x64\x2c\141\144\x64\164\x69\x6d\x65\40\x46\x52\x4f\115" . tablename($this->modulename . "\x5f\x66\157\162\x6d\x64\141\x74\x61") . "\x20\x57\x48\x45\122\x45\40\157\x70\145\x6e\x69\x64\x20\x3d\x20\x3a\157\x70\x65\156\151\x64", array("\72\157\x70\145\x6e\151\144" => $tid)); goto vxszC; IrMwR: load()->func("\143\157\x6d\x6d\165\x6e\151\x63\141\164\x69\x6f\x6e"); goto MLt22; KCf3x: $formid = $list[$i]; goto EwB7l; irzap: return false; goto szu9F; jNYJ5: $nickname = pdo_fetchcolumn("\x53\105\x4c\x45\103\x54\40\156\x69\x63\153\x6e\141\x6d\x65\40\x46\x52\x4f\115" . tablename($this->modulename . "\137\165\163\x65\x72") . "\40\127\x48\105\x52\105\40\x6f\x70\x65\x6e\x69\144\x20\x3d\40\72\x6f\x70\145\x6e\x69\x64", array("\72\157\160\x65\156\x69\144" => $openid)); goto umHij; wAhlw: goto PKBjo; goto D_EVm; szu9F: goto Nl9v6; goto TY7xI; xRgIQ: $ztime = date("\x59\55\155\x2d\x64\x20\110\x3a\x73\x3a\x69", $ztime); goto jNYJ5; nsEim: if ($nowtiems > strtotime("\53\x20\x37\40\x64\141\171\x73", $list[$i]["\141\144\x64\164\151\155\x65"])) { goto vUeHm; } goto KCf3x; liEVc: Nl9v6: goto rFDB7; D7u5k: $data = array("\164\x6f\165\163\145\x72" => $tid, "\x74\x65\x6d\160\x6c\x61\x74\x65\137\151\x64" => $cfg["\x74\x65\x6d\x70\x6c\x61\164\145\x69\144"], "\x70\x61\x67\145" => $path, "\146\157\x72\155\137\151\x64" => $formid["\x66\157\162\155\151\x64"], "\x64\141\164\141" => array("\x6b\x65\x79\x77\x6f\162\144\61" => array("\x76\x61\154\x75\145" => $nickname, "\x63\157\x6c\x6f\x72" => "\x23\x46\x46\x30\60\60\x30"), "\153\145\x79\167\x6f\x72\144\x32" => array("\166\141\x6c\165\145" => $money . "\345\205\203", "\x63\157\154\157\x72" => "\43\x31\70\x30\x33\x43\x36"), "\x6b\145\x79\x77\x6f\162\x64\x33" => array("\x76\141\154\165\x65" => $ztime, "\x63\x6f\154\157\162" => "\x23\x31\x38\x30\63\x43\66"), "\x6b\x65\x79\x77\x6f\x72\x64\x34" => array("\166\x61\154\165\x65" => $nickname . "\350\247\211\345\276\x97\xe4\xbd\240\xe5\276\210\350\265\236\xef\xbc\x8c\345\xaf\271\344\275\xa0\xe8\241\250\350\xbe\276\xe4\272\206\xe6\x94\257\xe6\x8c\x81\xe5\x93\xa6", "\x63\x6f\x6c\157\x72" => "\x23\x38\x35\x35\71\145\65")), "\x65\155\x70\150\x61\x73\x69\x73\137\153\x65\171\x77\x6f\x72\144" => "\153\145\x79\167\157\x72\x64\x31\x2e\104\101\x54\101"); goto e23cu; mDNvQ: $formid = 0; goto PU4wo; vxszC: $i = 0; goto DoJ2x; vhnCT: file_put_contents(IA_ROOT . "\57\141\144\144\x6f\x6e\x73\57\164\143\137\x63\141\162\144\57\x6c\x6f\x67\56\164\170\x74", $res); goto N8G0z; e23cu: $res = ihttp_post($url, json_encode($data)); goto vhnCT; UcYTR: vUeHm: goto lNe0h; ZB8J9: $nowtiems = TIMESTAMP; goto nsEim; DoJ2x: PKBjo: goto wqFRe; rFDB7: nXf_6: goto Vp_oy; mC2an: global $_W, $_GPC; goto mDNvQ; te1JV: if (!$formid) { goto nXf_6; } goto merUD; FMs0r: $token = $account_api->getAccessToken(); goto IrMwR; u4Jg0: $cfg = $this->module["\143\157\156\x66\x69\x67"]; goto xRgIQ; BqfeE: utXuI: goto cKQUg; OSvzo: return $res; goto liEVc; YSqCI: if ($res->errcode == 0) { goto ZG911; } goto irzap; TY7xI: ZG911: goto OSvzo; umHij: $account_api = WeAccount::create(); goto FMs0r; lNe0h: pdo_delete($this->modulename . "\x5f\x66\x6f\x72\155\x64\141\164\x61", array("\x69\144" => $list[$i]["\151\x64"], "\165\x6e\151\x61\x63\x69\x64" => $_W["\x75\156\x69\141\143\x69\144"])); goto l5agF; l5agF: CGRgj: goto BqfeE; Vp_oy: } public function doPageGetfee() { goto H3YJ9; H3YJ9: global $_W, $_GPC; goto dmls7; xngSG: $fee = pdo_fetch("\x53\x45\x4c\105\103\124\40\146\145\145\40\x46\122\117\115" . tablename($this->modulename . "\x5f\x75\x73\145\x72") . "\40\127\110\105\122\x45\40\157\x70\x65\x6e\151\144\x20\75\40\72\x6f\x70\145\156\151\144", array("\x3a\x6f\x70\145\156\x69\144" => $openid)); goto chAO0; chAO0: return json_encode($fee); goto biGCY; dmls7: $openid = $_GPC["\x6f\160\145\156\151\x64"]; goto xngSG; biGCY: } public function doPageDelcard() { goto oWgK0; aBPx4: if ($rs) { goto aAtDZ; } goto HsFSa; yIQzv: return json_encode($result); goto OdXc1; zvfTS: $openid = $_GPC["\x6f\160\x65\x6e\151\144"]; goto UIkYg; OdXc1: Mp_X1: goto Tbj7E; mezMK: aAtDZ: goto ErPZe; HsFSa: $result = array("\x72\145\163\165\x6c\x74" => 0); goto hGUtV; oWgK0: global $_W, $_GPC; goto iFfdx; hGUtV: goto jnV_1; goto mezMK; ErPZe: $result = array("\x72\x65\x73\x75\x6c\x74" => 1); goto AuK86; YAdeq: $rs = pdo_delete($this->modulename . "\x5f\144\x61\164\141", array("\157\x70\145\156\151\x64" => $openid, "\x69\x64" => $id)); goto aBPx4; AuK86: jnV_1: goto yIQzv; iFfdx: if (!$_W["\151\x73\160\x6f\163\x74"]) { goto Mp_X1; } goto zvfTS; UIkYg: $id = $_GPC["\x69\144"]; goto YAdeq; Tbj7E: } }

Function Calls

None

Variables

None

Stats

MD5 d0a9ea0aa293121165944176341f8044
Eval Count 0
Decode Time 96 ms