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 goto k2qjz; GiIqB: include ROOT_PATH . "\x6c\x69\x62\x2f\127\x78\x70\x61\x79\x41\x..
Decoded Output download
<?php
goto k2qjz; GiIqB: include ROOT_PATH . "lib/WxpayAPI_php_v3/WxpayAPI_php_v3.php"; goto JSmvF; UIoIK: class hu_coudaModuleWxapp extends WeModuleWxapp { private $gpc; private $w; private $member; public function __construct() { goto VIxIC; tQVgf: $this->member = $member; goto ZnuX2; HaYyN: $member_id = $res["member_id"] ? $res["member_id"] : $res["share_member_id"]; goto zYTgb; XYu5O: if (!($this->member["shop_id"] == 0 && $js_default_shop["value"])) { goto dH_5p; } goto w5mFJ; C69w5: Jiajb: goto IPqPg; pxaAI: if (!isset($_GPC["debug"])) { goto A_40O; } goto smFwY; Rz3KD: return true; goto sS16X; VIxIC: global $_W; goto rQ2om; UxiNE: $form_id = $this->get("formid"); goto mcSs_; ddZyv: json("unlogin", 0); goto pBe59; LXO3W: dH_5p: goto UxiNE; smFwY: error_reporting(E_ALL); goto Is0df; cYd_4: if (!empty($res)) { goto ehWVo; } goto ddZyv; ZnuX2: $js_default_shop = pdo_get(prefix_table("cj_config"), ["key" => "js_default_shop"]); goto XYu5O; KhXQh: if (!$member) { goto VmT7Y; } goto gdfWZ; TkkLS: VFwVa: goto aZoMS; GDzWs: $res = pdo_get(prefix_table("cj_token"), ["token" => $trd_session]); goto cYd_4; LB87c: $member["no_pic"] = 1; goto amUFw; SgVeb: return true; goto TkkLS; bBD_3: $this->member["shop_id"] = $js_default_shop["value"]; goto LXO3W; Enoht: q2sXc: goto Rz3KD; w5mFJ: pdo_update(prefix_table("cj_member"), array("shop_id" => $js_default_shop["value"]), ["id" => $member_id]); goto bBD_3; zYTgb: if (!($member_id >= 1)) { goto Jiajb; } goto I2zAy; s4i42: if (!(empty($_GPC["do"]) || in_array($_GPC["do"], $noLogin))) { goto VFwVa; } goto SgVeb; I2zAy: $member = pdo_get(prefix_table("cj_member"), ["id" => $member_id]); goto KhXQh; rQ2om: global $_GPC; goto Viqz8; amUFw: LCaNb: goto tQVgf; dBPqy: $noLogin = ["login", "dorech", "upload", "image", "open", "share", "config", "advertisement", "index", "total", "qrcode"]; goto pxaAI; pBe59: ehWVo: goto HaYyN; gdfWZ: if ($member["user_img"]) { goto LCaNb; } goto LB87c; mcSs_: if (!($form_id && $form_id != "the formId is a mock one")) { goto q2sXc; } goto hX8ed; Jv2I7: update_open_more(); goto dBPqy; aZoMS: $trd_session = $this->get("trd_session"); goto GDzWs; mraNK: define("PREFIX", prefix($_W["uniacid"])); goto Jv2I7; Viqz8: $this->gpc = $_GPC; goto HzTWE; HzTWE: $this->w = $_W; goto mraNK; sS16X: VmT7Y: goto C69w5; Is0df: A_40O: goto s4i42; hX8ed: pdo_insert(prefix_table("cj_form_id"), ["member_id" => $member_id, "form_id" => $form_id, "created" => time()]); goto Enoht; IPqPg: } public function doPageSaveFromId() { json("save id succ"); } public function doPageQrcode() { goto pG8Ap; pobgF: $QR = imagecreatefromstring(file_get_contents($QR)); goto hqTM5; SOQoi: p0fIN: goto ZMY5g; qdz0m: ycU4M: goto W3gEv; yYdT9: $prize_result = pdo_get(prefix_table("cj_prize_result"), ["result_id" => $resultid]); goto Zw6pC; DePwz: @mkdir($path, 0777, true); goto qdz0m; w0yQ5: $QR = $qrcode; goto pobgF; xZbwo: imagedestroy($QR); goto PngGV; q1x5K: header("content-type:image/png"); goto e3ch0; Qaejz: wDsjB: goto HqGTn; E4p16: $matrixPointSize = 8; goto OjNpw; GNNRS: $value = $code; goto uZzBV; vVGyX: $code = $resultid; goto SOQoi; hqTM5: imagepng($QR, $qrcode); goto xZbwo; pG8Ap: $code = $this->get("code"); goto D_nMZ; OjNpw: QRcode::png($value, $qrcode, $errorCorrectionLevel, $matrixPointSize, 2); goto w0yQ5; W3gEv: $qrcode = $path . $code . ".png"; goto P37dl; ZMY5g: $path = ATTACHMENT_ROOT . "images/qrcode" . $this->w["uniacid"] . "/"; goto VGNUW; P37dl: if (is_file($qrcode)) { goto QPwgl; } goto dMlL3; e3ch0: echo file_get_contents($qrcode); goto t7Mtt; D_nMZ: if (!empty($code)) { goto wDsjB; } goto yR17o; yR17o: exit; goto Qaejz; t7Mtt: exit; goto P7E0m; dMlL3: include ROOT_PATH . "lib/phpqrcode/phpqrcode.php"; goto GNNRS; uZzBV: $errorCorrectionLevel = "L"; goto E4p16; Zw6pC: if (!($prize_result["ptype"] == 0)) { goto p0fIN; } goto vVGyX; VGNUW: if (file_exists($path)) { goto ycU4M; } goto DePwz; PngGV: QPwgl: goto q1x5K; HqGTn: $resultid = $this->get("resultid"); goto yYdT9; P7E0m: } public function doPageAuthor() { goto T3SJr; QrvJn: json('', 2); goto wbWEI; HvkKo: json(''); goto xOfHG; T3SJr: if (!($this->member["user_img"] || $this->member["nickname"])) { goto Jz7tg; } goto HvkKo; xOfHG: Jz7tg: goto QrvJn; wbWEI: } public function doPageRelease() { goto BlPKW; BRpVI: $msg = $msg ? $msg["value"] : "\xe6\x97\240\345\217\221\345\xb8\203\346\x9d\x83\351\231\220"; goto hb7O1; O5iIp: $data = ["is_release" => $is_release, "msg" => $msg]; goto TW1Q3; TW1Q3: json($data); goto ablF6; h4Q6a: if ($is_release) { goto u_sFs; } goto TQK0_; TQK0_: $msg = pdo_get(prefix_table("cj_config"), ["key" => "release_msg"]); goto BRpVI; hb7O1: u_sFs: goto O5iIp; BlPKW: $is_release = $this->_release(); goto p0Os_; p0Os_: $msg = ''; goto h4Q6a; ablF6: } private function _release() { goto MMAei; HYzSR: $is_release = $config ? $config["value"] : 0; goto AY60a; AY60a: $is_release = $is_release == 1 ? $this->member["is_release"] : $is_release; goto x7wm7; x7wm7: return $is_release; goto BSr2v; MMAei: $config = pdo_get(prefix_table("cj_config"), ["key" => "is_release"]); goto HYzSR; BSr2v: } public function doPageVoucher() { goto OoIBY; OoIBY: $priae = new prize(); goto xeNrB; ErLGw: json('', 2); goto CPCbm; eWdLc: if (!$goods) { goto lLboz; } goto JEl_U; wLr2g: lLboz: goto ErLGw; JEl_U: json($goods); goto wLr2g; xeNrB: $goods = $priae->is_voucher($this->member["id"]); goto eWdLc; CPCbm: } public function doPageUpload() { goto DH54g; vl7B7: json("\xe8\xbf\234\347\250\x8b\xe9\231\x84\xe4\273\xb6\xe4\xb8\x8a\344\xbc\xa0\345\244\xb1\350\264\xa5", 0); goto LFyHo; MXiLr: e0nJn: goto uAHVj; WDEFL: if (pdo_insert(prefix_table("cj_resource"), $data)) { goto rjUOG; } goto SK36i; SCeeL: if (!isset($reslut["errno"])) { goto xnXus; } goto ahmsN; aNC5E: HGC3t: goto DVpYQ; zm6_A: $pic = "/" . $reslut["path"]; goto Vyy3G; QPRk4: $data = ["member_id" => $this->member["id"], "route" => $pic, "created" => time()]; goto WDEFL; CZBBp: $_FILES["file"]["name"] = $_FILES["file"]["name"] . ".png"; goto MXiLr; RPmJ4: $remotestatus = file_remote_upload($reslut["path"]); goto laOEd; SK36i: json("\351\242\206\345\217\x96\xe5\244\261\xe8\xb4\245", 0); goto I_RH3; y49ol: json(pdo_insertid()); goto s4QSM; uAHVj: if (isset($_FILES["file"])) { goto HGC3t; } goto ioiKn; DVpYQ: load()->func("file"); goto DqRRs; laOEd: if (!is_error($remotestatus)) { goto v5cuJ; } goto vl7B7; I_RH3: rjUOG: goto y49ol; LFyHo: v5cuJ: goto HS4HR; ahmsN: json($reslut["message"], 0); goto HV1zt; gjrDb: if (!$jietu) { goto e0nJn; } goto CZBBp; HS4HR: EGFeN: goto QPRk4; DqRRs: $reslut = file_upload($_FILES["file"]); goto SCeeL; HV1zt: xnXus: goto zm6_A; ioiKn: json("\xe8\xaf\267\xe4\270\212\344\xbc\240\xe5\233\xbe\xe7\x89\x87", 0); goto aNC5E; DH54g: $jietu = $this->get("jietu"); goto gjrDb; Vyy3G: if (!$this->_is_oss()) { goto EGFeN; } goto RPmJ4; s4QSM: } private function L($info) { goto ZtQI4; txdzw: $info = print_r($info, 1); goto QdNgj; ZtQI4: if (!is_array($info)) { goto rbaz2; } goto txdzw; Lnwkf: logging_run($info); goto AKGel; hEhtT: load()->func("logging"); goto Lnwkf; QdNgj: rbaz2: goto hEhtT; AKGel: } public function doPageShare() { goto fcN22; i53dd: $default_prize_img = pdo_get(prefix_table("cj_config"), ["key" => "default_prize_img"]); goto kUR6q; VxxpG: $handle = $handle->text(" x " . $info["sec_num"], IA_ROOT . "/addons/" . $m . "/template/font/msyh.ttf", 12, "#999999", array(370, 285 + $addheight)); goto qOCXi; hOvtw: if (!$fir) { goto WGJJL; } goto znuJw; oJQWL: exit; goto JrGAB; Owua1: if (file_exists($path)) { goto cWwjN; } goto DBRYw; DBRYw: @mkdir($path, 0777, true); goto PWPoD; j4aJ8: header("content-type:image/png"); goto Z2AyX; yLSW_: $trd = mb_substr($trd, 0, 14, "utf-8") . "..."; goto vNuOt; j5GA3: $handle = $handle->text("\xe4\xba\x8c\xe7\255\211\345\245\226\xef\xbc\x9a" . $sec, IA_ROOT . "/addons/" . $m . "/template/font/msyh.ttf", 16, "#000000", array(12, 285 + $addheight)); goto VxxpG; Fq6uX: eSn1A: goto gOkGF; OlRDV: $info = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto VpdWG; g0wtx: WGJJL: goto mtw7T; wCDGk: $handle = $handle->text($open_type, IA_ROOT . "/addons/" . $m . "/template/font/msyh.ttf", 12, "#9F9494", array(12, 302)); goto XX7kX; YpdiJ: dom5T: goto S583S; xXxKn: I1vDH: goto JCHy5; MuHhm: $sec = mb_substr($sec, 0, 14, "utf-8") . "..."; goto j5GA3; mtw7T: $open_type = 1 == $info["type"] ? date("\xe5\xae\x9a\346\x97\266\xe5\274\x80\xe5\xa5\x96\xe6\227\xb6\xe9\227\xb4Y-m-d H:i", $info["typevalue"]) : (2 == $info["type"] ? "\xe8\xbe\xbe\345\210\260" . $info["typevalue"] . "\xe4\272\272\xe6\x95\260\345\xbc\200\xe5\xa5\x96" : "\xe5\x8f\x91\xe8\xb5\267\350\200\205\346\211\213\345\x8a\250\345\xbc\x80\xe5\245\x96"); goto wCDGk; p7f7T: BcWDH: goto j4aJ8; znuJw: if ($sec) { goto sSrGJ; } goto Zq_V4; Rg8OD: if (!empty($id)) { goto kX6Be; } goto oJQWL; XR8JR: if (!$trd) { goto Wlwrf; } goto yLSW_; JrGAB: kX6Be: goto Llgia; tpbK2: $handle = $handle->text(" x " . $info["trd_num"], IA_ROOT . "/addons/" . $m . "/template/font/msyh.ttf", 12, "#999999", array(370, 279)); goto y6ztq; gOkGF: BYQGY: goto xXxKn; zmuiZ: CU908: goto i53dd; LwBlY: if (!$this->_is_oss()) { goto eSn1A; } goto CAM_0; PWPoD: cWwjN: goto Qz8qw; qOCXi: WyI5V: goto hOvtw; Llgia: $m = $this->gpc["m"]; goto tZ2Pd; fcN22: $id = $this->get("id"); goto Rg8OD; CaCkV: $aimg->thumb(396, 196, 3)->save($apath_temp); goto bZl7h; eNo7y: $Image = new Image(); goto UQJ30; d07_D: exit; goto zmuiZ; B1fTP: C15IW: goto tcf1U; rBRqQ: $apath_temp = ATTACHMENT_ROOT . $id . "_sub_temp.png"; goto CaCkV; QVz4_: $arr = array("fir", "sec", "trd"); goto Frr1z; WAktx: $img = pdo_get(prefix_table("cj_resource"), ["id" => $info["attach_id"]]); goto zEByz; tcf1U: $apath = ATTACHMENT_ROOT . $this->getImage($default_prize_img["value"], true); goto nbpeu; UQJ30: $path = IA_ROOT . "/addons/hu_couda/images/share" . $this->w["uniacid"] . "/" . $id; goto Owua1; tZ2Pd: include ROOT_PATH . "lib/Gd.class.php"; goto juTMg; Zq_V4: $addheight = 0; goto R88kv; w7Q35: $fir = mb_substr($fir, 0, 14, "utf-8") . "..."; goto TgrY0; JCHy5: $aimg = $Image->open($apath); goto rBRqQ; bZl7h: $img = $Image->open($bg); goto QVz4_; R88kv: sSrGJ: goto w7Q35; KcPsR: $addheight = 0; goto XR8JR; XX7kX: $handle->save($sharepath); goto NIGYn; Frr1z: foreach ($arr as $v) { goto alXlg; alXlg: ${$v} = ''; goto XNn6Z; H5xO3: switch ($info[$v . "_ptype"]) { case "0": ${$v} = $info[$v . "_val"]; goto G3Vby; case "1": ${$v} = $info[$v . "_val"] . "\357\xbf\245"; goto G3Vby; case "2": ${$v} = $info[$v . "_cname"]; goto G3Vby; } goto oecBq; oecBq: yZ6Wd: goto Ea9VN; Ea9VN: G3Vby: goto JX1H4; d5NZs: lCz32: goto vXbhx; XNn6Z: if (empty($info[$v . "_num"])) { goto X3Gil; } goto H5xO3; JX1H4: X3Gil: goto d5NZs; vXbhx: } goto YpdiJ; mmB5p: exit; goto uTGEm; kUR6q: if ($default_prize_img["value"]) { goto C15IW; } goto XRek3; Z2AyX: echo file_get_contents($sharepath); goto mmB5p; y6ztq: Wlwrf: goto Es90T; juTMg: include ROOT_PATH . "lib/Image.class.php"; goto eNo7y; S583S: $handle = $img->water($apath_temp, array(12, 12), 100); goto KcPsR; TgrY0: $handle = $handle->text("\xe4\270\200\347\xad\x89\345\xa5\226\xef\xbc\x9a" . $fir, IA_ROOT . "/addons/" . $m . "/template/font/msyh.ttf", 16, "#000000", array(12, 255 + $addheight)); goto Wqmj3; F62uz: if (empty($info["attach_id"])) { goto I1vDH; } goto WAktx; Qz8qw: $sharepath = $path . "/m_" . $this->member["id"] . ".png"; goto dFUEe; XRek3: $apath = IA_ROOT . "/addons/" . $m . "/template/attach2.jpg"; goto dmG8v; NIGYn: unlink($apath_temp); goto p7f7T; nbpeu: GErm2: goto F62uz; zEByz: if (!$img) { goto BYQGY; } goto SSDRR; AmNeP: $addheight = -30; goto MuHhm; MkRte: $bg = IA_ROOT . "/addons/" . $m . "/template/sharebg.png"; goto OlRDV; vNuOt: $handle = $handle->text("\344\270\211\347\255\211\345\xa5\226\357\xbc\232" . $trd, IA_ROOT . "/addons/" . $m . "/template/font/msyh.ttf", 16, "#000000", array(12, 279)); goto tpbK2; VpdWG: if (!empty($info)) { goto CU908; } goto d07_D; dmG8v: goto GErm2; goto B1fTP; SSDRR: $apath = ATTACHMENT_ROOT . $img["route"]; goto LwBlY; Es90T: if (!$sec) { goto WyI5V; } goto AmNeP; CAM_0: file_put_contents($apath, file_get_contents($this->w["attachurl"] . $img["route"])); goto Fq6uX; Wqmj3: $handle = $handle->text(" x " . $info["fir_num"], IA_ROOT . "/addons/" . $m . "/template/font/msyh.ttf", 12, "#999999", array(370, 255 + $addheight)); goto g0wtx; dFUEe: if (is_file($sharepath)) { goto BcWDH; } goto MkRte; uTGEm: } public function doPageShareImg() { goto hg6yY; hg6yY: $id = $this->get("id"); goto DYYq0; zfaEv: unlink($qr_temp); goto jQPb_; nbQmW: $textWidth = imagefontwidth(24) * mb_strlen($fir); goto MJL48; tj4pU: if ($prize["trd_ptype"] == "0") { goto Cl5NZ; } goto zWkE8; E8FU1: mWcMu: goto GcyFb; agJHy: exit; goto xaTAE; pkvxL: if ($prize["sec_ptype"] == "0") { goto XZnss; } goto Zfum0; dJBVT: $open_type = 1 == $prize["type"] ? date("Y-m-d H:i", $prize["typevalue"]) . "\350\207\252\xe5\212\xa8\xe5\274\x80\345\245\226" : (2 == $prize["type"] ? "\350\xbe\xbe\345\210\xb0" . $prize["typevalue"] . "\xe4\272\xba\xe8\x87\252\345\x8a\250\345\274\200\345\220\257" : "\xe7\x94\xb1\345\x8f\x91\350\265\xb7\350\200\x85\xe6\x89\213\345\212\250\345\274\x80\xe5\x90\257"); goto QwI5e; fH6c_: HTAG7: goto dJBVT; amEdZ: $aimg = $Image->open($apath); goto BVJi9; uxhnX: $fir = !empty($prize["fir_num"]) ? $prize["fir_ptype"] == "0" ? $prize["fir_val"] : $prize["fir_val"] . "\xe5\205\203\xe7\216\260\351\207\221\xe7\272\xa2\xe5\214\205" : ''; goto Pr5Ss; Q3_EQ: unlink($apath_temp); goto BJc0m; zWkE8: if ($prize["trd_ptype"] == 1) { goto To3q6; } goto Lzk6N; cGe1z: $fir = $prize["fir_val"]; goto LlbCN; yhpqJ: $wxObj = new Wxadoc($option); goto n0Rbg; LlbCN: goto RMjxy; goto SwBze; X7Ou_: owUJ1: goto fM6wk; zFqC3: $qr_temp = ATTACHMENT_ROOT . "qr_temp" . $id . ".jpg"; goto IWy7q; MJL48: $handle = $img->water($apath_temp, array(49, 266), 100)->water($qrpath, array(265, 796), 100)->water($headpath, array(326, 32), 100); goto N9_S3; AaY3V: $onlySecondHeight = 0; goto qvq2G; ht33S: $handle->save($sharepath); goto Q3_EQ; SwBze: kK2Zo: goto UMW2j; PWvjg: NcATf: goto xm7XA; uSeZw: $aimg->thumb(654, 326, 3)->save($apath_temp); goto L5Iyl; y_pxB: exit; goto X7Ou_; BVJi9: $apath_temp = ATTACHMENT_ROOT . $id . "_temp.png"; goto uSeZw; iUOvL: file_put_contents($apath, file_get_contents($this->w["attachurl"] . $this->getImage($prize["attach_id"], true))); goto CU14Z; N7OaG: if (!$trd) { goto HTAG7; } goto sffad; s3cCP: if (is_file($sharepath)) { goto z0kQC; } goto PiLUz; Ql3bx: $trd = !empty($prize["trd_num"]) ? $prize["trd_ptype"] == "0" ? $prize["trd_val"] : $prize["trd_val"] . "\xe5\x85\203\347\x8e\xb0\xe9\207\221\347\xba\xa2\345\x8c\205" : ''; goto pkvxL; BJc0m: z0kQC: goto HAkta; qWOn8: $apath = ATTACHMENT_ROOT . $this->getImage($prize["share_pic"], true); goto xjAKh; QMv58: $path = ATTACHMENT_ROOT . "images/shareImg" . $this->w["uniacid"] . "/"; goto ZPEDp; DYYq0: if (!empty($id)) { goto gjCPj; } goto A14Fh; sffad: $trd = mb_substr($trd, 0, 16, "utf-8") . "..."; goto u303O; Psfg7: $trd = $prize["trd_val"]; goto x8bVv; atNef: RMjxy: goto scVr3; P4Zj4: goto HSe7e; goto bite_; DfjJ9: e7gLC: goto PqFzQ; n0Rbg: $res = $wxObj->createwxaqrcode($id, "pages/partake/partake", 430, false, array("r" => 72, "g" => 145, "b" => 92)); goto thcDt; gdFg4: if (empty($prize)) { goto Jf44y; } goto OFZnh; q3WSM: mjlxY: goto pG0FR; X_8SF: $headpath = ATTACHMENT_ROOT . "head" . $this->member["id"] . ".png"; goto VRe3S; jQPb_: E46Ic: goto yav_q; V4tub: YSUDH: goto a6otK; xm7XA: $fir = mb_substr($fir, 0, 16, "utf-8") . "..."; goto bOI37; D5c6t: XZnss: goto gIol_; Pr5Ss: if ($prize["fir_ptype"] == "0") { goto InzwF; } goto A4Ab0; scVr3: $sec = !empty($prize["sec_num"]) ? $prize["sec_ptype"] == "0" ? $prize["sec_val"] : $prize["sec_val"] . "\345\205\203\xe7\216\260\351\x87\221\347\xba\242\xe5\x8c\205" : ''; goto Ql3bx; dkHFX: imagedestroy($imgg); goto xnHx6; PqFzQ: $onlyFirstHeigh = 0; goto AaY3V; hGkhL: goto vdQZf; goto UPOwj; kCe6T: $sharepath = $path . $this->member["id"] . "_share_201911" . $id . ".png"; goto s3cCP; PiLUz: if (file_exists(ATTACHMENT_ROOT . "qr" . $this->w["uniacid"])) { goto dMOdE; } goto wXVbj; UMW2j: $fir = $prize["fir_val"] . "\345\x85\203\xe7\216\260\xe9\207\x91\xe7\xba\242\xe5\214\x85"; goto atNef; AjxbG: $nickname = $this->member["nickname"]; goto kfNft; Q67hB: $default_prize_img = pdo_get(prefix_table("cj_config"), ["key" => "default_prize_img"]); goto ChFr1; OFZnh: if (!$prize["share_pic"]) { goto zdMY4; } goto qWOn8; mP4uY: echo file_get_contents($sharepath); goto zRkRu; RgRTV: $apath = ATTACHMENT_ROOT . $this->getImage($default_prize_img["value"], true); goto DYg20; hj0FC: o0guh: goto Q67hB; UPOwj: aRkJT: goto tgHpn; tgHpn: $sec = $prize["sec_val"] . "\345\x85\x83\347\x8e\260\xe9\x87\x91\347\xba\xa2\xe5\x8c\205"; goto aTx_Q; zRkRu: exit; goto OCKKM; xaTAE: zdMY4: goto wGxzZ; BINwR: HSe7e: goto nbQmW; bite_: Cl5NZ: goto Psfg7; qWU2a: header("content-type:image/png"); goto bnyMi; GcyFb: if (!$fir) { goto ZjWtK; } goto NeEa1; TxZZo: b8Vuh: goto RgRTV; N9_S3: if (!$title) { goto e7gLC; } goto DfjJ9; qvq2G: if (!$sec) { goto mWcMu; } goto kt7tw; vl39i: echo file_get_contents($bg); goto y_pxB; ENOLH: $headpath_temp = ATTACHMENT_ROOT . "head" . $this->member["id"] . ".jpg"; goto X_8SF; YATWA: if (is_file($qrpath)) { goto E46Ic; } goto zFqC3; LeF9J: gjCPj: goto j2KVd; vCL1o: $imgg = yuan_img($headpath_temp); goto trVf8; XCtmA: $handle = $handle->text("\xe4\xba\x8c\347\xad\x89\345\xa5\226\xef\xbc\x9a" . $sec . " x " . $prize["sec_num"], IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/font/msyh.ttf", 24, "#000000", array(60, 650 + $onlyFirstHeigh + $onlySecondHeight)); goto E8FU1; kfNft: $title = $prize["title"]; goto uxhnX; xhwLa: $onlyFirstHeigh = 40; goto PWvjg; ZPEDp: if (file_exists($path)) { goto UJCRQ; } goto OELNi; HAkta: header("content-type:image/png"); goto mP4uY; xlRow: $trd = $prize["trd_val"] . "\xe5\x85\203\347\x8e\xb0\351\207\221\xe7\xba\xa2\345\214\x85"; goto BINwR; gIol_: $sec = $prize["sec_val"]; goto hGkhL; VMbiY: dMOdE: goto PZBei; wXVbj: @mkdir(ATTACHMENT_ROOT . "qr" . $this->w["uniacid"], 0777, true); goto VMbiY; Hoxp4: $sec = $prize["sec_cname"]; goto riQ2t; j2KVd: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto gdFg4; ze0f7: goto mjlxY; goto TxZZo; bnyMi: $bg = IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/bg2.png"; goto vl39i; kt7tw: if ($trd) { goto YSUDH; } goto Sfkqd; FNqqx: $qrimg = $Image->open($qr_temp); goto ahePQ; ULHNP: UJCRQ: goto kCe6T; A14Fh: exit; goto LeF9J; u303O: $handle = $handle->text("\xe4\270\x89\347\255\211\345\245\226\357\xbc\x9a" . $trd . " x " . $prize["trd_num"], IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/font/msyh.ttf", 24, "#000000", array(60, 690)); goto fH6c_; jKi8p: To3q6: goto xlRow; CU14Z: FR0lb: goto lUR1w; NeEa1: if ($sec) { goto NcATf; } goto xhwLa; uj2OR: $Image = new Image(); goto QMv58; IWy7q: $option = array("appid" => $this->w["uniaccount"]["key"], "secret" => $this->w["uniaccount"]["secret"]); goto yhpqJ; aW6jQ: $himg->thumb(100, 100, 3)->save($headpath_temp); goto vCL1o; WdtBW: BdGX4: goto q3WSM; PZBei: $qrpath = ATTACHMENT_ROOT . "qr" . $this->w["uniacid"] . "/qr217" . $id . ".png"; goto YATWA; pG0FR: wxTCB: goto ENOLH; riQ2t: goto vdQZf; goto D5c6t; wGxzZ: goto owUJ1; goto ne31b; ChFr1: if ($default_prize_img["value"]) { goto b8Vuh; } goto EEmNo; meYWn: xMOz0: goto N7OaG; ahePQ: $qrimg->thumb(217, 217)->save($qrpath); goto zfaEv; L5Iyl: $img = $Image->open($bg); goto AjxbG; aTx_Q: vdQZf: goto tj4pU; thcDt: file_put_contents($qr_temp, $res); goto FNqqx; xnHx6: unlink($headpath_temp); goto amEdZ; fM6wk: include ROOT_PATH . "lib/Gd.class.php"; goto mcOjm; mcOjm: include ROOT_PATH . "lib/Image.class.php"; goto uj2OR; hU4Dh: echo file_get_contents($apath); goto agJHy; Sfkqd: $onlyFirstHeigh = 15; goto FqgGx; bOI37: $handle = $handle->text("\xe4\xb8\200\347\xad\211\345\xa5\226\357\xbc\232" . $fir . " x " . $prize["fir_num"], IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/font/msyh.ttf", 22, "#000000", array(60, 613 + $onlyFirstHeigh)); goto t63Fs; iCQGU: $fir = $prize["fir_cname"]; goto iZZLo; PldYL: file_put_contents($apath, file_get_contents($this->w["attachurl"] . $this->getImage($prize["share_pic"], true))); goto JlEfi; Lzk6N: $trd = $prize["trd_cname"]; goto P4Zj4; VRe3S: file_put_contents($headpath_temp, file_get_contents($this->member["user_img"])); goto EC3qQ; EC3qQ: $himg = $Image->open($headpath_temp); goto aW6jQ; JlEfi: V2RPH: goto ZrkNq; t63Fs: ZjWtK: goto F7ML_; yav_q: $bg = IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/bg2.png"; goto Isy0I; gL3oq: InzwF: goto cGe1z; pTWDJ: $handle = $handle->text($sec . "*" . $prize["sec_num"], IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/font/msyh.ttf", 24, "#000000", array(60, 650)); goto meYWn; Isy0I: if (empty($prize["attach_id"])) { goto o0guh; } goto In7pI; iZZLo: goto RMjxy; goto gL3oq; QwI5e: $handle = $handle->text($open_type, IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/font/msyh.ttf", 18, "#9F9494", array(60, 741)); goto ht33S; lUR1w: goto wxTCB; goto hj0FC; ZrkNq: header("content-type:image/png"); goto hU4Dh; In7pI: $apath = ATTACHMENT_ROOT . $this->getImage($prize["attach_id"], true); goto jXtue; DYg20: if (!$this->_is_oss()) { goto BdGX4; } goto tAQlu; ne31b: Jf44y: goto qWU2a; jXtue: if (!$this->_is_oss()) { goto FR0lb; } goto iUOvL; FqgGx: $onlySecondHeight = 10; goto V4tub; Zfum0: if ($prize["sec_ptype"] == 1) { goto aRkJT; } goto Hoxp4; tAQlu: file_put_contents($apath, file_get_contents($this->w["attachurl"] . $this->getImage($default_prize_img["value"], true))); goto WdtBW; x8bVv: goto HSe7e; goto jKi8p; EEmNo: $apath = IA_ROOT . "/addons/" . $this->gpc["m"] . "/template/attach2.jpg"; goto ze0f7; A4Ab0: if ($prize["fir_ptype"] == 1) { goto kK2Zo; } goto iCQGU; trVf8: imagepng($imgg, $headpath); goto dkHFX; xjAKh: if (!$this->_is_oss()) { goto V2RPH; } goto PldYL; a6otK: $sec = mb_substr($sec, 0, 16, "utf-8") . "..."; goto XCtmA; F7ML_: if (!(0 && $sec)) { goto xMOz0; } goto pTWDJ; OELNi: @mkdir($path, 0777, true); goto ULHNP; OCKKM: } public function doPageImage() { goto ywzSX; voDM8: json("\xe5\x8f\202\xe6\225\xb0\351\x94\231\350\xaf\xaf", 0); goto p2Ouz; ywzSX: $id = $this->get("id"); goto QfFkr; E75Je: $image = pdo_get(prefix_table("cj_resource"), ["id" => $id]); goto HqxFh; fsRnB: F86Qs: goto crL1D; p2Ouz: bPvOm: goto E75Je; crL1D: header("content-type:image/png"); goto rfsQH; S41r5: json("\345\x9b\276\347\x89\207\344\270\215\xe5\255\230\xe5\234\xa8", 0); goto fsRnB; t2y2L: GKBXQ: goto eMhwD; OO8UJ: dUZAD: goto Wqreq; wh4YX: echo file_get_contents(ATTACHMENT_ROOT . $image["route"]); goto A_YDU; Wqreq: die; goto UZOnY; A_YDU: goto dUZAD; goto t2y2L; eMhwD: echo file_get_contents($this->w["attachurl"] . $image["route"]); goto OO8UJ; HqxFh: if (!empty($image)) { goto F86Qs; } goto S41r5; rfsQH: if ($this->_is_oss()) { goto GKBXQ; } goto wh4YX; QfFkr: if (is_numeric($id)) { goto bPvOm; } goto voDM8; UZOnY: } public function doPageLogin() { goto kVKNS; rI7RM: $member = pdo_get(prefix_table("cj_member"), ["openid" => $res["openid"]]); goto XY57a; p2yMF: $_SESSION["member_id"] = $member["id"]; goto A_M18; fIvOI: $member["id"] = pdo_insertid(); goto J9S44; qsy9f: FsDOb: goto rI7RM; JJSc4: if (!(false === ($res = $wxObj->jscode2session($code)))) { goto FsDOb; } goto G4ubR; J9S44: bnzsA: goto p2yMF; A_M18: $_SESSION["openid"] = $res["openid"]; goto RTDS1; RTDS1: $_SESSION["session_key"] = $res["session_key"]; goto YJOcJ; pfg0w: $wxObj = new Wxadoc($option); goto JJSc4; G4ubR: json($wxObj->getError(), 0); goto qsy9f; xzWP9: if (!empty($code)) { goto zut5h; } goto jT9a6; ZGpSX: $option = ["appid" => $this->w["uniaccount"]["key"], "secret" => $this->w["uniaccount"]["secret"]]; goto pfg0w; XY57a: if (!empty($member)) { goto bnzsA; } goto Y6Yu2; j2N_K: json($token); goto Q70eX; K6N8I: $insert = ["token" => $token, "member_id" => $member["id"], "created" => time()]; goto CZogC; ldBzh: zut5h: goto ZGpSX; kVKNS: $code = $this->get("code"); goto xzWP9; jT9a6: json("\xe5\217\202\xe6\x95\260\xe9\x94\x99\350\257\257"); goto ldBzh; CZogC: pdo_insert(prefix_table("cj_token"), $insert); goto j2N_K; YJOcJ: $token = md5($member["id"] . time() . "9xy"); goto K6N8I; Y6Yu2: pdo_insert(prefix_table("cj_member"), ["openid" => $res["openid"]]); goto fIvOI; Q70eX: } public function doPageRegister() { goto jVHzq; GXn1M: xTGp7: goto whS0M; qyt28: json("\351\x9d\236\346\xb3\x95\350\xaf\xb7\346\261\x82", 0); goto xPAzv; JUIUV: $trd_session = $this->get("trd_session"); goto jpLhi; jVHzq: $member_id = $this->member["id"]; goto uSwNP; G4YmN: $res = $wxbd->decryptData($encryptedData, $iv, $data); goto hVie_; whS0M: $update = ["nickname" => $this->get("nickname"), "user_img" => $this->get("headimgurl") ? $this->get("headimgurl") : $this->w["siteroot"] . "addons/hu_couda/template/images/nopic.jpg", "gender" => $this->get("gender"), "province" => $this->get("province"), "city" => $this->get("city"), "country" => $this->get("country"), "add_time" => time(), "set_time" => time()]; goto lt1V6; hVie_: if (!($res != ErrorCode::$OK)) { goto bXj2i; } goto bHH7q; vEAY8: $iv = $this->get("iv"); goto xHjmo; VB4pl: bXj2i: goto GXn1M; MrO2g: json("ok"); goto k0kSj; xPAzv: XuWDd: goto XE520; Z_0Tn: include ROOT_PATH . "lib/WXBizDataCrypt.php"; goto jhgEd; jpLhi: $res = pdo_get(prefix_table("cj_token"), ["token" => $trd_session]); goto vEAY8; bHH7q: json("\346\x95\xb0\xe6\x8d\xae\xe6\233\264\346\226\xb0\xe5\xa4\xb1\350\xb4\xa5", 0); goto VB4pl; lt1V6: pdo_update(prefix_table("cj_member"), $update, ["id" => $member_id]); goto MrO2g; uSwNP: if (!(!$this->get("nickname") || !$this->get("headimgurl"))) { goto XuWDd; } goto qyt28; XE520: if (!0) { goto xTGp7; } goto JUIUV; xHjmo: $encryptedData = $this->get("encryptedData"); goto Z_0Tn; jhgEd: $wxbd = new WXBizDataCrypt($this->w["uniaccount"]["key"], $res["session_key"]); goto G4YmN; k0kSj: } public function doPageMy() { $this->member["nickname"] = mb_substr($this->member["nickname"], 0, 10, "UTF-8"); json($this->member); } public function doPageWithdrawals() { goto cN2gI; n_2x_: if (!($money < 1 or $money > 200)) { goto vCqc1; } goto Yhjde; Iareh: vCqc1: goto QGhs_; QGhs_: $start = strtotime(date("Y-m-d", time())); goto gcN7U; coc29: json("\xe6\217\220\347\x8e\xb0\346\210\220\xe5\x8a\x9f", 1); goto d1cqT; gcN7U: $sql = "SELECT COUNT(1) as count FROM " . tablename(prefix_table("cj_withdrawals")) . " WHERE created>" . $start; goto wRymn; wRymn: $res = pdo_fetch($sql); goto Y0kUK; ZjO03: pdo_begin(); goto DnJK5; Yhjde: json("\xe6\x8f\x90\347\x8e\xb0\xe9\x87\221\xe9\242\x9d\xe4\270\2721-200\xe5\x85\203\344\271\213\351\x97\xb4", 0); goto Iareh; rzrws: BKdA8: goto ZjO03; Y0kUK: if (!(!empty($res) && $res["count"] > 2)) { goto BKdA8; } goto rzrws; cN2gI: $money = $this->get("money", 0); goto n_2x_; DnJK5: try { goto G0zVr; EooLF: $this->setPayment(); goto ERf9i; U_ozi: tyi58: goto wI8xS; tGQq6: throw new Exception("\346\217\220\xe7\x8e\260\xe5\xa4\xb1\xe8\xb4\245"); goto D6kil; RcY_E: $insert_id = pdo_insertid(); goto Elf6a; pwrQx: uge7b: goto hPMUP; hPMUP: pdo_commit(); goto CAwh9; G0zVr: $insert = ["member_id" => $this->member["id"], "money" => $money, "created" => time()]; goto EooLF; qQHmO: throw new Exception($p->error); goto U_ozi; QRu0r: throw new Exception("\xe6\217\220\347\216\260\xe5\244\261\xe8\xb4\xa5"); goto pwrQx; Gr6FB: if ($p->change($this->member["id"], $money, 2)) { goto tyi58; } goto qQHmO; ERf9i: $p = new prize(); goto Gr6FB; wI8xS: if (pdo_insert(prefix_table("cj_withdrawals"), $insert)) { goto plsda; } goto tGQq6; D6kil: plsda: goto RcY_E; Elf6a: if ($p->cash($insert_id)) { goto uge7b; } goto QRu0r; CAwh9: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto coc29; d1cqT: } private function setPayment() { goto i_3eS; X3saE: WxPayConfig::$SSLKEY_PATH = $key["value"]; goto Kr8_C; F1FMA: WxPayConfig::$SSLCERT_PATH = $cert["value"]; goto X8Cv3; wVFnA: $key = pdo_get(prefix_table("cj_config"), ["key" => "apiclient_key"]); goto FGb91; Tz4PQ: WxPayConfig::$APPSECRET = $this->w["uniaccount"]["secret"]; goto H9ThZ; Kr8_C: dlNLz: goto NTWhz; FGb91: if (empty($key)) { goto dlNLz; } goto X3saE; uQ2hS: WxPayConfig::$MCHID = $this->w["account"]["setting"]["payment"]["wechat"]["mchid"]; goto LrAwE; H9ThZ: $cert = pdo_get(prefix_table("cj_config"), ["key" => "apiclient_cert"]); goto NNttP; X8Cv3: YWmXp: goto wVFnA; LrAwE: WxPayConfig::$KEY = $this->w["account"]["setting"]["payment"]["wechat"]["signkey"]; goto Tz4PQ; NNttP: if (empty($cert)) { goto YWmXp; } goto F1FMA; i_3eS: WxPayConfig::$APPID = $this->w["uniaccount"]["key"]; goto uQ2hS; NTWhz: } public function doPageProblem() { goto jXkrj; ClIyZ: eKox4: goto iO3IF; eSx_g: foreach ($data as &$value) { $value["hidden"] = true; OGOSE: } goto ClIyZ; jXkrj: $data = pdo_getall(prefix_table("cj_common_problem"), ["status" => 1]); goto eSx_g; iO3IF: json($data); goto qcDzd; qcDzd: } public function doPageHistory() { goto gbO2h; PCL0p: foreach ($order as &$value) { goto vm8dk; weHLV: $value["pinfo"] = pdo_get(prefix_table("cj_prize"), ["id" => $value["prize_id"]]); goto E19_d; vm8dk: $value["is_win"] = pdo_get(prefix_table("cj_prize_result"), ["prize_id" => $value["prize_id"], "member_id" => $this->member["id"]]); goto weHLV; l2sXX: P3XOk: goto rEokg; E19_d: $value["pinfo"]["minfo"] = pdo_get(prefix_table("cj_member"), ["id" => $value["pinfo"]["member_id"]]); goto l2sXX; rEokg: } goto AtYHY; Lkflk: $cj_prize = tablename(prefix_table("cj_prize")); goto ob6D7; ob6D7: $sql = "SELECT A.* FROM {$cj_order} A LEFT JOIN {$cj_prize} B ON A.prize_id=B.id WHERE A.member_id = {$this->member["id"]} AND B.status={$status} ORDER BY order_id DESC LIMIT {$limit}, {$page_size}"; goto f3xj4; gbO2h: $p = $this->get("p", 1); goto u4863; uBpwh: json($order); goto P6fWY; f3xj4: $order = pdo_fetchall($sql); goto PCL0p; BdeAG: $limit = ($p - 1) * $page_size; goto p2c8u; p2c8u: $status = $this->get("status", 1) == 1 ? 1 : 0; goto L1Lz_; L1Lz_: $cj_order = tablename(prefix_table("cj_order")); goto Lkflk; u4863: $page_size = 10; goto BdeAG; AtYHY: gbJvM: goto uBpwh; P6fWY: } public function doPageMywinn() { goto gQMq4; ztYtb: YNf1f: goto KBqWe; tt4vz: $sql = "SELECT A.* FROM {$cj_prize_result} A LEFT JOIN {$cj_prize} B ON A.prize_id=B.id WHERE A.member_id = {$this->member["id"]} ORDER BY result_id DESC LIMIT {$limit}, {$page_size}"; goto PvSdO; tjYe8: foreach ($order as $k => &$value) { goto cjZ9b; dqCgp: $value["pinfo"] = pdo_get(prefix_table("cj_prize"), ["id" => $value["prize_id"]]); goto UaFif; ihHnP: $value["pinfo"]["minfo"] = pdo_get(prefix_table("cj_member"), ["id" => $value["pinfo"]["member_id"]]); goto OBrNn; YqODD: Ne_0c: goto ihHnP; OBrNn: CVdRj: goto TdlQL; cjZ9b: $value["is_win"] = pdo_get(prefix_table("cj_prize_result"), ["prize_id" => $value["prize_id"], "member_id" => $this->member["id"]]); goto dqCgp; UaFif: if ($value["pinfo"]) { goto Ne_0c; } goto Mg4q1; Mg4q1: unset($order[$k]); goto YqODD; TdlQL: } goto ztYtb; gQMq4: $p = $this->get("p", 1); goto npKl3; npKl3: $page_size = 10; goto J9406; cec1C: $cj_prize_result = tablename(prefix_table("cj_prize_result")); goto o8C2N; PvSdO: $order = pdo_fetchall($sql); goto tjYe8; KBqWe: json($order); goto Yllwy; o8C2N: $cj_prize = tablename(prefix_table("cj_prize")); goto tt4vz; J9406: $limit = ($p - 1) * $page_size; goto cec1C; Yllwy: } public function doPageLaunch() { goto e7RUP; YyRaB: $page_size = 10; goto zaJCW; e7RUP: $p = $this->get("p", 1); goto YyRaB; j6Kpt: $prize = pdo_getall(prefix_table("cj_prize"), ["member_id" => $this->member["id"], "status" => $status], [], '', ["id desc"], "{$limit}, {$page_size}"); goto AwJla; KpHqz: hfg60: goto w9Ma8; zaJCW: $limit = ($p - 1) * $page_size; goto eBWlE; eBWlE: $status = $this->get("status", 1) == 1 ? 1 : 0; goto j6Kpt; w9Ma8: json($prize); goto xbVlR; AwJla: foreach ($prize as &$value) { goto WA_xJ; H3c12: $value["title"] = "\345\215\241\345\x88\xb8-" . $value["fir_cname"]; goto KD4Ou; WA_xJ: if (!strstr($value["title"], "cardnum")) { goto xLaOq; } goto H3c12; kO2Y6: $value["minfo"] = $this->member; goto nCRcB; XZ5Zz: a1tMe: goto DkwNR; nCRcB: $value["created_val"] = date("Y-m-d H:i:s", $value["created"]); goto XZ5Zz; KD4Ou: xLaOq: goto kO2Y6; DkwNR: } goto KpHqz; xbVlR: } public function doPageGetmybuy() { goto rTMd3; N9yj6: $page_size = 10; goto HUPWa; lThlZ: foreach ($prize as &$value) { goto gXgjM; AMx7R: $good_info .= $good_data["fir_val"]; goto vDCZz; GLyfy: mMlYn: goto ZvwD9; Sx89a: if (!$good_info) { goto j9p_P; } goto kaGJF; EBfg0: if (!$good_info) { goto hAIAd; } goto gaJVL; Gy_ln: if (!($good_data["sec_ptype"] == 0)) { goto mMlYn; } goto FIiZA; da5p0: $good_info .= $good_data["trd_val"]; goto WGSW4; Knpvx: if (!($good_data["fir_ptype"] == 0)) { goto ZIYJJ; } goto Sx89a; FIiZA: if (!$good_info) { goto jiaqt; } goto iofKP; A1Mz3: $value["good_info"] = $good_info; goto JqgvB; WGSW4: d4KHK: goto A1Mz3; gXgjM: $cj_prize = tablename(prefix_table("cj_prize")); goto LEpL2; JqgvB: qASM2: goto ST515; JRvMJ: $good_info .= $good_data["sec_val"]; goto GLyfy; LEpL2: $good_data = pdo_fetch("SELECT C.fir_val,C.sec_val,C.trd_val,C.fir_ptype,C.sec_ptype,C.trd_ptype " . "FROM {$cj_prize} C " . "WHERE C.id = " . $value["prize_id"]); goto Dtk1s; Y3n5Y: jiaqt: goto JRvMJ; gaJVL: $good_info .= " / "; goto yUHzy; eCdow: j9p_P: goto AMx7R; ZvwD9: if (!($good_data["trd_ptype"] == 0)) { goto d4KHK; } goto EBfg0; iofKP: $good_info .= " / "; goto Y3n5Y; vDCZz: ZIYJJ: goto Gy_ln; Dtk1s: $good_info = ''; goto Knpvx; kaGJF: $good_info .= " / "; goto eCdow; yUHzy: hAIAd: goto da5p0; ST515: } goto GsJOp; I6rBu: $status = $this->get("status", 1) == 1 ? 1 : 0; goto wq4vk; rTMd3: $p = $this->get("p", 1); goto N9yj6; ezlEI: json($prize); goto kwjf0; HUPWa: $limit = ($p - 1) * $page_size; goto I6rBu; GsJOp: Nl3YH: goto ezlEI; wq4vk: $prize = pdo_getall(prefix_table("cj_buy_good"), ["member_id" => $this->member["id"], "sendout_flag" => $status], [], '', ["id desc"], "{$limit}, {$page_size}"); goto lThlZ; kwjf0: } public function doPageIndex() { goto J5cfg; dXAt6: $cfg_only_p = pdo_get(prefix_table("cj_config"), ["key" => "cfg_only_p"]); goto mXzHF; bypUw: $trd_session = $this->get("trd_session"); goto xN6Sn; fGUWR: pK1XF: goto YHA3Q; iX4mV: $res = pdo_get(prefix_table("cj_token"), ["token" => $trd_session]); goto EJbaa; Y4pX1: vEo84: goto fs6o2; mXzHF: $cfg_only_c = pdo_get(prefix_table("cj_config"), ["key" => "cfg_only_c"]); goto hm4pa; SOROy: $prize = pdo_fetchall($sql); goto bypUw; YHA3Q: N6xDs: goto MEfFy; fs6o2: if (!$prize) { goto N6xDs; } goto ThrQ7; MEfFy: json($prize); goto Evoby; hm4pa: foreach ($prize as $k => &$value) { goto pV4ub; Jr6sL: $value["imgurl"] = $this->getImage($image["route"], false, true); goto Z_FPj; qklkQ: $typevalue_flag = $open_year . "\xe5\271\264" . $typevalue_flag; goto uNqvv; Yt3bj: $need_province = $cfg_only_p["value"]; goto sLCIl; CvvBw: $typevalue_flag = date("m\346\x9c\x88d\346\227\245 H:i", $value["typevalue"]); goto Tigi9; oSikg: goto HmxGb; goto bIdMa; xk142: LVowH: goto k5dHj; wmNUW: DO3mx: goto tb9WX; JRx0c: $need_city = $value["only_c"]; goto h3e_m; lRhb6: sKUS3: goto Gm3R7; Tigi9: $open_year = date("Y", $value["typevalue"]); goto bQqTJ; bQqTJ: if (!($open_year > date("Y"))) { goto hnCzR; } goto qklkQ; GiIZB: if ($value["sec_val"] != '') { goto J4_N5; } goto OaOU4; mCWSz: J4_N5: goto N6Nxn; ZrYkb: zwM9p: goto wmNUW; uNqvv: hnCzR: goto oPKrO; q6G_w: HmxGb: goto ff9X_; oPKrO: $value["typevalue_flag"] = $typevalue_flag; goto M72aE; GA5Fl: if ($member_data["province"] == $need_province || $member_data["province"] . "\347\234\x81" == $need_province || $member_data["province"] . "\345\270\202" == $need_province || strstr($need_province, $member_data["province"])) { goto J54a_; } goto Z3Q4m; Z3Q4m: unset($prize[$k]); goto EEpVT; k5dHj: if (!($value["type"] == 1)) { goto xTfkY; } goto CvvBw; C3Jc9: unset($prize[$k]); goto oSikg; pV4ub: $need_province = $value["only_p"]; goto JRx0c; gyv3T: J54a_: goto ZrYkb; bIdMa: goto A6Vof; goto lRhb6; M72aE: xTfkY: goto NwsEi; N6Nxn: $value["fir_label"] = "\344\xb8\200"; goto VOfNw; Z_FPj: $value["joined"] = $this->member["id"] ? pdo_get(prefix_table("cj_order"), ["prize_id" => $value["id"], "member_id" => $this->member["id"]]) : ''; goto GiIZB; LsCGp: Z1hx0: goto bJ1Kb; h3e_m: if ($need_province) { goto Z1hx0; } goto Yt3bj; u7Wic: if ($member_data["city"] == $need_city || $member_data["city"] . "\xe5\xb8\x82" == $need_city || strstr($need_city, $member_data["city"])) { goto sKUS3; } goto C3Jc9; LECXs: goto miydr; goto mCWSz; EEpVT: goto HmxGb; goto TWV6U; VOfNw: miydr: goto q6G_w; sLCIl: $need_city = $cfg_only_c["value"]; goto LsCGp; NwsEi: $image = pdo_get(prefix_table("cj_resource"), ["id" => $value["attach_id"]]); goto Jr6sL; bJ1Kb: if (!$need_province) { goto DO3mx; } goto GA5Fl; Gm3R7: A6Vof: goto xk142; OaOU4: $value["fir_label"] = ''; goto LECXs; TWV6U: goto zwM9p; goto gyv3T; tb9WX: if (!$need_city) { goto LVowH; } goto u7Wic; ff9X_: } goto fGUWR; ImWPH: $home_recommendation_need_check = $home_recommendation_need_check_cfg["value"]; goto jCMRs; EJbaa: $this->member["id"] = $res["member_id"]; goto Y4pX1; J5cfg: $home_recommendation_need_check_cfg = pdo_get(prefix_table("cj_config"), ["key" => "home_recommendation_need_check"]); goto ImWPH; YdLd3: $sql = "select * from " . tablename(prefix_table("cj_prize")) . " where is_cancel=0 and status=0 and (is_global=0 or (is_global=1 and recommend_id>0)) order by page_order desc, id desc"; goto MOGAZ; ngdq0: $sql = "select * from " . tablename(prefix_table("cj_prize")) . " where is_cancel=0 and status=0 and (is_global=0 or (is_global=1 and recommend_id>0 and chk_flag=1)) order by page_order desc, id desc"; goto wstG2; MOGAZ: goto PQ3jH; goto MjRrd; jCMRs: if ($home_recommendation_need_check) { goto uQJ7u; } goto YdLd3; ThrQ7: $member_data = pdo_get(prefix_table("cj_member"), ["id" => $this->member["id"]]); goto dXAt6; MjRrd: uQJ7u: goto ngdq0; xN6Sn: if (!$trd_session) { goto vEo84; } goto iX4mV; wstG2: PQ3jH: goto SOROy; Evoby: } public function doPageTotal() { goto ZUepS; J5j3u: FmcVw: goto W8MS2; tcNu4: if (empty($apply)) { goto FmcVw; } goto w75wN; DWMdy: vGxg6: goto s1GRL; s1GRL: $apply = pdo_get(prefix_table("cj_config"), ["key" => "apply_number"]); goto tcNu4; W8MS2: json(compact("jiezhi", "total")); goto hcNVJ; yuJpH: goto vGxg6; goto euj8b; imZdw: $total = $total[0]; goto DWMdy; b8t3p: $total = pdo_get(prefix_table("cj_prize_result"), [], ["COUNT(result_id)"]); goto Wj3dH; Wj3dH: if ($total) { goto fQsHY; } goto D8fW5; euj8b: fQsHY: goto imZdw; D8fW5: $total = 0; goto yuJpH; w75wN: $total += $apply["value"]; goto J5j3u; ZUepS: $jiezhi = date("Y-m-d", strtotime("-1 day")); goto b8t3p; hcNVJ: } public function doPageRecommend() { goto lfZoa; AcHIO: N0wE3: goto zM5N7; DW3bS: W0MNh: goto MaZjH; OPsdW: $pay_money = $money - $member["money"]; goto YYNkt; D214y: $prize = new prize(); goto XeABO; lfZoa: $contact = $this->get("contact"); goto lDrd3; gOCuD: json("\xe8\257\xb7\xe5\241\253\xe5\206\x99\350\x81\x94\xe7\263\xbb\346\x96\xb9\xe5\274\x8f", 0); goto iQOg5; iwtXz: CW8ae: goto mvbur; NbdfS: goto cliiZ; goto z9EfA; XeABO: $member = pdo_get(prefix_table("cj_member"), ["id" => $this->member["id"]]); goto ic_bq; KbudL: $_W["openid"] = $this->member["openid"]; goto Nm4xl; E4_6S: if (!($isjump == 1)) { goto tmzwE; } goto OQeO_; fbmD5: $paydata = $this->pay($order); goto ERJa6; z9EfA: NiK7U: goto ZqCqP; WJ8xz: $red_package_fee = pdo_get(prefix_table("cj_config"), ["key" => "red_package_fee"]); goto EDtLN; m566U: json($insert_rec_id); goto UZWw2; dB0jx: $money_rec = $money; goto zZumf; w5JDJ: $money += $redpack_money; goto WJ8xz; EDtLN: if (!($red_package_fee && $red_package_fee["value"] > 0)) { goto gHwRf; } goto brjRu; BqbKX: cliiZ: goto dB0jx; ic_bq: if (!($member["money"] < $money)) { goto W0MNh; } goto OPsdW; ZOX26: $redpack_money = $this->get("redpack_money"); goto vUin5; Nm4xl: $_W["member"]["uid"] = $this->member["id"]; goto fbmD5; naTKl: $money += $fee; goto uw9l7; ZELO1: $money = $recommend["value"]; goto NbdfS; klwss: if (empty($recommend)) { goto NiK7U; } goto ZELO1; VOjoU: try { goto f12eh; Hf4Hi: throw new Exception("\xe6\216\250\350\x8d\220\345\244\261\xe8\264\xa5"); goto ImUOc; QB9IL: $data = ["member_id" => $this->member["id"], "contact" => $contact, "money_recommand" => $money_rec, "pay_money" => $money, "created" => time()]; goto XESYC; jGxPc: throw new Exception("\xe6\233\xb4\346\226\260\344\275\x99\xe9\xa2\x9d\xe5\244\xb1\xe8\xb4\xa5"); goto jXS3F; ImUOc: q4fgi: goto iR2rg; f12eh: if ($res = $prize->change($this->member["id"], $money, 9)) { goto D9mwk; } goto jGxPc; EVT__: pdo_commit(); goto UNxuE; jXS3F: D9mwk: goto QB9IL; XESYC: if (pdo_insert(prefix_table("cj_home_recommend"), $data)) { goto q4fgi; } goto Hf4Hi; iR2rg: $insert_rec_id = pdo_insertid(); goto EVT__; UNxuE: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto m566U; xnkfG: $pay_function = $pay_function ? $pay_function["value"] : 5; goto C4NCX; zM5N7: json($paydata, -3); goto DW3bS; ERJa6: if (!is_error($paydata)) { goto N0wE3; } goto NIamC; kjODd: $money = 0; goto JBNOs; NIamC: json($paydata["message"], 0); goto AcHIO; JBNOs: $recommend = pdo_get(prefix_table("cj_config"), ["key" => "home_recommendation"]); goto klwss; lDrd3: if (!empty($contact)) { goto o1DUj; } goto gOCuD; brjRu: $fee = ceil($redpack_money * $red_package_fee["value"]) / 100; goto naTKl; iQOg5: o1DUj: goto kjODd; OQeO_: $pay_function = pdo_get(prefix_table("cj_config"), ["key" => "pay_function"]); goto xnkfG; oIflm: tmzwE: goto ZOX26; mvbur: sleep(2); goto D214y; MaZjH: pdo_begin(); goto VOjoU; Y_wGT: $xcx = pdo_get(prefix_table("cj_config"), ["key" => "title"]); goto iwpGr; C4NCX: $money += $pay_function; goto oIflm; NHt1F: global $_W; goto KbudL; ZqCqP: $money = 1500; goto BqbKX; zZumf: $isjump = $this->get("isjump"); goto E4_6S; YYNkt: $orderid = $prize->unifiedOrder($this->member["id"], $pay_money); goto Y_wGT; uw9l7: gHwRf: goto iwtXz; iwpGr: $xcx = $xcx ? $xcx["value"] : ''; goto CmYQu; vUin5: if (!$redpack_money) { goto CW8ae; } goto w5JDJ; CmYQu: $order = array("tid" => $orderid, "fee" => floatval($pay_money), "title" => $xcx . "\347\232\204\350\xae\242\xe5\215\225"); goto NHt1F; UZWw2: } public function doPageAdd() { goto tb9xM; qBdFE: rTrna: goto vi6Ou; P2aOI: $money = $money - ($recommand_all_money - $recommand_only_money); goto mCGw5; LBGDp: awNK2: goto CGRX2; elWOt: if (!($member["money"] < $money)) { goto c9T_G; } goto Kia4a; rBirl: $money += $fee; goto LzK2V; fGhkZ: $trd_val = $this->get("trd_val"); goto nB5wD; N_2jR: NzAXq: goto PsPAZ; dG3Ul: d4eNP: goto ro3FA; e8nEM: a2NYu: goto c916X; J1osX: $trd_ptype = $this->get("trd_ptype"); goto P5fIU; Gv0lA: goto awNK2; goto l3zht; CfnOJ: $fir_ptype = $this->get("fir_ptype"); goto bNils; F_4Vu: if (!($typevalue <= time())) { goto zzndJ; } goto dVAXC; LRqef: rr5Sp: goto ckeT_; bWmDt: if ($sec_ptype == 2) { goto Xnajr; } goto dbxVj; jvQH6: $_W["member"]["uid"] = $this->member["id"]; goto qm8BM; XwOpA: try { goto rCYds; dVK_0: throw new Exception("\xe8\xaf\xb7\xe9\200\x89\xe6\x8b\xa9\344\274\x98\xe6\203\240\xe5\x88\xb8"); goto v7ykl; hN81G: aDbXV: goto Htq96; jKRoq: $data["is_robot_max"] = $is_robot_max["value"]; goto BC8x0; NXwvB: $robot_m["value"] = false; goto RMQIl; yCr46: if (is_numeric($data["sec_cardid"])) { goto BkE5v; } goto N59ZL; RMQIl: XCQUN: goto WS203; Htq96: if (!($data["sec_ptype"] == 2 && $is_voucher)) { goto nTLx8; } goto CtA4F; nUdJU: json($insert_id); goto xw_3m; BC8x0: lgtl1: goto Qmo25; lBsA6: if (is_numeric(!$data["trd_cardid"])) { goto vYqCN; } goto dVK_0; IB3iC: Ev8OU: goto P7_J7; pLbIG: if (pdo_insert(prefix_table("cj_prize"), $data)) { goto k11hh; } goto wkHCl; CA9K1: $data = ["prize_id" => $insert_id, "appid" => $this->get("appid"), "path" => $this->get("path"), "extraData" => $this->get("extraData"), "app_name" => $this->get("appname")]; goto hWEaM; rCYds: if (!($data["fir_ptype"] == 2 && $is_voucher)) { goto aDbXV; } goto U7nSj; U7nSj: $data["fir_ptype"] = 3; goto F_ON8; WS203: if (!$robot_m["value"]) { goto lgtl1; } goto MRZ8r; fLhjh: $data["tpl_flag_open"] = "B"; goto pLbIG; iLhbj: bohrc: goto pSNrt; J_j_L: HWL4b: goto c9e2t; SvbsI: $robot_of_not_home = pdo_get(prefix_table("cj_config"), ["key" => "robot_of_not_home"]); goto oxwa1; c9e2t: $data["sec_val"] = json_encode($res); goto zY0l5; PVB_A: if ($res) { goto Ev8OU; } goto IM1zE; bveVM: BkE5v: goto f3Z17; P7_J7: $data["fir_val"] = json_encode($res); goto hN81G; kIvKJ: if (!($type == 1 && $robot["value"])) { goto ukhc9; } goto DHaVM; SCK2_: if ($res) { goto BxmZw; } goto GoGDG; UANnD: if (!($data["trd_ptype"] == 2 && $is_voucher)) { goto wca0V; } goto bB2RY; pSNrt: if (!($isjump == 1 && $this->get("copyorjump") == 2)) { goto gv27e; } goto CA9K1; chOU1: $prize->bag($this->member["id"], $insert_id, $data["sec_val"], $data["sec_num"]); goto k3bMH; SL5XX: if (is_numeric($data["fir_cardid"])) { goto kGEtI; } goto WFWjd; V1KoX: $data["trd_val"] = json_encode($res); goto V0Bmv; lXtU5: $data["is_robot"] = 1; goto jKRoq; hWEaM: pdo_insert(prefix_table("cj_jump_program"), $data); goto k4MxG; v7ykl: vYqCN: goto G4oTr; CtA4F: $data["sec_ptype"] = 3; goto c9mm6; c9mm6: $data["sec_cardid"] = $this->get("sec_cardid"); goto yCr46; BKTww: $prize->bag($this->member["id"], $insert_id, $data["trd_val"], $data["trd_num"]); goto iLhbj; nZ0wN: $insert_id = pdo_insertid(); goto G4na3; Y51xA: $prize->bag($this->member["id"], $insert_id, $data["fir_val"], $data["fir_num"]); goto xBosY; dcOi4: throw new Exception($prize->error); goto J_j_L; DHaVM: $robot_m = pdo_get(prefix_table("cj_config"), ["key" => "robot_m"]); goto SvbsI; JbIw3: k11hh: goto nZ0wN; Qmo25: ukhc9: goto bldjv; N59ZL: throw new Exception("\xe8\xaf\267\xe9\200\211\xe6\213\251\344\xbc\x98\346\x83\240\345\210\270"); goto bveVM; G4oTr: $res = $prize->deduction($this->member["shop_id"], $data["trd_cardid"], $trd_num); goto SCK2_; M47VA: pdo_commit(); goto nUdJU; gCHmO: kGEtI: goto J44AU; NgJB6: $robot = pdo_get(prefix_table("cj_config"), ["key" => "robot"]); goto kIvKJ; J44AU: $res = $prize->deduction($this->member["shop_id"], $data["fir_cardid"], $fir_num); goto PVB_A; GoGDG: throw new Exception($prize->error); goto t7LVw; G4na3: if (!($data["fir_ptype"] == 1)) { goto W1pRf; } goto Y51xA; G5KH7: $data["trd_cardid"] = $this->get("trd_cardid"); goto lBsA6; f3Z17: $res = $prize->deduction($this->member["shop_id"], $data["sec_cardid"], $sec_num); goto qzmc6; t7LVw: BxmZw: goto V1KoX; bldjv: file_put_contents(ATTACHMENT_ROOT . "/1.txt", var_export($data, true)); goto uWkQS; MRZ8r: $is_robot_max = pdo_get(prefix_table("cj_config"), ["key" => "robot_m_percent"]); goto lXtU5; k4MxG: gv27e: goto M47VA; wkHCl: throw new Exception("\345\217\x91\xe5\270\203\345\244\xb1\350\xb4\xa5\344\272\x86"); goto JbIw3; uWkQS: $data["tpl_flag_begin"] = "B"; goto fLhjh; E2kAv: if (!($data["sec_ptype"] == 1)) { goto pb5MG; } goto chOU1; F_ON8: $data["fir_cardid"] = $this->get("fir_cardid"); goto SL5XX; qzmc6: if ($res) { goto HWL4b; } goto dcOi4; zY0l5: nTLx8: goto UANnD; IM1zE: throw new Exception($prize->error); goto IB3iC; oxwa1: if (!(!$robot_of_not_home["value"] && !$insert_rec_id)) { goto XCQUN; } goto NXwvB; nYYhP: if (!($data["trd_ptype"] == 1)) { goto bohrc; } goto BKTww; bB2RY: $data["trd_ptype"] = 3; goto G5KH7; V0Bmv: wca0V: goto NgJB6; k3bMH: pb5MG: goto nYYhP; WFWjd: throw new Exception("\xe8\xaf\267\xe9\x80\x89\xe6\x8b\251\xe4\xbc\x98\346\203\240\345\210\xb8"); goto gCHmO; xBosY: W1pRf: goto E2kAv; xw_3m: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto kVaOR; l59ph: pdo_begin(); goto XwOpA; cFk4x: if (!($money > 0)) { goto a2NYu; } goto OYj4j; DvDom: $money += $sec_val * $sec_num; goto G4rMK; DMNum: $order = array("tid" => $orderid, "fee" => floatval($money), "title" => $xcx . "\347\232\204\xe8\xae\xa2\xe5\215\x95"); goto wYmW9; i2lZr: json("\345\xbc\x80\345\245\x96\344\272\272\346\x95\xb0\345\xb0\217\xe4\xba\x8e\xe5\xa5\x96\345\x93\x81\346\225\xb0", 0); goto xf9V1; W9XBD: QYzww: goto xM54z; P62_1: $xcx = pdo_get(prefix_table("cj_config"), ["key" => "title"]); goto JWt23; CI0EJ: $max_group_num = 0; goto WyahK; VN2E0: goto bXT76; goto N_2jR; bNils: $is_share = $this->get("is_share"); goto NVjwu; Td5Tq: Xnajr: goto b_4Dl; nB5wD: $trd_num = $this->get("trd_num", 0); goto VN2E0; R_rq9: $fir_val = htmlspecialchars_decode($this->get("fir_cardmsg")); goto c1CYx; Kia4a: $orderid = $prize->unifiedOrder($this->member["id"], $money); goto P62_1; LO4Gs: q2W1F: goto LRqef; P5fIU: if ($trd_ptype == 2) { goto NzAXq; } goto fGhkZ; f_AH8: if (!($res == false)) { goto uh5pr; } goto bsNQb; MxBLE: $sec_num = $this->get("sec_num", 0); goto gk3rP; pfu9v: $isjump = $this->get("isjump"); goto abUoC; c1CYx: $fir_num = $is_voucher ? $this->get("fir_num") : count(json_decode($fir_val, true)); goto LBGDp; nsdfz: $trd_num = $is_voucher ? $this->get("trd_num") : count(json_decode($trd_val, true)); goto LQmET; jSjsE: $_W["openid"] = $this->member["openid"]; goto jvQH6; cmZNP: BAz2F: goto dG3Ul; VHtJ6: $types = ["people" => 2, "time" => 1, "manual" => 3]; goto pxcb2; kpkf9: if (!(0 && !$uname)) { goto c4A5s; } goto W_V4W; zj3qW: KrqZZ: goto l59ph; ERJm5: if (!(!$this->member["user_img"] && !$this->member["nickname"])) { goto QYzww; } goto IjPZm; kZ_l_: $wechat_title = $this->get("wechat_title"); goto lV_St; dbxVj: $sec_val = $this->get("sec_val"); goto MxBLE; nJoX0: $recommand_all_money = $rec_data_arr["pay_money"]; goto CtRV8; abUoC: if (!($isjump == 1)) { goto VzRDz; } goto njYoY; NVjwu: $is_command = $this->get("is_command", 0); goto yL9fm; njYoY: $pay_function = pdo_get(prefix_table("cj_config"), ["key" => "pay_function"]); goto ysce2; wJ2SQ: if ($fir_ptype == 2) { goto cSXZr; } goto LcwwG; X7wP4: if (!($num > $typevalue)) { goto PO2tg; } goto i2lZr; xM54z: if ($this->member["shop_id"]) { goto d4eNP; } goto W1tgr; pxcb2: $type = $types[$type]; goto gNjGF; tb9xM: if (!($this->_release() != 1)) { goto QI5Bv; } goto HwY0P; l3zht: cSXZr: goto R_rq9; vi6Ou: $money = 0; goto R6gL_; wYmW9: global $_W; goto jSjsE; R7r5q: $wechat_no = $this->get("wechat_no"); goto kZ_l_; j1i2q: if (!($is_command == 1)) { goto KrqZZ; } goto NiyGV; ysce2: $pay_function = $pay_function ? $pay_function["value"] : 5; goto jdAp4; ro3FA: $attach_id = $this->get("attach_id"); goto X7o3f; t9ETU: $money += $fir_val * $fir_num; goto DKhng; IjPZm: json('', -1); goto W9XBD; dVAXC: json("\345\xbc\200\345\245\x96\xe6\227\xb6\351\x97\264\xe5\267\xb2\xe8\277\x87\xef\274\x8c\350\xaf\xb7\xe9\x87\x8d\xe6\226\260\xe9\200\211\346\213\xa9\xe6\227\xb6\xe9\227\xb4", 0); goto rzD9w; VL4zJ: $fee = ceil($money * $red_package_fee["value"]) / 100; goto rBirl; t2tOM: $fir_num = $this->get("fir_num", 0); goto Gv0lA; X7o3f: $title = $this->get("title"); goto IIyIP; bsNQb: json("\345\xa5\226\345\x93\201\345\217\221\xe5\270\x83\345\244\xb1\350\xb4\xa5", 0); goto KR8Hp; JDRFA: if (!($trd_ptype == 1)) { goto YPDfJ; } goto aQ0KY; c916X: $data = ["title" => $fir_val && $fir_ptype != 2 ? $fir_val : ($title ? $title : $this->member["nickname"] . "\xe6\211\213\346\234\272\345\x8f\x91\xe5\270\x83"), "brief_description" => $title, "member_id" => $this->member["id"], "uname" => $uname, "wechat_no" => $wechat_no, "wechat_title" => $wechat_title, "typevalue" => $typevalue, "max_group_num" => $max_group_num, "desc_type" => $desc_type, "desc_text" => $desc_type, "type" => $type, "attach_id" => $attach_id, "fir_ptype" => $fir_ptype, "fir_num" => $fir_num, "fir_val" => $fir_val, "sec_ptype" => $sec_ptype, "sec_num" => $sec_num, "sec_val" => $sec_val, "trd_ptype" => $trd_ptype, "trd_num" => $trd_num, "trd_val" => $trd_val, "description" => $description, "fir_cname" => $fir_cname, "sec_cname" => $sec_cname, "trd_cname" => $trd_cname, "created" => time(), "is_share" => $is_share, "is_command" => $is_command, "default_shop_id" => $this->member["shop_id"], "recommend_id" => $insert_rec_id, "to_allfans_flag" => 1]; goto j1i2q; LQmET: bXT76: goto CI0EJ; yL9fm: $insert_rec_id = (int) $this->get("insert_rec_id", 0); goto OYdp4; wo1AI: $res = $prize->change($this->member["id"], $money, 5); goto f_AH8; hsAlr: pdo_update(prefix_table("cj_member"), array("shop_id" => $js_default_shop["value"]), ["id" => $member_id]); goto ghHvB; Y0Bhk: $typevalue = strtotime($typevalue); goto F_4Vu; G4rMK: oakuP: goto JDRFA; n15fF: $trd_cname = $this->get("trd_cname"); goto CfnOJ; LzK2V: zuJND: goto sBQ9J; ghHvB: $this->member["shop_id"] = $js_default_shop["value"]; goto cmZNP; xf9V1: PO2tg: goto lh2iy; lh2iy: $home_max_peoples_cfg = pdo_get(prefix_table("cj_config"), ["key" => "home_max_peoples"]); goto FiCKK; W_V4W: $uname = pdo_fetchcolumn("select shop_name from " . tablename(prefix_table("cj_shop")) . " where id=" . (int) $this->member["shop_id"]); goto nGRyU; AdEf3: k39k0: goto nGd3K; sBQ9J: N1mm4: goto pfu9v; j1uEu: if (!($type == 2)) { goto rr5Sp; } goto Xn7F8; qm8BM: $paydata = $this->pay($order); goto VPWwK; lV_St: $fir_cname = $this->get("fir_cname"); goto qxjKZ; OIQMF: json($paydata["message"], 0); goto Uow3J; Xn7F8: $num = $fir_num + $sec_num + $trd_num; goto X7wP4; CGRX2: $sec_ptype = $this->get("sec_ptype"); goto bWmDt; topuJ: $sec_num = $is_voucher ? $this->get("sec_num") : count(json_decode($sec_val, true)); goto nfEBE; OEuOA: goto BAz2F; goto w3Qao; PsPAZ: $trd_val = htmlspecialchars_decode($this->get("trd_cardmsg")); goto nsdfz; gk3rP: goto NMwGd; goto Td5Tq; W1tgr: $js_default_shop = pdo_get(prefix_table("cj_config"), ["key" => "js_default_shop"]); goto Pq5LC; ITZ5k: QI5Bv: goto ERJm5; b_4Dl: $sec_val = htmlspecialchars_decode($this->get("sec_cardmsg")); goto topuJ; uwzNL: if (!($fir_ptype == 1)) { goto gGpo2; } goto t9ETU; DKhng: gGpo2: goto T7rGb; J5p9p: $uname = $this->get("uname"); goto kpkf9; i5t23: json("\xe8\xaf\267\xe8\276\223\xe5\205\245\xe5\217\xa3\344\xbb\244", 0); goto JpCK9; w3Qao: LTJE6: goto hsAlr; CtRV8: $recommand_only_money = $rec_data_arr["money_recommand"]; goto AdEf3; KR8Hp: uh5pr: goto e8nEM; mCGw5: En3LQ: goto cFk4x; JpCK9: kfL9U: goto zj3qW; nfEBE: NMwGd: goto J1osX; T7rGb: if (!($sec_ptype == 1)) { goto oakuP; } goto DvDom; UM2lN: json(array("msg" => "\351\x9d\x9e\345\xba\x97\351\223\xba\xe7\xae\xa1\xe7\220\206\xe5\x91\230\346\xb2\241\346\234\x89\xe5\x8f\x91\345\xb8\203\345\245\226\345\223\201\346\x9d\x83\xe9\x99\x90"), -2); goto OEuOA; qxjKZ: $sec_cname = $this->get("sec_cname"); goto n15fF; LZd2i: $rec_data_arr = pdo_get(prefix_table("cj_home_recommend"), ["id" => $insert_rec_id]); goto nJoX0; aQ0KY: $money += $trd_val * $trd_num; goto RqN_O; hauJW: $is_voucher = $prize->is_voucher($this->member["id"]); goto wJ2SQ; RqN_O: YPDfJ: goto tDsHB; tDsHB: $red_package_fee = pdo_get(prefix_table("cj_config"), ["key" => "red_package_fee"]); goto He50E; pJ0XC: json("\xe5\274\x80\xe5\245\x96\xe4\xba\xba\346\225\260\344\xb8\x8d\345\276\227\xe5\244\x9a\344\272\216 " . $home_max_peoples, 0); goto LO4Gs; F5QRJ: if ($type == 1) { goto h4pQF; } goto j1uEu; LcwwG: $fir_val = $this->get("fir_val"); goto t2tOM; DcEFc: if (!($home_max_peoples > 0 && $typevalue > $home_max_peoples)) { goto q2W1F; } goto pJ0XC; gNjGF: $typevalue = $this->get("typevalue"); goto F5QRJ; JWt23: $xcx = $xcx ? $xcx["value"] : ''; goto DMNum; Uow3J: AvPdi: goto yndiY; NiyGV: $data["command"] = $this->get("command"); goto ipFlC; ayXq5: $member = pdo_get(prefix_table("cj_member"), ["id" => $this->member["id"]]); goto elWOt; nGRyU: c4A5s: goto R7r5q; ipFlC: if (!empty($data["command"])) { goto kfL9U; } goto i5t23; VPWwK: if (!is_error($paydata)) { goto AvPdi; } goto OIQMF; PDgK7: $description = $this->get("description"); goto J5p9p; ckeT_: goto rTrna; goto V0eSm; HwY0P: json("\xe6\227\xa0\345\x8f\221\345\270\x83\xe6\x9d\203\351\x99\x90", 0); goto ITZ5k; He50E: if (!($red_package_fee && $red_package_fee["value"] > 0)) { goto zuJND; } goto VL4zJ; rzD9w: zzndJ: goto qBdFE; WyahK: $type = $this->get("type", "people"); goto VHtJ6; y1elX: if (!$insert_rec_id) { goto En3LQ; } goto P2aOI; OYdp4: if (!$insert_rec_id) { goto k39k0; } goto LZd2i; jdAp4: $money += $pay_function; goto Lzpcs; IIyIP: $desc_type = $this->get("desc_type"); goto PDgK7; nGd3K: $prize = new prize(); goto hauJW; Lzpcs: VzRDz: goto y1elX; OYj4j: sleep(2); goto ayXq5; Gx3Og: c9T_G: goto wo1AI; yndiY: json($paydata, -3); goto Gx3Og; Pq5LC: if ($js_default_shop["value"]) { goto LTJE6; } goto UM2lN; V0eSm: h4pQF: goto Y0Bhk; FiCKK: $home_max_peoples = (int) $home_max_peoples_cfg["value"]; goto DcEFc; R6gL_: if (!($fir_ptype == 1 || $trd_ptype == 1 || $sec_ptype == 1)) { goto N1mm4; } goto uwzNL; kVaOR: } public function doPageBuygood() { goto X4dls; Oggi9: $money = $prize_data["buy_money"]; goto H_LpG; X4dls: $prize_id = (int) $this->get("prize_id"); goto KqGH1; W4F5D: $address_data = pdo_fetch("SELECT name,phone,address FROM " . tablename(prefix_table("cj_address")) . " WHERE member_id=" . $this->member["id"]); goto EC0rF; wnwGO: $paydata = $this->pay($order); goto jJe0C; zS0VC: FLfb7: goto UizOu; jN9GZ: goto aqZvk; goto YOfKR; ZdgUd: if (!empty($prize_data)) { goto QxurY; } goto zFpkE; fmZVR: $order = array("tid" => $orderid, "fee" => floatval($money), "title" => $xcx . "\xe7\232\x84\xe8\xae\xa2\345\x8d\x95"); goto QhQUh; EC0rF: if (!(empty($address_data) || $address_data["name"] == '' || $address_data["phone"] == '' || $address_data["address"] == '')) { goto VTvoH; } goto gLF1p; BIEFe: json("\xe5\225\206\xe5\x93\x81\345\x8f\202\xe6\x95\260\xe6\x97\240\346\x95\x88", 0); goto VJZ1O; hyLsm: $_W["openid"] = $this->member["openid"]; goto KTRWc; NYiOd: if ($res == false) { goto ccspe; } goto CZbtN; gLF1p: json(array("msg" => "\xe8\257\xb7\350\277\x9b\345\205\xa5\xe4\xb8\xaa\xe4\xba\xba\xe4\270\255\345\xbf\203\xe8\xae\276\347\xbd\256\345\245\275\xe6\x94\266\xe8\xb4\247\xe5\234\xb0\345\x9d\200"), -1); goto BAyn3; KFh2q: if (!(empty($prize_data["buy_label"]) || empty($prize_data["buy_money"]))) { goto m2E1r; } goto uqgU7; kqXbT: if (!($member["money"] < $money)) { goto tclxP; } goto vyOyy; UTjMa: json($paydata["message"], 0); goto zS0VC; tBCum: try { goto Akhj6; VVzqN: $insert_id = pdo_insertid(); goto DDfEK; Akhj6: if (!1) { goto dr4JH; } goto GAqpM; GAqpM: $data = ["prize_id" => $prize_id, "good_price" => $money, "member_id" => $this->member["id"], "pay_flag" => 1, "sendout_flag" => 0, "sendout_info" => '', "sendout_time" => '', "buy_time" => date("Y-m-d H:i:s")]; goto ePtWs; ePtWs: pdo_insert(prefix_table("cj_buy_good"), $data); goto VVzqN; ZGTni: json($insert_id); goto wSx6j; DDfEK: dr4JH: goto Oh1xu; Oh1xu: pdo_commit(); goto ZGTni; wSx6j: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto jN9GZ; uqgU7: json("\xe8\257\xa5\xe5\225\206\345\x93\201\344\270\215\346\224\xaf\346\x8c\x81\xe8\xb4\xad\344\271\260", 0); goto htq2a; H_LpG: if (!($money > 0)) { goto e9CWI; } goto rra1d; rra1d: $prize = new prize(); goto NsQwY; anm21: e9CWI: goto PYqCa; vrYs_: $res = $prize->change($this->member["id"], $money, 5); goto NYiOd; PYqCa: json(array("msg" => "\346\223\215\xe4\275\x9c\351\224\231\350\257\257"), -1); goto xJMoP; htq2a: m2E1r: goto W4F5D; BAyn3: VTvoH: goto Oggi9; kveR3: QxurY: goto KFh2q; KqGH1: if ($prize_id) { goto Stbuf; } goto BIEFe; QhQUh: global $_W; goto hyLsm; CZbtN: pdo_begin(); goto tBCum; n3Rw6: tclxP: goto vrYs_; YOfKR: ccspe: goto h5GTu; KTRWc: $_W["member"]["uid"] = $this->member["id"]; goto wnwGO; iHOo0: $xcx = $xcx ? $xcx["value"] : ''; goto fmZVR; jJe0C: if (!is_error($paydata)) { goto FLfb7; } goto UTjMa; vyOyy: $orderid = $prize->unifiedOrder($this->member["id"], $money); goto Qwlr8; RjA_c: aqZvk: goto anm21; DQtqU: $prize_data = pdo_get(prefix_table("cj_prize"), ["id" => $prize_id]); goto ZdgUd; VJZ1O: Stbuf: goto DQtqU; h5GTu: json("\xe6\x89\243\346\xac\276\xe5\244\261\xe8\264\245", 0); goto RjA_c; Qwlr8: $xcx = pdo_get(prefix_table("cj_config"), ["key" => "title"]); goto iHOo0; zFpkE: json("\350\xaf\xa5\345\x95\206\xe5\x93\x81\344\270\x8d\xe5\xad\x98\345\x9c\xa8", 0); goto kveR3; NsQwY: $member = pdo_get(prefix_table("cj_member"), ["id" => $this->member["id"]]); goto kqXbT; UizOu: json($paydata, -3); goto n3Rw6; xJMoP: } public function doPageWriteoff() { goto Ub1kC; R3_KV: YM2Lz: goto OehGh; w_72b: QFYg2: goto YXbcx; rcMYv: json("\345\xa5\226\xe5\223\x81\344\xb8\x8d\xe5\xad\x98\xe5\234\xa8\xe6\x88\226\350\200\x85\345\xb7\262\347\273\217\xe8\242\xab\xe6\xa0\xb8\xe9\224\x80", 0); goto uXKSu; yIzPJ: json("\xe5\245\226\345\223\x81\344\270\x8d\345\255\230\xe5\234\250", 0); goto mgNfm; Bxq9i: rrt4D: goto Lmc59; YXbcx: goto YAKl4; goto bq6Rz; Ub1kC: $voucher = $this->get("voucher"); goto ijkou; vRiVn: if ($this->member["shop_id"]) { goto rrt4D; } goto wUxbj; fIB70: if ($voucher_arr = pdo_get(prefix_table("cj_prize_result"), ["result_id" => $voucher, "is_write_off" => 0])) { goto iCil3; } goto rcMYv; BaX9m: json("\xe6\xb2\241\xe6\x9c\x89\xe6\xa0\270\xe9\x94\x80\xe8\257\xa5\345\225\x86\xe5\223\201\xe6\x9d\203\351\231\x90", 0); goto LpgFq; cBJxk: YAKl4: goto u69J_; iXSsy: $prize_shop_id = pdo_fetchcolumn("SELECT default_shop_id FROM " . tablename(prefix_table("cj_prize")) . " WHERE id=" . $voucher_arr["prize_id"]); goto HvdFn; OehGh: $update = ["write_off_id" => $this->member["id"], "status" => 1, "write_off_time" => time()]; goto vnMan; Lmc59: if (is_numeric($voucher) && strlen($voucher) == strlen(ltrim($voucher, 0))) { goto lBhgY; } goto P_nU7; YnaMo: SPeG0: goto cBJxk; RY7sl: $res = pdo_update(prefix_table("cj_prize_result"), ["is_write_off" => 1], ["result_id" => $voucher]); goto EjRpQ; NhhDo: json(array("scan" => 0)); goto YnaMo; BsKaE: $shop = pdo_get(prefix_table("cj_shop"), ["id" => $this->member["shop_id"], "is_del" => 0]); goto iv_CT; ijkou: if (!empty($voucher)) { goto XYU_i; } goto yIzPJ; v2dIh: json("\xe5\215\xa1\345\210\270\344\270\x8d\345\255\x98\345\234\xa8\346\x88\x96\350\x80\205\345\267\262\347\xbb\x8f\350\xa2\253\xe4\xbd\xbf\xe7\224\xa8", 0); goto Xgld6; wUxbj: json("\xe6\xb2\241\346\x9c\x89\346\xa0\270\351\x94\x80\xe5\xa5\x96\345\x93\x81\346\235\x83\351\231\x90", 0); goto Bxq9i; MJ_mp: json("\346\xb2\241\xe6\234\211\xe6\xa0\xb8\xe9\224\x80\xe8\xaf\245\xe5\215\xa1\345\210\270\346\235\203\351\231\x90", 0); goto R3_KV; HvdFn: if (!(empty($shop) || $shop["id"] != $prize_shop_id)) { goto q0xa9; } goto BaX9m; dpDTy: pdo_update(prefix_table("cj_prize_result"), ["is_write_off" => 1], ["pvalue" => $voucher]); goto Fg8P2; LpgFq: q0xa9: goto RY7sl; mgNfm: XYU_i: goto vRiVn; u69J_: json("\xe6\240\270\xe9\224\x80\xe5\244\xb1\xe8\264\xa5", 0); goto LN0Do; iv_CT: if (!(empty($shop) || $shop["id"] != $voucher_arr["shop_id"])) { goto YM2Lz; } goto MJ_mp; vnMan: if (!pdo_update(prefix_table("cj_member_voucher"), $update, ["id" => $voucher_arr["id"]])) { goto QFYg2; } goto dpDTy; EjRpQ: if (!$res) { goto SPeG0; } goto NhhDo; rOdgh: json(array("scan" => 1)); goto w_72b; bq6Rz: lBhgY: goto fIB70; Fg8P2: pdo_update(prefix_table("cj_voucher"), ["status" => 3], ["voucher" => $voucher]); goto rOdgh; P_nU7: if ($voucher_arr = pdo_get(prefix_table("cj_member_voucher"), ["voucher" => $voucher, "status" => 0])) { goto NESqO; } goto v2dIh; HeFur: $shop = pdo_get(prefix_table("cj_shop"), ["id" => $this->member["shop_id"], "is_del" => 0]); goto iXSsy; uXKSu: iCil3: goto HeFur; Xgld6: NESqO: goto BsKaE; LN0Do: } public function doPageWriteOrder() { goto CffEU; IZrGv: if (!pdo_update(prefix_table("cj_member_voucher"), ["order_id" => $order_id], ["id" => $voucher["id"]])) { goto YvZJa; } goto BT2VY; ofbIA: $voucher = pdo_get(prefix_table("cj_member_voucher"), ["voucher" => $voucher, "write_off_id" => $this->member["id"]]); goto efR93; G8JU5: $voucher = $this->get("voucher"); goto ofbIA; bwcru: YvZJa: goto Axx2C; hILl3: hIBSu: goto IZrGv; CffEU: $order_id = $this->get("order_id"); goto G8JU5; pZacO: json("\xe6\227\240\xe6\x9d\203\xe9\231\x90", 0); goto hILl3; Axx2C: json("\345\xa1\253\345\206\231\345\244\261\xe8\xb4\245", 0); goto Df2a_; efR93: if (!empty($voucher)) { goto hIBSu; } goto pZacO; BT2VY: json(''); goto bwcru; Df2a_: } public function doPageVoucherList() { goto DMgLu; HQOL9: foreach ($voucher as &$value) { $value["goods"] = pdo_get(prefix_table("cj_goods"), ["id" => $value["goods_id"]]); rUJkO: } goto QKhWq; DMgLu: $p = $this->get("p", 1); goto FQBC9; OFY8j: json($voucher); goto QtMd8; FQBC9: $page_size = 10; goto XoHqq; QKhWq: w_xcY: goto OFY8j; EiMzu: $voucher = pdo_getall(prefix_table("cj_member_voucher"), ["member_id" => $this->member["id"]], [], '', ["id desc"], "{$limit}, {$page_size}"); goto HQOL9; XoHqq: $limit = ($p - 1) * $page_size; goto EiMzu; QtMd8: } public function doPageVoucherDetails() { goto VZnP0; FoT2g: if (!(empty($voucher) || $voucher["status"] == 1)) { goto oRb28; } goto IZC6F; gGNym: oRb28: goto Ddcmn; Ddcmn: $voucher["goods"] = pdo_get(prefix_table("cj_goods"), ["id" => $voucher["goods_id"]]); goto YXkt1; VZnP0: $id = $this->get("id"); goto ON7dm; YXkt1: json($voucher); goto yKAMe; ON7dm: $voucher = pdo_get(prefix_table("cj_member_voucher"), ["id" => $id, "member_id" => $this->member["id"]]); goto FoT2g; IZC6F: json("\xe8\257\xa5\xe4\274\230\xe6\203\240\xe5\x88\xb8\xe4\xb8\215\345\255\230\345\234\xa8\xe6\x88\226\xe8\x80\205\345\xb7\xb2\347\273\x8f\xe8\xa2\xab\xe4\xbd\xbf\xe7\x94\xa8", 0); goto gGNym; yKAMe: } public function doPagePayResult($data = array()) { $this->_payResult($data); } public function payResult($data = array()) { $this->_payResult($data); } private function _payResult($data) { goto Y7058; uRbnp: pdo_begin(); goto JGzMx; PVMTN: $paylog = pdo_get("core_paylog", array("uniacid" => $_W["uniacid"], "module" => "hu_couda", "tid" => $orderid)); goto mUNDp; PmKJY: i1sqS: goto eX4i7; Y7058: global $_GPC; goto GfcHK; dPpmv: if (!$status) { goto i1sqS; } goto uRbnp; obj1i: $order_type = trim($_GPC["order_type"]); goto PVMTN; mUNDp: $status = intval($paylog["status"]) === 1; goto dPpmv; JGzMx: try { goto ZvZsM; ZvZsM: $order = pdo_get(prefix_table("cj_pay_order"), ["trade_no" => $orderid, "status" => 1]); goto M7aRg; oeHb_: $prize->change($order["member_id"], $order["money"], 1); goto MyaVz; Y5pv0: throw new Exception("\350\256\242\xe5\x8d\x95\xe4\xb8\x8d\345\xad\230\xe5\234\250\346\210\226\350\200\x85\xe5\xb7\262\xe7\273\217\345\xa4\x84\347\x90\206"); goto ss0Kj; ss0Kj: jJRMx: goto xJuEs; xJuEs: if (!pdo_update(prefix_table("cj_pay_order"), ["pay_time" => time(), "status" => 2], array("id" => $order["id"]))) { goto B22nE; } goto n1QLk; M7aRg: if (!empty($order)) { goto jJRMx; } goto Y5pv0; n1QLk: $prize = new prize(); goto oeHb_; CWKUt: pdo_commit(); goto SoeKr; MyaVz: B22nE: goto CWKUt; SoeKr: } catch (Exception $e) { pdo_rollback(); } goto PmKJY; gXxtW: $orderid = $data["tid"] ? $data["tid"] : $_GPC["orderid"]; goto obj1i; eX4i7: $this->result($status, $status ? "\346\x94\xaf\344\xbb\230\xe6\x88\x90\345\x8a\x9f" : "\xe6\x94\xaf\344\xbb\230\xe5\244\261\350\264\245"); goto LAT0M; GfcHK: global $_W; goto gXxtW; LAT0M: } public function doPageDetailsedit() { goto G2myu; vPVr7: if ($prize["recommend_id"]) { goto Gaesz; } goto u6RfQ; tkL_o: if ($this->get("op") == "read") { goto tXZ3o; } goto TM8P1; JHDTY: if (!($prize["type"] == 3)) { goto FKLWG; } goto K7q25; gBgkI: LrSKA: goto Qo9nL; dmER4: goto Xyynu; goto WbNkJ; Mg6wL: da92v: goto uYWEq; hjYOh: $_W["openid"] = $this->member["openid"]; goto bgL2_; CxKRH: DdvNS: goto vPVr7; j0Ecq: h1IzG: goto aJJs5; PxhcP: $description = str_replace("<p>", '', $description); goto COcXT; De0J6: $prize["imgs"] = []; goto On32a; WbNkJ: mi0mD: goto zY_hT; FgeNr: global $_W; goto hjYOh; uYWEq: json($paydata, -3); goto vo6x_; cFmtg: if (!($isjump == 1 && $this->get("copyorjump") == 2)) { goto bF_ak; } goto kCW_o; LVrOM: if ($prize["desc_type"] == 0) { goto rvfrj; } goto mPHXG; AxXPZ: $prize["appid"] = $cj_jump_program["appid"]; goto GdMqt; kFTAE: $prize["description"] = str_replace(" ", '', $prize["description"]); goto ZvgFg; vo6x_: ose2t: goto PuP0t; Cb8SL: if (!empty($prize)) { goto pTK0S; } goto rWkTd; adyQt: bF_ak: goto yz_Zb; TIfW7: $orderid = $prize->unifiedOrder($this->member["id"], $money); goto o52_D; LC6xq: if ($prize["type"] == 1) { goto XTuV7; } goto mRDfT; aJJs5: $prize["condflex_info"] = "\350\xbe\276\xe5\x88\260" . $prize["typevalue"] . "\344\xba\xba\346\x97\266\xe5\274\x80\xe5\245\226"; goto k7H3K; e7Fcp: $paydata = $this->pay($order); goto Lgpba; kLCkb: $prize["attach_id_url"] = $this->getImage($prize["attach_id"]); goto VIxXM; dacuT: goto ZITnV; goto j0Ecq; UpmxV: $prize["app_name"] = $cj_jump_program["app_name"]; goto CxKRH; o4psG: pdo_insert(prefix_table("cj_jump_program"), $data); goto dmER4; d5CJJ: sleep(2); goto tKv9X; ghWIy: $money = $pay_function; goto Pr1Cs; tKv9X: $member = pdo_get(prefix_table("cj_member"), ["id" => $this->member["id"]]); goto v4DOr; mPHXG: if (!($prize["desc_type"] == 1 && $prize["description"])) { goto CFFc5; } goto kFTAE; N7I7I: TWdlg: goto SYpGN; wLrHn: $xcx = $xcx ? $xcx["value"] : ''; goto AdANc; M5sZg: goto GBkDq; goto KUJSK; o52_D: $xcx = pdo_get(prefix_table("cj_config"), ["key" => "title"]); goto wLrHn; BI9Nx: uBAu8: goto kN0in; bF_Dn: if (!$prize["attach_id"]) { goto Ljmco; } goto kLCkb; YVuSs: foreach (array("fir", "sec", "trd") as $award) { goto URXOL; Rrhv8: $prize[$award . "_info"] = $prize[$award . "_cname"] . " x " . $prize[$award . "_num"]; goto gBjYu; RzwSY: i6j2T: goto tc8nC; X_xGU: oW6su: goto pKwB2; VCun_: CBeN1: goto W4O0O; eoIZ0: goto T4K4v; goto X_xGU; URXOL: if (!$prize[$award . "_val"]) { goto tXZTL; } goto J_pL9; zwUWv: goto CYAuX; goto VCun_; pKwB2: $prize[$award . "_info"] = "\xe7\272\xa2\xe5\x8c\x85\xef\xbf\245" . $prize[$award . "_val"] . " x " . $prize[$award . "_num"]; goto b366r; zsBnn: tXZTL: goto RzwSY; TST24: if ($prize[$award . "_ptype"] == 1) { goto oW6su; } goto yEOQ_; W4O0O: $prize[$award . "_info"] = $prize[$award . "_cname"] . " x " . $prize[$award . "_num"]; goto EKC3M; gBjYu: q7Ldb: goto eoIZ0; EKC3M: CYAuX: goto zsBnn; b366r: T4K4v: goto zwUWv; J_pL9: if ($prize[$award . "_ptype"] == 0) { goto CBeN1; } goto TST24; yEOQ_: if (!($prize[$award . "_ptype"] == 3)) { goto q7Ldb; } goto Rrhv8; tc8nC: } goto P0NFo; nZyoO: if ($cj_jump_program) { goto LSqWo; } goto HipIo; n8voR: $pay_function = $pay_function ? $pay_function["value"] : 5; goto ghWIy; AdANc: $order = array("tid" => $orderid, "fee" => floatval($money), "title" => $xcx . "\xe7\x9a\x84\xe8\256\242\345\x8d\225"); goto FgeNr; PuP0t: $res = $prize->change($this->member["id"], $money, 5); goto VV3fQ; yEUCI: goto DdvNS; goto BU2LV; zY_hT: $data = ["appid" => $this->get("appid"), "path" => $this->get("path"), "extraData" => $this->get("extraData"), "app_name" => $this->get("appname")]; goto TsMV0; G2myu: $id = $this->get("id"); goto h6sK0; DbqKR: if ($cj_jump_program) { goto mi0mD; } goto CDqv0; u6RfQ: $prize["recommend"] = false; goto Xz3Nx; Pr1Cs: if (!($money > 0 && !$this->get("insert_rec_id"))) { goto LrSKA; } goto d5CJJ; tBV5r: $description = str_replace("</p>", "<br>", $description); goto PxhcP; AsT34: $type = $types[$type]; goto t6HB3; ZJ0wJ: $prize["copyorjump"] = 2; goto AxXPZ; QppsI: GBkDq: goto XkNh3; v4DOr: if (!($member["money"] < $money)) { goto ose2t; } goto TIfW7; gbNcT: Gaesz: goto WcTu8; StAS3: $prize["contact"] = $rec_data_arr["contact"]; goto oAw38; rWkTd: json("\350\257\245\346\x8a\275\345\245\226\344\270\x8d\xe5\xad\x98\xe5\234\xa8", 0); goto Vzc8m; U96ly: $types = ["people" => 2, "time" => 1, "manual" => 3]; goto AsT34; XyFyq: goto TWdlg; goto YUWXA; YUWXA: tXZ3o: goto bF_Dn; G0ira: jd8_b: goto v08do; On32a: foreach ($description as $item) { goto mEitc; mEitc: $item = (int) $item; goto UKFbS; HS_5Y: $prize["imgs"][] = $this->getImage($item); goto QLDQh; NYpXt: goto EK_jG; goto cOgJb; QLDQh: EK_jG: goto Ce_am; UKFbS: if ($item) { goto WlmIT; } goto NYpXt; cOgJb: WlmIT: goto HS_5Y; Ce_am: } goto eDwpV; XkNh3: json($prize); goto N7I7I; h6sK0: if (is_numeric($id)) { goto jd8_b; } goto F6DRa; oAw38: N6QGV: goto LC6xq; VV3fQ: if (!($res == false)) { goto e3ej9; } goto j9z5Q; Xz3Nx: goto N6QGV; goto gbNcT; k7H3K: ZITnV: goto M5sZg; HipIo: $prize["copyorjump"] = 1; goto yEUCI; qhTIK: e3ej9: goto gBgkI; dZnOT: $rec_data_arr = pdo_get(prefix_table("cj_home_recommend"), ["id" => $prize["recommend_id"]]); goto StAS3; rMBLq: $prize["extraData"] = $cj_jump_program["extraData"]; goto UpmxV; F6DRa: json("\345\x8f\x82\xe6\225\xb0\351\x94\231\xe8\257\xaf", 0); goto G0ira; ZvgFg: $description = explode(",", $prize["description"]); goto De0J6; nIZRU: $prize["description"] = strip_tags($description, "<img><br>"); goto BI9Nx; P0NFo: i9_De: goto LVrOM; IF9Qr: Xyynu: goto adyQt; k9oJr: try { goto plHWM; plHWM: $update_arr = array("title" => $this->get("acttitle"), "wechat_no" => $this->get("wechat_no"), "wechat_title" => $this->get("wechat_title"), "description" => $this->get("description"), "uname" => $this->get("uname"), "recommend_id" => $this->get("insert_rec_id"), "desc_type" => $this->get("desc_type")); goto DLM6a; hPI2E: if (!($update_arr["recommend_id"] && $contact)) { goto q2e8Z; } goto cl9Kn; bJRiq: q2e8Z: goto qyhoQ; DLM6a: if (!$this->get("attach_id")) { goto X0cSk; } goto ARP5k; qOYvZ: X0cSk: goto HN4U2; ARP5k: $update_arr["attach_id"] = $this->get("attach_id"); goto qOYvZ; HN4U2: pdo_update(prefix_table("cj_prize"), $update_arr, ["id" => $id]); goto kUV2i; cl9Kn: pdo_update(prefix_table("cj_home_recommend"), array("contact" => $contact), ["id" => $update_arr["recommend_id"]]); goto bJRiq; qyhoQ: pdo_commit(); goto V2dWU; V2dWU: json($id); goto t_s3B; kUV2i: $contact = $this->get("contact"); goto hPI2E; t_s3B: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto XyFyq; AEaNh: FKLWG: goto dacuT; mRDfT: if ($prize["type"] == 2) { goto h1IzG; } goto JHDTY; v08do: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto Cb8SL; j9z5Q: json("\xe5\xa5\226\xe5\223\201\345\217\221\345\xb8\x83\345\xa4\xb1\xe8\xb4\xa5", 0); goto qhTIK; yz_Zb: pdo_begin(); goto k9oJr; FxCjS: CFFc5: goto E2AE1; kN0in: $cj_jump_program = pdo_get(prefix_table("cj_jump_program"), ["prize_id" => $id]); goto nZyoO; GdMqt: $prize["path"] = $cj_jump_program["path"]; goto rMBLq; K7q25: $prize["condflex_info"] = "\xe8\207\252\345\xb7\xb1\346\x89\x8b\xe5\x8a\xa8\345\xbc\x80\xe5\245\x96"; goto AEaNh; afCvE: $description = htmlspecialchars_decode($prize["description"]); goto tBV5r; Qo9nL: $data = ["prize_id" => $id, "appid" => $this->get("appid"), "path" => $this->get("path"), "extraData" => $this->get("extraData"), "app_name" => $this->get("appname")]; goto o4psG; KUJSK: XTuV7: goto aNEGk; E2AE1: goto uBAu8; goto bb2Fz; TsMV0: pdo_update(prefix_table("cj_jump_program"), $data, ["prize_id" => $id]); goto IF9Qr; CDqv0: $pay_function = pdo_get(prefix_table("cj_config"), ["key" => "pay_function"]); goto n8voR; aNEGk: $prize["condflex_info"] = date("Y-m-d H:i", $prize["typevalue"]) . " \345\xbc\200\xe5\245\226"; goto QppsI; COcXT: $description = str_replace("\xa", "<br>", $description); goto nIZRU; Vzc8m: pTK0S: goto tkL_o; TM8P1: $type = $this->get("type", "people"); goto U96ly; Lgpba: if (!is_error($paydata)) { goto da92v; } goto XLalE; bgL2_: $_W["member"]["uid"] = $this->member["id"]; goto e7Fcp; kCW_o: $cj_jump_program = pdo_get(prefix_table("cj_jump_program"), ["prize_id" => $id]); goto DbqKR; BU2LV: LSqWo: goto ZJ0wJ; XLalE: json($paydata["message"], 0); goto Mg6wL; WcTu8: $prize["recommend"] = true; goto dZnOT; VIxXM: Ljmco: goto YVuSs; t6HB3: $isjump = $this->get("isjump"); goto cFmtg; bb2Fz: rvfrj: goto afCvE; eDwpV: s8LrZ: goto FxCjS; SYpGN: } public function doPageDetails() { goto c2fjH; K6PCi: $prize["video_sec"] = 0; goto w0EYs; paPCa: $prize["apply"] = $apply; goto OR7fJ; hckHg: Y71u6: goto QlhzM; XdHcR: $description = str_replace("</p>", "<br>", $description); goto CxGPo; w5MHA: $t_order = tablename(prefix_table("cj_order")); goto pMaTq; hj4fA: goto Y71u6; goto dZezA; bZpu7: $my_in_prize = []; goto Y33Wg; aaMu_: $prize["description"] = str_replace(" ", '', $prize["description"]); goto jG4VC; cDVC8: $apply = []; goto aVI35; YvFqd: $need_province = $prize["only_p"]; goto pI0cH; M07Jk: $prize["in_prize_sort"] = $in_prize_sort; goto Oza8b; TCa8K: $prize["group"] = $group; goto W_bZC; HAJwo: $prize["video_src"] = tomedia($prize["video_src"]); goto hckHg; d9oO3: $people = $people < $robot_num ? $people : $robot_num; goto R9X_Z; WMDmW: wMbR6: goto d9oO3; Eh3V2: goto zuidr; goto j32bv; t02bh: if (!($my_apply && $prize["max_group_num"] > 0)) { goto tl5lR; } goto hOUEq; gFNVc: $get_prize_member = pdo_fetchall($sql); goto uJQ_l; dsxJi: $prize["minfo"] = pdo_get(prefix_table("cj_member"), ["id" => $prize["member_id"]]); goto ndaPw; AMyCA: if ($is_robot_max) { goto n9xvE; } goto rlJcQ; vg7ag: $sql = "SELECT A.user_img,A.nickname FROM {$t_member} AS A LEFT JOIN {$t_order} AS B ON A.id=B.member_id WHERE B.group_join_id={$group["id"]}"; goto djzQa; rqAy2: $prize["my_in_prize"] = $my_in_prize; goto uBwoj; Jz2JR: goto DZKLn; goto QmrNB; XwyCz: $prize["video_src"] = ''; goto kyikn; smEHz: foreach ($description as $item) { goto kObCF; DHFVb: Oit4r: goto dQIOw; Z3x4g: goto e4Z9k; goto DHFVb; X_908: e4Z9k: goto KPl9v; kObCF: $item = (int) $item; goto i4Jtw; dQIOw: $prize["description"][] = $this->getImage($item); goto X_908; i4Jtw: if ($item) { goto Oit4r; } goto Z3x4g; KPl9v: } goto uLoIR; abjW3: if (!($prize["status"] == 1 && $prize["is_cancel"] == 0)) { goto dACIr; } goto ChPCr; reAFA: $my_apply = pdo_get(prefix_table("cj_order"), ["member_id" => $this->member["id"], "prize_id" => $id]); goto S8iux; pCcjI: if (is_numeric($id)) { goto r9iSS; } goto zAfep; cm3Pq: $getname = function ($type) use(&$prize) { if (!($prize[$type . "_num"] < 1)) { goto jsrxl; } return ''; jsrxl: if (!($prize[$type . "_ptype"] > 1)) { goto GEk1J; } return $prize[$type . "_cname"]; GEk1J: return $prize[$type . "_ptype"] == 0 ? $prize[$type . "_val"] : "\xe7\xba\xa2\345\x8c\205" . $prize["fir_val"] . "\xef\277\xa5"; }; goto fLadS; WioQZ: $apply = pdo_fetchall($sql); goto kDpCD; JulCo: $prize["member"] = $this->member; goto M07Jk; o1Nup: $sql = "SELECT A.user_img,A.nickname FROM {$t_member} AS A LEFT JOIN {$t_order} AS B ON A.id=B.member_id WHERE B.group_join_id={$group["id"]}"; goto dxv2C; dxv2C: $group["apply"] = pdo_fetchall($sql); goto dbdsH; Y0Xmx: $robot = pdo_get(prefix_table("cj_config"), ["key" => "robot"]); goto MzOUS; z8Aon: QyGHL: goto NlJGr; ZEJw_: dXIgH: goto YvFqd; uLoIR: Gj0g6: goto z8Aon; oUzcW: $member_data = $this->member; goto tpCvA; qh4Ba: $prize["is_mine"] = $this->member["id"] == $prize["member_id"] ? 1 : 0; goto B2f0A; qFG_w: $group = pdo_get(prefix_table("cj_group_join"), ["id" => $group_code, "prize_id" => $id]); goto Te0PN; kDpCD: foreach ($apply as &$apply_row) { $apply_row["code_num"] = $apply_row["code_num"] ? $apply_row["code_num"] : 1; gJ3OQ: } goto ZB48y; pI0cH: $need_city = $prize["only_c"]; goto KpAts; MzOUS: $robot_m = pdo_get(prefix_table("cj_config"), ["key" => "robot_m"]); goto sJ_Z9; U9sTH: $prize["video_sec"] = 0; goto XwyCz; s9pbD: json("\350\xaf\245\xe6\212\xbd\xe5\xa5\226\xe4\xb8\x8d\345\xad\x98\xe5\x9c\xa8", 0); goto ZEJw_; SVrCt: $where .= " OR (A.is_robot=1 and (B.prize_id={$id} or B.prize_id is null))"; goto SIQoD; w0EYs: $prize["video_src"] = ''; goto hj4fA; NUnXL: $prize["minfo"] = ["nickname" => "\xe7\263\xbb\347\273\237"]; goto dDOtb; uYo80: $where = "B.prize_id={$id}"; goto J3pnd; uBwoj: $prize["is_winning"] = $my_in_prize ? 1 : 0; goto qh4Ba; NSjMv: $sql = "SELECT A.user_img,B.code_num FROM {$t_member} AS A " . "LEFT JOIN {$t_order} AS B ON A.id=B.member_id " . "WHERE {$where} ORDER BY B.code_num DESC,B.order_id DESC,A.is_robot ASC,A.id LIMIT {$l}"; goto Eh3V2; djzQa: $group["apply"] = pdo_fetchall($sql); goto aXaso; laeOu: $prize["share_sub_url"] = $prize["imgurl"]; goto JulCo; dxXdb: $prize["description"] = strip_tags($description, "<img><br>"); goto IrkQS; QpPTZ: $description = htmlspecialchars_decode($prize["description"]); goto XdHcR; dbdsH: aD6x3: goto R7V7H; czH_v: H1ANd: goto qO9Fn; qDYC8: $prize["jump_info"] = pdo_get(prefix_table("cj_jump_program"), ["prize_id" => $id]); goto reAFA; KBaS3: zuidr: goto keaRN; aaw5f: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto g5tyx; pWzwr: uGMz1: goto GgS8V; nG7c2: $robot_num = $is_robot_max; goto WMDmW; DILib: $prize["imgurl"] = $this->getImage($prize["attach_id"]); goto XKmzL; eHQD7: $l = $prize["apply_num"] > 6 ? 6 : $prize["apply_num"]; goto dypL4; ZzIs9: $prize["buy_label"] = mb_substr($prize["buy_label"], 0, 4, "utf-8"); goto myN3z; kgTgE: r9iSS: goto aaw5f; ChPCr: $in_prize = pdo_getall(prefix_table("cj_prize_result"), ["prize_id" => $id], [], '', ["type ASC"]); goto CxhQC; jG4VC: $description = explode(",", $prize["description"]); goto gqFN_; frbkF: $is_robot_m = $robot_m ? $robot_m["value"] : 0; goto m9rJq; IrkQS: yEzld: goto w5MHA; rlJcQ: $people = floor(($time - $prize["created"]) / 60 * 10); goto P7Iee; G9Pjv: $group_code = $this->get("group_code"); goto fHjwq; fHjwq: if (!(empty($my_apply) && $group_code && $prize["max_group_num"] > 0)) { goto pEzXk; } goto qFG_w; Te0PN: if (empty($group)) { goto aD6x3; } goto o1Nup; GHWLq: json("\346\202\xa8\xe6\x89\200\345\234\250\xe5\x8c\272\345\237\237\344\270\215\345\205\x81\350\256\xb8\345\217\x82\xe5\x8a\xa0\346\264\xbb\xe5\x8a\250\xef\xbc\x81", 101); goto GerTY; uJQ_l: $prize["code"] = $get_prize_member; goto paPCa; tpCvA: if ($member_data["province"] == $need_province || $member_data["province"] . "\xe7\234\x81" == $need_province || $member_data["province"] . "\345\xb8\x82" == $need_province) { goto H1ANd; } goto fug1a; oWqHn: $prize["my_prize"] = $my_prize; goto TCa8K; P7Iee: $robot_num = pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename(prefix_table("cj_member")) . " WHERE is_robot=1"); goto VXRgd; GgS8V: nUqO_: goto DILib; pEf7p: goto fQgfp; goto uRiIN; n7lB0: $time = time(); goto dKCzt; lJvka: VXylx: goto ALZsV; Y33Wg: $in_prize = []; goto cm3Pq; Xnh8q: $prize["hours_of_end_sign"] = 1; goto lJvka; QC43_: $time = time(); goto Jz2JR; j32bv: IPRuR: goto TuB01; hOUEq: $group = pdo_get(prefix_table("cj_group_join"), ["member_id" => $this->member["id"], "prize_id" => $id]); goto vg7ag; o5CG0: $need_city = $cfg_only_c["value"]; goto JmUlU; JBjD8: if (!($bf_hours > 0 && date("Y-m-d H:i:s", strtotime("+" . $bf_hours . " hour")) >= date("Y-m-d H:i:s", $prize["typevalue"]))) { goto VXylx; } goto Xnh8q; uhjip: if (!$need_province) { goto yidoE; } goto oUzcW; S8iux: $my_prize = pdo_get(prefix_table("cj_prize_result"), ["prize_id" => $id, "member_id" => $this->member["id"]]); goto bZpu7; dZezA: iH5_p: goto HAJwo; eBgJL: $description = str_replace("
", "<br>", $description); goto dxXdb; B2f0A: $prize["is_buy"] = $my_apply ? 1 : 0; goto laeOu; ciiFj: Fh268: goto dsxJi; PdX9x: $cfg_only_p = pdo_get(prefix_table("cj_config"), ["key" => "cfg_only_p"]); goto o0fpJ; SjzPC: $people = (int) $people; goto nG7c2; gqFN_: $prize["description"] = []; goto smEHz; RLg59: $is_robot = $robot ? $robot["value"] : 0; goto frbkF; XS00D: $prize["video_show_time"] = $prize["video_show_time"] == 1 ? true : false; goto DL_sY; ayWGx: if ($prize["video_sec"] && $prize["video_src"]) { goto iH5_p; } goto K6PCi; QmrNB: Be0Pa: goto n7lB0; VevYw: $robot_rand = pdo_get(prefix_table("cj_config"), ["key" => "robot_rand"]); goto rpWpK; kvBJe: dACIr: goto JPnAs; zAfep: json("\xe5\217\202\xe6\x95\xb0\xe9\224\231\xe8\257\xaf", 0); goto kgTgE; m9rJq: if (!($is_robot && ($prize["is_global"] == 0 && $prize["is_robot"] == 1 || $is_robot_m && $prize["is_global"] == 1 && $prize["is_robot"] == 1))) { goto tegvy; } goto BdUZj; TuB01: $cj_prize_member = tablename(prefix_table("cj_prize_member")); goto MaZDU; pMaTq: $t_member = tablename(prefix_table("cj_member")); goto Y0Xmx; dKCzt: $hours_of_end_sign = pdo_get(prefix_table("cj_config"), ["key" => "hours_of_end_sign"]); goto qtf87; uRiIN: ltwgm: goto U9sTH; qO9Fn: rcmfn: goto pKRvK; BdUZj: if ($prize["type"] == 1) { goto Be0Pa; } goto QC43_; fug1a: json("\346\202\250\xe6\211\x80\xe5\x9c\xa8\345\214\xba\345\x9f\x9f\344\270\x8d\xe5\x85\201\xe8\xae\xb8\345\x8f\x82\345\212\240\xe6\xb4\xbb\xe5\212\250\xef\274\x81", 101); goto vBH1S; kyikn: fQgfp: goto XS00D; EGGf1: if (!($prize["video_type"] == 3)) { goto u0StB; } goto ayWGx; o0fpJ: $cfg_only_c = pdo_get(prefix_table("cj_config"), ["key" => "cfg_only_c"]); goto awCl6; HGJZn: $sql = "SELECT A.user_img,B.code_num FROM {$t_member} AS A LEFT JOIN {$t_order} AS B ON A.id=B.member_id WHERE {$where} ORDER BY B.code_num DESC,A.is_robot ASC,A.id LIMIT {$l}"; goto XWm1F; NGySk: n9xvE: goto BmCd7; STpg3: $prize["typevalue"] = date("Y-m-d H:i:s", $prize["typevalue"]); goto NZQsc; R7V7H: pEzXk: goto aIHFY; myN3z: if ($prize["video_type"] == 1 || $prize["video_type"] == 2) { goto ltwgm; } goto EGGf1; ndaPw: K5LB2: goto LsnGd; XWm1F: e9Uup: goto WioQZ; JPnAs: $prize["max_group_num"] = 0; goto yl8jf; dDOtb: goto K5LB2; goto ciiFj; awCl6: $need_province = $cfg_only_p["value"]; goto o5CG0; SIQoD: JWrLZ: goto HGJZn; GerTY: goto uGMz1; goto blqJY; YISj6: tegvy: goto cDVC8; blqJY: trWGH: goto pWzwr; Oza8b: if (!($prize["type"] == 1)) { goto Btqfi; } goto STpg3; CAgtW: f125j: goto qDYC8; aXaso: tl5lR: goto G9Pjv; yl8jf: $group = []; goto t02bh; g5tyx: if (!empty($prize)) { goto dXIgH; } goto s9pbD; JmUlU: q8vrI: goto uhjip; MaZDU: $sql = "SELECT B.user_img,O.code_num FROM {$cj_prize_member} AS A " . "LEFT JOIN {$t_member} AS B ON A.member_id=B.id " . "LEFT JOIN {$t_order} AS O ON A.member_id=O.member_id " . "WHERE A.prize_id={$id} and (O.prize_id={$id} or O.prize_id is null) ORDER BY A.id DESC LIMIT {$l}"; goto KBaS3; aVI35: if (!($prize["apply_num"] > 0)) { goto f125j; } goto eHQD7; OR7fJ: $prize["my_apply"] = $my_apply; goto oWqHn; OKk0L: cgs_H: goto QpPTZ; sJ_Z9: $is_robot_max = (int) $prize["is_robot_max"]; goto RLg59; ZB48y: eS2Hw: goto CAgtW; fLadS: $in_prize_sort = ["fir" => ["name" => $getname("fir"), "list" => []], "sec" => ["name" => $getname("sec"), "list" => []], "trd" => ["name" => $getname("trd"), "list" => []]]; goto abjW3; XKmzL: if ($prize["desc_type"] == 0) { goto cgs_H; } goto pydKz; vBH1S: goto rcmfn; goto czH_v; CxGPo: $description = str_replace("<p>", '', $description); goto eBgJL; aIHFY: if ($prize["is_global"] == 1) { goto Fh268; } goto NUnXL; o2EgR: if (!$need_city) { goto nUqO_; } goto FnpdG; ALZsV: DZKLn: goto AMyCA; KpAts: if ($need_province) { goto q8vrI; } goto PdX9x; UWwE0: DdIJM: goto kvBJe; pydKz: if (!($prize["desc_type"] == 1 && $prize["description"])) { goto QyGHL; } goto aaMu_; LsnGd: $sql = "SELECT * FROM " . tablename(prefix_table("cj_prize_code")) . " WHERE prize_id={$id} AND is_prize=1 LIMIT 9"; goto gFNVc; rpWpK: if ($is_robot && $prize["is_robot"] == 1 && $robot_rand["value"] && $prize["type"] == 1) { goto IPRuR; } goto BsiIS; NZQsc: Btqfi: goto ZzIs9; DL_sY: json($prize); goto kuS9e; dypL4: if (0) { goto leh8L; } goto VevYw; BsiIS: $where = "B.prize_id={$id}"; goto NSjMv; J3pnd: if (!($is_robot && $prize["is_robot"] == 1)) { goto JWrLZ; } goto SVrCt; CB0bL: leh8L: goto uYo80; W_bZC: $prize["in_prize"] = $in_prize; goto rqAy2; keaRN: goto e9Uup; goto CB0bL; FnpdG: if ($member_data["city"] == $need_city || $member_data["city"] . "\xe5\xb8\x82" == $need_city) { goto trWGH; } goto GHWLq; R9X_Z: $prize["apply_num"] += $people; goto YISj6; c2fjH: $id = $this->get("id"); goto pCcjI; QlhzM: u0StB: goto pEf7p; NlJGr: goto yEzld; goto OKk0L; BmCd7: $people = $is_robot_max / floor(($prize["typevalue"] - $prize["created"]) / 60) * floor(($time - $prize["created"]) / 60); goto SjzPC; qtf87: $bf_hours = (int) $hours_of_end_sign["value"]; goto JBjD8; CxhQC: foreach ($in_prize as &$value) { goto vjRbL; EdVgF: fkK6T: goto vbOes; x7bkD: $value["minfo"]["address"] = pdo_get(prefix_table("cj_address"), ["member_id" => $value["member_id"]]); goto Ni66D; Ni66D: if (!($value["member_id"] == $this->member["id"])) { goto fkK6T; } goto pod3N; vbOes: $in_prize_sort[$value["type"]]["list"][] = $value; goto x_6qk; x_6qk: lyVN8: goto OBnwo; pod3N: $my_in_prize[] = $value; goto EdVgF; vjRbL: $value["minfo"] = pdo_get(prefix_table("cj_member"), ["id" => $value["member_id"]]); goto x7bkD; OBnwo: } goto UWwE0; pKRvK: yidoE: goto o2EgR; VXRgd: goto wMbR6; goto NGySk; kuS9e: } public function doPageAllcode() { goto u76Xl; tX2xk: if (is_numeric($id)) { goto YEA0X; } goto OqAL4; bNzJU: YEA0X: goto XD9IQ; u76Xl: $id = $this->get("id"); goto tX2xk; lS0nn: oQwiO: goto FNYRi; BaIsQ: json("\350\xaf\245\xe6\212\xbd\345\xa5\x96\xe4\270\215\xe5\255\x98\345\x9c\250", 0); goto lS0nn; H_C31: if (!empty($prize)) { goto oQwiO; } goto BaIsQ; OqAL4: json("\345\x8f\202\xe6\x95\260\351\224\x99\xe8\257\257", 0); goto bNzJU; bnC4P: json($code); goto IsQ44; FNYRi: $code = pdo_getall(prefix_table("cj_prize_code"), ["prize_id" => $id]); goto bnC4P; XD9IQ: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto H_C31; IsQ44: } public function doPagePrizeWins() { goto pDa3m; akeC3: if (is_numeric($id)) { goto UF2bL; } goto SJvCM; SJvCM: json("\xe5\x8f\x82\346\x95\xb0\351\x94\x99\xe8\xaf\257", 0); goto UwC6P; vKWL2: jqGgw: goto U1EMC; C3QzP: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto rK1l3; U1EMC: $in_prize = pdo_getall(prefix_table("cj_prize_result"), ["prize_id" => $id], [], '', ["type ASC"]); goto bS75x; rK1l3: if (!(empty($prize) || $prize["status"] != 1 || $this->member["id"] != $prize["member_id"])) { goto jqGgw; } goto SHLj6; cirLE: Tdtdw: goto jpKfi; pDa3m: $id = $this->get("id"); goto akeC3; SHLj6: json("\350\257\245\xe6\x8a\xbd\xe5\xa5\226\xe4\270\215\345\255\x98\xe5\234\xa8", 0); goto vKWL2; bS75x: foreach ($in_prize as &$value) { goto Tj2vF; Tj2vF: $value["minfo"] = pdo_get(prefix_table("cj_member"), ["id" => $value["member_id"]]); goto dyh7p; lzjQ_: xc_Ui: goto VjJNR; dyh7p: $value["minfo"]["address"] = pdo_get(prefix_table("cj_address"), ["member_id" => $value["member_id"]]); goto lzjQ_; VjJNR: } goto cirLE; UwC6P: UF2bL: goto C3QzP; jpKfi: json(["prize" => $prize, "list" => $in_prize]); goto w01vD; w01vD: } public function doPageAddress() { goto NlM4Z; NlM4Z: $name = $this->get("name"); goto Hofvu; Hofvu: $phone = $this->get("phone"); goto yqRkf; HWP4r: $data = ["name" => $name, "phone" => $phone, "wxnum" => $this->get("wxnum"), "address" => $address]; goto b331e; xoQg2: json("ok"); goto CrJ52; b331e: pdo_update(prefix_table("cj_address"), $data, ["member_id" => $this->member["id"]]); goto xoQg2; yqRkf: $address = $this->get("address"); goto HWP4r; CrJ52: } public function doPageGetAddress() { goto lylff; sWSv_: z8Cw4: goto SvKsZ; SIxIB: if (!empty($data)) { goto z8Cw4; } goto HEzdt; ELoCT: $data = ["name" => '', "phone" => '', "wxnum" => '', "address" => '']; goto sWSv_; SvKsZ: json($data); goto j8JJT; HEzdt: pdo_insert(prefix_table("cj_address"), ["member_id" => $this->member["id"], "addtime" => time()]); goto ELoCT; lylff: $data = pdo_get(prefix_table("cj_address"), ["member_id" => $this->member["id"]]); goto SIxIB; j8JJT: } public function doPageAll() { goto OGZqc; uLwiD: try { goto L_mEt; FIYpb: eGlYi: goto dwefX; e_h93: vWsvT: goto LZgbb; VJm3R: vOP4c: goto sCRPk; VmQQb: pdo_insert(prefix_table("cj_prize_member"), $in_data); goto ZX6eY; okHFj: $have_rebot_num = pdo_fetchcolumn("SELECT COUNT(*) FROM {$cj_prize_member} WHERE prize_id={$id} and is_roboot=1"); goto I6GrJ; V0p8m: $in_data = ["prize_id" => $id, "member_id" => pdo_fetchcolumn("SELECT id FROM {$t_member} where is_robot=1 and id not in (select member_id from {$cj_prize_member} where prize_id='{$id}' and is_roboot=1) order by rand() limit 1"), "is_roboot" => 1]; goto VmQQb; eI9Kx: goto cePKY; goto FIYpb; bSDn4: $orders = pdo_fetchall($sql); goto S724s; fW_8b: goto vWsvT; goto VJm3R; YC0X2: cePKY: goto TUaXo; S724s: foreach ($orders as $o_v) { goto eVqhT; c6QRo: $in_data = ["prize_id" => $id, "member_id" => $o_v["member_id"], "is_roboot" => pdo_fetchcolumn("SELECT is_robot FROM {$t_member} WHERE id=" . $o_v["member_id"])]; goto kTd3M; bfcGU: EvsEG: goto VVTmK; eVqhT: $in_flag = pdo_fetchcolumn("SELECT COUNT(*) FROM {$cj_prize_member} WHERE prize_id={$id} and member_id=" . $o_v["member_id"]); goto z2r1q; z2r1q: if ($in_flag) { goto EwU_H; } goto c6QRo; kTd3M: pdo_insert(prefix_table("cj_prize_member"), $in_data); goto B60fr; B60fr: EwU_H: goto bfcGU; VVTmK: } goto ymWSZ; TUaXo: if (!($i < $left_robot_num)) { goto eGlYi; } goto fc9DI; CGcrC: $recd_p = pdo_fetchcolumn("SELECT COUNT(*) FROM {$cj_prize_member} WHERE prize_id={$id}"); goto rfUsw; X6o9m: $left_robot_num = $people - pdo_fetchcolumn("SELECT COUNT(*) FROM {$cj_prize_member} WHERE prize_id={$id}"); goto BK4Gg; agnF2: pdo_insert(prefix_table("cj_prize_member"), $in_data); goto vOxOG; BK4Gg: $i = 0; goto YC0X2; ZX6eY: iDqs4: goto V2lFA; LZgbb: if (!($i < $last_rebot_num - $have_rebot_num)) { goto vOP4c; } goto V0p8m; dwefX: hInPj: goto okHFj; u_Ny9: $i++; goto eI9Kx; qfEKR: $i = 0; goto e_h93; I6GrJ: if (!($last_rebot_num && $last_rebot_num > $have_rebot_num)) { goto H_JCw; } goto qfEKR; khwie: pdo_commit(); goto KtTSy; vOxOG: cKxqF: goto u_Ny9; ymWSZ: sI6eq: goto X6o9m; L_mEt: $where .= " OR (A.is_robot=1 and (B.prize_id={$id} or B.prize_id is null))"; goto CGcrC; sCRPk: H_JCw: goto khwie; V2lFA: $i++; goto fW_8b; rfUsw: if (!($robot_rand["value"] && $people - $recd_p > 0)) { goto hInPj; } goto te9aW; te9aW: $sql = "SELECT member_id FROM {$t_order} where prize_id={$id} order by order_id ASC"; goto bSDn4; fc9DI: $in_data = ["prize_id" => $id, "member_id" => pdo_fetchcolumn("SELECT id FROM {$t_member} where is_robot=1 and id not in (select member_id from {$cj_prize_member} where prize_id='{$id}' and is_roboot=1) order by rand() limit 1"), "is_roboot" => 1]; goto agnF2; KtTSy: } catch (Exception $e) { goto untW3; rSxWN: eUTrN: goto G5MCC; Wae0j: pdo_rollback(); goto rSxWN; LjJG2: if ($db_read_write) { goto eUTrN; } goto Wae0j; untW3: $error = $e->getMessage(); goto LjJG2; G5MCC: } goto FakoJ; iBcD0: $time = time(); goto n7_5o; yEx2D: goto gF3kd; goto Z_yyJ; XAPy4: if ($is_robot && $prize["is_robot"] == 1 && $robot_rand["value"] && $prize["type"] == 1) { goto wO9JU; } goto tRP1k; YcJlp: $t_member = tablename(prefix_table("cj_member")); goto vB56j; Os283: $limit = ($p - 1) * $page_size; goto KnNB3; usB4g: $list_show_type = pdo_get(prefix_table("cj_config"), ["key" => "list_show_type"]); goto VZqpA; KnNB3: $robot = pdo_get(prefix_table("cj_config"), ["key" => "robot"]); goto iFcNX; wnCbZ: $people = $people < $robot_num ? $people : $robot_num; goto tV52b; eZP5L: huZFC: goto Xl2X2; xE7qR: if ($prize["type"] == 1) { goto wgxR_; } goto tH86V; eIr7_: $robot_num = $is_robot_max; goto WbKtq; UgxGr: $cj_prize_result = tablename(prefix_table("cj_prize_result")); goto kDeWm; fhZun: goto huZFC; goto VhrNb; BkZdl: $p = $this->get("p", 1); goto usB4g; iFcNX: $robot_m = pdo_get(prefix_table("cj_config"), ["key" => "robot_m"]); goto cGlUg; cGlUg: $is_robot = $robot ? $robot["value"] : 0; goto iSgFd; yyACU: if (!$apply) { goto H2ea8; } goto UgxGr; mLEij: json($apply); goto jPIfL; x0YZ9: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto XYRRL; Xl2X2: $apply = pdo_fetchall($sql); goto yyACU; jE5My: $people = $is_robot_max / floor(($prize["typevalue"] - $prize["created"]) / 60) * floor(($time - $prize["created"]) / 60); goto dSR2r; WbKtq: gF3kd: goto wnCbZ; VZqpA: $robot_rand = pdo_get(prefix_table("cj_config"), ["key" => "robot_rand"]); goto QSQbx; EleIH: if (!($is_robot && ($prize["is_global"] == 0 && $prize["is_robot"] == 1 || $is_robot_m && $prize["is_global"] == 1 && $prize["is_robot"] == 1))) { goto k3SQ4; } goto xE7qR; NS4zp: $is_robot_max = (int) $prize["is_robot_max"]; goto BwT69; ojywV: if (!($is_robot && $prize["is_robot"] == 1)) { goto Dg47I; } goto syBqA; S0uD6: goto igDU4; goto IkDDp; tV52b: $last_rebot_num = $people; goto c1b1W; V3BBL: $robot_num = pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename(prefix_table("cj_member")) . " WHERE is_robot=1"); goto yEx2D; QSQbx: $cj_prize_member = tablename(prefix_table("cj_prize_member")); goto LiJ29; Xcbji: json([]); goto ZxA3H; ptCdB: $sql = "SELECT B.user_img,B.id,B.nickname,O.code_num FROM {$cj_prize_member} AS A " . "LEFT JOIN {$t_member} AS B ON A.member_id=B.id " . "LEFT JOIN {$t_order} AS O ON A.member_id=O.member_id " . "WHERE A.prize_id={$id} and (O.prize_id={$id} or O.prize_id is null) ORDER BY A.id DESC LIMIT {$limit}, {$page_size}"; goto eZP5L; IkDDp: wgxR_: goto iBcD0; kDeWm: foreach ($apply as &$value) { $value["code_num"] = $value["code_num"] ?: 1; lUftT: } goto UV9V3; OGZqc: $id = $this->get("id"); goto BkZdl; BwT69: if ($is_robot_max) { goto LxpOo; } goto vkpvz; vkpvz: $people = floor(($time - $prize["created"]) / 60 * 10); goto V3BBL; UV9V3: DNujw: goto NGwDR; tH86V: $time = time(); goto S0uD6; cco6a: $page_size = $limit + $page_size > $people ? $people % $page_size : $page_size; goto ByJAB; kzTQd: if (!($limit > $people)) { goto DJ0ae; } goto Xcbji; vB56j: $where = "B.prize_id={$id}"; goto ojywV; syBqA: pdo_begin(); goto uLwiD; VhrNb: wO9JU: goto ptCdB; FakoJ: Dg47I: goto XAPy4; NGwDR: H2ea8: goto mLEij; c1b1W: $people += pdo_fetchcolumn("SELECT COUNT(*) FROM {$t_order} WHERE prize_id={$id}"); goto kzTQd; ByJAB: k3SQ4: goto YcJlp; ZxA3H: DJ0ae: goto cco6a; n7_5o: igDU4: goto NS4zp; iSgFd: $is_robot_m = $robot_m ? $robot_m["value"] : 0; goto x0YZ9; Z_yyJ: LxpOo: goto jE5My; LiJ29: $page_size = $list_show_type["value"] == 1 ? 120 : 10; goto Os283; dSR2r: $people = (int) $people; goto eIr7_; XYRRL: $t_order = tablename(prefix_table("cj_order")); goto EleIH; tRP1k: $sql = "SELECT A.user_img,A.id,A.nickname,B.code_num FROM {$t_member} AS A " . "LEFT JOIN {$t_order} AS B ON A.id=B.member_id " . "WHERE {$where} ORDER BY B.code_num DESC,B.order_id DESC,A.is_robot ASC,A.id LIMIT {$limit}, {$page_size}"; goto fhZun; jPIfL: } public function doPageApply() { goto p4jp8; Mroof: pdo_begin(); goto YfgUi; cwo1Y: ZvDtq: goto ofqUc; O6MbM: if ($db_read_write) { goto qZR3T; } goto Mroof; Sv0iV: $invitation_id = $this->get("invitation_id", 0); goto FBp3b; p4jp8: if (!(!$this->member["user_img"] && !$this->member["nickname"])) { goto NrHUn; } goto X0cZi; xt3o5: if (empty($apply)) { goto OX3aA; } goto UtNic; PrYui: OX3aA: goto nlLIR; YfgUi: qZR3T: goto g1A5C; ZKyQT: if (!$db_read_write_v["value"]) { goto iItCY; } goto XWLgH; gE9wG: json("\xe8\257\xa5\xe6\212\xbd\345\245\226\344\270\x8d\xe5\xad\x98\xe5\x9c\250", 0); goto vTBxg; XWLgH: $db_read_write = true; goto xMuVB; g1A5C: try { goto BdwI3; oX7fx: throw new Exception("\xe5\x8f\x82\345\212\240\345\xa4\261\xe8\xb4\245"); goto QcHi4; yCC4p: ekaJJ: goto umoAo; eO62q: $cj_prize = tablename(prefix_table("cj_prize")); goto nwEFn; QcHi4: BxY_b: goto nOoJ9; eMSmK: throw new Exception($p->error); goto asuYC; MKFq2: if (!pdo_query($sql)) { goto ekaJJ; } goto ZSo12; rOZx5: sHXk6: goto ycgzn; umoAo: rXx_3: goto qvdLB; WIrGK: $group = ["prize_id" => $id, "member_id" => $this->member["id"], "number" => $prize["max_group_num"], "apply_num" => 1, "created" => time()]; goto zxfOa; Y8WKX: if (!(!empty($group) && $group["prize_id"] == $id && $group["apply_num"] < $group["number"])) { goto rXx_3; } goto sz_L9; tr8tn: $group = pdo_get(prefix_table("cj_group_join"), ["id" => $group_join_id]); goto Y8WKX; j5NNe: $p->create_code($id, $invitation_id, $this->member["id"], 2); goto FAbeV; ZSo12: $group_id = $group_join_id; goto yCC4p; S0Oqz: $group_join_id = $this->get("group_code"); goto U3keP; dVKuY: if (pdo_insert(prefix_table("cj_order"), $order)) { goto Mn3YF; } goto PadR5; BnPgQ: $sql = "UPDATE {$cj_group_join} SET apply_num=apply_num+1 WHERE id={$group_join_id} AND apply_num<{$group["number"]}"; goto MKFq2; tqlU8: ufa0S: goto vkZBn; OriuN: json("\xe5\x8f\xa3\xe4\273\244\xe9\x94\x99\350\xaf\xaf", 0); goto dKOVG; zxfOa: pdo_insert(prefix_table("cj_group_join"), $group); goto zRmSr; fu6yK: Mn3YF: goto eO62q; ycgzn: S6czO: goto UhD2Q; nrCPF: json($code); goto fBati; zRmSr: $group_id = pdo_insertid(); goto rOZx5; b4MrQ: ZI3DH: goto Uc7oB; cAn9O: nGFRi: goto nrCPF; U3keP: if (empty($group_join_id)) { goto kjO31; } goto tr8tn; nOoJ9: $p = new prize(); goto Lmt2z; Cjv05: $order = ["order_sn" => date("YmdHis", time()) . $this->member["id"] . mt_rand(1000, 9999), "prize_id" => $id, "group_join_id" => $group_id, "member_id" => $this->member["id"], "addtime" => time()]; goto dVKuY; Lmt2z: $code = $p->create_code($id, $this->member["id"]); goto Qo7lN; vkZBn: if (!($command != $prize["command"])) { goto IVzEf; } goto OriuN; dKOVG: IVzEf: goto abCIp; FAbeV: z6hY0: goto KlvT7; qvdLB: kjO31: goto zzHCC; KlvT7: if ($db_read_write) { goto ZI3DH; } goto sw3Gt; sw3Gt: pdo_commit(); goto b4MrQ; Uc7oB: if (!($prize["type"] == 2 && $prize["typevalue"] - 1 <= $prize["apply_num"])) { goto nGFRi; } goto P5GOm; P5GOm: $p->open($id); goto cAn9O; UhD2Q: if (!($prize["is_command"] == 1)) { goto Zkaar; } goto GPu_j; PadR5: throw new Exception("\345\217\x82\345\212\xa0\345\xa4\261\xe8\xb4\xa5"); goto fu6yK; UdJIA: json("\xe8\257\267\xe8\xbe\x93\345\x85\xa5\345\217\243\344\273\xa4", 0); goto tqlU8; BdwI3: $group_id = 0; goto Vxaoz; KEMnV: if (pdo_query($sql)) { goto BxY_b; } goto oX7fx; asuYC: CLS7z: goto Jr0PQ; sz_L9: $cj_group_join = tablename(prefix_table("cj_group_join")); goto BnPgQ; Vxaoz: if (!($prize["max_group_num"] > 0 && false)) { goto S6czO; } goto S0Oqz; Qo7lN: if ($code) { goto CLS7z; } goto eMSmK; Jr0PQ: if (!$invitation_id) { goto z6hY0; } goto j5NNe; zzHCC: if (!($group_id == 0)) { goto sHXk6; } goto WIrGK; nwEFn: $sql = "UPDATE {$cj_prize} SET apply_num=apply_num+1 WHERE id={$id}"; goto KEMnV; abCIp: Zkaar: goto Cjv05; GPu_j: if ($command = $this->get("command")) { goto ufa0S; } goto UdJIA; fBati: } catch (Exception $e) { goto p7Ggw; ToP6g: if ($db_read_write) { goto Cr14c; } goto BvU1O; BvU1O: pdo_rollback(); goto cYKro; cYKro: Cr14c: goto Dkw0_; p7Ggw: $error = $e->getMessage(); goto ToP6g; Dkw0_: } goto QyJbH; fW6UZ: $apply = pdo_get(prefix_table("cj_order"), ["prize_id" => $id, "member_id" => $this->member["id"]]); goto xt3o5; UtNic: json("\xe6\x82\xa8\345\xb7\262\xe7\273\x8f\xe5\x8f\202\xe4\270\x8e\350\277\207", 0); goto PrYui; X0cZi: json('', -1); goto DXQhr; ofqUc: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto fW_zb; zxwvG: $db_read_write_v = pdo_get(prefix_table("cj_config"), ["key" => "db_read_write"]); goto ZKyQT; Mj2Tm: $id = $this->get("id"); goto Sv0iV; xMuVB: iItCY: goto O6MbM; QyJbH: json($error, 0); goto I7Dce; HJ0LP: $invitation_id = 0; goto cwo1Y; FBp3b: if (!(!$invitation_id || $invitation_id == $this->member["id"])) { goto ZvDtq; } goto HJ0LP; DXQhr: NrHUn: goto Mj2Tm; fW_zb: if (!empty($prize)) { goto DH4Wo; } goto gE9wG; vTBxg: DH4Wo: goto fW6UZ; nlLIR: $db_read_write = false; goto zxwvG; I7Dce: } public function doPageCode() { goto diWQm; FIOBQ: if (!(empty($member_id) || empty($prize_id))) { goto BxKuB; } goto vYPHL; TBuSZ: $sql = "SELECT * FROM {$cj_prize_code} WHERE member_id={$member_id} AND prize_id={$prize_id} ORDER BY id ASC"; goto Lgrgy; se0Ot: $code = pdo_get(prefix_table("cj_prize_code"), ["member_id" => $member_id, "prize_id" => $prize_id]); goto FH0Js; diWQm: $p = $this->get("p", 1); goto RntLN; GvjR6: nMAdZ: goto ldXCX; qQz2I: $member_id = $this->get("member_id") ?: $this->member["id"]; goto G8TuU; vYPHL: json("\xe5\x8f\x82\xe6\225\260\351\x94\x99\xe8\xaf\xaf", 0); goto RlsEC; UtG9W: $member = pdo_get(prefix_table("cj_member"), ["id" => $member_id]); goto etDqj; IWqX3: kNqFD: goto TBuSZ; Ov_Bm: $sql = "SELECT * FROM {$cj_prize_code} WHERE member_id={$member_id} AND prize_id={$prize_id} ORDER BY id ASC LIMIT {$limit},{$page_size}"; goto zT3XL; V1Gc3: foreach ($code as &$value) { goto yE0MW; yE0MW: $id = $value["type"] == 1 ? $value["member_id"] : $value["be_invited_id"]; goto rEJlk; rUdD8: VUkzh: goto BhOV1; rEJlk: $value["minfo"] = pdo_get(prefix_table("cj_member"), ["id" => $id]); goto rUdD8; BhOV1: } goto JtRvY; VYV_b: oPBTu: goto hW3jK; BM4q1: $p = new prize(); goto Nrlwf; V4ziw: $limit = ($p - 1) * $page_size; goto qQz2I; Nrlwf: $p->create_code($prize_id, $member_id, 0, 1, 2); goto xM98L; G8TuU: $prize_id = $this->get("id"); goto FIOBQ; ldXCX: $cj_prize_code = tablename(prefix_table("cj_prize_code")); goto fXKcI; JtRvY: KxQ5w: goto VYV_b; i_ynn: $code = pdo_fetchall($sql); goto vdmS7; hW3jK: json($code); goto uOOQ2; Lgrgy: F334f: goto i_ynn; xM98L: WLhMF: goto GvjR6; RntLN: $page_size = 10; goto V4ziw; vdmS7: if (empty($code)) { goto oPBTu; } goto V1Gc3; RlsEC: BxKuB: goto UtG9W; FH0Js: if (!empty($code)) { goto WLhMF; } goto BM4q1; etDqj: if (!($member["is_robot"] == 1)) { goto nMAdZ; } goto se0Ot; fXKcI: if ($this->get("ispage") == 1) { goto kNqFD; } goto Ov_Bm; zT3XL: goto F334f; goto IWqX3; uOOQ2: } public function doPageOpenPrize() { goto vRKSn; CUxJ6: $p = new prize(); goto cjVVJ; qEZMV: JWJJh: goto LpYq4; ZNkhO: lmn3a: goto CUxJ6; H01gX: json("\xe8\xbf\230\xe6\xb2\xa1\344\xba\272\xe5\x8f\x82\344\xb8\216,\xe6\x97\xa0\xe6\xb3\x95\345\274\x80\xe5\xa5\226"); goto ZNkhO; QwiKk: json($p->error, 0); goto dM3qS; zepKq: if (!(empty($prize) || $prize["member_id"] != $this->member["id"] || $prize["apply_num"] < 1 || $prize["type"] != 3)) { goto lmn3a; } goto H01gX; xYajA: json("\345\xbc\200\xe5\245\226\346\x88\220\345\x8a\237"); goto TUG7h; LpYq4: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $id]); goto zepKq; vRKSn: $id = $this->get("id"); goto nS911; TUG7h: Vznb4: goto QwiKk; cjVVJ: if (!$p->open($id)) { goto Vznb4; } goto xYajA; nS911: if (is_numeric($id)) { goto JWJJh; } goto m02dm; m02dm: json("\345\x8f\202\346\x95\xb0\351\224\x99\350\257\257"); goto qEZMV; dM3qS: } public function doPageOpen() { goto giybx; giybx: if (!(date("H") == "03")) { goto DfuBD; } goto zoqsu; QYvn4: qMu2M: goto mSxeO; mSxeO: LgpX9: goto s9rRP; ER_4F: $m_prize = new prize(); goto XlCDu; wB7iZ: foreach ($data as $value) { $m_prize->open($value["id"]); Vb64U: } goto QYvn4; IXXU_: $cj_prize = tablename(prefix_table("cj_prize")); goto q8B18; SwZOo: $data = pdo_fetchall($sql); goto yuWzr; XlCDu: $sql = "SELECT * FROM {$cj_prize} WHERE status=0 AND is_cancel=0 AND ((type=1 AND typevalue<{$t}) or (type=2 and typevalue<=apply_num))"; goto cHjKq; acVcS: $this->sendTpl(); goto tnKbh; yuWzr: if (!$data) { goto SzWiH; } goto EAPLH; zoqsu: pdo_update(prefix_table("cj_config"), ["value" => 0], ["key" => "tpl_flag_a"]); goto TNNwH; Lump2: $sql = "select * from " . tablename(prefix_table("cj_pre_prize")) . " where in_task=1 and in_task_time<='{$in_task_time}'"; goto SwZOo; EAPLH: foreach ($data as $line) { $prize_id = $m_prize->add($line); FkdHh: } goto OXC1T; OXC1T: kPkSQ: goto ioLpa; tnKbh: echo "ok"; goto TiMr_; Lwgcc: DfuBD: goto IXXU_; cHjKq: $data = pdo_fetchall($sql); goto vm2Ab; ioLpa: SzWiH: goto acVcS; TNNwH: pdo_update(prefix_table("cj_config"), ["value" => 0], ["key" => "tpl_flag_b"]); goto Lwgcc; s9rRP: $in_task_time = time(); goto Lump2; vm2Ab: if (empty($data)) { goto LgpX9; } goto wB7iZ; q8B18: $t = time(); goto ER_4F; TiMr_: } public function sendTpl() { goto Qslmu; UwJna: pdo_insert(prefix_table("cj_config"), ["key" => "tpl_flag_a", "value" => 0]); goto kAmrA; NVhe3: pdo_update(prefix_table("cj_config"), ["value" => 1], ["key" => "tpl_flag_a"]); goto QF7Rp; XaFFI: foreach ($template as $value) { goto BIQYZ; TpMpi: pdo_update(prefix_table("cj_template_message"), ["tpl_res_order_id" => $begin_member + $get_num], ["id" => $value["id"]]); goto MhXlt; ykIsd: jtYDw: goto TpMpi; Mobg3: POSVA: goto aGVbp; X5H1k: pdo_delete(prefix_table("cj_form_id"), ["id" => $form_id["id"]]); goto XNL3x; T5wTd: $wxObj->sendTemplateMessage($prize_organiser, $tpl_to_organiser, $data, $form_id["form_id"], "pages/partake/partake?id=" . $value["relation_id"]); goto X5H1k; EPou2: goto bvywA; goto ykIsd; QAzZf: Tu6JN: goto M7Qwo; sNd2E: $order = pdo_fetchall("SELECT * FROM " . tablename(prefix_table("cj_order")) . " WHERE prize_id=" . $value["relation_id"] . " order by order_id asc limit {$begin_member}, {$get_num}"); goto H8BYY; F4AiL: tkMaS: goto D8mJM; D8mJM: $title = $prize["fir_val"]; goto pSEOC; V7iJf: if ($is_robot && $prize["is_robot"] == 1 && $prize["type"] == 1) { goto rfIVO; } goto R2YOy; uX44O: $get_num = 100; goto sNd2E; qjVsp: HZWb0: goto jsIR4; VTyRc: $begin_member = (int) $value["tpl_res_order_id"]; goto uX44O; sPm39: rfIVO: goto EuJL2; pSEOC: goto jY8dW; goto Zi8Oc; elu1S: $title = "\xe7\x8e\xb0\xe9\207\221\xe7\xba\xa2\xe5\x8c\205"; goto HPH7f; sXo6m: $prize = pdo_get(prefix_table("cj_prize"), ["id" => $value["relation_id"]]); goto jl70Y; wOl75: if (!($prize["member_id"] > 0)) { goto POSVA; } goto kBaXU; R2YOy: $order_num = pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename(prefix_table("cj_order")) . " WHERE prize_id=" . $value["relation_id"]); goto UuV6C; jl70Y: $kv2 = ''; goto wOl75; M7Qwo: if ($order) { goto jtYDw; } goto q3lDG; H8BYY: $is_robot_num = 0; goto ZpCP3; qrOsT: goto jY8dW; goto F4AiL; dvs2j: if (!$form_id) { goto e7BkB; } goto T5wTd; aGVbp: if ($prize["fir_ptype"] == 0) { goto tkMaS; } goto nzZv4; Zi8Oc: USqRV: goto elu1S; Tw6O9: $data = ["keyword1" => ["value" => $title], "keyword2" => ["value" => ($prize["uname"] ? $prize["uname"] : $prize["title"]) . " \345\217\221\xe8\265\267\xe7\232\x84\346\212\275\xe5\xa5\x96\346\255\243\xe5\234\xa8\xe5\xbc\200\345\xa5\226\357\xbc\214\xe7\x82\271\xe5\x87\xbb\346\x9f\245\347\234\213\344\270\255\xe5\xa5\x96\xe5\220\215\345\x8d\225"]]; goto VTyRc; ZpCP3: foreach ($order as $line) { goto uGwgM; uGwgM: $member = pdo_get(prefix_table("cj_member"), ["id" => $line["member_id"]]); goto mw639; HVifZ: $time = time() - 7 * 86400; goto ve2Qe; ve2Qe: $form_id = pdo_fetch("SELECT * FROM " . tablename(prefix_table("cj_form_id")) . " WHERE member_id={$line["member_id"]} AND created > {$time}"); goto s4d5i; G81qj: $is_robot_num++; goto UayWb; uD5z0: pdo_delete(prefix_table("cj_form_id"), ["id" => $form_id["id"]]); goto We1wH; EPnVi: j8Y2q: goto GgueX; tGxvS: J3wle: goto HVifZ; mw639: if (!($member["is_robot"] == 1)) { goto J3wle; } goto G81qj; s4d5i: if (!(empty($member) || empty($form_id))) { goto j8Y2q; } goto C3kPK; GgueX: $wxObj->sendTemplateMessage($member["openid"], $config["value"], $data, $form_id["form_id"], "pages/partake/partake?id=" . $value["relation_id"]); goto uD5z0; We1wH: KrbgO: goto lAd7B; C3kPK: goto KrbgO; goto EPnVi; UayWb: goto KrbgO; goto tGxvS; lAd7B: } goto QAzZf; jsIR4: XngQr: goto q2xpM; jY36H: pdo_update(prefix_table("cj_template_message"), ["tpl_res_sender_flag" => 1], ["id" => $value["id"]]); goto qjVsp; iPyGn: $time = time() - 7 * 86400; goto NjrDu; TDe8O: $data = ["keyword1" => ["value" => "\xe6\x82\250\xe5\x8f\221\350\265\xb7\347\x9a\204\xe6\x8a\275\xe5\xa5\226\346\xb4\xbb\345\x8a\xa8\xe5\267\262\345\xbc\200\xe5\xa5\x96,\345\277\253\345\x8e\xbb\347\x9c\x8b\xe7\234\x8b\xe4\270\255\xe5\245\226\xe4\xbf\241\346\201\257\345\220\247!"], "keyword2" => ["value" => "\xe6\x80\273\345\x8f\202\xe4\270\x8e\344\xba\xba\346\225\xb0\357\274\232" . $order_num]]; goto dvs2j; HPH7f: jY8dW: goto Tw6O9; NjrDu: $form_id = pdo_fetch("SELECT * FROM " . tablename(prefix_table("cj_form_id")) . " WHERE member_id='" . $prize["member_id"] . "' AND created > {$time}"); goto TDe8O; EuJL2: $order_num = pdo_fetchcolumn("SELECT COUNT(*) FROM {$cj_prize_member} WHERE prize_id=" . (int) $value["relation_id"]); goto L7dtO; UuV6C: goto hpTvX; goto sPm39; kBaXU: $member = pdo_get(prefix_table("cj_member"), ["id" => $prize["member_id"]]); goto AyFan; AyFan: $kv2 = $member["nickname"] . "\xe5\217\221\350\xb5\267\xe7\232\204"; goto lWtey; Mszig: if (!($value["tpl_res_sender_flag"] != 1 && $prize_organiser && $tpl_to_organiser)) { goto HZWb0; } goto V7iJf; BIQYZ: $prize_organiser = ''; goto sXo6m; L7dtO: hpTvX: goto iPyGn; JNSMX: $title = $prize["fir_cname"]; goto qrOsT; q3lDG: pdo_update(prefix_table("cj_template_message"), ["status" => 1], ["id" => $value["id"]]); goto EPou2; MhXlt: bvywA: goto Mszig; nzZv4: if ($prize["fir_ptype"] == 1) { goto USqRV; } goto JNSMX; lWtey: $prize_organiser = $member["openid"]; goto Mobg3; XNL3x: e7BkB: goto jY36H; q2xpM: } goto VUIgZ; sUlB3: pdo_update(prefix_table("cj_config"), ["value" => 0], ["key" => "tpl_flag_b"]); goto ekIQO; YIHUp: hS2OD: goto Cl5Nr; CB9KD: Z9vXl: goto rs2gv; Ro12y: $config = pdo_get(prefix_table("cj_config"), ["key" => "open_prize_notice"]); goto cDXO_; HkORK: $tpl_to_organiser = $tpl_to_organiser["value"]; goto TzUVe; waO9A: $home_recommendation_need_check = $home_recommendation_need_check_cfg["value"]; goto e6tGc; DlXio: pdo_update(prefix_table("cj_config"), ["value" => 1], ["key" => "tpl_flag_b"]); goto YHV5O; QF7Rp: $time = time() - 7 * 86400; goto UCqBR; LLUEV: foreach ($cj_prize_arr as $line) { goto Xhumh; k8ACm: $data_tpl = ["keyword1" => ["value" => $member_name ? $member_name : $line["uname"]], "keyword2" => ["value" => $line["title"]], "keyword3" => ["value" => $line["type"] == 1 ? "\xe6\xb4\xbb\345\x8a\250\347\xbb\x93\346\235\237\xe6\227\266\351\227\264 " . date("Y-m-d H:i:s", $line["typevalue"]) : "\346\264\273\xe5\212\250\351\231\x90\xe7\xba\246\xe4\272\272\xe6\225\xb0 " . $line["typevalue"] . " \344\272\272"]]; goto oOwPD; j_t6H: TbMWU: goto dbnBk; dbnBk: if ($line["is_global"] == 0) { goto RNuXY; } goto K3UZ1; BO4p6: if ($members) { goto TbMWU; } goto mhNZ7; oOwPD: foreach ($members as $member) { goto lV7wA; skQvk: JkdrC: goto STE9e; N3fJh: if (!$form_id) { goto JkdrC; } goto tTrIa; tTrIa: $wxObj->sendTemplateMessage($member["openid"], $tpl_to_allfans_begin, $data_tpl, $form_id["form_id"], "pages/partake/partake?id=" . $line["id"]); goto OL3If; OL3If: pdo_delete(prefix_table("cj_form_id"), ["id" => $form_id["id"]]); goto skQvk; lV7wA: $form_id = pdo_fetch("SELECT * FROM " . tablename(prefix_table("cj_form_id")) . " WHERE member_id='" . $member["id"] . "' AND created > {$time}"); goto N3fJh; STE9e: RQp3K: goto Tr_Sw; Tr_Sw: } goto XjHF5; mhNZ7: pdo_update(prefix_table("cj_prize"), ["to_allfans_flag" => 2, "tpl_flag_begin" => "F"], ["id" => $line["id"]]); goto on5HT; on5HT: goto G62C7; goto j_t6H; Xhumh: $begin_member = $line["tpl_flag_begin"] == "B" ? 0 : (int) $line["tpl_flag_begin"]; goto qnfqg; htMkp: goto XwGqm; goto tDNbC; fzdFu: G62C7: goto Rq08E; R8vt1: $members = pdo_fetchall("SELECT id, openid FROM " . tablename(prefix_table("cj_member")) . " WHERE is_robot=0 order by id asc limit {$begin_member}, {$get_num}"); goto BO4p6; SSxQx: Gqxo3: goto BgygF; XjHF5: gPETF: goto htMkp; tDNbC: RNuXY: goto xzBMO; qnfqg: $get_num = 30; goto R8vt1; K3UZ1: $member_name = pdo_fetchcolumn("select nickname from " . tablename(prefix_table("cj_member")) . " where id=" . $line["member_id"]); goto k8ACm; BgygF: XwGqm: goto ENCLZ; YT5MO: foreach ($members as $member) { goto JJE9x; JJE9x: $form_id = pdo_fetch("SELECT * FROM " . tablename(prefix_table("cj_form_id")) . " WHERE member_id='" . $member["id"] . "' AND created > {$time}"); goto CrXFw; WRDhc: f6h9v: goto qDE5r; gN320: $wxObj->sendTemplateMessage($member["openid"], $tpl_to_allfans_begin, $data_tpl, $form_id["form_id"], "pages/partake/partake?id=" . $line["id"]); goto dWvLW; dWvLW: pdo_delete(prefix_table("cj_form_id"), ["id" => $form_id["id"]]); goto gP7ux; gP7ux: QNepP: goto WRDhc; CrXFw: if (!$form_id) { goto QNepP; } goto gN320; qDE5r: } goto SSxQx; ENCLZ: pdo_update(prefix_table("cj_prize"), ["tpl_flag_begin" => $begin_member + $get_num], ["id" => $line["id"]]); goto fzdFu; xzBMO: $data_tpl = ["keyword1" => ["value" => $line["uname"] ? $line["uname"] : "\346\226\xb0\346\212\275\xe5\245\x96\346\xb4\273\xe5\x8a\xa8\xe5\x8f\221\345\xb8\203"], "keyword2" => ["value" => $line["title"]], "keyword3" => ["value" => $line["type"] == 1 ? "\346\264\xbb\345\212\250\xe7\273\x93\346\235\x9f\xe6\x97\266\xe9\x97\xb4 " . date("Y-m-d H:i:s", $line["typevalue"]) : "\346\xb4\xbb\345\x8a\250\xe9\x99\220\347\272\xa6\xe4\xba\xba\xe6\x95\xb0 " . $line["typevalue"] . " \xe4\272\xba"]]; goto YT5MO; Rq08E: } goto CB9KD; Z1hEJ: $sql = "SELECT * FROM " . tablename(prefix_table("cj_prize")) . " WHERE is_cancel=0 and status=0 and tpl_flag_begin!='' and tpl_flag_begin!='F' and ((is_global=1 and recommend_id > 0 and member_id>0) or is_global=0)"; goto UvW17; x3Q3n: $sql = "SELECT * FROM " . tablename(prefix_table("cj_prize")) . " WHERE is_cancel=0 and status=0 and tpl_flag_begin!='' and tpl_flag_begin!='F' and ((is_global=1 and recommend_id > 0 and member_id>0 and chk_flag=1) or is_global=0)"; goto B_q7V; NpG5w: FxtOQ: goto Xbqw2; UvW17: goto w5Ud1; goto g2JjN; B0Rx8: return true; goto JyhVf; g2JjN: KQIhj: goto x3Q3n; Gas0z: $config = pdo_get(prefix_table("cj_config"), ["key" => "tpl_to_allfans_begin"]); goto Tt3II; Tt3II: $tpl_to_allfans_begin = $config["value"]; goto NbNO_; kAmrA: $tpl_flag_a = 0; goto VNaYj; Cl5Nr: if (!(date("i") % 2 != 0)) { goto e1qOP; } goto VFKJJ; K4U3C: $tpl_to_organiser = pdo_get(prefix_table("cj_config"), ["key" => "tpl_to_organiser"]); goto HkORK; hYVVj: return true; goto ADK_7; azWFA: if ($tpl_flag_b) { goto FxtOQ; } goto ELxmc; JyhVf: N3J2W: goto DlXio; sxTG6: $is_robot = $robot ? $robot["value"] : 0; goto XaFFI; ADK_7: jGtOR: goto K4U3C; A3Ri4: if (!($tpl_to_allfans_begin && $tpl_flag_a == 0)) { goto hS2OD; } goto NVhe3; B_q7V: w5Ud1: goto kUjTL; wbMRZ: $wxObj = new Wxadoc($option); goto Gas0z; cDXO_: if (!empty($config)) { goto jGtOR; } goto hYVVj; ELxmc: pdo_insert(prefix_table("cj_config"), ["key" => "tpl_flag_b", "value" => 0]); goto nBYsl; VFKJJ: return true; goto af3Wy; nBYsl: $tpl_flag_b = 0; goto NpG5w; VNaYj: iR0vU: goto A3Ri4; rs2gv: pdo_update(prefix_table("cj_config"), ["value" => 0], ["key" => "tpl_flag_a"]); goto YIHUp; e6tGc: if ($home_recommendation_need_check) { goto KQIhj; } goto Z1hEJ; NbNO_: $tpl_flag_a = pdo_fetchcolumn("select `value` from " . tablename(prefix_table("cj_config")) . " where `key`='tpl_flag_a'"); goto ALNfg; af3Wy: e1qOP: goto D09jy; Weq45: if (!empty($template)) { goto N3J2W; } goto B0Rx8; TzUVe: $template = pdo_getall(prefix_table("cj_template_message"), ["type" => 1, "status" => 0]); goto Weq45; UCqBR: $home_recommendation_need_check_cfg = pdo_get(prefix_table("cj_config"), ["key" => "home_recommendation_need_check"]); goto waO9A; VUIgZ: obQ9_: goto sUlB3; qwjIJ: return true; goto d7s_Q; D09jy: $tpl_flag_b = pdo_fetchcolumn("select `value` from " . tablename(prefix_table("cj_config")) . " where `key`='tpl_flag_b'"); goto azWFA; YHV5O: $cj_prize_member = tablename(prefix_table("cj_prize_member")); goto rL9tE; rL9tE: $robot = pdo_get(prefix_table("cj_config"), ["key" => "robot"]); goto sxTG6; ALNfg: if ($tpl_flag_a) { goto iR0vU; } goto UwJna; Xbqw2: if (!($tpl_flag_b == 0)) { goto Cn5uC; } goto Ro12y; kUjTL: $cj_prize_arr = pdo_fetchall($sql); goto LLUEV; ekIQO: Cn5uC: goto qwjIJ; Qslmu: $option = ["appid" => $this->w["uniaccount"]["key"], "secret" => $this->w["uniaccount"]["secret"]]; goto wbMRZ; d7s_Q: } public function doPageConfigarr() { goto NcyY3; QjbqJ: wOEzj: goto J0u3i; J0u3i: $data = []; goto ebuQZ; wyvi3: json("\345\x8f\202\xe6\x95\260\xe9\224\231\xe8\257\xaf", 0); goto QjbqJ; WaTF3: x9AHs: goto lQNev; bBNtM: foreach ($keys as $key) { goto U6U6Q; MB56K: $time = $prize["open_time"] > 0 ? $prize["open_time"] : time(); goto icXWe; pHcgG: goto mkRdi; goto oQOwD; i8q_p: YAdpV: goto Byksz; eJj8R: if ($prize["type"] == 1) { goto ZTnZl; } goto j8izz; daQxw: s7GrI: goto GSAR7; oQOwD: S7k1_: goto eYz2g; jvCLR: $config = pdo_get(prefix_table("cj_config"), ["key" => "invite_friends_close"]); goto Xh96S; Z3j16: $data[$key] = $this->w["siteroot"] . "/addons/" . $this->gpc["m"] . "/images/choujiang_bt.gif"; goto pHcgG; Xh96S: $data[$key] = $config["value"] ? false : true; goto boxA9; r51NV: goto gCLpy; goto kSTrd; c2ux0: goto cAWoA; goto i8q_p; URG7K: $config["value"] = $config["value"] == 0 ? false : true; goto daQxw; akrPY: HKyGx: goto IBBmC; AnMNe: $robot_num = pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename(prefix_table("cj_member")) . " WHERE is_robot=1"); goto c2ux0; gxFtJ: goto HKyGx; goto EDQIi; vlWwe: $is_robot = $robot ? $robot["value"] : 0; goto KwnSQ; ybdPP: if ($key == "default_prize_img") { goto RI543; } goto hcDQd; VQHe2: mkRdi: goto PcpoZ; RmyHV: $config["value"] = str_replace("
", "<br>", $config["value"]); goto hPAji; Byksz: $people = $is_robot_max / floor(($prize["typevalue"] - $prize["created"]) / 60) * floor(($time - $prize["created"]) / 60); goto AGoYs; GSAR7: goto bJaH6; goto fHcWk; eYz2g: if (!($key == "invite_friends")) { goto iz6jt; } goto jvCLR; EDQIi: QCJ2c: goto aN0hm; boxA9: goto mkRdi; goto iPdFY; mJuxk: if ($config["value"]) { goto QCJ2c; } goto yheXL; U6U6Q: if (!($key == "choujiang_bt")) { goto S7k1_; } goto Z3j16; JgTtg: cAWoA: goto Rz5y0; ImZ4i: $robot_m = pdo_get(prefix_table("cj_config"), ["key" => "robot_m"]); goto AJRkU; Rz5y0: $people = $people < $robot_num ? $people : $robot_num; goto YQLwk; BIaOw: $robot_num = $is_robot_max; goto JgTtg; AJRkU: $is_robot_max = (int) $prize["is_robot_max"]; goto vlWwe; iPdFY: iz6jt: goto kyhzK; opX7T: bJaH6: goto aFIs6; IKCn_: $data[$key] = (int) $prize["apply_num"]; goto gBIAX; aN0hm: $config["value"] = $this->getImage($config["value"]); goto akrPY; gOCu_: RI543: goto mJuxk; q9duv: if (!($key == "home_recommendation_close" || $key == "home_jump_miniprogram_close")) { goto s7GrI; } goto URG7K; ZTIBx: $robot = pdo_get(prefix_table("cj_config"), ["key" => "robot"]); goto ImZ4i; PtavQ: VRBIX: goto IKCn_; fHcWk: ijrHI: goto RmyHV; IBBmC: lMZI4: goto jIbe_; gBIAX: goto mkRdi; goto IAdjP; hPAji: $config["value"] = str_replace("\xd", "<br>", $config["value"]); goto opX7T; gOURW: if ($is_robot_max) { goto YAdpV; } goto ReB22; j8izz: $time = time(); goto r51NV; b5y62: if (!($is_robot && ($prize["is_global"] == 0 && $prize["is_robot"] == 1 || $is_robot_m && $prize["is_global"] == 1 && $prize["is_robot"] == 1))) { goto VRBIX; } goto eJj8R; pHk0H: $prize = pdo_get(prefix_table("cj_prize"), ["id" => (int) $this->get("id")]); goto ZTIBx; yheXL: $config["value"] = $this->w["siteroot"] . "/addons/" . $this->gpc["m"] . "/template/attach2.jpg"; goto gxFtJ; icXWe: gCLpy: goto gOURW; aFIs6: goto lMZI4; goto gOCu_; IAdjP: RUVbq: goto Ip_ur; Ip_ur: $config = pdo_get(prefix_table("cj_config"), ["key" => $key]); goto ybdPP; jIbe_: $data[$key] = $config["value"]; goto VQHe2; ReB22: $people = floor(($time - $prize["created"]) / 60 * 10); goto AnMNe; kyhzK: if (!($key == "show_user_totals")) { goto RUVbq; } goto pHk0H; AGoYs: $people = (int) $people; goto BIaOw; YQLwk: $prize["apply_num"] += $people; goto PtavQ; hcDQd: if ($key == "relief_desc") { goto ijrHI; } goto q9duv; KwnSQ: $is_robot_m = $robot_m ? $robot_m["value"] : 0; goto b5y62; kSTrd: ZTnZl: goto MB56K; PcpoZ: } goto WaTF3; NcyY3: $key = $this->get("key"); goto r33nH; ebuQZ: $keys = explode(",", $key); goto bBNtM; r33nH: if (!empty($key)) { goto wOEzj; } goto wyvi3; lQNev: json($data); goto G4QLo; G4QLo: } public function doPageConfig() { goto nYfvq; sM07H: goto apPGP; goto lIpMG; Eg28q: if ($key == "home_recommendation") { goto EtPiJ; } goto sM07H; R_Cf2: $config = 5; goto ClgzI; C7xoQ: $config = pdo_get(prefix_table("cj_config"), ["key" => $key]); goto vUYzP; pDLeZ: $config = $config["value"]; goto bFCbZ; nYfvq: $key = $this->get("key"); goto dwouy; RyaU5: pdo_insert(prefix_table("cj_config"), ["key" => "pay_function", "value" => 5]); goto R_Cf2; Rfqul: json("\345\217\x82\xe6\225\xb0\351\x94\231\350\257\xaf", 0); goto wa_uv; ClgzI: goto apPGP; goto O4WIv; YwCNd: apPGP: goto aOr19; aOr19: json($config); goto zF5qQ; st08W: pdo_insert(prefix_table("cj_config"), ["key" => "home_recommendation", "value" => 1500]); goto iWols; O4WIv: EtPiJ: goto st08W; dwouy: if (!empty($key)) { goto ynGNl; } goto Rfqul; wa_uv: ynGNl: goto C7xoQ; lIpMG: edWMZ: goto pDLeZ; bFCbZ: goto apPGP; goto jgBou; vUYzP: if ($config) { goto edWMZ; } goto DNcxU; iWols: $config = 1500; goto YwCNd; DNcxU: if ($key == "pay_function") { goto bjiKH; } goto Eg28q; jgBou: bjiKH: goto RyaU5; zF5qQ: } public function doPageAdvertisement() { goto LaoHl; lZs6Y: goto jn0_n; goto AV8S2; BDr_Z: $type = pdo_get(prefix_table("cj_config"), ["key" => "advertisement_type"]); goto vPvqc; sJ_sG: L2M2e: goto g55aO; P5Soa: $ad_data = pdo_fetch("select * from " . tablename(prefix_table("cj_ad")) . " where show_place='{$show_place}' and begin_time<='{$now}' and end_time>='{$now}' order by begin_time desc limit 1"); goto obOsO; AV8S2: HW5z7: goto sbV3r; SA5Ec: UOQ1a: goto kgxOx; oLGbu: json($data); goto Ot0Z7; GUKG2: $advertisement["value"] = json_decode($advertisement["value"], true); goto OE5vV; JUHih: if (!($type["value"] == 1)) { goto UOQ1a; } goto GUKG2; xN0s7: json($data); goto qy6dz; i5nE0: G74xB: goto haJeE; b21KA: $now = time(); goto P5Soa; LaoHl: $show_place = $this->get("get_type"); goto b21KA; dANkF: json($data); goto dmo7E; h6aZc: BVIR4: goto JUHih; A_SiV: if ($ad_data["ad_type"] == 2) { goto L2M2e; } goto lZs6Y; haJeE: $advertisement = pdo_get(prefix_table("cj_config"), ["key" => "advertisement"]); goto ELuhU; qy6dz: goto jn0_n; goto sJ_sG; OE5vV: $advertisement["value"]["image"] = $this->getImage($advertisement["value"]["image"]); goto SA5Ec; vPvqc: if (!empty($type)) { goto G74xB; } goto OV80C; g55aO: $advertisement = ["image" => $this->getImage($ad_data["d_pic"]), "appId" => $ad_data["d_appid"], "xcx_path" => $ad_data["d_page"], "extradata" => $ad_data["d_para"]]; goto RQbIR; sbV3r: $data = ["type" => 0, "advertisement" => $ad_data["a_unit_id"], "video_no" => $ad_data["video_no"]]; goto xN0s7; ELuhU: if (!empty($advertisement)) { goto BVIR4; } goto gd11d; gd11d: json('', 2); goto h6aZc; Ot0Z7: jn0_n: goto BDr_Z; kgxOx: $data = ["type" => $type["value"], "advertisement" => $advertisement["value"]]; goto dANkF; RQbIR: $data = ["type" => 1, "advertisement" => $advertisement]; goto oLGbu; obOsO: if ($ad_data["ad_type"] == 1) { goto HW5z7; } goto A_SiV; OV80C: json('', 2); goto i5nE0; dmo7E: } public function doPagePopupadv() { goto vi720; HPNrz: json($adv); goto aFjAq; QKAJ0: TzU0v: goto lfT3H; lfT3H: $adv["image"] = $this->getImage($adv["image"]); goto HPNrz; rooFE: json('', 2); goto QKAJ0; T3PmS: $adv = json_decode($adv["value"], true); goto v5uyq; eW3SH: json('', 2); goto QubP7; v5uyq: if (!(empty($adv["image"]) || empty($adv["appId"]))) { goto TzU0v; } goto rooFE; npgCg: if (!empty($adv)) { goto dGWGO; } goto eW3SH; vi720: $adv = pdo_get(prefix_table("cj_config"), ["key" => "popup_adv"]); goto npgCg; QubP7: dGWGO: goto T3PmS; aFjAq: } public function doPageJump() { $data = pdo_getall(prefix_table("cj_program")); json($data); } public function get($key, $default = '') { return isset($this->gpc[$key]) ? $this->gpc[$key] : $default; } public function getImage($route, $path = false, $w7_rule = false) { goto jnjPj; iwG0J: if (!is_numeric($route)) { goto IynJ1; } goto XutAq; LeczW: if (!empty($route)) { goto dlnTA; } goto nNZkH; LLfln: bmsnz: goto tO2dA; oh9Js: K69j5: goto KIRcU; GJsJ2: return $this->getImage($default_prize_img["value"]); goto LLfln; jbdBb: if (!($path == true)) { goto K69j5; } goto U_3Rh; YEz1q: dlnTA: goto iwG0J; RSPdP: return $this->w["siteroot"] . "attachment/" . ltrim($route, "/"); goto ByiXP; jnjPj: global $_W; goto LeczW; tO2dA: return $_W["siteroot"] . "addons/hu_couda/template/images/attach2.jpg"; goto YEz1q; S8cDb: if (!$default_prize_img["value"]) { goto bmsnz; } goto GJsJ2; XutAq: $image = pdo_get(prefix_table("cj_resource"), ["id" => $route]); goto K7V1z; U_3Rh: return $route; goto oh9Js; KIRcU: if (!$this->_is_oss()) { goto l1LFI; } goto J0wxa; YCXio: l1LFI: goto RSPdP; J0wxa: return $this->w["attachurl"] . $route; goto YCXio; K7V1z: $route = $image["route"]; goto p6MmW; nNZkH: $default_prize_img = pdo_get(prefix_table("cj_config"), ["key" => "default_prize_img"]); goto S8cDb; p6MmW: IynJ1: goto jbdBb; ByiXP: } public function doPagePay() { goto S5NiC; twnri: VPZRn: goto XY_77; YwLn8: nwCZB: goto OfCN4; R2HWJ: $this->result($paydata["errno"], $paydata["message"]); goto twnri; S5NiC: $orderid = $this->get("orderid", null); goto h1lMn; wF_5M: $paydata = $this->pay($order); goto Zez70; Zez70: if (!is_error($paydata)) { goto VPZRn; } goto R2HWJ; h1lMn: if ($this->hasOrder($orderid)) { goto nwCZB; } goto xQzs2; OfCN4: $order = array("tid" => $orderid, "fee" => floatval(0.01), "title" => "\346\265\213\350\xaf\225\xe8\xae\242\xe5\215\225"); goto wF_5M; XY_77: $this->result(0, '', $paydata); goto MkSZK; xQzs2: $this->result(1, "\351\x9d\236\xe7\x94\xa8\346\210\xb7\xe8\256\242\xe5\215\x95"); goto YwLn8; MkSZK: } private function hasOrder($orderid) { return true; } private function _is_oss() { goto EQgMj; BJURu: return !empty($this->w["setting"]["remote"]["type"]) && $is_oss == 0; goto PJ8q5; P1eAA: $is_oss = 0; goto bCUcy; oJWrS: $is_oss = $is_oss["value"]; goto MnNej; MnNej: nMDmU: goto BJURu; tGJ2G: u03Gu: goto oJWrS; bCUcy: goto nMDmU; goto tGJ2G; fK73Y: if ($is_oss) { goto u03Gu; } goto P1eAA; EQgMj: $is_oss = pdo_get(prefix_table("cj_config"), ["key" => "is_oss"]); goto fK73Y; PJ8q5: } } goto eyTQh; eyTQh: function json($info, $status = 1) { goto tuWW4; ul71f: die($info); goto VJZKt; RRhSw: $info = json_encode($info, JSON_UNESCAPED_UNICODE); goto n8hEh; n8hEh: header("Content-Type: application/json;charset=utf-8"); goto ul71f; tuWW4: $info = ["info" => $info, "status" => $status]; goto RRhSw; VJZKt: } goto wQXEM; Jcwa0: include ROOT_PATH . "lib/Wxadoc.php"; goto GiIqB; JSmvF: include ROOT_PATH . "tmp.php"; goto LzMZm; k2qjz: define("ROOT_PATH", IA_ROOT . "/addons/hu_couda/"); goto huXXG; LzMZm: define("LOCAL_IP", $_SERVER["SERVER_ADDR"]); goto UIoIK; huXXG: include ROOT_PATH . "model/prize.mod.php"; goto Jcwa0; wQXEM: function yuan_img($imgpath = "./tx.jpg") { goto BE51h; h02aN: $w = min($w, $h); goto x9slX; gERMx: $r = ceil($w / 2); goto AcxxC; AhAE7: return $img; goto Mr6e1; jdT0Y: $x++; goto j2dgq; FhOuE: if (!(($x - $r) * ($x - $r) + ($y - $r) * ($y - $r) < $r * $r)) { goto UbLid; } goto zVRzj; RrEcx: hnryU: goto AhAE7; lygdA: $y = 0; goto BmDzi; fm27u: $src_img = null; goto lTyMU; o2df3: goto U6aZY; goto s3dWt; LqyOo: O8oSv: goto jdT0Y; M8g_g: imagesavealpha($img, true); goto nuqeZ; v5WPD: $wh = getimagesize($imgpath); goto hCENJ; nV3_W: $y++; goto o2df3; hCENJ: $w = $wh[0]; goto pI4T4; vMNsz: UbLid: goto jGWy_; JSzf8: p0G9q: goto v5WPD; n_gJ1: $x = 0; goto U7KyI; lTyMU: switch ($ext["extension"]) { case "jpg": $src_img = imagecreatefromjpeg($imgpath); goto p0G9q; case "png": $src_img = imagecreatefrompng($imgpath); goto p0G9q; } goto pYB7U; AJdbs: if (!($x < $w)) { goto hnryU; } goto lygdA; AcxxC: $y_x = $r; goto Q7pve; U7KyI: vqyg7: goto AJdbs; nuqeZ: $bg = imagecolorallocatealpha($img, 255, 255, 255, 127); goto kGt1Q; pI4T4: $h = $wh[1]; goto h02aN; BE51h: $ext = pathinfo($imgpath); goto fm27u; kGt1Q: imagefill($img, 0, 0, $bg); goto gERMx; g9rxt: $img = imagecreatetruecolor($w, $h); goto M8g_g; x9slX: $h = $w; goto g9rxt; rov7m: if (!($y < $h)) { goto shACg; } goto ke20L; zVRzj: imagesetpixel($img, $x, $y, $rgbColor); goto vMNsz; s3dWt: shACg: goto LqyOo; j2dgq: goto vqyg7; goto RrEcx; jGWy_: cMRrA: goto nV3_W; pYB7U: TLhDO: goto JSzf8; BmDzi: U6aZY: goto rov7m; ke20L: $rgbColor = imagecolorat($src_img, $x, $y); goto FhOuE; Q7pve: $y_y = $r; goto n_gJ1; Mr6e1: } ?>
Did this file decode correctly?
Original Code
<?php
goto k2qjz; GiIqB: include ROOT_PATH . "\x6c\x69\x62\x2f\127\x78\x70\x61\x79\x41\x50\x49\x5f\160\150\160\137\x76\x33\x2f\x57\x78\x70\x61\171\x41\x50\111\137\160\x68\160\137\x76\63\x2e\160\150\160"; goto JSmvF; UIoIK: class hu_coudaModuleWxapp extends WeModuleWxapp { private $gpc; private $w; private $member; public function __construct() { goto VIxIC; tQVgf: $this->member = $member; goto ZnuX2; HaYyN: $member_id = $res["\155\145\155\x62\x65\x72\x5f\151\144"] ? $res["\x6d\x65\155\142\x65\162\137\151\144"] : $res["\163\x68\x61\x72\145\137\155\x65\155\142\145\162\137\151\x64"]; goto zYTgb; XYu5O: if (!($this->member["\x73\150\x6f\160\137\151\144"] == 0 && $js_default_shop["\x76\141\154\165\x65"])) { goto dH_5p; } goto w5mFJ; C69w5: Jiajb: goto IPqPg; pxaAI: if (!isset($_GPC["\144\x65\x62\165\147"])) { goto A_40O; } goto smFwY; Rz3KD: return true; goto sS16X; VIxIC: global $_W; goto rQ2om; UxiNE: $form_id = $this->get("\146\x6f\x72\x6d\x69\144"); goto mcSs_; ddZyv: json("\x75\156\x6c\157\147\151\x6e", 0); goto pBe59; LXO3W: dH_5p: goto UxiNE; smFwY: error_reporting(E_ALL); goto Is0df; cYd_4: if (!empty($res)) { goto ehWVo; } goto ddZyv; ZnuX2: $js_default_shop = pdo_get(prefix_table("\x63\152\x5f\x63\157\156\x66\151\147"), ["\153\x65\171" => "\x6a\163\x5f\x64\x65\x66\x61\x75\154\x74\137\163\150\157\x70"]); goto XYu5O; KhXQh: if (!$member) { goto VmT7Y; } goto gdfWZ; TkkLS: VFwVa: goto aZoMS; GDzWs: $res = pdo_get(prefix_table("\x63\152\x5f\164\x6f\x6b\x65\156"), ["\164\x6f\153\145\156" => $trd_session]); goto cYd_4; LB87c: $member["\156\x6f\x5f\160\x69\143"] = 1; goto amUFw; SgVeb: return true; goto TkkLS; bBD_3: $this->member["\163\150\x6f\x70\137\x69\144"] = $js_default_shop["\166\141\154\165\x65"]; goto LXO3W; Enoht: q2sXc: goto Rz3KD; w5mFJ: pdo_update(prefix_table("\143\x6a\x5f\x6d\145\x6d\142\x65\x72"), array("\x73\150\x6f\160\137\x69\x64" => $js_default_shop["\x76\x61\x6c\x75\145"]), ["\151\x64" => $member_id]); goto bBD_3; zYTgb: if (!($member_id >= 1)) { goto Jiajb; } goto I2zAy; s4i42: if (!(empty($_GPC["\x64\x6f"]) || in_array($_GPC["\x64\x6f"], $noLogin))) { goto VFwVa; } goto SgVeb; I2zAy: $member = pdo_get(prefix_table("\x63\x6a\x5f\x6d\145\x6d\x62\x65\x72"), ["\151\x64" => $member_id]); goto KhXQh; rQ2om: global $_GPC; goto Viqz8; amUFw: LCaNb: goto tQVgf; dBPqy: $noLogin = ["\x6c\x6f\147\x69\156", "\x64\x6f\x72\x65\143\150", "\x75\160\154\x6f\141\144", "\151\x6d\x61\147\x65", "\157\x70\145\x6e", "\x73\150\141\162\x65", "\x63\157\156\x66\151\x67", "\141\x64\x76\145\162\164\x69\163\x65\x6d\145\156\x74", "\x69\x6e\x64\145\170", "\x74\x6f\164\x61\x6c", "\x71\162\143\x6f\144\x65"]; goto pxaAI; pBe59: ehWVo: goto HaYyN; gdfWZ: if ($member["\165\x73\145\x72\137\x69\155\147"]) { goto LCaNb; } goto LB87c; mcSs_: if (!($form_id && $form_id != "\164\x68\145\40\x66\x6f\x72\155\x49\x64\x20\151\x73\x20\141\x20\155\157\143\153\40\x6f\156\145")) { goto q2sXc; } goto hX8ed; Jv2I7: update_open_more(); goto dBPqy; aZoMS: $trd_session = $this->get("\164\x72\x64\x5f\x73\145\x73\163\151\157\x6e"); goto GDzWs; mraNK: define("\120\x52\105\106\x49\x58", prefix($_W["\165\156\x69\x61\143\151\x64"])); goto Jv2I7; Viqz8: $this->gpc = $_GPC; goto HzTWE; HzTWE: $this->w = $_W; goto mraNK; sS16X: VmT7Y: goto C69w5; Is0df: A_40O: goto s4i42; hX8ed: pdo_insert(prefix_table("\x63\x6a\137\x66\x6f\162\155\x5f\151\144"), ["\155\145\x6d\x62\x65\162\x5f\x69\x64" => $member_id, "\146\x6f\162\x6d\137\x69\144" => $form_id, "\143\x72\x65\x61\164\145\144" => time()]); goto Enoht; IPqPg: } public function doPageSaveFromId() { json("\x73\x61\x76\145\40\x69\x64\40\163\x75\x63\x63"); } public function doPageQrcode() { goto pG8Ap; pobgF: $QR = imagecreatefromstring(file_get_contents($QR)); goto hqTM5; SOQoi: p0fIN: goto ZMY5g; qdz0m: ycU4M: goto W3gEv; yYdT9: $prize_result = pdo_get(prefix_table("\143\152\x5f\x70\x72\151\172\x65\x5f\162\x65\163\165\x6c\x74"), ["\x72\145\x73\x75\154\x74\137\x69\144" => $resultid]); goto Zw6pC; DePwz: @mkdir($path, 0777, true); goto qdz0m; w0yQ5: $QR = $qrcode; goto pobgF; xZbwo: imagedestroy($QR); goto PngGV; q1x5K: header("\143\157\x6e\x74\x65\156\x74\x2d\x74\x79\160\145\x3a\151\x6d\x61\x67\145\57\160\x6e\147"); goto e3ch0; Qaejz: wDsjB: goto HqGTn; E4p16: $matrixPointSize = 8; goto OjNpw; GNNRS: $value = $code; goto uZzBV; vVGyX: $code = $resultid; goto SOQoi; hqTM5: imagepng($QR, $qrcode); goto xZbwo; pG8Ap: $code = $this->get("\143\x6f\x64\x65"); goto D_nMZ; OjNpw: QRcode::png($value, $qrcode, $errorCorrectionLevel, $matrixPointSize, 2); goto w0yQ5; W3gEv: $qrcode = $path . $code . "\x2e\160\156\147"; goto P37dl; ZMY5g: $path = ATTACHMENT_ROOT . "\151\155\141\x67\145\163\x2f\161\x72\x63\157\x64\145" . $this->w["\x75\x6e\x69\141\x63\151\x64"] . "\57"; goto VGNUW; P37dl: if (is_file($qrcode)) { goto QPwgl; } goto dMlL3; e3ch0: echo file_get_contents($qrcode); goto t7Mtt; D_nMZ: if (!empty($code)) { goto wDsjB; } goto yR17o; yR17o: exit; goto Qaejz; t7Mtt: exit; goto P7E0m; dMlL3: include ROOT_PATH . "\x6c\151\x62\x2f\160\x68\x70\x71\162\x63\157\x64\x65\57\x70\x68\x70\x71\x72\143\157\x64\145\56\x70\150\160"; goto GNNRS; uZzBV: $errorCorrectionLevel = "\114"; goto E4p16; Zw6pC: if (!($prize_result["\x70\164\171\x70\x65"] == 0)) { goto p0fIN; } goto vVGyX; VGNUW: if (file_exists($path)) { goto ycU4M; } goto DePwz; PngGV: QPwgl: goto q1x5K; HqGTn: $resultid = $this->get("\162\x65\x73\165\154\164\151\144"); goto yYdT9; P7E0m: } public function doPageAuthor() { goto T3SJr; QrvJn: json('', 2); goto wbWEI; HvkKo: json(''); goto xOfHG; T3SJr: if (!($this->member["\165\163\x65\162\x5f\x69\155\x67"] || $this->member["\x6e\x69\143\153\156\x61\155\x65"])) { goto Jz7tg; } goto HvkKo; xOfHG: Jz7tg: goto QrvJn; wbWEI: } public function doPageRelease() { goto BlPKW; BRpVI: $msg = $msg ? $msg["\x76\141\x6c\x75\145"] : "\xe6\x97\240\345\217\221\345\xb8\203\346\x9d\x83\351\231\220"; goto hb7O1; O5iIp: $data = ["\151\163\137\162\145\x6c\x65\x61\x73\145" => $is_release, "\x6d\x73\x67" => $msg]; goto TW1Q3; TW1Q3: json($data); goto ablF6; h4Q6a: if ($is_release) { goto u_sFs; } goto TQK0_; TQK0_: $msg = pdo_get(prefix_table("\143\152\137\143\157\x6e\x66\151\147"), ["\153\145\171" => "\162\x65\154\145\x61\x73\x65\137\155\163\x67"]); goto BRpVI; hb7O1: u_sFs: goto O5iIp; BlPKW: $is_release = $this->_release(); goto p0Os_; p0Os_: $msg = ''; goto h4Q6a; ablF6: } private function _release() { goto MMAei; HYzSR: $is_release = $config ? $config["\166\141\154\x75\x65"] : 0; goto AY60a; AY60a: $is_release = $is_release == 1 ? $this->member["\151\163\x5f\x72\x65\154\x65\141\x73\145"] : $is_release; goto x7wm7; x7wm7: return $is_release; goto BSr2v; MMAei: $config = pdo_get(prefix_table("\x63\152\137\143\157\x6e\x66\x69\147"), ["\x6b\x65\x79" => "\x69\x73\x5f\162\145\154\x65\141\x73\145"]); goto HYzSR; BSr2v: } public function doPageVoucher() { goto OoIBY; OoIBY: $priae = new prize(); goto xeNrB; ErLGw: json('', 2); goto CPCbm; eWdLc: if (!$goods) { goto lLboz; } goto JEl_U; wLr2g: lLboz: goto ErLGw; JEl_U: json($goods); goto wLr2g; xeNrB: $goods = $priae->is_voucher($this->member["\151\144"]); goto eWdLc; CPCbm: } public function doPageUpload() { goto DH54g; vl7B7: json("\xe8\xbf\234\347\250\x8b\xe9\231\x84\xe4\273\xb6\xe4\xb8\x8a\344\xbc\xa0\345\244\xb1\350\264\xa5", 0); goto LFyHo; MXiLr: e0nJn: goto uAHVj; WDEFL: if (pdo_insert(prefix_table("\143\152\137\x72\x65\163\x6f\165\162\x63\145"), $data)) { goto rjUOG; } goto SK36i; SCeeL: if (!isset($reslut["\x65\x72\162\156\x6f"])) { goto xnXus; } goto ahmsN; aNC5E: HGC3t: goto DVpYQ; zm6_A: $pic = "\57" . $reslut["\x70\x61\x74\x68"]; goto Vyy3G; QPRk4: $data = ["\155\x65\155\x62\x65\x72\137\151\144" => $this->member["\151\x64"], "\x72\x6f\x75\164\x65" => $pic, "\x63\162\145\x61\164\x65\x64" => time()]; goto WDEFL; CZBBp: $_FILES["\146\151\154\x65"]["\156\141\155\x65"] = $_FILES["\146\151\154\x65"]["\x6e\141\x6d\x65"] . "\x2e\160\156\x67"; goto MXiLr; RPmJ4: $remotestatus = file_remote_upload($reslut["\x70\x61\x74\x68"]); goto laOEd; SK36i: json("\351\242\206\345\217\x96\xe5\244\261\xe8\xb4\245", 0); goto I_RH3; y49ol: json(pdo_insertid()); goto s4QSM; uAHVj: if (isset($_FILES["\146\151\154\x65"])) { goto HGC3t; } goto ioiKn; DVpYQ: load()->func("\x66\151\154\x65"); goto DqRRs; laOEd: if (!is_error($remotestatus)) { goto v5cuJ; } goto vl7B7; I_RH3: rjUOG: goto y49ol; LFyHo: v5cuJ: goto HS4HR; ahmsN: json($reslut["\x6d\x65\x73\163\x61\x67\x65"], 0); goto HV1zt; gjrDb: if (!$jietu) { goto e0nJn; } goto CZBBp; HS4HR: EGFeN: goto QPRk4; DqRRs: $reslut = file_upload($_FILES["\x66\x69\x6c\x65"]); goto SCeeL; HV1zt: xnXus: goto zm6_A; ioiKn: json("\xe8\xaf\267\xe4\270\212\344\xbc\240\xe5\233\xbe\xe7\x89\x87", 0); goto aNC5E; DH54g: $jietu = $this->get("\x6a\x69\x65\x74\x75"); goto gjrDb; Vyy3G: if (!$this->_is_oss()) { goto EGFeN; } goto RPmJ4; s4QSM: } private function L($info) { goto ZtQI4; txdzw: $info = print_r($info, 1); goto QdNgj; ZtQI4: if (!is_array($info)) { goto rbaz2; } goto txdzw; Lnwkf: logging_run($info); goto AKGel; hEhtT: load()->func("\154\x6f\147\147\x69\156\147"); goto Lnwkf; QdNgj: rbaz2: goto hEhtT; AKGel: } public function doPageShare() { goto fcN22; i53dd: $default_prize_img = pdo_get(prefix_table("\143\x6a\137\x63\x6f\x6e\146\151\x67"), ["\x6b\145\x79" => "\x64\145\x66\x61\x75\x6c\164\x5f\160\162\x69\x7a\145\137\x69\155\x67"]); goto kUR6q; VxxpG: $handle = $handle->text("\x20\170\40" . $info["\163\x65\x63\137\x6e\x75\x6d"], IA_ROOT . "\x2f\141\x64\x64\x6f\x6e\163\57" . $m . "\57\164\x65\x6d\160\x6c\141\164\x65\x2f\x66\157\x6e\164\57\155\x73\x79\x68\56\x74\164\x66", 12, "\43\71\71\71\x39\71\71", array(370, 285 + $addheight)); goto qOCXi; hOvtw: if (!$fir) { goto WGJJL; } goto znuJw; oJQWL: exit; goto JrGAB; Owua1: if (file_exists($path)) { goto cWwjN; } goto DBRYw; DBRYw: @mkdir($path, 0777, true); goto PWPoD; j4aJ8: header("\143\157\x6e\164\x65\x6e\164\55\164\x79\160\145\72\x69\x6d\141\x67\x65\x2f\x70\x6e\x67"); goto Z2AyX; yLSW_: $trd = mb_substr($trd, 0, 14, "\x75\164\146\x2d\70") . "\56\56\x2e"; goto vNuOt; j5GA3: $handle = $handle->text("\xe4\xba\x8c\xe7\255\211\345\245\226\xef\xbc\x9a" . $sec, IA_ROOT . "\x2f\141\x64\144\157\x6e\163\57" . $m . "\57\x74\x65\x6d\160\154\x61\x74\145\x2f\x66\x6f\156\164\x2f\155\163\x79\x68\56\164\164\x66", 16, "\43\x30\60\60\60\60\x30", array(12, 285 + $addheight)); goto VxxpG; Fq6uX: eSn1A: goto gOkGF; OlRDV: $info = pdo_get(prefix_table("\x63\152\x5f\x70\x72\151\x7a\145"), ["\151\144" => $id]); goto VpdWG; g0wtx: WGJJL: goto mtw7T; wCDGk: $handle = $handle->text($open_type, IA_ROOT . "\x2f\141\144\x64\157\x6e\163\57" . $m . "\x2f\164\145\155\x70\154\x61\x74\145\x2f\146\157\156\164\57\155\x73\x79\x68\x2e\x74\x74\x66", 12, "\43\71\x46\71\64\71\64", array(12, 302)); goto XX7kX; YpdiJ: dom5T: goto S583S; xXxKn: I1vDH: goto JCHy5; MuHhm: $sec = mb_substr($sec, 0, 14, "\x75\x74\146\55\70") . "\56\56\x2e"; goto j5GA3; mtw7T: $open_type = 1 == $info["\x74\x79\x70\x65"] ? date("\xe5\xae\x9a\346\x97\266\xe5\274\x80\xe5\xa5\x96\xe6\227\xb6\xe9\227\xb4\x59\55\155\x2d\x64\x20\110\x3a\151", $info["\x74\x79\160\145\166\x61\154\165\145"]) : (2 == $info["\x74\171\x70\145"] ? "\xe8\xbe\xbe\345\210\260" . $info["\164\171\160\x65\166\141\x6c\x75\145"] . "\xe4\272\272\xe6\x95\260\345\xbc\200\xe5\xa5\x96" : "\xe5\x8f\x91\xe8\xb5\267\350\200\205\346\211\213\345\x8a\250\345\xbc\x80\xe5\245\x96"); goto wCDGk; p7f7T: BcWDH: goto j4aJ8; znuJw: if ($sec) { goto sSrGJ; } goto Zq_V4; Rg8OD: if (!empty($id)) { goto kX6Be; } goto oJQWL; XR8JR: if (!$trd) { goto Wlwrf; } goto yLSW_; JrGAB: kX6Be: goto Llgia; tpbK2: $handle = $handle->text("\x20\170\x20" . $info["\164\162\x64\x5f\156\165\155"], IA_ROOT . "\57\141\144\x64\x6f\156\x73\57" . $m . "\57\164\145\x6d\160\x6c\141\164\145\57\146\x6f\156\x74\x2f\155\163\x79\x68\56\x74\164\x66", 12, "\x23\71\x39\x39\x39\x39\71", array(370, 279)); goto y6ztq; gOkGF: BYQGY: goto xXxKn; zmuiZ: CU908: goto i53dd; LwBlY: if (!$this->_is_oss()) { goto eSn1A; } goto CAM_0; PWPoD: cWwjN: goto Qz8qw; qOCXi: WyI5V: goto hOvtw; Llgia: $m = $this->gpc["\x6d"]; goto tZ2Pd; fcN22: $id = $this->get("\x69\x64"); goto Rg8OD; CaCkV: $aimg->thumb(396, 196, 3)->save($apath_temp); goto bZl7h; eNo7y: $Image = new Image(); goto UQJ30; d07_D: exit; goto zmuiZ; B1fTP: C15IW: goto tcf1U; rBRqQ: $apath_temp = ATTACHMENT_ROOT . $id . "\137\x73\x75\142\137\x74\145\x6d\160\x2e\x70\156\x67"; goto CaCkV; QVz4_: $arr = array("\x66\x69\x72", "\x73\x65\143", "\164\162\x64"); goto Frr1z; WAktx: $img = pdo_get(prefix_table("\x63\152\x5f\162\145\x73\x6f\165\x72\x63\x65"), ["\151\x64" => $info["\141\x74\164\141\143\x68\137\151\144"]]); goto zEByz; tcf1U: $apath = ATTACHMENT_ROOT . $this->getImage($default_prize_img["\166\141\154\x75\145"], true); goto nbpeu; UQJ30: $path = IA_ROOT . "\x2f\x61\x64\x64\x6f\156\163\57\x68\x75\x5f\143\x6f\x75\144\141\x2f\151\155\x61\147\x65\163\57\x73\150\x61\x72\145" . $this->w["\165\156\x69\141\143\x69\x64"] . "\57" . $id; goto Owua1; tZ2Pd: include ROOT_PATH . "\154\x69\x62\57\107\144\x2e\x63\x6c\141\163\163\x2e\x70\150\160"; goto juTMg; Zq_V4: $addheight = 0; goto R88kv; w7Q35: $fir = mb_substr($fir, 0, 14, "\165\164\146\x2d\70") . "\x2e\56\x2e"; goto TgrY0; JCHy5: $aimg = $Image->open($apath); goto rBRqQ; bZl7h: $img = $Image->open($bg); goto QVz4_; R88kv: sSrGJ: goto w7Q35; KcPsR: $addheight = 0; goto XR8JR; XX7kX: $handle->save($sharepath); goto NIGYn; Frr1z: foreach ($arr as $v) { goto alXlg; alXlg: ${$v} = ''; goto XNn6Z; H5xO3: switch ($info[$v . "\x5f\x70\x74\171\160\145"]) { case "\60": ${$v} = $info[$v . "\x5f\x76\x61\154"]; goto G3Vby; case "\x31": ${$v} = $info[$v . "\137\166\141\x6c"] . "\357\xbf\245"; goto G3Vby; case "\x32": ${$v} = $info[$v . "\x5f\x63\x6e\141\x6d\145"]; goto G3Vby; } goto oecBq; oecBq: yZ6Wd: goto Ea9VN; Ea9VN: G3Vby: goto JX1H4; d5NZs: lCz32: goto vXbhx; XNn6Z: if (empty($info[$v . "\137\156\165\155"])) { goto X3Gil; } goto H5xO3; JX1H4: X3Gil: goto d5NZs; vXbhx: } goto YpdiJ; mmB5p: exit; goto uTGEm; kUR6q: if ($default_prize_img["\166\x61\154\165\145"]) { goto C15IW; } goto XRek3; Z2AyX: echo file_get_contents($sharepath); goto mmB5p; y6ztq: Wlwrf: goto Es90T; juTMg: include ROOT_PATH . "\154\x69\142\57\111\155\141\147\145\56\x63\154\x61\163\x73\x2e\x70\150\x70"; goto eNo7y; S583S: $handle = $img->water($apath_temp, array(12, 12), 100); goto KcPsR; TgrY0: $handle = $handle->text("\xe4\270\200\347\xad\x89\345\xa5\226\xef\xbc\x9a" . $fir, IA_ROOT . "\x2f\141\144\x64\157\x6e\x73\x2f" . $m . "\57\164\x65\x6d\x70\154\141\x74\145\57\x66\x6f\x6e\164\x2f\x6d\163\x79\150\56\x74\x74\x66", 16, "\43\60\60\x30\60\60\60", array(12, 255 + $addheight)); goto Wqmj3; F62uz: if (empty($info["\x61\164\x74\x61\x63\x68\x5f\151\x64"])) { goto I1vDH; } goto WAktx; Qz8qw: $sharepath = $path . "\x2f\x6d\x5f" . $this->member["\x69\x64"] . "\x2e\x70\156\147"; goto dFUEe; XRek3: $apath = IA_ROOT . "\57\141\x64\x64\157\156\x73\x2f" . $m . "\x2f\x74\145\x6d\160\154\x61\x74\x65\x2f\141\164\x74\141\143\150\62\56\152\160\147"; goto dmG8v; NIGYn: unlink($apath_temp); goto p7f7T; nbpeu: GErm2: goto F62uz; zEByz: if (!$img) { goto BYQGY; } goto SSDRR; AmNeP: $addheight = -30; goto MuHhm; MkRte: $bg = IA_ROOT . "\57\x61\144\144\x6f\156\x73\x2f" . $m . "\57\x74\x65\x6d\x70\154\141\x74\145\x2f\x73\x68\141\162\x65\x62\147\56\x70\x6e\x67"; goto OlRDV; vNuOt: $handle = $handle->text("\344\270\211\347\255\211\345\xa5\226\357\xbc\232" . $trd, IA_ROOT . "\57\x61\x64\x64\157\x6e\x73\x2f" . $m . "\x2f\x74\145\155\160\x6c\141\164\x65\57\146\x6f\x6e\164\57\155\x73\x79\150\56\x74\x74\146", 16, "\43\60\x30\60\x30\x30\60", array(12, 279)); goto tpbK2; VpdWG: if (!empty($info)) { goto CU908; } goto d07_D; dmG8v: goto GErm2; goto B1fTP; SSDRR: $apath = ATTACHMENT_ROOT . $img["\x72\157\x75\164\145"]; goto LwBlY; Es90T: if (!$sec) { goto WyI5V; } goto AmNeP; CAM_0: file_put_contents($apath, file_get_contents($this->w["\141\x74\164\x61\x63\150\x75\x72\154"] . $img["\162\157\165\164\x65"])); goto Fq6uX; Wqmj3: $handle = $handle->text("\40\x78\x20" . $info["\x66\x69\162\x5f\x6e\x75\x6d"], IA_ROOT . "\57\141\x64\144\x6f\156\163\57" . $m . "\x2f\x74\145\155\160\x6c\141\x74\x65\57\146\157\156\x74\x2f\x6d\163\171\150\56\164\164\x66", 12, "\x23\x39\x39\71\x39\71\x39", array(370, 255 + $addheight)); goto g0wtx; dFUEe: if (is_file($sharepath)) { goto BcWDH; } goto MkRte; uTGEm: } public function doPageShareImg() { goto hg6yY; hg6yY: $id = $this->get("\x69\144"); goto DYYq0; zfaEv: unlink($qr_temp); goto jQPb_; nbQmW: $textWidth = imagefontwidth(24) * mb_strlen($fir); goto MJL48; tj4pU: if ($prize["\x74\x72\144\x5f\160\x74\x79\160\x65"] == "\x30") { goto Cl5NZ; } goto zWkE8; E8FU1: mWcMu: goto GcyFb; agJHy: exit; goto xaTAE; pkvxL: if ($prize["\163\x65\x63\137\x70\x74\x79\160\x65"] == "\60") { goto XZnss; } goto Zfum0; dJBVT: $open_type = 1 == $prize["\x74\x79\x70\145"] ? date("\131\x2d\x6d\x2d\144\40\110\x3a\151", $prize["\x74\171\160\x65\x76\x61\x6c\x75\x65"]) . "\350\207\252\xe5\212\xa8\xe5\274\x80\345\245\226" : (2 == $prize["\x74\x79\x70\x65"] ? "\350\xbe\xbe\345\210\xb0" . $prize["\x74\x79\160\x65\x76\x61\154\165\x65"] . "\xe4\272\xba\xe8\x87\252\345\x8a\250\345\274\200\345\220\257" : "\xe7\x94\xb1\345\x8f\x91\350\265\xb7\350\200\x85\xe6\x89\213\345\212\250\345\274\x80\xe5\x90\257"); goto QwI5e; fH6c_: HTAG7: goto dJBVT; amEdZ: $aimg = $Image->open($apath); goto BVJi9; uxhnX: $fir = !empty($prize["\146\151\162\137\156\x75\155"]) ? $prize["\146\x69\x72\137\160\x74\x79\160\145"] == "\60" ? $prize["\x66\x69\x72\x5f\x76\141\154"] : $prize["\146\x69\162\137\x76\141\154"] . "\xe5\205\203\xe7\216\260\351\207\221\xe7\272\xa2\xe5\214\205" : ''; goto Pr5Ss; Q3_EQ: unlink($apath_temp); goto BJc0m; zWkE8: if ($prize["\x74\162\x64\x5f\x70\164\171\x70\x65"] == 1) { goto To3q6; } goto Lzk6N; cGe1z: $fir = $prize["\146\151\162\x5f\x76\x61\154"]; goto LlbCN; yhpqJ: $wxObj = new Wxadoc($option); goto n0Rbg; LlbCN: goto RMjxy; goto SwBze; X7Ou_: owUJ1: goto fM6wk; zFqC3: $qr_temp = ATTACHMENT_ROOT . "\x71\x72\x5f\x74\x65\155\x70" . $id . "\56\152\160\147"; goto IWy7q; MJL48: $handle = $img->water($apath_temp, array(49, 266), 100)->water($qrpath, array(265, 796), 100)->water($headpath, array(326, 32), 100); goto N9_S3; AaY3V: $onlySecondHeight = 0; goto qvq2G; ht33S: $handle->save($sharepath); goto Q3_EQ; SwBze: kK2Zo: goto UMW2j; PWvjg: NcATf: goto xm7XA; uSeZw: $aimg->thumb(654, 326, 3)->save($apath_temp); goto L5Iyl; y_pxB: exit; goto X7Ou_; BVJi9: $apath_temp = ATTACHMENT_ROOT . $id . "\x5f\x74\145\155\160\56\x70\156\x67"; goto uSeZw; iUOvL: file_put_contents($apath, file_get_contents($this->w["\x61\164\x74\x61\143\150\x75\x72\x6c"] . $this->getImage($prize["\x61\x74\x74\141\x63\x68\137\x69\144"], true))); goto CU14Z; N7OaG: if (!$trd) { goto HTAG7; } goto sffad; s3cCP: if (is_file($sharepath)) { goto z0kQC; } goto PiLUz; Ql3bx: $trd = !empty($prize["\164\x72\x64\x5f\156\x75\x6d"]) ? $prize["\x74\x72\144\137\x70\164\x79\x70\145"] == "\x30" ? $prize["\164\162\144\137\166\141\x6c"] : $prize["\164\x72\x64\x5f\166\141\154"] . "\xe5\x85\203\347\x8e\xb0\xe9\207\221\347\xba\xa2\345\x8c\205" : ''; goto pkvxL; BJc0m: z0kQC: goto HAkta; qWOn8: $apath = ATTACHMENT_ROOT . $this->getImage($prize["\x73\150\141\162\145\x5f\160\x69\x63"], true); goto xjAKh; QMv58: $path = ATTACHMENT_ROOT . "\x69\155\141\147\x65\x73\x2f\x73\150\x61\x72\x65\x49\x6d\x67" . $this->w["\x75\156\x69\141\x63\x69\144"] . "\57"; goto ZPEDp; DYYq0: if (!empty($id)) { goto gjCPj; } goto A14Fh; sffad: $trd = mb_substr($trd, 0, 16, "\x75\164\146\55\x38") . "\x2e\56\x2e"; goto u303O; Psfg7: $trd = $prize["\x74\162\x64\x5f\166\x61\x6c"]; goto x8bVv; atNef: RMjxy: goto scVr3; P4Zj4: goto HSe7e; goto bite_; DfjJ9: e7gLC: goto PqFzQ; n0Rbg: $res = $wxObj->createwxaqrcode($id, "\160\141\147\x65\x73\x2f\x70\x61\x72\x74\x61\x6b\x65\x2f\160\x61\x72\164\141\x6b\145", 430, false, array("\162" => 72, "\147" => 145, "\x62" => 92)); goto thcDt; gdFg4: if (empty($prize)) { goto Jf44y; } goto OFZnh; q3WSM: mjlxY: goto pG0FR; X_8SF: $headpath = ATTACHMENT_ROOT . "\x68\145\x61\x64" . $this->member["\151\144"] . "\56\160\156\x67"; goto VRe3S; jQPb_: E46Ic: goto yav_q; V4tub: YSUDH: goto a6otK; xm7XA: $fir = mb_substr($fir, 0, 16, "\165\164\x66\x2d\x38") . "\56\56\56"; goto bOI37; D5c6t: XZnss: goto gIol_; Pr5Ss: if ($prize["\146\x69\x72\x5f\160\x74\x79\160\145"] == "\60") { goto InzwF; } goto A4Ab0; scVr3: $sec = !empty($prize["\163\x65\143\x5f\x6e\165\155"]) ? $prize["\163\x65\x63\137\160\164\171\160\x65"] == "\60" ? $prize["\x73\145\143\137\x76\x61\x6c"] : $prize["\163\145\x63\137\166\141\154"] . "\345\205\203\xe7\216\260\351\x87\221\347\xba\242\xe5\x8c\205" : ''; goto Ql3bx; dkHFX: imagedestroy($imgg); goto xnHx6; PqFzQ: $onlyFirstHeigh = 0; goto AaY3V; hGkhL: goto vdQZf; goto UPOwj; kCe6T: $sharepath = $path . $this->member["\151\144"] . "\x5f\163\x68\x61\162\145\x5f\x32\x30\x31\71\61\61" . $id . "\x2e\x70\156\147"; goto s3cCP; PiLUz: if (file_exists(ATTACHMENT_ROOT . "\x71\162" . $this->w["\x75\156\151\x61\143\151\144"])) { goto dMOdE; } goto wXVbj; UMW2j: $fir = $prize["\x66\x69\162\x5f\166\141\154"] . "\345\x85\203\xe7\216\260\xe9\207\x91\xe7\xba\242\xe5\214\x85"; goto atNef; AjxbG: $nickname = $this->member["\156\151\143\x6b\156\x61\x6d\145"]; goto kfNft; Q67hB: $default_prize_img = pdo_get(prefix_table("\x63\152\137\x63\x6f\156\x66\x69\147"), ["\x6b\145\171" => "\144\145\146\x61\x75\154\164\x5f\x70\x72\x69\x7a\145\137\151\155\x67"]); goto ChFr1; OFZnh: if (!$prize["\x73\x68\141\x72\x65\x5f\160\x69\x63"]) { goto zdMY4; } goto qWOn8; mP4uY: echo file_get_contents($sharepath); goto zRkRu; RgRTV: $apath = ATTACHMENT_ROOT . $this->getImage($default_prize_img["\166\141\154\x75\145"], true); goto DYg20; hj0FC: o0guh: goto Q67hB; UPOwj: aRkJT: goto tgHpn; tgHpn: $sec = $prize["\163\145\143\x5f\166\141\154"] . "\345\x85\x83\347\x8e\260\xe9\x87\x91\347\xba\xa2\xe5\x8c\205"; goto aTx_Q; zRkRu: exit; goto OCKKM; xaTAE: zdMY4: goto wGxzZ; BINwR: HSe7e: goto nbQmW; bite_: Cl5NZ: goto Psfg7; qWU2a: header("\x63\x6f\x6e\x74\145\x6e\164\55\164\x79\160\145\x3a\151\155\x61\x67\145\57\160\x6e\147"); goto bnyMi; GcyFb: if (!$fir) { goto ZjWtK; } goto NeEa1; TxZZo: b8Vuh: goto RgRTV; N9_S3: if (!$title) { goto e7gLC; } goto DfjJ9; qvq2G: if (!$sec) { goto mWcMu; } goto kt7tw; vl39i: echo file_get_contents($bg); goto y_pxB; ENOLH: $headpath_temp = ATTACHMENT_ROOT . "\x68\x65\141\144" . $this->member["\151\144"] . "\x2e\x6a\x70\147"; goto X_8SF; YATWA: if (is_file($qrpath)) { goto E46Ic; } goto zFqC3; LeF9J: gjCPj: goto j2KVd; vCL1o: $imgg = yuan_img($headpath_temp); goto trVf8; XCtmA: $handle = $handle->text("\xe4\xba\x8c\347\xad\x89\345\xa5\226\xef\xbc\x9a" . $sec . "\40\x78\x20" . $prize["\163\145\143\137\156\x75\155"], IA_ROOT . "\x2f\x61\x64\144\x6f\x6e\163\57" . $this->gpc["\x6d"] . "\57\164\145\x6d\160\x6c\x61\x74\x65\x2f\x66\x6f\x6e\164\x2f\x6d\163\x79\150\x2e\164\164\146", 24, "\x23\60\x30\x30\60\x30\x30", array(60, 650 + $onlyFirstHeigh + $onlySecondHeight)); goto E8FU1; kfNft: $title = $prize["\164\151\x74\x6c\x65"]; goto uxhnX; xhwLa: $onlyFirstHeigh = 40; goto PWvjg; ZPEDp: if (file_exists($path)) { goto UJCRQ; } goto OELNi; HAkta: header("\143\x6f\x6e\164\145\156\164\55\x74\x79\x70\x65\x3a\x69\x6d\x61\147\x65\x2f\x70\x6e\147"); goto mP4uY; xlRow: $trd = $prize["\164\162\144\x5f\x76\141\x6c"] . "\xe5\x85\203\347\x8e\xb0\351\207\221\xe7\xba\xa2\345\214\x85"; goto BINwR; gIol_: $sec = $prize["\x73\x65\143\137\x76\141\x6c"]; goto hGkhL; VMbiY: dMOdE: goto PZBei; wXVbj: @mkdir(ATTACHMENT_ROOT . "\x71\162" . $this->w["\x75\x6e\x69\141\143\151\x64"], 0777, true); goto VMbiY; Hoxp4: $sec = $prize["\x73\145\x63\x5f\143\x6e\141\155\145"]; goto riQ2t; j2KVd: $prize = pdo_get(prefix_table("\x63\152\137\x70\162\151\172\x65"), ["\151\144" => $id]); goto gdFg4; ze0f7: goto mjlxY; goto TxZZo; bnyMi: $bg = IA_ROOT . "\57\141\x64\x64\x6f\156\x73\x2f" . $this->gpc["\155"] . "\x2f\164\x65\x6d\160\x6c\x61\164\x65\57\142\147\x32\x2e\160\156\147"; goto vl39i; kt7tw: if ($trd) { goto YSUDH; } goto Sfkqd; FNqqx: $qrimg = $Image->open($qr_temp); goto ahePQ; ULHNP: UJCRQ: goto kCe6T; A14Fh: exit; goto LeF9J; u303O: $handle = $handle->text("\xe4\270\x89\347\255\211\345\245\226\357\xbc\x9a" . $trd . "\40\170\40" . $prize["\x74\x72\x64\137\156\165\x6d"], IA_ROOT . "\x2f\x61\x64\144\157\156\x73\x2f" . $this->gpc["\155"] . "\x2f\x74\145\155\160\154\141\x74\x65\x2f\x66\x6f\156\164\x2f\x6d\163\171\x68\x2e\x74\164\146", 24, "\43\x30\60\x30\60\60\60", array(60, 690)); goto fH6c_; jKi8p: To3q6: goto xlRow; CU14Z: FR0lb: goto lUR1w; NeEa1: if ($sec) { goto NcATf; } goto xhwLa; uj2OR: $Image = new Image(); goto QMv58; IWy7q: $option = array("\141\160\x70\x69\144" => $this->w["\x75\x6e\x69\141\143\x63\157\x75\156\x74"]["\153\x65\x79"], "\163\x65\x63\x72\x65\x74" => $this->w["\x75\x6e\x69\x61\143\143\x6f\x75\156\164"]["\163\145\x63\x72\145\164"]); goto yhpqJ; aW6jQ: $himg->thumb(100, 100, 3)->save($headpath_temp); goto vCL1o; WdtBW: BdGX4: goto q3WSM; PZBei: $qrpath = ATTACHMENT_ROOT . "\161\162" . $this->w["\165\156\151\x61\x63\x69\144"] . "\57\161\162\62\x31\x37" . $id . "\56\160\x6e\x67"; goto YATWA; pG0FR: wxTCB: goto ENOLH; riQ2t: goto vdQZf; goto D5c6t; wGxzZ: goto owUJ1; goto ne31b; ChFr1: if ($default_prize_img["\x76\x61\x6c\165\x65"]) { goto b8Vuh; } goto EEmNo; meYWn: xMOz0: goto N7OaG; ahePQ: $qrimg->thumb(217, 217)->save($qrpath); goto zfaEv; L5Iyl: $img = $Image->open($bg); goto AjxbG; aTx_Q: vdQZf: goto tj4pU; thcDt: file_put_contents($qr_temp, $res); goto FNqqx; xnHx6: unlink($headpath_temp); goto amEdZ; fM6wk: include ROOT_PATH . "\x6c\151\x62\x2f\x47\x64\x2e\143\x6c\141\163\163\56\x70\150\160"; goto mcOjm; mcOjm: include ROOT_PATH . "\154\x69\142\x2f\x49\155\x61\147\145\56\143\154\141\163\163\x2e\160\150\160"; goto uj2OR; hU4Dh: echo file_get_contents($apath); goto agJHy; Sfkqd: $onlyFirstHeigh = 15; goto FqgGx; bOI37: $handle = $handle->text("\xe4\xb8\200\347\xad\211\345\xa5\226\357\xbc\232" . $fir . "\x20\170\40" . $prize["\146\151\x72\x5f\156\x75\155"], IA_ROOT . "\57\x61\144\144\x6f\156\163\57" . $this->gpc["\155"] . "\x2f\164\x65\x6d\160\x6c\x61\x74\145\x2f\x66\x6f\156\164\x2f\155\x73\171\150\56\x74\164\146", 22, "\43\60\x30\60\x30\60\60", array(60, 613 + $onlyFirstHeigh)); goto t63Fs; iCQGU: $fir = $prize["\x66\151\162\137\143\156\141\x6d\145"]; goto iZZLo; PldYL: file_put_contents($apath, file_get_contents($this->w["\x61\164\x74\x61\143\x68\165\x72\x6c"] . $this->getImage($prize["\x73\150\x61\x72\x65\137\160\x69\x63"], true))); goto JlEfi; Lzk6N: $trd = $prize["\164\162\144\x5f\143\x6e\x61\155\145"]; goto P4Zj4; VRe3S: file_put_contents($headpath_temp, file_get_contents($this->member["\x75\x73\x65\162\x5f\151\x6d\147"])); goto EC3qQ; EC3qQ: $himg = $Image->open($headpath_temp); goto aW6jQ; JlEfi: V2RPH: goto ZrkNq; t63Fs: ZjWtK: goto F7ML_; yav_q: $bg = IA_ROOT . "\x2f\141\x64\x64\157\156\163\x2f" . $this->gpc["\x6d"] . "\x2f\x74\x65\x6d\160\154\141\164\x65\57\x62\147\x32\56\160\156\x67"; goto Isy0I; gL3oq: InzwF: goto cGe1z; pTWDJ: $handle = $handle->text($sec . "\52" . $prize["\x73\x65\143\137\156\x75\x6d"], IA_ROOT . "\57\x61\x64\x64\x6f\x6e\163\57" . $this->gpc["\x6d"] . "\57\164\145\155\160\154\x61\x74\x65\57\x66\157\156\x74\x2f\155\x73\x79\x68\x2e\164\x74\x66", 24, "\43\60\60\60\x30\60\x30", array(60, 650)); goto meYWn; Isy0I: if (empty($prize["\141\x74\164\x61\143\150\x5f\151\144"])) { goto o0guh; } goto In7pI; iZZLo: goto RMjxy; goto gL3oq; QwI5e: $handle = $handle->text($open_type, IA_ROOT . "\x2f\x61\x64\x64\x6f\156\x73\x2f" . $this->gpc["\x6d"] . "\x2f\164\x65\155\160\154\141\164\145\57\x66\x6f\156\164\x2f\155\163\x79\x68\x2e\x74\x74\x66", 18, "\43\x39\x46\x39\64\71\64", array(60, 741)); goto ht33S; lUR1w: goto wxTCB; goto hj0FC; ZrkNq: header("\x63\x6f\156\164\145\x6e\164\55\164\171\x70\145\x3a\x69\x6d\x61\147\145\57\x70\156\x67"); goto hU4Dh; In7pI: $apath = ATTACHMENT_ROOT . $this->getImage($prize["\x61\x74\164\141\143\x68\x5f\x69\144"], true); goto jXtue; DYg20: if (!$this->_is_oss()) { goto BdGX4; } goto tAQlu; ne31b: Jf44y: goto qWU2a; jXtue: if (!$this->_is_oss()) { goto FR0lb; } goto iUOvL; FqgGx: $onlySecondHeight = 10; goto V4tub; Zfum0: if ($prize["\x73\145\143\137\x70\164\x79\160\145"] == 1) { goto aRkJT; } goto Hoxp4; tAQlu: file_put_contents($apath, file_get_contents($this->w["\x61\x74\x74\x61\x63\150\165\162\x6c"] . $this->getImage($default_prize_img["\166\x61\154\x75\145"], true))); goto WdtBW; x8bVv: goto HSe7e; goto jKi8p; EEmNo: $apath = IA_ROOT . "\x2f\141\x64\x64\x6f\156\163\57" . $this->gpc["\155"] . "\x2f\x74\145\x6d\160\x6c\141\164\x65\x2f\141\164\x74\x61\143\150\x32\56\152\x70\147"; goto ze0f7; A4Ab0: if ($prize["\146\151\162\x5f\160\164\x79\x70\145"] == 1) { goto kK2Zo; } goto iCQGU; trVf8: imagepng($imgg, $headpath); goto dkHFX; xjAKh: if (!$this->_is_oss()) { goto V2RPH; } goto PldYL; a6otK: $sec = mb_substr($sec, 0, 16, "\165\x74\x66\x2d\x38") . "\x2e\56\x2e"; goto XCtmA; F7ML_: if (!(0 && $sec)) { goto xMOz0; } goto pTWDJ; OELNi: @mkdir($path, 0777, true); goto ULHNP; OCKKM: } public function doPageImage() { goto ywzSX; voDM8: json("\xe5\x8f\202\xe6\225\xb0\351\x94\231\350\xaf\xaf", 0); goto p2Ouz; ywzSX: $id = $this->get("\x69\144"); goto QfFkr; E75Je: $image = pdo_get(prefix_table("\143\x6a\137\162\145\163\x6f\165\162\143\145"), ["\151\x64" => $id]); goto HqxFh; fsRnB: F86Qs: goto crL1D; p2Ouz: bPvOm: goto E75Je; crL1D: header("\143\157\156\164\x65\156\164\x2d\164\x79\160\x65\72\151\155\141\147\145\57\x70\156\x67"); goto rfsQH; S41r5: json("\345\x9b\276\347\x89\207\344\270\215\xe5\255\230\xe5\234\xa8", 0); goto fsRnB; t2y2L: GKBXQ: goto eMhwD; OO8UJ: dUZAD: goto Wqreq; wh4YX: echo file_get_contents(ATTACHMENT_ROOT . $image["\x72\157\165\164\x65"]); goto A_YDU; Wqreq: die; goto UZOnY; A_YDU: goto dUZAD; goto t2y2L; eMhwD: echo file_get_contents($this->w["\x61\164\x74\141\143\150\165\162\x6c"] . $image["\x72\157\165\164\x65"]); goto OO8UJ; HqxFh: if (!empty($image)) { goto F86Qs; } goto S41r5; rfsQH: if ($this->_is_oss()) { goto GKBXQ; } goto wh4YX; QfFkr: if (is_numeric($id)) { goto bPvOm; } goto voDM8; UZOnY: } public function doPageLogin() { goto kVKNS; rI7RM: $member = pdo_get(prefix_table("\x63\x6a\x5f\x6d\145\155\142\145\x72"), ["\x6f\160\x65\x6e\x69\x64" => $res["\x6f\x70\x65\156\x69\144"]]); goto XY57a; p2yMF: $_SESSION["\155\145\155\142\145\x72\137\151\144"] = $member["\151\144"]; goto A_M18; fIvOI: $member["\151\144"] = pdo_insertid(); goto J9S44; qsy9f: FsDOb: goto rI7RM; JJSc4: if (!(false === ($res = $wxObj->jscode2session($code)))) { goto FsDOb; } goto G4ubR; J9S44: bnzsA: goto p2yMF; A_M18: $_SESSION["\x6f\160\145\x6e\x69\144"] = $res["\x6f\x70\145\156\x69\x64"]; goto RTDS1; RTDS1: $_SESSION["\163\145\163\x73\x69\x6f\x6e\x5f\153\x65\x79"] = $res["\x73\x65\x73\163\151\x6f\156\x5f\x6b\145\171"]; goto YJOcJ; pfg0w: $wxObj = new Wxadoc($option); goto JJSc4; G4ubR: json($wxObj->getError(), 0); goto qsy9f; xzWP9: if (!empty($code)) { goto zut5h; } goto jT9a6; ZGpSX: $option = ["\141\160\x70\x69\144" => $this->w["\x75\156\x69\141\x63\x63\x6f\x75\x6e\x74"]["\153\x65\x79"], "\163\145\143\162\145\x74" => $this->w["\165\x6e\x69\x61\143\143\x6f\x75\x6e\164"]["\x73\145\x63\162\x65\x74"]]; goto pfg0w; XY57a: if (!empty($member)) { goto bnzsA; } goto Y6Yu2; j2N_K: json($token); goto Q70eX; K6N8I: $insert = ["\x74\157\x6b\x65\x6e" => $token, "\155\145\155\142\145\x72\137\151\x64" => $member["\151\x64"], "\x63\162\145\141\x74\145\144" => time()]; goto CZogC; ldBzh: zut5h: goto ZGpSX; kVKNS: $code = $this->get("\143\157\144\145"); goto xzWP9; jT9a6: json("\xe5\217\202\xe6\x95\260\xe9\x94\x99\350\257\257"); goto ldBzh; CZogC: pdo_insert(prefix_table("\143\x6a\137\164\x6f\153\145\156"), $insert); goto j2N_K; YJOcJ: $token = md5($member["\x69\x64"] . time() . "\x39\x78\171"); goto K6N8I; Y6Yu2: pdo_insert(prefix_table("\143\x6a\x5f\x6d\145\155\x62\x65\162"), ["\157\x70\145\x6e\x69\x64" => $res["\x6f\x70\x65\156\x69\x64"]]); goto fIvOI; Q70eX: } public function doPageRegister() { goto jVHzq; GXn1M: xTGp7: goto whS0M; qyt28: json("\351\x9d\236\346\xb3\x95\350\xaf\xb7\346\261\x82", 0); goto xPAzv; JUIUV: $trd_session = $this->get("\x74\x72\x64\137\x73\x65\x73\163\x69\x6f\156"); goto jpLhi; jVHzq: $member_id = $this->member["\151\x64"]; goto uSwNP; G4YmN: $res = $wxbd->decryptData($encryptedData, $iv, $data); goto hVie_; whS0M: $update = ["\156\151\143\153\156\141\155\145" => $this->get("\156\151\x63\153\156\141\x6d\145"), "\165\x73\145\162\137\x69\x6d\147" => $this->get("\150\145\141\144\x69\155\x67\x75\x72\154") ? $this->get("\150\x65\x61\144\x69\x6d\x67\165\162\154") : $this->w["\x73\151\164\145\x72\x6f\x6f\164"] . "\141\144\144\157\x6e\x73\x2f\x68\x75\137\x63\x6f\165\x64\141\57\x74\145\x6d\x70\154\x61\164\145\x2f\151\x6d\x61\147\145\163\x2f\x6e\157\x70\x69\143\x2e\152\160\147", "\x67\145\156\144\145\x72" => $this->get("\147\x65\x6e\x64\145\162"), "\x70\x72\x6f\166\151\x6e\x63\x65" => $this->get("\160\x72\157\x76\151\156\143\145"), "\143\151\x74\x79" => $this->get("\143\151\164\x79"), "\143\x6f\x75\156\164\x72\x79" => $this->get("\143\x6f\165\x6e\x74\162\x79"), "\x61\144\144\137\x74\151\155\145" => time(), "\x73\145\x74\x5f\x74\x69\x6d\x65" => time()]; goto lt1V6; hVie_: if (!($res != ErrorCode::$OK)) { goto bXj2i; } goto bHH7q; vEAY8: $iv = $this->get("\x69\x76"); goto xHjmo; VB4pl: bXj2i: goto GXn1M; MrO2g: json("\x6f\x6b"); goto k0kSj; xPAzv: XuWDd: goto XE520; Z_0Tn: include ROOT_PATH . "\x6c\x69\142\x2f\x57\x58\x42\151\x7a\104\x61\x74\x61\103\x72\x79\160\164\56\x70\150\x70"; goto jhgEd; jpLhi: $res = pdo_get(prefix_table("\143\152\137\164\157\153\x65\x6e"), ["\164\157\153\145\x6e" => $trd_session]); goto vEAY8; bHH7q: json("\346\x95\xb0\xe6\x8d\xae\xe6\233\264\346\226\xb0\xe5\xa4\xb1\350\xb4\xa5", 0); goto VB4pl; lt1V6: pdo_update(prefix_table("\143\x6a\137\155\x65\155\142\145\x72"), $update, ["\151\x64" => $member_id]); goto MrO2g; uSwNP: if (!(!$this->get("\x6e\151\x63\x6b\x6e\x61\x6d\145") || !$this->get("\150\145\x61\x64\x69\x6d\x67\165\x72\x6c"))) { goto XuWDd; } goto qyt28; XE520: if (!0) { goto xTGp7; } goto JUIUV; xHjmo: $encryptedData = $this->get("\x65\156\x63\162\x79\x70\164\145\x64\x44\141\164\141"); goto Z_0Tn; jhgEd: $wxbd = new WXBizDataCrypt($this->w["\x75\156\x69\x61\x63\x63\x6f\x75\156\x74"]["\153\x65\171"], $res["\163\x65\x73\163\151\x6f\156\x5f\153\145\x79"]); goto G4YmN; k0kSj: } public function doPageMy() { $this->member["\x6e\151\x63\153\x6e\141\155\x65"] = mb_substr($this->member["\x6e\x69\143\x6b\156\x61\x6d\x65"], 0, 10, "\x55\124\x46\55\70"); json($this->member); } public function doPageWithdrawals() { goto cN2gI; n_2x_: if (!($money < 1 or $money > 200)) { goto vCqc1; } goto Yhjde; Iareh: vCqc1: goto QGhs_; QGhs_: $start = strtotime(date("\131\x2d\155\x2d\x64", time())); goto gcN7U; coc29: json("\xe6\217\220\347\x8e\xb0\346\210\220\xe5\x8a\x9f", 1); goto d1cqT; gcN7U: $sql = "\x53\x45\x4c\x45\x43\x54\40\103\x4f\125\116\124\50\x31\51\40\x61\163\40\143\x6f\x75\x6e\164\x20\106\122\117\x4d\x20" . tablename(prefix_table("\143\x6a\x5f\167\151\164\150\x64\x72\x61\167\141\154\163")) . "\40\x57\110\x45\x52\105\40\143\162\x65\x61\x74\x65\144\x3e" . $start; goto wRymn; wRymn: $res = pdo_fetch($sql); goto Y0kUK; ZjO03: pdo_begin(); goto DnJK5; Yhjde: json("\xe6\x8f\x90\347\x8e\xb0\xe9\x87\221\xe9\242\x9d\xe4\270\272\x31\x2d\62\x30\60\xe5\x85\203\344\271\213\351\x97\xb4", 0); goto Iareh; rzrws: BKdA8: goto ZjO03; Y0kUK: if (!(!empty($res) && $res["\x63\x6f\165\156\x74"] > 2)) { goto BKdA8; } goto rzrws; cN2gI: $money = $this->get("\x6d\x6f\x6e\x65\x79", 0); goto n_2x_; DnJK5: try { goto G0zVr; EooLF: $this->setPayment(); goto ERf9i; U_ozi: tyi58: goto wI8xS; tGQq6: throw new Exception("\346\217\220\xe7\x8e\260\xe5\xa4\xb1\xe8\xb4\245"); goto D6kil; RcY_E: $insert_id = pdo_insertid(); goto Elf6a; pwrQx: uge7b: goto hPMUP; hPMUP: pdo_commit(); goto CAwh9; G0zVr: $insert = ["\155\145\x6d\x62\x65\x72\x5f\151\x64" => $this->member["\x69\x64"], "\x6d\x6f\x6e\x65\171" => $money, "\x63\x72\x65\141\x74\x65\144" => time()]; goto EooLF; qQHmO: throw new Exception($p->error); goto U_ozi; QRu0r: throw new Exception("\xe6\217\220\347\216\260\xe5\244\261\xe8\xb4\xa5"); goto pwrQx; Gr6FB: if ($p->change($this->member["\151\x64"], $money, 2)) { goto tyi58; } goto qQHmO; ERf9i: $p = new prize(); goto Gr6FB; wI8xS: if (pdo_insert(prefix_table("\143\152\x5f\167\151\164\150\x64\x72\141\167\x61\154\x73"), $insert)) { goto plsda; } goto tGQq6; D6kil: plsda: goto RcY_E; Elf6a: if ($p->cash($insert_id)) { goto uge7b; } goto QRu0r; CAwh9: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto coc29; d1cqT: } private function setPayment() { goto i_3eS; X3saE: WxPayConfig::$SSLKEY_PATH = $key["\x76\x61\154\165\x65"]; goto Kr8_C; F1FMA: WxPayConfig::$SSLCERT_PATH = $cert["\166\x61\x6c\x75\x65"]; goto X8Cv3; wVFnA: $key = pdo_get(prefix_table("\143\152\137\143\157\156\146\x69\x67"), ["\153\145\x79" => "\141\160\x69\x63\x6c\x69\145\x6e\x74\137\153\145\x79"]); goto FGb91; Tz4PQ: WxPayConfig::$APPSECRET = $this->w["\x75\156\x69\x61\x63\143\157\165\x6e\164"]["\163\x65\143\x72\145\164"]; goto H9ThZ; Kr8_C: dlNLz: goto NTWhz; FGb91: if (empty($key)) { goto dlNLz; } goto X3saE; uQ2hS: WxPayConfig::$MCHID = $this->w["\x61\x63\143\x6f\165\x6e\x74"]["\x73\x65\164\x74\151\156\x67"]["\x70\141\x79\x6d\x65\156\x74"]["\167\x65\143\x68\x61\x74"]["\155\x63\x68\x69\x64"]; goto LrAwE; H9ThZ: $cert = pdo_get(prefix_table("\x63\152\x5f\x63\157\x6e\x66\x69\x67"), ["\x6b\x65\x79" => "\x61\160\151\143\x6c\x69\145\x6e\x74\x5f\143\145\x72\164"]); goto NNttP; X8Cv3: YWmXp: goto wVFnA; LrAwE: WxPayConfig::$KEY = $this->w["\x61\x63\143\x6f\165\x6e\164"]["\163\145\x74\164\151\x6e\x67"]["\x70\x61\171\x6d\x65\156\x74"]["\x77\x65\x63\150\141\164"]["\x73\x69\x67\156\153\145\x79"]; goto Tz4PQ; NNttP: if (empty($cert)) { goto YWmXp; } goto F1FMA; i_3eS: WxPayConfig::$APPID = $this->w["\165\156\x69\141\x63\143\157\165\156\164"]["\153\145\x79"]; goto uQ2hS; NTWhz: } public function doPageProblem() { goto jXkrj; ClIyZ: eKox4: goto iO3IF; eSx_g: foreach ($data as &$value) { $value["\x68\x69\144\x64\x65\156"] = true; OGOSE: } goto ClIyZ; jXkrj: $data = pdo_getall(prefix_table("\x63\x6a\x5f\x63\x6f\x6d\x6d\x6f\156\x5f\x70\x72\x6f\142\154\145\x6d"), ["\163\164\x61\164\165\x73" => 1]); goto eSx_g; iO3IF: json($data); goto qcDzd; qcDzd: } public function doPageHistory() { goto gbO2h; PCL0p: foreach ($order as &$value) { goto vm8dk; weHLV: $value["\x70\x69\156\146\x6f"] = pdo_get(prefix_table("\143\x6a\x5f\x70\x72\151\x7a\x65"), ["\151\x64" => $value["\x70\162\151\172\145\137\151\x64"]]); goto E19_d; vm8dk: $value["\151\163\137\167\x69\x6e"] = pdo_get(prefix_table("\x63\x6a\x5f\160\162\151\x7a\145\137\162\145\x73\165\x6c\x74"), ["\x70\x72\151\172\x65\137\151\144" => $value["\x70\162\151\172\x65\x5f\x69\x64"], "\155\x65\x6d\142\x65\162\137\x69\x64" => $this->member["\151\144"]]); goto weHLV; l2sXX: P3XOk: goto rEokg; E19_d: $value["\x70\151\x6e\x66\x6f"]["\x6d\x69\x6e\x66\x6f"] = pdo_get(prefix_table("\143\x6a\137\x6d\145\155\142\x65\x72"), ["\151\144" => $value["\160\x69\156\146\157"]["\x6d\145\155\x62\145\162\137\151\x64"]]); goto l2sXX; rEokg: } goto AtYHY; Lkflk: $cj_prize = tablename(prefix_table("\x63\152\137\160\162\x69\172\145")); goto ob6D7; ob6D7: $sql = "\123\105\114\105\103\124\40\101\x2e\52\40\x46\122\x4f\x4d\40{$cj_order}\x20\x41\40\114\105\106\x54\40\112\117\111\x4e\40{$cj_prize}\40\102\x20\117\x4e\40\x41\x2e\160\x72\151\172\x65\137\151\144\x3d\102\56\151\x64\40\127\110\105\x52\x45\x20\101\x2e\155\145\x6d\x62\145\x72\x5f\x69\x64\x20\x3d\x20{$this->member["\151\144"]}\x20\101\116\x44\x20\x42\x2e\163\164\141\164\165\163\75{$status}\40\x4f\x52\x44\x45\x52\x20\x42\131\x20\157\x72\144\145\x72\137\x69\144\40\104\105\123\x43\x20\x4c\111\115\x49\x54\40{$limit}\54\40{$page_size}"; goto f3xj4; gbO2h: $p = $this->get("\x70", 1); goto u4863; uBpwh: json($order); goto P6fWY; f3xj4: $order = pdo_fetchall($sql); goto PCL0p; BdeAG: $limit = ($p - 1) * $page_size; goto p2c8u; p2c8u: $status = $this->get("\163\164\141\164\x75\163", 1) == 1 ? 1 : 0; goto L1Lz_; L1Lz_: $cj_order = tablename(prefix_table("\x63\x6a\137\x6f\162\x64\145\x72")); goto Lkflk; u4863: $page_size = 10; goto BdeAG; AtYHY: gbJvM: goto uBpwh; P6fWY: } public function doPageMywinn() { goto gQMq4; ztYtb: YNf1f: goto KBqWe; tt4vz: $sql = "\123\105\x4c\x45\103\124\40\101\x2e\52\40\x46\122\117\x4d\x20{$cj_prize_result}\x20\x41\x20\114\x45\106\124\x20\112\117\111\116\40{$cj_prize}\x20\102\x20\x4f\x4e\x20\101\x2e\x70\162\151\172\145\137\151\x64\75\102\56\x69\144\40\127\110\x45\x52\105\40\x41\56\x6d\x65\155\142\145\162\137\x69\144\x20\x3d\40{$this->member["\x69\x64"]}\40\40\117\122\104\x45\122\40\102\x59\x20\x72\145\163\x75\x6c\x74\x5f\x69\144\x20\x44\x45\123\x43\40\x4c\111\115\x49\x54\x20{$limit}\x2c\x20{$page_size}"; goto PvSdO; tjYe8: foreach ($order as $k => &$value) { goto cjZ9b; dqCgp: $value["\160\151\x6e\x66\x6f"] = pdo_get(prefix_table("\x63\152\x5f\160\x72\x69\x7a\x65"), ["\151\144" => $value["\160\x72\x69\172\x65\x5f\x69\144"]]); goto UaFif; ihHnP: $value["\160\x69\x6e\x66\x6f"]["\155\151\156\146\157"] = pdo_get(prefix_table("\x63\152\x5f\x6d\x65\x6d\142\145\162"), ["\151\x64" => $value["\x70\151\156\x66\157"]["\x6d\145\155\142\145\162\137\x69\x64"]]); goto OBrNn; YqODD: Ne_0c: goto ihHnP; OBrNn: CVdRj: goto TdlQL; cjZ9b: $value["\151\163\x5f\167\151\x6e"] = pdo_get(prefix_table("\x63\152\x5f\160\x72\151\x7a\x65\x5f\162\145\x73\165\154\x74"), ["\x70\x72\x69\x7a\x65\x5f\x69\x64" => $value["\x70\x72\151\172\145\137\151\144"], "\x6d\x65\x6d\x62\145\x72\x5f\151\x64" => $this->member["\x69\144"]]); goto dqCgp; UaFif: if ($value["\x70\x69\x6e\146\x6f"]) { goto Ne_0c; } goto Mg4q1; Mg4q1: unset($order[$k]); goto YqODD; TdlQL: } goto ztYtb; gQMq4: $p = $this->get("\160", 1); goto npKl3; npKl3: $page_size = 10; goto J9406; cec1C: $cj_prize_result = tablename(prefix_table("\143\152\x5f\160\x72\151\172\145\137\x72\145\163\165\x6c\x74")); goto o8C2N; PvSdO: $order = pdo_fetchall($sql); goto tjYe8; KBqWe: json($order); goto Yllwy; o8C2N: $cj_prize = tablename(prefix_table("\143\152\137\x70\162\151\x7a\145")); goto tt4vz; J9406: $limit = ($p - 1) * $page_size; goto cec1C; Yllwy: } public function doPageLaunch() { goto e7RUP; YyRaB: $page_size = 10; goto zaJCW; e7RUP: $p = $this->get("\160", 1); goto YyRaB; j6Kpt: $prize = pdo_getall(prefix_table("\143\x6a\137\160\x72\x69\172\x65"), ["\155\x65\155\x62\x65\x72\137\151\x64" => $this->member["\151\144"], "\163\x74\x61\x74\x75\x73" => $status], [], '', ["\151\144\x20\144\145\163\x63"], "{$limit}\x2c\x20{$page_size}"); goto AwJla; KpHqz: hfg60: goto w9Ma8; zaJCW: $limit = ($p - 1) * $page_size; goto eBWlE; eBWlE: $status = $this->get("\163\x74\141\164\x75\163", 1) == 1 ? 1 : 0; goto j6Kpt; w9Ma8: json($prize); goto xbVlR; AwJla: foreach ($prize as &$value) { goto WA_xJ; H3c12: $value["\164\151\x74\x6c\x65"] = "\345\215\241\345\x88\xb8\x2d" . $value["\146\x69\162\x5f\x63\156\x61\155\x65"]; goto KD4Ou; WA_xJ: if (!strstr($value["\x74\151\164\x6c\145"], "\x63\x61\162\x64\x6e\165\x6d")) { goto xLaOq; } goto H3c12; kO2Y6: $value["\155\x69\x6e\x66\x6f"] = $this->member; goto nCRcB; XZ5Zz: a1tMe: goto DkwNR; nCRcB: $value["\x63\x72\x65\141\x74\x65\144\x5f\x76\x61\x6c"] = date("\x59\x2d\x6d\x2d\x64\40\x48\x3a\x69\72\163", $value["\143\162\x65\141\164\145\144"]); goto XZ5Zz; KD4Ou: xLaOq: goto kO2Y6; DkwNR: } goto KpHqz; xbVlR: } public function doPageGetmybuy() { goto rTMd3; N9yj6: $page_size = 10; goto HUPWa; lThlZ: foreach ($prize as &$value) { goto gXgjM; AMx7R: $good_info .= $good_data["\x66\x69\162\137\166\141\x6c"]; goto vDCZz; GLyfy: mMlYn: goto ZvwD9; Sx89a: if (!$good_info) { goto j9p_P; } goto kaGJF; EBfg0: if (!$good_info) { goto hAIAd; } goto gaJVL; Gy_ln: if (!($good_data["\163\x65\143\137\x70\x74\x79\x70\145"] == 0)) { goto mMlYn; } goto FIiZA; da5p0: $good_info .= $good_data["\164\x72\144\137\x76\141\154"]; goto WGSW4; Knpvx: if (!($good_data["\146\151\x72\137\160\164\171\160\145"] == 0)) { goto ZIYJJ; } goto Sx89a; FIiZA: if (!$good_info) { goto jiaqt; } goto iofKP; A1Mz3: $value["\x67\x6f\x6f\x64\x5f\x69\x6e\146\157"] = $good_info; goto JqgvB; WGSW4: d4KHK: goto A1Mz3; gXgjM: $cj_prize = tablename(prefix_table("\143\152\x5f\160\162\x69\x7a\145")); goto LEpL2; JqgvB: qASM2: goto ST515; JRvMJ: $good_info .= $good_data["\163\145\143\x5f\x76\141\154"]; goto GLyfy; LEpL2: $good_data = pdo_fetch("\123\x45\114\105\x43\124\x20\x43\x2e\146\x69\162\137\166\141\x6c\x2c\x43\x2e\163\145\143\137\166\141\154\54\x43\56\164\162\x64\x5f\x76\x61\x6c\54\x43\56\x66\151\x72\x5f\160\164\x79\160\145\x2c\x43\x2e\163\145\143\137\x70\164\x79\160\145\x2c\x43\x2e\x74\x72\x64\137\x70\x74\x79\160\145\40" . "\x46\x52\117\115\x20{$cj_prize}\40\x43\40" . "\127\110\105\x52\x45\40\103\x2e\x69\x64\40\75\x20" . $value["\x70\162\x69\x7a\145\x5f\151\144"]); goto Dtk1s; Y3n5Y: jiaqt: goto JRvMJ; gaJVL: $good_info .= "\40\x2f\40"; goto yUHzy; eCdow: j9p_P: goto AMx7R; ZvwD9: if (!($good_data["\164\x72\144\137\160\164\171\x70\145"] == 0)) { goto d4KHK; } goto EBfg0; iofKP: $good_info .= "\40\57\40"; goto Y3n5Y; vDCZz: ZIYJJ: goto Gy_ln; Dtk1s: $good_info = ''; goto Knpvx; kaGJF: $good_info .= "\x20\x2f\x20"; goto eCdow; yUHzy: hAIAd: goto da5p0; ST515: } goto GsJOp; I6rBu: $status = $this->get("\x73\x74\x61\x74\165\x73", 1) == 1 ? 1 : 0; goto wq4vk; rTMd3: $p = $this->get("\160", 1); goto N9yj6; ezlEI: json($prize); goto kwjf0; HUPWa: $limit = ($p - 1) * $page_size; goto I6rBu; GsJOp: Nl3YH: goto ezlEI; wq4vk: $prize = pdo_getall(prefix_table("\x63\152\137\142\x75\x79\137\147\157\157\x64"), ["\155\145\x6d\x62\145\x72\137\151\x64" => $this->member["\x69\x64"], "\x73\x65\156\144\157\165\x74\137\x66\x6c\x61\x67" => $status], [], '', ["\x69\144\x20\144\145\163\x63"], "{$limit}\x2c\40{$page_size}"); goto lThlZ; kwjf0: } public function doPageIndex() { goto J5cfg; dXAt6: $cfg_only_p = pdo_get(prefix_table("\143\152\137\x63\157\x6e\x66\x69\147"), ["\x6b\x65\171" => "\x63\x66\147\x5f\x6f\156\x6c\x79\x5f\x70"]); goto mXzHF; bypUw: $trd_session = $this->get("\x74\162\144\x5f\163\145\163\163\x69\157\156"); goto xN6Sn; fGUWR: pK1XF: goto YHA3Q; iX4mV: $res = pdo_get(prefix_table("\x63\152\x5f\x74\x6f\153\x65\x6e"), ["\x74\157\x6b\x65\x6e" => $trd_session]); goto EJbaa; Y4pX1: vEo84: goto fs6o2; mXzHF: $cfg_only_c = pdo_get(prefix_table("\143\152\137\x63\157\x6e\146\x69\x67"), ["\153\145\171" => "\143\146\x67\137\x6f\x6e\x6c\171\x5f\143"]); goto hm4pa; SOROy: $prize = pdo_fetchall($sql); goto bypUw; YHA3Q: N6xDs: goto MEfFy; fs6o2: if (!$prize) { goto N6xDs; } goto ThrQ7; MEfFy: json($prize); goto Evoby; hm4pa: foreach ($prize as $k => &$value) { goto pV4ub; Jr6sL: $value["\x69\x6d\x67\165\x72\x6c"] = $this->getImage($image["\x72\157\165\x74\x65"], false, true); goto Z_FPj; qklkQ: $typevalue_flag = $open_year . "\xe5\271\264" . $typevalue_flag; goto uNqvv; Yt3bj: $need_province = $cfg_only_p["\x76\141\154\x75\x65"]; goto sLCIl; CvvBw: $typevalue_flag = date("\x6d\346\x9c\x88\144\346\227\245\x20\110\72\151", $value["\164\171\x70\x65\x76\x61\154\165\x65"]); goto Tigi9; oSikg: goto HmxGb; goto bIdMa; xk142: LVowH: goto k5dHj; wmNUW: DO3mx: goto tb9WX; JRx0c: $need_city = $value["\x6f\156\154\171\x5f\143"]; goto h3e_m; lRhb6: sKUS3: goto Gm3R7; Tigi9: $open_year = date("\131", $value["\164\x79\x70\x65\166\x61\154\x75\x65"]); goto bQqTJ; bQqTJ: if (!($open_year > date("\x59"))) { goto hnCzR; } goto qklkQ; GiIZB: if ($value["\x73\x65\143\x5f\x76\141\154"] != '') { goto J4_N5; } goto OaOU4; mCWSz: J4_N5: goto N6Nxn; ZrYkb: zwM9p: goto wmNUW; uNqvv: hnCzR: goto oPKrO; q6G_w: HmxGb: goto ff9X_; oPKrO: $value["\x74\171\160\145\x76\141\x6c\x75\x65\x5f\146\154\x61\147"] = $typevalue_flag; goto M72aE; GA5Fl: if ($member_data["\160\x72\x6f\x76\151\x6e\x63\145"] == $need_province || $member_data["\160\162\x6f\x76\x69\156\143\x65"] . "\347\234\x81" == $need_province || $member_data["\x70\162\x6f\166\x69\156\x63\145"] . "\345\270\202" == $need_province || strstr($need_province, $member_data["\x70\162\x6f\x76\151\x6e\143\145"])) { goto J54a_; } goto Z3Q4m; Z3Q4m: unset($prize[$k]); goto EEpVT; k5dHj: if (!($value["\x74\x79\160\x65"] == 1)) { goto xTfkY; } goto CvvBw; C3Jc9: unset($prize[$k]); goto oSikg; pV4ub: $need_province = $value["\x6f\156\x6c\171\x5f\x70"]; goto JRx0c; gyv3T: J54a_: goto ZrYkb; bIdMa: goto A6Vof; goto lRhb6; M72aE: xTfkY: goto NwsEi; N6Nxn: $value["\x66\x69\x72\137\x6c\x61\x62\x65\154"] = "\344\xb8\200"; goto VOfNw; Z_FPj: $value["\152\157\x69\156\145\x64"] = $this->member["\x69\144"] ? pdo_get(prefix_table("\143\x6a\x5f\x6f\162\x64\145\x72"), ["\160\x72\x69\172\x65\137\151\x64" => $value["\151\x64"], "\155\145\155\x62\145\x72\x5f\151\144" => $this->member["\x69\x64"]]) : ''; goto GiIZB; LsCGp: Z1hx0: goto bJ1Kb; h3e_m: if ($need_province) { goto Z1hx0; } goto Yt3bj; u7Wic: if ($member_data["\143\151\164\171"] == $need_city || $member_data["\x63\151\164\x79"] . "\xe5\xb8\x82" == $need_city || strstr($need_city, $member_data["\143\x69\x74\171"])) { goto sKUS3; } goto C3Jc9; LECXs: goto miydr; goto mCWSz; EEpVT: goto HmxGb; goto TWV6U; VOfNw: miydr: goto q6G_w; sLCIl: $need_city = $cfg_only_c["\166\x61\154\x75\x65"]; goto LsCGp; NwsEi: $image = pdo_get(prefix_table("\143\152\137\162\145\163\x6f\x75\x72\143\x65"), ["\151\144" => $value["\x61\164\x74\x61\x63\150\137\151\144"]]); goto Jr6sL; bJ1Kb: if (!$need_province) { goto DO3mx; } goto GA5Fl; Gm3R7: A6Vof: goto xk142; OaOU4: $value["\146\151\x72\137\154\x61\x62\x65\x6c"] = ''; goto LECXs; TWV6U: goto zwM9p; goto gyv3T; tb9WX: if (!$need_city) { goto LVowH; } goto u7Wic; ff9X_: } goto fGUWR; ImWPH: $home_recommendation_need_check = $home_recommendation_need_check_cfg["\166\x61\154\x75\145"]; goto jCMRs; EJbaa: $this->member["\x69\x64"] = $res["\155\x65\155\x62\x65\162\x5f\x69\x64"]; goto Y4pX1; J5cfg: $home_recommendation_need_check_cfg = pdo_get(prefix_table("\x63\152\x5f\143\x6f\x6e\146\151\147"), ["\x6b\145\171" => "\x68\x6f\x6d\145\x5f\x72\x65\143\x6f\155\x6d\x65\x6e\144\141\x74\151\x6f\x6e\137\156\145\x65\144\137\143\150\145\143\153"]); goto ImWPH; YdLd3: $sql = "\163\145\x6c\x65\143\164\x20\52\x20\x66\x72\157\x6d\x20" . tablename(prefix_table("\143\152\137\x70\162\151\172\x65")) . "\x20\x77\x68\145\x72\x65\x20\151\163\137\x63\141\156\143\x65\154\75\x30\x20\x61\x6e\144\x20\163\x74\141\164\x75\x73\x3d\x30\x20\141\156\x64\40\50\x69\x73\x5f\x67\154\x6f\x62\141\154\75\x30\40\157\162\40\50\x69\163\x5f\x67\x6c\x6f\142\x61\154\75\x31\x20\x61\156\x64\40\x72\145\x63\x6f\155\155\145\x6e\x64\x5f\x69\144\76\x30\x29\51\x20\157\162\x64\145\x72\x20\x62\171\x20\160\x61\x67\x65\x5f\x6f\x72\144\145\x72\40\144\145\x73\x63\54\40\151\x64\x20\144\x65\x73\143"; goto MOGAZ; ngdq0: $sql = "\x73\x65\154\x65\x63\x74\x20\x2a\x20\x66\x72\157\x6d\x20" . tablename(prefix_table("\143\x6a\137\x70\x72\151\172\x65")) . "\x20\x77\150\x65\x72\x65\x20\x69\163\x5f\143\141\x6e\143\145\x6c\75\x30\40\141\x6e\x64\x20\x73\164\x61\164\x75\163\x3d\60\40\141\156\x64\40\x28\x69\163\x5f\147\154\157\142\141\x6c\x3d\60\x20\x6f\162\40\50\151\x73\137\147\154\x6f\x62\x61\x6c\75\61\40\x61\x6e\144\40\162\145\x63\157\155\155\145\x6e\144\137\151\x64\x3e\60\x20\x61\x6e\x64\40\143\150\153\x5f\146\x6c\x61\147\75\x31\x29\51\x20\x6f\x72\x64\145\162\40\x62\x79\40\160\141\x67\145\137\x6f\162\144\145\162\40\144\x65\163\x63\54\x20\151\x64\40\144\145\x73\x63"; goto wstG2; MOGAZ: goto PQ3jH; goto MjRrd; jCMRs: if ($home_recommendation_need_check) { goto uQJ7u; } goto YdLd3; ThrQ7: $member_data = pdo_get(prefix_table("\x63\152\137\x6d\x65\x6d\x62\x65\162"), ["\x69\x64" => $this->member["\151\x64"]]); goto dXAt6; MjRrd: uQJ7u: goto ngdq0; xN6Sn: if (!$trd_session) { goto vEo84; } goto iX4mV; wstG2: PQ3jH: goto SOROy; Evoby: } public function doPageTotal() { goto ZUepS; J5j3u: FmcVw: goto W8MS2; tcNu4: if (empty($apply)) { goto FmcVw; } goto w75wN; DWMdy: vGxg6: goto s1GRL; s1GRL: $apply = pdo_get(prefix_table("\143\152\x5f\x63\157\x6e\x66\x69\147"), ["\x6b\145\171" => "\141\160\160\154\x79\x5f\x6e\165\x6d\x62\x65\x72"]); goto tcNu4; W8MS2: json(compact("\x6a\x69\145\172\x68\151", "\164\x6f\x74\141\154")); goto hcNVJ; yuJpH: goto vGxg6; goto euj8b; imZdw: $total = $total[0]; goto DWMdy; b8t3p: $total = pdo_get(prefix_table("\x63\x6a\x5f\160\x72\x69\x7a\x65\x5f\x72\x65\163\165\154\x74"), [], ["\103\117\125\116\x54\50\162\x65\x73\x75\154\x74\x5f\x69\x64\51"]); goto Wj3dH; Wj3dH: if ($total) { goto fQsHY; } goto D8fW5; euj8b: fQsHY: goto imZdw; D8fW5: $total = 0; goto yuJpH; w75wN: $total += $apply["\166\141\154\x75\x65"]; goto J5j3u; ZUepS: $jiezhi = date("\131\55\155\55\144", strtotime("\55\x31\40\x64\141\171")); goto b8t3p; hcNVJ: } public function doPageRecommend() { goto lfZoa; AcHIO: N0wE3: goto zM5N7; DW3bS: W0MNh: goto MaZjH; OPsdW: $pay_money = $money - $member["\x6d\157\x6e\145\x79"]; goto YYNkt; D214y: $prize = new prize(); goto XeABO; lfZoa: $contact = $this->get("\143\x6f\x6e\164\141\143\x74"); goto lDrd3; gOCuD: json("\xe8\257\xb7\xe5\241\253\xe5\206\x99\350\x81\x94\xe7\263\xbb\346\x96\xb9\xe5\274\x8f", 0); goto iQOg5; iwtXz: CW8ae: goto mvbur; NbdfS: goto cliiZ; goto z9EfA; XeABO: $member = pdo_get(prefix_table("\143\152\x5f\155\145\x6d\x62\x65\x72"), ["\151\x64" => $this->member["\x69\144"]]); goto ic_bq; KbudL: $_W["\x6f\160\x65\156\151\x64"] = $this->member["\x6f\160\145\x6e\151\144"]; goto Nm4xl; E4_6S: if (!($isjump == 1)) { goto tmzwE; } goto OQeO_; fbmD5: $paydata = $this->pay($order); goto ERJa6; z9EfA: NiK7U: goto ZqCqP; WJ8xz: $red_package_fee = pdo_get(prefix_table("\x63\152\x5f\143\x6f\x6e\146\151\147"), ["\x6b\145\171" => "\x72\145\144\x5f\x70\141\x63\x6b\141\147\x65\137\x66\x65\145"]); goto EDtLN; m566U: json($insert_rec_id); goto UZWw2; dB0jx: $money_rec = $money; goto zZumf; w5JDJ: $money += $redpack_money; goto WJ8xz; EDtLN: if (!($red_package_fee && $red_package_fee["\166\141\154\x75\145"] > 0)) { goto gHwRf; } goto brjRu; BqbKX: cliiZ: goto dB0jx; ic_bq: if (!($member["\155\x6f\156\x65\x79"] < $money)) { goto W0MNh; } goto OPsdW; ZOX26: $redpack_money = $this->get("\x72\145\x64\160\x61\x63\153\x5f\x6d\x6f\156\145\x79"); goto vUin5; Nm4xl: $_W["\x6d\x65\x6d\x62\145\162"]["\165\x69\144"] = $this->member["\151\144"]; goto fbmD5; naTKl: $money += $fee; goto uw9l7; ZELO1: $money = $recommend["\x76\141\x6c\x75\x65"]; goto NbdfS; klwss: if (empty($recommend)) { goto NiK7U; } goto ZELO1; VOjoU: try { goto f12eh; Hf4Hi: throw new Exception("\xe6\216\250\350\x8d\220\345\244\261\xe8\264\xa5"); goto ImUOc; QB9IL: $data = ["\x6d\x65\155\x62\145\162\137\x69\x64" => $this->member["\x69\144"], "\x63\x6f\156\164\141\x63\x74" => $contact, "\x6d\157\156\x65\x79\x5f\162\145\143\157\155\155\x61\156\144" => $money_rec, "\x70\x61\171\x5f\x6d\x6f\x6e\x65\x79" => $money, "\x63\x72\x65\x61\x74\x65\144" => time()]; goto XESYC; jGxPc: throw new Exception("\xe6\233\xb4\346\226\260\344\275\x99\xe9\xa2\x9d\xe5\244\xb1\xe8\xb4\xa5"); goto jXS3F; ImUOc: q4fgi: goto iR2rg; f12eh: if ($res = $prize->change($this->member["\x69\144"], $money, 9)) { goto D9mwk; } goto jGxPc; EVT__: pdo_commit(); goto UNxuE; jXS3F: D9mwk: goto QB9IL; XESYC: if (pdo_insert(prefix_table("\143\152\137\x68\157\155\145\137\162\145\143\x6f\155\155\145\156\x64"), $data)) { goto q4fgi; } goto Hf4Hi; iR2rg: $insert_rec_id = pdo_insertid(); goto EVT__; UNxuE: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto m566U; xnkfG: $pay_function = $pay_function ? $pay_function["\x76\x61\154\x75\x65"] : 5; goto C4NCX; zM5N7: json($paydata, -3); goto DW3bS; ERJa6: if (!is_error($paydata)) { goto N0wE3; } goto NIamC; kjODd: $money = 0; goto JBNOs; NIamC: json($paydata["\x6d\145\x73\163\141\147\x65"], 0); goto AcHIO; JBNOs: $recommend = pdo_get(prefix_table("\x63\x6a\x5f\x63\157\x6e\146\x69\147"), ["\153\x65\171" => "\150\157\x6d\145\x5f\162\x65\143\x6f\x6d\x6d\x65\156\144\x61\x74\x69\157\156"]); goto klwss; lDrd3: if (!empty($contact)) { goto o1DUj; } goto gOCuD; brjRu: $fee = ceil($redpack_money * $red_package_fee["\166\x61\x6c\165\x65"]) / 100; goto naTKl; iQOg5: o1DUj: goto kjODd; OQeO_: $pay_function = pdo_get(prefix_table("\x63\152\x5f\x63\157\x6e\146\x69\x67"), ["\x6b\x65\171" => "\160\141\x79\137\x66\165\x6e\143\x74\151\x6f\156"]); goto xnkfG; oIflm: tmzwE: goto ZOX26; mvbur: sleep(2); goto D214y; MaZjH: pdo_begin(); goto VOjoU; Y_wGT: $xcx = pdo_get(prefix_table("\x63\x6a\137\143\157\x6e\x66\151\147"), ["\153\145\171" => "\164\151\x74\154\145"]); goto iwpGr; C4NCX: $money += $pay_function; goto oIflm; NHt1F: global $_W; goto KbudL; ZqCqP: $money = 1500; goto BqbKX; zZumf: $isjump = $this->get("\151\x73\152\165\x6d\x70"); goto E4_6S; YYNkt: $orderid = $prize->unifiedOrder($this->member["\151\x64"], $pay_money); goto Y_wGT; uw9l7: gHwRf: goto iwtXz; iwpGr: $xcx = $xcx ? $xcx["\x76\x61\x6c\165\145"] : ''; goto CmYQu; vUin5: if (!$redpack_money) { goto CW8ae; } goto w5JDJ; CmYQu: $order = array("\164\151\144" => $orderid, "\146\x65\145" => floatval($pay_money), "\x74\x69\x74\x6c\x65" => $xcx . "\347\232\204\350\xae\242\xe5\215\225"); goto NHt1F; UZWw2: } public function doPageAdd() { goto tb9xM; qBdFE: rTrna: goto vi6Ou; P2aOI: $money = $money - ($recommand_all_money - $recommand_only_money); goto mCGw5; LBGDp: awNK2: goto CGRX2; elWOt: if (!($member["\x6d\x6f\x6e\x65\171"] < $money)) { goto c9T_G; } goto Kia4a; rBirl: $money += $fee; goto LzK2V; fGhkZ: $trd_val = $this->get("\x74\162\x64\x5f\x76\141\154"); goto nB5wD; N_2jR: NzAXq: goto PsPAZ; dG3Ul: d4eNP: goto ro3FA; e8nEM: a2NYu: goto c916X; J1osX: $trd_ptype = $this->get("\164\x72\x64\x5f\x70\164\171\x70\x65"); goto P5fIU; Gv0lA: goto awNK2; goto l3zht; CfnOJ: $fir_ptype = $this->get("\x66\151\162\x5f\160\x74\171\x70\145"); goto bNils; F_4Vu: if (!($typevalue <= time())) { goto zzndJ; } goto dVAXC; LRqef: rr5Sp: goto ckeT_; bWmDt: if ($sec_ptype == 2) { goto Xnajr; } goto dbxVj; jvQH6: $_W["\x6d\x65\155\x62\145\x72"]["\165\x69\x64"] = $this->member["\x69\x64"]; goto qm8BM; XwOpA: try { goto rCYds; dVK_0: throw new Exception("\xe8\xaf\xb7\xe9\200\x89\xe6\x8b\xa9\344\274\x98\xe6\203\240\xe5\x88\xb8"); goto v7ykl; hN81G: aDbXV: goto Htq96; jKRoq: $data["\151\x73\137\x72\x6f\142\157\x74\137\x6d\141\170"] = $is_robot_max["\166\x61\x6c\x75\145"]; goto BC8x0; NXwvB: $robot_m["\x76\x61\x6c\165\x65"] = false; goto RMQIl; yCr46: if (is_numeric($data["\x73\x65\x63\x5f\x63\x61\162\x64\151\x64"])) { goto BkE5v; } goto N59ZL; RMQIl: XCQUN: goto WS203; Htq96: if (!($data["\x73\x65\143\x5f\x70\x74\171\x70\x65"] == 2 && $is_voucher)) { goto nTLx8; } goto CtA4F; nUdJU: json($insert_id); goto xw_3m; BC8x0: lgtl1: goto Qmo25; lBsA6: if (is_numeric(!$data["\164\x72\144\x5f\x63\x61\x72\x64\151\144"])) { goto vYqCN; } goto dVK_0; IB3iC: Ev8OU: goto P7_J7; pLbIG: if (pdo_insert(prefix_table("\143\x6a\137\x70\x72\x69\x7a\145"), $data)) { goto k11hh; } goto wkHCl; CA9K1: $data = ["\160\162\x69\172\x65\x5f\x69\x64" => $insert_id, "\x61\160\160\151\144" => $this->get("\141\160\x70\151\x64"), "\160\141\164\x68" => $this->get("\x70\141\x74\150"), "\145\x78\x74\162\x61\x44\x61\x74\x61" => $this->get("\145\170\164\162\x61\104\x61\164\x61"), "\141\160\160\x5f\x6e\x61\155\145" => $this->get("\141\x70\160\156\141\x6d\145")]; goto hWEaM; rCYds: if (!($data["\146\x69\162\x5f\x70\x74\171\160\x65"] == 2 && $is_voucher)) { goto aDbXV; } goto U7nSj; U7nSj: $data["\146\x69\162\137\x70\164\171\x70\145"] = 3; goto F_ON8; WS203: if (!$robot_m["\166\x61\154\x75\145"]) { goto lgtl1; } goto MRZ8r; fLhjh: $data["\x74\160\154\x5f\146\x6c\141\147\x5f\x6f\160\x65\156"] = "\x42"; goto pLbIG; iLhbj: bohrc: goto pSNrt; J_j_L: HWL4b: goto c9e2t; SvbsI: $robot_of_not_home = pdo_get(prefix_table("\x63\x6a\137\143\x6f\x6e\146\151\x67"), ["\153\145\171" => "\162\x6f\x62\x6f\x74\137\x6f\146\137\156\157\x74\x5f\150\x6f\x6d\x65"]); goto oxwa1; c9e2t: $data["\x73\x65\143\137\166\141\154"] = json_encode($res); goto zY0l5; PVB_A: if ($res) { goto Ev8OU; } goto IM1zE; bveVM: BkE5v: goto f3Z17; P7_J7: $data["\x66\x69\162\x5f\166\x61\154"] = json_encode($res); goto hN81G; kIvKJ: if (!($type == 1 && $robot["\x76\x61\x6c\x75\x65"])) { goto ukhc9; } goto DHaVM; SCK2_: if ($res) { goto BxmZw; } goto GoGDG; UANnD: if (!($data["\x74\x72\x64\x5f\160\x74\171\160\145"] == 2 && $is_voucher)) { goto wca0V; } goto bB2RY; pSNrt: if (!($isjump == 1 && $this->get("\143\x6f\160\171\x6f\x72\x6a\165\155\160") == 2)) { goto gv27e; } goto CA9K1; chOU1: $prize->bag($this->member["\x69\144"], $insert_id, $data["\163\x65\143\x5f\x76\141\x6c"], $data["\163\x65\x63\x5f\x6e\x75\x6d"]); goto k3bMH; SL5XX: if (is_numeric($data["\x66\x69\162\x5f\x63\141\162\144\x69\144"])) { goto kGEtI; } goto WFWjd; V1KoX: $data["\164\x72\144\x5f\166\141\154"] = json_encode($res); goto V0Bmv; lXtU5: $data["\151\x73\137\x72\157\x62\x6f\164"] = 1; goto jKRoq; hWEaM: pdo_insert(prefix_table("\x63\152\137\152\165\x6d\160\x5f\x70\x72\x6f\x67\x72\x61\155"), $data); goto k4MxG; v7ykl: vYqCN: goto G4oTr; CtA4F: $data["\163\145\x63\x5f\160\x74\171\x70\x65"] = 3; goto c9mm6; c9mm6: $data["\x73\x65\143\x5f\x63\x61\162\x64\151\144"] = $this->get("\163\x65\x63\137\x63\x61\162\x64\x69\x64"); goto yCr46; BKTww: $prize->bag($this->member["\151\x64"], $insert_id, $data["\164\162\x64\137\x76\x61\154"], $data["\164\162\x64\x5f\x6e\x75\155"]); goto iLhbj; nZ0wN: $insert_id = pdo_insertid(); goto G4na3; Y51xA: $prize->bag($this->member["\151\x64"], $insert_id, $data["\x66\151\162\x5f\166\141\x6c"], $data["\146\x69\x72\x5f\x6e\165\155"]); goto xBosY; dcOi4: throw new Exception($prize->error); goto J_j_L; DHaVM: $robot_m = pdo_get(prefix_table("\143\x6a\x5f\143\x6f\156\146\x69\x67"), ["\153\145\171" => "\x72\157\142\x6f\x74\137\155"]); goto SvbsI; JbIw3: k11hh: goto nZ0wN; Qmo25: ukhc9: goto bldjv; N59ZL: throw new Exception("\xe8\xaf\267\xe9\200\211\xe6\213\251\344\xbc\x98\346\x83\240\345\210\270"); goto bveVM; G4oTr: $res = $prize->deduction($this->member["\x73\x68\x6f\160\137\x69\x64"], $data["\164\162\x64\137\x63\x61\162\x64\x69\144"], $trd_num); goto SCK2_; M47VA: pdo_commit(); goto nUdJU; gCHmO: kGEtI: goto J44AU; NgJB6: $robot = pdo_get(prefix_table("\x63\x6a\x5f\143\157\156\146\x69\147"), ["\x6b\145\171" => "\x72\157\142\x6f\164"]); goto kIvKJ; J44AU: $res = $prize->deduction($this->member["\x73\150\157\160\x5f\x69\144"], $data["\146\x69\x72\x5f\x63\141\x72\144\x69\144"], $fir_num); goto PVB_A; GoGDG: throw new Exception($prize->error); goto t7LVw; G4na3: if (!($data["\x66\x69\162\x5f\160\164\171\160\145"] == 1)) { goto W1pRf; } goto Y51xA; G5KH7: $data["\164\x72\144\137\143\x61\162\144\x69\x64"] = $this->get("\x74\x72\144\x5f\143\x61\162\x64\x69\144"); goto lBsA6; f3Z17: $res = $prize->deduction($this->member["\x73\150\x6f\160\137\x69\x64"], $data["\163\145\143\x5f\143\141\162\144\x69\x64"], $sec_num); goto qzmc6; t7LVw: BxmZw: goto V1KoX; bldjv: file_put_contents(ATTACHMENT_ROOT . "\x2f\61\56\x74\170\x74", var_export($data, true)); goto uWkQS; MRZ8r: $is_robot_max = pdo_get(prefix_table("\x63\x6a\x5f\x63\157\x6e\x66\x69\x67"), ["\x6b\145\x79" => "\162\x6f\x62\157\164\x5f\x6d\137\x70\x65\162\x63\145\x6e\x74"]); goto lXtU5; k4MxG: gv27e: goto M47VA; wkHCl: throw new Exception("\345\217\x91\xe5\270\203\345\244\xb1\350\xb4\xa5\344\272\x86"); goto JbIw3; uWkQS: $data["\x74\x70\x6c\x5f\146\154\x61\147\x5f\142\145\x67\151\156"] = "\102"; goto fLhjh; E2kAv: if (!($data["\163\x65\143\x5f\160\164\171\160\x65"] == 1)) { goto pb5MG; } goto chOU1; F_ON8: $data["\x66\151\x72\137\143\141\x72\144\x69\x64"] = $this->get("\x66\151\162\x5f\x63\x61\x72\x64\x69\144"); goto SL5XX; qzmc6: if ($res) { goto HWL4b; } goto dcOi4; zY0l5: nTLx8: goto UANnD; IM1zE: throw new Exception($prize->error); goto IB3iC; oxwa1: if (!(!$robot_of_not_home["\x76\141\154\x75\145"] && !$insert_rec_id)) { goto XCQUN; } goto NXwvB; nYYhP: if (!($data["\164\x72\x64\x5f\160\x74\x79\x70\145"] == 1)) { goto bohrc; } goto BKTww; bB2RY: $data["\164\x72\x64\137\x70\x74\x79\x70\145"] = 3; goto G5KH7; V0Bmv: wca0V: goto NgJB6; k3bMH: pb5MG: goto nYYhP; WFWjd: throw new Exception("\xe8\xaf\267\xe9\x80\x89\xe6\x8b\251\xe4\xbc\x98\346\203\240\345\210\xb8"); goto gCHmO; xBosY: W1pRf: goto E2kAv; xw_3m: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto kVaOR; l59ph: pdo_begin(); goto XwOpA; cFk4x: if (!($money > 0)) { goto a2NYu; } goto OYj4j; DvDom: $money += $sec_val * $sec_num; goto G4rMK; DMNum: $order = array("\x74\x69\144" => $orderid, "\x66\145\x65" => floatval($money), "\164\x69\x74\x6c\145" => $xcx . "\347\232\204\xe8\xae\xa2\xe5\215\x95"); goto wYmW9; i2lZr: json("\345\xbc\x80\345\245\x96\344\272\272\346\x95\xb0\345\xb0\217\xe4\xba\x8e\xe5\xa5\x96\345\x93\x81\346\225\xb0", 0); goto xf9V1; W9XBD: QYzww: goto xM54z; P62_1: $xcx = pdo_get(prefix_table("\143\152\x5f\x63\x6f\x6e\x66\151\147"), ["\153\145\x79" => "\x74\x69\164\154\x65"]); goto JWt23; CI0EJ: $max_group_num = 0; goto WyahK; VN2E0: goto bXT76; goto N_2jR; bNils: $is_share = $this->get("\151\x73\x5f\x73\x68\x61\162\x65"); goto NVjwu; Td5Tq: Xnajr: goto b_4Dl; nB5wD: $trd_num = $this->get("\x74\x72\144\137\x6e\165\155", 0); goto VN2E0; R_rq9: $fir_val = htmlspecialchars_decode($this->get("\x66\151\162\x5f\x63\x61\x72\144\155\163\147")); goto c1CYx; Kia4a: $orderid = $prize->unifiedOrder($this->member["\x69\x64"], $money); goto P62_1; LO4Gs: q2W1F: goto LRqef; P5fIU: if ($trd_ptype == 2) { goto NzAXq; } goto fGhkZ; f_AH8: if (!($res == false)) { goto uh5pr; } goto bsNQb; MxBLE: $sec_num = $this->get("\x73\145\x63\137\x6e\x75\x6d", 0); goto gk3rP; pfu9v: $isjump = $this->get("\x69\163\152\x75\x6d\x70"); goto abUoC; c1CYx: $fir_num = $is_voucher ? $this->get("\x66\151\x72\x5f\x6e\x75\x6d") : count(json_decode($fir_val, true)); goto LBGDp; nsdfz: $trd_num = $is_voucher ? $this->get("\164\162\144\137\x6e\x75\x6d") : count(json_decode($trd_val, true)); goto LQmET; jSjsE: $_W["\x6f\x70\145\156\x69\144"] = $this->member["\x6f\x70\x65\156\151\x64"]; goto jvQH6; cmZNP: BAz2F: goto dG3Ul; VHtJ6: $types = ["\x70\145\x6f\160\x6c\x65" => 2, "\x74\151\155\x65" => 1, "\x6d\141\x6e\x75\141\x6c" => 3]; goto pxcb2; kpkf9: if (!(0 && !$uname)) { goto c4A5s; } goto W_V4W; zj3qW: KrqZZ: goto l59ph; ERJm5: if (!(!$this->member["\x75\163\x65\x72\x5f\x69\155\147"] && !$this->member["\x6e\151\x63\x6b\156\141\155\145"])) { goto QYzww; } goto IjPZm; kZ_l_: $wechat_title = $this->get("\x77\145\143\150\x61\164\137\164\151\x74\154\145"); goto lV_St; dbxVj: $sec_val = $this->get("\163\145\143\137\x76\x61\x6c"); goto MxBLE; nJoX0: $recommand_all_money = $rec_data_arr["\160\x61\171\137\155\157\x6e\145\x79"]; goto CtRV8; abUoC: if (!($isjump == 1)) { goto VzRDz; } goto njYoY; NVjwu: $is_command = $this->get("\151\163\137\143\157\155\x6d\141\156\x64", 0); goto yL9fm; njYoY: $pay_function = pdo_get(prefix_table("\x63\x6a\137\x63\157\156\x66\x69\147"), ["\x6b\x65\171" => "\160\141\x79\x5f\146\x75\x6e\143\x74\151\157\x6e"]); goto ysce2; wJ2SQ: if ($fir_ptype == 2) { goto cSXZr; } goto LcwwG; X7wP4: if (!($num > $typevalue)) { goto PO2tg; } goto i2lZr; xM54z: if ($this->member["\163\150\157\160\137\151\x64"]) { goto d4eNP; } goto W1tgr; pxcb2: $type = $types[$type]; goto gNjGF; tb9xM: if (!($this->_release() != 1)) { goto QI5Bv; } goto HwY0P; l3zht: cSXZr: goto R_rq9; vi6Ou: $money = 0; goto R6gL_; wYmW9: global $_W; goto jSjsE; R7r5q: $wechat_no = $this->get("\167\145\x63\150\x61\x74\x5f\x6e\157"); goto kZ_l_; j1i2q: if (!($is_command == 1)) { goto KrqZZ; } goto NiyGV; ysce2: $pay_function = $pay_function ? $pay_function["\166\141\x6c\x75\x65"] : 5; goto jdAp4; ro3FA: $attach_id = $this->get("\141\164\164\141\x63\150\137\x69\144"); goto X7o3f; t9ETU: $money += $fir_val * $fir_num; goto DKhng; IjPZm: json('', -1); goto W9XBD; dVAXC: json("\345\xbc\200\345\245\x96\xe6\227\xb6\351\x97\264\xe5\267\xb2\xe8\277\x87\xef\274\x8c\350\xaf\xb7\xe9\x87\x8d\xe6\226\260\xe9\200\211\346\213\xa9\xe6\227\xb6\xe9\227\xb4", 0); goto rzD9w; VL4zJ: $fee = ceil($money * $red_package_fee["\x76\x61\154\165\145"]) / 100; goto rBirl; t2tOM: $fir_num = $this->get("\x66\151\162\137\156\x75\x6d", 0); goto Gv0lA; X7o3f: $title = $this->get("\x74\151\164\x6c\145"); goto IIyIP; bsNQb: json("\345\xa5\226\345\x93\201\345\217\221\xe5\270\x83\345\244\xb1\350\xb4\xa5", 0); goto KR8Hp; JDRFA: if (!($trd_ptype == 1)) { goto YPDfJ; } goto aQ0KY; c916X: $data = ["\164\151\164\x6c\145" => $fir_val && $fir_ptype != 2 ? $fir_val : ($title ? $title : $this->member["\156\151\x63\153\x6e\141\155\145"] . "\xe6\211\213\346\234\272\345\x8f\x91\xe5\270\x83"), "\142\162\x69\145\146\137\144\x65\x73\143\x72\151\x70\164\x69\x6f\156" => $title, "\x6d\x65\155\142\145\x72\137\151\x64" => $this->member["\151\144"], "\x75\x6e\x61\155\x65" => $uname, "\167\x65\143\150\x61\164\x5f\x6e\157" => $wechat_no, "\x77\x65\143\150\x61\164\137\164\x69\x74\154\x65" => $wechat_title, "\164\x79\160\x65\x76\x61\154\x75\145" => $typevalue, "\x6d\x61\x78\x5f\147\162\x6f\x75\x70\x5f\156\x75\155" => $max_group_num, "\x64\145\163\x63\137\164\171\160\x65" => $desc_type, "\144\145\163\143\x5f\x74\145\170\x74" => $desc_type, "\164\x79\x70\145" => $type, "\x61\164\x74\141\143\150\137\151\144" => $attach_id, "\146\x69\162\137\160\x74\171\x70\x65" => $fir_ptype, "\146\x69\162\x5f\156\x75\155" => $fir_num, "\x66\151\162\x5f\x76\141\154" => $fir_val, "\163\145\x63\x5f\160\x74\171\160\x65" => $sec_ptype, "\163\145\x63\137\x6e\165\155" => $sec_num, "\x73\x65\x63\x5f\166\x61\154" => $sec_val, "\164\x72\x64\137\160\164\x79\160\145" => $trd_ptype, "\x74\x72\x64\x5f\156\x75\155" => $trd_num, "\x74\162\x64\137\166\x61\x6c" => $trd_val, "\x64\145\x73\x63\x72\x69\160\x74\x69\157\x6e" => $description, "\x66\151\162\137\x63\x6e\x61\155\145" => $fir_cname, "\x73\x65\x63\x5f\143\x6e\x61\155\145" => $sec_cname, "\x74\x72\144\137\143\x6e\141\155\145" => $trd_cname, "\143\x72\x65\x61\x74\x65\144" => time(), "\x69\163\137\163\x68\x61\x72\x65" => $is_share, "\x69\x73\x5f\x63\x6f\155\x6d\x61\156\144" => $is_command, "\144\x65\x66\141\165\154\x74\x5f\163\x68\x6f\x70\x5f\x69\144" => $this->member["\x73\150\157\160\137\x69\144"], "\162\x65\x63\x6f\155\x6d\145\156\144\x5f\151\x64" => $insert_rec_id, "\164\x6f\137\141\x6c\154\146\141\x6e\x73\x5f\146\x6c\x61\x67" => 1]; goto j1i2q; LQmET: bXT76: goto CI0EJ; yL9fm: $insert_rec_id = (int) $this->get("\x69\156\163\x65\x72\x74\x5f\162\x65\x63\x5f\151\144", 0); goto OYdp4; wo1AI: $res = $prize->change($this->member["\x69\x64"], $money, 5); goto f_AH8; hsAlr: pdo_update(prefix_table("\x63\152\x5f\x6d\x65\x6d\x62\145\162"), array("\163\x68\157\160\x5f\x69\x64" => $js_default_shop["\x76\141\154\x75\x65"]), ["\151\x64" => $member_id]); goto ghHvB; Y0Bhk: $typevalue = strtotime($typevalue); goto F_4Vu; G4rMK: oakuP: goto JDRFA; n15fF: $trd_cname = $this->get("\x74\x72\144\137\143\156\x61\x6d\145"); goto CfnOJ; LzK2V: zuJND: goto sBQ9J; ghHvB: $this->member["\x73\x68\157\160\137\x69\x64"] = $js_default_shop["\x76\141\x6c\x75\x65"]; goto cmZNP; xf9V1: PO2tg: goto lh2iy; lh2iy: $home_max_peoples_cfg = pdo_get(prefix_table("\x63\x6a\137\x63\157\x6e\146\x69\x67"), ["\x6b\x65\x79" => "\150\x6f\155\145\137\x6d\x61\170\x5f\160\x65\157\160\x6c\x65\x73"]); goto FiCKK; W_V4W: $uname = pdo_fetchcolumn("\x73\x65\154\x65\x63\x74\40\163\x68\x6f\x70\x5f\156\141\155\x65\x20\146\x72\157\155\x20" . tablename(prefix_table("\x63\152\137\163\150\157\160")) . "\x20\x77\x68\145\x72\x65\40\x69\x64\75" . (int) $this->member["\x73\x68\157\x70\x5f\151\144"]); goto nGRyU; AdEf3: k39k0: goto nGd3K; sBQ9J: N1mm4: goto pfu9v; j1uEu: if (!($type == 2)) { goto rr5Sp; } goto Xn7F8; qm8BM: $paydata = $this->pay($order); goto VPWwK; lV_St: $fir_cname = $this->get("\x66\x69\x72\x5f\143\x6e\x61\155\x65"); goto qxjKZ; OIQMF: json($paydata["\155\145\x73\163\141\147\x65"], 0); goto Uow3J; Xn7F8: $num = $fir_num + $sec_num + $trd_num; goto X7wP4; CGRX2: $sec_ptype = $this->get("\163\x65\x63\x5f\160\x74\171\x70\x65"); goto bWmDt; topuJ: $sec_num = $is_voucher ? $this->get("\x73\145\x63\137\x6e\165\x6d") : count(json_decode($sec_val, true)); goto nfEBE; OEuOA: goto BAz2F; goto w3Qao; PsPAZ: $trd_val = htmlspecialchars_decode($this->get("\164\162\x64\x5f\143\x61\x72\144\155\163\147")); goto nsdfz; gk3rP: goto NMwGd; goto Td5Tq; W1tgr: $js_default_shop = pdo_get(prefix_table("\143\x6a\137\143\157\x6e\146\x69\x67"), ["\x6b\145\x79" => "\152\163\137\144\145\146\141\165\x6c\x74\x5f\163\x68\157\160"]); goto Pq5LC; ITZ5k: QI5Bv: goto ERJm5; b_4Dl: $sec_val = htmlspecialchars_decode($this->get("\163\145\143\137\143\x61\x72\144\155\x73\x67")); goto topuJ; uwzNL: if (!($fir_ptype == 1)) { goto gGpo2; } goto t9ETU; DKhng: gGpo2: goto T7rGb; J5p9p: $uname = $this->get("\165\156\x61\x6d\145"); goto kpkf9; i5t23: json("\xe8\xaf\267\xe8\276\223\xe5\205\245\xe5\217\xa3\344\xbb\244", 0); goto JpCK9; w3Qao: LTJE6: goto hsAlr; CtRV8: $recommand_only_money = $rec_data_arr["\x6d\x6f\x6e\145\x79\x5f\162\x65\x63\x6f\x6d\155\x61\x6e\x64"]; goto AdEf3; KR8Hp: uh5pr: goto e8nEM; mCGw5: En3LQ: goto cFk4x; JpCK9: kfL9U: goto zj3qW; nfEBE: NMwGd: goto J1osX; T7rGb: if (!($sec_ptype == 1)) { goto oakuP; } goto DvDom; UM2lN: json(array("\155\163\147" => "\351\x9d\x9e\345\xba\x97\351\223\xba\xe7\xae\xa1\xe7\220\206\xe5\x91\230\346\xb2\241\346\234\x89\xe5\x8f\x91\345\xb8\203\345\245\226\345\223\201\346\x9d\x83\xe9\x99\x90"), -2); goto OEuOA; qxjKZ: $sec_cname = $this->get("\x73\x65\x63\x5f\143\x6e\141\x6d\145"); goto n15fF; LZd2i: $rec_data_arr = pdo_get(prefix_table("\143\152\137\x68\157\155\145\x5f\x72\x65\x63\157\x6d\155\145\x6e\144"), ["\151\144" => $insert_rec_id]); goto nJoX0; aQ0KY: $money += $trd_val * $trd_num; goto RqN_O; hauJW: $is_voucher = $prize->is_voucher($this->member["\x69\x64"]); goto wJ2SQ; RqN_O: YPDfJ: goto tDsHB; tDsHB: $red_package_fee = pdo_get(prefix_table("\x63\152\137\143\x6f\156\146\151\147"), ["\153\145\171" => "\162\145\144\137\x70\141\143\x6b\141\147\x65\x5f\x66\x65\x65"]); goto He50E; pJ0XC: json("\xe5\274\x80\xe5\245\x96\xe4\xba\xba\346\225\260\344\xb8\x8d\345\276\227\xe5\244\x9a\344\272\216\40" . $home_max_peoples, 0); goto LO4Gs; F5QRJ: if ($type == 1) { goto h4pQF; } goto j1uEu; LcwwG: $fir_val = $this->get("\146\x69\162\x5f\166\x61\154"); goto t2tOM; DcEFc: if (!($home_max_peoples > 0 && $typevalue > $home_max_peoples)) { goto q2W1F; } goto pJ0XC; gNjGF: $typevalue = $this->get("\164\171\x70\145\166\x61\154\165\145"); goto F5QRJ; JWt23: $xcx = $xcx ? $xcx["\166\x61\154\165\x65"] : ''; goto DMNum; Uow3J: AvPdi: goto yndiY; NiyGV: $data["\x63\157\x6d\155\141\156\x64"] = $this->get("\x63\157\155\155\x61\156\144"); goto ipFlC; ayXq5: $member = pdo_get(prefix_table("\143\x6a\137\155\145\x6d\x62\145\162"), ["\151\x64" => $this->member["\x69\144"]]); goto elWOt; nGRyU: c4A5s: goto R7r5q; ipFlC: if (!empty($data["\143\x6f\x6d\x6d\x61\x6e\144"])) { goto kfL9U; } goto i5t23; VPWwK: if (!is_error($paydata)) { goto AvPdi; } goto OIQMF; PDgK7: $description = $this->get("\x64\x65\163\x63\x72\151\160\164\x69\x6f\x6e"); goto J5p9p; ckeT_: goto rTrna; goto V0eSm; HwY0P: json("\xe6\227\xa0\345\x8f\221\345\270\x83\xe6\x9d\203\351\x99\x90", 0); goto ITZ5k; He50E: if (!($red_package_fee && $red_package_fee["\166\x61\x6c\x75\x65"] > 0)) { goto zuJND; } goto VL4zJ; rzD9w: zzndJ: goto qBdFE; WyahK: $type = $this->get("\x74\171\x70\x65", "\160\145\x6f\x70\x6c\x65"); goto VHtJ6; y1elX: if (!$insert_rec_id) { goto En3LQ; } goto P2aOI; OYdp4: if (!$insert_rec_id) { goto k39k0; } goto LZd2i; jdAp4: $money += $pay_function; goto Lzpcs; IIyIP: $desc_type = $this->get("\x64\x65\163\143\x5f\x74\x79\x70\145"); goto PDgK7; nGd3K: $prize = new prize(); goto hauJW; Lzpcs: VzRDz: goto y1elX; OYj4j: sleep(2); goto ayXq5; Gx3Og: c9T_G: goto wo1AI; yndiY: json($paydata, -3); goto Gx3Og; Pq5LC: if ($js_default_shop["\x76\x61\x6c\165\x65"]) { goto LTJE6; } goto UM2lN; V0eSm: h4pQF: goto Y0Bhk; FiCKK: $home_max_peoples = (int) $home_max_peoples_cfg["\166\141\154\165\x65"]; goto DcEFc; R6gL_: if (!($fir_ptype == 1 || $trd_ptype == 1 || $sec_ptype == 1)) { goto N1mm4; } goto uwzNL; kVaOR: } public function doPageBuygood() { goto X4dls; Oggi9: $money = $prize_data["\x62\x75\x79\137\x6d\x6f\x6e\145\x79"]; goto H_LpG; X4dls: $prize_id = (int) $this->get("\160\x72\151\x7a\x65\x5f\x69\144"); goto KqGH1; W4F5D: $address_data = pdo_fetch("\123\105\114\105\103\x54\40\156\x61\x6d\x65\54\160\150\x6f\x6e\145\54\141\144\x64\162\x65\163\163\40\106\122\117\x4d\x20" . tablename(prefix_table("\143\x6a\x5f\x61\144\144\162\x65\x73\163")) . "\x20\127\110\x45\x52\105\x20\155\145\155\x62\145\162\x5f\151\144\x3d" . $this->member["\x69\144"]); goto EC0rF; wnwGO: $paydata = $this->pay($order); goto jJe0C; zS0VC: FLfb7: goto UizOu; jN9GZ: goto aqZvk; goto YOfKR; ZdgUd: if (!empty($prize_data)) { goto QxurY; } goto zFpkE; fmZVR: $order = array("\x74\151\x64" => $orderid, "\146\x65\145" => floatval($money), "\164\x69\164\154\x65" => $xcx . "\xe7\232\x84\xe8\xae\xa2\345\x8d\x95"); goto QhQUh; EC0rF: if (!(empty($address_data) || $address_data["\x6e\x61\x6d\145"] == '' || $address_data["\160\150\157\156\145"] == '' || $address_data["\x61\144\x64\x72\x65\163\x73"] == '')) { goto VTvoH; } goto gLF1p; BIEFe: json("\xe5\225\206\xe5\x93\x81\345\x8f\202\xe6\x95\260\xe6\x97\240\346\x95\x88", 0); goto VJZ1O; hyLsm: $_W["\x6f\160\x65\156\151\144"] = $this->member["\x6f\x70\x65\156\x69\144"]; goto KTRWc; NYiOd: if ($res == false) { goto ccspe; } goto CZbtN; gLF1p: json(array("\x6d\x73\x67" => "\xe8\257\xb7\350\277\x9b\345\205\xa5\xe4\xb8\xaa\xe4\xba\xba\xe4\270\255\345\xbf\203\xe8\xae\276\347\xbd\256\345\245\275\xe6\x94\266\xe8\xb4\247\xe5\234\xb0\345\x9d\200"), -1); goto BAyn3; KFh2q: if (!(empty($prize_data["\x62\x75\x79\137\x6c\x61\142\145\154"]) || empty($prize_data["\142\165\x79\x5f\155\157\x6e\145\171"]))) { goto m2E1r; } goto uqgU7; kqXbT: if (!($member["\155\157\156\145\171"] < $money)) { goto tclxP; } goto vyOyy; UTjMa: json($paydata["\x6d\145\163\x73\x61\147\x65"], 0); goto zS0VC; tBCum: try { goto Akhj6; VVzqN: $insert_id = pdo_insertid(); goto DDfEK; Akhj6: if (!1) { goto dr4JH; } goto GAqpM; GAqpM: $data = ["\x70\162\151\x7a\145\x5f\151\x64" => $prize_id, "\x67\x6f\157\x64\137\x70\x72\151\x63\x65" => $money, "\155\x65\x6d\142\x65\x72\x5f\151\x64" => $this->member["\151\144"], "\x70\x61\x79\137\146\154\141\x67" => 1, "\163\145\156\x64\x6f\x75\x74\137\146\x6c\141\x67" => 0, "\x73\x65\156\x64\x6f\165\164\x5f\151\x6e\x66\157" => '', "\163\x65\x6e\144\157\x75\164\x5f\x74\x69\155\x65" => '', "\x62\x75\x79\x5f\164\151\x6d\x65" => date("\x59\55\x6d\55\144\x20\110\72\151\x3a\163")]; goto ePtWs; ePtWs: pdo_insert(prefix_table("\143\x6a\x5f\x62\x75\x79\137\147\157\157\x64"), $data); goto VVzqN; ZGTni: json($insert_id); goto wSx6j; DDfEK: dr4JH: goto Oh1xu; Oh1xu: pdo_commit(); goto ZGTni; wSx6j: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto jN9GZ; uqgU7: json("\xe8\257\xa5\xe5\225\206\345\x93\201\344\270\215\346\224\xaf\346\x8c\x81\xe8\xb4\xad\344\271\260", 0); goto htq2a; H_LpG: if (!($money > 0)) { goto e9CWI; } goto rra1d; rra1d: $prize = new prize(); goto NsQwY; anm21: e9CWI: goto PYqCa; vrYs_: $res = $prize->change($this->member["\151\x64"], $money, 5); goto NYiOd; PYqCa: json(array("\x6d\163\x67" => "\346\223\215\xe4\275\x9c\351\224\231\350\257\257"), -1); goto xJMoP; htq2a: m2E1r: goto W4F5D; BAyn3: VTvoH: goto Oggi9; kveR3: QxurY: goto KFh2q; KqGH1: if ($prize_id) { goto Stbuf; } goto BIEFe; QhQUh: global $_W; goto hyLsm; CZbtN: pdo_begin(); goto tBCum; n3Rw6: tclxP: goto vrYs_; YOfKR: ccspe: goto h5GTu; KTRWc: $_W["\155\145\155\x62\x65\162"]["\x75\151\x64"] = $this->member["\x69\x64"]; goto wnwGO; iHOo0: $xcx = $xcx ? $xcx["\166\x61\154\x75\x65"] : ''; goto fmZVR; jJe0C: if (!is_error($paydata)) { goto FLfb7; } goto UTjMa; vyOyy: $orderid = $prize->unifiedOrder($this->member["\x69\x64"], $money); goto Qwlr8; RjA_c: aqZvk: goto anm21; DQtqU: $prize_data = pdo_get(prefix_table("\x63\152\x5f\160\162\x69\172\145"), ["\151\x64" => $prize_id]); goto ZdgUd; VJZ1O: Stbuf: goto DQtqU; h5GTu: json("\xe6\x89\243\346\xac\276\xe5\244\261\xe8\264\245", 0); goto RjA_c; Qwlr8: $xcx = pdo_get(prefix_table("\143\x6a\137\x63\x6f\x6e\146\151\x67"), ["\153\145\x79" => "\164\x69\x74\154\145"]); goto iHOo0; zFpkE: json("\350\xaf\xa5\345\x95\206\xe5\x93\x81\344\270\x8d\xe5\xad\x98\345\x9c\xa8", 0); goto kveR3; NsQwY: $member = pdo_get(prefix_table("\x63\152\x5f\155\145\155\x62\145\162"), ["\x69\x64" => $this->member["\x69\144"]]); goto kqXbT; UizOu: json($paydata, -3); goto n3Rw6; xJMoP: } public function doPageWriteoff() { goto Ub1kC; R3_KV: YM2Lz: goto OehGh; w_72b: QFYg2: goto YXbcx; rcMYv: json("\345\xa5\226\xe5\223\x81\344\xb8\x8d\xe5\xad\x98\xe5\234\xa8\xe6\x88\226\350\200\x85\345\xb7\262\347\273\217\xe8\242\xab\xe6\xa0\xb8\xe9\224\x80", 0); goto uXKSu; yIzPJ: json("\xe5\245\226\345\223\x81\344\270\x8d\345\255\230\xe5\234\250", 0); goto mgNfm; Bxq9i: rrt4D: goto Lmc59; YXbcx: goto YAKl4; goto bq6Rz; Ub1kC: $voucher = $this->get("\166\157\x75\x63\x68\x65\x72"); goto ijkou; vRiVn: if ($this->member["\x73\150\x6f\160\137\151\144"]) { goto rrt4D; } goto wUxbj; fIB70: if ($voucher_arr = pdo_get(prefix_table("\143\x6a\137\x70\x72\151\x7a\x65\137\x72\145\x73\x75\x6c\x74"), ["\x72\145\x73\165\154\164\137\151\144" => $voucher, "\x69\x73\x5f\167\162\151\164\x65\x5f\157\x66\146" => 0])) { goto iCil3; } goto rcMYv; BaX9m: json("\xe6\xb2\241\xe6\x9c\x89\xe6\xa0\270\xe9\x94\x80\xe8\257\xa5\345\225\x86\xe5\223\201\xe6\x9d\203\351\231\x90", 0); goto LpgFq; cBJxk: YAKl4: goto u69J_; iXSsy: $prize_shop_id = pdo_fetchcolumn("\x53\105\114\105\x43\x54\x20\144\145\146\x61\x75\x6c\164\x5f\x73\150\157\160\137\x69\144\x20\106\122\117\x4d\x20" . tablename(prefix_table("\x63\152\x5f\x70\x72\151\x7a\x65")) . "\40\127\x48\105\x52\105\40\x69\x64\x3d" . $voucher_arr["\160\162\x69\172\145\137\151\144"]); goto HvdFn; OehGh: $update = ["\x77\x72\x69\x74\145\x5f\157\146\x66\x5f\151\x64" => $this->member["\151\x64"], "\x73\x74\x61\164\165\163" => 1, "\x77\162\151\164\x65\137\x6f\x66\x66\x5f\x74\x69\x6d\x65" => time()]; goto vnMan; Lmc59: if (is_numeric($voucher) && strlen($voucher) == strlen(ltrim($voucher, 0))) { goto lBhgY; } goto P_nU7; YnaMo: SPeG0: goto cBJxk; RY7sl: $res = pdo_update(prefix_table("\x63\x6a\137\160\162\151\172\145\137\x72\x65\163\x75\154\164"), ["\x69\163\x5f\167\x72\x69\x74\145\137\x6f\x66\146" => 1], ["\x72\145\163\165\x6c\x74\137\151\144" => $voucher]); goto EjRpQ; NhhDo: json(array("\163\143\x61\x6e" => 0)); goto YnaMo; BsKaE: $shop = pdo_get(prefix_table("\143\152\137\163\150\157\x70"), ["\151\144" => $this->member["\163\150\157\160\x5f\151\x64"], "\151\x73\137\x64\x65\154" => 0]); goto iv_CT; ijkou: if (!empty($voucher)) { goto XYU_i; } goto yIzPJ; v2dIh: json("\xe5\215\xa1\345\210\270\344\270\x8d\345\255\x98\345\234\xa8\346\x88\x96\350\x80\205\345\267\262\347\xbb\x8f\350\xa2\253\xe4\xbd\xbf\xe7\224\xa8", 0); goto Xgld6; wUxbj: json("\xe6\xb2\241\346\x9c\x89\346\xa0\270\351\x94\x80\xe5\xa5\x96\345\x93\x81\346\235\x83\351\231\x90", 0); goto Bxq9i; MJ_mp: json("\346\xb2\241\xe6\234\211\xe6\xa0\xb8\xe9\224\x80\xe8\xaf\245\xe5\215\xa1\345\210\270\346\235\203\351\231\x90", 0); goto R3_KV; HvdFn: if (!(empty($shop) || $shop["\x69\x64"] != $prize_shop_id)) { goto q0xa9; } goto BaX9m; dpDTy: pdo_update(prefix_table("\143\x6a\137\x70\x72\x69\172\145\137\162\145\x73\x75\x6c\x74"), ["\151\x73\x5f\x77\x72\x69\164\x65\x5f\157\146\146" => 1], ["\x70\x76\x61\x6c\165\x65" => $voucher]); goto Fg8P2; LpgFq: q0xa9: goto RY7sl; mgNfm: XYU_i: goto vRiVn; u69J_: json("\xe6\240\270\xe9\224\x80\xe5\244\xb1\xe8\264\xa5", 0); goto LN0Do; iv_CT: if (!(empty($shop) || $shop["\x69\x64"] != $voucher_arr["\x73\x68\x6f\160\x5f\x69\x64"])) { goto YM2Lz; } goto MJ_mp; vnMan: if (!pdo_update(prefix_table("\143\x6a\137\155\145\155\x62\145\162\x5f\x76\157\x75\x63\150\x65\x72"), $update, ["\x69\x64" => $voucher_arr["\151\144"]])) { goto QFYg2; } goto dpDTy; EjRpQ: if (!$res) { goto SPeG0; } goto NhhDo; rOdgh: json(array("\x73\x63\x61\156" => 1)); goto w_72b; bq6Rz: lBhgY: goto fIB70; Fg8P2: pdo_update(prefix_table("\x63\152\137\x76\157\x75\x63\150\x65\x72"), ["\163\x74\141\164\x75\x73" => 3], ["\166\x6f\x75\x63\150\x65\x72" => $voucher]); goto rOdgh; P_nU7: if ($voucher_arr = pdo_get(prefix_table("\x63\x6a\x5f\x6d\145\x6d\x62\145\162\x5f\x76\x6f\x75\143\150\145\162"), ["\166\157\165\143\x68\x65\162" => $voucher, "\x73\x74\141\x74\x75\x73" => 0])) { goto NESqO; } goto v2dIh; HeFur: $shop = pdo_get(prefix_table("\143\152\x5f\x73\x68\x6f\x70"), ["\151\x64" => $this->member["\x73\150\x6f\x70\137\x69\x64"], "\151\163\x5f\144\145\x6c" => 0]); goto iXSsy; uXKSu: iCil3: goto HeFur; Xgld6: NESqO: goto BsKaE; LN0Do: } public function doPageWriteOrder() { goto CffEU; IZrGv: if (!pdo_update(prefix_table("\143\x6a\137\x6d\x65\155\x62\145\x72\137\x76\157\x75\x63\150\x65\162"), ["\x6f\x72\x64\145\x72\x5f\x69\x64" => $order_id], ["\x69\144" => $voucher["\x69\x64"]])) { goto YvZJa; } goto BT2VY; ofbIA: $voucher = pdo_get(prefix_table("\143\152\137\x6d\145\x6d\142\x65\x72\137\166\x6f\x75\143\150\145\162"), ["\166\157\165\143\x68\x65\162" => $voucher, "\x77\162\151\x74\x65\x5f\x6f\146\x66\137\151\x64" => $this->member["\151\x64"]]); goto efR93; G8JU5: $voucher = $this->get("\x76\157\x75\143\x68\x65\162"); goto ofbIA; bwcru: YvZJa: goto Axx2C; hILl3: hIBSu: goto IZrGv; CffEU: $order_id = $this->get("\157\x72\x64\145\x72\137\x69\x64"); goto G8JU5; pZacO: json("\xe6\227\240\xe6\x9d\203\xe9\231\x90", 0); goto hILl3; Axx2C: json("\345\xa1\253\345\206\231\345\244\261\xe8\xb4\245", 0); goto Df2a_; efR93: if (!empty($voucher)) { goto hIBSu; } goto pZacO; BT2VY: json(''); goto bwcru; Df2a_: } public function doPageVoucherList() { goto DMgLu; HQOL9: foreach ($voucher as &$value) { $value["\147\157\157\144\x73"] = pdo_get(prefix_table("\x63\x6a\x5f\x67\x6f\x6f\x64\x73"), ["\x69\144" => $value["\147\x6f\157\x64\x73\x5f\x69\x64"]]); rUJkO: } goto QKhWq; DMgLu: $p = $this->get("\x70", 1); goto FQBC9; OFY8j: json($voucher); goto QtMd8; FQBC9: $page_size = 10; goto XoHqq; QKhWq: w_xcY: goto OFY8j; EiMzu: $voucher = pdo_getall(prefix_table("\143\x6a\137\155\x65\155\x62\x65\162\137\166\157\165\143\150\145\162"), ["\155\145\155\x62\x65\162\x5f\151\144" => $this->member["\x69\x64"]], [], '', ["\151\x64\40\144\145\x73\x63"], "{$limit}\x2c\40{$page_size}"); goto HQOL9; XoHqq: $limit = ($p - 1) * $page_size; goto EiMzu; QtMd8: } public function doPageVoucherDetails() { goto VZnP0; FoT2g: if (!(empty($voucher) || $voucher["\x73\x74\x61\x74\x75\163"] == 1)) { goto oRb28; } goto IZC6F; gGNym: oRb28: goto Ddcmn; Ddcmn: $voucher["\147\157\x6f\x64\163"] = pdo_get(prefix_table("\143\x6a\137\x67\x6f\x6f\x64\x73"), ["\x69\144" => $voucher["\147\x6f\157\144\x73\x5f\x69\144"]]); goto YXkt1; VZnP0: $id = $this->get("\x69\x64"); goto ON7dm; YXkt1: json($voucher); goto yKAMe; ON7dm: $voucher = pdo_get(prefix_table("\x63\152\x5f\x6d\145\x6d\142\x65\162\x5f\166\157\x75\143\x68\x65\162"), ["\x69\144" => $id, "\x6d\x65\x6d\x62\145\x72\x5f\x69\144" => $this->member["\x69\144"]]); goto FoT2g; IZC6F: json("\xe8\257\xa5\xe4\274\230\xe6\203\240\xe5\x88\xb8\xe4\xb8\215\345\255\230\345\234\xa8\xe6\x88\226\xe8\x80\205\345\xb7\xb2\347\273\x8f\xe8\xa2\xab\xe4\xbd\xbf\xe7\x94\xa8", 0); goto gGNym; yKAMe: } public function doPagePayResult($data = array()) { $this->_payResult($data); } public function payResult($data = array()) { $this->_payResult($data); } private function _payResult($data) { goto Y7058; uRbnp: pdo_begin(); goto JGzMx; PVMTN: $paylog = pdo_get("\143\157\162\145\137\160\141\171\154\157\x67", array("\x75\x6e\151\141\143\x69\x64" => $_W["\x75\156\151\141\143\x69\x64"], "\x6d\x6f\x64\165\x6c\x65" => "\150\x75\x5f\x63\157\x75\x64\x61", "\x74\x69\144" => $orderid)); goto mUNDp; PmKJY: i1sqS: goto eX4i7; Y7058: global $_GPC; goto GfcHK; dPpmv: if (!$status) { goto i1sqS; } goto uRbnp; obj1i: $order_type = trim($_GPC["\x6f\162\x64\x65\162\x5f\x74\171\x70\x65"]); goto PVMTN; mUNDp: $status = intval($paylog["\x73\x74\141\x74\x75\x73"]) === 1; goto dPpmv; JGzMx: try { goto ZvZsM; ZvZsM: $order = pdo_get(prefix_table("\x63\x6a\137\160\141\x79\x5f\157\162\144\x65\x72"), ["\x74\162\141\x64\145\x5f\x6e\157" => $orderid, "\x73\164\141\x74\165\163" => 1]); goto M7aRg; oeHb_: $prize->change($order["\x6d\145\x6d\x62\145\162\x5f\151\144"], $order["\x6d\x6f\x6e\145\171"], 1); goto MyaVz; Y5pv0: throw new Exception("\350\256\242\xe5\x8d\x95\xe4\xb8\x8d\345\xad\230\xe5\234\250\346\210\226\350\200\x85\xe5\xb7\262\xe7\273\217\345\xa4\x84\347\x90\206"); goto ss0Kj; ss0Kj: jJRMx: goto xJuEs; xJuEs: if (!pdo_update(prefix_table("\x63\152\137\160\x61\x79\137\157\162\x64\145\162"), ["\x70\141\x79\137\164\x69\x6d\x65" => time(), "\x73\x74\141\x74\165\x73" => 2], array("\x69\144" => $order["\151\144"]))) { goto B22nE; } goto n1QLk; M7aRg: if (!empty($order)) { goto jJRMx; } goto Y5pv0; n1QLk: $prize = new prize(); goto oeHb_; CWKUt: pdo_commit(); goto SoeKr; MyaVz: B22nE: goto CWKUt; SoeKr: } catch (Exception $e) { pdo_rollback(); } goto PmKJY; gXxtW: $orderid = $data["\164\x69\x64"] ? $data["\164\151\144"] : $_GPC["\157\x72\144\x65\162\151\x64"]; goto obj1i; eX4i7: $this->result($status, $status ? "\346\x94\xaf\344\xbb\230\xe6\x88\x90\345\x8a\x9f" : "\xe6\x94\xaf\344\xbb\230\xe5\244\261\350\264\245"); goto LAT0M; GfcHK: global $_W; goto gXxtW; LAT0M: } public function doPageDetailsedit() { goto G2myu; vPVr7: if ($prize["\162\145\143\157\x6d\155\x65\156\144\137\151\x64"]) { goto Gaesz; } goto u6RfQ; tkL_o: if ($this->get("\157\x70") == "\162\x65\x61\x64") { goto tXZ3o; } goto TM8P1; JHDTY: if (!($prize["\164\x79\160\x65"] == 3)) { goto FKLWG; } goto K7q25; gBgkI: LrSKA: goto Qo9nL; dmER4: goto Xyynu; goto WbNkJ; Mg6wL: da92v: goto uYWEq; hjYOh: $_W["\157\160\x65\x6e\x69\144"] = $this->member["\x6f\160\145\x6e\151\x64"]; goto bgL2_; CxKRH: DdvNS: goto vPVr7; j0Ecq: h1IzG: goto aJJs5; PxhcP: $description = str_replace("\74\160\x3e", '', $description); goto COcXT; De0J6: $prize["\x69\x6d\147\163"] = []; goto On32a; WbNkJ: mi0mD: goto zY_hT; FgeNr: global $_W; goto hjYOh; uYWEq: json($paydata, -3); goto vo6x_; cFmtg: if (!($isjump == 1 && $this->get("\143\157\160\171\157\162\152\165\x6d\160") == 2)) { goto bF_ak; } goto kCW_o; LVrOM: if ($prize["\x64\145\163\143\x5f\164\x79\160\145"] == 0) { goto rvfrj; } goto mPHXG; AxXPZ: $prize["\x61\160\x70\x69\144"] = $cj_jump_program["\141\160\160\x69\x64"]; goto GdMqt; kFTAE: $prize["\x64\145\x73\143\x72\151\160\x74\x69\157\x6e"] = str_replace("\46\x6e\142\163\x70\x3b", '', $prize["\x64\x65\x73\x63\x72\151\160\164\151\x6f\x6e"]); goto ZvgFg; vo6x_: ose2t: goto PuP0t; Cb8SL: if (!empty($prize)) { goto pTK0S; } goto rWkTd; adyQt: bF_ak: goto yz_Zb; TIfW7: $orderid = $prize->unifiedOrder($this->member["\151\144"], $money); goto o52_D; LC6xq: if ($prize["\x74\x79\160\145"] == 1) { goto XTuV7; } goto mRDfT; aJJs5: $prize["\143\x6f\x6e\x64\146\x6c\145\x78\137\x69\156\x66\x6f"] = "\350\xbe\276\xe5\x88\260" . $prize["\x74\x79\x70\x65\x76\141\154\x75\145"] . "\344\xba\xba\346\x97\266\xe5\274\x80\xe5\245\226"; goto k7H3K; e7Fcp: $paydata = $this->pay($order); goto Lgpba; kLCkb: $prize["\x61\x74\x74\141\x63\x68\137\151\x64\x5f\x75\x72\154"] = $this->getImage($prize["\x61\164\164\x61\143\x68\137\x69\x64"]); goto VIxXM; dacuT: goto ZITnV; goto j0Ecq; UpmxV: $prize["\x61\x70\x70\137\156\141\155\145"] = $cj_jump_program["\141\160\160\137\156\x61\x6d\145"]; goto CxKRH; o4psG: pdo_insert(prefix_table("\x63\x6a\x5f\x6a\165\x6d\x70\x5f\x70\162\157\147\162\x61\155"), $data); goto dmER4; d5CJJ: sleep(2); goto tKv9X; ghWIy: $money = $pay_function; goto Pr1Cs; tKv9X: $member = pdo_get(prefix_table("\x63\x6a\x5f\155\x65\x6d\142\145\162"), ["\x69\x64" => $this->member["\x69\x64"]]); goto v4DOr; mPHXG: if (!($prize["\144\x65\163\x63\137\x74\x79\160\145"] == 1 && $prize["\144\145\163\143\x72\x69\160\164\151\x6f\x6e"])) { goto CFFc5; } goto kFTAE; N7I7I: TWdlg: goto SYpGN; wLrHn: $xcx = $xcx ? $xcx["\x76\141\x6c\x75\x65"] : ''; goto AdANc; M5sZg: goto GBkDq; goto KUJSK; o52_D: $xcx = pdo_get(prefix_table("\x63\x6a\x5f\x63\157\x6e\146\151\x67"), ["\153\x65\171" => "\164\151\164\x6c\x65"]); goto wLrHn; BI9Nx: uBAu8: goto kN0in; bF_Dn: if (!$prize["\141\x74\x74\141\143\150\137\151\x64"]) { goto Ljmco; } goto kLCkb; YVuSs: foreach (array("\x66\151\162", "\x73\145\143", "\164\162\x64") as $award) { goto URXOL; Rrhv8: $prize[$award . "\137\x69\156\146\157"] = $prize[$award . "\x5f\143\x6e\x61\x6d\x65"] . "\x20\170\x20" . $prize[$award . "\137\156\x75\x6d"]; goto gBjYu; RzwSY: i6j2T: goto tc8nC; X_xGU: oW6su: goto pKwB2; VCun_: CBeN1: goto W4O0O; eoIZ0: goto T4K4v; goto X_xGU; URXOL: if (!$prize[$award . "\137\166\x61\154"]) { goto tXZTL; } goto J_pL9; zwUWv: goto CYAuX; goto VCun_; pKwB2: $prize[$award . "\x5f\151\x6e\146\x6f"] = "\xe7\272\xa2\xe5\x8c\x85\xef\xbf\245" . $prize[$award . "\137\166\141\154"] . "\x20\170\x20" . $prize[$award . "\x5f\x6e\x75\x6d"]; goto b366r; zsBnn: tXZTL: goto RzwSY; TST24: if ($prize[$award . "\x5f\160\164\171\x70\x65"] == 1) { goto oW6su; } goto yEOQ_; W4O0O: $prize[$award . "\x5f\151\x6e\x66\x6f"] = $prize[$award . "\137\x63\x6e\141\155\x65"] . "\x20\170\40" . $prize[$award . "\137\x6e\x75\x6d"]; goto EKC3M; gBjYu: q7Ldb: goto eoIZ0; EKC3M: CYAuX: goto zsBnn; b366r: T4K4v: goto zwUWv; J_pL9: if ($prize[$award . "\137\x70\x74\171\160\x65"] == 0) { goto CBeN1; } goto TST24; yEOQ_: if (!($prize[$award . "\x5f\x70\x74\171\160\145"] == 3)) { goto q7Ldb; } goto Rrhv8; tc8nC: } goto P0NFo; nZyoO: if ($cj_jump_program) { goto LSqWo; } goto HipIo; n8voR: $pay_function = $pay_function ? $pay_function["\166\x61\154\165\145"] : 5; goto ghWIy; AdANc: $order = array("\x74\151\x64" => $orderid, "\x66\145\145" => floatval($money), "\164\x69\164\x6c\145" => $xcx . "\xe7\x9a\x84\xe8\256\242\345\x8d\225"); goto FgeNr; PuP0t: $res = $prize->change($this->member["\151\144"], $money, 5); goto VV3fQ; yEUCI: goto DdvNS; goto BU2LV; zY_hT: $data = ["\x61\x70\x70\x69\x64" => $this->get("\x61\160\160\x69\144"), "\x70\141\x74\150" => $this->get("\x70\x61\164\x68"), "\x65\170\164\x72\141\x44\141\x74\141" => $this->get("\145\170\x74\162\141\104\141\x74\141"), "\141\160\x70\x5f\x6e\141\155\145" => $this->get("\x61\160\160\x6e\x61\155\145")]; goto TsMV0; G2myu: $id = $this->get("\x69\x64"); goto h6sK0; DbqKR: if ($cj_jump_program) { goto mi0mD; } goto CDqv0; u6RfQ: $prize["\162\x65\143\157\155\155\x65\x6e\x64"] = false; goto Xz3Nx; Pr1Cs: if (!($money > 0 && !$this->get("\151\x6e\x73\145\x72\x74\137\162\x65\x63\137\151\x64"))) { goto LrSKA; } goto d5CJJ; tBV5r: $description = str_replace("\74\x2f\x70\x3e", "\x3c\x62\162\76", $description); goto PxhcP; AsT34: $type = $types[$type]; goto t6HB3; ZJ0wJ: $prize["\143\157\160\x79\157\x72\x6a\x75\155\x70"] = 2; goto AxXPZ; QppsI: GBkDq: goto XkNh3; v4DOr: if (!($member["\155\157\x6e\x65\171"] < $money)) { goto ose2t; } goto TIfW7; gbNcT: Gaesz: goto WcTu8; StAS3: $prize["\143\157\x6e\x74\x61\x63\164"] = $rec_data_arr["\x63\157\156\x74\x61\143\x74"]; goto oAw38; rWkTd: json("\350\257\245\346\x8a\275\345\245\226\344\270\x8d\xe5\xad\x98\xe5\234\xa8", 0); goto Vzc8m; U96ly: $types = ["\x70\145\157\160\x6c\x65" => 2, "\x74\x69\155\145" => 1, "\155\141\x6e\x75\x61\x6c" => 3]; goto AsT34; XyFyq: goto TWdlg; goto YUWXA; YUWXA: tXZ3o: goto bF_Dn; G0ira: jd8_b: goto v08do; On32a: foreach ($description as $item) { goto mEitc; mEitc: $item = (int) $item; goto UKFbS; HS_5Y: $prize["\151\155\x67\163"][] = $this->getImage($item); goto QLDQh; NYpXt: goto EK_jG; goto cOgJb; QLDQh: EK_jG: goto Ce_am; UKFbS: if ($item) { goto WlmIT; } goto NYpXt; cOgJb: WlmIT: goto HS_5Y; Ce_am: } goto eDwpV; XkNh3: json($prize); goto N7I7I; h6sK0: if (is_numeric($id)) { goto jd8_b; } goto F6DRa; oAw38: N6QGV: goto LC6xq; VV3fQ: if (!($res == false)) { goto e3ej9; } goto j9z5Q; Xz3Nx: goto N6QGV; goto gbNcT; k7H3K: ZITnV: goto M5sZg; HipIo: $prize["\x63\x6f\x70\x79\x6f\162\x6a\165\155\160"] = 1; goto yEUCI; qhTIK: e3ej9: goto gBgkI; dZnOT: $rec_data_arr = pdo_get(prefix_table("\143\152\137\150\x6f\x6d\145\x5f\x72\x65\143\157\155\x6d\145\x6e\x64"), ["\151\144" => $prize["\162\145\x63\x6f\155\155\145\156\x64\137\x69\144"]]); goto StAS3; rMBLq: $prize["\145\170\x74\162\x61\x44\x61\164\141"] = $cj_jump_program["\x65\x78\x74\x72\x61\104\141\x74\x61"]; goto UpmxV; F6DRa: json("\345\x8f\x82\xe6\225\xb0\351\x94\231\xe8\257\xaf", 0); goto G0ira; ZvgFg: $description = explode("\54", $prize["\x64\145\163\143\x72\x69\x70\x74\x69\157\x6e"]); goto De0J6; nIZRU: $prize["\x64\145\163\143\162\151\160\x74\151\x6f\156"] = strip_tags($description, "\74\x69\155\x67\76\x3c\142\162\76"); goto BI9Nx; P0NFo: i9_De: goto LVrOM; IF9Qr: Xyynu: goto adyQt; k9oJr: try { goto plHWM; plHWM: $update_arr = array("\164\151\x74\154\145" => $this->get("\141\x63\x74\x74\151\164\x6c\145"), "\x77\x65\x63\x68\141\164\x5f\156\x6f" => $this->get("\167\145\143\150\x61\164\137\156\157"), "\167\x65\143\x68\141\x74\137\164\151\x74\154\145" => $this->get("\167\145\x63\x68\x61\164\x5f\x74\151\164\x6c\x65"), "\x64\x65\x73\x63\x72\151\160\x74\x69\x6f\x6e" => $this->get("\144\145\x73\x63\162\x69\160\x74\151\x6f\156"), "\165\x6e\141\x6d\145" => $this->get("\165\x6e\x61\155\x65"), "\162\x65\143\x6f\155\x6d\x65\156\x64\x5f\151\x64" => $this->get("\151\x6e\163\145\162\164\137\162\145\x63\x5f\x69\x64"), "\x64\145\x73\143\137\164\x79\x70\145" => $this->get("\144\145\x73\143\x5f\x74\x79\160\x65")); goto DLM6a; hPI2E: if (!($update_arr["\162\x65\143\157\155\x6d\x65\156\x64\137\x69\x64"] && $contact)) { goto q2e8Z; } goto cl9Kn; bJRiq: q2e8Z: goto qyhoQ; DLM6a: if (!$this->get("\x61\164\x74\141\x63\150\x5f\151\x64")) { goto X0cSk; } goto ARP5k; qOYvZ: X0cSk: goto HN4U2; ARP5k: $update_arr["\x61\164\164\141\143\x68\x5f\151\144"] = $this->get("\141\164\x74\x61\143\150\137\x69\x64"); goto qOYvZ; HN4U2: pdo_update(prefix_table("\143\x6a\137\x70\162\x69\172\145"), $update_arr, ["\x69\x64" => $id]); goto kUV2i; cl9Kn: pdo_update(prefix_table("\143\152\x5f\150\x6f\x6d\145\137\162\145\143\x6f\155\155\x65\x6e\x64"), array("\143\x6f\156\164\x61\143\x74" => $contact), ["\x69\x64" => $update_arr["\x72\145\143\157\x6d\x6d\145\x6e\x64\137\x69\144"]]); goto bJRiq; qyhoQ: pdo_commit(); goto V2dWU; V2dWU: json($id); goto t_s3B; kUV2i: $contact = $this->get("\143\157\156\x74\141\x63\164"); goto hPI2E; t_s3B: } catch (Exception $e) { pdo_rollback(); json($e->getMessage(), 0); } goto XyFyq; AEaNh: FKLWG: goto dacuT; mRDfT: if ($prize["\164\x79\x70\145"] == 2) { goto h1IzG; } goto JHDTY; v08do: $prize = pdo_get(prefix_table("\143\152\x5f\x70\x72\x69\x7a\145"), ["\151\144" => $id]); goto Cb8SL; j9z5Q: json("\xe5\xa5\226\xe5\223\201\345\217\221\345\xb8\x83\345\xa4\xb1\xe8\xb4\xa5", 0); goto qhTIK; yz_Zb: pdo_begin(); goto k9oJr; FxCjS: CFFc5: goto E2AE1; kN0in: $cj_jump_program = pdo_get(prefix_table("\x63\x6a\x5f\x6a\165\155\160\x5f\160\162\157\x67\162\x61\x6d"), ["\160\162\151\172\x65\x5f\151\x64" => $id]); goto nZyoO; GdMqt: $prize["\x70\x61\164\x68"] = $cj_jump_program["\x70\141\x74\x68"]; goto rMBLq; K7q25: $prize["\x63\x6f\156\144\x66\x6c\x65\170\x5f\x69\156\146\157"] = "\xe8\207\252\345\xb7\xb1\346\x89\x8b\xe5\x8a\xa8\345\xbc\x80\xe5\245\x96"; goto AEaNh; afCvE: $description = htmlspecialchars_decode($prize["\144\145\163\143\162\x69\x70\x74\x69\157\x6e"]); goto tBV5r; Qo9nL: $data = ["\160\x72\151\x7a\x65\137\x69\x64" => $id, "\x61\160\160\151\x64" => $this->get("\x61\x70\x70\151\x64"), "\x70\141\x74\x68" => $this->get("\x70\x61\x74\150"), "\145\170\x74\x72\141\104\141\x74\141" => $this->get("\x65\170\164\x72\141\104\141\x74\x61"), "\x61\160\x70\137\156\141\x6d\145" => $this->get("\141\x70\160\156\141\x6d\145")]; goto o4psG; KUJSK: XTuV7: goto aNEGk; E2AE1: goto uBAu8; goto bb2Fz; TsMV0: pdo_update(prefix_table("\x63\152\137\152\x75\x6d\x70\137\x70\162\157\147\162\x61\155"), $data, ["\x70\162\x69\x7a\x65\137\x69\x64" => $id]); goto IF9Qr; CDqv0: $pay_function = pdo_get(prefix_table("\143\x6a\137\x63\x6f\x6e\x66\x69\x67"), ["\x6b\x65\171" => "\x70\141\x79\x5f\146\x75\x6e\143\164\151\x6f\156"]); goto n8voR; aNEGk: $prize["\143\x6f\156\x64\x66\154\145\x78\137\151\x6e\x66\157"] = date("\x59\x2d\155\55\144\40\110\x3a\151", $prize["\x74\x79\160\145\x76\141\154\165\145"]) . "\40\345\xbc\200\xe5\245\226"; goto QppsI; COcXT: $description = str_replace("\xa", "\74\142\162\x3e", $description); goto nIZRU; Vzc8m: pTK0S: goto tkL_o; TM8P1: $type = $this->get("\x74\171\x70\145", "\160\145\157\160\154\x65"); goto U96ly; Lgpba: if (!is_error($paydata)) { goto da92v; } goto XLalE; bgL2_: $_W["\x6d\x65\x6d\x62\x65\x72"]["\x75\151\144"] = $this->member["\x69\144"]; goto e7Fcp; kCW_o: $cj_jump_program = pdo_get(prefix_table("\143\152\137\x6a\165\x6d\x70\x5f\160\x72\157\147\x72\x61\x6d"), ["\160\162\151\x7a\145\x5f\x69\144" => $id]); goto DbqKR; BU2LV: LSqWo: goto ZJ0wJ; XLalE: json($paydata["\x6d\145\x73\x73\x61\x67\x65"], 0); goto Mg6wL; WcTu8: $prize["\x72\145\x63\x6f\x6d\x6d\145\x6e\x64"] = true; goto dZnOT; VIxXM: Ljmco: goto YVuSs; t6HB3: $isjump = $this->get("\x69\x73\x6a\165\155\160"); goto cFmtg; bb2Fz: rvfrj: goto afCvE; eDwpV: s8LrZ: goto FxCjS; SYpGN: } public function doPageDetails() { goto c2fjH; K6PCi: $prize["\x76\151\x64\x65\157\x5f\x73\x65\143"] = 0; goto w0EYs; paPCa: $prize["\x61\160\x70\x6c\171"] = $apply; goto OR7fJ; hckHg: Y71u6: goto QlhzM; XdHcR: $description = str_replace("\74\x2f\160\76", "\x3c\142\x72\76", $description); goto CxGPo; w5MHA: $t_order = tablename(prefix_table("\x63\152\x5f\x6f\x72\x64\x65\162")); goto pMaTq; hj4fA: goto Y71u6; goto dZezA; bZpu7: $my_in_prize = []; goto Y33Wg; aaMu_: $prize["\x64\x65\x73\x63\x72\x69\x70\x74\151\157\156"] = str_replace("\x26\156\x62\x73\x70\x3b", '', $prize["\x64\x65\x73\143\x72\x69\x70\x74\x69\157\x6e"]); goto jG4VC; cDVC8: $apply = []; goto aVI35; YvFqd: $need_province = $prize["\157\x6e\x6c\x79\137\x70"]; goto pI0cH; M07Jk: $prize["\151\x6e\x5f\x70\162\x69\172\145\137\x73\157\162\164"] = $in_prize_sort; goto Oza8b; TCa8K: $prize["\147\162\157\165\x70"] = $group; goto W_bZC; HAJwo: $prize["\166\151\x64\145\x6f\137\163\162\143"] = tomedia($prize["\166\x69\x64\x65\x6f\137\x73\162\143"]); goto hckHg; d9oO3: $people = $people < $robot_num ? $people : $robot_num; goto R9X_Z; WMDmW: wMbR6: goto d9oO3; Eh3V2: goto zuidr; goto j32bv; t02bh: if (!($my_apply && $prize["\x6d\141\170\x5f\x67\162\157\165\x70\x5f\156\165\x6d"] > 0)) { goto tl5lR; } goto hOUEq; gFNVc: $get_prize_member = pdo_fetchall($sql); goto uJQ_l; dsxJi: $prize["\x6d\x69\x6e\146\x6f"] = pdo_get(prefix_table("\x63\152\137\155\x65\x6d\x62\x65\x72"), ["\151\144" => $prize["\155\145\x6d\x62\x65\x72\137\151\x64"]]); goto ndaPw; AMyCA: if ($is_robot_max) { goto n9xvE; } goto rlJcQ; vg7ag: $sql = "\x53\x45\114\x45\x43\124\x20\x41\x2e\165\163\x65\x72\x5f\151\x6d\x67\x2c\x41\x2e\156\151\143\153\156\141\155\x65\40\x46\x52\117\x4d\x20{$t_member}\40\101\x53\x20\x41\40\x4c\105\x46\x54\40\x4a\117\111\x4e\x20{$t_order}\x20\x41\x53\x20\102\40\117\x4e\40\101\x2e\151\x64\75\102\x2e\155\x65\155\x62\x65\162\137\151\144\40\127\110\105\x52\105\40\102\x2e\x67\162\x6f\165\x70\137\x6a\157\x69\x6e\137\151\144\x3d{$group["\x69\144"]}"; goto djzQa; rqAy2: $prize["\x6d\171\x5f\151\x6e\137\x70\162\x69\172\x65"] = $my_in_prize; goto uBwoj; Jz2JR: goto DZKLn; goto QmrNB; XwyCz: $prize["\166\151\x64\145\x6f\x5f\163\162\143"] = ''; goto kyikn; smEHz: foreach ($description as $item) { goto kObCF; DHFVb: Oit4r: goto dQIOw; Z3x4g: goto e4Z9k; goto DHFVb; X_908: e4Z9k: goto KPl9v; kObCF: $item = (int) $item; goto i4Jtw; dQIOw: $prize["\144\x65\x73\143\x72\151\160\164\x69\157\x6e"][] = $this->getImage($item); goto X_908; i4Jtw: if ($item) { goto Oit4r; } goto Z3x4g; KPl9v: } goto uLoIR; abjW3: if (!($prize["\163\x74\141\x74\x75\x73"] == 1 && $prize["\151\x73\137\143\141\156\143\x65\x6c"] == 0)) { goto dACIr; } goto ChPCr; reAFA: $my_apply = pdo_get(prefix_table("\x63\152\137\157\x72\144\145\162"), ["\x6d\145\155\x62\x65\162\137\x69\x64" => $this->member["\x69\144"], "\160\162\151\x7a\x65\x5f\x69\144" => $id]); goto S8iux; pCcjI: if (is_numeric($id)) { goto r9iSS; } goto zAfep; cm3Pq: $getname = function ($type) use(&$prize) { if (!($prize[$type . "\137\156\165\155"] < 1)) { goto jsrxl; } return ''; jsrxl: if (!($prize[$type . "\137\160\x74\x79\x70\x65"] > 1)) { goto GEk1J; } return $prize[$type . "\x5f\x63\x6e\x61\155\x65"]; GEk1J: return $prize[$type . "\x5f\x70\x74\171\160\145"] == 0 ? $prize[$type . "\x5f\x76\141\154"] : "\xe7\xba\xa2\345\x8c\205" . $prize["\x66\151\162\x5f\x76\x61\154"] . "\xef\277\xa5"; }; goto fLadS; WioQZ: $apply = pdo_fetchall($sql); goto kDpCD; JulCo: $prize["\155\145\155\x62\x65\x72"] = $this->member; goto M07Jk; o1Nup: $sql = "\x53\105\x4c\x45\x43\124\40\101\x2e\165\163\145\x72\137\x69\155\x67\x2c\x41\56\x6e\x69\143\x6b\156\x61\x6d\x65\x20\x46\122\117\x4d\40{$t_member}\x20\x41\123\40\101\40\114\105\x46\x54\x20\x4a\117\111\x4e\x20{$t_order}\40\x41\x53\40\x42\40\117\116\40\x41\x2e\x69\x64\x3d\x42\x2e\155\145\x6d\142\145\x72\137\151\x64\x20\x57\110\105\122\x45\40\102\56\147\162\157\x75\160\137\152\x6f\151\x6e\x5f\151\x64\x3d{$group["\x69\144"]}"; goto dxv2C; dxv2C: $group["\x61\x70\160\x6c\171"] = pdo_fetchall($sql); goto dbdsH; Y0Xmx: $robot = pdo_get(prefix_table("\x63\152\x5f\x63\x6f\156\x66\151\x67"), ["\153\x65\x79" => "\x72\157\x62\x6f\x74"]); goto MzOUS; z8Aon: QyGHL: goto NlJGr; ZEJw_: dXIgH: goto YvFqd; uLoIR: Gj0g6: goto z8Aon; oUzcW: $member_data = $this->member; goto tpCvA; qh4Ba: $prize["\x69\163\137\155\151\x6e\x65"] = $this->member["\151\x64"] == $prize["\155\145\x6d\142\x65\162\137\151\x64"] ? 1 : 0; goto B2f0A; qFG_w: $group = pdo_get(prefix_table("\x63\152\x5f\147\162\x6f\165\160\137\152\157\151\156"), ["\x69\x64" => $group_code, "\x70\162\151\x7a\x65\137\151\x64" => $id]); goto Te0PN; kDpCD: foreach ($apply as &$apply_row) { $apply_row["\x63\157\x64\x65\137\156\x75\155"] = $apply_row["\x63\x6f\144\x65\137\x6e\x75\155"] ? $apply_row["\x63\x6f\144\x65\137\x6e\x75\x6d"] : 1; gJ3OQ: } goto ZB48y; pI0cH: $need_city = $prize["\x6f\156\x6c\171\x5f\x63"]; goto KpAts; MzOUS: $robot_m = pdo_get(prefix_table("\143\152\x5f\143\157\156\146\x69\147"), ["\x6b\x65\x79" => "\x72\x6f\x62\157\x74\137\x6d"]); goto sJ_Z9; U9sTH: $prize["\x76\x69\x64\145\x6f\x5f\163\x65\x63"] = 0; goto XwyCz; s9pbD: json("\350\xaf\245\xe6\212\xbd\xe5\xa5\226\xe4\xb8\x8d\345\xad\x98\xe5\x9c\xa8", 0); goto ZEJw_; SVrCt: $where .= "\x20\x4f\122\x20\50\x41\x2e\x69\x73\137\162\x6f\142\157\164\x3d\x31\40\x61\x6e\144\x20\50\x42\56\160\x72\151\172\145\x5f\151\144\x3d{$id}\x20\157\x72\40\102\x2e\160\162\x69\172\145\137\x69\x64\x20\x69\163\40\x6e\x75\154\x6c\51\x29"; goto SIQoD; w0EYs: $prize["\x76\151\x64\145\157\137\x73\x72\143"] = ''; goto hj4fA; NUnXL: $prize["\155\x69\x6e\146\x6f"] = ["\x6e\151\143\x6b\156\141\x6d\x65" => "\xe7\263\xbb\347\273\237"]; goto dDOtb; uYo80: $where = "\x42\56\x70\162\x69\x7a\145\137\151\x64\x3d{$id}"; goto J3pnd; uBwoj: $prize["\x69\x73\x5f\x77\x69\x6e\x6e\151\x6e\147"] = $my_in_prize ? 1 : 0; goto qh4Ba; NSjMv: $sql = "\x53\x45\114\105\x43\x54\x20\x41\56\165\163\145\162\x5f\x69\x6d\147\x2c\x42\x2e\143\x6f\x64\145\137\x6e\x75\x6d\x20\106\x52\x4f\x4d\x20{$t_member}\40\x41\x53\40\101\x20" . "\114\x45\106\x54\40\x4a\x4f\x49\116\40{$t_order}\40\x41\x53\40\x42\x20\x4f\116\40\x41\x2e\x69\144\x3d\102\x2e\x6d\x65\155\x62\145\x72\137\x69\x64\x20" . "\x57\110\105\122\105\40{$where}\x20\117\x52\x44\105\x52\x20\102\131\x20\x42\x2e\143\157\144\145\x5f\x6e\x75\x6d\x20\104\105\x53\x43\x2c\x42\x2e\x6f\x72\x64\145\162\x5f\151\144\x20\104\x45\123\103\x2c\x41\56\151\163\x5f\162\157\x62\x6f\164\40\101\123\103\x2c\101\x2e\x69\x64\x20\x4c\x49\115\111\x54\x20{$l}"; goto Eh3V2; djzQa: $group["\x61\160\160\x6c\171"] = pdo_fetchall($sql); goto aXaso; laeOu: $prize["\163\150\x61\162\x65\137\163\x75\142\137\x75\x72\154"] = $prize["\x69\x6d\x67\x75\162\x6c"]; goto JulCo; dxXdb: $prize["\144\x65\x73\143\162\151\x70\164\151\157\156"] = strip_tags($description, "\x3c\151\x6d\x67\x3e\74\x62\162\x3e"); goto IrkQS; QpPTZ: $description = htmlspecialchars_decode($prize["\144\145\163\x63\x72\x69\160\164\x69\157\x6e"]); goto XdHcR; dbdsH: aD6x3: goto R7V7H; czH_v: H1ANd: goto qO9Fn; qDYC8: $prize["\x6a\165\155\160\137\x69\x6e\146\x6f"] = pdo_get(prefix_table("\x63\x6a\x5f\x6a\165\155\x70\137\x70\x72\157\147\x72\x61\x6d"), ["\x70\x72\151\172\145\x5f\151\144" => $id]); goto reAFA; KBaS3: zuidr: goto keaRN; aaw5f: $prize = pdo_get(prefix_table("\143\152\137\160\162\151\172\x65"), ["\151\144" => $id]); goto g5tyx; pWzwr: uGMz1: goto GgS8V; nG7c2: $robot_num = $is_robot_max; goto WMDmW; DILib: $prize["\x69\x6d\147\x75\x72\154"] = $this->getImage($prize["\x61\164\164\141\x63\150\137\x69\x64"]); goto XKmzL; eHQD7: $l = $prize["\x61\x70\160\154\x79\137\156\165\x6d"] > 6 ? 6 : $prize["\x61\x70\x70\154\x79\137\x6e\165\x6d"]; goto dypL4; ZzIs9: $prize["\x62\165\171\137\154\x61\x62\145\x6c"] = mb_substr($prize["\x62\x75\171\137\x6c\141\142\145\x6c"], 0, 4, "\165\x74\x66\55\70"); goto myN3z; kgTgE: r9iSS: goto aaw5f; ChPCr: $in_prize = pdo_getall(prefix_table("\143\x6a\x5f\x70\x72\x69\x7a\x65\137\x72\x65\x73\165\154\164"), ["\x70\162\151\172\145\x5f\151\x64" => $id], [], '', ["\x74\x79\x70\x65\40\101\x53\103"]); goto CxhQC; jG4VC: $description = explode("\x2c", $prize["\x64\x65\x73\143\162\151\160\x74\151\x6f\x6e"]); goto gqFN_; frbkF: $is_robot_m = $robot_m ? $robot_m["\166\x61\154\x75\x65"] : 0; goto m9rJq; IrkQS: yEzld: goto w5MHA; rlJcQ: $people = floor(($time - $prize["\143\x72\x65\141\164\145\144"]) / 60 * 10); goto P7Iee; G9Pjv: $group_code = $this->get("\147\162\x6f\165\x70\137\143\157\144\145"); goto fHjwq; fHjwq: if (!(empty($my_apply) && $group_code && $prize["\155\141\170\137\147\x72\157\165\x70\137\156\x75\x6d"] > 0)) { goto pEzXk; } goto qFG_w; Te0PN: if (empty($group)) { goto aD6x3; } goto o1Nup; GHWLq: json("\346\202\xa8\xe6\x89\200\345\234\250\xe5\x8c\272\345\237\237\344\270\215\345\205\x81\350\256\xb8\345\217\x82\xe5\x8a\xa0\346\264\xbb\xe5\x8a\250\xef\xbc\x81", 101); goto GerTY; uJQ_l: $prize["\143\x6f\x64\145"] = $get_prize_member; goto paPCa; tpCvA: if ($member_data["\x70\162\x6f\x76\x69\x6e\x63\145"] == $need_province || $member_data["\160\162\x6f\x76\x69\x6e\x63\x65"] . "\xe7\234\x81" == $need_province || $member_data["\x70\x72\x6f\166\x69\x6e\x63\x65"] . "\345\xb8\x82" == $need_province) { goto H1ANd; } goto fug1a; oWqHn: $prize["\x6d\x79\137\x70\x72\151\172\145"] = $my_prize; goto TCa8K; P7Iee: $robot_num = pdo_fetchcolumn("\x53\x45\x4c\105\103\x54\x20\x43\x4f\x55\x4e\124\x28\x2a\x29\x20\106\122\117\115\40" . tablename(prefix_table("\x63\152\x5f\x6d\145\x6d\x62\145\162")) . "\40\127\110\105\122\105\x20\151\x73\137\162\157\142\157\x74\75\61"); goto VXRgd; GgS8V: nUqO_: goto DILib; pEf7p: goto fQgfp; goto uRiIN; n7lB0: $time = time(); goto dKCzt; lJvka: VXylx: goto ALZsV; Y33Wg: $in_prize = []; goto cm3Pq; Xnh8q: $prize["\150\157\165\162\x73\x5f\157\x66\137\x65\x6e\x64\x5f\x73\x69\147\156"] = 1; goto lJvka; QC43_: $time = time(); goto Jz2JR; j32bv: IPRuR: goto TuB01; hOUEq: $group = pdo_get(prefix_table("\143\x6a\137\147\162\x6f\165\x70\x5f\152\x6f\151\156"), ["\x6d\145\155\142\x65\162\137\x69\144" => $this->member["\x69\x64"], "\x70\162\151\172\x65\137\151\x64" => $id]); goto vg7ag; o5CG0: $need_city = $cfg_only_c["\166\141\x6c\x75\x65"]; goto JmUlU; JBjD8: if (!($bf_hours > 0 && date("\131\55\155\55\144\x20\110\x3a\151\x3a\163", strtotime("\x2b" . $bf_hours . "\x20\150\157\165\162")) >= date("\131\x2d\x6d\x2d\x64\40\110\x3a\x69\72\163", $prize["\164\x79\x70\145\166\x61\x6c\165\x65"]))) { goto VXylx; } goto Xnh8q; uhjip: if (!$need_province) { goto yidoE; } goto oUzcW; S8iux: $my_prize = pdo_get(prefix_table("\143\x6a\137\x70\162\151\172\145\137\162\x65\x73\x75\154\164"), ["\160\x72\x69\x7a\145\137\x69\144" => $id, "\155\145\x6d\x62\145\x72\x5f\x69\144" => $this->member["\151\x64"]]); goto bZpu7; dZezA: iH5_p: goto HAJwo; eBgJL: $description = str_replace("\12", "\74\x62\x72\x3e", $description); goto dxXdb; B2f0A: $prize["\x69\163\137\142\x75\x79"] = $my_apply ? 1 : 0; goto laeOu; ciiFj: Fh268: goto dsxJi; PdX9x: $cfg_only_p = pdo_get(prefix_table("\143\x6a\137\x63\157\x6e\x66\x69\147"), ["\x6b\x65\171" => "\143\x66\147\137\x6f\x6e\154\171\137\160"]); goto o0fpJ; SjzPC: $people = (int) $people; goto nG7c2; gqFN_: $prize["\144\145\163\143\x72\151\x70\164\x69\x6f\x6e"] = []; goto smEHz; RLg59: $is_robot = $robot ? $robot["\x76\x61\154\165\145"] : 0; goto frbkF; XS00D: $prize["\x76\x69\144\x65\x6f\x5f\163\150\x6f\x77\x5f\164\151\155\x65"] = $prize["\x76\x69\x64\x65\x6f\x5f\163\x68\157\x77\137\x74\x69\155\x65"] == 1 ? true : false; goto DL_sY; ayWGx: if ($prize["\x76\151\144\145\x6f\137\163\x65\143"] && $prize["\x76\151\144\x65\157\137\163\x72\143"]) { goto iH5_p; } goto K6PCi; QmrNB: Be0Pa: goto n7lB0; VevYw: $robot_rand = pdo_get(prefix_table("\x63\x6a\x5f\143\157\156\146\151\x67"), ["\153\145\x79" => "\x72\157\142\157\x74\137\x72\141\x6e\x64"]); goto rpWpK; kvBJe: dACIr: goto JPnAs; zAfep: json("\xe5\217\202\xe6\x95\xb0\xe9\224\231\xe8\257\xaf", 0); goto kgTgE; m9rJq: if (!($is_robot && ($prize["\x69\163\x5f\147\x6c\157\x62\141\154"] == 0 && $prize["\151\163\137\x72\157\142\157\x74"] == 1 || $is_robot_m && $prize["\151\163\137\147\154\157\x62\x61\154"] == 1 && $prize["\x69\x73\x5f\x72\x6f\142\157\x74"] == 1))) { goto tegvy; } goto BdUZj; TuB01: $cj_prize_member = tablename(prefix_table("\x63\x6a\x5f\160\162\x69\x7a\145\x5f\x6d\x65\155\142\x65\162")); goto MaZDU; pMaTq: $t_member = tablename(prefix_table("\143\x6a\137\x6d\x65\155\x62\x65\162")); goto Y0Xmx; dKCzt: $hours_of_end_sign = pdo_get(prefix_table("\143\152\137\x63\x6f\156\146\x69\147"), ["\153\x65\x79" => "\150\x6f\x75\162\163\x5f\157\146\x5f\145\x6e\x64\x5f\x73\151\147\x6e"]); goto qtf87; uRiIN: ltwgm: goto U9sTH; qO9Fn: rcmfn: goto pKRvK; BdUZj: if ($prize["\x74\x79\160\x65"] == 1) { goto Be0Pa; } goto QC43_; fug1a: json("\346\202\250\xe6\211\x80\xe5\x9c\xa8\345\214\xba\345\x9f\x9f\344\270\x8d\xe5\x85\201\xe8\xae\xb8\345\x8f\x82\345\212\240\xe6\xb4\xbb\xe5\212\250\xef\274\x81", 101); goto vBH1S; kyikn: fQgfp: goto XS00D; EGGf1: if (!($prize["\166\x69\x64\145\157\x5f\164\x79\160\x65"] == 3)) { goto u0StB; } goto ayWGx; o0fpJ: $cfg_only_c = pdo_get(prefix_table("\143\x6a\x5f\143\x6f\x6e\x66\x69\147"), ["\x6b\x65\x79" => "\143\x66\x67\x5f\x6f\156\x6c\171\137\143"]); goto awCl6; HGJZn: $sql = "\x53\x45\114\x45\x43\124\40\x41\56\165\163\145\162\137\x69\155\147\x2c\x42\x2e\x63\157\144\x65\x5f\156\x75\x6d\40\x46\122\x4f\x4d\x20{$t_member}\40\101\123\40\101\40\114\x45\106\x54\x20\112\117\111\116\40{$t_order}\40\101\123\x20\102\40\117\x4e\40\101\56\151\144\x3d\x42\56\155\145\155\x62\145\162\137\151\x64\40\127\x48\105\122\x45\x20{$where}\40\x4f\x52\x44\105\122\x20\x42\131\40\102\56\x63\x6f\144\145\137\156\165\155\x20\x44\105\x53\x43\x2c\x41\x2e\x69\163\137\162\x6f\x62\x6f\164\x20\101\x53\x43\54\x41\56\x69\x64\40\114\111\x4d\x49\124\x20{$l}"; goto XWm1F; NGySk: n9xvE: goto BmCd7; STpg3: $prize["\x74\171\x70\145\166\x61\x6c\x75\x65"] = date("\x59\x2d\155\55\144\x20\x48\72\x69\72\163", $prize["\164\171\160\x65\166\141\154\165\x65"]); goto NZQsc; R7V7H: pEzXk: goto aIHFY; myN3z: if ($prize["\166\151\144\x65\157\137\164\x79\x70\x65"] == 1 || $prize["\166\x69\x64\145\x6f\137\x74\x79\x70\x65"] == 2) { goto ltwgm; } goto EGGf1; ndaPw: K5LB2: goto LsnGd; XWm1F: e9Uup: goto WioQZ; JPnAs: $prize["\155\x61\x78\137\147\162\x6f\x75\x70\x5f\x6e\165\155"] = 0; goto yl8jf; dDOtb: goto K5LB2; goto ciiFj; awCl6: $need_province = $cfg_only_p["\166\x61\154\165\x65"]; goto o5CG0; SIQoD: JWrLZ: goto HGJZn; GerTY: goto uGMz1; goto blqJY; YISj6: tegvy: goto cDVC8; blqJY: trWGH: goto pWzwr; Oza8b: if (!($prize["\x74\171\x70\x65"] == 1)) { goto Btqfi; } goto STpg3; CAgtW: f125j: goto qDYC8; aXaso: tl5lR: goto G9Pjv; yl8jf: $group = []; goto t02bh; g5tyx: if (!empty($prize)) { goto dXIgH; } goto s9pbD; JmUlU: q8vrI: goto uhjip; MaZDU: $sql = "\x53\105\x4c\105\103\124\x20\x42\x2e\165\x73\x65\x72\x5f\151\x6d\x67\54\x4f\56\x63\157\144\x65\137\156\x75\x6d\40\x46\x52\x4f\x4d\40{$cj_prize_member}\x20\101\x53\40\101\40" . "\x4c\x45\x46\x54\40\x4a\x4f\111\x4e\40{$t_member}\x20\x41\x53\x20\x42\x20\117\x4e\x20\x41\56\155\145\x6d\142\145\162\x5f\x69\x64\75\102\x2e\x69\144\x20" . "\x4c\105\x46\124\40\112\x4f\x49\x4e\40{$t_order}\40\x41\123\40\117\40\117\116\x20\101\x2e\155\145\x6d\142\x65\x72\x5f\x69\144\x3d\x4f\56\155\x65\x6d\142\145\x72\137\x69\x64\40" . "\x57\110\105\122\105\40\101\56\160\162\x69\x7a\x65\137\x69\x64\x3d{$id}\40\141\x6e\144\x20\50\117\56\x70\162\151\172\145\137\151\x64\x3d{$id}\40\157\x72\x20\117\x2e\160\x72\x69\172\x65\137\151\x64\x20\151\x73\40\156\x75\x6c\x6c\x29\40\117\x52\104\x45\122\40\x42\131\x20\x41\56\151\144\x20\104\x45\x53\103\40\x4c\111\x4d\x49\x54\x20{$l}"; goto KBaS3; aVI35: if (!($prize["\x61\160\x70\154\171\x5f\x6e\165\x6d"] > 0)) { goto f125j; } goto eHQD7; OR7fJ: $prize["\155\x79\137\x61\160\160\154\x79"] = $my_apply; goto oWqHn; OKk0L: cgs_H: goto QpPTZ; sJ_Z9: $is_robot_max = (int) $prize["\x69\x73\137\162\157\x62\x6f\164\137\x6d\x61\x78"]; goto RLg59; ZB48y: eS2Hw: goto CAgtW; fLadS: $in_prize_sort = ["\x66\151\x72" => ["\156\x61\x6d\145" => $getname("\146\151\x72"), "\x6c\x69\x73\x74" => []], "\163\145\143" => ["\156\141\x6d\145" => $getname("\163\x65\x63"), "\154\151\x73\164" => []], "\x74\x72\144" => ["\156\x61\155\145" => $getname("\x74\x72\144"), "\x6c\x69\163\164" => []]]; goto abjW3; XKmzL: if ($prize["\x64\x65\163\x63\x5f\x74\171\x70\x65"] == 0) { goto cgs_H; } goto pydKz; vBH1S: goto rcmfn; goto czH_v; CxGPo: $description = str_replace("\x3c\x70\76", '', $description); goto eBgJL; aIHFY: if ($prize["\151\x73\x5f\147\154\157\x62\x61\154"] == 1) { goto Fh268; } goto NUnXL; o2EgR: if (!$need_city) { goto nUqO_; } goto FnpdG; ALZsV: DZKLn: goto AMyCA; KpAts: if ($need_province) { goto q8vrI; } goto PdX9x; UWwE0: DdIJM: goto kvBJe; pydKz: if (!($prize["\x64\x65\x73\143\137\164\171\x70\x65"] == 1 && $prize["\144\x65\163\143\162\151\160\x74\x69\x6f\x6e"])) { goto QyGHL; } goto aaMu_; LsnGd: $sql = "\123\x45\x4c\105\103\124\40\52\40\x46\x52\x4f\115\x20" . tablename(prefix_table("\143\152\137\160\x72\151\172\145\137\x63\157\x64\145")) . "\x20\x57\x48\x45\x52\105\x20\x70\x72\x69\x7a\145\x5f\x69\144\x3d{$id}\40\101\x4e\104\40\x69\x73\137\160\x72\151\172\x65\75\x31\x20\114\x49\x4d\111\x54\x20\x39"; goto gFNVc; rpWpK: if ($is_robot && $prize["\151\163\137\162\157\x62\x6f\x74"] == 1 && $robot_rand["\166\141\x6c\x75\145"] && $prize["\164\171\x70\x65"] == 1) { goto IPRuR; } goto BsiIS; NZQsc: Btqfi: goto ZzIs9; DL_sY: json($prize); goto kuS9e; dypL4: if (0) { goto leh8L; } goto VevYw; BsiIS: $where = "\x42\56\x70\x72\x69\172\145\137\x69\144\x3d{$id}"; goto NSjMv; J3pnd: if (!($is_robot && $prize["\x69\163\x5f\162\x6f\x62\157\x74"] == 1)) { goto JWrLZ; } goto SVrCt; CB0bL: leh8L: goto uYo80; W_bZC: $prize["\x69\x6e\137\x70\x72\151\x7a\145"] = $in_prize; goto rqAy2; keaRN: goto e9Uup; goto CB0bL; FnpdG: if ($member_data["\143\151\x74\x79"] == $need_city || $member_data["\x63\x69\164\x79"] . "\xe5\xb8\x82" == $need_city) { goto trWGH; } goto GHWLq; R9X_Z: $prize["\x61\160\160\x6c\171\x5f\x6e\165\155"] += $people; goto YISj6; c2fjH: $id = $this->get("\x69\144"); goto pCcjI; QlhzM: u0StB: goto pEf7p; NlJGr: goto yEzld; goto OKk0L; BmCd7: $people = $is_robot_max / floor(($prize["\x74\x79\160\145\166\x61\x6c\x75\145"] - $prize["\143\x72\x65\x61\x74\x65\x64"]) / 60) * floor(($time - $prize["\x63\162\145\x61\164\145\144"]) / 60); goto SjzPC; qtf87: $bf_hours = (int) $hours_of_end_sign["\x76\141\154\165\145"]; goto JBjD8; CxhQC: foreach ($in_prize as &$value) { goto vjRbL; EdVgF: fkK6T: goto vbOes; x7bkD: $value["\x6d\x69\x6e\x66\157"]["\x61\x64\144\x72\x65\163\163"] = pdo_get(prefix_table("\143\152\137\x61\144\x64\x72\145\x73\x73"), ["\x6d\145\155\142\x65\x72\x5f\x69\x64" => $value["\x6d\145\x6d\x62\145\x72\x5f\151\144"]]); goto Ni66D; Ni66D: if (!($value["\x6d\145\x6d\x62\x65\x72\x5f\x69\x64"] == $this->member["\x69\144"])) { goto fkK6T; } goto pod3N; vbOes: $in_prize_sort[$value["\164\171\160\145"]]["\x6c\x69\163\x74"][] = $value; goto x_6qk; x_6qk: lyVN8: goto OBnwo; pod3N: $my_in_prize[] = $value; goto EdVgF; vjRbL: $value["\155\151\156\146\157"] = pdo_get(prefix_table("\143\x6a\137\155\x65\x6d\x62\x65\162"), ["\151\x64" => $value["\155\x65\155\x62\145\x72\137\151\x64"]]); goto x7bkD; OBnwo: } goto UWwE0; pKRvK: yidoE: goto o2EgR; VXRgd: goto wMbR6; goto NGySk; kuS9e: } public function doPageAllcode() { goto u76Xl; tX2xk: if (is_numeric($id)) { goto YEA0X; } goto OqAL4; bNzJU: YEA0X: goto XD9IQ; u76Xl: $id = $this->get("\151\x64"); goto tX2xk; lS0nn: oQwiO: goto FNYRi; BaIsQ: json("\350\xaf\245\xe6\212\xbd\345\xa5\x96\xe4\270\215\xe5\255\x98\345\x9c\250", 0); goto lS0nn; H_C31: if (!empty($prize)) { goto oQwiO; } goto BaIsQ; OqAL4: json("\345\x8f\202\xe6\x95\260\351\224\x99\xe8\257\257", 0); goto bNzJU; bnC4P: json($code); goto IsQ44; FNYRi: $code = pdo_getall(prefix_table("\143\152\137\x70\x72\151\x7a\x65\x5f\x63\157\144\145"), ["\160\162\151\172\145\137\151\x64" => $id]); goto bnC4P; XD9IQ: $prize = pdo_get(prefix_table("\x63\x6a\x5f\160\x72\x69\172\145"), ["\151\x64" => $id]); goto H_C31; IsQ44: } public function doPagePrizeWins() { goto pDa3m; akeC3: if (is_numeric($id)) { goto UF2bL; } goto SJvCM; SJvCM: json("\xe5\x8f\x82\346\x95\xb0\351\x94\x99\xe8\xaf\257", 0); goto UwC6P; vKWL2: jqGgw: goto U1EMC; C3QzP: $prize = pdo_get(prefix_table("\143\x6a\x5f\160\x72\151\172\145"), ["\x69\x64" => $id]); goto rK1l3; U1EMC: $in_prize = pdo_getall(prefix_table("\143\x6a\137\160\162\151\172\145\137\162\x65\163\x75\154\164"), ["\160\x72\151\172\x65\137\x69\144" => $id], [], '', ["\x74\x79\x70\145\40\x41\x53\103"]); goto bS75x; rK1l3: if (!(empty($prize) || $prize["\x73\164\141\x74\165\x73"] != 1 || $this->member["\151\x64"] != $prize["\x6d\x65\x6d\x62\x65\x72\137\151\144"])) { goto jqGgw; } goto SHLj6; cirLE: Tdtdw: goto jpKfi; pDa3m: $id = $this->get("\x69\x64"); goto akeC3; SHLj6: json("\350\257\245\xe6\x8a\xbd\xe5\xa5\226\xe4\270\215\345\255\x98\xe5\234\xa8", 0); goto vKWL2; bS75x: foreach ($in_prize as &$value) { goto Tj2vF; Tj2vF: $value["\x6d\x69\x6e\x66\157"] = pdo_get(prefix_table("\x63\x6a\137\155\145\155\x62\145\162"), ["\151\x64" => $value["\155\145\155\142\x65\162\x5f\x69\144"]]); goto dyh7p; lzjQ_: xc_Ui: goto VjJNR; dyh7p: $value["\155\151\156\x66\x6f"]["\x61\144\144\x72\145\163\163"] = pdo_get(prefix_table("\143\x6a\x5f\x61\x64\144\162\145\x73\x73"), ["\x6d\145\155\142\x65\x72\137\151\144" => $value["\x6d\145\x6d\x62\x65\x72\x5f\151\x64"]]); goto lzjQ_; VjJNR: } goto cirLE; UwC6P: UF2bL: goto C3QzP; jpKfi: json(["\x70\x72\151\172\145" => $prize, "\x6c\151\x73\164" => $in_prize]); goto w01vD; w01vD: } public function doPageAddress() { goto NlM4Z; NlM4Z: $name = $this->get("\156\x61\x6d\x65"); goto Hofvu; Hofvu: $phone = $this->get("\160\150\x6f\156\x65"); goto yqRkf; HWP4r: $data = ["\x6e\141\x6d\145" => $name, "\160\150\157\x6e\x65" => $phone, "\x77\x78\156\165\155" => $this->get("\167\170\156\165\155"), "\x61\144\144\162\x65\163\163" => $address]; goto b331e; xoQg2: json("\x6f\x6b"); goto CrJ52; b331e: pdo_update(prefix_table("\143\152\137\x61\144\x64\x72\x65\163\x73"), $data, ["\x6d\x65\155\x62\x65\162\x5f\151\x64" => $this->member["\x69\x64"]]); goto xoQg2; yqRkf: $address = $this->get("\141\x64\x64\162\x65\x73\163"); goto HWP4r; CrJ52: } public function doPageGetAddress() { goto lylff; sWSv_: z8Cw4: goto SvKsZ; SIxIB: if (!empty($data)) { goto z8Cw4; } goto HEzdt; ELoCT: $data = ["\156\141\155\x65" => '', "\x70\x68\157\x6e\145" => '', "\167\170\156\x75\155" => '', "\x61\144\x64\x72\145\163\163" => '']; goto sWSv_; SvKsZ: json($data); goto j8JJT; HEzdt: pdo_insert(prefix_table("\143\x6a\x5f\141\144\144\x72\145\x73\x73"), ["\x6d\x65\155\142\145\x72\x5f\151\x64" => $this->member["\151\144"], "\x61\144\x64\164\x69\155\x65" => time()]); goto ELoCT; lylff: $data = pdo_get(prefix_table("\x63\152\137\141\144\144\x72\145\x73\163"), ["\x6d\145\x6d\x62\145\x72\x5f\x69\144" => $this->member["\151\144"]]); goto SIxIB; j8JJT: } public function doPageAll() { goto OGZqc; uLwiD: try { goto L_mEt; FIYpb: eGlYi: goto dwefX; e_h93: vWsvT: goto LZgbb; VJm3R: vOP4c: goto sCRPk; VmQQb: pdo_insert(prefix_table("\143\152\137\x70\162\x69\172\x65\137\x6d\145\x6d\142\145\162"), $in_data); goto ZX6eY; okHFj: $have_rebot_num = pdo_fetchcolumn("\x53\x45\114\105\x43\x54\40\x43\117\125\x4e\124\50\52\51\40\x46\122\117\115\x20{$cj_prize_member}\x20\x57\x48\105\x52\105\40\160\x72\x69\x7a\145\x5f\151\x64\x3d{$id}\40\x61\x6e\x64\40\151\x73\x5f\x72\x6f\x62\x6f\157\x74\x3d\61"); goto I6GrJ; V0p8m: $in_data = ["\160\x72\151\172\145\x5f\151\x64" => $id, "\x6d\x65\x6d\142\145\x72\137\151\144" => pdo_fetchcolumn("\123\x45\114\105\x43\x54\40\151\144\40\106\x52\117\x4d\40{$t_member}\x20\x77\150\145\162\145\x20\151\163\137\162\157\142\x6f\164\75\x31\40\141\x6e\144\x20\x69\x64\40\x6e\x6f\x74\40\151\156\40\50\x73\145\154\145\x63\x74\40\155\145\155\142\x65\162\137\x69\x64\40\x66\162\x6f\155\x20{$cj_prize_member}\40\x77\x68\x65\x72\x65\40\x70\x72\151\x7a\x65\x5f\151\x64\x3d\47{$id}\x27\40\x61\156\x64\x20\x69\x73\137\162\157\x62\157\x6f\x74\x3d\61\51\x20\157\x72\x64\145\162\40\142\x79\40\x72\x61\x6e\144\50\x29\x20\x6c\x69\x6d\x69\x74\x20\61"), "\x69\x73\x5f\162\157\142\157\x6f\164" => 1]; goto VmQQb; eI9Kx: goto cePKY; goto FIYpb; bSDn4: $orders = pdo_fetchall($sql); goto S724s; fW_8b: goto vWsvT; goto VJm3R; YC0X2: cePKY: goto TUaXo; S724s: foreach ($orders as $o_v) { goto eVqhT; c6QRo: $in_data = ["\160\x72\x69\x7a\x65\x5f\x69\x64" => $id, "\155\145\x6d\142\x65\162\x5f\151\x64" => $o_v["\x6d\x65\x6d\x62\x65\162\x5f\x69\144"], "\151\163\137\162\157\x62\157\157\x74" => pdo_fetchcolumn("\123\x45\114\105\103\124\x20\151\163\137\162\157\142\157\x74\x20\x46\x52\x4f\x4d\x20{$t_member}\x20\127\x48\x45\x52\105\40\151\144\x3d" . $o_v["\x6d\145\155\142\145\162\x5f\x69\x64"])]; goto kTd3M; bfcGU: EvsEG: goto VVTmK; eVqhT: $in_flag = pdo_fetchcolumn("\x53\x45\x4c\105\103\x54\x20\103\117\x55\x4e\x54\50\x2a\51\x20\x46\x52\x4f\x4d\x20{$cj_prize_member}\x20\127\110\105\122\x45\x20\160\x72\151\x7a\145\137\151\144\x3d{$id}\40\141\156\x64\40\155\145\x6d\x62\x65\162\137\151\x64\x3d" . $o_v["\155\x65\155\x62\145\162\137\x69\x64"]); goto z2r1q; z2r1q: if ($in_flag) { goto EwU_H; } goto c6QRo; kTd3M: pdo_insert(prefix_table("\x63\152\x5f\x70\x72\151\x7a\x65\137\x6d\x65\x6d\x62\145\x72"), $in_data); goto B60fr; B60fr: EwU_H: goto bfcGU; VVTmK: } goto ymWSZ; TUaXo: if (!($i < $left_robot_num)) { goto eGlYi; } goto fc9DI; CGcrC: $recd_p = pdo_fetchcolumn("\x53\105\x4c\x45\103\124\40\x43\117\125\x4e\x54\50\x2a\51\x20\106\122\117\x4d\x20{$cj_prize_member}\x20\127\110\105\x52\x45\40\160\x72\x69\172\x65\x5f\x69\144\75{$id}"); goto rfUsw; X6o9m: $left_robot_num = $people - pdo_fetchcolumn("\x53\x45\114\x45\103\124\x20\103\x4f\x55\116\124\x28\x2a\x29\40\x46\122\x4f\x4d\x20{$cj_prize_member}\40\x57\x48\x45\122\105\40\x70\x72\x69\x7a\145\137\x69\x64\75{$id}"); goto BK4Gg; agnF2: pdo_insert(prefix_table("\143\152\137\x70\x72\x69\172\145\x5f\155\145\155\142\145\162"), $in_data); goto vOxOG; BK4Gg: $i = 0; goto YC0X2; ZX6eY: iDqs4: goto V2lFA; LZgbb: if (!($i < $last_rebot_num - $have_rebot_num)) { goto vOP4c; } goto V0p8m; dwefX: hInPj: goto okHFj; u_Ny9: $i++; goto eI9Kx; qfEKR: $i = 0; goto e_h93; I6GrJ: if (!($last_rebot_num && $last_rebot_num > $have_rebot_num)) { goto H_JCw; } goto qfEKR; khwie: pdo_commit(); goto KtTSy; vOxOG: cKxqF: goto u_Ny9; ymWSZ: sI6eq: goto X6o9m; L_mEt: $where .= "\x20\x4f\x52\40\x28\x41\56\x69\x73\137\162\157\142\x6f\164\75\x31\40\x61\x6e\x64\x20\50\x42\56\160\162\151\x7a\x65\137\151\144\x3d{$id}\x20\157\x72\40\x42\56\x70\x72\x69\172\x65\x5f\x69\144\40\151\163\40\156\x75\x6c\x6c\x29\x29"; goto CGcrC; sCRPk: H_JCw: goto khwie; V2lFA: $i++; goto fW_8b; rfUsw: if (!($robot_rand["\166\141\154\x75\x65"] && $people - $recd_p > 0)) { goto hInPj; } goto te9aW; te9aW: $sql = "\123\105\114\x45\103\x54\x20\155\x65\155\142\x65\x72\137\151\x64\x20\x46\x52\x4f\x4d\x20{$t_order}\x20\167\150\x65\162\x65\40\160\x72\151\x7a\145\137\151\x64\x3d{$id}\x20\157\162\x64\x65\162\x20\x62\171\x20\x6f\x72\144\145\x72\137\x69\144\x20\101\x53\103"; goto bSDn4; fc9DI: $in_data = ["\160\x72\151\x7a\x65\x5f\151\144" => $id, "\155\x65\x6d\142\145\x72\x5f\x69\144" => pdo_fetchcolumn("\x53\x45\114\105\103\x54\x20\x69\x64\x20\106\122\x4f\x4d\40{$t_member}\x20\x77\x68\x65\162\x65\40\x69\163\x5f\x72\x6f\x62\x6f\x74\75\61\40\x61\156\144\40\x69\144\40\156\157\x74\x20\x69\x6e\x20\50\x73\145\x6c\145\143\164\40\x6d\x65\x6d\142\145\162\137\151\144\x20\x66\162\157\155\x20{$cj_prize_member}\x20\167\150\145\x72\x65\40\160\x72\x69\172\145\137\x69\144\x3d\47{$id}\x27\40\141\156\x64\x20\x69\163\x5f\x72\157\142\x6f\157\164\75\x31\x29\40\x6f\162\x64\145\162\x20\x62\171\x20\x72\x61\x6e\144\50\x29\x20\x6c\151\x6d\151\x74\40\61"), "\151\163\137\162\x6f\x62\157\157\x74" => 1]; goto agnF2; KtTSy: } catch (Exception $e) { goto untW3; rSxWN: eUTrN: goto G5MCC; Wae0j: pdo_rollback(); goto rSxWN; LjJG2: if ($db_read_write) { goto eUTrN; } goto Wae0j; untW3: $error = $e->getMessage(); goto LjJG2; G5MCC: } goto FakoJ; iBcD0: $time = time(); goto n7_5o; yEx2D: goto gF3kd; goto Z_yyJ; XAPy4: if ($is_robot && $prize["\x69\163\x5f\162\157\142\x6f\x74"] == 1 && $robot_rand["\x76\x61\154\x75\145"] && $prize["\x74\171\160\145"] == 1) { goto wO9JU; } goto tRP1k; YcJlp: $t_member = tablename(prefix_table("\143\152\x5f\x6d\145\x6d\x62\145\x72")); goto vB56j; Os283: $limit = ($p - 1) * $page_size; goto KnNB3; usB4g: $list_show_type = pdo_get(prefix_table("\x63\152\137\x63\x6f\x6e\x66\151\x67"), ["\153\145\171" => "\154\151\163\x74\x5f\163\x68\157\x77\x5f\x74\171\x70\145"]); goto VZqpA; KnNB3: $robot = pdo_get(prefix_table("\x63\152\137\143\157\x6e\x66\x69\x67"), ["\x6b\145\171" => "\162\157\142\157\164"]); goto iFcNX; wnCbZ: $people = $people < $robot_num ? $people : $robot_num; goto tV52b; eZP5L: huZFC: goto Xl2X2; xE7qR: if ($prize["\x74\x79\160\x65"] == 1) { goto wgxR_; } goto tH86V; eIr7_: $robot_num = $is_robot_max; goto WbKtq; UgxGr: $cj_prize_result = tablename(prefix_table("\143\x6a\x5f\x70\x72\151\172\145\137\x72\x65\163\165\x6c\x74")); goto kDeWm; fhZun: goto huZFC; goto VhrNb; BkZdl: $p = $this->get("\x70", 1); goto usB4g; iFcNX: $robot_m = pdo_get(prefix_table("\x63\x6a\137\x63\157\156\146\x69\x67"), ["\x6b\145\x79" => "\162\157\142\157\x74\137\x6d"]); goto cGlUg; cGlUg: $is_robot = $robot ? $robot["\166\141\154\x75\x65"] : 0; goto iSgFd; yyACU: if (!$apply) { goto H2ea8; } goto UgxGr; mLEij: json($apply); goto jPIfL; x0YZ9: $prize = pdo_get(prefix_table("\143\x6a\x5f\x70\162\151\x7a\x65"), ["\x69\x64" => $id]); goto XYRRL; Xl2X2: $apply = pdo_fetchall($sql); goto yyACU; jE5My: $people = $is_robot_max / floor(($prize["\x74\171\x70\x65\x76\x61\x6c\165\145"] - $prize["\143\162\145\x61\164\x65\x64"]) / 60) * floor(($time - $prize["\143\x72\x65\141\164\x65\x64"]) / 60); goto dSR2r; WbKtq: gF3kd: goto wnCbZ; VZqpA: $robot_rand = pdo_get(prefix_table("\143\x6a\x5f\x63\157\156\x66\151\x67"), ["\153\145\171" => "\162\x6f\142\x6f\x74\137\x72\x61\x6e\x64"]); goto QSQbx; EleIH: if (!($is_robot && ($prize["\x69\163\x5f\x67\154\157\142\141\154"] == 0 && $prize["\151\x73\137\x72\x6f\142\x6f\164"] == 1 || $is_robot_m && $prize["\x69\x73\x5f\147\154\x6f\x62\x61\x6c"] == 1 && $prize["\x69\x73\137\x72\157\x62\x6f\164"] == 1))) { goto k3SQ4; } goto xE7qR; NS4zp: $is_robot_max = (int) $prize["\151\163\137\x72\157\x62\157\164\137\x6d\x61\x78"]; goto BwT69; ojywV: if (!($is_robot && $prize["\x69\x73\x5f\162\x6f\x62\157\x74"] == 1)) { goto Dg47I; } goto syBqA; S0uD6: goto igDU4; goto IkDDp; tV52b: $last_rebot_num = $people; goto c1b1W; V3BBL: $robot_num = pdo_fetchcolumn("\x53\x45\114\x45\103\x54\40\x43\117\x55\x4e\x54\x28\x2a\x29\40\x46\122\117\115\x20" . tablename(prefix_table("\x63\x6a\137\x6d\x65\x6d\x62\145\162")) . "\x20\127\x48\105\x52\105\40\x69\x73\137\162\x6f\142\157\x74\75\61"); goto yEx2D; QSQbx: $cj_prize_member = tablename(prefix_table("\x63\x6a\x5f\x70\162\x69\172\145\137\x6d\x65\155\x62\x65\x72")); goto LiJ29; Xcbji: json([]); goto ZxA3H; ptCdB: $sql = "\123\x45\114\x45\x43\124\x20\x42\56\165\x73\x65\x72\137\151\x6d\147\54\102\56\151\x64\x2c\102\x2e\156\x69\x63\x6b\156\x61\155\145\54\x4f\x2e\143\x6f\144\x65\x5f\156\x75\x6d\40\x46\122\117\x4d\40{$cj_prize_member}\40\101\x53\x20\101\40" . "\114\105\106\124\40\112\117\x49\116\x20{$t_member}\x20\x41\123\x20\x42\40\x4f\116\40\x41\x2e\155\145\155\x62\145\162\137\151\144\75\x42\x2e\151\x64\40" . "\114\x45\106\x54\40\x4a\x4f\x49\116\40{$t_order}\x20\101\123\40\x4f\x20\117\x4e\40\101\56\x6d\145\x6d\x62\145\x72\137\x69\x64\x3d\x4f\x2e\x6d\x65\x6d\x62\145\x72\x5f\x69\x64\x20" . "\x57\x48\x45\x52\105\40\101\56\x70\162\151\x7a\145\x5f\x69\144\x3d{$id}\x20\141\x6e\x64\40\50\117\56\160\x72\x69\x7a\145\137\x69\144\x3d{$id}\40\157\x72\x20\117\56\160\162\x69\x7a\x65\x5f\x69\x64\40\151\x73\40\x6e\165\x6c\x6c\51\x20\x4f\x52\104\105\x52\x20\x42\131\x20\x41\x2e\x69\144\x20\x44\x45\123\x43\40\114\111\115\x49\x54\x20{$limit}\54\x20{$page_size}"; goto eZP5L; IkDDp: wgxR_: goto iBcD0; kDeWm: foreach ($apply as &$value) { $value["\x63\157\x64\145\x5f\156\165\x6d"] = $value["\143\157\144\145\x5f\x6e\x75\x6d"] ?: 1; lUftT: } goto UV9V3; OGZqc: $id = $this->get("\151\144"); goto BkZdl; BwT69: if ($is_robot_max) { goto LxpOo; } goto vkpvz; vkpvz: $people = floor(($time - $prize["\143\x72\x65\141\164\145\x64"]) / 60 * 10); goto V3BBL; UV9V3: DNujw: goto NGwDR; tH86V: $time = time(); goto S0uD6; cco6a: $page_size = $limit + $page_size > $people ? $people % $page_size : $page_size; goto ByJAB; kzTQd: if (!($limit > $people)) { goto DJ0ae; } goto Xcbji; vB56j: $where = "\x42\56\x70\x72\151\172\145\137\151\144\x3d{$id}"; goto ojywV; syBqA: pdo_begin(); goto uLwiD; VhrNb: wO9JU: goto ptCdB; FakoJ: Dg47I: goto XAPy4; NGwDR: H2ea8: goto mLEij; c1b1W: $people += pdo_fetchcolumn("\123\105\114\105\x43\x54\x20\x43\117\x55\x4e\124\x28\x2a\51\x20\106\x52\x4f\x4d\40{$t_order}\x20\127\x48\x45\x52\x45\40\x70\x72\151\x7a\145\137\x69\144\x3d{$id}"); goto kzTQd; ByJAB: k3SQ4: goto YcJlp; ZxA3H: DJ0ae: goto cco6a; n7_5o: igDU4: goto NS4zp; iSgFd: $is_robot_m = $robot_m ? $robot_m["\x76\x61\154\165\145"] : 0; goto x0YZ9; Z_yyJ: LxpOo: goto jE5My; LiJ29: $page_size = $list_show_type["\166\x61\154\x75\x65"] == 1 ? 120 : 10; goto Os283; dSR2r: $people = (int) $people; goto eIr7_; XYRRL: $t_order = tablename(prefix_table("\143\x6a\x5f\157\x72\144\145\162")); goto EleIH; tRP1k: $sql = "\x53\x45\x4c\105\103\124\40\x41\56\x75\x73\145\162\137\x69\155\147\54\101\x2e\151\x64\x2c\101\56\x6e\151\143\153\156\141\155\x65\x2c\102\56\143\x6f\144\x65\137\x6e\165\x6d\40\106\x52\x4f\115\40{$t_member}\x20\x41\x53\40\101\40" . "\114\x45\106\x54\40\112\x4f\x49\x4e\40{$t_order}\x20\x41\123\40\102\x20\x4f\116\x20\101\56\x69\x64\x3d\102\56\155\145\155\142\x65\162\137\x69\x64\40" . "\x57\x48\x45\122\105\x20{$where}\40\x4f\x52\104\x45\x52\40\102\131\40\102\x2e\143\157\144\x65\137\156\x75\x6d\x20\104\105\x53\103\x2c\102\x2e\157\x72\144\x65\x72\137\x69\144\x20\x44\105\x53\103\54\101\x2e\x69\x73\x5f\162\157\142\x6f\164\40\101\x53\103\54\x41\56\151\144\40\114\111\115\x49\x54\40{$limit}\54\40{$page_size}"; goto fhZun; jPIfL: } public function doPageApply() { goto p4jp8; Mroof: pdo_begin(); goto YfgUi; cwo1Y: ZvDtq: goto ofqUc; O6MbM: if ($db_read_write) { goto qZR3T; } goto Mroof; Sv0iV: $invitation_id = $this->get("\151\156\x76\151\x74\x61\164\151\x6f\156\137\x69\x64", 0); goto FBp3b; p4jp8: if (!(!$this->member["\165\163\145\x72\137\x69\155\x67"] && !$this->member["\156\151\143\x6b\156\x61\x6d\x65"])) { goto NrHUn; } goto X0cZi; xt3o5: if (empty($apply)) { goto OX3aA; } goto UtNic; PrYui: OX3aA: goto nlLIR; YfgUi: qZR3T: goto g1A5C; ZKyQT: if (!$db_read_write_v["\x76\x61\x6c\x75\x65"]) { goto iItCY; } goto XWLgH; gE9wG: json("\xe8\257\xa5\xe6\212\xbd\345\245\226\344\270\x8d\xe5\xad\x98\xe5\x9c\250", 0); goto vTBxg; XWLgH: $db_read_write = true; goto xMuVB; g1A5C: try { goto BdwI3; oX7fx: throw new Exception("\xe5\x8f\x82\345\212\240\345\xa4\261\xe8\xb4\245"); goto QcHi4; yCC4p: ekaJJ: goto umoAo; eO62q: $cj_prize = tablename(prefix_table("\143\x6a\137\x70\x72\151\x7a\x65")); goto nwEFn; QcHi4: BxY_b: goto nOoJ9; eMSmK: throw new Exception($p->error); goto asuYC; MKFq2: if (!pdo_query($sql)) { goto ekaJJ; } goto ZSo12; rOZx5: sHXk6: goto ycgzn; umoAo: rXx_3: goto qvdLB; WIrGK: $group = ["\x70\x72\x69\172\x65\137\151\x64" => $id, "\x6d\145\155\x62\x65\x72\137\x69\x64" => $this->member["\151\144"], "\156\x75\155\142\x65\162" => $prize["\x6d\x61\170\137\147\x72\x6f\x75\160\137\x6e\165\155"], "\x61\x70\x70\x6c\x79\x5f\x6e\x75\155" => 1, "\x63\x72\145\x61\164\x65\144" => time()]; goto zxfOa; Y8WKX: if (!(!empty($group) && $group["\160\x72\x69\172\145\137\151\x64"] == $id && $group["\141\160\x70\x6c\x79\137\156\165\155"] < $group["\x6e\x75\x6d\x62\x65\x72"])) { goto rXx_3; } goto sz_L9; tr8tn: $group = pdo_get(prefix_table("\143\x6a\x5f\x67\x72\x6f\165\x70\137\152\x6f\151\156"), ["\x69\144" => $group_join_id]); goto Y8WKX; j5NNe: $p->create_code($id, $invitation_id, $this->member["\x69\x64"], 2); goto FAbeV; ZSo12: $group_id = $group_join_id; goto yCC4p; S0Oqz: $group_join_id = $this->get("\147\x72\157\x75\x70\137\x63\x6f\144\x65"); goto U3keP; dVKuY: if (pdo_insert(prefix_table("\143\152\137\x6f\162\x64\145\162"), $order)) { goto Mn3YF; } goto PadR5; BnPgQ: $sql = "\125\120\x44\x41\x54\105\40{$cj_group_join}\x20\x53\105\x54\x20\141\x70\x70\154\x79\x5f\156\165\155\x3d\141\x70\160\154\x79\137\x6e\x75\155\x2b\61\x20\x57\x48\x45\x52\x45\x20\151\144\75{$group_join_id}\40\101\x4e\104\x20\x61\160\x70\x6c\171\x5f\156\165\x6d\x3c{$group["\156\x75\x6d\142\145\x72"]}"; goto MKFq2; tqlU8: ufa0S: goto vkZBn; OriuN: json("\xe5\x8f\xa3\xe4\273\244\xe9\x94\x99\350\xaf\xaf", 0); goto dKOVG; zxfOa: pdo_insert(prefix_table("\143\x6a\137\x67\x72\157\x75\x70\x5f\152\157\x69\x6e"), $group); goto zRmSr; fu6yK: Mn3YF: goto eO62q; ycgzn: S6czO: goto UhD2Q; nrCPF: json($code); goto fBati; zRmSr: $group_id = pdo_insertid(); goto rOZx5; b4MrQ: ZI3DH: goto Uc7oB; cAn9O: nGFRi: goto nrCPF; U3keP: if (empty($group_join_id)) { goto kjO31; } goto tr8tn; nOoJ9: $p = new prize(); goto Lmt2z; Cjv05: $order = ["\x6f\162\x64\x65\x72\137\163\x6e" => date("\x59\155\144\x48\151\163", time()) . $this->member["\x69\144"] . mt_rand(1000, 9999), "\160\162\151\x7a\145\137\151\144" => $id, "\x67\x72\157\165\x70\137\152\x6f\x69\156\x5f\x69\x64" => $group_id, "\155\x65\x6d\142\x65\x72\137\x69\144" => $this->member["\151\x64"], "\x61\x64\x64\x74\x69\x6d\x65" => time()]; goto dVKuY; Lmt2z: $code = $p->create_code($id, $this->member["\x69\144"]); goto Qo7lN; vkZBn: if (!($command != $prize["\143\x6f\155\155\x61\156\144"])) { goto IVzEf; } goto OriuN; dKOVG: IVzEf: goto abCIp; FAbeV: z6hY0: goto KlvT7; qvdLB: kjO31: goto zzHCC; KlvT7: if ($db_read_write) { goto ZI3DH; } goto sw3Gt; sw3Gt: pdo_commit(); goto b4MrQ; Uc7oB: if (!($prize["\x74\171\x70\145"] == 2 && $prize["\x74\171\160\x65\x76\x61\154\165\x65"] - 1 <= $prize["\141\x70\160\x6c\x79\137\x6e\165\x6d"])) { goto nGFRi; } goto P5GOm; P5GOm: $p->open($id); goto cAn9O; UhD2Q: if (!($prize["\151\163\137\143\x6f\x6d\155\x61\156\x64"] == 1)) { goto Zkaar; } goto GPu_j; PadR5: throw new Exception("\345\217\x82\345\212\xa0\345\xa4\261\xe8\xb4\xa5"); goto fu6yK; UdJIA: json("\xe8\257\267\xe8\xbe\x93\345\x85\xa5\345\217\243\344\273\xa4", 0); goto tqlU8; BdwI3: $group_id = 0; goto Vxaoz; KEMnV: if (pdo_query($sql)) { goto BxY_b; } goto oX7fx; asuYC: CLS7z: goto Jr0PQ; sz_L9: $cj_group_join = tablename(prefix_table("\143\152\137\x67\x72\157\165\160\137\x6a\x6f\x69\x6e")); goto BnPgQ; Vxaoz: if (!($prize["\x6d\x61\x78\x5f\147\162\157\165\160\137\156\165\155"] > 0 && false)) { goto S6czO; } goto S0Oqz; Qo7lN: if ($code) { goto CLS7z; } goto eMSmK; Jr0PQ: if (!$invitation_id) { goto z6hY0; } goto j5NNe; zzHCC: if (!($group_id == 0)) { goto sHXk6; } goto WIrGK; nwEFn: $sql = "\125\x50\104\x41\124\x45\x20{$cj_prize}\x20\x53\105\124\40\141\x70\x70\154\171\x5f\x6e\x75\155\x3d\x61\160\x70\154\171\x5f\156\x75\x6d\x2b\x31\x20\x57\110\x45\122\x45\40\x69\x64\75{$id}"; goto KEMnV; abCIp: Zkaar: goto Cjv05; GPu_j: if ($command = $this->get("\x63\x6f\155\155\141\x6e\144")) { goto ufa0S; } goto UdJIA; fBati: } catch (Exception $e) { goto p7Ggw; ToP6g: if ($db_read_write) { goto Cr14c; } goto BvU1O; BvU1O: pdo_rollback(); goto cYKro; cYKro: Cr14c: goto Dkw0_; p7Ggw: $error = $e->getMessage(); goto ToP6g; Dkw0_: } goto QyJbH; fW6UZ: $apply = pdo_get(prefix_table("\143\x6a\x5f\157\162\144\x65\162"), ["\x70\162\x69\172\145\x5f\x69\144" => $id, "\155\x65\x6d\x62\145\x72\137\x69\144" => $this->member["\x69\144"]]); goto xt3o5; UtNic: json("\xe6\x82\xa8\345\xb7\262\xe7\273\x8f\xe5\x8f\202\xe4\270\x8e\350\277\207", 0); goto PrYui; X0cZi: json('', -1); goto DXQhr; ofqUc: $prize = pdo_get(prefix_table("\x63\x6a\137\x70\162\151\172\145"), ["\151\144" => $id]); goto fW_zb; zxwvG: $db_read_write_v = pdo_get(prefix_table("\143\152\x5f\x63\x6f\156\x66\151\147"), ["\x6b\145\171" => "\144\x62\x5f\162\x65\141\144\x5f\167\162\x69\x74\x65"]); goto ZKyQT; Mj2Tm: $id = $this->get("\x69\144"); goto Sv0iV; xMuVB: iItCY: goto O6MbM; QyJbH: json($error, 0); goto I7Dce; HJ0LP: $invitation_id = 0; goto cwo1Y; FBp3b: if (!(!$invitation_id || $invitation_id == $this->member["\x69\144"])) { goto ZvDtq; } goto HJ0LP; DXQhr: NrHUn: goto Mj2Tm; fW_zb: if (!empty($prize)) { goto DH4Wo; } goto gE9wG; vTBxg: DH4Wo: goto fW6UZ; nlLIR: $db_read_write = false; goto zxwvG; I7Dce: } public function doPageCode() { goto diWQm; FIOBQ: if (!(empty($member_id) || empty($prize_id))) { goto BxKuB; } goto vYPHL; TBuSZ: $sql = "\123\105\x4c\105\x43\x54\x20\52\40\x46\x52\117\x4d\x20{$cj_prize_code}\40\127\110\105\x52\x45\x20\155\x65\x6d\142\x65\162\137\151\144\75{$member_id}\x20\101\116\104\x20\x70\162\x69\172\x65\137\151\x64\x3d{$prize_id}\x20\117\122\x44\x45\x52\40\x42\131\40\x69\x64\x20\x41\x53\103"; goto Lgrgy; se0Ot: $code = pdo_get(prefix_table("\x63\x6a\x5f\x70\162\151\172\x65\x5f\x63\157\144\145"), ["\155\145\155\142\x65\162\137\151\x64" => $member_id, "\160\x72\151\172\x65\x5f\x69\144" => $prize_id]); goto FH0Js; diWQm: $p = $this->get("\160", 1); goto RntLN; GvjR6: nMAdZ: goto ldXCX; qQz2I: $member_id = $this->get("\x6d\x65\x6d\142\145\162\x5f\151\144") ?: $this->member["\x69\x64"]; goto G8TuU; vYPHL: json("\xe5\x8f\x82\xe6\225\260\351\x94\x99\xe8\xaf\xaf", 0); goto RlsEC; UtG9W: $member = pdo_get(prefix_table("\143\x6a\x5f\155\x65\x6d\142\x65\x72"), ["\x69\144" => $member_id]); goto etDqj; IWqX3: kNqFD: goto TBuSZ; Ov_Bm: $sql = "\x53\x45\114\105\x43\124\x20\x2a\40\106\122\x4f\115\40{$cj_prize_code}\40\x57\x48\x45\x52\x45\40\155\x65\155\x62\x65\162\x5f\x69\144\75{$member_id}\x20\x41\116\104\40\x70\162\x69\172\145\x5f\x69\x64\x3d{$prize_id}\x20\x4f\122\104\x45\122\40\102\x59\x20\151\144\x20\101\x53\103\40\114\111\x4d\x49\124\40{$limit}\x2c{$page_size}"; goto zT3XL; V1Gc3: foreach ($code as &$value) { goto yE0MW; yE0MW: $id = $value["\x74\x79\x70\145"] == 1 ? $value["\155\x65\x6d\142\x65\x72\x5f\x69\x64"] : $value["\142\x65\x5f\151\x6e\166\x69\x74\x65\x64\137\151\x64"]; goto rEJlk; rUdD8: VUkzh: goto BhOV1; rEJlk: $value["\155\x69\x6e\x66\157"] = pdo_get(prefix_table("\143\152\x5f\155\x65\x6d\x62\145\162"), ["\151\x64" => $id]); goto rUdD8; BhOV1: } goto JtRvY; VYV_b: oPBTu: goto hW3jK; BM4q1: $p = new prize(); goto Nrlwf; V4ziw: $limit = ($p - 1) * $page_size; goto qQz2I; Nrlwf: $p->create_code($prize_id, $member_id, 0, 1, 2); goto xM98L; G8TuU: $prize_id = $this->get("\x69\x64"); goto FIOBQ; ldXCX: $cj_prize_code = tablename(prefix_table("\143\x6a\137\160\162\x69\172\x65\x5f\x63\157\x64\x65")); goto fXKcI; JtRvY: KxQ5w: goto VYV_b; i_ynn: $code = pdo_fetchall($sql); goto vdmS7; hW3jK: json($code); goto uOOQ2; Lgrgy: F334f: goto i_ynn; xM98L: WLhMF: goto GvjR6; RntLN: $page_size = 10; goto V4ziw; vdmS7: if (empty($code)) { goto oPBTu; } goto V1Gc3; RlsEC: BxKuB: goto UtG9W; FH0Js: if (!empty($code)) { goto WLhMF; } goto BM4q1; etDqj: if (!($member["\151\x73\137\162\x6f\x62\x6f\x74"] == 1)) { goto nMAdZ; } goto se0Ot; fXKcI: if ($this->get("\151\x73\x70\141\x67\145") == 1) { goto kNqFD; } goto Ov_Bm; zT3XL: goto F334f; goto IWqX3; uOOQ2: } public function doPageOpenPrize() { goto vRKSn; CUxJ6: $p = new prize(); goto cjVVJ; qEZMV: JWJJh: goto LpYq4; ZNkhO: lmn3a: goto CUxJ6; H01gX: json("\xe8\xbf\230\xe6\xb2\xa1\344\xba\272\xe5\x8f\x82\344\xb8\216\x2c\xe6\x97\xa0\xe6\xb3\x95\345\274\x80\xe5\xa5\226"); goto ZNkhO; QwiKk: json($p->error, 0); goto dM3qS; zepKq: if (!(empty($prize) || $prize["\x6d\145\155\x62\145\162\x5f\151\x64"] != $this->member["\x69\x64"] || $prize["\141\160\x70\154\x79\x5f\x6e\165\x6d"] < 1 || $prize["\x74\x79\160\145"] != 3)) { goto lmn3a; } goto H01gX; xYajA: json("\345\xbc\200\xe5\245\226\346\x88\220\345\x8a\237"); goto TUG7h; LpYq4: $prize = pdo_get(prefix_table("\x63\152\137\x70\162\151\x7a\x65"), ["\151\144" => $id]); goto zepKq; vRKSn: $id = $this->get("\x69\x64"); goto nS911; TUG7h: Vznb4: goto QwiKk; cjVVJ: if (!$p->open($id)) { goto Vznb4; } goto xYajA; nS911: if (is_numeric($id)) { goto JWJJh; } goto m02dm; m02dm: json("\345\x8f\202\346\x95\xb0\351\224\x99\350\257\257"); goto qEZMV; dM3qS: } public function doPageOpen() { goto giybx; giybx: if (!(date("\110") == "\x30\63")) { goto DfuBD; } goto zoqsu; QYvn4: qMu2M: goto mSxeO; mSxeO: LgpX9: goto s9rRP; ER_4F: $m_prize = new prize(); goto XlCDu; wB7iZ: foreach ($data as $value) { $m_prize->open($value["\x69\144"]); Vb64U: } goto QYvn4; IXXU_: $cj_prize = tablename(prefix_table("\x63\152\137\160\x72\x69\172\145")); goto q8B18; SwZOo: $data = pdo_fetchall($sql); goto yuWzr; XlCDu: $sql = "\x53\105\114\105\x43\x54\x20\x2a\x20\x46\x52\x4f\x4d\40{$cj_prize}\40\127\110\x45\x52\x45\x20\x73\x74\x61\164\165\x73\x3d\x30\x20\101\116\x44\40\x69\x73\137\143\x61\156\143\x65\x6c\75\60\40\101\x4e\x44\40\x28\50\x74\x79\160\145\x3d\61\40\101\x4e\104\40\164\x79\x70\x65\166\x61\x6c\x75\145\74{$t}\x29\40\x6f\x72\40\x28\164\171\x70\x65\x3d\62\x20\141\x6e\x64\x20\x74\171\160\145\x76\x61\154\x75\x65\x3c\75\x61\160\160\x6c\x79\137\156\x75\x6d\51\x29"; goto cHjKq; acVcS: $this->sendTpl(); goto tnKbh; yuWzr: if (!$data) { goto SzWiH; } goto EAPLH; zoqsu: pdo_update(prefix_table("\x63\x6a\137\x63\157\x6e\146\x69\147"), ["\166\x61\x6c\165\145" => 0], ["\x6b\145\171" => "\x74\x70\154\137\146\154\x61\147\x5f\x61"]); goto TNNwH; Lump2: $sql = "\x73\145\x6c\x65\143\x74\40\x2a\40\146\162\x6f\x6d\40" . tablename(prefix_table("\x63\152\137\160\162\145\137\160\x72\x69\x7a\145")) . "\40\x77\150\x65\162\145\x20\x69\x6e\137\164\x61\163\x6b\x3d\61\40\141\x6e\144\40\x69\156\x5f\164\x61\163\x6b\137\164\x69\x6d\x65\74\75\x27{$in_task_time}\x27"; goto SwZOo; EAPLH: foreach ($data as $line) { $prize_id = $m_prize->add($line); FkdHh: } goto OXC1T; OXC1T: kPkSQ: goto ioLpa; tnKbh: echo "\x6f\x6b"; goto TiMr_; Lwgcc: DfuBD: goto IXXU_; cHjKq: $data = pdo_fetchall($sql); goto vm2Ab; ioLpa: SzWiH: goto acVcS; TNNwH: pdo_update(prefix_table("\x63\x6a\x5f\x63\x6f\x6e\x66\151\147"), ["\x76\x61\x6c\165\x65" => 0], ["\153\x65\171" => "\164\160\x6c\137\x66\154\x61\x67\137\x62"]); goto Lwgcc; s9rRP: $in_task_time = time(); goto Lump2; vm2Ab: if (empty($data)) { goto LgpX9; } goto wB7iZ; q8B18: $t = time(); goto ER_4F; TiMr_: } public function sendTpl() { goto Qslmu; UwJna: pdo_insert(prefix_table("\x63\x6a\137\143\157\156\146\x69\x67"), ["\x6b\x65\x79" => "\164\x70\154\137\146\154\141\147\137\x61", "\x76\x61\154\x75\145" => 0]); goto kAmrA; NVhe3: pdo_update(prefix_table("\x63\x6a\x5f\x63\157\156\x66\x69\x67"), ["\x76\x61\x6c\165\x65" => 1], ["\x6b\x65\171" => "\x74\160\154\137\146\154\141\x67\137\141"]); goto QF7Rp; XaFFI: foreach ($template as $value) { goto BIQYZ; TpMpi: pdo_update(prefix_table("\143\152\137\164\x65\x6d\160\154\x61\x74\145\x5f\x6d\145\163\x73\x61\147\x65"), ["\164\160\154\137\162\x65\x73\x5f\x6f\x72\144\x65\x72\137\x69\144" => $begin_member + $get_num], ["\x69\x64" => $value["\151\144"]]); goto MhXlt; ykIsd: jtYDw: goto TpMpi; Mobg3: POSVA: goto aGVbp; X5H1k: pdo_delete(prefix_table("\143\152\137\146\157\x72\155\x5f\x69\144"), ["\151\x64" => $form_id["\151\144"]]); goto XNL3x; T5wTd: $wxObj->sendTemplateMessage($prize_organiser, $tpl_to_organiser, $data, $form_id["\146\157\x72\x6d\x5f\151\144"], "\x70\x61\147\x65\x73\57\x70\141\x72\164\141\153\x65\57\160\x61\162\x74\x61\153\x65\x3f\151\x64\75" . $value["\x72\x65\x6c\141\164\x69\157\x6e\x5f\x69\144"]); goto X5H1k; EPou2: goto bvywA; goto ykIsd; QAzZf: Tu6JN: goto M7Qwo; sNd2E: $order = pdo_fetchall("\x53\105\114\105\x43\124\x20\52\x20\106\x52\117\x4d\40" . tablename(prefix_table("\x63\x6a\137\x6f\162\144\x65\162")) . "\40\x57\110\x45\122\x45\x20\x70\x72\x69\x7a\145\x5f\x69\x64\x3d" . $value["\162\145\x6c\x61\x74\x69\x6f\x6e\x5f\151\144"] . "\x20\x6f\162\x64\145\x72\40\x62\x79\x20\x6f\162\144\x65\x72\137\x69\x64\40\x61\163\x63\x20\x6c\x69\155\151\x74\40{$begin_member}\54\40{$get_num}"); goto H8BYY; F4AiL: tkMaS: goto D8mJM; D8mJM: $title = $prize["\x66\x69\x72\137\x76\141\154"]; goto pSEOC; V7iJf: if ($is_robot && $prize["\151\163\137\162\x6f\x62\x6f\164"] == 1 && $prize["\164\171\x70\x65"] == 1) { goto rfIVO; } goto R2YOy; uX44O: $get_num = 100; goto sNd2E; qjVsp: HZWb0: goto jsIR4; VTyRc: $begin_member = (int) $value["\164\160\x6c\137\x72\145\x73\x5f\157\x72\144\x65\x72\x5f\x69\144"]; goto uX44O; sPm39: rfIVO: goto EuJL2; pSEOC: goto jY8dW; goto Zi8Oc; elu1S: $title = "\xe7\x8e\xb0\xe9\207\221\xe7\xba\xa2\xe5\x8c\205"; goto HPH7f; sXo6m: $prize = pdo_get(prefix_table("\143\152\x5f\160\x72\151\172\x65"), ["\151\x64" => $value["\162\145\154\x61\164\x69\x6f\156\137\151\x64"]]); goto jl70Y; wOl75: if (!($prize["\x6d\145\x6d\x62\x65\x72\x5f\151\144"] > 0)) { goto POSVA; } goto kBaXU; R2YOy: $order_num = pdo_fetchcolumn("\123\x45\x4c\105\x43\124\x20\x43\x4f\125\x4e\x54\50\52\x29\x20\x46\122\117\115\40" . tablename(prefix_table("\x63\x6a\x5f\x6f\162\x64\x65\162")) . "\x20\127\x48\105\x52\x45\40\160\162\151\172\145\137\151\144\x3d" . $value["\162\x65\x6c\x61\x74\x69\x6f\x6e\137\151\144"]); goto UuV6C; jl70Y: $kv2 = ''; goto wOl75; M7Qwo: if ($order) { goto jtYDw; } goto q3lDG; H8BYY: $is_robot_num = 0; goto ZpCP3; qrOsT: goto jY8dW; goto F4AiL; dvs2j: if (!$form_id) { goto e7BkB; } goto T5wTd; aGVbp: if ($prize["\x66\x69\162\x5f\x70\x74\171\160\145"] == 0) { goto tkMaS; } goto nzZv4; Zi8Oc: USqRV: goto elu1S; Tw6O9: $data = ["\x6b\x65\171\167\157\162\x64\x31" => ["\166\141\154\x75\145" => $title], "\x6b\x65\171\167\x6f\x72\x64\x32" => ["\166\x61\154\x75\145" => ($prize["\x75\156\x61\155\x65"] ? $prize["\165\156\141\155\145"] : $prize["\164\x69\164\x6c\x65"]) . "\x20\345\217\221\xe8\265\267\xe7\232\x84\346\212\275\xe5\xa5\x96\346\255\243\xe5\234\xa8\xe5\xbc\200\345\xa5\226\357\xbc\214\xe7\x82\271\xe5\x87\xbb\346\x9f\245\347\234\213\344\270\255\xe5\xa5\x96\xe5\220\215\345\x8d\225"]]; goto VTyRc; ZpCP3: foreach ($order as $line) { goto uGwgM; uGwgM: $member = pdo_get(prefix_table("\x63\x6a\137\x6d\145\155\x62\x65\x72"), ["\x69\144" => $line["\x6d\x65\155\x62\145\162\x5f\x69\144"]]); goto mw639; HVifZ: $time = time() - 7 * 86400; goto ve2Qe; ve2Qe: $form_id = pdo_fetch("\x53\x45\114\x45\103\x54\40\x2a\x20\106\122\117\115\40" . tablename(prefix_table("\x63\x6a\137\x66\x6f\x72\155\137\151\x64")) . "\40\x57\x48\x45\122\105\x20\155\x65\155\x62\145\162\137\x69\x64\75{$line["\155\x65\155\142\x65\162\137\151\x64"]}\x20\x41\116\104\x20\143\162\x65\x61\164\145\144\x20\x3e\40{$time}"); goto s4d5i; G81qj: $is_robot_num++; goto UayWb; uD5z0: pdo_delete(prefix_table("\x63\152\x5f\146\x6f\x72\x6d\137\x69\144"), ["\151\x64" => $form_id["\x69\x64"]]); goto We1wH; EPnVi: j8Y2q: goto GgueX; tGxvS: J3wle: goto HVifZ; mw639: if (!($member["\151\x73\x5f\x72\157\x62\157\164"] == 1)) { goto J3wle; } goto G81qj; s4d5i: if (!(empty($member) || empty($form_id))) { goto j8Y2q; } goto C3kPK; GgueX: $wxObj->sendTemplateMessage($member["\157\x70\x65\156\151\144"], $config["\166\x61\x6c\x75\145"], $data, $form_id["\146\157\x72\155\x5f\151\x64"], "\160\141\x67\x65\x73\57\x70\141\162\164\x61\153\x65\57\160\141\162\x74\141\153\x65\x3f\x69\144\75" . $value["\162\x65\x6c\141\x74\x69\x6f\x6e\137\x69\144"]); goto uD5z0; We1wH: KrbgO: goto lAd7B; C3kPK: goto KrbgO; goto EPnVi; UayWb: goto KrbgO; goto tGxvS; lAd7B: } goto QAzZf; jsIR4: XngQr: goto q2xpM; jY36H: pdo_update(prefix_table("\143\152\137\x74\x65\x6d\x70\x6c\x61\x74\145\x5f\155\x65\x73\163\x61\147\x65"), ["\x74\160\154\x5f\x72\145\x73\x5f\x73\145\x6e\x64\145\162\x5f\146\x6c\141\x67" => 1], ["\x69\144" => $value["\x69\144"]]); goto qjVsp; iPyGn: $time = time() - 7 * 86400; goto NjrDu; TDe8O: $data = ["\153\145\x79\167\x6f\x72\144\x31" => ["\x76\x61\x6c\x75\145" => "\xe6\x82\250\xe5\x8f\221\350\265\xb7\347\x9a\204\xe6\x8a\275\xe5\xa5\226\346\xb4\xbb\345\x8a\xa8\xe5\267\262\345\xbc\200\xe5\xa5\x96\x2c\345\277\253\345\x8e\xbb\347\x9c\x8b\xe7\234\x8b\xe4\270\255\xe5\245\226\xe4\xbf\241\346\201\257\345\220\247\41"], "\x6b\x65\171\167\x6f\162\144\62" => ["\x76\141\x6c\165\145" => "\xe6\x80\273\345\x8f\202\xe4\270\x8e\344\xba\xba\346\225\xb0\357\274\232" . $order_num]]; goto dvs2j; HPH7f: jY8dW: goto Tw6O9; NjrDu: $form_id = pdo_fetch("\123\x45\x4c\x45\x43\x54\x20\x2a\40\106\122\x4f\115\x20" . tablename(prefix_table("\x63\x6a\x5f\146\157\x72\x6d\137\x69\144")) . "\x20\x57\110\x45\122\x45\40\x6d\145\x6d\142\x65\x72\x5f\151\x64\75\47" . $prize["\x6d\x65\x6d\x62\x65\162\x5f\x69\144"] . "\47\40\x41\116\x44\40\143\162\145\x61\x74\145\x64\x20\x3e\40{$time}"); goto TDe8O; EuJL2: $order_num = pdo_fetchcolumn("\123\x45\x4c\105\103\124\x20\103\x4f\x55\x4e\124\50\52\51\x20\x46\x52\x4f\115\x20{$cj_prize_member}\x20\x57\110\105\x52\105\40\160\x72\x69\172\x65\137\x69\144\x3d" . (int) $value["\x72\x65\154\x61\x74\151\157\x6e\x5f\x69\x64"]); goto L7dtO; UuV6C: goto hpTvX; goto sPm39; kBaXU: $member = pdo_get(prefix_table("\143\152\137\155\x65\155\x62\x65\162"), ["\x69\144" => $prize["\155\145\x6d\x62\x65\x72\137\x69\x64"]]); goto AyFan; AyFan: $kv2 = $member["\156\x69\143\153\x6e\x61\155\145"] . "\xe5\217\221\350\xb5\267\xe7\232\204"; goto lWtey; Mszig: if (!($value["\x74\160\154\x5f\x72\145\x73\137\x73\145\156\x64\145\x72\x5f\146\154\x61\147"] != 1 && $prize_organiser && $tpl_to_organiser)) { goto HZWb0; } goto V7iJf; BIQYZ: $prize_organiser = ''; goto sXo6m; L7dtO: hpTvX: goto iPyGn; JNSMX: $title = $prize["\x66\x69\x72\x5f\x63\156\141\155\145"]; goto qrOsT; q3lDG: pdo_update(prefix_table("\x63\x6a\x5f\x74\x65\155\160\154\x61\x74\145\137\155\x65\x73\x73\x61\x67\145"), ["\163\x74\x61\164\x75\163" => 1], ["\x69\144" => $value["\151\x64"]]); goto EPou2; MhXlt: bvywA: goto Mszig; nzZv4: if ($prize["\x66\151\162\x5f\160\x74\x79\160\x65"] == 1) { goto USqRV; } goto JNSMX; lWtey: $prize_organiser = $member["\157\x70\x65\x6e\151\x64"]; goto Mobg3; XNL3x: e7BkB: goto jY36H; q2xpM: } goto VUIgZ; sUlB3: pdo_update(prefix_table("\x63\152\x5f\x63\157\x6e\146\x69\x67"), ["\x76\141\154\x75\x65" => 0], ["\153\x65\171" => "\164\x70\x6c\x5f\x66\x6c\141\x67\x5f\x62"]); goto ekIQO; YIHUp: hS2OD: goto Cl5Nr; CB9KD: Z9vXl: goto rs2gv; Ro12y: $config = pdo_get(prefix_table("\x63\152\x5f\143\x6f\x6e\146\x69\x67"), ["\153\x65\171" => "\157\x70\145\x6e\137\160\162\x69\172\x65\137\156\x6f\x74\151\143\145"]); goto cDXO_; HkORK: $tpl_to_organiser = $tpl_to_organiser["\x76\x61\x6c\x75\x65"]; goto TzUVe; waO9A: $home_recommendation_need_check = $home_recommendation_need_check_cfg["\166\141\154\x75\x65"]; goto e6tGc; DlXio: pdo_update(prefix_table("\143\152\x5f\143\x6f\x6e\146\x69\x67"), ["\166\141\x6c\x75\x65" => 1], ["\x6b\x65\171" => "\164\160\x6c\x5f\146\x6c\x61\147\x5f\x62"]); goto YHV5O; QF7Rp: $time = time() - 7 * 86400; goto UCqBR; LLUEV: foreach ($cj_prize_arr as $line) { goto Xhumh; k8ACm: $data_tpl = ["\153\x65\171\167\157\x72\144\61" => ["\166\x61\154\165\x65" => $member_name ? $member_name : $line["\165\x6e\x61\155\145"]], "\x6b\145\x79\x77\157\162\x64\62" => ["\166\141\x6c\x75\x65" => $line["\164\151\164\154\145"]], "\153\x65\171\167\157\x72\144\x33" => ["\x76\x61\x6c\x75\145" => $line["\x74\171\160\x65"] == 1 ? "\xe6\xb4\xbb\345\x8a\250\347\xbb\x93\346\235\237\xe6\227\266\351\227\264\40" . date("\x59\55\155\x2d\144\40\110\72\151\x3a\x73", $line["\x74\x79\160\x65\166\x61\x6c\165\x65"]) : "\346\264\273\xe5\212\250\351\231\x90\xe7\xba\246\xe4\272\272\xe6\225\xb0\x20" . $line["\x74\171\x70\145\166\x61\154\x75\145"] . "\x20\344\272\272"]]; goto oOwPD; j_t6H: TbMWU: goto dbnBk; dbnBk: if ($line["\x69\x73\137\x67\x6c\157\x62\x61\154"] == 0) { goto RNuXY; } goto K3UZ1; BO4p6: if ($members) { goto TbMWU; } goto mhNZ7; oOwPD: foreach ($members as $member) { goto lV7wA; skQvk: JkdrC: goto STE9e; N3fJh: if (!$form_id) { goto JkdrC; } goto tTrIa; tTrIa: $wxObj->sendTemplateMessage($member["\x6f\160\145\156\151\x64"], $tpl_to_allfans_begin, $data_tpl, $form_id["\146\x6f\x72\155\x5f\151\144"], "\x70\141\x67\145\163\57\x70\x61\162\x74\x61\x6b\x65\x2f\x70\141\162\164\x61\x6b\x65\77\x69\x64\x3d" . $line["\151\x64"]); goto OL3If; OL3If: pdo_delete(prefix_table("\x63\152\137\146\x6f\x72\155\137\151\144"), ["\151\144" => $form_id["\151\144"]]); goto skQvk; lV7wA: $form_id = pdo_fetch("\x53\105\x4c\105\x43\124\x20\52\40\106\122\x4f\115\x20" . tablename(prefix_table("\x63\152\137\146\x6f\x72\x6d\x5f\x69\x64")) . "\40\127\x48\x45\122\x45\x20\155\x65\155\x62\x65\x72\137\151\144\x3d\47" . $member["\151\144"] . "\x27\x20\x41\x4e\104\40\x63\162\145\x61\164\x65\x64\x20\x3e\x20{$time}"); goto N3fJh; STE9e: RQp3K: goto Tr_Sw; Tr_Sw: } goto XjHF5; mhNZ7: pdo_update(prefix_table("\143\x6a\x5f\160\162\151\x7a\145"), ["\164\157\x5f\141\x6c\x6c\146\x61\156\163\137\x66\154\x61\147" => 2, "\x74\160\x6c\x5f\x66\154\x61\147\x5f\x62\145\x67\x69\x6e" => "\x46"], ["\x69\144" => $line["\151\144"]]); goto on5HT; on5HT: goto G62C7; goto j_t6H; Xhumh: $begin_member = $line["\164\160\154\137\x66\154\141\147\137\x62\x65\147\151\x6e"] == "\x42" ? 0 : (int) $line["\164\x70\154\x5f\x66\154\141\x67\x5f\142\x65\147\151\x6e"]; goto qnfqg; htMkp: goto XwGqm; goto tDNbC; fzdFu: G62C7: goto Rq08E; R8vt1: $members = pdo_fetchall("\123\105\x4c\x45\x43\124\x20\151\144\x2c\x20\x6f\160\x65\156\x69\x64\40\x46\122\x4f\115\40" . tablename(prefix_table("\143\152\137\155\145\x6d\x62\145\x72")) . "\40\127\110\105\122\105\x20\x69\x73\x5f\162\x6f\142\157\x74\75\60\40\157\162\x64\145\162\x20\142\171\x20\151\144\40\141\163\143\40\x6c\151\155\151\x74\40{$begin_member}\x2c\40{$get_num}"); goto BO4p6; SSxQx: Gqxo3: goto BgygF; XjHF5: gPETF: goto htMkp; tDNbC: RNuXY: goto xzBMO; qnfqg: $get_num = 30; goto R8vt1; K3UZ1: $member_name = pdo_fetchcolumn("\163\x65\154\x65\x63\x74\40\x6e\x69\x63\x6b\156\x61\x6d\145\x20\x66\162\157\155\40" . tablename(prefix_table("\x63\x6a\x5f\x6d\145\155\142\x65\162")) . "\40\167\x68\145\162\145\40\151\x64\75" . $line["\x6d\145\x6d\142\x65\162\x5f\151\144"]); goto k8ACm; BgygF: XwGqm: goto ENCLZ; YT5MO: foreach ($members as $member) { goto JJE9x; JJE9x: $form_id = pdo_fetch("\123\x45\114\x45\103\124\x20\x2a\40\x46\x52\x4f\x4d\x20" . tablename(prefix_table("\x63\x6a\137\x66\157\162\x6d\x5f\x69\x64")) . "\40\x57\x48\x45\x52\105\x20\155\x65\x6d\142\145\162\137\151\x64\x3d\47" . $member["\151\x64"] . "\x27\x20\101\116\104\x20\143\x72\x65\141\164\x65\144\40\x3e\x20{$time}"); goto CrXFw; WRDhc: f6h9v: goto qDE5r; gN320: $wxObj->sendTemplateMessage($member["\157\x70\x65\x6e\151\x64"], $tpl_to_allfans_begin, $data_tpl, $form_id["\x66\x6f\x72\155\137\151\144"], "\160\x61\147\145\x73\57\x70\x61\x72\x74\x61\x6b\145\57\x70\x61\x72\x74\x61\153\x65\77\151\x64\75" . $line["\x69\x64"]); goto dWvLW; dWvLW: pdo_delete(prefix_table("\143\152\x5f\x66\157\x72\x6d\137\x69\x64"), ["\151\x64" => $form_id["\x69\x64"]]); goto gP7ux; gP7ux: QNepP: goto WRDhc; CrXFw: if (!$form_id) { goto QNepP; } goto gN320; qDE5r: } goto SSxQx; ENCLZ: pdo_update(prefix_table("\x63\152\137\160\162\x69\x7a\x65"), ["\x74\160\154\x5f\146\154\x61\x67\x5f\x62\145\147\x69\x6e" => $begin_member + $get_num], ["\x69\x64" => $line["\x69\144"]]); goto fzdFu; xzBMO: $data_tpl = ["\x6b\145\x79\x77\x6f\x72\x64\61" => ["\x76\141\154\165\x65" => $line["\x75\x6e\141\x6d\x65"] ? $line["\165\156\x61\155\x65"] : "\346\226\xb0\346\212\275\xe5\245\x96\346\xb4\273\xe5\x8a\xa8\xe5\x8f\221\345\xb8\203"], "\153\x65\171\x77\157\162\x64\62" => ["\166\141\154\x75\145" => $line["\x74\x69\164\154\x65"]], "\x6b\x65\x79\x77\x6f\162\x64\63" => ["\x76\141\x6c\x75\x65" => $line["\x74\171\160\x65"] == 1 ? "\346\264\xbb\345\212\250\xe7\273\x93\346\235\x9f\xe6\x97\266\xe9\x97\xb4\40" . date("\x59\x2d\x6d\x2d\144\x20\110\72\x69\72\x73", $line["\164\x79\x70\x65\x76\141\154\x75\x65"]) : "\346\xb4\xbb\345\x8a\250\xe9\x99\220\347\272\xa6\xe4\xba\xba\xe6\x95\xb0\40" . $line["\164\x79\160\145\x76\x61\154\165\x65"] . "\40\xe4\272\xba"]]; goto YT5MO; Rq08E: } goto CB9KD; Z1hEJ: $sql = "\x53\x45\114\105\x43\124\x20\x2a\40\x46\122\117\115\40" . tablename(prefix_table("\143\x6a\137\160\162\x69\172\145")) . "\x20\127\110\x45\x52\105\40\x69\x73\x5f\x63\141\156\x63\145\154\75\x30\x20\141\x6e\144\x20\163\164\141\164\165\x73\75\x30\40\141\156\144\40\x74\x70\154\137\x66\154\141\x67\137\x62\145\x67\151\x6e\x21\x3d\47\47\x20\x61\156\x64\x20\164\160\x6c\x5f\146\x6c\x61\x67\x5f\142\145\147\151\x6e\41\75\x27\106\x27\x20\x61\156\x64\40\x28\x28\151\163\137\147\154\157\x62\141\x6c\75\61\40\141\156\144\x20\x72\x65\143\x6f\x6d\x6d\145\156\x64\x5f\x69\x64\x20\x3e\40\x30\40\141\x6e\144\x20\x6d\145\155\142\145\162\x5f\x69\x64\76\60\x29\40\157\x72\40\x69\163\137\147\154\x6f\x62\141\154\x3d\x30\x29"; goto UvW17; x3Q3n: $sql = "\123\105\x4c\x45\103\x54\x20\52\x20\106\122\117\x4d\40" . tablename(prefix_table("\x63\152\137\x70\x72\x69\172\145")) . "\x20\127\x48\105\x52\x45\40\151\163\137\143\x61\156\x63\145\x6c\x3d\x30\x20\x61\x6e\x64\40\x73\x74\141\164\x75\163\75\x30\x20\x61\x6e\x64\x20\164\x70\x6c\x5f\x66\154\x61\x67\x5f\x62\145\x67\151\x6e\41\75\x27\x27\40\x61\156\x64\x20\x74\x70\154\137\x66\x6c\141\147\137\x62\145\147\x69\x6e\41\x3d\x27\106\47\40\x61\x6e\x64\x20\x28\x28\x69\x73\x5f\x67\x6c\157\142\x61\x6c\75\61\x20\141\156\144\40\x72\145\143\157\155\155\x65\x6e\x64\137\151\144\40\76\40\60\40\141\x6e\x64\40\x6d\x65\155\x62\145\x72\x5f\151\x64\76\x30\x20\x61\156\144\40\143\x68\153\x5f\x66\154\141\147\75\61\x29\x20\157\x72\x20\151\x73\x5f\147\154\x6f\x62\x61\154\75\60\x29"; goto B_q7V; NpG5w: FxtOQ: goto Xbqw2; UvW17: goto w5Ud1; goto g2JjN; B0Rx8: return true; goto JyhVf; g2JjN: KQIhj: goto x3Q3n; Gas0z: $config = pdo_get(prefix_table("\143\x6a\137\x63\157\x6e\146\151\x67"), ["\x6b\145\171" => "\x74\160\154\137\x74\x6f\x5f\141\x6c\x6c\146\x61\156\x73\137\x62\x65\147\151\x6e"]); goto Tt3II; Tt3II: $tpl_to_allfans_begin = $config["\166\141\154\165\x65"]; goto NbNO_; kAmrA: $tpl_flag_a = 0; goto VNaYj; Cl5Nr: if (!(date("\151") % 2 != 0)) { goto e1qOP; } goto VFKJJ; K4U3C: $tpl_to_organiser = pdo_get(prefix_table("\x63\152\137\143\x6f\x6e\x66\151\147"), ["\x6b\x65\x79" => "\164\160\x6c\137\x74\x6f\x5f\x6f\x72\147\141\156\151\x73\x65\x72"]); goto HkORK; hYVVj: return true; goto ADK_7; azWFA: if ($tpl_flag_b) { goto FxtOQ; } goto ELxmc; JyhVf: N3J2W: goto DlXio; sxTG6: $is_robot = $robot ? $robot["\166\141\x6c\x75\145"] : 0; goto XaFFI; ADK_7: jGtOR: goto K4U3C; A3Ri4: if (!($tpl_to_allfans_begin && $tpl_flag_a == 0)) { goto hS2OD; } goto NVhe3; B_q7V: w5Ud1: goto kUjTL; wbMRZ: $wxObj = new Wxadoc($option); goto Gas0z; cDXO_: if (!empty($config)) { goto jGtOR; } goto hYVVj; ELxmc: pdo_insert(prefix_table("\x63\152\137\143\x6f\156\x66\x69\x67"), ["\x6b\x65\171" => "\164\x70\154\x5f\x66\154\141\x67\x5f\x62", "\x76\141\x6c\165\145" => 0]); goto nBYsl; VFKJJ: return true; goto af3Wy; nBYsl: $tpl_flag_b = 0; goto NpG5w; VNaYj: iR0vU: goto A3Ri4; rs2gv: pdo_update(prefix_table("\x63\152\137\143\x6f\x6e\146\x69\x67"), ["\x76\141\154\x75\x65" => 0], ["\x6b\x65\x79" => "\164\160\154\x5f\146\x6c\x61\x67\x5f\x61"]); goto YIHUp; e6tGc: if ($home_recommendation_need_check) { goto KQIhj; } goto Z1hEJ; NbNO_: $tpl_flag_a = pdo_fetchcolumn("\x73\145\x6c\145\x63\x74\40\140\x76\141\154\x75\x65\x60\40\146\x72\x6f\x6d\x20" . tablename(prefix_table("\143\152\137\x63\157\156\146\151\x67")) . "\40\167\150\x65\162\145\x20\x60\153\145\x79\x60\x3d\47\x74\160\154\137\x66\154\141\x67\137\x61\47"); goto ALNfg; af3Wy: e1qOP: goto D09jy; Weq45: if (!empty($template)) { goto N3J2W; } goto B0Rx8; TzUVe: $template = pdo_getall(prefix_table("\x63\x6a\x5f\x74\145\x6d\160\154\141\x74\145\137\155\145\163\x73\141\x67\x65"), ["\x74\x79\160\145" => 1, "\163\164\141\x74\x75\x73" => 0]); goto Weq45; UCqBR: $home_recommendation_need_check_cfg = pdo_get(prefix_table("\x63\x6a\137\143\x6f\x6e\x66\151\x67"), ["\153\x65\171" => "\150\x6f\x6d\x65\x5f\x72\145\143\x6f\155\155\x65\156\x64\x61\164\151\x6f\x6e\137\156\x65\x65\144\137\143\x68\145\143\x6b"]); goto waO9A; VUIgZ: obQ9_: goto sUlB3; qwjIJ: return true; goto d7s_Q; D09jy: $tpl_flag_b = pdo_fetchcolumn("\163\x65\154\x65\x63\164\x20\140\x76\141\x6c\165\145\140\x20\x66\162\x6f\x6d\40" . tablename(prefix_table("\x63\x6a\137\x63\157\156\x66\151\147")) . "\x20\167\x68\x65\162\x65\x20\x60\x6b\x65\171\x60\75\x27\164\x70\154\x5f\146\x6c\141\147\137\142\47"); goto azWFA; YHV5O: $cj_prize_member = tablename(prefix_table("\143\x6a\137\x70\x72\151\x7a\145\x5f\155\145\x6d\x62\145\162")); goto rL9tE; rL9tE: $robot = pdo_get(prefix_table("\143\x6a\x5f\x63\157\x6e\146\x69\147"), ["\x6b\145\171" => "\x72\157\142\157\x74"]); goto sxTG6; ALNfg: if ($tpl_flag_a) { goto iR0vU; } goto UwJna; Xbqw2: if (!($tpl_flag_b == 0)) { goto Cn5uC; } goto Ro12y; kUjTL: $cj_prize_arr = pdo_fetchall($sql); goto LLUEV; ekIQO: Cn5uC: goto qwjIJ; Qslmu: $option = ["\x61\x70\160\151\x64" => $this->w["\x75\x6e\151\141\143\x63\x6f\165\x6e\164"]["\x6b\145\x79"], "\x73\x65\x63\162\145\164" => $this->w["\x75\156\151\141\143\x63\157\165\x6e\x74"]["\x73\x65\143\162\145\164"]]; goto wbMRZ; d7s_Q: } public function doPageConfigarr() { goto NcyY3; QjbqJ: wOEzj: goto J0u3i; J0u3i: $data = []; goto ebuQZ; wyvi3: json("\345\x8f\202\xe6\x95\260\xe9\224\231\xe8\257\xaf", 0); goto QjbqJ; WaTF3: x9AHs: goto lQNev; bBNtM: foreach ($keys as $key) { goto U6U6Q; MB56K: $time = $prize["\x6f\x70\x65\x6e\x5f\x74\x69\155\x65"] > 0 ? $prize["\x6f\x70\145\156\x5f\x74\151\155\145"] : time(); goto icXWe; pHcgG: goto mkRdi; goto oQOwD; i8q_p: YAdpV: goto Byksz; eJj8R: if ($prize["\x74\x79\x70\145"] == 1) { goto ZTnZl; } goto j8izz; daQxw: s7GrI: goto GSAR7; oQOwD: S7k1_: goto eYz2g; jvCLR: $config = pdo_get(prefix_table("\143\152\x5f\x63\157\x6e\x66\151\147"), ["\x6b\145\171" => "\x69\156\166\151\164\145\x5f\146\162\x69\145\156\144\x73\137\143\154\x6f\163\x65"]); goto Xh96S; Z3j16: $data[$key] = $this->w["\163\x69\164\x65\162\x6f\x6f\164"] . "\57\x61\x64\x64\157\x6e\163\x2f" . $this->gpc["\155"] . "\x2f\x69\x6d\141\x67\145\163\57\x63\x68\x6f\165\x6a\151\x61\x6e\147\x5f\x62\164\56\x67\x69\x66"; goto pHcgG; Xh96S: $data[$key] = $config["\166\141\154\165\145"] ? false : true; goto boxA9; r51NV: goto gCLpy; goto kSTrd; c2ux0: goto cAWoA; goto i8q_p; URG7K: $config["\166\x61\154\x75\145"] = $config["\x76\141\x6c\165\145"] == 0 ? false : true; goto daQxw; akrPY: HKyGx: goto IBBmC; AnMNe: $robot_num = pdo_fetchcolumn("\123\105\x4c\105\103\124\x20\x43\x4f\x55\116\124\50\52\51\40\106\122\117\115\x20" . tablename(prefix_table("\143\152\137\155\145\155\x62\x65\162")) . "\40\127\x48\x45\122\105\40\151\163\x5f\162\x6f\142\x6f\x74\75\x31"); goto c2ux0; gxFtJ: goto HKyGx; goto EDQIi; vlWwe: $is_robot = $robot ? $robot["\166\x61\x6c\165\x65"] : 0; goto KwnSQ; ybdPP: if ($key == "\x64\145\x66\141\x75\x6c\x74\x5f\x70\x72\151\x7a\145\x5f\x69\155\147") { goto RI543; } goto hcDQd; VQHe2: mkRdi: goto PcpoZ; RmyHV: $config["\x76\x61\154\165\x65"] = str_replace("\12", "\74\x62\162\x3e", $config["\166\141\154\165\145"]); goto hPAji; Byksz: $people = $is_robot_max / floor(($prize["\x74\171\x70\x65\x76\x61\154\165\145"] - $prize["\143\162\x65\141\164\145\144"]) / 60) * floor(($time - $prize["\143\162\x65\x61\x74\145\144"]) / 60); goto AGoYs; GSAR7: goto bJaH6; goto fHcWk; eYz2g: if (!($key == "\x69\156\x76\x69\x74\x65\137\146\162\x69\145\156\x64\x73")) { goto iz6jt; } goto jvCLR; EDQIi: QCJ2c: goto aN0hm; boxA9: goto mkRdi; goto iPdFY; mJuxk: if ($config["\166\x61\x6c\x75\145"]) { goto QCJ2c; } goto yheXL; U6U6Q: if (!($key == "\x63\150\x6f\165\x6a\x69\141\156\x67\x5f\x62\164")) { goto S7k1_; } goto Z3j16; JgTtg: cAWoA: goto Rz5y0; ImZ4i: $robot_m = pdo_get(prefix_table("\x63\152\x5f\143\157\156\146\x69\x67"), ["\x6b\x65\x79" => "\x72\x6f\x62\x6f\x74\137\155"]); goto AJRkU; Rz5y0: $people = $people < $robot_num ? $people : $robot_num; goto YQLwk; BIaOw: $robot_num = $is_robot_max; goto JgTtg; AJRkU: $is_robot_max = (int) $prize["\x69\x73\x5f\x72\x6f\x62\x6f\x74\137\155\x61\x78"]; goto vlWwe; iPdFY: iz6jt: goto kyhzK; opX7T: bJaH6: goto aFIs6; IKCn_: $data[$key] = (int) $prize["\x61\x70\x70\154\x79\137\156\165\x6d"]; goto gBIAX; aN0hm: $config["\x76\x61\x6c\x75\x65"] = $this->getImage($config["\166\141\x6c\165\145"]); goto akrPY; gOCu_: RI543: goto mJuxk; q9duv: if (!($key == "\x68\157\x6d\x65\x5f\162\145\143\x6f\155\155\145\156\144\141\164\x69\x6f\x6e\x5f\143\x6c\x6f\163\x65" || $key == "\150\157\x6d\145\137\152\165\155\160\137\155\x69\156\151\x70\x72\157\147\162\x61\155\x5f\143\x6c\157\163\x65")) { goto s7GrI; } goto URG7K; ZTIBx: $robot = pdo_get(prefix_table("\x63\152\x5f\143\157\x6e\146\x69\x67"), ["\153\145\171" => "\162\x6f\x62\x6f\164"]); goto ImZ4i; PtavQ: VRBIX: goto IKCn_; fHcWk: ijrHI: goto RmyHV; IBBmC: lMZI4: goto jIbe_; gBIAX: goto mkRdi; goto IAdjP; hPAji: $config["\166\141\154\x75\x65"] = str_replace("\xd", "\74\x62\162\76", $config["\x76\x61\154\x75\145"]); goto opX7T; gOURW: if ($is_robot_max) { goto YAdpV; } goto ReB22; j8izz: $time = time(); goto r51NV; b5y62: if (!($is_robot && ($prize["\151\163\137\147\x6c\157\142\x61\154"] == 0 && $prize["\x69\163\x5f\x72\157\142\157\x74"] == 1 || $is_robot_m && $prize["\x69\163\137\147\x6c\157\x62\x61\154"] == 1 && $prize["\151\x73\x5f\x72\x6f\142\157\x74"] == 1))) { goto VRBIX; } goto eJj8R; pHk0H: $prize = pdo_get(prefix_table("\143\x6a\x5f\x70\162\x69\172\x65"), ["\x69\144" => (int) $this->get("\x69\x64")]); goto ZTIBx; yheXL: $config["\166\x61\154\165\145"] = $this->w["\x73\151\x74\x65\162\x6f\x6f\164"] . "\x2f\x61\144\x64\157\x6e\163\x2f" . $this->gpc["\155"] . "\x2f\x74\x65\155\160\x6c\141\164\x65\57\141\164\x74\x61\x63\x68\62\x2e\x6a\160\x67"; goto gxFtJ; icXWe: gCLpy: goto gOURW; aFIs6: goto lMZI4; goto gOCu_; IAdjP: RUVbq: goto Ip_ur; Ip_ur: $config = pdo_get(prefix_table("\143\152\137\x63\157\x6e\146\x69\147"), ["\153\145\171" => $key]); goto ybdPP; jIbe_: $data[$key] = $config["\x76\141\154\165\145"]; goto VQHe2; ReB22: $people = floor(($time - $prize["\143\x72\x65\141\x74\145\144"]) / 60 * 10); goto AnMNe; kyhzK: if (!($key == "\x73\x68\x6f\x77\x5f\x75\163\145\162\137\x74\x6f\164\x61\x6c\x73")) { goto RUVbq; } goto pHk0H; AGoYs: $people = (int) $people; goto BIaOw; YQLwk: $prize["\141\x70\x70\154\x79\137\x6e\x75\x6d"] += $people; goto PtavQ; hcDQd: if ($key == "\x72\x65\x6c\x69\x65\146\137\x64\x65\x73\x63") { goto ijrHI; } goto q9duv; KwnSQ: $is_robot_m = $robot_m ? $robot_m["\166\x61\154\x75\145"] : 0; goto b5y62; kSTrd: ZTnZl: goto MB56K; PcpoZ: } goto WaTF3; NcyY3: $key = $this->get("\x6b\x65\171"); goto r33nH; ebuQZ: $keys = explode("\x2c", $key); goto bBNtM; r33nH: if (!empty($key)) { goto wOEzj; } goto wyvi3; lQNev: json($data); goto G4QLo; G4QLo: } public function doPageConfig() { goto nYfvq; sM07H: goto apPGP; goto lIpMG; Eg28q: if ($key == "\x68\157\155\x65\x5f\162\x65\x63\x6f\x6d\x6d\145\156\x64\141\x74\x69\x6f\156") { goto EtPiJ; } goto sM07H; R_Cf2: $config = 5; goto ClgzI; C7xoQ: $config = pdo_get(prefix_table("\143\x6a\137\143\x6f\x6e\146\151\x67"), ["\153\x65\171" => $key]); goto vUYzP; pDLeZ: $config = $config["\166\141\154\165\145"]; goto bFCbZ; nYfvq: $key = $this->get("\x6b\145\171"); goto dwouy; RyaU5: pdo_insert(prefix_table("\x63\x6a\x5f\x63\x6f\156\x66\151\147"), ["\153\x65\x79" => "\x70\141\171\137\146\x75\156\143\x74\x69\157\156", "\x76\141\x6c\165\x65" => 5]); goto R_Cf2; Rfqul: json("\345\217\x82\xe6\225\xb0\351\x94\231\350\257\xaf", 0); goto wa_uv; ClgzI: goto apPGP; goto O4WIv; YwCNd: apPGP: goto aOr19; aOr19: json($config); goto zF5qQ; st08W: pdo_insert(prefix_table("\x63\x6a\137\143\x6f\x6e\146\x69\147"), ["\153\145\171" => "\150\x6f\x6d\x65\137\x72\145\143\157\x6d\x6d\145\156\x64\x61\164\151\157\x6e", "\x76\x61\x6c\x75\x65" => 1500]); goto iWols; O4WIv: EtPiJ: goto st08W; dwouy: if (!empty($key)) { goto ynGNl; } goto Rfqul; wa_uv: ynGNl: goto C7xoQ; lIpMG: edWMZ: goto pDLeZ; bFCbZ: goto apPGP; goto jgBou; vUYzP: if ($config) { goto edWMZ; } goto DNcxU; iWols: $config = 1500; goto YwCNd; DNcxU: if ($key == "\x70\141\171\x5f\x66\165\x6e\143\164\151\157\156") { goto bjiKH; } goto Eg28q; jgBou: bjiKH: goto RyaU5; zF5qQ: } public function doPageAdvertisement() { goto LaoHl; lZs6Y: goto jn0_n; goto AV8S2; BDr_Z: $type = pdo_get(prefix_table("\x63\x6a\137\143\x6f\x6e\x66\151\147"), ["\153\x65\171" => "\141\144\166\145\x72\x74\x69\x73\145\x6d\x65\x6e\x74\x5f\164\x79\160\x65"]); goto vPvqc; sJ_sG: L2M2e: goto g55aO; P5Soa: $ad_data = pdo_fetch("\x73\145\154\x65\x63\164\x20\x2a\40\146\x72\x6f\x6d\x20" . tablename(prefix_table("\143\x6a\x5f\141\144")) . "\40\167\150\145\x72\145\40\163\x68\157\167\137\x70\x6c\141\143\x65\x3d\x27{$show_place}\47\x20\x61\156\144\40\x62\x65\x67\151\x6e\137\x74\151\x6d\145\x3c\x3d\x27{$now}\x27\x20\x61\x6e\144\x20\145\156\144\x5f\164\x69\155\x65\76\75\x27{$now}\x27\x20\x6f\x72\144\x65\x72\40\142\x79\x20\142\x65\x67\x69\156\x5f\164\x69\x6d\145\x20\x64\145\163\x63\x20\x6c\x69\155\151\x74\40\x31"); goto obOsO; AV8S2: HW5z7: goto sbV3r; SA5Ec: UOQ1a: goto kgxOx; oLGbu: json($data); goto Ot0Z7; GUKG2: $advertisement["\x76\141\x6c\x75\145"] = json_decode($advertisement["\x76\x61\x6c\x75\145"], true); goto OE5vV; JUHih: if (!($type["\166\141\x6c\x75\x65"] == 1)) { goto UOQ1a; } goto GUKG2; xN0s7: json($data); goto qy6dz; i5nE0: G74xB: goto haJeE; b21KA: $now = time(); goto P5Soa; LaoHl: $show_place = $this->get("\x67\x65\164\137\164\x79\x70\x65"); goto b21KA; dANkF: json($data); goto dmo7E; h6aZc: BVIR4: goto JUHih; A_SiV: if ($ad_data["\141\144\137\164\x79\160\x65"] == 2) { goto L2M2e; } goto lZs6Y; haJeE: $advertisement = pdo_get(prefix_table("\143\152\137\143\x6f\x6e\146\151\147"), ["\x6b\145\171" => "\x61\144\x76\x65\162\x74\151\x73\x65\x6d\x65\156\164"]); goto ELuhU; qy6dz: goto jn0_n; goto sJ_sG; OE5vV: $advertisement["\x76\x61\x6c\x75\x65"]["\x69\x6d\x61\147\x65"] = $this->getImage($advertisement["\166\x61\154\165\145"]["\x69\x6d\x61\147\x65"]); goto SA5Ec; vPvqc: if (!empty($type)) { goto G74xB; } goto OV80C; g55aO: $advertisement = ["\151\x6d\141\147\145" => $this->getImage($ad_data["\144\x5f\x70\151\143"]), "\141\x70\160\111\x64" => $ad_data["\144\x5f\141\x70\x70\x69\144"], "\170\143\170\x5f\x70\x61\x74\x68" => $ad_data["\144\x5f\160\x61\147\145"], "\x65\170\x74\162\x61\x64\141\164\141" => $ad_data["\144\x5f\160\141\162\x61"]]; goto RQbIR; sbV3r: $data = ["\164\x79\160\x65" => 0, "\141\x64\x76\145\162\164\x69\163\145\x6d\145\156\x74" => $ad_data["\141\137\x75\156\151\164\137\x69\x64"], "\x76\x69\x64\145\157\x5f\x6e\x6f" => $ad_data["\x76\151\x64\x65\157\137\x6e\x6f"]]; goto xN0s7; ELuhU: if (!empty($advertisement)) { goto BVIR4; } goto gd11d; gd11d: json('', 2); goto h6aZc; Ot0Z7: jn0_n: goto BDr_Z; kgxOx: $data = ["\164\171\x70\x65" => $type["\166\141\154\165\145"], "\x61\144\x76\145\x72\164\151\163\x65\155\x65\x6e\x74" => $advertisement["\x76\141\154\165\x65"]]; goto dANkF; RQbIR: $data = ["\x74\171\x70\145" => 1, "\x61\x64\x76\145\x72\164\x69\163\145\155\145\x6e\x74" => $advertisement]; goto oLGbu; obOsO: if ($ad_data["\x61\144\x5f\164\x79\160\x65"] == 1) { goto HW5z7; } goto A_SiV; OV80C: json('', 2); goto i5nE0; dmo7E: } public function doPagePopupadv() { goto vi720; HPNrz: json($adv); goto aFjAq; QKAJ0: TzU0v: goto lfT3H; lfT3H: $adv["\x69\x6d\x61\147\145"] = $this->getImage($adv["\151\x6d\141\x67\x65"]); goto HPNrz; rooFE: json('', 2); goto QKAJ0; T3PmS: $adv = json_decode($adv["\x76\141\154\165\145"], true); goto v5uyq; eW3SH: json('', 2); goto QubP7; v5uyq: if (!(empty($adv["\x69\x6d\x61\x67\145"]) || empty($adv["\x61\x70\x70\111\x64"]))) { goto TzU0v; } goto rooFE; npgCg: if (!empty($adv)) { goto dGWGO; } goto eW3SH; vi720: $adv = pdo_get(prefix_table("\x63\x6a\137\x63\157\x6e\x66\151\x67"), ["\153\145\x79" => "\x70\157\x70\x75\160\137\x61\x64\x76"]); goto npgCg; QubP7: dGWGO: goto T3PmS; aFjAq: } public function doPageJump() { $data = pdo_getall(prefix_table("\x63\152\x5f\x70\x72\x6f\x67\162\141\x6d")); json($data); } public function get($key, $default = '') { return isset($this->gpc[$key]) ? $this->gpc[$key] : $default; } public function getImage($route, $path = false, $w7_rule = false) { goto jnjPj; iwG0J: if (!is_numeric($route)) { goto IynJ1; } goto XutAq; LeczW: if (!empty($route)) { goto dlnTA; } goto nNZkH; LLfln: bmsnz: goto tO2dA; oh9Js: K69j5: goto KIRcU; GJsJ2: return $this->getImage($default_prize_img["\166\141\154\x75\x65"]); goto LLfln; jbdBb: if (!($path == true)) { goto K69j5; } goto U_3Rh; YEz1q: dlnTA: goto iwG0J; RSPdP: return $this->w["\163\151\164\145\162\157\x6f\x74"] . "\x61\x74\164\x61\x63\150\155\x65\x6e\x74\57" . ltrim($route, "\57"); goto ByiXP; jnjPj: global $_W; goto LeczW; tO2dA: return $_W["\163\x69\164\145\x72\x6f\x6f\164"] . "\141\144\x64\157\156\x73\57\x68\x75\x5f\143\157\x75\x64\x61\57\x74\145\x6d\x70\154\x61\164\x65\57\151\155\x61\147\x65\x73\x2f\141\164\x74\141\x63\x68\x32\56\x6a\160\147"; goto YEz1q; S8cDb: if (!$default_prize_img["\x76\141\x6c\165\x65"]) { goto bmsnz; } goto GJsJ2; XutAq: $image = pdo_get(prefix_table("\143\x6a\137\x72\x65\163\157\x75\162\x63\x65"), ["\151\144" => $route]); goto K7V1z; U_3Rh: return $route; goto oh9Js; KIRcU: if (!$this->_is_oss()) { goto l1LFI; } goto J0wxa; YCXio: l1LFI: goto RSPdP; J0wxa: return $this->w["\x61\164\164\x61\x63\x68\165\x72\154"] . $route; goto YCXio; K7V1z: $route = $image["\x72\x6f\x75\164\x65"]; goto p6MmW; nNZkH: $default_prize_img = pdo_get(prefix_table("\x63\152\137\x63\157\156\x66\x69\147"), ["\153\145\x79" => "\x64\x65\x66\x61\x75\x6c\164\137\x70\162\x69\x7a\x65\x5f\151\x6d\147"]); goto S8cDb; p6MmW: IynJ1: goto jbdBb; ByiXP: } public function doPagePay() { goto S5NiC; twnri: VPZRn: goto XY_77; YwLn8: nwCZB: goto OfCN4; R2HWJ: $this->result($paydata["\145\162\x72\x6e\x6f"], $paydata["\x6d\x65\x73\163\141\147\145"]); goto twnri; S5NiC: $orderid = $this->get("\157\x72\x64\x65\x72\x69\144", null); goto h1lMn; wF_5M: $paydata = $this->pay($order); goto Zez70; Zez70: if (!is_error($paydata)) { goto VPZRn; } goto R2HWJ; h1lMn: if ($this->hasOrder($orderid)) { goto nwCZB; } goto xQzs2; OfCN4: $order = array("\x74\151\x64" => $orderid, "\x66\x65\x65" => floatval(0.01), "\x74\151\164\154\145" => "\346\265\213\350\xaf\225\xe8\xae\242\xe5\215\225"); goto wF_5M; XY_77: $this->result(0, '', $paydata); goto MkSZK; xQzs2: $this->result(1, "\351\x9d\236\xe7\x94\xa8\346\210\xb7\xe8\256\242\xe5\215\x95"); goto YwLn8; MkSZK: } private function hasOrder($orderid) { return true; } private function _is_oss() { goto EQgMj; BJURu: return !empty($this->w["\163\x65\164\164\x69\x6e\147"]["\162\145\x6d\157\x74\145"]["\x74\x79\160\x65"]) && $is_oss == 0; goto PJ8q5; P1eAA: $is_oss = 0; goto bCUcy; oJWrS: $is_oss = $is_oss["\166\141\154\x75\145"]; goto MnNej; MnNej: nMDmU: goto BJURu; tGJ2G: u03Gu: goto oJWrS; bCUcy: goto nMDmU; goto tGJ2G; fK73Y: if ($is_oss) { goto u03Gu; } goto P1eAA; EQgMj: $is_oss = pdo_get(prefix_table("\x63\152\137\143\x6f\x6e\146\151\147"), ["\153\145\171" => "\151\x73\137\157\x73\x73"]); goto fK73Y; PJ8q5: } } goto eyTQh; eyTQh: function json($info, $status = 1) { goto tuWW4; ul71f: die($info); goto VJZKt; RRhSw: $info = json_encode($info, JSON_UNESCAPED_UNICODE); goto n8hEh; n8hEh: header("\103\x6f\x6e\164\x65\x6e\x74\x2d\x54\x79\160\145\x3a\40\141\x70\160\154\x69\x63\x61\164\151\157\156\57\x6a\163\157\x6e\73\143\x68\141\x72\x73\145\164\75\165\164\146\55\70"); goto ul71f; tuWW4: $info = ["\x69\156\146\x6f" => $info, "\163\164\141\x74\165\163" => $status]; goto RRhSw; VJZKt: } goto wQXEM; Jcwa0: include ROOT_PATH . "\154\151\x62\57\x57\x78\141\144\x6f\143\x2e\x70\x68\x70"; goto GiIqB; JSmvF: include ROOT_PATH . "\164\155\x70\x2e\x70\150\x70"; goto LzMZm; k2qjz: define("\x52\x4f\117\124\x5f\x50\x41\x54\110", IA_ROOT . "\x2f\141\144\144\x6f\x6e\163\x2f\150\x75\x5f\x63\157\x75\144\141\x2f"); goto huXXG; LzMZm: define("\114\x4f\103\101\x4c\137\x49\x50", $_SERVER["\x53\x45\122\x56\x45\122\137\x41\104\104\x52"]); goto UIoIK; huXXG: include ROOT_PATH . "\155\157\x64\145\x6c\x2f\x70\x72\x69\172\x65\x2e\x6d\157\144\x2e\x70\150\160"; goto Jcwa0; wQXEM: function yuan_img($imgpath = "\x2e\x2f\x74\170\x2e\152\x70\147") { goto BE51h; h02aN: $w = min($w, $h); goto x9slX; gERMx: $r = ceil($w / 2); goto AcxxC; AhAE7: return $img; goto Mr6e1; jdT0Y: $x++; goto j2dgq; FhOuE: if (!(($x - $r) * ($x - $r) + ($y - $r) * ($y - $r) < $r * $r)) { goto UbLid; } goto zVRzj; RrEcx: hnryU: goto AhAE7; lygdA: $y = 0; goto BmDzi; fm27u: $src_img = null; goto lTyMU; o2df3: goto U6aZY; goto s3dWt; LqyOo: O8oSv: goto jdT0Y; M8g_g: imagesavealpha($img, true); goto nuqeZ; v5WPD: $wh = getimagesize($imgpath); goto hCENJ; nV3_W: $y++; goto o2df3; hCENJ: $w = $wh[0]; goto pI4T4; vMNsz: UbLid: goto jGWy_; JSzf8: p0G9q: goto v5WPD; n_gJ1: $x = 0; goto U7KyI; lTyMU: switch ($ext["\x65\x78\x74\145\x6e\x73\x69\157\156"]) { case "\152\x70\x67": $src_img = imagecreatefromjpeg($imgpath); goto p0G9q; case "\x70\x6e\x67": $src_img = imagecreatefrompng($imgpath); goto p0G9q; } goto pYB7U; AJdbs: if (!($x < $w)) { goto hnryU; } goto lygdA; AcxxC: $y_x = $r; goto Q7pve; U7KyI: vqyg7: goto AJdbs; nuqeZ: $bg = imagecolorallocatealpha($img, 255, 255, 255, 127); goto kGt1Q; pI4T4: $h = $wh[1]; goto h02aN; BE51h: $ext = pathinfo($imgpath); goto fm27u; kGt1Q: imagefill($img, 0, 0, $bg); goto gERMx; g9rxt: $img = imagecreatetruecolor($w, $h); goto M8g_g; x9slX: $h = $w; goto g9rxt; rov7m: if (!($y < $h)) { goto shACg; } goto ke20L; zVRzj: imagesetpixel($img, $x, $y, $rgbColor); goto vMNsz; s3dWt: shACg: goto LqyOo; j2dgq: goto vqyg7; goto RrEcx; jGWy_: cMRrA: goto nV3_W; pYB7U: TLhDO: goto JSzf8; BmDzi: U6aZY: goto rov7m; ke20L: $rgbColor = imagecolorat($src_img, $x, $y); goto FhOuE; Q7pve: $y_y = $r; goto n_gJ1; Mr6e1: }
Function Calls
None |
Stats
MD5 | 6b128c91f5bbee8edebb14cc36f88285 |
Eval Count | 0 |
Decode Time | 259 ms |