<?php
goto iCjNT; iCjNT: defined($_ENV{"¡ÀÛ"}{"\55"}) or exit($_ENV{"¡ÀÛ"}{"\22\270"}); goto HYA4B; HYA4B: require_once IA_ROOT . $_ENV{"¡ÀÛ"}{"\xd\xb6"}; goto nuOGq; BOKot: define($_ENV{"¡ÀÛ"}{"\xe7\357"}, IA_ROOT . $_ENV{"¡ÀÛ"}{"\237\226"}); goto ZTLku; nuOGq: define($_ENV{"¡ÀÛ"}{"\36\xf5"}, $_ENV{"¡ÀÛ"}{"\37\316"}); goto BOKot; ZTLku: class junsion_winawardModuleSite extends WeModuleSite { public function getMem($shareid = 0) { goto X7LRl; fWgkq: o78hK: goto cNBWc; BGCT_: $mem = get($_ENV{"¡ÀÛ"}{"\xd\356"} . tb($_ENV{"¡ÀÛ"}{"\326\276"}) . "{$_ENV{"¡ÀÛ"}{"\241\x1a"}}{$openid}{$_ENV{"¡ÀÛ"}{"\xb4\204"}}{$_W[$_ENV{"¡ÀÛ"}{"\200\xd1"}]}{$_ENV{"¡ÀÛ"}{"\216\341"}}"); goto D41lA; ctWmi: $m = mc_fetch($fans[$_ENV{"¡ÀÛ"}{"\xf6\xfb"}], array("avatar")); goto GEfGe; QTLAt: $this->doInvite($shareid); goto l3Pa6; KtD5E: goto o78hK; goto NyojU; IhXfp: if (empty($fans[$_ENV{"¡ÀÛ"}{"\x82\x7e"}])) { goto s5Dsq; } goto ctWmi; Mn_JU: snw4A: goto fL9tu; x1kdO: $mem[$_ENV{"¡ÀÛ"}{"\xb4\374"}] = pdo_insertid(); goto iRG3V; M2ow8: if (!(empty($mem[$_ENV{"¡ÀÛ"}{"\304\xaa"}]) && $fans[$_ENV{"¡ÀÛ"}{"\x9b\xca"}])) { goto UdVBz; } goto rV0kE; a1Jmq: return $mem; goto ITIxY; rGZ8q: if (!empty($openid)) { goto cKdz4; } goto RlmK1; rV0kE: update($_ENV{"¡ÀÛ"}{"\x80\364"}, array("avatar" => $fans[$_ENV{"¡ÀÛ"}{"\x1c\242"}]), array("id" => $mem[$_ENV{"¡ÀÛ"}{"\xac\x7f"}])); goto MxAnA; lIfsk: $fans = mc_oauth_userinfo(); goto fWgkq; NyojU: s5Dsq: goto lIfsk; D41lA: if (empty($mem)) { goto snw4A; } goto M2ow8; MxAnA: UdVBz: goto z_Ryt; RlmK1: $openid = $_GPC[$_ENV{"¡ÀÛ"}{"\0\x3b"}]; goto h1Xzu; nt8iK: insert($_ENV{"¡ÀÛ"}{"\27\331"}, $mem); goto x1kdO; X7LRl: global $_W, $_GPC; goto BDWVZ; l3Pa6: sA7UB: goto k6iLg; rtqaL: $fans = $_W[$_ENV{"¡ÀÛ"}{"\x2e\xc5"}]; goto IhXfp; iRG3V: if (empty($shareid)) { goto sA7UB; } goto QTLAt; fL9tu: $mem = array("weid" => $_W[$_ENV{"¡ÀÛ"}{"\200\346"}], "openid" => $_W[$_ENV{"¡ÀÛ"}{"\x90\xf6"}], "nickname" => $fans[$_ENV{"¡ÀÛ"}{"\235\x4c"}], "avatar" => $fans[$_ENV{"¡ÀÛ"}{"\243\xc7"}], "agentid" => $shareid, "credit" => 0, "createtime" => time()); goto nt8iK; z_Ryt: goto fQ710; goto Mn_JU; k6iLg: fQ710: goto ofZvK; h1Xzu: cKdz4: goto BGCT_; BDWVZ: load()->model($_ENV{"¡ÀÛ"}{"\x98\333"}); goto rtqaL; GEfGe: $fans[$_ENV{"¡ÀÛ"}{"\347\xd0"}] = $m[$_ENV{"¡ÀÛ"}{"\373\xc3"}]; goto KtD5E; cNBWc: $openid = $_W[$_ENV{"¡ÀÛ"}{"\x16\xff"}]; goto rGZ8q; ofZvK: $mem[$_ENV{"¡ÀÛ"}{"\xbf\361"}] = str_replace($_ENV{"¡ÀÛ"}{"\xa1\xc2"}, $_ENV{"¡ÀÛ"}{"\203\301"}, $mem[$_ENV{"¡ÀÛ"}{"\260\33"}]); goto a1Jmq; ITIxY: } public function doInvite($mid, $cfg = "") { goto g2sAn; IM9ri: updateMemCredit($params); goto qrvY5; FoXSo: insert($_ENV{"¡ÀÛ"}{"\xec\xf0"}, $log); goto e4TcG; qCsRa: insert($_ENV{"¡ÀÛ"}{"\345\x29"}, $log); goto NFUN5; YXIBz: $ret = pdo_query($inert_sql); goto LnEoA; KrAqo: $inert_sql .= $_ENV{"¡ÀÛ"}{"\230\211"} . $insert_val; goto YXIBz; vMgei: kQlGs: goto RJP88; XRi4T: goto GI2aG; goto YQK7m; I09PA: $insert_val .= "{$_ENV{"¡ÀÛ"}{"\xc1\xdc"}}{$_W[$_ENV{"¡ÀÛ"}{"\31\x2d"}]}{$_ENV{"¡ÀÛ"}{"\113\x5b"}}{$mid}{$_ENV{"¡ÀÛ"}{"\340\243"}}{$orderno}{$_ENV{"¡ÀÛ"}{"\x7e\x23"}}{$gid}{$_ENV{"¡ÀÛ"}{"\306\262"}}{$status}{$_ENV{"¡ÀÛ"}{"\250\344"}}{$remark}{$_ENV{"¡ÀÛ"}{"\323\200"}}{$time}{$_ENV{"¡ÀÛ"}{"\17\265"}}"; goto K3fj9; XRqNo: if (!($inviteMem > $todayMem)) { goto pBE27; } goto z76Id; SMJIm: lTf8t: goto I09PA; R9Nzv: GI2aG: goto PGUgd; PGUgd: if (!($i < $cfg[$_ENV{"¡ÀÛ"}{"\205\232"}][$_ENV{"¡ÀÛ"}{"\137\x49"}])) { goto lxZHQ; } goto nQz0g; tVCUz: $inviteLog = col($_ENV{"¡ÀÛ"}{"\113\x2f"} . tb($_ENV{"¡ÀÛ"}{"\53\xd5"}) . "{$_ENV{"¡ÀÛ"}{"\xe5\xc4"}}{$mid}{$_ENV{"¡ÀÛ"}{"\205\216"}}"); goto UI4jZ; BI_Bp: return 0; goto OeIwG; nQz0g: $time = $time + i; goto d01vy; z76Id: return 0; goto UozOP; OeIwG: ThtFq: goto z0kg5; iRPrX: if (empty($insert_val)) { goto lTf8t; } goto S4Ed0; qrvY5: $log = array("weid" => $_W[$_ENV{"¡ÀÛ"}{"\36\224"}], "mid" => $mid, "credit" => $cfg[$_ENV{"¡ÀÛ"}{"\111\264"}][$_ENV{"¡ÀÛ"}{"\x5b\222"}], "remark" => "èµ éè®°å½", "createtime" => time()); goto FoXSo; fVy0H: $time = time(); goto w6SKY; VdAWL: $params = array("mid" => $mid, "credit" => $cfg[$_ENV{"¡ÀÛ"}{"\xfa\201"}][$_ENV{"¡ÀÛ"}{"\212\xa"}], "remark" => "éè¯·èµ é"); goto IM9ri; RRnlY: if (empty($insert_val)) { goto zbHEf; } goto KrAqo; B7urn: $i++; goto XRi4T; UI4jZ: if (!($inviteLog >= $cfg[$_ENV{"¡ÀÛ"}{"\x93\x8b"}][$_ENV{"¡ÀÛ"}{"\x5f\x83"}] && $cfg[$_ENV{"¡ÀÛ"}{"\x23\x25"}][$_ENV{"¡ÀÛ"}{"\140\x1"}] > 0)) { goto ThtFq; } goto BI_Bp; S4Ed0: $insert_val .= $_ENV{"¡ÀÛ"}{"\212\22"}; goto SMJIm; LnEoA: zbHEf: goto ctYvM; g2sAn: global $_W; goto qAB07; NFUN5: return 1; goto bcbBQ; p2EEV: $remark = $_ENV{"¡ÀÛ"}{"\x4d\x5"}; goto XH6Lc; pBB3X: $inviteMem = ($inviteLog + 1) * $cfg[$_ENV{"¡ÀÛ"}{"\x97\x28"}][$_ENV{"¡ÀÛ"}{"\351\xd7"}]; goto XRqNo; cBcif: $insert_val = ''; goto fVy0H; K3fj9: VFKI0: goto B7urn; gTDRR: return 0; goto gQLb5; ctYvM: $log = array("weid" => $_W[$_ENV{"¡ÀÛ"}{"\211\135"}], "mid" => $mid, "gid" => $gid, "remark" => "èµ éè®°å½", "createtime" => time()); goto qCsRa; O2R2j: if (empty($cfg[$_ENV{"¡ÀÛ"}{"\334\xcf"}][$_ENV{"¡ÀÛ"}{"\x87\10"}])) { goto ZUx1P; } goto pBB3X; e4TcG: return 1; goto lri47; GNduG: $i = 0; goto R9Nzv; w6SKY: $status = 1; goto p2EEV; dmn3x: $cfg = $this->module[$_ENV{"¡ÀÛ"}{"\x4f\xac"}]; goto dv5mZ; d01vy: $orderno = $_ENV{"¡ÀÛ"}{"\262\240"} . $_W[$_ENV{"¡ÀÛ"}{"\31\x46"}] . strtoupper(random(8)) . $time; goto iRPrX; gQLb5: A566a: goto tVCUz; AJm4V: return 0; goto vMgei; V0B1a: ZUx1P: goto VdAWL; qAB07: if (!empty($cfg)) { goto c_64z; } goto dmn3x; RJP88: $isInvite = 1; goto O2R2j; N85Jg: if (!empty($todayMem)) { goto kQlGs; } goto AJm4V; lri47: $inert_sql = $_ENV{"¡ÀÛ"}{"\xb4\x48"} . tablename($_ENV{"¡ÀÛ"}{"\xfb\256"}) . $_ENV{"¡ÀÛ"}{"\xd9\253"}; goto cBcif; XH6Lc: $gid = $cfg[$_ENV{"¡ÀÛ"}{"\xaa\372"}][$_ENV{"¡ÀÛ"}{"\xc1\15"}]; goto GNduG; dv5mZ: c_64z: goto hlfH6; UozOP: pBE27: goto V0B1a; hlfH6: if (!(empty($cfg[$_ENV{"¡ÀÛ"}{"\245\xcc"}][$_ENV{"¡ÀÛ"}{"\54\xe0"}]) || empty($cfg[$_ENV{"¡ÀÛ"}{"\242\xfe"}][$_ENV{"¡ÀÛ"}{"\314\xfd"}]))) { goto A566a; } goto gTDRR; z0kg5: $todayMem = col($_ENV{"¡ÀÛ"}{"\174\xf8"} . tb($_ENV{"¡ÀÛ"}{"\x83\x20"}) . "{$_ENV{"¡ÀÛ"}{"\xa2\x2"}}{$_W[$_ENV{"¡ÀÛ"}{"\xbf\xe5"}]}{$_ENV{"¡ÀÛ"}{"\xfb\x8c"}}{$mid}{$_ENV{"¡ÀÛ"}{"\243\3"}}"); goto N85Jg; YQK7m: lxZHQ: goto RRnlY; bcbBQ: } public function getShare($openid, $cfg = "") { goto c0O2R; Go1uL: $share[$_ENV{"¡ÀÛ"}{"\xa8\347"}] = toimage($cfg[$_ENV{"¡ÀÛ"}{"\xde\255"}][$_ENV{"¡ÀÛ"}{"\x91\26"}]); goto pHbQJ; IuEAZ: $cfg = $this->module[$_ENV{"¡ÀÛ"}{"\x1d\xe2"}]; goto mn1Sr; L6Y4D: Gn8aZ: goto rLLGv; tU8Rm: $share[$_ENV{"¡ÀÛ"}{"\264\77"}] = str_replace($_ENV{"¡ÀÛ"}{"\10\x15"}, $mem[$_ENV{"¡ÀÛ"}{"\x8a\x6"}], $share[$_ENV{"¡ÀÛ"}{"\204\x97"}]); goto ZJnRM; zxdB2: if (!empty($cfg)) { goto kUSnc; } goto IuEAZ; c0O2R: global $_W; goto zxdB2; dVEx1: if (empty($share[$_ENV{"¡ÀÛ"}{"\xec\x9b"}])) { goto Gn8aZ; } goto xR448; xR448: $share[$_ENV{"¡ÀÛ"}{"\34\xda"}] = toimage($share[$_ENV{"¡ÀÛ"}{"\xeb\116"}]); goto L6Y4D; xgrLh: if (!empty($mem) && !empty($cfg[$_ENV{"¡ÀÛ"}{"\133\215"}][$_ENV{"¡ÀÛ"}{"\xf2\x1d"}])) { goto arLkW; } goto xdA7G; lmXoN: VNNUI: goto oPUUW; pHbQJ: xJFaf: goto lmXoN; n5TS8: return $share; goto s3hfq; bPNZ0: if (empty($cfg[$_ENV{"¡ÀÛ"}{"\342\37"}][$_ENV{"¡ÀÛ"}{"\135\235"}])) { goto xJFaf; } goto Go1uL; xdA7G: $url = $_W[$_ENV{"¡ÀÛ"}{"\332\xf2"}] . $_ENV{"¡ÀÛ"}{"\xe5\x0"} . substr($this->createMobileUrl($_ENV{"¡ÀÛ"}{"\204\xe"}), 1); goto dVEx1; LL3bF: $share[$_ENV{"¡ÀÛ"}{"\333\x13"}] = $cfg[$_ENV{"¡ÀÛ"}{"\xe3\xaf"}][$_ENV{"¡ÀÛ"}{"\xa8\207"}]; goto tU8Rm; ZJnRM: $share[$_ENV{"¡ÀÛ"}{"\245\20"}] = $cfg[$_ENV{"¡ÀÛ"}{"\254\xa7"}][$_ENV{"¡ÀÛ"}{"\xae\277"}]; goto bPNZ0; x52hZ: $url = $_W[$_ENV{"¡ÀÛ"}{"\x8\223"}] . $_ENV{"¡ÀÛ"}{"\242\xcd"} . substr($this->createMobileUrl($_ENV{"¡ÀÛ"}{"\xc9\xde"}, array("shareid" => $mem[$_ENV{"¡ÀÛ"}{"\xf6\234"}])), 1); goto LL3bF; oPUUW: $share[$_ENV{"¡ÀÛ"}{"\232\xd2"}] = $url; goto n5TS8; r6L4i: $mem = get($_ENV{"¡ÀÛ"}{"\x93\xf3"} . tb($_ENV{"¡ÀÛ"}{"\xb4\xcb"})