<?php
goto cdW_b; wNL98: defined("\124\104\137\120\x41\x54\x48") or define("\124\x44\x5f\120\x41\x54\110", __DIR__); goto lLdnd; lLdnd: require_once TD_PATH . "\x2f\143\154\x61\x73\163\57\x66\x75\x6e\x63\56\x70\150\x70"; goto EmdQx; cdW_b: defined("\111\x4e\137\x49\101") or exit("\101\x63\143\x65\163\163\40\x44\x65\x6e\151\x65\144"); goto wNL98; EmdQx: class fyly_sunModuleWxapp extends WeModuleWxapp { public function doPageOpenid() { goto fMd5Y; D8zpW: $appid = $res["\141\x70\160\151\144"]; goto zptil; a1SaL: $url = "\150\x74\164\160\x73\72\57\x2f\x61\x70\151\56\x77\145\x69\170\151\x6e\56\x71\161\56\143\x6f\155\x2f\x73\x6e\163\x2f\152\163\143\x6f\144\x65\62\163\145\163\x73\x69\157\x6e\x3f\x61\x70\160\151\x64\x3d" . $appid . "\46\163\x65\x63\x72\x65\164\x3d" . $secret . "\46\x6a\163\137\x63\x6f\144\x65\75" . $code . "\46\147\162\x61\x6e\164\x5f\164\x79\160\145\x3d\141\165\164\150\157\162\x69\x7a\141\164\x69\x6f\156\x5f\x63\157\x64\x65"; goto fOAzy; LRYVV: print_r($res); goto rXjv7; BH4K3: $code = $_GPC["\x63\x6f\144\145"]; goto D8zpW; fMd5Y: global $_W, $_GPC; goto XYWzm; G9yCY: $res = httpRequest($url); goto LRYVV; XYWzm: $res = pdo_get("\146\x79\154\x79\137\x73\x75\x6e\137\163\171\163\x74\x65\155", array("\165\156\x69\141\143\x69\144" => $_W["\x75\x6e\x69\x61\x63\151\144"])); goto BH4K3; zptil: $secret = $res["\141\x70\160\x73\145\x63\162\x65\164"]; goto a1SaL; fOAzy: function httpRequest($url, $data = null) { goto Qsh9S; rZKMU: curl_setopt($curl, CURLOPT_POSTFIELDS, $data); goto k2kuh; gm17j: curl_setopt($curl, CURLOPT_URL, $url); goto tEiue; k2kuh: QyhJn: goto BIgkt; FpSL0: curl_close($curl); goto BjHb4; BIgkt: curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); goto AR6Il; AR6Il: $output = curl_exec($curl); goto FpSL0; vq_2v: curl_setopt($curl, CURLOPT_POST, 1); goto rZKMU; Qsh9S: $curl = curl_init(); goto gm17j; GYwwp: curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE); goto E2Ta9; tEiue: curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); goto GYwwp; E2Ta9: if (empty($data)) { goto QyhJn; } goto vq_2v; BjHb4: return $output; goto loGMR; loGMR: } goto G9yCY; rXjv7: } public function doPageLogin() { goto KemuT; az1aN: cMbXy: goto pcNPF; wGIAV: echo json_encode($user); goto dbAYS; r5p6l: $data["\x67\145\x6e\x64\x65\162"] = $_GPC["\x67\x65\x6e\144\145\162"]; goto sA3r5; ckgh3: $res2 = pdo_insert("\146\x79\x6c\x79\137\x73\x75\x6e\x5f\165\163\x65\162", $data); goto ilxUr; Y5g9j: echo json_encode($user); goto x_Coj; OZu40: if (!($openid and $openid != "\x75\x6e\x64\x65\x66\x69\x6e\145\144")) { goto cMbXy; } goto eJYxu; sA3r5: $data["\164\x69\x6d\x65"] = time(); goto ckgh3; L5zEk: $res = pdo_get("\146\171\154\x79\137\x73\x75\x6e\x5f\165\x73\x65\162", array("\x6f\x70\145\x6e\151\144" => $openid, "\x75\156\151\x61\143\x69\x64" => $_W["\165\x6e\x69\x61\143\151\x64"])); goto OZu40; bzE2L: $data["\x69\155\x67"] = $_GPC["\x69\x6d\x67"]; goto bAhjI; a29N4: $data["\156\141\x6d\145"] = $_GPC["\x6e\141\155\x65"]; goto q61Zi; afLN9: $user = pdo_get("\146\x79\x6c\171\x5f\x73\165\156\137\165\163\145\162", array("\x6f\160\x65\x6e\151\x64" => $openid, "\165\x6e\151\x61\x63\151\x64" => $_W["\x75\156\151\x61\x63\x69\144"])); goto Y5g9j; eJYxu: if ($res) { goto ZUyyU; } goto VQyhF; COBk4: ZUyyU: goto UY1sO; wbB_6: $data["\x6f\x70\x65\156\x69\144"] = $_GPC["\157\x70\x65\156\x69\144"]; goto opGKe; bAhjI: $data["\156\x61\155\x65"] = $_GPC["\x6e\x61\155\x65"]; goto EpZHt; hlSof: $openid = $_GPC["\157\x70\145\x6e\x69\x64"]; goto L5zEk; VQyhF: $data["\157\x70\x65\x6e\151\144"] = $_GPC["\157\x70\145\x6e\151\144"]; goto bzE2L; opGKe: $data["\x69\x6d\147"] = $_GPC["\x69\155\147"]; goto a29N4; x_Coj: CNHTT: goto az1aN; UY1sO: $user_id = $res["\x69\x64"]; goto wbB_6; KemuT: global $_GPC, $_W; goto hlSof; ilxUr: $user = pdo_get("\x66\x79\154\x79\x5f\x73\165\x6e\x5f\165\163\x65\162", array("\157\x70\x65\156\151\144" => $openid, "\x75\x6e\151\x61\143\x69\x64" => $_W["\x75\x6e\x69\x61\x63\151\144"])); goto wGIAV; rCpai: $res = pdo_update("\x66\x79\x6c\x79\137\x73\x75\x6e\137\165\163\145\x72", $data, array("\x69\x64" => $user_id)); goto afLN9; EpZHt: $data["\x75\x6e\151\x61\x63\x69\144"] = $_W["\x75\x6e\151\x61\143\x69\x64"]; goto r5p6l; dbAYS: goto CNHTT; goto COBk4; q61Zi: $data["\147\x65\x6e\x64\x65\162"] = $_GPC["\147\x65\156\144\145\x72"]; goto rCpai; pcNPF: } public function doPageAd() { goto g0ZyS; zKDus: $where = "\x20\167\150\x65\x72\145\40\x75\156\151\x61\x63\151\x64\x3d\72\165\156\151\141\x63\151\144\40\x61\156\144\x20\163\164\141\164\x75\163\75\61"; goto sd1G6; RNOqN: $sql = "\x73\145\x6c\145\143\x74\x20\52\40\x66\162\x6f\x6d\x20" . tablename("\146\x79\x6c\x79\137\163\x75\x6e\137\x61\144") . $where . "\x20\x6f\162\144\x65\x72\40\142\x79\x20\x6f\162\144\x65\x72\142\x79\x20\x61\163\143"; goto CV0Sg; g0ZyS: global $_GPC, $_W; goto zKDus; CSB3J: $where .= "\40\x61\156\144\40\x63\x69\164\171\156\x61\155\x65\x20\114\111\113\105\x20\40\x63\x6f\156\x63\x61\x74\x28\47\x25\47\x2c\x20\72\156\x61\x6d\x65\x2c\x27\45\x27\51"; goto Folt4; sd1G6: if (!$_GPC["\x63\151\x74\x79\156\x61\155\x65"]) { goto DmkJB; } goto CSB3J; QhJao: DmkJB: goto W2PLU; W2PLU: $data["\72\165\156\151\141\x63\x69\144"] = $_W["\165\156\x69\141\x63\x69\144"]; goto RNOqN; m36jk: echo json_encode($res); goto lhQss; CV0Sg: $res = pdo_fetchall($sql, $data); goto m36jk; Folt4: $data["\72\156\x61\155\145"] = $_GPC["\x63\151\164\x79\x6e\141\155\x65"]; goto QhJao; lhQss: } public function doPageUrl() { global $_GPC, $_W; echo $_W["\x61\x74\164\141\x63\150\x75\162\154"]; } public function doPageUrl2() { global $_W, $_GPC; echo $_W["\x73\151\164\145\162\157\x6f\x74"]; } public function doPageType() { goto EShTE; EShTE: global $_GPC, $_W; goto zFzd5; zU6nG: echo json_encode($res); goto BzCnf; zFzd5: $res = pdo_getall("\146\171\154\x79\x5f\163\165\156\137\164\171\x70\145", array("\x75\156\x69\141\143\x69\144" => $_W["\165\156\x69\x61\143\x69\144"], "\x73\164\141\x74\145" => 1), array(), '', "\156\165\155\40\x61\163\143"); goto zU6nG; BzCnf: } public function doPageType2() { goto GCStf; CumEx: echo json_encode($res); goto L518F; G6dBF: $res = pdo_getall("\x66\x79\x6c\171\x5f\x73\x75\x6e\137\x74\171\x70\145\62", array("\x74\171\160\145\x5f\151\x64" => $_GPC["\x69\x64"]), array(), '', "\x6e\x75\x6d\x20\x61\163\x63"); goto CumEx; GCStf: global $_GPC, $_W; goto G6dBF; L518F: } public function doPagePosting() { goto h5lk0; tJOMS: $data["\143\151\164\x79\156\141\155\145"] = $_GPC["\143\151\164\x79\x6e\141\155\x65"]; goto zX78q; jVqs_: $data["\x73\x74\x61\164\x65"] = 1; goto PYa95; zX78q: if ($_GPC["\x74\171\x70\145"]) { goto piUl7; } goto DoZwo; QEWk7: p3H8C: goto ldU2n; dzbIW: $data2["\x69\156\x66\x6f\162\x6d\141\164\151\157\156\x5f\x69\x64"] = $post_id; goto sVhDk; FVgOG: function sendRandBonus($total = 0, $count = 3) { goto Ch8eC; VMmfE: EVmyI: goto AgQX2; D28Lp: $rand_keys = (array) array_rand($input, $count - 1); goto q54zw; MG9IX: foreach ($rand_keys as $i => $key) { goto DRlXx; QFLEP: zuIkI: goto lk7C8; DRlXx: $current = $input[$key] - $last; goto a7zYQ; gyE73: $last = $input[$key]; goto QFLEP; a7zYQ: $items[] = $current; goto gyE73; lk7C8: } goto cv0Ps; q54zw: $last = 0; goto MG9IX; Ch8eC: $input = range(0.01, $total, 0.01); goto cO2Pf; AgQX2: $items[] = $total - array_sum($items); goto k0O3B; k0O3B: return $items; goto YTeSu; cO2Pf: if (!($count > 1)) { goto EVmyI; } goto D28Lp; cv0Ps: G9SKj: goto VMmfE; YTeSu: } goto boLul; h5lk0: global $_GPC, $_W; goto Gdlj1; I_6L0: $data["\165\163\x65\x72\x5f\x6e\141\155\x65"] = $_GPC["\x75\163\x65\x72\137\x6e\x61\155\x65"]; goto g1dWB; ff4An: $data["\155\x6f\156\x65\x79"] = $_GPC["\155\x6f\x6e\x65\x79"]; goto dsyhI; boLul: $hong = json_encode(sendRandBonus($_GPC["\150\x62\x5f\155\157\x6e\x65\171"], $_GPC["\150\142\137\x6e\x75\155"])); goto rMffY; MCav8: $data["\150\x62\x5f\x6b\x65\x79\x77\157\162\144"] = $_GPC["\x68\142\x5f\x6b\x65\171\x77\x6f\x72\144"]; goto BVc06; wx8Wl: $i++; goto AkAWK; Ltipa: OlqKX: goto X3z6g; DoZwo: $data["\164\x6f\160"] = 2; goto bc7lJ; aN1X4: $data["\163\164\157\162\x
- 1
- 2
- 3
前往页