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

Signing you up...

Thank you for signing up!

PHP Decode

<?php defined("\x49\x4e\x5f\x49\x41") or exit("\101\x63\143\x65\x73\163\x20\104\x65\x6e\1..

Decoded Output download

<?php 
defined("IN_IA") or exit("Access Denied"); class Lywywl_ztkModuleSite extends WeModuleSite { public function payResult($params) { goto GSLMs; Vx1it: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto pdLzT; Yw4sk: $userDrawRecordModel = array(); goto oy175; WGXvD: rhKmC: goto cTXqt; xLvqz: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto b7PSU; WKmtt: $joinPayModel["joins"] = 0; goto WHp_S; hx3Md: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto Jdu0L; VCn67: pdo_update(ztk_nopre_table("user_account"), $userUpdateModel, array("id" => $userModel["id"])); goto oAGbO; IYoK3: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["wallet"]}"; goto cchkC; XfdfK: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto yrLA5; dVHlM: if ($orderPayModel["types"] == 0) { goto m8Kcl; } goto BjE42; mSQjV: GXK6e: goto V4WaF; Nnl0q: Z7SmS: goto GW4u1; YHlbg: CTIuZ: goto AZ5Uc; YcDrp: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto LtlfZ; q8Uj1: XhUoj: goto t9awZ; zd7Op: NZ5FW: goto O3bcU; Y3tm5: r5Fyu: goto akOKY; ryKfg: $mobile = $joinUserModel["mobile"]; goto tm12P; fljyj: $draw_activity_model = pdo_get("lywywl_ztk_" . $tableName, array("id" => $object["draw_activity_id"], "uniacid" => $uniacid, "models" => 3)); goto Pxbqm; z_O2c: zJJio: goto bHhKq; Yslsc: $prize2Model["sys"] = mt_rand($min * 100, $max * 100) / 100; goto R1ZNc; oPfcK: $userDrawRecordModel["remark"] = ""; goto S7Ski; sL5jL: pdo_update(ztk_table("user_draw", false), array("wallet" => $prizeModel["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto T22se; eI8Ev: JJyE6: goto xmGYZ; ZSadn: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto tpAZC; Mn20G: pdo_update(ztk_table("user_draw", false), $join_draw_data, array("id" => $draw_id)); goto JWVhX; vyIBL: return true; goto ht6YK; oebvY: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, $obj_types, $object["id"]); goto cXywV; fn9lq: if (empty($virtualModel)) { goto WfqBs; } goto JMcQJ; OPy2M: $result = sendTplNotice($uniacid, $originModel["openid"], $postdata, $template_id, $url); goto dWB1H; K0KCu: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto DMr5v; PfvIT: $ali_accesskeyid = $config["ali_accesskeyid"]; goto IS_RM; xtSam: $content = str_replace("{WRITEOFFCODE}", $writecode_rebate, $content); goto cLR5J; ialjp: rS4ls: goto tYivN; Pxbqm: if (empty($draw_activity_model)) { goto WBLH1; } goto jlpr8; PQwAm: $param = ["name" => $userModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel_rebate["name"], "code" => $writecode_rebate]; goto NkvRO; eFOL7: hJwAi: goto JuhSo; jv4Rx: if (!($prizeModel["types"] == 6)) { goto KGeMw; } goto DMRJ2; FNoCa: $templatecode = $sms_tmp["templatecode"]; goto lJ4RS; CVzkM: $noticeMessage = "" . $prize2Model["name"]; goto hDaXA; V12vl: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto XYIFQ; W1n6_: if (!(!empty($userModel) && !empty($userModel["mobile"]))) { goto lQCml; } goto P5yPU; T82LB: $ali_accesskeyid = $config["ali_accesskeyid"]; goto mBydR; IYwr5: dUUgu: goto MqVFp; Z_ayf: $userDrawRecordModel = array(); goto DB0F4; zKz2C: if (intval($sms_tmp["types"]) == 0) { goto DjxR5; } goto Q6zQp; dOyJd: goto jObE5; goto Krj4A; S0rib: goto DMhKE; goto T1IxH; vm9Dh: if (empty($sms_tmp)) { goto cif83; } goto M40Kk; L3qCk: $userDrawRecordModel["createtime"] = time(); goto H2JwS; nuqXR: $userDrawRecordModel["money"] = $prize2Model["wallet"]; goto Xjfll; j3kac: $object["money"] = $object["front_money"]; goto upZuX; mDYIo: if (empty($sms_tmp)) { goto c2AjY; } goto t1i6q; CLTsw: if (intval($sms_tmp["types"]) == 0) { goto QWEXC; } goto dgta7; Ndtob: if (empty($join_id)) { goto wlkSC; } goto Njet9; SkVNI: $content = str_replace("{MONEY}", $drawModel["pay_money"] + $drawModel["pay_sys_money"], $content); goto fAdu2; JuhSo: goto N6fmn; goto OUwOu; kDVhr: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prizeModel["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto hNGW3; TXXf8: M25um: goto bLXJb; Q37gT: if (empty($result)) { goto TQ4G5; } goto F0jqQ; UUzti: $templatecode = $sms_tmp["templatecode"]; goto t11W3; cvlld: Helw6: goto byylZ; G_JgT: nRxYR: goto ZzHv1; slX5o: $sms_tmp_rebate = pdo_get(ztk_table("tmp_sms", false), array("id" => $buy_sms_rebate_id)); goto K1HYc; io5Rv: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto qixKm; jjcfc: zlPUu: goto sMV39; Ojidq: $origin_buy_types = 1; goto DYxHi; bL9tO: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto hx3Md; x_VEt: $prize2Model["red"] = mt_rand($min * 100, $max * 100) / 100; goto Te1xY; B1oCI: if (!(!empty($userModel) && !empty($userModel["mobile"]))) { goto EyeS6; } goto jw1Yi; ZObz1: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto m4ONn; RRuuw: $param = ["name" => $userModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "money" => $drawModel["pay_money"] + $drawModel["pay_sys_money"], "code" => $writecode]; goto Bs81H; ph6F0: jC6vO: goto CIme7; l2yYz: if (!($orderIntmallModel["is_fedex"] == 0)) { goto okloC; } goto OaDIU; KQTOn: GCz4T: goto D9Ebk; FUaRb: x1FrD: goto lT368; VrUXb: $prizeList_rebate = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "prizes_types" => 1, "status" => 1), array(), '', "sort asc"); goto KGpvL; XkNID: $hashids = Hashids::instance(6, "lywyztk", ''); goto luzJx; iggKg: pdo_update(ztk_table("user_draw", false), array("wallet" => $prize2Model["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto O_hHu; sMV39: Kc7VE: goto G8ZVb; L5G0s: pdo_update(ztk_table("obj_soliciting", false), array("get_num +=" => 1), array("id" => $object["id"])); goto ZtML7; od8Jm: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto yluyp; Eakw2: $code_draw_data["virtual_id"] = $virtualModel["virtual_id"]; goto tr5su; klsG3: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto ggono; tv6SX: $userDrawRecordModel["obj_id"] = $prizeModel_rebate["obj_id"]; goto Zz_VV; eZhyn: if (!(!empty($join2UserModel) && !empty($join2UserModel["mobile"]))) { goto n5mbb; } goto zKz2C; s2Fkd: dcJO0: goto ZfEyV; Vfq3R: nNI72: goto XlcZQ; QM2Fl: updateUserMoney($uniacid, $orderPayModel["openid"], -$pay_sys_money, $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto ySw2z; ZxpHz: goto gtzXw; goto dnaxR; GVCpE: if (intval($prizeModel["types"]) == 5) { goto qfhhl; } goto Iy4Fx; XtZ7Q: if (intval($prize2Model["types"]) == 3) { goto H96VU; } goto nkHxx; Sb94l: goto l01NV; goto sMrrh; BbKUU: sTBy5: goto JNIN7; d5Awl: if (!empty($prizeModel)) { goto ASDqo; } goto kFCfc; vFV9K: xJRTb: goto pk7Wa; bH7jh: $join_draw_data["end_time"] = $prizeModel["time_day"] * 24 * 60 * 60 + time(); goto IPtzx; v0002: $result = sendWeixinCard($joinUserModel["openid"], $prizeModel["card"], $uniacid); goto Ttj5V; oKFb3: tQ53T: goto dVhfR; tTfaR: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data); goto XkAn2; PXoP0: $prices_payment = 0; goto a_Kxf; Q9RNB: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prize2Model["wallet"])), array("id" => $join2Model["id"])); goto TwWgH; AZ5Uc: $result = pdo_insert(ztk_table("user_draw", false), $draw_data); goto jw2un; TGEki: $sign = $sms_tmp_rebate["sign"]; goto ihAi8; fZW9L: qfhhl: goto F4l_X; DjIdW: rb2mZ: goto PAsji; L98s1: $joinPayModel["headurl"] = $userModel["headurl"]; goto jot3v; MGZZA: Ycar1: goto nmPsW; uYUy6: $userDrawRecordModel["wishing"] = " "; goto Sk02F; aEOLY: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto hWiat; ZtoZm: sendSiteTplNotice($uniacid, $joinUserModel["openid"], $postdata, $template_id, $url); goto w8WtX; XP9hj: k4mop: goto SSk7X; HZ9wU: $userDrawRecordModel["openid"] = $join2UserModel["openid"]; goto q2MN2; bLXJb: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data2); goto zdURw; zV56P: emOyp: goto TRB50; i3fE1: $sql = "SELECT * FROM " . tablename("lywywl_ztk_obj_ladder") . " WHERE token = :token AND uniacid = :uniacid"; goto mgF7r; Ls_cw: $userDrawRecordModel["uniacid"] = $prizeModel_rebate["uniacid"]; goto GfLZA; JgoeR: $mobile = $join2UserModel["mobile"]; goto gxYUG; N7xxm: $result = sendWeixinCard($joinUserModel["openid"], $prizeModel["card"], $uniacid); goto rr8V8; nQK2v: $writeoff_types = 0; goto DQ8Zw; aAJFG: $userDrawRecordModel["obj_id"] = $prizeModel_rebate["obj_id"]; goto aARGg; Oa0m7: $content = $sms_tmp["content"]; goto Pqe0H; rTO1W: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto OPEmd; lf43r: BjnHw: goto Si94e; BnAoP: cif83: goto NG1Nn; YaIrG: BJYA1: goto wWS4Q; TkQXU: $userMoneyRecharge["uniacid"] = $uniacid; goto s4oTf; fn4Fp: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto j1yK0; DCl4q: if (intval($prizeModel["types"]) == 7) { goto JfNhj; } goto FGOXg; qvQju: uyLL6: goto DbzvJ; XNkJ6: if (intval($sms_tmp["types"]) == 0) { goto HkJ0D; } goto PfvIT; TPmYR: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $orderPayModel["openid"])); goto QMy0E; mr3D3: $origin_team_id = $originModel["team_id"]; goto jDNRP; GjaN9: F1vP7: goto mLvjM; Jnewd: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["sys"]}"; goto FLa6j; XMsRr: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["red"]}"; goto th33K; ZVE1y: oSkjw: goto bCpGO; DcHrw: dOh5h: goto qSdFI; B7EsH: $joinModel = pdo_get(ztk_nopre_table("user_union_join"), array("uniacid" => $uniacid, "id" => $join_id)); goto DJZPo; XzM4i: if (!(intval($object["is_sms"]) == 1)) { goto nQZ1k; } goto enHFB; dCSEi: xZcxn: goto YoKIn; NjaCh: $userMoneyRecharge["createtime"] = TIMESTAMP; goto scxAk; ipu0P: iYzaI: goto VQnf8; TsxQL: BMJol: goto Q730G; pnfUX: $userDrawRecordModel["types"] = 0; goto wQZPb; KLPgv: $userMoneyRecharge["createtime"] = TIMESTAMP; goto Jqlvq; fAdu2: $content = str_replace("{OBJ}", $object["title"], $content); goto vxEp7; UMKrD: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto KqCwR; hkMEU: $userDrawRecordModel["wishing"] = " "; goto QWMxz; ldtJG: $userDrawRecordModel = array(); goto M5lE1; sw731: pdo_update(ztk_table("marketing_user", false), array("buy_num +=" => 1), array("id" => $origin_id)); goto N0OG2; vUyjM: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto LZUqy; q0E6Q: $noticeMessage = "{$prizeModel["name"]}"; goto JbkW1; l7bQs: $content = str_replace("{OBJ}", $object["title"], $content); goto rZSD4; WG2DW: $content = $sms_tmp["content"]; goto r4iOi; OCnJd: $content = str_replace("{NICKNAME}", $join2UserModel["nickname"], $content); goto lp2E2; GhE15: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto mJFOj; PHLUE: $userDrawRecordModel["updatetime"] = time(); goto r_kkZ; dbI6t: $content = $content . " " . $sms_tmp["sign"] . ""; goto WKkSF; n6g3J: haUBf: goto BHSO5; wzb8J: PAToY: goto LZCCe; lUfcV: uChK0: goto qxtNg; bmpsJ: $userDrawRecordModel["types"] = 2; goto aUsju; ObCyH: if (!isSiteFollow($userModel["openid"])) { goto ZOanL; } goto xz7k9; pQi8K: goto pvkQe; goto JbQv2; Si94e: $sn = $config["sms_uid"]; goto XnJM9; QhD0P: c3nvk: goto GcUzZ; X8DPW: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prizeModel["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto cmOKe; rjMTu: if (intval($prize2Model["types"]) == 7) { goto tmJ7j; } goto fM8LK; itIHY: $result = sendSiteWeixinMchPay($joinUserModel["openid"], $prizeModel["wallet"] * 100, $prizeModel["name"], true, $uniacid, $config); goto PO4zZ; LEyzm: $virtualModel["openid"] = $join2UserModel["openid"]; goto G1wde; ifvO8: $userDrawRecordModel["act_name"] = ""; goto KihVP; fwt7z: updateUserMoney($uniacid, $join2UserModel["openid"], floatval($prize2Model["sys"]), $note, 1, $obj_types, $draw_id); goto fDDZF; UG3Xn: list($min, $max) = explode("-", $prizeModel_rebate["score"]); goto eNtki; QVxwW: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto P7gIj; dLftQ: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto kOqDv; fzd2M: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto ZEQGA; PlNGo: kzLt8: goto g3Jj8; guSV_: goto JD912; goto wLIiz; ZP3Vb: $templatecode = $sms_tmp["templatecode"]; goto Z6Tjh; BVh0Y: $content = $sms_tmp["content"]; goto nucmk; htGjV: NXvwW: goto BLFc7; l35Hu: $result = pdo_insert(ztk_table("user_draw", false), $draw_data); goto m2ZI7; tHeIS: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto VTlDh; surU4: $rid = get_rand($arr); goto gpM79; ztA8W: if (!($orderIntmallModel["sys_price"] > 0)) { goto edRYR; } goto r_5Ot; OBQta: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $orderPayModel["openid"])); goto ie5Uj; SthVI: if (empty($originModel)) { goto Hzhzx; } goto qvctX; O8mgt: wHboL: goto QOyNV; gBNsm: sendTplNotice($uniacid, $userModel["openid"], $postdata, $template_id, $url); goto YSuqy; uQg2j: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto xC3U9; igsi7: $userDrawRecordModel["updatetime"] = time(); goto iH8Hb; zNvl4: $templatecode = $sms_tmp["templatecode"]; goto I1nSK; Az0dW: if (empty($virtualModel)) { goto fAUIr; } goto XRvgx; JHWyT: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto w7NN8; Mf9Zh: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto KLPgv; cwWuz: $drawcode_data_model = pdo_get("lywywl_ztk_sys_drawcode_data", array("drawcode_id" => $draw_activity_model["drawcode_id"], "uniacid" => $uniacid, "code" => $drawcode)); goto DrOMf; fVFhn: WsPm6: goto S0rib; xokUT: if (empty($sms_tmp)) { goto REjWQ; } goto kKkl8; Oi3y3: pdo_update(ztk_table("user_ladder_join", false), array("joins +=" => 1), array("id" => $join_id)); goto pWy4q; v40iR: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["wallet"], "wallet_money +=" => $prizeModel["wallet"], "wallet_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto oKeUe; REqWS: $userDrawRecordModel["types"] = 0; goto uoqi6; lNFgQ: $prices_payment = $orderIntmallModel["pay_price"]; goto iUd2n; G53Se: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["score"] . ""; goto X7YKh; GsCtB: if (intval($prizeModel["types"]) == 6) { goto PPeTV; } goto Qh3Nz; GZxsG: JiDgB: goto NbztV; Pqe0H: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto ASEBm; t9ueg: if (intval($prize2Model["types"]) == 5) { goto aXNjR; } goto TqDBB; MIcyk: BRRoo: goto Eb0wP; PbSER: if ($prize2Model["is_sms"] == 1) { goto DVwpy; } goto JF0f1; UslxD: LE04T: goto SMgl2; C4_xv: list($min, $max) = explode("-", $prize2Model["sys"]); goto Yslsc; gIBAY: if (empty($virtualModel)) { goto AT0e6; } goto Eakw2; fM8LK: if (!(intval($prize2Model["types"]) == 9)) { goto RodPf; } goto Xt0lX; UVO0w: if (!(intval($prizeModel_rebate["types"]) == 9)) { goto PZ4iR; } goto QPqkA; KWXUT: NgUUu: goto GELan; Yuvfm: list($min, $max) = explode("-", $prizeModel["score"]); goto qn4eZ; zse5h: if (empty($result)) { goto ucDTN; } goto DepzP; QZhhv: if ($orderPayModel["status"] == 0) { goto kUwcS; } goto eghFy; OTUMD: $register_data = $orderPayModel["note"]; goto tXBN4; Thgef: uhDEa: goto V8yBS; rr8V8: $userDrawRecordModel = array(); goto qVRnO; s06V1: if (intval($prizeModel["types"]) == 1) { goto blejB; } goto bFAKE; S78NT: ztJvJ: goto zZnBF; vIJCu: $content = $sms_tmp["content"]; goto XQ2sO; tvlgo: wP8Gg: goto C_4e3; OFJrt: if (empty($sms_tmp)) { goto EJnVG; } goto pj5oJ; Dv9w5: $joinPayModel["obj_id"] = $object["id"]; goto y73qJ; nJQeX: if (intval($prize2Model["types"]) == 2) { goto nq6ID; } goto XtZ7Q; sHINx: return true; goto z_O2c; NjXIb: if (!($object["or_open_rebate2"] == 1)) { goto XDUIg; } goto za6cm; NyZpi: GOHOJ: goto DgBMY; IIgYa: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto l0zmd; QemMl: $obj_token = $objarr[0]; goto sqvIy; Ndq_u: $content = str_replace("{OBJ}", $object["title"], $content); goto RxfI0; euFt2: $content = $sms_tmp["content"]; goto Dxc33; vLUC6: pdo_update(ztk_table("user_draw", false), array("red" => $prizeModel["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto vvmDg; JbQv2: AhMci: goto xL7n7; xqWdo: if (empty($object["is_buy_draw"])) { goto Ad_Ih; } goto LGD43; lmcZv: $sms_tmp_id = $prizeModel["sms_tmp_id"]; goto bPhNU; gEO_y: gF7LG: goto F9oft; dUv_p: a3K2t: goto z_LvE; vr7pr: lbHtR: goto CLF8g; dAJ_r: $userDrawRecordModel["desc"] = $prizeModel["name"]; goto bYBUU; vv1lJ: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto Vickk; Lp6Uv: $userMoneyRecharge["createtime"] = TIMESTAMP; goto G7KQ_; U4hM5: if (empty($object["push_tmp"])) { goto uMWWs; } goto k0SUh; mgF7r: $objparams = array(":token" => $objarr[0], ":uniacid" => $uniacid); goto JcCkw; sSqgc: $sn = $config["sms_uid"]; goto OPrq6; BQjgX: $userUpdateModel["join_num"] = $userModel["join_num"] + 1; goto h3kX1; Nloh7: $writecode = $encode_id; goto UaC0h; DFqv1: $writecode = $encode_id; goto L83b0; AJFUG: $virtualModel["openid"] = $joinUserModel["openid"]; goto FX5ge; j9lwW: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prizeModel["virtual_id"], "status" => 1)); goto UAAp0; LZZ4W: if (intval($prizeModel["types"]) == 6) { goto UbXof; } goto DCl4q; Avxad: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["score"]}"; goto k3GvZ; t8oQZ: YneU9: goto xVtiH; GSLMs: include_once "inc/function/functions.php"; goto tdUqJ; xR3AT: PA6q4: goto KsOZA; DtMHs: $register_data = $orderPayModel["note"]; goto wJOVT; wbTn6: $userDrawRecordModel["card_id"] = $prize2Model["card"]; goto X4YD8; h2oxn: $result = sendSiteWeixinRedPacket($join2UserModel["openid"], floatval($prize2Model["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto ldtJG; OqMSw: Pr4YZ: goto XDBYp; xM5xG: if (empty($object["push_tmp"])) { goto qUJAa; } goto SJZGM; x2V6l: foreach ($prizeList as $key => $val) { goto y5EIS; KpM6i: goto X2XP9; goto o6lKF; spGV5: Q4KWp: goto hEXP1; RuvgZ: X2XP9: goto dB9P3; vjuFa: goto X2XP9; goto i5ZwC; B0Kuk: b6XJa: goto Ljp0m; SWrEb: goto X2XP9; goto w1N0F; SOVCE: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $joinUserModel["openid"]), "count(*)"); goto B_7O9; I5Y__: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $joinUserModel["openid"])); goto eCkMb; i5ZwC: jVNDS: goto B0Kuk; NP_5v: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto Q4KWp; } goto SOVCE; B_7O9: if (!($count >= intval($val["limit_num"]))) { goto QIwdW; } goto KpM6i; w1N0F: KmK51: goto NP_5v; eCkMb: if (!($count >= intval($val["limit_num"]))) { goto jVNDS; } goto vjuFa; y5EIS: if (!(intval($val["odds"]) <= 0)) { goto KmK51; } goto SWrEb; hEXP1: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto b6XJa; } goto I5Y__; Ljp0m: $arr[$key] = $val["odds"]; goto RuvgZ; o6lKF: QIwdW: goto spGV5; dB9P3: } goto qNMOo; QSnX1: O0gTC: goto eI8Ev; f3ilL: CxNVI: goto c1rhr; qVrHq: if (!(intval($object["buy_is_push"]) == 1)) { goto GGWXE; } goto bNMrg; s0pws: $ali_accesskeyid = $config["ali_accesskeyid"]; goto d82PF; bPhNU: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto vm9Dh; KBmyJ: CxdEQ: goto loVDz; cLR5J: $content = str_replace("{OBJ}", $object["title"], $content); goto JjKsq; RxTFu: $join_draw_data["end_time"] = $prizeModel["time_day"] * 24 * 60 * 60 + time(); goto otkG1; ce8m6: goto qOHuK; goto vvyLg; nsBpW: $origin_buy_types = 1; goto UpUCE; wbvSB: $writeoff_types = 0; goto B3KYW; SllkY: goto neAwK; goto qoA6X; tnLNd: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto s6JCO; mJFOj: if (empty($originModel)) { goto JObOQ; } goto hCO4U; JMcQJ: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto AJFUG; Rk1H0: $noticeMessage = "{$prizeModel_rebate["name"]}{$prizeModel_rebate["sys"]}"; goto TsxQL; XoBcM: sendTplNotice($uniacid, $userModel["openid"], $postdata, $template_id, $url); goto qvldT; pON2_: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, $obj_types, $object["id"]); goto TOS2y; VsuQx: yG6TK: goto qVrHq; kiTrf: if (intval($sms_tmp["types"]) == 0) { goto p6CC0; } goto Cf7sr; f6lwP: $joinPayModel["register_data"] = $object["join_is_register"] == 1 ? base64_decode($register_data) : ''; goto J7SB8; fQIWQ: if ($orderPayModel["status"] == 0) { goto wqMW0; } goto SvzER; lEKJJ: if (intval($sms_tmp["types"]) == 0) { goto fkHZV; } goto HdC49; ZoPvi: updateUserMoney($uniacid, $orderPayModel["openid"], -$pay_sys_money, $note, 3, $obj_types, $object["id"]); goto rhSQ5; fzXZ0: d4fvv: goto qOiQ2; pdLzT: if (empty($originModel)) { goto Vm7q6; } goto rTO1W; XW13_: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel_rebate["wallet"], "wallet_money +=" => $prizeModel_rebate["wallet"], "wallet_money_num +=" => 1), array("openid" => $userModel["openid"])); goto mFYwX; v_htg: $templatecode = $sms_tmp["templatecode"]; goto bCRO7; EUicm: if (empty($originModel)) { goto wqNJI; } goto XX38H; PjenL: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto Jrkn9; vDsRz: if (intval($prizeModel["types"]) == 3) { goto dUUgu; } goto aA2TY; AXalX: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto AJ7dg; ASUD1: V0nvD: goto Z2cKO; Cr3eo: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["sys"]}"; goto ccChr; J4H38: pPCHH: goto uNCM2; N8MAS: $ali_accesskeyid = $config["ali_accesskeyid"]; goto dISOG; O74cs: if (!(intval($prize2Model["create_types"]) == 1)) { goto uChK0; } goto iJ41d; i3I07: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto R6svJ; pG73p: $obj_token = $objarr[0]; goto OZcmH; rAUNk: $noticeMessage = "{$prizeModel["name"]}"; goto v0002; tSOWx: ZZ9p0: goto byA0w; JyLo_: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto v17Ef; Dp5sH: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto EI8C6; V2Yn0: if (empty($virtualModel)) { goto xJRTb; } goto mXx3L; BZIQD: f4He5: goto zTymz; m13Le: $userDrawRecordModel = array(); goto UICmh; tfOA9: t3OG8: goto OIoe5; yrI2j: updateUserMoney($uniacid, $userModel["openid"], -$orderIntmallModel["pay_price"], $note, 3, 0, 0); goto x7tBt; OhXqJ: $draw_id = pdo_insertid(); goto XkNID; b7yKE: goto kr2sz; goto dYl5w; ucnXw: i5eyX: goto xFWkS; F6SCm: $prizeModel["score"] = mt_rand($min, $max); goto DtJWE; OrFGW: mUi8O: goto wY23d; YDpjU: if ($prizeModel["is_sms"] == 1) { goto dPDaj; } goto y5mKZ; qd28U: $pid = pdo_insertid(); goto IP_kw; OArw2: if (!(intval($prizeModel_rebate["create_types"]) == 1)) { goto EsrA9; } goto LuSFu; GtCK2: $joinPayModel["pid"] = $pid; goto QKkux; cT4uc: IyMi1: goto P_ISv; FGeac: BusWV: goto VK1TW; xzN3m: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto T3nON; rWSh7: $noticeMessage = "" . $prizeModel["name"]; goto ZdWg_; XKPU6: $tableName = $permission_data[$object["draw_activity_type"]]; goto q6mHo; xMRph: uMWWs: goto gVug5; xPW9C: $first_mess = ",:"; goto n6g3J; TTwbN: zZcQ2: goto c5ku6; tAgmX: $prize2List = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 1), array(), '', "sort asc"); goto iu8A4; F70T5: pdo_update(ztk_table("user_collage_join", false), array("joins +=" => 1), array("id" => $joinModel["id"])); goto bzAeq; yUiNx: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto IEPYq; IGQF8: if (!($config["originpush_tmp"] && !empty($origin_id))) { goto H07Q8; } goto U2HT3; tm12P: $content = $sms_tmp["content"]; goto bL9tO; IHvMk: $userDrawRecordModel["createtime"] = time(); goto eVxJa; xFWkS: $url = replaceDieDomain($config, __MURL("user_draw_buy", array("act" => "index"), false, TRUE), $userModel["id"], $obj_types, $object["id"], 0); goto gBNsm; UyjOc: if (!(intval($prize2Model["create_types"]) == 1)) { goto D0ddW; } goto tMh81; OaDIU: $orderIntmallModel["status"] = 4; goto IesHp; if1zE: $writecode = $encode_id; goto HjDi5; jbNhw: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto iTirl; hKy1w: $userDrawRecordModel["createtime"] = time(); goto sCiZ1; iJ41d: list($min, $max) = explode("-", $prize2Model["red"]); goto eMuMd; SEprk: h3w54: goto zV56P; jSa0_: $drawcode_data_model = pdo_get("lywywl_ztk_sys_drawcode_data", array("drawcode_id" => $draw_activity_model["drawcode_id"], "uniacid" => $uniacid, "code" => $drawcode)); goto dJv7E; gZKQk: $userDrawRecordModel["updatetime"] = time(); goto L26Su; I5NHa: include MODULE_ROOT . "/inc/class/Hashids.class.php"; goto lcByf; qssMa: pdo_update(ztk_table("user_draw", false), array("sys" => $prizeModel["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto iD0sx; hU24t: $joinPayModel["is_heads"] = $pid == 0 ? 1 : 0; goto qW4Ql; xcOy8: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto YcDrp; gFTl3: LNUIZ: goto Ky0eH; qc2_A: FWKTu: goto vjOoE; x12Lp: $userDrawRecordModel["money"] = $prize2Model["red"]; goto hLwOl; kEVlO: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, $joinPayModel["obj_types"], $joinPayModel["obj_id"]); goto AShTm; oIRPW: if ($orderIntmallModel["is_fedex"] == 1) { goto JjBjU; } goto qljIM; Mg23r: n6ZbO: goto SMxM5; DFmRJ: $prizeModel_rebate["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto K_wbJ; jZHOR: $origin_buy_types = 0; goto kRMY5; ZExjj: AlZhn: goto Eeupu; mq2kQ: $drawcode = $draw_data["pay_number"]; goto jSa0_; npatM: $sms_tmp_id = $prizeModel["sms_tmp_id"]; goto xzN3m; eMuMd: $prize2Model["red"] = mt_rand($min * 100, $max * 100) / 100; goto lUfcV; sX310: pdo_update(ztk_table("user_draw", false), array("score" => $prizeModel["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto f2o4t; JGQS4: $pid = pdo_insertid(); goto mepRG; GouYb: $sign = $sms_tmp["sign"]; goto ZP3Vb; Qk4ve: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto ZObz1; s6JCO: $userDrawRecordModel["money"] = $prize2Model["wallet"]; goto RBeNz; m2jJ4: HeMV2: goto G53Se; Vb3hF: $content = str_replace("{PRIZE}", $prize2Model["name"], $content); goto pbgNB; zS8E2: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto BbKUU; K99wE: if (intval($sms_tmp_rebate["types"]) == 0) { goto nxPyO; } goto Ib55G; Xo33r: GsNyH: goto tfH1y; LtlfZ: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto bmpsJ; jbQ67: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto kKiIN; kVGp1: $draw_activity_model = pdo_get("lywywl_ztk_" . $tableName, array("id" => $object["draw_activity_id"], "uniacid" => $uniacid, "models" => 3)); goto NsfTU; k22jw: $userUpdateModel = array(); goto BQjgX; FqzI4: if (!($joinModel["openid"] != $orderPayModel["openid"])) { goto W2D47; } goto QFaxu; m6m4P: $sms_tmp_id = $object["buy_sms_tmp_id"]; goto ROrZs; Od0hJ: $joinPayModel["createtime"] = TIMESTAMP; goto Jr4aw; H5vg5: ARb3C: goto upmby; XQ2aH: if (!($pay_sys_money > 0)) { goto ZKiIA; } goto a4evU; YyQ0q: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto XPBbN; dFTIt: $userMoneyRecharge["createtime"] = TIMESTAMP; goto OHsES; ComaL: $templatecode = $sms_tmp["templatecode"]; goto Vdqjd; smHwe: $result = sendTplNotice($uniacid, $originModel["openid"], $postdata, $template_id, $url); goto pZkRW; D1nKm: $userDrawRecordModel["remark"] = ""; goto UL3F2; wSp8T: if (intval($prizeModel["types"]) == 1) { goto b2j07; } goto sHYrJ; QVYQ6: if (empty($originModel)) { goto xMRfe; } goto ff4XD; DYxHi: pdo_update(ztk_table("marketing_user", false), array("buy_num +=" => 1), array("id" => $origin_id)); goto s1YGA; ikzuW: $content = $content . " " . $sms_tmp["sign"] . ""; goto IlV32; MCe_8: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data2); goto vrFSU; vvHmc: zVenV: goto OXQ_O; Ol5dB: goto q_fBN; goto Lb9dY; sJW8V: $cardArr = pdo_fetchall("SELECT * FROM " . ztk_table("join_store_union_card") . "where (`uniacid`=:uniacid and obj_types=:obj_types and obj_id=:obj_id and status=1) and ((is_open_stock=0 and stock=0) or (is_open_stock=1 and stock>0)) and ((time_types=0) or (time_types=1 and time_end>" . strtotime("now") . ")) order by sort asc , id desc ", array(":uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"])); goto Jx4ab; MPVle: $userDrawRecordModel["types"] = 2; goto BDg3a; cdhcq: pdo_update(ztk_table("obj_soliciting", false), array("buy_num +=" => 1), array("id" => $object["id"])); goto Fc743; Z1EfJ: yuqxa: goto TeQwF; nYe1O: if (!($pay_sys_money > 0)) { goto cKnQp; } goto e2A3g; RnVIl: YRW9X: goto cMyH5; wYLla: mfaqe: goto GsazH; l01XS: $noticeMessage = "" . $prizeModel["name"]; goto ufOVg; fieAV: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto vsWHC; sCiZ1: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto FB4ET; w7NN8: $mobile = $join2UserModel["mobile"]; goto KutUP; Dk7Xh: $userMoneyRecharge["uniacid"] = $uniacid; goto ET8au; RN6Xq: if (!(intval($prizeModel["types"]) == 9)) { goto Z7SmS; } goto l01XS; EFjAD: if (!(intval($object["buy_is_sms"]) == 1)) { goto PxMdM; } goto xJa3Y; fhrlM: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto rT_S5; DfKf_: if (!empty($prizeModel_rebate)) { goto ILfHr; } goto ljXMT; G_tSH: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto uIVKf; AAzfX: MLsJL: goto t66wL; KihVP: $userDrawRecordModel["remark"] = ""; goto fHPTc; Lr41I: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto R58Ya; gmGBy: $joinUserModel = pdo_get(ztk_table("user_account", false), array("uniacid" => $uniacid, "openid" => $joinModel["openid"])); goto tWwa_; ubRXT: $joinPayModel["qrcode_url"] = ''; goto mz8G1; LuSFu: list($min, $max) = explode("-", $prizeModel_rebate["red"]); goto zPAts; UICmh: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto zv15X; EovCx: $obj_types = $objarr[1]; goto NwxZL; C2U8S: $postdata = array("first" => array("value" => "{$originModel["name"]}", "color" => "#173177"), "keyword1" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword2" => array("value" => $object["title"], "color" => "#173177"), "keyword3" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword4" => array("value" => "{$userModel["nickname"]}" . $userModel["mobile"], "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto fi1x5; BWTzA: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto wQhD5; AOvc2: $joinPayModel["openid"] = $userModel["openid"]; goto ArApm; j1MB7: if ($orderPayModel["status"] == 0) { goto RSa9E; } goto fQXjm; yfffG: FtEeb: goto zn8Iz; KGpvL: if (empty($prizeList_rebate)) { goto zpz4G; } goto fN4uX; w0GUS: $template_id = ''; goto Sg41X; O7CEi: xMRfe: goto PwxcQ; NBlXn: if (!($pay_sys_money > 0)) { goto WrmJ1; } goto mhJKo; IEPYq: $mobile = $joinUserModel["mobile"]; goto QGleQ; j1yK0: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto dFTIt; PfTxJ: $prizeModel["score"] = mt_rand($min, $max); goto iQPjj; W5T1D: $joinPayModel["origin_id"] = $origin_id; goto lLu1F; JRESO: pdo_update(ztk_table("user_draw", false), $join_draw_data2, array("id" => $draw_id)); goto KhZ27; btZvp: $object = pdo_fetch($sql, $objparams); goto QQgDh; pn3ju: EsrA9: goto tEF39; J9eCE: $pwd = $config["sms_key"]; goto PNG1j; eu2Y9: $rid = get_rand($arr); goto FzVBN; l0Pqp: goto twcPX; goto Gou6j; V4S56: $origin_team_id = $originModel["team_id"]; goto D3rvT; WzMJu: if (empty($object["is_buy_draw"])) { goto jiqSG; } goto cHp5o; hDaXA: KT2Ww: goto T8PUM; s3uJ_: pdo_update(ztk_table("marketing_user", false), array("marketing_num +=" => 1), array("id" => $origin_id)); goto oc9SB; Y4gRF: $mobile = $join2UserModel["mobile"]; goto tefAM; jrDav: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto u5tEV; vVv7e: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto l0yFz; OIoe5: zAAMZ: goto MLEe1; is5fE: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto wI9VI; qnOoH: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto pnfUX; zZnBF: goto pYhdW; goto l4j2o; Zbbb6: pdo_update(ztk_table("user_draw", false), $code_draw_data, array("id" => $draw_id)); goto cXw6y; E5WAf: $template_id = ''; goto OTB56; mCU2T: $template_id = $object["push_tmp"]; goto e31eB; jOsfA: if (empty($join_id)) { goto FiV8G; } goto h1RQk; XQ2sO: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto QVxwW; MLEe1: goto IgbWt; goto K1lE1; XwAQT: t2toq: goto YHlbg; Q3A1w: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, $draw_data["obj_types"], $draw_data["obj_id"]); goto N50A_; tGm_T: goto PCKcA; goto hHpIn; Pg2Pc: $userDrawRecordModel["obj_id"] = $prize2Model["obj_id"]; goto FnlyI; K0T4c: ksczo: goto T2b2v; u9Xr_: pdo_update(ztk_table("user_draw", false), array("red" => $prizeModel["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto DaBrc; DRyBU: $draw_activity_model = pdo_get("lywywl_ztk_" . $tableName, array("id" => $object["draw_activity_id"], "uniacid" => $uniacid, "models" => 3)); goto Rhev4; uTKG3: if (!(intval($prizeModel["types"]) == 9)) { goto AXN13; } goto p4PdY; e6ySG: $userDrawRecordModel["remark"] = ""; goto X5Ioc; zUwWy: pTltV: goto JNKWV; Jp9_v: KDtaa: goto hvZ0l; iokzv: $userDrawRecordModel["money"] = $prizeModel["red"]; goto r1_HM; knLY7: dUaGR: goto u2lzn; vvmDg: pdo_update(ztk_table("user_collage_join", false), array("money +=" => floatval($prizeModel["red"])), array("id" => $joinModel["id"])); goto UpqCr; lnqVH: if (!(intval($prize2Model["types"]) == 9)) { goto CJ3zn; } goto eRv5P; lm3CD: $object = pdo_fetch($sql, $objparams); goto vSPvh; ISf6f: if (!($config["originpush_tmp"] && !empty($origin_id))) { goto ksczo; } goto n8o1v; paxVS: if (!(!empty($orderIntmallModel) && !empty($mobiles))) { goto Vr1g7; } goto l_W9v; nV2z6: if (!(intval($prizeModel["create_types"]) == 1)) { goto j0B5d; } goto JWL3_; jDNRP: Ubnbz: goto LRV3O; Rkumv: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto u3urd; S_cv8: $userDrawRecordModel = array(); goto JyLo_; fvA1V: YLJ4M: goto hyEz9; ZrsB1: Jj18g: goto JPYt8; lsgzU: $joinPayModel["createtime"] = TIMESTAMP; goto hTAdy; Njet9: $joinModel = pdo_get(ztk_nopre_table("user_ladder_join"), array("uniacid" => $uniacid, "id" => $join_id)); goto G4SWd; otkG1: GW_Uf: goto LLNIY; GEcf7: list($min, $max) = explode("-", $prizeModel["sys"]); goto f1ytZ; O3bcU: Upo0u: goto iFSKi; AFjCq: $userDrawRecordModel["updatetime"] = time(); goto bjv5A; mR_OQ: if (!($pay_sys_money > 0)) { goto Y4901; } goto p6IRe; GQ6nA: $mobile = $joinUserModel["mobile"]; goto zwgTo; iTirl: $noticeMessage = "" . $prizeModel["name"]; goto cT4uc; H_Wtd: $noticeMessage = "" . $prizeModel_rebate["name"]; goto fzXZ0; NG1Nn: goto WAcOt; goto gntPr; OUuM1: cY1pK: goto LZUI5; k1GuJ: YYQfc: goto OBQta; uNCM2: $obj_token = $objarr[0]; goto nXsr1; gW4LW: pdo_update(ztk_table("user_cut_join", false), array("money +=" => floatval($prizeModel["sys"])), array("id" => $joinModel["id"])); goto Jnewd; LC5BR: $pay_types = $objarr[3]; goto mN_lo; IMlTQ: $sn = $config["sms_uid"]; goto fI2Pw; bdg9q: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto CYeWj; xKpdw: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto uQg2j; GPWHl: $userDrawRecordModel["obj_types"] = $prizeModel_rebate["obj_types"]; goto aAJFG; U2HT3: if (!isSiteFollow($originModel["openid"])) { goto fnzVM; } goto iEGig; c8VFB: $sms_tmp_id = $prizeModel["sms_tmp_id"]; goto Dp5sH; z2TZ8: pdo_update(ztk_table("user_union_join", false), array("money +=" => floatval($prize2Model["red"])), array("id" => $join2Model["id"])); goto Vhuck; IL8Ss: $prizeModel = $prizeList[$rid]; goto UslxD; cvL0s: $join2UserModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $join2Model["openid"])); goto s2DEw; qoA6X: oQxYI: goto Jb4za; bbRue: goto xVWXv; goto IWfn_; bfior: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["sys"]}"; goto yKH3G; R6Gmn: $postdata = array("first" => array("value" => "", "color" => "#173177"), "keyword1" => array("value" => $object["title"], "color" => "#173177"), "keyword2" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword3" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword4" => array("value" => date("Y-m-d H:i:s", time()), "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto w0GUS; Cbchi: $content = $content . " " . $sms_tmp["sign"] . ""; goto QSzTL; vSPvh: $is_the_right_pattern = getJudgeModeVirtuality($object["models"], $object["is_fedex"]); goto kSfrb; A14gK: RuOOs: goto fs5bH; pk7Wa: wDh4B: goto eCWub; cHp5o: $tableName = $permission_data[$object["draw_activity_type"]]; goto DRyBU; RMx_J: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto CIsoC; WWW05: pdo_update(ztk_table("user_draw", false), array("score" => $prizeModel_rebate["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto GFVH5; mErqf: $config = $this->module["config"]["ztk"]; goto MFQrv; CGp5O: $userDrawRecordModel["updatetime"] = time(); goto FvQY6; GfUU6: $originModel = pdo_get("lywywl_ztk_marketing_user", array("id" => $orderPayModel["origin_id"], "obj_id" => $object["id"], "obj_types" => $obj_types, "uniacid" => $uniacid)); goto FmLWl; A4iwA: goto B5nGB; goto T5cLf; FGOXg: if (!(intval($prizeModel["types"]) == 9)) { goto ZiFnO; } goto S6d2e; FxeXu: HSZ8t: goto pqD18; NcKrD: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto aSN_k; QcnQE: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto vwxnw; G5NgH: $draw2Model = pdo_get(ztk_nopre_table("user_draw"), array("uniacid" => $uniacid, "obj_id" => $object["id"], "obj_types" => $obj_types, "pay_openid" => $joinModel["openid"], "or_rebate2" => 0, "types" => array(1, 2, 3, 4, 5, 6, 7, 9))); goto klL9y; T3nON: if (empty($sms_tmp)) { goto NcR6D; } goto QTds8; F1ycM: if (empty($originModel)) { goto oGA_a; } goto s3uJ_; Xt0lX: $noticeMessage = "" . $prize2Model["name"]; goto HVsOy; bilXT: $noticeMessage = "" . $prizeModel["name"]; goto SHLGM; OTB56: if (empty($object["buy_push_tmp"])) { goto i5eyX; } goto C4FHk; NLyam: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto xb619; GdsrG: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto z9CBn; PSu1a: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto TJjCV; nqjq_: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["wallet"]}"; goto mj0qC; eN3sb: $ali_accesskeyid = $config["ali_accesskeyid"]; goto zFWWI; f2o4t: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["score"]}"; goto eplIt; j9vq2: $sql = "SELECT * FROM " . tablename("lywywl_ztk_obj_ladder") . " WHERE token = :token AND uniacid = :uniacid"; goto SNtM0; p_vj8: $mobile = $joinUserModel["mobile"]; goto IB1rh; GELan: c9ddR: goto Ra5h3; wybCQ: if (empty($orderPayModel["origin_id"])) { goto SJmW3; } goto DPou_; sfL6k: $userDrawRecordModel["types"] = 2; goto HwPSl; Gsx94: goto Hk2JW; goto UEr1t; lcIuu: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto cQlKB; LZCCe: EJnVG: goto VsuQx; I9Njy: $pay_types = $objarr[3]; goto jLTKD; hlmtV: $join_draw_data["end_time"] = $prizeModel["time_end"]; goto blZ1G; q3opB: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data); goto tmsc2; pd_sw: $mobile = $userModel["mobile"]; goto sL8Ks; NJOBZ: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto csAOr; m_TVK: goto wP8Gg; goto cuo4s; D4yXS: $sms_tmp_id = $object["sms_tmp_id"]; goto Cd6EG; rJniR: ouqAe: goto hYChZ; RHfUo: pdo_update(ztk_table("user_draw", false), array("score" => $prizeModel["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto aFZtx; dLK65: goto zlPUu; goto j97Vl; UfP9r: $orderIntmallModel["status"] = 2; goto l2yYz; MPykK: if (empty($sms_tmp)) { goto V0nvD; } goto SYNqi; lYeip: $userDrawRecordModel["remark"] = ""; goto WtQLD; Yuee4: goto ySDFg; goto mXSuN; tqm6m: $sign = $sms_tmp["sign"]; goto UUzti; R5lIZ: VcNKv: goto P9icw; bJHDd: if (empty($draw2Model)) { goto sjhMm; } goto gvMhZ; ZGUm3: YyLd9: goto WGXvD; dTz8S: if (intval($sms_tmp["types"]) == 0) { goto aYrLg; } goto T82LB; br33d: $userDrawRecordModel["createtime"] = time(); goto Iag37; pOJHd: goto sThX6; goto CCvRL; ry9Ub: $mobile = $joinUserModel["mobile"]; goto xC10k; a4evU: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $pay_sys_money . ""; goto qhQHc; dfH5C: if (!($pid == 0)) { goto bYVHA; } goto qd28U; p4cbu: $pwd = $config("sms_key"); goto oWQJs; spH5p: y76fX: goto INNBY; tY78k: $prize2Model["sys"] = mt_rand($min * 100, $max * 100) / 100; goto KSNIU; DYtY9: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto XP9hj; ghO1E: $userDrawRecordModel["desc"] = $prizeModel["name"]; goto YkxTz; CdWbj: sendSiteTplNotice($uniacid, $joinUserModel["openid"], $postdata, $template_id, $url); goto m16uP; wstWy: fXSmn: goto S2j3R; QoXLz: $userDrawRecordModel["updatetime"] = time(); goto OQAAX; J3f0N: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto CzGLn; CDoCE: PPeTV: goto vUyjM; t8UzI: tL1A6: goto Pai_T; x33vh: Ary8P: goto hNj2j; ETmIk: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto KCn9D; vmI12: VlseK: goto a3MHr; N0OG2: sTxVE: goto aVL6L; syHix: $userDrawRecordModel["act_name"] = ""; goto e6ySG; GbZB5: sT0n2: goto Ukjs3; JuH1H: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto AkeSE; Py6lo: FTxST: goto HAzCB; TMs_J: i20lb: goto dXQhj; EPqLE: pdo_update(ztk_table("user_draw", false), array("wallet" => $prizeModel["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto ou6kB; bxb16: $userMoneyRecharge = array(); goto Lsgp7; vGMF5: NhoaR: goto gDYdr; i3xv4: $objparams = array(":token" => $objarr[0], ":uniacid" => $uniacid); goto vvITu; YT128: $writeoff_types = 1; goto HH7Ch; Jihde: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto xHBC4; DjbV9: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prizeModel["virtual_id"], "status" => 1)); goto V2Yn0; Eeupu: $join_draw_data["end_time"] = $prizeModel["time_day"] * 24 * 60 * 60 + time(); goto olIlm; NBne2: $tableName = $permission_data[$object["draw_activity_type"]]; goto fAg7U; jXBAD: YOq4M: goto fc3Tk; jvRa1: if (!($prize2Model["types"] == 6)) { goto zosGJ; } goto N1n7r; hwoCY: $result = sendSiteWeixinRedPacket($join2UserModel["openid"], floatval($prize2Model["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto UGLCv; QQrhP: Mn520: goto zA8qC; X33EL: $join_draw_data["end_time"] = 0; goto kUBj6; DL6YF: pdo_update(ztk_table("user_draw", false), $join_draw_data, array("id" => $draw_id)); goto DFqv1; vW9nQ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto l0Pqp; fImNu: $encode_id = $hashids->encode($draw_id); goto x7XPD; zB388: $userDrawRecordModel = array(); goto pXZeP; P2ZyQ: if (empty($result)) { goto g0Ld9; } goto q9nK5; LoMxQ: AT0e6: goto t5vuG; THe8j: $content = str_replace("{OBJ}", $object["title"], $content); goto geAAb; Iag37: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto pSg17; Clhy5: $userDrawRecordModel["openid"] = $join2UserModel["openid"]; goto MZ4cu; xN2KF: iuY1u: goto tkyxu; j654I: WaJ1g: goto VQRzd; vi2v4: pdo_update(ztk_table("user_draw", false), array("wallet" => $prizeModel["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto K_T4M; YRmad: $noticeMessage = ''; goto aZC7r; j8Jfz: Oe4SL: goto sSqgc; OB2Xq: $result = sendSiteWeixinMchPay($joinUserModel["openid"], $prizeModel["wallet"] * 100, $prizeModel["name"], true, $uniacid, $config); goto cgW9U; M3cBr: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prizeModel["virtual_id"], "status" => 1)); goto eW7YD; eGHTA: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto UIWHc; BTksj: XwNPx: goto f8sDa; aI94M: IllX9: goto s097O; UL3F2: $userDrawRecordModel["updatetime"] = time(); goto TXr2t; LKoMQ: HkJ0D: goto kjEHN; QFaxu: pdo_update(ztk_table("user_union_join", false), array("invite +=" => 1), array("id" => $join_id)); goto KR7K0; YSuqy: ZOanL: goto sV5db; nKw9f: Mgs9c: goto PbSER; I_RE7: $content = str_replace("{PRIZE}", $prize2Model["name"], $content); goto vtQ83; GW4u1: goto wDh4B; goto BS8DH; xB6yd: pdo_update(ztk_table("obj_collage", false), array("get_num +=" => 1), array("id" => $object["id"])); goto TY0yF; tQyUY: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prizeModel_rebate["virtual_id"], "status" => 1)); goto Az0dW; etCzU: $sql = "SELECT * FROM " . tablename("lywywl_ztk_obj_cut") . " WHERE token = :token AND uniacid = :uniacid"; goto i3xv4; fLkfF: $prizeModel["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto J4O_d; x4dcW: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $orderIntmallModel["product_title"] . "" . floatval($orderIntmallModel["pay_price"]) . ""; goto bvVIX; OPrq6: $pwd = $config["sms_key"]; goto AIC19; FK5Cp: aXNjR: goto O74cs; eKOvo: $encode_id = $hashids->encode($draw_id); goto rJzEQ; ANuD7: if (intval($sms_tmp["types"]) == 0) { goto rb2mZ; } goto Bc33M; sHYrJ: if (intval($prizeModel["types"]) == 2) { goto tk3jC; } goto Q2pXc; Q1rDS: $virtualModel["status"] = 0; goto Gw7LS; ANxJA: $sn = $config["sms_uid"]; goto R36t9; HAoMT: $hashids = Hashids::instance(6, "lywyztk", ''); goto PtlNY; IPEHc: $param = ["name" => $join2UserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prize2Model["name"], "code" => $writecode]; goto O3WKh; EI8C6: if (empty($sms_tmp)) { goto CnT0C; } goto O3ZS3; yECZv: if (!isSiteFollow($userModel["openid"])) { goto cNafp; } goto hjusu; ZUeEX: $mobile = $userModel["mobile"]; goto TGEki; zEdL4: if (empty($prizeList)) { goto bwojX; } goto ku1WK; AjsKX: $content = $content . " " . $sms_tmp["sign"] . ""; goto oSmln; QKkux: $joinPayModel["openid"] = $orderPayModel["openid"]; goto m35_2; yOXAr: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prizeModel_rebate["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto oE1aH; bYHWS: pdo_update(ztk_nopre_table("user_ladder_join"), array("status" => 1), array("pid" => $pid)); goto k4M5Q; Ge6yI: $template_id = $config["originpush_tmp"]; goto c4gTO; PwZFT: $register_data = $orderPayModel["note"]; goto om3fE; YHE7J: o2HPJ: goto pgBYR; wY5Uf: qDK_3: goto I5NHa; D_Ko2: $userDrawRecordModel["updatetime"] = time(); goto IHvMk; w0HL3: if (!($joinModel["openid"] != $orderPayModel["openid"])) { goto O0gTC; } goto F70T5; lduxQ: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prizeModel["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto Xu8ww; OIeo3: $origin_id = $orderPayModel["origin_id"]; goto uACF5; QTds8: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto jb5WY; } goto PHqY7; k0SUh: $template_id = $object["push_tmp"]; goto xMRph; ZBYH3: GGWXE: goto Rc_G3; RVwKD: RLQQ3: goto IMlTQ; a9U8F: if (empty($virtualModel)) { goto b0Gln; } goto sjyua; iQyVn: goto iXKro; goto bPBOt; a83ul: $userDrawRecordModel["wishing"] = " "; goto NHmAB; TjQb6: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto w2Nb_; uhSMl: if (intval($prizeModel["types"]) == 1) { goto LAPsB; } goto Fki2b; AkdOr: $pwd = $config["sms_key"]; goto W8W7e; cnstj: qOHuK: goto BsRZj; s1bh4: foreach ($prize2List as $key => $val) { goto ccG21; ee7b9: goto Dj3ny; goto FV0Or; gB0uo: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto qrhSJ; } goto jhp26; jhp26: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $join2UserModel["openid"]), "count(*)"); goto NaOM8; NaOM8: if (!($count >= intval($val["limit_num"]))) { goto irLzs; } goto ee7b9; vgCtO: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $join2UserModel["openid"])); goto sK4Xu; l7p4N: avEax: goto faEs_; FV0Or: irLzs: goto qvpxB; tG2z0: Dj3ny: goto k7qvw; sK4Xu: if (!($count >= intval($val["limit_num"]))) { goto IEJ2O; } goto kocsv; ccG21: if (!(intval($val["odds"]) == 0)) { goto H50La; } goto PTUyf; D6tcx: H50La: goto gB0uo; eR8GT: IEJ2O: goto l7p4N; qvpxB: qrhSJ: goto pM3vm; pM3vm: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto avEax; } goto vgCtO; kocsv: goto Dj3ny; goto eR8GT; faEs_: $arr2[$key] = $val["odds"]; goto tG2z0; PTUyf: goto Dj3ny; goto D6tcx; k7qvw: } goto MGZZA; LWjeu: if ($prizeModel["time_types"] == 1) { goto pGsao; } goto dqPPB; FLa6j: dphec: goto Gsx94; bMFIG: HNY7J: goto Io8uM; hHT70: if ($prizeModel["time_types"] == 1) { goto WaJ1g; } goto Op3ob; Cf7sr: $ali_accesskeyid = $config["ali_accesskeyid"]; goto cR6S0; KR7K0: $joinUserModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $joinModel["openid"])); goto jhzJB; jD9iZ: pdo_update(ztk_table("user_union_join", false), array("money +=" => floatval($prizeModel["red"])), array("id" => $join_id)); goto XMsRr; CKjK3: include_once "inc/function/packet.func.php"; goto QJXBG; a0xa1: if (!($prizeModel["types"] == 6)) { goto zrHnb; } goto hHT70; d5NmV: $template_id = $object["push_tmp"]; goto FxeXu; xJ_6P: $prizeModel["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto AwWEn; hfPpP: if (!(intval($prizeModel["create_types"]) == 1)) { goto fmgZ3; } goto SdJ0X; g8f_y: $userDrawRecordModel["createtime"] = time(); goto aEOLY; th33K: $result = sendSiteWeixinRedPacket($joinUserModel["openid"], floatval($prizeModel["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto b0Ejw; Il0JA: $writecode_rebate = ''; goto zWVCM; ex69Y: $encode_id = $hashids->encode($draw_id); goto Vhesg; BBCel: $writecode = ''; goto hJnN5; I4T4B: RShyU: goto vVh9A; JQB49: if (empty($sms_tmp)) { goto c3nvk; } goto TpBog; m2ZI7: if (empty($object["is_buy_draw"])) { goto kzLt8; } goto miM_6; PHsVR: return true; goto RbXw6; NglAs: if (empty($join_id)) { goto vpVdW; } goto B7EsH; AIC19: $mobile = $joinUserModel["mobile"]; goto N9pzP; tyWEQ: bSUvd: goto vr7pr; wtgMP: if (intval($prize2Model["types"]) == 1) { goto fGEY6; } goto nJQeX; tSVVr: $userDrawRecordModel["updatetime"] = time(); goto cLpWJ; JgBIU: $userMoneyRecharge = array(); goto OSx3k; KTxrv: W3aXV: goto gNdR5; Zg_v9: $prize2Model = null; goto s1bh4; iBaxv: $rid = get_rand($arr); goto YLvWt; u1BMN: dQbXt: goto OPnsq; AgXzt: $templatecode = $sms_tmp["templatecode"]; goto oedeD; wGZfb: if (empty($sms_tmp)) { goto xvdr1; } goto QzmKd; JF0f1: if (intval($object["is_sms"]) == 1) { goto NcUoI; } goto jAP9J; mkQJd: $encode_id = $hashids->encode($draw_id); goto JMLGj; lbl1M: $userDrawRecordModel["types"] = 2; goto Wil0y; M_k5X: list($min, $max) = explode("-", $prize2Model["wallet"]); goto OgxE3; DPou_: $originModel = pdo_get("lywywl_ztk_marketing_user", array("id" => $orderPayModel["origin_id"], "obj_id" => $object["id"], "obj_types" => $obj_types, "uniacid" => $uniacid)); goto H3wIW; UoT4i: $noticeMessage = "" . $prize2Model["name"]; goto n5uES; ovKtR: $sn = $config("sms_uid"); goto mdz5a; HDMtk: $postdata = array("first" => array("value" => "{$originModel["name"]}", "color" => "#173177"), "keyword1" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword2" => array("value" => $object["title"], "color" => "#173177"), "keyword3" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword4" => array("value" => "{$userModel["nickname"]}" . $userModel["mobile"], "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto zicX0; IJkRE: $objarr = explode(",", $orderPayModel["order_number"]); goto v1agV; R1ZNc: psWYx: goto kjyrj; BleOl: updateUserMoney($uniacid, $joinUserModel["openid"], floatval($prizeModel["sys"]), $note, 1, $obj_types, $draw_id); goto jLXeM; CQlNQ: WrmJ1: goto to0TC; k6aHK: v7iGx: goto eB2GR; AuQCH: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prize2Model["red"], "red_money +=" => $prize2Model["red"], "red_money_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto S5Jic; JY7r8: foreach ($prizeList_rebate as $key => $val) { goto CywFu; t36VR: goto j5z2M; goto lsJ8U; lsJ8U: S4Ird: goto ObjBO; ObjBO: aJPIG: goto yKSPb; AzIuP: goto j5z2M; goto iCGft; CywFu: if (!(intval($val["odds"]) <= 0)) { goto h7Pf2; } goto rMiKk; yg9w4: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto aJPIG; } goto go3WA; GqZB3: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => ${$userModel["openid"]}), "count(*)"); goto Ka2BO; rWJXR: if (!($count >= intval($val["limit_num"]))) { goto S4Ird; } goto t36VR; A_sw9: SpoSO: goto yg9w4; rMiKk: goto j5z2M; goto Ry1AB; Ry1AB: h7Pf2: goto BqXP7; iCGft: BoLm7: goto A_sw9; Ka2BO: if (!($count >= intval($val["limit_num"]))) { goto BoLm7; } goto AzIuP; BqXP7: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto SpoSO; } goto GqZB3; go3WA: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => ${$userModel["openid"]})); goto rWJXR; yKSPb: $arr[$key] = $val["odds"]; goto depsk; depsk: j5z2M: goto VvcOV; VvcOV: } goto ym0o8; hm5y2: $joinPayModel["status"] = 0; goto lsgzU; DZiMp: updateUserScore($uniacid, $join2UserModel["openid"], intval($prize2Model["score"]), $note, 1, $obj_types, $draw_id); goto l2A34; onfu8: vV5V8: goto gvw2U; QRCxY: VrMim: goto XfdfK; yEevv: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto gPlu6; B4n3W: WfqBs: goto Br3fm; iDRLa: if (!($orderPayModel["status"] == 0)) { goto iYzaI; } goto PwZFT; nruhR: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prizeModel["virtual_id"], "status" => 1)); goto RBmlY; bDbBN: axGNP: goto AdATz; vtxX0: $writecode = $encode_id; goto MIcyk; SoSQK: foreach ($prize2List as $key => $val) { goto wK0AD; EjtZL: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto EMwev; } goto ANB2z; YdWkV: n9k4e: goto tn2q7; i2895: goto rAcOG; goto O_DzP; O_DzP: kE7uM: goto mOx7j; CLkwK: $arr2[$key] = $val["odds"]; goto bXYWH; tn2q7: EMwev: goto aMv8I; uei9q: if (!($count >= intval($val["limit_num"]))) { goto n9k4e; } goto Ar5Pz; buyNu: goto rAcOG; goto VFaX0; mOx7j: rhtfw: goto CLkwK; qCK1U: if (!($count >= intval($val["limit_num"]))) { goto kE7uM; } goto i2895; ANB2z: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $join2UserModel["openid"]), "count(*)"); goto uei9q; aMv8I: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto rhtfw; } goto MKbcL; VFaX0: X0KGC: goto EjtZL; MKbcL: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $join2UserModel["openid"])); goto qCK1U; bXYWH: rAcOG: goto D_gIJ; Ar5Pz: goto rAcOG; goto YdWkV; wK0AD: if (!(intval($val["odds"]) == 0)) { goto X0KGC; } goto buyNu; D_gIJ: } goto aoS7e; bUhNq: YpHHm: goto Gwf2t; frGcg: e7O7m: goto nzI7D; gVug5: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $join2UserModel["id"], $obj_types, $object["id"], 0); goto LerT2; Px1kd: goto ViWvH; goto oL80w; F62_e: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto WxdlV; dgIDD: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["sys"] . ""; goto HnVf2; oc9SB: oGA_a: goto w0tvK; XYIFQ: CJ3zn: goto iVPi8; AmbkV: $join_draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prizeModel["id"], "types" => $prizeModel["types"], "name" => $prizeModel["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prizeModel["pic_url"], "writeoff_types" => $prizeModel["writeoff_types"], "openid" => $joinUserModel["openid"], "nickname" => $joinUserModel["nickname"], "sex" => $joinUserModel["sex"], "headurl" => $joinUserModel["headurl"], "area" => $joinUserModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 0, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto MHGIq; tQHNT: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto i87eb; poiib: $userDrawRecordModel["obj_id"] = $draw_data["obj_id"]; goto Xz2tv; tpD0w: list($min, $max) = explode("-", $prizeModel["wallet"]); goto P8z4B; wpUm6: $noticeMessage = "{$prize2Model["name"]}{$prize2Model["red"]}"; goto h2oxn; NIIk7: NcUoI: goto SfiLP; wX9zr: $content = str_replace("{PRIZE}", $prize2Model["name"], $content); goto CYaEp; wzbCh: gHGS0: goto GO0Mo; MIDB1: ZiFnO: goto QUzon; CrM0A: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto ADaXP; hJvdG: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto IlyfP; TpBog: if (!(!empty($userModel) && !empty($userModel["mobile"]))) { goto mTKCJ; } goto jLz97; b8DFJ: updateUserMoney($uniacid, $orderPayModel["openid"], -$orderPayModel["pay_price"], $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto mR_OQ; e2A3g: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $pay_sys_money . ""; goto w34cw; M1srQ: $prize2Model = $prize2List[$rid2]; goto FAk8x; RBeNz: $userDrawRecordModel["desc"] = $prize2Model["name"]; goto igsi7; eEY5a: list($min, $max) = explode("-", $prize2Model["red"]); goto x_VEt; T5cLf: Qlxam: goto rCPID; ccChr: dEB1a: goto LneS9; Jj7MM: G7cuh: goto NcKrD; zpBFm: JHsc1: goto iQyVn; ieIAh: if (!empty($prizeModel)) { goto LE04T; } goto TYFk3; gntPr: aBZGY: goto bqeFS; Lb9dY: FOhEN: goto hx_aM; RITGy: $userDrawRecordModel["send_name"] = $config["power"]; goto WfCQM; di1gx: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto yGq1m; mOr3E: $userDrawRecordModel["act_name"] = ""; goto jUwF6; pieeA: if (empty($object["push_tmp"])) { goto pOiKu; } goto QToWw; zF5Jw: pdo_update(ztk_table("user_collage_join", false), array("money +=" => floatval($prizeModel["wallet"])), array("id" => $joinModel["id"])); goto ifaWp; mdz5a: $pwd = $config("sms_key"); goto TBa27; ChYsk: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, 0, 0); goto dK0lw; vTLQ1: pdo_update(ztk_table("user_cut_join", false), array("invite +=" => 1), array("id" => $joinModel["id"])); goto LRdAm; F_KAm: pdo_update(ztk_table("marketing_user", false), array("buy_num +=" => 1), array("id" => $origin_id)); goto Pj56p; SwJdO: if (!isSiteFollow($userModel["openid"])) { goto Fn_6b; } goto QVfN8; D09Ty: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["sys"]}"; goto vmI12; OXQ_O: $join_draw_data["end_time"] = $prizeModel["time_end"]; goto TMs_J; P_ISv: goto wivao; goto fZW9L; LselN: $ladder_price_list = unserialize($object["ladder_price"]); goto lFuq4; WAg6L: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto NfBf5; ihP1M: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto Cjy1D; AwWEn: fmgZ3: goto CMOCT; KqCwR: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto ChYsk; XPBbN: $orderIntmallModel = pdo_get(ztk_nopre_table("order_intmall"), array("order_number" => $orderPayModel["order_number"], "uniacid" => $uniacid)); goto Q49Ca; zwgTo: $sign = $sms_tmp["sign"]; goto ComaL; hw3GZ: $prizeModel["sys"] = mt_rand($min * 100, $max * 100) / 100; goto WKInQ; UkZzQ: $joinPayModel["pid"] = $pid; goto rBlfE; v_0bE: $prize2Model = null; goto SoSQK; qTg4S: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto JZaeH; yfgMl: yNOLs: goto hDnwX; PO4zZ: $userDrawRecordModel = array(); goto o27sF; D1qwu: $userDrawRecordModel["uniacid"] = $prize2Model["uniacid"]; goto Clhy5; uIVKf: $noticeMessage = "" . $prizeModel["name"]; goto AAzfX; HeYM8: $virtualModel["status"] = 0; goto XhUot; bqeFS: $sms_tmp_id = $object["sms_tmp_id"]; goto is5fE; gZrRd: ASDqo: goto sE1Cb; DtJWE: YiPiX: goto rPN7V; kD7EQ: $ali_accesskeyid = $config["ali_accesskeyid"]; goto bAD2g; jot3v: $joinPayModel["is_heads"] = $pid == 0 ? 1 : 0; goto y5VYJ; Ei00c: if (!(intval($prizeModel["create_types"]) == 1)) { goto ZgaTB; } goto GGXQ8; qOiQ2: goto MZDT9; goto pmDy1; FzVBN: $prizeModel = $prizeList[$rid]; goto YesfU; uT0CG: if (!($config["originpush_tmp"] && !empty($origin_id))) { goto lbHtR; } goto MG4AV; lMoS2: pOiKu: goto niGnL; cWRBT: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto x12Lp; HttyT: $result = sendTplNotice($uniacid, $originModel["openid"], $postdata, $template_id, $url); goto fFL4g; NRujA: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto XYokx; Wum3Y: $mobile = $mobiles; goto tr7YE; UcG0b: $join_draw_data2["end_time"] = $prize2Model["time_end"]; goto A14gK; FIQgT: h9fty: goto Jkcdu; jLTKD: $sql = "SELECT * FROM " . tablename("lywywl_ztk_obj_collage") . " WHERE token = :token AND uniacid = :uniacid"; goto mnRpm; dnaxR: mrZvV: goto mJjSE; dUZxO: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto XF1jy; Byhk8: updateUserMoney($uniacid, $orderPayModel["openid"], -$pay_sys_money, $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto CQlNQ; lTj5o: $userDrawRecordModel["act_name"] = ""; goto Yriba; JcCkw: $object = pdo_fetch($sql, $objparams); goto Lhvuw; nVoKr: $join_draw_data["end_time"] = 0; goto Xgx8A; YesfU: TOHly: goto rJKlF; p6IRe: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $pay_sys_money . ""; goto K7sdE; G7KQ_: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto e2Tdh; X76Oh: if (intval($object["is_sms"]) == 1) { goto RxzmM; } goto ejcUH; aaicy: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prizeModel_rebate["wallet"])), array("id" => $join_id)); goto wj1Ei; iQPjj: sxaXs: goto wVEEX; yZPp8: pdo_update(ztk_nopre_table("user_account"), $userUpdateModel, array("id" => $userModel["id"])); goto vEJQJ; vhcaf: kr2sz: goto v7MSO; Yeelz: goto VlseK; goto aI94M; C0_GB: updateUserMoney($uniacid, $joinUserModel["openid"], floatval($prizeModel["sys"]), $note, 1, $obj_types, $draw_id); goto SzcgC; ribE3: pdo_update(ztk_table("user_draw", false), array("score" => $prizeModel["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto Avxad; bhozU: Dxt49: goto Ja0q5; YRMhQ: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto NJOBZ; cuo4s: jg9xN: goto fQjlX; jATfg: MS1hF: goto p7jLl; FmLWl: $origin_id = $orderPayModel["origin_id"]; goto mSFTW; TWX2a: lZcSq: goto L5G0s; l2A34: pdo_update(ztk_table("user_draw", false), array("score" => $prize2Model["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto rVq28; IP_kw: pdo_update(ztk_nopre_table("user_collage_join"), array("pid" => $pid), array("id" => $pid)); goto oPQNF; m4HSO: zlx2t: goto pjh8R; OyWsC: if (intval($prizeModel["types"]) == 5) { goto CqSAL; } goto B9GfK; jxSF0: $userDrawRecordModel = array(); goto Lr41I; ccmyo: $pwd = $config["sms_key"]; goto ryKfg; aK_cb: txP2k: goto tGm_T; Y9sp5: $pid = $objarr[4]; goto jOsfA; SvzER: return true; goto Z1AsR; ysEd5: $userDrawRecordModel = array(); goto YxIdp; g8JtM: if (intval($prizeModel["types"]) == 4) { goto u2G25; } goto MDanD; MeM5d: if (!(intval($prizeModel["create_types"]) == 1)) { goto x2WZL; } goto V8x4H; FAk8x: C737s: goto BAcfd; Y6EFk: if (!($object["is_fedex"] == 1)) { goto gZ7_j; } goto vqyV2; ESjly: if (!($prizeModel["types"] == 6)) { goto Q7Cjc; } goto LWjeu; nucmk: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto x0sRT; csAOr: $content = str_replace("{OBJ}", $object["title"], $content); goto xPgcA; rpRpM: $hashids = Hashids::instance(6, "lywyztk", ''); goto mkQJd; pSg17: wivao: goto Pw0gT; NtRmu: RoNR3: goto RwBpR; aSN_k: pdo_update(ztk_table("user_draw", false), array("card" => $prizeModel["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto q0E6Q; rJzEQ: $code_draw_data = array("writecode" => $encode_id); goto Zbbb6; E20n_: list($min, $max) = explode("-", $prizeModel["score"]); goto F6SCm; rBlfE: $joinPayModel["origin_id"] = $origin_id; goto JSAsg; j4hWh: if (!($object["models"] == 1)) { goto zmMw0; } goto tHaCM; CLF8g: if (!(!empty($join_id) && $is_award_prizes == 1)) { goto JJyE6; } goto w0HL3; LneS9: goto qKQhp; goto mVUU2; AuHY5: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prizeModel["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto G1MHf; XMlyY: $userDrawRecordModel["money"] = $prizeModel["red"]; goto ApjZ5; zNk0F: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto sfL6k; Rzto6: if ($prizeModel["time_types"] == 1) { goto AlZhn; } goto lN07E; hncLY: gNXr9: goto UPcfk; h4hsn: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto xcOy8; zv15X: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto jrDav; g3Jj8: $writecode = ''; goto zse5h; o4lnP: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, $draw_data["obj_types"], $draw_data["obj_id"]); goto Voc2h; COjWZ: pdo_update(ztk_table("user_draw", false), array("red" => $prizeModel["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto jD9iZ; KeW48: if (!($orderPayModel["pay_price"] == $params["fee"])) { goto rS4ls; } goto dVHlM; rPN7V: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["score"] . ""; goto wfiCV; S5Jic: pdo_update(ztk_table("user_draw", false), array("red" => $prize2Model["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto Jmuhz; x3FdQ: eg2VH: goto nDGyD; sEkE8: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto p3TMY; NGgdi: $pwd = $config["sms_key"]; goto MUB8d; lERZx: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto HLlby; hBMeI: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto JYcH2; G4SWd: wlkSC: goto O0onq; RwB3W: oOE6f: goto Hn35h; Cs7yq: $templatecode = $sms_tmp["templatecode"]; goto sMh_n; uiBfa: $mobile = $joinUserModel["mobile"]; goto WG2DW; mVmdC: $draw_id = pdo_insertid(); goto gjEJ0; bU34w: Y4901: goto frrgX; oO2ud: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto Xtiht; SfiLP: $sms_tmp_id = $object["sms_tmp_id"]; goto HW4Rc; tefAM: $content = $sms_tmp["content"]; goto OCnJd; CYaEp: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto AgMhw; Cd6EG: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto mDYIo; cR6S0: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto jkuoy; MiJZH: return true; goto KkzbG; xJa3Y: $sms_tmp_id = $object["buy_sms_tmp_id"]; goto YcNLe; P_fJJ: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prize2Model["sys"])), array("id" => $join2Model["id"])); goto AKf1n; rauBw: $mobile = $joinUserModel["mobile"]; goto Q0QZO; XvRAO: $draw_id = pdo_insertid(); goto kQUIT; LMl_u: $drawcode = $draw_data["pay_number"]; goto VqcsL; MKK4s: $userDrawRecordModel["types"] = 0; goto c3rwU; paWRt: if (!(intval($object["buy_is_pushrebate"]) == 1)) { goto Yxapz; } goto VySpD; HjDi5: HcbHW: goto pRNx2; lJ4RS: $param = ["name" => $userModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "money" => $drawModel["pay_money"] + $drawModel["pay_sys_money"], "code" => $writecode]; goto NDVZp; o6a7X: Kcjqg: goto O8mgt; nkRCU: CoaW1: goto zkVue; U8s0T: include MODULE_ROOT . "/inc/class/Hashids.class.php"; goto zgr37; b1ns4: LyJF2: goto HZ9J9; AQym8: $userUpdateModel["join_num"] = $userModel["join_num"] + 1; goto Ki9Rp; YkxTz: $userDrawRecordModel["updatetime"] = time(); goto Wcwrf; hx_aM: $sn = $config["sms_uid"]; goto wNgwR; vjOoE: ZlzZo: goto Udmwd; og399: w1Uzb: goto Efneq; tOael: $param = ["name" => $orderIntmallModel["nickname"], "gname" => mb_substr($orderIntmallModel["product_title"], 0, 20, "utf-8"), "ordno" => $orderIntmallModel["order_number"], "money" => $prices_payment, "score" => $orderIntmallModel["score"]]; goto fYrT5; RpwJD: if (!isSiteFollow($originModel["openid"])) { goto eMDC3; } goto HDMtk; pWy4q: $joinUserModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $joinModel["openid"])); goto USzr9; L2EXO: $join_draw_data2["end_time"] = $prize2Model["time_end"]; goto jXBAD; oSJ_N: mLFz3: goto V0XbC; cxwN6: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto Skf6O; VB7sR: if (empty($originModel)) { goto YxWe2; } goto V4S56; sbuCl: $mobile = $joinUserModel["mobile"]; goto euFt2; w34cw: updateUserMoney($uniacid, $orderPayModel["openid"], -$pay_sys_money, $note, 3, $obj_types, $object["id"]); goto CrnTW; bAD2g: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto Wum3Y; ECy32: $pwd = $config["sms_key"]; goto JgoeR; DRJfK: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto by0lZ; BQFFr: BRRqr: goto UcG0b; LW4GP: $content = $content . " " . $sms_tmp["sign"] . ""; goto qTg4S; S0AeS: GeaMJ: goto ipu0P; zZFw_: $templatecode = $sms_tmp["templatecode"]; goto tOael; PdUrS: if (intval($prizeModel["types"]) == 5) { goto uyLL6; } goto atUfz; Eg8cQ: EyeS6: goto nkRCU; bCr0c: $content = $content . " " . $sms_tmp["sign"] . ""; goto qHc7p; VQRzd: $join_draw_data["end_time"] = $prizeModel["time_day"] * 24 * 60 * 60 + time(); goto SZ_db; Zkca7: $userDrawRecordModel["openid"] = $join2UserModel["openid"]; goto ROqsN; FtLLT: Wd51b: goto qy7iZ; JVMN6: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto A3Utc; f8SZA: $prizeModel["red"] = mt_rand($min * 100, $max * 100) / 100; goto qXing; vEJQJ: $drawModel = pdo_get(ztk_table("user_draw", false), array("id" => $draw_id)); goto i3l8C; Vhuck: $noticeMessage = "{$prize2Model["name"]}{$prize2Model["red"]}"; goto hwoCY; qZ56V: $templatecode = $sms_tmp["templatecode"]; goto RCQ2T; d82PF: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto B0vEe; hJnN5: if (empty($result)) { goto WUFAJ; } goto wrKQv; Sg41X: if (empty($object["buy_push_tmp"])) { goto Zolld; } goto cGpjm; ERAGb: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto AAfRf; wrbuP: if (intval($prizeModel["types"]) == 3) { goto ETnCQ; } goto g8JtM; SfyG8: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto Nudss; INZfv: if (empty($result)) { goto BRRoo; } goto mVmdC; H2yJm: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto onfu8; Adj9f: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $orderIntmallModel["product_title"] . "" . floatval($orderIntmallModel["pay_price"]) . ""; goto yrI2j; QToWw: $template_id = $object["push_tmp"]; goto lMoS2; d6pVn: $writecode = ''; goto P2ZyQ; NEq0v: WAcOt: goto O449l; S5Sb0: $sms_tmp_id = $object["sms_tmp_id"]; goto ZrrlO; RTGNz: $join_id = $objarr[2]; goto mAKZN; a63VQ: pdo_update(ztk_table("user_draw", false), $join_draw_data, array("id" => $draw_id)); goto O4ryz; zoh3l: if (!($join_model["pid"] > 0)) { goto Hrj8X; } goto eubnx; rCPID: if (!(intval($prizeModel["create_types"]) == 1)) { goto BAkcY; } goto Z2SqM; OHsES: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto gtLCA; eubnx: if (!($joinModel["openid"] != $orderPayModel["openid"])) { goto dHR_5; } goto vTLQ1; DQ8Zw: if (!($object["is_fedex"] == 1)) { goto ewNa2; } goto YT128; IZf8A: if (empty($sms_tmp)) { goto z3nvo; } goto j1j8I; XDBYp: if (empty($config["payment_tmp"])) { goto GupsA; } goto jq8g1; xPMp4: $content = $sms_tmp["content"]; goto GEgO3; yREHh: $writecode = $encode_id; goto PuMzK; TXwW3: klm7P: goto QSnX1; hyk5b: if (empty($join_id)) { goto ZsObQ; } goto zCWzx; Ofyko: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto SpDzw; zTymz: z3nvo: goto z7jZY; DBUwH: Hrj8X: goto fr4zQ; Ph1x9: foreach ($prizeList as $key => $val) { goto k0Pe0; j_ONd: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $joinUserModel["openid"]), "count(*)"); goto a6ASe; aG2hU: n4v1M: goto wcULJ; AnCAd: if (!($count >= intval($val["limit_num"]))) { goto rUQfP; } goto wSrTf; h3NBV: xhzHy: goto TgigS; EScIJ: goto xhzHy; goto aG2hU; G9isT: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto XjyTS; } goto j_ONd; Vf6EE: $arr[$key] = $val["odds"]; goto h3NBV; wcULJ: XjyTS: goto Z3f60; zdaxD: ufOZC: goto G9isT; a6ASe: if (!($count >= intval($val["limit_num"]))) { goto n4v1M; } goto EScIJ; wSrTf: goto xhzHy; goto F4ZTh; yA2d2: goto xhzHy; goto zdaxD; k0Pe0: if (!(intval($val["odds"]) <= 0)) { goto ufOZC; } goto yA2d2; vEuz7: aeJST: goto Vf6EE; dTcfK: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $joinUserModel["openid"])); goto AnCAd; F4ZTh: rUQfP: goto vEuz7; Z3f60: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto aeJST; } goto dTcfK; TgigS: } goto IGkdH; oSmln: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto Ghi1F; nMV1c: p6CC0: goto aEm1q; NHVst: pdo_update(ztk_table("obj_union", false), array("get_num +=" => 1), array("id" => $object["id"])); goto SjRBI; dmAFc: $userDrawRecordModel["send_name"] = $config["power"]; goto bnc2m; BEFn6: $mobile = $joinUserModel["mobile"]; goto GrpiR; FnlyI: $userDrawRecordModel["types"] = 1; goto i30bC; neRAf: $pay_sys_money = floatval($object["money"]) - floatval($orderPayModel["pay_price"]); goto eJTHz; QJXBG: include_once "inc/function/time.func.php"; goto QJRkr; m3XwG: goto uycKy; goto LKoMQ; PtlNY: $encode_id = $hashids->encode($draw_id); goto sKsRv; sL8Ks: $sign = $sms_tmp["sign"]; goto AgXzt; E5nP5: list($min, $max) = explode("-", $prizeModel["red"]); goto CW5RT; eLic3: if (empty($originModel)) { goto pTltV; } goto EHZ_Q; xvBXP: goto y95BC; goto htGjV; vvyLg: pd2Do: goto tQyUY; xPrj1: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prize2Model["virtual_id"], "status" => 1)); goto rCk8Z; Lh51X: list($min, $max) = explode("-", $prizeModel["sys"]); goto aAGXt; vqCms: if (intval($prizeModel_rebate["types"]) == 3) { goto VE6NJ; } goto cbTUq; PKGRU: updateUserScore($uniacid, $join2UserModel["openid"], intval($prize2Model["score"]), $note, 1, $obj_types, $draw_id); goto SKW2Q; s3zSQ: $template_id = $config["originpush_tmp"]; goto OPy2M; EI3fh: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto R5lIZ; RQiaD: $userMoneyRecharge["uniacid"] = $uniacid; goto pmkn2; zT0UU: $pay_sys_money = floatval($join_model["price"]) - floatval($orderPayModel["pay_price"]); goto QDLry; ercac: if (!($params["result"] == "success" && $params["from"] == "notify")) { goto hOs_L; } goto evy8Z; D3CHG: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto NpDz_; XFdRj: $originModel = pdo_get("lywywl_ztk_marketing_user", array("id" => $orderPayModel["origin_id"], "obj_id" => $object["id"], "obj_types" => $obj_types, "uniacid" => $uniacid)); goto Ms671; T0bv5: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto UoZr8; Z68ob: $url = replaceDieDomain($config, __MURL("admins_marketing", array("obj_types" => $obj_types, "obj_id" => $object["id"]), false, TRUE), 0, 0, 0, 0); goto s3zSQ; LwH8X: nq6ID: goto UyjOc; YLvWt: $prizeModel = $prizeList[$rid]; goto nNpWO; fAg7U: $draw_activity_model = pdo_get("lywywl_ztk_" . $tableName, array("id" => $object["draw_activity_id"], "uniacid" => $uniacid, "models" => 3)); goto wJ6Lv; zKpL3: $virtualModel["openid"] = $joinUserModel["openid"]; goto Ql2iq; Z1ctd: $origin_buy_types = 1; goto sw731; SpDzw: $content = str_replace("{PRIZE}", $prizeModel_rebate["name"], $content); goto xtSam; uQE4R: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto LTy1y; tkyxu: $join_draw_data2["end_time"] = $prize2Model["time_day"] * 24 * 60 * 60 + time(); goto tNqUw; NUiDW: $content = $content . " " . $sms_tmp["sign"] . ""; goto yXnvQ; B5_9c: $sms_tmp_id = $object["buy_sms_tmp_id"]; goto tQHNT; dgta7: $ali_accesskeyid = $config["ali_accesskeyid"]; goto KnyQH; awKd3: pdo_update(ztk_table("user_draw", false), array("sys" => $prizeModel_rebate["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto xDKwH; ZEQGA: $userMoneyRecharge["createtime"] = TIMESTAMP; goto UMKrD; NkvRO: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto tuTE9; gg_iL: goto h0DVw; goto p2zeM; E9qd1: if (!empty($drawcode_data_model)) { goto wm20s; } goto FwpSS; Uv1Lo: mFviW: goto Q6wzx; Jx4ab: foreach ($cardArr as $index => $card) { goto WidGd; IDj3l: goto MQEal; goto OPi9n; HpiOJ: $result = pdo_insert("lywywl_ztk_user_union_card", $card_data); goto Fpa2r; sYTeO: pAyiD: goto Ftv6h; m4CNC: pdo_update(ztk_table("join_store_union_card", false), array("get_num +=" => 1, "stock -=" => 1), array("id" => $card["id"])); goto RKK_w; RKK_w: MQEal: goto T_4mo; TCGY0: pdo_update(ztk_table("join_store_union_card", false), array("get_num +=" => 1), array("id" => $card["id"])); goto IDj3l; Fpa2r: if (empty($result)) { goto Qvu1o; } goto NOoJQ; Dk_1q: if (empty($storeModel)) { goto pAyiD; } goto gBpLQ; OPi9n: jN8Jh: goto m4CNC; T_4mo: Qvu1o: goto sYTeO; WidGd: $storeModel = pdo_get("lywywl_ztk_join_store_union", array("id" => $card["store_id"], "status" => 1, "uniacid" => $uniacid)); goto Dk_1q; Ftv6h: ss4pq: goto Pkaxa; NOoJQ: if ($card["is_open_stock"] == 1) { goto jN8Jh; } goto TCGY0; gBpLQ: $card_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "store_id" => $card["store_id"], "card_id" => $card["id"], "name" => $card["name"], "use_num" => $card["writeoff_num"], "writeoff_num" => 0, "writeoff_interval" => $card["writeoff_interval"], "writeoff_interval_num" => $card["writeoff_interval_num"], "money" => $card["money"], "pay_money" => $card["pay_money"], "use_limit" => $card["use_limit"], "end_time" => $card["time_types"] == 0 ? TIMESTAMP + intval($card["time_day"]) * 24 * 60 * 60 : $card["time_end"], "pic_url" => $card["pic_url"], "openid" => $orderPayModel["openid"], "nickname" => $userModel["nickname"], "headurl" => $userModel["headurl"], "createtime" => TIMESTAMP); goto HpiOJ; Pkaxa: } goto qc2_A; d8W7F: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto YRMhQ; ixL2R: $buy_specs_field = unserialize($object["buy_specs_field"]); goto HFngb; bnc2m: $userDrawRecordModel["wishing"] = " "; goto syHix; mGyMH: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prize2Model["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto U4hM5; XryVl: $userUpdateModel["join_num"] = $userModel["join_num"] + 1; goto n_7JW; z5KB8: $sign = $sms_tmp["sign"]; goto qZ56V; aiaSu: $postdata = array("first" => array("value" => "", "color" => "#173177"), "keyword1" => array("value" => $object["title"], "color" => "#173177"), "keyword2" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword3" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword4" => array("value" => date("Y-m-d H:i:s", time()), "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto WQKmt; QPqkA: $noticeMessage = "" . $prizeModel_rebate["name"]; goto yOXAr; Q730G: goto lZcSq; goto cP9KY; F9oft: goto da14e; goto gjIEG; GJNjd: sendSiteTplNotice($uniacid, $joinUserModel["openid"], $postdata, $template_id, $url); goto xR3AT; GrpiR: $content = $sms_tmp["content"]; goto d8W7F; SPWnT: qKQhp: goto qMOOY; aEm1q: $sn = $config["sms_uid"]; goto a3PIX; s3c1P: dukya: goto GZxsG; MLGA0: $noticeMessage = "{$prize2Model["name"]}{$prize2Model["wallet"]}"; goto NWJSb; kSfrb: if (empty($orderPayModel["origin_id"])) { goto kGH2t; } goto FG6Rk; E5arg: $encode_id = $hashids->encode($draw_id); goto AQdP2; gvMhZ: $join2Model = pdo_get(ztk_nopre_table("user_union_join"), array("uniacid" => $uniacid, "obj_id" => $object["id"], "obj_types" => $obj_types, "openid" => $draw2Model["openid"])); goto kp4G8; OsSrB: $content = $sms_tmp["content"]; goto kLNDo; skIVo: tmJ7j: goto xPrj1; XwmqZ: $join_draw_data2["end_time"] = 0; goto DxK_8; DdzJh: $join_draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prizeModel["id"], "types" => $prizeModel["types"], "name" => $prizeModel["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prizeModel["pic_url"], "writeoff_types" => $prizeModel["writeoff_types"], "openid" => $joinUserModel["openid"], "nickname" => $joinUserModel["nickname"], "sex" => $joinUserModel["sex"], "headurl" => $joinUserModel["headurl"], "area" => $joinUserModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 0, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto ESjly; n1OvB: sendTplNotice($uniacid, $userModel["openid"], $postdata, $template_id, $url); goto iEPGo; vluLn: $userDrawRecordModel["types"] = 0; goto tnLNd; Jj9E0: goto Pr4YZ; goto tSOWx; cMyH5: $sn = $config["sms_uid"]; goto HsKsZ; YK8Zj: pdo_update(ztk_table("user_draw", false), array("card" => $prizeModel["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto vwjce; AiiP2: $content = $sms_tmp["content"]; goto v9uQK; wrvtz: $mobiles = $userModel["mobile"] ? $userModel["mobile"] : $orderIntmallModel["mobile"]; goto PXoP0; TBhM1: $prizeModel = null; goto x2V6l; rYGiD: $sign = $sms_tmp["sign"]; goto tz_yw; UoZr8: goto a3K2t; goto kkDZG; DbzvJ: if (!(intval($prizeModel["create_types"]) == 1)) { goto CxNVI; } goto tY2yI; YKjSR: $content = $content . " " . $sms_tmp["sign"] . ""; goto Q6RPV; L2DZr: if ($orderIntmallModel["is_fedex"] == 0) { goto ZZ9p0; } goto oIRPW; DrOMf: if (!empty($drawcode_data_model)) { goto tL1A6; } goto FxN91; wZdIM: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $join2UserModel["nickname"] . "" . $object["title"] . "" . $prize2Model["sys"] . ""; goto VGbvL; SxZHU: $userDrawRecordModel["send_name"] = $config["power"]; goto uYUy6; TY0yF: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto ujle4; SKW2Q: pdo_update(ztk_table("user_draw", false), array("score" => $prize2Model["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto HZxe6; LFTkl: goto dUm5N; goto j654I; ZvHSj: if (!($prizeModel["types"] == 6)) { goto dB0i_; } goto MKS37; SgBvS: $userDrawRecordModel["updatetime"] = time(); goto q3One; FwpSS: $drawcode_data_array = array("uniacid" => $uniacid, "drawcode_id" => $draw_activity_model["drawcode_id"], "openid" => $orderPayModel["openid"], "code" => $drawcode, "status" => 1, "createtime" => TIMESTAMP); goto jQV19; Nudss: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto o4lnP; w4qWA: $prizeModel = $prizeList[$rid]; goto zP45_; LGUFL: btIge: goto i2YJW; pmDy1: V1y1p: goto OArw2; QDLry: $writeoff_types = 0; goto Y6EFk; ij404: l4bKM: goto YaUQF; fr4zQ: return true; goto aHwd6; qJDIc: $pay_sys_money = floatval($object["money"]) - floatval($orderPayModel["pay_price"]); goto nQK2v; vuQO1: Sj18r: goto zoh3l; zCWzx: $joinModel = pdo_get(ztk_nopre_table("user_ladder_join"), array("uniacid" => $uniacid, "id" => $join_id)); goto ytoSX; qDCI0: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto LMupr; DepzP: $draw_id = pdo_insertid(); goto AAtpd; lJbwi: $ali_accesskeyid = $config["ali_accesskeyid"]; goto qrsX3; DBdft: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto aCdUb; HFoA6: $noticeMessage = "" . $prize2Model["name"]; goto KWXUT; OQAAX: $userDrawRecordModel["createtime"] = time(); goto NRujA; X7YKh: updateUserScore($uniacid, $joinUserModel["openid"], intval($prizeModel["score"]), $note, 1, $obj_types, $draw_id); goto RHfUo; QMy0E: if (!($object["buy_is_specs"] == 1 && $is_the_right_pattern)) { goto WDPqT; } goto ixL2R; eLJg3: OF5aN: goto JS06p; dtv2q: bEdX1: goto Km9n4; Ie7W8: kKRhp: goto MwQNt; p8CZo: ILfHr: goto MMz39; K7sdE: updateUserMoney($uniacid, $orderPayModel["openid"], -$pay_sys_money, $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto bU34w; BAO8s: $joinModel = pdo_get(ztk_nopre_table("user_soliciting_join"), array("uniacid" => $uniacid, "id" => $join_id)); goto rJniR; dWKxR: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto UoT4i; Ib55G: $ali_accesskeyid = $config["ali_accesskeyid"]; goto Ti4Ld; xK0Ja: list($min, $max) = explode("-", $prizeModel["red"]); goto f8SZA; jLXeM: pdo_update(ztk_table("user_draw", false), array("sys" => $prizeModel["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto ldKX3; HZ9J9: Ty3l6: goto qJDIc; XlsT5: goto YyLd9; goto LoMxQ; Xjfll: $userDrawRecordModel["desc"] = $prize2Model["name"]; goto fsK1q; KutUP: $sign = $sms_tmp["sign"]; goto Yk2Ne; NxKYU: zosGJ: goto MCe_8; Qg11s: $result = sendSiteWeixinMchPay($join2UserModel["openid"], $prize2Model["wallet"] * 100, $prize2Model["name"], true, $uniacid, $config); goto aM1pf; yogXm: rpjyT: goto aYZN9; a2VN7: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto RbRu_; zFWWI: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto xG5S9; jFQe1: if (empty($originModel)) { goto pk9F3; } goto GBaxd; luzJx: $encode_id = $hashids->encode($draw_id); goto j5sYC; nXsr1: $obj_types = $objarr[1]; goto S7dL9; hFsOX: if ($prize2Model["time_types"] == 2) { goto n6he1; } goto tXEXS; v7MSO: if (!(intval($object["is_push"]) == 1)) { goto Vdx3V; } goto tqPcS; hYChZ: $origin_buy_types = 0; goto yzwSa; XJtv9: $content = str_replace("{SCORE}", $orderIntmallModel["score"], $content); goto NUiDW; Ys9Lv: $writecode = ''; goto yHBce; O9C1B: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $pay_sys_money . ""; goto ZoPvi; B9ycv: pdo_update(ztk_table("user_draw", false), array("wallet" => $prize2Model["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto Q9RNB; vsWHC: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto YU1fQ; jqJQ0: $noticeMessage = "" . $prizeModel["name"]; goto Tf727; DDi6a: $userDrawRecordModel["obj_id"] = $prize2Model["obj_id"]; goto zgl11; C7aq5: $virtualModel["openid"] = $joinUserModel["openid"]; goto Q1rDS; KTlgC: ydYVh: goto Gf0hd; gfOgY: $draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "prize_id" => 0, "types" => 8, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "origin_buy_types" => $origin_buy_types, "name" => $object["title"], "pay_money" => $orderPayModel["pay_price"], "pay_sys_money" => $pay_sys_money, "pay_number" => $pay_number, "invite_openid" => $joinModel["openid"], "prize_pic_url" => $object["picurl"], "writeoff_types" => $writeoff_types, "openid" => $orderPayModel["openid"], "nickname" => $userModel["nickname"], "sex" => $userModel["sex"], "headurl" => $userModel["headurl"], "area" => $userModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "is_register" => $object["buy_is_register"], "register_data" => base64_decode($register_data), "createtime" => TIMESTAMP, "buy_number" => $buy_reobjspecs["specs_nums"]); goto PVtvZ; O1NHd: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto XpA2Z; v3Ge2: i__2A: goto fzL4c; rT_S5: gS7iD: goto xvBXP; AAfRf: $mobile = $userModel["mobile"]; goto wwk07; tiHOp: $result = sendTplNotice($uniacid, $originModel["openid"], $postdata, $template_id, $url); goto tyWEQ; IwSSN: $userDrawRecordModel["openid"] = $join2UserModel["openid"]; goto aYUlL; jlpr8: $drawcode = $draw_data["pay_number"]; goto Ue60h; zPAts: $prizeModel_rebate["red"] = mt_rand($min * 100, $max * 100) / 100; goto pn3ju; tF1sm: DyBbG: goto Ln_WZ; jQV19: pdo_insert("lywywl_ztk_sys_drawcode_data", $drawcode_data_array); goto VBDkc; AdATz: jSsnP: goto T81Y6; HnVf2: updateUserMoney($uniacid, $joinUserModel["openid"], floatval($prizeModel["sys"]), $note, 1, $obj_types, $draw_id); goto mC0Ge; Gou6j: QWEXC: goto JyUDX; OlbA5: if (!($join_model["pid"] > 0)) { goto Col_B; } goto G2gtv; ggono: KN4Cr: goto z4wlz; MDanD: if (intval($prizeModel["types"]) == 5) { goto OF5aN; } goto LZZ4W; S12IV: if (!(intval($prizeModel_rebate["create_types"]) == 1)) { goto F1vP7; } goto hDHej; gXGn8: LhQ12: goto Y3tm5; tpAZC: if (empty($sms_tmp)) { goto CoaW1; } goto B1oCI; QcPvU: list($min, $max) = explode("-", $prizeModel["score"]); goto KvXYr; nMTx2: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto MPykK; mtCIn: $content = str_replace("{GNAME}", $orderIntmallModel["product_title"], $content); goto fHndM; t7Fd8: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto fzd2M; kXSc1: $prizeModel = null; goto Ph1x9; o05uG: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto mFtBv; O3ZS3: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto y76fX; } goto a0Fry; zicX0: $url = replaceDieDomain($config, __MURL("admins_marketing", array("obj_types" => $obj_types, "obj_id" => $object["id"]), false, TRUE), 0, 0, 0, 0); goto zn4y7; KvXYr: $prizeModel["score"] = mt_rand($min, $max); goto frGcg; q3One: $userDrawRecordModel["createtime"] = time(); goto e1S_e; Whi1a: foreach ($prizeList as $key => $val) { goto a7MIN; rntTR: $arr[$key] = $val["odds"]; goto VhDZ9; F_zT0: goto F74uU; goto y2HNT; Nd0PH: if (!($count >= intval($val["limit_num"]))) { goto LRy9h; } goto F_zT0; wbM90: if (!($count >= intval($val["limit_num"]))) { goto C00av; } goto QHIML; fRX1V: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto agoMy; } goto DZwuJ; I9Zit: PhlmX: goto Qhvle; pbUg2: goto F74uU; goto I9Zit; zndzJ: agoMy: goto rntTR; wky5i: C00av: goto zndzJ; a7MIN: if (!(intval($val["odds"]) <= 0)) { goto PhlmX; } goto pbUg2; VhDZ9: F74uU: goto Lr2da; QHIML: goto F74uU; goto wky5i; nzU5z: QuZzh: goto fRX1V; z1Njs: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $joinUserModel["openid"]), "count(*)"); goto Nd0PH; DZwuJ: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $joinUserModel["openid"])); goto wbM90; Qhvle: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto QuZzh; } goto z1Njs; y2HNT: LRy9h: goto nzU5z; Lr2da: } goto axTiz; Ja0q5: tgowK: goto k0tcr; yn4_g: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $object["virtual_id"], "status" => 1)); goto gIBAY; ViiQx: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto REqWS; nNz73: $content = $content . " " . $sms_tmp["sign"] . ""; goto EI3fh; loHBg: updateUserMoney($uniacid, $joinUserModel["openid"], floatval($prizeModel["sys"]), $note, 1, $obj_types, $draw_id); goto qssMa; DT6Ys: $userDrawRecordModel["uniacid"] = $prize2Model["uniacid"]; goto HZ9wU; BKQtp: CPheQ: goto ugPTA; UIWHc: $content = str_replace("{OBJ}", $object["title"], $content); goto YKjSR; iUrzs: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto dkjJy; nmPsW: if (!empty($prize2Model)) { goto GsNyH; } goto WWfr_; Fki2b: if (intval($prizeModel["types"]) == 2) { goto Zqyxa; } goto wrbuP; dXq5E: $noticeMessage = "{$prizeModel["name"]}"; goto JhX7L; BPVZL: pdo_update(ztk_table("user_collage_join", false), array("joins +=" => 1), array("id" => $join_id)); goto gmGBy; Yk2Ne: $templatecode = $sms_tmp["templatecode"]; goto qj0kV; HIOsk: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto s3c1P; TJjCV: $userDrawRecordModel["types"] = 1; goto Qw3T1; MwQNt: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["sys"] . ""; goto loHBg; bIA3Z: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto pzuKw; f6FxC: $result = sendSiteWeixinRedPacket($joinUserModel["openid"], floatval($prizeModel["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto zB388; QsDaM: FxXxC: goto jqhTy; j5sYC: $join_draw_data = array("writecode" => $encode_id); goto HEbGR; QMr1b: if (intval($prizeModel["types"]) == 3) { goto w1Uzb; } goto FlWM6; IS_RM: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto APfri; scxAk: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto x4dcW; Vas1v: pPzXq: goto e5Pvx; feqYR: emsN2: goto RfJCf; hp9qC: zpz4G: goto MiJZH; ADaXP: goto e0tjo; goto Wmg9N; vSn5C: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto PSu1a; z3BiZ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto xUL2n; miM_6: $tableName = $permission_data[$object["draw_activity_type"]]; goto fljyj; VtCaG: $hashids = Hashids::instance(6, "lywyztk", ''); goto E5arg; tNqUw: JVx_s: goto TXXf8; EoA4r: if (!($object["is_fedex"] == 1)) { goto h9fty; } goto XOU4H; sbgPp: $sms_tmp_id = $config["buysmstmp_id"]; goto MQ0is; M40Kk: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto ssq3w; } goto AAZGz; V8yBS: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $userModel["id"], $obj_types, $object["id"], 0); goto HDlNI; crZ9Q: $joinCount = pdo_count(ztk_nopre_table("user_ladder_join"), array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "pid" => $pid)); goto uWeX4; QAUq9: if ($orderPayModel["status"] == 0) { goto K9zAa; } goto u2hy6; P7gIj: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto l7bQs; EVTMh: $noticeMessage = ''; goto s06V1; cwS0c: N_N3h: goto PYij0; Z1AsR: goto ObSyb; goto xx2mY; Iuc4u: if (!(intval($object["buy_is_push"]) == 1)) { goto V4nM9; } goto yECZv; k0tcr: j4YJM: goto pOJHd; JPYt8: zwoPo: goto MFbBw; t11W3: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto gfMtb; Sk02F: $userDrawRecordModel["act_name"] = ""; goto D1nKm; JX6Dr: pdo_update(ztk_table("user_draw", false), $code_draw_data, array("id" => $draw_id)); goto SBkOu; v_4Y3: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto fn4Fp; V4WaF: goto S__Lv; goto DVR1t; MdMpW: updateUserMoney($uniacid, $userModel["openid"], floatval($prizeModel_rebate["sys"]), $note, 1, $obj_types, $draw_id); goto awKd3; cGpjm: $template_id = $object["buy_push_tmp"]; goto AJtGS; SqB_v: $sign = $sms_tmp["sign"]; goto wi3SD; cKxwD: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto zuCDO; obPqx: qIbFh: goto tanP_; P4NEM: $code_draw_data["status"] = 1; goto mhbis; t88YW: $userDrawRecordModel["updatetime"] = time(); goto p219S; RQZFl: if ($orderPayModel["types"] == 3) { goto Ue4PZ; } goto olZMh; Cjy1D: twcPX: goto Py6lo; HQlef: $join_draw_data = array("writecode" => $encode_id); goto oAe0F; MFQrv: $permission_data = array("5" => "obj_wheel", "6" => "obj_9box", "7" => "obj_tiger", "8" => "obj_scratch", "9" => "obj_eggs", "10" => "obj_poker", "11" => "obj_shake", "12" => "obj_opencard", "13" => "obj_bag"); goto ercac; tuTE9: goto BtAGC; goto KmCl7; Rlgqg: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto fQEd3; cUZgB: NcR6D: goto k3LiW; G8ZVb: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data); goto d6pVn; e31eB: BREVx: goto UtC2r; KNJ62: $userDrawRecordModel["createtime"] = time(); goto Rkumv; I0JEg: MI_AM: goto ivvmy; BDg3a: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto GXVXO; bOWKg: $userDrawRecordModel["updatetime"] = time(); goto QY7oA; VbpRm: pI4Vb: goto Vas1v; vOWj5: $code_draw_data["virtual_data_id"] = 0; goto O02tV; TxHIc: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto wbTn6; mFtBv: $content = str_replace("{OBJ}", $object["title"], $content); goto hoIJR; JJ8pG: goto l4bKM; goto nMV1c; k0k5e: WvrXd: goto Kr2Ka; i6shI: list($min, $max) = explode("-", $prizeModel["sys"]); goto rTZmq; ifaWp: $noticeMessage = ",{$prizeModel["name"]}{$prizeModel["wallet"]}"; goto GOzeg; JNKWV: if ($prizeModel["is_sms"] == 1) { goto ECElU; } goto kp6Cr; N50A_: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto jij51; zjVU2: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto o05uG; kjEHN: $sn = $config["sms_uid"]; goto AkdOr; AT_sI: $userMoneyRecharge = array(); goto Dk7Xh; aplW5: NQrpP: goto oidck; ROrZs: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto OFJrt; qj0kV: $param = ["name" => $join2UserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prize2Model["name"], "code" => $writecode]; goto EyeIJ; wNNGr: goto sTBy5; goto FK5Cp; kkDZG: MnJDW: goto ANxJA; eZ6Rf: if (empty($object["buy_push_tmp"])) { goto qkK1s; } goto KIUJQ; ZjIhl: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto Nnl0q; rtkfu: goto ki9cs; goto IYwr5; rxTLh: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto akNwW; w8WtX: SdyxM: goto tZ20a; da7HC: if (!isSiteFollow($orderIntmallModel["openid"])) { goto KDtaa; } goto UZBTR; NJArh: goto UGGWY; goto gFTl3; UJL0A: goto N76e0; goto J4H38; EHZ_Q: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto zUwWy; Yaobq: $encode_id = $hashids->encode($draw_id); goto BlH4q; yluyp: $noticeMessage = "" . $prizeModel["name"]; goto B4n3W; qfoeL: $joinPayModel["obj_id"] = $object["id"]; goto cpc5z; wU6Bg: if (intval($prizeModel_rebate["types"]) == 5) { goto V1y1p; } goto I89tA; piXkf: $result = pdo_insert(ztk_table("user_draw", false), $draw_data); goto xqWdo; eplIt: QP39U: goto dwiy3; mM6QP: sendTplNotice($uniacid, $userModel["openid"], $postdata, $template_id, $url); goto rSLPW; bPjYa: $virtualModel["status"] = 0; goto oWW4Z; DaBrc: pdo_update(ztk_table("user_collage_join", false), array("money +=" => floatval($prizeModel["red"])), array("id" => $joinModel["id"])); goto ZogWb; ikh9F: $drawcode_data_array = array("uniacid" => $uniacid, "drawcode_id" => $draw_activity_model["drawcode_id"], "openid" => $orderPayModel["openid"], "code" => $drawcode, "status" => 1, "createtime" => TIMESTAMP); goto IBg5U; OSx3k: $userMoneyRecharge["uniacid"] = $uniacid; goto pbvwE; FGCm2: $prize2Model["score"] = mt_rand($min, $max); goto rWBtU; YaUQF: nCy0k: goto csHP1; Oe5Tg: $userDrawRecordModel["createtime"] = time(); goto I6CNt; sDxe9: gZ7_j: goto eaATc; G1MHf: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto FoMFR; gQe0Y: $prizeModel = $prizeList[$rid]; goto gZrRd; zecnQ: list($min, $max) = explode("-", $prize2Model["score"]); goto FGCm2; yVp10: pdo_update(ztk_table("user_collage_join", false), array("money +=" => floatval($prizeModel["sys"])), array("id" => $joinModel["id"])); goto MYsh3; LerT2: sendSiteTplNotice($uniacid, $join2UserModel["openid"], $postdata, $template_id, $url); goto TTwbN; b2dKc: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $userModel["openid"])); goto pTsR_; LLQj4: $userDrawRecordModel["card_id"] = $prizeModel["card"]; goto CGp5O; wnExP: $mobile = $joinUserModel["mobile"]; goto rHpce; wK5jZ: qUJAa: goto XHJnK; CrnTW: cKnQp: goto k22jw; ZaStf: WkQnt: goto YRmad; u8Llf: $userDrawRecordModel["desc"] = $prizeModel["name"]; goto PHLUE; sXROk: EQRg3: goto MafsT; xPgcA: $content = $content . " " . $sms_tmp["sign"] . ""; goto oiMP6; p295N: SJmW3: goto KnuDf; F3oJ_: $prizeModel["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto AlTwx; N_vt2: if (!$orderPayModel) { goto JauCg; } goto KeW48; aZgWH: $noticeMessage = ''; goto IBMau; u0tZ6: if (!(intval($prizeModel["create_types"]) == 1)) { goto n8kiJ; } goto M8xmp; ljXMT: $rid = get_rand($arr); goto h8G6G; mBydR: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto k6w77; uWeX4: if (!($joinCount >= $group_min_num)) { goto Y_Tvf; } goto bYHWS; BS8DH: CZmVt: goto DjbV9; bPBOt: K0jGJ: goto m4DQP; xC10k: $content = $sms_tmp["content"]; goto UzSX0; Eb0wP: $noticeMessage = ''; goto qKMd8; QJRkr: include_once "inc/function/user.func.php"; goto u0r9Q; RBmlY: if (empty($virtualModel)) { goto jrFdx; } goto Jb0bI; LvoHM: $sn = $config["sms_uid"]; goto GPyaT; y3HLc: if (!(!empty($join2UserModel) && !empty($join2UserModel["mobile"]))) { goto tgowK; } goto ANuD7; UdkgX: $register_data = $orderPayModel["note"]; goto YxuP9; UZqiQ: b0Gln: goto Qvh1H; oPQNF: bYVHA: goto SqED4; WHp_S: $joinPayModel["register_data"] = $object["join_is_register"] == 1 ? base64_decode($register_data) : ''; goto hm5y2; dJv7E: if (!empty($drawcode_data_model)) { goto Dv1Ts; } goto ikh9F; PfanQ: $origin_team_id = 0; goto oPmkN; Q6RPV: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto qdN1r; TNNUS: foreach ($prizeList as $key => $val) { goto iuXbs; YBiYJ: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto tfNev; } goto p09HS; zzoqH: goto r6NNq; goto Ngx6v; MWVMI: if (!($count >= intval($val["limit_num"]))) { goto dn7a_; } goto zzoqH; XVUIy: eovAi: goto KhgTK; dZPKX: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto eovAi; } goto b21mt; KhgTK: $arr[$key] = $val["odds"]; goto Y0EnU; Y0EnU: r6NNq: goto zcBPS; zWUSi: goto r6NNq; goto pxujO; o3zaF: goto r6NNq; goto BNk2I; Ngx6v: dn7a_: goto O76tn; p09HS: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $joinUserModel["openid"]), "count(*)"); goto MWVMI; USztr: if (!($count >= intval($val["limit_num"]))) { goto llWhg; } goto o3zaF; iuXbs: if (!(intval($val["odds"]) <= 0)) { goto ejz7i; } goto zWUSi; b21mt: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $joinUserModel["openid"])); goto USztr; pxujO: ejz7i: goto YBiYJ; BNk2I: llWhg: goto XVUIy; O76tn: tfNev: goto dZPKX; zcBPS: } goto BSJ0G; aVL6L: KFp_F: goto XMZz4; fnNU_: $userDrawRecordModel = array(); goto lQeq7; e7m17: pdo_update(ztk_table("user_draw", false), $join_draw_data, array("id" => $draw_id)); goto EDgvE; AsC4x: $pay_sys_money = floatval($object["group_price"]) - floatval($orderPayModel["pay_price"]); goto vgnO4; PnOoZ: if (empty($object["buy_push_tmp"])) { goto FxXxC; } goto jdVcA; pTsR_: $noticeMessage = "" . $prizeModel_rebate["name"]; goto Pukxz; Bfght: $hashids = Hashids::instance(6, "lywyztk", ''); goto nIDaT; dZpeA: AXN13: goto oA7pA; kRMY5: if (empty($originModel)) { goto YYQfc; } goto UvBxr; Z6Tjh: $param = ["name" => $userModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "money" => $drawModel["pay_money"] + $drawModel["pay_sys_money"], "code" => $writecode]; goto CrM0A; Tji0R: UvR1j: goto F1ycM; ctY5_: $hashids = Hashids::instance(6, "lywyztk", ''); goto Svotx; LTRnP: $userDrawRecordModel["createtime"] = time(); goto bIA3Z; om3fE: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto IJkRE; Wmg9N: fkHZV: goto HM_f2; X5Ioc: $userDrawRecordModel["updatetime"] = time(); goto uYy6m; gpM79: $prizeModel = $prizeList[$rid]; goto UAyph; u2hy6: return true; goto VQaJO; Zs3Oz: VE6NJ: goto PdYXJ; ArApm: $joinPayModel["nickname"] = $userModel["nickname"]; goto IWzCk; XF1jy: $mobile = $joinUserModel["mobile"]; goto J0BLO; niGnL: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $join2UserModel["id"], $obj_types, $object["id"], 0); goto aqBq9; jPzMG: tuzKZ: goto xsomy; zDxyZ: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["red"], "red_money +=" => $prizeModel["red"], "red_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto fX340; WbfkG: qRqmh: goto yfffG; zXo3l: yONsi: goto MjoIj; lG_r9: $userDrawRecordModel["card_id"] = $prizeModel["card"]; goto gZKQk; I1lbA: fnzVM: goto P4zcq; vgnO4: goto Fbnig; goto jATfg; dwiy3: pdo_update(ztk_table("obj_soliciting", false), array("get_num +=" => 1), array("id" => $object["id"])); goto GhE15; KsOZA: jzv1t: goto f4f5q; azb_4: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto cKxwD; a0Fry: if (intval($sms_tmp["types"]) == 0) { goto B1HIV; } goto eN3sb; vrFSU: $writecode = ''; goto LDHxA; bGlTU: $result = pdo_insert(ztk_table("user_draw", false), $draw_data); goto yNB5e; oE1aH: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $userModel["openid"])); goto z9mAL; nDGyD: $join_draw_data["end_time"] = $prizeModel_rebate["time_end"]; goto G_JgT; P8_0Q: JD912: goto KkR9_; FiOo3: goto t3OG8; goto AVM36; a1l9X: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto j9vq2; ryEFB: if (!empty($drawcode_data_model)) { goto pI4Vb; } goto ogZcE; mFYwX: pdo_update(ztk_table("user_draw", false), array("wallet" => $prizeModel_rebate["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto aaicy; z9mAL: PZ4iR: goto ce8m6; deYP_: if (!($prizeModel_rebate["types"] == 6)) { goto FtEeb; } goto UHf8C; xpWNL: pdo_update(ztk_table("marketing_user", false), array("join_num +=" => 1), array("id" => $origin_id)); goto zXo3l; mPxov: $draw_id = pdo_insertid(); goto Bfght; cXywV: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto Zu0fr; IKaa_: DVwpy: goto vZzZI; nqv47: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["score"]}"; goto GfdSc; fR4xC: $encode_id = $hashids->encode($draw_id); goto HA241; f3Xis: $userMoneyRecharge["order_number"] = $orderIntmallModel["order_number"]; goto mu_0Z; z9g5Q: if (!(!empty($join2UserModel) && !empty($join2UserModel["mobile"]))) { goto wHboL; } goto I_bzR; p4Fim: $writecode = $encode_id; goto UeqcS; FcHTp: if (!($prizeModel["types"] == 6)) { goto T_Ba5; } goto Rzto6; QiCf0: T12H9: goto TXwW3; LG2Qs: $content = str_replace("{OBJ}", $object["title"], $content); goto Ov8aG; zDSbh: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto mtCIn; qXing: jYrZo: goto nLlc1; ZogWb: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["red"]}"; goto cTYN5; PAWDW: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["wallet"]}"; goto OB2Xq; XlcZQ: if (!(intval($prize2Model["create_types"]) == 1)) { goto y73qf; } goto eEY5a; foAl9: XDUIg: goto FMQNO; RxfI0: $content = $content . " " . $sms_tmp["sign"] . ""; goto hJvdG; e02Sx: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto JVMN6; cVfiv: $userDrawRecordModel["types"] = 2; goto EeJNo; BRGAH: $prizeModel = null; goto u_1It; Jb0bI: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto C7aq5; xW1qT: kNP0T: goto jZHOR; U6uST: $prizeModel["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto k0k5e; v4wqO: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["red"]}"; goto EZqKv; IwKBe: $first_mess = ":"; goto xyr6H; mwdXX: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto ZGUm3; Xh7Ab: $join_draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prizeModel["id"], "types" => $prizeModel["types"], "name" => $prizeModel["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prizeModel["pic_url"], "writeoff_types" => $prizeModel["writeoff_types"], "openid" => $joinUserModel["openid"], "nickname" => $joinUserModel["nickname"], "sex" => $joinUserModel["sex"], "headurl" => $joinUserModel["headurl"], "area" => $joinUserModel["area"], "ip" => $_W["clientip"], "or_rebate2" => 0, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto ZvHSj; UjshV: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto zNk0F; T81Y6: if ($pay_types == 1) { goto V7qBN; } goto esu35; mj0qC: $result = sendSiteWeixinMchPay($joinUserModel["openid"], $prizeModel["wallet"] * 100, $prizeModel["name"], true, $uniacid, $config); goto w2GQ2; Ik5T3: hOs_L: goto MywWL; Hg1MP: if (!(intval($prizeModel["create_types"]) == 1)) { goto Wd51b; } goto Yuvfm; lmTIB: if (!($orderPayModel["types"] == 6)) { goto zAAMZ; } goto U8s0T; HUcEq: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto GE2GR; E2eXr: $hashids = Hashids::instance(6, "lywyztk", ''); goto fqArG; XLPX3: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto GnH60; D5D8g: $orderLogModel = array("uniacid" => $uniacid, "types" => 1, "order_number" => $orderIntmallModel["order_number"], "status" => $orderIntmallModel["status"], "note" => '', "updatetime" => TIMESTAMP, "createtime" => TIMESTAMP); goto w74Zo; LTy1y: $content = str_replace("{MONEY}", $drawModel["pay_money"] + $drawModel["pay_sys_money"], $content); goto nXXXF; MvdOu: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data); goto Ys9Lv; ilF3i: izvGo: goto nRaE4; Mwzrf: $userDrawRecordModel["createtime"] = time(); goto Kqy0K; Sv0wq: $virtualModel["status"] = 0; goto J_2jp; DCob7: goto YCny3; goto og399; A3lLH: KCRbz: goto a03wH; iu8A4: if (empty($prize2List)) { goto WSEup; } goto Zg_v9; dfJbU: $userDrawRecordModel["openid"] = $join2UserModel["openid"]; goto Te7fi; p7jLl: $pay_sys_money = floatval($object["cost_price"]) - floatval($orderPayModel["pay_price"]); goto saPo2; cv9f0: $writecode = $encode_id; goto WK8Fw; s1YGA: BJKgD: goto k1GuJ; bSE9n: goto n6ZbO; goto LIuu0; zMnVR: $content = $sms_tmp["content"]; goto SKXhT; HVsOy: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prize2Model["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto pC9C0; QCipu: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto sMsOU; o0CI0: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto GQ6nA; b3PWW: Vd_Ay: goto Iuc4u; Sj0bl: E2T7O: goto VQheJ; Wc1lW: $origin_buy_types = 1; goto nq1v2; L6e5v: $origin_id = $orderPayModel["origin_id"]; goto hGgj9; qVRnO: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto KvJ03; jvj3L: if (empty($originModel)) { goto YfX1z; } goto PZQVg; ZI8z8: FiV8G: goto U8OoH; CCvRL: RxzmM: goto S5Sb0; dcnDC: if (!(intval($prizeModel["create_types"]) == 1)) { goto YiPiX; } goto E20n_; Mv41M: $userDrawRecordModel["createtime"] = time(); goto Gm5ma; dYl5w: cZGNM: goto s98dt; tEF39: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel_rebate["red"], "red_money +=" => $prizeModel_rebate["red"], "red_money_num +=" => 1), array("openid" => $userModel["openid"])); goto wYRWH; XOU4H: $writeoff_types = 1; goto FIQgT; TXr2t: $userDrawRecordModel["createtime"] = time(); goto qDCI0; z1YzY: if (!(intval($prizeModel["types"]) == 9)) { goto BJYA1; } goto y741C; IuQEA: pdo_update(ztk_table("user_draw", false), array("card" => $prize2Model["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto lGZGE; Uk1eZ: $prizeModel_rebate["sys"] = mt_rand($min * 100, $max * 100) / 100; goto GjaN9; BDDSq: $sms_tmp_id = $prizeModel_rebate["sms_tmp_id"]; goto hBMeI; p3TMY: if (empty($originModel)) { goto vV5V8; } goto H2yJm; r4iOi: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto OlsJb; P9icw: q88PZ: goto WomYS; RlFRz: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto pC0rB; L43oz: goto DyBbG; goto ttSHE; Bw7rz: pdo_update(ztk_table("user_union_join", false), array("money +=" => floatval($prize2Model["sys"])), array("id" => $join2Model["id"])); goto zFm1S; N3d24: $mobile = $joinUserModel["mobile"]; goto SqB_v; gyNn7: $userDrawRecordModel = array(); goto Ls_cw; SSnAE: DjxR5: goto kOLH9; kLNDo: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto i3I07; SNtM0: $objparams = array(":token" => $obj_token, ":uniacid" => $uniacid); goto Ks3Df; t1i6q: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto Iigly; } goto dTz8S; H2JwS: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto U6jp4; vVh9A: $userMoneyRecharge = array(); goto RQiaD; Lsgp7: $userMoneyRecharge["uniacid"] = $uniacid; goto Ju2iy; hCO4U: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto FRoA8; FIivn: if (!($object["or_open_rebate2"] == 1)) { goto D4aBJ; } goto G5NgH; Pai_T: wa_RG: goto nEwP6; B1vB8: $userDrawRecordModel["types"] = 1; goto XiuSe; DQu17: goto YneU9; goto feqYR; k3LiW: R5bv4: goto vIyLW; M8xmp: list($min, $max) = explode("-", $prizeModel["red"]); goto noRbe; ITVAx: if (empty($sms_tmp)) { goto LhMWB; } goto cywcN; bHhKq: chpDx: goto N_JF1; zn8Iz: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data); goto Il0JA; JYyZL: $ali_accesskeyid = $config["ali_accesskeyid"]; goto DjExu; sMrrh: Zqyxa: goto pu9wd; oyM3Q: if (!isSiteFollow($joinUserModel["openid"])) { goto hpU6a; } goto oIlfm; bNflK: UEmug: goto yDh7f; NwxZL: $join_id = $objarr[2]; goto I9Njy; OsKmP: qFapa: goto hlmtV; eW7YD: if (empty($virtualModel)) { goto h3w54; } goto S_WmE; MeL2j: $sn = $config["sms_uid"]; goto ccmyo; VqD43: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto p_vj8; iEPGo: MuXau: goto ZBYH3; LI0Yi: UByei: goto UJL0A; zuezc: if (!(intval($config["buyis_sms"]) == 1)) { goto cisbm; } goto sbgPp; Jmuhz: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prize2Model["red"])), array("id" => $join2Model["id"])); goto wpUm6; mewpL: xcX_J: goto Ubi_I; ySxum: $mobile = $userModel["mobile"]; goto GouYb; ACOU3: PCq0u: goto qWyZD; k4QwT: if (!($pay_sys_money > 0)) { goto Gzv1T; } goto O9C1B; lZa4S: c2AjY: goto PnSMq; S4OdP: q_fBN: goto BKQtp; ctwKa: pdo_update(ztk_table("user_draw", false), array("score" => $prizeModel["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto j_NMf; Ju2iy: $userMoneyRecharge["openid"] = $orderIntmallModel["openid"]; goto f3Xis; UtC2r: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $joinUserModel["id"], $obj_types, $object["id"], 0); goto CphzU; Kv4HM: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto S4OdP; pBfzu: $content = $content . " " . $sms_tmp["sign"] . ""; goto g1y9l; JS06p: if (!(intval($prizeModel["create_types"]) == 1)) { goto fgbvq; } goto a9zbX; qmIoH: $obj_types = $objarr[1]; goto RTGNz; rhSQ5: Gzv1T: goto TVyJi; pMTL7: $content = $sms_tmp["content"]; goto io5Rv; AcFDY: bwojX: goto ph6F0; MafsT: if (!(intval($prizeModel["create_types"]) == 1)) { goto ey4FD; } goto WkS7M; IesHp: okloC: goto vDCbV; QN1Ae: if (empty($object["push_tmp"])) { goto YLJ4M; } goto vMB23; rWBtU: lt_j0: goto bMfIF; hjusu: $postdata = array("first" => array("value" => "", "color" => "#173177"), "keyword1" => array("value" => $object["title"], "color" => "#173177"), "keyword2" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword3" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword4" => array("value" => date("Y-m-d H:i:s", time()), "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto Nib3a; R6svJ: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto cAqeS; lxNhu: sL0on: goto jbNhw; Gwf2t: if (!empty($prizeModel)) { goto lhVZQ; } goto surU4; B3a7S: $virtualModel["openid"] = $joinUserModel["openid"]; goto B1UoP; i2Tmv: jb5WY: goto cUZgB; yrLA5: pdo_update(ztk_table("user_draw", false), array("card" => $prizeModel["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto rAUNk; tHaCM: $writeoff_types = 1; goto wZg90; KKJ4u: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto Uv1Lo; KEB6T: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto ViiQx; jw2un: if (empty($object["is_buy_draw"])) { goto ABssD; } goto NBne2; qAmAs: $userDrawRecordModel["obj_types"] = $prizeModel_rebate["obj_types"]; goto dOC2V; wv3MS: XVwdW: goto j3kac; R6G1_: $userDrawRecordModel["money"] = $prizeModel["wallet"]; goto dAJ_r; mXSuN: M0Yvg: goto k6Niy; K1lE1: BKp5o: goto llxSh; YxZU_: $pwd = $config("sms_key"); goto kssuz; O_E7B: if (intval($prizeModel["types"]) == 2) { goto KCRbz; } goto vDsRz; qw9Gn: updateUserMoney($uniacid, $orderPayModel["openid"], -$orderPayModel["pay_price"], $note, 3, $obj_types, $object["id"]); goto nYe1O; QgZ0f: $templatecode = $sms_tmp["templatecode"]; goto gMwoO; Fgyf2: $noticeMessage = "" . $prize2Model["name"]; goto KNkxo; Q1jZM: if (empty($object["push_tmp"])) { goto HSZ8t; } goto d5NmV; Ghi1F: UdNen: goto s2Fkd; oedeD: $param = ["name" => $userModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel_rebate["name"], "code" => $writecode_rebate]; goto vW9nQ; v3LI7: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto soE3G; ASEBm: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto D3CHG; ROqsN: $userDrawRecordModel["obj_types"] = $prize2Model["obj_types"]; goto S_XEk; gHLCH: if ($prizeModel_rebate["time_types"] == 2) { goto eg2VH; } goto WH3tQ; L0K8a: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto odghN; HaHgH: uycKy: goto ZVE1y; qM3Ww: XAoKe: goto xbOwU; TvsHH: if (empty($result)) { goto dUaGR; } goto hTH5r; Lc_7Z: $noticeMessage = "" . $prizeModel["name"]; goto yfgMl; vPP41: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto Rcb2X; H6oq7: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto n3Rrc; vxHn7: $noticeMessage = "{$prize2Model["name"]}"; goto awK4O; iCmZ9: goto WEUYf; goto Fs518; WKkSF: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto G_mWs; vT52c: $drawModel = pdo_get(ztk_table("user_draw", false), array("id" => $draw_id)); goto EFjAD; J93vB: goto fOW4C; goto d0kt0; Yriba: $userDrawRecordModel["remark"] = ""; goto QoXLz; Z2cKO: nQZ1k: goto PGjfA; ezxfF: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto zpBFm; BAcfd: $join_draw_data2 = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prize2Model["id"], "types" => $prize2Model["types"], "name" => $prize2Model["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prize2Model["pic_url"], "writeoff_types" => $prize2Model["writeoff_types"], "openid" => $join2UserModel["openid"], "nickname" => $join2UserModel["nickname"], "sex" => $join2UserModel["sex"], "headurl" => $join2UserModel["headurl"], "area" => $join2UserModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 1, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto jvRa1; S6d2e: $noticeMessage = "" . $prizeModel["name"]; goto Oo7a0; qrLzS: $origin_buy_types = 0; goto SthVI; VWHng: $template_id = $object["push_tmp"]; goto p8KX6; U17un: $virtualModel["openid"] = $joinUserModel["openid"]; goto S2KxD; cpc5z: $joinPayModel["invite_id"] = $join_id; goto W5T1D; TnJw1: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto Lp6Uv; EeJNo: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto ED3dS; npzoq: if (empty($prizeList)) { goto lh52w; } goto bZVju; mptuc: $origin_team_id = $originModel["team_id"]; goto OAPOM; gMwoO: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto NSdVI; P2qQN: ycjI6: goto VrUXb; xmsIt: cpRzc: goto DCob7; UEr1t: b2j07: goto dcnDC; hLwOl: $userDrawRecordModel["send_name"] = $config["power"]; goto aJNmi; TfUnf: lh52w: goto pNk9f; hTH5r: $draw_id = pdo_insertid(); goto VjUTJ; FoMFR: rHsKs: goto BuKpy; Q99Cb: if (!(intval($object["buy_is_push"]) == 1)) { goto XIaom; } goto ycs0r; aM1pf: $userDrawRecordModel = array(); goto D1qwu; mu_0Z: $userMoneyRecharge["money"] = $orderIntmallModel["pay_price"]; goto NjaCh; P1WiI: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data); goto VaSOK; zHNSN: $userDrawRecordModel["money"] = $prizeModel["wallet"]; goto pzqO0; PV3Y4: goto KN4Cr; goto Eh_uF; WWfr_: $rid2 = get_rand($arr2); goto xbl5T; JjKsq: $content = $content . " " . $sms_tmp_rebate["sign"] . ""; goto FbNgG; liONf: $userDrawRecordModel["types"] = 1; goto TjQb6; Re3Xs: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto p3Oie; AiZyt: $obj_token = $objarr[0]; goto qmIoH; NSdVI: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto Ol5dB; aYZN9: $sn = $config["sms_uid"]; goto CaicG; dkjJy: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto nceiR; kh2EN: $result = sendWeixinMchPay($userModel["openid"], floatval($prizeModel_rebate["wallet"]) * 100, $prizeModel_rebate["name"], true, $uniacid, $config); goto fnNU_; k3GvZ: WEUYf: goto NHVst; c3rwU: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto RNlnF; by0lZ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto gg_iL; mTmF2: goto mhej8; goto OsKmP; FwIZZ: X8JHv: goto pQi8K; Jb4za: include MODULE_ROOT . "/inc/class/Hashids.class.php"; goto fQIWQ; V0XbC: $url = replaceDieDomain($config, __MURL("user_draw_buy", array("act" => "index"), false, TRUE), $userModel["id"], $obj_types, $object["id"], 0); goto XoBcM; pj5oJ: if (!(!empty($userModel) && !empty($userModel["mobile"]))) { goto PAToY; } goto lEKJJ; m4ONn: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, $draw_data["obj_types"], $draw_data["obj_id"]); goto q4jNL; iHfRM: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto oSkjw; } goto XNkJ6; sE1Cb: $join_draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prizeModel["id"], "types" => $prizeModel["types"], "name" => $prizeModel["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prizeModel["pic_url"], "writeoff_types" => $prizeModel["writeoff_types"], "openid" => $joinUserModel["openid"], "nickname" => $joinUserModel["nickname"], "sex" => $joinUserModel["sex"], "headurl" => $joinUserModel["headurl"], "area" => $joinUserModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 0, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto a0xa1; l0zmd: $userDrawRecordModel["money"] = $prizeModel["wallet"]; goto Sz7ko; sqvIy: $obj_types = $objarr[1]; goto OjjcU; xG5S9: $mobile = $joinUserModel["mobile"]; goto WYhv_; nx0ay: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto lERZx; GfLZA: $userDrawRecordModel["openid"] = $userModel["openid"]; goto GPWHl; zJEJr: $url = replaceDieDomain($config, __MURL("admins_marketing", array("obj_types" => $obj_types, "obj_id" => $object["id"]), false, TRUE), 0, 0, 0, 0); goto Ge6yI; k6Niy: $sn = $config("sms_uid"); goto p4cbu; VK1TW: $writecode = ''; goto d9Twi; OZcmH: $obj_types = $objarr[1]; goto scPad; oL80w: CqSAL: goto u0tZ6; XiW2i: if (count($objarr) == 5 && $objarr[3] == 1) { goto aMgsx; } goto EF713; j3Ysl: $drawcode_data_array = array("uniacid" => $uniacid, "drawcode_id" => $draw_activity_model["drawcode_id"], "openid" => $orderPayModel["openid"], "code" => $drawcode, "status" => 1, "createtime" => TIMESTAMP); goto uA6dj; RbRu_: IUrSz: goto ozChf; R9y8b: $prizeModel["score"] = mt_rand($min, $max); goto m2jJ4; nIDaT: $encode_id = $hashids->encode($draw_id); goto XN6j5; VaSOK: $writecode = ''; goto uk_iI; YoKIn: $join_draw_data["end_time"] = $prizeModel["time_end"]; goto Qzjrr; gDiB2: if (intval($sms_tmp["types"]) == 0) { goto eucAm; } goto fhBJv; RfJCf: $join_draw_data["end_time"] = $prizeModel["time_day"] * 24 * 60 * 60 + time(); goto t8oQZ; TTvrc: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto dHfwA; I6CNt: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto Gp6UU; ZQAdA: $userDrawRecordModel["types"] = 2; goto dLftQ; zFm1S: $noticeMessage = "{$prize2Model["name"]}{$prize2Model["sys"]}"; goto bMFIG; GTgTx: $userMoneyRecharge["createtime"] = TIMESTAMP; goto Qk4ve; fNjAw: pL18B: goto EVTMh; g1y9l: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto Kvf1o; RO5XC: $template_id = $config["payment_tmp"]; goto TEt_H; lP8KE: $userUpdateModel["join_num"] = $userModel["join_num"] + 1; goto VCn67; VTlDh: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto MPVle; qbcW1: RniC6: goto QiCf0; jLz97: if (intval($sms_tmp["types"]) == 0) { goto bVgxW; } goto Hajlt; u1jPP: $pwd = $config["sms_key"]; goto XYxz0; pC9C0: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto qqE38; KhZ27: $writecode = $encode_id; goto qM3Ww; iCBsl: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto jqJQ0; bMrUj: $prizeModel["sys"] = mt_rand($min * 100, $max * 100) / 100; goto m4HSO; Qu0yy: if (!($joinCount >= $object["group_num"])) { goto yuqxa; } goto XJU8T; Q6wzx: goto BGmgw; goto Jj7MM; t5vuG: $code_draw_data["virtual_id"] = $object["virtual_id"]; goto vOWj5; SSTsr: u2G25: goto svS0F; R2xIT: $sign = $sms_tmp["sign"]; goto gE48G; vJubR: $templatecode = $sms_tmp["templatecode"]; goto IPEHc; y9gjD: $mobile = $join2UserModel["mobile"]; goto XqpaK; QXwqx: updateUserScore($uniacid, $joinUserModel["openid"], intval($prizeModel["score"]), $note, 1, $obj_types, $draw_id); goto ARWo3; u2lzn: pdo_update(ztk_table("obj_cut", false), array("buy_num +=" => 1, "goods_num -=" => 1), array("id" => $object["id"])); goto lOh0k; I1nSK: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto QsMZT; huHtm: $templatecode = $sms_tmp["templatecode"]; goto S_38a; cZzoy: pdo_update(ztk_table("obj_ladder", false), array("join_num +=" => 1), array("id" => $object["id"])); goto jFQe1; qKMd8: if (intval($prize2Model["types"]) == 1) { goto PCq0u; } goto bYmqe; gPlu6: $userDrawRecordModel["card_id"] = $prize2Model["card"]; goto t88YW; n3Rrc: pdo_update(ztk_table("user_draw", false), array("card" => $prizeModel["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto SrPeV; iXu4c: if ($object["time_types"] == 2) { goto oA5D0; } goto dCtP5; QVfN8: $postdata = array("first" => array("value" => "", "color" => "#173177"), "keyword1" => array("value" => $object["title"], "color" => "#173177"), "keyword2" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword3" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword4" => array("value" => date("Y-m-d H:i:s", time()), "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto vLAJG; pNk9f: Fh9a1: goto FIivn; eIDWI: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["score"] . ""; goto HdHx0; sNVZO: if (empty($join_id)) { goto kNP0T; } goto luC2E; UvBxr: if (!($joinModel["openid"] == $originModel["openid"])) { goto BJKgD; } goto Ojidq; ET8au: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto Rlgqg; S2KxD: $virtualModel["status"] = 0; goto jub93; ymB_e: sendSiteTplNotice($uniacid, $joinUserModel["openid"], $postdata, $template_id, $url); goto m1I5O; iUd2n: kq2bp: goto AJRFt; tanP_: goto QP39U; goto sFMlJ; jub93: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto z5LZL; lqyMh: $content = str_replace("{OBJ}", $object["title"], $content); goto gS3o7; VjbtB: $userDrawRecordModel = array(); goto bh547; Zn9tM: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $orderIntmallModel["uniacid"], "openid" => $orderIntmallModel["openid"])); goto D5D8g; B2mZu: ZgaTB: goto v40iR; a6By2: $userDrawRecordModel["draw_id"] = $draw_id; goto uKhxb; OZEMS: $noticeMessage = ''; goto uhSMl; vmvXj: hniAh: goto yLigd; AlTwx: W9f35: goto qmyEO; qDPtG: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $orderPayModel["openid"])); goto Ndtob; cGE08: if (intval($prizeModel["types"]) == 7) { goto D3f5r; } goto HPAGA; rNN3Z: UbXof: goto bk9gw; HFngb: $buy_reobjspecs = unserialize($orderPayModel["buy_reg_objspecs"]); goto Q9E4n; CIme7: aV9DF: goto S0AeS; xyr6H: t4FSB: goto Jj9E0; dWB1H: l3xxQ: goto vuQO1; hoIJR: $content = $content . " " . $sms_tmp["sign"] . ""; goto AXalX; y0Mz1: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prizeModel_rebate["red"])), array("id" => $join_id)); goto t3B75; lJzoh: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto bmms5; K_T4M: pdo_update(ztk_table("user_cut_join", false), array("money +=" => floatval($prizeModel["wallet"])), array("id" => $joinModel["id"])); goto hkDBw; w2GQ2: $userDrawRecordModel = array(); goto MvQX5; Q9ybU: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto MOfP4; Ql2iq: $virtualModel["status"] = 0; goto qZUyO; qSdFI: Hzhzx: goto zT0UU; O02tV: $code_draw_data["status"] = 0; goto QOFu6; N9pzP: $content = $sms_tmp["content"]; goto c4Kc0; Ubi_I: $sn = $config["sms_uid"]; goto O5KPC; g8fTs: if (empty($orderPayModel["origin_id"])) { goto E2T7O; } goto GfUU6; X4YD8: $userDrawRecordModel["updatetime"] = time(); goto Mwzrf; rYmfw: FFPjH: goto H6oq7; HW4Rc: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto jZ1yk; BsAwm: $ali_accesskeyid = $config["ali_accesskeyid"]; goto dUZxO; NT31l: $mobile = $join2UserModel["mobile"]; goto aS838; qn4eZ: $prizeModel["score"] = mt_rand($min, $max); goto FtLLT; y5Pbj: if (!(intval($object["buy_is_push"]) == 1)) { goto cY1pK; } goto SwJdO; DMRJ2: if ($prizeModel["time_types"] == 1) { goto a7UBc; } goto AQAGM; tdUqJ: include_once "inc/function/object.func.php"; goto CKjK3; jw1Yi: if (intval($sms_tmp["types"]) == 0) { goto RLQQ3; } goto xCoq4; Bf3t8: $userDrawRecordModel["types"] = 1; goto cWRBT; gDYdr: if (!(intval($prizeModel["create_types"]) == 1)) { goto jYrZo; } goto xK0Ja; QPGEh: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto iokzv; wrKQv: $draw_id = pdo_insertid(); goto E2eXr; eghFy: return true; goto f2MLL; WD0TW: if (intval($object["buy_rebate_sms"]) == 1) { goto sMluq; } goto kfIKV; bk9gw: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto rWSh7; vNYf0: if (empty($prize2List)) { goto JgjgJ; } goto v_0bE; sMh_n: $param = ["name" => $userModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "money" => $drawModel["pay_money"] + $drawModel["pay_sys_money"], "code" => $writecode]; goto T0bv5; S7Ll4: $userDrawRecordModel = array(); goto qSTyt; joy7Z: if (empty($result)) { goto HcbHW; } goto OhXqJ; vjTjS: $prizeModel["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto B2mZu; RVSaX: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto vv1lJ; qMOOY: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto jvj3L; deLki: WlnBF: goto BRZO2; TOS2y: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto qw9Gn; dSvGI: if (!(intval($object["is_sms"]) == 1)) { goto fUnoe; } goto D4yXS; QV4GA: if (intval($sms_tmp["types"]) == 0) { goto CtmQT; } goto x_XDI; xmGYZ: goto GeaMJ; goto X0CdZ; e1S_e: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto bN3Yj; S_WmE: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto B3a7S; KnyQH: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto pd_sw; XwXWc: if (empty($originModel)) { goto tQ53T; } goto EgkHH; OlsJb: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto Jihde; nkHxx: if (intval($prize2Model["types"]) == 4) { goto btIge; } goto rA_c2; Eh_uF: Et052: goto nV2z6; PGjfA: goto R5bv4; goto qUlz9; DMr5v: $content = str_replace("{MONEY}", $drawModel["pay_money"] + $drawModel["pay_sys_money"], $content); goto LG2Qs; R28m6: $rid2 = get_rand($arr2); goto M1srQ; lp2E2: $content = str_replace("{PRIZE}", $prize2Model["name"], $content); goto eGHTA; GuHRf: cisbm: goto kkysp; Rcb2X: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto lJzoh; CMOCT: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["wallet"], "wallet_money +=" => $prizeModel["wallet"], "wallet_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto ta9Mh; K1HYc: if (empty($sms_tmp_rebate)) { goto r5Fyu; } goto CDCuK; cS5G1: $userDrawRecordModel["money"] = $prizeModel["wallet"]; goto xttWU; EAZaB: if (!(intval($object["buy_is_sms"]) == 1)) { goto o2HPJ; } goto A7mXj; JSAsg: $joinPayModel["origin_team_id"] = $origin_team_id; goto AOvc2; LnAdG: uQkbT: goto PRlSq; KkzbG: GXoDI: goto xdiMf; Skf6O: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto cVfiv; DAQkW: $sms_tmp_id = $object["sms_tmp_id"]; goto F62_e; UWfZF: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto eLic3; hvZ0l: GupsA: goto zuezc; PYij0: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto bilXT; LoOmF: Dv1Ts: goto ilF3i; aARGg: $userDrawRecordModel["types"] = 1; goto RYuZL; C_1iA: $mobile = $userModel["mobile"]; goto gq9hS; PARge: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto o6a7X; O4ryz: $writecode = $encode_id; goto fNjAw; ZJ0vc: $join_draw_data["end_time"] = $prizeModel["time_day"] * 24 * 60 * 60 + time(); goto jjcfc; UeqcS: TQ4G5: goto f37dS; T1IxH: f2o_D: goto Ei00c; Z2SqM: list($min, $max) = explode("-", $prizeModel["sys"]); goto p5xtL; I6fGe: n4v41: goto NhYlU; wFv_f: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto hMXmq; CKgfJ: dHR_5: goto DBUwH; ZfEyV: L4tvw: goto W6T9m; SMgl2: $join_draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prizeModel["id"], "types" => $prizeModel["types"], "name" => $prizeModel["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prizeModel["pic_url"], "writeoff_types" => $prizeModel["writeoff_types"], "openid" => $joinUserModel["openid"], "nickname" => $joinUserModel["nickname"], "sex" => $joinUserModel["sex"], "headurl" => $joinUserModel["headurl"], "area" => $joinUserModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 0, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto FcHTp; ff4XD: pdo_update(ztk_table("marketing_user", false), array("marketing_num +=" => 1), array("id" => $origin_id)); goto O7CEi; myKZY: goto mjPEB; goto TJ8AZ; hkDBw: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["wallet"]}"; goto Te0I1; Io8uM: goto Mn520; goto ACOU3; P4zcq: H07Q8: goto KjRUc; KZBdG: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["red"]}"; goto f6FxC; NzpcN: if (!(intval($object["is_sms"]) == 1)) { goto X8JHv; } goto DAQkW; iD0sx: pdo_update(ztk_table("user_union_join", false), array("money +=" => floatval($prizeModel["sys"])), array("id" => $join_id)); goto bfior; HtJdk: pdo_update(ztk_table("user_draw", false), array("score" => $prizeModel["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto nqv47; DB0F4: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto e02Sx; LIguJ: if (intval($prizeModel["types"]) == 1) { goto aj3sY; } goto RgPns; Km9n4: goto mFviW; goto vGMF5; UpqCr: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["red"]}"; goto rB4O2; wY23d: XNcZQ: goto NNW2D; IgsaR: if (empty($originModel)) { goto RShyU; } goto IGgeU; vNJf2: if (intval($sms_tmp["types"]) == 0) { goto M0Yvg; } goto vAaND; f37dS: if ($object["is_open_stock"] == 1) { goto rZ7oH; } goto LWcvT; KsSVV: f1wgZ: goto BDDSq; jVfVV: if (empty($sms_tmp)) { goto L4tvw; } goto VbGel; N_JF1: goto BOkBX; goto wY5Uf; WK8Fw: WUFAJ: goto o0l31; WtZXz: v_QeV: goto YVJQ2; P5sbj: if (intval($prizeModel["types"]) == 4) { goto VrMim; } goto PdUrS; EAaiZ: if (intval($prizeModel["types"]) == 7) { goto WX2F5; } goto uTKG3; HsKsZ: $pwd = $config["sms_key"]; goto NT31l; gq9hS: $content = $sms_tmp["content"]; goto HJajX; U0kSE: F_vfr: goto sNuvp; Ky0eH: $join_draw_data["end_time"] = $prizeModel["time_end"]; goto cieCP; GrcWQ: l2ot9: goto I8pRF; uhRm1: $userDrawRecordModel["types"] = 0; goto eE7w3; fsK1q: $userDrawRecordModel["updatetime"] = time(); goto S8Knx; i_R2C: $writeoff_types = 0; goto EoA4r; UzSX0: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto oO2ud; h6Oqi: $fansinfo = $account_api->fansQueryInfo($orderIntmallModel["openid"]); goto QsNym; INNBY: CnT0C: goto vVKse; Q7rWt: $join_draw_data = array("writecode" => $encode_id); goto mGZHp; FcNh7: $userDrawRecordModel["obj_types"] = $prizeModel_rebate["obj_types"]; goto tv6SX; pC0rB: if (empty($originModel)) { goto Mgs9c; } goto c2wEs; vlZEw: if ($object["time_types"] == 1) { goto mfaqe; } goto iXu4c; fRxhA: $userMoneyRecharge = array(); goto uuIMc; BLFc7: if (!(intval($prize2Model["create_types"]) == 1)) { goto hniAh; } goto M_k5X; J7SB8: $joinPayModel["status"] = 0; goto Od0hJ; aqBq9: sendSiteTplNotice($uniacid, $join2UserModel["openid"], $postdata, $template_id, $url); goto OrFGW; fHPTc: $userDrawRecordModel["updatetime"] = time(); goto br33d; nceiR: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto qnOoH; vMB23: $template_id = $object["push_tmp"]; goto fvA1V; aAGXt: $prizeModel["sys"] = mt_rand($min * 100, $max * 100) / 100; goto cuSTC; KmCl7: nxPyO: goto CT_W5; r0tMD: $join_id = $objarr[2]; goto LC5BR; oIlfm: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prizeModel["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto QN1Ae; VySpD: if (!isSiteFollow($userModel["openid"])) { goto W3aXV; } goto PQV2d; ogZcE: $drawcode_data_array = array("uniacid" => $uniacid, "drawcode_id" => $draw_activity_model["drawcode_id"], "openid" => $orderPayModel["openid"], "code" => $drawcode, "status" => 1, "createtime" => TIMESTAMP); goto lmalm; cieCP: UGGWY: goto dLK65; ynynY: $objarr = explode(",", $orderPayModel["order_number"]); goto pG73p; zgl11: $userDrawRecordModel["types"] = 2; goto TxHIc; D5Iuw: if (empty($prizeList)) { goto Cc_u6; } goto TBhM1; bMjgv: if ($prizeModel["is_sms"] == 1) { goto AhMci; } goto NzpcN; l_W9v: if (intval($sms_tmp["types"]) == 0) { goto rpjyT; } goto kD7EQ; ytoSX: ZsObQ: goto neRAf; llxSh: include MODULE_ROOT . "/inc/class/Hashids.class.php"; goto iDRLa; AShTm: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto sObNR; mAKZN: $sql = "SELECT * FROM " . tablename("lywywl_ztk_obj_soliciting") . " WHERE token = :token AND uniacid = :uniacid"; goto RiuEj; e5Pvx: ABssD: goto zALmp; i2YJW: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto IuQEA; Pp82n: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto IZf8A; BBqvg: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto jbQ67; DgBMY: if (!(intval($prize2Model["create_types"]) == 1)) { goto psWYx; } goto C4_xv; v8KcD: if (!isSiteFollow($join2UserModel["openid"])) { goto mUi8O; } goto oTl4b; CT_W5: $sn = $config["sms_uid"]; goto J9eCE; rCk8Z: if (empty($virtualModel)) { goto NgUUu; } goto E0Avg; RPo52: goto K2vHg; goto yogXm; l0yFz: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto cxwN6; z7jZY: fsNp0: goto L43oz; VbGel: if (!(!empty($join2UserModel) && !empty($join2UserModel["mobile"]))) { goto dcJO0; } goto su21X; tmcA5: if (empty($object["buy_push_tmprebate"])) { goto uhDEa; } goto nDTzI; v17Ef: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto KEB6T; MjoIj: $userMoneyRecharge = array(); goto TkQXU; p3Oie: uSU40: goto i2Tmv; qSTyt: $userDrawRecordModel["uniacid"] = $prizeModel_rebate["uniacid"]; goto Uu2AM; TwWgH: $noticeMessage = "{$prize2Model["name"]}{$prize2Model["wallet"]}"; goto Qg11s; vbrYR: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prize2Model["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto V12vl; RJmAq: $content = str_replace("{NICKNAME}", $join2UserModel["nickname"], $content); goto Vb3hF; wNgwR: $pwd = $config["sms_key"]; goto uiBfa; z_LvE: lQCml: goto Hn2yr; pjh8R: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["sys"] . ""; goto KhJ5G; akOKY: hyAyJ: goto paWRt; QsNym: $noticeMessage = "" . $orderIntmallModel["product_title"]; goto da7HC; VCaX9: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto s7wTL; fI2Pw: $pwd = $config["sms_key"]; goto C_1iA; u5tEV: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto lbl1M; Vdqjd: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto iqo2r; C4FHk: $template_id = $object["buy_push_tmp"]; goto ucnXw; BuZzP: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto R6G1_; jUwF6: $userDrawRecordModel["remark"] = ""; goto PVxh3; aY6kT: $drawModel = pdo_get(ztk_table("user_draw", false), array("id" => $draw_id)); goto EAZaB; qNjVX: goto c9ddR; goto skIVo; dISOG: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto qVZpY; IBMau: if (intval($prizeModel["types"]) == 1) { goto CILem; } goto O_E7B; RnbHc: Prw4t: goto wv3MS; mlm48: YfX1z: goto bMjgv; UuLmk: $result = sendWeixinCard($join2UserModel["openid"], $prize2Model["card"], $uniacid); goto vcwNP; gjEJ0: $hashids = Hashids::instance(6, "lywyztk", ''); goto ex69Y; SSk7X: if ($prizeModel["is_sms"] == 1) { goto P0i3U; } goto hZXNV; y5VYJ: $joinPayModel["front_money"] = $object["front_money"]; goto VQo5B; Neaw9: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto z3BiZ; m0BOv: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto sECBs; J_2jp: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto XlsT5; CaicG: $pwd = $config["sms_key"]; goto okaBi; XLIgD: tk3jC: goto MeM5d; K1yqe: list($min, $max) = explode("-", $prizeModel["red"]); goto jfOTn; wQZPb: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto cS5G1; su21X: if (intval($sms_tmp["types"]) == 0) { goto a3gHY; } goto mTp7G; nq1v2: pdo_update(ztk_table("marketing_user", false), array("buy_num +=" => 1), array("id" => $origin_id)); goto b1ns4; FbNgG: zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto qrhxr; Gw7LS: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto Nk0Kp; eRv5P: $noticeMessage = "" . $prize2Model["name"]; goto vbrYR; avknb: sendSiteTplNotice($uniacid, $orderIntmallModel["openid"], $postdata, $template_id, $url); goto Jp9_v; gyN2O: pdo_update(ztk_table("user_soliciting_join", false), array("invite +=" => 1), array("id" => $join2Model["id"])); goto cvL0s; X78sl: hkPZR: goto LselN; TSfiN: $draw_id = pdo_insertid(); goto rpRpM; mN_lo: $pid = $objarr[4]; goto a1l9X; tmsc2: $writecode = ''; goto IZd7a; wZg90: zmMw0: goto gfOgY; vDCbV: pdo_update(ztk_nopre_table("order_intmall"), array("status" => $orderIntmallModel["status"]), array("id" => $orderIntmallModel["id"])); goto Zn9tM; oKeUe: pdo_update(ztk_table("user_draw", false), array("wallet" => $prizeModel["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto zF5Jw; BRZO2: if (!(intval($prizeModel["create_types"]) == 1)) { goto cx7cp; } goto E5nP5; EgkHH: $origin_team_id = $originModel["team_id"]; goto oKFb3; B1UoP: $virtualModel["status"] = 0; goto Yneat; OPnsq: Vdx3V: goto TfUnf; LMWCk: if (!(intval($object["is_push"]) == 1)) { goto cJdQQ; } goto vzfWZ; pRNx2: $noticeMessage = ''; goto wSp8T; vVKse: xVWXv: goto FXR6t; TWKYp: qkJgE: goto dWKxR; dRwgq: fgbvq: goto GYmbR; pYDT4: mjPEB: goto eFOL7; av39l: $userDrawRecordModel = array(); goto Cjxv5; sKsRv: $join_draw_data2 = array("writecode" => $encode_id); goto JRESO; n1Y_l: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prizeModel["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto Q1jZM; N7WpM: pdo_update(ztk_table("obj_soliciting", false), array("buy_num +=" => 1, "stock -=" => 1), array("id" => $object["id"])); goto bSE9n; Ki9Rp: pdo_update(ztk_nopre_table("user_account"), $userUpdateModel, array("id" => $userModel["id"])); goto vT52c; zn4y7: $template_id = $config["originpush_tmp"]; goto HttyT; O8QXV: $userDrawRecordModel["types"] = 1; goto QPGEh; r_5Ot: $prices_payment = $orderIntmallModel["sys_price"]; goto BKT8j; qrsX3: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto N3d24; sNuvp: mTKCJ: goto QhD0P; qvctX: if (!($joinModel["openid"] == $originModel["openid"])) { goto dOh5h; } goto nsBpW; on_FN: goto WAcOt; goto c63I_; edA70: updateUserMoney($uniacid, $orderPayModel["openid"], -$orderPayModel["pay_price"], $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto XQ2aH; HdC49: $ali_accesskeyid = $config["ali_accesskeyid"]; goto j6oR3; Svotx: $encode_id = $hashids->encode($draw_id); goto geaf8; u3OS9: $prize2Model["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto GrcWQ; MEQ_4: $joinPayModel = array(); goto ttWsx; IWfn_: dPDaj: goto c8VFB; ku1WK: $prizeModel = null; goto cHP_B; qljIM: if (!($orderIntmallModel["is_fedex"] == 2)) { goto haUBf; } goto xPW9C; poGCP: $templatecode = $sms_tmp["templatecode"]; goto RRuuw; LZUI5: if (!($config["originpush_tmp"] && !empty($origin_id))) { goto Sj18r; } goto Ns4Iw; xbl5T: $prize2Model = $prize2List[$rid2]; goto Xo33r; R58Ya: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto bPrXv; RCQ2T: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto EX8kU; kxwlO: $content = str_replace("{OBJ}", $object["title"], $content); goto nNz73; wVb3p: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto ITVAx; eVxJa: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto fVFhn; XJU8T: pdo_update(ztk_nopre_table("user_collage_join"), array("status" => 1), array("pid" => $pid)); goto Z1EfJ; KCn9D: goto dukya; goto mewpL; vnHYx: goto PXaoT; goto rNN3Z; hkkvi: uTIro: goto h3noG; ai6vy: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto PNinh; xx2mY: wqMW0: goto UdkgX; JdR66: $sn = $config["sms_uid"]; goto GVzuP; FG6Rk: $originModel = pdo_get("lywywl_ztk_marketing_user", array("id" => $orderPayModel["origin_id"], "obj_id" => $object["id"], "obj_types" => $obj_types, "uniacid" => $uniacid)); goto L6e5v; nACyd: goto txP2k; goto LGUFL; qhONc: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $orderPayModel["openid"])); goto OlbA5; eGrAS: $content = $sms_tmp["content"]; goto n10Ui; evy8Z: $uniacid = $params["uniacid"]; goto XBx9a; zSHKw: $joinPayModel["obj_types"] = $obj_types; goto Dv9w5; HEOSX: $userDrawRecordModel["obj_id"] = $prize2Model["obj_id"]; goto HitDb; QY7oA: $userDrawRecordModel["createtime"] = time(); goto KKJ4u; cAqeS: $content = str_replace("{OBJ}", $object["title"], $content); goto gMFMb; KqSpC: ey4FD: goto eIDWI; esJVM: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto p_nFu; vwjce: $noticeMessage = "{$prizeModel["name"]}"; goto N7xxm; pXZeP: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto yDdu8; UAyph: lhVZQ: goto RvmFh; HF54K: Ue4PZ: goto LWUP_; yLigd: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prize2Model["wallet"], "wallet_money +=" => $prize2Model["wallet"], "wallet_money_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto iggKg; gjIEG: ETnCQ: goto hfPpP; xCoq4: $ali_accesskeyid = $config["ali_accesskeyid"]; goto wFv_f; QWMxz: $userDrawRecordModel["act_name"] = ""; goto oPfcK; K_1Zy: if (empty($object["push_tmp"])) { goto v_QeV; } goto WF_Yo; bQOm1: EtTUh: goto AT_sI; y741C: $noticeMessage = "" . $prizeModel["name"]; goto X8DPW; dmpIC: $userDrawRecordModel = array(); goto iUrzs; aflQE: if (empty($originModel)) { goto yONsi; } goto xpWNL; tfH1y: $join_draw_data2 = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prize2Model["id"], "types" => $prize2Model["types"], "name" => $prize2Model["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prize2Model["pic_url"], "writeoff_types" => $prize2Model["writeoff_types"], "openid" => $join2UserModel["openid"], "nickname" => $join2UserModel["nickname"], "sex" => $join2UserModel["sex"], "headurl" => $join2UserModel["headurl"], "area" => $join2UserModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 1, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto Cs3A2; IGgeU: pdo_update(ztk_table("marketing_user", false), array("marketing_num +=" => 1), array("id" => $origin_id)); goto I4T4B; x3T8_: goto ztJvJ; goto LwH8X; n5uES: JgEs2: goto wNNGr; LIuu0: sFpQM: goto Ql5_d; QbeDk: goto JgzBS; goto Zs3Oz; WomYS: ElIOL: goto G2xYZ; XY4Ir: D4aBJ: goto P2qQN; gm2La: $mobile = $userModel["mobile"]; goto eGrAS; l4j2o: fGEY6: goto NAfXu; ykqOC: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $joinUserModel["nickname"] . "" . $object["title"] . "" . $prizeModel["sys"] . ""; goto pKo77; kOLH9: $sn = $config["sms_uid"]; goto xxFrc; WUMDl: $userDrawRecordModel["obj_types"] = $draw_data["obj_types"]; goto poiib; hDnwX: goto r7iYc; goto qvQju; o13xF: eysq6: goto rtkfu; vZzZI: $sms_tmp_id = $prize2Model["sms_tmp_id"]; goto NLyam; fHndM: $content = str_replace("{ORDNO}", $orderIntmallModel["order_number"], $content); goto vNjST; DnLRy: $content = str_replace("{OBJ}", $object["title"], $content); goto LW4GP; M9PKb: if ($prizeModel["is_sms"] == 1) { goto cZGNM; } goto dSvGI; y5mKZ: if (!(intval($object["is_sms"]) == 1)) { goto Iiq46; } goto n1BOA; ButPu: B5nGB: goto J93vB; bYmqe: if (intval($prize2Model["types"]) == 2) { goto GOHOJ; } goto iIpSd; DVR1t: MQ9Nl: goto iCBsl; Lu9qy: if (!($pay_sys_money > 0)) { goto yf5eg; } goto GKSwj; AVM36: oukEy: goto DtMHs; pGbvn: if (!($join2Model["openid"] != $orderPayModel["openid"] && $join2Model["openid"] != $joinModel["openid"])) { goto Jj18g; } goto gyN2O; n_7JW: pdo_update(ztk_nopre_table("user_account"), $userUpdateModel, array("id" => $userModel["id"])); goto bB_13; vzfWZ: if (!isSiteFollow($joinUserModel["openid"])) { goto SdyxM; } goto y5z1m; va_gP: $obj_types = $objarr[1]; goto r0tMD; d3Qb0: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto yM_JU; KmvwL: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto WhPm4; HEbGR: pdo_update(ztk_table("user_draw", false), $join_draw_data, array("id" => $draw_id)); goto if1zE; OjjcU: $join_id = $objarr[2]; goto Y221N; u0r9Q: $GLOBALS["ztk_config"] = $this->module["config"]["ztk"]; goto mErqf; gg5HV: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto edA70; fs5bH: goto JVx_s; goto xN2KF; zdURw: $writecode = ''; goto INZfv; oPmkN: $origin_id = 0; goto N_vt2; Tf727: S__Lv: goto GKKcM; eJTHz: $joinPayModel = array(); goto nCh_B; kssuz: $mobile = $joinUserModel["mobile"]; goto AiiP2; lodfo: if (!($joinModel["openid"] == $originModel["openid"])) { goto LyJF2; } goto Wc1lW; bHZlL: $draw_data["end_time"] = $object["time_end"]; goto P8_0Q; enop4: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto vSn5C; GJmED: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto J3f0N; Pw0gT: goto Y2meS; goto rYmfw; aq2xy: if (!empty($prize2Model)) { goto C737s; } goto R28m6; wi3SD: $templatecode = $sms_tmp["templatecode"]; goto xKpdw; Ks3Df: $object = pdo_fetch($sql, $objparams); goto vVYt_; Fbhmo: $join2UserModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $join2Model["openid"])); goto tAgmX; LMupr: eCQrY: goto nACyd; RNlnF: $userDrawRecordModel["money"] = $prizeModel_rebate["wallet"]; goto JxJcs; aFZtx: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["score"]}"; goto SPWnT; wW8YS: $userDrawRecordModel["money"] = $prizeModel["red"]; goto BCuEH; GFVH5: $noticeMessage = "{$prizeModel_rebate["name"]}{$prizeModel_rebate["score"]}"; goto TWX2a; Rc_G3: if (!($config["originpush_tmp"] && !empty($origin_id))) { goto yfSJm; } goto RpwJD; bN3Yj: elnQp: goto maVuE; tY2yI: list($min, $max) = explode("-", $prizeModel["red"]); goto iULzg; B8vUg: if ($orderPayModel["types"] == 2) { goto qDK_3; } goto RQZFl; ufOVg: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prizeModel["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto ZjIhl; XIxGi: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto RWv6n; jPLyZ: y95BC: goto BEoSk; zk_JY: $userDrawRecordModel["updatetime"] = time(); goto g8f_y; s_cBA: n5mbb: goto sGuJ_; JxJcs: $userDrawRecordModel["desc"] = $prizeModel_rebate["name"]; goto z1i30; jTENt: if (!(intval($object["buy_is_sms"]) == 1)) { goto yG6TK; } goto m6m4P; GKKcM: goto IVNtl; goto deLki; kp4G8: if (empty($join2Model)) { goto jC2Lh; } goto gp9qg; q9nK5: $draw_id = pdo_insertid(); goto B0xzt; TRPDR: $content = str_replace("{NICKNAME}", $join2UserModel["nickname"], $content); goto I_RE7; hNGW3: if (empty($object["push_tmp"])) { goto BREVx; } goto mCU2T; wQjsJ: if (empty($object["buy_push_tmp"])) { goto mLFz3; } goto x0m5C; Q0QZO: $sign = $sms_tmp["sign"]; goto OGdMH; Cjxv5: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto enop4; maVuE: goto dEB1a; goto H5vg5; RyDL3: cx7cp: goto JvpCh; BuKpy: goto emOyp; goto ErFz3; NpDz_: $content = str_replace("{OBJ}", $object["title"], $content); goto Um4aq; XqpaK: $sign = $sms_tmp["sign"]; goto vJubR; j6oR3: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto ySxum; kKyMx: if (empty($prizeList)) { goto dIhTA; } goto kXSc1; tz_yw: $templatecode = $sms_tmp["templatecode"]; goto TipmA; Ml3DM: if (intval($sms_tmp["types"]) == 0) { goto eUEGI; } goto PCunH; Bs81H: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto D1CAC; PRlSq: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel_rebate["score"] . ""; goto gYVJ3; ozChf: P4aXs: goto ASUD1; zWVCM: if (empty($result)) { goto WkQnt; } goto TSfiN; FUlDf: pdo_update(ztk_table("obj_soliciting", false), array("buy_num +=" => 1, "stock -=" => $buy_reobjspecs["specs_nums"], "buy_specs_field" => $buy_specs_field), array("id" => $object["id"])); goto Mg23r; IWzCk: $joinPayModel["headurl"] = $userModel["headurl"]; goto hU24t; B0xzt: $hashids = Hashids::instance(6, "lywyztk", ''); goto vZhGm; S7Ski: $userDrawRecordModel["updatetime"] = time(); goto KNJ62; MFbBw: dB2qr: goto XY4Ir; cQlKB: if (empty($sms_tmp)) { goto ElIOL; } goto hv47c; mz8G1: $joinPayModel["joins"] = 0; goto f6lwP; OzO8o: $postdata = array("first" => array("value" => "{$originModel["name"]}", "color" => "#173177"), "keyword1" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword2" => array("value" => $object["title"], "color" => "#173177"), "keyword3" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword4" => array("value" => "{$userModel["nickname"]}" . $userModel["mobile"], "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto IQde8; mepRG: pdo_update(ztk_nopre_table("user_ladder_join"), array("pid" => $pid), array("id" => $pid)); goto X78sl; Cs3A2: if (!($prize2Model["types"] == 6)) { goto M25um; } goto BiBR7; qQnYp: if (!(intval($object["is_push"]) == 1)) { goto pOZSk; } goto xutPt; DRPtv: $join_draw_data["end_time"] = $prizeModel["time_end"]; goto njAuI; Ql5_d: foreach ($buy_specs_field as $keys => $speval) { goto v4EEK; JnPEu: $buy_specs_field[$keys]["SpecsNum"] = $speval["SpecsNum"] - $buy_reobjspecs["specs_nums"]; goto KEC64; v4EEK: if (!($speval["idx"] == $buy_reobjspecs["specs_idx"])) { goto T985D; } goto JnPEu; KEC64: T985D: goto CL90Y; CL90Y: FEU2O: goto EFYpI; EFYpI: } goto k6aHK; SJZGM: $template_id = $object["push_tmp"]; goto wK5jZ; biU9M: JgjgJ: goto ZrsB1; biRiA: YCny3: goto A4iwA; Xgx8A: goto i20lb; goto vvHmc; YkGuE: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto HaHgH; GfdSc: Hk2JW: goto P1lU3; meq5z: goto BMJol; goto wTLIH; HZso0: mD86J: goto rDU5W; WF_Yo: $template_id = $object["push_tmp"]; goto WtZXz; W8W7e: $mobile = $joinUserModel["mobile"]; goto OsSrB; noRbe: $prizeModel["red"] = mt_rand($min * 100, $max * 100) / 100; goto kdmoc; v6IuE: if (intval($sms_tmp["types"]) == 0) { goto FOhEN; } goto BsAwm; FBsve: if (intval($prizeModel["types"]) == 5) { goto NhoaR; } goto GsCtB; JNIN7: goto gS7iD; goto bNflK; blZ1G: mhej8: goto DQu17; kwnYQ: list($min, $max) = explode("-", $prizeModel["wallet"]); goto F3oJ_; RWv6n: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto eOKUG; A2WBq: $hashids = Hashids::instance(6, "lywyztk", ''); goto wLWDr; GE2GR: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto XIxGi; AZp08: if (intval($prizeModel["types"]) == 2) { goto IllX9; } goto Rk0TP; EnNR1: $userDrawRecordModel["types"] = 0; goto BuZzP; R6pW_: if (empty($join_id)) { goto aV9DF; } goto berfV; A3Utc: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto rqjhV; D9Ebk: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["wallet"], "wallet_money +=" => $prizeModel["wallet"], "wallet_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto nBLk0; M3y8M: $noticeMessage = "" . $prizeModel["name"]; goto AuHY5; upmby: if (!(intval($prizeModel["create_types"]) == 1)) { goto q53fx; } goto Lh51X; Efneq: if (!(intval($prizeModel["create_types"]) == 1)) { goto WvrXd; } goto hhRjW; FXR6t: if (!(intval($object["is_push"]) == 1)) { goto jzv1t; } goto l6krz; byA0w: $first_mess = ",:"; goto OqMSw; h9uvu: qkK1s: goto okHzY; ZrrlO: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto jVfVV; MQ0is: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto kNIfF; p5xtL: $prizeModel["sys"] = mt_rand($min * 100, $max * 100) / 100; goto K30ng; odghN: $mobile = $join2UserModel["mobile"]; goto R2xIT; Hul9A: $draw_id = pdo_insertid(); goto VtCaG; MQcD5: if (!(intval($prizeModel["types"]) == 9)) { goto JHsc1; } goto S8k7r; BlH4q: $code_draw_data = array("writecode" => $encode_id); goto y6lC6; q_t90: pdo_update(ztk_table("obj_union", false), array("buy_num +=" => 1, "stock -=" => 1), array("id" => $object["id"])); goto XKl1C; okHzY: $url = replaceDieDomain($config, __MURL("user_draw_buy", array("act" => "index"), false, TRUE), $userModel["id"], $obj_types, $object["id"], 0); goto qgffl; wRuLC: if (count($objarr) == 5 && $objarr[3] == 0) { goto pPCHH; } goto XiW2i; H3wIW: $origin_id = $orderPayModel["origin_id"]; goto VB7sR; QO3q4: eUEGI: goto ovKtR; A21gJ: $joinUserModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $joinModel["openid"])); goto JrWWe; IZd7a: if (empty($result)) { goto EJaE1; } goto clh1R; lmalm: pdo_insert("lywywl_ztk_sys_drawcode_data", $drawcode_data_array); goto VbpRm; CW5RT: $prizeModel["red"] = mt_rand($min * 100, $max * 100) / 100; goto RyDL3; iFSKi: r_wWK: goto FwIZZ; S7dL9: $join_id = $objarr[2]; goto Nn1DM; S_4vi: $pwd = $config["sms_key"]; goto gm2La; FB4ET: MGEGK: goto XnytB; GYLrz: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["score"]}"; goto FWIrl; oi13Z: $writecode = ''; goto TvsHH; AgMhw: $content = str_replace("{OBJ}", $object["title"], $content); goto AjsKX; XYxz0: $mobile = $userModel["mobile"]; goto pMTL7; UsFjh: $content = str_replace("{MONEY}", $drawModel["pay_money"] + $drawModel["pay_sys_money"], $content); goto Ndq_u; c1rhr: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["red"], "red_money +=" => $prizeModel["red"], "red_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto u9Xr_; PdYXJ: if (!(intval($prizeModel_rebate["create_types"]) == 1)) { goto AYdvq; } goto hEwNK; ckgnp: goto IUrSz; goto QO3q4; GBaxd: pdo_update(ztk_table("marketing_user", false), array("join_num +=" => 1), array("id" => $origin_id)); goto aD2mF; cchkC: $result = sendSiteWeixinMchPay($joinUserModel["openid"], $prizeModel["wallet"] * 100, $prizeModel["name"], true, $uniacid, $config); goto dmpIC; XqJo1: $userDrawRecordModel["money"] = $prizeModel["red"]; goto GoUgF; rZSD4: $content = $content . " " . $sms_tmp["sign"] . ""; goto a2VN7; rJKlF: $join_draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "prize_id" => $prizeModel["id"], "types" => $prizeModel["types"], "name" => $prizeModel["name"], "pay_openid" => $orderPayModel["openid"], "prize_pic_url" => $prizeModel["pic_url"], "writeoff_types" => $prizeModel["writeoff_types"], "openid" => $joinUserModel["openid"], "nickname" => $joinUserModel["nickname"], "sex" => $joinUserModel["sex"], "headurl" => $joinUserModel["headurl"], "area" => $joinUserModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 0, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto jv4Rx; Wcwrf: $userDrawRecordModel["createtime"] = time(); goto ai6vy; lQeq7: $userDrawRecordModel["uniacid"] = $prizeModel_rebate["uniacid"]; goto Rzfij; vwLZO: goto qIbFh; goto A3lLH; mpqzi: $drawModel = pdo_get(ztk_table("user_draw", false), array("id" => $draw_id)); goto jTENt; TnCWC: eucAm: goto z1bz0; VGbvL: updateUserMoney($uniacid, $join2UserModel["openid"], floatval($prize2Model["sys"]), $note, 1, $obj_types, $draw_id); goto uyWOV; cTXqt: pdo_update(ztk_table("user_draw", false), $code_draw_data, array("id" => $draw_id)); goto YavMn; BiBR7: if ($prize2Model["time_types"] == 1) { goto iuY1u; } goto Jrsyi; SHLGM: dtlcH: goto Px1kd; Ijk5X: if (!isSiteFollow($joinUserModel["openid"])) { goto RniC6; } goto kDVhr; qvldT: Fn_6b: goto OUuM1; AJ7dg: HDSrF: goto Xrp9R; DVgbq: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto XMlyY; aLrZU: $hashids = Hashids::instance(6, "lywyztk", ''); goto fImNu; LRV3O: kGH2t: goto TPmYR; EZqKv: $result = sendSiteWeixinRedPacket($joinUserModel["openid"], floatval($prizeModel["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto ysEd5; nJb16: $sign = $sms_tmp["sign"]; goto zNvl4; gNdR5: Yxapz: goto hp9qC; a9zbX: list($min, $max) = explode("-", $prizeModel["red"]); goto DLooO; e6_L3: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto nuqXR; VQo5B: $joinPayModel["pay_number"] = $orderPayModel["pay_number"]; goto ubRXT; WDMeW: if (empty($originModel)) { goto EtTUh; } goto na2uc; m49ww: $sign = $sms_tmp["sign"]; goto GeVvL; pXWZp: XIaom: goto uT0CG; vLAJG: $template_id = ''; goto wQjsJ; IGkdH: htd_8: goto RSfXm; ckFIy: zrHnb: goto q3opB; RvmFh: if (empty($prizeModel)) { goto pXmW7; } goto Xh7Ab; Xz2tv: $userDrawRecordModel["types"] = 3; goto C7nz7; mJjSE: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto Fgyf2; coshV: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto Yuee4; MT_7F: updateUserMoney($uniacid, $orderPayModel["openid"], -$orderPayModel["pay_price"], $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto NBlXn; oAe0F: pdo_update(ztk_table("user_draw", false), $join_draw_data, array("id" => $draw_id)); goto Nloh7; FRoA8: JObOQ: goto M9PKb; fbIFc: Q7Cjc: goto c0afj; x0sRT: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto SkVNI; p7smz: $result = sendWeixinCard($joinUserModel["openid"], $prizeModel["card"], $uniacid); goto KJMKp; Q49Ca: if ($orderIntmallModel && $orderIntmallModel["status"] == 1) { goto IBlqU; } goto PHsVR; njAuI: BPLfg: goto LFTkl; CdA7J: $userDrawRecordModel["createtime"] = time(); goto sC2aM; BHSO5: goto t4FSB; goto Uxgvh; TeQwF: pdo_update(ztk_table("obj_collage", false), array("join_num +=" => 1), array("id" => $object["id"])); goto aflQE; GnH60: $content = str_replace("{MONEY}", $drawModel["pay_money"] + $drawModel["pay_sys_money"], $content); goto BzJ4f; NuTru: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto Q3A1w; lJNoc: $userDrawRecordModel["updatetime"] = time(); goto WS5AW; vZhGm: $encode_id = $hashids->encode($draw_id); goto Ey1i_; UhuwU: pdo_update(ztk_table("user_draw", false), array("sys" => $prizeModel["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto lpECE; w14D4: $objarr = explode(",", $orderPayModel["order_number"]); goto QemMl; Db8wI: WX2F5: goto nruhR; lcByf: if ($orderPayModel["status"] == 0) { goto XhUoj; } goto vyIBL; I_Vvc: pdo_update(ztk_table("obj_collage", false), array("buy_num +=" => 1), array("id" => $object["id"])); goto QVYQ6; Ebs9Z: $writecode = ''; goto Q37gT; c2wEs: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto nKw9f; nDTzI: $template_id = $object["buy_push_tmprebate"]; goto Thgef; WfCQM: $userDrawRecordModel["wishing"] = " "; goto mOr3E; pxtor: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto o13xF; XN6j5: $join_draw_data = array("writecode" => $encode_id); goto a63VQ; s98dt: $sms_tmp_id = $prizeModel["sms_tmp_id"]; goto YCgOD; AQAGM: if ($prizeModel["time_types"] == 2) { goto jg9xN; } goto uSw3K; WQE5B: $templatecode = $sms_tmp["templatecode"]; goto E9YIJ; QOFu6: $userDrawRecordModel = array(); goto jODtD; tXBN4: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto w14D4; iY5_H: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto U0kSE; dqPPB: if ($prizeModel["time_types"] == 2) { goto xZcxn; } goto X33EL; IcoM3: if (empty($draw_activity_model)) { goto xic1t; } goto LMl_u; ie5Uj: $pay_sys_money = 0; goto i5XtN; Jrsyi: if ($prize2Model["time_types"] == 2) { goto BRRqr; } goto XwmqZ; qdN1r: MOvQH: goto s_cBA; Nib3a: $template_id = ''; goto eZ6Rf; T2b2v: if (empty($join_id)) { goto ycjI6; } goto bZOSI; lgu3O: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prize2Model["virtual_id"], "status" => 1)); goto SM6Ic; vn4Tw: $joinPayModel["qrcode_url"] = ''; goto WKmtt; Rbo3W: $sms_tmp_id = $prize2Model["sms_tmp_id"]; goto BWTzA; I_bzR: if (intval($sms_tmp["types"]) == 0) { goto YRW9X; } goto BdQNV; wVEEX: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["score"] . ""; goto Jc_xa; bNMrg: if (!isSiteFollow($userModel["openid"])) { goto MuXau; } goto R6Gmn; PNinh: DMhKE: goto Yeelz; q4jNL: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto MT_7F; ScPcL: pdo_update(ztk_table("user_draw", false), array("card" => $prizeModel["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto fUpgA; aHwd6: ObSyb: goto i20k6; XFQ5A: cNafp: goto ba426; BSJ0G: sODgP: goto d5Awl; nkDN7: $prizeList = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "prizes_types" => 0, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 0), array(), '', "sort asc"); goto D5Iuw; DLooO: $prizeModel["red"] = mt_rand($min * 100, $max * 100) / 100; goto dRwgq; NySLM: wqNJI: goto edoiT; Ue60h: $drawcode_data_model = pdo_get("lywywl_ztk_sys_drawcode_data", array("drawcode_id" => $draw_activity_model["drawcode_id"], "uniacid" => $uniacid, "code" => $drawcode)); goto fohkn; Awu0G: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto woW1Y; JVWdI: $userDrawRecordModel["uniacid"] = $prize2Model["uniacid"]; goto Zkca7; qq1kO: glY3U: goto KTlgC; xbOwU: $noticeMessage = ''; goto wtgMP; XpA2Z: goto uSU40; goto j8Jfz; Xu8ww: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto dZpeA; vvITu: $object = pdo_fetch($sql, $objparams); goto g8fTs; lFuq4: $group_min_num = max(0, reset($ladder_price_list)["num"]); goto crZ9Q; h1RQk: $joinModel = pdo_get(ztk_table("user_collage_join", false), array("uniacid" => $uniacid, "id" => $join_id)); goto ZI8z8; sFMlJ: CILem: goto Hg1MP; vM_Ix: $userMoneyRecharge["uniacid"] = $uniacid; goto TTvrc; INx4e: if ($orderPayModel["types"] == 5) { goto BKp5o; } goto lmTIB; B9GfK: if (intval($prizeModel["types"]) == 6) { goto N_N3h; } goto ziNV2; NDVZp: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto zWcgR; ZYoDw: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto y9gjD; e2Tdh: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto Nu2_b; hDHej: list($min, $max) = explode("-", $prizeModel_rebate["sys"]); goto Uk1eZ; bmxlv: $originModel = pdo_get("lywywl_ztk_marketing_user", array("id" => $orderPayModel["origin_id"], "obj_id" => $object["id"], "obj_types" => $obj_types, "uniacid" => $uniacid)); goto bfEwL; qy7iZ: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["score"] . ""; goto lhawk; jdVcA: $template_id = $object["buy_push_tmp"]; goto QsDaM; i30bC: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto f1f7y; NhYlU: N6fmn: goto ialjp; c0afj: $result = pdo_insert(ztk_table("user_draw", false), $join_draw_data); goto BBCel; clh1R: $draw_id = pdo_insertid(); goto A2WBq; pzqO0: $userDrawRecordModel["desc"] = $prizeModel["name"]; goto SgBvS; HZxe6: $noticeMessage = "{$prize2Model["name"]}" . getCustomScoreName($GLOBALS["ztk_config"]) . "{$prize2Model["score"]}"; goto ackMh; kp6Cr: if (intval($object["is_sms"]) == 1) { goto aBZGY; } goto on_FN; WkS7M: list($min, $max) = explode("-", $prizeModel["score"]); goto qmu0D; fMX3w: goto chpDx; goto HF54K; NWJSb: $result = sendSiteWeixinMchPay($join2UserModel["openid"], $prize2Model["wallet"] * 100, $prize2Model["name"], true, $uniacid, $config); goto VjbtB; K_wbJ: AYdvq: goto XW13_; vac71: if ($prizeModel["time_types"] == 1) { goto Plhkk; } goto ThZJF; TipmA: $param = ["name" => $join2UserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prize2Model["name"], "code" => $writecode]; goto PjenL; C3cbf: $drawcode = $draw_data["pay_number"]; goto cwWuz; XE_M7: $userDrawRecordModel["wishing"] = " "; goto iFpAj; kPJOS: if (!(intval($prizeModel["create_types"]) == 1)) { goto sxaXs; } goto kWsNI; M3J1N: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto ZsaLV; AXcHm: Hu7y5: goto xB6yd; a3PIX: $pwd = $config["sms_key"]; goto BEFn6; CphzU: sendSiteTplNotice($uniacid, $joinUserModel["openid"], $postdata, $template_id, $url); goto qbcW1; Ra5h3: goto JgEs2; goto TWKYp; pbvwE: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto t7Fd8; hADT7: if (!($joinModel["openid"] != $orderPayModel["openid"])) { goto ydYVh; } goto Oi3y3; SBkOu: $writecode = $encode_id; goto knLY7; TsjCg: aMgsx: goto Ld0N6; Fwpp2: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto O8QXV; Kyswm: list($min, $max) = explode("-", $prizeModel["score"]); goto R9y8b; X8GVe: goto zdSRG; goto VKMdi; gp9qg: if (!($join2Model["openid"] != $orderPayModel["openid"] && $join2Model["openid"] != $joinModel["openid"])) { goto RoNR3; } goto U75z_; aoS7e: g7zpg: goto aq2xy; RiuEj: $objparams = array(":token" => $objarr[0], ":uniacid" => $uniacid); goto lm3CD; GxT9P: $draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "prize_id" => 0, "types" => 8, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "origin_buy_types" => $origin_buy_types, "name" => $object["title"], "pay_money" => $orderPayModel["pay_price"], "pay_sys_money" => $pay_sys_money, "pay_number" => $pay_number, "buy_number" => 1, "invite_openid" => $joinModel["openid"], "prize_pic_url" => $object["picurl"], "writeoff_types" => $writeoff_types, "openid" => $orderPayModel["openid"], "nickname" => $userModel["nickname"], "sex" => $userModel["sex"], "headurl" => $userModel["headurl"], "area" => $userModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "is_register" => $object["buy_is_register"], "register_data" => base64_decode($register_data), "createtime" => TIMESTAMP); goto bGlTU; jODtD: $userDrawRecordModel["uniacid"] = $draw_data["uniacid"]; goto ljOnN; XX38H: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto NySLM; iAIGE: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["wallet"], "wallet_money +=" => $prizeModel["wallet"], "wallet_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto vi2v4; RSfXm: if (!empty($prizeModel)) { goto WXnHi; } goto C0jwf; wTLIH: HUQL8: goto S12IV; hMXmq: $mobile = $userModel["mobile"]; goto esqWI; sDt_7: $sn = $config["sms_uid"]; goto S_4vi; uhDZ4: kLR3b: goto UxhO8; aiV6_: pdo_update(ztk_table("user_draw", false), $join_draw_data2, array("id" => $draw_id)); goto vtxX0; kkysp: return true; goto xKP_K; FMQNO: FPq1J: goto sHINx; agRFC: $origin_team_id = $originModel["team_id"]; goto bDbBN; Xv2hx: $templatecode = $sms_tmp["templatecode"]; goto DRJfK; A9wD2: $userDrawRecordModel["money"] = $prizeModel["red"]; goto dmAFc; ZsaLV: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto oebvY; QsMZT: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto AiWDW; sC2aM: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto xmsIt; OuEGd: $template_id = $config["originpush_tmp"]; goto smHwe; UHf8C: if ($prizeModel_rebate["time_types"] == 1) { goto NQrpP; } goto gHLCH; qmu0D: $prizeModel["score"] = mt_rand($min, $max); goto KqSpC; G_mWs: IPtZp: goto BTksj; YCgOD: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto xokUT; Pukxz: fAUIr: goto cnstj; IlV32: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto vApNo; jAP9J: goto gHGS0; goto IKaa_; E9YIJ: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto KmvwL; mXx3L: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto U17un; v1L9a: $pwd = $config("sms_key"); goto sbuCl; uYy6m: $userDrawRecordModel["createtime"] = time(); goto CmVlL; Gf0hd: sq1WL: goto hHlL_; nRaE4: Ad_Ih: goto oi13Z; ZdWg_: PXaoT: goto xUhow; fQjlX: $join_draw_data["end_time"] = $prizeModel["time_end"]; goto tvlgo; qixKm: $content = str_replace("{PRIZE}", $prizeModel_rebate["name"], $content); goto hFCL8; wI9VI: if (empty($sms_tmp)) { goto XU93O; } goto GUcZU; ilJ2x: $content = str_replace("{OBJ}", $object["title"], $content); goto e7rrr; RSFLe: $object = pdo_fetch($sql, $objparams); goto wybCQ; yDh7f: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto I6IVf; LRX_g: if ($prizeModel_rebate["is_sms"] == 1) { goto f1wgZ; } goto WD0TW; AQth6: YcttH: goto GuHRf; pgpdM: IBlqU: goto UfP9r; vtQ83: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto OmNZa; l_3Qg: pdo_update(ztk_table("user_draw", false), $code_draw_data, array("id" => $draw_id)); goto yREHh; wJOVT: $objarr = explode(",", $orderPayModel["order_number"]); goto wRuLC; zALmp: $writecode = ''; goto xc15z; KIUJQ: $template_id = $object["buy_push_tmp"]; goto h9uvu; ED3dS: $userDrawRecordModel["card_id"] = $prizeModel["card"]; goto D_Ko2; PZ6yZ: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["sys"] . ""; goto C0_GB; wCV08: IVNtl: goto TBjgy; F4l_X: if (!(intval($prizeModel["create_types"]) == 1)) { goto tQ8Su; } goto K1yqe; UxhO8: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $join2UserModel["nickname"] . "" . $object["title"] . "" . getCustomScoreName($GLOBALS["ztk_config"]) . "" . $prize2Model["score"] . ""; goto DZiMp; xDKwH: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prizeModel_rebate["sys"])), array("id" => $join_id)); goto Rk1H0; GOzeg: $result = sendSiteWeixinMchPay($joinUserModel["openid"], $prizeModel["wallet"] * 100, $prizeModel["name"], true, $uniacid, $config); goto S_cv8; gS3o7: $content = $content . " " . $sms_tmp["sign"] . ""; goto ihP1M; JvpCh: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["red"], "red_money +=" => $prizeModel["red"], "red_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto vLUC6; uA6dj: pdo_insert("lywywl_ztk_sys_drawcode_data", $drawcode_data_array); goto HZso0; FxN91: $drawcode_data_array = array("uniacid" => $uniacid, "drawcode_id" => $draw_activity_model["drawcode_id"], "openid" => $orderPayModel["openid"], "code" => $drawcode, "status" => 1, "createtime" => TIMESTAMP); goto ED66U; y5z1m: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prizeModel["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto xM5xG; GW565: $obj_money = $objarr[4]; goto N0cYi; T8PUM: FIF_N: goto ZxpHz; aUsju: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto d9ZWK; oWW4Z: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto b2dKc; z1i30: $userDrawRecordModel["updatetime"] = time(); goto L3qCk; uACF5: if (empty($originModel)) { goto axGNP; } goto agRFC; OPp43: $joinPayModel["pay_number"] = $orderPayModel["pay_number"]; goto vn4Tw; yM_JU: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto liONf; WtQLD: $userDrawRecordModel["updatetime"] = time(); goto Ss3jd; UaC0h: EJaE1: goto aZgWH; qVZpY: $mobile = $userModel["mobile"]; goto um0m2; eskG8: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto ScPcL; AAZGz: if (intval($sms_tmp["types"]) == 0) { goto BjnHw; } goto lJbwi; xKP_K: bmipN: goto pYDT4; lOh0k: pdo_update(ztk_table("user_cut_join", false), array("pay_status" => 1), array("id" => $join_model["id"])); goto WDMeW; h3qiV: ucDTN: goto I_Vvc; F0jqQ: $draw_id = pdo_insertid(); goto ctY5_; I6IVf: pdo_update(ztk_table("user_draw", false), array("card" => $prize2Model["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto vxHn7; rH2Nw: if (!isSiteFollow($joinUserModel["openid"])) { goto SwLm2; } goto s_atb; dHfwA: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto p367P; NbztV: xvdr1: goto YHE7J; QwW7X: Col_B: goto qrLzS; iMvWL: $virtualModel["openid"] = $joinUserModel["openid"]; goto HeYM8; XN4Ap: $userDrawRecordModel["createtime"] = time(); goto klsG3; akNwW: GNeTF: goto LRX_g; L92Le: $userDrawRecordModel = array(); goto h4hsn; NHmAB: $userDrawRecordModel["act_name"] = ""; goto e6tX3; I8pRF: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prize2Model["wallet"], "wallet_money +=" => $prize2Model["wallet"], "wallet_money_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto B9ycv; ZW4EB: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["red"], "red_money +=" => $prizeModel["red"], "red_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto Z2m9I; loVDz: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $userModel["openid"])); goto H_Wtd; axTiz: vZg5u: goto LPWVN; LWcvT: pdo_update(ztk_table("obj_union", false), array("buy_num +=" => 1), array("id" => $object["id"])); goto VbPwT; AkeSE: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto kEVlO; p219S: $userDrawRecordModel["createtime"] = time(); goto fhrlM; kKkl8: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto nCy0k; } goto kiTrf; B3KYW: $draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "prize_id" => 0, "types" => 8, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "origin_buy_types" => $origin_buy_types, "name" => $object["title"], "pay_money" => $orderPayModel["pay_price"], "pay_sys_money" => $pay_sys_money, "pay_number" => $pay_number, "invite_openid" => $joinModel["openid"], "prize_pic_url" => $object["picurl"], "writeoff_types" => $writeoff_types, "openid" => $orderPayModel["openid"], "nickname" => $userModel["nickname"], "sex" => $userModel["sex"], "headurl" => $userModel["headurl"], "area" => $userModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "status" => 1, "is_register" => $object["buy_is_register"], "register_data" => base64_decode($register_data), "createtime" => TIMESTAMP); goto n9own; Cdrl1: $sms_tmp_id = $object["sms_tmp_id"]; goto Pp82n; AKJHj: goto hyAyJ; goto Wdky1; RgPns: if (intval($prizeModel["types"]) == 2) { goto Qlxam; } goto QMr1b; tWrhT: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto tHeIS; I89tA: if (intval($prizeModel_rebate["types"]) == 6) { goto CxdEQ; } goto yt3zy; scPad: $join_id = $objarr[2]; goto etCzU; pbgNB: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto THe8j; AAtpd: $hashids = Hashids::instance(6, "lywyztk", ''); goto eKOvo; i3l8C: if (!(intval($object["buy_is_sms"]) == 1)) { goto Vd_Ay; } goto B5_9c; FZxab: if (empty($object["push_tmp"])) { goto dtsa7; } goto VWHng; UAAp0: if (empty($virtualModel)) { goto MLsJL; } goto iQwFm; WS5AW: $userDrawRecordModel["createtime"] = time(); goto lGH_d; kfIKV: goto hyAyJ; goto KsSVV; Fidk_: if ($object["buy_is_specs"] > 0 && $is_the_right_pattern) { goto sFpQM; } goto N7WpM; m8dsc: $template_id = "zeIKo34Q5U8KNsphS214sep1quttJIDnX4NRdB37j5Y"; goto K_1Zy; FX5ge: $virtualModel["status"] = 0; goto cSmnP; vVYt_: if (empty($orderPayModel["origin_id"])) { goto XVwdW; } goto XFdRj; OUwOu: m8Kcl: goto QZhhv; Ms671: $origin_id = $orderPayModel["origin_id"]; goto sS62v; v1agV: $obj_token = $objarr[0]; goto EovCx; mY6ma: return true; goto FiOo3; cSmnP: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto od8Jm; cXw6y: $writecode = $encode_id; goto h3qiV; xdiMf: BOkBX: goto XLPvr; JrWWe: $prizeList = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "prizes_types" => 0, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 0), array(), '', "sort asc"); goto npzoq; Uu2AM: $userDrawRecordModel["openid"] = $userModel["openid"]; goto FcNh7; z4wlz: goto dphec; goto XLIgD; eeOcj: if (!($object["is_card_get"] == 0)) { goto ZlzZo; } goto sJW8V; zWcgR: goto VpQOT; goto RVwKD; Ey1i_: $join_draw_data = array("writecode" => $encode_id); goto DL6YF; byylZ: if (!empty($prizeModel)) { goto bWY4L; } goto iBaxv; UZBTR: $postdata = array("first" => array("value" => $first_mess, "color" => "#173177"), "keyword1" => array("value" => $prices_payment, "color" => "#173177"), "keyword2" => array("value" => $orderIntmallModel["score"], "color" => "#173177"), "keyword3" => array("value" => $orderIntmallModel["order_number"], "color" => "#173177"), "keyword4" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto RO5XC; iqo2r: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto ckgnp; z9CBn: goto MOvQH; goto SSnAE; coM50: $sms_tmp_id = $object["buy_sms_tmp_id"]; goto ZSadn; klL9y: if (empty($draw2Model)) { goto dB2qr; } goto k2QSu; vqyV2: $writeoff_types = 1; goto sDxe9; MywWL: return false; goto gNVCE; VQnf8: IgbWt: goto SllkY; Pvb59: $postdata = array("first" => array("value" => "{$originModel["name"]}", "color" => "#173177"), "keyword1" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword2" => array("value" => $object["title"], "color" => "#173177"), "keyword3" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword4" => array("value" => "{$userModel["nickname"]}" . $userModel["mobile"], "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto Z68ob; qZUyO: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto bY0B9; mLvjM: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel_rebate["sys"] . ""; goto MdMpW; ljOnN: $userDrawRecordModel["openid"] = $draw_data["openid"]; goto WUMDl; l1nE3: $result = sendSiteWeixinRedPacket($joinUserModel["openid"], floatval($prizeModel["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto Z_ayf; JWVhX: $writecode_rebate = $encode_id; goto ZaStf; iIpSd: if (intval($prize2Model["types"]) == 3) { goto NXvwW; } goto pcRCF; olIlm: VWfem: goto HlxZy; za6cm: $draw2Model = pdo_get(ztk_nopre_table("user_draw"), array("uniacid" => $uniacid, "obj_id" => $object["id"], "obj_types" => $obj_types, "pay_openid" => $joinModel["openid"], "or_rebate2" => 0, "types" => array(1, 2, 3, 4, 5, 6, 7, 9))); goto bJHDd; i20k6: neAwK: goto fMX3w; B6Hhr: a3gHY: goto LvoHM; ic_wS: goto nRxYR; goto x3FdQ; AiWDW: goto IPtZp; goto RwB3W; y6lC6: if (!($object["models"] == 1 && $object["is_fedex"] == 0)) { goto rhKmC; } goto yn4_g; ne2q2: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto yy8b2; SYNqi: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto P4aXs; } goto Ml3DM; Sz7ko: $userDrawRecordModel["desc"] = $prizeModel["name"]; goto zk_JY; Kvf1o: h0DVw: goto spH5p; BdQNV: $ali_accesskeyid = $config["ali_accesskeyid"]; goto ZYoDw; pKo77: updateUserMoney($uniacid, $joinUserModel["openid"], floatval($prizeModel["sys"]), $note, 1, $obj_types, $draw_id); goto lFIYI; GVzuP: $pwd = $config["sms_key"]; goto t5eck; i7iyG: goto dtlcH; goto cwS0c; X0CdZ: V7qBN: goto Y9sp5; Os6jF: $sn = $config("sms_uid"); goto v1L9a; PNG1j: $mobile = $userModel["mobile"]; goto RlppI; EkvtO: hLbdK: goto xPqu2; o0l31: $noticeMessage = ''; goto WXrp_; qxtNg: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prize2Model["red"], "red_money +=" => $prize2Model["red"], "red_money_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto EPP0F; eB2GR: $buy_specs_field = iserializer($buy_specs_field); goto FUlDf; iVPi8: goto FIF_N; goto ALIQ5; t66wL: Q9VLh: goto vnHYx; kOqDv: $userDrawRecordModel["card_id"] = $prizeModel["card"]; goto MfZCt; TEt_H: $url = replaceDieDomain($config, __MURL("order_intmall", array("act" => "index"), false, TRUE), $userModel["id"], 0, 0, 0); goto avknb; VpHVI: W2D47: goto NjXIb; x_XDI: $ali_accesskeyid = $config["ali_accesskeyid"]; goto yUiNx; LRdAm: $joinUserModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $joinModel["openid"])); goto nkDN7; Vc9Ax: $mobile = $join2UserModel["mobile"]; goto nZwgr; ib8XN: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto wGZfb; WxdlV: if (empty($sms_tmp)) { goto r_wWK; } goto BWiIB; S_XEk: $userDrawRecordModel["obj_id"] = $prize2Model["obj_id"]; goto Bf3t8; lLu1F: $joinPayModel["origin_team_id"] = $origin_team_id; goto GtCK2; G2gtv: $joinModel = pdo_get(ztk_nopre_table("user_cut_join"), array("uniacid" => $uniacid, "id" => $join_model["pid"])); goto QwW7X; lT368: WDPqT: goto UvUqD; Te7fi: $userDrawRecordModel["obj_types"] = $prize2Model["obj_types"]; goto HEOSX; Z2dr2: if (!($pid == 0)) { goto hkPZR; } goto JGQS4; qrhxr: BtAGC: goto gXGn8; NNW2D: WSEup: goto NtRmu; xHBC4: $content = str_replace("{OBJ}", $object["title"], $content); goto zURow; ceFuK: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["sys"]}"; goto obPqx; rA_c2: if (intval($prize2Model["types"]) == 5) { goto nNI72; } goto vliB0; qkih0: $userDrawRecordModel["wishing"] = " "; goto ifvO8; u_1It: foreach ($prizeList as $key => $val) { goto gv_sv; gv_sv: if (!(intval($val["odds"]) <= 0)) { goto aZVvt; } goto nz2bR; EAv24: $arr[$key] = $val["odds"]; goto wbb0W; kenIu: hHwyL: goto EAv24; FBfnF: if (!(intval($val["limit_types"]) == 0 && intval($val["limit_num"]) > 0)) { goto RYP4k; } goto VcEiK; hiKf4: RYP4k: goto gTI2t; CK0yC: e5ylr: goto kenIu; vNonx: goto YVClZ; goto PKpyY; nz2bR: goto YVClZ; goto tDyID; d3cj0: goto YVClZ; goto CK0yC; wVqO3: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE  prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $joinUserModel["openid"])); goto e_My9; VcEiK: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $joinUserModel["openid"]), "count(*)"); goto KpZAL; e_My9: if (!($count >= intval($val["limit_num"]))) { goto e5ylr; } goto d3cj0; KpZAL: if (!($count >= intval($val["limit_num"]))) { goto R_pN0; } goto vNonx; tDyID: aZVvt: goto FBfnF; gTI2t: if (!(intval($val["limit_types"]) == 1 && intval($val["limit_num"]) > 0)) { goto hHwyL; } goto wVqO3; wbb0W: YVClZ: goto lmNWh; PKpyY: R_pN0: goto hiKf4; lmNWh: } goto cvlld; YVJQ2: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $joinUserModel["id"], $obj_types, $object["id"], 0); goto CdWbj; DjExu: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto w9wBC; OgkKa: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["wallet"]}"; goto itIHY; bmms5: $content = str_replace("{OBJ}", $object["title"], $content); goto pBfzu; K30ng: BAkcY: goto ykqOC; tKk9w: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prizeModel["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto ezxfF; mVUU2: blejB: goto McT2x; xutPt: if (!isSiteFollow($join2UserModel["openid"])) { goto zZcQ2; } goto mGyMH; gYVJ3: updateUserScore($uniacid, $userModel["openid"], intval($prizeModel_rebate["score"]), $note, 1, $obj_types, $draw_id); goto WWW05; xc15z: if (empty($result)) { goto UvR1j; } goto XvRAO; JZaeH: fwQAE: goto Tq9ak; oWQJs: $mobile = $joinUserModel["mobile"]; goto Oa0m7; n9own: $result = pdo_insert(ztk_table("user_draw", false), $draw_data); goto WzMJu; h9jKr: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto Mf9Zh; vliB0: if (intval($prize2Model["types"]) == 6) { goto mrZvV; } goto ndju4; SP_8Q: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $prizeModel["sys"] . ""; goto BleOl; we6d9: if (empty($originModel)) { goto Ty3l6; } goto lodfo; qXgTR: $content = $sms_tmp["content"]; goto vPP41; wJ6Lv: if (empty($draw_activity_model)) { goto pPzXq; } goto JnEHL; TpgkP: $mobile = $userModel["mobile"]; goto BVh0Y; J0BLO: $sign = $sms_tmp["sign"]; goto QgZ0f; LGD43: $tableName = $permission_data[$object["draw_activity_type"]]; goto kVGp1; pVhhN: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto h9jKr; nLlc1: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["red"], "red_money +=" => $prizeModel["red"], "red_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto hKSHT; KJMKp: $userDrawRecordModel = array(); goto Vysbp; KSNIU: D0ddW: goto wZdIM; AQdP2: $join_draw_data = array("writecode" => $encode_id); goto e7m17; r_kkZ: $userDrawRecordModel["createtime"] = time(); goto di1gx; OwAyk: $result = sendWeixinRedPacket($userModel["openid"], floatval($prizeModel_rebate["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto gyNn7; z1bz0: $sn = $config("sms_uid"); goto YxZU_; x7XPD: $code_draw_data = array("writecode" => $encode_id); goto l_3Qg; qWyZD: if (!(intval($prize2Model["create_types"]) == 1)) { goto kLR3b; } goto L3Ft0; Ns4Iw: if (!isSiteFollow($originModel["openid"])) { goto l3xxQ; } goto Pvb59; woW1Y: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto G3cxu; IlyfP: VpQOT: goto Eg8cQ; pt62M: if (intval($prizeModel["types"]) == 4) { goto FFPjH; } goto GVCpE; OPEmd: Vm7q6: goto YDpjU; IcnO2: $templatecode = $sms_tmp["templatecode"]; goto eE58p; kQUIT: $hashids = Hashids::instance(6, "lywyztk", ''); goto Yaobq; VFEe4: $noticeMessage = "" . $prizeModel["name"]; goto SEprk; z5LZL: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto DKtrl; GPyaT: $pwd = $config["sms_key"]; goto Vc9Ax; C4p1N: goto Dxt49; goto DjIdW; X3wf1: $sms_tmp_id = $prizeModel["sms_tmp_id"]; goto v3LI7; Vhesg: $join_draw_data2 = array("writecode" => $encode_id); goto aiV6_; eEBMI: $virtualModel["status"] = 0; goto QcnQE; Nk0Kp: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto jUTIU; daeXH: $join_draw_data["end_time"] = 0; goto zgj5t; wWpfW: xic1t: goto FGeac; lGH_d: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto biRiA; D1CAC: goto F_vfr; goto TAQEq; v3yPw: $writeoff_types = 0; goto j4hWh; yDdu8: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto nx0ay; JaZz9: list($min, $max) = explode("-", $prizeModel["sys"]); goto bMrUj; h3kX1: pdo_update(ztk_nopre_table("user_account"), $userUpdateModel, array("id" => $userModel["id"])); goto aY6kT; EyeIJ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto C4p1N; NsfTU: if (empty($draw_activity_model)) { goto izvGo; } goto mq2kQ; atUfz: if (intval($prizeModel["types"]) == 6) { goto sT0n2; } goto bDdiY; bYBUU: $userDrawRecordModel["updatetime"] = time(); goto XN4Ap; PINeB: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $joinUserModel["id"], $obj_types, $object["id"], 0); goto GJNjd; n1BOA: $sms_tmp_id = $object["sms_tmp_id"]; goto wVb3p; Yneat: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto UWfBv; nuRMu: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto qe19v; fid3E: $buy_sms_rebate_id = $object["buy_sms_rebate_id"]; goto slX5o; kNIfF: if (empty($sms_tmp)) { goto YcttH; } goto paxVS; gMFMb: $content = $content . " " . $sms_tmp["sign"] . ""; goto YkGuE; Lhvuw: if (empty($orderPayModel["origin_id"])) { goto czZsc; } goto bmxlv; TYFk3: $rid = get_rand($arr); goto IL8Ss; j8YCs: $drawcode_data_model = pdo_get("lywywl_ztk_sys_drawcode_data", array("drawcode_id" => $draw_activity_model["drawcode_id"], "uniacid" => $uniacid, "code" => $drawcode)); goto ryEFB; d8PcW: $draw_id = pdo_insertid(); goto HAoMT; PuMzK: gZ5Jq: goto lWqPr; G9cMO: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto dUv_p; gvw2U: if ($prize2Model["is_sms"] == 1) { goto vCe8J; } goto X76Oh; cuSTC: q53fx: goto PZ6yZ; R36t9: $pwd = $config["sms_key"]; goto OR1E0; S8Knx: $userDrawRecordModel["createtime"] = time(); goto ezzVJ; XKl1C: iZ5rq: goto IgsaR; csHP1: REjWQ: goto vhcaf; tXEXS: $join_draw_data2["end_time"] = 0; goto FIP_U; ZzHv1: goto qRqmh; goto aplW5; U8OoH: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $orderPayModel["openid"])); goto MEQ_4; IQde8: $url = replaceDieDomain($config, __MURL("admins_marketing", array("obj_types" => $obj_types, "obj_id" => $object["id"]), false, TRUE), 0, 0, 0, 0); goto KyNeB; YU1fQ: $userDrawRecordModel["types"] = 0; goto E5JS4; BR_U2: TQmv7: goto eskG8; esqWI: $sign = $sms_tmp["sign"]; goto FNoCa; mhbis: $virtualModel["openid"] = $draw_data["openid"]; goto Sv0wq; G3cxu: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto uhRm1; t9awZ: $register_data = $orderPayModel["note"]; goto m0BOv; RwF3n: $join_draw_data["end_time"] = 0; goto NJArh; zkVue: Z5buT: goto y5Pbj; OmNZa: $content = str_replace("{OBJ}", $object["title"], $content); goto Cbchi; sHi1H: CtmQT: goto MeL2j; kKiIN: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto CP2tA; FvQY6: $userDrawRecordModel["createtime"] = time(); goto pxtor; S_38a: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto coshV; OeIu9: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prizeModel["red"])), array("id" => $join_id)); goto WTgr3; XnJM9: $pwd = $config["sms_key"]; goto ry9Ub; enHFB: $sms_tmp_id = $object["sms_tmp_id"]; goto nMTx2; sObNR: updateUserMoney($uniacid, $orderPayModel["openid"], -$orderPayModel["pay_price"], $note, 3, $joinPayModel["obj_types"], $joinPayModel["obj_id"]); goto R6pW_; aA2TY: if (intval($prizeModel["types"]) == 4) { goto uTIro; } goto OyWsC; GYmbR: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["red"], "red_money +=" => $prizeModel["red"], "red_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto COjWZ; HPAGA: if (!(intval($prizeModel["types"]) == 9)) { goto rHsKs; } goto M3y8M; Te1xY: y73qf: goto AuQCH; MOfP4: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto CVzkM; ivvmy: pXmW7: goto AcFDY; Gno7f: if (!(!empty($userModel) && !empty($userModel["mobile"]))) { goto FTxST; } goto CLTsw; eE7w3: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto zHNSN; p4PdY: $noticeMessage = "" . $prizeModel["name"]; goto lduxQ; WTpWf: $origin_buy_types = 0; goto Qa4QM; HA241: $code_draw_data = array("writecode" => $encode_id); goto JX6Dr; Br3fm: f3zGl: goto hq16w; c5ku6: pOZSk: goto biU9M; PVxh3: $userDrawRecordModel["updatetime"] = time(); goto Mv41M; L3Ft0: list($min, $max) = explode("-", $prize2Model["score"]); goto Ok9bt; j_NMf: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["score"]}"; goto AXcHm; sRTkL: rZ7oH: goto q_t90; frrgX: $userUpdateModel = array(); goto AQym8; APlL9: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto uX80E; U6jp4: JgzBS: goto meq5z; JbkW1: $result = sendWeixinCard($joinUserModel["openid"], $prizeModel["card"], $uniacid); goto Yw4sk; MZ4cu: $userDrawRecordModel["obj_types"] = $prize2Model["obj_types"]; goto vECLQ; s097O: if (!(intval($prizeModel["create_types"]) == 1)) { goto P2Kn0; } goto GEcf7; cLpWJ: $userDrawRecordModel["createtime"] = time(); goto ne2q2; p2zeM: B1HIV: goto JdR66; oy175: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto IF1qG; rHpce: $content = $sms_tmp["content"]; goto APlL9; SfROG: $objparams = array(":token" => $objarr[0], ":uniacid" => $uniacid); goto RSFLe; p_nFu: PCKcA: goto x3T8_; CzGLn: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto c34Hv; tr7YE: $sign = $sms_tmp["sign"]; goto zZFw_; Qvh1H: iXKro: goto i7iyG; kjyrj: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $join2UserModel["nickname"] . "" . $object["title"] . "" . $prize2Model["sys"] . ""; goto fwt7z; LWUP_: include MODULE_ROOT . "/inc/class/Hashids.class.php"; goto QAUq9; k4M5Q: Y_Tvf: goto cZzoy; NAfXu: if (!(intval($prize2Model["create_types"]) == 1)) { goto lt_j0; } goto zecnQ; chb68: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto XqJo1; hTAdy: pdo_insert(ztk_nopre_table("user_collage_join"), $joinPayModel); goto dfH5C; KnuDf: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $orderPayModel["openid"])); goto NglAs; oTl4b: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prize2Model["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto pieeA; qXz80: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto MIDB1; IB1rh: $sign = $sms_tmp["sign"]; goto v_htg; kWsNI: list($min, $max) = explode("-", $prizeModel["score"]); goto PfTxJ; cIuP8: $userUpdateModel["join_num"] = $userModel["join_num"] + 1; goto mfUk7; CIsoC: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto bI3TR; ndju4: if (intval($prize2Model["types"]) == 7) { goto Hyg7u; } goto lnqVH; PCunH: $ali_accesskeyid = $config["ali_accesskeyid"]; goto o0CI0; C_4e3: goto GW_Uf; goto DCu3i; Oo7a0: pdo_update(ztk_table("user_draw", false), array("custom_url" => $prizeModel["custom_url"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto qXz80; BzJ4f: $content = str_replace("{OBJ}", $object["title"], $content); goto ikzuW; g5f6l: goto WsPm6; goto QRCxY; vIyLW: if (!(intval($object["is_push"]) == 1)) { goto Ary8P; } goto oyM3Q; SqED4: $joinCount = pdo_count(ztk_nopre_table("user_collage_join"), array("uniacid" => $uniacid, "pid" => $pid)); goto Qu0yy; U75z_: pdo_update(ztk_table("user_union_join", false), array("invite +=" => 1), array("id" => $join2Model["id"])); goto Fbhmo; YcNLe: $sms_tmp = pdo_get(ztk_table("tmp_sms", false), array("id" => $sms_tmp_id)); goto JQB49; lhawk: updateUserScore($uniacid, $joinUserModel["openid"], intval($prizeModel["score"]), $note, 1, $obj_types, $draw_id); goto sX310; BuJVh: tQ8Su: goto ZW4EB; CYeWj: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto ZQAdA; Dfsfl: $sign = $sms_tmp["sign"]; goto huHtm; UPcfk: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prizeModel["virtual_id"], "status" => 1)); goto fn9lq; wwk07: $sign = $sms_tmp["sign"]; goto poGCP; Mq9L6: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto gEO_y; YBeZQ: pdo_update(ztk_table("user_soliciting_join", false), array("invite +=" => 1), array("id" => $join_id)); goto A21gJ; upZuX: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $orderPayModel["openid"])); goto hyk5b; LZUqy: $noticeMessage = "" . $prizeModel["name"]; goto dtv2q; iFpAj: $userDrawRecordModel["act_name"] = ""; goto jeVtH; pgBYR: if (!(intval($object["buy_is_push"]) == 1)) { goto MB9gw; } goto ObCyH; GcUzZ: PxMdM: goto Q99Cb; iQwFm: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto iMvWL; tr5su: $code_draw_data["virtual_data_id"] = $virtualModel["id"]; goto P4NEM; hdUU9: if (intval($prizeModel_rebate["types"]) == 2) { goto HUQL8; } goto vqCms; TVyJi: $userUpdateModel = array(); goto XryVl; qhQHc: updateUserMoney($uniacid, $orderPayModel["openid"], -$pay_sys_money, $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto OOx8T; QGleQ: $sign = $sms_tmp["sign"]; goto WQE5B; qgffl: sendTplNotice($uniacid, $userModel["openid"], $postdata, $template_id, $url); goto XFQ5A; Iy4Fx: if (intval($prizeModel["types"]) == 6) { goto sL0on; } goto cGE08; zgj5t: goto BPLfg; goto Gacnv; UHA4F: MZDT9: goto X8GVe; UGLCv: $userDrawRecordModel = array(); goto JVWdI; S8k7r: $noticeMessage = "" . $prizeModel["name"]; goto tKk9w; xPa5E: P2Kn0: goto SP_8Q; YxIdp: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto Qhifm; aYUlL: $userDrawRecordModel["obj_types"] = $prize2Model["obj_types"]; goto Pg2Pc; EDgvE: $writecode = $encode_id; goto EkvtO; Vickk: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto Fwpp2; r1_HM: $userDrawRecordModel["send_name"] = $config["power"]; goto XE_M7; xUhow: goto MGEGK; goto eLJg3; CP2tA: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto EnNR1; XLPvr: goto hJwAi; goto DE1TO; VbPwT: goto iZ5rq; goto sRTkL; XMZz4: $pay_sys_money = floatval($object["money"]) - floatval($orderPayModel["pay_price"]); goto wbvSB; fohkn: if (!empty($drawcode_data_model)) { goto mD86J; } goto j3Ysl; b5p2A: if (intval($sms_tmp["types"]) == 0) { goto xcX_J; } goto N8MAS; jqhTy: $url = replaceDieDomain($config, __MURL("user_draw_buy", array("act" => "index"), false, TRUE), $userModel["id"], $obj_types, $object["id"], 0); goto mM6QP; Q9E4n: foreach ($buy_specs_field as $kyes => $vlaues) { goto EPJ3w; u0WLr: $object["title"] = $object["title"] . " " . $vlaues["SpecsName"] . ",: " . $buy_reobjspecs["specs_nums"]; goto cQ3Lb; cQ3Lb: HVrA7: goto B0txk; B0txk: s1su1: goto fJ1fT; EPJ3w: if (!($vlaues["idx"] == $buy_reobjspecs["specs_idx"])) { goto HVrA7; } goto r79Lj; r79Lj: $object["money"] = $vlaues["SpecsPrice"] * $buy_reobjspecs["specs_nums"]; goto u0WLr; fJ1fT: } goto FUaRb; ldKX3: pdo_update(ztk_table("user_collage_join", false), array("money +=" => floatval($prizeModel["sys"])), array("id" => $joinModel["id"])); goto D09Ty; Ld0N6: $obj_token = $objarr[0]; goto va_gP; qpu6g: $noticeMessage = "{$prizeModel_rebate["name"]}"; goto BJ0Ou; fhBJv: $ali_accesskeyid = $config["ali_accesskeyid"]; goto NqNM2; GEgO3: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto XLPX3; tUArO: pdo_update(ztk_table("user_draw", false), array("card" => $prizeModel_rebate["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto qpu6g; OmtfQ: $originModel = array(); goto PfanQ; FIP_U: goto YOq4M; goto xuTi8; uX80E: $content = str_replace("{PRIZE}", $prizeModel["name"], $content); goto WAg6L; saPo2: Fbnig: goto i_R2C; t3B75: $noticeMessage = "{$prizeModel_rebate["name"]}{$prizeModel_rebate["red"]}"; goto OwAyk; uoqi6: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto gZkME; tqPcS: if (!isSiteFollow($joinUserModel["openid"])) { goto dQbXt; } goto n1Y_l; BEoSk: goto HNY7J; goto NyZpi; nNpWO: bWY4L: goto DdzJh; c63I_: ECElU: goto lmcZv; kdmoc: n8kiJ: goto zDxyZ; JnEHL: $drawcode = $draw_data["pay_number"]; goto j8YCs; fzL4c: if (empty($join_id)) { goto ouqAe; } goto BAO8s; rTZmq: $prizeModel["sys"] = mt_rand($min * 100, $max * 100) / 100; goto Ie7W8; tZ20a: cJdQQ: goto qq1kO; xPqu2: $noticeMessage = ''; goto LIguJ; bFAKE: if (intval($prizeModel["types"]) == 2) { goto ARb3C; } goto mlgI7; MqVFp: if (!(intval($prizeModel["create_types"]) == 1)) { goto W9f35; } goto kwnYQ; NyrqQ: if (!(intval($prize2Model["create_types"]) == 1)) { goto l2ot9; } goto P23Me; mSFTW: if (empty($originModel)) { goto p7js7; } goto mptuc; f2_zy: jrFdx: goto mSQjV; J15M9: if (intval($prizeModel["types"]) == 6) { goto MQ9Nl; } goto EAaiZ; OWeFe: $userMoneyRecharge["uniacid"] = $uniacid; goto pVhhN; Hajlt: $ali_accesskeyid = $config["ali_accesskeyid"]; goto ERAGb; Te0I1: $result = sendSiteWeixinMchPay($joinUserModel["openid"], $prizeModel["wallet"] * 100, $prizeModel["name"], true, $uniacid, $config); goto b7h3Q; mnRpm: $objparams = array(":token" => $objarr[0], ":uniacid" => $uniacid); goto btZvp; Vysbp: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto tWrhT; mlgI7: if (intval($prizeModel["types"]) == 3) { goto UyLXG; } goto pt62M; PZQVg: pdo_update(ztk_table("marketing_user", false), array("get_num +=" => 1), array("id" => $origin_id)); goto mlm48; dXQhj: goto VWfem; goto ZExjj; ta9Mh: pdo_update(ztk_table("user_draw", false), array("wallet" => $prizeModel["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto u93kq; gE48G: $templatecode = $sms_tmp["templatecode"]; goto P0pdK; SY0Lg: $mobile = $joinUserModel["mobile"]; goto Dfsfl; GGXQ8: list($min, $max) = explode("-", $prizeModel["wallet"]); goto vjTjS; PwxcQ: $userMoneyRecharge = array(); goto vM_Ix; KIwTr: $prizeModel = null; goto Whi1a; LPWVN: if (!empty($prizeModel)) { goto TOHly; } goto eu2Y9; YC42w: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto LEyzm; C7nz7: $userDrawRecordModel["status"] = 0; goto a6By2; Gm5ma: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto UHA4F; QAAN4: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prizeModel["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto FZxab; PQWOj: if (empty($prizeList)) { goto klm7P; } goto BRGAH; hNj2j: dIhTA: goto VpHVI; IjgfF: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto UsFjh; vNjST: $content = str_replace("{MONEY}", $prices_payment, $content); goto XJtv9; NirVw: $originModel = pdo_get("lywywl_ztk_marketing_user", array("id" => $orderPayModel["origin_id"], "obj_id" => $object["id"], "obj_types" => $obj_types, "uniacid" => $uniacid)); goto OIeo3; wYRWH: pdo_update(ztk_table("user_draw", false), array("red" => $prizeModel_rebate["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto y0Mz1; mfUk7: pdo_update(ztk_nopre_table("user_account"), $userUpdateModel, array("id" => $userModel["id"])); goto mpqzi; p8KX6: dtsa7: goto PINeB; EPP0F: pdo_update(ztk_table("user_draw", false), array("red" => $prize2Model["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto z2TZ8; f4f5q: Cc_u6: goto CKgfJ; GpypR: $draw_id = pdo_insertid(); goto aLrZU; eNtki: $prizeModel_rebate["score"] = mt_rand($min, $max); goto LnAdG; yKH3G: l01NV: goto iCmZ9; GsazH: $draw_data["end_time"] = $object["time_day"] * 24 * 60 * 60 + time(); goto XwAQT; x0m5C: $template_id = $object["buy_push_tmp"]; goto oSJ_N; Yg5eC: if (!(intval($prizeModel["create_types"]) == 1)) { goto GCz4T; } goto tpD0w; bZOSI: if (!($joinModel["openid"] != $orderPayModel["openid"])) { goto Fh9a1; } goto YBeZQ; TBjgy: goto cpRzc; goto BR_U2; AJRFt: $first_mess = ''; goto L2DZr; Jkcdu: $draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "prize_id" => 0, "types" => 8, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "origin_buy_types" => $origin_buy_types, "name" => $object["title"], "pay_money" => $orderPayModel["pay_price"], "pay_sys_money" => $pay_sys_money, "pay_number" => $pay_number, "invite_openid" => $joinModel["openid"], "prize_pic_url" => $object["picurl"], "writeoff_types" => $writeoff_types, "openid" => $orderPayModel["openid"], "nickname" => $userModel["nickname"], "sex" => $userModel["sex"], "headurl" => $userModel["headurl"], "area" => $userModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 0, "is_register" => $object["buy_is_register"], "register_data" => base64_decode($register_data), "createtime" => TIMESTAMP, "buy_number" => 1); goto l35Hu; hRVeO: pdo_update(ztk_table("obj_collage", false), array("get_num +=" => 1), array("id" => $object["id"])); goto UWfZF; geaf8: $code_draw_data = array("writecode" => $encode_id); goto EYyhz; Ukjs3: pdo_update(ztk_table("user_account", false), array("product_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto Lc_7Z; bzAeq: $joinUserModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $uniacid, "openid" => $joinModel["openid"])); goto PgwJi; MHGIq: if (!($prizeModel["types"] == 6)) { goto Kc7VE; } goto vac71; x7tBt: wAqhx: goto wrvtz; bvVIX: updateUserMoney($uniacid, $userModel["openid"], $orderIntmallModel["pay_price"], $note, 4, 0, 0); goto Adj9f; XBx9a: $pay_number = $params["tid"]; goto Rgu50; QlqK0: $url = replaceDieDomain($config, __MURL("user_draw_buy", array("act" => "index"), false, TRUE), $userModel["id"], $obj_types, $object["id"], 0); goto n1OvB; SdJ0X: list($min, $max) = explode("-", $prizeModel["wallet"]); goto xJ_6P; McT2x: if (!(intval($prizeModel["create_types"]) == 1)) { goto HeMV2; } goto Kyswm; vECLQ: $userDrawRecordModel["obj_id"] = $prize2Model["obj_id"]; goto vluLn; V8x4H: list($min, $max) = explode("-", $prizeModel["sys"]); goto hw3GZ; rSLPW: I32Q1: goto pXWZp; m35_2: $joinPayModel["nickname"] = $userModel["nickname"]; goto L98s1; vApNo: e0tjo: goto wzb8J; wWS4Q: goto f3zGl; goto hncLY; uuIMc: $userMoneyRecharge["uniacid"] = $uniacid; goto GJmED; O449l: if (!(intval($object["is_push"]) == 1)) { goto MI_AM; } goto rH2Nw; cgW9U: $userDrawRecordModel = array(); goto HUcEq; wLWDr: $encode_id = $hashids->encode($draw_id); goto HQlef; Ln_WZ: if (!(intval($object["is_push"]) == 1)) { goto T12H9; } goto Ijk5X; c52al: $join_draw_data["end_time"] = 0; goto mTmF2; fQXjm: return true; goto myKZY; PnSMq: fUnoe: goto b7yKE; BWiIB: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto Upo0u; } goto gDiB2; Q6zQp: $ali_accesskeyid = $config["ali_accesskeyid"]; goto L0K8a; TBa27: $mobile = $joinUserModel["mobile"]; goto vIJCu; LDHxA: if (empty($result)) { goto XAoKe; } goto d8PcW; e7rrr: $content = $content . " " . $sms_tmp["sign"] . ""; goto Re3Xs; GeVvL: $templatecode = $sms_tmp["templatecode"]; goto Neaw9; vxEp7: $content = $content . " " . $sms_tmp["sign"] . ""; goto HIOsk; C9h4L: if (empty($join2Model)) { goto zwoPo; } goto pGbvn; Z2m9I: pdo_update(ztk_table("user_draw", false), array("red" => $prizeModel["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto KZBdG; aZC7r: if (intval($prizeModel_rebate["types"]) == 1) { goto flLYJ; } goto hdUU9; VbobQ: pdo_update(ztk_table("obj_soliciting", false), array("get_num +=" => 1), array("id" => $object["id"])); goto sEkE8; VQaJO: goto zJJio; goto lM7YK; KNkxo: gtzXw: goto O3hm5; u3urd: ViWvH: goto iZD1Q; lhw5k: $origin_team_id = $originModel["team_id"]; goto RnbHc; dVhfR: czZsc: goto ENNLf; fi1x5: $url = replaceDieDomain($config, __MURL("admins_marketing", array("obj_types" => $obj_types, "obj_id" => $object["id"]), false, TRUE), 0, 0, 0, 0); goto OuEGd; RbXw6: goto bmipN; goto pgpdM; hWiat: ki9cs: goto vwLZO; vwxnw: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $join2UserModel["openid"])); goto HFoA6; f1f7y: $userDrawRecordModel["money"] = $prize2Model["red"]; goto SxZHU; i5XtN: if ($is_award_prizes == 1) { goto MS1hF; } goto AsC4x; JZkrM: if (!($joinModel["openid"] == $originModel["openid"])) { goto sTxVE; } goto Z1ctd; VBDkc: wm20s: goto wWpfW; zuCDO: $content = str_replace("{OBJ}", $object["title"], $content); goto bCr0c; yXnvQ: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto WIJqZ; hZXNV: if (!(intval($object["is_sms"]) == 1)) { goto fsNp0; } goto Cdrl1; Qw3T1: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto A9wD2; WXrp_: if (intval($prizeModel["types"]) == 1) { goto EQRg3; } goto AZp08; dCtP5: $draw_data["end_time"] = 0; goto guSV_; BCuEH: $userDrawRecordModel["send_name"] = $config["power"]; goto Bgad0; hHlL_: return true; goto LI0Yi; nBLk0: pdo_update(ztk_table("user_draw", false), array("wallet" => $prizeModel["wallet"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto OgkKa; FoWfi: $userDrawRecordModel["openid"] = $join2UserModel["openid"]; goto SYXx9; Pj56p: wAyxM: goto jPzMG; awK4O: $result = sendWeixinCard($join2UserModel["openid"], $prize2Model["card"], $uniacid); goto lmOdX; Gacnv: ipuc5: goto DRPtv; Nu2_b: updateUserMoney($uniacid, $orderPayModel["openid"], $orderPayModel["pay_price"], $note, 4, $draw_data["obj_types"], $draw_data["obj_id"]); goto gg5HV; cHP_B: foreach ($prizeList as $key => $val) { goto ZLCIK; lG0VT: if (!($count >= intval($val["limitnum"]))) { goto sWUDK; } goto XdDqW; au97o: if (!($count >= intval($val["limitnum"]))) { goto hiDgE; } goto Sypxb; MgX_i: $count = pdo_fetchcolumn("SELECT COUNT(*) FROM " . ztk_table("user_draw") . " WHERE prize_id = :prize_id AND openid = :openid AND FROM_UNIXTIME(createtime, '%Y%m%d') = DATE_FORMAT(NOW(),'%Y%m%d')", array(":prize_id" => $val["id"], ":openid" => $joinUserModel["openid"])); goto au97o; VKS3r: hiDgE: goto EPOXY; dGZIr: $arr[$key] = $val["odds"]; goto rgZ0s; Sypxb: goto QjW2b; goto VKS3r; HmmRv: sWUDK: goto lZnpw; EPOXY: nJ0Ch: goto dGZIr; R19HJ: goto QjW2b; goto thDV0; e52id: if (!(intval($val["limittypes"]) == 1 && intval($val["limitnum"]) > 0)) { goto nJ0Ch; } goto MgX_i; GaFiB: $count = pdo_getcolumn(ztk_table("user_draw", false), array("prize_id" => $val["id"], "openid" => $joinUserModel["openid"]), "count(*)"); goto lG0VT; thDV0: DBhFn: goto gvX5p; XdDqW: goto QjW2b; goto HmmRv; rgZ0s: QjW2b: goto abkhI; lZnpw: fFnGM: goto e52id; ZLCIK: if (!(intval($val["odds"]) <= 0)) { goto DBhFn; } goto R19HJ; gvX5p: if (!(intval($val["limittypes"]) == 0 && intval($val["limitnum"]) > 0)) { goto fFnGM; } goto GaFiB; abkhI: } goto bUhNq; hKSHT: pdo_update(ztk_table("user_draw", false), array("red" => $prizeModel["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto TSI2b; Iz3go: $userUpdateModel = array(); goto cIuP8; eglJM: $mobile = $join2UserModel["mobile"]; goto rYGiD; t5eck: $mobile = $joinUserModel["mobile"]; goto qXgTR; SKXhT: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto K0KCu; Zu0fr: updateUserMoney($uniacid, $orderPayModel["openid"], -$orderPayModel["pay_price"], $note, 3, $obj_types, $object["id"]); goto k4QwT; VjUTJ: $hashids = Hashids::instance(6, "lywyztk", ''); goto fR4xC; TAQEq: bVgxW: goto sDt_7; q6mHo: $draw_activity_model = pdo_get("lywywl_ztk_" . $tableName, array("id" => $object["draw_activity_id"], "uniacid" => $uniacid, "models" => 3)); goto IcoM3; pmkn2: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto qlHZK; aJNmi: $userDrawRecordModel["wishing"] = " "; goto eP89H; gtLCA: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto pON2_; w9wBC: $mobile = $userModel["mobile"]; goto lkLlm; t4Eu8: goto elnQp; goto EE2r2; iH8Hb: $userDrawRecordModel["createtime"] = time(); goto esJVM; ba426: V4nM9: goto ISf6f; bh547: $userDrawRecordModel["uniacid"] = $prize2Model["uniacid"]; goto FoWfi; q1aEb: if ($prizeModel["time_types"] == 2) { goto qFapa; } goto c52al; lN07E: if ($prizeModel["time_types"] == 2) { goto zVenV; } goto nVoKr; v9uQK: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto azb_4; WhPm4: goto VcNKv; goto sHi1H; Ss3jd: $userDrawRecordModel["createtime"] = time(); goto zS8E2; JWL3_: list($min, $max) = explode("-", $prizeModel["wallet"]); goto fLkfF; qW4Ql: $joinPayModel["front_money"] = $object["front_money"]; goto OPp43; fADPC: if (intval($prizeModel["types"]) == 5) { goto WlnBF; } goto J15M9; bY0B9: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto CU5PM; ycs0r: if (!isSiteFollow($userModel["openid"])) { goto I32Q1; } goto aiaSu; GUcZU: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto CPheQ; } goto v6IuE; hhRjW: list($min, $max) = explode("-", $prizeModel["wallet"]); goto U6uST; cNK9g: kUwcS: goto VCaX9; j97Vl: Plhkk: goto ZJ0vc; fc3Tk: goto Y6aaT; goto euq2u; iO5DY: $userDrawRecordModel["types"] = 0; goto e6_L3; c4Kc0: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto QCipu; f2MLL: goto n4v41; goto cNK9g; jeVtH: $userDrawRecordModel["remark"] = ""; goto eQRCg; nZwgr: $content = $sms_tmp["content"]; goto wdoDE; Op3ob: if ($prizeModel["time_types"] == 2) { goto ipuc5; } goto daeXH; cmOKe: pdo_update(ztk_table("user_account", false), array("custom_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto YaIrG; tMh81: list($min, $max) = explode("-", $prize2Model["sys"]); goto tY78k; DE1TO: XV0I9: goto j1MB7; XZMIK: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto fieAV; MMz39: $join_draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "pay_number" => $pay_number, "prize_id" => $prizeModel_rebate["id"], "types" => $prizeModel_rebate["types"], "name" => $prizeModel_rebate["name"], "pay_openid" => $userModel["openid"], "prize_pic_url" => $prizeModel_rebate["pic_url"], "writeoff_types" => $prizeModel_rebate["writeoff_types"], "openid" => $userModel["openid"], "nickname" => $userModel["nickname"], "sex" => $userModel["sex"], "headurl" => $userModel["headurl"], "area" => $userModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "or_rebate2" => 2, "is_register" => 0, "register_data" => '', "createtime" => TIMESTAMP); goto deYP_; uyWOV: pdo_update(ztk_table("user_draw", false), array("sys" => $prize2Model["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto P_fJJ; yHBce: if (empty($result)) { goto hLbdK; } goto Hul9A; Jc_xa: updateUserScore($uniacid, $joinUserModel["openid"], intval($prizeModel["score"]), $note, 1, $obj_types, $draw_id); goto ribE3; lFIYI: pdo_update(ztk_table("user_draw", false), array("sys" => $prizeModel["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto yVp10; XnytB: goto gF7LG; goto SSTsr; KyNeB: $template_id = $config["originpush_tmp"]; goto tiHOp; BsRZj: goto d4fvv; goto KBmyJ; AJtGS: Zolld: goto QlqK0; wLIiz: oA5D0: goto bHZlL; ARWo3: pdo_update(ztk_table("user_draw", false), array("score" => $prizeModel["score"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto GYLrz; RYuZL: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto wLZU1; NqNM2: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto rauBw; JMLGj: $join_draw_data = array("writecode" => $encode_id); goto Mn20G; J4O_d: j0B5d: goto iAIGE; ihAi8: $templatecode = $sms_tmp_rebate["templatecode"]; goto PQwAm; d1UNp: if (!($joinModel["openid"] == $originModel["openid"])) { goto wAyxM; } goto EkEGi; VQheJ: $join_model = pdo_get(ztk_nopre_table("user_cut_join"), array("uniacid" => $uniacid, "id" => $join_id)); goto qhONc; Ttj5V: $userDrawRecordModel = array(); goto vVv7e; k2QSu: $join2Model = pdo_get(ztk_nopre_table("user_soliciting_join"), array("uniacid" => $uniacid, "obj_id" => $object["id"], "obj_types" => $obj_types, "openid" => $draw2Model["openid"])); goto C9h4L; n8o1v: if (!isSiteFollow($originModel["openid"])) { goto KVonb; } goto C2U8S; bI3TR: goto NZ5FW; goto TnCWC; EkEGi: $origin_buy_types = 1; goto F_KAm; cTYN5: $result = sendSiteWeixinRedPacket($joinUserModel["openid"], floatval($prizeModel["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto jxSF0; A7mXj: $sms_tmp_id = $object["buy_sms_tmp_id"]; goto ib8XN; xUL2n: goto HDSrF; goto Y8d5P; G2xYZ: pvkQe: goto LMWCk; Hn2yr: wGJNo: goto b3PWW; Ov8aG: $content = $content . " " . $sms_tmp["sign"] . ""; goto G9cMO; aS838: $content = $sms_tmp["content"]; goto RJmAq; y73qJ: $joinPayModel["invite_id"] = $join_id; goto UkZzQ; IF1qG: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto bdg9q; L83b0: g0Ld9: goto OZEMS; fvYEK: $virtualModel["openid"] = $join2UserModel["openid"]; goto eEBMI; fQEd3: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto GTgTx; Zz_VV: $userDrawRecordModel["types"] = 2; goto DBdft; ceGBj: if (empty($prizeList)) { goto glY3U; } goto KIwTr; eaATc: $draw_data = array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "qr_id" => 0, "qr_token" => '', "qr_number" => 0, "prize_id" => 0, "types" => 8, "origin_id" => $origin_id, "origin_team_id" => $origin_team_id, "origin_buy_types" => $origin_buy_types, "name" => $object["title"], "pay_money" => $orderPayModel["pay_price"], "pay_sys_money" => $pay_sys_money, "pay_number" => $pay_number, "invite_openid" => $joinModel["openid"], "prize_pic_url" => $object["picurl"], "writeoff_types" => $writeoff_types, "openid" => $orderPayModel["openid"], "nickname" => $userModel["nickname"], "sex" => $userModel["sex"], "headurl" => $userModel["headurl"], "area" => $userModel["area"], "ip" => $_SERVER["REMOTE_ADDR"], "is_register" => $object["buy_is_register"], "register_data" => base64_decode($register_data), "createtime" => TIMESTAMP, "buy_number" => 1); goto piXkf; hvCCp: $userDrawRecordModel["updatetime"] = time(); goto CdA7J; q2MN2: $userDrawRecordModel["obj_types"] = $prize2Model["obj_types"]; goto DDi6a; TqDBB: if (intval($prize2Model["types"]) == 6) { goto qkJgE; } goto rjMTu; oAGbO: $drawModel = pdo_get(ztk_table("user_draw", false), array("id" => $draw_id)); goto EenpN; bfEwL: $origin_id = $orderPayModel["origin_id"]; goto XwXWc; ou6kB: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prizeModel["wallet"])), array("id" => $join_id)); goto PAWDW; QzmKd: if (!(!empty($userModel) && !empty($userModel["mobile"]))) { goto JiDgB; } goto b5p2A; o27sF: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto Awu0G; okaBi: $mobile = $mobiles; goto FRWyX; CU5PM: $noticeMessage = "" . $prizeModel["name"]; goto UZqiQ; MUB8d: $mobile = $userModel["mobile"]; goto xPMp4; eE58p: $param = ["name" => $userModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "money" => $drawModel["pay_money"] + $drawModel["pay_sys_money"], "code" => $writecode]; goto ETmIk; lWqPr: pdo_update(ztk_table("obj_ladder", false), array("buy_num +=" => 1), array("id" => $object["id"])); goto Haozn; Udmwd: if (empty($join_id)) { goto FPq1J; } goto FqzI4; cP9KY: flLYJ: goto mDlAi; dK0lw: return true; goto I6fGe; O0onq: $origin_buy_types = 0; goto we6d9; b7PSU: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto U_bDV; YZnbs: $result = sendWeixinCard($joinUserModel["openid"], $prizeModel["card"], $uniacid); goto L92Le; xttWU: $userDrawRecordModel["desc"] = $prizeModel["name"]; goto lJNoc; qPbOw: Iiq46: goto bbRue; FlWM6: if (intval($prizeModel["types"]) == 4) { goto TQmv7; } goto fADPC; d9Twi: if (empty($result)) { goto gZ5Jq; } goto GpypR; QUzon: goto Q9VLh; goto drDCR; UWfBv: pdo_update(ztk_table("user_account", false), array("virtual_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto VFEe4; ejcUH: goto sThX6; goto N8VY0; bFIo1: $ali_accesskeyid = $config["ali_accesskeyid"]; goto VqD43; EF713: return false; goto joK1k; a3MHr: goto Hu7y5; goto sXROk; P8z4B: $prizeModel["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto KQTOn; rVq28: $noticeMessage = "{$prize2Model["name"]}" . getCustomScoreName($GLOBALS["ztk_config"]) . "{$prize2Model["score"]}"; goto QQrhP; jq8g1: $account_api = WeAccount::create(); goto h6Oqi; kFCfc: $rid = get_rand($arr); goto gQe0Y; lkLlm: $sign = $sms_tmp["sign"]; goto Cs7yq; ttSHE: P0i3U: goto X3wf1; uSw3K: $join_draw_data["end_time"] = 0; goto m_TVK; N1n7r: if ($prize2Model["time_types"] == 1) { goto Ro5OQ; } goto hFsOX; bCpGO: MGScp: goto tF1sm; WKInQ: x2WZL: goto dgIDD; Jqlvq: pdo_insert(ztk_nopre_table("user_money_recharge"), $userMoneyRecharge); goto NuTru; O_hHu: pdo_update(ztk_table("user_union_join", false), array("money +=" => floatval($prize2Model["wallet"])), array("id" => $join2Model["id"])); goto MLGA0; wdoDE: $content = str_replace("{NICKNAME}", $join2UserModel["nickname"], $content); goto wX9zr; n10Ui: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto uQE4R; gZkME: $userDrawRecordModel["money"] = $prizeModel["wallet"]; goto ghO1E; HlxZy: T_Ba5: goto tTfaR; MvQX5: $userDrawRecordModel["uniacid"] = $prizeModel["uniacid"]; goto XZMIK; GKSwj: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $pay_sys_money . ""; goto QM2Fl; hGgj9: if (empty($originModel)) { goto Ubnbz; } goto mr3D3; YavMn: $writecode = $encode_id; goto Tji0R; oa7aB: goto gHGS0; goto NIIk7; fqArG: $encode_id = $hashids->encode($draw_id); goto Q7rWt; euq2u: Ro5OQ: goto MZNgz; j1j8I: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto f4He5; } goto vNJf2; iEGig: $postdata = array("first" => array("value" => "{$originModel["name"]}", "color" => "#173177"), "keyword1" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword2" => array("value" => $object["title"], "color" => "#173177"), "keyword3" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword4" => array("value" => "{$userModel["nickname"]}" . $userModel["mobile"], "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto zJEJr; hHpIn: H96VU: goto NyrqQ; LLNIY: KGeMw: goto P1WiI; HitDb: $userDrawRecordModel["types"] = 2; goto yEevv; Tb5FR: yfSJm: goto eeOcj; Um4aq: $content = $content . " " . $sms_tmp["sign"] . ""; goto nuRMu; CmVlL: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto wCV08; Bgad0: $userDrawRecordModel["wishing"] = replaceShareInfo($object["wishing"], $joinUserModel["openid"]); goto lTj5o; xrB2G: Y6aaT: goto NxKYU; Fs518: LAPsB: goto kPJOS; uKhxb: $userDrawRecordModel["virtual_id"] = $object["virtual_id"]; goto AFjCq; oiMP6: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto ij404; h8G6G: $prizeModel_rebate = $prizeList_rebate[$rid]; goto p8CZo; Qa4QM: if (empty($originModel)) { goto KFp_F; } goto JZkrM; qjNB0: if (!($orderIntmallModel["pay_price"] > 0)) { goto wAqhx; } goto bxb16; jhzJB: $prizeList = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 0), array(), '', "sort asc"); goto kKyMx; f8sDa: LhMWB: goto qPbOw; drDCR: JfNhj: goto j9lwW; qNMOo: hc_WE: goto ieIAh; l6krz: if (!isSiteFollow($joinUserModel["openid"])) { goto PA6q4; } goto QAAN4; a_Kxf: if ($orderIntmallModel["pay_price"] > 0) { goto coiaQ; } goto ztA8W; XkAn2: $writecode = ''; goto joy7Z; XsDfQ: $userDrawRecordModel["uniacid"] = $prize2Model["uniacid"]; goto dfJbU; m4DQP: $virtualModel = pdo_get(ztk_table("prize_virtual_data", false), array("virtual_id" => $prizeModel["virtual_id"], "status" => 1)); goto a9U8F; GoUgF: $userDrawRecordModel["send_name"] = $config["power"]; goto qkih0; Y221N: $sql = "SELECT * FROM " . tablename("lywywl_ztk_obj_union") . " WHERE token = :token AND uniacid = :uniacid"; goto SfROG; Y8d5P: aYrLg: goto Os6jF; Qh3Nz: if (intval($prizeModel["types"]) == 7) { goto gNXr9; } goto z1YzY; jfOTn: $prizeModel["red"] = mt_rand($min * 100, $max * 100) / 100; goto BuJVh; VGpgb: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto eglJM; Rk0TP: if (intval($prizeModel["types"]) == 3) { goto f2o_D; } goto P5sbj; yrRGo: if (intval($prizeModel["types"]) == 4) { goto G7cuh; } goto FBsve; d0kt0: aj3sY: goto vMonI; KkR9_: goto t2toq; goto wYLla; Kr2Ka: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["wallet"], "wallet_money +=" => $prizeModel["wallet"], "wallet_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto sL5jL; jUTIU: $noticeMessage = "" . $prizeModel["name"]; goto f2_zy; FWIrl: fOW4C: goto hRVeO; zA8qC: pdo_update(ztk_table("obj_union", false), array("get_num +=" => 1), array("id" => $object["id"])); goto RlFRz; Q2pXc: if (intval($prizeModel["types"]) == 3) { goto Et052; } goto yrRGo; Uxgvh: JjBjU: goto IwKBe; qUlz9: bMguR: goto npatM; XYokx: r7iYc: goto g5f6l; Fc743: goto lEI_a; goto CcSS1; UpUCE: pdo_update(ztk_table("marketing_user", false), array("buy_num +=" => 1), array("id" => $origin_id)); goto DcHrw; Jr4aw: pdo_insert(ztk_nopre_table("user_ladder_join"), $joinPayModel); goto Z2dr2; WYhv_: $sign = $sms_tmp["sign"]; goto Xv2hx; yNB5e: if (empty($object["is_buy_draw"])) { goto BusWV; } goto XKPU6; cbTUq: if (intval($prizeModel_rebate["types"]) == 4) { goto e7fWm; } goto wU6Bg; cuNVZ: $joinPayModel["obj_types"] = $obj_types; goto qfoeL; D6Wu1: $virtualModel["openid"] = $userModel["openid"]; goto bPjYa; sjyua: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto zKpL3; ht6YK: goto GXoDI; goto q8Uj1; ugPTA: XU93O: goto NEq0v; KjRUc: N76e0: goto tfOA9; QSzTL: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto bhozU; svS0F: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto YK8Zj; OmVv2: $userDrawRecordModel["send_name"] = $config["power"]; goto a83ul; G1wde: $virtualModel["status"] = 0; goto Q9ybU; VKMdi: e7fWm: goto LfQ5V; wLZU1: $userDrawRecordModel["money"] = $prizeModel_rebate["red"]; goto RITGy; WIJqZ: K2vHg: goto ebajn; hq16w: goto bEdX1; goto CDoCE; hv47c: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto q88PZ; } goto QV4GA; aD2mF: pk9F3: goto fRxhA; YxuP9: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto ynynY; PHqY7: if (intval($sms_tmp["types"]) == 0) { goto Oe4SL; } goto bFIo1; EX8kU: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto JJ8pG; T22se: pdo_update(ztk_table("user_collage_join", false), array("money +=" => floatval($prizeModel["wallet"])), array("id" => $joinModel["id"])); goto IYoK3; ebajn: Vr1g7: goto AQth6; PgwJi: $prizeList = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 0), array(), '', "sort asc"); goto PQWOj; eCWub: goto yNOLs; goto GbZB5; iULzg: $prizeModel["red"] = mt_rand($min * 100, $max * 100) / 100; goto f3ilL; Krj4A: pGsao: goto bH7jh; KdRVC: goto kq2bp; goto VYEoK; qe19v: ySDFg: goto BZIQD; bB_13: if (empty($join_id)) { goto sq1WL; } goto hADT7; P1lU3: pdo_update(ztk_table("obj_cut", false), array("get_num +=" => 1), array("id" => $object["id"])); goto Vx1it; cf25C: pdo_update(ztk_table("marketing_user", false), array("marketing_num +=" => 1), array("id" => $origin_id)); goto wstWy; c4gTO: $result = sendTplNotice($uniacid, $originModel["openid"], $postdata, $template_id, $url); goto I1lbA; soE3G: if (empty($sms_tmp)) { goto MGScp; } goto iHfRM; HwPSl: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto lG_r9; pcRCF: if (intval($prize2Model["types"]) == 4) { goto UEmug; } goto t9ueg; P5yPU: if (intval($sms_tmp["types"]) == 0) { goto MnJDW; } goto JYyZL; dRn2i: $userUpdateModel["join_num"] = $userModel["join_num"] + 1; goto yZPp8; SYXx9: $userDrawRecordModel["obj_types"] = $prize2Model["obj_types"]; goto vyA3h; uk_iI: if (empty($result)) { goto pL18B; } goto mPxov; Xtiht: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto DnLRy; jkuoy: $mobile = $joinUserModel["mobile"]; goto z5KB8; U_bDV: $userMoneyRecharge["createtime"] = TIMESTAMP; goto JuH1H; w0tvK: if ($object["is_open_stock"] == 1) { goto jFKrN; } goto cdhcq; Hn35h: $sn = $config("sms_uid"); goto JZTfw; ThZJF: if ($prizeModel["time_types"] == 2) { goto LNUIZ; } goto RwF3n; HLlby: $userDrawRecordModel["types"] = 1; goto chb68; w2Nb_: $userDrawRecordModel["money"] = $prizeModel["red"]; goto OmVv2; xz7k9: $postdata = array("first" => array("value" => "", "color" => "#173177"), "keyword1" => array("value" => $object["title"], "color" => "#173177"), "keyword2" => array("value" => $drawModel["pay_number"], "color" => "#173177"), "keyword3" => array("value" => "{$drawModel["pay_money"]} {$drawModel["pay_sys_money"]}", "color" => "#173177"), "keyword4" => array("value" => date("Y-m-d H:i:s", time()), "color" => "#173177"), "remark" => array("value" => "", "color" => "#173177")); goto E5WAf; DCu3i: a7UBc: goto RxTFu; C0jwf: $rid = get_rand($arr); goto w4qWA; qqE38: RodPf: goto qNjVX; Ti4Ld: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto ZUeEX; qmyEO: pdo_update(ztk_table("user_account", false), array("profit_money +=" => $prizeModel["wallet"], "wallet_money +=" => $prizeModel["wallet"], "wallet_money_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto EPqLE; aCdUb: $userDrawRecordModel["card_id"] = $prizeModel_rebate["card"]; goto tSVVr; WH3tQ: $join_draw_data["end_time"] = 0; goto ic_wS; ym0o8: xXuz3: goto DfKf_; rDU5W: WBLH1: goto PlNGo; ySw2z: yf5eg: goto Eds6J; Haozn: if (empty($originModel)) { goto fXSmn; } goto cf25C; s2DEw: $prize2List = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "prizes_types" => 0, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 1), array(), '', "sort asc"); goto vNYf0; kUBj6: goto FyMQM; goto dCSEi; EYyhz: pdo_update(ztk_table("user_draw", false), $code_draw_data, array("id" => $draw_id)); goto p4Fim; NfBf5: $content = str_replace("{OBJ}", $object["title"], $content); goto dbI6t; B0vEe: $mobile = $joinUserModel["mobile"]; goto nJb16; ApjZ5: $userDrawRecordModel["send_name"] = $config["power"]; goto hkMEU; XRvgx: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto D6Wu1; yzwSa: if (empty($originModel)) { goto tuzKZ; } goto d1UNp; na2uc: pdo_update(ztk_table("marketing_user", false), array("marketing_num +=" => 1), array("id" => $origin_id)); goto bQOm1; h3noG: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto u6l9C; PVtvZ: if (!($object["models"] == 2)) { goto CTIuZ; } goto vlZEw; u93kq: pdo_update(ztk_table("user_union_join", false), array("money +=" => floatval($prizeModel["wallet"])), array("id" => $join_id)); goto nqjq_; Tq9ak: ssq3w: goto BnAoP; UvUqD: if (!($object["buy_is_specs"] == 0)) { goto i__2A; } goto XFLbg; geAAb: $content = $content . " " . $sms_tmp["sign"] . ""; goto PARge; c34Hv: $userMoneyRecharge["createtime"] = TIMESTAMP; goto M3J1N; EenpN: if (!(intval($object["buy_is_sms"]) == 1)) { goto Z5buT; } goto coM50; nCh_B: $joinPayModel["uniacid"] = $uniacid; goto cuNVZ; M5lE1: $userDrawRecordModel["uniacid"] = $prize2Model["uniacid"]; goto IwSSN; JZTfw: $pwd = $config("sms_key"); goto wnExP; wQhD5: if (empty($sms_tmp)) { goto j4YJM; } goto y3HLc; XFLbg: $buy_reobjspecs["specs_nums"] = 1; goto v3Ge2; eP89H: $userDrawRecordModel["act_name"] = ""; goto lYeip; sV5db: MB9gw: goto IGQF8; MZNgz: $join_draw_data2["end_time"] = $prize2Model["time_day"] * 24 * 60 * 60 + time(); goto xrB2G; WTgr3: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["red"]}"; goto l1nE3; b4U90: $userMoneyRecharge["createtime"] = TIMESTAMP; goto SfyG8; Wil0y: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto LLQj4; Wdky1: sMluq: goto fid3E; zP45_: WXnHi: goto AmbkV; yGq1m: da14e: goto Sb94l; s_atb: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prizeModel["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto m8dsc; sECBs: $objarr = explode(",", $orderPayModel["order_number"]); goto AiZyt; GO0Mo: if (!(intval($object["is_push"]) == 1)) { goto XNcZQ; } goto v8KcD; ED66U: pdo_insert("lywywl_ztk_sys_drawcode_data", $drawcode_data_array); goto t8UzI; bjv5A: $userDrawRecordModel["createtime"] = time(); goto mwdXX; to0TC: $userUpdateModel = array(); goto lP8KE; O5KPC: $pwd = $config["sms_key"]; goto TpgkP; ZtML7: if (empty($originModel)) { goto GNeTF; } goto rxTLh; s7wTL: $userModel = pdo_get(ztk_nopre_table("user_account"), array("uniacid" => $orderPayModel["uniacid"], "openid" => $orderPayModel["openid"])); goto JgBIU; TSI2b: pdo_update(ztk_table("user_cut_join", false), array("money +=" => floatval($prizeModel["red"])), array("id" => $joinModel["id"])); goto v4wqO; olZMh: if ($orderPayModel["types"] == 4) { goto oQxYI; } goto INx4e; vcwNP: $userDrawRecordModel = array(); goto DT6Ys; GXVXO: $userDrawRecordModel["card_id"] = $prizeModel["card"]; goto hvCCp; oA7pA: goto GXK6e; goto Db8wI; Ok9bt: $prize2Model["score"] = mt_rand($min, $max); goto uhDZ4; khjVv: $userMoneyRecharge["uniacid"] = $uniacid; goto v_4Y3; gxYUG: $content = $sms_tmp["content"]; goto TRPDR; OGdMH: $templatecode = $sms_tmp["templatecode"]; goto RMx_J; QQgDh: if (empty($orderPayModel["origin_id"])) { goto jSsnP; } goto NirVw; eOKUG: $userDrawRecordModel["types"] = 0; goto IIgYa; OR1E0: $mobile = $userModel["mobile"]; goto zMnVR; pqD18: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $joinUserModel["id"], $obj_types, $object["id"], 0); goto lObyD; HAzCB: dnUwY: goto AKJHj; LfQ5V: pdo_update(ztk_table("user_account", false), array("card_num +=" => 1), array("openid" => $userModel["openid"])); goto tUArO; ErFz3: D3f5r: goto M3cBr; lM7YK: K9zAa: goto OTUMD; sMsOU: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto ilJ2x; bDdiY: if (intval($prizeModel["types"]) == 7) { goto CZmVt; } goto RN6Xq; mTp7G: $ali_accesskeyid = $config["ali_accesskeyid"]; goto VGpgb; Dxc33: $content = str_replace("{NICKNAME}", $joinUserModel["nickname"], $content); goto zjVU2; lGZGE: $noticeMessage = "{$prize2Model["name"]}"; goto UuLmk; lObyD: sendSiteTplNotice($uniacid, $joinUserModel["openid"], $postdata, $template_id, $url); goto u1BMN; tYivN: JauCg: goto Ik5T3; tWwa_: $prizeList = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 0), array(), '', "sort asc"); goto zEdL4; m16uP: SwLm2: goto I0JEg; jij51: updateUserMoney($uniacid, $orderPayModel["openid"], -$orderPayModel["pay_price"], $note, 3, $draw_data["obj_types"], $draw_data["obj_id"]); goto Lu9qy; SjRBI: pdo_update(ztk_table("user_account", false), array("join_num +=" => 1), array("openid" => $joinUserModel["openid"])); goto EUicm; QOyNV: YFZlD: goto oa7aB; JYcH2: if (empty($sms_tmp)) { goto dnUwY; } goto Gno7f; Bc33M: $ali_accesskeyid = $config["ali_accesskeyid"]; goto JHWyT; Nn1DM: $pay_types = $objarr[3]; goto GW565; O3WKh: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto cV0G5; Qzjrr: FyMQM: goto dOyJd; MG4AV: if (!isSiteFollow($originModel["openid"])) { goto bSUvd; } goto OzO8o; IBg5U: pdo_insert("lywywl_ztk_sys_drawcode_data", $drawcode_data_array); goto LoOmF; E5JS4: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto Nnyb1; Rzfij: $userDrawRecordModel["openid"] = $userModel["openid"]; goto qAmAs; xL7n7: $sms_tmp_id = $prizeModel["sms_tmp_id"]; goto lcIuu; rB4O2: $result = sendSiteWeixinRedPacket($joinUserModel["openid"], floatval($prizeModel["red"]) * 100, " ", "", "", $config["power"], true, $uniacid, $config); goto av39l; xVtiH: dB0i_: goto MvdOu; yy8b2: zdSRG: goto QbeDk; rqjhV: $userDrawRecordModel["types"] = 1; goto DVgbq; iZD1Q: goto eysq6; goto hkkvi; nzI7D: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $joinUserModel["nickname"] . "" . $object["title"] . "" . $prizeModel["score"] . ""; goto QXwqx; MYsh3: $noticeMessage = "{$prizeModel["name"]}{$prizeModel["sys"]}"; goto ButPu; Xrp9R: Iigly: goto lZa4S; L26Su: $userDrawRecordModel["createtime"] = time(); goto Mq9L6; ziNV2: if (intval($prizeModel["types"]) == 7) { goto K0jGJ; } goto MQcD5; fUpgA: $noticeMessage = "{$prizeModel["name"]}"; goto p7smz; d9ZWK: $userDrawRecordModel["card_id"] = $prizeModel["card"]; goto PTPNf; O3hm5: goto eCQrY; goto Vfq3R; Nnyb1: $userDrawRecordModel["money"] = $prizeModel["wallet"]; goto u8Llf; cywcN: if (!(!empty($joinUserModel) && !empty($joinUserModel["mobile"]))) { goto XwNPx; } goto jb5Rg; IPtzx: jObE5: goto fbIFc; sGuJ_: cf515: goto wzbCh; cV0G5: goto Kcjqg; goto RnVIl; pZkRW: KVonb: goto K0T4c; P0pdK: $param = ["name" => $join2UserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prize2Model["name"], "code" => $writecode]; goto GdsrG; KvJ03: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto UjshV; MKS37: if ($prizeModel["time_types"] == 1) { goto emsN2; } goto q1aEb; LqdFV: sjhMm: goto foAl9; Jrkn9: goto UdNen; goto B6Hhr; s4oTf: $userMoneyRecharge["openid"] = $orderPayModel["openid"]; goto xLvqz; TJ8AZ: RSa9E: goto YyQ0q; XiuSe: $userDrawRecordModel["status"] = $result === true ? 1 : 0; goto wW8YS; berfV: if (!($joinModel["openid"] != $orderPayModel["openid"])) { goto jC6vO; } goto BPVZL; APfri: $mobile = $joinUserModel["mobile"]; goto tqm6m; ezzVJ: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto jPLyZ; S2j3R: $userMoneyRecharge = array(); goto khjVv; OOx8T: ZKiIA: goto Iz3go; D3rvT: YxWe2: goto p295N; hyEz9: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $joinUserModel["id"], $obj_types, $object["id"], 0); goto ymB_e; MfZCt: $userDrawRecordModel["updatetime"] = time(); goto LTRnP; mDlAi: if (!(intval($prizeModel_rebate["create_types"]) == 1)) { goto uQkbT; } goto UG3Xn; bZVju: $prizeModel = null; goto TNNUS; XhUot: pdo_update(ztk_table("prize_virtual_data", false), $virtualModel, array("id" => $virtualModel["id"])); goto G_tSH; DJZPo: vpVdW: goto WTpWf; nEwP6: jiqSG: goto Ebs9Z; W6T9m: sThX6: goto qQnYp; SMxM5: lEI_a: goto tLvJ8; edoiT: if ($prizeModel["is_sms"] == 1) { goto bMguR; } goto XzM4i; vyA3h: $userDrawRecordModel["obj_id"] = $prize2Model["obj_id"]; goto iO5DY; ackMh: pYhdW: goto VbobQ; u6l9C: pdo_update(ztk_table("user_draw", false), array("card" => $prizeModel["card"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto dXq5E; Qhifm: $userDrawRecordModel["openid"] = $joinUserModel["openid"]; goto d3Qb0; BjE42: if ($orderPayModel["types"] == 1) { goto XV0I9; } goto B8vUg; Jdu0L: $content = str_replace("{WRITEOFFCODE}", $writecode, $content); goto kxwlO; BKT8j: edRYR: goto KdRVC; HDlNI: sendSiteTplNotice($uniacid, $userModel["openid"], $postdata, $template_id, $url); goto KTxrv; fDDZF: pdo_update(ztk_table("user_draw", false), array("sys" => $prize2Model["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto Bw7rz; zgr37: if ($orderPayModel["status"] == 0) { goto oukEy; } goto mY6ma; SzcgC: pdo_update(ztk_table("user_draw", false), array("sys" => $prizeModel["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto Cr3eo; xxFrc: $pwd = $config["sms_key"]; goto Y4gRF; w74Zo: pdo_insert(ztk_nopre_table("order_log"), $orderLogModel); goto qjNB0; xC3U9: goto fwQAE; goto lf43r; b0Ejw: $userDrawRecordModel = array(); goto RVSaX; luC2E: $joinModel = pdo_get(ztk_table("user_collage_join", false), array("uniacid" => $uniacid, "id" => $join_id)); goto xW1qT; i87eb: if (empty($sms_tmp)) { goto wGJNo; } goto W1n6_; esu35: $is_award_prizes = $dataarr[4]; goto sNVZO; qlHZK: $userMoneyRecharge["order_number"] = $orderPayModel["pay_number"]; goto TnJw1; PTPNf: $userDrawRecordModel["updatetime"] = time(); goto Oe5Tg; fFL4g: eMDC3: goto Tb5FR; SM6Ic: if (empty($virtualModel)) { goto KT2Ww; } goto YC42w; PAsji: $sn = $config["sms_uid"]; goto ECy32; wfiCV: updateUserScore($uniacid, $joinUserModel["openid"], intval($prizeModel["score"]), $note, 1, $obj_types, $draw_id); goto HtJdk; vAaND: $ali_accesskeyid = $config["ali_accesskeyid"]; goto rHwJJ; lmOdX: $userDrawRecordModel = array(); goto XsDfQ; SZ_db: dUm5N: goto ckFIy; oidck: $join_draw_data["end_time"] = $prizeModel_rebate["time_day"] * 24 * 60 * 60 + time(); goto WbfkG; rHwJJ: $ali_accesskeysecret = $config["ali_accesskeysecret"]; goto SY0Lg; ALIQ5: Hyg7u: goto lgu3O; KhJ5G: updateUserMoney($uniacid, $joinUserModel["openid"], floatval($prizeModel["sys"]), $note, 1, $obj_types, $draw_id); goto UhuwU; DKtrl: $noticeMessage = "" . $prizeModel["name"]; goto vFV9K; N8VY0: vCe8J: goto Rbo3W; RwBpR: jC2Lh: goto LqdFV; RlppI: $content = $sms_tmp_rebate["content"]; goto Ofyko; sS62v: if (empty($originModel)) { goto Prw4t; } goto lhw5k; e6tX3: $userDrawRecordModel["remark"] = ""; goto bOWKg; mC0Ge: pdo_update(ztk_table("user_draw", false), array("sys" => $prizeModel["sys"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto gW4LW; fN4uX: $prizeModel_rebate = null; goto JY7r8; PQV2d: $postdata = array("first" => array("value" => "!" . $object["title"] . "", "color" => "#173177"), "keyword1" => array("value" => $prizeModel_rebate["name"], "color" => "#173177"), "keyword2" => array("value" => timeToStr(TIMESTAMP), "color" => "#173177"), "remark" => array("value" => $noticeMessage, "color" => "#173177")); goto tmcA5; joK1k: goto UByei; goto TsjCg; tLvJ8: $userMoneyRecharge = array(); goto OWeFe; HH7Ch: ewNa2: goto GxT9P; xuTi8: n6he1: goto L2EXO; m1I5O: hpU6a: goto x33vh; HJajX: $content = str_replace("{NICKNAME}", $userModel["nickname"], $content); goto IjgfF; OgxE3: $prize2Model["wallet"] = mt_rand($min * 100, $max * 100) / 100; goto vmvXj; jZ1yk: if (empty($sms_tmp)) { goto cf515; } goto eZhyn; E0Avg: pdo_update(ztk_table("user_draw", false), array("virtual_id" => $virtualModel["virtual_id"], "virtual_data_id" => $virtualModel["id"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto fvYEK; xb619: if (empty($sms_tmp)) { goto YFZlD; } goto z9g5Q; FRWyX: $content = $sms_tmp["content"]; goto zDSbh; Gp6UU: Y2meS: goto t4Eu8; bCRO7: $param = ["name" => $joinUserModel["nickname"], "obj" => mb_substr($object["title"], 0, 20, "utf-8"), "prize" => $prizeModel["name"], "code" => $writecode]; goto O1NHd; HdHx0: updateUserScore($uniacid, $joinUserModel["openid"], intval($prizeModel["score"]), $note, 1, $obj_types, $draw_id); goto ctwKa; xsomy: $pay_sys_money = floatval($object["money"]) - floatval($orderPayModel["pay_price"]); goto v3yPw; vMonI: if (!(intval($prizeModel["create_types"]) == 1)) { goto e7O7m; } goto QcPvU; mhJKo: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . $pay_sys_money . ""; goto Byhk8; yt3zy: if (intval($prizeModel_rebate["types"]) == 7) { goto pd2Do; } goto UVO0w; ENNLf: $object["money"] = $obj_money; goto qDPtG; USzr9: $prizeList = pdo_getall(ztk_table("prize_item", false), array("uniacid" => $uniacid, "obj_types" => $obj_types, "prizes_types" => 0, "obj_id" => $object["id"], "status" => 1, "or_rebate2" => 0), array(), '', "sort asc"); goto ceGBj; CDCuK: if (!(!empty($userModel) && !empty($userModel["mobile"]))) { goto LhQ12; } goto K99wE; N0cYi: pdo_update(ztk_nopre_table("order_pay"), array("status" => 1, "note" => implode(",", $params)), array("id" => $orderPayModel["id"])); goto i3fE1; f1ytZ: $prizeModel["sys"] = mt_rand($min * 100, $max * 100) / 100; goto xPa5E; AKf1n: $noticeMessage = "{$prize2Model["name"]}{$prize2Model["sys"]}"; goto S78NT; ujle4: if (empty($originModel)) { goto k4mop; } goto DYtY9; HM_f2: $sn = $config["sms_uid"]; goto NGgdi; XHJnK: $url = replaceDieDomain($config, __MURL("user_draw", array("act" => "index"), false, TRUE), $joinUserModel["id"], $obj_types, $object["id"], 0); goto ZtoZm; jb5Rg: if (intval($sms_tmp["types"]) == 0) { goto oOE6f; } goto s0pws; b7h3Q: $userDrawRecordModel = array(); goto BBqvg; Voc2h: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $userModel["nickname"] . "" . $object["title"] . "" . floatval($orderPayModel["pay_price"]) . ""; goto b8DFJ; Kqy0K: pdo_insert(ztk_nopre_table("user_draw_record"), $userDrawRecordModel); goto aK_cb; p367P: $userMoneyRecharge["money"] = $orderPayModel["pay_price"]; goto b4U90; VqcsL: $drawcode_data_model = pdo_get("lywywl_ztk_sys_drawcode_data", array("drawcode_id" => $draw_activity_model["drawcode_id"], "uniacid" => $uniacid, "code" => $drawcode)); goto E9qd1; CcSS1: jFKrN: goto Fidk_; bnZJi: $content = $content . " " . $sms_tmp["sign"] . ""; goto iY5_H; wj1Ei: $noticeMessage = "{$prizeModel_rebate["name"]}{$prizeModel_rebate["wallet"]}"; goto kh2EN; JhX7L: $result = sendWeixinCard($joinUserModel["openid"], $prizeModel["card"], $uniacid); goto m13Le; VYEoK: coiaQ: goto lNFgQ; Rhev4: if (empty($draw_activity_model)) { goto wa_RG; } goto C3cbf; eQRCg: $userDrawRecordModel["updatetime"] = time(); goto hKy1w; SrPeV: $noticeMessage = "{$prizeModel["name"]}"; goto YZnbs; hEwNK: list($min, $max) = explode("-", $prizeModel_rebate["wallet"]); goto DFmRJ; OAPOM: p7js7: goto Sj0bl; gfMtb: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto m3XwG; P23Me: list($min, $max) = explode("-", $prize2Model["wallet"]); goto u3OS9; a03wH: if (!(intval($prizeModel["create_types"]) == 1)) { goto zlx2t; } goto JaZz9; bPrXv: $userDrawRecordModel["obj_types"] = $prizeModel["obj_types"]; goto X_cMo; zURow: $content = $content . " " . $sms_tmp["sign"] . ""; goto Kv4HM; hFCL8: $content = str_replace("{WRITEOFFCODE}", $writecode_rebate, $content); goto lqyMh; Rgu50: $orderPayModel = pdo_get(ztk_nopre_table("order_pay"), array("pay_number" => $pay_number, "uniacid" => $uniacid)); goto OmtfQ; k6w77: $mobile = $joinUserModel["mobile"]; goto m49ww; qHc7p: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto zd7Op; bMfIF: $note = "" . date("Y-m-d H:i:s", TIMESTAMP) . " " . $join2UserModel["nickname"] . "" . $object["title"] . "" . getCustomScoreName($GLOBALS["ztk_config"]) . "" . $prize2Model["score"] . ""; goto PKGRU; Eds6J: $userUpdateModel = array(); goto dRn2i; fX340: pdo_update(ztk_table("user_draw", false), array("red" => $prizeModel["red"], "status" => 1, "updatetime" => TIMESTAMP), array("id" => $draw_id)); goto OeIu9; lpECE: pdo_update(ztk_table("user_soliciting_join", false), array("money +=" => floatval($prizeModel["sys"])), array("id" => $join_id)); goto ceFuK; EE2r2: UyLXG: goto Yg5eC; dOC2V: $userDrawRecordModel["obj_id"] = $prizeModel_rebate["obj_id"]; goto MKK4s; DxK_8: goto RuOOs; goto BQFFr; ttWsx: $joinPayModel["uniacid"] = $uniacid; goto zSHKw; TRB50: goto IyMi1; goto lxNhu; um0m2: $sign = $sms_tmp["sign"]; goto IcnO2; fYrT5: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto RPo52; WQKmt: $template_id = ''; goto PnOoZ; JyUDX: $sn = $config["sms_uid"]; goto u1jPP; mGZHp: pdo_update(ztk_table("user_draw", false), $join_draw_data, array("id" => $draw_id)); goto cv9f0; pzuKw: BGmgw: goto PV3Y4; X_cMo: $userDrawRecordModel["obj_id"] = $prizeModel["obj_id"]; goto B1vB8; BJ0Ou: $result = sendWeixinCard($userModel["openid"], $prizeModel_rebate["card"], $uniacid); goto S7Ll4; pu9wd: if (!(intval($prizeModel["create_types"]) == 1)) { goto kKRhp; } goto i6shI; nXXXF: $content = str_replace("{OBJ}", $object["title"], $content); goto bnZJi; gNVCE: } protected function createWebUrl($do, $query = array()) { goto td47n; xYICU: $url .= "c=site&"; goto XtyiL; BQdh5: if (strexists($url, "ztk.php")) { goto Mn3Pb; } goto gGFWH; Vnj0K: $url = $_SERVER["REQUEST_URI"]; goto BQdh5; XtyiL: $url .= "a=entry&"; goto toOKQ; td47n: global $_W, $_GPC; goto KXCAy; H2ctj: $queryString = http_build_query($query, '', "&"); goto BYJNy; sQPmG: return $url; goto ZrG7p; toOKQ: if (empty($query)) { goto MYFic; } goto H2ctj; ZrG7p: gM1CM: goto UUkuM; BYJNy: $url .= $queryString; goto eGa9S; gGFWH: return wurl("site/entry", $query); goto PnbX4; G6rO9: $query["m"] = strtolower($this->modulename); goto Vnj0K; eGa9S: MYFic: goto sQPmG; KXCAy: $query["do"] = $do; goto G6rO9; PnbX4: goto gM1CM; goto Q3YpB; Q3YpB: Mn3Pb: goto zyp9M; zyp9M: $url = "./ztk.php?"; goto xYICU; UUkuM: } } ?>

Did this file decode correctly?

Original Code

<?php
defined("\x49\x4e\x5f\x49\x41") or exit("\101\x63\143\x65\x73\163\x20\104\x65\x6e\151\145\144"); class Lywywl_ztkModuleSite extends WeModuleSite { public function payResult($params) { goto GSLMs; Vx1it: pdo_update(ztk_table("\165\163\145\x72\x5f\x61\x63\143\x6f\x75\156\164", false), array("\x6a\157\151\x6e\x5f\x6e\x75\x6d\x20\53\x3d" => 1), array("\157\x70\x65\x6e\151\x64" => $joinUserModel["\x6f\x70\x65\156\x69\144"])); goto pdLzT; Yw4sk: $userDrawRecordModel = array(); goto oy175; WGXvD: rhKmC: goto cTXqt; xLvqz: $userMoneyRecharge["\x6f\162\x64\145\162\137\156\x75\x6d\142\x65\x72"] = $orderPayModel["\x70\141\x79\x5f\156\165\x6d\x62\x65\x72"]; goto b7PSU; WKmtt: $joinPayModel["\x6a\x6f\151\156\163"] = 0; goto WHp_S; hx3Md: $content = str_replace("\173\x50\x52\111\x5a\105\x7d", $prizeModel["\x6e\141\x6d\145"], $content); goto Jdu0L; VCn67: pdo_update(ztk_nopre_table("\165\x73\145\x72\x5f\x61\x63\x63\x6f\x75\156\164"), $userUpdateModel, array("\x69\144" => $userModel["\151\x64"])); goto oAGbO; IYoK3: $noticeMessage = "\xe6\201\255\345\x96\234\346\x82\250\xef\274\214\xe8\x8e\267\xe5\xbe\x97\xe8\xbf\x94\xe5\210\xa9\345\xa5\x96\345\x93\x81\xe2\x80\x9c{$prizeModel["\156\x61\155\x65"]}\342\x80\x9d\357\xbc\x8c\xe5\276\xae\344\277\xa1\xe9\x9b\xb6\xe9\x92\xb1\357\274\x9a{$prizeModel["\167\141\x6c\154\x65\164"]}\345\205\x83\357\274\214\350\257\267\345\210\260\346\202\xa8\xe7\232\x84\345\276\xae\xe4\xbf\241\351\x92\xb1\345\214\205\346\237\xa5\xe7\234\213\xe3\x80\202"; goto cchkC; XfdfK: pdo_update(ztk_table("\x75\163\145\x72\137\141\x63\x63\x6f\165\156\x74", false), array("\143\141\x72\x64\x5f\156\x75\x6d\40\x2b\x3d" => 1), array("\x6f\160\145\x6e\x69\x64" => $joinUserModel["\157\x70\145\x6e\x69\x64"])); goto yrLA5; dVHlM: if ($orderPayModel["\164\x79\x70\145\x73"] == 0) { goto m8Kcl; } goto BjE42; mSQjV: GXK6e: goto V4WaF; Nnl0q: Z7SmS: goto GW4u1; YHlbg: CTIuZ: goto AZ5Uc; YcDrp: $userDrawRecordModel["\x6f\142\x6a\137\164\x79\x70\x65\x73"] = $prizeModel["\157\x62\152\137\164\171\160\145\x73"]; goto LtlfZ; q8Uj1: XhUoj: goto t9awZ; zd7Op: NZ5FW: goto O3bcU; Y3tm5: r5Fyu: goto akOKY; ryKfg: $mobile = $joinUserModel["\155\157\142\x69\154\145"]; goto tm12P; fljyj: $draw_activity_model = pdo_get("\154\x79\x77\x79\x77\154\x5f\172\164\x6b\x5f" . $tableName, array("\151\x64" => $object["\x64\162\x61\167\x5f\x61\143\x74\151\166\151\x74\x79\x5f\x69\x64"], "\165\x6e\x69\x61\143\x69\x64" => $uniacid, "\x6d\157\x64\145\154\x73" => 3)); goto Pxbqm; z_O2c: zJJio: goto bHhKq; Yslsc: $prize2Model["\x73\x79\x73"] = mt_rand($min * 100, $max * 100) / 100; goto R1ZNc; oPfcK: $userDrawRecordModel["\162\145\x6d\x61\x72\x6b"] = "\350\265\266\345\xbf\xab\xe5\x88\x86\344\272\253\xe7\273\x99\346\202\xa8\347\x9a\x84\xe5\245\275\xe5\x8f\x8b\344\270\x80\xe8\265\xb7\xe9\xa2\x86\xe7\xba\242\xe5\x8c\x85\xe5\220\xa7"; goto S7Ski; sL5jL: pdo_update(ztk_table("\x75\x73\145\x72\x5f\x64\162\141\x77", false), array("\167\x61\x6c\x6c\x65\164" => $prizeModel["\x77\141\x6c\154\145\x74"], "\x73\x74\141\164\x75\163" => 1, "\165\x70\x64\x61\164\145\x74\x69\x6d\145" => TIMESTAMP), array("\151\144" => $draw_id)); goto T22se; eI8Ev: JJyE6: goto xmGYZ; ZSadn: $sms_tmp = pdo_get(ztk_table("\164\x6d\x70\137\163\x6d\163", false), array("\x69\x64" => $sms_tmp_id)); goto tpAZC; Mn20G: pdo_update(ztk_table("\x75\163\145\x72\137\144\x72\141\167", false), $join_draw_data, array("\x69\x64" => $draw_id)); goto JWVhX; vyIBL: return true; goto ht6YK; oebvY: updateUserMoney($uniacid, $orderPayModel["\157\160\x65\x6e\x69\x64"], $orderPayModel["\x70\x61\x79\x5f\160\162\x69\x63\145"], $note, 4, $obj_types, $object["\151\144"]); goto cXywV; fn9lq: if (empty($virtualModel)) { goto WfqBs; } goto JMcQJ; OPy2M: $result = sendTplNotice($uniacid, $originModel["\157\x70\x65\x6e\151\144"], $postdata, $template_id, $url); goto dWB1H; K0KCu: $content = str_replace("\x7b\127\x52\111\x54\105\117\106\x46\103\117\x44\105\x7d", $writecode, $content); goto DMr5v; PfvIT: $ali_accesskeyid = $config["\x61\154\151\137\141\143\x63\145\163\163\153\145\171\x69\x64"]; goto IS_RM; xtSam: $content = str_replace("\x7b\x57\122\111\x54\x45\117\106\x46\x43\117\x44\105\x7d", $writecode_rebate, $content); goto cLR5J; ialjp: rS4ls: goto tYivN; Pxbqm: if (empty($draw_activity_model)) { goto WBLH1; } goto jlpr8; PQwAm: $param = ["\156\x61\155\x65" => $userModel["\x6e\x69\143\153\156\141\x6d\145"], "\x6f\x62\x6a" => mb_substr($object["\164\151\x74\x6c\145"], 0, 20, "\x75\x74\x66\x2d\x38"), "\160\162\151\x7a\145" => $prizeModel_rebate["\x6e\x61\155\145"], "\x63\157\x64\x65" => $writecode_rebate]; goto NkvRO; eFOL7: hJwAi: goto JuhSo; jv4Rx: if (!($prizeModel["\164\x79\160\145\x73"] == 6)) { goto KGeMw; } goto DMRJ2; FNoCa: $templatecode = $sms_tmp["\164\145\155\160\154\141\164\x65\x63\x6f\144\145"]; goto lJ4RS; CVzkM: $noticeMessage = "\xe6\201\xad\xe5\226\234\346\202\xa8\357\274\214\xe8\216\267\345\xbe\227\xe8\277\x94\345\x88\xa9\xe5\245\226\345\223\201\xef\274\232" . $prize2Model["\156\141\155\x65"]; goto hDaXA; V12vl: pdo_update(ztk_table("\165\x73\x65\162\x5f\141\143\143\x6f\165\x6e\x74", false), array("\143\x75\163\x74\x6f\155\x5f\156\165\155\40\53\75" => 1), array("\157\x70\145\156\x69\x64" => $join2UserModel["\157\160\145\x6e\151\144"])); goto XYIFQ; W1n6_: if (!(!empty($userModel) && !empty($userModel["\x6d\157\x62\x69\154\x65"]))) { goto lQCml; } goto P5yPU; T82LB: $ali_accesskeyid = $config["\x61\154\x69\137\x61\x63\143\x65\x73\x73\x6b\x65\171\151\x64"]; goto mBydR; IYwr5: dUUgu: goto MqVFp; Z_ayf: $userDrawRecordModel = array(); goto DB0F4; zKz2C: if (intval($sms_tmp["\164\171\160\x65\x73"]) == 0) { goto DjxR5; } goto Q6zQp; dOyJd: goto jObE5; goto Krj4A; S0rib: goto DMhKE; goto T1IxH; vm9Dh: if (empty($sms_tmp)) { goto cif83; } goto M40Kk; L3qCk: $userDrawRecordModel["\x63\x72\145\x61\x74\x65\164\151\155\145"] = time(); goto H2JwS; nuqXR: $userDrawRecordModel["\155\157\156\x65\171"] = $prize2Model["\x77\141\154\x6c\x65\164"]; goto Xjfll; j3kac: $object["\155\x6f\x6e\145\171"] = $object["\x66\x72\157\156\x74\x5f\155\x6f\156\x65\171"]; goto upZuX; mDYIo: if (empty($sms_tmp)) { goto c2AjY; } goto t1i6q; CLTsw: if (intval($sms_tmp["\x74\x79\160\145\x73"]) == 0) { goto QWEXC; } goto dgta7; Ndtob: if (empty($join_id)) { goto wlkSC; } goto Njet9; SkVNI: $content = str_replace("\x7b\115\117\116\x45\131\x7d", $drawModel["\x70\141\171\137\155\x6f\156\145\x79"] + $drawModel["\160\x61\171\137\163\x79\x73\x5f\x6d\157\x6e\145\171"], $content); goto fAdu2; JuhSo: goto N6fmn; goto OUwOu; kDVhr: $postdata = array("\x66\x69\162\x73\164" => array("\x76\141\x6c\165\x65" => "\xe6\201\xad\345\x96\234\346\x82\xa8\41\346\x82\250\345\x8f\202\xe4\xb8\x8e\346\xb4\xbb\xe5\212\250" . $object["\164\151\x74\154\145"] . "\344\270\xad\xe5\245\226\xe4\272\206", "\143\x6f\x6c\157\x72" => "\43\x31\x37\x33\61\x37\67"), "\x6b\x65\171\167\157\162\144\x31" => array("\166\x61\x6c\165\145" => $prizeModel["\156\141\155\145"], "\x63\x6f\154\157\162" => "\43\x31\67\x33\61\67\x37"), "\x6b\x65\x79\x77\x6f\x72\144\62" => array("\166\x61\x6c\165\145" => timeToStr(TIMESTAMP), "\x63\157\x6c\x6f\x72" => "\x23\61\x37\63\61\67\x37"), "\162\x65\155\x61\162\153" => array("\x76\141\x6c\165\x65" => $noticeMessage, "\x63\x6f\154\x6f\x72" => "\x23\x31\x37\63\61\67\67")); goto hNGW3; TXXf8: M25um: goto bLXJb; Q37gT: if (empty($result)) { goto TQ4G5; } goto F0jqQ; UUzti: $templatecode = $sms_tmp["\x74\x65\155\160\x6c\x61\164\145\143\x6f\x64\x65"]; goto t11W3; cvlld: Helw6: goto byylZ; G_JgT: nRxYR: goto ZzHv1; slX5o: $sms_tmp_rebate = pdo_get(ztk_table("\x74\155\x70\137\163\155\x73", false), array("\151\x64" => $buy_sms_rebate_id)); goto K1HYc; io5Rv: $content = str_replace("\x7b\x4e\111\x43\113\x4e\x41\x4d\105\x7d", $userModel["\x6e\151\x63\153\x6e\141\x6d\145"], $content); goto qixKm; jjcfc: zlPUu: goto sMV39; Ojidq: $origin_buy_types = 1; goto DYxHi; bL9tO: $content = str_replace("\173\116\x49\x43\113\x4e\101\x4d\x45\175", $joinUserModel["\x6e\x69\143\x6b\x6e\x61\x6d\x65"], $content); goto hx3Md; x_VEt: $prize2Model["\x72\x65\144"] = mt_rand($min * 100, $max * 100) / 100; goto Te1xY; B1oCI: if (!(!empty($userModel) && !empty($userModel["\x6d\157\142\x69\x6c\x65"]))) { goto EyeS6; } goto jw1Yi; ZObz1: $note = "\347\x94\xa8\346\x88\267\345\205\205\345\x80\274\xef\274\x9a" . date("\x59\x2d\155\x2d\144\40\110\x3a\151\72\x73", TIMESTAMP) . "\40\xe4\xbc\232\xe5\x91\230\xe3\x80\x90" . $userModel["\x6e\151\143\153\156\141\155\145"] . "\343\200\221\xe5\217\x82\xe4\270\x8e\xe6\264\xbb\xe5\212\250\xef\xbc\x9a" . $object["\x74\151\164\154\145"] . "\xef\274\214\xe5\234\xa8\347\272\xbf\xe5\x85\205\345\x80\274\357\274\x9a" . floatval($orderPayModel["\160\141\x79\x5f\x70\x72\151\143\145"]) . "\xe5\x85\x83"; goto m4ONn; RRuuw: $param = ["\x6e\141\155\x65" => $userModel["\156\151\143\x6b\x6e\x61\155\x65"], "\157\x62\x6a" => mb_substr($object["\x74\151\164\x6c\145"], 0, 20, "\165\164\x66\55\70"), "\x6d\157\x6e\145\x79" => $drawModel["\160\x61\x79\137\155\157\x6e\x65\x79"] + $drawModel["\160\x61\171\x5f\163\171\163\x5f\x6d\157\x6e\145\171"], "\143\157\x64\x65" => $writecode]; goto Bs81H; ph6F0: jC6vO: goto CIme7; l2yYz: if (!($orderIntmallModel["\151\x73\137\x66\x65\144\x65\x78"] == 0)) { goto okloC; } goto OaDIU; KQTOn: GCz4T: goto D9Ebk; FUaRb: x1FrD: goto lT368; VrUXb: $prizeList_rebate = pdo_getall(ztk_table("\160\162\151\x7a\145\137\x69\x74\x65\155", false), array("\165\x6e\x69\141\x63\151\144" => $uniacid, "\x6f\x62\152\137\164\171\x70\x65\163" => $obj_types, "\157\x62\152\137\x69\144" => $object["\151\x64"], "\160\162\x69\172\145\163\x5f\x74\171\x70\145\x73" => 1, "\163\x74\x61\x74\x75\163" => 1), array(), '', "\163\157\x72\164\x20\x61\x73\143"); goto KGpvL; XkNID: $hashids = Hashids::instance(6, "\154\171\x77\171\172\x74\153", ''); goto luzJx; iggKg: pdo_update(ztk_table("\x75\x73\x65\162\x5f\x64\x72\x61\167", false), array("\167\141\154\x6c\145\x74" => $prize2Model["\167\x61\x6c\154\145\164"], "\x73\x74\141\x74\x75\x73" => 1, "\x75\160\144\141\164\145\x74\151\x6d\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto O_hHu; sMV39: Kc7VE: goto G8ZVb; L5G0s: pdo_update(ztk_table("\157\x62\x6a\x5f\163\x6f\x6c\151\143\x69\164\151\156\147", false), array("\x67\145\164\x5f\x6e\x75\155\40\x2b\75" => 1), array("\x69\144" => $object["\151\144"])); goto ZtML7; od8Jm: pdo_update(ztk_table("\x75\163\145\x72\137\141\x63\143\157\x75\156\x74", false), array("\x76\151\x72\164\165\141\154\x5f\x6e\x75\155\x20\x2b\75" => 1), array("\157\160\145\x6e\x69\144" => $joinUserModel["\157\x70\145\156\x69\144"])); goto yluyp; Eakw2: $code_draw_data["\166\x69\162\x74\x75\141\154\137\x69\x64"] = $virtualModel["\x76\x69\x72\164\165\x61\154\137\151\144"]; goto tr5su; klsG3: pdo_insert(ztk_nopre_table("\x75\x73\x65\162\x5f\144\162\141\x77\x5f\162\x65\143\x6f\162\x64"), $userDrawRecordModel); goto ggono; tv6SX: $userDrawRecordModel["\x6f\142\x6a\x5f\151\144"] = $prizeModel_rebate["\x6f\142\152\137\x69\144"]; goto Zz_VV; eZhyn: if (!(!empty($join2UserModel) && !empty($join2UserModel["\x6d\157\142\151\154\x65"]))) { goto n5mbb; } goto zKz2C; s2Fkd: dcJO0: goto ZfEyV; Vfq3R: nNI72: goto XlcZQ; QM2Fl: updateUserMoney($uniacid, $orderPayModel["\157\160\145\156\x69\x64"], -$pay_sys_money, $note, 3, $draw_data["\157\x62\x6a\137\x74\x79\160\145\163"], $draw_data["\x6f\x62\x6a\137\151\144"]); goto ySw2z; ZxpHz: goto gtzXw; goto dnaxR; GVCpE: if (intval($prizeModel["\164\171\160\145\x73"]) == 5) { goto qfhhl; } goto Iy4Fx; XtZ7Q: if (intval($prize2Model["\x74\171\160\x65\163"]) == 3) { goto H96VU; } goto nkHxx; Sb94l: goto l01NV; goto sMrrh; BbKUU: sTBy5: goto JNIN7; d5Awl: if (!empty($prizeModel)) { goto ASDqo; } goto kFCfc; vFV9K: xJRTb: goto pk7Wa; bH7jh: $join_draw_data["\145\x6e\x64\x5f\164\x69\x6d\x65"] = $prizeModel["\x74\151\155\145\137\144\141\x79"] * 24 * 60 * 60 + time(); goto IPtzx; v0002: $result = sendWeixinCard($joinUserModel["\157\x70\x65\156\x69\x64"], $prizeModel["\143\141\162\144"], $uniacid); goto Ttj5V; oKFb3: tQ53T: goto dVhfR; tTfaR: $result = pdo_insert(ztk_table("\165\163\x65\x72\137\x64\162\x61\167", false), $join_draw_data); goto XkAn2; PXoP0: $prices_payment = 0; goto a_Kxf; Q9RNB: pdo_update(ztk_table("\x75\x73\x65\162\x5f\163\157\x6c\151\x63\x69\x74\151\156\147\x5f\x6a\x6f\x69\x6e", false), array("\x6d\x6f\x6e\145\171\x20\53\x3d" => floatval($prize2Model["\167\x61\154\x6c\145\164"])), array("\x69\x64" => $join2Model["\x69\144"])); goto TwWgH; AZ5Uc: $result = pdo_insert(ztk_table("\165\x73\x65\x72\x5f\x64\162\141\x77", false), $draw_data); goto jw2un; TGEki: $sign = $sms_tmp_rebate["\163\151\147\x6e"]; goto ihAi8; fZW9L: qfhhl: goto F4l_X; DjIdW: rb2mZ: goto PAsji; L98s1: $joinPayModel["\x68\x65\x61\144\x75\162\154"] = $userModel["\x68\x65\141\144\165\x72\x6c"]; goto jot3v; MGZZA: Ycar1: goto nmPsW; uYUy6: $userDrawRecordModel["\167\151\x73\150\x69\156\147"] = "\xe6\201\255\345\x96\x9c\345\217\x91\350\xb4\xa2\40\345\xa4\xa7\xe5\220\211\345\244\xa7\xe5\x88\251\357\274\201"; goto Sk02F; aEOLY: pdo_insert(ztk_nopre_table("\x75\163\x65\x72\x5f\x64\x72\x61\167\137\162\145\143\x6f\162\144"), $userDrawRecordModel); goto hWiat; ZtoZm: sendSiteTplNotice($uniacid, $joinUserModel["\157\x70\145\x6e\151\x64"], $postdata, $template_id, $url); goto w8WtX; XP9hj: k4mop: goto SSk7X; HZ9wU: $userDrawRecordModel["\x6f\x70\145\156\151\144"] = $join2UserModel["\157\x70\x65\156\x69\144"]; goto q2MN2; bLXJb: $result = pdo_insert(ztk_table("\165\163\x65\x72\137\x64\162\141\167", false), $join_draw_data2); goto zdURw; zV56P: emOyp: goto TRB50; i3fE1: $sql = "\x53\x45\114\x45\x43\124\x20\x2a\x20\106\122\117\x4d\x20" . tablename("\x6c\x79\x77\x79\167\x6c\x5f\172\x74\x6b\137\x6f\142\152\x5f\154\141\144\144\145\162") . "\40\127\x48\x45\x52\x45\40\x74\157\x6b\x65\x6e\x20\75\x20\72\164\x6f\x6b\145\x6e\40\x41\116\104\x20\165\x6e\x69\x61\143\151\144\40\75\x20\x3a\165\156\151\x61\143\151\144"; goto mgF7r; Ls_cw: $userDrawRecordModel["\x75\156\x69\x61\143\151\144"] = $prizeModel_rebate["\165\x6e\151\x61\143\151\144"]; goto GfLZA; JgoeR: $mobile = $join2UserModel["\x6d\x6f\142\x69\x6c\x65"]; goto gxYUG; N7xxm: $result = sendWeixinCard($joinUserModel["\157\160\145\156\x69\x64"], $prizeModel["\x63\141\162\144"], $uniacid); goto rr8V8; nQK2v: $writeoff_types = 0; goto DQ8Zw; aAJFG: $userDrawRecordModel["\x6f\142\152\137\151\144"] = $prizeModel_rebate["\x6f\142\152\137\x69\144"]; goto aARGg; Oa0m7: $content = $sms_tmp["\x63\x6f\x6e\x74\145\x6e\164"]; goto Pqe0H; rTO1W: pdo_update(ztk_table("\155\141\162\x6b\x65\x74\x69\156\147\137\165\x73\145\162", false), array("\x67\145\x74\x5f\156\x75\x6d\40\x2b\75" => 1), array("\151\144" => $origin_id)); goto OPEmd; lf43r: BjnHw: goto Si94e; BnAoP: cif83: goto NG1Nn; YaIrG: BJYA1: goto wWS4Q; TkQXU: $userMoneyRecharge["\x75\x6e\151\x61\x63\151\x64"] = $uniacid; goto s4oTf; fn4Fp: $userMoneyRecharge["\x6f\x72\x64\145\x72\x5f\156\165\x6d\142\x65\x72"] = $orderPayModel["\160\141\171\x5f\156\x75\x6d\x62\145\162"]; goto j1yK0; DCl4q: if (intval($prizeModel["\x74\171\x70\x65\163"]) == 7) { goto JfNhj; } goto FGOXg; qvQju: uyLL6: goto DbzvJ; XNkJ6: if (intval($sms_tmp["\x74\171\x70\x65\x73"]) == 0) { goto HkJ0D; } goto PfvIT; TPmYR: $userModel = pdo_get(ztk_nopre_table("\x75\163\145\x72\x5f\x61\x63\x63\157\x75\x6e\x74"), array("\x75\x6e\151\x61\x63\151\144" => $uniacid, "\157\160\145\x6e\x69\x64" => $orderPayModel["\157\x70\x65\156\151\x64"])); goto QMy0E; mr3D3: $origin_team_id = $originModel["\164\145\x61\x6d\137\151\x64"]; goto jDNRP; GjaN9: F1vP7: goto mLvjM; Jnewd: $noticeMessage = "\xe6\201\xad\345\x96\x9c\346\x82\xa8\357\xbc\x8c\xe8\x8e\267\xe5\276\x97\350\xbf\x94\xe5\210\xa9\345\245\226\xe5\x93\201\342\x80\234{$prizeModel["\x6e\x61\x6d\x65"]}\342\x80\x9d\xe8\216\267\xe5\276\227\xe4\xbd\x99\351\xa2\x9d\345\xa5\x96\xe5\212\261\357\xbc\x9a{$prizeModel["\163\x79\163"]}\345\205\x83"; goto FLa6j; XMsRr: $noticeMessage = "\xe6\201\255\xe5\x96\234\346\x82\250\357\xbc\x8c\xe8\x8e\267\345\276\227\350\277\x94\xe5\210\xa9\345\245\226\xe5\x93\x81\342\x80\x9c{$prizeModel["\x6e\x61\155\145"]}\342\200\235\xe8\x8e\xb7\xe5\276\227\347\216\260\xe9\207\221\347\272\xa2\345\x8c\x85\357\xbc\x9a{$prizeModel["\162\145\144"]}\xe5\x85\203\xef\xbc\x8c\xe8\xaf\267\345\210\xb0\346\x82\250\347\232\x84\345\xbe\256\xe4\xbf\241\xe9\x92\xb1\345\214\205\xe6\237\245\347\234\213\343\200\202"; goto th33K; ZVE1y: oSkjw: goto bCpGO; DcHrw: dOh5h: goto qSdFI; B7EsH: $joinModel = pdo_get(ztk_nopre_table("\x75\x73\145\x72\x5f\165\x6e\x69\x6f\x6e\x5f\x6a\x6f\x69\156"), array("\x75\156\151\x61\143\x69\x64" => $uniacid, "\151\144" => $join_id)); goto DJZPo; XzM4i: if (!(intval($object["\x69\x73\x5f\x73\155\x73"]) == 1)) { goto nQZ1k; } goto enHFB; dCSEi: xZcxn: goto YoKIn; NjaCh: $userMoneyRecharge["\143\162\145\141\x74\145\x74\151\155\145"] = TIMESTAMP; goto scxAk; ipu0P: iYzaI: goto VQnf8; TsxQL: BMJol: goto Q730G; pnfUX: $userDrawRecordModel["\164\171\160\x65\163"] = 0; goto wQZPb; KLPgv: $userMoneyRecharge["\x63\x72\145\141\164\x65\164\x69\x6d\x65"] = TIMESTAMP; goto Jqlvq; fAdu2: $content = str_replace("\173\117\102\x4a\175", $object["\x74\151\x74\x6c\145"], $content); goto vxEp7; UMKrD: pdo_insert(ztk_nopre_table("\x75\x73\145\162\137\155\x6f\156\145\171\137\162\x65\143\150\x61\162\147\x65"), $userMoneyRecharge); goto KqCwR; hkMEU: $userDrawRecordModel["\x77\x69\x73\x68\151\156\x67"] = "\xe6\x81\xad\345\226\x9c\345\217\221\350\xb4\242\x20\345\244\xa7\xe5\220\211\xe5\xa4\xa7\345\210\251\xef\xbc\x81"; goto QWMxz; ldtJG: $userDrawRecordModel = array(); goto M5lE1; sw731: pdo_update(ztk_table("\x6d\141\162\153\145\x74\151\x6e\147\x5f\165\x73\145\x72", false), array("\x62\x75\171\137\156\165\155\40\x2b\x3d" => 1), array("\x69\x64" => $origin_id)); goto N0OG2; vUyjM: pdo_update(ztk_table("\x75\x73\145\162\x5f\141\x63\x63\157\165\x6e\x74", false), array("\x70\x72\157\x64\165\x63\164\x5f\x6e\165\x6d\40\53\75" => 1), array("\x6f\160\145\156\151\x64" => $joinUserModel["\157\160\x65\156\151\x64"])); goto LZUqy; q0E6Q: $noticeMessage = "\346\201\255\345\226\x9c\xe6\x82\250\xef\xbc\214\xe8\216\267\xe5\276\227\350\xbf\x94\xe5\210\xa9\xe5\245\x96\xe5\223\x81\xe2\200\234{$prizeModel["\x6e\141\155\x65"]}\342\200\235\xef\xbc\x8c\xe8\xaf\267\xe5\210\xb0\xe6\202\250\xe7\x9a\x84\345\276\256\xe4\277\241\xe5\215\241\xe5\x8c\x85\346\237\xa5\xe7\x9c\x8b\xe3\200\202"; goto JbkW1; l7bQs: $content = str_replace("\x7b\117\102\112\x7d", $object["\x74\x69\x74\154\x65"], $content); goto rZSD4; WG2DW: $content = $sms_tmp["\x63\x6f\x6e\x74\145\x6e\x74"]; goto r4iOi; OCnJd: $content = str_replace("\173\116\111\103\x4b\116\101\115\105\x7d", $join2UserModel["\x6e\151\x63\153\156\141\x6d\145"], $content); goto lp2E2; GhE15: pdo_update(ztk_table("\x75\163\x65\162\137\x61\x63\x63\x6f\165\x6e\164", false), array("\152\157\151\x6e\x5f\x6e\165\155\40\x2b\x3d" => 1), array("\157\x70\x65\x6e\151\144" => $joinUserModel["\x6f\x70\145\x6e\151\144"])); goto mJFOj; PHLUE: $userDrawRecordModel["\x75\160\x64\141\164\145\164\x69\x6d\145"] = time(); goto r_kkZ; dbI6t: $content = $content . "\x20\xe3\200\220" . $sms_tmp["\x73\151\x67\x6e"] . "\343\x80\x91"; goto WKkSF; n6g3J: haUBf: goto BHSO5; wzb8J: PAToY: goto LZCCe; lUfcV: uChK0: goto qxtNg; bmpsJ: $userDrawRecordModel["\164\x79\x70\145\163"] = 2; goto aUsju; ObCyH: if (!isSiteFollow($userModel["\157\160\145\x6e\x69\144"])) { goto ZOanL; } goto xz7k9; pQi8K: goto pvkQe; goto JbQv2; Si94e: $sn = $config["\163\155\163\x5f\165\x69\x64"]; goto XnJM9; QhD0P: c3nvk: goto GcUzZ; X8DPW: pdo_update(ztk_table("\165\x73\145\162\137\144\162\x61\167", false), array("\x63\165\163\x74\157\x6d\137\165\x72\154" => $prizeModel["\x63\x75\163\164\x6f\x6d\x5f\x75\162\x6c"], "\x73\164\x61\164\x75\163" => 1, "\165\x70\144\141\x74\145\x74\151\155\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto cmOKe; rjMTu: if (intval($prize2Model["\164\x79\160\145\x73"]) == 7) { goto tmJ7j; } goto fM8LK; itIHY: $result = sendSiteWeixinMchPay($joinUserModel["\157\x70\145\x6e\x69\x64"], $prizeModel["\x77\141\154\x6c\145\164"] * 100, $prizeModel["\x6e\x61\x6d\145"], true, $uniacid, $config); goto PO4zZ; LEyzm: $virtualModel["\157\160\x65\x6e\x69\x64"] = $join2UserModel["\x6f\160\145\156\151\x64"]; goto G1wde; ifvO8: $userDrawRecordModel["\x61\143\x74\137\156\x61\x6d\x65"] = "\xe7\xa4\xbc\345\x93\x81\346\x8b\223\345\xae\xa2\346\264\273\345\212\xa8"; goto KihVP; fwt7z: updateUserMoney($uniacid, $join2UserModel["\x6f\x70\145\x6e\x69\x64"], floatval($prize2Model["\x73\171\163"]), $note, 1, $obj_types, $draw_id); goto fDDZF; UG3Xn: list($min, $max) = explode("\x2d", $prizeModel_rebate["\x73\143\x6f\162\145"]); goto eNtki; QVxwW: $content = str_replace("\x7b\x50\122\x49\x5a\105\x7d", $prizeModel["\x6e\x61\155\x65"], $content); goto P7gIj; dLftQ: $userDrawRecordModel["\163\x74\x61\x74\165\163"] = $result === true ? 1 : 0; goto kOqDv; fzd2M: $userMoneyRecharge["\155\157\156\x65\x79"] = $orderPayModel["\x70\x61\171\x5f\160\x72\x69\143\145"]; goto ZEQGA; PlNGo: kzLt8: goto g3Jj8; guSV_: goto JD912; goto wLIiz; ZP3Vb: $templatecode = $sms_tmp["\x74\145\x6d\160\x6c\x61\x74\x65\x63\x6f\x64\145"]; goto Z6Tjh; BVh0Y: $content = $sms_tmp["\x63\x6f\x6e\x74\145\156\x74"]; goto nucmk; htGjV: NXvwW: goto BLFc7; l35Hu: $result = pdo_insert(ztk_table("\165\163\145\x72\137\x64\162\141\167", false), $draw_data); goto m2ZI7; tHeIS: $userDrawRecordModel["\x6f\x62\152\137\x74\x79\160\x65\163"] = $prizeModel["\157\x62\x6a\137\164\171\160\x65\x73"]; goto VTlDh; surU4: $rid = get_rand($arr); goto gpM79; ztA8W: if (!($orderIntmallModel["\x73\171\163\137\160\x72\151\143\x65"] > 0)) { goto edRYR; } goto r_5Ot; OBQta: $userModel = pdo_get(ztk_nopre_table("\x75\163\x65\x72\137\141\x63\143\157\x75\156\164"), array("\x75\156\151\141\x63\x69\x64" => $uniacid, "\x6f\160\145\156\x69\x64" => $orderPayModel["\x6f\160\x65\x6e\x69\x64"])); goto ie5Uj; SthVI: if (empty($originModel)) { goto Hzhzx; } goto qvctX; O8mgt: wHboL: goto QOyNV; gBNsm: sendTplNotice($uniacid, $userModel["\x6f\160\145\156\x69\144"], $postdata, $template_id, $url); goto YSuqy; uQg2j: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto xC3U9; igsi7: $userDrawRecordModel["\165\160\x64\141\164\x65\x74\x69\155\145"] = time(); goto iH8Hb; zNvl4: $templatecode = $sms_tmp["\164\145\155\160\154\x61\x74\x65\143\x6f\144\145"]; goto I1nSK; Az0dW: if (empty($virtualModel)) { goto fAUIr; } goto XRvgx; JHWyT: $ali_accesskeysecret = $config["\141\x6c\x69\x5f\141\143\x63\145\x73\x73\x6b\x65\171\163\145\143\162\145\x74"]; goto w7NN8; Mf9Zh: $userMoneyRecharge["\x6d\157\156\x65\171"] = $orderPayModel["\160\x61\171\x5f\160\x72\151\x63\145"]; goto KLPgv; cwWuz: $drawcode_data_model = pdo_get("\x6c\x79\x77\x79\167\154\x5f\172\164\x6b\137\163\x79\163\137\x64\x72\141\x77\x63\157\144\145\137\144\x61\x74\141", array("\x64\162\141\167\x63\x6f\x64\x65\x5f\151\144" => $draw_activity_model["\144\162\x61\167\143\x6f\x64\145\x5f\151\x64"], "\165\156\151\141\x63\151\144" => $uniacid, "\x63\157\144\145" => $drawcode)); goto DrOMf; fVFhn: WsPm6: goto S0rib; xokUT: if (empty($sms_tmp)) { goto REjWQ; } goto kKkl8; Oi3y3: pdo_update(ztk_table("\x75\x73\145\x72\137\x6c\141\144\144\145\162\137\x6a\157\151\x6e", false), array("\x6a\157\151\x6e\x73\40\x2b\75" => 1), array("\151\144" => $join_id)); goto pWy4q; v40iR: pdo_update(ztk_table("\165\x73\x65\x72\x5f\x61\143\143\x6f\165\156\164", false), array("\x70\x72\157\x66\x69\164\x5f\155\157\156\145\x79\x20\53\75" => $prizeModel["\167\141\x6c\x6c\x65\x74"], "\x77\141\154\x6c\145\164\x5f\x6d\157\x6e\145\x79\40\x2b\75" => $prizeModel["\x77\x61\x6c\154\x65\x74"], "\x77\141\x6c\154\145\164\137\155\157\x6e\145\x79\x5f\x6e\165\155\x20\53\75" => 1), array("\157\160\x65\156\151\x64" => $joinUserModel["\157\x70\145\x6e\151\144"])); goto oKeUe; REqWS: $userDrawRecordModel["\x74\x79\160\x65\163"] = 0; goto uoqi6; lNFgQ: $prices_payment = $orderIntmallModel["\160\141\x79\137\x70\x72\151\x63\x65"]; goto iUd2n; G53Se: $note = "\xe6\x8a\xbd\xe5\245\226\350\x8e\267\345\xbe\227\xef\274\x9a" . date("\131\x2d\x6d\x2d\x64\40\x48\72\151\x3a\x73", TIMESTAMP) . "\x20\xe4\xbc\x9a\345\221\x98\343\200\220" . $userModel["\x6e\151\x63\x6b\x6e\x61\155\x65"] . "\343\200\221\345\217\x82\xe4\270\216\xe6\264\xbb\345\x8a\xa8\xef\274\232" . $object["\x74\x69\x74\154\x65"] . "\xef\xbc\214\xe8\216\xb7\345\276\227\xe7\247\257\345\210\x86\xef\274\232" . $prizeModel["\x73\x63\x6f\162\x65"] . "\xe7\xa7\xaf\345\210\x86"; goto X7YKh; GsCtB: if (intval($prizeModel["\x74\171\x70\145\163"]) == 6) { goto PPeTV; } goto Qh3Nz; GZxsG: JiDgB: goto NbztV; Pqe0H: $content = str_replace("\x7b\116\111\103\x4b\x4e\101\115\105\175", $joinUserModel["\x6e\151\x63\153\x6e\141\x6d\145"], $content); goto ASEBm; t9ueg: if (intval($prize2Model["\164\x79\160\145\163"]) == 5) { goto aXNjR; } goto TqDBB; MIcyk: BRRoo: goto Eb0wP; PbSER: if ($prize2Model["\x69\163\x5f\163\155\x73"] == 1) { goto DVwpy; } goto JF0f1; UslxD: LE04T: goto SMgl2; C4_xv: list($min, $max) = explode("\55", $prize2Model["\163\x79\163"]); goto Yslsc; gIBAY: if (empty($virtualModel)) { goto AT0e6; } goto Eakw2; fM8LK: if (!(intval($prize2Model["\x74\171\160\x65\x73"]) == 9)) { goto RodPf; } goto Xt0lX; UVO0w: if (!(intval($prizeModel_rebate["\x74\171\x70\145\x73"]) == 9)) { goto PZ4iR; } goto QPqkA; KWXUT: NgUUu: goto GELan; Yuvfm: list($min, $max) = explode("\55", $prizeModel["\x73\143\157\162\145"]); goto qn4eZ; zse5h: if (empty($result)) { goto ucDTN; } goto DepzP; QZhhv: if ($orderPayModel["\163\x74\x61\x74\x75\x73"] == 0) { goto kUwcS; } goto eghFy; OTUMD: $register_data = $orderPayModel["\156\157\x74\145"]; goto tXBN4; Thgef: uhDEa: goto V8yBS; rr8V8: $userDrawRecordModel = array(); goto qVRnO; s06V1: if (intval($prizeModel["\164\x79\x70\145\x73"]) == 1) { goto blejB; } goto bFAKE; S78NT: ztJvJ: goto zZnBF; vIJCu: $content = $sms_tmp["\143\157\x6e\164\145\156\x74"]; goto XQ2sO; tvlgo: wP8Gg: goto C_4e3; OFJrt: if (empty($sms_tmp)) { goto EJnVG; } goto pj5oJ; Dv9w5: $joinPayModel["\x6f\142\152\137\151\x64"] = $object["\151\x64"]; goto y73qJ; nJQeX: if (intval($prize2Model["\164\171\160\145\x73"]) == 2) { goto nq6ID; } goto XtZ7Q; sHINx: return true; goto z_O2c; NjXIb: if (!($object["\x6f\162\x5f\x6f\x70\x65\156\x5f\162\x65\x62\141\164\x65\62"] == 1)) { goto XDUIg; } goto za6cm; NyZpi: GOHOJ: goto DgBMY; IIgYa: $userDrawRecordModel["\163\164\x61\x74\x75\x73"] = $result === true ? 1 : 0; goto l0zmd; QemMl: $obj_token = $objarr[0]; goto sqvIy; Ndq_u: $content = str_replace("\x7b\x4f\x42\112\x7d", $object["\x74\151\x74\154\145"], $content); goto RxfI0; euFt2: $content = $sms_tmp["\x63\x6f\156\x74\145\x6e\164"]; goto Dxc33; vLUC6: pdo_update(ztk_table("\165\163\x65\x72\x5f\x64\x72\x61\167", false), array("\162\x65\144" => $prizeModel["\162\x65\x64"], "\x73\x74\x61\164\x75\163" => 1, "\x75\x70\144\x61\164\145\164\151\x6d\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto vvmDg; JbQv2: AhMci: goto xL7n7; xqWdo: if (empty($object["\x69\163\x5f\142\165\x79\137\144\x72\141\x77"])) { goto Ad_Ih; } goto LGD43; lmcZv: $sms_tmp_id = $prizeModel["\163\155\163\x5f\x74\155\x70\137\151\x64"]; goto bPhNU; gEO_y: gF7LG: goto F9oft; dUv_p: a3K2t: goto z_LvE; vr7pr: lbHtR: goto CLF8g; dAJ_r: $userDrawRecordModel["\144\x65\163\x63"] = $prizeModel["\x6e\141\x6d\145"]; goto bYBUU; vv1lJ: $userDrawRecordModel["\x6f\160\x65\x6e\x69\x64"] = $joinUserModel["\x6f\x70\x65\x6e\x69\x64"]; goto Vickk; Lp6Uv: $userMoneyRecharge["\143\162\x65\x61\164\x65\164\151\155\x65"] = TIMESTAMP; goto G7KQ_; U4hM5: if (empty($object["\x70\165\163\150\137\x74\x6d\160"])) { goto uMWWs; } goto k0SUh; mgF7r: $objparams = array("\72\164\157\x6b\x65\x6e" => $objarr[0], "\x3a\x75\x6e\x69\x61\x63\151\x64" => $uniacid); goto JcCkw; sSqgc: $sn = $config["\163\155\163\137\x75\x69\144"]; goto OPrq6; BQjgX: $userUpdateModel["\152\157\x69\x6e\137\156\165\155"] = $userModel["\x6a\x6f\151\x6e\x5f\156\x75\155"] + 1; goto h3kX1; Nloh7: $writecode = $encode_id; goto UaC0h; DFqv1: $writecode = $encode_id; goto L83b0; AJFUG: $virtualModel["\157\160\145\156\151\x64"] = $joinUserModel["\x6f\160\145\156\151\x64"]; goto FX5ge; j9lwW: $virtualModel = pdo_get(ztk_table("\160\162\x69\172\x65\137\166\151\162\164\x75\141\x6c\137\x64\141\x74\x61", false), array("\x76\x69\x72\x74\x75\x61\x6c\137\151\x64" => $prizeModel["\166\x69\x72\x74\165\x61\154\137\x69\x64"], "\x73\x74\x61\x74\165\163" => 1)); goto UAAp0; LZZ4W: if (intval($prizeModel["\x74\x79\x70\145\x73"]) == 6) { goto UbXof; } goto DCl4q; Avxad: $noticeMessage = "\xe6\201\255\xe5\x96\x9c\346\x82\xa8\xef\274\x8c\350\x8e\267\xe5\xbe\x97\xe8\277\x94\xe5\210\251\xe5\245\x96\xe5\223\x81\xe2\200\234{$prizeModel["\x6e\141\x6d\x65"]}\xe2\200\235\350\216\xb7\345\276\227\347\xa7\xaf\345\210\x86\xe5\xa5\226\345\212\261\357\xbc\x9a{$prizeModel["\163\x63\x6f\x72\x65"]}\xe5\x88\x86"; goto k3GvZ; t8oQZ: YneU9: goto xVtiH; GSLMs: include_once "\151\x6e\143\57\x66\165\156\143\164\151\x6f\x6e\57\x66\x75\156\x63\164\x69\x6f\x6e\163\56\160\x68\160"; goto tdUqJ; xR3AT: PA6q4: goto KsOZA; DtMHs: $register_data = $orderPayModel["\156\x6f\x74\x65"]; goto wJOVT; wbTn6: $userDrawRecordModel["\143\141\162\144\x5f\151\144"] = $prize2Model["\143\x61\x72\x64"]; goto X4YD8; h2oxn: $result = sendSiteWeixinRedPacket($join2UserModel["\x6f\x70\145\x6e\151\144"], floatval($prize2Model["\162\x65\144"]) * 100, "\xe6\x81\xad\xe5\226\234\345\x8f\x91\350\264\xa2\x20\xe5\244\247\xe5\220\x89\xe5\244\xa7\345\x88\251\xef\xbc\201", "\xe7\xa4\274\345\223\x81\346\213\223\xe5\256\242\xe6\264\273\345\212\xa8", "\350\xb5\xb6\345\xbf\xab\xe5\210\x86\xe4\272\xab\347\xbb\231\346\x82\xa8\347\232\x84\xe5\245\275\345\x8f\x8b\344\xb8\x80\350\265\xb7\351\xa2\206\xe7\272\242\xe5\214\205\345\x90\xa7", $config["\x70\157\167\145\162"], true, $uniacid, $config); goto ldtJG; OqMSw: Pr4YZ: goto XDBYp; xM5xG: if (empty($object["\160\x75\163\x68\x5f\164\155\x70"])) { goto qUJAa; } goto SJZGM; x2V6l: foreach ($prizeList as $key => $val) { goto y5EIS; KpM6i: goto X2XP9; goto o6lKF; spGV5: Q4KWp: goto hEXP1; RuvgZ: X2XP9: goto dB9P3; vjuFa: goto X2XP9; goto i5ZwC; B0Kuk: b6XJa: goto Ljp0m; SWrEb: goto X2XP9; goto w1N0F; SOVCE: $count = pdo_getcolumn(ztk_table("\165\x73\145\162\137\144\x72\x61\x77", false), array("\x70\162\x69\172\145\x5f\x69\144" => $val["\151\144"], "\157\x70\x65\x6e\x69\x64" => $joinUserModel["\x6f\160\145\x6e\x69\x64"]), "\143\157\165\156\x74\x28\x2a\x29"); goto B_7O9; I5Y__: $count = pdo_fetchcolumn("\x53\x45\114\105\x43\124\x20\103\117\125\x4e\x54\50\52\51\40\106\122\x4f\x4d\x20" . ztk_table("\165\x73\x65\162\137\144\162\141\x77") . "\x20\x57\110\x45\122\105\40\x20\x70\162\x69\x7a\145\137\151\x64\x20\75\x20\x3a\160\x72\151\172\x65\x5f\x69\x64\x20\x41\116\104\40\157\x70\145\x6e\x69\x64\x20\75\x20\72\157\x70\145\x6e\151\144\40\101\116\104\40\x46\122\117\115\x5f\125\116\x49\130\124\111\115\x45\x28\x63\x72\145\x61\x74\x65\164\151\155\x65\x2c\40\x27\x25\x59\x25\x6d\x25\144\47\x29\40\x3d\x20\104\x41\x54\105\x5f\x46\x4f\122\x4d\101\124\50\x4e\117\x57\x28\x29\54\47\45\131\45\x6d\x25\144\x27\51", array("\x3a\160\x72\151\172\145\x5f\151\144" => $val["\x69\x64"], "\x3a\157\160\x65\x6e\151\144" => $joinUserModel["\157\x70\x65\x6e\x69\x64"])); goto eCkMb; i5ZwC: jVNDS: goto B0Kuk; NP_5v: if (!(intval($val["\x6c\151\155\x69\164\x5f\x74\x79\160\x65\x73"]) == 0 && intval($val["\x6c\151\155\151\x74\x5f\x6e\165\x6d"]) > 0)) { goto Q4KWp; } goto SOVCE; B_7O9: if (!($count >= intval($val["\154\x69\x6d\x69\164\137\156\165\155"]))) { goto QIwdW; } goto KpM6i; w1N0F: KmK51: goto NP_5v; eCkMb: if (!($count >= intval($val["\x6c\151\x6d\151\164\x5f\x6e\x75\x6d"]))) { goto jVNDS; } goto vjuFa; y5EIS: if (!(intval($val["\x6f\x64\x64\x73"]) <= 0)) { goto KmK51; } goto SWrEb; hEXP1: if (!(intval($val["\x6c\151\x6d\x69\x74\x5f\164\171\x70\145\x73"]) == 1 && intval($val["\154\151\155\151\164\137\x6e\165\x6d"]) > 0)) { goto b6XJa; } goto I5Y__; Ljp0m: $arr[$key] = $val["\x6f\144\144\x73"]; goto RuvgZ; o6lKF: QIwdW: goto spGV5; dB9P3: } goto qNMOo; QSnX1: O0gTC: goto eI8Ev; f3ilL: CxNVI: goto c1rhr; qVrHq: if (!(intval($object["\142\165\171\x5f\151\163\137\160\165\163\150"]) == 1)) { goto GGWXE; } goto bNMrg; s0pws: $ali_accesskeyid = $config["\x61\154\151\137\141\143\143\x65\x73\163\x6b\145\171\x69\x64"]; goto d82PF; bPhNU: $sms_tmp = pdo_get(ztk_table("\164\x6d\x70\x5f\163\x6d\163", false), array("\x69\144" => $sms_tmp_id)); goto vm9Dh; KBmyJ: CxdEQ: goto loVDz; cLR5J: $content = str_replace("\173\117\x42\x4a\x7d", $object["\x74\x69\164\154\x65"], $content); goto JjKsq; RxTFu: $join_draw_data["\x65\x6e\144\137\164\x69\155\x65"] = $prizeModel["\x74\x69\155\145\x5f\x64\x61\x79"] * 24 * 60 * 60 + time(); goto otkG1; ce8m6: goto qOHuK; goto vvyLg; nsBpW: $origin_buy_types = 1; goto UpUCE; wbvSB: $writeoff_types = 0; goto B3KYW; SllkY: goto neAwK; goto qoA6X; tnLNd: $userDrawRecordModel["\163\164\141\x74\165\x73"] = $result === true ? 1 : 0; goto s6JCO; mJFOj: if (empty($originModel)) { goto JObOQ; } goto hCO4U; JMcQJ: pdo_update(ztk_table("\x75\163\x65\162\137\x64\x72\x61\x77", false), array("\166\151\x72\x74\165\141\x6c\137\151\144" => $virtualModel["\166\151\162\x74\x75\141\x6c\x5f\x69\144"], "\166\151\x72\x74\x75\x61\154\x5f\x64\x61\x74\x61\x5f\x69\x64" => $virtualModel["\151\144"], "\x73\164\x61\x74\165\x73" => 1, "\165\160\x64\141\x74\145\x74\151\155\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto AJFUG; Rk1H0: $noticeMessage = "\xe6\201\255\345\x96\x9c\xe6\x82\xa8\357\xbc\x8c\350\216\267\345\xbe\227\xe8\264\xad\xe4\xb9\xb0\xe6\x8a\275\xe5\245\226\345\xa5\226\xe5\223\x81\xe2\200\x9c{$prizeModel_rebate["\x6e\141\155\x65"]}\xe2\200\x9d\xe8\216\xb7\345\xbe\227\xe4\275\231\351\xa2\235\xe5\xa5\x96\345\212\261\xef\xbc\232{$prizeModel_rebate["\163\x79\163"]}\xe5\x85\x83"; goto TsxQL; XoBcM: sendTplNotice($uniacid, $userModel["\157\x70\145\x6e\151\144"], $postdata, $template_id, $url); goto qvldT; pON2_: updateUserMoney($uniacid, $orderPayModel["\x6f\x70\x65\x6e\x69\x64"], $orderPayModel["\160\x61\x79\x5f\x70\162\x69\143\145"], $note, 4, $obj_types, $object["\x69\x64"]); goto TOS2y; VsuQx: yG6TK: goto qVrHq; kiTrf: if (intval($sms_tmp["\164\171\160\x65\x73"]) == 0) { goto p6CC0; } goto Cf7sr; f6lwP: $joinPayModel["\x72\x65\x67\151\163\x74\145\162\137\x64\x61\164\141"] = $object["\x6a\x6f\x69\156\x5f\x69\163\x5f\162\145\x67\x69\x73\164\x65\x72"] == 1 ? base64_decode($register_data) : ''; goto J7SB8; fQIWQ: if ($orderPayModel["\163\x74\x61\x74\165\x73"] == 0) { goto wqMW0; } goto SvzER; lEKJJ: if (intval($sms_tmp["\164\171\160\x65\163"]) == 0) { goto fkHZV; } goto HdC49; ZoPvi: updateUserMoney($uniacid, $orderPayModel["\157\x70\145\x6e\x69\144"], -$pay_sys_money, $note, 3, $obj_types, $object["\x69\x64"]); goto rhSQ5; fzXZ0: d4fvv: goto qOiQ2; pdLzT: if (empty($originModel)) { goto Vm7q6; } goto rTO1W; XW13_: pdo_update(ztk_table("\165\x73\x65\x72\x5f\x61\x63\143\157\x75\156\164", false), array("\160\162\157\x66\151\164\x5f\155\157\156\145\x79\x20\x2b\x3d" => $prizeModel_rebate["\167\141\154\x6c\x65\164"], "\167\141\x6c\154\x65\164\x5f\155\x6f\156\x65\171\40\53\75" => $prizeModel_rebate["\x77\x61\x6c\154\x65\164"], "\167\141\x6c\154\x65\x74\137\x6d\157\x6e\x65\171\137\156\165\155\40\53\75" => 1), array("\x6f\160\x65\156\x69\144" => $userModel["\x6f\160\145\156\x69\144"])); goto mFYwX; v_htg: $templatecode = $sms_tmp["\164\x65\x6d\x70\154\x61\x74\x65\x63\157\144\145"]; goto bCRO7; EUicm: if (empty($originModel)) { goto wqNJI; } goto XX38H; PjenL: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto Jrkn9; vDsRz: if (intval($prizeModel["\x74\x79\160\x65\x73"]) == 3) { goto dUUgu; } goto aA2TY; AXalX: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto AJ7dg; ASUD1: V0nvD: goto Z2cKO; Cr3eo: $noticeMessage = "\xe6\x81\xad\345\x96\234\346\202\xa8\357\274\214\350\216\267\345\276\227\350\xbf\x94\xe5\210\251\345\245\x96\345\x93\201\342\200\234{$prizeModel["\156\141\x6d\x65"]}\xe2\x80\235\350\x8e\xb7\xe5\xbe\x97\xe4\275\x99\xe9\242\235\345\245\226\xe5\x8a\261\357\xbc\x9a{$prizeModel["\163\171\x73"]}\345\205\203"; goto ccChr; J4H38: pPCHH: goto uNCM2; N8MAS: $ali_accesskeyid = $config["\x61\x6c\151\137\141\x63\x63\x65\163\x73\153\145\x79\151\x64"]; goto dISOG; O74cs: if (!(intval($prize2Model["\x63\x72\145\141\x74\x65\x5f\164\x79\x70\145\x73"]) == 1)) { goto uChK0; } goto iJ41d; i3I07: $content = str_replace("\x7b\120\x52\111\x5a\x45\175", $prizeModel["\x6e\x61\155\x65"], $content); goto R6svJ; pG73p: $obj_token = $objarr[0]; goto OZcmH; rAUNk: $noticeMessage = "\xe6\201\255\xe5\x96\234\346\x82\xa8\xef\274\x8c\xe8\x8e\xb7\345\xbe\227\350\xbf\224\345\x88\xa9\xe5\245\x96\xe5\223\201\342\x80\x9c{$prizeModel["\156\141\x6d\x65"]}\xe2\x80\235\357\xbc\214\xe8\257\xb7\xe5\x88\xb0\346\202\250\347\x9a\x84\xe5\276\xae\xe4\277\xa1\xe5\x8d\xa1\xe5\214\x85\xe6\x9f\xa5\347\234\x8b\xe3\200\x82"; goto v0002; tSOWx: ZZ9p0: goto byA0w; JyLo_: $userDrawRecordModel["\x75\x6e\x69\x61\143\151\144"] = $prizeModel["\x75\x6e\151\x61\x63\151\144"]; goto v17Ef; Dp5sH: $sms_tmp = pdo_get(ztk_table("\164\x6d\160\x5f\x73\x6d\163", false), array("\151\144" => $sms_tmp_id)); goto EI8C6; V2Yn0: if (empty($virtualModel)) { goto xJRTb; } goto mXx3L; BZIQD: f4He5: goto zTymz; m13Le: $userDrawRecordModel = array(); goto UICmh; tfOA9: t3OG8: goto OIoe5; yrI2j: updateUserMoney($uniacid, $userModel["\x6f\160\145\156\x69\x64"], -$orderIntmallModel["\x70\x61\171\137\x70\x72\x69\x63\x65"], $note, 3, 0, 0); goto x7tBt; OhXqJ: $draw_id = pdo_insertid(); goto XkNID; b7yKE: goto kr2sz; goto dYl5w; ucnXw: i5eyX: goto xFWkS; F6SCm: $prizeModel["\163\x63\157\162\145"] = mt_rand($min, $max); goto DtJWE; OrFGW: mUi8O: goto wY23d; YDpjU: if ($prizeModel["\x69\x73\x5f\163\155\163"] == 1) { goto dPDaj; } goto y5mKZ; qd28U: $pid = pdo_insertid(); goto IP_kw; OArw2: if (!(intval($prizeModel_rebate["\x63\x72\145\x61\164\x65\137\x74\171\160\x65\x73"]) == 1)) { goto EsrA9; } goto LuSFu; GtCK2: $joinPayModel["\x70\x69\144"] = $pid; goto QKkux; cT4uc: IyMi1: goto P_ISv; FGeac: BusWV: goto VK1TW; xzN3m: $sms_tmp = pdo_get(ztk_table("\x74\155\x70\x5f\163\155\163", false), array("\x69\144" => $sms_tmp_id)); goto T3nON; rWSh7: $noticeMessage = "\346\x81\xad\xe5\226\234\xe6\x82\xa8\xef\274\x8c\xe8\x8e\267\345\276\x97\350\277\224\345\210\251\345\245\226\345\x93\x81\xef\274\x9a" . $prizeModel["\156\141\155\145"]; goto ZdWg_; XKPU6: $tableName = $permission_data[$object["\144\162\x61\167\137\141\143\x74\x69\x76\151\x74\x79\x5f\164\171\160\145"]]; goto q6mHo; xMRph: uMWWs: goto gVug5; xPW9C: $first_mess = "\346\202\xa8\347\x9a\x84\350\256\242\345\215\x95\xe5\267\262\346\x94\xaf\xe4\273\230\xe6\210\220\xe5\212\x9f\54\xe8\257\267\346\x9f\245\xe7\x9c\213\xe6\x82\xa8\xe7\232\x84\xe8\xae\242\345\x8d\x95\344\xbf\xa1\xe6\201\257\xe5\xb9\xb6\346\217\220\344\276\233\xe6\240\xb8\xe9\224\x80\xe7\240\201\xe5\x88\xb0\345\xba\227\xe6\240\270\351\224\x80\x3a"; goto n6g3J; TTwbN: zZcQ2: goto c5ku6; tAgmX: $prize2List = pdo_getall(ztk_table("\x70\162\151\172\x65\137\x69\x74\x65\x6d", false), array("\x75\x6e\x69\141\x63\x69\x64" => $uniacid, "\x6f\x62\152\x5f\164\171\x70\x65\163" => $obj_types, "\157\142\152\137\151\x64" => $object["\x69\x64"], "\x73\x74\x61\164\x75\163" => 1, "\157\x72\x5f\162\145\142\x61\x74\145\x32" => 1), array(), '', "\163\x6f\162\164\x20\x61\163\x63"); goto iu8A4; F70T5: pdo_update(ztk_table("\x75\x73\x65\x72\137\x63\157\x6c\x6c\141\x67\145\137\x6a\157\x69\x6e", false), array("\x6a\x6f\x69\x6e\x73\x20\x2b\75" => 1), array("\x69\144" => $joinModel["\x69\144"])); goto bzAeq; yUiNx: $ali_accesskeysecret = $config["\141\154\151\137\141\143\143\145\163\163\153\x65\171\x73\x65\x63\x72\145\164"]; goto IEPYq; IGQF8: if (!($config["\157\x72\151\147\x69\x6e\160\x75\x73\x68\x5f\x74\155\160"] && !empty($origin_id))) { goto H07Q8; } goto U2HT3; tm12P: $content = $sms_tmp["\x63\157\156\x74\x65\156\164"]; goto bL9tO; IHvMk: $userDrawRecordModel["\x63\162\x65\141\164\x65\164\x69\155\145"] = time(); goto eVxJa; xFWkS: $url = replaceDieDomain($config, __MURL("\165\x73\x65\162\137\144\x72\141\167\x5f\142\x75\171", array("\x61\x63\x74" => "\151\156\144\x65\x78"), false, TRUE), $userModel["\151\144"], $obj_types, $object["\151\144"], 0); goto gBNsm; UyjOc: if (!(intval($prize2Model["\143\x72\x65\141\164\x65\137\x74\171\160\145\163"]) == 1)) { goto D0ddW; } goto tMh81; OaDIU: $orderIntmallModel["\x73\x74\x61\164\x75\163"] = 4; goto IesHp; if1zE: $writecode = $encode_id; goto HjDi5; jbNhw: pdo_update(ztk_table("\165\163\145\x72\x5f\141\143\x63\157\165\156\x74", false), array("\x70\x72\x6f\144\x75\143\x74\137\x6e\x75\x6d\x20\53\75" => 1), array("\157\160\145\x6e\151\x64" => $joinUserModel["\157\160\x65\x6e\x69\x64"])); goto iTirl; hKy1w: $userDrawRecordModel["\x63\162\145\x61\x74\x65\x74\x69\x6d\145"] = time(); goto sCiZ1; iJ41d: list($min, $max) = explode("\x2d", $prize2Model["\x72\145\x64"]); goto eMuMd; SEprk: h3w54: goto zV56P; jSa0_: $drawcode_data_model = pdo_get("\x6c\x79\167\x79\167\154\137\x7a\x74\x6b\x5f\163\x79\163\137\x64\162\141\x77\x63\x6f\144\x65\137\x64\x61\164\141", array("\x64\162\141\167\x63\x6f\x64\x65\x5f\x69\144" => $draw_activity_model["\144\162\x61\x77\143\157\144\x65\x5f\151\x64"], "\x75\x6e\x69\141\143\x69\x64" => $uniacid, "\x63\x6f\144\x65" => $drawcode)); goto dJv7E; gZKQk: $userDrawRecordModel["\x75\160\x64\141\x74\145\x74\x69\x6d\145"] = time(); goto L26Su; I5NHa: include MODULE_ROOT . "\57\x69\x6e\x63\x2f\143\x6c\x61\x73\x73\57\x48\x61\x73\150\151\x64\x73\x2e\x63\154\141\163\x73\x2e\x70\x68\160"; goto lcByf; qssMa: pdo_update(ztk_table("\x75\163\x65\162\x5f\x64\x72\141\x77", false), array("\163\171\163" => $prizeModel["\x73\x79\163"], "\163\164\x61\164\x75\x73" => 1, "\165\x70\144\x61\164\145\x74\151\155\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto iD0sx; hU24t: $joinPayModel["\151\x73\x5f\150\145\x61\x64\x73"] = $pid == 0 ? 1 : 0; goto qW4Ql; xcOy8: $userDrawRecordModel["\157\160\x65\156\x69\144"] = $joinUserModel["\157\160\145\x6e\x69\144"]; goto YcDrp; gFTl3: LNUIZ: goto Ky0eH; qc2_A: FWKTu: goto vjOoE; x12Lp: $userDrawRecordModel["\155\157\x6e\x65\x79"] = $prize2Model["\x72\145\144"]; goto hLwOl; kEVlO: updateUserMoney($uniacid, $orderPayModel["\x6f\160\x65\156\x69\144"], $orderPayModel["\160\141\171\137\x70\162\x69\x63\145"], $note, 4, $joinPayModel["\x6f\142\x6a\x5f\x74\171\160\x65\163"], $joinPayModel["\x6f\142\x6a\137\151\144"]); goto AShTm; oIRPW: if ($orderIntmallModel["\151\x73\137\146\x65\144\145\x78"] == 1) { goto JjBjU; } goto qljIM; Mg23r: n6ZbO: goto SMxM5; DFmRJ: $prizeModel_rebate["\x77\141\x6c\x6c\x65\164"] = mt_rand($min * 100, $max * 100) / 100; goto K_wbJ; jZHOR: $origin_buy_types = 0; goto kRMY5; ZExjj: AlZhn: goto Eeupu; mq2kQ: $drawcode = $draw_data["\160\x61\171\x5f\x6e\165\x6d\x62\145\162"]; goto jSa0_; npatM: $sms_tmp_id = $prizeModel["\x73\155\163\137\164\155\160\x5f\x69\144"]; goto xzN3m; eMuMd: $prize2Model["\x72\x65\144"] = mt_rand($min * 100, $max * 100) / 100; goto lUfcV; sX310: pdo_update(ztk_table("\165\163\x65\x72\x5f\x64\x72\141\167", false), array("\163\x63\157\162\x65" => $prizeModel["\x73\x63\x6f\x72\x65"], "\x73\164\x61\x74\x75\x73" => 1, "\x75\160\144\141\x74\145\x74\x69\x6d\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto f2o4t; JGQS4: $pid = pdo_insertid(); goto mepRG; GouYb: $sign = $sms_tmp["\163\151\147\x6e"]; goto ZP3Vb; Qk4ve: pdo_insert(ztk_nopre_table("\165\x73\x65\162\137\x6d\157\x6e\x65\171\137\162\145\x63\150\x61\x72\x67\x65"), $userMoneyRecharge); goto ZObz1; s6JCO: $userDrawRecordModel["\155\157\156\145\171"] = $prize2Model["\167\x61\154\x6c\x65\x74"]; goto RBeNz; m2jJ4: HeMV2: goto G53Se; Vb3hF: $content = str_replace("\x7b\x50\x52\111\132\105\x7d", $prize2Model["\156\141\155\x65"], $content); goto pbgNB; zS8E2: pdo_insert(ztk_nopre_table("\x75\x73\145\162\137\x64\162\x61\x77\137\x72\145\x63\157\x72\x64"), $userDrawRecordModel); goto BbKUU; K99wE: if (intval($sms_tmp_rebate["\164\x79\x70\145\163"]) == 0) { goto nxPyO; } goto Ib55G; Xo33r: GsNyH: goto tfH1y; LtlfZ: $userDrawRecordModel["\x6f\x62\x6a\137\151\144"] = $prizeModel["\157\x62\152\137\151\144"]; goto bmpsJ; jbQ67: $userDrawRecordModel["\157\160\145\x6e\151\x64"] = $joinUserModel["\x6f\x70\145\156\151\x64"]; goto kKiIN; kVGp1: $draw_activity_model = pdo_get("\154\x79\x77\171\167\154\137\172\164\x6b\137" . $tableName, array("\x69\144" => $object["\x64\x72\141\167\x5f\141\x63\164\151\166\x69\x74\171\137\151\x64"], "\165\x6e\151\141\x63\x69\144" => $uniacid, "\x6d\157\x64\145\154\163" => 3)); goto NsfTU; k22jw: $userUpdateModel = array(); goto BQjgX; FqzI4: if (!($joinModel["\x6f\x70\x65\x6e\x69\x64"] != $orderPayModel["\157\160\x65\x6e\151\144"])) { goto W2D47; } goto QFaxu; m6m4P: $sms_tmp_id = $object["\142\165\x79\x5f\x73\x6d\x73\137\164\x6d\160\137\151\144"]; goto ROrZs; Od0hJ: $joinPayModel["\x63\162\145\x61\x74\x65\x74\151\x6d\145"] = TIMESTAMP; goto Jr4aw; H5vg5: ARb3C: goto upmby; XQ2aH: if (!($pay_sys_money > 0)) { goto ZKiIA; } goto a4evU; YyQ0q: pdo_update(ztk_nopre_table("\157\162\144\x65\162\137\160\141\x79"), array("\x73\164\141\164\165\163" => 1, "\x6e\157\x74\x65" => implode("\x2c", $params)), array("\151\144" => $orderPayModel["\x69\x64"])); goto XPBbN; dFTIt: $userMoneyRecharge["\x63\x72\x65\141\x74\145\164\x69\x6d\x65"] = TIMESTAMP; goto OHsES; ComaL: $templatecode = $sms_tmp["\164\145\x6d\x70\x6c\x61\164\145\143\157\x64\x65"]; goto Vdqjd; smHwe: $result = sendTplNotice($uniacid, $originModel["\x6f\x70\x65\x6e\151\x64"], $postdata, $template_id, $url); goto pZkRW; D1nKm: $userDrawRecordModel["\162\145\155\x61\162\153"] = "\xe8\265\xb6\xe5\xbf\xab\xe5\x88\x86\xe4\272\xab\347\xbb\x99\xe6\x82\250\xe7\232\x84\345\xa5\xbd\xe5\217\x8b\xe4\xb8\x80\350\265\267\351\242\x86\347\xba\242\345\214\x85\345\220\xa7"; goto UL3F2; wSp8T: if (intval($prizeModel["\x74\171\x70\145\x73"]) == 1) { goto b2j07; } goto sHYrJ; QVYQ6: if (empty($originModel)) { goto xMRfe; } goto ff4XD; DYxHi: pdo_update(ztk_table("\155\x61\162\x6b\145\x74\151\156\147\x5f\165\163\145\x72", false), array("\x62\165\171\137\x6e\165\x6d\x20\53\75" => 1), array("\x69\144" => $origin_id)); goto s1YGA; ikzuW: $content = $content . "\x20\xe3\x80\x90" . $sms_tmp["\163\x69\147\x6e"] . "\xe3\200\x91"; goto IlV32; MCe_8: $result = pdo_insert(ztk_table("\x75\163\x65\162\x5f\x64\162\x61\x77", false), $join_draw_data2); goto vrFSU; vvHmc: zVenV: goto OXQ_O; Ol5dB: goto q_fBN; goto Lb9dY; sJW8V: $cardArr = pdo_fetchall("\123\105\114\x45\103\x54\40\52\40\x46\122\117\x4d\x20" . ztk_table("\x6a\x6f\x69\x6e\137\x73\164\x6f\x72\x65\x5f\165\x6e\x69\157\156\137\x63\x61\x72\144") . "\x77\150\145\162\145\x20\50\x60\x75\x6e\151\x61\143\151\x64\140\75\x3a\x75\156\151\x61\143\151\144\40\x61\156\144\x20\x6f\x62\x6a\x5f\x74\171\160\145\x73\75\72\157\x62\152\137\x74\171\160\x65\163\x20\141\x6e\144\x20\157\142\x6a\137\151\x64\75\72\x6f\142\x6a\x5f\151\144\40\141\156\144\x20\x73\x74\x61\x74\165\x73\x3d\61\x29\x20\x61\156\144\40\50\50\x69\163\x5f\157\160\145\156\x5f\x73\x74\157\x63\x6b\75\60\40\141\x6e\144\x20\x73\x74\157\x63\153\75\x30\x29\40\157\x72\x20\x28\x69\163\137\157\x70\x65\156\x5f\163\x74\x6f\143\x6b\x3d\61\x20\141\x6e\144\40\163\164\157\143\x6b\x3e\x30\x29\51\40\141\x6e\x64\x20\50\50\164\151\155\x65\x5f\164\x79\x70\145\163\75\x30\51\40\157\162\40\50\x74\x69\155\145\x5f\164\171\160\145\x73\x3d\x31\x20\141\156\x64\x20\x74\x69\x6d\x65\x5f\145\156\x64\76" . strtotime("\x6e\157\167") . "\x29\x29\x20\x6f\162\144\x65\x72\40\x62\171\40\x73\157\162\164\x20\x61\163\x63\x20\54\x20\x69\x64\40\144\145\x73\x63\40", array("\72\x75\156\x69\x61\143\151\x64" => $uniacid, "\157\x62\x6a\x5f\x74\171\x70\145\163" => $obj_types, "\157\x62\152\137\x69\x64" => $object["\151\144"])); goto Jx4ab; MPVle: $userDrawRecordModel["\x74\171\160\x65\163"] = 2; goto BDg3a; cdhcq: pdo_update(ztk_table("\157\142\152\x5f\163\x6f\154\x69\143\x69\164\151\x6e\x67", false), array("\x62\165\x79\137\156\x75\x6d\x20\53\x3d" => 1), array("\x69\144" => $object["\x69\x64"])); goto Fc743; Z1EfJ: yuqxa: goto TeQwF; nYe1O: if (!($pay_sys_money > 0)) { goto cKnQp; } goto e2A3g; RnVIl: YRW9X: goto cMyH5; wYLla: mfaqe: goto GsazH; l01XS: $noticeMessage = "\346\x81\255\345\x96\x9c\346\202\xa8\357\274\214\350\x8e\267\345\276\227\xe8\xbf\224\xe5\x88\xa9\xe5\245\x96\xe5\223\x81\xef\xbc\232" . $prizeModel["\x6e\x61\x6d\x65"]; goto ufOVg; fieAV: $userDrawRecordModel["\157\x62\152\137\164\171\x70\x65\x73"] = $prizeModel["\x6f\142\x6a\137\x74\171\160\145\163"]; goto vsWHC; sCiZ1: pdo_insert(ztk_nopre_table("\x75\163\145\162\x5f\144\x72\x61\167\x5f\x72\x65\143\x6f\162\144"), $userDrawRecordModel); goto FB4ET; w7NN8: $mobile = $join2UserModel["\155\157\x62\151\x6c\x65"]; goto KutUP; Dk7Xh: $userMoneyRecharge["\165\156\x69\x61\143\151\x64"] = $uniacid; goto ET8au; RN6Xq: if (!(intval($prizeModel["\164\171\160\x65\x73"]) == 9)) { goto Z7SmS; } goto l01XS; EFjAD: if (!(intval($object["\142\x75\171\137\x69\163\x5f\x73\x6d\x73"]) == 1)) { goto PxMdM; } goto xJa3Y; fhrlM: pdo_insert(ztk_nopre_table("\165\x73\x65\162\x5f\144\x72\141\167\x5f\x72\145\x63\x6f\x72\144"), $userDrawRecordModel); goto rT_S5; DfKf_: if (!empty($prizeModel_rebate)) { goto ILfHr; } goto ljXMT; G_tSH: pdo_update(ztk_table("\x75\x73\145\x72\137\141\143\143\x6f\165\156\x74", false), array("\x76\151\162\x74\x75\141\x6c\x5f\156\x75\x6d\x20\53\75" => 1), array("\x6f\160\x65\x6e\x69\x64" => $joinUserModel["\x6f\160\x65\x6e\x69\x64"])); goto uIVKf; AAzfX: MLsJL: goto t66wL; KihVP: $userDrawRecordModel["\x72\145\155\141\162\x6b"] = "\xe8\265\266\345\277\xab\xe5\210\206\xe4\xba\253\347\xbb\231\xe6\x82\xa8\347\232\204\xe5\245\xbd\xe5\217\x8b\xe4\270\200\xe8\265\xb7\351\xa2\x86\347\xba\xa2\345\214\205\xe5\x90\247"; goto fHPTc; Lr41I: $userDrawRecordModel["\165\156\151\x61\x63\151\x64"] = $prizeModel["\165\156\x69\x61\x63\151\144"]; goto R58Ya; gmGBy: $joinUserModel = pdo_get(ztk_table("\x75\x73\x65\162\137\x61\143\143\x6f\x75\156\x74", false), array("\165\x6e\x69\x61\143\151\x64" => $uniacid, "\x6f\160\145\156\x69\x64" => $joinModel["\x6f\160\x65\x6e\151\144"])); goto tWwa_; ubRXT: $joinPayModel["\161\x72\x63\157\144\145\x5f\x75\162\x6c"] = ''; goto mz8G1; LuSFu: list($min, $max) = explode("\x2d", $prizeModel_rebate["\162\145\144"]); goto zPAts; UICmh: $userDrawRecordModel["\165\156\x69\141\x63\151\144"] = $prizeModel["\x75\156\x69\141\143\x69\144"]; goto zv15X; EovCx: $obj_types = $objarr[1]; goto NwxZL; C2U8S: $postdata = array("\x66\151\x72\x73\x74" => array("\x76\x61\154\165\145" => "{$originModel["\x6e\x61\x6d\145"]}\xef\274\x8c\xe6\202\xa8\xe5\217\x82\344\xb8\216\xe7\232\204\346\272\xaf\xe6\272\220\346\264\xbb\xe5\212\250\xe6\x9c\x89\346\x96\260\xe7\232\204\xe8\xae\xa2\345\215\225", "\x63\157\154\x6f\x72" => "\x23\61\x37\x33\61\x37\x37"), "\x6b\145\x79\x77\157\162\144\x31" => array("\166\x61\x6c\165\145" => "\346\x94\xaf\xe4\xbb\x98{$drawModel["\x70\141\x79\137\x6d\157\156\x65\x79"]}\xe5\x85\203\x20\344\275\x99\351\xa2\x9d{$drawModel["\x70\x61\x79\137\x73\171\163\x5f\x6d\157\156\x65\171"]}\xe5\205\x83", "\143\x6f\154\x6f\x72" => "\x23\61\x37\63\x31\67\x37"), "\x6b\x65\171\x77\x6f\x72\144\x32" => array("\x76\x61\x6c\165\x65" => $object["\x74\x69\164\x6c\x65"], "\143\157\154\157\x72" => "\x23\61\x37\63\x31\x37\x37"), "\x6b\x65\171\167\x6f\162\x64\x33" => array("\x76\x61\154\165\x65" => $drawModel["\x70\x61\x79\x5f\x6e\165\x6d\x62\x65\x72"], "\x63\157\x6c\157\x72" => "\43\61\x37\x33\61\x37\67"), "\x6b\145\171\167\x6f\x72\x64\64" => array("\x76\x61\154\x75\x65" => "\xe3\200\x90{$userModel["\x6e\151\x63\153\x6e\x61\155\x65"]}\343\200\x91" . $userModel["\x6d\x6f\x62\x69\x6c\145"], "\143\157\154\x6f\162" => "\x23\61\x37\63\61\x37\x37"), "\x72\x65\155\x61\x72\x6b" => array("\166\141\154\165\x65" => "\347\202\xb9\345\207\273\xe6\x9f\xa5\xe7\234\213\xe6\xba\257\346\xba\220\xe7\273\237\350\xae\241\xe6\x95\260\xe6\x8d\256", "\x63\157\x6c\x6f\x72" => "\43\x31\67\x33\61\67\x37")); goto fi1x5; BWTzA: $sms_tmp = pdo_get(ztk_table("\x74\155\x70\137\x73\155\163", false), array("\x69\144" => $sms_tmp_id)); goto wQhD5; AOvc2: $joinPayModel["\x6f\x70\x65\x6e\x69\144"] = $userModel["\x6f\160\x65\x6e\x69\x64"]; goto ArApm; j1MB7: if ($orderPayModel["\163\164\x61\x74\165\163"] == 0) { goto RSa9E; } goto fQXjm; yfffG: FtEeb: goto zn8Iz; KGpvL: if (empty($prizeList_rebate)) { goto zpz4G; } goto fN4uX; w0GUS: $template_id = ''; goto Sg41X; O7CEi: xMRfe: goto PwxcQ; NBlXn: if (!($pay_sys_money > 0)) { goto WrmJ1; } goto mhJKo; IEPYq: $mobile = $joinUserModel["\x6d\x6f\142\x69\x6c\145"]; goto QGleQ; j1yK0: $userMoneyRecharge["\x6d\157\156\x65\171"] = $orderPayModel["\160\x61\171\x5f\160\162\x69\143\x65"]; goto dFTIt; PfTxJ: $prizeModel["\163\x63\157\162\145"] = mt_rand($min, $max); goto iQPjj; W5T1D: $joinPayModel["\157\x72\151\x67\151\156\137\151\144"] = $origin_id; goto lLu1F; JRESO: pdo_update(ztk_table("\x75\x73\x65\x72\137\144\162\x61\167", false), $join_draw_data2, array("\x69\x64" => $draw_id)); goto KhZ27; btZvp: $object = pdo_fetch($sql, $objparams); goto QQgDh; pn3ju: EsrA9: goto tEF39; J9eCE: $pwd = $config["\163\155\x73\x5f\x6b\x65\x79"]; goto PNG1j; eu2Y9: $rid = get_rand($arr); goto FzVBN; l0Pqp: goto twcPX; goto Gou6j; V4S56: $origin_team_id = $originModel["\x74\145\141\155\137\151\x64"]; goto D3rvT; WzMJu: if (empty($object["\151\x73\137\142\x75\x79\137\144\162\141\x77"])) { goto jiqSG; } goto cHp5o; hDaXA: KT2Ww: goto T8PUM; s3uJ_: pdo_update(ztk_table("\155\141\162\153\145\164\151\156\x67\x5f\165\x73\145\162", false), array("\155\141\162\x6b\145\164\151\156\x67\x5f\156\165\155\x20\x2b\75" => 1), array("\151\x64" => $origin_id)); goto oc9SB; Y4gRF: $mobile = $join2UserModel["\x6d\157\x62\151\x6c\x65"]; goto tefAM; jrDav: $userDrawRecordModel["\x6f\142\x6a\x5f\164\x79\x70\145\163"] = $prizeModel["\157\x62\152\137\x74\x79\160\145\163"]; goto u5tEV; vVv7e: $userDrawRecordModel["\x75\x6e\151\141\143\x69\144"] = $prizeModel["\x75\x6e\151\x61\x63\151\144"]; goto l0yFz; OIoe5: zAAMZ: goto MLEe1; is5fE: $sms_tmp = pdo_get(ztk_table("\x74\x6d\x70\137\163\x6d\163", false), array("\x69\x64" => $sms_tmp_id)); goto wI9VI; qnOoH: $userDrawRecordModel["\x6f\x62\x6a\x5f\x69\144"] = $prizeModel["\x6f\x62\152\x5f\151\144"]; goto pnfUX; zZnBF: goto pYhdW; goto l4j2o; Zbbb6: pdo_update(ztk_table("\165\x73\145\x72\137\x64\162\x61\167", false), $code_draw_data, array("\151\x64" => $draw_id)); goto cXw6y; E5WAf: $template_id = ''; goto OTB56; mCU2T: $template_id = $object["\160\165\x73\x68\x5f\x74\155\x70"]; goto e31eB; jOsfA: if (empty($join_id)) { goto FiV8G; } goto h1RQk; XQ2sO: $content = str_replace("\173\116\x49\103\113\116\x41\115\x45\175", $joinUserModel["\156\151\x63\153\x6e\141\x6d\145"], $content); goto QVxwW; MLEe1: goto IgbWt; goto K1lE1; XwAQT: t2toq: goto YHlbg; Q3A1w: updateUserMoney($uniacid, $orderPayModel["\x6f\160\x65\156\x69\x64"], $orderPayModel["\x70\x61\x79\137\160\x72\x69\x63\x65"], $note, 4, $draw_data["\157\x62\152\137\x74\171\160\x65\163"], $draw_data["\x6f\x62\152\137\x69\144"]); goto N50A_; tGm_T: goto PCKcA; goto hHpIn; Pg2Pc: $userDrawRecordModel["\x6f\142\x6a\x5f\151\144"] = $prize2Model["\157\x62\x6a\x5f\x69\x64"]; goto FnlyI; K0T4c: ksczo: goto T2b2v; u9Xr_: pdo_update(ztk_table("\165\x73\145\162\x5f\x64\x72\141\x77", false), array("\x72\145\144" => $prizeModel["\x72\x65\144"], "\x73\x74\141\164\x75\163" => 1, "\165\160\x64\x61\164\x65\x74\x69\x6d\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto DaBrc; DRyBU: $draw_activity_model = pdo_get("\x6c\171\167\x79\167\x6c\x5f\172\164\153\137" . $tableName, array("\151\144" => $object["\x64\x72\x61\x77\x5f\x61\x63\164\x69\x76\x69\164\x79\137\151\x64"], "\165\x6e\x69\141\x63\x69\144" => $uniacid, "\155\157\144\145\x6c\x73" => 3)); goto Rhev4; uTKG3: if (!(intval($prizeModel["\x74\x79\160\x65\x73"]) == 9)) { goto AXN13; } goto p4PdY; e6ySG: $userDrawRecordModel["\162\x65\x6d\x61\162\153"] = "\350\265\xb6\345\xbf\253\345\x88\x86\xe4\272\253\347\273\231\346\202\xa8\xe7\232\204\xe5\245\275\xe5\x8f\213\344\270\200\350\265\267\351\242\206\347\xba\xa2\345\214\205\345\x90\247"; goto X5Ioc; zUwWy: pTltV: goto JNKWV; Jp9_v: KDtaa: goto hvZ0l; iokzv: $userDrawRecordModel["\x6d\157\156\145\171"] = $prizeModel["\162\x65\x64"]; goto r1_HM; knLY7: dUaGR: goto u2lzn; vvmDg: pdo_update(ztk_table("\x75\x73\145\x72\137\x63\x6f\154\x6c\141\147\145\x5f\152\x6f\151\156", false), array("\155\157\x6e\x65\171\x20\x2b\x3d" => floatval($prizeModel["\x72\145\144"])), array("\x69\144" => $joinModel["\151\x64"])); goto UpqCr; lnqVH: if (!(intval($prize2Model["\x74\x79\160\145\163"]) == 9)) { goto CJ3zn; } goto eRv5P; lm3CD: $object = pdo_fetch($sql, $objparams); goto vSPvh; ISf6f: if (!($config["\x6f\x72\x69\x67\151\x6e\160\165\163\x68\x5f\x74\155\160"] && !empty($origin_id))) { goto ksczo; } goto n8o1v; paxVS: if (!(!empty($orderIntmallModel) && !empty($mobiles))) { goto Vr1g7; } goto l_W9v; nV2z6: if (!(intval($prizeModel["\x63\162\x65\x61\164\x65\x5f\x74\x79\x70\145\163"]) == 1)) { goto j0B5d; } goto JWL3_; jDNRP: Ubnbz: goto LRV3O; Rkumv: pdo_insert(ztk_nopre_table("\x75\x73\x65\x72\137\x64\x72\x61\x77\137\162\145\x63\x6f\x72\144"), $userDrawRecordModel); goto u3urd; S_cv8: $userDrawRecordModel = array(); goto JyLo_; fvA1V: YLJ4M: goto hyEz9; ZrsB1: Jj18g: goto JPYt8; lsgzU: $joinPayModel["\x63\x72\145\141\164\145\x74\151\x6d\x65"] = TIMESTAMP; goto hTAdy; Njet9: $joinModel = pdo_get(ztk_nopre_table("\165\x73\x65\162\x5f\154\x61\x64\144\145\162\x5f\x6a\157\x69\156"), array("\165\x6e\x69\141\143\x69\144" => $uniacid, "\151\144" => $join_id)); goto G4SWd; otkG1: GW_Uf: goto LLNIY; GEcf7: list($min, $max) = explode("\x2d", $prizeModel["\x73\171\x73"]); goto f1ytZ; O3bcU: Upo0u: goto iFSKi; AFjCq: $userDrawRecordModel["\x75\160\x64\x61\x74\145\164\x69\155\x65"] = time(); goto bjv5A; mR_OQ: if (!($pay_sys_money > 0)) { goto Y4901; } goto p6IRe; GQ6nA: $mobile = $joinUserModel["\155\x6f\x62\x69\154\x65"]; goto zwgTo; iTirl: $noticeMessage = "\xe6\x81\xad\345\226\234\346\202\250\xef\274\214\xe8\216\267\345\276\227\350\277\224\xe5\x88\xa9\345\xa5\x96\xe5\x93\201\357\xbc\232" . $prizeModel["\x6e\141\x6d\x65"]; goto cT4uc; H_Wtd: $noticeMessage = "\346\x81\xad\xe5\x96\x9c\xe6\x82\250\xef\xbc\214\xe8\216\xb7\345\xbe\x97\350\264\xad\xe4\271\260\xe6\212\275\345\xa5\226\345\245\x96\xe5\x93\201\xef\xbc\x9a" . $prizeModel_rebate["\156\141\155\x65"]; goto fzXZ0; NG1Nn: goto WAcOt; goto gntPr; OUuM1: cY1pK: goto LZUI5; k1GuJ: YYQfc: goto OBQta; uNCM2: $obj_token = $objarr[0]; goto nXsr1; gW4LW: pdo_update(ztk_table("\x75\x73\x65\162\137\x63\x75\x74\137\152\x6f\x69\x6e", false), array("\x6d\x6f\x6e\x65\171\40\x2b\x3d" => floatval($prizeModel["\x73\x79\x73"])), array("\151\x64" => $joinModel["\151\144"])); goto Jnewd; LC5BR: $pay_types = $objarr[3]; goto mN_lo; IMlTQ: $sn = $config["\163\155\x73\x5f\x75\x69\144"]; goto fI2Pw; bdg9q: $userDrawRecordModel["\157\142\x6a\137\164\171\x70\145\163"] = $prizeModel["\x6f\142\152\137\x74\x79\160\145\x73"]; goto CYeWj; xKpdw: $param = ["\x6e\141\155\145" => $joinUserModel["\156\x69\x63\x6b\x6e\141\x6d\145"], "\x6f\142\152" => mb_substr($object["\164\151\x74\x6c\145"], 0, 20, "\x75\164\x66\x2d\70"), "\x70\x72\151\x7a\x65" => $prizeModel["\156\141\x6d\x65"], "\x63\x6f\x64\145" => $writecode]; goto uQg2j; GPWHl: $userDrawRecordModel["\x6f\142\x6a\x5f\x74\171\160\145\163"] = $prizeModel_rebate["\157\142\152\137\164\x79\x70\145\x73"]; goto aAJFG; U2HT3: if (!isSiteFollow($originModel["\157\x70\x65\156\151\144"])) { goto fnzVM; } goto iEGig; c8VFB: $sms_tmp_id = $prizeModel["\163\155\x73\x5f\164\155\x70\137\151\x64"]; goto Dp5sH; z2TZ8: pdo_update(ztk_table("\165\x73\x65\x72\137\x75\156\151\157\x6e\x5f\152\x6f\x69\156", false), array("\155\x6f\156\145\x79\x20\53\x3d" => floatval($prize2Model["\x72\x65\x64"])), array("\x69\x64" => $join2Model["\151\144"])); goto Vhuck; IL8Ss: $prizeModel = $prizeList[$rid]; goto UslxD; cvL0s: $join2UserModel = pdo_get(ztk_nopre_table("\165\163\x65\x72\x5f\141\143\x63\x6f\165\x6e\164"), array("\x75\156\x69\x61\143\151\x64" => $uniacid, "\157\x70\x65\156\151\x64" => $join2Model["\x6f\160\145\156\151\x64"])); goto s2DEw; qoA6X: oQxYI: goto Jb4za; bbRue: goto xVWXv; goto IWfn_; bfior: $noticeMessage = "\xe6\201\xad\345\x96\234\xe6\x82\xa8\xef\274\x8c\350\x8e\267\xe5\276\x97\350\277\224\345\x88\251\345\xa5\x96\345\x93\x81\xe2\x80\x9c{$prizeModel["\x6e\x61\155\145"]}\342\x80\235\350\x8e\xb7\345\xbe\x97\xe4\xbd\x99\351\xa2\235\xe5\xa5\226\345\x8a\261\357\xbc\232{$prizeModel["\x73\171\163"]}\345\x85\203"; goto yKH3G; R6Gmn: $postdata = array("\146\151\162\163\164" => array("\166\141\154\165\x65" => "\346\x82\xa8\xe5\xa5\275\357\xbc\x8c\xe6\x82\xa8\345\267\262\xe8\xb4\xad\xe4\271\260\346\x88\x90\345\x8a\x9f\343\200\x82", "\x63\157\x6c\157\162" => "\43\x31\x37\63\x31\67\x37"), "\x6b\145\x79\x77\x6f\x72\x64\x31" => array("\166\x61\154\165\x65" => $object["\164\x69\x74\x6c\145"], "\x63\157\x6c\x6f\x72" => "\43\x31\x37\x33\61\67\67"), "\153\145\x79\x77\x6f\x72\x64\62" => array("\x76\x61\x6c\x75\145" => $drawModel["\x70\x61\171\x5f\x6e\165\155\142\145\x72"], "\143\x6f\x6c\157\162" => "\43\61\x37\63\61\67\x37"), "\153\145\171\167\157\162\144\x33" => array("\x76\141\154\165\145" => "\xe6\224\257\xe4\273\230{$drawModel["\x70\141\171\x5f\155\157\156\x65\x79"]}\345\x85\x83\40\344\275\231\xe9\242\235{$drawModel["\x70\141\171\x5f\x73\x79\x73\137\155\157\x6e\145\x79"]}\345\205\x83", "\143\157\154\157\x72" => "\x23\61\x37\x33\61\x37\x37"), "\x6b\x65\171\167\x6f\x72\144\64" => array("\166\x61\x6c\165\145" => date("\x59\x2d\x6d\55\144\x20\110\x3a\x69\72\163", time()), "\143\x6f\x6c\157\162" => "\x23\61\x37\63\61\x37\67"), "\162\145\x6d\x61\162\153" => array("\166\x61\x6c\x75\x65" => "\xe6\x84\x9f\xe8\xb0\242\xe6\202\xa8\347\x9a\204\xe5\x85\211\344\270\264\357\xbc\201", "\143\x6f\154\x6f\162" => "\x23\61\x37\x33\61\67\x37")); goto w0GUS; Cbchi: $content = $content . "\40\xe3\200\x90" . $sms_tmp["\x73\151\x67\156"] . "\xe3\x80\x91"; goto QSzTL; vSPvh: $is_the_right_pattern = getJudgeModeVirtuality($object["\155\x6f\x64\145\154\x73"], $object["\151\163\137\x66\145\x64\x65\170"]); goto kSfrb; A14gK: RuOOs: goto fs5bH; pk7Wa: wDh4B: goto eCWub; cHp5o: $tableName = $permission_data[$object["\144\162\x61\x77\x5f\x61\143\164\151\166\151\164\171\x5f\164\171\160\145"]]; goto DRyBU; RMx_J: $param = ["\x6e\x61\155\x65" => $joinUserModel["\156\151\x63\153\156\x61\x6d\x65"], "\157\x62\152" => mb_substr($object["\x74\151\164\154\x65"], 0, 20, "\165\164\146\x2d\70"), "\x70\x72\x69\x7a\145" => $prizeModel["\156\141\155\x65"], "\x63\x6f\144\x65" => $writecode]; goto CIsoC; WWW05: pdo_update(ztk_table("\165\x73\145\x72\x5f\x64\162\141\x77", false), array("\163\x63\157\x72\145" => $prizeModel_rebate["\163\x63\x6f\x72\x65"], "\x73\164\141\164\x75\163" => 1, "\x75\160\144\141\x74\145\164\151\155\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto GFVH5; mErqf: $config = $this->module["\143\x6f\x6e\146\151\x67"]["\x7a\164\x6b"]; goto MFQrv; CGp5O: $userDrawRecordModel["\x75\x70\144\141\164\x65\x74\x69\x6d\145"] = time(); goto FvQY6; GfUU6: $originModel = pdo_get("\x6c\171\x77\x79\167\x6c\137\x7a\x74\x6b\137\x6d\x61\162\153\145\x74\x69\x6e\x67\x5f\x75\x73\145\162", array("\151\x64" => $orderPayModel["\x6f\x72\x69\147\151\156\137\151\144"], "\x6f\142\x6a\x5f\151\x64" => $object["\151\x64"], "\x6f\142\152\x5f\x74\171\160\x65\163" => $obj_types, "\165\x6e\151\141\143\151\144" => $uniacid)); goto FmLWl; A4iwA: goto B5nGB; goto T5cLf; FGOXg: if (!(intval($prizeModel["\x74\171\x70\145\163"]) == 9)) { goto ZiFnO; } goto S6d2e; FxeXu: HSZ8t: goto pqD18; NcKrD: pdo_update(ztk_table("\165\x73\x65\162\137\141\x63\143\157\x75\156\164", false), array("\143\141\162\144\x5f\x6e\165\x6d\x20\x2b\75" => 1), array("\x6f\x70\145\x6e\151\x64" => $joinUserModel["\157\160\x65\x6e\x69\x64"])); goto aSN_k; QcnQE: pdo_update(ztk_table("\x70\x72\151\172\x65\x5f\x76\151\162\164\x75\x61\154\137\x64\141\164\x61", false), $virtualModel, array("\151\x64" => $virtualModel["\x69\144"])); goto vwxnw; G5NgH: $draw2Model = pdo_get(ztk_nopre_table("\165\163\145\162\x5f\x64\162\x61\167"), array("\x75\x6e\151\x61\x63\151\x64" => $uniacid, "\x6f\142\x6a\x5f\x69\x64" => $object["\x69\144"], "\157\142\x6a\137\x74\171\x70\145\x73" => $obj_types, "\x70\x61\171\x5f\157\160\145\x6e\151\144" => $joinModel["\157\160\145\x6e\151\x64"], "\x6f\x72\137\162\x65\142\x61\x74\x65\x32" => 0, "\x74\x79\x70\x65\163" => array(1, 2, 3, 4, 5, 6, 7, 9))); goto klL9y; T3nON: if (empty($sms_tmp)) { goto NcR6D; } goto QTds8; F1ycM: if (empty($originModel)) { goto oGA_a; } goto s3uJ_; Xt0lX: $noticeMessage = "\346\x81\xad\xe5\x96\234\xe6\202\250\357\xbc\x8c\350\216\267\xe5\276\x97\xe8\xbf\x94\345\x88\251\xe5\xa5\226\345\223\x81\xef\xbc\x9a" . $prize2Model["\156\141\155\145"]; goto HVsOy; bilXT: $noticeMessage = "\xe6\201\255\345\226\234\346\x82\250\357\274\214\xe8\216\267\345\276\227\350\277\x94\xe5\x88\xa9\345\245\226\xe5\x93\201\xef\xbc\232" . $prizeModel["\x6e\x61\x6d\x65"]; goto SHLGM; OTB56: if (empty($object["\x62\x75\x79\137\160\x75\x73\x68\137\x74\x6d\x70"])) { goto i5eyX; } goto C4FHk; NLyam: $sms_tmp = pdo_get(ztk_table("\x74\x6d\x70\137\x73\x6d\x73", false), array("\151\144" => $sms_tmp_id)); goto xb619; GdsrG: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto z9CBn; PSu1a: $userDrawRecordModel["\157\142\x6a\137\x69\x64"] = $prizeModel["\157\142\x6a\x5f\x69\x64"]; goto TJjCV; nqjq_: $noticeMessage = "\346\201\xad\345\226\x9c\xe6\x82\xa8\xef\274\x8c\350\216\267\345\276\227\350\277\x94\345\x88\xa9\345\xa5\226\xe5\223\x81\xe2\x80\x9c{$prizeModel["\x6e\141\x6d\x65"]}\xe2\x80\x9d\350\x8e\xb7\345\xbe\x97\xe5\xbe\256\xe4\277\xa1\351\x9b\xb6\351\222\xb1\357\xbc\x9a{$prizeModel["\x77\141\x6c\x6c\145\x74"]}\345\x85\203\xef\xbc\x8c\xe8\257\267\xe5\x88\xb0\346\x82\xa8\347\x9a\204\xe5\276\xae\344\277\241\xe9\x92\xb1\345\214\x85\xe6\x9f\xa5\xe7\x9c\x8b\xe3\x80\202"; goto mj0qC; eN3sb: $ali_accesskeyid = $config["\x61\154\x69\137\141\143\143\145\163\x73\x6b\x65\171\x69\144"]; goto zFWWI; f2o4t: $noticeMessage = "\xe6\x81\xad\xe5\x96\x9c\xe6\202\250\xef\274\214\xe8\216\267\xe5\276\227\350\xbf\x94\xe5\x88\251\345\xa5\x96\xe5\223\201\342\x80\234{$prizeModel["\156\141\155\145"]}\xe2\200\x9d\xe8\x8e\267\345\276\227\347\xa7\xaf\xe5\210\x86\xe5\xa5\226\xe5\x8a\261\xef\xbc\232{$prizeModel["\163\x63\157\x72\x65"]}\345\210\x86"; goto eplIt; j9vq2: $sql = "\123\x45\114\x45\103\x54\x20\x2a\40\106\122\117\x4d\40" . tablename("\154\171\x77\x79\x77\154\137\x7a\164\153\137\x6f\x62\152\x5f\x6c\x61\x64\x64\145\x72") . "\40\x57\x48\x45\122\105\x20\x74\x6f\x6b\x65\x6e\40\x3d\x20\x3a\x74\x6f\153\145\156\40\x41\x4e\x44\x20\165\156\x69\141\143\151\144\x20\75\40\72\165\x6e\151\141\143\151\144"; goto SNtM0; p_vj8: $mobile = $joinUserModel["\155\157\x62\x69\x6c\145"]; goto IB1rh; GELan: c9ddR: goto Ra5h3; wybCQ: if (empty($orderPayModel["\157\162\151\147\151\156\x5f\151\144"])) { goto SJmW3; } goto DPou_; sfL6k: $userDrawRecordModel["\x74\171\160\x65\163"] = 2; goto HwPSl; Gsx94: goto Hk2JW; goto UEr1t; lcIuu: $sms_tmp = pdo_get(ztk_table("\164\155\x70\x5f\163\x6d\x73", false), array("\x69\144" => $sms_tmp_id)); goto cQlKB; LZCCe: EJnVG: goto VsuQx; I9Njy: $pay_types = $objarr[3]; goto jLTKD; hlmtV: $join_draw_data["\145\156\x64\137\164\x69\x6d\145"] = $prizeModel["\x74\x69\x6d\145\x5f\145\x6e\x64"]; goto blZ1G; q3opB: $result = pdo_insert(ztk_table("\165\x73\x65\162\x5f\x64\162\x61\167", false), $join_draw_data); goto tmsc2; pd_sw: $mobile = $userModel["\155\x6f\x62\151\154\x65"]; goto sL8Ks; NJOBZ: $content = str_replace("\173\127\122\111\124\x45\x4f\x46\106\103\117\x44\x45\175", $writecode, $content); goto csAOr; m_TVK: goto wP8Gg; goto cuo4s; D4yXS: $sms_tmp_id = $object["\x73\155\163\137\x74\x6d\160\x5f\x69\x64"]; goto Cd6EG; rJniR: ouqAe: goto hYChZ; RHfUo: pdo_update(ztk_table("\x75\x73\145\162\137\x64\162\141\167", false), array("\x73\x63\157\162\145" => $prizeModel["\163\143\x6f\x72\x65"], "\x73\x74\141\x74\x75\163" => 1, "\x75\x70\x64\141\164\145\164\151\155\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto aFZtx; dLK65: goto zlPUu; goto j97Vl; UfP9r: $orderIntmallModel["\x73\164\141\x74\165\163"] = 2; goto l2yYz; MPykK: if (empty($sms_tmp)) { goto V0nvD; } goto SYNqi; lYeip: $userDrawRecordModel["\162\x65\x6d\x61\162\153"] = "\xe8\xb5\xb6\345\277\253\xe5\x88\206\344\272\xab\xe7\273\x99\346\202\xa8\xe7\x9a\204\345\xa5\275\xe5\217\x8b\344\xb8\x80\350\xb5\xb7\xe9\xa2\x86\xe7\272\xa2\345\x8c\x85\345\x90\xa7"; goto WtQLD; Yuee4: goto ySDFg; goto mXSuN; tqm6m: $sign = $sms_tmp["\163\x69\147\156"]; goto UUzti; R5lIZ: VcNKv: goto P9icw; bJHDd: if (empty($draw2Model)) { goto sjhMm; } goto gvMhZ; ZGUm3: YyLd9: goto WGXvD; dTz8S: if (intval($sms_tmp["\x74\171\x70\145\163"]) == 0) { goto aYrLg; } goto T82LB; br33d: $userDrawRecordModel["\x63\x72\145\141\164\145\x74\x69\x6d\145"] = time(); goto Iag37; pOJHd: goto sThX6; goto CCvRL; ry9Ub: $mobile = $joinUserModel["\155\x6f\x62\151\x6c\145"]; goto xC10k; a4evU: $note = "\xe5\217\202\xe4\270\x8e\xe6\264\xbb\xe5\x8a\xa8\357\xbc\x9a" . date("\x59\55\155\x2d\144\40\x48\72\x69\x3a\x73", TIMESTAMP) . "\x20\344\274\232\345\221\x98\xe3\x80\x90" . $userModel["\156\151\143\x6b\156\x61\x6d\x65"] . "\343\x80\x91\xe5\x8f\202\xe4\xb8\216\xe6\xb4\273\345\x8a\xa8\357\274\x9a" . $object["\x74\x69\x74\x6c\145"] . "\357\xbc\214\344\xbd\231\xe9\xa2\235\xe6\x94\xaf\344\xbb\x98\xef\xbc\232" . $pay_sys_money . "\xe5\205\203"; goto qhQHc; dfH5C: if (!($pid == 0)) { goto bYVHA; } goto qd28U; p4cbu: $pwd = $config("\163\x6d\163\137\153\x65\x79"); goto oWQJs; spH5p: y76fX: goto INNBY; tY78k: $prize2Model["\163\x79\163"] = mt_rand($min * 100, $max * 100) / 100; goto KSNIU; DYtY9: pdo_update(ztk_table("\x6d\141\x72\153\x65\x74\151\156\147\x5f\165\x73\145\x72", false), array("\x67\145\x74\137\156\x75\x6d\40\x2b\x3d" => 1), array("\151\x64" => $origin_id)); goto XP9hj; ghO1E: $userDrawRecordModel["\x64\x65\x73\x63"] = $prizeModel["\156\x61\x6d\x65"]; goto YkxTz; CdWbj: sendSiteTplNotice($uniacid, $joinUserModel["\x6f\x70\x65\156\x69\x64"], $postdata, $template_id, $url); goto m16uP; wstWy: fXSmn: goto S2j3R; QoXLz: $userDrawRecordModel["\x75\160\x64\141\x74\x65\x74\151\x6d\145"] = time(); goto OQAAX; J3f0N: $userMoneyRecharge["\x6f\x72\x64\x65\162\137\156\x75\155\x62\145\x72"] = $orderPayModel["\160\x61\x79\137\156\x75\x6d\142\145\162"]; goto CzGLn; CDoCE: PPeTV: goto vUyjM; t8UzI: tL1A6: goto Pai_T; x33vh: Ary8P: goto hNj2j; ETmIk: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto KCn9D; vmI12: VlseK: goto a3MHr; N0OG2: sTxVE: goto aVL6L; syHix: $userDrawRecordModel["\141\143\164\137\156\141\x6d\145"] = "\xe7\xbb\x8f\345\205\270\xe6\x8b\274\xe5\233\242\346\264\273\xe5\212\xa8"; goto e6ySG; GbZB5: sT0n2: goto Ukjs3; JuH1H: pdo_insert(ztk_nopre_table("\165\163\145\162\x5f\x6d\x6f\x6e\145\171\137\162\x65\143\x68\x61\162\147\145"), $userMoneyRecharge); goto AkeSE; Py6lo: FTxST: goto HAzCB; TMs_J: i20lb: goto dXQhj; EPqLE: pdo_update(ztk_table("\165\163\145\x72\137\144\162\x61\167", false), array("\x77\x61\x6c\154\145\x74" => $prizeModel["\x77\141\154\154\x65\x74"], "\x73\x74\x61\164\x75\x73" => 1, "\165\x70\144\141\164\x65\164\151\x6d\145" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto ou6kB; bxb16: $userMoneyRecharge = array(); goto Lsgp7; vGMF5: NhoaR: goto gDYdr; i3xv4: $objparams = array("\x3a\164\157\x6b\x65\x6e" => $objarr[0], "\x3a\x75\156\151\x61\x63\x69\144" => $uniacid); goto vvITu; YT128: $writeoff_types = 1; goto HH7Ch; Jihde: $content = str_replace("\173\127\x52\111\124\105\x4f\106\106\x43\117\x44\x45\x7d", $writecode, $content); goto xHBC4; DjbV9: $virtualModel = pdo_get(ztk_table("\160\162\x69\x7a\x65\x5f\x76\x69\x72\164\165\141\154\x5f\144\141\164\x61", false), array("\x76\x69\162\164\x75\141\x6c\137\x69\x64" => $prizeModel["\x76\151\162\164\x75\141\x6c\137\151\x64"], "\163\x74\x61\164\165\x73" => 1)); goto V2Yn0; Eeupu: $join_draw_data["\145\156\144\137\x74\151\155\145"] = $prizeModel["\164\x69\155\145\x5f\144\141\171"] * 24 * 60 * 60 + time(); goto olIlm; NBne2: $tableName = $permission_data[$object["\x64\162\x61\x77\x5f\141\143\164\x69\166\x69\x74\x79\137\x74\171\x70\145"]]; goto fAg7U; jXBAD: YOq4M: goto fc3Tk; jvRa1: if (!($prize2Model["\164\x79\x70\145\x73"] == 6)) { goto zosGJ; } goto N1n7r; hwoCY: $result = sendSiteWeixinRedPacket($join2UserModel["\x6f\x70\x65\x6e\151\144"], floatval($prize2Model["\162\x65\144"]) * 100, "\346\201\xad\xe5\x96\234\xe5\x8f\221\xe8\264\xa2\40\xe5\xa4\xa7\345\220\x89\345\xa4\247\345\x88\251\xef\xbc\x81", "\350\201\224\347\233\x9f\xe6\213\x93\xe5\xae\242\346\xb4\273\345\x8a\xa8", "\xe8\xb5\xb6\xe5\xbf\253\345\x88\x86\344\xba\xab\347\273\x99\xe6\202\xa8\347\232\x84\xe5\245\275\345\217\213\344\xb8\200\350\265\xb7\xe9\xa2\206\347\272\xa2\xe5\x8c\x85\345\220\247", $config["\x70\157\167\145\162"], true, $uniacid, $config); goto UGLCv; QQrhP: Mn520: goto zA8qC; X33EL: $join_draw_data["\x65\x6e\144\137\x74\x69\155\145"] = 0; goto kUBj6; DL6YF: pdo_update(ztk_table("\165\163\145\162\x5f\144\162\141\167", false), $join_draw_data, array("\x69\144" => $draw_id)); goto DFqv1; vW9nQ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto l0Pqp; fImNu: $encode_id = $hashids->encode($draw_id); goto x7XPD; zB388: $userDrawRecordModel = array(); goto pXZeP; P2ZyQ: if (empty($result)) { goto g0Ld9; } goto q9nK5; LoMxQ: AT0e6: goto t5vuG; THe8j: $content = str_replace("\173\x4f\102\x4a\175", $object["\x74\151\x74\154\x65"], $content); goto geAAb; Iag37: pdo_insert(ztk_nopre_table("\x75\163\145\x72\x5f\x64\162\141\x77\x5f\x72\x65\143\157\x72\144"), $userDrawRecordModel); goto pSg17; Clhy5: $userDrawRecordModel["\x6f\x70\145\156\151\144"] = $join2UserModel["\157\160\x65\x6e\x69\x64"]; goto MZ4cu; xN2KF: iuY1u: goto tkyxu; j654I: WaJ1g: goto VQRzd; vi2v4: pdo_update(ztk_table("\165\163\x65\x72\137\x64\x72\x61\x77", false), array("\x77\x61\x6c\154\145\x74" => $prizeModel["\x77\x61\154\x6c\145\164"], "\163\x74\141\x74\x75\x73" => 1, "\165\160\x64\x61\x74\145\x74\x69\x6d\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto K_T4M; YRmad: $noticeMessage = ''; goto aZC7r; j8Jfz: Oe4SL: goto sSqgc; OB2Xq: $result = sendSiteWeixinMchPay($joinUserModel["\x6f\x70\145\156\151\144"], $prizeModel["\x77\x61\154\x6c\x65\x74"] * 100, $prizeModel["\x6e\x61\155\x65"], true, $uniacid, $config); goto cgW9U; M3cBr: $virtualModel = pdo_get(ztk_table("\160\162\x69\x7a\145\x5f\x76\151\x72\164\x75\141\154\137\x64\141\x74\x61", false), array("\166\x69\162\x74\x75\x61\x6c\x5f\x69\x64" => $prizeModel["\166\151\x72\164\x75\141\x6c\137\151\x64"], "\x73\x74\x61\x74\165\x73" => 1)); goto eW7YD; eGHTA: $content = str_replace("\x7b\x57\x52\x49\124\x45\117\106\106\x43\x4f\104\x45\x7d", $writecode, $content); goto UIWHc; BTksj: XwNPx: goto f8sDa; aI94M: IllX9: goto s097O; UL3F2: $userDrawRecordModel["\165\x70\x64\141\x74\145\x74\151\155\145"] = time(); goto TXr2t; LKoMQ: HkJ0D: goto kjEHN; QFaxu: pdo_update(ztk_table("\x75\x73\145\x72\137\x75\x6e\x69\x6f\156\137\152\157\151\156", false), array("\x69\156\166\x69\164\x65\x20\53\x3d" => 1), array("\x69\144" => $join_id)); goto KR7K0; YSuqy: ZOanL: goto sV5db; nKw9f: Mgs9c: goto PbSER; I_RE7: $content = str_replace("\x7b\x50\x52\x49\132\105\175", $prize2Model["\x6e\141\x6d\x65"], $content); goto vtQ83; GW4u1: goto wDh4B; goto BS8DH; xB6yd: pdo_update(ztk_table("\x6f\x62\152\137\143\157\x6c\x6c\141\x67\145", false), array("\147\x65\164\x5f\x6e\165\x6d\40\x2b\x3d" => 1), array("\151\144" => $object["\151\144"])); goto TY0yF; tQyUY: $virtualModel = pdo_get(ztk_table("\x70\162\151\172\x65\137\x76\151\162\164\x75\141\154\137\x64\x61\164\x61", false), array("\166\x69\x72\x74\165\141\x6c\137\x69\144" => $prizeModel_rebate["\x76\151\x72\164\x75\141\154\137\x69\144"], "\163\x74\141\164\x75\x73" => 1)); goto Az0dW; etCzU: $sql = "\x53\x45\x4c\105\x43\124\40\52\40\x46\122\x4f\115\40" . tablename("\x6c\171\167\171\167\x6c\137\x7a\164\153\137\x6f\x62\152\x5f\143\x75\164") . "\x20\x57\x48\x45\122\x45\x20\x74\157\153\x65\156\x20\75\40\x3a\164\x6f\x6b\x65\x6e\40\x41\116\x44\40\165\156\151\141\x63\151\x64\x20\75\x20\72\165\156\151\141\x63\x69\144"; goto i3xv4; fLkfF: $prizeModel["\x77\x61\154\154\x65\164"] = mt_rand($min * 100, $max * 100) / 100; goto J4O_d; x4dcW: $note = "\xe5\x85\221\xe6\215\xa2\345\225\206\xe5\223\201\xef\xbc\232" . date("\x59\x2d\x6d\x2d\144\x20\x48\72\x69\x3a\x73", TIMESTAMP) . "\40\344\274\x9a\345\221\x98\343\x80\220" . $userModel["\156\x69\x63\153\x6e\141\x6d\145"] . "\xe3\x80\x91\345\x85\x91\346\215\xa2\345\225\x86\xe5\x93\x81\xef\xbc\232" . $orderIntmallModel["\160\162\157\x64\165\x63\x74\x5f\x74\x69\164\x6c\x65"] . "\xef\xbc\214\345\x85\205\xe5\x80\xbc\xe9\x87\x91\xe9\xa2\x9d\xef\274\232" . floatval($orderIntmallModel["\160\x61\171\137\x70\162\x69\x63\145"]) . "\345\205\203"; goto bvVIX; OPrq6: $pwd = $config["\x73\155\x73\x5f\153\x65\x79"]; goto AIC19; FK5Cp: aXNjR: goto O74cs; eKOvo: $encode_id = $hashids->encode($draw_id); goto rJzEQ; ANuD7: if (intval($sms_tmp["\164\x79\x70\x65\x73"]) == 0) { goto rb2mZ; } goto Bc33M; sHYrJ: if (intval($prizeModel["\x74\171\160\145\163"]) == 2) { goto tk3jC; } goto Q2pXc; Q1rDS: $virtualModel["\x73\x74\141\164\x75\x73"] = 0; goto Gw7LS; ANxJA: $sn = $config["\x73\x6d\x73\137\x75\x69\144"]; goto R36t9; HAoMT: $hashids = Hashids::instance(6, "\154\171\x77\x79\x7a\164\153", ''); goto PtlNY; IPEHc: $param = ["\x6e\141\x6d\145" => $join2UserModel["\x6e\151\143\x6b\x6e\141\155\145"], "\x6f\142\152" => mb_substr($object["\x74\151\164\154\145"], 0, 20, "\165\164\x66\55\70"), "\x70\x72\151\x7a\x65" => $prize2Model["\156\141\155\x65"], "\x63\x6f\144\145" => $writecode]; goto O3WKh; EI8C6: if (empty($sms_tmp)) { goto CnT0C; } goto O3ZS3; yECZv: if (!isSiteFollow($userModel["\x6f\160\145\x6e\151\x64"])) { goto cNafp; } goto hjusu; ZUeEX: $mobile = $userModel["\155\x6f\x62\151\x6c\145"]; goto TGEki; zEdL4: if (empty($prizeList)) { goto bwojX; } goto ku1WK; AjsKX: $content = $content . "\40\xe3\200\220" . $sms_tmp["\163\x69\147\x6e"] . "\xe3\x80\x91"; goto oSmln; QKkux: $joinPayModel["\157\x70\x65\x6e\151\144"] = $orderPayModel["\x6f\160\145\x6e\x69\144"]; goto m35_2; yOXAr: pdo_update(ztk_table("\165\163\x65\162\x5f\x64\162\141\167", false), array("\x63\165\x73\164\157\x6d\137\165\162\x6c" => $prizeModel_rebate["\x63\165\163\164\157\155\137\x75\162\x6c"], "\163\164\x61\x74\x75\x73" => 1, "\165\160\x64\141\x74\x65\164\151\x6d\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto oE1aH; bYHWS: pdo_update(ztk_nopre_table("\x75\x73\145\162\x5f\154\141\x64\144\x65\162\137\152\157\151\156"), array("\x73\x74\x61\164\x75\163" => 1), array("\160\151\x64" => $pid)); goto k4M5Q; Ge6yI: $template_id = $config["\157\162\151\147\x69\x6e\x70\x75\163\150\137\x74\155\x70"]; goto c4gTO; PwZFT: $register_data = $orderPayModel["\156\157\164\x65"]; goto om3fE; YHE7J: o2HPJ: goto pgBYR; wY5Uf: qDK_3: goto I5NHa; D_Ko2: $userDrawRecordModel["\165\160\144\x61\164\145\164\151\x6d\x65"] = time(); goto IHvMk; w0HL3: if (!($joinModel["\157\x70\x65\156\x69\x64"] != $orderPayModel["\157\x70\x65\x6e\x69\144"])) { goto O0gTC; } goto F70T5; lduxQ: pdo_update(ztk_table("\165\x73\x65\x72\137\x64\x72\141\x77", false), array("\x63\165\163\164\x6f\x6d\137\165\x72\x6c" => $prizeModel["\x63\165\x73\x74\157\155\x5f\x75\162\x6c"], "\x73\164\x61\x74\165\x73" => 1, "\165\x70\144\141\x74\145\164\x69\155\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto Xu8ww; OIeo3: $origin_id = $orderPayModel["\157\162\x69\147\x69\x6e\x5f\x69\144"]; goto uACF5; QTds8: if (!(!empty($joinUserModel) && !empty($joinUserModel["\x6d\x6f\142\151\154\145"]))) { goto jb5WY; } goto PHqY7; k0SUh: $template_id = $object["\x70\x75\163\150\x5f\x74\155\160"]; goto xMRph; ZBYH3: GGWXE: goto Rc_G3; RVwKD: RLQQ3: goto IMlTQ; a9U8F: if (empty($virtualModel)) { goto b0Gln; } goto sjyua; iQyVn: goto iXKro; goto bPBOt; a83ul: $userDrawRecordModel["\x77\x69\x73\150\x69\156\x67"] = "\xe6\201\255\345\226\234\345\217\x91\350\264\242\x20\345\xa4\xa7\xe5\x90\x89\345\xa4\xa7\xe5\210\xa9\xef\xbc\201"; goto NHmAB; TjQb6: $userDrawRecordModel["\163\164\141\x74\x75\x73"] = $result === true ? 1 : 0; goto w2Nb_; uhSMl: if (intval($prizeModel["\x74\x79\x70\x65\x73"]) == 1) { goto LAPsB; } goto Fki2b; AkdOr: $pwd = $config["\163\x6d\x73\x5f\153\145\171"]; goto W8W7e; cnstj: qOHuK: goto BsRZj; s1bh4: foreach ($prize2List as $key => $val) { goto ccG21; ee7b9: goto Dj3ny; goto FV0Or; gB0uo: if (!(intval($val["\x6c\x69\155\151\x74\137\164\x79\x70\x65\163"]) == 0 && intval($val["\x6c\x69\x6d\x69\x74\x5f\x6e\165\155"]) > 0)) { goto qrhSJ; } goto jhp26; jhp26: $count = pdo_getcolumn(ztk_table("\165\x73\x65\x72\x5f\x64\162\x61\167", false), array("\160\162\151\x7a\145\137\x69\144" => $val["\151\x64"], "\157\160\x65\156\x69\x64" => $join2UserModel["\x6f\160\x65\156\x69\x64"]), "\143\157\x75\156\x74\x28\x2a\51"); goto NaOM8; NaOM8: if (!($count >= intval($val["\x6c\151\x6d\151\x74\137\156\165\155"]))) { goto irLzs; } goto ee7b9; vgCtO: $count = pdo_fetchcolumn("\x53\x45\x4c\105\103\x54\x20\103\x4f\125\x4e\x54\x28\x2a\x29\40\106\122\117\x4d\40" . ztk_table("\165\x73\x65\162\137\144\x72\141\167") . "\x20\x57\x48\x45\x52\x45\40\40\160\x72\151\172\x65\x5f\151\x64\x20\75\40\72\160\x72\x69\x7a\145\137\x69\x64\40\x41\x4e\104\40\157\x70\x65\156\151\x64\x20\75\40\72\x6f\x70\x65\x6e\151\x64\x20\x41\116\x44\x20\106\x52\x4f\x4d\137\125\x4e\111\x58\x54\x49\115\105\x28\x63\162\x65\x61\164\x65\x74\x69\155\x65\x2c\40\x27\x25\x59\45\155\x25\144\47\x29\40\x3d\x20\104\x41\x54\105\x5f\x46\117\x52\115\101\124\50\x4e\x4f\127\x28\51\x2c\47\45\x59\45\155\45\144\47\51", array("\72\x70\162\x69\172\145\137\151\x64" => $val["\x69\144"], "\72\157\160\145\156\x69\144" => $join2UserModel["\157\x70\145\156\151\144"])); goto sK4Xu; l7p4N: avEax: goto faEs_; FV0Or: irLzs: goto qvpxB; tG2z0: Dj3ny: goto k7qvw; sK4Xu: if (!($count >= intval($val["\154\151\155\x69\164\x5f\x6e\165\155"]))) { goto IEJ2O; } goto kocsv; ccG21: if (!(intval($val["\157\144\144\x73"]) == 0)) { goto H50La; } goto PTUyf; D6tcx: H50La: goto gB0uo; eR8GT: IEJ2O: goto l7p4N; qvpxB: qrhSJ: goto pM3vm; pM3vm: if (!(intval($val["\154\151\x6d\x69\164\x5f\164\171\160\x65\163"]) == 1 && intval($val["\154\x69\155\x69\164\137\x6e\x75\155"]) > 0)) { goto avEax; } goto vgCtO; kocsv: goto Dj3ny; goto eR8GT; faEs_: $arr2[$key] = $val["\x6f\144\144\x73"]; goto tG2z0; PTUyf: goto Dj3ny; goto D6tcx; k7qvw: } goto MGZZA; LWjeu: if ($prizeModel["\x74\x69\155\x65\137\x74\171\x70\x65\163"] == 1) { goto pGsao; } goto dqPPB; FLa6j: dphec: goto Gsx94; bMFIG: HNY7J: goto Io8uM; hHT70: if ($prizeModel["\x74\151\x6d\145\x5f\x74\x79\x70\x65\163"] == 1) { goto WaJ1g; } goto Op3ob; Cf7sr: $ali_accesskeyid = $config["\x61\x6c\151\x5f\141\x63\x63\x65\163\x73\x6b\145\171\151\144"]; goto cR6S0; KR7K0: $joinUserModel = pdo_get(ztk_nopre_table("\165\163\x65\162\x5f\141\143\143\x6f\x75\x6e\x74"), array("\165\x6e\x69\141\143\151\x64" => $uniacid, "\x6f\x70\x65\156\151\144" => $joinModel["\x6f\160\x65\x6e\151\x64"])); goto jhzJB; jD9iZ: pdo_update(ztk_table("\165\163\x65\x72\137\165\156\x69\x6f\x6e\x5f\152\x6f\x69\x6e", false), array("\155\157\156\x65\171\40\53\x3d" => floatval($prizeModel["\162\x65\144"])), array("\151\144" => $join_id)); goto XMsRr; CKjK3: include_once "\151\x6e\x63\x2f\146\x75\156\143\164\151\157\156\x2f\x70\x61\x63\x6b\145\x74\x2e\x66\165\x6e\x63\56\160\150\160"; goto QJXBG; a0xa1: if (!($prizeModel["\164\171\x70\145\163"] == 6)) { goto zrHnb; } goto hHT70; d5NmV: $template_id = $object["\160\x75\163\150\x5f\x74\155\160"]; goto FxeXu; xJ_6P: $prizeModel["\x77\141\x6c\x6c\145\x74"] = mt_rand($min * 100, $max * 100) / 100; goto AwWEn; hfPpP: if (!(intval($prizeModel["\x63\x72\x65\141\x74\x65\x5f\x74\x79\160\x65\x73"]) == 1)) { goto fmgZ3; } goto SdJ0X; g8f_y: $userDrawRecordModel["\143\162\x65\141\x74\x65\x74\x69\155\x65"] = time(); goto aEOLY; th33K: $result = sendSiteWeixinRedPacket($joinUserModel["\x6f\160\145\x6e\151\144"], floatval($prizeModel["\162\x65\x64"]) * 100, "\xe6\201\xad\345\226\234\345\217\221\350\264\xa2\40\xe5\244\xa7\xe5\220\211\345\244\247\345\210\251\357\xbc\x81", "\xe8\x81\224\347\233\x9f\xe6\x8b\x93\xe5\xae\xa2\346\264\xbb\xe5\212\250", "\xe8\xb5\xb6\345\xbf\253\345\x88\206\344\272\xab\xe7\273\x99\xe6\x82\xa8\347\232\204\xe5\245\xbd\xe5\217\213\xe4\xb8\200\xe8\265\267\351\xa2\206\xe7\xba\xa2\xe5\x8c\x85\345\220\xa7", $config["\x70\x6f\x77\145\x72"], true, $uniacid, $config); goto b0Ejw; Il0JA: $writecode_rebate = ''; goto zWVCM; ex69Y: $encode_id = $hashids->encode($draw_id); goto Vhesg; BBCel: $writecode = ''; goto hJnN5; I4T4B: RShyU: goto vVh9A; JQB49: if (empty($sms_tmp)) { goto c3nvk; } goto TpBog; m2ZI7: if (empty($object["\151\x73\x5f\x62\165\171\137\x64\x72\x61\x77"])) { goto kzLt8; } goto miM_6; PHsVR: return true; goto RbXw6; NglAs: if (empty($join_id)) { goto vpVdW; } goto B7EsH; AIC19: $mobile = $joinUserModel["\155\x6f\142\151\154\x65"]; goto N9pzP; tyWEQ: bSUvd: goto vr7pr; wtgMP: if (intval($prize2Model["\x74\x79\160\x65\x73"]) == 1) { goto fGEY6; } goto nJQeX; tSVVr: $userDrawRecordModel["\165\160\x64\141\164\x65\164\151\155\145"] = time(); goto cLpWJ; JgBIU: $userMoneyRecharge = array(); goto OSx3k; KTxrv: W3aXV: goto gNdR5; Zg_v9: $prize2Model = null; goto s1bh4; iBaxv: $rid = get_rand($arr); goto YLvWt; u1BMN: dQbXt: goto OPnsq; AgXzt: $templatecode = $sms_tmp["\x74\145\x6d\x70\154\141\x74\145\143\157\144\145"]; goto oedeD; wGZfb: if (empty($sms_tmp)) { goto xvdr1; } goto QzmKd; JF0f1: if (intval($object["\x69\163\137\163\155\163"]) == 1) { goto NcUoI; } goto jAP9J; mkQJd: $encode_id = $hashids->encode($draw_id); goto JMLGj; lbl1M: $userDrawRecordModel["\x74\171\160\x65\x73"] = 2; goto Wil0y; M_k5X: list($min, $max) = explode("\55", $prize2Model["\167\141\154\x6c\x65\164"]); goto OgxE3; DPou_: $originModel = pdo_get("\154\171\167\x79\x77\154\137\172\x74\x6b\137\155\x61\162\x6b\x65\x74\151\x6e\x67\x5f\165\163\145\162", array("\x69\144" => $orderPayModel["\x6f\x72\x69\x67\151\x6e\137\x69\x64"], "\x6f\142\152\137\151\x64" => $object["\151\144"], "\x6f\142\x6a\137\x74\171\160\x65\163" => $obj_types, "\165\156\151\x61\x63\151\x64" => $uniacid)); goto H3wIW; UoT4i: $noticeMessage = "\346\x81\255\xe5\226\x9c\xe6\x82\250\357\xbc\214\xe8\216\267\xe5\xbe\x97\xe8\277\x94\345\210\xa9\xe5\245\x96\xe5\223\201\357\274\x9a" . $prize2Model["\156\141\155\x65"]; goto n5uES; ovKtR: $sn = $config("\163\155\x73\137\165\x69\144"); goto mdz5a; HDMtk: $postdata = array("\x66\151\x72\x73\164" => array("\166\141\x6c\165\145" => "{$originModel["\156\141\155\145"]}\xef\xbc\214\xe6\202\xa8\345\217\x82\xe4\xb8\216\347\x9a\204\346\xba\257\346\272\x90\xe6\264\xbb\xe5\x8a\xa8\346\x9c\x89\xe6\226\xb0\347\232\204\xe8\256\242\345\215\225", "\143\x6f\154\157\162" => "\43\x31\67\63\x31\67\x37"), "\x6b\x65\x79\x77\157\x72\144\x31" => array("\x76\x61\x6c\165\x65" => "\346\224\257\xe4\xbb\x98{$drawModel["\x70\141\x79\x5f\155\157\156\145\171"]}\xe5\x85\x83\x20\xe4\275\231\xe9\xa2\235{$drawModel["\160\x61\x79\x5f\x73\x79\x73\x5f\x6d\x6f\156\x65\x79"]}\345\205\203", "\143\157\x6c\157\162" => "\43\x31\67\63\x31\67\x37"), "\153\145\x79\x77\157\162\x64\62" => array("\x76\x61\x6c\x75\145" => $object["\164\151\164\154\145"], "\143\157\154\157\x72" => "\43\x31\x37\x33\x31\67\x37"), "\x6b\145\171\x77\157\162\x64\63" => array("\166\x61\x6c\165\x65" => $drawModel["\x70\x61\x79\x5f\156\165\155\x62\145\162"], "\x63\157\154\157\162" => "\x23\x31\67\63\61\67\67"), "\153\x65\171\167\x6f\162\x64\64" => array("\166\141\154\x75\x65" => "\343\x80\220{$userModel["\156\151\143\153\x6e\141\155\145"]}\xe3\200\x91" . $userModel["\x6d\x6f\x62\151\x6c\x65"], "\143\157\x6c\157\x72" => "\x23\61\67\x33\61\67\67"), "\162\145\x6d\141\x72\153" => array("\166\x61\154\165\x65" => "\xe7\x82\xb9\345\207\xbb\xe6\x9f\245\xe7\234\x8b\xe6\272\257\346\xba\x90\xe7\xbb\237\350\256\xa1\346\x95\xb0\xe6\215\256", "\x63\x6f\x6c\157\162" => "\x23\61\67\63\61\x37\x37")); goto zicX0; IJkRE: $objarr = explode("\x2c", $orderPayModel["\x6f\162\144\x65\x72\x5f\x6e\x75\155\142\x65\162"]); goto v1agV; R1ZNc: psWYx: goto kjyrj; BleOl: updateUserMoney($uniacid, $joinUserModel["\157\x70\145\x6e\x69\x64"], floatval($prizeModel["\163\x79\x73"]), $note, 1, $obj_types, $draw_id); goto jLXeM; CQlNQ: WrmJ1: goto to0TC; k6aHK: v7iGx: goto eB2GR; AuQCH: pdo_update(ztk_table("\x75\163\145\x72\137\141\x63\143\x6f\x75\x6e\164", false), array("\160\x72\157\x66\x69\164\137\155\x6f\x6e\145\x79\40\53\75" => $prize2Model["\162\x65\x64"], "\162\145\144\x5f\155\157\156\145\x79\40\x2b\75" => $prize2Model["\162\145\x64"], "\x72\145\144\137\155\x6f\x6e\145\x79\137\x6e\165\155\x20\53\75" => 1), array("\157\160\x65\x6e\151\x64" => $join2UserModel["\x6f\x70\x65\156\151\x64"])); goto S5Jic; JY7r8: foreach ($prizeList_rebate as $key => $val) { goto CywFu; t36VR: goto j5z2M; goto lsJ8U; lsJ8U: S4Ird: goto ObjBO; ObjBO: aJPIG: goto yKSPb; AzIuP: goto j5z2M; goto iCGft; CywFu: if (!(intval($val["\157\144\x64\163"]) <= 0)) { goto h7Pf2; } goto rMiKk; yg9w4: if (!(intval($val["\154\151\155\151\164\x5f\164\x79\x70\x65\163"]) == 1 && intval($val["\x6c\x69\x6d\x69\164\137\156\x75\x6d"]) > 0)) { goto aJPIG; } goto go3WA; GqZB3: $count = pdo_getcolumn(ztk_table("\x75\163\145\x72\x5f\144\162\141\x77", false), array("\x70\x72\x69\172\145\137\x69\144" => $val["\151\x64"], "\x6f\x70\x65\156\x69\x64" => ${$userModel["\157\160\145\x6e\151\x64"]}), "\143\157\165\156\164\50\x2a\51"); goto Ka2BO; rWJXR: if (!($count >= intval($val["\x6c\x69\155\151\164\x5f\156\x75\x6d"]))) { goto S4Ird; } goto t36VR; A_sw9: SpoSO: goto yg9w4; rMiKk: goto j5z2M; goto Ry1AB; Ry1AB: h7Pf2: goto BqXP7; iCGft: BoLm7: goto A_sw9; Ka2BO: if (!($count >= intval($val["\x6c\151\x6d\151\x74\x5f\x6e\x75\x6d"]))) { goto BoLm7; } goto AzIuP; BqXP7: if (!(intval($val["\154\151\155\x69\164\x5f\x74\x79\x70\x65\x73"]) == 0 && intval($val["\154\x69\x6d\x69\164\x5f\156\165\x6d"]) > 0)) { goto SpoSO; } goto GqZB3; go3WA: $count = pdo_fetchcolumn("\123\x45\114\x45\103\x54\x20\x43\x4f\125\116\124\50\52\x29\x20\106\x52\117\115\40" . ztk_table("\x75\163\x65\x72\x5f\x64\x72\x61\167") . "\x20\127\110\105\122\x45\40\x20\x70\162\x69\172\x65\137\x69\144\x20\x3d\40\x3a\160\162\151\x7a\x65\137\x69\144\x20\101\x4e\x44\40\157\x70\145\x6e\151\144\40\x3d\x20\x3a\x6f\x70\145\x6e\x69\144\40\101\x4e\x44\x20\106\x52\117\115\x5f\125\x4e\x49\x58\x54\111\x4d\x45\x28\143\162\145\141\164\145\164\x69\x6d\145\54\x20\47\45\x59\45\155\45\x64\x27\51\40\75\40\x44\101\124\x45\x5f\106\x4f\x52\x4d\101\x54\50\116\117\127\50\51\x2c\x27\x25\131\45\x6d\x25\144\x27\x29", array("\x3a\x70\162\x69\x7a\145\x5f\x69\144" => $val["\151\x64"], "\72\157\160\145\156\x69\x64" => ${$userModel["\x6f\160\x65\156\151\x64"]})); goto rWJXR; yKSPb: $arr[$key] = $val["\x6f\x64\144\163"]; goto depsk; depsk: j5z2M: goto VvcOV; VvcOV: } goto ym0o8; hm5y2: $joinPayModel["\163\x74\141\x74\x75\163"] = 0; goto lsgzU; DZiMp: updateUserScore($uniacid, $join2UserModel["\157\160\x65\x6e\151\x64"], intval($prize2Model["\x73\x63\x6f\162\145"]), $note, 1, $obj_types, $draw_id); goto l2A34; onfu8: vV5V8: goto gvw2U; QRCxY: VrMim: goto XfdfK; yEevv: $userDrawRecordModel["\x73\x74\x61\164\165\x73"] = $result === true ? 1 : 0; goto gPlu6; B4n3W: WfqBs: goto Br3fm; iDRLa: if (!($orderPayModel["\163\164\141\164\x75\163"] == 0)) { goto iYzaI; } goto PwZFT; nruhR: $virtualModel = pdo_get(ztk_table("\160\162\151\172\145\x5f\166\x69\x72\x74\x75\141\154\137\144\141\164\x61", false), array("\x76\x69\162\x74\x75\x61\x6c\137\151\144" => $prizeModel["\166\151\x72\x74\165\141\x6c\137\x69\144"], "\163\164\x61\164\x75\163" => 1)); goto RBmlY; bDbBN: axGNP: goto AdATz; vtxX0: $writecode = $encode_id; goto MIcyk; SoSQK: foreach ($prize2List as $key => $val) { goto wK0AD; EjtZL: if (!(intval($val["\x6c\x69\155\151\x74\137\164\x79\160\145\x73"]) == 0 && intval($val["\x6c\x69\155\151\164\137\x6e\x75\155"]) > 0)) { goto EMwev; } goto ANB2z; YdWkV: n9k4e: goto tn2q7; i2895: goto rAcOG; goto O_DzP; O_DzP: kE7uM: goto mOx7j; CLkwK: $arr2[$key] = $val["\x6f\x64\x64\x73"]; goto bXYWH; tn2q7: EMwev: goto aMv8I; uei9q: if (!($count >= intval($val["\x6c\x69\x6d\151\x74\x5f\x6e\x75\x6d"]))) { goto n9k4e; } goto Ar5Pz; buyNu: goto rAcOG; goto VFaX0; mOx7j: rhtfw: goto CLkwK; qCK1U: if (!($count >= intval($val["\x6c\151\155\151\x74\x5f\x6e\x75\x6d"]))) { goto kE7uM; } goto i2895; ANB2z: $count = pdo_getcolumn(ztk_table("\x75\x73\145\162\137\x64\x72\141\x77", false), array("\160\162\151\172\145\x5f\151\x64" => $val["\x69\x64"], "\x6f\160\x65\x6e\151\144" => $join2UserModel["\157\x70\145\x6e\x69\144"]), "\x63\157\165\x6e\164\x28\52\x29"); goto uei9q; aMv8I: if (!(intval($val["\154\151\155\151\164\137\x74\171\x70\145\x73"]) == 1 && intval($val["\154\151\x6d\x69\x74\x5f\x6e\165\x6d"]) > 0)) { goto rhtfw; } goto MKbcL; VFaX0: X0KGC: goto EjtZL; MKbcL: $count = pdo_fetchcolumn("\123\105\x4c\x45\103\x54\40\x43\117\125\x4e\124\x28\52\x29\x20\106\x52\x4f\115\x20" . ztk_table("\x75\x73\145\162\x5f\x64\x72\x61\x77") . "\40\127\110\x45\x52\105\x20\x20\x70\x72\151\172\145\x5f\151\144\x20\75\40\72\160\162\x69\172\145\x5f\x69\144\x20\x41\x4e\x44\40\x6f\x70\x65\156\151\144\40\x3d\40\x3a\157\160\x65\x6e\x69\144\40\101\x4e\x44\40\106\122\117\x4d\x5f\125\116\x49\x58\124\111\115\105\50\x63\x72\145\x61\164\x65\164\x69\155\x65\x2c\40\x27\x25\131\45\x6d\x25\x64\x27\x29\x20\75\x20\x44\101\x54\105\x5f\106\x4f\x52\115\x41\x54\x28\116\117\127\50\x29\x2c\47\45\x59\x25\155\x25\144\47\51", array("\x3a\160\162\151\x7a\x65\137\151\144" => $val["\x69\x64"], "\72\x6f\x70\145\156\x69\144" => $join2UserModel["\157\160\x65\156\x69\144"])); goto qCK1U; bXYWH: rAcOG: goto D_gIJ; Ar5Pz: goto rAcOG; goto YdWkV; wK0AD: if (!(intval($val["\157\144\x64\163"]) == 0)) { goto X0KGC; } goto buyNu; D_gIJ: } goto aoS7e; bUhNq: YpHHm: goto Gwf2t; frGcg: e7O7m: goto nzI7D; gVug5: $url = replaceDieDomain($config, __MURL("\165\x73\145\x72\x5f\x64\x72\x61\x77", array("\141\143\164" => "\x69\x6e\144\145\x78"), false, TRUE), $join2UserModel["\151\144"], $obj_types, $object["\x69\x64"], 0); goto LerT2; Px1kd: goto ViWvH; goto oL80w; F62_e: $sms_tmp = pdo_get(ztk_table("\x74\155\x70\x5f\163\155\163", false), array("\151\144" => $sms_tmp_id)); goto WxdlV; dgIDD: $note = "\xe6\212\275\345\245\x96\350\x8e\xb7\xe5\xbe\x97\357\xbc\232" . date("\x59\x2d\155\55\144\x20\x48\x3a\151\72\163", TIMESTAMP) . "\x20\xe4\xbc\232\xe5\221\230\xe3\200\220" . $userModel["\x6e\151\x63\153\156\x61\x6d\145"] . "\xe3\x80\221\345\217\202\344\270\216\xe6\xb4\273\xe5\212\xa8\xef\274\232" . $object["\x74\x69\164\x6c\x65"] . "\357\xbc\x8c\xe8\216\267\xe5\xbe\x97\xe9\x9b\266\351\222\xb1\xef\xbc\232" . $prizeModel["\x73\171\163"] . "\345\205\203"; goto HnVf2; oc9SB: oGA_a: goto w0tvK; XYIFQ: CJ3zn: goto iVPi8; AmbkV: $join_draw_data = array("\165\156\x69\141\143\151\144" => $uniacid, "\x6f\x62\152\x5f\x74\171\x70\145\x73" => $obj_types, "\x6f\142\x6a\137\x69\144" => $object["\x69\144"], "\161\162\x5f\x69\144" => 0, "\x71\x72\x5f\164\157\x6b\145\x6e" => '', "\x71\x72\x5f\156\x75\x6d\x62\145\162" => 0, "\157\162\151\x67\x69\156\x5f\x69\x64" => $origin_id, "\157\162\151\147\151\x6e\x5f\x74\145\141\155\x5f\151\x64" => $origin_team_id, "\160\x72\x69\172\145\137\x69\x64" => $prizeModel["\151\144"], "\x74\171\x70\x65\163" => $prizeModel["\x74\171\x70\x65\x73"], "\156\141\155\145" => $prizeModel["\156\x61\x6d\x65"], "\x70\141\x79\x5f\x6f\x70\145\x6e\x69\x64" => $orderPayModel["\x6f\x70\145\x6e\151\x64"], "\160\162\151\172\x65\x5f\160\151\x63\137\165\162\x6c" => $prizeModel["\x70\x69\x63\137\165\162\x6c"], "\167\x72\151\164\x65\x6f\146\146\137\x74\171\x70\x65\x73" => $prizeModel["\x77\x72\x69\164\x65\157\146\x66\x5f\x74\x79\160\x65\163"], "\x6f\160\145\156\151\144" => $joinUserModel["\157\x70\145\156\x69\x64"], "\156\x69\143\153\x6e\x61\x6d\x65" => $joinUserModel["\156\151\143\153\x6e\141\x6d\145"], "\x73\x65\170" => $joinUserModel["\163\145\x78"], "\x68\x65\x61\x64\x75\x72\154" => $joinUserModel["\150\145\x61\x64\165\x72\x6c"], "\141\x72\x65\141" => $joinUserModel["\141\162\145\141"], "\151\160" => $_SERVER["\x52\x45\x4d\x4f\x54\x45\137\101\x44\x44\x52"], "\157\162\137\x72\x65\142\141\x74\145\62" => 0, "\151\x73\137\x72\145\147\x69\163\x74\x65\162" => 0, "\x72\x65\147\151\x73\164\x65\162\137\x64\x61\164\x61" => '', "\143\162\145\x61\x74\x65\164\x69\155\145" => TIMESTAMP); goto MHGIq; tQHNT: $sms_tmp = pdo_get(ztk_table("\164\x6d\x70\137\x73\155\163", false), array("\151\x64" => $sms_tmp_id)); goto i87eb; poiib: $userDrawRecordModel["\x6f\142\152\137\151\144"] = $draw_data["\x6f\x62\152\137\x69\x64"]; goto Xz2tv; tpD0w: list($min, $max) = explode("\x2d", $prizeModel["\x77\x61\154\154\145\164"]); goto P8z4B; wpUm6: $noticeMessage = "\xe6\x81\xad\xe5\x96\x9c\346\202\xa8\357\274\x8c\xe8\216\xb7\xe5\276\x97\350\xbf\x94\345\x88\xa9\xe5\xa5\x96\345\223\x81\342\x80\234{$prize2Model["\x6e\x61\155\x65"]}\342\x80\x9d\xef\274\x8c\xe7\x8e\260\351\x87\221\347\xba\242\xe5\214\x85\357\274\x9a{$prize2Model["\162\145\x64"]}\345\x85\203\xef\274\214\xe8\xaf\xb7\345\210\xb0\346\x82\xa8\xe7\232\x84\xe5\276\256\344\xbf\xa1\351\x92\xb1\345\x8c\x85\346\x9f\xa5\347\x9c\x8b\xe3\x80\202"; goto h2oxn; NIIk7: NcUoI: goto SfiLP; wX9zr: $content = str_replace("\173\x50\x52\111\x5a\105\175", $prize2Model["\156\141\x6d\145"], $content); goto CYaEp; wzbCh: gHGS0: goto GO0Mo; MIDB1: ZiFnO: goto QUzon; CrM0A: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto ADaXP; hJvdG: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto IlyfP; TpBog: if (!(!empty($userModel) && !empty($userModel["\155\x6f\142\x69\154\x65"]))) { goto mTKCJ; } goto jLz97; b8DFJ: updateUserMoney($uniacid, $orderPayModel["\157\160\x65\156\x69\144"], -$orderPayModel["\x70\x61\171\137\x70\162\151\x63\145"], $note, 3, $draw_data["\157\142\x6a\137\164\x79\x70\145\x73"], $draw_data["\x6f\x62\152\x5f\x69\144"]); goto mR_OQ; e2A3g: $note = "\xe5\217\x82\344\270\216\346\xb4\273\345\212\xa8\357\274\x9a" . date("\x59\x2d\x6d\x2d\144\40\x48\72\151\72\163", TIMESTAMP) . "\x20\xe4\274\x9a\345\x91\x98\343\x80\220" . $userModel["\156\151\x63\153\156\x61\155\145"] . "\343\x80\221\xe5\217\x82\344\270\216\xe6\xb4\273\xe5\212\xa8\xef\xbc\232" . $object["\164\151\x74\x6c\x65"] . "\357\274\x8c\xe4\xbd\x99\xe9\242\235\346\x94\xaf\xe4\xbb\230\xef\xbc\232" . $pay_sys_money . "\345\205\x83"; goto w34cw; M1srQ: $prize2Model = $prize2List[$rid2]; goto FAk8x; RBeNz: $userDrawRecordModel["\144\x65\x73\x63"] = $prize2Model["\x6e\x61\155\145"]; goto igsi7; eEY5a: list($min, $max) = explode("\55", $prize2Model["\x72\145\x64"]); goto x_VEt; T5cLf: Qlxam: goto rCPID; ccChr: dEB1a: goto LneS9; Jj7MM: G7cuh: goto NcKrD; zpBFm: JHsc1: goto iQyVn; ieIAh: if (!empty($prizeModel)) { goto LE04T; } goto TYFk3; gntPr: aBZGY: goto bqeFS; Lb9dY: FOhEN: goto hx_aM; RITGy: $userDrawRecordModel["\x73\x65\x6e\x64\x5f\156\x61\x6d\145"] = $config["\160\x6f\167\x65\162"]; goto WfCQM; di1gx: pdo_insert(ztk_nopre_table("\165\x73\x65\162\137\x64\162\141\167\x5f\162\145\x63\x6f\162\144"), $userDrawRecordModel); goto yGq1m; mOr3E: $userDrawRecordModel["\141\143\164\x5f\156\x61\155\x65"] = "\xe7\xa4\xbc\xe5\x93\x81\xe6\213\x93\xe5\256\xa2\xe6\xb4\xbb\xe5\212\250"; goto jUwF6; pieeA: if (empty($object["\160\x75\163\150\x5f\164\155\160"])) { goto pOiKu; } goto QToWw; zF5Jw: pdo_update(ztk_table("\165\163\x65\162\x5f\x63\157\x6c\x6c\x61\147\145\137\152\157\x69\x6e", false), array("\x6d\x6f\156\x65\x79\x20\53\x3d" => floatval($prizeModel["\167\141\x6c\154\x65\164"])), array("\151\144" => $joinModel["\x69\x64"])); goto ifaWp; mdz5a: $pwd = $config("\x73\x6d\163\137\x6b\x65\171"); goto TBa27; ChYsk: updateUserMoney($uniacid, $orderPayModel["\157\x70\x65\156\151\144"], $orderPayModel["\160\x61\171\x5f\160\162\x69\143\x65"], $note, 4, 0, 0); goto dK0lw; vTLQ1: pdo_update(ztk_table("\x75\163\x65\x72\137\x63\x75\x74\137\152\157\x69\156", false), array("\x69\156\166\x69\x74\x65\x20\53\x3d" => 1), array("\151\x64" => $joinModel["\x69\x64"])); goto LRdAm; F_KAm: pdo_update(ztk_table("\155\141\162\x6b\145\164\x69\x6e\x67\137\x75\163\145\162", false), array("\142\165\x79\137\x6e\165\155\40\53\75" => 1), array("\151\x64" => $origin_id)); goto Pj56p; SwJdO: if (!isSiteFollow($userModel["\x6f\160\x65\x6e\151\144"])) { goto Fn_6b; } goto QVfN8; D09Ty: $noticeMessage = "\xe6\x81\xad\345\226\234\xe6\x82\250\xef\xbc\214\xe8\x8e\267\345\276\x97\xe8\277\224\xe5\210\251\345\xa5\x96\345\223\x81\xe2\200\x9c{$prizeModel["\x6e\141\155\145"]}\xe2\200\235\xe8\x8e\xb7\345\276\227\344\275\x99\xe9\242\235\xe5\245\226\xe5\x8a\xb1\357\274\x9a{$prizeModel["\163\x79\163"]}\345\x85\x83"; goto vmI12; OXQ_O: $join_draw_data["\x65\156\x64\x5f\164\151\155\145"] = $prizeModel["\164\x69\155\145\x5f\145\156\144"]; goto TMs_J; P_ISv: goto wivao; goto fZW9L; LselN: $ladder_price_list = unserialize($object["\154\x61\x64\x64\145\x72\137\x70\162\151\143\x65"]); goto lFuq4; WAg6L: $content = str_replace("\x7b\x57\122\111\x54\x45\117\106\x46\x43\x4f\104\105\x7d", $writecode, $content); goto NfBf5; ihP1M: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto Cjy1D; AwWEn: fmgZ3: goto CMOCT; KqCwR: $note = "\347\x94\250\xe6\x88\xb7\345\205\205\xe5\200\xbc\xef\274\x9a" . date("\131\55\155\55\x64\x20\110\x3a\x69\72\x73", TIMESTAMP) . "\40\344\xbc\x9a\345\221\x98\343\200\220" . $userModel["\156\x69\143\153\x6e\141\x6d\145"] . "\343\200\x91\345\x9c\xa8\xe7\272\xbf\xe5\x85\205\345\x80\xbc\xef\274\x9a" . floatval($orderPayModel["\160\x61\171\137\x70\x72\x69\x63\145"]) . "\345\x85\203"; goto ChYsk; XPBbN: $orderIntmallModel = pdo_get(ztk_nopre_table("\157\x72\144\x65\x72\x5f\151\156\164\x6d\x61\154\x6c"), array("\157\162\144\x65\162\x5f\x6e\165\x6d\x62\145\162" => $orderPayModel["\x6f\x72\x64\145\x72\x5f\x6e\x75\155\x62\x65\x72"], "\x75\x6e\151\x61\143\x69\x64" => $uniacid)); goto Q49Ca; zwgTo: $sign = $sms_tmp["\163\x69\x67\x6e"]; goto ComaL; hw3GZ: $prizeModel["\163\171\x73"] = mt_rand($min * 100, $max * 100) / 100; goto WKInQ; UkZzQ: $joinPayModel["\x70\x69\x64"] = $pid; goto rBlfE; v_0bE: $prize2Model = null; goto SoSQK; qTg4S: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto JZaeH; yfgMl: yNOLs: goto hDnwX; PO4zZ: $userDrawRecordModel = array(); goto o27sF; D1qwu: $userDrawRecordModel["\165\156\151\141\143\151\x64"] = $prize2Model["\165\x6e\x69\141\x63\x69\144"]; goto Clhy5; uIVKf: $noticeMessage = "\xe6\x81\255\345\226\234\346\x82\xa8\357\xbc\214\350\x8e\267\xe5\xbe\227\350\277\224\345\x88\251\345\xa5\226\xe5\223\x81\357\274\x9a" . $prizeModel["\x6e\141\155\145"]; goto AAzfX; HeYM8: $virtualModel["\x73\x74\141\x74\165\163"] = 0; goto XhUot; bqeFS: $sms_tmp_id = $object["\x73\x6d\163\137\164\155\x70\x5f\x69\144"]; goto is5fE; gZrRd: ASDqo: goto sE1Cb; DtJWE: YiPiX: goto rPN7V; kD7EQ: $ali_accesskeyid = $config["\141\x6c\x69\137\141\x63\143\x65\x73\163\x6b\145\x79\x69\144"]; goto bAD2g; jot3v: $joinPayModel["\151\x73\137\x68\x65\x61\x64\163"] = $pid == 0 ? 1 : 0; goto y5VYJ; Ei00c: if (!(intval($prizeModel["\143\162\145\141\x74\145\x5f\x74\171\160\x65\163"]) == 1)) { goto ZgaTB; } goto GGXQ8; qOiQ2: goto MZDT9; goto pmDy1; FzVBN: $prizeModel = $prizeList[$rid]; goto YesfU; uT0CG: if (!($config["\x6f\162\x69\147\x69\156\x70\165\x73\150\x5f\164\x6d\x70"] && !empty($origin_id))) { goto lbHtR; } goto MG4AV; lMoS2: pOiKu: goto niGnL; cWRBT: $userDrawRecordModel["\x73\x74\x61\x74\165\x73"] = $result === true ? 1 : 0; goto x12Lp; HttyT: $result = sendTplNotice($uniacid, $originModel["\157\160\x65\x6e\x69\144"], $postdata, $template_id, $url); goto fFL4g; NRujA: pdo_insert(ztk_nopre_table("\x75\x73\x65\162\137\x64\x72\x61\x77\137\162\145\143\x6f\x72\x64"), $userDrawRecordModel); goto XYokx; Wum3Y: $mobile = $mobiles; goto tr7YE; UcG0b: $join_draw_data2["\145\156\x64\x5f\164\151\155\145"] = $prize2Model["\164\x69\x6d\x65\x5f\x65\156\x64"]; goto A14gK; FIQgT: h9fty: goto Jkcdu; jLTKD: $sql = "\123\x45\x4c\x45\103\x54\x20\52\x20\106\122\x4f\x4d\40" . tablename("\x6c\x79\x77\171\x77\154\x5f\172\164\153\137\x6f\x62\152\x5f\143\x6f\154\154\141\x67\145") . "\x20\127\x48\x45\x52\105\40\x74\x6f\153\x65\156\x20\75\40\72\164\x6f\x6b\x65\x6e\40\101\116\104\x20\x75\156\x69\x61\x63\151\x64\x20\x3d\40\72\x75\x6e\x69\x61\143\x69\144"; goto mnRpm; dnaxR: mrZvV: goto mJjSE; dUZxO: $ali_accesskeysecret = $config["\141\154\x69\x5f\x61\143\143\x65\x73\x73\x6b\145\x79\x73\x65\143\162\145\x74"]; goto XF1jy; Byhk8: updateUserMoney($uniacid, $orderPayModel["\x6f\x70\x65\x6e\x69\144"], -$pay_sys_money, $note, 3, $draw_data["\x6f\142\x6a\x5f\164\x79\x70\x65\163"], $draw_data["\x6f\x62\x6a\x5f\151\x64"]); goto CQlNQ; lTj5o: $userDrawRecordModel["\141\x63\164\137\156\141\155\x65"] = "\347\273\x8f\345\205\xb8\346\213\xbc\345\233\242\346\xb4\xbb\345\212\xa8"; goto Yriba; JcCkw: $object = pdo_fetch($sql, $objparams); goto Lhvuw; nVoKr: $join_draw_data["\145\x6e\x64\137\x74\151\x6d\145"] = 0; goto Xgx8A; YesfU: TOHly: goto rJKlF; p6IRe: $note = "\345\x8f\x82\344\xb8\x8e\346\xb4\xbb\345\x8a\xa8\357\274\x9a" . date("\131\x2d\155\x2d\x64\x20\110\x3a\x69\x3a\163", TIMESTAMP) . "\40\344\274\x9a\xe5\x91\x98\343\200\220" . $userModel["\x6e\151\143\153\x6e\x61\x6d\x65"] . "\xe3\200\x91\345\x8f\202\344\270\x8e\xe6\264\273\xe5\212\250\357\xbc\x9a" . $object["\x74\x69\164\154\x65"] . "\xef\274\x8c\344\275\231\351\242\235\346\x94\xaf\xe4\273\230\357\274\x9a" . $pay_sys_money . "\xe5\x85\203"; goto K7sdE; G7KQ_: pdo_insert(ztk_nopre_table("\165\x73\x65\x72\x5f\155\x6f\x6e\x65\x79\x5f\x72\145\x63\150\x61\x72\147\145"), $userMoneyRecharge); goto e2Tdh; X76Oh: if (intval($object["\151\163\137\163\x6d\x73"]) == 1) { goto RxzmM; } goto ejcUH; aaicy: pdo_update(ztk_table("\x75\x73\145\x72\x5f\163\x6f\154\x69\x63\151\x74\x69\x6e\147\x5f\x6a\x6f\x69\156", false), array("\x6d\x6f\x6e\145\171\40\53\75" => floatval($prizeModel_rebate["\167\141\154\154\145\x74"])), array("\151\144" => $join_id)); goto wj1Ei; iQPjj: sxaXs: goto wVEEX; yZPp8: pdo_update(ztk_nopre_table("\165\163\x65\x72\x5f\141\143\x63\157\x75\x6e\164"), $userUpdateModel, array("\151\144" => $userModel["\x69\x64"])); goto vEJQJ; vhcaf: kr2sz: goto v7MSO; Yeelz: goto VlseK; goto aI94M; C0_GB: updateUserMoney($uniacid, $joinUserModel["\157\x70\145\x6e\x69\144"], floatval($prizeModel["\163\x79\x73"]), $note, 1, $obj_types, $draw_id); goto SzcgC; ribE3: pdo_update(ztk_table("\165\163\x65\x72\x5f\x64\162\x61\x77", false), array("\x73\143\157\162\145" => $prizeModel["\x73\x63\x6f\162\x65"], "\163\164\141\x74\165\163" => 1, "\x75\160\x64\141\164\145\164\x69\155\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto Avxad; bhozU: Dxt49: goto Ja0q5; YRMhQ: $content = str_replace("\x7b\x50\122\x49\x5a\105\175", $prizeModel["\156\141\x6d\x65"], $content); goto NJOBZ; cuo4s: jg9xN: goto fQjlX; jATfg: MS1hF: goto p7jLl; FmLWl: $origin_id = $orderPayModel["\x6f\162\151\x67\151\156\x5f\x69\144"]; goto mSFTW; TWX2a: lZcSq: goto L5G0s; l2A34: pdo_update(ztk_table("\165\163\145\162\137\x64\x72\x61\x77", false), array("\x73\x63\157\162\145" => $prize2Model["\163\143\x6f\x72\145"], "\163\164\x61\164\x75\x73" => 1, "\x75\x70\144\x61\x74\x65\164\x69\155\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto rVq28; IP_kw: pdo_update(ztk_nopre_table("\165\163\145\x72\x5f\x63\x6f\x6c\x6c\x61\147\x65\x5f\x6a\157\x69\x6e"), array("\160\151\144" => $pid), array("\151\144" => $pid)); goto oPQNF; m4HSO: zlx2t: goto pjh8R; OyWsC: if (intval($prizeModel["\164\171\160\145\163"]) == 5) { goto CqSAL; } goto B9GfK; jxSF0: $userDrawRecordModel = array(); goto Lr41I; ccmyo: $pwd = $config["\163\x6d\x73\x5f\153\145\x79"]; goto ryKfg; aK_cb: txP2k: goto tGm_T; Y9sp5: $pid = $objarr[4]; goto jOsfA; SvzER: return true; goto Z1AsR; ysEd5: $userDrawRecordModel = array(); goto YxIdp; g8JtM: if (intval($prizeModel["\x74\171\160\145\163"]) == 4) { goto u2G25; } goto MDanD; MeM5d: if (!(intval($prizeModel["\x63\162\x65\141\x74\x65\137\x74\171\x70\x65\163"]) == 1)) { goto x2WZL; } goto V8x4H; FAk8x: C737s: goto BAcfd; Y6EFk: if (!($object["\x69\163\x5f\x66\145\144\x65\x78"] == 1)) { goto gZ7_j; } goto vqyV2; ESjly: if (!($prizeModel["\x74\171\160\x65\x73"] == 6)) { goto Q7Cjc; } goto LWjeu; nucmk: $content = str_replace("\173\x4e\x49\103\113\116\101\115\x45\x7d", $userModel["\156\151\x63\153\156\141\155\145"], $content); goto x0sRT; csAOr: $content = str_replace("\x7b\x4f\102\x4a\x7d", $object["\x74\151\x74\x6c\145"], $content); goto xPgcA; rpRpM: $hashids = Hashids::instance(6, "\154\171\x77\171\172\x74\x6b", ''); goto mkQJd; pSg17: wivao: goto Pw0gT; NtRmu: RoNR3: goto RwBpR; aSN_k: pdo_update(ztk_table("\165\163\145\x72\137\144\x72\x61\x77", false), array("\143\141\x72\144" => $prizeModel["\x63\x61\162\144"], "\x73\164\141\x74\x75\163" => 1, "\165\x70\144\141\x74\145\164\151\155\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto q0E6Q; rJzEQ: $code_draw_data = array("\x77\162\x69\164\x65\143\157\x64\x65" => $encode_id); goto Zbbb6; E20n_: list($min, $max) = explode("\x2d", $prizeModel["\x73\143\x6f\162\145"]); goto F6SCm; rBlfE: $joinPayModel["\x6f\162\151\147\x69\x6e\x5f\151\144"] = $origin_id; goto JSAsg; j4hWh: if (!($object["\155\157\144\x65\x6c\163"] == 1)) { goto zmMw0; } goto tHaCM; CLF8g: if (!(!empty($join_id) && $is_award_prizes == 1)) { goto JJyE6; } goto w0HL3; LneS9: goto qKQhp; goto mVUU2; AuHY5: pdo_update(ztk_table("\x75\x73\145\x72\x5f\x64\162\x61\167", false), array("\143\x75\163\x74\157\x6d\x5f\165\x72\x6c" => $prizeModel["\143\165\x73\x74\157\155\137\165\162\154"], "\163\164\x61\x74\x75\x73" => 1, "\x75\160\144\141\164\145\x74\151\155\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto G1MHf; XMlyY: $userDrawRecordModel["\155\x6f\x6e\x65\171"] = $prizeModel["\162\145\144"]; goto ApjZ5; zNk0F: $userDrawRecordModel["\x6f\142\152\137\151\x64"] = $prizeModel["\x6f\142\152\137\151\144"]; goto sfL6k; Rzto6: if ($prizeModel["\164\151\x6d\x65\137\164\171\160\145\163"] == 1) { goto AlZhn; } goto lN07E; hncLY: gNXr9: goto UPcfk; h4hsn: $userDrawRecordModel["\165\x6e\151\x61\143\151\144"] = $prizeModel["\165\x6e\151\x61\143\151\144"]; goto xcOy8; zv15X: $userDrawRecordModel["\x6f\160\145\156\x69\144"] = $joinUserModel["\157\x70\145\156\x69\144"]; goto jrDav; g3Jj8: $writecode = ''; goto zse5h; o4lnP: updateUserMoney($uniacid, $orderPayModel["\157\160\145\x6e\x69\x64"], $orderPayModel["\x70\x61\x79\137\160\162\x69\x63\x65"], $note, 4, $draw_data["\x6f\142\152\137\164\x79\x70\x65\163"], $draw_data["\157\142\152\x5f\x69\x64"]); goto Voc2h; COjWZ: pdo_update(ztk_table("\x75\163\145\162\137\x64\x72\x61\x77", false), array("\x72\x65\144" => $prizeModel["\162\145\144"], "\163\x74\x61\x74\x75\163" => 1, "\165\160\144\141\x74\x65\164\151\155\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto jD9iZ; KeW48: if (!($orderPayModel["\160\141\171\x5f\160\162\x69\x63\x65"] == $params["\x66\x65\145"])) { goto rS4ls; } goto dVHlM; rPN7V: $note = "\346\x8a\275\xe5\245\226\350\216\xb7\345\276\227\xef\274\232" . date("\131\55\155\x2d\x64\x20\x48\72\151\x3a\163", TIMESTAMP) . "\40\xe4\274\x9a\xe5\x91\230\xe3\x80\x90" . $userModel["\x6e\x69\143\x6b\x6e\x61\x6d\x65"] . "\343\x80\221\345\x8f\x82\344\270\216\xe6\xb4\273\xe5\x8a\xa8\xef\274\232" . $object["\x74\x69\x74\154\x65"] . "\xef\274\214\350\x8e\xb7\345\xbe\x97\347\xa7\257\xe5\x88\206\357\274\232" . $prizeModel["\x73\x63\x6f\x72\x65"] . "\xe7\xa7\xaf\xe5\x88\206"; goto wfiCV; S5Jic: pdo_update(ztk_table("\165\x73\145\162\137\144\x72\x61\x77", false), array("\x72\145\x64" => $prize2Model["\162\145\x64"], "\x73\164\x61\164\x75\x73" => 1, "\165\160\x64\141\x74\145\164\151\155\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto Jmuhz; x3FdQ: eg2VH: goto nDGyD; sEkE8: pdo_update(ztk_table("\x75\x73\145\x72\x5f\x61\143\143\x6f\x75\x6e\164", false), array("\x6a\x6f\x69\156\137\x6e\x75\x6d\40\x2b\75" => 1), array("\x6f\160\145\x6e\x69\x64" => $join2UserModel["\x6f\160\145\x6e\151\x64"])); goto p3TMY; NGgdi: $pwd = $config["\x73\155\x73\137\153\x65\x79"]; goto MUB8d; lERZx: $userDrawRecordModel["\x6f\142\152\x5f\x69\x64"] = $prizeModel["\157\x62\x6a\137\x69\144"]; goto HLlby; hBMeI: $sms_tmp = pdo_get(ztk_table("\x74\x6d\x70\137\163\155\x73", false), array("\x69\x64" => $sms_tmp_id)); goto JYcH2; G4SWd: wlkSC: goto O0onq; RwB3W: oOE6f: goto Hn35h; Cs7yq: $templatecode = $sms_tmp["\164\x65\x6d\160\x6c\x61\x74\145\143\x6f\144\145"]; goto sMh_n; uiBfa: $mobile = $joinUserModel["\x6d\157\142\151\154\145"]; goto WG2DW; mVmdC: $draw_id = pdo_insertid(); goto gjEJ0; bU34w: Y4901: goto frrgX; oO2ud: $content = str_replace("\x7b\120\x52\x49\132\x45\175", $prizeModel["\156\x61\x6d\145"], $content); goto Xtiht; SfiLP: $sms_tmp_id = $object["\163\155\163\x5f\x74\x6d\x70\137\151\x64"]; goto HW4Rc; tefAM: $content = $sms_tmp["\143\157\x6e\164\145\156\164"]; goto OCnJd; CYaEp: $content = str_replace("\173\x57\122\111\x54\x45\x4f\x46\x46\x43\x4f\x44\105\175", $writecode, $content); goto AgMhw; Cd6EG: $sms_tmp = pdo_get(ztk_table("\164\155\160\x5f\163\155\x73", false), array("\x69\144" => $sms_tmp_id)); goto mDYIo; cR6S0: $ali_accesskeysecret = $config["\141\154\151\137\x61\x63\143\x65\163\163\153\145\171\163\x65\x63\162\x65\164"]; goto jkuoy; MiJZH: return true; goto KkzbG; xJa3Y: $sms_tmp_id = $object["\x62\165\x79\x5f\163\155\163\137\x74\x6d\160\x5f\x69\x64"]; goto YcNLe; P_fJJ: pdo_update(ztk_table("\x75\163\145\162\x5f\x73\157\x6c\151\x63\151\164\x69\x6e\147\137\x6a\157\151\x6e", false), array("\155\x6f\156\145\x79\x20\53\x3d" => floatval($prize2Model["\163\x79\x73"])), array("\x69\x64" => $join2Model["\x69\144"])); goto AKf1n; rauBw: $mobile = $joinUserModel["\155\157\x62\x69\x6c\145"]; goto Q0QZO; XvRAO: $draw_id = pdo_insertid(); goto kQUIT; LMl_u: $drawcode = $draw_data["\160\141\171\137\156\x75\x6d\x62\145\x72"]; goto VqcsL; MKK4s: $userDrawRecordModel["\164\x79\160\145\163"] = 0; goto c3rwU; paWRt: if (!(intval($object["\x62\x75\x79\x5f\151\x73\x5f\x70\165\163\150\162\145\142\141\164\x65"]) == 1)) { goto Yxapz; } goto VySpD; HjDi5: HcbHW: goto pRNx2; lJ4RS: $param = ["\x6e\x61\x6d\145" => $userModel["\x6e\151\143\153\x6e\141\155\145"], "\157\142\x6a" => mb_substr($object["\164\x69\164\x6c\x65"], 0, 20, "\165\x74\x66\55\x38"), "\155\x6f\x6e\x65\x79" => $drawModel["\160\141\x79\x5f\155\157\156\x65\171"] + $drawModel["\160\x61\171\137\163\x79\x73\137\x6d\157\156\145\171"], "\143\x6f\144\145" => $writecode]; goto NDVZp; o6a7X: Kcjqg: goto O8mgt; nkRCU: CoaW1: goto zkVue; U8s0T: include MODULE_ROOT . "\57\x69\x6e\x63\x2f\143\x6c\141\163\x73\x2f\110\141\x73\150\151\x64\x73\56\x63\x6c\x61\163\163\56\x70\150\160"; goto zgr37; b1ns4: LyJF2: goto HZ9J9; AQym8: $userUpdateModel["\x6a\x6f\151\x6e\137\x6e\x75\x6d"] = $userModel["\152\x6f\x69\x6e\137\156\165\x6d"] + 1; goto Ki9Rp; YkxTz: $userDrawRecordModel["\x75\160\144\141\164\145\x74\x69\x6d\x65"] = time(); goto Wcwrf; hx_aM: $sn = $config["\x73\x6d\163\137\165\x69\x64"]; goto wNgwR; vjOoE: ZlzZo: goto Udmwd; og399: w1Uzb: goto Efneq; tOael: $param = ["\156\141\x6d\145" => $orderIntmallModel["\x6e\151\x63\x6b\x6e\141\155\x65"], "\x67\156\x61\x6d\x65" => mb_substr($orderIntmallModel["\160\162\x6f\x64\165\143\164\137\x74\x69\164\x6c\x65"], 0, 20, "\165\x74\146\x2d\70"), "\x6f\162\x64\x6e\157" => $orderIntmallModel["\x6f\x72\144\145\162\x5f\x6e\x75\155\x62\145\x72"], "\155\157\x6e\x65\171" => $prices_payment, "\x73\143\157\x72\145" => $orderIntmallModel["\x73\143\x6f\x72\145"]]; goto fYrT5; RpwJD: if (!isSiteFollow($originModel["\x6f\160\145\x6e\151\x64"])) { goto eMDC3; } goto HDMtk; pWy4q: $joinUserModel = pdo_get(ztk_nopre_table("\165\x73\145\162\x5f\141\x63\x63\x6f\x75\156\164"), array("\x75\156\151\141\143\151\144" => $uniacid, "\157\160\x65\x6e\151\x64" => $joinModel["\157\x70\145\x6e\151\x64"])); goto USzr9; L2EXO: $join_draw_data2["\145\156\144\x5f\164\151\x6d\x65"] = $prize2Model["\x74\151\x6d\145\x5f\x65\156\144"]; goto jXBAD; oSJ_N: mLFz3: goto V0XbC; cxwN6: $userDrawRecordModel["\157\142\152\x5f\164\171\x70\x65\x73"] = $prizeModel["\x6f\142\152\x5f\164\171\160\x65\163"]; goto Skf6O; VB7sR: if (empty($originModel)) { goto YxWe2; } goto V4S56; sbuCl: $mobile = $joinUserModel["\x6d\157\x62\151\154\x65"]; goto euFt2; w34cw: updateUserMoney($uniacid, $orderPayModel["\x6f\x70\x65\x6e\x69\144"], -$pay_sys_money, $note, 3, $obj_types, $object["\x69\x64"]); goto CrnTW; bAD2g: $ali_accesskeysecret = $config["\141\154\151\x5f\x61\143\x63\x65\163\163\153\145\171\x73\145\143\x72\x65\x74"]; goto Wum3Y; ECy32: $pwd = $config["\163\155\163\137\153\x65\171"]; goto JgoeR; DRJfK: $param = ["\x6e\141\x6d\x65" => $joinUserModel["\156\151\x63\x6b\x6e\141\x6d\x65"], "\157\x62\152" => mb_substr($object["\164\x69\164\154\x65"], 0, 20, "\165\164\146\55\x38"), "\160\x72\151\x7a\145" => $prizeModel["\156\x61\x6d\x65"], "\x63\157\x64\x65" => $writecode]; goto by0lZ; BQFFr: BRRqr: goto UcG0b; LW4GP: $content = $content . "\40\xe3\200\x90" . $sms_tmp["\x73\x69\147\156"] . "\xe3\x80\x91"; goto qTg4S; S0AeS: GeaMJ: goto ipu0P; zZFw_: $templatecode = $sms_tmp["\164\145\x6d\x70\154\x61\164\x65\143\x6f\x64\x65"]; goto tOael; PdUrS: if (intval($prizeModel["\x74\x79\160\145\x73"]) == 5) { goto uyLL6; } goto atUfz; Eg8cQ: EyeS6: goto nkRCU; bCr0c: $content = $content . "\x20\xe3\x80\x90" . $sms_tmp["\163\x69\x67\156"] . "\xe3\200\221"; goto qHc7p; VQRzd: $join_draw_data["\145\156\144\137\164\x69\x6d\x65"] = $prizeModel["\x74\x69\x6d\145\137\x64\141\171"] * 24 * 60 * 60 + time(); goto SZ_db; Zkca7: $userDrawRecordModel["\157\160\x65\156\x69\x64"] = $join2UserModel["\157\x70\145\x6e\x69\144"]; goto ROqsN; FtLLT: Wd51b: goto qy7iZ; JVMN6: $userDrawRecordModel["\157\142\152\137\x74\x79\160\145\x73"] = $prizeModel["\157\x62\x6a\x5f\x74\171\160\x65\163"]; goto A3Utc; f8SZA: $prizeModel["\162\x65\144"] = mt_rand($min * 100, $max * 100) / 100; goto qXing; vEJQJ: $drawModel = pdo_get(ztk_table("\x75\x73\x65\x72\137\x64\x72\141\167", false), array("\x69\x64" => $draw_id)); goto i3l8C; Vhuck: $noticeMessage = "\346\x81\255\xe5\x96\234\xe6\202\250\xef\274\214\xe8\x8e\xb7\xe5\276\227\xe8\277\x94\xe5\x88\xa9\345\245\x96\345\223\201\342\200\x9c{$prize2Model["\156\141\x6d\145"]}\342\200\x9d\350\216\267\xe5\xbe\x97\347\216\xb0\351\x87\221\xe7\272\xa2\345\214\205\357\274\232{$prize2Model["\162\x65\144"]}\xe5\x85\203\xef\xbc\x8c\350\257\xb7\xe5\x88\xb0\346\x82\250\xe7\x9a\204\345\xbe\256\344\xbf\xa1\351\x92\261\345\x8c\205\xe6\x9f\xa5\347\x9c\213\xe3\x80\x82"; goto hwoCY; qZ56V: $templatecode = $sms_tmp["\x74\x65\x6d\160\x6c\141\164\x65\x63\157\144\145"]; goto RCQ2T; d82PF: $ali_accesskeysecret = $config["\141\154\x69\x5f\141\x63\143\x65\x73\163\x6b\x65\171\163\x65\143\x72\145\164"]; goto B0vEe; hJnN5: if (empty($result)) { goto WUFAJ; } goto wrKQv; Sg41X: if (empty($object["\142\x75\x79\x5f\160\x75\x73\x68\x5f\x74\155\160"])) { goto Zolld; } goto cGpjm; ERAGb: $ali_accesskeysecret = $config["\x61\x6c\151\137\141\x63\x63\145\163\x73\153\145\x79\x73\x65\143\x72\x65\164"]; goto AAfRf; wrbuP: if (intval($prizeModel["\x74\x79\160\x65\x73"]) == 3) { goto ETnCQ; } goto g8JtM; SfyG8: pdo_insert(ztk_nopre_table("\x75\163\145\162\x5f\x6d\157\x6e\x65\171\137\162\145\143\x68\x61\x72\147\x65"), $userMoneyRecharge); goto Nudss; INZfv: if (empty($result)) { goto BRRoo; } goto mVmdC; H2yJm: pdo_update(ztk_table("\155\x61\162\153\x65\164\x69\x6e\147\137\165\163\x65\x72", false), array("\x67\145\164\x5f\156\x75\x6d\40\53\75" => 1), array("\x69\144" => $origin_id)); goto onfu8; Adj9f: $note = "\345\205\221\xe6\x8d\242\xe5\225\x86\345\223\x81\xef\xbc\232" . date("\x59\55\155\x2d\144\x20\110\x3a\x69\72\x73", TIMESTAMP) . "\40\xe4\xbc\x9a\xe5\x91\230\343\x80\220" . $userModel["\x6e\151\143\x6b\156\141\155\145"] . "\343\200\221\xe5\205\221\xe6\215\242\xe5\x95\x86\xe5\223\201\357\274\232" . $orderIntmallModel["\x70\162\157\144\165\143\164\x5f\x74\151\x74\x6c\145"] . "\xef\xbc\214\xe6\224\xaf\xe4\273\230\xe9\x87\221\351\xa2\235\357\274\232" . floatval($orderIntmallModel["\x70\141\x79\x5f\x70\162\x69\x63\x65"]) . "\xe5\x85\203"; goto yrI2j; QToWw: $template_id = $object["\x70\165\163\x68\x5f\x74\155\160"]; goto lMoS2; d6pVn: $writecode = ''; goto P2ZyQ; NEq0v: WAcOt: goto O449l; S5Sb0: $sms_tmp_id = $object["\163\155\163\137\x74\155\x70\x5f\151\x64"]; goto ZrrlO; RTGNz: $join_id = $objarr[2]; goto mAKZN; a63VQ: pdo_update(ztk_table("\165\163\x65\162\x5f\x64\162\x61\x77", false), $join_draw_data, array("\151\144" => $draw_id)); goto O4ryz; zoh3l: if (!($join_model["\160\151\144"] > 0)) { goto Hrj8X; } goto eubnx; rCPID: if (!(intval($prizeModel["\x63\x72\x65\x61\x74\x65\x5f\x74\x79\x70\145\163"]) == 1)) { goto BAkcY; } goto Z2SqM; OHsES: pdo_insert(ztk_nopre_table("\165\x73\x65\162\x5f\155\157\156\x65\171\137\162\x65\x63\150\x61\162\x67\x65"), $userMoneyRecharge); goto gtLCA; eubnx: if (!($joinModel["\x6f\160\x65\x6e\151\x64"] != $orderPayModel["\157\160\x65\x6e\151\x64"])) { goto dHR_5; } goto vTLQ1; DQ8Zw: if (!($object["\151\163\x5f\146\145\144\x65\x78"] == 1)) { goto ewNa2; } goto YT128; IZf8A: if (empty($sms_tmp)) { goto z3nvo; } goto j1j8I; XDBYp: if (empty($config["\160\x61\x79\x6d\145\156\164\137\x74\x6d\x70"])) { goto GupsA; } goto jq8g1; xPMp4: $content = $sms_tmp["\x63\157\156\164\145\156\164"]; goto GEgO3; yREHh: $writecode = $encode_id; goto PuMzK; TXwW3: klm7P: goto QSnX1; hyk5b: if (empty($join_id)) { goto ZsObQ; } goto zCWzx; Ofyko: $content = str_replace("\x7b\x4e\111\103\113\x4e\x41\x4d\105\x7d", $userModel["\x6e\151\143\153\x6e\141\x6d\x65"], $content); goto SpDzw; zTymz: z3nvo: goto z7jZY; DBUwH: Hrj8X: goto fr4zQ; Ph1x9: foreach ($prizeList as $key => $val) { goto k0Pe0; j_ONd: $count = pdo_getcolumn(ztk_table("\165\x73\x65\x72\x5f\x64\162\x61\x77", false), array("\160\162\x69\172\x65\x5f\x69\144" => $val["\151\x64"], "\157\x70\x65\156\x69\144" => $joinUserModel["\x6f\x70\145\x6e\151\144"]), "\x63\157\x75\156\x74\x28\52\51"); goto a6ASe; aG2hU: n4v1M: goto wcULJ; AnCAd: if (!($count >= intval($val["\154\x69\x6d\151\164\137\x6e\x75\155"]))) { goto rUQfP; } goto wSrTf; h3NBV: xhzHy: goto TgigS; EScIJ: goto xhzHy; goto aG2hU; G9isT: if (!(intval($val["\154\x69\x6d\151\x74\137\164\171\x70\x65\x73"]) == 0 && intval($val["\154\151\155\x69\x74\137\x6e\165\155"]) > 0)) { goto XjyTS; } goto j_ONd; Vf6EE: $arr[$key] = $val["\x6f\144\x64\x73"]; goto h3NBV; wcULJ: XjyTS: goto Z3f60; zdaxD: ufOZC: goto G9isT; a6ASe: if (!($count >= intval($val["\x6c\x69\155\151\164\137\x6e\165\155"]))) { goto n4v1M; } goto EScIJ; wSrTf: goto xhzHy; goto F4ZTh; yA2d2: goto xhzHy; goto zdaxD; k0Pe0: if (!(intval($val["\157\x64\144\x73"]) <= 0)) { goto ufOZC; } goto yA2d2; vEuz7: aeJST: goto Vf6EE; dTcfK: $count = pdo_fetchcolumn("\123\x45\114\x45\x43\x54\x20\103\117\125\116\x54\x28\x2a\51\40\106\x52\x4f\115\40" . ztk_table("\165\x73\x65\x72\x5f\144\162\141\167") . "\40\x57\x48\x45\122\105\40\x20\x70\x72\151\x7a\145\137\x69\144\x20\x3d\40\x3a\x70\x72\x69\172\145\137\151\x64\40\101\x4e\x44\40\157\160\145\156\x69\144\40\x3d\x20\x3a\157\x70\145\x6e\151\144\x20\101\x4e\x44\x20\x46\x52\x4f\115\137\x55\116\x49\130\124\x49\115\x45\x28\x63\162\x65\141\164\x65\x74\151\x6d\145\54\40\47\x25\x59\x25\x6d\45\x64\x27\51\40\x3d\40\x44\x41\x54\105\137\x46\117\122\115\x41\x54\50\116\117\127\x28\x29\54\47\45\131\45\155\45\144\47\x29", array("\x3a\x70\162\x69\x7a\145\x5f\151\144" => $val["\x69\x64"], "\x3a\x6f\160\145\x6e\151\x64" => $joinUserModel["\157\160\x65\x6e\151\144"])); goto AnCAd; F4ZTh: rUQfP: goto vEuz7; Z3f60: if (!(intval($val["\x6c\x69\x6d\x69\164\137\164\171\x70\x65\163"]) == 1 && intval($val["\154\151\155\x69\164\x5f\156\165\155"]) > 0)) { goto aeJST; } goto dTcfK; TgigS: } goto IGkdH; oSmln: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto Ghi1F; nMV1c: p6CC0: goto aEm1q; NHVst: pdo_update(ztk_table("\x6f\142\152\x5f\165\x6e\151\157\156", false), array("\x67\145\x74\137\x6e\165\155\40\x2b\75" => 1), array("\151\144" => $object["\x69\x64"])); goto SjRBI; dmAFc: $userDrawRecordModel["\x73\145\x6e\x64\137\156\x61\155\x65"] = $config["\160\x6f\x77\x65\x72"]; goto bnc2m; BEFn6: $mobile = $joinUserModel["\155\x6f\142\151\154\x65"]; goto GrpiR; FnlyI: $userDrawRecordModel["\164\x79\x70\x65\163"] = 1; goto i30bC; neRAf: $pay_sys_money = floatval($object["\155\x6f\x6e\145\x79"]) - floatval($orderPayModel["\160\141\x79\137\160\x72\151\x63\145"]); goto eJTHz; QJXBG: include_once "\x69\156\x63\x2f\146\x75\156\x63\x74\x69\x6f\156\x2f\164\151\155\145\x2e\x66\x75\156\x63\x2e\x70\x68\160"; goto QJRkr; m3XwG: goto uycKy; goto LKoMQ; PtlNY: $encode_id = $hashids->encode($draw_id); goto sKsRv; sL8Ks: $sign = $sms_tmp["\163\151\147\x6e"]; goto AgXzt; E5nP5: list($min, $max) = explode("\x2d", $prizeModel["\x72\x65\x64"]); goto CW5RT; eLic3: if (empty($originModel)) { goto pTltV; } goto EHZ_Q; xvBXP: goto y95BC; goto htGjV; vvyLg: pd2Do: goto tQyUY; xPrj1: $virtualModel = pdo_get(ztk_table("\160\162\151\x7a\145\x5f\166\151\x72\164\x75\141\x6c\x5f\144\141\x74\x61", false), array("\x76\151\162\164\x75\141\154\x5f\151\144" => $prize2Model["\x76\x69\x72\164\x75\141\x6c\x5f\151\144"], "\163\x74\x61\x74\165\163" => 1)); goto rCk8Z; Lh51X: list($min, $max) = explode("\x2d", $prizeModel["\163\x79\163"]); goto aAGXt; vqCms: if (intval($prizeModel_rebate["\164\171\160\145\x73"]) == 3) { goto VE6NJ; } goto cbTUq; PKGRU: updateUserScore($uniacid, $join2UserModel["\157\x70\x65\x6e\151\x64"], intval($prize2Model["\163\x63\157\162\x65"]), $note, 1, $obj_types, $draw_id); goto SKW2Q; s3zSQ: $template_id = $config["\x6f\162\151\147\x69\x6e\x70\x75\x73\x68\x5f\164\x6d\x70"]; goto OPy2M; EI3fh: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto R5lIZ; RQiaD: $userMoneyRecharge["\165\x6e\151\141\143\x69\x64"] = $uniacid; goto pmkn2; zT0UU: $pay_sys_money = floatval($join_model["\160\x72\x69\143\145"]) - floatval($orderPayModel["\160\141\x79\137\160\x72\x69\143\145"]); goto QDLry; ercac: if (!($params["\162\145\x73\x75\x6c\164"] == "\x73\165\x63\143\145\x73\x73" && $params["\146\162\157\x6d"] == "\x6e\157\x74\151\146\171")) { goto hOs_L; } goto evy8Z; D3CHG: $content = str_replace("\173\127\122\111\x54\x45\117\x46\x46\x43\117\104\105\x7d", $writecode, $content); goto NpDz_; XFdRj: $originModel = pdo_get("\154\171\167\171\x77\x6c\137\x7a\164\x6b\x5f\155\141\x72\x6b\145\x74\x69\x6e\147\x5f\x75\x73\x65\162", array("\x69\144" => $orderPayModel["\157\162\x69\x67\151\156\137\151\144"], "\x6f\142\x6a\137\151\144" => $object["\x69\x64"], "\157\142\x6a\137\x74\171\x70\x65\x73" => $obj_types, "\x75\x6e\151\x61\x63\x69\144" => $uniacid)); goto Ms671; T0bv5: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto UoZr8; Z68ob: $url = replaceDieDomain($config, __MURL("\x61\x64\x6d\x69\156\x73\x5f\155\141\x72\x6b\145\164\151\x6e\x67", array("\x6f\x62\152\137\x74\x79\x70\x65\x73" => $obj_types, "\157\x62\x6a\x5f\151\x64" => $object["\x69\x64"]), false, TRUE), 0, 0, 0, 0); goto s3zSQ; LwH8X: nq6ID: goto UyjOc; YLvWt: $prizeModel = $prizeList[$rid]; goto nNpWO; fAg7U: $draw_activity_model = pdo_get("\x6c\x79\x77\171\x77\154\137\172\x74\153\137" . $tableName, array("\151\x64" => $object["\x64\162\x61\x77\x5f\x61\143\x74\151\166\151\x74\171\137\151\144"], "\x75\156\x69\x61\x63\151\144" => $uniacid, "\x6d\x6f\x64\145\154\x73" => 3)); goto wJ6Lv; zKpL3: $virtualModel["\x6f\160\x65\156\151\x64"] = $joinUserModel["\157\x70\x65\156\151\x64"]; goto Ql2iq; Z1ctd: $origin_buy_types = 1; goto sw731; SpDzw: $content = str_replace("\x7b\120\x52\111\132\105\x7d", $prizeModel_rebate["\x6e\x61\x6d\145"], $content); goto xtSam; uQE4R: $content = str_replace("\x7b\127\122\111\124\x45\x4f\106\106\x43\117\x44\105\175", $writecode, $content); goto LTy1y; tkyxu: $join_draw_data2["\x65\156\x64\x5f\164\x69\x6d\x65"] = $prize2Model["\x74\x69\x6d\145\x5f\144\x61\x79"] * 24 * 60 * 60 + time(); goto tNqUw; NUiDW: $content = $content . "\40\xe3\x80\x90" . $sms_tmp["\x73\151\x67\x6e"] . "\xe3\200\221"; goto yXnvQ; B5_9c: $sms_tmp_id = $object["\142\165\x79\137\163\x6d\163\x5f\164\155\x70\137\x69\x64"]; goto tQHNT; dgta7: $ali_accesskeyid = $config["\x61\x6c\x69\137\141\143\143\145\x73\163\153\x65\171\151\144"]; goto KnyQH; awKd3: pdo_update(ztk_table("\165\163\x65\x72\137\x64\162\141\167", false), array("\163\x79\163" => $prizeModel_rebate["\x73\171\163"], "\163\x74\141\x74\x75\163" => 1, "\165\x70\144\141\164\x65\164\x69\x6d\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto xDKwH; ZEQGA: $userMoneyRecharge["\x63\x72\x65\141\x74\x65\x74\151\155\x65"] = TIMESTAMP; goto UMKrD; NkvRO: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto tuTE9; gg_iL: goto h0DVw; goto p2zeM; E9qd1: if (!empty($drawcode_data_model)) { goto wm20s; } goto FwpSS; Uv1Lo: mFviW: goto Q6wzx; Jx4ab: foreach ($cardArr as $index => $card) { goto WidGd; IDj3l: goto MQEal; goto OPi9n; HpiOJ: $result = pdo_insert("\154\171\x77\x79\x77\x6c\x5f\172\164\x6b\x5f\x75\163\x65\162\x5f\x75\156\151\157\x6e\137\x63\x61\162\144", $card_data); goto Fpa2r; sYTeO: pAyiD: goto Ftv6h; m4CNC: pdo_update(ztk_table("\x6a\157\x69\x6e\137\x73\x74\x6f\x72\145\137\x75\156\151\x6f\x6e\x5f\143\x61\x72\144", false), array("\x67\x65\164\x5f\x6e\x75\x6d\x20\53\75" => 1, "\163\x74\157\143\x6b\x20\x2d\75" => 1), array("\x69\x64" => $card["\151\144"])); goto RKK_w; RKK_w: MQEal: goto T_4mo; TCGY0: pdo_update(ztk_table("\x6a\x6f\x69\x6e\x5f\x73\x74\157\162\145\x5f\165\156\151\157\x6e\x5f\143\141\x72\144", false), array("\147\145\164\x5f\156\165\x6d\x20\53\75" => 1), array("\151\144" => $card["\151\144"])); goto IDj3l; Fpa2r: if (empty($result)) { goto Qvu1o; } goto NOoJQ; Dk_1q: if (empty($storeModel)) { goto pAyiD; } goto gBpLQ; OPi9n: jN8Jh: goto m4CNC; T_4mo: Qvu1o: goto sYTeO; WidGd: $storeModel = pdo_get("\154\x79\x77\x79\x77\x6c\137\x7a\x74\153\x5f\152\157\151\x6e\x5f\x73\x74\157\x72\x65\x5f\x75\156\151\x6f\x6e", array("\x69\144" => $card["\x73\164\x6f\x72\x65\137\151\144"], "\x73\x74\141\164\165\163" => 1, "\x75\x6e\x69\x61\x63\151\144" => $uniacid)); goto Dk_1q; Ftv6h: ss4pq: goto Pkaxa; NOoJQ: if ($card["\x69\x73\137\157\160\x65\156\x5f\x73\x74\x6f\143\153"] == 1) { goto jN8Jh; } goto TCGY0; gBpLQ: $card_data = array("\x75\x6e\151\x61\143\151\x64" => $uniacid, "\157\142\152\137\164\171\160\145\x73" => $obj_types, "\x6f\142\152\x5f\x69\x64" => $object["\151\144"], "\163\164\157\x72\145\137\x69\x64" => $card["\163\x74\x6f\162\145\x5f\151\144"], "\x63\141\x72\144\137\x69\x64" => $card["\151\x64"], "\156\x61\155\145" => $card["\x6e\141\x6d\x65"], "\165\x73\145\137\x6e\x75\x6d" => $card["\167\162\x69\164\x65\157\x66\x66\x5f\x6e\x75\155"], "\167\162\x69\164\145\157\146\146\x5f\x6e\x75\x6d" => 0, "\167\x72\151\164\x65\x6f\x66\146\137\151\x6e\x74\x65\162\x76\141\154" => $card["\167\162\151\x74\145\157\x66\x66\137\151\x6e\164\x65\x72\x76\141\x6c"], "\167\x72\x69\x74\145\157\x66\x66\x5f\x69\156\x74\x65\x72\x76\x61\x6c\x5f\x6e\165\155" => $card["\x77\x72\151\x74\145\x6f\x66\x66\x5f\x69\x6e\164\x65\x72\166\141\x6c\137\156\165\155"], "\x6d\x6f\156\x65\171" => $card["\x6d\157\x6e\145\171"], "\x70\x61\x79\x5f\x6d\157\156\x65\x79" => $card["\160\x61\171\x5f\x6d\157\x6e\x65\171"], "\165\x73\145\x5f\154\151\155\151\x74" => $card["\165\x73\145\x5f\154\151\155\151\x74"], "\x65\x6e\x64\x5f\x74\151\x6d\x65" => $card["\164\151\x6d\x65\137\x74\171\x70\x65\x73"] == 0 ? TIMESTAMP + intval($card["\x74\151\155\x65\x5f\x64\141\x79"]) * 24 * 60 * 60 : $card["\164\151\x6d\145\x5f\x65\156\x64"], "\160\151\x63\137\165\x72\x6c" => $card["\x70\151\143\x5f\165\162\x6c"], "\x6f\x70\145\x6e\151\x64" => $orderPayModel["\x6f\x70\x65\156\151\x64"], "\156\x69\143\x6b\x6e\141\x6d\145" => $userModel["\156\151\x63\153\156\x61\x6d\145"], "\150\x65\x61\144\165\162\x6c" => $userModel["\150\145\x61\x64\165\162\x6c"], "\x63\x72\145\x61\164\x65\x74\x69\155\x65" => TIMESTAMP); goto HpiOJ; Pkaxa: } goto qc2_A; d8W7F: $content = str_replace("\173\116\111\103\x4b\x4e\101\x4d\105\x7d", $joinUserModel["\x6e\151\143\153\156\x61\x6d\145"], $content); goto YRMhQ; ixL2R: $buy_specs_field = unserialize($object["\x62\165\x79\x5f\163\160\145\143\x73\137\x66\151\x65\154\x64"]); goto HFngb; bnc2m: $userDrawRecordModel["\167\x69\x73\150\x69\x6e\x67"] = "\xe6\x81\xad\345\226\x9c\xe5\x8f\x91\xe8\xb4\242\40\xe5\xa4\xa7\xe5\220\211\xe5\xa4\247\xe5\x88\xa9\xef\274\201"; goto syHix; mGyMH: $postdata = array("\x66\x69\162\163\x74" => array("\x76\x61\154\165\145" => "\xe6\x81\xad\xe5\x96\x9c\346\x82\xa8\x21\346\202\250\xe5\217\202\xe4\xb8\x8e\346\xb4\273\345\212\250" . $object["\x74\151\x74\x6c\145"] . "\xe4\270\255\xe5\245\x96\xe4\272\x86", "\x63\157\x6c\157\162" => "\43\x31\x37\63\61\x37\x37"), "\x6b\x65\x79\167\x6f\162\x64\x31" => array("\x76\x61\154\x75\145" => $prize2Model["\156\141\155\145"], "\143\x6f\x6c\x6f\x72" => "\43\x31\x37\63\x31\67\67"), "\153\145\x79\x77\x6f\162\144\x32" => array("\166\x61\154\165\x65" => timeToStr(TIMESTAMP), "\143\157\154\157\x72" => "\x23\x31\67\63\x31\67\67"), "\x72\x65\155\141\162\153" => array("\x76\141\154\165\145" => $noticeMessage, "\143\x6f\154\x6f\x72" => "\x23\61\67\x33\x31\67\67")); goto U4hM5; XryVl: $userUpdateModel["\x6a\x6f\x69\x6e\137\x6e\x75\155"] = $userModel["\x6a\x6f\x69\x6e\x5f\x6e\x75\x6d"] + 1; goto n_7JW; z5KB8: $sign = $sms_tmp["\x73\x69\147\156"]; goto qZ56V; aiaSu: $postdata = array("\146\x69\x72\163\x74" => array("\166\141\x6c\x75\x65" => "\xe6\202\xa8\xe5\xa5\xbd\xef\274\214\xe6\x82\xa8\345\xb7\262\xe8\264\255\344\xb9\260\xe6\x88\220\345\212\237\xe3\x80\202", "\143\157\x6c\x6f\x72" => "\x23\x31\x37\63\x31\x37\x37"), "\153\x65\171\167\x6f\x72\x64\61" => array("\166\x61\154\x75\x65" => $object["\164\151\164\x6c\145"], "\x63\157\x6c\157\162" => "\x23\x31\67\x33\61\x37\67"), "\153\x65\171\x77\157\x72\x64\62" => array("\166\141\x6c\165\145" => $drawModel["\x70\x61\x79\x5f\x6e\x75\155\142\145\x72"], "\x63\x6f\x6c\157\162" => "\43\x31\67\63\x31\67\67"), "\x6b\x65\171\167\157\162\144\63" => array("\x76\141\154\165\145" => "\346\x94\xaf\xe4\xbb\230{$drawModel["\x70\x61\x79\137\x6d\157\x6e\145\x79"]}\xe5\205\x83\40\344\275\x99\351\xa2\x9d{$drawModel["\x70\x61\171\137\163\171\163\137\155\x6f\x6e\145\x79"]}\xe5\205\203", "\x63\x6f\x6c\x6f\162" => "\43\61\67\x33\x31\x37\67"), "\153\x65\x79\167\x6f\x72\144\x34" => array("\166\141\x6c\x75\145" => date("\x59\x2d\x6d\x2d\144\x20\110\72\151\x3a\163", time()), "\x63\x6f\x6c\157\x72" => "\43\x31\67\x33\61\x37\x37"), "\162\x65\155\x61\162\153" => array("\166\x61\x6c\x75\145" => "\xe6\x84\237\xe8\xb0\xa2\346\202\xa8\347\x9a\204\345\205\x89\344\270\xb4\357\274\201", "\143\157\154\x6f\x72" => "\43\x31\67\63\61\x37\67")); goto WQKmt; QPqkA: $noticeMessage = "\346\x81\xad\xe5\226\x9c\346\202\xa8\357\xbc\x8c\350\x8e\267\345\xbe\x97\xe8\264\255\xe4\271\xb0\xe6\x8a\xbd\345\245\226\xe5\xa5\226\xe5\223\x81\xef\274\x9a" . $prizeModel_rebate["\156\141\155\145"]; goto yOXAr; Q730G: goto lZcSq; goto cP9KY; F9oft: goto da14e; goto gjIEG; GJNjd: sendSiteTplNotice($uniacid, $joinUserModel["\x6f\160\145\156\x69\144"], $postdata, $template_id, $url); goto xR3AT; GrpiR: $content = $sms_tmp["\x63\157\x6e\164\x65\x6e\164"]; goto d8W7F; SPWnT: qKQhp: goto qMOOY; aEm1q: $sn = $config["\x73\x6d\x73\137\x75\x69\x64"]; goto a3PIX; s3c1P: dukya: goto GZxsG; MLGA0: $noticeMessage = "\346\201\xad\xe5\x96\x9c\xe6\x82\250\357\274\x8c\350\216\267\345\xbe\227\xe8\xbf\224\xe5\210\251\345\xa5\x96\345\x93\x81\xe2\x80\234{$prize2Model["\156\x61\x6d\145"]}\xe2\x80\x9d\xe8\216\xb7\345\276\227\345\xbe\256\xe4\277\241\xe9\x9b\xb6\xe9\x92\xb1\xef\xbc\232{$prize2Model["\167\x61\x6c\x6c\x65\x74"]}\xe5\205\x83\xef\274\214\350\xaf\xb7\345\210\xb0\xe6\202\xa8\xe7\x9a\x84\xe5\276\xae\xe4\xbf\241\351\222\261\xe5\x8c\x85\346\237\245\xe7\x9c\x8b\xe3\x80\x82"; goto NWJSb; kSfrb: if (empty($orderPayModel["\x6f\162\151\x67\x69\x6e\x5f\151\x64"])) { goto kGH2t; } goto FG6Rk; E5arg: $encode_id = $hashids->encode($draw_id); goto AQdP2; gvMhZ: $join2Model = pdo_get(ztk_nopre_table("\165\x73\145\x72\x5f\x75\x6e\x69\157\x6e\x5f\152\x6f\x69\x6e"), array("\x75\156\x69\x61\143\x69\144" => $uniacid, "\157\x62\152\137\x69\144" => $object["\151\x64"], "\x6f\142\152\x5f\164\171\x70\145\163" => $obj_types, "\x6f\x70\x65\156\x69\144" => $draw2Model["\x6f\160\145\156\151\x64"])); goto kp4G8; OsSrB: $content = $sms_tmp["\143\x6f\x6e\164\x65\x6e\164"]; goto kLNDo; skIVo: tmJ7j: goto xPrj1; XwmqZ: $join_draw_data2["\x65\x6e\x64\x5f\x74\x69\155\145"] = 0; goto DxK_8; DdzJh: $join_draw_data = array("\165\x6e\x69\141\x63\151\144" => $uniacid, "\x6f\142\x6a\x5f\x74\171\x70\145\163" => $obj_types, "\x6f\x62\152\137\x69\144" => $object["\151\x64"], "\x71\162\x5f\x69\144" => 0, "\x71\162\137\x74\x6f\x6b\x65\156" => '', "\161\x72\137\x6e\165\155\x62\145\162" => 0, "\x6f\162\x69\147\151\156\137\151\x64" => $origin_id, "\157\x72\x69\147\x69\156\137\x74\x65\x61\x6d\137\151\144" => $origin_team_id, "\x70\162\151\x7a\x65\x5f\x69\144" => $prizeModel["\x69\144"], "\164\x79\x70\x65\163" => $prizeModel["\x74\171\x70\145\x73"], "\x6e\141\x6d\145" => $prizeModel["\156\x61\x6d\x65"], "\x70\141\171\x5f\157\160\x65\156\x69\x64" => $orderPayModel["\157\160\145\x6e\151\x64"], "\x70\162\151\x7a\x65\x5f\x70\x69\143\x5f\165\x72\154" => $prizeModel["\x70\x69\143\137\165\162\154"], "\x77\x72\x69\164\145\x6f\146\x66\137\164\171\x70\145\163" => $prizeModel["\167\162\151\164\145\157\x66\x66\137\x74\x79\160\145\x73"], "\x6f\160\145\156\x69\144" => $joinUserModel["\x6f\x70\145\x6e\151\x64"], "\x6e\x69\143\153\x6e\x61\x6d\145" => $joinUserModel["\x6e\151\143\153\x6e\141\x6d\145"], "\x73\x65\x78" => $joinUserModel["\x73\145\x78"], "\150\x65\141\x64\165\x72\x6c" => $joinUserModel["\150\145\x61\x64\165\162\154"], "\x61\162\145\x61" => $joinUserModel["\141\162\x65\141"], "\151\160" => $_SERVER["\x52\105\115\x4f\x54\x45\137\101\x44\104\122"], "\x6f\162\x5f\162\145\x62\141\164\x65\x32" => 0, "\x69\163\137\x72\x65\147\151\163\164\145\x72" => 0, "\x72\x65\147\151\163\164\x65\162\x5f\144\141\164\141" => '', "\143\x72\x65\141\164\145\164\x69\x6d\x65" => TIMESTAMP); goto ESjly; n1OvB: sendTplNotice($uniacid, $userModel["\157\160\145\x6e\x69\x64"], $postdata, $template_id, $url); goto iEPGo; vluLn: $userDrawRecordModel["\164\171\160\145\163"] = 0; goto tnLNd; Jj9E0: goto Pr4YZ; goto tSOWx; cMyH5: $sn = $config["\x73\x6d\x73\x5f\x75\x69\144"]; goto HsKsZ; YK8Zj: pdo_update(ztk_table("\x75\163\145\162\137\x64\162\x61\167", false), array("\143\141\x72\x64" => $prizeModel["\x63\x61\x72\144"], "\x73\164\141\164\x75\x73" => 1, "\165\160\x64\x61\x74\x65\164\151\x6d\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto vwjce; AiiP2: $content = $sms_tmp["\143\157\x6e\x74\x65\x6e\x74"]; goto v9uQK; wrvtz: $mobiles = $userModel["\x6d\x6f\x62\151\x6c\x65"] ? $userModel["\155\157\142\151\x6c\x65"] : $orderIntmallModel["\155\157\x62\151\154\145"]; goto PXoP0; TBhM1: $prizeModel = null; goto x2V6l; rYGiD: $sign = $sms_tmp["\x73\x69\147\156"]; goto tz_yw; UoZr8: goto a3K2t; goto kkDZG; DbzvJ: if (!(intval($prizeModel["\x63\x72\145\141\x74\x65\137\x74\x79\x70\x65\163"]) == 1)) { goto CxNVI; } goto tY2yI; YKjSR: $content = $content . "\x20\xe3\x80\220" . $sms_tmp["\163\151\147\156"] . "\343\x80\221"; goto Q6RPV; L2DZr: if ($orderIntmallModel["\151\x73\137\x66\x65\144\x65\170"] == 0) { goto ZZ9p0; } goto oIRPW; DrOMf: if (!empty($drawcode_data_model)) { goto tL1A6; } goto FxN91; wZdIM: $note = "\350\277\224\xe5\x88\xa9\xe8\216\xb7\345\276\227\357\xbc\x9a" . date("\x59\x2d\155\x2d\x64\x20\x48\72\x69\x3a\x73", TIMESTAMP) . "\40\xe4\274\232\345\221\x98\343\x80\220" . $join2UserModel["\x6e\151\143\153\x6e\x61\x6d\145"] . "\xe3\x80\x91\xe5\x8f\202\344\xb8\216\346\264\273\xe5\212\250\357\xbc\x9a" . $object["\164\x69\x74\x6c\x65"] . "\357\xbc\x8c\350\x8e\267\xe5\276\227\xe9\233\266\351\222\261\357\xbc\232" . $prize2Model["\x73\171\x73"] . "\xe5\205\203"; goto VGbvL; SxZHU: $userDrawRecordModel["\x73\x65\156\144\137\156\141\x6d\x65"] = $config["\160\x6f\x77\145\x72"]; goto uYUy6; TY0yF: pdo_update(ztk_table("\x75\x73\145\162\x5f\x61\x63\143\x6f\165\156\164", false), array("\x6a\157\151\156\x5f\x6e\x75\x6d\40\53\x3d" => 1), array("\157\x70\x65\x6e\151\x64" => $joinUserModel["\x6f\160\x65\156\x69\144"])); goto ujle4; SKW2Q: pdo_update(ztk_table("\x75\x73\145\x72\x5f\144\162\x61\x77", false), array("\163\143\x6f\162\x65" => $prize2Model["\163\143\x6f\162\x65"], "\163\164\141\164\165\163" => 1, "\x75\160\144\x61\x74\x65\x74\151\x6d\145" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto HZxe6; LFTkl: goto dUm5N; goto j654I; ZvHSj: if (!($prizeModel["\164\171\x70\145\163"] == 6)) { goto dB0i_; } goto MKS37; SgBvS: $userDrawRecordModel["\165\x70\144\141\164\x65\164\151\x6d\145"] = time(); goto q3One; FwpSS: $drawcode_data_array = array("\165\x6e\151\x61\143\151\x64" => $uniacid, "\144\x72\x61\167\x63\x6f\x64\145\137\151\x64" => $draw_activity_model["\144\162\x61\167\x63\x6f\x64\x65\x5f\151\144"], "\x6f\160\x65\x6e\x69\144" => $orderPayModel["\157\x70\145\156\x69\144"], "\143\157\144\145" => $drawcode, "\163\x74\141\x74\165\163" => 1, "\143\162\145\141\x74\145\x74\x69\155\145" => TIMESTAMP); goto jQV19; Nudss: $note = "\347\x94\250\xe6\x88\xb7\xe5\205\205\xe5\x80\xbc\357\xbc\232" . date("\x59\x2d\155\x2d\x64\x20\110\72\151\x3a\163", TIMESTAMP) . "\40\344\274\232\xe5\221\x98\343\x80\x90" . $userModel["\x6e\x69\x63\153\156\141\155\145"] . "\343\x80\x91\345\217\x82\344\270\216\346\xb4\xbb\345\x8a\250\357\274\232" . $object["\164\151\164\x6c\x65"] . "\357\xbc\214\xe5\x9c\250\xe7\xba\277\345\205\205\345\x80\274\357\274\x9a" . floatval($orderPayModel["\160\141\171\x5f\160\162\151\x63\145"]) . "\xe5\205\203"; goto o4lnP; w4qWA: $prizeModel = $prizeList[$rid]; goto zP45_; LGUFL: btIge: goto i2YJW; pmDy1: V1y1p: goto OArw2; QDLry: $writeoff_types = 0; goto Y6EFk; ij404: l4bKM: goto YaUQF; fr4zQ: return true; goto aHwd6; qJDIc: $pay_sys_money = floatval($object["\155\157\156\x65\x79"]) - floatval($orderPayModel["\160\141\x79\137\x70\162\151\143\x65"]); goto nQK2v; vuQO1: Sj18r: goto zoh3l; zCWzx: $joinModel = pdo_get(ztk_nopre_table("\x75\x73\x65\x72\x5f\x6c\x61\144\144\145\162\x5f\x6a\157\151\156"), array("\x75\156\x69\x61\143\151\144" => $uniacid, "\151\144" => $join_id)); goto ytoSX; qDCI0: pdo_insert(ztk_nopre_table("\165\x73\x65\x72\x5f\144\x72\x61\167\137\162\145\143\157\162\x64"), $userDrawRecordModel); goto LMupr; DepzP: $draw_id = pdo_insertid(); goto AAtpd; lJbwi: $ali_accesskeyid = $config["\141\154\x69\x5f\141\x63\x63\145\163\x73\153\145\171\x69\x64"]; goto qrsX3; DBdft: $userDrawRecordModel["\163\x74\141\x74\x75\163"] = $result === true ? 1 : 0; goto aCdUb; HFoA6: $noticeMessage = "\xe6\201\xad\345\x96\x9c\xe6\202\250\xef\274\x8c\350\x8e\267\345\xbe\x97\350\xbf\x94\xe5\x88\251\345\245\x96\345\223\201\xef\xbc\x9a" . $prize2Model["\x6e\x61\x6d\145"]; goto KWXUT; OQAAX: $userDrawRecordModel["\x63\162\145\x61\x74\x65\164\x69\155\x65"] = time(); goto NRujA; X7YKh: updateUserScore($uniacid, $joinUserModel["\x6f\x70\145\x6e\151\x64"], intval($prizeModel["\x73\143\x6f\162\x65"]), $note, 1, $obj_types, $draw_id); goto RHfUo; QMy0E: if (!($object["\142\x75\171\x5f\151\163\137\163\160\x65\143\x73"] == 1 && $is_the_right_pattern)) { goto WDPqT; } goto ixL2R; eLJg3: OF5aN: goto JS06p; dtv2q: bEdX1: goto Km9n4; Ie7W8: kKRhp: goto MwQNt; p8CZo: ILfHr: goto MMz39; K7sdE: updateUserMoney($uniacid, $orderPayModel["\x6f\160\x65\156\x69\x64"], -$pay_sys_money, $note, 3, $draw_data["\x6f\x62\x6a\x5f\x74\x79\160\145\x73"], $draw_data["\x6f\x62\x6a\x5f\x69\144"]); goto bU34w; BAO8s: $joinModel = pdo_get(ztk_nopre_table("\x75\163\x65\x72\137\163\x6f\x6c\x69\143\151\x74\151\x6e\x67\137\x6a\157\151\x6e"), array("\x75\x6e\151\141\x63\x69\144" => $uniacid, "\151\x64" => $join_id)); goto rJniR; dWKxR: pdo_update(ztk_table("\165\163\x65\x72\x5f\141\143\x63\157\165\156\164", false), array("\x70\x72\157\x64\165\x63\x74\x5f\x6e\x75\x6d\x20\x2b\75" => 1), array("\157\160\145\x6e\x69\144" => $join2UserModel["\157\x70\x65\156\151\144"])); goto UoT4i; Ib55G: $ali_accesskeyid = $config["\x61\154\x69\x5f\x61\143\143\145\x73\x73\153\145\x79\x69\x64"]; goto Ti4Ld; xK0Ja: list($min, $max) = explode("\55", $prizeModel["\162\145\x64"]); goto f8SZA; jLXeM: pdo_update(ztk_table("\165\163\145\x72\137\144\162\x61\167", false), array("\163\171\163" => $prizeModel["\x73\171\163"], "\x73\x74\x61\164\x75\163" => 1, "\165\160\x64\x61\x74\x65\x74\x69\155\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto ldKX3; HZ9J9: Ty3l6: goto qJDIc; XlsT5: goto YyLd9; goto LoMxQ; Xjfll: $userDrawRecordModel["\144\145\x73\143"] = $prize2Model["\156\x61\x6d\x65"]; goto fsK1q; KutUP: $sign = $sms_tmp["\163\x69\147\156"]; goto Yk2Ne; NxKYU: zosGJ: goto MCe_8; Qg11s: $result = sendSiteWeixinMchPay($join2UserModel["\157\160\145\x6e\151\144"], $prize2Model["\x77\x61\154\x6c\145\164"] * 100, $prize2Model["\156\x61\155\145"], true, $uniacid, $config); goto aM1pf; yogXm: rpjyT: goto aYZN9; a2VN7: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto RbRu_; zFWWI: $ali_accesskeysecret = $config["\141\x6c\151\137\141\143\x63\x65\x73\x73\x6b\145\x79\x73\145\x63\x72\x65\x74"]; goto xG5S9; jFQe1: if (empty($originModel)) { goto pk9F3; } goto GBaxd; luzJx: $encode_id = $hashids->encode($draw_id); goto j5sYC; nXsr1: $obj_types = $objarr[1]; goto S7dL9; hFsOX: if ($prize2Model["\x74\x69\x6d\x65\x5f\164\171\160\x65\x73"] == 2) { goto n6he1; } goto tXEXS; v7MSO: if (!(intval($object["\151\x73\137\x70\x75\163\x68"]) == 1)) { goto Vdx3V; } goto tqPcS; hYChZ: $origin_buy_types = 0; goto yzwSa; XJtv9: $content = str_replace("\x7b\123\x43\117\122\x45\175", $orderIntmallModel["\163\143\x6f\162\x65"], $content); goto NUiDW; Ys9Lv: $writecode = ''; goto yHBce; O9C1B: $note = "\345\x8f\x82\xe4\270\216\xe6\264\273\345\x8a\250\357\xbc\232" . date("\x59\55\x6d\x2d\x64\x20\x48\72\x69\72\163", TIMESTAMP) . "\x20\xe4\xbc\x9a\xe5\x91\230\xe3\x80\x90" . $userModel["\156\x69\143\x6b\x6e\141\x6d\145"] . "\343\200\221\345\x8f\202\xe4\xb8\216\xe6\xb4\xbb\345\212\xa8\357\274\232" . $object["\x74\x69\x74\154\145"] . "\357\274\x8c\344\275\231\xe9\xa2\235\xe6\224\xaf\xe4\273\x98\345\256\232\xe9\207\221\357\xbc\232" . $pay_sys_money . "\345\205\x83"; goto ZoPvi; B9ycv: pdo_update(ztk_table("\x75\x73\145\x72\x5f\x64\x72\x61\x77", false), array("\x77\x61\x6c\154\x65\164" => $prize2Model["\x77\141\x6c\154\145\x74"], "\x73\164\141\164\x75\163" => 1, "\x75\160\x64\141\164\x65\x74\151\x6d\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto Q9RNB; vsWHC: $userDrawRecordModel["\x6f\142\152\x5f\151\144"] = $prizeModel["\x6f\x62\152\137\x69\144"]; goto YU1fQ; jqJQ0: $noticeMessage = "\346\x81\xad\xe5\226\234\xe6\x82\xa8\xef\xbc\x8c\350\216\xb7\xe5\276\227\350\277\224\345\x88\xa9\345\xa5\x96\xe5\223\201\xef\274\x9a" . $prizeModel["\156\141\x6d\x65"]; goto Tf727; DDi6a: $userDrawRecordModel["\x6f\x62\152\x5f\x69\x64"] = $prize2Model["\x6f\142\152\137\x69\x64"]; goto zgl11; C7aq5: $virtualModel["\x6f\160\x65\x6e\x69\144"] = $joinUserModel["\x6f\x70\145\x6e\x69\x64"]; goto Q1rDS; KTlgC: ydYVh: goto Gf0hd; gfOgY: $draw_data = array("\165\156\151\x61\143\151\x64" => $uniacid, "\x6f\142\x6a\137\x74\x79\160\x65\163" => $obj_types, "\157\142\x6a\x5f\151\144" => $object["\151\x64"], "\x71\162\x5f\151\x64" => 0, "\x71\x72\x5f\x74\157\x6b\x65\156" => '', "\161\x72\137\x6e\x75\155\x62\145\162" => 0, "\160\162\x69\x7a\145\137\151\144" => 0, "\x74\171\160\x65\163" => 8, "\x6f\x72\151\x67\x69\156\137\151\144" => $origin_id, "\x6f\x72\151\147\x69\156\x5f\164\x65\141\155\137\x69\x64" => $origin_team_id, "\157\x72\151\147\151\x6e\x5f\x62\165\171\137\164\x79\x70\145\x73" => $origin_buy_types, "\156\141\155\145" => $object["\164\151\x74\x6c\x65"], "\160\141\171\137\155\157\x6e\x65\x79" => $orderPayModel["\x70\x61\171\137\160\x72\x69\x63\x65"], "\x70\141\x79\x5f\x73\171\163\137\155\x6f\156\x65\x79" => $pay_sys_money, "\160\141\x79\137\x6e\165\x6d\x62\145\x72" => $pay_number, "\151\x6e\x76\x69\x74\145\137\157\x70\x65\x6e\151\x64" => $joinModel["\x6f\160\145\x6e\151\x64"], "\x70\x72\x69\172\145\x5f\x70\151\x63\x5f\165\162\x6c" => $object["\160\x69\x63\x75\x72\154"], "\167\x72\x69\164\145\157\146\x66\x5f\164\171\160\145\x73" => $writeoff_types, "\x6f\x70\x65\156\151\144" => $orderPayModel["\157\160\x65\156\x69\x64"], "\x6e\x69\143\x6b\156\x61\x6d\x65" => $userModel["\x6e\x69\143\x6b\156\141\155\145"], "\x73\145\x78" => $userModel["\x73\x65\170"], "\150\145\x61\x64\165\x72\154" => $userModel["\150\x65\x61\144\165\162\154"], "\141\x72\x65\x61" => $userModel["\141\162\x65\141"], "\x69\160" => $_SERVER["\x52\105\115\x4f\x54\x45\137\x41\104\x44\122"], "\151\x73\x5f\x72\145\147\x69\163\x74\145\x72" => $object["\x62\x75\171\x5f\x69\x73\137\162\145\147\151\x73\164\x65\162"], "\162\145\x67\151\163\x74\145\x72\x5f\144\141\164\x61" => base64_decode($register_data), "\143\x72\145\141\x74\x65\164\151\x6d\145" => TIMESTAMP, "\142\x75\x79\137\x6e\165\x6d\142\145\x72" => $buy_reobjspecs["\x73\x70\145\143\x73\137\156\165\x6d\163"]); goto PVtvZ; O1NHd: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto XpA2Z; v3Ge2: i__2A: goto fzL4c; rT_S5: gS7iD: goto xvBXP; AAfRf: $mobile = $userModel["\x6d\x6f\x62\x69\154\x65"]; goto wwk07; tiHOp: $result = sendTplNotice($uniacid, $originModel["\157\160\x65\x6e\x69\x64"], $postdata, $template_id, $url); goto tyWEQ; IwSSN: $userDrawRecordModel["\x6f\160\145\156\151\144"] = $join2UserModel["\x6f\x70\x65\156\x69\x64"]; goto aYUlL; jlpr8: $drawcode = $draw_data["\x70\141\171\137\x6e\165\x6d\x62\x65\162"]; goto Ue60h; zPAts: $prizeModel_rebate["\x72\x65\x64"] = mt_rand($min * 100, $max * 100) / 100; goto pn3ju; tF1sm: DyBbG: goto Ln_WZ; jQV19: pdo_insert("\154\171\167\x79\167\x6c\137\172\x74\153\x5f\x73\171\x73\x5f\x64\x72\141\167\x63\x6f\144\x65\x5f\144\141\164\141", $drawcode_data_array); goto VBDkc; AdATz: jSsnP: goto T81Y6; HnVf2: updateUserMoney($uniacid, $joinUserModel["\157\160\x65\156\151\x64"], floatval($prizeModel["\163\171\x73"]), $note, 1, $obj_types, $draw_id); goto mC0Ge; Gou6j: QWEXC: goto JyUDX; OlbA5: if (!($join_model["\160\x69\144"] > 0)) { goto Col_B; } goto G2gtv; ggono: KN4Cr: goto z4wlz; MDanD: if (intval($prizeModel["\164\x79\x70\145\163"]) == 5) { goto OF5aN; } goto LZZ4W; S12IV: if (!(intval($prizeModel_rebate["\143\162\145\x61\164\x65\x5f\164\171\x70\145\x73"]) == 1)) { goto F1vP7; } goto hDHej; gXGn8: LhQ12: goto Y3tm5; tpAZC: if (empty($sms_tmp)) { goto CoaW1; } goto B1oCI; QcPvU: list($min, $max) = explode("\x2d", $prizeModel["\163\143\157\162\x65"]); goto KvXYr; nMTx2: $sms_tmp = pdo_get(ztk_table("\x74\x6d\160\x5f\163\155\x73", false), array("\151\x64" => $sms_tmp_id)); goto MPykK; mtCIn: $content = str_replace("\173\x47\116\x41\115\105\175", $orderIntmallModel["\x70\162\157\144\x75\x63\164\x5f\x74\x69\164\154\145"], $content); goto fHndM; t7Fd8: $userMoneyRecharge["\x6f\x72\x64\x65\162\x5f\x6e\x75\155\142\145\162"] = $orderPayModel["\160\x61\171\x5f\x6e\x75\155\142\145\x72"]; goto fzd2M; kXSc1: $prizeModel = null; goto Ph1x9; o05uG: $content = str_replace("\173\x57\x52\111\x54\x45\x4f\106\106\x43\x4f\104\x45\175", $writecode, $content); goto mFtBv; O3ZS3: if (!(!empty($joinUserModel) && !empty($joinUserModel["\155\x6f\142\x69\154\145"]))) { goto y76fX; } goto a0Fry; zicX0: $url = replaceDieDomain($config, __MURL("\141\x64\155\151\156\x73\137\x6d\x61\162\153\x65\x74\x69\156\x67", array("\x6f\x62\152\137\x74\x79\x70\145\x73" => $obj_types, "\157\142\x6a\x5f\x69\x64" => $object["\151\x64"]), false, TRUE), 0, 0, 0, 0); goto zn4y7; KvXYr: $prizeModel["\x73\x63\x6f\162\x65"] = mt_rand($min, $max); goto frGcg; q3One: $userDrawRecordModel["\143\162\145\x61\x74\145\x74\151\x6d\145"] = time(); goto e1S_e; Whi1a: foreach ($prizeList as $key => $val) { goto a7MIN; rntTR: $arr[$key] = $val["\157\x64\x64\x73"]; goto VhDZ9; F_zT0: goto F74uU; goto y2HNT; Nd0PH: if (!($count >= intval($val["\x6c\x69\155\151\164\x5f\156\x75\x6d"]))) { goto LRy9h; } goto F_zT0; wbM90: if (!($count >= intval($val["\x6c\x69\x6d\151\164\137\x6e\165\x6d"]))) { goto C00av; } goto QHIML; fRX1V: if (!(intval($val["\154\x69\x6d\151\164\137\164\x79\x70\145\163"]) == 1 && intval($val["\x6c\151\x6d\x69\164\137\156\165\155"]) > 0)) { goto agoMy; } goto DZwuJ; I9Zit: PhlmX: goto Qhvle; pbUg2: goto F74uU; goto I9Zit; zndzJ: agoMy: goto rntTR; wky5i: C00av: goto zndzJ; a7MIN: if (!(intval($val["\x6f\144\144\163"]) <= 0)) { goto PhlmX; } goto pbUg2; VhDZ9: F74uU: goto Lr2da; QHIML: goto F74uU; goto wky5i; nzU5z: QuZzh: goto fRX1V; z1Njs: $count = pdo_getcolumn(ztk_table("\x75\x73\145\162\x5f\x64\x72\x61\x77", false), array("\160\x72\x69\172\x65\137\x69\144" => $val["\151\x64"], "\x6f\160\x65\156\151\144" => $joinUserModel["\x6f\160\x65\156\151\144"]), "\x63\x6f\x75\156\x74\50\x2a\x29"); goto Nd0PH; DZwuJ: $count = pdo_fetchcolumn("\123\x45\114\105\x43\x54\x20\x43\x4f\125\116\x54\50\x2a\51\40\x46\x52\x4f\x4d\40" . ztk_table("\x75\163\145\162\137\144\162\x61\x77") . "\40\127\x48\105\122\x45\40\40\160\162\x69\172\145\137\x69\144\40\75\40\x3a\160\162\x69\x7a\x65\137\151\144\40\101\x4e\104\x20\x6f\160\x65\x6e\151\x64\x20\x3d\x20\72\x6f\x70\145\x6e\x69\x64\x20\101\116\104\x20\x46\122\x4f\x4d\x5f\125\116\111\130\x54\x49\115\x45\50\x63\x72\x65\x61\164\x65\x74\x69\155\x65\54\x20\x27\45\x59\45\x6d\45\x64\47\51\x20\75\x20\104\101\x54\x45\x5f\106\x4f\122\115\101\124\x28\116\x4f\127\50\51\x2c\x27\x25\131\x25\155\45\x64\47\x29", array("\x3a\x70\x72\151\172\145\137\151\x64" => $val["\x69\144"], "\x3a\x6f\160\x65\156\151\144" => $joinUserModel["\157\160\145\x6e\x69\x64"])); goto wbM90; Qhvle: if (!(intval($val["\x6c\151\x6d\151\164\x5f\164\x79\x70\145\x73"]) == 0 && intval($val["\x6c\151\155\x69\x74\x5f\x6e\165\x6d"]) > 0)) { goto QuZzh; } goto z1Njs; y2HNT: LRy9h: goto nzU5z; Lr2da: } goto axTiz; Ja0q5: tgowK: goto k0tcr; yn4_g: $virtualModel = pdo_get(ztk_table("\x70\x72\x69\172\x65\137\x76\x69\162\164\x75\141\154\137\144\x61\x74\x61", false), array("\166\151\162\x74\x75\141\x6c\137\151\144" => $object["\166\151\x72\x74\165\x61\x6c\x5f\151\x64"], "\x73\x74\141\164\165\x73" => 1)); goto gIBAY; ViiQx: $userDrawRecordModel["\x6f\142\152\x5f\151\144"] = $prizeModel["\x6f\142\152\137\x69\x64"]; goto REqWS; nNz73: $content = $content . "\x20\343\200\x90" . $sms_tmp["\x73\x69\x67\x6e"] . "\343\200\x91"; goto EI3fh; loHBg: updateUserMoney($uniacid, $joinUserModel["\x6f\160\145\x6e\151\144"], floatval($prizeModel["\x73\171\x73"]), $note, 1, $obj_types, $draw_id); goto qssMa; DT6Ys: $userDrawRecordModel["\x75\x6e\151\x61\x63\x69\144"] = $prize2Model["\165\156\x69\x61\x63\x69\x64"]; goto HZ9wU; BKQtp: CPheQ: goto ugPTA; UIWHc: $content = str_replace("\x7b\x4f\x42\x4a\175", $object["\164\x69\x74\154\x65"], $content); goto YKjSR; iUrzs: $userDrawRecordModel["\x75\156\151\141\143\x69\144"] = $prizeModel["\x75\156\151\x61\x63\x69\144"]; goto dkjJy; nmPsW: if (!empty($prize2Model)) { goto GsNyH; } goto WWfr_; Fki2b: if (intval($prizeModel["\164\x79\x70\x65\x73"]) == 2) { goto Zqyxa; } goto wrbuP; dXq5E: $noticeMessage = "\346\x81\255\xe5\226\x9c\346\x82\xa8\357\xbc\214\xe8\x8e\267\345\276\x97\350\xbf\x94\xe5\210\xa9\345\245\x96\345\223\x81\xe2\200\234{$prizeModel["\156\141\155\145"]}\xe2\200\x9d\xef\274\214\xe8\257\xb7\xe5\x88\260\xe6\202\250\347\x9a\204\xe5\xbe\256\344\277\xa1\345\x8d\xa1\xe5\x8c\205\346\x9f\245\347\234\x8b\343\x80\202"; goto JhX7L; BPVZL: pdo_update(ztk_table("\x75\x73\145\162\137\143\157\154\154\141\147\x65\x5f\x6a\x6f\x69\x6e", false), array("\x6a\157\x69\156\x73\40\53\75" => 1), array("\x69\x64" => $join_id)); goto gmGBy; Yk2Ne: $templatecode = $sms_tmp["\164\145\x6d\x70\x6c\141\x74\x65\x63\157\x64\145"]; goto qj0kV; HIOsk: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto s3c1P; TJjCV: $userDrawRecordModel["\164\171\x70\145\163"] = 1; goto Qw3T1; MwQNt: $note = "\350\277\224\xe5\x88\xa9\350\x8e\267\xe5\xbe\227\357\274\232" . date("\x59\55\155\x2d\144\x20\110\x3a\151\x3a\163", TIMESTAMP) . "\x20\xe4\xbc\x9a\345\221\230\xe3\x80\x90" . $userModel["\x6e\151\143\153\156\141\155\145"] . "\343\x80\221\345\217\202\xe4\xb8\x8e\xe6\264\xbb\345\212\250\357\274\232" . $object["\x74\151\x74\x6c\x65"] . "\357\xbc\x8c\350\216\xb7\345\276\227\xe9\x9b\266\xe9\222\261\357\274\232" . $prizeModel["\x73\171\163"] . "\345\x85\203"; goto loHBg; bIA3Z: pdo_insert(ztk_nopre_table("\x75\163\x65\x72\x5f\144\x72\141\x77\137\162\145\x63\157\162\x64"), $userDrawRecordModel); goto pzuKw; f6FxC: $result = sendSiteWeixinRedPacket($joinUserModel["\157\160\x65\156\x69\144"], floatval($prizeModel["\162\145\144"]) * 100, "\346\x81\xad\xe5\226\x9c\xe5\x8f\221\xe8\xb4\242\x20\345\244\xa7\345\220\x89\xe5\244\xa7\345\210\251\xef\274\x81", "\xe7\244\274\xe5\223\201\346\x8b\223\xe5\256\242\346\264\273\345\212\250", "\xe8\265\266\xe5\xbf\253\345\x88\x86\344\xba\xab\xe7\273\231\xe6\202\250\347\232\204\xe5\xa5\xbd\xe5\217\x8b\344\xb8\x80\xe8\xb5\267\351\xa2\x86\xe7\272\242\345\214\x85\xe5\x90\247", $config["\160\x6f\167\x65\162"], true, $uniacid, $config); goto zB388; QsDaM: FxXxC: goto jqhTy; j5sYC: $join_draw_data = array("\x77\x72\x69\x74\x65\x63\x6f\x64\145" => $encode_id); goto HEbGR; QMr1b: if (intval($prizeModel["\x74\x79\x70\x65\x73"]) == 3) { goto w1Uzb; } goto FlWM6; IS_RM: $ali_accesskeysecret = $config["\x61\x6c\x69\137\141\143\x63\x65\x73\163\153\145\x79\x73\145\143\162\145\164"]; goto APfri; scxAk: pdo_insert(ztk_nopre_table("\x75\163\x65\162\x5f\155\157\156\x65\x79\x5f\x72\x65\143\150\141\x72\x67\145"), $userMoneyRecharge); goto x4dcW; Vas1v: pPzXq: goto e5Pvx; feqYR: emsN2: goto RfJCf; hp9qC: zpz4G: goto MiJZH; ADaXP: goto e0tjo; goto Wmg9N; vSn5C: $userDrawRecordModel["\x6f\x62\x6a\x5f\164\171\160\x65\163"] = $prizeModel["\157\142\152\x5f\x74\171\x70\145\x73"]; goto PSu1a; z3BiZ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto xUL2n; miM_6: $tableName = $permission_data[$object["\x64\x72\141\167\x5f\x61\143\164\x69\166\151\x74\x79\x5f\164\171\x70\x65"]]; goto fljyj; VtCaG: $hashids = Hashids::instance(6, "\154\171\167\171\172\164\x6b", ''); goto E5arg; tNqUw: JVx_s: goto TXXf8; EoA4r: if (!($object["\151\163\137\x66\145\x64\145\x78"] == 1)) { goto h9fty; } goto XOU4H; sbgPp: $sms_tmp_id = $config["\142\x75\171\163\155\163\x74\x6d\x70\x5f\151\144"]; goto MQ0is; M40Kk: if (!(!empty($joinUserModel) && !empty($joinUserModel["\x6d\x6f\x62\x69\154\145"]))) { goto ssq3w; } goto AAZGz; V8yBS: $url = replaceDieDomain($config, __MURL("\165\x73\145\162\x5f\144\162\x61\167", array("\x61\x63\164" => "\x69\x6e\144\145\x78"), false, TRUE), $userModel["\x69\144"], $obj_types, $object["\x69\x64"], 0); goto HDlNI; crZ9Q: $joinCount = pdo_count(ztk_nopre_table("\x75\x73\x65\x72\137\154\141\144\x64\145\x72\x5f\x6a\x6f\x69\x6e"), array("\165\x6e\151\141\x63\x69\x64" => $uniacid, "\x6f\x62\152\137\x74\171\160\145\163" => $obj_types, "\157\142\152\137\x69\144" => $object["\151\x64"], "\x70\151\x64" => $pid)); goto uWeX4; QAUq9: if ($orderPayModel["\163\164\x61\164\165\x73"] == 0) { goto K9zAa; } goto u2hy6; P7gIj: $content = str_replace("\x7b\127\122\111\124\105\117\x46\106\103\x4f\x44\x45\175", $writecode, $content); goto l7bQs; EVTMh: $noticeMessage = ''; goto s06V1; cwS0c: N_N3h: goto PYij0; Z1AsR: goto ObSyb; goto xx2mY; Iuc4u: if (!(intval($object["\142\165\171\137\151\x73\x5f\x70\x75\163\150"]) == 1)) { goto V4nM9; } goto yECZv; k0tcr: j4YJM: goto pOJHd; JPYt8: zwoPo: goto MFbBw; t11W3: $param = ["\156\x61\155\x65" => $joinUserModel["\156\151\143\153\x6e\x61\x6d\145"], "\x6f\x62\x6a" => mb_substr($object["\164\151\164\x6c\x65"], 0, 20, "\165\164\x66\x2d\x38"), "\x70\162\x69\172\145" => $prizeModel["\x6e\141\x6d\145"], "\143\157\x64\145" => $writecode]; goto gfMtb; Sk02F: $userDrawRecordModel["\x61\x63\164\x5f\x6e\141\x6d\x65"] = "\347\xa4\xbc\xe5\x93\x81\346\x8b\x93\xe5\xae\xa2\346\xb4\273\xe5\x8a\xa8"; goto D1nKm; JX6Dr: pdo_update(ztk_table("\x75\163\x65\162\137\144\162\141\x77", false), $code_draw_data, array("\151\x64" => $draw_id)); goto SBkOu; v_4Y3: $userMoneyRecharge["\x6f\160\x65\156\x69\x64"] = $orderPayModel["\157\160\x65\156\151\x64"]; goto fn4Fp; V4WaF: goto S__Lv; goto DVR1t; MdMpW: updateUserMoney($uniacid, $userModel["\x6f\x70\x65\x6e\151\x64"], floatval($prizeModel_rebate["\163\171\163"]), $note, 1, $obj_types, $draw_id); goto awKd3; cGpjm: $template_id = $object["\142\165\171\x5f\x70\165\x73\150\137\164\x6d\160"]; goto AJtGS; SqB_v: $sign = $sms_tmp["\163\151\147\156"]; goto wi3SD; cKxwD: $content = str_replace("\x7b\x57\x52\x49\x54\x45\117\106\106\x43\117\104\x45\175", $writecode, $content); goto zuCDO; obPqx: qIbFh: goto tanP_; P4NEM: $code_draw_data["\x73\164\141\x74\165\163"] = 1; goto mhbis; t88YW: $userDrawRecordModel["\165\160\x64\141\x74\x65\x74\x69\x6d\x65"] = time(); goto p219S; RQZFl: if ($orderPayModel["\x74\x79\160\145\x73"] == 3) { goto Ue4PZ; } goto olZMh; Cjy1D: twcPX: goto Py6lo; HQlef: $join_draw_data = array("\167\x72\x69\x74\145\x63\157\144\145" => $encode_id); goto oAe0F; MFQrv: $permission_data = array("\65" => "\157\x62\x6a\x5f\167\x68\145\145\154", "\66" => "\157\x62\152\x5f\71\x62\x6f\170", "\67" => "\x6f\142\152\137\164\151\147\x65\162", "\x38" => "\157\x62\x6a\137\x73\143\162\141\164\x63\150", "\71" => "\x6f\x62\x6a\137\145\147\x67\163", "\61\x30" => "\x6f\142\x6a\x5f\x70\x6f\x6b\145\x72", "\x31\x31" => "\157\142\x6a\137\163\x68\x61\x6b\145", "\x31\62" => "\x6f\142\152\137\x6f\x70\x65\156\143\141\162\x64", "\x31\63" => "\x6f\142\152\x5f\x62\141\147"); goto ercac; tuTE9: goto BtAGC; goto KmCl7; Rlgqg: $userMoneyRecharge["\157\162\144\x65\162\137\x6e\165\x6d\142\145\162"] = $orderPayModel["\x70\141\171\x5f\156\165\x6d\x62\145\x72"]; goto fQEd3; cUZgB: NcR6D: goto k3LiW; G8ZVb: $result = pdo_insert(ztk_table("\165\163\x65\x72\x5f\x64\162\141\x77", false), $join_draw_data); goto d6pVn; e31eB: BREVx: goto UtC2r; KNJ62: $userDrawRecordModel["\x63\x72\145\x61\x74\x65\x74\x69\x6d\145"] = time(); goto Rkumv; I0JEg: MI_AM: goto ivvmy; BDg3a: $userDrawRecordModel["\x73\x74\x61\x74\165\x73"] = $result === true ? 1 : 0; goto GXVXO; bOWKg: $userDrawRecordModel["\x75\x70\144\141\164\145\x74\151\x6d\x65"] = time(); goto QY7oA; VbpRm: pI4Vb: goto Vas1v; vOWj5: $code_draw_data["\166\151\162\164\165\141\x6c\x5f\144\x61\164\x61\137\151\144"] = 0; goto O02tV; TxHIc: $userDrawRecordModel["\163\164\141\164\165\163"] = $result === true ? 1 : 0; goto wbTn6; mFtBv: $content = str_replace("\173\117\102\112\x7d", $object["\x74\151\164\154\x65"], $content); goto hoIJR; JJ8pG: goto l4bKM; goto nMV1c; k0k5e: WvrXd: goto Kr2Ka; i6shI: list($min, $max) = explode("\55", $prizeModel["\x73\x79\x73"]); goto rTZmq; ifaWp: $noticeMessage = "\346\201\xad\345\x96\x9c\346\202\xa8\54\350\216\xb7\xe5\xbe\227\xe8\xbf\224\345\x88\xa9\345\245\226\xe5\223\201\xe2\200\234{$prizeModel["\156\x61\155\145"]}\342\x80\x9d\350\216\xb7\xe5\xbe\x97\xe5\276\256\xe4\277\xa1\xe9\233\266\351\x92\xb1\xef\xbc\x9a{$prizeModel["\x77\141\x6c\154\145\164"]}\345\205\x83\357\274\x8c\xe8\xaf\xb7\xe5\210\260\xe6\x82\250\347\x9a\204\345\276\xae\xe4\277\xa1\xe9\x92\261\345\214\x85\xe6\x9f\xa5\347\x9c\213\343\x80\202"; goto GOzeg; JNKWV: if ($prizeModel["\151\x73\x5f\x73\x6d\163"] == 1) { goto ECElU; } goto kp6Cr; N50A_: $note = "\345\x8f\x82\xe4\xb8\x8e\346\xb4\xbb\xe5\212\250\357\xbc\232" . date("\x59\x2d\155\55\144\x20\x48\x3a\x69\72\x73", TIMESTAMP) . "\x20\344\xbc\x9a\xe5\221\230\343\x80\x90" . $userModel["\x6e\151\x63\153\156\x61\x6d\x65"] . "\xe3\x80\221\xe5\217\x82\344\270\216\346\xb4\273\345\212\250\357\xbc\x9a" . $object["\x74\151\x74\154\145"] . "\xef\274\214\xe6\224\257\xe4\273\230\351\x87\x91\351\242\235\357\274\x9a" . floatval($orderPayModel["\x70\x61\x79\137\160\162\151\x63\145"]) . "\345\205\x83"; goto jij51; zjVU2: $content = str_replace("\173\120\x52\x49\132\x45\175", $prizeModel["\x6e\141\155\145"], $content); goto o05uG; kjEHN: $sn = $config["\163\155\x73\137\x75\151\x64"]; goto AkdOr; AT_sI: $userMoneyRecharge = array(); goto Dk7Xh; aplW5: NQrpP: goto oidck; ROrZs: $sms_tmp = pdo_get(ztk_table("\x74\x6d\x70\x5f\163\x6d\163", false), array("\x69\x64" => $sms_tmp_id)); goto OFJrt; qj0kV: $param = ["\156\x61\x6d\x65" => $join2UserModel["\156\151\143\x6b\156\141\155\x65"], "\157\142\152" => mb_substr($object["\x74\x69\x74\154\x65"], 0, 20, "\165\x74\x66\x2d\70"), "\160\162\151\172\x65" => $prize2Model["\156\x61\155\145"], "\143\x6f\144\145" => $writecode]; goto EyeIJ; wNNGr: goto sTBy5; goto FK5Cp; kkDZG: MnJDW: goto ANxJA; eZ6Rf: if (empty($object["\142\165\171\x5f\x70\x75\x73\150\137\164\155\x70"])) { goto qkK1s; } goto KIUJQ; ZjIhl: pdo_update(ztk_table("\165\163\145\162\x5f\x61\x63\143\x6f\165\156\x74", false), array("\x63\165\163\x74\x6f\x6d\x5f\156\x75\x6d\x20\53\x3d" => 1), array("\157\160\x65\156\x69\x64" => $joinUserModel["\157\x70\x65\156\151\x64"])); goto Nnl0q; rtkfu: goto ki9cs; goto IYwr5; rxTLh: pdo_update(ztk_table("\155\141\162\x6b\x65\x74\151\x6e\147\137\x75\163\x65\162", false), array("\147\145\x74\137\x6e\165\x6d\40\53\75" => 1), array("\x69\144" => $origin_id)); goto akNwW; w8WtX: SdyxM: goto tZ20a; da7HC: if (!isSiteFollow($orderIntmallModel["\x6f\160\145\x6e\151\x64"])) { goto KDtaa; } goto UZBTR; NJArh: goto UGGWY; goto gFTl3; UJL0A: goto N76e0; goto J4H38; EHZ_Q: pdo_update(ztk_table("\x6d\141\162\x6b\145\x74\x69\156\147\137\165\163\x65\162", false), array("\x67\x65\x74\137\x6e\165\x6d\40\x2b\x3d" => 1), array("\x69\144" => $origin_id)); goto zUwWy; Yaobq: $encode_id = $hashids->encode($draw_id); goto BlH4q; yluyp: $noticeMessage = "\346\201\xad\xe5\x96\x9c\xe6\202\250\xef\274\214\350\216\xb7\xe5\276\227\xe8\xbf\x94\xe5\x88\xa9\xe5\xa5\x96\345\x93\201\xef\xbc\232" . $prizeModel["\x6e\141\x6d\145"]; goto B4n3W; qfoeL: $joinPayModel["\x6f\142\152\137\x69\144"] = $object["\x69\144"]; goto cpc5z; wU6Bg: if (intval($prizeModel_rebate["\164\x79\x70\x65\163"]) == 5) { goto V1y1p; } goto I89tA; piXkf: $result = pdo_insert(ztk_table("\165\x73\x65\x72\x5f\x64\162\x61\x77", false), $draw_data); goto xqWdo; eplIt: QP39U: goto dwiy3; mM6QP: sendTplNotice($uniacid, $userModel["\157\x70\145\x6e\x69\144"], $postdata, $template_id, $url); goto rSLPW; bPjYa: $virtualModel["\x73\164\x61\x74\x75\163"] = 0; goto oWW4Z; DaBrc: pdo_update(ztk_table("\x75\163\x65\162\x5f\143\157\x6c\x6c\141\x67\145\137\152\157\151\156", false), array("\x6d\157\x6e\145\x79\x20\x2b\x3d" => floatval($prizeModel["\x72\145\144"])), array("\151\144" => $joinModel["\151\144"])); goto ZogWb; ikh9F: $drawcode_data_array = array("\x75\156\x69\x61\x63\151\144" => $uniacid, "\x64\x72\x61\167\143\157\144\x65\x5f\x69\144" => $draw_activity_model["\144\x72\141\167\143\x6f\x64\145\x5f\151\x64"], "\x6f\160\x65\156\151\144" => $orderPayModel["\157\x70\145\x6e\x69\x64"], "\x63\x6f\144\x65" => $drawcode, "\163\x74\x61\164\x75\x73" => 1, "\x63\x72\145\x61\x74\x65\x74\x69\155\145" => TIMESTAMP); goto IBg5U; OSx3k: $userMoneyRecharge["\x75\156\151\x61\x63\x69\x64"] = $uniacid; goto pbvwE; FGCm2: $prize2Model["\x73\143\157\x72\x65"] = mt_rand($min, $max); goto rWBtU; YaUQF: nCy0k: goto csHP1; Oe5Tg: $userDrawRecordModel["\x63\162\x65\141\x74\145\164\151\155\145"] = time(); goto I6CNt; sDxe9: gZ7_j: goto eaATc; G1MHf: pdo_update(ztk_table("\165\x73\x65\x72\x5f\x61\x63\143\157\165\156\164", false), array("\x63\x75\163\x74\x6f\155\x5f\x6e\x75\155\x20\x2b\x3d" => 1), array("\x6f\160\145\156\x69\x64" => $joinUserModel["\x6f\x70\x65\x6e\x69\x64"])); goto FoMFR; gQe0Y: $prizeModel = $prizeList[$rid]; goto gZrRd; zecnQ: list($min, $max) = explode("\55", $prize2Model["\x73\x63\x6f\x72\145"]); goto FGCm2; yVp10: pdo_update(ztk_table("\165\x73\145\x72\x5f\x63\157\154\154\141\147\145\x5f\152\x6f\151\156", false), array("\x6d\x6f\x6e\145\171\x20\x2b\75" => floatval($prizeModel["\163\x79\163"])), array("\151\x64" => $joinModel["\x69\144"])); goto MYsh3; LerT2: sendSiteTplNotice($uniacid, $join2UserModel["\x6f\160\145\x6e\x69\144"], $postdata, $template_id, $url); goto TTwbN; b2dKc: pdo_update(ztk_table("\x75\163\x65\162\137\x61\143\x63\157\165\x6e\164", false), array("\166\x69\162\164\165\141\154\137\156\165\x6d\x20\53\x3d" => 1), array("\x6f\x70\145\156\151\x64" => $userModel["\157\x70\145\x6e\x69\x64"])); goto pTsR_; LLQj4: $userDrawRecordModel["\x63\141\162\144\x5f\151\x64"] = $prizeModel["\143\x61\x72\x64"]; goto CGp5O; wnExP: $mobile = $joinUserModel["\x6d\157\x62\151\x6c\145"]; goto rHpce; wK5jZ: qUJAa: goto XHJnK; CrnTW: cKnQp: goto k22jw; ZaStf: WkQnt: goto YRmad; u8Llf: $userDrawRecordModel["\144\145\x73\x63"] = $prizeModel["\156\x61\x6d\145"]; goto PHLUE; sXROk: EQRg3: goto MafsT; xPgcA: $content = $content . "\40\xe3\200\x90" . $sms_tmp["\x73\x69\147\x6e"] . "\343\200\x91"; goto oiMP6; p295N: SJmW3: goto KnuDf; F3oJ_: $prizeModel["\x77\x61\x6c\154\145\x74"] = mt_rand($min * 100, $max * 100) / 100; goto AlTwx; N_vt2: if (!$orderPayModel) { goto JauCg; } goto KeW48; aZgWH: $noticeMessage = ''; goto IBMau; u0tZ6: if (!(intval($prizeModel["\x63\162\x65\141\164\x65\x5f\164\x79\160\145\163"]) == 1)) { goto n8kiJ; } goto M8xmp; ljXMT: $rid = get_rand($arr); goto h8G6G; mBydR: $ali_accesskeysecret = $config["\141\x6c\x69\137\141\143\143\x65\x73\163\153\145\x79\x73\x65\x63\x72\145\164"]; goto k6w77; uWeX4: if (!($joinCount >= $group_min_num)) { goto Y_Tvf; } goto bYHWS; BS8DH: CZmVt: goto DjbV9; bPBOt: K0jGJ: goto m4DQP; xC10k: $content = $sms_tmp["\x63\x6f\156\164\x65\x6e\x74"]; goto UzSX0; Eb0wP: $noticeMessage = ''; goto qKMd8; QJRkr: include_once "\x69\156\143\x2f\146\x75\x6e\143\x74\151\x6f\156\57\165\163\x65\x72\56\x66\165\x6e\x63\56\160\x68\x70"; goto u0r9Q; RBmlY: if (empty($virtualModel)) { goto jrFdx; } goto Jb0bI; LvoHM: $sn = $config["\163\155\x73\x5f\165\x69\144"]; goto GPyaT; y3HLc: if (!(!empty($join2UserModel) && !empty($join2UserModel["\x6d\157\x62\151\x6c\145"]))) { goto tgowK; } goto ANuD7; UdkgX: $register_data = $orderPayModel["\x6e\157\164\145"]; goto YxuP9; UZqiQ: b0Gln: goto Qvh1H; oPQNF: bYVHA: goto SqED4; WHp_S: $joinPayModel["\162\145\x67\x69\x73\x74\x65\x72\137\144\141\164\x61"] = $object["\x6a\157\151\x6e\x5f\151\163\137\x72\145\147\151\x73\164\145\x72"] == 1 ? base64_decode($register_data) : ''; goto hm5y2; dJv7E: if (!empty($drawcode_data_model)) { goto Dv1Ts; } goto ikh9F; PfanQ: $origin_team_id = 0; goto oPmkN; Q6RPV: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto qdN1r; TNNUS: foreach ($prizeList as $key => $val) { goto iuXbs; YBiYJ: if (!(intval($val["\154\151\x6d\151\x74\137\164\171\x70\x65\x73"]) == 0 && intval($val["\x6c\x69\x6d\x69\164\137\156\x75\x6d"]) > 0)) { goto tfNev; } goto p09HS; zzoqH: goto r6NNq; goto Ngx6v; MWVMI: if (!($count >= intval($val["\x6c\x69\155\151\x74\137\156\165\155"]))) { goto dn7a_; } goto zzoqH; XVUIy: eovAi: goto KhgTK; dZPKX: if (!(intval($val["\x6c\x69\155\151\x74\x5f\x74\171\x70\x65\x73"]) == 1 && intval($val["\154\x69\x6d\151\164\x5f\x6e\165\x6d"]) > 0)) { goto eovAi; } goto b21mt; KhgTK: $arr[$key] = $val["\x6f\144\x64\x73"]; goto Y0EnU; Y0EnU: r6NNq: goto zcBPS; zWUSi: goto r6NNq; goto pxujO; o3zaF: goto r6NNq; goto BNk2I; Ngx6v: dn7a_: goto O76tn; p09HS: $count = pdo_getcolumn(ztk_table("\165\x73\145\x72\x5f\x64\x72\141\167", false), array("\160\162\151\172\x65\137\x69\x64" => $val["\151\x64"], "\157\x70\145\x6e\x69\x64" => $joinUserModel["\157\160\x65\156\151\x64"]), "\143\x6f\165\x6e\164\50\52\x29"); goto MWVMI; USztr: if (!($count >= intval($val["\154\151\155\x69\x74\137\156\x75\x6d"]))) { goto llWhg; } goto o3zaF; iuXbs: if (!(intval($val["\157\144\144\x73"]) <= 0)) { goto ejz7i; } goto zWUSi; b21mt: $count = pdo_fetchcolumn("\123\x45\114\x45\103\124\x20\103\117\x55\116\124\50\x2a\51\x20\x46\x52\x4f\115\40" . ztk_table("\x75\x73\x65\162\x5f\x64\x72\x61\167") . "\x20\x57\110\x45\122\105\x20\40\160\162\x69\x7a\145\x5f\151\144\x20\75\40\72\160\x72\151\172\145\137\x69\x64\40\101\x4e\104\x20\x6f\x70\x65\x6e\151\x64\x20\x3d\40\72\157\160\x65\x6e\151\x64\40\x41\x4e\104\40\x46\122\117\x4d\x5f\125\x4e\111\130\x54\x49\115\105\x28\x63\162\145\141\x74\145\x74\x69\x6d\x65\x2c\40\47\45\x59\x25\x6d\x25\144\x27\x29\40\75\40\x44\x41\x54\x45\137\106\x4f\x52\115\101\x54\50\x4e\x4f\x57\x28\x29\54\x27\x25\x59\x25\155\45\144\47\x29", array("\72\160\162\151\x7a\x65\x5f\151\144" => $val["\x69\144"], "\x3a\157\x70\x65\x6e\151\144" => $joinUserModel["\x6f\x70\x65\156\x69\x64"])); goto USztr; pxujO: ejz7i: goto YBiYJ; BNk2I: llWhg: goto XVUIy; O76tn: tfNev: goto dZPKX; zcBPS: } goto BSJ0G; aVL6L: KFp_F: goto XMZz4; fnNU_: $userDrawRecordModel = array(); goto lQeq7; e7m17: pdo_update(ztk_table("\165\163\x65\x72\x5f\x64\162\141\x77", false), $join_draw_data, array("\x69\x64" => $draw_id)); goto EDgvE; AsC4x: $pay_sys_money = floatval($object["\x67\x72\x6f\x75\x70\x5f\160\162\x69\x63\145"]) - floatval($orderPayModel["\x70\x61\171\x5f\160\162\x69\x63\x65"]); goto vgnO4; PnOoZ: if (empty($object["\x62\165\171\137\x70\165\163\150\137\x74\155\160"])) { goto FxXxC; } goto jdVcA; pTsR_: $noticeMessage = "\xe6\x81\xad\345\x96\234\346\202\250\357\xbc\214\350\216\xb7\345\xbe\227\350\264\xad\xe4\xb9\xb0\346\212\xbd\xe5\xa5\226\345\245\x96\345\x93\x81\xef\274\x9a" . $prizeModel_rebate["\x6e\x61\x6d\x65"]; goto Pukxz; Bfght: $hashids = Hashids::instance(6, "\x6c\171\167\171\172\164\153", ''); goto nIDaT; dZpeA: AXN13: goto oA7pA; kRMY5: if (empty($originModel)) { goto YYQfc; } goto UvBxr; Z6Tjh: $param = ["\156\141\x6d\145" => $userModel["\x6e\151\143\x6b\x6e\x61\155\145"], "\x6f\142\x6a" => mb_substr($object["\164\151\164\154\x65"], 0, 20, "\x75\x74\x66\x2d\x38"), "\x6d\157\156\145\171" => $drawModel["\x70\x61\x79\137\155\x6f\x6e\x65\171"] + $drawModel["\160\141\x79\x5f\x73\171\163\x5f\x6d\x6f\x6e\x65\171"], "\143\x6f\x64\x65" => $writecode]; goto CrM0A; Tji0R: UvR1j: goto F1ycM; ctY5_: $hashids = Hashids::instance(6, "\154\171\x77\x79\172\164\153", ''); goto Svotx; LTRnP: $userDrawRecordModel["\x63\x72\x65\141\164\x65\x74\x69\x6d\x65"] = time(); goto bIA3Z; om3fE: pdo_update(ztk_nopre_table("\x6f\162\144\x65\x72\137\160\141\x79"), array("\x73\164\141\x74\x75\163" => 1, "\156\x6f\x74\145" => implode("\54", $params)), array("\x69\x64" => $orderPayModel["\151\144"])); goto IJkRE; Wmg9N: fkHZV: goto HM_f2; X5Ioc: $userDrawRecordModel["\165\160\144\141\164\x65\164\151\x6d\x65"] = time(); goto uYy6m; gpM79: $prizeModel = $prizeList[$rid]; goto UAyph; u2hy6: return true; goto VQaJO; Zs3Oz: VE6NJ: goto PdYXJ; ArApm: $joinPayModel["\156\151\143\x6b\x6e\x61\155\x65"] = $userModel["\156\151\x63\x6b\x6e\141\155\x65"]; goto IWzCk; XF1jy: $mobile = $joinUserModel["\155\157\x62\151\154\x65"]; goto J0BLO; niGnL: $url = replaceDieDomain($config, __MURL("\165\163\145\162\137\144\x72\141\x77", array("\141\143\164" => "\x69\x6e\x64\145\x78"), false, TRUE), $join2UserModel["\151\144"], $obj_types, $object["\x69\144"], 0); goto aqBq9; jPzMG: tuzKZ: goto xsomy; zDxyZ: pdo_update(ztk_table("\x75\x73\x65\162\137\141\x63\x63\157\x75\x6e\x74", false), array("\x70\x72\157\x66\x69\164\137\x6d\x6f\156\145\x79\x20\x2b\x3d" => $prizeModel["\x72\145\144"], "\x72\145\x64\137\155\157\x6e\x65\x79\40\53\75" => $prizeModel["\162\x65\x64"], "\x72\145\x64\x5f\155\157\x6e\x65\171\137\x6e\x75\x6d\40\x2b\x3d" => 1), array("\x6f\x70\x65\x6e\151\x64" => $joinUserModel["\157\160\145\156\x69\x64"])); goto fX340; WbfkG: qRqmh: goto yfffG; zXo3l: yONsi: goto MjoIj; lG_r9: $userDrawRecordModel["\x63\141\162\x64\x5f\x69\144"] = $prizeModel["\x63\141\162\144"]; goto gZKQk; I1lbA: fnzVM: goto P4zcq; vgnO4: goto Fbnig; goto jATfg; dwiy3: pdo_update(ztk_table("\x6f\x62\152\x5f\x73\x6f\x6c\151\143\x69\x74\151\156\x67", false), array("\x67\x65\x74\x5f\156\x75\x6d\40\x2b\x3d" => 1), array("\151\144" => $object["\151\144"])); goto GhE15; KsOZA: jzv1t: goto f4f5q; azb_4: $content = str_replace("\x7b\120\x52\x49\x5a\105\175", $prizeModel["\156\x61\x6d\x65"], $content); goto cKxwD; a0Fry: if (intval($sms_tmp["\164\171\160\145\163"]) == 0) { goto B1HIV; } goto eN3sb; vrFSU: $writecode = ''; goto LDHxA; bGlTU: $result = pdo_insert(ztk_table("\x75\163\145\162\x5f\144\162\x61\167", false), $draw_data); goto yNB5e; oE1aH: pdo_update(ztk_table("\165\163\x65\x72\137\x61\x63\x63\157\165\x6e\x74", false), array("\143\x75\163\x74\x6f\155\137\156\165\155\x20\x2b\75" => 1), array("\157\160\x65\x6e\x69\x64" => $userModel["\157\x70\145\156\x69\144"])); goto z9mAL; nDGyD: $join_draw_data["\x65\x6e\144\137\164\151\155\145"] = $prizeModel_rebate["\164\x69\155\145\137\x65\x6e\x64"]; goto G_JgT; P8_0Q: JD912: goto KkR9_; FiOo3: goto t3OG8; goto AVM36; a1l9X: pdo_update(ztk_nopre_table("\157\162\x64\145\x72\137\x70\141\x79"), array("\163\x74\x61\164\x75\163" => 1, "\156\157\x74\x65" => implode("\54", $params)), array("\x69\144" => $orderPayModel["\x69\144"])); goto j9vq2; ryEFB: if (!empty($drawcode_data_model)) { goto pI4Vb; } goto ogZcE; mFYwX: pdo_update(ztk_table("\165\x73\145\x72\x5f\x64\x72\x61\167", false), array("\x77\x61\x6c\154\x65\x74" => $prizeModel_rebate["\167\x61\x6c\x6c\x65\x74"], "\163\164\x61\x74\x75\x73" => 1, "\165\160\x64\x61\164\145\x74\x69\155\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto aaicy; z9mAL: PZ4iR: goto ce8m6; deYP_: if (!($prizeModel_rebate["\164\171\160\x65\x73"] == 6)) { goto FtEeb; } goto UHf8C; xpWNL: pdo_update(ztk_table("\155\141\162\153\x65\x74\151\156\x67\137\165\163\145\x72", false), array("\x6a\x6f\x69\x6e\x5f\x6e\165\x6d\40\53\x3d" => 1), array("\x69\x64" => $origin_id)); goto zXo3l; mPxov: $draw_id = pdo_insertid(); goto Bfght; cXywV: $note = "\xe5\x8f\x82\xe4\270\x8e\346\xb4\273\345\x8a\250\xef\xbc\232" . date("\131\x2d\x6d\55\x64\40\x48\72\x69\x3a\163", TIMESTAMP) . "\40\344\xbc\232\xe5\x91\230\xe3\x80\x90" . $userModel["\156\x69\x63\x6b\156\141\x6d\145"] . "\xe3\200\221\xe5\217\202\xe4\270\216\346\xb4\xbb\xe5\x8a\xa8\357\xbc\232" . $object["\164\x69\x74\154\x65"] . "\357\274\x8c\xe6\x94\xaf\344\273\x98\345\xae\x9a\351\207\221\xef\xbc\232" . floatval($orderPayModel["\x70\141\171\137\160\162\151\x63\x65"]) . "\345\205\203"; goto Zu0fr; IKaa_: DVwpy: goto vZzZI; nqv47: $noticeMessage = "\346\x81\255\xe5\x96\x9c\xe6\202\250\357\xbc\x8c\xe8\x8e\xb7\345\xbe\x97\350\xbf\224\xe5\210\251\345\245\x96\xe5\223\x81\342\x80\x9c{$prizeModel["\x6e\141\155\145"]}\xe2\200\x9d\350\216\267\xe5\xbe\227\347\xa7\xaf\xe5\x88\x86\xe5\245\226\xe5\212\261\357\xbc\x9a{$prizeModel["\163\x63\157\x72\145"]}\345\210\x86"; goto GfdSc; fR4xC: $encode_id = $hashids->encode($draw_id); goto HA241; f3Xis: $userMoneyRecharge["\x6f\x72\144\x65\x72\137\x6e\x75\x6d\x62\x65\x72"] = $orderIntmallModel["\157\162\144\x65\162\137\156\x75\x6d\x62\145\162"]; goto mu_0Z; z9g5Q: if (!(!empty($join2UserModel) && !empty($join2UserModel["\155\157\x62\151\154\x65"]))) { goto wHboL; } goto I_bzR; p4Fim: $writecode = $encode_id; goto UeqcS; FcHTp: if (!($prizeModel["\x74\171\x70\x65\163"] == 6)) { goto T_Ba5; } goto Rzto6; QiCf0: T12H9: goto TXwW3; LG2Qs: $content = str_replace("\x7b\x4f\102\x4a\175", $object["\x74\x69\164\154\x65"], $content); goto Ov8aG; zDSbh: $content = str_replace("\x7b\116\111\x43\113\116\x41\115\x45\x7d", $userModel["\156\x69\143\153\156\141\x6d\145"], $content); goto mtCIn; qXing: jYrZo: goto nLlc1; ZogWb: $noticeMessage = "\xe6\201\255\345\x96\234\xe6\202\250\xef\xbc\x8c\350\x8e\xb7\345\276\227\xe8\277\224\xe5\210\xa9\345\xa5\x96\xe5\x93\201\xe2\200\234{$prizeModel["\x6e\x61\x6d\145"]}\xe2\x80\235\xe8\216\xb7\xe5\276\x97\347\216\260\xe9\207\221\347\xba\242\345\214\x85\357\274\232{$prizeModel["\162\x65\144"]}\xe5\x85\203\357\xbc\214\350\xaf\xb7\345\x88\260\xe6\202\250\xe7\x9a\204\xe5\xbe\256\xe4\xbf\xa1\xe9\x92\xb1\345\x8c\x85\346\x9f\xa5\347\x9c\x8b\xe3\200\x82"; goto cTYN5; PAWDW: $noticeMessage = "\xe6\201\255\345\226\x9c\346\202\xa8\357\274\x8c\350\x8e\267\xe5\276\227\xe8\xbf\224\345\210\xa9\xe5\xa5\x96\xe5\223\x81\342\200\x9c{$prizeModel["\156\x61\155\145"]}\xe2\200\x9d\xe8\216\267\345\276\x97\345\xbe\256\xe4\277\xa1\351\x9b\xb6\351\x92\261\357\xbc\232{$prizeModel["\167\141\154\x6c\x65\164"]}\xe5\205\203\357\xbc\x8c\xe8\xaf\xb7\xe5\210\xb0\xe6\x82\xa8\347\x9a\x84\xe5\276\256\xe4\xbf\xa1\xe9\x92\261\345\x8c\205\xe6\x9f\xa5\347\234\213\xe3\200\x82"; goto OB2Xq; XlcZQ: if (!(intval($prize2Model["\x63\x72\145\x61\164\x65\137\x74\171\x70\145\163"]) == 1)) { goto y73qf; } goto eEY5a; foAl9: XDUIg: goto FMQNO; RxfI0: $content = $content . "\x20\xe3\x80\220" . $sms_tmp["\x73\151\x67\156"] . "\343\200\x91"; goto hJvdG; e02Sx: $userDrawRecordModel["\x6f\x70\x65\x6e\x69\144"] = $joinUserModel["\157\160\145\156\151\144"]; goto JVMN6; cVfiv: $userDrawRecordModel["\164\x79\x70\x65\x73"] = 2; goto EeJNo; BRGAH: $prizeModel = null; goto u_1It; Jb0bI: pdo_update(ztk_table("\165\163\145\x72\137\144\162\141\167", false), array("\x76\x69\x72\164\165\141\154\x5f\151\144" => $virtualModel["\166\151\x72\x74\x75\x61\x6c\x5f\x69\144"], "\166\151\162\164\165\x61\154\x5f\x64\141\x74\141\x5f\x69\x64" => $virtualModel["\x69\144"], "\163\x74\141\x74\x75\163" => 1, "\x75\160\x64\141\x74\145\164\151\x6d\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto C7aq5; xW1qT: kNP0T: goto jZHOR; U6uST: $prizeModel["\x77\141\154\154\x65\x74"] = mt_rand($min * 100, $max * 100) / 100; goto k0k5e; v4wqO: $noticeMessage = "\xe6\x81\255\xe5\226\x9c\xe6\x82\xa8\xef\xbc\x8c\xe8\216\267\345\276\227\xe8\277\224\xe5\x88\251\345\xa5\226\xe5\x93\x81\342\200\x9c{$prizeModel["\x6e\141\155\145"]}\xe2\x80\x9d\xe8\216\xb7\xe5\xbe\x97\xe7\x8e\260\xe9\x87\221\xe7\272\242\345\x8c\x85\357\274\232{$prizeModel["\x72\x65\x64"]}\xe5\205\203\xef\274\214\350\xaf\xb7\xe5\210\xb0\xe6\x82\250\347\x9a\x84\xe5\276\xae\xe4\277\241\351\x92\261\xe5\214\205\346\x9f\xa5\xe7\234\x8b\343\200\x82"; goto EZqKv; IwKBe: $first_mess = "\346\x82\250\xe7\x9a\x84\xe8\xae\xa2\xe5\x8d\x95\345\xb7\262\346\x94\xaf\xe4\xbb\x98\xe6\x88\x90\xe5\x8a\237\357\xbc\x8c\xe6\x88\221\344\273\254\xe4\274\232\345\xb0\xbd\345\277\xab\347\xbb\231\346\202\250\xe5\x8f\221\350\xb4\xa7\357\274\x8c\350\257\267\xe8\200\220\xe5\xbf\203\xe7\255\x89\345\xbe\x85\72"; goto xyr6H; mwdXX: pdo_insert(ztk_nopre_table("\165\163\145\x72\137\144\x72\141\x77\x5f\x72\x65\x63\x6f\x72\144"), $userDrawRecordModel); goto ZGUm3; Xh7Ab: $join_draw_data = array("\165\156\151\141\143\151\x64" => $uniacid, "\x6f\142\152\137\164\171\x70\145\163" => $obj_types, "\x6f\x62\x6a\137\x69\144" => $object["\151\x64"], "\x71\x72\137\x69\x64" => 0, "\161\162\137\x74\x6f\x6b\145\156" => '', "\x71\x72\x5f\x6e\x75\155\142\145\162" => 0, "\157\162\x69\147\x69\x6e\137\x69\144" => $origin_id, "\157\162\x69\x67\151\x6e\x5f\x74\145\x61\155\x5f\x69\x64" => $origin_team_id, "\x70\x72\x69\172\x65\137\x69\144" => $prizeModel["\151\x64"], "\164\x79\160\x65\163" => $prizeModel["\x74\171\x70\x65\x73"], "\156\x61\x6d\x65" => $prizeModel["\156\x61\x6d\145"], "\x70\x61\171\137\157\x70\x65\x6e\x69\x64" => $orderPayModel["\157\x70\x65\x6e\x69\x64"], "\x70\162\151\172\x65\x5f\160\x69\143\137\x75\162\x6c" => $prizeModel["\x70\151\x63\137\x75\162\154"], "\167\162\151\164\145\157\x66\146\137\164\171\160\x65\x73" => $prizeModel["\x77\162\x69\164\x65\157\x66\x66\137\164\x79\160\145\x73"], "\x6f\x70\145\x6e\x69\x64" => $joinUserModel["\x6f\x70\145\156\x69\144"], "\x6e\x69\143\x6b\x6e\141\155\x65" => $joinUserModel["\x6e\151\143\153\156\141\x6d\145"], "\163\x65\170" => $joinUserModel["\x73\x65\170"], "\150\x65\x61\144\165\162\x6c" => $joinUserModel["\x68\x65\141\x64\165\162\x6c"], "\141\162\x65\x61" => $joinUserModel["\x61\162\x65\x61"], "\151\x70" => $_W["\143\x6c\151\x65\156\x74\151\160"], "\157\x72\x5f\x72\x65\x62\141\x74\145\62" => 0, "\x69\x73\x5f\x72\145\x67\151\163\x74\145\162" => 0, "\162\x65\147\x69\163\x74\145\162\x5f\x64\141\164\141" => '', "\143\162\145\x61\164\x65\164\151\x6d\145" => TIMESTAMP); goto ZvHSj; UjshV: $userDrawRecordModel["\x6f\x62\152\x5f\x74\171\x70\x65\x73"] = $prizeModel["\x6f\x62\152\137\x74\x79\160\145\x73"]; goto zNk0F; T81Y6: if ($pay_types == 1) { goto V7qBN; } goto esu35; mj0qC: $result = sendSiteWeixinMchPay($joinUserModel["\157\x70\x65\156\x69\144"], $prizeModel["\x77\141\154\x6c\x65\164"] * 100, $prizeModel["\x6e\x61\155\145"], true, $uniacid, $config); goto w2GQ2; Ik5T3: hOs_L: goto MywWL; Hg1MP: if (!(intval($prizeModel["\143\162\145\141\x74\x65\x5f\x74\171\x70\145\x73"]) == 1)) { goto Wd51b; } goto Yuvfm; lmTIB: if (!($orderPayModel["\164\x79\160\x65\163"] == 6)) { goto zAAMZ; } goto U8s0T; HUcEq: $userDrawRecordModel["\165\x6e\x69\141\x63\x69\x64"] = $prizeModel["\165\156\x69\141\143\x69\144"]; goto GE2GR; E2eXr: $hashids = Hashids::instance(6, "\x6c\171\x77\x79\x7a\x74\153", ''); goto fqArG; XLPX3: $content = str_replace("\173\127\122\111\124\x45\x4f\106\x46\103\x4f\104\105\x7d", $writecode, $content); goto GnH60; D5D8g: $orderLogModel = array("\x75\156\x69\x61\143\151\144" => $uniacid, "\164\171\160\145\x73" => 1, "\x6f\162\x64\x65\162\x5f\x6e\165\155\142\x65\x72" => $orderIntmallModel["\x6f\162\144\x65\162\x5f\x6e\165\x6d\x62\145\x72"], "\163\x74\141\x74\165\163" => $orderIntmallModel["\x73\x74\141\164\165\x73"], "\x6e\x6f\164\x65" => '', "\x75\160\x64\141\x74\x65\x74\151\155\x65" => TIMESTAMP, "\143\162\x65\x61\164\145\164\151\x6d\145" => TIMESTAMP); goto w74Zo; LTy1y: $content = str_replace("\173\x4d\117\x4e\105\x59\175", $drawModel["\x70\141\171\x5f\x6d\157\156\145\x79"] + $drawModel["\160\x61\171\137\x73\171\163\137\x6d\x6f\156\145\171"], $content); goto nXXXF; MvdOu: $result = pdo_insert(ztk_table("\x75\163\x65\162\x5f\144\162\x61\x77", false), $join_draw_data); goto Ys9Lv; ilF3i: izvGo: goto nRaE4; Mwzrf: $userDrawRecordModel["\x63\162\145\x61\x74\145\x74\x69\x6d\145"] = time(); goto Kqy0K; Sv0wq: $virtualModel["\x73\x74\141\164\x75\163"] = 0; goto J_2jp; DCob7: goto YCny3; goto og399; A3lLH: KCRbz: goto a03wH; iu8A4: if (empty($prize2List)) { goto WSEup; } goto Zg_v9; dfJbU: $userDrawRecordModel["\x6f\160\145\x6e\151\x64"] = $join2UserModel["\157\x70\x65\156\151\x64"]; goto Te7fi; p7jLl: $pay_sys_money = floatval($object["\143\157\163\164\137\x70\x72\151\x63\145"]) - floatval($orderPayModel["\160\141\171\137\160\x72\x69\x63\x65"]); goto saPo2; cv9f0: $writecode = $encode_id; goto WK8Fw; s1YGA: BJKgD: goto k1GuJ; bSE9n: goto n6ZbO; goto LIuu0; zMnVR: $content = $sms_tmp["\x63\x6f\156\164\145\156\x74"]; goto SKXhT; HVsOy: pdo_update(ztk_table("\165\163\145\162\x5f\144\x72\x61\167", false), array("\143\165\163\x74\x6f\x6d\137\165\162\154" => $prize2Model["\x63\165\163\x74\x6f\x6d\137\165\162\x6c"], "\x73\x74\x61\x74\165\163" => 1, "\x75\160\144\x61\x74\x65\164\x69\155\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto pC9C0; QCipu: $content = str_replace("\x7b\120\122\111\132\x45\175", $prizeModel["\156\141\x6d\x65"], $content); goto sMsOU; o0CI0: $ali_accesskeysecret = $config["\x61\x6c\151\x5f\x61\x63\x63\x65\x73\163\153\145\171\163\x65\143\x72\145\x74"]; goto GQ6nA; b3PWW: Vd_Ay: goto Iuc4u; Sj0bl: E2T7O: goto VQheJ; Wc1lW: $origin_buy_types = 1; goto nq1v2; L6e5v: $origin_id = $orderPayModel["\x6f\x72\x69\147\x69\x6e\x5f\x69\144"]; goto hGgj9; qVRnO: $userDrawRecordModel["\165\x6e\151\141\143\x69\x64"] = $prizeModel["\x75\x6e\x69\141\x63\151\144"]; goto KvJ03; jvj3L: if (empty($originModel)) { goto YfX1z; } goto PZQVg; ZI8z8: FiV8G: goto U8OoH; CCvRL: RxzmM: goto S5Sb0; dcnDC: if (!(intval($prizeModel["\x63\x72\145\141\x74\x65\x5f\x74\x79\x70\x65\163"]) == 1)) { goto YiPiX; } goto E20n_; Mv41M: $userDrawRecordModel["\x63\162\145\x61\x74\x65\164\x69\x6d\x65"] = time(); goto Gm5ma; dYl5w: cZGNM: goto s98dt; tEF39: pdo_update(ztk_table("\165\x73\x65\x72\137\x61\x63\143\x6f\165\156\x74", false), array("\x70\162\157\x66\151\x74\x5f\155\x6f\x6e\145\171\40\x2b\75" => $prizeModel_rebate["\162\x65\x64"], "\x72\x65\x64\137\x6d\x6f\x6e\x65\171\x20\53\75" => $prizeModel_rebate["\162\x65\x64"], "\x72\x65\144\x5f\x6d\x6f\156\x65\x79\137\156\x75\x6d\x20\53\x3d" => 1), array("\x6f\x70\145\156\151\144" => $userModel["\x6f\160\145\x6e\x69\x64"])); goto wYRWH; XOU4H: $writeoff_types = 1; goto FIQgT; TXr2t: $userDrawRecordModel["\x63\162\145\x61\164\x65\x74\151\x6d\145"] = time(); goto qDCI0; z1YzY: if (!(intval($prizeModel["\164\171\x70\x65\x73"]) == 9)) { goto BJYA1; } goto y741C; IuQEA: pdo_update(ztk_table("\165\x73\x65\162\x5f\144\x72\141\167", false), array("\x63\141\162\144" => $prize2Model["\143\x61\x72\144"], "\163\x74\x61\x74\x75\163" => 1, "\165\x70\x64\141\164\x65\164\151\155\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto lGZGE; Uk1eZ: $prizeModel_rebate["\x73\171\163"] = mt_rand($min * 100, $max * 100) / 100; goto GjaN9; BDDSq: $sms_tmp_id = $prizeModel_rebate["\163\x6d\163\x5f\164\155\x70\137\x69\144"]; goto hBMeI; p3TMY: if (empty($originModel)) { goto vV5V8; } goto H2yJm; r4iOi: $content = str_replace("\173\116\x49\x43\113\116\101\115\105\x7d", $joinUserModel["\x6e\x69\x63\153\x6e\x61\x6d\145"], $content); goto OlsJb; P9icw: q88PZ: goto WomYS; RlFRz: pdo_update(ztk_table("\165\x73\145\x72\137\141\x63\143\157\165\156\x74", false), array("\x6a\157\151\156\x5f\x6e\x75\155\x20\x2b\75" => 1), array("\x6f\x70\145\156\151\144" => $join2UserModel["\x6f\x70\145\x6e\x69\x64"])); goto pC0rB; L43oz: goto DyBbG; goto ttSHE; Bw7rz: pdo_update(ztk_table("\x75\163\145\x72\x5f\165\156\x69\157\x6e\x5f\x6a\x6f\x69\x6e", false), array("\155\x6f\156\145\171\40\x2b\75" => floatval($prize2Model["\x73\171\163"])), array("\x69\x64" => $join2Model["\151\x64"])); goto zFm1S; N3d24: $mobile = $joinUserModel["\155\x6f\142\x69\154\x65"]; goto SqB_v; gyNn7: $userDrawRecordModel = array(); goto Ls_cw; SSnAE: DjxR5: goto kOLH9; kLNDo: $content = str_replace("\x7b\x4e\111\x43\113\x4e\101\x4d\105\x7d", $joinUserModel["\x6e\151\143\x6b\x6e\x61\155\145"], $content); goto i3I07; SNtM0: $objparams = array("\72\x74\x6f\x6b\x65\156" => $obj_token, "\x3a\x75\x6e\151\x61\x63\151\144" => $uniacid); goto Ks3Df; t1i6q: if (!(!empty($joinUserModel) && !empty($joinUserModel["\155\157\x62\x69\154\145"]))) { goto Iigly; } goto dTz8S; H2JwS: pdo_insert(ztk_nopre_table("\x75\x73\x65\x72\x5f\x64\162\141\x77\x5f\x72\145\x63\x6f\162\144"), $userDrawRecordModel); goto U6jp4; vVh9A: $userMoneyRecharge = array(); goto RQiaD; Lsgp7: $userMoneyRecharge["\x75\x6e\x69\141\x63\151\x64"] = $uniacid; goto Ju2iy; hCO4U: pdo_update(ztk_table("\155\x61\x72\x6b\145\x74\151\156\x67\x5f\165\x73\x65\162", false), array("\147\x65\164\x5f\156\165\155\40\53\75" => 1), array("\151\144" => $origin_id)); goto FRoA8; FIivn: if (!($object["\x6f\162\137\x6f\x70\x65\156\137\x72\x65\142\x61\x74\145\62"] == 1)) { goto D4aBJ; } goto G5NgH; Pai_T: wa_RG: goto nEwP6; B1vB8: $userDrawRecordModel["\164\x79\160\145\163"] = 1; goto XiuSe; DQu17: goto YneU9; goto feqYR; k3LiW: R5bv4: goto vIyLW; M8xmp: list($min, $max) = explode("\55", $prizeModel["\162\145\144"]); goto noRbe; ITVAx: if (empty($sms_tmp)) { goto LhMWB; } goto cywcN; bHhKq: chpDx: goto N_JF1; zn8Iz: $result = pdo_insert(ztk_table("\165\x73\145\162\x5f\x64\x72\141\167", false), $join_draw_data); goto Il0JA; JYyZL: $ali_accesskeyid = $config["\141\154\x69\x5f\141\x63\143\x65\x73\x73\153\145\171\151\144"]; goto DjExu; sMrrh: Zqyxa: goto pu9wd; oyM3Q: if (!isSiteFollow($joinUserModel["\x6f\160\x65\156\x69\x64"])) { goto hpU6a; } goto oIlfm; bNflK: UEmug: goto yDh7f; NwxZL: $join_id = $objarr[2]; goto I9Njy; OsKmP: qFapa: goto hlmtV; eW7YD: if (empty($virtualModel)) { goto h3w54; } goto S_WmE; MeL2j: $sn = $config["\x73\x6d\163\x5f\x75\151\x64"]; goto ccmyo; VqD43: $ali_accesskeysecret = $config["\x61\x6c\151\x5f\x61\143\143\145\163\163\x6b\x65\x79\x73\x65\x63\x72\145\x74"]; goto p_vj8; iEPGo: MuXau: goto ZBYH3; LI0Yi: UByei: goto UJL0A; zuezc: if (!(intval($config["\x62\x75\x79\x69\163\x5f\x73\x6d\x73"]) == 1)) { goto cisbm; } goto sbgPp; Jmuhz: pdo_update(ztk_table("\165\x73\x65\162\x5f\x73\x6f\x6c\151\x63\x69\x74\151\156\147\137\x6a\157\151\x6e", false), array("\x6d\x6f\x6e\145\x79\x20\53\75" => floatval($prize2Model["\x72\145\144"])), array("\151\x64" => $join2Model["\x69\144"])); goto wpUm6; mewpL: xcX_J: goto Ubi_I; ySxum: $mobile = $userModel["\x6d\157\x62\151\154\x65"]; goto GouYb; ACOU3: PCq0u: goto qWyZD; k4QwT: if (!($pay_sys_money > 0)) { goto Gzv1T; } goto O9C1B; lZa4S: c2AjY: goto PnSMq; S4OdP: q_fBN: goto BKQtp; ctwKa: pdo_update(ztk_table("\165\163\145\162\137\144\x72\x61\x77", false), array("\x73\x63\x6f\162\145" => $prizeModel["\163\143\157\x72\x65"], "\163\x74\141\164\165\x73" => 1, "\x75\160\x64\141\x74\145\x74\x69\155\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto j_NMf; Ju2iy: $userMoneyRecharge["\157\x70\x65\156\x69\x64"] = $orderIntmallModel["\x6f\160\x65\x6e\151\144"]; goto f3Xis; UtC2r: $url = replaceDieDomain($config, __MURL("\165\163\x65\162\137\x64\162\141\x77", array("\x61\x63\x74" => "\151\x6e\x64\x65\170"), false, TRUE), $joinUserModel["\151\x64"], $obj_types, $object["\x69\x64"], 0); goto CphzU; Kv4HM: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto S4OdP; pBfzu: $content = $content . "\x20\343\x80\220" . $sms_tmp["\163\151\147\x6e"] . "\343\200\221"; goto g1y9l; JS06p: if (!(intval($prizeModel["\143\x72\145\x61\x74\x65\x5f\x74\x79\x70\145\163"]) == 1)) { goto fgbvq; } goto a9zbX; qmIoH: $obj_types = $objarr[1]; goto RTGNz; rhSQ5: Gzv1T: goto TVyJi; pMTL7: $content = $sms_tmp["\143\157\156\164\x65\156\x74"]; goto io5Rv; AcFDY: bwojX: goto ph6F0; MafsT: if (!(intval($prizeModel["\x63\162\x65\141\x74\145\137\164\171\x70\145\x73"]) == 1)) { goto ey4FD; } goto WkS7M; IesHp: okloC: goto vDCbV; QN1Ae: if (empty($object["\160\165\163\x68\137\x74\155\x70"])) { goto YLJ4M; } goto vMB23; rWBtU: lt_j0: goto bMfIF; hjusu: $postdata = array("\x66\x69\162\x73\x74" => array("\166\x61\154\x75\x65" => "\346\x82\250\345\xa5\275\357\274\214\xe6\x82\xa8\xe5\xb7\xb2\xe8\xb4\xad\344\271\xb0\xe6\210\x90\xe5\212\237\xe3\200\x82", "\x63\157\154\157\x72" => "\43\61\67\x33\61\67\x37"), "\x6b\145\171\167\x6f\162\x64\x31" => array("\166\x61\x6c\165\145" => $object["\x74\151\164\154\145"], "\143\x6f\x6c\157\x72" => "\43\x31\x37\x33\x31\67\67"), "\x6b\145\171\x77\157\162\x64\x32" => array("\166\x61\154\x75\x65" => $drawModel["\160\141\171\137\156\x75\155\x62\x65\x72"], "\143\157\x6c\157\x72" => "\x23\61\67\63\x31\67\67"), "\153\x65\171\167\x6f\162\144\63" => array("\x76\x61\x6c\x75\x65" => "\346\224\257\xe4\xbb\230{$drawModel["\x70\141\x79\x5f\155\x6f\x6e\145\171"]}\345\x85\x83\40\344\xbd\231\xe9\xa2\235{$drawModel["\160\141\171\x5f\x73\171\x73\x5f\155\x6f\156\145\171"]}\xe5\x85\203", "\143\x6f\x6c\157\x72" => "\43\61\x37\63\x31\67\67"), "\153\145\171\167\157\162\144\x34" => array("\x76\x61\154\165\x65" => date("\x59\55\x6d\55\x64\x20\110\72\x69\x3a\x73", time()), "\x63\157\x6c\157\x72" => "\43\61\x37\x33\x31\x37\67"), "\162\145\155\x61\162\153" => array("\x76\141\x6c\x75\x65" => "\xe6\x84\x9f\xe8\xb0\242\346\202\xa8\347\232\204\345\205\211\xe4\xb8\264\xef\274\x81", "\x63\x6f\x6c\157\x72" => "\43\61\67\63\x31\67\x37")); goto Nib3a; R6svJ: $content = str_replace("\x7b\x57\122\111\124\105\x4f\x46\x46\x43\117\104\x45\175", $writecode, $content); goto cAqeS; lxNhu: sL0on: goto jbNhw; Gwf2t: if (!empty($prizeModel)) { goto lhVZQ; } goto surU4; B3a7S: $virtualModel["\157\x70\x65\x6e\151\x64"] = $joinUserModel["\x6f\160\x65\x6e\x69\x64"]; goto B1UoP; i2Tmv: jb5WY: goto cUZgB; yrLA5: pdo_update(ztk_table("\x75\x73\x65\x72\x5f\144\162\x61\x77", false), array("\x63\141\x72\144" => $prizeModel["\143\141\x72\144"], "\163\164\x61\164\165\x73" => 1, "\x75\160\144\141\x74\145\164\151\x6d\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto rAUNk; tHaCM: $writeoff_types = 1; goto wZg90; KKJ4u: pdo_insert(ztk_nopre_table("\x75\163\x65\162\x5f\x64\162\x61\167\137\x72\145\x63\x6f\x72\x64"), $userDrawRecordModel); goto Uv1Lo; KEB6T: $userDrawRecordModel["\x6f\142\152\137\x74\171\x70\x65\163"] = $prizeModel["\x6f\x62\x6a\137\164\x79\160\x65\x73"]; goto ViiQx; jw2un: if (empty($object["\x69\x73\x5f\142\165\171\x5f\x64\162\141\x77"])) { goto ABssD; } goto NBne2; qAmAs: $userDrawRecordModel["\157\x62\x6a\x5f\x74\171\160\x65\x73"] = $prizeModel_rebate["\x6f\x62\x6a\137\164\x79\x70\x65\163"]; goto dOC2V; wv3MS: XVwdW: goto j3kac; R6G1_: $userDrawRecordModel["\x6d\x6f\156\145\x79"] = $prizeModel["\167\141\154\x6c\145\164"]; goto dAJ_r; mXSuN: M0Yvg: goto k6Niy; K1lE1: BKp5o: goto llxSh; YxZU_: $pwd = $config("\163\x6d\x73\x5f\x6b\x65\171"); goto kssuz; O_E7B: if (intval($prizeModel["\164\x79\160\145\163"]) == 2) { goto KCRbz; } goto vDsRz; qw9Gn: updateUserMoney($uniacid, $orderPayModel["\x6f\x70\145\156\x69\x64"], -$orderPayModel["\160\141\171\137\160\x72\x69\x63\x65"], $note, 3, $obj_types, $object["\x69\x64"]); goto nYe1O; QgZ0f: $templatecode = $sms_tmp["\164\145\x6d\x70\x6c\x61\x74\145\143\x6f\x64\x65"]; goto gMwoO; Fgyf2: $noticeMessage = "\346\201\255\345\226\234\346\x82\xa8\xef\274\x8c\xe8\x8e\267\xe5\276\227\350\277\x94\xe5\210\251\xe5\xa5\226\345\x93\x81\357\274\232" . $prize2Model["\156\141\x6d\145"]; goto KNkxo; Q1jZM: if (empty($object["\160\165\163\150\137\164\155\x70"])) { goto HSZ8t; } goto d5NmV; Ghi1F: UdNen: goto s2Fkd; oedeD: $param = ["\156\x61\x6d\145" => $userModel["\x6e\151\x63\x6b\156\141\155\145"], "\157\x62\152" => mb_substr($object["\164\151\x74\x6c\145"], 0, 20, "\165\164\x66\x2d\70"), "\x70\x72\x69\172\x65" => $prizeModel_rebate["\156\x61\x6d\145"], "\x63\x6f\144\145" => $writecode_rebate]; goto vW9nQ; v3LI7: $sms_tmp = pdo_get(ztk_table("\x74\x6d\160\x5f\163\155\163", false), array("\x69\x64" => $sms_tmp_id)); goto soE3G; ASEBm: $content = str_replace("\173\x50\122\x49\132\105\175", $prizeModel["\156\x61\x6d\145"], $content); goto D3CHG; ROqsN: $userDrawRecordModel["\157\x62\152\x5f\x74\171\160\145\163"] = $prize2Model["\x6f\x62\x6a\x5f\x74\x79\x70\145\x73"]; goto S_XEk; gHLCH: if ($prizeModel_rebate["\164\151\x6d\145\137\x74\x79\160\145\x73"] == 2) { goto eg2VH; } goto WH3tQ; L0K8a: $ali_accesskeysecret = $config["\x61\x6c\151\137\x61\x63\x63\145\x73\163\153\145\x79\163\145\143\x72\145\164"]; goto odghN; HaHgH: uycKy: goto ZVE1y; qM3Ww: XAoKe: goto xbOwU; TvsHH: if (empty($result)) { goto dUaGR; } goto hTH5r; Lc_7Z: $noticeMessage = "\xe6\201\255\xe5\x96\x9c\xe6\202\250\xef\274\214\350\216\xb7\345\276\227\xe8\xbf\224\345\210\xa9\345\xa5\x96\345\x93\201\xef\xbc\232" . $prizeModel["\x6e\141\155\145"]; goto yfgMl; vPP41: $content = str_replace("\173\116\x49\103\113\116\101\x4d\105\175", $joinUserModel["\156\x69\143\153\156\x61\x6d\x65"], $content); goto Rcb2X; H6oq7: pdo_update(ztk_table("\x75\x73\x65\x72\137\x61\143\143\157\165\156\164", false), array("\x63\x61\x72\x64\137\x6e\165\155\x20\x2b\75" => 1), array("\157\x70\x65\x6e\151\144" => $joinUserModel["\x6f\x70\x65\x6e\x69\144"])); goto n3Rrc; vxHn7: $noticeMessage = "\346\x81\xad\345\226\x9c\xe6\202\250\xef\274\214\xe8\x8e\xb7\xe5\276\x97\350\277\x94\345\210\251\xe5\245\226\xe5\223\x81\342\x80\234{$prize2Model["\x6e\x61\155\145"]}\342\x80\235\357\274\214\xe8\xaf\267\xe5\x88\xb0\xe6\x82\xa8\xe7\232\204\xe5\xbe\xae\344\277\241\345\215\xa1\xe5\x8c\205\xe6\237\245\347\234\213\343\x80\202"; goto awK4O; iCmZ9: goto WEUYf; goto Fs518; WKkSF: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto G_mWs; vT52c: $drawModel = pdo_get(ztk_table("\165\163\x65\162\x5f\x64\x72\x61\167", false), array("\x69\144" => $draw_id)); goto EFjAD; J93vB: goto fOW4C; goto d0kt0; Yriba: $userDrawRecordModel["\x72\x65\x6d\x61\162\x6b"] = "\xe8\xb5\xb6\xe5\277\xab\xe5\210\206\344\272\xab\xe7\xbb\x99\346\202\250\xe7\232\204\345\245\xbd\xe5\x8f\x8b\xe4\xb8\200\xe8\265\xb7\351\242\206\xe7\xba\xa2\xe5\x8c\x85\xe5\x90\xa7"; goto QoXLz; Z2cKO: nQZ1k: goto PGjfA; ezxfF: pdo_update(ztk_table("\165\163\x65\162\137\x61\143\143\x6f\x75\x6e\164", false), array("\x63\x75\x73\x74\x6f\155\x5f\x6e\165\155\x20\53\x3d" => 1), array("\157\160\145\x6e\x69\x64" => $joinUserModel["\157\160\x65\156\151\x64"])); goto zpBFm; BAcfd: $join_draw_data2 = array("\165\x6e\x69\141\x63\151\144" => $uniacid, "\157\142\x6a\137\164\x79\160\x65\163" => $obj_types, "\157\x62\x6a\137\151\x64" => $object["\151\144"], "\x71\162\x5f\151\x64" => 0, "\x71\162\x5f\164\x6f\153\145\156" => '', "\161\162\x5f\x6e\165\155\142\145\162" => 0, "\x6f\x72\x69\x67\x69\156\137\151\144" => $origin_id, "\157\162\151\x67\x69\x6e\137\164\x65\141\155\x5f\x69\144" => $origin_team_id, "\x70\162\x69\x7a\145\x5f\x69\x64" => $prize2Model["\x69\x64"], "\164\171\160\145\163" => $prize2Model["\164\171\160\145\x73"], "\156\141\155\x65" => $prize2Model["\156\141\155\145"], "\160\x61\171\137\157\x70\x65\x6e\151\x64" => $orderPayModel["\x6f\160\145\156\151\144"], "\x70\x72\x69\x7a\x65\x5f\x70\x69\x63\x5f\x75\162\154" => $prize2Model["\x70\x69\x63\x5f\x75\x72\154"], "\167\x72\x69\x74\145\x6f\x66\146\x5f\164\171\160\x65\163" => $prize2Model["\x77\x72\x69\164\145\157\146\146\137\164\171\x70\x65\163"], "\x6f\x70\x65\x6e\151\144" => $join2UserModel["\157\x70\x65\156\151\144"], "\156\x69\143\x6b\x6e\141\x6d\145" => $join2UserModel["\x6e\151\x63\153\x6e\x61\x6d\x65"], "\x73\145\x78" => $join2UserModel["\x73\145\x78"], "\150\x65\141\x64\x75\x72\154" => $join2UserModel["\150\x65\x61\144\165\x72\154"], "\x61\x72\145\x61" => $join2UserModel["\x61\162\x65\x61"], "\151\160" => $_SERVER["\x52\x45\115\117\124\105\x5f\101\104\x44\x52"], "\157\x72\x5f\162\x65\x62\141\x74\145\x32" => 1, "\151\x73\137\x72\145\147\x69\x73\164\x65\162" => 0, "\162\145\147\151\163\164\x65\x72\x5f\x64\141\x74\x61" => '', "\143\162\x65\x61\164\x65\x74\x69\155\x65" => TIMESTAMP); goto jvRa1; S6d2e: $noticeMessage = "\346\201\xad\xe5\x96\x9c\xe6\202\xa8\357\274\x8c\xe8\216\267\xe5\276\227\350\xbf\224\xe5\210\251\xe5\xa5\226\xe5\223\201\357\274\x9a" . $prizeModel["\x6e\x61\155\145"]; goto Oo7a0; qrLzS: $origin_buy_types = 0; goto SthVI; VWHng: $template_id = $object["\160\165\x73\x68\137\164\155\x70"]; goto p8KX6; U17un: $virtualModel["\157\x70\x65\x6e\151\144"] = $joinUserModel["\x6f\160\145\156\151\144"]; goto S2KxD; cpc5z: $joinPayModel["\x69\156\x76\x69\164\x65\137\151\144"] = $join_id; goto W5T1D; TnJw1: $userMoneyRecharge["\155\x6f\156\145\x79"] = $orderPayModel["\x70\x61\x79\x5f\x70\162\x69\x63\145"]; goto Lp6Uv; EeJNo: $userDrawRecordModel["\163\x74\x61\164\x75\163"] = $result === true ? 1 : 0; goto ED3dS; npzoq: if (empty($prizeList)) { goto lh52w; } goto bZVju; mptuc: $origin_team_id = $originModel["\x74\145\141\x6d\x5f\151\x64"]; goto OAPOM; gMwoO: $param = ["\x6e\141\x6d\x65" => $joinUserModel["\x6e\151\143\153\x6e\141\x6d\x65"], "\x6f\x62\152" => mb_substr($object["\164\151\x74\x6c\x65"], 0, 20, "\165\x74\146\55\x38"), "\x70\162\151\172\x65" => $prizeModel["\x6e\141\155\145"], "\143\x6f\144\145" => $writecode]; goto NSdVI; P2qQN: ycjI6: goto VrUXb; xmsIt: cpRzc: goto DCob7; UEr1t: b2j07: goto dcnDC; hLwOl: $userDrawRecordModel["\x73\x65\x6e\144\137\156\x61\x6d\x65"] = $config["\x70\x6f\x77\x65\x72"]; goto aJNmi; TfUnf: lh52w: goto pNk9f; hTH5r: $draw_id = pdo_insertid(); goto VjUTJ; FoMFR: rHsKs: goto BuKpy; Q99Cb: if (!(intval($object["\142\x75\x79\x5f\x69\x73\137\x70\165\163\x68"]) == 1)) { goto XIaom; } goto ycs0r; aM1pf: $userDrawRecordModel = array(); goto D1qwu; mu_0Z: $userMoneyRecharge["\155\x6f\x6e\145\171"] = $orderIntmallModel["\160\x61\x79\x5f\x70\162\x69\143\x65"]; goto NjaCh; P1WiI: $result = pdo_insert(ztk_table("\165\163\x65\x72\x5f\x64\x72\141\167", false), $join_draw_data); goto VaSOK; zHNSN: $userDrawRecordModel["\155\x6f\156\145\171"] = $prizeModel["\167\141\x6c\x6c\145\164"]; goto pzqO0; PV3Y4: goto KN4Cr; goto Eh_uF; WWfr_: $rid2 = get_rand($arr2); goto xbl5T; JjKsq: $content = $content . "\x20\343\200\x90" . $sms_tmp_rebate["\163\x69\147\156"] . "\xe3\x80\x91"; goto FbNgG; liONf: $userDrawRecordModel["\x74\x79\x70\145\163"] = 1; goto TjQb6; Re3Xs: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto p3Oie; AiZyt: $obj_token = $objarr[0]; goto qmIoH; NSdVI: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto Ol5dB; aYZN9: $sn = $config["\x73\155\163\x5f\x75\x69\x64"]; goto CaicG; dkjJy: $userDrawRecordModel["\157\x70\145\156\x69\x64"] = $joinUserModel["\157\160\x65\x6e\x69\x64"]; goto nceiR; kh2EN: $result = sendWeixinMchPay($userModel["\x6f\160\x65\156\151\144"], floatval($prizeModel_rebate["\x77\141\154\154\x65\164"]) * 100, $prizeModel_rebate["\156\x61\155\x65"], true, $uniacid, $config); goto fnNU_; k3GvZ: WEUYf: goto NHVst; c3rwU: $userDrawRecordModel["\x73\x74\141\x74\x75\163"] = $result === true ? 1 : 0; goto RNlnF; by0lZ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto gg_iL; mTmF2: goto mhej8; goto OsKmP; FwIZZ: X8JHv: goto pQi8K; Jb4za: include MODULE_ROOT . "\x2f\x69\156\x63\57\x63\x6c\141\x73\163\57\110\141\163\x68\151\144\x73\x2e\143\154\141\163\163\56\160\150\160"; goto fQIWQ; V0XbC: $url = replaceDieDomain($config, __MURL("\x75\163\x65\162\137\144\162\141\x77\137\x62\165\x79", array("\141\143\164" => "\151\156\144\145\170"), false, TRUE), $userModel["\151\144"], $obj_types, $object["\x69\x64"], 0); goto XoBcM; pj5oJ: if (!(!empty($userModel) && !empty($userModel["\x6d\x6f\142\151\154\x65"]))) { goto PAToY; } goto lEKJJ; m4ONn: updateUserMoney($uniacid, $orderPayModel["\x6f\x70\x65\156\x69\x64"], $orderPayModel["\160\141\171\137\160\162\151\x63\145"], $note, 4, $draw_data["\x6f\x62\152\137\164\171\160\145\x73"], $draw_data["\157\142\152\x5f\x69\x64"]); goto q4jNL; iHfRM: if (!(!empty($joinUserModel) && !empty($joinUserModel["\x6d\157\142\x69\154\145"]))) { goto oSkjw; } goto XNkJ6; sE1Cb: $join_draw_data = array("\165\x6e\151\x61\x63\x69\x64" => $uniacid, "\157\142\152\x5f\164\x79\x70\x65\x73" => $obj_types, "\157\x62\152\137\151\144" => $object["\151\x64"], "\161\x72\137\151\144" => 0, "\161\x72\x5f\x74\157\x6b\145\156" => '', "\161\162\x5f\156\x75\x6d\142\x65\162" => 0, "\157\162\x69\x67\x69\156\x5f\151\144" => $origin_id, "\x6f\162\x69\147\151\x6e\137\164\145\x61\155\x5f\151\144" => $origin_team_id, "\x70\162\151\x7a\145\x5f\x69\144" => $prizeModel["\x69\x64"], "\x74\171\160\145\163" => $prizeModel["\164\x79\x70\x65\163"], "\x6e\141\x6d\x65" => $prizeModel["\x6e\141\x6d\x65"], "\x70\141\x79\137\x6f\160\145\x6e\x69\x64" => $orderPayModel["\x6f\x70\x65\156\x69\x64"], "\x70\162\x69\x7a\x65\x5f\x70\151\143\x5f\165\x72\154" => $prizeModel["\160\151\143\137\x75\x72\x6c"], "\167\162\151\x74\145\x6f\146\146\137\164\171\x70\145\163" => $prizeModel["\167\x72\151\164\x65\x6f\146\x66\137\164\171\x70\145\x73"], "\157\x70\x65\x6e\151\x64" => $joinUserModel["\157\x70\x65\x6e\151\144"], "\x6e\151\143\153\x6e\141\155\x65" => $joinUserModel["\156\x69\x63\153\156\x61\155\145"], "\163\145\170" => $joinUserModel["\163\x65\x78"], "\x68\145\x61\144\165\162\154" => $joinUserModel["\x68\x65\141\x64\x75\x72\x6c"], "\141\162\x65\x61" => $joinUserModel["\x61\162\145\141"], "\151\160" => $_SERVER["\x52\105\x4d\x4f\124\105\137\101\104\x44\122"], "\157\162\137\162\145\x62\x61\164\x65\x32" => 0, "\x69\163\x5f\162\x65\x67\x69\x73\164\x65\162" => 0, "\x72\x65\x67\x69\163\x74\x65\x72\x5f\x64\141\x74\x61" => '', "\143\162\145\x61\164\145\x74\151\155\145" => TIMESTAMP); goto a0xa1; l0zmd: $userDrawRecordModel["\x6d\x6f\x6e\145\x79"] = $prizeModel["\167\x61\154\x6c\x65\x74"]; goto Sz7ko; sqvIy: $obj_types = $objarr[1]; goto OjjcU; xG5S9: $mobile = $joinUserModel["\x6d\x6f\x62\x69\154\145"]; goto WYhv_; nx0ay: $userDrawRecordModel["\x6f\x62\152\137\164\171\160\x65\163"] = $prizeModel["\157\x62\152\137\164\x79\160\x65\163"]; goto lERZx; GfLZA: $userDrawRecordModel["\x6f\160\145\156\151\144"] = $userModel["\157\x70\145\156\x69\144"]; goto GPWHl; zJEJr: $url = replaceDieDomain($config, __MURL("\141\x64\155\151\x6e\163\137\x6d\141\x72\153\145\x74\151\x6e\x67", array("\157\142\x6a\x5f\x74\171\x70\145\163" => $obj_types, "\x6f\142\152\x5f\x69\x64" => $object["\x69\x64"]), false, TRUE), 0, 0, 0, 0); goto Ge6yI; k6Niy: $sn = $config("\163\x6d\x73\137\x75\151\x64"); goto p4cbu; VK1TW: $writecode = ''; goto d9Twi; OZcmH: $obj_types = $objarr[1]; goto scPad; oL80w: CqSAL: goto u0tZ6; XiW2i: if (count($objarr) == 5 && $objarr[3] == 1) { goto aMgsx; } goto EF713; j3Ysl: $drawcode_data_array = array("\165\x6e\151\x61\x63\x69\x64" => $uniacid, "\144\x72\141\x77\143\x6f\x64\145\x5f\x69\x64" => $draw_activity_model["\x64\162\x61\167\x63\x6f\144\x65\x5f\x69\144"], "\157\x70\x65\x6e\151\144" => $orderPayModel["\x6f\x70\145\x6e\151\x64"], "\x63\157\144\145" => $drawcode, "\x73\x74\x61\x74\x75\163" => 1, "\x63\x72\145\141\164\x65\x74\151\x6d\x65" => TIMESTAMP); goto uA6dj; RbRu_: IUrSz: goto ozChf; R9y8b: $prizeModel["\163\143\x6f\x72\x65"] = mt_rand($min, $max); goto m2jJ4; nIDaT: $encode_id = $hashids->encode($draw_id); goto XN6j5; VaSOK: $writecode = ''; goto uk_iI; YoKIn: $join_draw_data["\145\x6e\x64\137\164\151\x6d\x65"] = $prizeModel["\x74\x69\155\145\137\x65\x6e\144"]; goto Qzjrr; gDiB2: if (intval($sms_tmp["\x74\171\160\x65\x73"]) == 0) { goto eucAm; } goto fhBJv; RfJCf: $join_draw_data["\145\x6e\x64\137\x74\151\x6d\x65"] = $prizeModel["\x74\151\x6d\145\137\144\x61\x79"] * 24 * 60 * 60 + time(); goto t8oQZ; TTvrc: $userMoneyRecharge["\x6f\160\x65\x6e\151\x64"] = $orderPayModel["\157\x70\x65\156\x69\144"]; goto dHfwA; I6CNt: pdo_insert(ztk_nopre_table("\165\163\x65\x72\x5f\x64\x72\x61\167\x5f\x72\x65\143\x6f\x72\x64"), $userDrawRecordModel); goto Gp6UU; ZQAdA: $userDrawRecordModel["\x74\171\x70\x65\x73"] = 2; goto dLftQ; zFm1S: $noticeMessage = "\xe6\x81\255\345\226\x9c\xe6\202\xa8\xef\xbc\214\xe8\x8e\xb7\345\xbe\x97\xe8\xbf\224\345\210\251\345\xa5\226\xe5\223\x81\342\x80\x9c{$prize2Model["\x6e\141\x6d\145"]}\xe2\200\235\xe8\216\267\xe5\276\x97\xe4\275\231\351\242\x9d\xe5\xa5\x96\345\212\261\xef\xbc\232{$prize2Model["\163\x79\x73"]}\345\205\203"; goto bMFIG; GTgTx: $userMoneyRecharge["\143\x72\x65\x61\x74\145\x74\151\155\x65"] = TIMESTAMP; goto Qk4ve; fNjAw: pL18B: goto EVTMh; g1y9l: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto Kvf1o; RO5XC: $template_id = $config["\x70\x61\171\x6d\x65\156\164\x5f\164\155\160"]; goto TEt_H; lP8KE: $userUpdateModel["\152\157\x69\156\137\156\165\x6d"] = $userModel["\152\157\151\156\x5f\156\165\x6d"] + 1; goto VCn67; VTlDh: $userDrawRecordModel["\157\142\x6a\x5f\151\x64"] = $prizeModel["\157\142\x6a\137\x69\x64"]; goto MPVle; qbcW1: RniC6: goto QiCf0; jLz97: if (intval($sms_tmp["\x74\x79\160\x65\x73"]) == 0) { goto bVgxW; } goto Hajlt; u1jPP: $pwd = $config["\x73\x6d\163\x5f\x6b\x65\171"]; goto XYxz0; pC9C0: pdo_update(ztk_table("\x75\163\x65\x72\x5f\x61\143\143\157\x75\156\x74", false), array("\x63\x75\x73\x74\157\155\137\x6e\x75\x6d\x20\53\x3d" => 1), array("\x6f\x70\145\x6e\151\144" => $join2UserModel["\157\x70\x65\156\x69\x64"])); goto qqE38; KhZ27: $writecode = $encode_id; goto qM3Ww; iCBsl: pdo_update(ztk_table("\165\163\x65\162\137\x61\143\x63\x6f\165\156\164", false), array("\x70\x72\x6f\x64\165\143\164\x5f\x6e\165\x6d\40\53\75" => 1), array("\157\x70\x65\156\x69\144" => $joinUserModel["\157\x70\x65\x6e\151\144"])); goto jqJQ0; bMrUj: $prizeModel["\163\x79\x73"] = mt_rand($min * 100, $max * 100) / 100; goto m4HSO; Qu0yy: if (!($joinCount >= $object["\147\162\157\x75\x70\137\x6e\x75\x6d"])) { goto yuqxa; } goto XJU8T; Q6wzx: goto BGmgw; goto Jj7MM; t5vuG: $code_draw_data["\166\151\162\164\x75\x61\x6c\x5f\151\144"] = $object["\x76\151\x72\x74\165\141\154\137\151\144"]; goto vOWj5; SSTsr: u2G25: goto svS0F; R2xIT: $sign = $sms_tmp["\163\151\147\x6e"]; goto gE48G; vJubR: $templatecode = $sms_tmp["\164\145\x6d\x70\x6c\141\164\x65\143\157\144\x65"]; goto IPEHc; y9gjD: $mobile = $join2UserModel["\155\x6f\142\x69\x6c\145"]; goto XqpaK; QXwqx: updateUserScore($uniacid, $joinUserModel["\157\160\x65\x6e\x69\144"], intval($prizeModel["\x73\x63\x6f\x72\x65"]), $note, 1, $obj_types, $draw_id); goto ARWo3; u2lzn: pdo_update(ztk_table("\x6f\142\152\137\143\165\x74", false), array("\142\165\171\137\156\x75\155\x20\x2b\75" => 1, "\x67\157\x6f\144\x73\x5f\156\165\155\40\x2d\x3d" => 1), array("\151\144" => $object["\151\144"])); goto lOh0k; I1nSK: $param = ["\156\x61\155\x65" => $joinUserModel["\x6e\151\143\153\x6e\x61\155\x65"], "\x6f\x62\152" => mb_substr($object["\164\151\x74\x6c\x65"], 0, 20, "\165\x74\x66\x2d\70"), "\160\162\151\172\x65" => $prizeModel["\x6e\x61\155\145"], "\x63\157\144\x65" => $writecode]; goto QsMZT; huHtm: $templatecode = $sms_tmp["\164\145\155\160\x6c\141\164\x65\143\x6f\x64\x65"]; goto S_38a; cZzoy: pdo_update(ztk_table("\157\x62\152\x5f\x6c\x61\144\144\145\162", false), array("\152\157\x69\156\137\x6e\165\155\40\53\75" => 1), array("\x69\x64" => $object["\x69\144"])); goto jFQe1; qKMd8: if (intval($prize2Model["\164\x79\x70\145\163"]) == 1) { goto PCq0u; } goto bYmqe; gPlu6: $userDrawRecordModel["\x63\x61\162\x64\137\151\144"] = $prize2Model["\143\x61\x72\x64"]; goto t88YW; n3Rrc: pdo_update(ztk_table("\165\x73\145\162\137\x64\162\x61\167", false), array("\143\x61\162\144" => $prizeModel["\143\141\162\x64"], "\x73\164\141\164\165\x73" => 1, "\165\160\144\141\x74\x65\x74\x69\155\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto SrPeV; iXu4c: if ($object["\164\x69\x6d\145\137\x74\171\x70\x65\x73"] == 2) { goto oA5D0; } goto dCtP5; QVfN8: $postdata = array("\x66\x69\x72\x73\x74" => array("\x76\141\x6c\165\145" => "\xe6\x82\250\345\xa5\275\357\274\214\xe6\x82\xa8\xe5\xb7\262\xe8\264\xad\344\xb9\260\xe6\x88\220\xe5\x8a\x9f\343\x80\x82", "\143\157\x6c\x6f\162" => "\x23\61\x37\63\61\67\x37"), "\153\145\x79\167\x6f\x72\x64\61" => array("\x76\141\154\x75\145" => $object["\164\151\x74\x6c\145"], "\143\x6f\154\x6f\162" => "\x23\61\67\63\61\67\67"), "\x6b\145\171\167\157\162\144\62" => array("\166\141\x6c\165\x65" => $drawModel["\160\x61\x79\x5f\156\x75\x6d\142\145\162"], "\x63\157\154\157\162" => "\x23\61\67\x33\61\x37\67"), "\153\145\x79\x77\157\x72\x64\x33" => array("\166\141\x6c\165\x65" => "\346\224\257\xe4\273\230{$drawModel["\160\141\171\137\155\x6f\x6e\x65\x79"]}\xe5\205\x83\40\xe4\xbd\x99\351\xa2\x9d{$drawModel["\160\141\171\x5f\x73\171\163\137\x6d\x6f\156\145\171"]}\345\x85\x83", "\143\x6f\x6c\x6f\x72" => "\43\61\67\x33\61\x37\x37"), "\x6b\x65\x79\x77\x6f\x72\144\x34" => array("\166\141\x6c\165\145" => date("\x59\x2d\155\x2d\144\x20\110\72\x69\x3a\x73", time()), "\143\157\x6c\157\x72" => "\x23\61\67\63\61\x37\67"), "\x72\145\155\x61\x72\x6b" => array("\166\141\154\165\x65" => "\346\204\237\xe8\xb0\xa2\xe6\x82\250\347\232\204\345\x85\211\xe4\270\xb4\xef\274\201", "\143\157\x6c\157\162" => "\x23\x31\x37\x33\61\67\x37")); goto vLAJG; pNk9f: Fh9a1: goto FIivn; eIDWI: $note = "\346\x8a\xbd\345\xa5\x96\350\216\267\xe5\276\227\xef\274\x9a" . date("\131\55\x6d\55\144\40\110\x3a\151\x3a\163", TIMESTAMP) . "\40\344\274\x9a\345\x91\230\xe3\x80\220" . $userModel["\156\x69\143\x6b\x6e\141\x6d\x65"] . "\343\200\221\345\x8f\x82\344\xb8\216\xe6\264\273\345\212\250\xef\274\x9a" . $object["\x74\x69\164\154\145"] . "\xef\274\x8c\350\216\xb7\xe5\276\227\xe7\xa7\257\345\x88\x86\357\274\232" . $prizeModel["\163\143\x6f\x72\145"] . "\344\270\xaa"; goto HdHx0; sNVZO: if (empty($join_id)) { goto kNP0T; } goto luC2E; UvBxr: if (!($joinModel["\x6f\x70\x65\156\151\144"] == $originModel["\x6f\160\x65\156\151\x64"])) { goto BJKgD; } goto Ojidq; ET8au: $userMoneyRecharge["\x6f\x70\x65\x6e\151\x64"] = $orderPayModel["\157\160\x65\x6e\x69\x64"]; goto Rlgqg; S2KxD: $virtualModel["\x73\x74\141\164\x75\x73"] = 0; goto jub93; ymB_e: sendSiteTplNotice($uniacid, $joinUserModel["\157\x70\x65\x6e\x69\144"], $postdata, $template_id, $url); goto m1I5O; iUd2n: kq2bp: goto AJRFt; tanP_: goto QP39U; goto sFMlJ; jub93: pdo_update(ztk_table("\x70\x72\x69\172\x65\137\166\x69\x72\x74\x75\x61\x6c\x5f\144\x61\164\x61", false), $virtualModel, array("\151\144" => $virtualModel["\x69\144"])); goto z5LZL; lqyMh: $content = str_replace("\x7b\x4f\102\x4a\175", $object["\x74\x69\164\x6c\x65"], $content); goto gS3o7; VjbtB: $userDrawRecordModel = array(); goto bh547; Zn9tM: $userModel = pdo_get(ztk_nopre_table("\165\163\x65\162\x5f\x61\143\143\157\x75\x6e\x74"), array("\165\x6e\151\x61\143\151\x64" => $orderIntmallModel["\x75\156\151\141\143\x69\x64"], "\157\x70\145\x6e\x69\144" => $orderIntmallModel["\157\160\x65\156\x69\144"])); goto D5D8g; B2mZu: ZgaTB: goto v40iR; a6By2: $userDrawRecordModel["\144\x72\141\167\137\x69\x64"] = $draw_id; goto uKhxb; OZEMS: $noticeMessage = ''; goto uhSMl; vmvXj: hniAh: goto yLigd; AlTwx: W9f35: goto qmyEO; qDPtG: $userModel = pdo_get(ztk_nopre_table("\x75\163\x65\162\137\141\143\143\x6f\x75\156\x74"), array("\165\x6e\151\141\143\x69\144" => $uniacid, "\x6f\160\145\x6e\151\144" => $orderPayModel["\x6f\x70\145\156\x69\144"])); goto Ndtob; cGE08: if (intval($prizeModel["\164\171\160\x65\163"]) == 7) { goto D3f5r; } goto HPAGA; rNN3Z: UbXof: goto bk9gw; HFngb: $buy_reobjspecs = unserialize($orderPayModel["\142\x75\171\137\162\145\x67\137\x6f\x62\152\163\x70\x65\x63\x73"]); goto Q9E4n; CIme7: aV9DF: goto S0AeS; xyr6H: t4FSB: goto Jj9E0; dWB1H: l3xxQ: goto vuQO1; hoIJR: $content = $content . "\40\xe3\x80\220" . $sms_tmp["\163\x69\147\x6e"] . "\xe3\200\221"; goto AXalX; y0Mz1: pdo_update(ztk_table("\x75\163\x65\162\x5f\x73\157\154\x69\x63\x69\164\x69\x6e\x67\137\x6a\x6f\x69\x6e", false), array("\x6d\x6f\x6e\145\171\x20\53\x3d" => floatval($prizeModel_rebate["\x72\x65\144"])), array("\x69\144" => $join_id)); goto t3B75; lJzoh: $content = str_replace("\173\x57\122\x49\124\x45\117\x46\x46\103\x4f\x44\105\175", $writecode, $content); goto bmms5; K_T4M: pdo_update(ztk_table("\165\163\145\162\x5f\x63\165\x74\137\152\157\151\156", false), array("\x6d\157\156\145\x79\40\x2b\x3d" => floatval($prizeModel["\x77\x61\154\154\145\x74"])), array("\x69\x64" => $joinModel["\x69\144"])); goto hkDBw; w2GQ2: $userDrawRecordModel = array(); goto MvQX5; Q9ybU: pdo_update(ztk_table("\160\x72\151\x7a\x65\137\x76\151\x72\x74\165\x61\x6c\x5f\x64\x61\x74\x61", false), $virtualModel, array("\x69\x64" => $virtualModel["\x69\144"])); goto MOfP4; Ql2iq: $virtualModel["\x73\164\x61\164\x75\x73"] = 0; goto qZUyO; qSdFI: Hzhzx: goto zT0UU; O02tV: $code_draw_data["\163\x74\141\164\x75\163"] = 0; goto QOFu6; N9pzP: $content = $sms_tmp["\143\157\156\164\x65\x6e\x74"]; goto c4Kc0; Ubi_I: $sn = $config["\x73\155\x73\x5f\165\151\144"]; goto O5KPC; g8fTs: if (empty($orderPayModel["\157\162\x69\147\151\x6e\137\151\x64"])) { goto E2T7O; } goto GfUU6; X4YD8: $userDrawRecordModel["\x75\160\x64\x61\164\145\x74\x69\x6d\145"] = time(); goto Mwzrf; rYmfw: FFPjH: goto H6oq7; HW4Rc: $sms_tmp = pdo_get(ztk_table("\164\155\160\x5f\163\155\163", false), array("\151\144" => $sms_tmp_id)); goto jZ1yk; BsAwm: $ali_accesskeyid = $config["\141\x6c\151\137\141\x63\x63\x65\163\163\x6b\145\171\x69\144"]; goto dUZxO; NT31l: $mobile = $join2UserModel["\155\157\142\151\154\x65"]; goto aS838; qn4eZ: $prizeModel["\x73\x63\157\162\145"] = mt_rand($min, $max); goto FtLLT; y5Pbj: if (!(intval($object["\142\x75\171\137\x69\163\x5f\160\x75\x73\150"]) == 1)) { goto cY1pK; } goto SwJdO; DMRJ2: if ($prizeModel["\x74\151\155\x65\x5f\164\x79\x70\x65\163"] == 1) { goto a7UBc; } goto AQAGM; tdUqJ: include_once "\151\156\x63\57\146\165\x6e\x63\x74\151\157\x6e\57\x6f\x62\x6a\x65\x63\164\56\146\165\x6e\143\x2e\160\150\x70"; goto CKjK3; jw1Yi: if (intval($sms_tmp["\x74\171\x70\145\x73"]) == 0) { goto RLQQ3; } goto xCoq4; Bf3t8: $userDrawRecordModel["\x74\171\x70\x65\x73"] = 1; goto cWRBT; gDYdr: if (!(intval($prizeModel["\143\162\145\141\164\145\x5f\164\171\160\145\163"]) == 1)) { goto jYrZo; } goto xK0Ja; QPGEh: $userDrawRecordModel["\x73\x74\x61\x74\165\x73"] = $result === true ? 1 : 0; goto iokzv; wrKQv: $draw_id = pdo_insertid(); goto E2eXr; eghFy: return true; goto f2MLL; WD0TW: if (intval($object["\x62\165\x79\x5f\162\145\142\x61\164\145\x5f\163\155\x73"]) == 1) { goto sMluq; } goto kfIKV; bk9gw: pdo_update(ztk_table("\165\163\145\x72\x5f\x61\x63\x63\157\165\x6e\164", false), array("\x70\162\x6f\144\x75\x63\164\137\156\x75\155\x20\53\x3d" => 1), array("\157\160\145\x6e\x69\x64" => $joinUserModel["\x6f\x70\x65\x6e\151\x64"])); goto rWSh7; vNYf0: if (empty($prize2List)) { goto JgjgJ; } goto v_0bE; sMh_n: $param = ["\x6e\141\155\x65" => $userModel["\156\151\x63\x6b\156\x61\155\145"], "\x6f\142\152" => mb_substr($object["\x74\151\164\x6c\145"], 0, 20, "\165\164\x66\55\70"), "\155\157\x6e\145\x79" => $drawModel["\160\x61\171\137\x6d\157\156\145\x79"] + $drawModel["\x70\x61\171\137\x73\x79\x73\137\x6d\x6f\x6e\x65\x79"], "\143\x6f\x64\145" => $writecode]; goto T0bv5; S7Ll4: $userDrawRecordModel = array(); goto qSTyt; joy7Z: if (empty($result)) { goto HcbHW; } goto OhXqJ; vjTjS: $prizeModel["\x77\x61\x6c\x6c\x65\x74"] = mt_rand($min * 100, $max * 100) / 100; goto B2mZu; RVSaX: $userDrawRecordModel["\x75\156\151\x61\143\151\x64"] = $prizeModel["\x75\x6e\151\141\x63\151\x64"]; goto vv1lJ; qMOOY: pdo_update(ztk_table("\x75\163\x65\x72\x5f\x61\143\x63\x6f\165\156\164", false), array("\152\x6f\x69\156\137\156\x75\155\40\x2b\x3d" => 1), array("\x6f\x70\145\156\x69\144" => $joinUserModel["\157\160\145\x6e\x69\144"])); goto jvj3L; deLki: WlnBF: goto BRZO2; TOS2y: $note = "\345\217\202\xe4\270\x8e\346\xb4\273\xe5\x8a\250\357\274\x9a" . date("\131\55\155\55\144\40\110\72\x69\x3a\163", TIMESTAMP) . "\x20\344\xbc\x9a\345\221\230\xe3\x80\x90" . $userModel["\x6e\151\x63\153\x6e\141\155\x65"] . "\343\x80\x91\xe5\x8f\x82\xe4\270\x8e\xe6\264\xbb\345\x8a\250\357\xbc\x9a" . $object["\164\151\x74\x6c\x65"] . "\357\xbc\214\346\224\xaf\xe4\xbb\x98\xe9\207\x91\xe9\242\x9d\xef\xbc\x9a" . floatval($orderPayModel["\160\x61\171\x5f\160\162\x69\x63\145"]) . "\345\205\203"; goto qw9Gn; dSvGI: if (!(intval($object["\x69\163\137\163\155\163"]) == 1)) { goto fUnoe; } goto D4yXS; QV4GA: if (intval($sms_tmp["\x74\x79\x70\x65\x73"]) == 0) { goto CtmQT; } goto x_XDI; xmGYZ: goto GeaMJ; goto X0CdZ; e1S_e: pdo_insert(ztk_nopre_table("\165\163\145\162\137\x64\x72\x61\x77\137\x72\145\x63\x6f\162\x64"), $userDrawRecordModel); goto bN3Yj; S_WmE: pdo_update(ztk_table("\165\x73\145\x72\137\144\x72\x61\x77", false), array("\166\151\162\164\x75\141\154\x5f\x69\x64" => $virtualModel["\x76\151\162\x74\x75\141\x6c\137\x69\144"], "\166\x69\x72\x74\165\x61\154\137\x64\141\164\141\137\151\144" => $virtualModel["\x69\x64"], "\x73\x74\141\x74\x75\163" => 1, "\165\x70\x64\x61\x74\145\164\x69\x6d\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto B3a7S; KnyQH: $ali_accesskeysecret = $config["\141\154\x69\137\141\x63\x63\x65\x73\163\x6b\145\171\x73\x65\x63\x72\x65\x74"]; goto pd_sw; XwXWc: if (empty($originModel)) { goto tQ53T; } goto EgkHH; OlsJb: $content = str_replace("\x7b\x50\x52\111\132\105\175", $prizeModel["\156\141\x6d\x65"], $content); goto Jihde; nkHxx: if (intval($prize2Model["\x74\171\x70\x65\163"]) == 4) { goto btIge; } goto rA_c2; Eh_uF: Et052: goto nV2z6; PGjfA: goto R5bv4; goto qUlz9; DMr5v: $content = str_replace("\x7b\115\x4f\x4e\105\131\x7d", $drawModel["\160\x61\171\x5f\155\157\x6e\145\171"] + $drawModel["\x70\141\x79\x5f\x73\x79\163\137\x6d\157\156\x65\x79"], $content); goto LG2Qs; R28m6: $rid2 = get_rand($arr2); goto M1srQ; lp2E2: $content = str_replace("\x7b\120\x52\x49\x5a\x45\x7d", $prize2Model["\156\141\x6d\x65"], $content); goto eGHTA; GuHRf: cisbm: goto kkysp; Rcb2X: $content = str_replace("\173\x50\122\x49\132\105\175", $prizeModel["\x6e\x61\x6d\145"], $content); goto lJzoh; CMOCT: pdo_update(ztk_table("\165\x73\x65\162\137\141\x63\x63\157\165\156\164", false), array("\x70\x72\157\x66\x69\x74\x5f\155\157\156\145\171\40\53\75" => $prizeModel["\167\x61\154\x6c\145\x74"], "\x77\141\154\x6c\x65\164\137\155\x6f\x6e\145\171\40\x2b\x3d" => $prizeModel["\x77\x61\154\x6c\145\x74"], "\167\141\x6c\154\145\x74\x5f\x6d\x6f\x6e\145\171\x5f\156\165\155\40\x2b\x3d" => 1), array("\157\x70\145\156\151\x64" => $joinUserModel["\x6f\x70\145\x6e\151\x64"])); goto ta9Mh; K1HYc: if (empty($sms_tmp_rebate)) { goto r5Fyu; } goto CDCuK; cS5G1: $userDrawRecordModel["\x6d\x6f\x6e\x65\x79"] = $prizeModel["\167\x61\x6c\x6c\145\164"]; goto xttWU; EAZaB: if (!(intval($object["\142\165\x79\x5f\x69\x73\x5f\163\155\163"]) == 1)) { goto o2HPJ; } goto A7mXj; JSAsg: $joinPayModel["\157\162\x69\x67\151\156\x5f\x74\x65\141\x6d\x5f\x69\144"] = $origin_team_id; goto AOvc2; LnAdG: uQkbT: goto PRlSq; KkzbG: GXoDI: goto xdiMf; Skf6O: $userDrawRecordModel["\157\142\x6a\x5f\x69\144"] = $prizeModel["\x6f\x62\x6a\137\x69\x64"]; goto cVfiv; DAQkW: $sms_tmp_id = $object["\163\155\x73\x5f\164\155\160\x5f\151\x64"]; goto F62_e; UWfZF: pdo_update(ztk_table("\165\163\145\162\x5f\x61\x63\x63\157\165\x6e\x74", false), array("\152\157\151\156\x5f\156\x75\x6d\x20\53\x3d" => 1), array("\x6f\160\145\x6e\151\144" => $joinUserModel["\157\160\x65\x6e\151\x64"])); goto eLic3; hvZ0l: GupsA: goto zuezc; PYij0: pdo_update(ztk_table("\x75\x73\x65\x72\x5f\141\x63\143\157\x75\x6e\164", false), array("\160\162\157\x64\165\143\x74\137\156\x75\x6d\40\x2b\x3d" => 1), array("\x6f\160\145\156\151\x64" => $joinUserModel["\x6f\x70\x65\x6e\151\x64"])); goto bilXT; LoOmF: Dv1Ts: goto ilF3i; aARGg: $userDrawRecordModel["\x74\x79\x70\145\163"] = 1; goto RYuZL; C_1iA: $mobile = $userModel["\155\x6f\x62\x69\x6c\x65"]; goto gq9hS; PARge: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto o6a7X; O4ryz: $writecode = $encode_id; goto fNjAw; ZJ0vc: $join_draw_data["\x65\x6e\144\137\164\x69\155\145"] = $prizeModel["\164\x69\155\x65\x5f\x64\141\x79"] * 24 * 60 * 60 + time(); goto jjcfc; UeqcS: TQ4G5: goto f37dS; T1IxH: f2o_D: goto Ei00c; Z2SqM: list($min, $max) = explode("\x2d", $prizeModel["\x73\171\163"]); goto p5xtL; I6fGe: n4v41: goto NhYlU; wFv_f: $ali_accesskeysecret = $config["\141\154\151\x5f\x61\x63\143\x65\163\x73\x6b\x65\171\x73\x65\x63\162\145\x74"]; goto hMXmq; CKgfJ: dHR_5: goto DBUwH; ZfEyV: L4tvw: goto W6T9m; SMgl2: $join_draw_data = array("\x75\156\x69\141\143\x69\x64" => $uniacid, "\x6f\142\x6a\137\164\171\160\x65\163" => $obj_types, "\157\x62\152\137\x69\x64" => $object["\151\x64"], "\161\162\x5f\x69\144" => 0, "\x71\162\x5f\164\157\x6b\x65\156" => '', "\x71\x72\137\x6e\165\x6d\x62\145\162" => 0, "\x6f\x72\151\x67\151\156\137\151\144" => $origin_id, "\157\162\x69\x67\x69\156\137\164\x65\x61\155\137\151\144" => $origin_team_id, "\160\x72\151\x7a\145\137\x69\x64" => $prizeModel["\151\x64"], "\164\x79\160\145\x73" => $prizeModel["\x74\171\x70\x65\163"], "\x6e\141\x6d\145" => $prizeModel["\x6e\141\x6d\x65"], "\160\x61\x79\137\157\x70\145\x6e\151\144" => $orderPayModel["\157\x70\145\156\151\144"], "\x70\x72\x69\172\145\x5f\160\151\143\x5f\165\162\154" => $prizeModel["\160\151\143\x5f\x75\162\x6c"], "\167\162\x69\x74\x65\x6f\146\146\137\x74\171\x70\145\x73" => $prizeModel["\x77\162\x69\164\x65\x6f\146\x66\x5f\164\x79\x70\x65\x73"], "\157\160\145\x6e\x69\x64" => $joinUserModel["\x6f\x70\145\x6e\x69\144"], "\156\151\143\153\x6e\x61\155\x65" => $joinUserModel["\x6e\151\x63\153\156\141\155\x65"], "\163\x65\x78" => $joinUserModel["\x73\x65\x78"], "\150\145\141\x64\x75\162\x6c" => $joinUserModel["\150\x65\x61\144\165\162\154"], "\141\162\145\141" => $joinUserModel["\141\x72\x65\141"], "\151\x70" => $_SERVER["\122\105\115\117\124\105\x5f\x41\104\104\x52"], "\157\x72\137\x72\145\142\x61\x74\x65\62" => 0, "\x69\163\x5f\162\145\x67\x69\163\x74\145\x72" => 0, "\162\x65\147\x69\x73\x74\145\162\x5f\144\141\x74\141" => '', "\x63\162\x65\x61\x74\x65\164\151\155\x65" => TIMESTAMP); goto FcHTp; ff4XD: pdo_update(ztk_table("\155\141\162\153\145\x74\x69\156\x67\x5f\x75\x73\145\162", false), array("\155\x61\162\x6b\x65\x74\151\x6e\x67\137\156\x75\155\x20\x2b\x3d" => 1), array("\x69\144" => $origin_id)); goto O7CEi; myKZY: goto mjPEB; goto TJ8AZ; hkDBw: $noticeMessage = "\346\x81\255\xe5\x96\234\346\x82\xa8\357\274\214\xe8\216\267\345\xbe\x97\350\xbf\x94\345\210\xa9\345\245\226\xe5\x93\201\342\x80\234{$prizeModel["\x6e\x61\155\145"]}\342\x80\235\xe8\x8e\267\xe5\xbe\227\xe5\276\xae\344\xbf\241\351\x9b\266\xe9\222\xb1\xef\xbc\x9a{$prizeModel["\167\x61\x6c\154\145\164"]}\345\x85\203\xef\xbc\x8c\350\257\xb7\345\x88\260\xe6\202\xa8\347\232\204\345\xbe\256\344\xbf\241\351\222\261\xe5\x8c\x85\xe6\237\245\347\x9c\213\343\x80\x82"; goto Te0I1; Io8uM: goto Mn520; goto ACOU3; P4zcq: H07Q8: goto KjRUc; KZBdG: $noticeMessage = "\xe6\x81\255\xe5\226\234\xe6\202\250\357\xbc\x8c\xe8\216\xb7\345\xbe\227\350\277\x94\345\210\xa9\xe5\245\226\xe5\223\x81\342\200\x9c{$prizeModel["\156\141\155\x65"]}\342\200\235\350\x8e\267\345\276\x97\xe7\216\260\xe9\x87\221\xe7\272\242\345\214\x85\357\274\x9a{$prizeModel["\x72\x65\x64"]}\345\x85\203\xef\xbc\214\xe8\257\267\xe5\x88\xb0\346\x82\250\xe7\x9a\x84\xe5\276\xae\xe4\xbf\241\351\222\261\345\214\205\346\x9f\245\xe7\x9c\x8b\xe3\200\202"; goto f6FxC; NzpcN: if (!(intval($object["\x69\x73\137\163\155\x73"]) == 1)) { goto X8JHv; } goto DAQkW; iD0sx: pdo_update(ztk_table("\165\163\145\162\x5f\165\156\x69\x6f\156\x5f\x6a\x6f\x69\x6e", false), array("\155\157\156\145\x79\40\53\x3d" => floatval($prizeModel["\163\171\x73"])), array("\151\144" => $join_id)); goto bfior; HtJdk: pdo_update(ztk_table("\x75\163\145\x72\x5f\144\162\x61\167", false), array("\163\x63\157\x72\x65" => $prizeModel["\x73\x63\157\162\x65"], "\x73\164\x61\164\x75\163" => 1, "\x75\160\144\x61\164\145\164\151\x6d\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto nqv47; DB0F4: $userDrawRecordModel["\x75\156\151\x61\x63\x69\x64"] = $prizeModel["\x75\x6e\x69\x61\143\151\x64"]; goto e02Sx; LIguJ: if (intval($prizeModel["\164\x79\160\x65\x73"]) == 1) { goto aj3sY; } goto RgPns; Km9n4: goto mFviW; goto vGMF5; UpqCr: $noticeMessage = "\346\201\255\xe5\x96\x9c\xe6\x82\250\xef\274\x8c\xe8\216\xb7\345\276\x97\350\277\x94\345\210\xa9\xe5\245\226\345\223\201\xe2\x80\x9c{$prizeModel["\156\x61\x6d\x65"]}\xe2\200\235\xef\274\x8c\xe7\216\xb0\xe9\207\x91\xe7\272\242\345\x8c\x85\xef\xbc\232{$prizeModel["\162\x65\144"]}\345\205\x83\xef\xbc\x8c\350\257\267\345\x88\260\xe6\x82\xa8\347\x9a\x84\xe5\276\256\344\277\241\351\222\xb1\xe5\214\205\346\237\245\347\x9c\x8b\xe3\x80\202"; goto rB4O2; wY23d: XNcZQ: goto NNW2D; IgsaR: if (empty($originModel)) { goto RShyU; } goto IGgeU; vNJf2: if (intval($sms_tmp["\164\x79\x70\x65\x73"]) == 0) { goto M0Yvg; } goto vAaND; f37dS: if ($object["\x69\x73\137\x6f\160\x65\x6e\137\x73\x74\x6f\x63\x6b"] == 1) { goto rZ7oH; } goto LWcvT; KsSVV: f1wgZ: goto BDDSq; jVfVV: if (empty($sms_tmp)) { goto L4tvw; } goto VbGel; N_JF1: goto BOkBX; goto wY5Uf; WK8Fw: WUFAJ: goto o0l31; WtZXz: v_QeV: goto YVJQ2; P5sbj: if (intval($prizeModel["\x74\171\x70\x65\x73"]) == 4) { goto VrMim; } goto PdUrS; EAaiZ: if (intval($prizeModel["\164\171\x70\145\x73"]) == 7) { goto WX2F5; } goto uTKG3; HsKsZ: $pwd = $config["\x73\155\163\137\x6b\145\171"]; goto NT31l; gq9hS: $content = $sms_tmp["\x63\x6f\x6e\x74\x65\x6e\x74"]; goto HJajX; U0kSE: F_vfr: goto sNuvp; Ky0eH: $join_draw_data["\145\156\144\x5f\x74\151\155\x65"] = $prizeModel["\164\151\155\x65\137\145\x6e\144"]; goto cieCP; GrcWQ: l2ot9: goto I8pRF; uhRm1: $userDrawRecordModel["\164\171\x70\x65\163"] = 0; goto eE7w3; fsK1q: $userDrawRecordModel["\165\x70\144\x61\164\x65\164\151\x6d\145"] = time(); goto S8Knx; i_R2C: $writeoff_types = 0; goto EoA4r; UzSX0: $content = str_replace("\x7b\116\111\x43\113\116\x41\115\105\x7d", $joinUserModel["\x6e\x69\x63\x6b\x6e\141\155\x65"], $content); goto oO2ud; h6Oqi: $fansinfo = $account_api->fansQueryInfo($orderIntmallModel["\x6f\160\x65\156\x69\x64"]); goto QsNym; INNBY: CnT0C: goto vVKse; Q7rWt: $join_draw_data = array("\x77\x72\x69\x74\x65\143\x6f\x64\145" => $encode_id); goto mGZHp; FcNh7: $userDrawRecordModel["\157\x62\x6a\x5f\x74\x79\160\x65\163"] = $prizeModel_rebate["\x6f\x62\152\x5f\164\171\160\x65\x73"]; goto tv6SX; pC0rB: if (empty($originModel)) { goto Mgs9c; } goto c2wEs; vlZEw: if ($object["\x74\x69\155\145\137\164\171\x70\x65\163"] == 1) { goto mfaqe; } goto iXu4c; fRxhA: $userMoneyRecharge = array(); goto uuIMc; BLFc7: if (!(intval($prize2Model["\143\x72\145\x61\x74\145\137\164\x79\160\145\163"]) == 1)) { goto hniAh; } goto M_k5X; J7SB8: $joinPayModel["\163\x74\141\164\165\163"] = 0; goto Od0hJ; aqBq9: sendSiteTplNotice($uniacid, $join2UserModel["\x6f\160\145\156\151\x64"], $postdata, $template_id, $url); goto OrFGW; fHPTc: $userDrawRecordModel["\165\x70\144\141\x74\x65\x74\151\155\145"] = time(); goto br33d; nceiR: $userDrawRecordModel["\x6f\142\x6a\x5f\x74\171\x70\x65\x73"] = $prizeModel["\157\x62\x6a\x5f\x74\x79\160\145\163"]; goto qnOoH; vMB23: $template_id = $object["\x70\165\x73\x68\137\x74\155\160"]; goto fvA1V; aAGXt: $prizeModel["\163\x79\163"] = mt_rand($min * 100, $max * 100) / 100; goto cuSTC; KmCl7: nxPyO: goto CT_W5; r0tMD: $join_id = $objarr[2]; goto LC5BR; oIlfm: $postdata = array("\146\x69\162\x73\x74" => array("\x76\141\154\x75\145" => "\xe6\201\255\xe5\226\234\xe6\202\250\41\346\202\250\345\x8f\x82\xe4\270\216\xe6\xb4\273\345\x8a\xa8" . $object["\164\151\164\154\145"] . "\344\270\xad\xe5\245\226\344\272\x86", "\143\x6f\154\x6f\x72" => "\43\x31\x37\x33\x31\x37\x37"), "\x6b\x65\x79\x77\157\162\144\61" => array("\x76\141\x6c\165\145" => $prizeModel["\x6e\x61\x6d\x65"], "\x63\157\x6c\x6f\162" => "\43\x31\67\x33\61\x37\67"), "\x6b\x65\171\167\x6f\x72\x64\62" => array("\166\x61\154\165\x65" => timeToStr(TIMESTAMP), "\143\157\x6c\x6f\x72" => "\x23\x31\x37\63\61\x37\67"), "\x72\145\155\141\162\153" => array("\166\141\154\x75\145" => $noticeMessage, "\x63\157\x6c\157\162" => "\43\x31\67\x33\x31\67\67")); goto QN1Ae; VySpD: if (!isSiteFollow($userModel["\x6f\160\x65\x6e\x69\144"])) { goto W3aXV; } goto PQV2d; ogZcE: $drawcode_data_array = array("\x75\156\151\x61\x63\x69\x64" => $uniacid, "\144\162\141\167\143\157\x64\145\137\151\x64" => $draw_activity_model["\x64\x72\141\x77\143\x6f\x64\145\x5f\x69\144"], "\x6f\160\x65\156\151\144" => $orderPayModel["\x6f\x70\145\x6e\151\x64"], "\143\157\x64\x65" => $drawcode, "\163\x74\x61\x74\165\163" => 1, "\143\162\145\x61\x74\x65\164\151\155\145" => TIMESTAMP); goto lmalm; cieCP: UGGWY: goto dLK65; ynynY: $objarr = explode("\x2c", $orderPayModel["\157\x72\144\x65\162\137\156\165\x6d\x62\145\x72"]); goto pG73p; zgl11: $userDrawRecordModel["\164\171\x70\145\163"] = 2; goto TxHIc; D5Iuw: if (empty($prizeList)) { goto Cc_u6; } goto TBhM1; bMjgv: if ($prizeModel["\151\x73\x5f\163\155\163"] == 1) { goto AhMci; } goto NzpcN; l_W9v: if (intval($sms_tmp["\x74\171\160\145\163"]) == 0) { goto rpjyT; } goto kD7EQ; ytoSX: ZsObQ: goto neRAf; llxSh: include MODULE_ROOT . "\57\x69\156\x63\57\143\x6c\x61\x73\163\57\x48\x61\163\x68\151\x64\163\x2e\x63\x6c\141\x73\x73\56\x70\150\160"; goto iDRLa; AShTm: $note = "\xe5\x8f\x82\xe4\270\x8e\346\264\273\345\x8a\250\357\274\x9a" . date("\x59\x2d\155\55\x64\40\110\72\x69\72\163", TIMESTAMP) . "\x20\344\274\232\xe5\221\230\xe3\200\220" . $userModel["\x6e\151\143\x6b\156\141\155\145"] . "\xe3\x80\x91\345\x8f\x82\xe4\270\x8e\346\xb4\xbb\345\x8a\250\357\xbc\x9a" . $object["\164\x69\164\x6c\x65"] . "\xef\274\214\xe6\x94\xaf\xe4\xbb\230\345\xae\x9a\xe9\x87\221\xef\xbc\232" . floatval($orderPayModel["\160\141\171\x5f\160\162\x69\143\x65"]) . "\345\x85\x83"; goto sObNR; mAKZN: $sql = "\x53\x45\x4c\x45\103\x54\x20\x2a\x20\x46\x52\117\x4d\x20" . tablename("\x6c\171\x77\x79\x77\154\x5f\x7a\164\153\137\157\x62\x6a\x5f\163\157\x6c\151\x63\151\164\x69\x6e\147") . "\40\127\x48\105\x52\105\40\x74\x6f\153\145\x6e\x20\75\40\72\164\157\x6b\145\156\40\101\x4e\104\x20\x75\x6e\151\x61\x63\151\144\x20\x3d\x20\72\x75\156\x69\x61\143\151\x64"; goto RiuEj; e5Pvx: ABssD: goto zALmp; i2YJW: pdo_update(ztk_table("\165\163\x65\x72\x5f\141\x63\x63\157\x75\x6e\x74", false), array("\x63\141\162\x64\x5f\156\x75\x6d\x20\53\75" => 1), array("\x6f\160\x65\156\151\144" => $join2UserModel["\157\x70\145\x6e\x69\x64"])); goto IuQEA; Pp82n: $sms_tmp = pdo_get(ztk_table("\x74\155\160\137\x73\x6d\163", false), array("\x69\x64" => $sms_tmp_id)); goto IZf8A; BBqvg: $userDrawRecordModel["\x75\x6e\151\141\x63\x69\x64"] = $prizeModel["\x75\x6e\x69\141\143\151\x64"]; goto jbQ67; DgBMY: if (!(intval($prize2Model["\x63\x72\145\141\164\145\137\164\171\x70\145\163"]) == 1)) { goto psWYx; } goto C4_xv; v8KcD: if (!isSiteFollow($join2UserModel["\157\160\x65\156\x69\x64"])) { goto mUi8O; } goto oTl4b; CT_W5: $sn = $config["\x73\155\163\137\165\x69\x64"]; goto J9eCE; rCk8Z: if (empty($virtualModel)) { goto NgUUu; } goto E0Avg; RPo52: goto K2vHg; goto yogXm; l0yFz: $userDrawRecordModel["\x6f\160\145\x6e\x69\x64"] = $joinUserModel["\x6f\x70\145\156\x69\144"]; goto cxwN6; z7jZY: fsNp0: goto L43oz; VbGel: if (!(!empty($join2UserModel) && !empty($join2UserModel["\155\157\x62\x69\x6c\x65"]))) { goto dcJO0; } goto su21X; tmcA5: if (empty($object["\142\x75\171\137\160\x75\x73\x68\137\x74\x6d\x70\162\145\142\x61\164\145"])) { goto uhDEa; } goto nDTzI; v17Ef: $userDrawRecordModel["\x6f\160\145\x6e\151\x64"] = $joinUserModel["\x6f\160\x65\x6e\151\x64"]; goto KEB6T; MjoIj: $userMoneyRecharge = array(); goto TkQXU; p3Oie: uSU40: goto i2Tmv; qSTyt: $userDrawRecordModel["\165\x6e\151\x61\x63\x69\144"] = $prizeModel_rebate["\165\x6e\x69\x61\143\x69\144"]; goto Uu2AM; TwWgH: $noticeMessage = "\346\201\xad\345\x96\x9c\346\202\xa8\xef\274\214\xe8\x8e\xb7\xe5\276\x97\xe8\277\x94\xe5\x88\xa9\345\xa5\x96\345\223\x81\xe2\x80\x9c{$prize2Model["\156\x61\155\145"]}\342\x80\x9d\357\xbc\214\345\276\xae\xe4\xbf\241\351\x9b\266\xe9\x92\261\xef\274\232{$prize2Model["\x77\141\154\154\145\164"]}\xe5\205\203\xef\xbc\x8c\350\257\xb7\345\x88\xb0\xe6\x82\xa8\xe7\x9a\x84\345\xbe\256\xe4\xbf\xa1\xe9\x92\261\xe5\x8c\x85\346\237\xa5\347\x9c\213\343\x80\202"; goto Qg11s; vbrYR: pdo_update(ztk_table("\x75\163\x65\162\x5f\144\162\141\x77", false), array("\143\165\163\164\157\x6d\x5f\165\x72\x6c" => $prize2Model["\x63\165\x73\164\x6f\x6d\137\x75\162\154"], "\163\164\141\164\165\x73" => 1, "\x75\x70\144\x61\x74\145\x74\x69\155\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto V12vl; RJmAq: $content = str_replace("\173\116\111\x43\x4b\116\x41\115\x45\x7d", $join2UserModel["\156\x69\143\x6b\x6e\x61\x6d\145"], $content); goto Vb3hF; wNgwR: $pwd = $config["\163\x6d\x73\137\x6b\x65\x79"]; goto uiBfa; z_LvE: lQCml: goto Hn2yr; pjh8R: $note = "\346\x8a\275\xe5\xa5\226\xe8\216\xb7\xe5\xbe\227\xef\274\232" . date("\x59\55\155\x2d\144\x20\x48\x3a\151\72\163", TIMESTAMP) . "\x20\344\xbc\232\xe5\221\x98\xe3\x80\x90" . $userModel["\x6e\151\x63\153\x6e\x61\155\145"] . "\343\200\221\xe5\217\x82\xe4\xb8\216\346\264\273\345\212\xa8\357\xbc\x9a" . $object["\164\151\x74\154\145"] . "\xef\xbc\214\xe8\x8e\xb7\345\xbe\227\xe9\x9b\266\xe9\x92\261\357\274\x9a" . $prizeModel["\163\171\163"] . "\xe5\205\203"; goto KhJ5G; akOKY: hyAyJ: goto paWRt; QsNym: $noticeMessage = "\345\225\x86\xe5\223\x81\xe4\xbf\xa1\346\x81\xaf\xef\274\232" . $orderIntmallModel["\x70\162\x6f\x64\x75\x63\164\137\x74\151\164\x6c\x65"]; goto da7HC; VCaX9: pdo_update(ztk_nopre_table("\157\x72\144\x65\x72\x5f\160\x61\171"), array("\163\x74\x61\x74\x75\x73" => 1, "\156\157\x74\x65" => implode("\54", $params)), array("\x69\x64" => $orderPayModel["\151\144"])); goto s7wTL; fI2Pw: $pwd = $config["\x73\x6d\163\137\x6b\145\x79"]; goto C_1iA; u5tEV: $userDrawRecordModel["\157\x62\x6a\x5f\151\144"] = $prizeModel["\157\x62\x6a\x5f\x69\x64"]; goto lbl1M; Vdqjd: $param = ["\156\x61\x6d\x65" => $joinUserModel["\156\151\143\x6b\x6e\x61\155\x65"], "\x6f\x62\x6a" => mb_substr($object["\164\x69\164\x6c\x65"], 0, 20, "\165\x74\146\55\x38"), "\x70\162\151\172\145" => $prizeModel["\156\x61\x6d\x65"], "\143\157\144\145" => $writecode]; goto iqo2r; C4FHk: $template_id = $object["\x62\x75\x79\x5f\160\x75\x73\150\137\164\x6d\x70"]; goto ucnXw; BuZzP: $userDrawRecordModel["\x73\x74\141\x74\x75\163"] = $result === true ? 1 : 0; goto R6G1_; jUwF6: $userDrawRecordModel["\x72\x65\x6d\x61\162\153"] = "\xe8\265\266\345\xbf\xab\345\x88\x86\344\272\xab\347\273\x99\xe6\x82\250\347\x9a\204\xe5\xa5\xbd\345\x8f\x8b\xe4\270\200\xe8\xb5\xb7\xe9\xa2\x86\xe7\xba\242\345\x8c\x85\345\x90\247"; goto PVxh3; aY6kT: $drawModel = pdo_get(ztk_table("\x75\163\x65\162\x5f\x64\162\x61\167", false), array("\x69\144" => $draw_id)); goto EAZaB; qNjVX: goto c9ddR; goto skIVo; dISOG: $ali_accesskeysecret = $config["\141\x6c\151\137\x61\x63\x63\x65\x73\163\x6b\x65\x79\163\x65\x63\162\145\x74"]; goto qVZpY; IBMau: if (intval($prizeModel["\164\x79\160\x65\x73"]) == 1) { goto CILem; } goto O_E7B; RnbHc: Prw4t: goto wv3MS; mlm48: YfX1z: goto bMjgv; UuLmk: $result = sendWeixinCard($join2UserModel["\157\x70\145\x6e\x69\x64"], $prize2Model["\143\x61\162\144"], $uniacid); goto vcwNP; gjEJ0: $hashids = Hashids::instance(6, "\154\171\167\x79\172\x74\153", ''); goto ex69Y; SSk7X: if ($prizeModel["\x69\163\x5f\x73\155\163"] == 1) { goto P0i3U; } goto hZXNV; y5VYJ: $joinPayModel["\x66\x72\x6f\x6e\164\137\155\x6f\x6e\145\x79"] = $object["\146\x72\x6f\156\164\137\x6d\x6f\156\x65\x79"]; goto VQo5B; Neaw9: $param = ["\156\141\155\x65" => $joinUserModel["\156\x69\143\x6b\156\141\155\145"], "\157\x62\x6a" => mb_substr($object["\x74\x69\x74\154\x65"], 0, 20, "\x75\164\146\x2d\x38"), "\160\162\151\172\x65" => $prizeModel["\x6e\x61\x6d\145"], "\143\157\144\x65" => $writecode]; goto z3BiZ; m0BOv: pdo_update(ztk_nopre_table("\157\162\x64\145\x72\137\x70\141\171"), array("\163\164\141\x74\165\x73" => 1, "\156\157\x74\145" => implode("\54", $params)), array("\151\144" => $orderPayModel["\151\144"])); goto sECBs; J_2jp: pdo_update(ztk_table("\160\x72\x69\172\145\137\x76\x69\x72\164\x75\x61\x6c\x5f\x64\x61\164\141", false), $virtualModel, array("\151\x64" => $virtualModel["\x69\x64"])); goto XlsT5; CaicG: $pwd = $config["\163\x6d\163\x5f\x6b\145\171"]; goto okaBi; XLIgD: tk3jC: goto MeM5d; K1yqe: list($min, $max) = explode("\x2d", $prizeModel["\162\x65\x64"]); goto jfOTn; wQZPb: $userDrawRecordModel["\163\x74\141\164\x75\163"] = $result === true ? 1 : 0; goto cS5G1; su21X: if (intval($sms_tmp["\164\171\160\x65\x73"]) == 0) { goto a3gHY; } goto mTp7G; nq1v2: pdo_update(ztk_table("\155\x61\162\153\x65\x74\x69\x6e\x67\x5f\165\x73\145\162", false), array("\142\165\171\137\x6e\x75\155\x20\x2b\75" => 1), array("\151\144" => $origin_id)); goto b1ns4; FbNgG: zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto qrhxr; Gw7LS: pdo_update(ztk_table("\x70\x72\x69\172\145\x5f\166\x69\162\164\165\x61\154\x5f\x64\141\164\x61", false), $virtualModel, array("\151\144" => $virtualModel["\x69\x64"])); goto Nk0Kp; eRv5P: $noticeMessage = "\xe6\x81\255\xe5\226\x9c\xe6\202\250\xef\xbc\214\350\216\xb7\xe5\276\x97\xe8\xbf\224\xe5\x88\xa9\345\xa5\226\345\223\201\xef\274\x9a" . $prize2Model["\156\x61\155\145"]; goto vbrYR; avknb: sendSiteTplNotice($uniacid, $orderIntmallModel["\x6f\160\145\x6e\151\144"], $postdata, $template_id, $url); goto Jp9_v; gyN2O: pdo_update(ztk_table("\165\163\x65\x72\137\x73\157\x6c\x69\x63\x69\x74\x69\156\147\x5f\152\x6f\151\x6e", false), array("\x69\x6e\166\x69\164\145\40\x2b\x3d" => 1), array("\x69\144" => $join2Model["\151\x64"])); goto cvL0s; X78sl: hkPZR: goto LselN; TSfiN: $draw_id = pdo_insertid(); goto rpRpM; mN_lo: $pid = $objarr[4]; goto a1l9X; tmsc2: $writecode = ''; goto IZd7a; wZg90: zmMw0: goto gfOgY; vDCbV: pdo_update(ztk_nopre_table("\157\x72\144\x65\x72\137\151\x6e\164\x6d\x61\x6c\154"), array("\x73\x74\141\164\x75\x73" => $orderIntmallModel["\x73\x74\x61\x74\x75\163"]), array("\151\x64" => $orderIntmallModel["\151\144"])); goto Zn9tM; oKeUe: pdo_update(ztk_table("\165\x73\x65\x72\137\144\162\141\x77", false), array("\x77\x61\154\x6c\145\164" => $prizeModel["\167\x61\154\x6c\145\164"], "\x73\164\x61\164\x75\x73" => 1, "\165\x70\144\x61\x74\x65\164\151\x6d\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto zF5Jw; BRZO2: if (!(intval($prizeModel["\x63\162\x65\x61\164\145\x5f\x74\x79\x70\145\x73"]) == 1)) { goto cx7cp; } goto E5nP5; EgkHH: $origin_team_id = $originModel["\164\145\141\155\x5f\x69\x64"]; goto oKFb3; B1UoP: $virtualModel["\x73\164\x61\164\165\x73"] = 0; goto Yneat; OPnsq: Vdx3V: goto TfUnf; LMWCk: if (!(intval($object["\x69\x73\137\160\165\163\x68"]) == 1)) { goto cJdQQ; } goto vzfWZ; pRNx2: $noticeMessage = ''; goto wSp8T; vVKse: xVWXv: goto FXR6t; TWKYp: qkJgE: goto dWKxR; dRwgq: fgbvq: goto GYmbR; pYDT4: mjPEB: goto eFOL7; av39l: $userDrawRecordModel = array(); goto Cjxv5; sKsRv: $join_draw_data2 = array("\167\162\x69\x74\145\143\157\x64\145" => $encode_id); goto JRESO; n1Y_l: $postdata = array("\x66\x69\162\x73\x74" => array("\x76\x61\154\165\x65" => "\xe6\201\255\345\x96\x9c\346\x82\xa8\41\346\x82\xa8\345\x8f\x82\xe4\xb8\216\346\xb4\273\xe5\x8a\xa8" . $object["\x74\151\164\154\x65"] . "\344\xb8\xad\345\245\x96\xe4\272\x86", "\x63\157\154\157\162" => "\43\x31\67\x33\x31\x37\67"), "\153\x65\x79\x77\x6f\162\144\x31" => array("\166\x61\154\x75\x65" => $prizeModel["\x6e\141\x6d\x65"], "\143\x6f\154\x6f\162" => "\x23\x31\67\x33\x31\67\67"), "\x6b\145\171\167\157\x72\144\62" => array("\166\x61\x6c\165\145" => timeToStr(TIMESTAMP), "\x63\157\x6c\157\x72" => "\43\61\67\x33\x31\x37\67"), "\x72\x65\155\141\x72\153" => array("\x76\141\154\165\145" => $noticeMessage, "\143\157\154\157\x72" => "\x23\61\67\63\x31\x37\67")); goto Q1jZM; N7WpM: pdo_update(ztk_table("\157\142\x6a\137\163\157\x6c\151\x63\x69\164\x69\156\147", false), array("\142\x75\x79\137\156\165\x6d\x20\x2b\x3d" => 1, "\x73\164\x6f\143\153\x20\x2d\x3d" => 1), array("\x69\x64" => $object["\151\x64"])); goto bSE9n; Ki9Rp: pdo_update(ztk_nopre_table("\165\x73\x65\x72\x5f\x61\143\x63\157\165\156\164"), $userUpdateModel, array("\x69\x64" => $userModel["\x69\x64"])); goto vT52c; zn4y7: $template_id = $config["\x6f\162\x69\147\151\156\160\x75\x73\150\x5f\164\155\x70"]; goto HttyT; O8QXV: $userDrawRecordModel["\164\171\x70\x65\163"] = 1; goto QPGEh; r_5Ot: $prices_payment = $orderIntmallModel["\x73\171\163\x5f\160\x72\151\x63\145"]; goto BKT8j; qrsX3: $ali_accesskeysecret = $config["\x61\154\151\137\141\143\143\x65\163\x73\x6b\145\171\x73\x65\x63\x72\145\x74"]; goto N3d24; sNuvp: mTKCJ: goto QhD0P; qvctX: if (!($joinModel["\x6f\160\x65\x6e\151\x64"] == $originModel["\157\160\145\156\151\144"])) { goto dOh5h; } goto nsBpW; on_FN: goto WAcOt; goto c63I_; edA70: updateUserMoney($uniacid, $orderPayModel["\x6f\160\145\x6e\x69\x64"], -$orderPayModel["\x70\x61\x79\137\160\162\151\x63\145"], $note, 3, $draw_data["\x6f\x62\152\x5f\x74\x79\x70\145\x73"], $draw_data["\x6f\142\152\x5f\x69\144"]); goto XQ2aH; HdC49: $ali_accesskeyid = $config["\x61\x6c\151\137\141\x63\x63\x65\163\163\x6b\x65\171\151\x64"]; goto j6oR3; Svotx: $encode_id = $hashids->encode($draw_id); goto geaf8; u3OS9: $prize2Model["\x77\x61\154\x6c\x65\164"] = mt_rand($min * 100, $max * 100) / 100; goto GrcWQ; MEQ_4: $joinPayModel = array(); goto ttWsx; IWfn_: dPDaj: goto c8VFB; ku1WK: $prizeModel = null; goto cHP_B; qljIM: if (!($orderIntmallModel["\x69\163\137\x66\145\x64\x65\x78"] == 2)) { goto haUBf; } goto xPW9C; poGCP: $templatecode = $sms_tmp["\x74\x65\155\x70\154\x61\164\x65\x63\x6f\x64\x65"]; goto RRuuw; LZUI5: if (!($config["\157\162\x69\x67\151\156\x70\x75\x73\150\x5f\164\x6d\160"] && !empty($origin_id))) { goto Sj18r; } goto Ns4Iw; xbl5T: $prize2Model = $prize2List[$rid2]; goto Xo33r; R58Ya: $userDrawRecordModel["\157\x70\x65\156\x69\x64"] = $joinUserModel["\157\160\145\x6e\151\x64"]; goto bPrXv; RCQ2T: $param = ["\x6e\141\x6d\x65" => $joinUserModel["\x6e\151\x63\x6b\x6e\141\x6d\145"], "\x6f\142\152" => mb_substr($object["\164\151\x74\x6c\145"], 0, 20, "\165\x74\146\55\x38"), "\160\162\151\x7a\145" => $prizeModel["\x6e\x61\155\145"], "\143\157\144\145" => $writecode]; goto EX8kU; kxwlO: $content = str_replace("\173\117\x42\112\175", $object["\x74\151\164\x6c\145"], $content); goto nNz73; wVb3p: $sms_tmp = pdo_get(ztk_table("\x74\155\x70\137\x73\x6d\163", false), array("\x69\x64" => $sms_tmp_id)); goto ITVAx; eVxJa: pdo_insert(ztk_nopre_table("\165\x73\145\x72\137\144\162\x61\x77\x5f\162\x65\143\x6f\162\x64"), $userDrawRecordModel); goto fVFhn; XJU8T: pdo_update(ztk_nopre_table("\x75\x73\x65\162\x5f\143\x6f\x6c\154\x61\147\145\137\x6a\x6f\x69\156"), array("\x73\164\141\x74\165\x73" => 1), array("\160\x69\x64" => $pid)); goto Z1EfJ; KCn9D: goto dukya; goto mewpL; vnHYx: goto PXaoT; goto rNN3Z; hkkvi: uTIro: goto h3noG; ai6vy: pdo_insert(ztk_nopre_table("\x75\163\145\162\x5f\x64\162\141\167\x5f\x72\145\x63\x6f\162\144"), $userDrawRecordModel); goto PNinh; xx2mY: wqMW0: goto UdkgX; JdR66: $sn = $config["\163\x6d\163\137\x75\151\144"]; goto GVzuP; FG6Rk: $originModel = pdo_get("\x6c\171\167\171\167\x6c\137\x7a\164\x6b\137\155\x61\x72\x6b\x65\164\x69\x6e\147\137\165\163\145\162", array("\151\x64" => $orderPayModel["\x6f\x72\151\147\151\156\x5f\151\x64"], "\157\x62\152\x5f\x69\144" => $object["\x69\x64"], "\157\142\x6a\x5f\164\x79\160\x65\x73" => $obj_types, "\165\x6e\151\x61\143\x69\x64" => $uniacid)); goto L6e5v; nACyd: goto txP2k; goto LGUFL; qhONc: $userModel = pdo_get(ztk_nopre_table("\x75\x73\x65\x72\x5f\x61\143\x63\x6f\x75\156\164"), array("\165\156\x69\x61\x63\x69\x64" => $uniacid, "\x6f\x70\145\x6e\151\x64" => $orderPayModel["\157\160\x65\156\151\144"])); goto OlbA5; eGrAS: $content = $sms_tmp["\x63\157\156\164\145\x6e\164"]; goto n10Ui; evy8Z: $uniacid = $params["\165\x6e\x69\141\143\x69\x64"]; goto XBx9a; zSHKw: $joinPayModel["\157\x62\x6a\x5f\164\x79\x70\145\x73"] = $obj_types; goto Dv9w5; HEOSX: $userDrawRecordModel["\157\142\x6a\137\151\x64"] = $prize2Model["\x6f\142\x6a\137\x69\x64"]; goto HitDb; QY7oA: $userDrawRecordModel["\x63\x72\x65\141\x74\x65\x74\x69\x6d\145"] = time(); goto KKJ4u; cAqeS: $content = str_replace("\173\x4f\102\112\175", $object["\164\151\x74\x6c\x65"], $content); goto gMFMb; KqSpC: ey4FD: goto eIDWI; esJVM: pdo_insert(ztk_nopre_table("\x75\163\x65\162\x5f\144\x72\x61\167\137\x72\x65\143\x6f\x72\x64"), $userDrawRecordModel); goto p_nFu; vwjce: $noticeMessage = "\xe6\201\xad\xe5\x96\234\346\x82\xa8\357\xbc\x8c\xe8\216\xb7\xe5\xbe\227\xe8\277\224\345\210\251\345\xa5\226\345\x93\201\342\200\234{$prizeModel["\156\141\x6d\145"]}\342\200\x9d\xef\xbc\x8c\xe8\xaf\267\xe5\x88\xb0\xe6\x82\xa8\347\x9a\x84\345\276\256\xe4\xbf\xa1\345\x8d\241\345\214\x85\346\237\245\xe7\234\x8b\343\200\x82"; goto N7xxm; pXZeP: $userDrawRecordModel["\x75\156\151\141\x63\151\x64"] = $prizeModel["\165\x6e\151\x61\x63\151\x64"]; goto yDdu8; UAyph: lhVZQ: goto RvmFh; HF54K: Ue4PZ: goto LWUP_; yLigd: pdo_update(ztk_table("\165\x73\x65\x72\137\x61\143\x63\157\165\156\x74", false), array("\160\x72\157\146\151\164\x5f\x6d\x6f\156\145\171\40\53\75" => $prize2Model["\167\x61\x6c\154\x65\x74"], "\167\x61\x6c\x6c\145\x74\x5f\x6d\157\156\145\x79\x20\53\x3d" => $prize2Model["\167\141\x6c\x6c\x65\164"], "\x77\x61\154\154\x65\x74\x5f\155\x6f\156\x65\x79\x5f\x6e\x75\x6d\40\x2b\75" => 1), array("\157\160\x65\156\151\x64" => $join2UserModel["\157\160\145\156\x69\144"])); goto iggKg; gjIEG: ETnCQ: goto hfPpP; xCoq4: $ali_accesskeyid = $config["\x61\x6c\x69\x5f\x61\143\x63\x65\x73\163\153\145\171\x69\x64"]; goto wFv_f; QWMxz: $userDrawRecordModel["\x61\143\x74\137\156\141\x6d\x65"] = "\347\xa4\274\xe5\x93\201\346\213\x93\345\xae\242\xe6\264\273\345\212\xa8"; goto oPfcK; K_1Zy: if (empty($object["\160\165\x73\x68\137\x74\155\x70"])) { goto v_QeV; } goto WF_Yo; bQOm1: EtTUh: goto AT_sI; y741C: $noticeMessage = "\346\201\255\345\226\x9c\346\202\250\357\xbc\x8c\xe8\216\267\345\xbe\x97\350\xbf\224\345\210\xa9\345\245\x96\345\223\x81\357\xbc\x9a" . $prizeModel["\156\x61\x6d\145"]; goto X8DPW; dmpIC: $userDrawRecordModel = array(); goto iUrzs; aflQE: if (empty($originModel)) { goto yONsi; } goto xpWNL; tfH1y: $join_draw_data2 = array("\165\156\151\x61\x63\x69\x64" => $uniacid, "\x6f\x62\152\x5f\x74\x79\x70\145\x73" => $obj_types, "\x6f\142\152\137\151\144" => $object["\151\x64"], "\161\162\137\x69\x64" => 0, "\161\162\137\164\157\153\x65\x6e" => '', "\161\x72\x5f\156\x75\x6d\142\145\x72" => 0, "\157\162\151\x67\151\x6e\137\151\144" => $origin_id, "\157\162\151\147\151\156\137\x74\145\x61\x6d\137\x69\x64" => $origin_team_id, "\160\x72\x69\x7a\x65\137\x69\x64" => $prize2Model["\x69\x64"], "\x74\x79\160\145\x73" => $prize2Model["\x74\x79\x70\145\x73"], "\156\141\x6d\145" => $prize2Model["\156\141\155\x65"], "\x70\141\x79\x5f\x6f\160\145\156\151\x64" => $orderPayModel["\x6f\160\x65\156\151\144"], "\160\162\151\172\145\137\x70\151\143\x5f\165\x72\x6c" => $prize2Model["\160\x69\143\137\165\162\x6c"], "\167\x72\x69\164\145\157\146\146\137\164\x79\x70\145\163" => $prize2Model["\167\162\151\x74\x65\157\146\146\x5f\x74\171\160\145\x73"], "\x6f\x70\x65\156\x69\x64" => $join2UserModel["\x6f\x70\145\156\x69\144"], "\156\x69\143\153\156\x61\155\x65" => $join2UserModel["\156\x69\143\x6b\156\141\x6d\145"], "\163\x65\170" => $join2UserModel["\163\x65\170"], "\150\145\x61\x64\165\162\154" => $join2UserModel["\150\145\141\x64\x75\x72\x6c"], "\x61\x72\x65\x61" => $join2UserModel["\141\x72\145\x61"], "\151\160" => $_SERVER["\122\x45\115\x4f\124\105\137\x41\x44\x44\122"], "\x6f\162\137\162\145\142\x61\x74\145\x32" => 1, "\x69\163\137\x72\x65\147\151\163\x74\x65\x72" => 0, "\x72\145\147\x69\163\x74\145\x72\137\x64\141\x74\x61" => '', "\143\162\x65\x61\x74\x65\164\x69\155\145" => TIMESTAMP); goto Cs3A2; IGgeU: pdo_update(ztk_table("\x6d\141\x72\x6b\x65\x74\x69\156\147\137\165\163\145\x72", false), array("\x6d\141\162\x6b\x65\x74\151\x6e\x67\x5f\x6e\165\x6d\40\x2b\75" => 1), array("\151\x64" => $origin_id)); goto I4T4B; x3T8_: goto ztJvJ; goto LwH8X; n5uES: JgEs2: goto wNNGr; LIuu0: sFpQM: goto Ql5_d; QbeDk: goto JgzBS; goto Zs3Oz; WomYS: ElIOL: goto G2xYZ; XY4Ir: D4aBJ: goto P2qQN; gm2La: $mobile = $userModel["\155\157\x62\151\154\145"]; goto eGrAS; l4j2o: fGEY6: goto NAfXu; ykqOC: $note = "\xe8\xbf\x94\xe5\210\xa9\350\x8e\267\345\276\x97\xef\274\x9a" . date("\x59\55\x6d\55\144\x20\110\72\x69\72\x73", TIMESTAMP) . "\40\xe4\xbc\x9a\345\x91\x98\343\x80\220" . $joinUserModel["\x6e\x69\143\153\x6e\x61\155\x65"] . "\xe3\x80\x91\345\217\202\344\xb8\216\346\xb4\273\345\x8a\250\xef\274\232" . $object["\x74\x69\164\x6c\x65"] . "\xef\274\x8c\xe8\216\267\345\276\227\xe9\233\xb6\xe9\x92\261\xef\274\x9a" . $prizeModel["\x73\171\x73"] . "\345\205\x83"; goto pKo77; kOLH9: $sn = $config["\x73\x6d\163\x5f\x75\151\144"]; goto xxFrc; WUMDl: $userDrawRecordModel["\157\x62\x6a\x5f\x74\171\x70\145\x73"] = $draw_data["\x6f\142\152\137\x74\x79\160\x65\163"]; goto poiib; hDnwX: goto r7iYc; goto qvQju; o13xF: eysq6: goto rtkfu; vZzZI: $sms_tmp_id = $prize2Model["\x73\155\x73\137\x74\155\x70\x5f\x69\144"]; goto NLyam; fHndM: $content = str_replace("\x7b\117\x52\x44\116\x4f\x7d", $orderIntmallModel["\x6f\162\x64\x65\162\x5f\156\x75\x6d\142\145\x72"], $content); goto vNjST; DnLRy: $content = str_replace("\x7b\117\x42\112\x7d", $object["\164\x69\164\x6c\145"], $content); goto LW4GP; M9PKb: if ($prizeModel["\x69\x73\137\163\155\163"] == 1) { goto cZGNM; } goto dSvGI; y5mKZ: if (!(intval($object["\151\x73\x5f\x73\155\x73"]) == 1)) { goto Iiq46; } goto n1BOA; ButPu: B5nGB: goto J93vB; bYmqe: if (intval($prize2Model["\x74\171\x70\x65\x73"]) == 2) { goto GOHOJ; } goto iIpSd; DVR1t: MQ9Nl: goto iCBsl; Lu9qy: if (!($pay_sys_money > 0)) { goto yf5eg; } goto GKSwj; AVM36: oukEy: goto DtMHs; pGbvn: if (!($join2Model["\x6f\160\x65\x6e\151\144"] != $orderPayModel["\x6f\160\x65\156\151\144"] && $join2Model["\157\x70\x65\156\x69\x64"] != $joinModel["\157\x70\145\x6e\151\x64"])) { goto Jj18g; } goto gyN2O; n_7JW: pdo_update(ztk_nopre_table("\x75\163\x65\162\x5f\x61\x63\x63\x6f\x75\x6e\x74"), $userUpdateModel, array("\151\x64" => $userModel["\151\x64"])); goto bB_13; vzfWZ: if (!isSiteFollow($joinUserModel["\x6f\160\145\156\151\144"])) { goto SdyxM; } goto y5z1m; va_gP: $obj_types = $objarr[1]; goto r0tMD; d3Qb0: $userDrawRecordModel["\157\142\x6a\137\164\171\160\x65\x73"] = $prizeModel["\157\142\152\137\164\x79\160\x65\x73"]; goto yM_JU; KmvwL: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto WhPm4; HEbGR: pdo_update(ztk_table("\x75\x73\145\x72\x5f\x64\162\141\167", false), $join_draw_data, array("\x69\x64" => $draw_id)); goto if1zE; OjjcU: $join_id = $objarr[2]; goto Y221N; u0r9Q: $GLOBALS["\x7a\164\x6b\x5f\143\x6f\156\x66\x69\x67"] = $this->module["\143\157\156\146\151\x67"]["\x7a\x74\153"]; goto mErqf; gg5HV: $note = "\xe5\x8f\x82\344\xb8\216\xe6\264\xbb\xe5\x8a\250\xef\274\x9a" . date("\131\x2d\155\x2d\144\x20\110\72\x69\72\163", TIMESTAMP) . "\40\xe4\xbc\x9a\345\221\x98\343\x80\220" . $userModel["\x6e\x69\x63\x6b\156\141\155\145"] . "\xe3\200\221\xe5\217\202\344\270\216\xe6\xb4\xbb\xe5\212\250\357\274\x9a" . $object["\164\x69\164\x6c\x65"] . "\xef\xbc\214\346\x94\257\344\xbb\x98\351\207\x91\xe9\xa2\x9d\xef\xbc\232" . floatval($orderPayModel["\160\141\x79\137\x70\162\151\x63\145"]) . "\xe5\x85\x83"; goto edA70; fs5bH: goto JVx_s; goto xN2KF; zdURw: $writecode = ''; goto INZfv; oPmkN: $origin_id = 0; goto N_vt2; Tf727: S__Lv: goto GKKcM; eJTHz: $joinPayModel = array(); goto nCh_B; kssuz: $mobile = $joinUserModel["\155\x6f\x62\x69\x6c\145"]; goto AiiP2; lodfo: if (!($joinModel["\157\160\145\156\x69\x64"] == $originModel["\x6f\160\x65\x6e\151\144"])) { goto LyJF2; } goto Wc1lW; bHZlL: $draw_data["\x65\x6e\x64\137\x74\x69\x6d\145"] = $object["\164\x69\x6d\x65\137\x65\x6e\144"]; goto P8_0Q; enop4: $userDrawRecordModel["\157\x70\145\x6e\151\x64"] = $joinUserModel["\x6f\x70\145\156\151\144"]; goto vSn5C; GJmED: $userMoneyRecharge["\157\x70\145\x6e\x69\x64"] = $orderPayModel["\x6f\160\x65\156\151\144"]; goto J3f0N; Pw0gT: goto Y2meS; goto rYmfw; aq2xy: if (!empty($prize2Model)) { goto C737s; } goto R28m6; wi3SD: $templatecode = $sms_tmp["\x74\x65\155\160\154\141\x74\145\143\x6f\x64\145"]; goto xKpdw; Ks3Df: $object = pdo_fetch($sql, $objparams); goto vVYt_; Fbhmo: $join2UserModel = pdo_get(ztk_nopre_table("\165\163\x65\x72\x5f\141\143\143\x6f\165\156\x74"), array("\x75\156\151\141\143\151\144" => $uniacid, "\x6f\x70\x65\x6e\151\144" => $join2Model["\x6f\x70\x65\x6e\151\144"])); goto tAgmX; LMupr: eCQrY: goto nACyd; RNlnF: $userDrawRecordModel["\155\157\x6e\x65\171"] = $prizeModel_rebate["\167\141\x6c\154\145\x74"]; goto JxJcs; aFZtx: $noticeMessage = "\xe6\x81\255\xe5\x96\234\xe6\x82\250\357\xbc\214\xe8\x8e\xb7\345\xbe\227\xe8\277\x94\345\x88\xa9\xe5\xa5\x96\345\x93\201\342\x80\x9c{$prizeModel["\156\141\155\x65"]}\342\x80\235\350\216\xb7\345\276\227\347\xa7\xaf\xe5\210\x86\xe5\245\226\345\212\261\357\xbc\x9a{$prizeModel["\163\143\157\x72\x65"]}\xe5\210\x86"; goto SPWnT; wW8YS: $userDrawRecordModel["\x6d\x6f\x6e\145\171"] = $prizeModel["\x72\x65\144"]; goto BCuEH; GFVH5: $noticeMessage = "\346\201\xad\345\x96\234\xe6\x82\xa8\xef\xbc\x8c\350\x8e\267\345\276\x97\xe8\264\255\344\271\xb0\346\212\275\xe5\xa5\x96\xe5\xa5\x96\345\x93\x81\xe2\x80\234{$prizeModel_rebate["\x6e\141\155\x65"]}\342\200\235\xe8\x8e\267\xe5\276\x97\347\247\257\345\x88\x86\xe5\xa5\226\xe5\212\xb1\xef\xbc\232{$prizeModel_rebate["\163\x63\157\162\x65"]}\345\x88\x86"; goto TWX2a; Rc_G3: if (!($config["\157\x72\151\147\x69\x6e\160\165\163\150\x5f\x74\x6d\160"] && !empty($origin_id))) { goto yfSJm; } goto RpwJD; bN3Yj: elnQp: goto maVuE; tY2yI: list($min, $max) = explode("\55", $prizeModel["\x72\x65\144"]); goto iULzg; B8vUg: if ($orderPayModel["\164\171\x70\x65\163"] == 2) { goto qDK_3; } goto RQZFl; ufOVg: pdo_update(ztk_table("\165\163\x65\x72\137\x64\162\141\167", false), array("\143\x75\163\x74\157\155\137\x75\x72\x6c" => $prizeModel["\x63\165\163\x74\x6f\x6d\137\165\162\154"], "\163\164\141\x74\165\163" => 1, "\x75\x70\144\141\x74\x65\x74\151\155\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto ZjIhl; XIxGi: $userDrawRecordModel["\157\142\152\x5f\164\x79\x70\145\x73"] = $prizeModel["\x6f\142\152\137\164\x79\x70\x65\x73"]; goto RWv6n; jPLyZ: y95BC: goto BEoSk; zk_JY: $userDrawRecordModel["\x75\160\144\x61\164\145\164\x69\155\x65"] = time(); goto g8f_y; s_cBA: n5mbb: goto sGuJ_; JxJcs: $userDrawRecordModel["\144\x65\163\x63"] = $prizeModel_rebate["\156\x61\x6d\145"]; goto z1i30; jTENt: if (!(intval($object["\x62\x75\171\x5f\x69\x73\137\163\155\163"]) == 1)) { goto yG6TK; } goto m6m4P; GKKcM: goto IVNtl; goto deLki; kp4G8: if (empty($join2Model)) { goto jC2Lh; } goto gp9qg; q9nK5: $draw_id = pdo_insertid(); goto B0xzt; TRPDR: $content = str_replace("\x7b\x4e\x49\x43\x4b\116\x41\115\x45\x7d", $join2UserModel["\x6e\x69\x63\153\156\x61\x6d\x65"], $content); goto I_RE7; hNGW3: if (empty($object["\x70\165\x73\x68\137\164\155\160"])) { goto BREVx; } goto mCU2T; wQjsJ: if (empty($object["\142\x75\171\137\x70\x75\163\x68\x5f\164\x6d\160"])) { goto mLFz3; } goto x0m5C; Q0QZO: $sign = $sms_tmp["\163\151\147\156"]; goto OGdMH; Cjxv5: $userDrawRecordModel["\x75\x6e\151\x61\143\x69\x64"] = $prizeModel["\x75\156\151\x61\x63\151\x64"]; goto enop4; maVuE: goto dEB1a; goto H5vg5; RyDL3: cx7cp: goto JvpCh; BuKpy: goto emOyp; goto ErFz3; NpDz_: $content = str_replace("\173\117\x42\x4a\x7d", $object["\x74\x69\164\154\x65"], $content); goto Um4aq; XqpaK: $sign = $sms_tmp["\x73\151\x67\x6e"]; goto vJubR; j6oR3: $ali_accesskeysecret = $config["\x61\154\151\137\x61\143\143\x65\163\x73\x6b\x65\171\x73\145\143\x72\145\x74"]; goto ySxum; kKyMx: if (empty($prizeList)) { goto dIhTA; } goto kXSc1; tz_yw: $templatecode = $sms_tmp["\164\x65\x6d\x70\x6c\x61\164\145\x63\x6f\144\x65"]; goto TipmA; Ml3DM: if (intval($sms_tmp["\164\x79\160\x65\x73"]) == 0) { goto eUEGI; } goto PCunH; Bs81H: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto D1CAC; PRlSq: $note = "\xe8\264\255\344\271\260\xe6\212\275\345\xa5\226\350\x8e\267\xe5\xbe\x97\357\xbc\x9a" . date("\x59\55\155\x2d\144\x20\x48\x3a\151\72\163", TIMESTAMP) . "\x20\xe4\274\x9a\345\221\x98\343\x80\x90" . $userModel["\x6e\x69\143\153\156\141\155\x65"] . "\343\x80\x91\345\217\x82\xe4\270\x8e\346\xb4\273\345\212\250\xef\274\232" . $object["\164\151\x74\154\x65"] . "\357\274\214\xe8\x8e\xb7\xe5\276\x97\347\xa7\257\xe5\210\206\xef\xbc\x9a" . $prizeModel_rebate["\163\143\157\x72\x65"] . "\347\247\xaf\xe5\x88\206"; goto gYVJ3; ozChf: P4aXs: goto ASUD1; zWVCM: if (empty($result)) { goto WkQnt; } goto TSfiN; FUlDf: pdo_update(ztk_table("\157\x62\152\x5f\163\157\154\x69\143\151\x74\x69\x6e\147", false), array("\x62\x75\x79\137\156\165\155\x20\53\75" => 1, "\x73\164\157\143\x6b\x20\55\75" => $buy_reobjspecs["\163\160\145\143\x73\137\156\165\x6d\163"], "\x62\x75\171\x5f\x73\x70\145\x63\x73\x5f\x66\x69\x65\154\144" => $buy_specs_field), array("\151\x64" => $object["\x69\x64"])); goto Mg23r; IWzCk: $joinPayModel["\x68\145\x61\x64\x75\x72\x6c"] = $userModel["\x68\x65\141\x64\x75\x72\x6c"]; goto hU24t; B0xzt: $hashids = Hashids::instance(6, "\x6c\171\x77\x79\172\164\153", ''); goto vZhGm; S7Ski: $userDrawRecordModel["\x75\160\144\x61\164\145\164\151\155\x65"] = time(); goto KNJ62; MFbBw: dB2qr: goto XY4Ir; cQlKB: if (empty($sms_tmp)) { goto ElIOL; } goto hv47c; mz8G1: $joinPayModel["\x6a\x6f\151\156\163"] = 0; goto f6lwP; OzO8o: $postdata = array("\146\x69\162\x73\x74" => array("\x76\x61\154\165\x65" => "{$originModel["\x6e\141\155\145"]}\xef\274\x8c\xe6\x82\250\345\217\202\xe4\270\216\347\232\204\346\xba\257\xe6\272\220\xe6\264\xbb\345\212\xa8\xe6\x9c\211\346\x96\xb0\xe7\x9a\x84\350\256\xa2\345\215\225", "\x63\157\x6c\157\162" => "\x23\61\67\x33\61\x37\67"), "\153\145\171\167\157\x72\144\61" => array("\166\x61\x6c\165\x65" => "\xe6\x94\xaf\344\273\230{$drawModel["\x70\141\171\137\155\157\x6e\x65\x79"]}\345\x85\203\40\344\xbd\x99\xe9\242\x9d{$drawModel["\160\141\171\137\x73\x79\163\x5f\155\157\x6e\145\x79"]}\xe5\205\x83", "\143\157\x6c\157\x72" => "\43\61\67\x33\x31\x37\67"), "\153\145\171\x77\157\162\144\62" => array("\x76\x61\154\165\x65" => $object["\164\151\x74\154\x65"], "\x63\x6f\154\x6f\162" => "\x23\x31\67\x33\x31\67\x37"), "\x6b\x65\x79\167\x6f\x72\144\x33" => array("\x76\141\x6c\165\145" => $drawModel["\x70\x61\x79\137\x6e\165\x6d\142\x65\x72"], "\x63\157\x6c\157\x72" => "\43\x31\67\63\61\67\x37"), "\x6b\x65\171\x77\157\162\144\64" => array("\166\x61\154\x75\145" => "\xe3\x80\x90{$userModel["\x6e\151\x63\153\x6e\141\x6d\145"]}\343\200\221" . $userModel["\x6d\157\x62\151\x6c\145"], "\143\x6f\154\x6f\162" => "\x23\x31\x37\x33\61\67\67"), "\162\x65\x6d\x61\162\x6b" => array("\166\x61\x6c\x75\x65" => "\347\x82\xb9\345\207\xbb\346\237\245\347\234\213\xe6\xba\xaf\346\272\220\347\273\237\xe8\xae\241\xe6\225\260\xe6\215\xae", "\143\157\154\157\x72" => "\43\x31\67\63\x31\x37\67")); goto IQde8; mepRG: pdo_update(ztk_nopre_table("\x75\163\145\162\x5f\154\141\x64\144\x65\x72\x5f\152\157\151\x6e"), array("\x70\151\x64" => $pid), array("\x69\x64" => $pid)); goto X78sl; Cs3A2: if (!($prize2Model["\x74\x79\x70\145\163"] == 6)) { goto M25um; } goto BiBR7; qQnYp: if (!(intval($object["\x69\x73\x5f\x70\165\163\x68"]) == 1)) { goto pOZSk; } goto xutPt; DRPtv: $join_draw_data["\145\x6e\144\x5f\164\x69\155\145"] = $prizeModel["\164\x69\x6d\x65\x5f\x65\x6e\x64"]; goto njAuI; Ql5_d: foreach ($buy_specs_field as $keys => $speval) { goto v4EEK; JnPEu: $buy_specs_field[$keys]["\x53\160\x65\143\x73\116\x75\155"] = $speval["\123\160\145\x63\x73\116\165\x6d"] - $buy_reobjspecs["\163\x70\145\143\163\137\156\165\x6d\x73"]; goto KEC64; v4EEK: if (!($speval["\151\144\x78"] == $buy_reobjspecs["\x73\x70\145\143\163\137\151\144\x78"])) { goto T985D; } goto JnPEu; KEC64: T985D: goto CL90Y; CL90Y: FEU2O: goto EFYpI; EFYpI: } goto k6aHK; SJZGM: $template_id = $object["\160\165\163\150\x5f\x74\x6d\x70"]; goto wK5jZ; biU9M: JgjgJ: goto ZrsB1; biRiA: YCny3: goto A4iwA; Xgx8A: goto i20lb; goto vvHmc; YkGuE: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto HaHgH; GfdSc: Hk2JW: goto P1lU3; meq5z: goto BMJol; goto wTLIH; HZso0: mD86J: goto rDU5W; WF_Yo: $template_id = $object["\160\x75\x73\150\x5f\164\155\160"]; goto WtZXz; W8W7e: $mobile = $joinUserModel["\x6d\x6f\142\x69\154\x65"]; goto OsSrB; noRbe: $prizeModel["\162\x65\x64"] = mt_rand($min * 100, $max * 100) / 100; goto kdmoc; v6IuE: if (intval($sms_tmp["\164\x79\160\x65\163"]) == 0) { goto FOhEN; } goto BsAwm; FBsve: if (intval($prizeModel["\x74\171\160\145\163"]) == 5) { goto NhoaR; } goto GsCtB; JNIN7: goto gS7iD; goto bNflK; blZ1G: mhej8: goto DQu17; kwnYQ: list($min, $max) = explode("\55", $prizeModel["\167\141\x6c\x6c\145\164"]); goto F3oJ_; RWv6n: $userDrawRecordModel["\x6f\142\152\137\x69\144"] = $prizeModel["\x6f\142\x6a\x5f\x69\144"]; goto eOKUG; A2WBq: $hashids = Hashids::instance(6, "\x6c\171\x77\x79\172\164\153", ''); goto wLWDr; GE2GR: $userDrawRecordModel["\157\160\x65\x6e\x69\x64"] = $joinUserModel["\157\x70\145\x6e\x69\144"]; goto XIxGi; AZp08: if (intval($prizeModel["\164\x79\160\145\x73"]) == 2) { goto IllX9; } goto Rk0TP; EnNR1: $userDrawRecordModel["\164\171\160\145\163"] = 0; goto BuZzP; R6pW_: if (empty($join_id)) { goto aV9DF; } goto berfV; A3Utc: $userDrawRecordModel["\x6f\x62\x6a\137\151\x64"] = $prizeModel["\157\142\x6a\137\151\144"]; goto rqjhV; D9Ebk: pdo_update(ztk_table("\165\x73\145\162\137\x61\x63\143\157\x75\156\x74", false), array("\x70\x72\157\x66\x69\x74\x5f\155\157\x6e\x65\171\40\x2b\x3d" => $prizeModel["\167\141\x6c\x6c\x65\164"], "\167\x61\154\x6c\145\x74\x5f\x6d\157\x6e\x65\x79\x20\53\x3d" => $prizeModel["\x77\141\x6c\x6c\x65\x74"], "\167\141\154\154\x65\x74\x5f\155\x6f\156\145\x79\x5f\156\165\x6d\40\53\75" => 1), array("\157\x70\x65\x6e\x69\144" => $joinUserModel["\157\160\x65\x6e\x69\x64"])); goto nBLk0; M3y8M: $noticeMessage = "\xe6\x81\255\xe5\226\234\xe6\202\xa8\357\xbc\214\350\216\267\345\276\x97\350\277\x94\345\x88\251\xe5\245\x96\345\223\x81\357\xbc\x9a" . $prizeModel["\156\141\x6d\145"]; goto AuHY5; upmby: if (!(intval($prizeModel["\143\162\145\141\164\145\137\164\171\x70\x65\163"]) == 1)) { goto q53fx; } goto Lh51X; Efneq: if (!(intval($prizeModel["\x63\x72\x65\x61\x74\x65\137\164\x79\x70\145\163"]) == 1)) { goto WvrXd; } goto hhRjW; FXR6t: if (!(intval($object["\x69\163\137\160\x75\x73\150"]) == 1)) { goto jzv1t; } goto l6krz; byA0w: $first_mess = "\346\202\xa8\xe7\232\x84\xe8\256\xa2\345\x8d\x95\345\267\262\346\x94\257\344\273\x98\346\210\220\345\x8a\237\x2c\xe8\257\xb7\xe5\210\xb0\344\270\xaa\344\xba\272\xe4\xb8\255\345\277\203\xe7\232\204\345\x95\206\xe5\x9f\216\350\xae\xa2\345\x8d\x95\346\237\245\xe7\x9c\x8b\xe8\256\242\345\x8d\225\344\277\xa1\346\201\xaf\x3a"; goto OqMSw; h9uvu: qkK1s: goto okHzY; ZrrlO: $sms_tmp = pdo_get(ztk_table("\164\155\160\137\163\155\163", false), array("\x69\x64" => $sms_tmp_id)); goto jVfVV; MQ0is: $sms_tmp = pdo_get(ztk_table("\x74\x6d\x70\137\x73\155\163", false), array("\151\x64" => $sms_tmp_id)); goto kNIfF; p5xtL: $prizeModel["\x73\x79\163"] = mt_rand($min * 100, $max * 100) / 100; goto K30ng; odghN: $mobile = $join2UserModel["\155\x6f\x62\x69\x6c\145"]; goto R2xIT; Hul9A: $draw_id = pdo_insertid(); goto VtCaG; MQcD5: if (!(intval($prizeModel["\x74\x79\160\145\163"]) == 9)) { goto JHsc1; } goto S8k7r; BlH4q: $code_draw_data = array("\167\x72\151\164\145\x63\157\x64\x65" => $encode_id); goto y6lC6; q_t90: pdo_update(ztk_table("\x6f\x62\x6a\x5f\165\156\151\x6f\156", false), array("\142\165\x79\x5f\156\165\155\x20\x2b\75" => 1, "\x73\164\x6f\143\153\x20\55\x3d" => 1), array("\x69\144" => $object["\x69\x64"])); goto XKl1C; okHzY: $url = replaceDieDomain($config, __MURL("\165\x73\x65\162\137\144\162\x61\x77\x5f\142\x75\x79", array("\141\x63\164" => "\x69\156\144\x65\170"), false, TRUE), $userModel["\151\x64"], $obj_types, $object["\151\x64"], 0); goto qgffl; wRuLC: if (count($objarr) == 5 && $objarr[3] == 0) { goto pPCHH; } goto XiW2i; H3wIW: $origin_id = $orderPayModel["\157\x72\x69\147\151\x6e\137\151\144"]; goto VB7sR; QO3q4: eUEGI: goto ovKtR; A21gJ: $joinUserModel = pdo_get(ztk_nopre_table("\x75\163\x65\x72\137\141\143\143\x6f\165\x6e\x74"), array("\165\156\x69\141\143\151\144" => $uniacid, "\157\160\x65\x6e\x69\144" => $joinModel["\x6f\160\x65\x6e\x69\x64"])); goto JrWWe; IZd7a: if (empty($result)) { goto EJaE1; } goto clh1R; lmalm: pdo_insert("\x6c\x79\x77\171\167\154\x5f\172\164\x6b\x5f\163\x79\x73\x5f\144\x72\141\x77\x63\157\144\x65\x5f\x64\141\x74\x61", $drawcode_data_array); goto VbpRm; CW5RT: $prizeModel["\x72\x65\x64"] = mt_rand($min * 100, $max * 100) / 100; goto RyDL3; iFSKi: r_wWK: goto FwIZZ; S7dL9: $join_id = $objarr[2]; goto Nn1DM; S_4vi: $pwd = $config["\163\155\163\137\x6b\x65\171"]; goto gm2La; FB4ET: MGEGK: goto XnytB; GYLrz: $noticeMessage = "\346\201\xad\xe5\x96\x9c\346\202\xa8\xef\274\214\350\x8e\267\345\xbe\x97\xe8\xbf\x94\345\210\251\xe5\xa5\226\345\x93\201\xe2\x80\234{$prizeModel["\x6e\141\155\145"]}\342\x80\235\357\274\214\347\247\257\345\210\x86\xe5\xa5\226\xe5\212\261\xef\xbc\x9a{$prizeModel["\163\x63\157\162\145"]}\344\270\xaa"; goto FWIrl; oi13Z: $writecode = ''; goto TvsHH; AgMhw: $content = str_replace("\173\117\102\112\175", $object["\164\151\x74\154\x65"], $content); goto AjsKX; XYxz0: $mobile = $userModel["\x6d\x6f\142\x69\x6c\145"]; goto pMTL7; UsFjh: $content = str_replace("\173\115\x4f\116\105\131\175", $drawModel["\x70\x61\x79\x5f\155\x6f\x6e\145\x79"] + $drawModel["\x70\x61\171\x5f\x73\171\163\x5f\x6d\x6f\x6e\x65\x79"], $content); goto Ndq_u; c1rhr: pdo_update(ztk_table("\165\x73\x65\162\x5f\x61\143\143\157\165\x6e\x74", false), array("\160\162\157\x66\x69\x74\x5f\x6d\157\x6e\145\171\x20\53\75" => $prizeModel["\162\145\144"], "\x72\145\x64\x5f\x6d\x6f\x6e\145\x79\40\x2b\x3d" => $prizeModel["\162\x65\x64"], "\x72\x65\144\137\x6d\x6f\x6e\x65\x79\x5f\x6e\165\x6d\40\53\75" => 1), array("\157\160\145\156\151\x64" => $joinUserModel["\x6f\x70\145\x6e\x69\x64"])); goto u9Xr_; PdYXJ: if (!(intval($prizeModel_rebate["\143\x72\145\141\x74\x65\x5f\164\171\160\x65\163"]) == 1)) { goto AYdvq; } goto hEwNK; ckgnp: goto IUrSz; goto QO3q4; GBaxd: pdo_update(ztk_table("\155\x61\x72\153\145\164\x69\156\147\x5f\165\x73\x65\162", false), array("\x6a\157\151\156\137\x6e\x75\155\x20\53\x3d" => 1), array("\x69\x64" => $origin_id)); goto aD2mF; cchkC: $result = sendSiteWeixinMchPay($joinUserModel["\x6f\160\145\156\x69\x64"], $prizeModel["\x77\141\154\x6c\145\x74"] * 100, $prizeModel["\156\x61\155\x65"], true, $uniacid, $config); goto dmpIC; XqJo1: $userDrawRecordModel["\x6d\157\x6e\145\x79"] = $prizeModel["\162\145\144"]; goto GoUgF; rZSD4: $content = $content . "\40\343\x80\x90" . $sms_tmp["\x73\x69\147\x6e"] . "\343\200\x91"; goto a2VN7; rJKlF: $join_draw_data = array("\165\156\x69\x61\x63\151\144" => $uniacid, "\x6f\x62\152\x5f\164\x79\160\145\163" => $obj_types, "\157\x62\x6a\137\x69\144" => $object["\x69\144"], "\x71\162\137\151\144" => 0, "\x71\x72\x5f\164\157\x6b\x65\x6e" => '', "\x71\x72\137\156\x75\155\142\145\162" => 0, "\x6f\x72\x69\147\151\156\x5f\x69\x64" => $origin_id, "\157\x72\151\147\151\156\x5f\x74\145\141\x6d\x5f\x69\x64" => $origin_team_id, "\160\162\x69\172\145\137\x69\x64" => $prizeModel["\151\x64"], "\164\171\160\145\x73" => $prizeModel["\164\171\x70\x65\163"], "\156\141\155\x65" => $prizeModel["\156\141\155\145"], "\x70\141\171\x5f\x6f\x70\145\x6e\x69\144" => $orderPayModel["\x6f\x70\145\156\151\144"], "\160\x72\x69\x7a\x65\x5f\x70\x69\143\137\x75\x72\154" => $prizeModel["\x70\151\x63\137\x75\162\154"], "\x77\x72\x69\x74\145\157\x66\x66\x5f\x74\171\160\145\x73" => $prizeModel["\167\162\151\164\145\157\146\146\137\164\x79\160\x65\163"], "\x6f\160\x65\x6e\x69\144" => $joinUserModel["\157\160\x65\156\x69\x64"], "\x6e\151\143\x6b\x6e\141\155\145" => $joinUserModel["\156\151\143\x6b\156\141\x6d\145"], "\x73\145\170" => $joinUserModel["\x73\x65\170"], "\x68\x65\141\144\165\x72\x6c" => $joinUserModel["\150\x65\141\x64\x75\x72\x6c"], "\x61\x72\145\x61" => $joinUserModel["\141\x72\145\x61"], "\151\x70" => $_SERVER["\x52\105\115\x4f\124\105\x5f\101\104\x44\122"], "\157\162\x5f\162\x65\142\x61\164\145\62" => 0, "\151\x73\x5f\x72\145\x67\x69\x73\x74\x65\162" => 0, "\162\x65\x67\x69\163\x74\145\x72\137\144\141\x74\x61" => '', "\x63\x72\x65\x61\164\145\x74\151\155\145" => TIMESTAMP); goto jv4Rx; Wcwrf: $userDrawRecordModel["\143\162\x65\x61\164\145\x74\151\x6d\145"] = time(); goto ai6vy; lQeq7: $userDrawRecordModel["\165\x6e\151\x61\x63\151\x64"] = $prizeModel_rebate["\165\x6e\x69\x61\x63\x69\144"]; goto Rzfij; vwLZO: goto qIbFh; goto A3lLH; mpqzi: $drawModel = pdo_get(ztk_table("\165\163\x65\162\x5f\x64\x72\x61\x77", false), array("\x69\144" => $draw_id)); goto jTENt; TnCWC: eucAm: goto z1bz0; VGbvL: updateUserMoney($uniacid, $join2UserModel["\x6f\x70\x65\156\151\x64"], floatval($prize2Model["\x73\171\x73"]), $note, 1, $obj_types, $draw_id); goto uyWOV; cTXqt: pdo_update(ztk_table("\x75\163\x65\162\137\x64\x72\141\x77", false), $code_draw_data, array("\x69\144" => $draw_id)); goto YavMn; BiBR7: if ($prize2Model["\164\x69\155\145\x5f\164\x79\x70\145\x73"] == 1) { goto iuY1u; } goto Jrsyi; SHLGM: dtlcH: goto Px1kd; Ijk5X: if (!isSiteFollow($joinUserModel["\x6f\160\x65\x6e\151\x64"])) { goto RniC6; } goto kDVhr; qvldT: Fn_6b: goto OUuM1; AJ7dg: HDSrF: goto Xrp9R; DVgbq: $userDrawRecordModel["\163\x74\141\164\x75\163"] = $result === true ? 1 : 0; goto XMlyY; aLrZU: $hashids = Hashids::instance(6, "\x6c\171\167\171\172\164\x6b", ''); goto fImNu; LRV3O: kGH2t: goto TPmYR; EZqKv: $result = sendSiteWeixinRedPacket($joinUserModel["\x6f\x70\145\x6e\151\144"], floatval($prizeModel["\x72\x65\x64"]) * 100, "\346\201\xad\xe5\226\234\345\217\x91\350\264\xa2\40\xe5\xa4\247\345\x90\211\xe5\xa4\xa7\345\x88\xa9\357\xbc\201", "\345\212\xa9\345\x8a\x9b\347\xa0\x8d\xe4\xbb\xb7\xe6\xb4\xbb\345\212\xa8", "\xe8\xb5\xb6\345\xbf\xab\345\210\x86\344\272\xab\xe7\273\231\xe6\202\250\347\232\204\xe5\245\xbd\xe5\x8f\x8b\xe4\xb8\x80\xe8\265\267\351\xa2\x86\xe7\xba\xa2\xe5\x8c\x85\345\220\xa7", $config["\x70\157\x77\145\x72"], true, $uniacid, $config); goto ysEd5; nJb16: $sign = $sms_tmp["\163\x69\x67\156"]; goto zNvl4; gNdR5: Yxapz: goto hp9qC; a9zbX: list($min, $max) = explode("\x2d", $prizeModel["\x72\145\x64"]); goto DLooO; e6_L3: $userDrawRecordModel["\163\x74\141\x74\165\163"] = $result === true ? 1 : 0; goto nuqXR; VQo5B: $joinPayModel["\x70\x61\171\137\x6e\x75\x6d\x62\x65\x72"] = $orderPayModel["\160\141\171\x5f\x6e\x75\155\142\145\x72"]; goto ubRXT; WDMeW: if (empty($originModel)) { goto EtTUh; } goto na2uc; m49ww: $sign = $sms_tmp["\x73\151\x67\x6e"]; goto GeVvL; pXWZp: XIaom: goto uT0CG; vLAJG: $template_id = ''; goto wQjsJ; IGkdH: htd_8: goto RSfXm; ckFIy: zrHnb: goto q3opB; RvmFh: if (empty($prizeModel)) { goto pXmW7; } goto Xh7Ab; Xz2tv: $userDrawRecordModel["\164\x79\160\145\x73"] = 3; goto C7nz7; mJjSE: pdo_update(ztk_table("\165\163\x65\162\x5f\141\x63\x63\x6f\165\x6e\164", false), array("\160\x72\x6f\144\165\143\164\137\156\x75\x6d\x20\53\75" => 1), array("\x6f\160\145\156\x69\x64" => $join2UserModel["\x6f\x70\x65\156\x69\144"])); goto Fgyf2; coshV: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto Yuee4; MT_7F: updateUserMoney($uniacid, $orderPayModel["\x6f\160\145\156\x69\144"], -$orderPayModel["\160\x61\x79\137\x70\x72\151\143\145"], $note, 3, $draw_data["\157\142\x6a\x5f\x74\171\x70\x65\163"], $draw_data["\157\x62\152\137\151\x64"]); goto NBlXn; oAe0F: pdo_update(ztk_table("\x75\x73\x65\162\137\144\x72\141\x77", false), $join_draw_data, array("\x69\144" => $draw_id)); goto Nloh7; FRoA8: JObOQ: goto M9PKb; fbIFc: Q7Cjc: goto c0afj; x0sRT: $content = str_replace("\173\127\x52\111\124\105\117\106\x46\103\117\104\105\175", $writecode, $content); goto SkVNI; p7smz: $result = sendWeixinCard($joinUserModel["\157\x70\145\156\x69\x64"], $prizeModel["\x63\141\x72\x64"], $uniacid); goto KJMKp; Q49Ca: if ($orderIntmallModel && $orderIntmallModel["\x73\164\x61\x74\x75\163"] == 1) { goto IBlqU; } goto PHsVR; njAuI: BPLfg: goto LFTkl; CdA7J: $userDrawRecordModel["\x63\x72\x65\x61\164\145\x74\151\155\145"] = time(); goto sC2aM; BHSO5: goto t4FSB; goto Uxgvh; TeQwF: pdo_update(ztk_table("\157\142\152\137\x63\157\x6c\x6c\141\x67\x65", false), array("\152\x6f\151\x6e\x5f\156\165\155\x20\53\75" => 1), array("\x69\144" => $object["\151\144"])); goto aflQE; GnH60: $content = str_replace("\173\115\x4f\116\105\131\175", $drawModel["\160\x61\171\137\155\157\x6e\145\x79"] + $drawModel["\160\141\x79\137\x73\171\163\x5f\155\157\156\x65\171"], $content); goto BzJ4f; NuTru: $note = "\xe7\x94\250\346\x88\267\xe5\x85\205\345\x80\xbc\357\274\232" . date("\131\55\x6d\55\144\x20\110\72\151\72\x73", TIMESTAMP) . "\40\xe4\274\232\345\221\x98\xe3\200\220" . $userModel["\156\x69\143\153\x6e\141\155\x65"] . "\343\x80\221\345\217\x82\xe4\xb8\x8e\xe6\264\273\xe5\x8a\250\xef\xbc\232" . $object["\164\x69\x74\154\145"] . "\xef\xbc\214\xe5\234\250\xe7\xba\xbf\345\x85\x85\xe5\x80\xbc\357\xbc\232" . floatval($orderPayModel["\x70\x61\171\137\x70\x72\151\x63\x65"]) . "\345\x85\203"; goto Q3A1w; lJNoc: $userDrawRecordModel["\x75\x70\144\141\x74\145\x74\x69\155\x65"] = time(); goto WS5AW; vZhGm: $encode_id = $hashids->encode($draw_id); goto Ey1i_; UhuwU: pdo_update(ztk_table("\165\163\145\162\137\144\x72\141\x77", false), array("\163\x79\x73" => $prizeModel["\x73\x79\x73"], "\163\x74\x61\164\165\163" => 1, "\x75\160\x64\141\x74\x65\x74\x69\x6d\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto lpECE; w14D4: $objarr = explode("\x2c", $orderPayModel["\x6f\x72\144\145\x72\137\x6e\x75\x6d\x62\x65\162"]); goto QemMl; Db8wI: WX2F5: goto nruhR; lcByf: if ($orderPayModel["\x73\164\141\164\x75\x73"] == 0) { goto XhUoj; } goto vyIBL; I_Vvc: pdo_update(ztk_table("\157\142\152\x5f\x63\x6f\154\x6c\x61\x67\145", false), array("\142\x75\x79\x5f\156\165\155\40\53\x3d" => 1), array("\x69\x64" => $object["\151\144"])); goto QVYQ6; Ebs9Z: $writecode = ''; goto Q37gT; c2wEs: pdo_update(ztk_table("\x6d\x61\x72\x6b\145\x74\151\x6e\x67\137\165\x73\145\x72", false), array("\147\145\x74\x5f\156\165\x6d\x20\x2b\x3d" => 1), array("\151\x64" => $origin_id)); goto nKw9f; nDTzI: $template_id = $object["\142\165\171\x5f\x70\x75\x73\x68\137\164\155\x70\162\145\x62\141\x74\145"]; goto Thgef; WfCQM: $userDrawRecordModel["\x77\x69\163\150\151\x6e\147"] = "\346\x81\xad\345\x96\x9c\345\x8f\221\350\xb4\xa2\40\xe5\244\247\345\220\211\xe5\244\247\xe5\210\251\xef\xbc\201"; goto mOr3E; pxtor: pdo_insert(ztk_nopre_table("\x75\x73\x65\162\x5f\x64\162\141\167\x5f\162\145\x63\157\x72\x64"), $userDrawRecordModel); goto o13xF; XN6j5: $join_draw_data = array("\x77\x72\x69\164\145\x63\x6f\x64\145" => $encode_id); goto a63VQ; s98dt: $sms_tmp_id = $prizeModel["\x73\x6d\163\137\x74\x6d\160\137\x69\x64"]; goto YCgOD; AQAGM: if ($prizeModel["\x74\151\155\145\137\x74\171\160\x65\x73"] == 2) { goto jg9xN; } goto uSw3K; WQE5B: $templatecode = $sms_tmp["\164\145\155\x70\x6c\141\164\x65\143\x6f\144\145"]; goto E9YIJ; QOFu6: $userDrawRecordModel = array(); goto jODtD; tXBN4: pdo_update(ztk_nopre_table("\157\162\144\145\162\137\160\141\x79"), array("\163\164\141\x74\165\x73" => 1, "\156\157\x74\x65" => implode("\x2c", $params)), array("\151\x64" => $orderPayModel["\151\144"])); goto w14D4; iY5_H: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto U0kSE; dqPPB: if ($prizeModel["\164\151\x6d\145\x5f\164\171\160\145\x73"] == 2) { goto xZcxn; } goto X33EL; IcoM3: if (empty($draw_activity_model)) { goto xic1t; } goto LMl_u; ie5Uj: $pay_sys_money = 0; goto i5XtN; Jrsyi: if ($prize2Model["\164\151\155\x65\x5f\164\171\x70\145\x73"] == 2) { goto BRRqr; } goto XwmqZ; qdN1r: MOvQH: goto s_cBA; Nib3a: $template_id = ''; goto eZ6Rf; T2b2v: if (empty($join_id)) { goto ycjI6; } goto bZOSI; lgu3O: $virtualModel = pdo_get(ztk_table("\160\162\x69\x7a\x65\137\166\x69\x72\164\x75\x61\154\137\x64\x61\x74\x61", false), array("\x76\151\162\x74\165\141\154\x5f\x69\x64" => $prize2Model["\166\151\162\164\x75\x61\154\x5f\x69\144"], "\x73\x74\141\164\x75\163" => 1)); goto SM6Ic; vn4Tw: $joinPayModel["\x71\x72\x63\x6f\144\145\137\165\162\154"] = ''; goto WKmtt; Rbo3W: $sms_tmp_id = $prize2Model["\163\155\163\x5f\164\155\x70\137\151\x64"]; goto BWTzA; I_bzR: if (intval($sms_tmp["\164\171\160\x65\163"]) == 0) { goto YRW9X; } goto BdQNV; wVEEX: $note = "\xe8\xbf\x94\345\x88\251\xe8\216\267\345\276\x97\357\274\232" . date("\131\55\x6d\55\x64\x20\110\x3a\151\72\163", TIMESTAMP) . "\40\xe4\274\232\345\221\230\343\200\x90" . $userModel["\x6e\x69\x63\x6b\x6e\141\x6d\x65"] . "\xe3\200\221\345\x8f\x82\344\270\216\xe6\264\xbb\345\x8a\250\xef\xbc\232" . $object["\x74\151\x74\x6c\x65"] . "\357\274\214\350\216\267\xe5\276\x97\xe7\247\xaf\xe5\x88\x86\357\xbc\232" . $prizeModel["\163\143\x6f\x72\145"] . "\xe7\xa7\xaf\345\210\x86"; goto Jc_xa; bNMrg: if (!isSiteFollow($userModel["\157\160\x65\x6e\x69\x64"])) { goto MuXau; } goto R6Gmn; PNinh: DMhKE: goto Yeelz; q4jNL: $note = "\xe5\x8f\202\xe4\xb8\216\xe6\xb4\273\345\212\250\357\xbc\x9a" . date("\x59\x2d\155\55\x64\x20\110\72\151\72\x73", TIMESTAMP) . "\x20\xe4\xbc\x9a\345\221\230\343\200\x90" . $userModel["\156\151\x63\153\156\x61\x6d\x65"] . "\xe3\x80\x91\345\x8f\202\344\xb8\216\xe6\264\xbb\xe5\212\xa8\xef\xbc\232" . $object["\x74\x69\x74\154\145"] . "\357\xbc\x8c\xe6\x94\xaf\344\273\230\xe9\207\x91\xe9\242\x9d\357\274\232" . floatval($orderPayModel["\160\x61\x79\137\160\162\x69\143\145"]) . "\345\x85\x83"; goto MT_7F; ScPcL: pdo_update(ztk_table("\165\x73\145\162\137\144\x72\x61\x77", false), array("\x63\x61\x72\144" => $prizeModel["\143\x61\x72\x64"], "\163\x74\141\x74\x75\163" => 1, "\165\x70\x64\x61\x74\145\x74\151\155\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto fUpgA; aHwd6: ObSyb: goto i20k6; XFQ5A: cNafp: goto ba426; BSJ0G: sODgP: goto d5Awl; nkDN7: $prizeList = pdo_getall(ztk_table("\x70\162\x69\x7a\145\x5f\151\164\145\155", false), array("\x75\x6e\x69\x61\143\151\144" => $uniacid, "\157\142\152\x5f\x74\x79\160\145\x73" => $obj_types, "\x70\162\x69\x7a\145\163\137\x74\x79\160\x65\x73" => 0, "\x6f\142\152\x5f\x69\x64" => $object["\x69\144"], "\163\164\x61\x74\x75\163" => 1, "\157\162\x5f\x72\145\x62\141\164\145\62" => 0), array(), '', "\163\157\x72\x74\x20\x61\x73\143"); goto D5Iuw; DLooO: $prizeModel["\x72\145\144"] = mt_rand($min * 100, $max * 100) / 100; goto dRwgq; NySLM: wqNJI: goto edoiT; Ue60h: $drawcode_data_model = pdo_get("\154\x79\x77\x79\x77\x6c\x5f\172\164\x6b\137\163\171\x73\x5f\x64\162\x61\x77\x63\157\144\x65\137\x64\x61\x74\x61", array("\x64\162\x61\x77\143\157\x64\x65\x5f\151\144" => $draw_activity_model["\144\x72\x61\167\143\157\x64\145\x5f\x69\144"], "\x75\156\x69\x61\143\151\144" => $uniacid, "\x63\157\144\x65" => $drawcode)); goto fohkn; Awu0G: $userDrawRecordModel["\157\160\x65\156\151\x64"] = $joinUserModel["\x6f\x70\x65\x6e\x69\144"]; goto woW1Y; JVWdI: $userDrawRecordModel["\165\156\151\x61\x63\x69\144"] = $prize2Model["\165\x6e\151\141\143\x69\x64"]; goto Zkca7; qq1kO: glY3U: goto KTlgC; xbOwU: $noticeMessage = ''; goto wtgMP; XpA2Z: goto uSU40; goto j8Jfz; Xu8ww: pdo_update(ztk_table("\165\x73\x65\x72\137\x61\143\143\157\x75\x6e\164", false), array("\x63\x75\163\x74\x6f\x6d\x5f\156\x75\155\40\53\x3d" => 1), array("\x6f\x70\145\x6e\151\x64" => $joinUserModel["\157\160\x65\156\151\144"])); goto dZpeA; vvITu: $object = pdo_fetch($sql, $objparams); goto g8fTs; lFuq4: $group_min_num = max(0, reset($ladder_price_list)["\x6e\165\155"]); goto crZ9Q; h1RQk: $joinModel = pdo_get(ztk_table("\165\x73\x65\x72\x5f\143\x6f\154\154\141\x67\145\137\152\157\151\156", false), array("\x75\156\151\x61\x63\151\x64" => $uniacid, "\x69\144" => $join_id)); goto ZI8z8; sFMlJ: CILem: goto Hg1MP; vM_Ix: $userMoneyRecharge["\165\x6e\151\x61\x63\x69\144"] = $uniacid; goto TTvrc; INx4e: if ($orderPayModel["\x74\x79\x70\x65\x73"] == 5) { goto BKp5o; } goto lmTIB; B9GfK: if (intval($prizeModel["\x74\171\x70\x65\x73"]) == 6) { goto N_N3h; } goto ziNV2; NDVZp: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto zWcgR; ZYoDw: $ali_accesskeysecret = $config["\x61\x6c\x69\x5f\x61\x63\143\145\163\163\153\x65\171\x73\145\143\x72\145\164"]; goto y9gjD; e2Tdh: $note = "\347\224\250\346\210\xb7\xe5\x85\205\xe5\200\274\xef\xbc\232" . date("\131\x2d\155\x2d\144\x20\110\x3a\151\72\163", TIMESTAMP) . "\40\344\xbc\232\xe5\x91\x98\343\200\220" . $userModel["\156\x69\x63\153\156\x61\x6d\x65"] . "\xe3\200\x91\xe5\x8f\x82\xe4\xb8\x8e\xe6\xb4\273\xe5\212\250\357\xbc\x9a" . $object["\x74\151\x74\154\145"] . "\357\xbc\x8c\xe5\234\250\xe7\272\277\345\205\205\xe5\x80\274\xef\274\x9a" . floatval($orderPayModel["\160\x61\x79\137\x70\162\x69\x63\x65"]) . "\xe5\205\x83"; goto Nu2_b; hDHej: list($min, $max) = explode("\55", $prizeModel_rebate["\x73\171\x73"]); goto Uk1eZ; bmxlv: $originModel = pdo_get("\154\x79\x77\x79\x77\x6c\137\172\x74\153\x5f\x6d\x61\162\153\x65\x74\x69\x6e\x67\x5f\165\x73\x65\x72", array("\x69\144" => $orderPayModel["\157\x72\x69\x67\151\x6e\x5f\x69\144"], "\157\142\152\x5f\151\144" => $object["\151\144"], "\157\142\x6a\137\x74\171\x70\145\163" => $obj_types, "\x75\156\x69\141\143\151\144" => $uniacid)); goto bfEwL; qy7iZ: $note = "\346\212\xbd\345\xa5\226\xe8\216\xb7\xe5\276\x97\xef\274\232" . date("\x59\x2d\x6d\x2d\144\x20\110\72\x69\72\163", TIMESTAMP) . "\x20\344\xbc\232\xe5\x91\x98\343\200\220" . $userModel["\156\151\x63\153\156\141\155\x65"] . "\xe3\200\x91\345\217\202\344\270\216\346\264\xbb\345\212\250\357\274\x9a" . $object["\164\151\x74\x6c\145"] . "\357\xbc\x8c\xe8\x8e\xb7\xe5\xbe\x97\347\xa7\257\xe5\210\206\357\xbc\x9a" . $prizeModel["\x73\143\157\x72\145"] . "\xe7\247\257\345\210\x86"; goto lhawk; jdVcA: $template_id = $object["\142\165\171\137\160\x75\163\150\x5f\164\155\x70"]; goto QsDaM; i30bC: $userDrawRecordModel["\x73\x74\141\x74\x75\163"] = $result === true ? 1 : 0; goto f1f7y; NhYlU: N6fmn: goto ialjp; c0afj: $result = pdo_insert(ztk_table("\x75\163\x65\x72\137\144\x72\x61\167", false), $join_draw_data); goto BBCel; clh1R: $draw_id = pdo_insertid(); goto A2WBq; pzqO0: $userDrawRecordModel["\x64\145\x73\x63"] = $prizeModel["\x6e\x61\155\145"]; goto SgBvS; HZxe6: $noticeMessage = "\xe6\x81\255\345\x96\234\346\202\xa8\357\xbc\214\350\216\xb7\xe5\276\227\xe8\xbf\x94\xe5\x88\251\345\245\x96\345\x93\x81\342\200\234{$prize2Model["\156\x61\x6d\x65"]}\xe2\200\x9d\xef\274\214" . getCustomScoreName($GLOBALS["\x7a\x74\x6b\137\x63\x6f\x6e\146\151\x67"]) . "\345\245\x96\xe5\x8a\261\xef\xbc\x9a{$prize2Model["\x73\143\157\162\145"]}\344\270\252"; goto ackMh; kp6Cr: if (intval($object["\151\x73\137\163\x6d\163"]) == 1) { goto aBZGY; } goto on_FN; WkS7M: list($min, $max) = explode("\55", $prizeModel["\x73\143\157\x72\x65"]); goto qmu0D; fMX3w: goto chpDx; goto HF54K; NWJSb: $result = sendSiteWeixinMchPay($join2UserModel["\x6f\x70\145\x6e\x69\144"], $prize2Model["\x77\x61\x6c\154\x65\164"] * 100, $prize2Model["\156\x61\155\145"], true, $uniacid, $config); goto VjbtB; K_wbJ: AYdvq: goto XW13_; vac71: if ($prizeModel["\x74\151\x6d\145\x5f\164\171\x70\x65\163"] == 1) { goto Plhkk; } goto ThZJF; TipmA: $param = ["\156\141\x6d\x65" => $join2UserModel["\x6e\x69\x63\x6b\156\x61\x6d\145"], "\x6f\142\152" => mb_substr($object["\x74\151\164\154\145"], 0, 20, "\165\164\146\55\x38"), "\x70\162\151\x7a\145" => $prize2Model["\156\141\155\x65"], "\143\157\144\145" => $writecode]; goto PjenL; C3cbf: $drawcode = $draw_data["\x70\141\171\x5f\x6e\165\155\142\x65\162"]; goto cwWuz; XE_M7: $userDrawRecordModel["\x77\x69\x73\150\151\156\147"] = "\346\201\255\xe5\x96\234\345\217\221\xe8\264\242\x20\345\xa4\247\345\x90\211\345\xa4\xa7\345\210\251\357\xbc\201"; goto iFpAj; kPJOS: if (!(intval($prizeModel["\x63\x72\x65\x61\164\x65\137\164\171\x70\145\x73"]) == 1)) { goto sxaXs; } goto kWsNI; M3J1N: pdo_insert(ztk_nopre_table("\165\x73\x65\162\137\x6d\157\x6e\x65\171\x5f\162\145\x63\x68\141\162\x67\x65"), $userMoneyRecharge); goto ZsaLV; AXcHm: Hu7y5: goto xB6yd; a3PIX: $pwd = $config["\x73\155\163\x5f\x6b\x65\171"]; goto BEFn6; CphzU: sendSiteTplNotice($uniacid, $joinUserModel["\x6f\x70\145\156\151\x64"], $postdata, $template_id, $url); goto qbcW1; Ra5h3: goto JgEs2; goto TWKYp; pbvwE: $userMoneyRecharge["\x6f\x70\x65\156\x69\x64"] = $orderPayModel["\x6f\x70\x65\156\151\x64"]; goto t7Fd8; hADT7: if (!($joinModel["\157\x70\145\156\x69\144"] != $orderPayModel["\157\x70\145\156\151\144"])) { goto ydYVh; } goto Oi3y3; SBkOu: $writecode = $encode_id; goto knLY7; TsjCg: aMgsx: goto Ld0N6; Fwpp2: $userDrawRecordModel["\157\x62\x6a\x5f\151\144"] = $prizeModel["\157\x62\x6a\x5f\151\144"]; goto O8QXV; Kyswm: list($min, $max) = explode("\55", $prizeModel["\163\x63\x6f\162\x65"]); goto R9y8b; X8GVe: goto zdSRG; goto VKMdi; gp9qg: if (!($join2Model["\157\x70\145\x6e\151\144"] != $orderPayModel["\157\x70\145\156\151\x64"] && $join2Model["\x6f\160\x65\x6e\x69\144"] != $joinModel["\x6f\x70\145\x6e\x69\144"])) { goto RoNR3; } goto U75z_; aoS7e: g7zpg: goto aq2xy; RiuEj: $objparams = array("\x3a\164\157\153\x65\x6e" => $objarr[0], "\x3a\x75\x6e\151\141\x63\x69\x64" => $uniacid); goto lm3CD; GxT9P: $draw_data = array("\x75\x6e\151\141\143\151\x64" => $uniacid, "\x6f\142\x6a\137\164\x79\160\145\163" => $obj_types, "\157\x62\x6a\137\x69\x64" => $object["\x69\x64"], "\161\x72\137\151\x64" => 0, "\161\x72\x5f\164\x6f\153\x65\156" => '', "\x71\162\x5f\x6e\x75\x6d\x62\145\162" => 0, "\160\162\151\172\145\137\x69\x64" => 0, "\164\171\x70\x65\x73" => 8, "\157\x72\x69\x67\151\156\137\151\x64" => $origin_id, "\157\162\x69\147\x69\156\137\164\x65\x61\155\137\151\144" => $origin_team_id, "\x6f\x72\151\x67\x69\x6e\137\x62\x75\x79\137\164\171\160\145\163" => $origin_buy_types, "\x6e\x61\155\145" => $object["\164\151\164\154\145"], "\x70\141\171\137\155\x6f\x6e\x65\x79" => $orderPayModel["\x70\141\171\137\x70\x72\151\143\x65"], "\x70\141\171\137\x73\x79\163\x5f\x6d\157\156\145\x79" => $pay_sys_money, "\160\x61\x79\137\x6e\165\155\x62\145\162" => $pay_number, "\142\x75\171\x5f\156\165\155\142\145\162" => 1, "\151\156\166\x69\164\145\137\x6f\160\x65\x6e\x69\x64" => $joinModel["\157\160\x65\156\x69\144"], "\160\x72\151\x7a\145\x5f\x70\x69\143\137\x75\x72\154" => $object["\x70\x69\143\165\162\154"], "\167\x72\x69\x74\145\x6f\x66\x66\x5f\x74\x79\x70\145\163" => $writeoff_types, "\x6f\x70\x65\x6e\151\x64" => $orderPayModel["\x6f\160\145\x6e\x69\144"], "\156\151\143\x6b\x6e\141\155\x65" => $userModel["\x6e\x69\143\153\x6e\141\x6d\x65"], "\163\145\x78" => $userModel["\x73\145\x78"], "\x68\x65\x61\x64\165\162\154" => $userModel["\150\x65\141\x64\x75\162\154"], "\x61\162\x65\x61" => $userModel["\x61\x72\145\x61"], "\151\160" => $_SERVER["\x52\105\x4d\117\124\105\x5f\101\x44\104\122"], "\151\163\x5f\x72\145\147\151\x73\164\145\x72" => $object["\x62\x75\x79\137\x69\163\137\x72\145\147\151\163\x74\145\x72"], "\162\x65\147\x69\x73\x74\x65\x72\x5f\x64\x61\x74\x61" => base64_decode($register_data), "\143\162\145\141\164\x65\164\x69\x6d\145" => TIMESTAMP); goto bGlTU; jODtD: $userDrawRecordModel["\165\156\x69\141\x63\x69\x64"] = $draw_data["\165\156\x69\x61\143\x69\x64"]; goto ljOnN; XX38H: pdo_update(ztk_table("\x6d\141\x72\153\145\164\151\x6e\x67\x5f\x75\x73\145\162", false), array("\147\x65\x74\x5f\x6e\x75\155\40\53\75" => 1), array("\x69\x64" => $origin_id)); goto NySLM; iAIGE: pdo_update(ztk_table("\165\163\x65\162\x5f\x61\x63\143\x6f\165\x6e\x74", false), array("\x70\162\157\x66\151\164\x5f\155\x6f\x6e\x65\171\x20\x2b\75" => $prizeModel["\x77\x61\154\x6c\x65\x74"], "\x77\x61\x6c\154\x65\x74\137\155\x6f\156\145\x79\40\x2b\75" => $prizeModel["\x77\x61\x6c\154\x65\164"], "\x77\x61\154\x6c\145\x74\x5f\x6d\x6f\156\145\171\137\156\165\155\40\x2b\75" => 1), array("\x6f\160\x65\156\151\x64" => $joinUserModel["\157\x70\x65\x6e\x69\x64"])); goto vi2v4; RSfXm: if (!empty($prizeModel)) { goto WXnHi; } goto C0jwf; wTLIH: HUQL8: goto S12IV; hMXmq: $mobile = $userModel["\155\157\142\151\x6c\145"]; goto esqWI; sDt_7: $sn = $config["\x73\x6d\x73\x5f\x75\x69\144"]; goto S_4vi; uhDZ4: kLR3b: goto UxhO8; aiV6_: pdo_update(ztk_table("\x75\163\145\x72\137\x64\x72\141\167", false), $join_draw_data2, array("\151\144" => $draw_id)); goto vtxX0; kkysp: return true; goto xKP_K; FMQNO: FPq1J: goto sHINx; agRFC: $origin_team_id = $originModel["\164\145\141\x6d\x5f\151\144"]; goto bDbBN; Xv2hx: $templatecode = $sms_tmp["\x74\145\155\160\154\141\164\x65\143\x6f\144\x65"]; goto DRJfK; A9wD2: $userDrawRecordModel["\x6d\157\156\x65\x79"] = $prizeModel["\x72\x65\x64"]; goto dmAFc; ZsaLV: $note = "\xe7\224\xa8\xe6\210\267\xe5\205\x85\xe5\200\xbc\357\xbc\x9a" . date("\x59\55\x6d\55\144\40\110\x3a\151\x3a\163", TIMESTAMP) . "\x20\xe4\xbc\x9a\xe5\221\x98\xe3\200\220" . $userModel["\156\151\x63\153\x6e\141\x6d\x65"] . "\xe3\x80\x91\345\217\x82\344\xb8\x8e\346\264\xbb\xe5\212\xa8\xef\xbc\x9a" . $object["\164\x69\164\154\145"] . "\357\274\214\xe5\234\250\xe7\272\xbf\345\x85\x85\xe5\200\xbc\xef\274\232" . floatval($orderPayModel["\x70\141\171\x5f\160\162\x69\143\145"]) . "\345\205\x83"; goto oebvY; QsMZT: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto AiWDW; sC2aM: pdo_insert(ztk_nopre_table("\165\163\145\162\x5f\144\x72\141\167\137\162\x65\x63\x6f\162\144"), $userDrawRecordModel); goto xmsIt; OuEGd: $template_id = $config["\157\162\151\147\151\x6e\x70\x75\x73\150\x5f\x74\x6d\160"]; goto smHwe; UHf8C: if ($prizeModel_rebate["\x74\151\155\145\137\x74\x79\x70\x65\x73"] == 1) { goto NQrpP; } goto gHLCH; qmu0D: $prizeModel["\x73\x63\157\x72\x65"] = mt_rand($min, $max); goto KqSpC; G_mWs: IPtZp: goto BTksj; YCgOD: $sms_tmp = pdo_get(ztk_table("\x74\x6d\160\x5f\x73\155\163", false), array("\x69\x64" => $sms_tmp_id)); goto xokUT; Pukxz: fAUIr: goto cnstj; IlV32: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto vApNo; jAP9J: goto gHGS0; goto IKaa_; E9YIJ: $param = ["\156\x61\155\145" => $joinUserModel["\x6e\x69\143\153\156\141\x6d\145"], "\x6f\142\152" => mb_substr($object["\164\151\164\154\145"], 0, 20, "\x75\x74\x66\55\x38"), "\160\x72\x69\x7a\145" => $prizeModel["\x6e\141\155\x65"], "\x63\157\x64\x65" => $writecode]; goto KmvwL; mXx3L: pdo_update(ztk_table("\x75\163\x65\162\x5f\x64\162\141\167", false), array("\x76\151\x72\164\165\x61\154\x5f\x69\144" => $virtualModel["\166\151\x72\164\165\x61\154\137\x69\x64"], "\166\151\162\x74\x75\141\x6c\x5f\144\141\x74\141\137\x69\144" => $virtualModel["\151\144"], "\163\164\x61\x74\165\163" => 1, "\165\160\x64\141\164\x65\x74\151\x6d\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto U17un; v1L9a: $pwd = $config("\x73\155\163\x5f\x6b\x65\x79"); goto sbuCl; uYy6m: $userDrawRecordModel["\143\x72\145\141\x74\145\x74\x69\x6d\x65"] = time(); goto CmVlL; Gf0hd: sq1WL: goto hHlL_; nRaE4: Ad_Ih: goto oi13Z; ZdWg_: PXaoT: goto xUhow; fQjlX: $join_draw_data["\145\x6e\144\x5f\164\151\x6d\145"] = $prizeModel["\164\151\x6d\x65\137\145\x6e\x64"]; goto tvlgo; qixKm: $content = str_replace("\x7b\120\x52\x49\132\x45\x7d", $prizeModel_rebate["\156\141\155\x65"], $content); goto hFCL8; wI9VI: if (empty($sms_tmp)) { goto XU93O; } goto GUcZU; ilJ2x: $content = str_replace("\173\x4f\102\x4a\175", $object["\164\x69\164\154\145"], $content); goto e7rrr; RSFLe: $object = pdo_fetch($sql, $objparams); goto wybCQ; yDh7f: pdo_update(ztk_table("\x75\x73\x65\162\137\141\x63\143\157\x75\x6e\x74", false), array("\x63\141\162\x64\x5f\156\x75\x6d\40\53\x3d" => 1), array("\157\160\x65\x6e\151\x64" => $join2UserModel["\157\160\x65\x6e\x69\144"])); goto I6IVf; LRX_g: if ($prizeModel_rebate["\x69\x73\137\163\155\x73"] == 1) { goto f1wgZ; } goto WD0TW; AQth6: YcttH: goto GuHRf; pgpdM: IBlqU: goto UfP9r; vtQ83: $content = str_replace("\173\x57\122\x49\124\x45\117\106\x46\103\x4f\104\105\x7d", $writecode, $content); goto OmNZa; l_3Qg: pdo_update(ztk_table("\x75\163\x65\x72\137\x64\x72\141\x77", false), $code_draw_data, array("\x69\144" => $draw_id)); goto yREHh; wJOVT: $objarr = explode("\54", $orderPayModel["\157\x72\144\x65\162\137\156\165\x6d\142\x65\162"]); goto wRuLC; zALmp: $writecode = ''; goto xc15z; KIUJQ: $template_id = $object["\142\165\171\137\160\165\163\x68\x5f\164\155\x70"]; goto h9uvu; ED3dS: $userDrawRecordModel["\x63\141\162\144\x5f\151\144"] = $prizeModel["\143\x61\162\144"]; goto D_Ko2; PZ6yZ: $note = "\xe6\212\275\xe5\245\x96\350\216\xb7\xe5\xbe\227\xef\274\x9a" . date("\131\55\155\x2d\x64\40\x48\72\x69\x3a\163", TIMESTAMP) . "\40\344\274\x9a\345\221\230\xe3\200\x90" . $userModel["\x6e\x69\x63\x6b\x6e\x61\x6d\x65"] . "\343\x80\221\xe5\217\202\344\xb8\216\346\264\273\345\212\250\357\xbc\232" . $object["\x74\x69\164\x6c\x65"] . "\357\xbc\x8c\350\216\xb7\xe5\xbe\x97\xe9\x9b\xb6\351\222\xb1\357\274\232" . $prizeModel["\x73\x79\x73"] . "\xe5\x85\x83"; goto C0_GB; wCV08: IVNtl: goto TBjgy; F4l_X: if (!(intval($prizeModel["\143\162\145\x61\164\145\x5f\x74\171\160\145\x73"]) == 1)) { goto tQ8Su; } goto K1yqe; UxhO8: $note = "\xe6\x8a\xbd\345\xa5\226\350\216\267\345\xbe\x97\357\274\x9a" . date("\x59\x2d\x6d\55\x64\40\110\72\151\x3a\x73", TIMESTAMP) . "\x20\344\274\232\xe5\x91\x98\343\200\220" . $join2UserModel["\156\151\x63\153\156\x61\155\x65"] . "\xe3\200\221\345\x8f\202\xe4\270\x8e\xe6\264\xbb\xe5\x8a\250\357\274\x9a" . $object["\x74\x69\x74\x6c\145"] . "\357\274\x8c\350\216\267\xe5\xbe\227" . getCustomScoreName($GLOBALS["\172\164\x6b\x5f\143\157\156\146\x69\147"]) . "\357\274\x9a" . $prize2Model["\x73\x63\157\x72\145"] . "\xe4\xb8\252"; goto DZiMp; xDKwH: pdo_update(ztk_table("\x75\x73\145\x72\x5f\x73\x6f\x6c\x69\143\x69\164\151\x6e\147\x5f\x6a\157\151\x6e", false), array("\155\157\156\145\x79\40\x2b\75" => floatval($prizeModel_rebate["\163\x79\x73"])), array("\x69\144" => $join_id)); goto Rk1H0; GOzeg: $result = sendSiteWeixinMchPay($joinUserModel["\157\160\145\156\x69\x64"], $prizeModel["\167\x61\x6c\x6c\x65\x74"] * 100, $prizeModel["\156\x61\155\145"], true, $uniacid, $config); goto S_cv8; gS3o7: $content = $content . "\x20\xe3\200\220" . $sms_tmp["\163\151\147\x6e"] . "\xe3\x80\x91"; goto ihP1M; JvpCh: pdo_update(ztk_table("\x75\163\x65\162\137\141\x63\x63\157\165\x6e\164", false), array("\160\x72\157\146\x69\x74\137\155\157\156\x65\x79\40\53\75" => $prizeModel["\162\x65\144"], "\x72\x65\144\137\155\x6f\x6e\x65\x79\x20\x2b\75" => $prizeModel["\x72\145\x64"], "\162\x65\x64\137\155\x6f\156\145\x79\x5f\x6e\165\x6d\x20\x2b\75" => 1), array("\157\x70\x65\x6e\151\144" => $joinUserModel["\x6f\160\x65\156\x69\144"])); goto vLUC6; uA6dj: pdo_insert("\154\x79\x77\171\167\x6c\x5f\172\164\153\137\x73\x79\x73\x5f\x64\x72\141\167\143\157\x64\x65\137\x64\141\164\x61", $drawcode_data_array); goto HZso0; FxN91: $drawcode_data_array = array("\165\156\x69\x61\143\x69\144" => $uniacid, "\144\x72\141\x77\x63\157\x64\x65\x5f\x69\x64" => $draw_activity_model["\144\x72\141\x77\x63\157\144\145\137\151\144"], "\x6f\x70\x65\x6e\151\144" => $orderPayModel["\157\x70\145\x6e\x69\x64"], "\x63\157\x64\x65" => $drawcode, "\163\x74\x61\164\165\x73" => 1, "\x63\162\x65\141\x74\145\164\x69\x6d\x65" => TIMESTAMP); goto ED66U; y5z1m: $postdata = array("\146\x69\162\163\x74" => array("\166\141\154\165\x65" => "\xe6\201\255\345\x96\x9c\346\202\250\x21\xe6\x82\xa8\xe5\x8f\202\344\xb8\x8e\346\264\273\345\x8a\250" . $object["\x74\151\164\154\x65"] . "\344\270\xad\xe5\xa5\x96\xe4\272\206", "\143\x6f\154\x6f\x72" => "\43\61\67\x33\x31\67\67"), "\x6b\145\x79\167\x6f\x72\x64\x31" => array("\x76\x61\x6c\x75\x65" => $prizeModel["\x6e\141\155\x65"], "\x63\x6f\154\157\162" => "\43\x31\x37\x33\x31\x37\x37"), "\x6b\x65\x79\167\157\x72\144\x32" => array("\166\x61\154\165\145" => timeToStr(TIMESTAMP), "\143\157\154\157\162" => "\43\61\67\x33\x31\67\x37"), "\162\145\155\x61\x72\153" => array("\x76\x61\x6c\x75\x65" => $noticeMessage, "\x63\x6f\154\x6f\x72" => "\x23\61\67\63\x31\67\67")); goto xM5xG; GW565: $obj_money = $objarr[4]; goto N0cYi; T8PUM: FIF_N: goto ZxpHz; aUsju: $userDrawRecordModel["\163\x74\141\x74\x75\163"] = $result === true ? 1 : 0; goto d9ZWK; oWW4Z: pdo_update(ztk_table("\160\x72\x69\x7a\145\137\x76\151\x72\x74\x75\x61\x6c\x5f\144\x61\x74\141", false), $virtualModel, array("\x69\x64" => $virtualModel["\151\x64"])); goto b2dKc; z1i30: $userDrawRecordModel["\165\x70\x64\141\x74\x65\164\x69\x6d\145"] = time(); goto L3qCk; uACF5: if (empty($originModel)) { goto axGNP; } goto agRFC; OPp43: $joinPayModel["\x70\141\171\137\x6e\165\155\142\145\x72"] = $orderPayModel["\160\141\x79\x5f\x6e\x75\x6d\x62\x65\x72"]; goto vn4Tw; yM_JU: $userDrawRecordModel["\157\x62\152\x5f\x69\144"] = $prizeModel["\x6f\142\x6a\x5f\151\x64"]; goto liONf; WtQLD: $userDrawRecordModel["\x75\x70\144\x61\x74\x65\164\x69\x6d\145"] = time(); goto Ss3jd; UaC0h: EJaE1: goto aZgWH; qVZpY: $mobile = $userModel["\x6d\157\142\x69\154\145"]; goto um0m2; eskG8: pdo_update(ztk_table("\x75\x73\145\x72\x5f\141\143\143\157\165\x6e\x74", false), array("\x63\141\162\x64\x5f\156\165\155\40\53\75" => 1), array("\157\x70\145\x6e\151\144" => $joinUserModel["\157\160\145\156\x69\x64"])); goto ScPcL; AAZGz: if (intval($sms_tmp["\164\x79\x70\145\163"]) == 0) { goto BjnHw; } goto lJbwi; xKP_K: bmipN: goto pYDT4; lOh0k: pdo_update(ztk_table("\165\163\x65\162\137\143\x75\x74\x5f\x6a\157\151\x6e", false), array("\160\x61\171\x5f\163\x74\x61\x74\165\163" => 1), array("\151\x64" => $join_model["\x69\x64"])); goto WDMeW; h3qiV: ucDTN: goto I_Vvc; F0jqQ: $draw_id = pdo_insertid(); goto ctY5_; I6IVf: pdo_update(ztk_table("\x75\x73\145\162\137\144\x72\141\x77", false), array("\143\x61\162\x64" => $prize2Model["\143\x61\x72\x64"], "\x73\x74\x61\164\165\163" => 1, "\165\x70\x64\141\x74\x65\x74\x69\x6d\145" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto vxHn7; rH2Nw: if (!isSiteFollow($joinUserModel["\157\x70\145\x6e\x69\x64"])) { goto SwLm2; } goto s_atb; dHfwA: $userMoneyRecharge["\x6f\162\144\x65\162\x5f\x6e\x75\x6d\142\x65\x72"] = $orderPayModel["\160\141\171\137\x6e\x75\155\x62\x65\x72"]; goto p367P; NbztV: xvdr1: goto YHE7J; QwW7X: Col_B: goto qrLzS; iMvWL: $virtualModel["\157\160\145\x6e\x69\144"] = $joinUserModel["\x6f\160\x65\156\x69\144"]; goto HeYM8; XN4Ap: $userDrawRecordModel["\143\x72\145\x61\x74\145\164\x69\x6d\x65"] = time(); goto klsG3; akNwW: GNeTF: goto LRX_g; L92Le: $userDrawRecordModel = array(); goto h4hsn; NHmAB: $userDrawRecordModel["\141\143\x74\x5f\x6e\x61\x6d\145"] = "\345\x8a\251\xe5\212\x9b\347\xa0\x8d\xe4\273\267\346\xb4\273\345\212\xa8"; goto e6tX3; I8pRF: pdo_update(ztk_table("\165\x73\145\x72\x5f\141\143\x63\157\165\156\x74", false), array("\x70\x72\x6f\146\151\x74\137\x6d\157\156\x65\x79\x20\53\x3d" => $prize2Model["\x77\x61\x6c\154\145\x74"], "\167\141\x6c\154\x65\x74\137\155\x6f\156\x65\171\x20\x2b\x3d" => $prize2Model["\167\141\x6c\154\x65\164"], "\167\141\154\x6c\145\164\x5f\x6d\x6f\156\145\x79\x5f\156\x75\155\x20\53\75" => 1), array("\157\x70\145\x6e\x69\144" => $join2UserModel["\x6f\x70\145\156\x69\144"])); goto B9ycv; ZW4EB: pdo_update(ztk_table("\165\x73\145\162\x5f\x61\143\143\157\x75\156\164", false), array("\160\162\157\x66\x69\164\137\x6d\x6f\x6e\x65\x79\40\53\x3d" => $prizeModel["\162\x65\144"], "\162\145\144\x5f\x6d\157\156\x65\x79\x20\53\75" => $prizeModel["\162\145\144"], "\162\145\x64\137\x6d\x6f\x6e\145\171\x5f\x6e\x75\155\40\53\75" => 1), array("\157\x70\145\156\x69\x64" => $joinUserModel["\157\x70\145\156\x69\x64"])); goto Z2m9I; loVDz: pdo_update(ztk_table("\x75\163\145\x72\137\141\143\143\x6f\x75\156\x74", false), array("\x70\x72\x6f\144\165\143\164\x5f\x6e\165\155\40\x2b\75" => 1), array("\x6f\160\x65\x6e\151\144" => $userModel["\x6f\160\145\x6e\151\x64"])); goto H_Wtd; axTiz: vZg5u: goto LPWVN; LWcvT: pdo_update(ztk_table("\157\x62\x6a\x5f\x75\x6e\151\x6f\156", false), array("\142\x75\x79\x5f\156\x75\x6d\40\x2b\75" => 1), array("\151\144" => $object["\x69\144"])); goto VbPwT; AkeSE: $note = "\347\x94\250\346\x88\xb7\xe5\x85\x85\345\x80\xbc\357\xbc\x9a" . date("\x59\55\x6d\x2d\x64\40\110\72\x69\x3a\163", TIMESTAMP) . "\40\xe4\xbc\232\xe5\221\x98\343\x80\x90" . $userModel["\x6e\x69\x63\153\156\141\x6d\x65"] . "\xe3\200\x91\xe5\x8f\202\xe4\xb8\x8e\xe6\xb4\273\345\x8a\250\357\xbc\x9a" . $object["\x74\x69\x74\154\x65"] . "\xef\xbc\214\xe5\x9c\250\xe7\272\xbf\xe5\205\x85\345\x80\274\xef\xbc\232" . floatval($orderPayModel["\x70\141\x79\x5f\x70\x72\x69\x63\x65"]) . "\345\x85\203"; goto kEVlO; p219S: $userDrawRecordModel["\x63\x72\145\141\164\x65\164\151\x6d\x65"] = time(); goto fhrlM; kKkl8: if (!(!empty($joinUserModel) && !empty($joinUserModel["\155\157\142\x69\x6c\145"]))) { goto nCy0k; } goto kiTrf; B3KYW: $draw_data = array("\165\x6e\151\141\x63\151\x64" => $uniacid, "\x6f\142\152\x5f\x74\x79\x70\x65\x73" => $obj_types, "\x6f\142\152\137\151\144" => $object["\151\144"], "\x71\162\137\x69\144" => 0, "\x71\162\x5f\x74\x6f\x6b\x65\x6e" => '', "\x71\162\137\x6e\x75\x6d\142\145\x72" => 0, "\x70\x72\151\x7a\145\x5f\151\144" => 0, "\x74\171\160\145\x73" => 8, "\157\162\151\147\x69\156\137\x69\x64" => $origin_id, "\157\162\x69\147\151\156\137\164\x65\x61\x6d\x5f\x69\144" => $origin_team_id, "\x6f\x72\151\x67\151\x6e\x5f\142\165\171\137\164\171\160\x65\163" => $origin_buy_types, "\x6e\x61\x6d\145" => $object["\x74\x69\164\154\145"], "\160\x61\x79\x5f\x6d\157\156\145\x79" => $orderPayModel["\x70\141\x79\x5f\160\162\151\x63\145"], "\x70\141\171\137\x73\x79\163\x5f\155\157\156\145\171" => $pay_sys_money, "\160\x61\x79\x5f\x6e\165\x6d\x62\x65\x72" => $pay_number, "\x69\x6e\x76\x69\x74\145\137\157\x70\145\x6e\x69\144" => $joinModel["\x6f\160\145\156\151\144"], "\x70\162\x69\172\145\x5f\x70\x69\143\137\165\x72\154" => $object["\x70\x69\x63\x75\x72\x6c"], "\167\162\151\x74\145\157\x66\x66\x5f\x74\x79\160\x65\163" => $writeoff_types, "\x6f\x70\145\x6e\151\x64" => $orderPayModel["\x6f\160\145\156\151\144"], "\x6e\151\x63\153\x6e\x61\x6d\145" => $userModel["\x6e\x69\143\x6b\x6e\141\x6d\x65"], "\x73\145\x78" => $userModel["\x73\145\x78"], "\150\145\141\x64\165\162\154" => $userModel["\150\145\x61\x64\x75\x72\x6c"], "\141\x72\x65\141" => $userModel["\x61\162\145\141"], "\x69\160" => $_SERVER["\122\x45\115\117\124\105\137\x41\x44\x44\x52"], "\163\x74\x61\x74\x75\x73" => 1, "\151\163\137\162\x65\147\151\x73\164\x65\162" => $object["\x62\165\171\x5f\x69\x73\137\x72\x65\147\x69\x73\x74\145\162"], "\162\x65\147\x69\163\x74\145\162\137\144\x61\x74\x61" => base64_decode($register_data), "\143\162\145\141\x74\x65\x74\x69\155\145" => TIMESTAMP); goto n9own; Cdrl1: $sms_tmp_id = $object["\x73\155\163\137\x74\155\x70\x5f\x69\144"]; goto Pp82n; AKJHj: goto hyAyJ; goto Wdky1; RgPns: if (intval($prizeModel["\164\171\160\145\x73"]) == 2) { goto Qlxam; } goto QMr1b; tWrhT: $userDrawRecordModel["\x6f\x70\145\156\x69\144"] = $joinUserModel["\157\160\145\x6e\151\144"]; goto tHeIS; I89tA: if (intval($prizeModel_rebate["\164\x79\160\x65\x73"]) == 6) { goto CxdEQ; } goto yt3zy; scPad: $join_id = $objarr[2]; goto etCzU; pbgNB: $content = str_replace("\x7b\x57\x52\x49\x54\105\x4f\x46\x46\103\117\x44\x45\x7d", $writecode, $content); goto THe8j; AAtpd: $hashids = Hashids::instance(6, "\154\171\167\x79\172\164\x6b", ''); goto eKOvo; i3l8C: if (!(intval($object["\x62\x75\171\137\x69\163\x5f\163\155\x73"]) == 1)) { goto Vd_Ay; } goto B5_9c; FZxab: if (empty($object["\x70\165\x73\x68\137\164\155\160"])) { goto dtsa7; } goto VWHng; UAAp0: if (empty($virtualModel)) { goto MLsJL; } goto iQwFm; WS5AW: $userDrawRecordModel["\143\x72\x65\141\x74\x65\x74\151\155\145"] = time(); goto lGH_d; kfIKV: goto hyAyJ; goto KsSVV; Fidk_: if ($object["\x62\165\x79\137\151\x73\137\x73\x70\x65\x63\163"] > 0 && $is_the_right_pattern) { goto sFpQM; } goto N7WpM; m8dsc: $template_id = "\x7a\x65\x49\x4b\157\63\x34\x51\65\125\x38\x4b\116\163\160\x68\123\62\61\64\163\145\x70\x31\161\x75\x74\x74\x4a\x49\x44\156\x58\x34\116\x52\144\102\63\67\152\x35\x59"; goto K_1Zy; FX5ge: $virtualModel["\x73\164\141\164\165\x73"] = 0; goto cSmnP; vVYt_: if (empty($orderPayModel["\157\x72\151\x67\151\x6e\137\x69\x64"])) { goto XVwdW; } goto XFdRj; OUwOu: m8Kcl: goto QZhhv; Ms671: $origin_id = $orderPayModel["\157\162\151\147\x69\156\137\x69\144"]; goto sS62v; v1agV: $obj_token = $objarr[0]; goto EovCx; mY6ma: return true; goto FiOo3; cSmnP: pdo_update(ztk_table("\160\162\x69\172\x65\x5f\x76\151\162\x74\x75\141\154\137\144\141\x74\141", false), $virtualModel, array("\151\x64" => $virtualModel["\x69\x64"])); goto od8Jm; cXw6y: $writecode = $encode_id; goto h3qiV; xdiMf: BOkBX: goto XLPvr; JrWWe: $prizeList = pdo_getall(ztk_table("\160\162\151\x7a\x65\137\151\x74\145\155", false), array("\165\x6e\x69\x61\143\151\144" => $uniacid, "\x6f\x62\x6a\137\164\171\160\145\x73" => $obj_types, "\160\162\151\x7a\x65\x73\x5f\164\171\160\x65\x73" => 0, "\157\x62\152\x5f\151\144" => $object["\x69\x64"], "\x73\x74\141\x74\165\x73" => 1, "\x6f\x72\137\x72\145\142\141\164\x65\x32" => 0), array(), '', "\x73\157\x72\164\40\141\x73\143"); goto npzoq; Uu2AM: $userDrawRecordModel["\x6f\x70\145\x6e\151\x64"] = $userModel["\x6f\160\x65\156\x69\144"]; goto FcNh7; z4wlz: goto dphec; goto XLIgD; eeOcj: if (!($object["\x69\x73\x5f\143\x61\x72\144\137\x67\145\x74"] == 0)) { goto ZlzZo; } goto sJW8V; zWcgR: goto VpQOT; goto RVwKD; Ey1i_: $join_draw_data = array("\x77\162\x69\164\x65\143\x6f\x64\145" => $encode_id); goto DL6YF; byylZ: if (!empty($prizeModel)) { goto bWY4L; } goto iBaxv; UZBTR: $postdata = array("\146\x69\162\x73\164" => array("\x76\x61\154\165\145" => $first_mess, "\143\157\x6c\x6f\x72" => "\43\x31\x37\x33\x31\67\x37"), "\x6b\x65\x79\167\157\x72\144\61" => array("\166\141\x6c\x75\x65" => $prices_payment, "\143\157\x6c\x6f\x72" => "\43\x31\67\x33\x31\67\x37"), "\153\145\x79\167\x6f\x72\x64\x32" => array("\166\141\x6c\165\145" => $orderIntmallModel["\x73\143\x6f\x72\x65"], "\x63\157\x6c\x6f\x72" => "\x23\x31\67\x33\x31\67\67"), "\153\145\171\167\x6f\x72\x64\63" => array("\166\141\154\165\x65" => $orderIntmallModel["\x6f\162\144\145\x72\137\x6e\x75\x6d\x62\x65\162"], "\143\157\x6c\x6f\x72" => "\x23\x31\x37\63\x31\x37\x37"), "\153\145\x79\x77\157\162\x64\64" => array("\166\x61\x6c\165\x65" => timeToStr(TIMESTAMP), "\143\157\154\x6f\162" => "\43\x31\x37\63\61\67\67"), "\162\x65\155\x61\x72\153" => array("\166\141\x6c\165\x65" => $noticeMessage, "\x63\157\x6c\x6f\162" => "\43\x31\67\63\x31\67\67")); goto RO5XC; iqo2r: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto ckgnp; z9CBn: goto MOvQH; goto SSnAE; coM50: $sms_tmp_id = $object["\x62\x75\171\x5f\x73\155\x73\137\x74\x6d\160\x5f\151\x64"]; goto ZSadn; klL9y: if (empty($draw2Model)) { goto dB2qr; } goto k2QSu; vqyV2: $writeoff_types = 1; goto sDxe9; MywWL: return false; goto gNVCE; VQnf8: IgbWt: goto SllkY; Pvb59: $postdata = array("\146\151\162\163\x74" => array("\166\x61\x6c\165\x65" => "{$originModel["\156\141\155\145"]}\357\274\214\xe6\x82\xa8\345\217\202\344\270\x8e\347\232\204\xe6\272\257\xe6\xba\x90\xe6\xb4\xbb\345\212\xa8\xe6\x9c\211\xe6\226\260\xe7\x9a\204\350\xae\xa2\345\215\225", "\x63\157\x6c\x6f\x72" => "\43\61\x37\63\x31\x37\67"), "\x6b\x65\x79\167\157\x72\x64\61" => array("\166\x61\x6c\165\x65" => "\346\224\257\xe4\273\x98{$drawModel["\160\141\x79\x5f\155\x6f\156\145\171"]}\345\205\x83\40\xe4\275\231\xe9\242\x9d{$drawModel["\160\141\x79\x5f\163\171\x73\137\155\157\x6e\145\171"]}\345\205\x83", "\x63\157\154\x6f\162" => "\43\61\67\x33\x31\67\x37"), "\x6b\145\x79\x77\x6f\x72\144\x32" => array("\x76\141\x6c\165\145" => $object["\164\x69\164\154\145"], "\x63\157\154\157\162" => "\x23\61\67\x33\61\67\x37"), "\x6b\145\x79\167\157\x72\144\x33" => array("\x76\x61\x6c\165\145" => $drawModel["\x70\141\x79\x5f\156\x75\155\x62\x65\162"], "\x63\157\x6c\157\x72" => "\x23\x31\67\x33\61\x37\67"), "\x6b\145\171\167\x6f\162\x64\64" => array("\x76\x61\154\165\145" => "\xe3\200\x90{$userModel["\156\151\x63\153\x6e\141\x6d\145"]}\xe3\200\x91" . $userModel["\155\x6f\142\151\x6c\145"], "\143\x6f\154\x6f\x72" => "\43\61\x37\63\61\67\x37"), "\162\x65\155\x61\x72\x6b" => array("\x76\141\154\165\145" => "\347\202\271\xe5\207\xbb\xe6\237\245\347\234\x8b\xe6\272\257\xe6\xba\220\347\xbb\237\xe8\xae\xa1\346\225\xb0\xe6\215\xae", "\x63\157\x6c\157\162" => "\x23\x31\x37\63\61\x37\67")); goto Z68ob; qZUyO: pdo_update(ztk_table("\160\162\x69\x7a\x65\x5f\x76\x69\162\x74\x75\x61\154\137\144\141\x74\141", false), $virtualModel, array("\151\x64" => $virtualModel["\x69\144"])); goto bY0B9; mLvjM: $note = "\xe8\xb4\255\xe4\271\xb0\xe6\212\275\345\xa5\x96\350\216\267\345\276\x97\357\xbc\232" . date("\x59\x2d\x6d\x2d\x64\40\110\72\x69\x3a\x73", TIMESTAMP) . "\40\344\xbc\x9a\345\221\230\343\x80\220" . $userModel["\156\151\x63\x6b\156\x61\x6d\145"] . "\xe3\200\x91\xe5\x8f\202\xe4\270\216\346\xb4\xbb\xe5\212\250\xef\274\x9a" . $object["\164\151\164\154\145"] . "\357\274\214\xe8\216\xb7\xe5\276\x97\xe9\233\xb6\xe9\x92\261\357\xbc\232" . $prizeModel_rebate["\x73\171\163"] . "\xe5\x85\203"; goto MdMpW; ljOnN: $userDrawRecordModel["\157\x70\x65\156\151\144"] = $draw_data["\157\160\145\156\x69\x64"]; goto WUMDl; l1nE3: $result = sendSiteWeixinRedPacket($joinUserModel["\157\160\145\156\x69\144"], floatval($prizeModel["\x72\x65\144"]) * 100, "\346\201\xad\345\226\x9c\xe5\217\x91\350\xb4\242\x20\xe5\xa4\247\345\x90\x89\345\244\xa7\xe5\x88\xa9\357\xbc\201", "\xe7\xa4\xbc\xe5\x93\x81\346\x8b\223\xe5\256\xa2\xe6\264\273\xe5\212\xa8", "\350\265\266\xe5\277\xab\xe5\210\x86\xe4\xba\xab\xe7\273\231\346\x82\xa8\347\232\x84\xe5\245\xbd\xe5\x8f\x8b\344\xb8\200\xe8\265\xb7\xe9\242\x86\xe7\272\242\xe5\x8c\205\345\x90\247", $config["\x70\x6f\167\x65\x72"], true, $uniacid, $config); goto Z_ayf; JWVhX: $writecode_rebate = $encode_id; goto ZaStf; iIpSd: if (intval($prize2Model["\164\x79\160\x65\x73"]) == 3) { goto NXvwW; } goto pcRCF; olIlm: VWfem: goto HlxZy; za6cm: $draw2Model = pdo_get(ztk_nopre_table("\165\163\145\162\137\144\162\x61\167"), array("\165\x6e\151\141\143\151\x64" => $uniacid, "\157\x62\x6a\137\151\144" => $object["\151\144"], "\157\x62\x6a\x5f\x74\x79\x70\145\x73" => $obj_types, "\x70\x61\x79\x5f\157\160\x65\x6e\x69\144" => $joinModel["\x6f\x70\145\x6e\x69\x64"], "\x6f\162\x5f\x72\145\142\x61\x74\145\x32" => 0, "\x74\171\160\x65\x73" => array(1, 2, 3, 4, 5, 6, 7, 9))); goto bJHDd; i20k6: neAwK: goto fMX3w; B6Hhr: a3gHY: goto LvoHM; ic_wS: goto nRxYR; goto x3FdQ; AiWDW: goto IPtZp; goto RwB3W; y6lC6: if (!($object["\x6d\157\144\145\x6c\163"] == 1 && $object["\151\x73\x5f\x66\145\x64\145\x78"] == 0)) { goto rhKmC; } goto yn4_g; ne2q2: pdo_insert(ztk_nopre_table("\x75\x73\145\x72\x5f\144\162\x61\x77\x5f\162\145\143\x6f\162\x64"), $userDrawRecordModel); goto yy8b2; SYNqi: if (!(!empty($joinUserModel) && !empty($joinUserModel["\x6d\x6f\142\151\x6c\x65"]))) { goto P4aXs; } goto Ml3DM; Sz7ko: $userDrawRecordModel["\x64\145\x73\x63"] = $prizeModel["\x6e\x61\x6d\x65"]; goto zk_JY; Kvf1o: h0DVw: goto spH5p; BdQNV: $ali_accesskeyid = $config["\141\x6c\151\x5f\x61\x63\x63\145\x73\163\x6b\x65\x79\x69\144"]; goto ZYoDw; pKo77: updateUserMoney($uniacid, $joinUserModel["\157\160\145\x6e\x69\x64"], floatval($prizeModel["\x73\x79\x73"]), $note, 1, $obj_types, $draw_id); goto lFIYI; GVzuP: $pwd = $config["\x73\x6d\163\137\153\145\171"]; goto t5eck; i7iyG: goto dtlcH; goto cwS0c; X0CdZ: V7qBN: goto Y9sp5; Os6jF: $sn = $config("\x73\155\x73\137\x75\x69\144"); goto v1L9a; PNG1j: $mobile = $userModel["\x6d\x6f\x62\151\x6c\x65"]; goto RlppI; EkvtO: hLbdK: goto xPqu2; o0l31: $noticeMessage = ''; goto WXrp_; qxtNg: pdo_update(ztk_table("\x75\x73\145\162\137\141\143\x63\x6f\165\x6e\x74", false), array("\x70\x72\x6f\x66\151\x74\x5f\x6d\157\x6e\145\171\40\53\x3d" => $prize2Model["\162\145\x64"], "\162\145\144\x5f\x6d\157\156\x65\171\40\53\x3d" => $prize2Model["\x72\145\144"], "\162\x65\x64\x5f\155\157\156\x65\171\x5f\x6e\x75\155\40\53\75" => 1), array("\x6f\x70\x65\x6e\151\144" => $join2UserModel["\157\160\x65\156\151\144"])); goto EPP0F; eB2GR: $buy_specs_field = iserializer($buy_specs_field); goto FUlDf; iVPi8: goto FIF_N; goto ALIQ5; t66wL: Q9VLh: goto vnHYx; kOqDv: $userDrawRecordModel["\143\x61\x72\x64\x5f\151\x64"] = $prizeModel["\143\141\162\x64"]; goto MfZCt; TEt_H: $url = replaceDieDomain($config, __MURL("\157\162\144\145\162\137\x69\x6e\x74\155\x61\x6c\154", array("\141\x63\x74" => "\x69\156\144\145\170"), false, TRUE), $userModel["\151\x64"], 0, 0, 0); goto avknb; VpHVI: W2D47: goto NjXIb; x_XDI: $ali_accesskeyid = $config["\141\154\x69\137\x61\143\x63\x65\x73\163\153\x65\x79\x69\144"]; goto yUiNx; LRdAm: $joinUserModel = pdo_get(ztk_nopre_table("\165\163\145\162\137\141\x63\143\x6f\165\156\x74"), array("\x75\x6e\x69\141\x63\x69\x64" => $uniacid, "\x6f\x70\x65\x6e\151\x64" => $joinModel["\157\x70\x65\x6e\x69\144"])); goto nkDN7; Vc9Ax: $mobile = $join2UserModel["\x6d\x6f\142\x69\154\145"]; goto nZwgr; ib8XN: $sms_tmp = pdo_get(ztk_table("\x74\x6d\160\x5f\163\155\163", false), array("\151\x64" => $sms_tmp_id)); goto wGZfb; WxdlV: if (empty($sms_tmp)) { goto r_wWK; } goto BWiIB; S_XEk: $userDrawRecordModel["\x6f\142\152\x5f\151\x64"] = $prize2Model["\x6f\142\x6a\x5f\x69\144"]; goto Bf3t8; lLu1F: $joinPayModel["\x6f\162\151\147\x69\156\x5f\x74\x65\141\x6d\137\x69\144"] = $origin_team_id; goto GtCK2; G2gtv: $joinModel = pdo_get(ztk_nopre_table("\165\163\145\x72\137\143\165\x74\137\x6a\x6f\x69\156"), array("\x75\156\151\x61\143\151\144" => $uniacid, "\x69\144" => $join_model["\x70\x69\x64"])); goto QwW7X; lT368: WDPqT: goto UvUqD; Te7fi: $userDrawRecordModel["\157\142\152\137\x74\x79\x70\145\x73"] = $prize2Model["\x6f\x62\x6a\x5f\x74\x79\160\145\163"]; goto HEOSX; Z2dr2: if (!($pid == 0)) { goto hkPZR; } goto JGQS4; qrhxr: BtAGC: goto gXGn8; NNW2D: WSEup: goto NtRmu; xHBC4: $content = str_replace("\x7b\117\102\x4a\x7d", $object["\x74\x69\x74\x6c\x65"], $content); goto zURow; ceFuK: $noticeMessage = "\xe6\201\xad\345\226\x9c\346\x82\250\xef\274\x8c\xe8\x8e\xb7\xe5\xbe\227\350\xbf\x94\xe5\x88\xa9\345\xa5\226\345\223\x81\342\x80\x9c{$prizeModel["\x6e\x61\x6d\x65"]}\xe2\200\235\xe8\x8e\xb7\xe5\276\227\344\275\231\xe9\xa2\235\345\245\226\345\212\261\xef\274\232{$prizeModel["\163\x79\x73"]}\345\x85\203"; goto obPqx; rA_c2: if (intval($prize2Model["\164\171\x70\x65\163"]) == 5) { goto nNI72; } goto vliB0; qkih0: $userDrawRecordModel["\167\151\163\x68\x69\156\x67"] = "\346\x81\255\xe5\x96\234\345\x8f\221\350\xb4\xa2\x20\xe5\244\xa7\345\x90\211\345\244\xa7\345\210\xa9\xef\xbc\x81"; goto ifvO8; u_1It: foreach ($prizeList as $key => $val) { goto gv_sv; gv_sv: if (!(intval($val["\157\x64\144\x73"]) <= 0)) { goto aZVvt; } goto nz2bR; EAv24: $arr[$key] = $val["\157\144\x64\x73"]; goto wbb0W; kenIu: hHwyL: goto EAv24; FBfnF: if (!(intval($val["\x6c\x69\155\x69\x74\x5f\164\171\160\x65\x73"]) == 0 && intval($val["\x6c\x69\155\151\164\x5f\156\x75\155"]) > 0)) { goto RYP4k; } goto VcEiK; hiKf4: RYP4k: goto gTI2t; CK0yC: e5ylr: goto kenIu; vNonx: goto YVClZ; goto PKpyY; nz2bR: goto YVClZ; goto tDyID; d3cj0: goto YVClZ; goto CK0yC; wVqO3: $count = pdo_fetchcolumn("\x53\105\114\105\x43\x54\40\x43\x4f\x55\x4e\124\50\x2a\51\x20\106\x52\x4f\x4d\40" . ztk_table("\165\163\145\x72\x5f\144\162\x61\167") . "\x20\x57\x48\105\122\x45\40\40\160\162\151\x7a\145\x5f\x69\144\40\x3d\x20\72\x70\162\x69\172\145\x5f\x69\x64\40\x41\116\x44\40\x6f\160\x65\156\x69\144\x20\75\x20\x3a\157\x70\145\156\x69\144\x20\x41\x4e\104\40\x46\122\x4f\115\x5f\125\x4e\x49\130\124\111\x4d\x45\50\x63\162\145\141\x74\x65\x74\x69\155\x65\x2c\40\x27\45\x59\x25\155\45\x64\47\x29\x20\75\x20\x44\x41\x54\105\x5f\x46\117\x52\115\101\124\x28\x4e\117\127\x28\x29\x2c\x27\45\x59\x25\x6d\x25\x64\x27\x29", array("\x3a\x70\x72\x69\172\x65\137\151\144" => $val["\x69\x64"], "\72\157\160\x65\156\151\144" => $joinUserModel["\157\160\x65\x6e\151\144"])); goto e_My9; VcEiK: $count = pdo_getcolumn(ztk_table("\x75\163\145\162\137\x64\162\x61\167", false), array("\160\162\x69\x7a\145\137\151\x64" => $val["\x69\x64"], "\x6f\160\x65\156\x69\x64" => $joinUserModel["\157\x70\x65\156\x69\x64"]), "\x63\157\x75\x6e\164\x28\52\51"); goto KpZAL; e_My9: if (!($count >= intval($val["\x6c\x69\x6d\x69\164\x5f\156\x75\x6d"]))) { goto e5ylr; } goto d3cj0; KpZAL: if (!($count >= intval($val["\x6c\x69\155\151\164\137\156\x75\x6d"]))) { goto R_pN0; } goto vNonx; tDyID: aZVvt: goto FBfnF; gTI2t: if (!(intval($val["\154\151\x6d\x69\164\x5f\164\x79\x70\145\163"]) == 1 && intval($val["\x6c\x69\x6d\151\x74\137\156\x75\x6d"]) > 0)) { goto hHwyL; } goto wVqO3; wbb0W: YVClZ: goto lmNWh; PKpyY: R_pN0: goto hiKf4; lmNWh: } goto cvlld; YVJQ2: $url = replaceDieDomain($config, __MURL("\x75\x73\x65\x72\137\144\162\x61\167", array("\141\143\x74" => "\151\156\x64\x65\170"), false, TRUE), $joinUserModel["\151\x64"], $obj_types, $object["\151\144"], 0); goto CdWbj; DjExu: $ali_accesskeysecret = $config["\141\x6c\x69\x5f\x61\143\143\x65\163\x73\x6b\x65\171\x73\x65\x63\x72\x65\164"]; goto w9wBC; OgkKa: $noticeMessage = "\346\x81\xad\345\x96\x9c\346\x82\xa8\357\xbc\214\xe8\x8e\xb7\xe5\xbe\227\xe8\xbf\224\xe5\x88\xa9\xe5\xa5\226\345\223\201\342\x80\234{$prizeModel["\x6e\141\155\x65"]}\xe2\200\x9d\xe8\216\267\xe5\276\227\xe5\276\256\344\xbf\xa1\xe9\x9b\266\351\x92\xb1\357\xbc\x9a{$prizeModel["\167\x61\x6c\x6c\x65\x74"]}\345\x85\x83\xef\xbc\x8c\350\xaf\xb7\xe5\x88\260\xe6\x82\250\347\232\204\xe5\xbe\xae\344\xbf\xa1\351\x92\xb1\xe5\x8c\x85\xe6\237\xa5\xe7\x9c\213\343\x80\x82"; goto itIHY; bmms5: $content = str_replace("\x7b\x4f\x42\x4a\x7d", $object["\164\x69\164\x6c\145"], $content); goto pBfzu; K30ng: BAkcY: goto ykqOC; tKk9w: pdo_update(ztk_table("\x75\163\145\162\137\144\x72\x61\x77", false), array("\x63\165\163\164\157\155\137\x75\162\x6c" => $prizeModel["\x63\x75\163\164\x6f\x6d\137\165\162\x6c"], "\163\x74\141\164\165\163" => 1, "\165\160\144\x61\x74\145\x74\151\x6d\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto ezxfF; mVUU2: blejB: goto McT2x; xutPt: if (!isSiteFollow($join2UserModel["\x6f\x70\x65\x6e\151\144"])) { goto zZcQ2; } goto mGyMH; gYVJ3: updateUserScore($uniacid, $userModel["\157\160\x65\x6e\151\144"], intval($prizeModel_rebate["\x73\x63\x6f\162\145"]), $note, 1, $obj_types, $draw_id); goto WWW05; xc15z: if (empty($result)) { goto UvR1j; } goto XvRAO; JZaeH: fwQAE: goto Tq9ak; oWQJs: $mobile = $joinUserModel["\x6d\157\x62\151\x6c\145"]; goto Oa0m7; n9own: $result = pdo_insert(ztk_table("\165\x73\145\162\x5f\144\x72\141\x77", false), $draw_data); goto WzMJu; h9jKr: $userMoneyRecharge["\x6f\x72\144\x65\162\137\x6e\x75\x6d\142\145\x72"] = $orderPayModel["\160\x61\x79\137\x6e\165\x6d\x62\145\162"]; goto Mf9Zh; vliB0: if (intval($prize2Model["\164\171\160\x65\x73"]) == 6) { goto mrZvV; } goto ndju4; SP_8Q: $note = "\346\x8a\275\345\245\226\xe8\x8e\xb7\xe5\276\227\xef\xbc\232" . date("\x59\55\x6d\55\x64\40\x48\72\151\72\163", TIMESTAMP) . "\x20\344\xbc\232\xe5\x91\230\xe3\x80\x90" . $userModel["\156\151\143\153\x6e\141\x6d\145"] . "\343\200\221\xe5\217\202\xe4\270\216\346\xb4\xbb\345\212\250\357\xbc\x9a" . $object["\x74\x69\164\x6c\x65"] . "\357\274\x8c\xe8\x8e\xb7\xe5\276\x97\xe9\x9b\266\351\x92\xb1\357\274\x9a" . $prizeModel["\163\x79\163"] . "\xe5\205\203"; goto BleOl; we6d9: if (empty($originModel)) { goto Ty3l6; } goto lodfo; qXgTR: $content = $sms_tmp["\143\x6f\156\164\145\x6e\164"]; goto vPP41; wJ6Lv: if (empty($draw_activity_model)) { goto pPzXq; } goto JnEHL; TpgkP: $mobile = $userModel["\x6d\x6f\x62\x69\154\145"]; goto BVh0Y; J0BLO: $sign = $sms_tmp["\x73\x69\x67\156"]; goto QgZ0f; LGD43: $tableName = $permission_data[$object["\144\x72\141\167\x5f\141\x63\x74\151\166\151\x74\x79\137\164\x79\160\x65"]]; goto kVGp1; pVhhN: $userMoneyRecharge["\157\x70\145\x6e\x69\144"] = $orderPayModel["\157\160\x65\156\151\144"]; goto h9jKr; nLlc1: pdo_update(ztk_table("\165\163\x65\x72\137\141\x63\x63\157\x75\x6e\164", false), array("\160\162\157\146\x69\164\x5f\155\157\156\145\171\x20\53\x3d" => $prizeModel["\162\145\x64"], "\x72\x65\144\137\155\x6f\x6e\145\171\x20\53\x3d" => $prizeModel["\162\x65\x64"], "\x72\x65\x64\x5f\x6d\157\156\145\x79\x5f\x6e\x75\155\40\x2b\75" => 1), array("\x6f\x70\x65\156\151\x64" => $joinUserModel["\x6f\x70\x65\156\x69\x64"])); goto hKSHT; KJMKp: $userDrawRecordModel = array(); goto Vysbp; KSNIU: D0ddW: goto wZdIM; AQdP2: $join_draw_data = array("\x77\x72\151\164\x65\143\157\144\x65" => $encode_id); goto e7m17; r_kkZ: $userDrawRecordModel["\x63\x72\x65\141\x74\x65\x74\x69\x6d\x65"] = time(); goto di1gx; OwAyk: $result = sendWeixinRedPacket($userModel["\157\160\x65\156\x69\x64"], floatval($prizeModel_rebate["\162\145\x64"]) * 100, "\346\201\xad\345\x96\x9c\345\217\221\350\xb4\242\40\345\244\247\xe5\220\x89\345\xa4\xa7\345\210\xa9\357\xbc\201", "\347\xa4\xbc\345\223\x81\346\x8b\x93\345\256\xa2\346\xb4\xbb\345\x8a\250", "\xe8\xb5\xb6\345\xbf\253\xe5\210\206\344\xba\253\xe7\xbb\231\346\202\250\xe7\232\x84\345\245\275\345\217\x8b\344\xb8\200\350\xb5\267\xe9\242\206\xe7\272\xa2\xe5\x8c\x85\xe5\x90\xa7", $config["\160\x6f\167\145\162"], true, $uniacid, $config); goto gyNn7; z1bz0: $sn = $config("\x73\x6d\163\137\x75\x69\x64"); goto YxZU_; x7XPD: $code_draw_data = array("\167\x72\151\164\145\x63\x6f\144\x65" => $encode_id); goto l_3Qg; qWyZD: if (!(intval($prize2Model["\x63\162\x65\x61\164\x65\x5f\164\171\x70\145\x73"]) == 1)) { goto kLR3b; } goto L3Ft0; Ns4Iw: if (!isSiteFollow($originModel["\157\x70\x65\x6e\151\144"])) { goto l3xxQ; } goto Pvb59; woW1Y: $userDrawRecordModel["\x6f\x62\152\137\164\171\x70\145\x73"] = $prizeModel["\x6f\x62\152\x5f\164\x79\x70\x65\x73"]; goto G3cxu; IlyfP: VpQOT: goto Eg8cQ; pt62M: if (intval($prizeModel["\164\x79\160\x65\x73"]) == 4) { goto FFPjH; } goto GVCpE; OPEmd: Vm7q6: goto YDpjU; IcnO2: $templatecode = $sms_tmp["\x74\x65\155\160\154\141\x74\x65\143\x6f\144\x65"]; goto eE58p; kQUIT: $hashids = Hashids::instance(6, "\x6c\x79\167\x79\172\x74\x6b", ''); goto Yaobq; VFEe4: $noticeMessage = "\xe6\x81\255\xe5\226\x9c\346\202\250\xef\274\x8c\xe8\x8e\267\345\276\x97\350\277\x94\xe5\210\xa9\345\245\x96\xe5\223\x81\357\274\x9a" . $prizeModel["\156\x61\x6d\145"]; goto SEprk; z5LZL: pdo_update(ztk_table("\x75\x73\145\162\x5f\141\x63\143\157\165\x6e\x74", false), array("\x76\x69\162\x74\165\x61\x6c\x5f\156\165\155\40\x2b\x3d" => 1), array("\157\160\145\156\x69\144" => $joinUserModel["\157\x70\x65\156\151\x64"])); goto DKtrl; GPyaT: $pwd = $config["\x73\x6d\x73\x5f\153\x65\x79"]; goto Vc9Ax; C4p1N: goto Dxt49; goto DjIdW; X3wf1: $sms_tmp_id = $prizeModel["\x73\155\163\x5f\x74\x6d\x70\137\151\144"]; goto v3LI7; Vhesg: $join_draw_data2 = array("\x77\162\151\164\145\x63\157\144\145" => $encode_id); goto aiV6_; eEBMI: $virtualModel["\x73\164\x61\164\x75\163"] = 0; goto QcnQE; Nk0Kp: pdo_update(ztk_table("\165\x73\x65\x72\137\141\x63\x63\x6f\165\156\x74", false), array("\166\x69\162\164\165\x61\x6c\137\x6e\x75\155\40\53\x3d" => 1), array("\x6f\160\x65\156\x69\144" => $joinUserModel["\157\x70\x65\x6e\151\144"])); goto jUTIU; daeXH: $join_draw_data["\145\x6e\x64\137\x74\151\x6d\x65"] = 0; goto zgj5t; wWpfW: xic1t: goto FGeac; lGH_d: pdo_insert(ztk_nopre_table("\165\163\x65\x72\137\x64\x72\x61\167\137\x72\x65\x63\x6f\162\144"), $userDrawRecordModel); goto biRiA; D1CAC: goto F_vfr; goto TAQEq; v3yPw: $writeoff_types = 0; goto j4hWh; yDdu8: $userDrawRecordModel["\157\x70\x65\x6e\151\x64"] = $joinUserModel["\x6f\160\145\x6e\x69\x64"]; goto nx0ay; JaZz9: list($min, $max) = explode("\x2d", $prizeModel["\x73\171\163"]); goto bMrUj; h3kX1: pdo_update(ztk_nopre_table("\x75\x73\145\x72\137\x61\x63\143\x6f\165\x6e\164"), $userUpdateModel, array("\151\x64" => $userModel["\151\144"])); goto aY6kT; EyeIJ: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto C4p1N; NsfTU: if (empty($draw_activity_model)) { goto izvGo; } goto mq2kQ; atUfz: if (intval($prizeModel["\164\x79\160\x65\x73"]) == 6) { goto sT0n2; } goto bDdiY; bYBUU: $userDrawRecordModel["\165\x70\144\141\x74\145\164\x69\155\145"] = time(); goto XN4Ap; PINeB: $url = replaceDieDomain($config, __MURL("\165\163\145\x72\137\144\162\141\x77", array("\x61\143\x74" => "\151\x6e\144\145\x78"), false, TRUE), $joinUserModel["\151\144"], $obj_types, $object["\x69\x64"], 0); goto GJNjd; n1BOA: $sms_tmp_id = $object["\x73\x6d\163\137\164\155\x70\137\x69\x64"]; goto wVb3p; Yneat: pdo_update(ztk_table("\160\162\x69\x7a\145\137\x76\x69\x72\164\165\141\154\x5f\144\x61\x74\x61", false), $virtualModel, array("\151\x64" => $virtualModel["\151\x64"])); goto UWfBv; nuRMu: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto qe19v; fid3E: $buy_sms_rebate_id = $object["\x62\x75\x79\x5f\163\155\163\137\162\x65\x62\x61\x74\x65\x5f\x69\x64"]; goto slX5o; kNIfF: if (empty($sms_tmp)) { goto YcttH; } goto paxVS; gMFMb: $content = $content . "\40\xe3\x80\220" . $sms_tmp["\x73\x69\x67\156"] . "\xe3\x80\x91"; goto YkGuE; Lhvuw: if (empty($orderPayModel["\x6f\x72\151\x67\x69\x6e\137\x69\x64"])) { goto czZsc; } goto bmxlv; TYFk3: $rid = get_rand($arr); goto IL8Ss; j8YCs: $drawcode_data_model = pdo_get("\154\171\x77\x79\167\x6c\x5f\x7a\x74\153\137\x73\171\163\x5f\x64\x72\141\167\x63\157\x64\145\x5f\144\x61\164\141", array("\x64\162\x61\167\x63\x6f\144\145\x5f\151\144" => $draw_activity_model["\x64\x72\141\x77\x63\157\x64\145\x5f\x69\144"], "\165\x6e\151\x61\143\x69\144" => $uniacid, "\x63\x6f\144\145" => $drawcode)); goto ryEFB; d8PcW: $draw_id = pdo_insertid(); goto HAoMT; PuMzK: gZ5Jq: goto lWqPr; G9cMO: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto dUv_p; gvw2U: if ($prize2Model["\x69\x73\x5f\163\x6d\x73"] == 1) { goto vCe8J; } goto X76Oh; cuSTC: q53fx: goto PZ6yZ; R36t9: $pwd = $config["\163\x6d\163\137\153\145\171"]; goto OR1E0; S8Knx: $userDrawRecordModel["\x63\x72\145\141\164\x65\164\x69\155\145"] = time(); goto ezzVJ; XKl1C: iZ5rq: goto IgsaR; csHP1: REjWQ: goto vhcaf; tXEXS: $join_draw_data2["\x65\156\x64\x5f\x74\151\x6d\145"] = 0; goto FIP_U; ZzHv1: goto qRqmh; goto aplW5; U8OoH: $userModel = pdo_get(ztk_nopre_table("\x75\163\x65\x72\x5f\x61\x63\x63\157\165\156\164"), array("\x75\156\x69\x61\143\x69\144" => $uniacid, "\x6f\x70\145\156\151\144" => $orderPayModel["\x6f\160\x65\156\x69\144"])); goto MEQ_4; IQde8: $url = replaceDieDomain($config, __MURL("\141\144\155\x69\x6e\163\x5f\155\x61\x72\153\145\164\151\x6e\x67", array("\157\x62\152\137\164\x79\x70\145\x73" => $obj_types, "\x6f\142\152\137\151\144" => $object["\x69\144"]), false, TRUE), 0, 0, 0, 0); goto KyNeB; YU1fQ: $userDrawRecordModel["\x74\171\160\x65\x73"] = 0; goto E5JS4; BR_U2: TQmv7: goto eskG8; esqWI: $sign = $sms_tmp["\x73\151\x67\156"]; goto FNoCa; mhbis: $virtualModel["\x6f\x70\145\x6e\x69\x64"] = $draw_data["\157\160\x65\156\x69\x64"]; goto Sv0wq; G3cxu: $userDrawRecordModel["\x6f\142\152\137\151\x64"] = $prizeModel["\157\x62\x6a\x5f\x69\144"]; goto uhRm1; t9awZ: $register_data = $orderPayModel["\156\x6f\x74\145"]; goto m0BOv; RwF3n: $join_draw_data["\145\156\144\x5f\x74\151\x6d\x65"] = 0; goto NJArh; zkVue: Z5buT: goto y5Pbj; OmNZa: $content = str_replace("\x7b\x4f\102\x4a\x7d", $object["\164\x69\164\154\x65"], $content); goto Cbchi; sHi1H: CtmQT: goto MeL2j; kKiIN: $userDrawRecordModel["\x6f\142\x6a\x5f\x74\171\160\x65\163"] = $prizeModel["\157\x62\152\x5f\x74\x79\160\145\163"]; goto CP2tA; FvQY6: $userDrawRecordModel["\x63\x72\x65\141\x74\145\164\x69\155\145"] = time(); goto pxtor; S_38a: $param = ["\156\141\155\x65" => $joinUserModel["\x6e\x69\143\x6b\x6e\x61\x6d\145"], "\157\142\152" => mb_substr($object["\164\151\164\154\145"], 0, 20, "\165\164\x66\55\70"), "\160\162\151\172\x65" => $prizeModel["\x6e\x61\x6d\145"], "\x63\x6f\144\145" => $writecode]; goto coshV; OeIu9: pdo_update(ztk_table("\x75\163\145\x72\137\163\157\x6c\x69\143\151\x74\151\156\x67\x5f\152\x6f\151\156", false), array("\x6d\x6f\x6e\145\x79\40\53\x3d" => floatval($prizeModel["\x72\x65\144"])), array("\151\144" => $join_id)); goto WTgr3; XnJM9: $pwd = $config["\x73\155\163\137\x6b\x65\x79"]; goto ry9Ub; enHFB: $sms_tmp_id = $object["\163\x6d\163\137\164\x6d\160\x5f\x69\x64"]; goto nMTx2; sObNR: updateUserMoney($uniacid, $orderPayModel["\157\x70\145\156\x69\144"], -$orderPayModel["\x70\141\171\137\x70\162\151\143\145"], $note, 3, $joinPayModel["\157\142\152\137\x74\171\x70\145\163"], $joinPayModel["\157\142\x6a\x5f\x69\144"]); goto R6pW_; aA2TY: if (intval($prizeModel["\x74\x79\x70\145\163"]) == 4) { goto uTIro; } goto OyWsC; GYmbR: pdo_update(ztk_table("\x75\163\145\162\x5f\x61\x63\x63\x6f\x75\156\164", false), array("\x70\162\157\146\x69\164\137\155\x6f\156\145\x79\x20\53\x3d" => $prizeModel["\162\145\144"], "\162\x65\x64\137\x6d\x6f\x6e\145\x79\x20\53\75" => $prizeModel["\x72\145\x64"], "\x72\x65\x64\137\x6d\157\x6e\145\171\137\156\x75\155\x20\53\75" => 1), array("\157\x70\x65\156\151\144" => $joinUserModel["\157\160\145\x6e\x69\144"])); goto COjWZ; HPAGA: if (!(intval($prizeModel["\164\x79\160\x65\163"]) == 9)) { goto rHsKs; } goto M3y8M; Te1xY: y73qf: goto AuQCH; MOfP4: pdo_update(ztk_table("\165\163\x65\x72\137\x61\143\x63\157\x75\x6e\164", false), array("\166\151\162\164\165\x61\x6c\137\156\165\155\x20\53\x3d" => 1), array("\x6f\160\x65\x6e\151\144" => $join2UserModel["\157\160\145\x6e\x69\144"])); goto CVzkM; ivvmy: pXmW7: goto AcFDY; Gno7f: if (!(!empty($userModel) && !empty($userModel["\x6d\x6f\x62\151\154\145"]))) { goto FTxST; } goto CLTsw; eE7w3: $userDrawRecordModel["\x73\164\141\164\165\x73"] = $result === true ? 1 : 0; goto zHNSN; p4PdY: $noticeMessage = "\346\x81\xad\345\x96\x9c\346\202\250\xef\xbc\214\350\216\xb7\xe5\xbe\x97\350\277\224\345\210\xa9\xe5\xa5\x96\345\223\x81\357\274\x9a" . $prizeModel["\x6e\x61\x6d\x65"]; goto lduxQ; WTpWf: $origin_buy_types = 0; goto Qa4QM; HA241: $code_draw_data = array("\167\162\x69\164\x65\143\x6f\144\x65" => $encode_id); goto JX6Dr; Br3fm: f3zGl: goto hq16w; c5ku6: pOZSk: goto biU9M; PVxh3: $userDrawRecordModel["\165\x70\144\141\x74\145\164\151\155\x65"] = time(); goto Mv41M; L3Ft0: list($min, $max) = explode("\x2d", $prize2Model["\163\143\x6f\162\145"]); goto Ok9bt; j_NMf: $noticeMessage = "\xe6\x81\255\345\x96\234\346\202\xa8\xef\274\214\xe8\216\267\xe5\xbe\x97\xe8\xbf\224\345\210\xa9\345\245\226\xe5\x93\x81\xe2\200\x9c{$prizeModel["\156\141\x6d\145"]}\342\200\x9d\xe8\x8e\xb7\xe5\xbe\x97\xe7\xa7\257\345\210\x86\xe5\245\x96\xe5\x8a\xb1\xef\274\x9a{$prizeModel["\163\x63\157\162\x65"]}\344\xb8\xaa"; goto AXcHm; sRTkL: rZ7oH: goto q_t90; frrgX: $userUpdateModel = array(); goto AQym8; APlL9: $content = str_replace("\173\x4e\111\x43\x4b\x4e\x41\x4d\x45\175", $joinUserModel["\x6e\x69\x63\x6b\x6e\x61\x6d\145"], $content); goto uX80E; U6jp4: JgzBS: goto meq5z; JbkW1: $result = sendWeixinCard($joinUserModel["\x6f\x70\x65\156\x69\144"], $prizeModel["\143\x61\x72\x64"], $uniacid); goto Yw4sk; MZ4cu: $userDrawRecordModel["\157\x62\152\x5f\164\x79\x70\145\x73"] = $prize2Model["\x6f\142\152\x5f\x74\171\x70\145\163"]; goto vECLQ; s097O: if (!(intval($prizeModel["\x63\162\145\141\164\145\137\164\x79\160\x65\163"]) == 1)) { goto P2Kn0; } goto GEcf7; cLpWJ: $userDrawRecordModel["\143\162\x65\141\x74\145\164\x69\155\145"] = time(); goto ne2q2; p2zeM: B1HIV: goto JdR66; oy175: $userDrawRecordModel["\165\x6e\151\141\x63\151\x64"] = $prizeModel["\165\x6e\x69\141\x63\x69\x64"]; goto IF1qG; rHpce: $content = $sms_tmp["\x63\157\x6e\164\x65\x6e\x74"]; goto APlL9; SfROG: $objparams = array("\x3a\x74\157\x6b\145\156" => $objarr[0], "\72\x75\156\151\141\143\x69\x64" => $uniacid); goto RSFLe; p_nFu: PCKcA: goto x3T8_; CzGLn: $userMoneyRecharge["\x6d\x6f\x6e\145\171"] = $orderPayModel["\160\x61\x79\x5f\x70\162\x69\143\145"]; goto c34Hv; tr7YE: $sign = $sms_tmp["\163\x69\147\x6e"]; goto zZFw_; Qvh1H: iXKro: goto i7iyG; kjyrj: $note = "\350\xbf\224\345\210\251\xe8\x8e\xb7\xe5\xbe\227\xef\274\x9a" . date("\131\55\155\x2d\x64\x20\x48\x3a\x69\72\x73", TIMESTAMP) . "\40\344\274\x9a\345\x91\230\xe3\x80\220" . $join2UserModel["\156\151\x63\153\156\x61\x6d\145"] . "\343\200\x91\345\217\x82\344\xb8\216\xe6\264\273\345\x8a\xa8\357\xbc\232" . $object["\164\151\x74\x6c\x65"] . "\357\274\214\350\216\267\345\xbe\227\351\x9b\266\351\x92\261\xef\274\x9a" . $prize2Model["\x73\x79\163"] . "\345\x85\x83"; goto fwt7z; LWUP_: include MODULE_ROOT . "\57\x69\x6e\143\57\143\x6c\141\x73\x73\57\x48\x61\x73\x68\151\144\x73\56\x63\154\141\x73\x73\56\160\150\x70"; goto QAUq9; k4M5Q: Y_Tvf: goto cZzoy; NAfXu: if (!(intval($prize2Model["\143\162\x65\141\164\x65\137\x74\x79\x70\x65\x73"]) == 1)) { goto lt_j0; } goto zecnQ; chb68: $userDrawRecordModel["\x73\x74\141\x74\x75\163"] = $result === true ? 1 : 0; goto XqJo1; hTAdy: pdo_insert(ztk_nopre_table("\165\x73\145\x72\137\143\x6f\x6c\154\x61\x67\x65\x5f\152\x6f\x69\156"), $joinPayModel); goto dfH5C; KnuDf: $userModel = pdo_get(ztk_nopre_table("\165\x73\145\162\x5f\x61\143\143\x6f\165\156\x74"), array("\165\156\151\x61\x63\151\x64" => $uniacid, "\157\160\145\x6e\x69\144" => $orderPayModel["\157\x70\145\x6e\x69\x64"])); goto NglAs; oTl4b: $postdata = array("\x66\151\x72\163\164" => array("\x76\141\154\x75\x65" => "\xe6\201\255\345\226\x9c\xe6\202\xa8\41\xe6\x82\250\345\217\202\344\xb8\x8e\346\xb4\273\xe5\212\250" . $object["\x74\151\x74\154\145"] . "\xe4\xb8\xad\345\245\x96\344\272\x86", "\143\157\x6c\x6f\x72" => "\x23\61\67\x33\x31\67\67"), "\x6b\145\171\167\x6f\x72\x64\x31" => array("\x76\141\x6c\x75\145" => $prize2Model["\156\x61\x6d\145"], "\x63\x6f\154\157\162" => "\43\61\x37\x33\61\x37\67"), "\153\145\x79\x77\x6f\162\x64\62" => array("\x76\141\x6c\165\x65" => timeToStr(TIMESTAMP), "\143\157\154\x6f\162" => "\43\61\x37\x33\61\x37\x37"), "\162\x65\x6d\x61\x72\153" => array("\166\x61\154\x75\145" => $noticeMessage, "\143\x6f\x6c\157\x72" => "\43\x31\x37\x33\x31\67\x37")); goto pieeA; qXz80: pdo_update(ztk_table("\x75\163\x65\x72\137\141\x63\143\x6f\165\156\x74", false), array("\143\x75\163\x74\157\x6d\137\x6e\165\155\40\x2b\x3d" => 1), array("\x6f\160\145\156\151\x64" => $joinUserModel["\x6f\160\145\156\151\x64"])); goto MIDB1; IB1rh: $sign = $sms_tmp["\163\x69\x67\156"]; goto v_htg; kWsNI: list($min, $max) = explode("\x2d", $prizeModel["\163\x63\157\x72\x65"]); goto PfTxJ; cIuP8: $userUpdateModel["\x6a\x6f\x69\x6e\x5f\156\x75\x6d"] = $userModel["\x6a\x6f\x69\x6e\137\156\165\x6d"] + 1; goto mfUk7; CIsoC: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto bI3TR; ndju4: if (intval($prize2Model["\x74\x79\x70\145\x73"]) == 7) { goto Hyg7u; } goto lnqVH; PCunH: $ali_accesskeyid = $config["\x61\x6c\x69\x5f\x61\143\143\x65\163\163\153\145\x79\151\x64"]; goto o0CI0; C_4e3: goto GW_Uf; goto DCu3i; Oo7a0: pdo_update(ztk_table("\x75\163\145\162\x5f\144\162\x61\167", false), array("\x63\165\x73\x74\157\x6d\137\165\x72\x6c" => $prizeModel["\143\165\163\164\x6f\x6d\137\165\162\154"], "\x73\164\141\164\x75\163" => 1, "\x75\x70\144\x61\x74\x65\x74\x69\x6d\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto qXz80; BzJ4f: $content = str_replace("\173\117\102\112\x7d", $object["\x74\x69\x74\x6c\145"], $content); goto ikzuW; g5f6l: goto WsPm6; goto QRCxY; vIyLW: if (!(intval($object["\x69\x73\137\160\165\163\150"]) == 1)) { goto Ary8P; } goto oyM3Q; SqED4: $joinCount = pdo_count(ztk_nopre_table("\165\163\x65\162\x5f\143\157\154\154\x61\x67\145\137\152\157\151\x6e"), array("\165\x6e\x69\x61\143\x69\144" => $uniacid, "\160\x69\x64" => $pid)); goto Qu0yy; U75z_: pdo_update(ztk_table("\165\163\145\x72\137\x75\156\x69\157\x6e\137\152\x6f\x69\x6e", false), array("\151\x6e\166\151\x74\145\40\x2b\x3d" => 1), array("\151\144" => $join2Model["\x69\144"])); goto Fbhmo; YcNLe: $sms_tmp = pdo_get(ztk_table("\164\155\160\137\163\155\x73", false), array("\x69\x64" => $sms_tmp_id)); goto JQB49; lhawk: updateUserScore($uniacid, $joinUserModel["\157\x70\145\x6e\151\144"], intval($prizeModel["\x73\143\x6f\x72\145"]), $note, 1, $obj_types, $draw_id); goto sX310; BuJVh: tQ8Su: goto ZW4EB; CYeWj: $userDrawRecordModel["\x6f\142\x6a\137\x69\144"] = $prizeModel["\157\x62\x6a\137\x69\144"]; goto ZQAdA; Dfsfl: $sign = $sms_tmp["\x73\x69\147\156"]; goto huHtm; UPcfk: $virtualModel = pdo_get(ztk_table("\160\162\151\172\x65\137\166\x69\162\164\x75\x61\154\x5f\x64\x61\164\x61", false), array("\x76\x69\x72\x74\x75\141\x6c\x5f\x69\x64" => $prizeModel["\x76\x69\x72\x74\x75\141\x6c\137\x69\144"], "\x73\x74\141\164\x75\163" => 1)); goto fn9lq; wwk07: $sign = $sms_tmp["\x73\x69\147\x6e"]; goto poGCP; Mq9L6: pdo_insert(ztk_nopre_table("\x75\163\x65\162\x5f\x64\x72\x61\167\137\x72\x65\143\157\162\144"), $userDrawRecordModel); goto gEO_y; YBeZQ: pdo_update(ztk_table("\x75\x73\x65\162\x5f\x73\157\x6c\151\143\151\x74\x69\156\147\137\x6a\157\x69\x6e", false), array("\x69\156\166\x69\164\145\40\53\x3d" => 1), array("\x69\144" => $join_id)); goto A21gJ; upZuX: $userModel = pdo_get(ztk_nopre_table("\165\x73\145\162\137\x61\x63\143\157\x75\x6e\164"), array("\165\156\151\141\143\x69\x64" => $uniacid, "\x6f\160\x65\x6e\151\x64" => $orderPayModel["\157\x70\145\x6e\151\x64"])); goto hyk5b; LZUqy: $noticeMessage = "\346\201\255\xe5\x96\x9c\346\x82\250\xef\274\214\xe8\216\267\xe5\276\x97\350\277\224\xe5\x88\xa9\345\xa5\226\345\x93\x81\xef\xbc\x9a" . $prizeModel["\x6e\x61\155\x65"]; goto dtv2q; iFpAj: $userDrawRecordModel["\141\x63\164\137\156\x61\x6d\145"] = "\350\x81\224\347\x9b\237\xe6\x8b\223\345\xae\xa2\xe6\xb4\xbb\345\212\250"; goto jeVtH; pgBYR: if (!(intval($object["\x62\165\x79\137\x69\163\137\160\x75\163\x68"]) == 1)) { goto MB9gw; } goto ObCyH; GcUzZ: PxMdM: goto Q99Cb; iQwFm: pdo_update(ztk_table("\165\163\x65\x72\x5f\x64\x72\141\167", false), array("\x76\x69\x72\164\165\141\x6c\137\x69\144" => $virtualModel["\166\151\162\x74\x75\x61\x6c\137\x69\144"], "\x76\x69\x72\164\165\141\154\137\x64\x61\164\141\137\151\144" => $virtualModel["\151\144"], "\x73\x74\x61\x74\x75\x73" => 1, "\x75\160\x64\141\164\145\x74\x69\x6d\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto iMvWL; tr5su: $code_draw_data["\166\151\162\164\165\x61\154\x5f\x64\141\x74\141\137\x69\x64"] = $virtualModel["\x69\x64"]; goto P4NEM; hdUU9: if (intval($prizeModel_rebate["\164\171\160\145\163"]) == 2) { goto HUQL8; } goto vqCms; TVyJi: $userUpdateModel = array(); goto XryVl; qhQHc: updateUserMoney($uniacid, $orderPayModel["\157\x70\x65\156\x69\x64"], -$pay_sys_money, $note, 3, $draw_data["\x6f\x62\152\x5f\x74\171\x70\145\x73"], $draw_data["\x6f\142\152\x5f\x69\x64"]); goto OOx8T; QGleQ: $sign = $sms_tmp["\163\x69\147\156"]; goto WQE5B; qgffl: sendTplNotice($uniacid, $userModel["\157\x70\x65\x6e\x69\144"], $postdata, $template_id, $url); goto XFQ5A; Iy4Fx: if (intval($prizeModel["\x74\171\x70\145\x73"]) == 6) { goto sL0on; } goto cGE08; zgj5t: goto BPLfg; goto Gacnv; UHA4F: MZDT9: goto X8GVe; UGLCv: $userDrawRecordModel = array(); goto JVWdI; S8k7r: $noticeMessage = "\346\x81\xad\xe5\226\x9c\xe6\202\250\357\274\x8c\350\x8e\267\xe5\276\227\xe8\xbf\224\345\x88\251\xe5\xa5\x96\345\x93\201\357\274\232" . $prizeModel["\156\141\x6d\x65"]; goto tKk9w; xPa5E: P2Kn0: goto SP_8Q; YxIdp: $userDrawRecordModel["\x75\156\151\141\143\x69\144"] = $prizeModel["\x75\156\x69\141\143\151\x64"]; goto Qhifm; aYUlL: $userDrawRecordModel["\x6f\x62\152\x5f\164\171\x70\145\163"] = $prize2Model["\157\x62\x6a\137\x74\171\x70\145\163"]; goto Pg2Pc; EDgvE: $writecode = $encode_id; goto EkvtO; Vickk: $userDrawRecordModel["\157\x62\x6a\137\x74\x79\x70\145\163"] = $prizeModel["\x6f\x62\152\137\164\x79\160\145\163"]; goto Fwpp2; r1_HM: $userDrawRecordModel["\163\x65\156\144\x5f\x6e\141\x6d\x65"] = $config["\x70\x6f\167\145\x72"]; goto XE_M7; xUhow: goto MGEGK; goto eLJg3; CP2tA: $userDrawRecordModel["\157\142\x6a\x5f\151\x64"] = $prizeModel["\157\x62\x6a\137\151\x64"]; goto EnNR1; XLPvr: goto hJwAi; goto DE1TO; VbPwT: goto iZ5rq; goto sRTkL; XMZz4: $pay_sys_money = floatval($object["\x6d\x6f\x6e\145\x79"]) - floatval($orderPayModel["\160\141\171\x5f\160\162\151\143\x65"]); goto wbvSB; fohkn: if (!empty($drawcode_data_model)) { goto mD86J; } goto j3Ysl; b5p2A: if (intval($sms_tmp["\x74\171\x70\145\163"]) == 0) { goto xcX_J; } goto N8MAS; jqhTy: $url = replaceDieDomain($config, __MURL("\165\x73\145\162\137\x64\162\x61\167\137\142\x75\x79", array("\141\x63\x74" => "\151\156\144\x65\x78"), false, TRUE), $userModel["\151\144"], $obj_types, $object["\x69\x64"], 0); goto mM6QP; Q9E4n: foreach ($buy_specs_field as $kyes => $vlaues) { goto EPJ3w; u0WLr: $object["\x74\x69\164\x6c\x65"] = $object["\x74\151\164\x6c\145"] . "\40\xe9\x80\x89\346\x8b\251\xe2\200\x9c" . $vlaues["\x53\160\x65\143\x73\116\141\155\x65"] . "\xe2\200\x9d\xe8\247\204\xe6\240\xbc\54\350\264\xad\xe4\xb9\260\346\x95\xb0\xe9\x87\x8f\72\x20" . $buy_reobjspecs["\163\x70\145\143\x73\x5f\156\165\155\x73"]; goto cQ3Lb; cQ3Lb: HVrA7: goto B0txk; B0txk: s1su1: goto fJ1fT; EPJ3w: if (!($vlaues["\151\144\x78"] == $buy_reobjspecs["\x73\x70\x65\x63\163\137\x69\144\x78"])) { goto HVrA7; } goto r79Lj; r79Lj: $object["\155\157\x6e\145\x79"] = $vlaues["\x53\x70\x65\x63\163\x50\162\151\143\145"] * $buy_reobjspecs["\x73\x70\145\x63\163\137\156\165\x6d\163"]; goto u0WLr; fJ1fT: } goto FUaRb; ldKX3: pdo_update(ztk_table("\165\x73\x65\x72\x5f\143\x6f\154\154\x61\x67\145\x5f\152\x6f\x69\156", false), array("\x6d\x6f\x6e\145\x79\x20\x2b\75" => floatval($prizeModel["\163\171\x73"])), array("\x69\144" => $joinModel["\151\144"])); goto D09Ty; Ld0N6: $obj_token = $objarr[0]; goto va_gP; qpu6g: $noticeMessage = "\346\201\xad\345\226\x9c\346\x82\250\357\xbc\x8c\350\x8e\xb7\345\276\227\350\xb4\xad\xe4\271\260\346\x8a\xbd\345\245\x96\345\245\x96\345\x93\x81\342\x80\x9c{$prizeModel_rebate["\156\141\155\145"]}\xe2\200\235\357\xbc\214\350\xaf\xb7\345\x88\xb0\xe6\x82\xa8\xe7\x9a\x84\345\xbe\xae\344\277\xa1\xe5\x8d\xa1\xe5\x8c\205\346\237\245\xe7\x9c\213\343\200\x82"; goto BJ0Ou; fhBJv: $ali_accesskeyid = $config["\141\154\151\x5f\141\x63\x63\145\163\163\153\x65\171\x69\144"]; goto NqNM2; GEgO3: $content = str_replace("\x7b\116\111\x43\x4b\x4e\x41\115\x45\175", $userModel["\156\x69\143\153\156\x61\x6d\145"], $content); goto XLPX3; tUArO: pdo_update(ztk_table("\x75\163\x65\162\137\x64\162\141\167", false), array("\x63\x61\162\144" => $prizeModel_rebate["\143\141\x72\x64"], "\x73\164\x61\164\x75\163" => 1, "\165\x70\144\x61\164\x65\164\151\x6d\145" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto qpu6g; OmtfQ: $originModel = array(); goto PfanQ; FIP_U: goto YOq4M; goto xuTi8; uX80E: $content = str_replace("\173\120\122\x49\132\x45\x7d", $prizeModel["\156\x61\155\x65"], $content); goto WAg6L; saPo2: Fbnig: goto i_R2C; t3B75: $noticeMessage = "\346\201\255\345\x96\x9c\xe6\x82\250\xef\xbc\x8c\xe8\216\xb7\xe5\xbe\227\xe8\xb4\xad\344\271\xb0\346\x8a\275\345\xa5\x96\xe5\245\226\345\223\x81\xe2\x80\234{$prizeModel_rebate["\x6e\141\x6d\x65"]}\342\200\x9d\xef\xbc\214\xe7\x8e\xb0\xe9\x87\221\xe7\272\242\xe5\214\205\xef\274\232{$prizeModel_rebate["\162\x65\x64"]}\xe5\x85\203\xef\xbc\214\xe8\xaf\xb7\345\210\260\346\x82\xa8\xe7\232\204\xe5\276\256\xe4\277\241\xe9\x92\xb1\xe5\x8c\205\346\x9f\xa5\xe7\234\213\343\x80\x82"; goto OwAyk; uoqi6: $userDrawRecordModel["\x73\x74\141\x74\165\163"] = $result === true ? 1 : 0; goto gZkME; tqPcS: if (!isSiteFollow($joinUserModel["\157\160\x65\156\151\144"])) { goto dQbXt; } goto n1Y_l; BEoSk: goto HNY7J; goto NyZpi; nNpWO: bWY4L: goto DdzJh; c63I_: ECElU: goto lmcZv; kdmoc: n8kiJ: goto zDxyZ; JnEHL: $drawcode = $draw_data["\x70\141\171\137\156\x75\155\x62\145\x72"]; goto j8YCs; fzL4c: if (empty($join_id)) { goto ouqAe; } goto BAO8s; rTZmq: $prizeModel["\163\171\x73"] = mt_rand($min * 100, $max * 100) / 100; goto Ie7W8; tZ20a: cJdQQ: goto qq1kO; xPqu2: $noticeMessage = ''; goto LIguJ; bFAKE: if (intval($prizeModel["\x74\x79\160\x65\x73"]) == 2) { goto ARb3C; } goto mlgI7; MqVFp: if (!(intval($prizeModel["\143\162\x65\x61\164\145\x5f\164\171\x70\145\x73"]) == 1)) { goto W9f35; } goto kwnYQ; NyrqQ: if (!(intval($prize2Model["\143\x72\x65\141\164\x65\x5f\164\171\160\x65\x73"]) == 1)) { goto l2ot9; } goto P23Me; mSFTW: if (empty($originModel)) { goto p7js7; } goto mptuc; f2_zy: jrFdx: goto mSQjV; J15M9: if (intval($prizeModel["\x74\x79\160\x65\x73"]) == 6) { goto MQ9Nl; } goto EAaiZ; OWeFe: $userMoneyRecharge["\165\x6e\151\141\143\x69\144"] = $uniacid; goto pVhhN; Hajlt: $ali_accesskeyid = $config["\x61\154\151\x5f\x61\x63\x63\x65\163\x73\x6b\145\x79\151\144"]; goto ERAGb; Te0I1: $result = sendSiteWeixinMchPay($joinUserModel["\157\160\145\x6e\151\144"], $prizeModel["\x77\x61\154\154\x65\164"] * 100, $prizeModel["\156\141\155\145"], true, $uniacid, $config); goto b7h3Q; mnRpm: $objparams = array("\72\x74\x6f\153\145\x6e" => $objarr[0], "\x3a\165\156\151\141\x63\151\144" => $uniacid); goto btZvp; Vysbp: $userDrawRecordModel["\165\156\151\x61\x63\151\144"] = $prizeModel["\165\x6e\151\141\143\x69\144"]; goto tWrhT; mlgI7: if (intval($prizeModel["\164\171\160\145\x73"]) == 3) { goto UyLXG; } goto pt62M; PZQVg: pdo_update(ztk_table("\155\141\162\x6b\145\x74\x69\x6e\x67\x5f\x75\163\x65\x72", false), array("\147\x65\164\x5f\156\x75\x6d\x20\x2b\x3d" => 1), array("\151\x64" => $origin_id)); goto mlm48; dXQhj: goto VWfem; goto ZExjj; ta9Mh: pdo_update(ztk_table("\165\163\x65\x72\137\x64\162\141\167", false), array("\167\141\154\154\x65\164" => $prizeModel["\x77\141\154\x6c\x65\164"], "\x73\164\141\x74\165\x73" => 1, "\165\160\x64\x61\x74\x65\164\151\x6d\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto u93kq; gE48G: $templatecode = $sms_tmp["\x74\145\155\160\154\141\164\145\x63\157\x64\x65"]; goto P0pdK; SY0Lg: $mobile = $joinUserModel["\x6d\x6f\x62\x69\154\x65"]; goto Dfsfl; GGXQ8: list($min, $max) = explode("\55", $prizeModel["\x77\x61\x6c\154\x65\164"]); goto vjTjS; PwxcQ: $userMoneyRecharge = array(); goto vM_Ix; KIwTr: $prizeModel = null; goto Whi1a; LPWVN: if (!empty($prizeModel)) { goto TOHly; } goto eu2Y9; YC42w: pdo_update(ztk_table("\x75\x73\x65\162\x5f\144\162\141\167", false), array("\x76\x69\162\164\x75\x61\154\137\x69\x64" => $virtualModel["\166\x69\162\x74\x75\141\x6c\x5f\x69\144"], "\166\x69\162\164\165\x61\x6c\137\x64\141\164\x61\x5f\x69\x64" => $virtualModel["\151\144"], "\x73\164\x61\164\x75\x73" => 1, "\165\160\x64\141\164\x65\164\151\x6d\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto LEyzm; C7nz7: $userDrawRecordModel["\x73\164\x61\x74\x75\163"] = 0; goto a6By2; Gm5ma: pdo_insert(ztk_nopre_table("\165\x73\x65\162\x5f\x64\x72\141\167\137\x72\x65\x63\x6f\162\x64"), $userDrawRecordModel); goto UHA4F; QAAN4: $postdata = array("\146\151\x72\163\x74" => array("\x76\141\154\x75\145" => "\xe6\x81\255\xe5\x96\234\xe6\202\xa8\x21\xe6\202\250\345\217\x82\xe4\xb8\216\xe6\264\273\xe5\212\250" . $object["\x74\151\x74\154\145"] . "\xe4\xb8\255\345\xa5\226\xe4\272\206", "\143\x6f\154\157\x72" => "\x23\x31\x37\x33\x31\x37\x37"), "\x6b\145\x79\167\157\162\x64\x31" => array("\x76\141\x6c\165\145" => $prizeModel["\156\141\155\145"], "\143\x6f\x6c\157\x72" => "\x23\x31\x37\x33\x31\x37\x37"), "\153\x65\171\167\157\162\x64\62" => array("\x76\x61\154\165\x65" => timeToStr(TIMESTAMP), "\143\157\x6c\x6f\x72" => "\x23\x31\x37\63\x31\x37\x37"), "\162\145\155\141\162\153" => array("\x76\x61\154\165\x65" => $noticeMessage, "\143\157\154\157\162" => "\43\x31\67\x33\61\67\x37")); goto FZxab; PQWOj: if (empty($prizeList)) { goto klm7P; } goto BRGAH; hNj2j: dIhTA: goto VpHVI; IjgfF: $content = str_replace("\x7b\127\x52\111\x54\x45\x4f\x46\106\103\x4f\x44\105\175", $writecode, $content); goto UsFjh; vNjST: $content = str_replace("\x7b\115\x4f\116\105\131\x7d", $prices_payment, $content); goto XJtv9; NirVw: $originModel = pdo_get("\154\x79\x77\x79\167\154\x5f\x7a\x74\x6b\x5f\x6d\141\162\x6b\145\x74\x69\156\147\137\x75\x73\145\x72", array("\151\144" => $orderPayModel["\x6f\162\151\147\x69\156\x5f\151\x64"], "\157\x62\x6a\x5f\x69\x64" => $object["\x69\x64"], "\x6f\x62\x6a\x5f\164\171\160\145\163" => $obj_types, "\165\x6e\x69\141\x63\151\144" => $uniacid)); goto OIeo3; wYRWH: pdo_update(ztk_table("\165\163\x65\x72\x5f\x64\162\x61\167", false), array("\x72\145\144" => $prizeModel_rebate["\x72\145\x64"], "\x73\164\141\164\165\x73" => 1, "\165\x70\144\141\164\x65\164\x69\155\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto y0Mz1; mfUk7: pdo_update(ztk_nopre_table("\x75\x73\145\162\137\x61\143\x63\x6f\165\156\x74"), $userUpdateModel, array("\151\144" => $userModel["\x69\x64"])); goto mpqzi; p8KX6: dtsa7: goto PINeB; EPP0F: pdo_update(ztk_table("\x75\x73\145\162\x5f\x64\162\x61\167", false), array("\x72\x65\x64" => $prize2Model["\x72\x65\144"], "\163\x74\141\x74\x75\x73" => 1, "\165\x70\x64\x61\x74\x65\x74\151\155\145" => TIMESTAMP), array("\151\144" => $draw_id)); goto z2TZ8; f4f5q: Cc_u6: goto CKgfJ; GpypR: $draw_id = pdo_insertid(); goto aLrZU; eNtki: $prizeModel_rebate["\163\143\x6f\162\x65"] = mt_rand($min, $max); goto LnAdG; yKH3G: l01NV: goto iCmZ9; GsazH: $draw_data["\145\156\144\x5f\164\151\x6d\145"] = $object["\x74\x69\155\x65\x5f\144\141\x79"] * 24 * 60 * 60 + time(); goto XwAQT; x0m5C: $template_id = $object["\142\165\x79\x5f\x70\x75\163\150\137\x74\x6d\160"]; goto oSJ_N; Yg5eC: if (!(intval($prizeModel["\x63\162\x65\141\x74\145\137\164\171\x70\x65\x73"]) == 1)) { goto GCz4T; } goto tpD0w; bZOSI: if (!($joinModel["\157\160\145\x6e\151\x64"] != $orderPayModel["\x6f\160\x65\x6e\x69\144"])) { goto Fh9a1; } goto YBeZQ; TBjgy: goto cpRzc; goto BR_U2; AJRFt: $first_mess = ''; goto L2DZr; Jkcdu: $draw_data = array("\165\x6e\x69\x61\143\151\144" => $uniacid, "\157\x62\152\137\x74\x79\x70\x65\163" => $obj_types, "\x6f\x62\x6a\137\x69\x64" => $object["\x69\x64"], "\x71\x72\x5f\151\144" => 0, "\161\x72\x5f\164\x6f\x6b\x65\x6e" => '', "\161\x72\137\x6e\165\x6d\x62\x65\x72" => 0, "\160\x72\151\172\145\x5f\151\x64" => 0, "\x74\171\160\x65\163" => 8, "\x6f\162\x69\x67\151\156\137\x69\144" => $origin_id, "\x6f\162\x69\x67\x69\x6e\137\164\145\141\x6d\x5f\x69\x64" => $origin_team_id, "\157\x72\x69\147\151\x6e\137\x62\x75\x79\x5f\164\x79\160\145\x73" => $origin_buy_types, "\156\141\155\145" => $object["\164\x69\x74\x6c\145"], "\x70\x61\x79\137\x6d\157\x6e\145\171" => $orderPayModel["\160\x61\x79\137\160\x72\x69\143\145"], "\160\141\171\x5f\163\171\x73\137\155\x6f\156\145\x79" => $pay_sys_money, "\x70\x61\171\x5f\156\x75\x6d\x62\x65\162" => $pay_number, "\151\156\x76\151\164\145\x5f\157\x70\145\156\151\144" => $joinModel["\157\160\145\156\151\144"], "\x70\x72\151\172\145\137\x70\x69\x63\137\165\162\154" => $object["\x70\x69\143\165\x72\154"], "\x77\162\151\x74\145\x6f\x66\x66\137\x74\x79\x70\x65\x73" => $writeoff_types, "\157\160\145\x6e\151\144" => $orderPayModel["\x6f\x70\x65\x6e\x69\x64"], "\156\x69\143\x6b\156\141\155\145" => $userModel["\x6e\151\143\153\x6e\x61\x6d\145"], "\x73\145\x78" => $userModel["\163\145\x78"], "\150\145\x61\x64\165\162\x6c" => $userModel["\x68\145\x61\144\x75\162\x6c"], "\x61\162\145\141" => $userModel["\x61\x72\145\141"], "\151\160" => $_SERVER["\x52\105\115\x4f\x54\x45\x5f\101\x44\x44\x52"], "\157\162\137\162\x65\142\141\164\x65\x32" => 0, "\x69\x73\137\162\145\x67\x69\x73\x74\145\162" => $object["\142\165\x79\137\x69\163\x5f\162\x65\147\151\x73\164\145\162"], "\162\145\x67\151\163\164\x65\162\137\144\x61\164\141" => base64_decode($register_data), "\143\x72\145\141\x74\145\x74\151\x6d\x65" => TIMESTAMP, "\x62\165\x79\137\x6e\165\x6d\142\x65\162" => 1); goto l35Hu; hRVeO: pdo_update(ztk_table("\x6f\x62\x6a\x5f\x63\x6f\154\x6c\x61\x67\145", false), array("\x67\145\164\x5f\x6e\x75\x6d\x20\53\x3d" => 1), array("\x69\144" => $object["\x69\x64"])); goto UWfZF; geaf8: $code_draw_data = array("\167\162\151\x74\145\x63\x6f\x64\145" => $encode_id); goto EYyhz; Ukjs3: pdo_update(ztk_table("\165\x73\x65\162\137\x61\x63\x63\157\165\x6e\x74", false), array("\x70\x72\157\x64\x75\143\x74\137\x6e\165\x6d\x20\x2b\x3d" => 1), array("\157\160\x65\x6e\151\x64" => $joinUserModel["\157\160\x65\156\x69\x64"])); goto Lc_7Z; bzAeq: $joinUserModel = pdo_get(ztk_nopre_table("\x75\x73\145\x72\x5f\141\143\143\157\x75\x6e\x74"), array("\x75\x6e\151\141\x63\x69\x64" => $uniacid, "\157\160\x65\x6e\x69\144" => $joinModel["\157\x70\x65\156\151\144"])); goto PgwJi; MHGIq: if (!($prizeModel["\164\171\x70\x65\163"] == 6)) { goto Kc7VE; } goto vac71; x7tBt: wAqhx: goto wrvtz; bvVIX: updateUserMoney($uniacid, $userModel["\157\160\x65\x6e\151\144"], $orderIntmallModel["\160\x61\x79\137\160\x72\x69\143\x65"], $note, 4, 0, 0); goto Adj9f; XBx9a: $pay_number = $params["\164\151\144"]; goto Rgu50; QlqK0: $url = replaceDieDomain($config, __MURL("\165\163\145\162\x5f\144\x72\x61\x77\137\142\x75\x79", array("\141\143\x74" => "\x69\156\144\145\170"), false, TRUE), $userModel["\x69\x64"], $obj_types, $object["\151\144"], 0); goto n1OvB; SdJ0X: list($min, $max) = explode("\x2d", $prizeModel["\x77\141\x6c\154\x65\164"]); goto xJ_6P; McT2x: if (!(intval($prizeModel["\143\162\x65\x61\164\x65\x5f\164\171\x70\x65\163"]) == 1)) { goto HeMV2; } goto Kyswm; vECLQ: $userDrawRecordModel["\x6f\142\152\x5f\x69\144"] = $prize2Model["\157\x62\x6a\x5f\x69\144"]; goto vluLn; V8x4H: list($min, $max) = explode("\x2d", $prizeModel["\x73\x79\x73"]); goto hw3GZ; rSLPW: I32Q1: goto pXWZp; m35_2: $joinPayModel["\x6e\151\143\153\x6e\x61\155\x65"] = $userModel["\156\151\x63\153\x6e\141\155\145"]; goto L98s1; vApNo: e0tjo: goto wzb8J; wWS4Q: goto f3zGl; goto hncLY; uuIMc: $userMoneyRecharge["\165\156\151\x61\143\x69\144"] = $uniacid; goto GJmED; O449l: if (!(intval($object["\x69\163\x5f\160\x75\x73\150"]) == 1)) { goto MI_AM; } goto rH2Nw; cgW9U: $userDrawRecordModel = array(); goto HUcEq; wLWDr: $encode_id = $hashids->encode($draw_id); goto HQlef; Ln_WZ: if (!(intval($object["\x69\x73\x5f\160\165\163\x68"]) == 1)) { goto T12H9; } goto Ijk5X; c52al: $join_draw_data["\145\x6e\144\137\x74\151\155\x65"] = 0; goto mTmF2; fQXjm: return true; goto myKZY; PnSMq: fUnoe: goto b7yKE; BWiIB: if (!(!empty($joinUserModel) && !empty($joinUserModel["\x6d\x6f\142\x69\154\145"]))) { goto Upo0u; } goto gDiB2; Q6zQp: $ali_accesskeyid = $config["\x61\x6c\151\137\141\x63\143\145\x73\163\x6b\145\x79\151\144"]; goto L0K8a; TBa27: $mobile = $joinUserModel["\155\x6f\x62\151\154\x65"]; goto vIJCu; LDHxA: if (empty($result)) { goto XAoKe; } goto d8PcW; e7rrr: $content = $content . "\40\xe3\x80\x90" . $sms_tmp["\x73\x69\147\x6e"] . "\xe3\x80\221"; goto Re3Xs; GeVvL: $templatecode = $sms_tmp["\x74\x65\155\160\x6c\141\164\145\143\157\144\x65"]; goto Neaw9; vxEp7: $content = $content . "\40\343\200\220" . $sms_tmp["\163\x69\x67\x6e"] . "\343\x80\221"; goto HIOsk; C9h4L: if (empty($join2Model)) { goto zwoPo; } goto pGbvn; Z2m9I: pdo_update(ztk_table("\x75\163\145\x72\x5f\x64\162\141\x77", false), array("\x72\145\144" => $prizeModel["\162\x65\144"], "\x73\x74\x61\164\x75\x73" => 1, "\x75\x70\144\141\164\145\164\x69\155\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto KZBdG; aZC7r: if (intval($prizeModel_rebate["\x74\171\x70\x65\x73"]) == 1) { goto flLYJ; } goto hdUU9; VbobQ: pdo_update(ztk_table("\157\x62\152\137\x73\x6f\154\151\x63\x69\164\x69\156\147", false), array("\x67\x65\164\x5f\156\x75\x6d\40\x2b\x3d" => 1), array("\x69\x64" => $object["\151\x64"])); goto sEkE8; VQaJO: goto zJJio; goto lM7YK; KNkxo: gtzXw: goto O3hm5; u3urd: ViWvH: goto iZD1Q; lhw5k: $origin_team_id = $originModel["\164\x65\141\155\137\x69\x64"]; goto RnbHc; dVhfR: czZsc: goto ENNLf; fi1x5: $url = replaceDieDomain($config, __MURL("\141\144\x6d\x69\156\163\x5f\155\141\162\153\145\x74\151\x6e\x67", array("\x6f\x62\152\x5f\x74\x79\160\x65\163" => $obj_types, "\157\x62\x6a\x5f\x69\x64" => $object["\x69\144"]), false, TRUE), 0, 0, 0, 0); goto OuEGd; RbXw6: goto bmipN; goto pgpdM; hWiat: ki9cs: goto vwLZO; vwxnw: pdo_update(ztk_table("\165\x73\x65\x72\137\x61\143\143\x6f\165\156\164", false), array("\x76\x69\x72\164\x75\141\154\137\156\165\155\40\53\x3d" => 1), array("\157\160\145\x6e\151\x64" => $join2UserModel["\x6f\160\x65\x6e\151\144"])); goto HFoA6; f1f7y: $userDrawRecordModel["\155\157\156\x65\x79"] = $prize2Model["\x72\x65\144"]; goto SxZHU; i5XtN: if ($is_award_prizes == 1) { goto MS1hF; } goto AsC4x; JZkrM: if (!($joinModel["\x6f\x70\x65\x6e\151\x64"] == $originModel["\x6f\160\145\156\x69\x64"])) { goto sTxVE; } goto Z1ctd; VBDkc: wm20s: goto wWpfW; zuCDO: $content = str_replace("\173\x4f\x42\x4a\175", $object["\164\151\164\x6c\x65"], $content); goto bCr0c; yXnvQ: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto WIJqZ; hZXNV: if (!(intval($object["\151\163\x5f\x73\x6d\163"]) == 1)) { goto fsNp0; } goto Cdrl1; Qw3T1: $userDrawRecordModel["\x73\164\141\164\x75\163"] = $result === true ? 1 : 0; goto A9wD2; WXrp_: if (intval($prizeModel["\x74\x79\x70\x65\x73"]) == 1) { goto EQRg3; } goto AZp08; dCtP5: $draw_data["\x65\156\144\x5f\164\151\155\145"] = 0; goto guSV_; BCuEH: $userDrawRecordModel["\163\145\156\144\x5f\x6e\141\155\145"] = $config["\x70\157\167\145\162"]; goto Bgad0; hHlL_: return true; goto LI0Yi; nBLk0: pdo_update(ztk_table("\165\x73\x65\x72\137\144\x72\x61\x77", false), array("\167\x61\x6c\154\145\x74" => $prizeModel["\x77\x61\154\154\x65\164"], "\x73\x74\141\164\165\x73" => 1, "\x75\x70\144\x61\164\145\x74\x69\155\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto OgkKa; FoWfi: $userDrawRecordModel["\x6f\160\145\156\x69\144"] = $join2UserModel["\x6f\x70\145\x6e\x69\144"]; goto SYXx9; Pj56p: wAyxM: goto jPzMG; awK4O: $result = sendWeixinCard($join2UserModel["\x6f\x70\145\x6e\151\144"], $prize2Model["\143\x61\162\x64"], $uniacid); goto lmOdX; Gacnv: ipuc5: goto DRPtv; Nu2_b: updateUserMoney($uniacid, $orderPayModel["\x6f\160\145\x6e\151\144"], $orderPayModel["\x70\141\x79\137\160\162\x69\143\x65"], $note, 4, $draw_data["\x6f\142\x6a\137\164\171\160\145\x73"], $draw_data["\157\x62\x6a\137\151\144"]); goto gg5HV; cHP_B: foreach ($prizeList as $key => $val) { goto ZLCIK; lG0VT: if (!($count >= intval($val["\154\x69\155\x69\164\156\165\x6d"]))) { goto sWUDK; } goto XdDqW; au97o: if (!($count >= intval($val["\154\151\x6d\x69\x74\x6e\165\155"]))) { goto hiDgE; } goto Sypxb; MgX_i: $count = pdo_fetchcolumn("\x53\105\114\105\103\x54\x20\103\117\x55\116\x54\x28\52\51\x20\x46\122\117\115\40" . ztk_table("\x75\x73\145\162\137\144\162\141\167") . "\x20\127\x48\x45\122\105\x20\160\x72\151\x7a\x65\x5f\151\x64\40\x3d\x20\x3a\160\x72\x69\172\x65\137\151\x64\40\101\116\104\40\157\x70\x65\156\x69\x64\x20\x3d\40\x3a\157\x70\x65\156\x69\144\40\x41\x4e\104\x20\x46\x52\117\115\137\x55\116\111\x58\124\111\115\x45\x28\x63\162\145\x61\x74\x65\164\x69\155\145\x2c\x20\47\45\131\x25\155\x25\144\x27\x29\x20\75\x20\104\101\x54\105\x5f\x46\117\122\x4d\x41\x54\50\116\x4f\127\50\x29\54\47\45\x59\x25\155\x25\144\x27\51", array("\72\160\162\x69\172\x65\137\x69\x64" => $val["\151\144"], "\72\157\160\x65\x6e\151\x64" => $joinUserModel["\157\x70\145\156\151\144"])); goto au97o; VKS3r: hiDgE: goto EPOXY; dGZIr: $arr[$key] = $val["\x6f\144\x64\163"]; goto rgZ0s; Sypxb: goto QjW2b; goto VKS3r; HmmRv: sWUDK: goto lZnpw; EPOXY: nJ0Ch: goto dGZIr; R19HJ: goto QjW2b; goto thDV0; e52id: if (!(intval($val["\154\151\155\x69\x74\x74\171\x70\145\163"]) == 1 && intval($val["\154\x69\x6d\x69\x74\x6e\x75\x6d"]) > 0)) { goto nJ0Ch; } goto MgX_i; GaFiB: $count = pdo_getcolumn(ztk_table("\165\x73\145\162\x5f\x64\x72\x61\x77", false), array("\160\162\151\172\145\x5f\151\144" => $val["\151\x64"], "\x6f\x70\145\156\x69\x64" => $joinUserModel["\157\x70\x65\156\x69\144"]), "\x63\157\165\x6e\164\x28\52\51"); goto lG0VT; thDV0: DBhFn: goto gvX5p; XdDqW: goto QjW2b; goto HmmRv; rgZ0s: QjW2b: goto abkhI; lZnpw: fFnGM: goto e52id; ZLCIK: if (!(intval($val["\x6f\144\144\163"]) <= 0)) { goto DBhFn; } goto R19HJ; gvX5p: if (!(intval($val["\154\x69\155\151\164\x74\171\160\145\x73"]) == 0 && intval($val["\x6c\151\x6d\x69\x74\x6e\165\x6d"]) > 0)) { goto fFnGM; } goto GaFiB; abkhI: } goto bUhNq; hKSHT: pdo_update(ztk_table("\165\x73\x65\x72\137\144\x72\141\167", false), array("\x72\145\x64" => $prizeModel["\162\145\144"], "\x73\164\141\x74\165\163" => 1, "\x75\x70\144\141\164\x65\164\x69\155\145" => TIMESTAMP), array("\151\144" => $draw_id)); goto TSI2b; Iz3go: $userUpdateModel = array(); goto cIuP8; eglJM: $mobile = $join2UserModel["\x6d\x6f\142\x69\x6c\x65"]; goto rYGiD; t5eck: $mobile = $joinUserModel["\x6d\157\142\x69\154\145"]; goto qXgTR; SKXhT: $content = str_replace("\173\116\x49\x43\x4b\116\x41\x4d\x45\175", $userModel["\156\x69\x63\153\x6e\141\x6d\x65"], $content); goto K0KCu; Zu0fr: updateUserMoney($uniacid, $orderPayModel["\x6f\160\145\156\151\144"], -$orderPayModel["\160\x61\x79\x5f\x70\x72\151\143\145"], $note, 3, $obj_types, $object["\x69\x64"]); goto k4QwT; VjUTJ: $hashids = Hashids::instance(6, "\x6c\x79\167\x79\x7a\164\x6b", ''); goto fR4xC; TAQEq: bVgxW: goto sDt_7; q6mHo: $draw_activity_model = pdo_get("\x6c\x79\x77\x79\x77\x6c\x5f\x7a\164\x6b\x5f" . $tableName, array("\151\x64" => $object["\x64\162\x61\x77\137\x61\143\164\x69\x76\x69\164\x79\x5f\151\144"], "\165\156\151\141\x63\x69\144" => $uniacid, "\155\157\144\145\x6c\x73" => 3)); goto IcoM3; pmkn2: $userMoneyRecharge["\157\160\x65\x6e\x69\144"] = $orderPayModel["\157\x70\x65\156\151\x64"]; goto qlHZK; aJNmi: $userDrawRecordModel["\167\x69\x73\x68\151\156\x67"] = "\xe6\201\xad\xe5\x96\234\xe5\217\221\xe8\xb4\xa2\40\xe5\xa4\247\xe5\x90\x89\345\244\247\xe5\x88\251\xef\xbc\201"; goto eP89H; gtLCA: $note = "\347\x94\250\346\210\267\xe5\205\x85\345\200\274\xef\274\x9a" . date("\x59\x2d\x6d\x2d\x64\x20\110\x3a\x69\x3a\163", TIMESTAMP) . "\x20\344\xbc\232\xe5\x91\x98\xe3\200\x90" . $userModel["\156\x69\143\153\x6e\141\155\x65"] . "\xe3\200\221\xe5\x8f\x82\344\270\216\xe6\264\273\xe5\x8a\xa8\xef\274\x9a" . $object["\164\x69\164\x6c\145"] . "\xef\xbc\214\345\234\xa8\347\xba\xbf\xe5\205\x85\xe5\200\xbc\xef\274\x9a" . floatval($orderPayModel["\x70\141\171\137\160\162\151\143\x65"]) . "\345\205\x83"; goto pON2_; w9wBC: $mobile = $userModel["\x6d\x6f\x62\x69\x6c\145"]; goto lkLlm; t4Eu8: goto elnQp; goto EE2r2; iH8Hb: $userDrawRecordModel["\x63\162\x65\141\x74\145\164\151\x6d\145"] = time(); goto esJVM; ba426: V4nM9: goto ISf6f; bh547: $userDrawRecordModel["\x75\156\x69\141\143\151\144"] = $prize2Model["\x75\x6e\x69\141\x63\x69\144"]; goto FoWfi; q1aEb: if ($prizeModel["\164\x69\155\x65\x5f\x74\171\160\145\x73"] == 2) { goto qFapa; } goto c52al; lN07E: if ($prizeModel["\164\x69\155\x65\137\164\x79\160\145\163"] == 2) { goto zVenV; } goto nVoKr; v9uQK: $content = str_replace("\173\116\111\103\x4b\x4e\x41\x4d\105\x7d", $joinUserModel["\x6e\x69\143\153\156\141\155\145"], $content); goto azb_4; WhPm4: goto VcNKv; goto sHi1H; Ss3jd: $userDrawRecordModel["\143\162\x65\141\164\x65\x74\x69\x6d\x65"] = time(); goto zS8E2; JWL3_: list($min, $max) = explode("\x2d", $prizeModel["\x77\141\x6c\154\x65\x74"]); goto fLkfF; qW4Ql: $joinPayModel["\x66\x72\157\156\x74\x5f\x6d\x6f\156\145\171"] = $object["\146\x72\x6f\156\164\137\155\157\x6e\145\171"]; goto OPp43; fADPC: if (intval($prizeModel["\164\x79\160\145\163"]) == 5) { goto WlnBF; } goto J15M9; bY0B9: pdo_update(ztk_table("\x75\163\145\x72\x5f\141\x63\x63\157\x75\156\x74", false), array("\166\151\162\x74\165\141\154\x5f\156\165\155\x20\53\75" => 1), array("\157\160\x65\156\x69\144" => $joinUserModel["\x6f\160\x65\156\x69\144"])); goto CU5PM; ycs0r: if (!isSiteFollow($userModel["\x6f\160\145\x6e\x69\x64"])) { goto I32Q1; } goto aiaSu; GUcZU: if (!(!empty($joinUserModel) && !empty($joinUserModel["\155\157\x62\151\154\x65"]))) { goto CPheQ; } goto v6IuE; hhRjW: list($min, $max) = explode("\55", $prizeModel["\167\141\154\x6c\145\x74"]); goto U6uST; cNK9g: kUwcS: goto VCaX9; j97Vl: Plhkk: goto ZJ0vc; fc3Tk: goto Y6aaT; goto euq2u; iO5DY: $userDrawRecordModel["\x74\171\160\145\x73"] = 0; goto e6_L3; c4Kc0: $content = str_replace("\x7b\x4e\111\103\x4b\x4e\x41\115\x45\175", $joinUserModel["\156\x69\x63\153\x6e\141\x6d\145"], $content); goto QCipu; f2MLL: goto n4v41; goto cNK9g; jeVtH: $userDrawRecordModel["\x72\145\x6d\x61\162\x6b"] = "\xe8\xb5\266\345\277\xab\xe5\210\206\344\272\xab\347\xbb\231\xe6\x82\250\347\x9a\x84\345\245\xbd\345\217\x8b\xe4\xb8\200\350\xb5\xb7\xe9\xa2\206\xe7\xba\242\xe5\214\x85\xe5\x90\247"; goto eQRCg; nZwgr: $content = $sms_tmp["\143\157\156\164\145\156\164"]; goto wdoDE; Op3ob: if ($prizeModel["\x74\x69\x6d\x65\x5f\x74\x79\160\x65\x73"] == 2) { goto ipuc5; } goto daeXH; cmOKe: pdo_update(ztk_table("\x75\163\145\162\x5f\141\143\x63\157\x75\x6e\164", false), array("\143\165\x73\164\x6f\x6d\x5f\x6e\x75\x6d\40\53\x3d" => 1), array("\157\160\x65\156\x69\x64" => $joinUserModel["\157\x70\x65\x6e\151\x64"])); goto YaIrG; tMh81: list($min, $max) = explode("\55", $prize2Model["\x73\x79\x73"]); goto tY78k; DE1TO: XV0I9: goto j1MB7; XZMIK: $userDrawRecordModel["\x6f\160\x65\x6e\151\144"] = $joinUserModel["\157\x70\x65\x6e\151\144"]; goto fieAV; MMz39: $join_draw_data = array("\165\x6e\x69\141\x63\x69\144" => $uniacid, "\157\142\x6a\137\164\x79\160\x65\x73" => $obj_types, "\x6f\142\x6a\x5f\x69\144" => $object["\x69\x64"], "\161\x72\x5f\151\144" => 0, "\x71\x72\x5f\x74\x6f\x6b\145\156" => '', "\161\162\137\156\165\x6d\x62\145\162" => 0, "\x6f\x72\x69\147\151\156\137\151\144" => $origin_id, "\x6f\162\151\x67\151\156\137\164\145\x61\x6d\x5f\151\144" => $origin_team_id, "\x70\141\171\x5f\156\165\x6d\x62\x65\162" => $pay_number, "\x70\x72\151\172\x65\137\151\144" => $prizeModel_rebate["\151\x64"], "\164\171\160\x65\163" => $prizeModel_rebate["\164\x79\160\145\163"], "\156\141\x6d\x65" => $prizeModel_rebate["\x6e\141\x6d\145"], "\x70\x61\171\x5f\157\160\x65\x6e\151\144" => $userModel["\x6f\160\145\x6e\151\144"], "\x70\162\x69\172\145\137\x70\x69\143\x5f\x75\x72\x6c" => $prizeModel_rebate["\160\x69\x63\x5f\x75\x72\x6c"], "\167\162\x69\x74\145\157\x66\x66\x5f\x74\171\160\x65\x73" => $prizeModel_rebate["\x77\162\x69\164\x65\x6f\146\146\x5f\164\171\160\145\x73"], "\157\x70\145\x6e\x69\144" => $userModel["\157\x70\x65\x6e\151\144"], "\x6e\151\x63\153\x6e\x61\155\x65" => $userModel["\x6e\x69\x63\153\156\x61\155\x65"], "\163\145\170" => $userModel["\x73\145\170"], "\x68\x65\141\144\165\162\154" => $userModel["\150\145\x61\144\165\162\154"], "\141\x72\145\141" => $userModel["\x61\x72\x65\141"], "\x69\x70" => $_SERVER["\x52\105\115\x4f\x54\105\x5f\101\x44\x44\122"], "\157\x72\137\x72\145\x62\x61\164\x65\x32" => 2, "\x69\x73\137\162\x65\x67\x69\x73\164\x65\162" => 0, "\162\x65\147\151\163\x74\145\x72\137\x64\x61\x74\x61" => '', "\x63\x72\145\141\x74\145\x74\151\x6d\145" => TIMESTAMP); goto deYP_; uyWOV: pdo_update(ztk_table("\165\x73\x65\162\137\144\x72\141\167", false), array("\163\171\163" => $prize2Model["\x73\x79\x73"], "\x73\x74\x61\164\165\163" => 1, "\x75\x70\x64\141\x74\145\x74\x69\155\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto P_fJJ; yHBce: if (empty($result)) { goto hLbdK; } goto Hul9A; Jc_xa: updateUserScore($uniacid, $joinUserModel["\x6f\x70\145\156\151\x64"], intval($prizeModel["\x73\143\157\162\x65"]), $note, 1, $obj_types, $draw_id); goto ribE3; lFIYI: pdo_update(ztk_table("\x75\163\145\162\137\144\x72\x61\167", false), array("\x73\171\x73" => $prizeModel["\163\x79\163"], "\x73\x74\141\x74\165\x73" => 1, "\x75\160\144\x61\x74\145\164\151\155\x65" => TIMESTAMP), array("\x69\144" => $draw_id)); goto yVp10; XnytB: goto gF7LG; goto SSTsr; KyNeB: $template_id = $config["\x6f\162\151\147\151\156\160\165\163\150\137\x74\155\x70"]; goto tiHOp; BsRZj: goto d4fvv; goto KBmyJ; AJtGS: Zolld: goto QlqK0; wLIiz: oA5D0: goto bHZlL; ARWo3: pdo_update(ztk_table("\165\x73\x65\x72\137\x64\x72\141\x77", false), array("\x73\x63\x6f\162\145" => $prizeModel["\x73\143\157\162\145"], "\163\x74\141\x74\x75\x73" => 1, "\x75\160\x64\x61\164\x65\x74\151\x6d\x65" => TIMESTAMP), array("\151\x64" => $draw_id)); goto GYLrz; RYuZL: $userDrawRecordModel["\163\x74\x61\x74\165\163"] = $result === true ? 1 : 0; goto wLZU1; NqNM2: $ali_accesskeysecret = $config["\141\154\151\137\x61\143\x63\x65\x73\163\153\x65\171\163\145\143\x72\145\x74"]; goto rauBw; JMLGj: $join_draw_data = array("\167\162\151\164\145\x63\157\x64\145" => $encode_id); goto Mn20G; J4O_d: j0B5d: goto iAIGE; ihAi8: $templatecode = $sms_tmp_rebate["\x74\x65\155\160\x6c\x61\164\145\143\x6f\x64\145"]; goto PQwAm; d1UNp: if (!($joinModel["\x6f\160\x65\x6e\151\x64"] == $originModel["\x6f\x70\x65\x6e\x69\144"])) { goto wAyxM; } goto EkEGi; VQheJ: $join_model = pdo_get(ztk_nopre_table("\165\163\145\x72\137\143\x75\x74\x5f\x6a\157\151\156"), array("\165\156\x69\x61\143\151\x64" => $uniacid, "\151\x64" => $join_id)); goto qhONc; Ttj5V: $userDrawRecordModel = array(); goto vVv7e; k2QSu: $join2Model = pdo_get(ztk_nopre_table("\x75\163\x65\162\137\x73\157\154\151\143\x69\164\151\x6e\147\x5f\x6a\157\151\156"), array("\165\x6e\x69\x61\143\151\x64" => $uniacid, "\157\142\152\x5f\x69\144" => $object["\151\144"], "\157\x62\152\x5f\164\x79\160\145\163" => $obj_types, "\x6f\160\x65\156\151\x64" => $draw2Model["\x6f\160\145\156\151\144"])); goto C9h4L; n8o1v: if (!isSiteFollow($originModel["\157\x70\x65\156\151\x64"])) { goto KVonb; } goto C2U8S; bI3TR: goto NZ5FW; goto TnCWC; EkEGi: $origin_buy_types = 1; goto F_KAm; cTYN5: $result = sendSiteWeixinRedPacket($joinUserModel["\157\x70\145\156\151\x64"], floatval($prizeModel["\x72\145\x64"]) * 100, "\346\201\255\xe5\x96\234\xe5\x8f\x91\350\xb4\xa2\40\345\244\xa7\xe5\220\211\345\xa4\xa7\xe5\210\xa9\357\xbc\201", "\347\xbb\217\xe5\205\270\346\x8b\xbc\345\233\xa2\346\xb4\273\345\212\xa8", "\xe8\265\266\xe5\xbf\xab\345\x88\x86\344\xba\253\xe7\xbb\231\xe6\x82\xa8\xe7\x9a\204\345\xa5\xbd\xe5\217\x8b\xe4\270\200\350\265\267\xe9\xa2\206\xe7\xba\xa2\xe5\214\205\345\220\247", $config["\x70\x6f\167\x65\162"], true, $uniacid, $config); goto jxSF0; A7mXj: $sms_tmp_id = $object["\142\x75\x79\137\163\155\163\137\164\x6d\x70\x5f\x69\144"]; goto ib8XN; xUL2n: goto HDSrF; goto Y8d5P; G2xYZ: pvkQe: goto LMWCk; Hn2yr: wGJNo: goto b3PWW; Ov8aG: $content = $content . "\40\343\200\x90" . $sms_tmp["\x73\151\147\156"] . "\343\200\x91"; goto G9cMO; aS838: $content = $sms_tmp["\143\x6f\156\164\x65\x6e\164"]; goto RJmAq; y73qJ: $joinPayModel["\151\x6e\166\x69\x74\x65\x5f\151\x64"] = $join_id; goto UkZzQ; IF1qG: $userDrawRecordModel["\x6f\160\145\x6e\x69\144"] = $joinUserModel["\x6f\x70\145\x6e\151\144"]; goto bdg9q; L83b0: g0Ld9: goto OZEMS; fvYEK: $virtualModel["\x6f\x70\145\156\x69\144"] = $join2UserModel["\x6f\x70\145\x6e\151\x64"]; goto eEBMI; fQEd3: $userMoneyRecharge["\155\157\x6e\145\x79"] = $orderPayModel["\x70\x61\171\x5f\160\x72\x69\143\145"]; goto GTgTx; Zz_VV: $userDrawRecordModel["\164\171\160\x65\163"] = 2; goto DBdft; ceGBj: if (empty($prizeList)) { goto glY3U; } goto KIwTr; eaATc: $draw_data = array("\165\156\x69\x61\143\x69\x64" => $uniacid, "\157\x62\x6a\137\164\171\x70\145\x73" => $obj_types, "\157\x62\x6a\137\x69\x64" => $object["\x69\x64"], "\x71\x72\137\151\x64" => 0, "\x71\x72\137\164\x6f\153\145\156" => '', "\161\x72\x5f\x6e\165\x6d\x62\x65\162" => 0, "\160\162\151\172\x65\x5f\151\x64" => 0, "\164\x79\160\x65\x73" => 8, "\157\x72\x69\x67\x69\x6e\x5f\x69\x64" => $origin_id, "\x6f\x72\151\147\151\x6e\137\164\x65\141\x6d\x5f\x69\144" => $origin_team_id, "\x6f\x72\x69\x67\151\x6e\x5f\142\x75\x79\x5f\x74\171\160\145\163" => $origin_buy_types, "\156\141\155\145" => $object["\164\151\x74\154\145"], "\x70\x61\x79\137\155\157\x6e\145\x79" => $orderPayModel["\x70\141\x79\x5f\160\162\x69\x63\x65"], "\x70\x61\171\x5f\163\x79\163\x5f\155\157\156\x65\x79" => $pay_sys_money, "\x70\x61\x79\137\x6e\x75\x6d\142\x65\162" => $pay_number, "\x69\156\x76\x69\164\145\137\x6f\x70\145\156\151\144" => $joinModel["\x6f\160\x65\156\151\x64"], "\160\162\x69\x7a\145\x5f\160\x69\x63\x5f\x75\162\x6c" => $object["\x70\x69\143\x75\162\x6c"], "\x77\x72\x69\164\145\x6f\146\x66\137\164\171\x70\145\x73" => $writeoff_types, "\157\160\x65\x6e\151\x64" => $orderPayModel["\157\160\x65\156\151\144"], "\156\151\x63\153\156\x61\x6d\145" => $userModel["\x6e\151\143\153\156\141\155\145"], "\163\x65\170" => $userModel["\x73\x65\x78"], "\x68\145\x61\x64\165\x72\154" => $userModel["\x68\145\x61\144\165\x72\x6c"], "\141\x72\x65\141" => $userModel["\141\x72\145\141"], "\151\160" => $_SERVER["\x52\x45\115\117\x54\x45\137\101\104\x44\x52"], "\x69\163\x5f\162\145\147\151\x73\x74\x65\162" => $object["\x62\165\x79\x5f\x69\x73\137\162\x65\x67\151\x73\164\145\162"], "\162\145\x67\x69\x73\164\145\162\x5f\144\x61\164\x61" => base64_decode($register_data), "\143\162\145\x61\x74\145\x74\x69\155\145" => TIMESTAMP, "\x62\x75\171\137\156\x75\x6d\x62\x65\162" => 1); goto piXkf; hvCCp: $userDrawRecordModel["\165\160\144\141\x74\145\164\151\x6d\145"] = time(); goto CdA7J; q2MN2: $userDrawRecordModel["\157\x62\152\137\164\171\160\145\x73"] = $prize2Model["\157\x62\152\137\164\171\x70\x65\163"]; goto DDi6a; TqDBB: if (intval($prize2Model["\x74\171\x70\145\163"]) == 6) { goto qkJgE; } goto rjMTu; oAGbO: $drawModel = pdo_get(ztk_table("\x75\x73\145\162\137\x64\162\141\167", false), array("\151\x64" => $draw_id)); goto EenpN; bfEwL: $origin_id = $orderPayModel["\x6f\x72\151\x67\151\156\137\151\x64"]; goto XwXWc; ou6kB: pdo_update(ztk_table("\x75\x73\145\162\137\x73\x6f\154\151\143\151\x74\x69\x6e\147\137\152\157\x69\x6e", false), array("\155\157\x6e\145\x79\x20\53\75" => floatval($prizeModel["\x77\141\x6c\x6c\x65\164"])), array("\x69\144" => $join_id)); goto PAWDW; QzmKd: if (!(!empty($userModel) && !empty($userModel["\x6d\157\x62\151\x6c\x65"]))) { goto JiDgB; } goto b5p2A; o27sF: $userDrawRecordModel["\x75\156\151\141\x63\151\144"] = $prizeModel["\x75\156\x69\x61\x63\151\144"]; goto Awu0G; okaBi: $mobile = $mobiles; goto FRWyX; CU5PM: $noticeMessage = "\346\x81\xad\xe5\226\234\xe6\202\xa8\xef\274\x8c\350\x8e\267\xe5\276\x97\350\277\x94\345\x88\xa9\345\245\x96\345\223\x81\xef\274\x9a" . $prizeModel["\x6e\141\155\x65"]; goto UZqiQ; MUB8d: $mobile = $userModel["\155\157\142\x69\154\145"]; goto xPMp4; eE58p: $param = ["\x6e\x61\x6d\145" => $userModel["\x6e\x69\143\x6b\156\141\155\x65"], "\157\x62\152" => mb_substr($object["\164\x69\164\x6c\x65"], 0, 20, "\x75\x74\x66\x2d\x38"), "\x6d\x6f\156\x65\171" => $drawModel["\x70\x61\x79\137\x6d\157\156\x65\171"] + $drawModel["\160\x61\171\137\x73\171\163\137\155\x6f\x6e\145\171"], "\143\x6f\x64\x65" => $writecode]; goto ETmIk; lWqPr: pdo_update(ztk_table("\157\x62\152\137\154\x61\x64\x64\x65\162", false), array("\x62\165\171\137\x6e\x75\155\40\53\x3d" => 1), array("\x69\x64" => $object["\x69\x64"])); goto Haozn; Udmwd: if (empty($join_id)) { goto FPq1J; } goto FqzI4; cP9KY: flLYJ: goto mDlAi; dK0lw: return true; goto I6fGe; O0onq: $origin_buy_types = 0; goto we6d9; b7PSU: $userMoneyRecharge["\155\157\156\145\x79"] = $orderPayModel["\160\141\171\137\x70\x72\x69\143\145"]; goto U_bDV; YZnbs: $result = sendWeixinCard($joinUserModel["\x6f\x70\x65\x6e\x69\144"], $prizeModel["\x63\x61\x72\x64"], $uniacid); goto L92Le; xttWU: $userDrawRecordModel["\x64\145\x73\143"] = $prizeModel["\x6e\141\155\x65"]; goto lJNoc; qPbOw: Iiq46: goto bbRue; FlWM6: if (intval($prizeModel["\x74\x79\x70\x65\163"]) == 4) { goto TQmv7; } goto fADPC; d9Twi: if (empty($result)) { goto gZ5Jq; } goto GpypR; QUzon: goto Q9VLh; goto drDCR; UWfBv: pdo_update(ztk_table("\x75\163\x65\x72\x5f\x61\143\143\x6f\x75\156\x74", false), array("\x76\151\x72\164\x75\141\x6c\137\156\x75\155\x20\x2b\x3d" => 1), array("\157\x70\x65\156\151\x64" => $joinUserModel["\157\x70\145\x6e\x69\144"])); goto VFEe4; ejcUH: goto sThX6; goto N8VY0; bFIo1: $ali_accesskeyid = $config["\x61\x6c\151\x5f\141\x63\x63\x65\163\163\153\x65\171\x69\x64"]; goto VqD43; EF713: return false; goto joK1k; a3MHr: goto Hu7y5; goto sXROk; P8z4B: $prizeModel["\167\x61\x6c\154\x65\164"] = mt_rand($min * 100, $max * 100) / 100; goto KQTOn; rVq28: $noticeMessage = "\346\201\255\xe5\x96\x9c\xe6\x82\250\xef\274\214\350\x8e\267\345\xbe\x97\350\xbf\x94\xe5\x88\xa9\xe5\xa5\226\345\x93\201\342\x80\x9c{$prize2Model["\x6e\x61\x6d\x65"]}\342\x80\x9d\xe8\x8e\xb7\345\276\227" . getCustomScoreName($GLOBALS["\x7a\x74\x6b\137\143\x6f\156\146\151\x67"]) . "\xe5\245\x96\xe5\x8a\xb1\357\xbc\232{$prize2Model["\x73\x63\157\162\145"]}\344\xb8\252"; goto QQrhP; jq8g1: $account_api = WeAccount::create(); goto h6Oqi; kFCfc: $rid = get_rand($arr); goto gQe0Y; lkLlm: $sign = $sms_tmp["\163\x69\x67\x6e"]; goto Cs7yq; ttSHE: P0i3U: goto X3wf1; uSw3K: $join_draw_data["\x65\x6e\x64\137\164\x69\x6d\145"] = 0; goto m_TVK; N1n7r: if ($prize2Model["\164\x69\x6d\145\x5f\164\171\160\145\x73"] == 1) { goto Ro5OQ; } goto hFsOX; bCpGO: MGScp: goto tF1sm; WKInQ: x2WZL: goto dgIDD; Jqlvq: pdo_insert(ztk_nopre_table("\165\163\145\162\137\155\x6f\x6e\145\x79\137\x72\x65\143\150\x61\x72\x67\x65"), $userMoneyRecharge); goto NuTru; O_hHu: pdo_update(ztk_table("\x75\x73\x65\162\x5f\165\x6e\x69\157\156\137\x6a\x6f\x69\156", false), array("\155\x6f\156\x65\171\x20\53\75" => floatval($prize2Model["\167\141\x6c\x6c\x65\164"])), array("\x69\x64" => $join2Model["\151\144"])); goto MLGA0; wdoDE: $content = str_replace("\173\116\x49\103\x4b\116\101\115\105\175", $join2UserModel["\156\151\x63\x6b\x6e\141\155\x65"], $content); goto wX9zr; n10Ui: $content = str_replace("\x7b\116\111\x43\x4b\116\x41\x4d\x45\175", $userModel["\x6e\151\143\153\x6e\x61\155\x65"], $content); goto uQE4R; gZkME: $userDrawRecordModel["\155\x6f\x6e\x65\171"] = $prizeModel["\167\141\154\x6c\x65\x74"]; goto ghO1E; HlxZy: T_Ba5: goto tTfaR; MvQX5: $userDrawRecordModel["\165\x6e\x69\141\143\151\x64"] = $prizeModel["\x75\156\151\141\143\151\144"]; goto XZMIK; GKSwj: $note = "\345\217\202\xe4\270\x8e\xe6\xb4\xbb\345\x8a\xa8\xef\xbc\x9a" . date("\131\55\155\x2d\x64\x20\110\x3a\151\72\163", TIMESTAMP) . "\40\344\xbc\x9a\xe5\221\230\xe3\x80\x90" . $userModel["\156\151\x63\x6b\156\x61\155\145"] . "\343\x80\x91\345\217\x82\xe4\270\216\346\264\273\xe5\212\xa8\xef\274\x9a" . $object["\x74\151\x74\x6c\x65"] . "\xef\xbc\214\xe4\275\x99\351\xa2\x9d\xe6\x94\257\xe4\273\230\xef\274\232" . $pay_sys_money . "\xe5\x85\x83"; goto QM2Fl; hGgj9: if (empty($originModel)) { goto Ubnbz; } goto mr3D3; YavMn: $writecode = $encode_id; goto Tji0R; oa7aB: goto gHGS0; goto NIIk7; fqArG: $encode_id = $hashids->encode($draw_id); goto Q7rWt; euq2u: Ro5OQ: goto MZNgz; j1j8I: if (!(!empty($joinUserModel) && !empty($joinUserModel["\155\157\142\151\x6c\x65"]))) { goto f4He5; } goto vNJf2; iEGig: $postdata = array("\x66\x69\162\x73\x74" => array("\x76\141\154\x75\x65" => "{$originModel["\156\141\155\x65"]}\xef\274\x8c\xe6\x82\250\xe5\x8f\x82\344\xb8\x8e\xe7\232\204\346\xba\xaf\346\272\x90\346\264\xbb\xe5\212\xa8\xe6\234\x89\xe6\x96\xb0\347\x9a\204\350\xae\xa2\xe5\x8d\x95", "\143\x6f\154\x6f\162" => "\x23\61\x37\63\61\x37\x37"), "\x6b\145\171\167\x6f\x72\144\x31" => array("\x76\x61\x6c\165\x65" => "\xe6\224\xaf\xe4\273\x98{$drawModel["\160\x61\x79\x5f\155\x6f\x6e\145\x79"]}\xe5\205\x83\x20\344\xbd\x99\xe9\xa2\x9d{$drawModel["\160\141\171\137\x73\171\163\x5f\x6d\x6f\x6e\x65\171"]}\xe5\205\203", "\143\157\x6c\157\162" => "\43\61\x37\63\x31\x37\x37"), "\x6b\145\x79\x77\x6f\x72\x64\62" => array("\x76\x61\x6c\x75\145" => $object["\164\x69\x74\154\145"], "\x63\157\x6c\x6f\x72" => "\x23\x31\x37\63\61\x37\67"), "\153\145\171\167\x6f\x72\x64\x33" => array("\166\x61\x6c\165\x65" => $drawModel["\x70\141\171\137\x6e\x75\155\142\145\162"], "\143\157\154\x6f\162" => "\43\x31\x37\63\61\67\67"), "\x6b\x65\x79\x77\157\x72\144\64" => array("\x76\141\x6c\165\x65" => "\xe3\200\x90{$userModel["\156\151\x63\153\156\141\x6d\145"]}\xe3\200\221" . $userModel["\155\157\x62\x69\x6c\145"], "\x63\x6f\154\x6f\162" => "\x23\61\67\63\61\x37\x37"), "\162\x65\155\141\x72\153" => array("\166\x61\x6c\165\x65" => "\xe7\x82\271\345\x87\xbb\346\x9f\245\xe7\x9c\x8b\346\xba\xaf\346\272\x90\347\xbb\x9f\350\xae\xa1\xe6\225\xb0\346\215\xae", "\143\x6f\x6c\157\162" => "\43\x31\67\x33\61\67\67")); goto zJEJr; hHpIn: H96VU: goto NyrqQ; LLNIY: KGeMw: goto P1WiI; HitDb: $userDrawRecordModel["\x74\171\160\x65\x73"] = 2; goto yEevv; Tb5FR: yfSJm: goto eeOcj; Um4aq: $content = $content . "\x20\xe3\x80\x90" . $sms_tmp["\163\x69\x67\156"] . "\xe3\200\x91"; goto nuRMu; CmVlL: pdo_insert(ztk_nopre_table("\x75\163\x65\x72\137\x64\162\141\x77\x5f\x72\x65\143\x6f\x72\x64"), $userDrawRecordModel); goto wCV08; Bgad0: $userDrawRecordModel["\167\x69\163\150\x69\156\x67"] = replaceShareInfo($object["\167\x69\x73\x68\151\156\x67"], $joinUserModel["\x6f\x70\145\156\x69\x64"]); goto lTj5o; xrB2G: Y6aaT: goto NxKYU; Fs518: LAPsB: goto kPJOS; uKhxb: $userDrawRecordModel["\166\151\x72\x74\165\141\154\137\151\x64"] = $object["\166\x69\162\164\x75\141\x6c\x5f\x69\144"]; goto AFjCq; oiMP6: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto ij404; h8G6G: $prizeModel_rebate = $prizeList_rebate[$rid]; goto p8CZo; Qa4QM: if (empty($originModel)) { goto KFp_F; } goto JZkrM; qjNB0: if (!($orderIntmallModel["\x70\141\x79\x5f\x70\162\151\x63\145"] > 0)) { goto wAqhx; } goto bxb16; jhzJB: $prizeList = pdo_getall(ztk_table("\160\162\151\172\x65\x5f\x69\164\x65\155", false), array("\165\156\x69\x61\x63\x69\x64" => $uniacid, "\x6f\x62\152\137\164\x79\160\145\163" => $obj_types, "\x6f\142\152\x5f\x69\144" => $object["\x69\144"], "\163\x74\x61\x74\165\163" => 1, "\x6f\x72\137\x72\x65\142\141\164\145\x32" => 0), array(), '', "\163\157\162\x74\x20\141\163\143"); goto kKyMx; f8sDa: LhMWB: goto qPbOw; drDCR: JfNhj: goto j9lwW; qNMOo: hc_WE: goto ieIAh; l6krz: if (!isSiteFollow($joinUserModel["\x6f\160\145\156\151\x64"])) { goto PA6q4; } goto QAAN4; a_Kxf: if ($orderIntmallModel["\x70\x61\171\137\x70\162\x69\x63\x65"] > 0) { goto coiaQ; } goto ztA8W; XkAn2: $writecode = ''; goto joy7Z; XsDfQ: $userDrawRecordModel["\165\156\x69\141\143\x69\x64"] = $prize2Model["\165\x6e\151\x61\143\151\144"]; goto dfJbU; m4DQP: $virtualModel = pdo_get(ztk_table("\x70\x72\x69\x7a\145\137\x76\151\x72\x74\165\x61\154\x5f\x64\x61\x74\x61", false), array("\166\151\x72\x74\165\141\154\x5f\x69\144" => $prizeModel["\166\151\x72\164\165\141\154\137\x69\x64"], "\x73\x74\141\x74\165\163" => 1)); goto a9U8F; GoUgF: $userDrawRecordModel["\163\x65\156\144\137\x6e\x61\x6d\145"] = $config["\x70\157\x77\145\x72"]; goto qkih0; Y221N: $sql = "\123\x45\114\105\103\124\x20\52\x20\x46\x52\117\x4d\40" . tablename("\154\x79\167\171\x77\154\137\172\164\153\137\x6f\x62\152\x5f\x75\156\151\157\156") . "\x20\127\x48\x45\122\105\x20\x74\x6f\153\145\156\x20\x3d\x20\x3a\x74\157\x6b\145\x6e\40\101\x4e\104\x20\x75\x6e\151\141\x63\151\x64\40\75\x20\x3a\x75\x6e\151\x61\x63\x69\x64"; goto SfROG; Y8d5P: aYrLg: goto Os6jF; Qh3Nz: if (intval($prizeModel["\x74\171\160\145\163"]) == 7) { goto gNXr9; } goto z1YzY; jfOTn: $prizeModel["\x72\x65\x64"] = mt_rand($min * 100, $max * 100) / 100; goto BuJVh; VGpgb: $ali_accesskeysecret = $config["\x61\154\151\x5f\x61\x63\143\145\x73\163\153\x65\x79\x73\145\x63\162\x65\164"]; goto eglJM; Rk0TP: if (intval($prizeModel["\x74\x79\x70\x65\x73"]) == 3) { goto f2o_D; } goto P5sbj; yrRGo: if (intval($prizeModel["\x74\171\160\x65\163"]) == 4) { goto G7cuh; } goto FBsve; d0kt0: aj3sY: goto vMonI; KkR9_: goto t2toq; goto wYLla; Kr2Ka: pdo_update(ztk_table("\165\x73\145\162\137\141\143\143\x6f\x75\156\164", false), array("\160\x72\157\x66\x69\164\x5f\155\157\x6e\145\171\x20\x2b\75" => $prizeModel["\x77\x61\x6c\154\145\164"], "\x77\x61\x6c\154\x65\x74\137\x6d\157\x6e\x65\x79\40\53\75" => $prizeModel["\x77\x61\154\x6c\x65\x74"], "\x77\141\x6c\154\x65\164\x5f\155\x6f\156\x65\x79\137\x6e\165\x6d\40\x2b\x3d" => 1), array("\x6f\160\x65\156\x69\144" => $joinUserModel["\157\x70\x65\156\x69\x64"])); goto sL5jL; jUTIU: $noticeMessage = "\xe6\201\xad\xe5\226\234\346\202\xa8\xef\274\214\350\x8e\267\xe5\xbe\x97\350\277\x94\345\x88\251\xe5\xa5\x96\345\223\201\357\xbc\x9a" . $prizeModel["\156\141\x6d\145"]; goto f2_zy; FWIrl: fOW4C: goto hRVeO; zA8qC: pdo_update(ztk_table("\157\x62\x6a\x5f\x75\156\x69\157\156", false), array("\x67\x65\164\137\156\165\x6d\x20\53\75" => 1), array("\151\x64" => $object["\151\x64"])); goto RlFRz; Q2pXc: if (intval($prizeModel["\164\171\160\145\163"]) == 3) { goto Et052; } goto yrRGo; Uxgvh: JjBjU: goto IwKBe; qUlz9: bMguR: goto npatM; XYokx: r7iYc: goto g5f6l; Fc743: goto lEI_a; goto CcSS1; UpUCE: pdo_update(ztk_table("\155\x61\162\153\145\x74\x69\156\x67\137\165\x73\x65\x72", false), array("\142\165\171\x5f\x6e\165\x6d\x20\53\x3d" => 1), array("\151\144" => $origin_id)); goto DcHrw; Jr4aw: pdo_insert(ztk_nopre_table("\x75\163\x65\x72\137\154\x61\144\144\x65\x72\x5f\x6a\157\x69\x6e"), $joinPayModel); goto Z2dr2; WYhv_: $sign = $sms_tmp["\163\151\147\156"]; goto Xv2hx; yNB5e: if (empty($object["\151\163\137\142\165\171\137\x64\x72\x61\x77"])) { goto BusWV; } goto XKPU6; cbTUq: if (intval($prizeModel_rebate["\x74\171\x70\145\163"]) == 4) { goto e7fWm; } goto wU6Bg; cuNVZ: $joinPayModel["\x6f\142\x6a\137\164\171\x70\145\x73"] = $obj_types; goto qfoeL; D6Wu1: $virtualModel["\x6f\160\145\x6e\151\x64"] = $userModel["\x6f\160\x65\156\151\144"]; goto bPjYa; sjyua: pdo_update(ztk_table("\165\163\145\x72\x5f\144\162\141\167", false), array("\166\x69\162\164\x75\x61\154\137\151\144" => $virtualModel["\x76\151\x72\164\165\141\x6c\137\x69\144"], "\x76\151\x72\164\x75\x61\x6c\137\x64\x61\x74\x61\x5f\x69\144" => $virtualModel["\x69\x64"], "\163\164\x61\x74\165\163" => 1, "\x75\160\x64\141\164\x65\x74\151\155\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto zKpL3; ht6YK: goto GXoDI; goto q8Uj1; ugPTA: XU93O: goto NEq0v; KjRUc: N76e0: goto tfOA9; QSzTL: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto bhozU; svS0F: pdo_update(ztk_table("\x75\x73\x65\162\137\141\x63\143\x6f\165\156\164", false), array("\143\141\x72\144\x5f\156\165\155\40\x2b\x3d" => 1), array("\157\x70\x65\156\151\x64" => $joinUserModel["\157\160\x65\x6e\x69\x64"])); goto YK8Zj; OmVv2: $userDrawRecordModel["\x73\145\156\144\137\156\141\x6d\x65"] = $config["\x70\157\167\145\162"]; goto a83ul; G1wde: $virtualModel["\163\x74\141\x74\165\x73"] = 0; goto Q9ybU; VKMdi: e7fWm: goto LfQ5V; wLZU1: $userDrawRecordModel["\155\157\x6e\145\x79"] = $prizeModel_rebate["\162\145\x64"]; goto RITGy; WIJqZ: K2vHg: goto ebajn; hq16w: goto bEdX1; goto CDoCE; hv47c: if (!(!empty($joinUserModel) && !empty($joinUserModel["\155\157\142\x69\x6c\145"]))) { goto q88PZ; } goto QV4GA; aD2mF: pk9F3: goto fRxhA; YxuP9: pdo_update(ztk_nopre_table("\157\162\x64\145\162\x5f\160\141\171"), array("\x73\164\x61\x74\x75\x73" => 1, "\156\157\164\145" => implode("\x2c", $params)), array("\x69\144" => $orderPayModel["\x69\x64"])); goto ynynY; PHqY7: if (intval($sms_tmp["\164\x79\x70\x65\163"]) == 0) { goto Oe4SL; } goto bFIo1; EX8kU: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto JJ8pG; T22se: pdo_update(ztk_table("\x75\163\145\x72\x5f\143\x6f\x6c\x6c\x61\x67\x65\137\152\157\151\156", false), array("\155\x6f\x6e\x65\x79\x20\53\75" => floatval($prizeModel["\x77\x61\154\154\145\164"])), array("\x69\144" => $joinModel["\151\x64"])); goto IYoK3; ebajn: Vr1g7: goto AQth6; PgwJi: $prizeList = pdo_getall(ztk_table("\160\162\x69\x7a\145\137\151\164\145\155", false), array("\165\156\x69\141\143\x69\144" => $uniacid, "\x6f\142\x6a\137\x74\x79\160\x65\163" => $obj_types, "\x6f\x62\152\137\x69\x64" => $object["\x69\144"], "\x73\x74\141\x74\x75\x73" => 1, "\157\162\137\x72\x65\x62\141\x74\145\62" => 0), array(), '', "\x73\x6f\x72\164\40\x61\x73\x63"); goto PQWOj; eCWub: goto yNOLs; goto GbZB5; iULzg: $prizeModel["\162\145\144"] = mt_rand($min * 100, $max * 100) / 100; goto f3ilL; Krj4A: pGsao: goto bH7jh; KdRVC: goto kq2bp; goto VYEoK; qe19v: ySDFg: goto BZIQD; bB_13: if (empty($join_id)) { goto sq1WL; } goto hADT7; P1lU3: pdo_update(ztk_table("\x6f\142\152\x5f\143\165\164", false), array("\147\x65\164\x5f\x6e\x75\x6d\x20\x2b\75" => 1), array("\x69\144" => $object["\x69\144"])); goto Vx1it; cf25C: pdo_update(ztk_table("\155\x61\x72\x6b\145\164\x69\x6e\x67\137\165\x73\x65\x72", false), array("\155\x61\162\153\145\164\x69\x6e\147\137\x6e\165\x6d\40\x2b\x3d" => 1), array("\x69\144" => $origin_id)); goto wstWy; c4gTO: $result = sendTplNotice($uniacid, $originModel["\x6f\160\x65\x6e\151\144"], $postdata, $template_id, $url); goto I1lbA; soE3G: if (empty($sms_tmp)) { goto MGScp; } goto iHfRM; HwPSl: $userDrawRecordModel["\x73\x74\x61\164\165\163"] = $result === true ? 1 : 0; goto lG_r9; pcRCF: if (intval($prize2Model["\164\171\x70\145\163"]) == 4) { goto UEmug; } goto t9ueg; P5yPU: if (intval($sms_tmp["\164\171\x70\145\163"]) == 0) { goto MnJDW; } goto JYyZL; dRn2i: $userUpdateModel["\x6a\x6f\x69\156\x5f\156\x75\x6d"] = $userModel["\x6a\157\x69\x6e\x5f\156\x75\x6d"] + 1; goto yZPp8; SYXx9: $userDrawRecordModel["\157\142\152\137\x74\171\x70\145\163"] = $prize2Model["\157\x62\152\137\x74\x79\160\145\163"]; goto vyA3h; uk_iI: if (empty($result)) { goto pL18B; } goto mPxov; Xtiht: $content = str_replace("\x7b\x57\122\111\124\105\x4f\x46\106\x43\x4f\104\x45\x7d", $writecode, $content); goto DnLRy; jkuoy: $mobile = $joinUserModel["\x6d\157\142\x69\154\x65"]; goto z5KB8; U_bDV: $userMoneyRecharge["\143\162\x65\141\x74\145\x74\151\x6d\145"] = TIMESTAMP; goto JuH1H; w0tvK: if ($object["\151\163\137\157\x70\x65\x6e\x5f\163\164\x6f\x63\x6b"] == 1) { goto jFKrN; } goto cdhcq; Hn35h: $sn = $config("\x73\x6d\x73\x5f\x75\151\144"); goto JZTfw; ThZJF: if ($prizeModel["\x74\x69\x6d\145\x5f\x74\171\160\145\163"] == 2) { goto LNUIZ; } goto RwF3n; HLlby: $userDrawRecordModel["\x74\x79\160\145\163"] = 1; goto chb68; w2Nb_: $userDrawRecordModel["\155\157\x6e\145\171"] = $prizeModel["\162\145\144"]; goto OmVv2; xz7k9: $postdata = array("\146\x69\x72\x73\x74" => array("\x76\141\x6c\x75\x65" => "\346\x82\xa8\xe5\245\275\xef\xbc\x8c\xe6\202\xa8\xe5\xb7\262\xe8\xb4\255\344\xb9\xb0\346\x88\x90\345\212\x9f\xe3\x80\202", "\143\x6f\154\157\162" => "\x23\x31\x37\x33\x31\67\67"), "\153\x65\171\x77\157\162\x64\x31" => array("\x76\x61\x6c\x75\145" => $object["\164\151\164\x6c\145"], "\x63\157\x6c\157\x72" => "\x23\x31\67\63\x31\67\67"), "\153\145\x79\167\157\162\x64\62" => array("\x76\x61\154\165\145" => $drawModel["\x70\141\171\137\x6e\x75\x6d\x62\145\x72"], "\143\157\154\157\x72" => "\x23\x31\x37\63\61\67\67"), "\x6b\x65\171\x77\157\x72\144\63" => array("\166\x61\x6c\x75\145" => "\xe6\224\257\344\273\x98{$drawModel["\x70\x61\171\x5f\155\x6f\156\x65\x79"]}\xe5\x85\x83\40\xe4\xbd\231\351\xa2\x9d{$drawModel["\160\141\171\137\x73\171\163\137\x6d\157\156\145\x79"]}\345\x85\x83", "\x63\x6f\154\157\162" => "\x23\x31\x37\x33\x31\x37\67"), "\x6b\145\171\x77\x6f\x72\144\x34" => array("\166\141\x6c\165\x65" => date("\x59\55\155\55\144\x20\x48\72\x69\x3a\x73", time()), "\x63\x6f\x6c\157\162" => "\43\61\67\x33\61\67\67"), "\x72\x65\x6d\141\x72\x6b" => array("\166\x61\154\x75\x65" => "\346\x84\237\350\260\242\346\x82\250\347\232\x84\xe5\205\211\344\xb8\264\357\xbc\x81", "\x63\x6f\x6c\x6f\x72" => "\43\61\67\63\x31\x37\67")); goto E5WAf; DCu3i: a7UBc: goto RxTFu; C0jwf: $rid = get_rand($arr); goto w4qWA; qqE38: RodPf: goto qNjVX; Ti4Ld: $ali_accesskeysecret = $config["\x61\154\x69\x5f\x61\143\143\x65\163\163\153\x65\x79\x73\145\143\x72\x65\164"]; goto ZUeEX; qmyEO: pdo_update(ztk_table("\165\x73\145\162\x5f\x61\x63\x63\x6f\x75\x6e\164", false), array("\x70\x72\157\146\x69\x74\137\155\157\156\x65\x79\40\x2b\x3d" => $prizeModel["\167\x61\154\x6c\x65\164"], "\167\141\x6c\x6c\x65\x74\x5f\x6d\x6f\156\145\171\x20\x2b\75" => $prizeModel["\167\141\154\154\x65\164"], "\x77\x61\154\x6c\x65\x74\x5f\155\x6f\156\145\x79\x5f\156\165\x6d\x20\53\x3d" => 1), array("\157\160\x65\156\x69\144" => $joinUserModel["\157\x70\145\x6e\x69\144"])); goto EPqLE; aCdUb: $userDrawRecordModel["\x63\x61\x72\x64\137\151\144"] = $prizeModel_rebate["\x63\x61\x72\144"]; goto tSVVr; WH3tQ: $join_draw_data["\145\156\x64\137\164\x69\155\145"] = 0; goto ic_wS; ym0o8: xXuz3: goto DfKf_; rDU5W: WBLH1: goto PlNGo; ySw2z: yf5eg: goto Eds6J; Haozn: if (empty($originModel)) { goto fXSmn; } goto cf25C; s2DEw: $prize2List = pdo_getall(ztk_table("\160\162\x69\x7a\145\137\x69\x74\x65\x6d", false), array("\x75\x6e\x69\x61\143\151\144" => $uniacid, "\x6f\142\152\x5f\x74\x79\160\145\163" => $obj_types, "\x70\162\x69\x7a\145\163\x5f\x74\x79\160\x65\x73" => 0, "\x6f\x62\x6a\137\x69\x64" => $object["\x69\144"], "\163\x74\141\164\165\x73" => 1, "\x6f\162\137\162\145\x62\x61\164\145\62" => 1), array(), '', "\x73\x6f\162\164\x20\x61\163\143"); goto vNYf0; kUBj6: goto FyMQM; goto dCSEi; EYyhz: pdo_update(ztk_table("\165\163\145\162\137\x64\162\x61\167", false), $code_draw_data, array("\151\x64" => $draw_id)); goto p4Fim; NfBf5: $content = str_replace("\173\117\102\112\175", $object["\164\x69\x74\x6c\145"], $content); goto dbI6t; B0vEe: $mobile = $joinUserModel["\155\157\x62\151\154\145"]; goto nJb16; ApjZ5: $userDrawRecordModel["\163\x65\x6e\x64\x5f\x6e\141\155\145"] = $config["\160\157\167\145\162"]; goto hkMEU; XRvgx: pdo_update(ztk_table("\165\163\145\x72\137\144\162\x61\x77", false), array("\x76\151\162\164\x75\x61\x6c\137\x69\144" => $virtualModel["\166\151\x72\x74\165\x61\154\137\x69\x64"], "\x76\151\162\164\165\141\x6c\137\x64\x61\x74\x61\x5f\x69\144" => $virtualModel["\151\x64"], "\163\x74\x61\164\x75\163" => 1, "\165\x70\144\141\x74\x65\x74\151\155\145" => TIMESTAMP), array("\151\144" => $draw_id)); goto D6Wu1; yzwSa: if (empty($originModel)) { goto tuzKZ; } goto d1UNp; na2uc: pdo_update(ztk_table("\x6d\141\162\x6b\x65\164\x69\x6e\x67\x5f\165\x73\x65\162", false), array("\155\141\x72\x6b\145\x74\151\x6e\147\137\x6e\x75\x6d\x20\x2b\x3d" => 1), array("\151\144" => $origin_id)); goto bQOm1; h3noG: pdo_update(ztk_table("\x75\x73\x65\x72\137\x61\143\x63\x6f\x75\x6e\164", false), array("\x63\x61\x72\x64\137\x6e\165\x6d\x20\x2b\75" => 1), array("\x6f\x70\145\x6e\x69\x64" => $joinUserModel["\157\x70\x65\156\x69\x64"])); goto u6l9C; PVtvZ: if (!($object["\x6d\x6f\144\145\x6c\x73"] == 2)) { goto CTIuZ; } goto vlZEw; u93kq: pdo_update(ztk_table("\165\163\145\x72\137\x75\156\151\157\x6e\x5f\152\x6f\x69\156", false), array("\x6d\157\x6e\x65\x79\x20\53\x3d" => floatval($prizeModel["\167\x61\154\154\145\x74"])), array("\x69\144" => $join_id)); goto nqjq_; Tq9ak: ssq3w: goto BnAoP; UvUqD: if (!($object["\142\165\x79\137\x69\x73\137\163\x70\145\x63\x73"] == 0)) { goto i__2A; } goto XFLbg; geAAb: $content = $content . "\40\xe3\x80\220" . $sms_tmp["\163\x69\147\x6e"] . "\xe3\x80\221"; goto PARge; c34Hv: $userMoneyRecharge["\143\x72\x65\x61\164\145\x74\151\155\145"] = TIMESTAMP; goto M3J1N; EenpN: if (!(intval($object["\142\165\171\x5f\151\163\137\x73\x6d\163"]) == 1)) { goto Z5buT; } goto coM50; nCh_B: $joinPayModel["\x75\x6e\151\141\x63\x69\x64"] = $uniacid; goto cuNVZ; M5lE1: $userDrawRecordModel["\x75\x6e\151\141\x63\x69\144"] = $prize2Model["\x75\x6e\151\x61\x63\x69\144"]; goto IwSSN; JZTfw: $pwd = $config("\x73\155\163\x5f\x6b\x65\171"); goto wnExP; wQhD5: if (empty($sms_tmp)) { goto j4YJM; } goto y3HLc; XFLbg: $buy_reobjspecs["\x73\160\x65\x63\163\137\x6e\x75\155\x73"] = 1; goto v3Ge2; eP89H: $userDrawRecordModel["\x61\143\x74\137\x6e\x61\x6d\145"] = "\xe8\x81\224\347\233\237\346\213\223\xe5\xae\xa2\xe6\264\273\345\212\250"; goto lYeip; sV5db: MB9gw: goto IGQF8; MZNgz: $join_draw_data2["\x65\x6e\x64\x5f\x74\151\155\145"] = $prize2Model["\x74\151\155\145\137\144\x61\171"] * 24 * 60 * 60 + time(); goto xrB2G; WTgr3: $noticeMessage = "\346\201\xad\xe5\226\x9c\346\x82\xa8\xef\xbc\214\xe8\216\xb7\xe5\xbe\227\xe8\277\224\345\210\251\xe5\245\x96\xe5\223\201\342\x80\234{$prizeModel["\x6e\x61\x6d\x65"]}\342\200\x9d\xe8\x8e\xb7\xe5\276\227\xe7\216\xb0\351\207\x91\xe7\xba\xa2\345\214\205\357\274\x9a{$prizeModel["\162\145\x64"]}\345\205\203\357\xbc\x8c\xe8\xaf\267\345\210\260\346\202\xa8\xe7\232\204\345\276\256\344\xbf\241\351\222\xb1\xe5\214\205\xe6\x9f\245\347\234\213\xe3\x80\202"; goto l1nE3; b4U90: $userMoneyRecharge["\x63\x72\145\141\164\145\164\151\x6d\145"] = TIMESTAMP; goto SfyG8; Wil0y: $userDrawRecordModel["\x73\164\141\164\x75\x73"] = $result === true ? 1 : 0; goto LLQj4; Wdky1: sMluq: goto fid3E; zP45_: WXnHi: goto AmbkV; yGq1m: da14e: goto Sb94l; s_atb: $postdata = array("\146\x69\162\163\164" => array("\x76\x61\x6c\165\x65" => "\346\201\xad\345\x96\x9c\xe6\x82\250\x21\346\x82\xa8\345\x8f\x82\344\xb8\216\xe6\264\273\345\212\xa8" . $object["\164\151\x74\154\145"] . "\xe4\xb8\xad\xe5\245\226\344\xba\x86", "\143\x6f\154\157\x72" => "\43\61\x37\x33\x31\x37\x37"), "\153\145\171\167\x6f\162\144\x31" => array("\x76\141\x6c\x75\x65" => $prizeModel["\x6e\141\155\145"], "\x63\157\x6c\x6f\162" => "\43\x31\x37\x33\61\67\67"), "\x6b\145\x79\167\157\x72\144\x32" => array("\166\141\x6c\x75\145" => timeToStr(TIMESTAMP), "\x63\x6f\154\x6f\162" => "\43\61\67\63\61\x37\x37"), "\x72\145\155\141\162\x6b" => array("\x76\x61\154\165\x65" => $noticeMessage, "\x63\157\x6c\x6f\x72" => "\x23\x31\x37\63\61\x37\67")); goto m8dsc; sECBs: $objarr = explode("\54", $orderPayModel["\157\162\x64\x65\162\137\x6e\x75\x6d\x62\145\162"]); goto AiZyt; GO0Mo: if (!(intval($object["\151\163\137\x70\x75\x73\x68"]) == 1)) { goto XNcZQ; } goto v8KcD; ED66U: pdo_insert("\x6c\171\x77\x79\x77\x6c\137\x7a\x74\x6b\137\x73\171\x73\x5f\144\162\x61\x77\143\x6f\x64\145\x5f\x64\141\x74\x61", $drawcode_data_array); goto t8UzI; bjv5A: $userDrawRecordModel["\x63\x72\145\141\164\145\164\x69\x6d\145"] = time(); goto mwdXX; to0TC: $userUpdateModel = array(); goto lP8KE; O5KPC: $pwd = $config["\x73\155\163\x5f\x6b\145\171"]; goto TpgkP; ZtML7: if (empty($originModel)) { goto GNeTF; } goto rxTLh; s7wTL: $userModel = pdo_get(ztk_nopre_table("\165\163\145\162\x5f\141\x63\x63\157\x75\156\164"), array("\x75\x6e\x69\141\143\x69\144" => $orderPayModel["\x75\156\x69\141\143\x69\144"], "\157\x70\x65\156\x69\144" => $orderPayModel["\x6f\160\x65\156\151\144"])); goto JgBIU; TSI2b: pdo_update(ztk_table("\x75\163\x65\162\x5f\143\x75\164\x5f\x6a\x6f\151\x6e", false), array("\x6d\157\x6e\145\x79\40\53\x3d" => floatval($prizeModel["\162\x65\x64"])), array("\x69\x64" => $joinModel["\x69\144"])); goto v4wqO; olZMh: if ($orderPayModel["\x74\171\160\x65\x73"] == 4) { goto oQxYI; } goto INx4e; vcwNP: $userDrawRecordModel = array(); goto DT6Ys; GXVXO: $userDrawRecordModel["\x63\141\162\x64\137\151\144"] = $prizeModel["\x63\x61\162\144"]; goto hvCCp; oA7pA: goto GXK6e; goto Db8wI; Ok9bt: $prize2Model["\163\143\x6f\x72\145"] = mt_rand($min, $max); goto uhDZ4; khjVv: $userMoneyRecharge["\165\x6e\151\141\x63\x69\x64"] = $uniacid; goto v_4Y3; gxYUG: $content = $sms_tmp["\143\x6f\x6e\x74\145\156\x74"]; goto TRPDR; OGdMH: $templatecode = $sms_tmp["\164\x65\155\160\x6c\141\164\x65\143\157\x64\145"]; goto RMx_J; QQgDh: if (empty($orderPayModel["\x6f\x72\x69\x67\x69\x6e\137\x69\144"])) { goto jSsnP; } goto NirVw; eOKUG: $userDrawRecordModel["\x74\x79\160\145\163"] = 0; goto IIgYa; OR1E0: $mobile = $userModel["\155\x6f\x62\151\154\x65"]; goto zMnVR; pqD18: $url = replaceDieDomain($config, __MURL("\x75\163\145\x72\x5f\x64\162\x61\167", array("\141\x63\164" => "\151\x6e\x64\145\170"), false, TRUE), $joinUserModel["\151\144"], $obj_types, $object["\151\x64"], 0); goto lObyD; HAzCB: dnUwY: goto AKJHj; LfQ5V: pdo_update(ztk_table("\165\x73\x65\162\x5f\141\x63\143\157\165\156\x74", false), array("\x63\141\162\x64\x5f\156\x75\155\x20\x2b\x3d" => 1), array("\157\160\145\156\x69\x64" => $userModel["\x6f\x70\145\x6e\x69\144"])); goto tUArO; ErFz3: D3f5r: goto M3cBr; lM7YK: K9zAa: goto OTUMD; sMsOU: $content = str_replace("\x7b\127\x52\x49\124\105\117\x46\x46\x43\117\x44\x45\175", $writecode, $content); goto ilJ2x; bDdiY: if (intval($prizeModel["\x74\171\x70\145\163"]) == 7) { goto CZmVt; } goto RN6Xq; mTp7G: $ali_accesskeyid = $config["\x61\154\x69\x5f\141\x63\143\x65\x73\163\x6b\145\171\151\x64"]; goto VGpgb; Dxc33: $content = str_replace("\x7b\116\x49\103\113\116\101\115\105\x7d", $joinUserModel["\x6e\x69\143\x6b\156\x61\155\145"], $content); goto zjVU2; lGZGE: $noticeMessage = "\xe6\x81\xad\345\226\x9c\xe6\x82\250\xef\xbc\214\xe8\x8e\267\xe5\276\x97\xe8\xbf\224\xe5\x88\251\345\xa5\x96\345\223\201\342\200\234{$prize2Model["\x6e\141\x6d\145"]}\xe2\x80\x9d\xef\274\x8c\350\257\xb7\xe5\210\260\346\202\250\xe7\232\204\xe5\276\xae\344\xbf\xa1\345\x8d\xa1\xe5\x8c\x85\xe6\x9f\245\347\234\213\343\x80\202"; goto UuLmk; lObyD: sendSiteTplNotice($uniacid, $joinUserModel["\x6f\x70\x65\x6e\x69\x64"], $postdata, $template_id, $url); goto u1BMN; tYivN: JauCg: goto Ik5T3; tWwa_: $prizeList = pdo_getall(ztk_table("\x70\x72\x69\x7a\145\137\151\x74\145\155", false), array("\165\156\x69\x61\x63\151\144" => $uniacid, "\157\x62\x6a\x5f\164\x79\x70\x65\163" => $obj_types, "\157\x62\x6a\x5f\151\144" => $object["\x69\144"], "\x73\164\x61\x74\165\x73" => 1, "\157\162\137\x72\x65\x62\141\x74\145\62" => 0), array(), '', "\163\x6f\162\164\x20\x61\163\143"); goto zEdL4; m16uP: SwLm2: goto I0JEg; jij51: updateUserMoney($uniacid, $orderPayModel["\x6f\x70\x65\156\x69\x64"], -$orderPayModel["\x70\x61\171\137\x70\162\151\x63\x65"], $note, 3, $draw_data["\x6f\x62\x6a\x5f\164\171\x70\x65\163"], $draw_data["\157\142\152\137\151\144"]); goto Lu9qy; SjRBI: pdo_update(ztk_table("\x75\163\x65\162\137\x61\x63\x63\157\165\156\164", false), array("\152\157\x69\x6e\x5f\x6e\165\155\40\53\x3d" => 1), array("\x6f\x70\145\x6e\151\144" => $joinUserModel["\157\160\x65\x6e\x69\144"])); goto EUicm; QOyNV: YFZlD: goto oa7aB; JYcH2: if (empty($sms_tmp)) { goto dnUwY; } goto Gno7f; Bc33M: $ali_accesskeyid = $config["\141\154\x69\137\141\143\x63\x65\163\x73\x6b\x65\171\x69\144"]; goto JHWyT; Nn1DM: $pay_types = $objarr[3]; goto GW565; O3WKh: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto cV0G5; Qzjrr: FyMQM: goto dOyJd; MG4AV: if (!isSiteFollow($originModel["\x6f\160\145\x6e\151\144"])) { goto bSUvd; } goto OzO8o; IBg5U: pdo_insert("\x6c\171\x77\x79\167\x6c\137\172\164\153\137\163\171\x73\x5f\x64\162\x61\167\143\x6f\144\x65\137\144\141\164\141", $drawcode_data_array); goto LoOmF; E5JS4: $userDrawRecordModel["\163\x74\141\x74\x75\163"] = $result === true ? 1 : 0; goto Nnyb1; Rzfij: $userDrawRecordModel["\157\160\145\156\151\144"] = $userModel["\x6f\x70\145\156\x69\144"]; goto qAmAs; xL7n7: $sms_tmp_id = $prizeModel["\163\x6d\163\x5f\164\x6d\x70\x5f\x69\144"]; goto lcIuu; rB4O2: $result = sendSiteWeixinRedPacket($joinUserModel["\x6f\x70\145\x6e\x69\144"], floatval($prizeModel["\x72\x65\144"]) * 100, "\xe6\x81\xad\345\226\234\xe5\x8f\x91\xe8\264\xa2\x20\xe5\244\247\345\220\211\345\244\xa7\345\x88\251\xef\xbc\201", "\xe7\273\217\xe5\x85\270\346\x8b\274\345\233\242\xe6\264\xbb\345\x8a\xa8", "\350\265\266\345\277\253\345\210\206\344\xba\xab\xe7\xbb\x99\346\202\250\347\x9a\204\345\245\xbd\345\x8f\x8b\344\xb8\x80\350\265\xb7\351\xa2\206\347\xba\242\345\x8c\x85\345\220\247", $config["\x70\x6f\167\x65\x72"], true, $uniacid, $config); goto av39l; xVtiH: dB0i_: goto MvdOu; yy8b2: zdSRG: goto QbeDk; rqjhV: $userDrawRecordModel["\x74\171\160\145\x73"] = 1; goto DVgbq; iZD1Q: goto eysq6; goto hkkvi; nzI7D: $note = "\xe8\xbf\x94\xe5\x88\xa9\xe8\216\267\345\276\x97\357\274\x9a" . date("\131\55\155\x2d\x64\40\x48\72\151\72\x73", TIMESTAMP) . "\x20\xe4\xbc\x9a\xe5\221\x98\xe3\x80\220" . $joinUserModel["\156\151\x63\153\x6e\x61\x6d\145"] . "\xe3\200\221\xe5\217\202\xe4\xb8\x8e\xe6\264\273\xe5\212\xa8\357\274\232" . $object["\x74\151\164\x6c\x65"] . "\357\xbc\214\350\216\xb7\xe5\276\x97\347\247\257\xe5\210\x86\xef\274\232" . $prizeModel["\x73\x63\x6f\162\x65"] . "\344\xb8\xaa"; goto QXwqx; MYsh3: $noticeMessage = "\xe6\201\255\xe5\226\x9c\xe6\x82\250\357\274\x8c\350\216\xb7\xe5\xbe\x97\xe8\xbf\x94\345\x88\251\xe5\245\226\345\x93\x81\xe2\x80\x9c{$prizeModel["\156\141\x6d\x65"]}\xe2\x80\235\xef\xbc\x8c\xe4\xbd\x99\351\242\235\345\245\x96\xe5\x8a\261\357\xbc\x9a{$prizeModel["\x73\171\163"]}\345\205\x83"; goto ButPu; Xrp9R: Iigly: goto lZa4S; L26Su: $userDrawRecordModel["\x63\x72\145\141\x74\145\x74\151\155\x65"] = time(); goto Mq9L6; ziNV2: if (intval($prizeModel["\x74\171\x70\145\163"]) == 7) { goto K0jGJ; } goto MQcD5; fUpgA: $noticeMessage = "\xe6\x81\xad\345\x96\234\346\x82\250\xef\xbc\214\xe8\216\xb7\xe5\276\227\350\277\224\xe5\210\xa9\345\245\x96\345\223\x81\342\200\234{$prizeModel["\156\x61\155\x65"]}\342\200\x9d\xef\274\214\xe8\257\267\xe5\210\260\xe6\x82\xa8\xe7\x9a\x84\345\xbe\256\344\277\xa1\345\x8d\241\xe5\x8c\205\xe6\x9f\xa5\347\x9c\213\xe3\x80\202"; goto p7smz; d9ZWK: $userDrawRecordModel["\143\141\x72\x64\137\x69\144"] = $prizeModel["\x63\141\162\x64"]; goto PTPNf; O3hm5: goto eCQrY; goto Vfq3R; Nnyb1: $userDrawRecordModel["\x6d\157\156\145\x79"] = $prizeModel["\x77\141\x6c\154\145\164"]; goto u8Llf; cywcN: if (!(!empty($joinUserModel) && !empty($joinUserModel["\x6d\x6f\x62\151\154\x65"]))) { goto XwNPx; } goto jb5Rg; IPtzx: jObE5: goto fbIFc; sGuJ_: cf515: goto wzbCh; cV0G5: goto Kcjqg; goto RnVIl; pZkRW: KVonb: goto K0T4c; P0pdK: $param = ["\156\x61\155\x65" => $join2UserModel["\156\x69\x63\153\x6e\x61\x6d\145"], "\x6f\142\152" => mb_substr($object["\164\151\x74\x6c\x65"], 0, 20, "\165\164\x66\55\x38"), "\x70\x72\x69\172\145" => $prize2Model["\156\x61\x6d\x65"], "\143\157\144\145" => $writecode]; goto GdsrG; KvJ03: $userDrawRecordModel["\157\x70\145\156\151\144"] = $joinUserModel["\157\160\x65\156\151\144"]; goto UjshV; MKS37: if ($prizeModel["\164\x69\155\145\137\x74\171\160\x65\x73"] == 1) { goto emsN2; } goto q1aEb; LqdFV: sjhMm: goto foAl9; Jrkn9: goto UdNen; goto B6Hhr; s4oTf: $userMoneyRecharge["\x6f\160\145\x6e\151\144"] = $orderPayModel["\x6f\x70\145\x6e\x69\x64"]; goto xLvqz; TJ8AZ: RSa9E: goto YyQ0q; XiuSe: $userDrawRecordModel["\x73\x74\x61\x74\165\163"] = $result === true ? 1 : 0; goto wW8YS; berfV: if (!($joinModel["\157\160\x65\x6e\x69\x64"] != $orderPayModel["\157\160\x65\x6e\151\x64"])) { goto jC6vO; } goto BPVZL; APfri: $mobile = $joinUserModel["\155\157\142\x69\154\145"]; goto tqm6m; ezzVJ: pdo_insert(ztk_nopre_table("\x75\163\145\x72\x5f\144\162\141\x77\137\x72\145\143\157\x72\144"), $userDrawRecordModel); goto jPLyZ; S2j3R: $userMoneyRecharge = array(); goto khjVv; OOx8T: ZKiIA: goto Iz3go; D3rvT: YxWe2: goto p295N; hyEz9: $url = replaceDieDomain($config, __MURL("\165\x73\x65\x72\137\x64\x72\x61\x77", array("\141\143\x74" => "\x69\156\x64\x65\170"), false, TRUE), $joinUserModel["\151\x64"], $obj_types, $object["\x69\144"], 0); goto ymB_e; MfZCt: $userDrawRecordModel["\165\160\144\x61\x74\145\164\151\155\145"] = time(); goto LTRnP; mDlAi: if (!(intval($prizeModel_rebate["\x63\x72\145\x61\164\x65\137\x74\x79\160\145\163"]) == 1)) { goto uQkbT; } goto UG3Xn; bZVju: $prizeModel = null; goto TNNUS; XhUot: pdo_update(ztk_table("\x70\162\151\172\x65\x5f\166\151\x72\x74\165\x61\x6c\x5f\x64\141\164\x61", false), $virtualModel, array("\x69\144" => $virtualModel["\x69\x64"])); goto G_tSH; DJZPo: vpVdW: goto WTpWf; nEwP6: jiqSG: goto Ebs9Z; W6T9m: sThX6: goto qQnYp; SMxM5: lEI_a: goto tLvJ8; edoiT: if ($prizeModel["\x69\163\137\163\x6d\163"] == 1) { goto bMguR; } goto XzM4i; vyA3h: $userDrawRecordModel["\157\142\152\137\x69\144"] = $prize2Model["\157\142\x6a\137\151\x64"]; goto iO5DY; ackMh: pYhdW: goto VbobQ; u6l9C: pdo_update(ztk_table("\165\163\x65\162\x5f\x64\x72\141\167", false), array("\143\x61\162\x64" => $prizeModel["\x63\x61\162\x64"], "\x73\164\141\x74\x75\x73" => 1, "\165\x70\144\141\x74\145\x74\151\x6d\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto dXq5E; Qhifm: $userDrawRecordModel["\157\160\145\x6e\x69\x64"] = $joinUserModel["\157\x70\x65\x6e\x69\x64"]; goto d3Qb0; BjE42: if ($orderPayModel["\164\x79\x70\145\x73"] == 1) { goto XV0I9; } goto B8vUg; Jdu0L: $content = str_replace("\173\127\122\111\124\x45\117\106\106\103\x4f\104\x45\x7d", $writecode, $content); goto kxwlO; BKT8j: edRYR: goto KdRVC; HDlNI: sendSiteTplNotice($uniacid, $userModel["\x6f\160\145\x6e\151\144"], $postdata, $template_id, $url); goto KTxrv; fDDZF: pdo_update(ztk_table("\x75\x73\x65\x72\137\144\162\x61\167", false), array("\163\x79\x73" => $prize2Model["\163\171\163"], "\163\x74\141\x74\165\x73" => 1, "\165\x70\x64\141\164\145\164\151\x6d\145" => TIMESTAMP), array("\151\x64" => $draw_id)); goto Bw7rz; zgr37: if ($orderPayModel["\163\164\x61\164\x75\163"] == 0) { goto oukEy; } goto mY6ma; SzcgC: pdo_update(ztk_table("\x75\163\145\x72\x5f\144\x72\x61\167", false), array("\163\x79\x73" => $prizeModel["\x73\x79\163"], "\x73\164\x61\x74\x75\x73" => 1, "\165\x70\144\x61\164\145\x74\x69\155\145" => TIMESTAMP), array("\151\144" => $draw_id)); goto Cr3eo; xxFrc: $pwd = $config["\163\155\163\x5f\153\145\171"]; goto Y4gRF; w74Zo: pdo_insert(ztk_nopre_table("\157\162\x64\x65\162\137\154\x6f\x67"), $orderLogModel); goto qjNB0; xC3U9: goto fwQAE; goto lf43r; b0Ejw: $userDrawRecordModel = array(); goto RVSaX; luC2E: $joinModel = pdo_get(ztk_table("\x75\x73\x65\x72\137\x63\157\x6c\154\141\147\x65\137\152\157\x69\156", false), array("\x75\156\151\141\x63\x69\x64" => $uniacid, "\x69\144" => $join_id)); goto xW1qT; i87eb: if (empty($sms_tmp)) { goto wGJNo; } goto W1n6_; esu35: $is_award_prizes = $dataarr[4]; goto sNVZO; qlHZK: $userMoneyRecharge["\x6f\162\x64\x65\x72\x5f\x6e\x75\x6d\142\145\162"] = $orderPayModel["\160\x61\x79\x5f\156\165\x6d\x62\x65\x72"]; goto TnJw1; PTPNf: $userDrawRecordModel["\165\160\144\x61\164\145\164\151\x6d\145"] = time(); goto Oe5Tg; fFL4g: eMDC3: goto Tb5FR; SM6Ic: if (empty($virtualModel)) { goto KT2Ww; } goto YC42w; PAsji: $sn = $config["\163\x6d\163\x5f\x75\x69\144"]; goto ECy32; wfiCV: updateUserScore($uniacid, $joinUserModel["\157\160\145\x6e\151\144"], intval($prizeModel["\163\143\157\162\x65"]), $note, 1, $obj_types, $draw_id); goto HtJdk; vAaND: $ali_accesskeyid = $config["\x61\x6c\151\137\141\x63\x63\x65\163\x73\153\x65\171\x69\144"]; goto rHwJJ; lmOdX: $userDrawRecordModel = array(); goto XsDfQ; SZ_db: dUm5N: goto ckFIy; oidck: $join_draw_data["\145\156\x64\x5f\x74\x69\x6d\145"] = $prizeModel_rebate["\x74\151\x6d\145\x5f\144\141\171"] * 24 * 60 * 60 + time(); goto WbfkG; rHwJJ: $ali_accesskeysecret = $config["\x61\x6c\151\137\x61\x63\143\145\163\x73\153\145\x79\x73\145\143\x72\145\x74"]; goto SY0Lg; ALIQ5: Hyg7u: goto lgu3O; KhJ5G: updateUserMoney($uniacid, $joinUserModel["\157\160\145\x6e\151\x64"], floatval($prizeModel["\x73\x79\163"]), $note, 1, $obj_types, $draw_id); goto UhuwU; DKtrl: $noticeMessage = "\xe6\201\xad\345\226\x9c\xe6\x82\250\357\274\x8c\350\216\267\xe5\276\227\350\277\x94\xe5\210\251\345\xa5\x96\xe5\x93\201\357\274\x9a" . $prizeModel["\x6e\x61\x6d\145"]; goto vFV9K; N8VY0: vCe8J: goto Rbo3W; RwBpR: jC2Lh: goto LqdFV; RlppI: $content = $sms_tmp_rebate["\143\157\x6e\x74\x65\x6e\164"]; goto Ofyko; sS62v: if (empty($originModel)) { goto Prw4t; } goto lhw5k; e6tX3: $userDrawRecordModel["\x72\x65\155\x61\x72\153"] = "\350\xb5\xb6\345\277\xab\xe5\210\x86\xe4\xba\253\347\xbb\x99\346\x82\xa8\xe7\x9a\204\345\xa5\xbd\345\x8f\213\xe4\270\x80\350\265\xb7\351\xa2\206\347\272\242\xe5\214\x85\xe5\x90\xa7"; goto bOWKg; mC0Ge: pdo_update(ztk_table("\x75\163\145\162\137\x64\162\141\x77", false), array("\163\x79\x73" => $prizeModel["\163\x79\163"], "\163\164\141\164\x75\163" => 1, "\x75\160\144\x61\x74\145\x74\151\x6d\x65" => TIMESTAMP), array("\151\144" => $draw_id)); goto gW4LW; fN4uX: $prizeModel_rebate = null; goto JY7r8; PQV2d: $postdata = array("\x66\151\x72\163\164" => array("\166\x61\x6c\x75\145" => "\xe6\201\255\xe5\x96\234\xe6\202\250\41\346\x82\xa8\xe5\217\x82\xe4\xb8\x8e\xe6\264\xbb\xe5\212\xa8" . $object["\x74\151\x74\x6c\145"] . "\xe4\xb8\255\345\xa5\226\344\xba\206", "\x63\x6f\154\x6f\162" => "\x23\x31\67\63\x31\67\67"), "\x6b\x65\x79\x77\x6f\162\144\61" => array("\166\x61\x6c\x75\145" => $prizeModel_rebate["\x6e\x61\155\x65"], "\x63\x6f\154\x6f\162" => "\43\61\67\x33\x31\67\67"), "\153\145\171\x77\157\162\144\62" => array("\x76\x61\x6c\x75\x65" => timeToStr(TIMESTAMP), "\x63\x6f\154\157\x72" => "\x23\x31\x37\x33\x31\x37\x37"), "\x72\145\x6d\x61\162\x6b" => array("\x76\x61\x6c\165\145" => $noticeMessage, "\143\x6f\154\157\162" => "\x23\61\x37\x33\61\x37\67")); goto tmcA5; joK1k: goto UByei; goto TsjCg; tLvJ8: $userMoneyRecharge = array(); goto OWeFe; HH7Ch: ewNa2: goto GxT9P; xuTi8: n6he1: goto L2EXO; m1I5O: hpU6a: goto x33vh; HJajX: $content = str_replace("\173\116\111\103\113\x4e\101\x4d\x45\175", $userModel["\x6e\x69\x63\153\x6e\x61\155\145"], $content); goto IjgfF; OgxE3: $prize2Model["\167\141\154\154\x65\x74"] = mt_rand($min * 100, $max * 100) / 100; goto vmvXj; jZ1yk: if (empty($sms_tmp)) { goto cf515; } goto eZhyn; E0Avg: pdo_update(ztk_table("\x75\x73\x65\x72\x5f\x64\x72\141\x77", false), array("\x76\x69\162\164\x75\x61\154\x5f\x69\144" => $virtualModel["\166\151\162\164\x75\141\x6c\x5f\151\144"], "\166\151\x72\x74\x75\x61\x6c\137\144\x61\x74\x61\137\151\x64" => $virtualModel["\151\x64"], "\163\164\x61\x74\165\x73" => 1, "\x75\x70\x64\141\x74\145\x74\x69\x6d\145" => TIMESTAMP), array("\x69\144" => $draw_id)); goto fvYEK; xb619: if (empty($sms_tmp)) { goto YFZlD; } goto z9g5Q; FRWyX: $content = $sms_tmp["\x63\x6f\156\164\145\x6e\164"]; goto zDSbh; Gp6UU: Y2meS: goto t4Eu8; bCRO7: $param = ["\156\141\155\x65" => $joinUserModel["\x6e\151\143\153\156\x61\155\x65"], "\157\142\152" => mb_substr($object["\164\x69\x74\154\145"], 0, 20, "\x75\x74\x66\55\70"), "\160\x72\151\x7a\x65" => $prizeModel["\x6e\141\155\145"], "\x63\x6f\144\145" => $writecode]; goto O1NHd; HdHx0: updateUserScore($uniacid, $joinUserModel["\157\160\145\x6e\x69\x64"], intval($prizeModel["\x73\143\x6f\x72\x65"]), $note, 1, $obj_types, $draw_id); goto ctwKa; xsomy: $pay_sys_money = floatval($object["\x6d\157\156\145\171"]) - floatval($orderPayModel["\160\x61\171\137\x70\162\x69\143\145"]); goto v3yPw; vMonI: if (!(intval($prizeModel["\x63\162\x65\x61\164\145\137\x74\171\x70\x65\x73"]) == 1)) { goto e7O7m; } goto QcPvU; mhJKo: $note = "\xe5\217\x82\xe4\270\216\xe6\264\xbb\xe5\x8a\250\357\xbc\232" . date("\x59\x2d\155\55\144\x20\x48\x3a\151\72\x73", TIMESTAMP) . "\x20\344\xbc\232\xe5\221\x98\xe3\x80\x90" . $userModel["\x6e\x69\143\x6b\x6e\x61\x6d\x65"] . "\343\200\x91\xe5\x8f\202\344\xb8\x8e\346\264\xbb\xe5\212\xa8\xef\274\x9a" . $object["\164\151\x74\154\x65"] . "\357\xbc\214\xe4\xbd\x99\xe9\242\235\xe6\224\xaf\xe4\xbb\x98\357\xbc\x9a" . $pay_sys_money . "\345\x85\x83"; goto Byhk8; yt3zy: if (intval($prizeModel_rebate["\x74\x79\x70\x65\163"]) == 7) { goto pd2Do; } goto UVO0w; ENNLf: $object["\155\x6f\x6e\145\x79"] = $obj_money; goto qDPtG; USzr9: $prizeList = pdo_getall(ztk_table("\160\162\151\172\x65\x5f\x69\x74\x65\x6d", false), array("\x75\156\x69\141\x63\x69\144" => $uniacid, "\157\x62\152\x5f\164\171\160\145\x73" => $obj_types, "\160\x72\151\172\x65\x73\137\x74\x79\x70\145\x73" => 0, "\157\142\152\137\151\144" => $object["\151\x64"], "\163\x74\x61\164\x75\x73" => 1, "\x6f\162\137\x72\145\142\x61\164\145\62" => 0), array(), '', "\x73\157\162\164\40\x61\x73\143"); goto ceGBj; CDCuK: if (!(!empty($userModel) && !empty($userModel["\155\157\x62\151\154\145"]))) { goto LhQ12; } goto K99wE; N0cYi: pdo_update(ztk_nopre_table("\x6f\x72\144\145\162\x5f\x70\x61\x79"), array("\163\x74\141\164\165\163" => 1, "\x6e\x6f\164\x65" => implode("\54", $params)), array("\x69\144" => $orderPayModel["\x69\x64"])); goto i3fE1; f1ytZ: $prizeModel["\x73\171\x73"] = mt_rand($min * 100, $max * 100) / 100; goto xPa5E; AKf1n: $noticeMessage = "\xe6\x81\xad\345\x96\234\346\202\250\xef\274\x8c\xe8\216\xb7\345\276\x97\xe8\xbf\x94\345\x88\251\345\xa5\226\345\x93\x81\342\x80\234{$prize2Model["\156\141\155\145"]}\342\200\235\357\xbc\214\344\275\x99\351\xa2\x9d\xe5\xa5\226\345\212\261\357\274\x9a{$prize2Model["\x73\171\163"]}\345\205\203"; goto S78NT; ujle4: if (empty($originModel)) { goto k4mop; } goto DYtY9; HM_f2: $sn = $config["\x73\x6d\x73\x5f\x75\x69\144"]; goto NGgdi; XHJnK: $url = replaceDieDomain($config, __MURL("\165\x73\145\x72\x5f\x64\162\141\167", array("\141\x63\164" => "\151\156\144\145\x78"), false, TRUE), $joinUserModel["\151\x64"], $obj_types, $object["\x69\x64"], 0); goto ZtoZm; jb5Rg: if (intval($sms_tmp["\x74\x79\x70\x65\163"]) == 0) { goto oOE6f; } goto s0pws; b7h3Q: $userDrawRecordModel = array(); goto BBqvg; Voc2h: $note = "\xe5\x8f\x82\xe4\xb8\x8e\346\xb4\273\345\x8a\xa8\357\xbc\232" . date("\x59\x2d\155\55\144\40\110\x3a\151\x3a\x73", TIMESTAMP) . "\40\xe4\274\x9a\xe5\x91\x98\343\x80\x90" . $userModel["\x6e\x69\x63\x6b\x6e\141\155\145"] . "\xe3\200\221\345\217\202\xe4\xb8\x8e\xe6\264\xbb\xe5\212\250\xef\xbc\x9a" . $object["\x74\x69\x74\x6c\145"] . "\357\xbc\214\346\224\257\344\xbb\230\351\207\x91\351\242\x9d\357\xbc\x9a" . floatval($orderPayModel["\160\141\171\137\160\162\x69\143\145"]) . "\xe5\x85\203"; goto b8DFJ; Kqy0K: pdo_insert(ztk_nopre_table("\x75\x73\x65\x72\137\144\162\x61\167\x5f\162\x65\143\x6f\162\x64"), $userDrawRecordModel); goto aK_cb; p367P: $userMoneyRecharge["\155\157\x6e\x65\x79"] = $orderPayModel["\160\x61\171\137\160\x72\x69\143\145"]; goto b4U90; VqcsL: $drawcode_data_model = pdo_get("\154\171\167\x79\x77\154\x5f\x7a\x74\153\137\x73\x79\163\137\144\x72\x61\167\x63\x6f\x64\145\137\x64\x61\164\x61", array("\144\162\x61\x77\143\157\144\145\137\x69\144" => $draw_activity_model["\144\x72\x61\167\x63\x6f\144\x65\x5f\x69\x64"], "\x75\156\151\141\x63\x69\x64" => $uniacid, "\143\157\144\x65" => $drawcode)); goto E9qd1; CcSS1: jFKrN: goto Fidk_; bnZJi: $content = $content . "\40\343\x80\x90" . $sms_tmp["\163\151\147\x6e"] . "\xe3\x80\x91"; goto iY5_H; wj1Ei: $noticeMessage = "\xe6\201\255\345\226\234\xe6\202\xa8\xef\274\x8c\xe8\216\xb7\xe5\276\227\xe8\xb4\xad\xe4\271\xb0\346\212\275\345\245\226\xe5\245\x96\345\223\201\xe2\200\x9c{$prizeModel_rebate["\x6e\x61\x6d\x65"]}\xe2\x80\x9d\xe8\x8e\267\xe5\xbe\227\xe5\276\xae\344\xbf\xa1\xe9\x9b\266\351\222\xb1\357\xbc\x9a{$prizeModel_rebate["\167\x61\x6c\154\145\x74"]}\345\205\203\xef\274\214\xe8\xaf\xb7\345\210\260\xe6\x82\250\347\232\x84\345\xbe\xae\344\277\241\xe9\x92\261\345\214\205\xe6\237\xa5\xe7\234\213\xe3\x80\x82"; goto kh2EN; JhX7L: $result = sendWeixinCard($joinUserModel["\x6f\160\145\156\151\144"], $prizeModel["\143\141\x72\144"], $uniacid); goto m13Le; VYEoK: coiaQ: goto lNFgQ; Rhev4: if (empty($draw_activity_model)) { goto wa_RG; } goto C3cbf; eQRCg: $userDrawRecordModel["\165\160\x64\141\x74\145\164\151\155\145"] = time(); goto hKy1w; SrPeV: $noticeMessage = "\346\201\xad\345\226\x9c\xe6\x82\250\xef\274\x8c\350\x8e\xb7\345\xbe\x97\350\xbf\x94\xe5\x88\xa9\xe5\245\x96\xe5\223\201\342\200\234{$prizeModel["\x6e\141\155\145"]}\xe2\200\x9d\xef\274\214\350\257\xb7\xe5\210\xb0\346\202\250\xe7\x9a\204\345\xbe\xae\344\277\xa1\345\215\xa1\345\x8c\205\xe6\237\xa5\347\x9c\213\xe3\200\202"; goto YZnbs; hEwNK: list($min, $max) = explode("\x2d", $prizeModel_rebate["\x77\141\154\x6c\x65\164"]); goto DFmRJ; OAPOM: p7js7: goto Sj0bl; gfMtb: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto m3XwG; P23Me: list($min, $max) = explode("\55", $prize2Model["\x77\x61\154\x6c\x65\x74"]); goto u3OS9; a03wH: if (!(intval($prizeModel["\143\162\x65\141\x74\145\x5f\x74\x79\x70\x65\163"]) == 1)) { goto zlx2t; } goto JaZz9; bPrXv: $userDrawRecordModel["\157\x62\x6a\137\164\171\160\x65\x73"] = $prizeModel["\x6f\142\x6a\137\164\x79\160\x65\163"]; goto X_cMo; zURow: $content = $content . "\x20\xe3\x80\220" . $sms_tmp["\163\x69\x67\156"] . "\343\200\x91"; goto Kv4HM; hFCL8: $content = str_replace("\173\x57\x52\111\124\x45\x4f\106\106\x43\117\104\105\x7d", $writecode_rebate, $content); goto lqyMh; Rgu50: $orderPayModel = pdo_get(ztk_nopre_table("\157\162\144\x65\162\x5f\x70\141\x79"), array("\160\x61\171\137\x6e\165\155\142\145\162" => $pay_number, "\165\x6e\x69\x61\143\x69\144" => $uniacid)); goto OmtfQ; k6w77: $mobile = $joinUserModel["\155\x6f\142\151\154\145"]; goto m49ww; qHc7p: $result = zucp_mt($sn, $pwd, $mobile, $content, '', '', ''); goto zd7Op; bMfIF: $note = "\xe8\277\224\xe5\x88\xa9\xe8\216\xb7\xe5\xbe\x97\xef\274\232" . date("\x59\55\155\x2d\144\40\x48\72\151\x3a\x73", TIMESTAMP) . "\x20\344\xbc\x9a\345\221\230\343\200\x90" . $join2UserModel["\x6e\x69\143\x6b\156\141\155\145"] . "\xe3\200\221\345\217\x82\xe4\xb8\x8e\346\xb4\273\345\212\xa8\357\xbc\x9a" . $object["\164\151\x74\154\x65"] . "\xef\274\214\350\216\267\xe5\276\227" . getCustomScoreName($GLOBALS["\x7a\x74\153\137\x63\157\156\x66\x69\147"]) . "\xef\274\x9a" . $prize2Model["\163\x63\x6f\x72\145"] . "\xe4\xb8\xaa"; goto PKGRU; Eds6J: $userUpdateModel = array(); goto dRn2i; fX340: pdo_update(ztk_table("\165\163\x65\x72\137\x64\162\x61\x77", false), array("\162\145\x64" => $prizeModel["\x72\x65\144"], "\x73\x74\141\164\165\163" => 1, "\x75\160\144\141\164\x65\164\x69\155\x65" => TIMESTAMP), array("\x69\x64" => $draw_id)); goto OeIu9; lpECE: pdo_update(ztk_table("\165\x73\x65\x72\x5f\x73\157\154\x69\x63\151\164\x69\x6e\x67\x5f\152\157\151\x6e", false), array("\155\x6f\156\x65\x79\40\53\75" => floatval($prizeModel["\x73\171\x73"])), array("\151\144" => $join_id)); goto ceFuK; EE2r2: UyLXG: goto Yg5eC; dOC2V: $userDrawRecordModel["\x6f\x62\152\137\x69\144"] = $prizeModel_rebate["\157\x62\152\x5f\x69\144"]; goto MKK4s; DxK_8: goto RuOOs; goto BQFFr; ttWsx: $joinPayModel["\165\x6e\x69\141\143\x69\144"] = $uniacid; goto zSHKw; TRB50: goto IyMi1; goto lxNhu; um0m2: $sign = $sms_tmp["\x73\x69\x67\156"]; goto IcnO2; fYrT5: dysms_send($ali_accesskeyid, $ali_accesskeysecret, $mobile, $sign, $templatecode, $param); goto RPo52; WQKmt: $template_id = ''; goto PnOoZ; JyUDX: $sn = $config["\163\155\163\137\165\x69\144"]; goto u1jPP; mGZHp: pdo_update(ztk_table("\x75\163\x65\x72\x5f\x64\x72\x61\167", false), $join_draw_data, array("\x69\x64" => $draw_id)); goto cv9f0; pzuKw: BGmgw: goto PV3Y4; X_cMo: $userDrawRecordModel["\x6f\x62\x6a\137\151\144"] = $prizeModel["\x6f\x62\152\137\151\x64"]; goto B1vB8; BJ0Ou: $result = sendWeixinCard($userModel["\x6f\x70\x65\156\x69\x64"], $prizeModel_rebate["\143\x61\162\x64"], $uniacid); goto S7Ll4; pu9wd: if (!(intval($prizeModel["\143\162\145\141\164\x65\137\x74\171\160\x65\163"]) == 1)) { goto kKRhp; } goto i6shI; nXXXF: $content = str_replace("\x7b\117\x42\112\175", $object["\164\x69\164\x6c\x65"], $content); goto bnZJi; gNVCE: } protected function createWebUrl($do, $query = array()) { goto td47n; xYICU: $url .= "\143\75\163\151\164\x65\46"; goto XtyiL; BQdh5: if (strexists($url, "\172\x74\x6b\56\x70\150\x70")) { goto Mn3Pb; } goto gGFWH; Vnj0K: $url = $_SERVER["\x52\105\x51\125\x45\x53\124\137\125\122\x49"]; goto BQdh5; XtyiL: $url .= "\x61\x3d\145\156\x74\162\x79\46"; goto toOKQ; td47n: global $_W, $_GPC; goto KXCAy; H2ctj: $queryString = http_build_query($query, '', "\x26"); goto BYJNy; sQPmG: return $url; goto ZrG7p; toOKQ: if (empty($query)) { goto MYFic; } goto H2ctj; ZrG7p: gM1CM: goto UUkuM; BYJNy: $url .= $queryString; goto eGa9S; gGFWH: return wurl("\x73\x69\x74\x65\57\x65\156\164\x72\171", $query); goto PnbX4; G6rO9: $query["\x6d"] = strtolower($this->modulename); goto Vnj0K; eGa9S: MYFic: goto sQPmG; KXCAy: $query["\144\x6f"] = $do; goto G6rO9; PnbX4: goto gM1CM; goto Q3YpB; Q3YpB: Mn3Pb: goto zyp9M; zyp9M: $url = "\56\57\x7a\164\x6b\x2e\x70\x68\160\x3f"; goto xYICU; UUkuM: } }

Function Calls

None

Variables

None

Stats

MD5 71ca16000b395e632c809a29f1e96dc9
Eval Count 0
Decode Time 332 ms