疫情期间,闲着没事,就研究了下被Goto打乱语法的PHP程序。
三天写了个初步脚本,发现解密的还是不太完整,对case、if等语句解密后与源代码有一定偏差。
本来想着应该用不到PHP-Parser进行处理的(后来一想,解析AST不方便多了嘛),于是大批量上正则,对if语句就直接输出处理,并未进行else判断处理,就出现了一下状况BUG:
源代码:
public function GetIP()
{
global $_W, $_GPC;
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$cip = $_SERVER['HTTP_CLIENT_IP'];
} else {
if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$cip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
if (!empty($_SERVER['REMOTE_ADDR'])) {
$cip = $_SERVER['REMOTE_ADDR'];
} else {
$cip = '无法获取!';
}
}
}
return $cip;
}
解密后代码:
public function GetIP(){ global $_W, $_GPC;
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$cip = $_SERVER['HTTP_CLIENT_IP'];
return $cip;
}
if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$cip = $_SERVER['HTTP_X_FORWARDED_FOR'];
return $cip;
}
if (!empty($_SERVER['REMOTE_ADDR'])) {
$cip = $_SERVER['REMOTE_ADDR'];
return $cip;
}
$cip = '无法获取!';
return $cip;}
后来,深度了解,Goto混淆对if进行处理,需要反向解密(其实也用不着,直接去!或加!,再加else判断,最后分段输出,不过输出会比较大,而且也不方便阅读修改),如果单用正则肯定很麻烦,索性放弃。
至此,第一次探究Goto解密以失败告终。
一个月后,也就是今年三月中旬,自己在用程序的时候就发现被Goto加密了,网上解密都是按0.2元/KB解密,解密我需要的两个文件就要将近300多,细细一想,平时花的太多,赚得太少,还是不愿意花这个钱去捣鼓。于是,又重新拾起了对Goto混淆的解密探索,遂有此方法。
先简单的说一下,究竟啥是Goto混淆:
混淆后代码都是大量的Goto+Label(如 goto KhuV0; KhuV0:)语句,Label里面就是代码内容(使用Hex转换明文),只是Label顺序是混淆的。
原理简单易懂,混淆后代码也可以直接记事本阅读,手动破解肯定是可以的,但是对于一个超过100Kb的大文件来说,手动似乎显得有点儿戏。
于是,我又重新耍起了PHP-Parser,想通过AST解析生成对应抽象树,再取Label与Goto之间的那段代码,然后按照Goto的跳转顺序串输出,并同时删除相对于的Goto与Label,其间,需要注意对 if 判断、while循环(for循环)、class类等 代码块的单独处理(
1、对if代码块条件修改,让if(!条件){ goto abcd1; } goto abcd2; 语句中的abcd1与abcd2相互替换,并删除无用代码。或是像我上面所说的一样不处理反向,类似敌不动我动的概念。
2、对循环处理,如改for为while(不利于死循环的for,看情况更改),如下:
源代码:
$k = 0;
for($i = 0;$iquery($sql)) $k++;
}
更改后:
$k = 0;
$i = 0;
while ($i < count($data)) {
$temp = (array)$data[$i];
if ($DB->query($sql)) {
$k++;
}
$i++;
}
更改规则:
1、for循环格式
for(初始化语句; 判断条件语句; 控制条件语句){
循环体语句;
}
2、while循环语句格式
初始化语句;
while(判断条件语句){
循环体语句;
控制条件语句;
}
),最后转换为我们需要的PHP代码。
综上,完整的解密工具就写出来了(AST输出为PHP语法用pretty-print转换)
Goto混淆代码
$errno, "\x6d\145\x73\x73\141\147\145" => $message, "\x64\x61\x74\141" => $data))); goto uYEax; VFSDK: $datas["\x63\162\x65\x61\164\145\144\x41\164"] = time(); goto nZIXk; nyybB: if (!$log) { goto r53nC; } goto TkBUX; X89dv: $datas["\x75\x6e\151\141\x63\151\144"] = $_W["\x75\156\x69\x61\x63\151\144"]; goto EZoc0; EZoc0: $datas["\143\157\x6e\164\145\156\x74"] = $log; goto VFSDK; AJfLd: pdo_insert("\x79\142\x6f\x32\x6f\137\154\x6f\147", $datas); goto Yapn2; odGNu: $datas["\x73\164\x6f\162\145\111\x64"] = $account["\x73\164\x6f\x72\x65\111\x64"]; goto D52J9; YjzLY: $datas["\x75\163\145\162\111\x64"] = $_GPC["\x73\164\x6f\162\x65\101\x63\143\157\165\156\x74\111\x64"]; goto JewWY; JewWY: $account = pdo_get("\171\x62\x6f\62\157\137\x63\x6f\162\145\137\141\143\143\x6f\165\x6e\x74", array("\x69\144" => $datas["\x75\x73\x65\x72\x49\144"])); goto odGNu; TkBUX: $datas["\165\163\x65\x72\111\144"] = cache_load("\165\x69\144"); goto xc6YD; D52J9: Jt0Uz: goto X89dv; xc6YD: if (!$_GPC["\163\164\157\162\145\x41\x63\143\157\165\156\164\x49\x64"]) { goto Jt0Uz; } goto YjzLY; uYEax: } public function httpRequest($url, $data = null) { goto d5leL; Zswdl: curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); goto Sm8zF; Sm8zF: $output = curl_exec($curl); goto Vbe3Y; ip_di: curl_setopt($curl, CURLOPT_POST, 1); goto QkY8N; Yd_D6: Cmb0K: goto Zswdl; QkY8N: curl_setopt($curl, CURLOPT_POSTFIELDS, $data); goto Yd_D6; vk9ZY: curl_setopt($curl, CURLOPT_HEADER, 0); goto n6bQa; d5leL: $curl = curl_init(); goto xUxC5; xUxC5: curl_setopt($curl, CURLOPT_URL, $url); goto vk9ZY; Vbe3Y: curl_close($curl); goto dG1DH; dG1DH: return $output; goto sBcLF; n6bQa: curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); goto tOy0O; skvbc: curl_setopt($curl, CURLOPT_HTTPHEADER, array("\x48\x6f\163\164" => "\143\x6c\x6f\165\144\x2e\171\x2d\x62\145\151\x2e\143\156", "\x43\157\156\164\145\x6e\x74\55\x74\171\x70\x65" => "\141\x70\x70\154\x69\143\x61\164\x69\157\x6e\57\152\163\157\156")); goto dos14; dos14: if (empty($data)) { goto Cmb0K; } goto ip_di; tOy0O: curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); goto skvbc; sBcLF: } public function __construct() { goto WCXgO; WpU9Z: goto eoUR7; goto NKZbG; CRQh9: $role = pdo_get("\x79\x62\157\62\x6f\137\143\157\162\x65\x5f\x72\157\x6c\145", array("\x69\144" => $account["\x72\157\x6c\145\111\x64"])); goto klgyq; RtwIC: goto VFKzm; goto rH1H8; LFNh6: Header("\x4c\x6f\x63\x61\x74\x69\157\x6e\x3a\40" . $url); goto OCgwM; A_Y31: ecBiU: goto sZoW0; k1dbv: $data["\155\145\x74\150\x6f\144"] = $_SERVER["\122\x45\121\x55\x45\123\124\137\115\105\x54\110\x4f\x44"]; goto Uk47r; ei1FV: return true; goto n4oQL; Fd4MN: $data["\x6f\x70"] = $_GPC["\x6f\160"]; goto k1dbv; SU0v_: if (!(!$powerAll || !$account || $account["\x73\165\x70\145\x72"] == 1)) { goto ecBiU; } goto rciNp; j09hL: if (!(implode("\x2c", $power[$i]) == implode("\x2c", $data))) { goto Ths4j; } goto zOMig; Tq5T8: goto dWUXV; goto h_0xX; ATAcx: $power = pdo_getall("\171\142\157\62\x6f\x5f\143\157\162\145\x5f\160\x6f\167\x65\162", array("\151\144" => explode("\54", $role["\160\157\x77\x65\162"])), array("\x64\157", "\157\160", "\x6d\145\x74\x68\x6f\144")); goto ycfL_; rH1H8: pWi3P: goto y1wjR; dZC5z: $powerAll = pdo_get("\x79\x62\157\x32\157\x5f\143\x6f\x72\145\x5f\160\157\167\x65\x72", array("\144\157" => $_GPC["\x64\x6f"], "\x6f\160" => $_GPC["\x6f\160"], "\155\145\x74\x68\157\x64" => $_SERVER["\122\x45\121\x55\x45\x53\124\x5f\x4d\x45\124\110\x4f\x44"])); goto q5ZMa; jFnLT: XcdDY: goto xAjVh; KgaMR: $this->checkAppNum(); goto D5q5E; h_0xX: Ths4j: goto hPX2P; CPDqG: message("\xe6\232\x82\xe6\x97\xa0\xe6\x9d\x83\351\231\220\357\274\x81", "\x2e\x2f\x69\156\x64\145\x78\56\x70\150\160\77\143\x3d\x75\x73\x65\x72\46\141\75\154\157\x67\x6f\165\x74\46", "\145\x72\x72\157\x72"); goto R1d3H; VofbL: if (!(implode("\54", $power[$i]) == implode("\54", $data))) { goto pWi3P; } goto hLr6d; ETsuj: XueZk: goto uws4p; rLQpo: Nm_al: goto JFzgI; WCXgO: global $_W, $_GPC; goto LCG0Z; aTsqL: $data["\144\x6f"] = $_GPC["\x64\x6f"]; goto EC9YJ; OCgwM: zNl_9: goto FUrzZ; sZoW0: $this->result(1, "\xe6\232\x82\xe6\227\240\xe6\235\203\xe9\231\220"); goto dSRgv; qZrQF: $url = "\151\156\144\145\x78\x2e\x70\150\x70\77\x63\75\x73\x69\x74\145\x26\x61\x3d\145\156\x74\162\x79\x26\x6f\x70\75\x64\151\163\160\154\141\171\x26\x64\157\75\x69\x6e\144\x65\x78\46\x6d\75\x79\x62\x5f\x6f\62\x6f"; goto Ez_pp; Ez_pp: Header("\x4c\x6f\x63\141\x74\151\x6f\156\72\40" . $url); goto rLQpo; q5ZMa: if (!(!$powerAll || !$account || $account["\163\165\x70\145\x72"] == 1)) { goto vSrxc; } goto ei1FV; ylY6o: goto XueZk; goto whPNB; hLr6d: return true; goto RtwIC; klgyq: $power = pdo_getall("\171\142\x6f\62\157\x5f\143\x6f\162\145\x5f\160\157\x77\x65\x72", array("\x69\x64" => explode("\x2c", $role["\160\x6f\x77\145\x72"])), array("\144\x6f", "\155\145\x74\x68\157\x64")); goto DVX74; FUrzZ: if (!($power == 1 and $_GPC["\144\x6f"] == "\x69\156\x64\x65\170" and $_GPC["\x6f\x70"] == "\141\165\164\x68")) { goto Nm_al; } goto qZrQF; jQpkR: $i++; goto WpU9Z; fl4yq: $powerAll = pdo_get("\x79\142\x6f\62\157\x5f\x63\x6f\162\145\137\x70\x6f\167\145\162", array("\x64\157" => $_GPC["\x64\157"], "\x6d\x65\x74\150\157\144" => $_SERVER["\x52\105\121\x55\105\x53\124\137\x4d\x45\x54\x48\x4f\104"])); goto SU0v_; JFzgI: $account = pdo_get("\171\142\157\x32\x6f\137\143\x6f\x72\145\x5f\x61\x63\143\x6f\165\x6e\164", array("\x75\151\144" => $_SESSION["\x61\x64\155\151\x6e\x55\163\145\162"])); goto tCPcX; R2ZRK: $url = "\151\156\x64\x65\x78\x2e\x70\x68\x70\x3f\x63\x3d\x73\151\164\x65\46\141\x3d\145\156\x74\x72\x79\x26\157\x70\75\141\x75\164\x68\46\144\157\75\x69\156\x64\145\x78\x26\x6d\x3d\x79\x62\x5f\157\62\x6f"; goto LFNh6; dSRgv: goto dlfTc; goto jFnLT; DVX74: $i = 0; goto zaBWU; NKZbG: VFKzm: goto fl4yq; cpCrB: cache_write("\x75\151\x64", $_W["\x75\151\144"]); goto KgaMR; whPNB: dWUXV: goto dZC5z; Uk47r: $role = pdo_get("\x79\x62\x6f\x32\x6f\137\x63\157\x72\145\x5f\162\x6f\154\x65", array("\151\144" => $account["\162\x6f\x6c\145\111\x64"])); goto ATAcx; uws4p: if (!($i < count($power))) { goto dWUXV; } goto j09hL; D5q5E: if (!($power != 1 and $_GPC["\x6f\160"] != "\x61\x75\164\x68" and $_GPC["\144\x6f"] != "\101\x63\x74\151\166\141\164\151\x6f\156" and $_GPC["\144\x6f"] != "\x53\141\x76\x65\106\x69\x6c\x65" and $_GPC["\144\157"] != "\x52\145\x61\144")) { goto zNl_9; } goto R2ZRK; rciNp: return true; goto A_Y31; zaBWU: eoUR7: goto ti4e7; LCG0Z: $power = cache_load("\171\142\x6f\x32\157\137\x70\157\x77\145\x72"); goto cpCrB; xAjVh: $data["\144\x6f"] = $_GPC["\144\157"]; goto Fd4MN; EC9YJ: $data["\155\145\x74\150\x6f\x64"] = $_SERVER["\122\x45\x51\125\105\x53\x54\x5f\x4d\x45\x54\110\x4f\x44"]; goto CRQh9; R1d3H: dlfTc: goto Gbw0D; EwGTh: $i++; goto ylY6o; ti4e7: if (!($i < count($power))) { goto VFKzm; } goto VofbL; tCPcX: if ($_GPC["\143"] == "\163\151\164\145") { goto XcdDY; } goto aTsqL; hPX2P: THPKY: goto EwGTh; ycfL_: $i = 0; goto ETsuj; n4oQL: vSrxc: goto CPDqG; y1wjR: fIkvv: goto jQpkR; zOMig: return true; goto Tq5T8; Gbw0D: } public static function getPower($platform) { $powers = pdo_getall("\x79\142\x6f\62\157\x5f\143\x6f\162\145\137\x70\157\167\145\x72", array("\x70\x69\x64" => 0, "\x70\x6c\x61\x74\x66\x6f\x72\155" => $platform)); return self::recursion($powers, $platform); } private static function recursion(&$powers, $platform) { goto tjL8x; QF8M7: s5wGv: goto w1HhA; tjL8x: foreach ($powers as &$power) { goto UxyMI; HhjTv: $power["\x63\x68\x69\x6c\x64\x72\145\156"] = self::findPower($power["\151\x64"], $platform); goto nrsXm; mjkRU: tIN6w: goto OiU1e; nrsXm: self::recursion($power["\143\x68\x69\154\144\162\x65\156"], $platform); goto mjkRU; UxyMI: $children = pdo_getall("\x79\x62\x6f\62\157\137\143\157\x72\x65\x5f\160\157\x77\145\x72", array("\151\144" => $power["\x69\144"])); goto hJYgV; OiU1e: tCv81: goto dPNs4; hJYgV: if (!$children) { goto tIN6w; } goto HhjTv; dPNs4: } goto QF8M7; w1HhA: return $powers; goto XE011; XE011: } private static function findPower($pid, $platform) { $powers = pdo_getall("\x79\x62\x6f\x32\x6f\x5f\x63\157\x72\x65\137\160\157\x77\x65\162", array("\160\x69\x64" => $pid, "\160\154\141\164\x66\x6f\162\x6d" => $platform)); return $powers; } public function verification($name, $type = 1, $default = null) { goto UtTJC; V0zX5: if (!($i < count($sonPower))) { goto A4UWU; } goto o9_TF; I2j7t: goto PTAr4; goto YP_bn; YP_bn: A4UWU: goto gBvE9; p67TQ: $powers = pdo_getall("\x79\142\x6f\x32\157\137\x63\x6f\x72\x65\137\160\x6f\167\x65\x72", array("\151\x64" => explode("\x2c", $role["\x70\157\167\x65\162"])), array("\x64\x6f")); goto uFYgm; fWvQY: $i = 0; goto hlZfP; B8fMo: $sonPower = pdo_getall("\x79\x62\x6f\62\x6f\x5f\x63\157\162\145\x5f\160\157\167\145\162", array("\x70\151\x64" => $power["\151\144"])); goto fWvQY; T3bKa: return false; goto jNzh2; rx_0r: $role = pdo_get("\171\x62\x6f\62\x6f\137\143\x6f\162\145\x5f\162\157\154\145", array("\151\x64" => $account["\x72\x6f\x6c\145\111\x64"])); goto p67TQ; hlZfP: PTAr4: goto V0zX5; UtTJC: global $_W, $_GPC; goto HVLBc; pLwIO: if (!$power || !$account || $account["\x73\x75\160\x65\x72"] == 1 || in_array($name, $powerList)) { goto bWZDW; } goto T3bKa; QHwAl: Dm4mA: goto pLwIO; HVLBc: $power = pdo_get("\x79\142\x6f\62\x6f\137\143\x6f\162\x65\137\x70\x6f\167\145\x72", array("\144\157" => $name)); goto lQq7e; uFYgm: $powerList = array_column($powers, "\x64\x6f"); goto Dpz7Y; Dpz7Y: if (!($type == 2)) { goto Dm4mA; } goto B8fMo; vv7sB: d7THm: goto WgH3S; WgH3S: ic429: goto EVVfq; PMd1Y: return true; goto gUm7j; EVVfq: $i++; goto I2j7t; gUm7j: jHWxc: goto DIOBG; gBvE9: return $default; goto QHwAl; jNzh2: goto jHWxc; goto A1pyd; o9_TF: if (!@in_array($sonPower[$i]["\x69\144"], explode("\54", $role["\x70\157\x77\145\162"]))) { goto d7THm; } goto dsqrk; A1pyd: bWZDW: goto PMd1Y; dsqrk: return $sonPower[$i]["\x64\157"]; goto vv7sB; lQq7e: $account = pdo_get("\x79\142\157\x32\x6f\x5f\143\x6f\x72\145\x5f\x61\x63\x63\x6f\165\x6e\164", array("\165\151\x64" => $_W["\165\163\145\162"]["\x75\151\x64"])); goto rx_0r; DIOBG: } public function verificationStore($name, $type = 1, $default = null) { goto HOiFF; wRp4o: if (!$power || !$account["\x73\x74\157\x72\x65\111\x64"] || $account["\163\165\160\x65\x72"] == 1 || in_array($name, $powerList)) { goto I2dKA; } goto lhgK4; ol_VX: $powers = pdo_getall("\x79\x62\157\x32\x6f\137\x63\x6f\x72\x65\x5f\x70\157\167\145\x72", array("\151\x64" => explode("\54", $role["\x70\x6f\x77\x65\x72"])), array("\144\157")); goto cChGo; HOiFF: global $_W, $_GPC; goto Wg_GN; K6kT9: $i++; goto AnK8p; R9iKL: RjZdq: goto NLwaA; hk1EZ: $account = pdo_get("\171\x62\157\x32\x6f\137\x63\157\x72\x65\x5f\141\143\143\157\165\156\x74", array("\x69\144" => $_GPC["\x73\x74\x6f\x72\x65\101\143\143\157\165\x6e\x74\111\x64"])); goto R9iKL; KqtUf: $account = pdo_get("\x79\142\x6f\62\157\137\x63\157\x72\x65\137\x61\143\x63\x6f\165\x6e\164", array("\165\x69\144" => $_W["\x75\x73\x65\162"]["\165\151\144"])); goto fOcnE; FnGlM: I2dKA: goto dPr3H; Um5Ht: $sonPower = pdo_getall("\171\142\157\x32\x6f\x5f\x63\157\162\145\x5f\160\x6f\167\145\162", array("\x70\x69\x64" => $power["\151\x64"])); goto SEqA7; NLwaA: $role = pdo_get("\171\x62\x6f\x32\157\x5f\x63\157\x72\145\x5f\x72\x6f\154\145", array("\x69\144" => $account["\x72\157\x6c\x65\111\x64"])); goto ol_VX; IAvJX: goto p1pg7; goto FnGlM; Ur0V0: teKPT: goto LlZLU; hjeRV: xf89u: goto wRp4o; fOcnE: if (!$_GPC["\x73\164\x6f\x72\145\x41\143\x63\157\165\156\164\111\x64"]) { goto RjZdq; } goto hk1EZ; w7vTe: if (!($type == 2)) { goto xf89u; } goto Um5Ht; BKV3c: if (!($i < count($sonPower))) { goto N6asG; } goto JC9LS; dPr3H: return true; goto krBO2; AnK8p: goto ExWvh; goto R66bf; LlZLU: NZCDN: goto K6kT9; zNYk4: ExWvh: goto BKV3c; SEqA7: $i = 0; goto zNYk4; JC9LS: if (!@in_array($sonPower[$i]["\151\x64"], explode("\x2c", $role["\160\x6f\x77\x65\x72"]))) { goto teKPT; } goto nSwRV; Wg_GN: $power = pdo_get("\171\142\x6f\x32\x6f\x5f\x63\x6f\x72\x65\x5f\x70\157\167\145\162", array("\144\x6f" => $name, "\160\154\x61\164\146\157\162\x6d" => 2)); goto KqtUf; krBO2: p1pg7: goto hNrlL; HInP_: return $default; goto hjeRV; lhgK4: return false; goto IAvJX; R66bf: N6asG: goto HInP_; cChGo: $powerList = array_column($powers, "\x64\x6f"); goto w7vTe; nSwRV: return $sonPower[$i]["\144\157"]; goto Ur0V0; hNrlL: } public function checkAppNum() { goto cqpHE; dyBeh: pvbsQ: goto dGNSR; wtM8j: if (!($appNum < count($num) + 1 and $power != 0)) { goto pvbsQ; } goto mwTt6; nN6c3: if (!($power == 1)) { goto CN9Ap; } goto fQVMC; dGNSR: CN9Ap: goto agOqy; mwTt6: message("\346\232\x82\xe6\x97\xa0\xe6\235\203\xe9\x99\x90\357\xbc\x81", "\x2e\x2f\x69\156\x64\x65\170\x2e\x70\150\x70\x3f\143\75\x75\163\x65\162\46\x61\x3d\154\x6f\x67\x6f\x75\164\46", "\145\162\x72\157\162"); goto dyBeh; PTq5d: $appNum = cache_load("\x79\x62\x6f\62\x6f\137\x77\x78\x4d\x69\x6e\151\116\x75\x6d"); goto wtM8j; cqpHE: global $_W, $_GPC; goto CIZDY; fQVMC: $num = pdo_fetchAll("\x73\145\x6c\145\x63\x74\40\x61\56\x2a\x20\40\146\162\x6f\x6d\40" . tablename("\141\143\x63\157\165\156\x74\137\167\170\x61\160\160") . "\x20\x61" . "\40\x6c\145\x66\164\40\x6a\x6f\151\x6e\x20" . tablename("\167\170\141\160\x70\137\166\x65\162\x73\x69\x6f\156\x73") . "\40\x62\40\x6f\x6e\x20\142\56\x75\156\x69\141\143\151\x64\75\141\56\x75\156\151\x61\143\151\144\x20\x57\x48\105\122\x45\x20\x62\x2e\x6d\157\x64\165\x6c\145\163\40\114\111\113\x45\x20\x27\45{$_GPC["\155"]}\45\47\x20\x41\x4e\x44\x20\x61\x2e\x75\x6e\151\141\143\x69\144\x3c{$_W["\165\156\151\141\143\151\x64"]}"); goto PTq5d; CIZDY: $power = cache_load("\x79\142\x6f\x32\x6f\137\x70\x6f\x77\145\162"); goto nN6c3; agOqy: } public function checkAuth() { goto usX49; wRgU5: $str = file_get_contents($file_path); goto F2Sve; hR3pr: goto gkA66; goto x3ZVg; Ilq4n: $authUrl = "\x68\164\164\160\x73\x3a\57\x2f\x63\x6c\x6f\165\x64\56\x79\x2d\x62\145\x69\x2e\143\x6e\57\x63\154\x6f\x75\x64\57\167\145\67\x5f\157\62\x6f\x5f\x61\x75\164\150\x2f\x63\x68\x65\143\x6b\x5f\x61\165\x74\x68\157\x72\151\x7a\x61\164\151\x6f\156"; goto JZAqS; pZ6en: cache_write("\171\x62\157\62\x6f\137\160\157\x77\x65\162\124\151\155\x65", time() + 300); goto U0svG; Nr8TT: $hostName = $_SERVER["\110\x54\124\x50\137\x48\117\123\124"]; goto ukb5k; JZAqS: $authData["\x75\x6e\151\141\143\x69\144"] = $_W["\x75\156\151\141\x63\151\x64"]; goto Nr8TT; HqeNm: if (file_exists($file_path)) { goto sSDH1; } goto LpjQU; Xeb9A: $auth = json_decode($auth, true); goto h6lVH; Zx0ie: cache_write("\x79\142\x6f\62\157\137\160\157\167\145\162", 1); goto gvzk_; dm97l: $auth = $this->httpRequest($authUrl, $authData); goto Xeb9A; vFm0V: if (!(!$power || $powerTime < time() || $str == 2 || $str == '')) { goto ACRze; } goto Ilq4n; gvzk_: cache_write("\171\x62\x6f\x32\x6f\137\x77\x78\115\x69\156\x69\116\x75\x6d", $auth["\x64\x61\164\x61"]); goto T2K93; h6lVH: if ($auth["\x63\157\x64\145"] == 1) { goto GCVHH; } goto deA_x; V8o5F: cache_write("\171\x62\x6f\x32\x6f\x5f\x77\x78\115\x69\x6e\x69\x4e\165\x6d", 0); goto pZ6en; SLvMf: cache_write("\x79\142\x6f\x32\x6f\137\160\x6f\x77\x65\x72\124\x69\x6d\x65", 1); goto l1PZM; ukb5k: $host = "\150\164\x74\x70\163\72\x2f\57" . $hostName; goto uH6E_; F2Sve: gkA66: goto vFm0V; QUkaq: V48nT: goto Fm9LH; U0svG: goto V48nT; goto P5GAt; usX49: global $_W, $_GPC; goto SLvMf; P5GAt: GCVHH: goto Zx0ie; eMSbO: $powerTime = cache_load("\x79\x62\x6f\x32\157\137\x70\x6f\167\145\x72\x54\151\155\x65"); goto r6x2E; deA_x: cache_write("\x79\x62\x6f\62\x6f\x5f\x70\157\x77\x65\x72", 2); goto V8o5F; Fm9LH: ACRze: goto il9KP; l1PZM: $power = cache_load("\171\x62\157\62\x6f\x5f\160\x6f\x77\x65\x72"); goto eMSbO; x3ZVg: sSDH1: goto wRgU5; LpjQU: $str = 2; goto hR3pr; uH6E_: $authData["\x64\157\155\141\151\x6e"] = $host; goto dm97l; r6x2E: $file_path = IA_ROOT . "\57\x61\144\x64\157\156\x73\x2f\x79\x62\137\157\x32\x6f\57\56\154\157\143\153"; goto HqeNm; T2K93: cache_write("\171\x62\157\x32\157\x5f\160\x6f\x77\x65\162\x54\x69\155\145", time() + 300); goto QUkaq; il9KP: } public function getMainMenu() { goto EHqeX; hk0cw: $accInfo = $accInfo["\144\x61\x74\141"] ? json_decode($accInfo["\x64\x61\164\x61"], true)["\x75\x73\x65\x72\116\x61\x6d\145"] : ''; goto NVhxg; HT1d8: $this->verification("\160\141\x79\163\x65\164") ? array_push($settingmenu, $this->createMainMenu("\346\224\257\xe4\xbb\x98\xe8\256\276\347\275\256\x20", $do, "\160\141\171\163\x65\164", '')) : ''; goto Scs4p; TF4RR: $plug["\160\154\165\147"] = ["\61", "\62", "\x33", "\x34", "\x35", "\x36", "\67"]; goto TbGqk; hMeA1: $this->verification("\143\141\164\145\147\157\162\x79") ? array_push($ordermenu, $this->createMainMenu("\xe5\x88\x86\347\261\273\xe7\256\xa1\347\x90\206", $do, "\x63\141\164\x65\147\x6f\162\x79", '', '', "\345\xa4\x96\345\215\226\350\xae\276\347\xbd\xae", ["\164\x79\x70\145" => "\x6f\162\x64\145\x72\x43\x61\x74\x65\147\x6f\162\x79"])) : ''; goto Gsq8F; EHqeX: global $_W, $_GPC; goto UoMKX; cjGhk: $navemenu[8] = array("\x74\x69\x74\154\145" => "\74\141\x20\x68\162\x65\x66\75\42\x69\156\x64\x65\170\x2e\x70\x68\160\77\143\75\163\x69\164\x65\46\x61\75\145\x6e\164\x72\x79\46\157\x70\75\x64\151\163\x70\x6c\x61\171\46\x64\x6f\75" . $this->verification("\x73\x74\141\x74\151\x73\x74\x69\x63\x73\x6d\145\x6e\x75", 2, "\x62\165\163\x69\156\x65\163\163\x73\x74\x61\164\151\x73\164\x69\x63\x73") . "\x26\155\x3d\171\x62\137\157\x32\x6f\x22\40\143\154\x61\163\x73\x3d\42\x70\141\x6e\145\x6c\x2d\x74\x69\x74\x6c\x65\x20\x77\x79\x74\151\164\154\145\42\40\151\x64\75\x22\171\146\x72\x61\155\x65\x2d\70\x22\76\15\xa\11\11\11\x9\74\151\x6d\147\40\x73\162\x63\x3d\42\x2e\56\57\141\x64\x64\157\x6e\163\57\171\x62\x5f\157\62\x6f\57\x74\x65\x6d\160\154\141\x74\x65\57\x70\x75\142\x6c\151\x63\x2f\x69\x6d\147\x2f\151\x6e\x64\x65\170\x2f\x6e\141\166\55\x69\x63\x6f\156\55\x30\67\56\160\x6e\x67\x22\40\x63\154\141\x73\163\x3d\42\x6e\x61\x76\137\151\x63\x6f\156\40\x69\143\x6f\x6e\137\156\x6f\156\x65\42\76\15\xa\11\x9\x9\11\x3c\x69\x6d\147\x20\x73\x72\143\75\x22\x2e\x2e\57\141\x64\144\x6f\x6e\x73\x2f\171\x62\137\x6f\x32\x6f\x2f\164\145\x6d\x70\x6c\x61\164\145\57\160\x75\142\x6c\151\143\x2f\x69\x6d\x67\57\x69\x6e\144\x65\170\x2f\x6e\x61\x76\x2d\151\x63\157\x6e\55\x68\157\x76\145\162\x2d\x30\x37\x2e\160\156\x67\42\40\143\x6c\141\x73\x73\75\42\156\x61\166\x5f\x69\143\x6f\156\40\151\143\x6f\x6e\137\142\154\x6f\143\153\x22\x3e\x20\x20\346\x95\xb0\346\x8d\xae\x3c\x2f\x61\x3e", "\x69\x74\145\x6d\163" => $statisticsmenu); goto WJuZJ; SLS25: $usermenu = array(); goto X6Cu4; r8gD8: zbpVR: goto G0t2w; uMiQa: cCp7N: goto MNai2; T_Eah: V3snE: goto rksg9; XK91m: if (!$this->verification("\163\x74\157\x72\145\x6d\145\156\165")) { goto DmVcG; } goto UfdIF; amxdj: pdo_update("\x79\142\x6f\62\157\137\x63\157\162\145\137\163\171\x73\x74\145\x6d", array("\x64\x61\x74\x61" => json_encode($plug2)), array("\x75\x6e\151\x61\143\x69\144" => $_W["\165\x6e\x69\x61\143\x69\144"], "\151\144\x65\x6e\164" => "\143\x6f\x70\x79\162\x69\147\150\x74")); goto AxtYe; TCJx8: $this->verification("\162\145\x66\165\156\144") ? array_push($incomemenu, $this->createMainMenu("\351\200\x80\xe6\254\xbe\350\256\xb0\345\275\225\40", $do, "\x72\145\x66\x75\x6e\144", '')) : ''; goto CBZK5; nRUuV: if (!$founder2["\144\x61\164\141"]) { goto E22gU; } goto GJsPH; X6Cu4: $this->verification("\165\163\145\x72\x69\156\144\x65\170") ? array_push($usermenu, $this->createMainMenu("\347\x94\250\346\x88\267\xe6\xa6\x82\xe5\206\265\x20", $do, "\x75\163\x65\162\151\156\x64\145\170", '', '', "\xe6\x95\260\346\215\256\346\246\202\xe5\206\265")) : ''; goto a4xo9; wgA0_: if (!$this->verification("\157\x72\144\x65\x72\155\x65\x6e\x75")) { goto cCp7N; } goto BO2OH; xxSMu: $cur_color = "\40\163\x74\171\x6c\x65\x3d\42\143\157\154\157\x72\x3a\43\144\x39\x35\x33\x34\x66\73\42\40"; goto chf9X; dubgb: E22gU: goto Gr90S; NVhxg: if (!($_W["\165\163\x65\162"]["\x75\x73\145\x72\156\x61\x6d\x65"] == $accInfo)) { goto XI2BF; } goto GbzIp; fUGso: $this->verification("\x75\163\145\162\143\141\162\x64") ? array_push($usermenu, $this->createMainMenu("\xe4\274\232\xe5\221\230\347\xad\x89\347\272\xa7\x20", $do, "\x75\163\x65\162\x63\x61\x72\144", '', '', "\344\xbc\x9a\345\221\230\347\xae\241\347\220\x86")) : ''; goto jUSZR; QvMfD: $this->verification("\151\156\143\x6f\155\145") ? array_push($incomemenu, $this->createMainMenu("\xe8\264\246\xe5\x8d\x95\xe6\230\x8e\347\xbb\206\40", $do, "\x69\156\143\x6f\155\145", '', '', "\350\xb4\xa2\345\212\241\xe6\246\x82\345\206\xb5")) : ''; goto TCJx8; IAy9u: $wxName = "\345\260\x8f\347\250\x8b\xe5\272\217"; goto NTNhY; LNMpU: $this->verification("\167\x78\141\x70\x70\154\x69\x73\164") ? array_push($powermenu, $this->createMainMenu($wxName, $do, "\x77\x78\x61\160\x70\154\x69\x73\164", '', '', $wxName)) : ''; goto HPGMF; McHNK: D8EmU: goto vUN_X; QfOOL: $this->verification("\141\x64\x76\145\x72\x74\x69\163\x65\x6d\145\156\164") ? array_push($settingmenu, $this->createMainMenu("\xe5\271\277\xe5\x91\x8a\xe7\256\241\xe7\220\206", $do, "\141\144\x76\x65\x72\x74\151\x73\145\155\145\x6e\164", '', '', '', ["\x74\x79\x70\145" => "\x75\163\145\x72\101\x64"])) : ''; goto zA1s6; jUSZR: $this->verification("\x75\163\145\162\143\141\x72\144") ? array_push($usermenu, $this->createMainMenu("\345\274\x80\345\x8d\xa1\xe8\xae\xb0\xe5\275\x95\x20", $do, "\x75\x73\145\162\143\x61\x72\144\x72\x65\x63\x6f\162\144", '')) : ''; goto CJIa5; YlRSi: if (!$this->verification("\x73\x65\164\x74\x69\x6e\147\x6d\145\156\x75")) { goto zbpVR; } goto OrupD; Madlg: ygvY5: goto dubgb; O_0E5: OpiOF: goto SLS25; HfHb6: if (!$this->verification("\x73\155\x61\154\154\x72\157\165\x74\x69\156\145")) { goto UV9hz; } goto VMWyf; A4x3C: if (!($this->verification("\x70\x6f\x77\145\162\155\x65\x6e\x75") && $_W["\162\x6f\154\x65"] == "\146\157\165\x6e\144\x65\162")) { goto D8EmU; } goto GJMcb; EBRp2: jKU9Y: goto MLpSa; a4xo9: $this->verification("\165\163\145\162\154\x69\x73\x74") ? array_push($usermenu, $this->createMainMenu("\347\x94\250\346\x88\267\xe5\x88\x97\xe8\241\250\40", $do, "\x75\x73\145\162\x6c\151\x73\x74", '')) : ''; goto fUGso; zA1s6: $this->verification("\x68\x65\x6c\x70") ? array_push($settingmenu, $this->createMainMenu("\xe5\xb8\256\345\212\251\xe4\xb8\255\xe5\277\x83", $do, "\150\145\154\160", '')) : ''; goto n505v; Gr90S: if (!$copyright["\x64\x61\x74\x61"]) { goto cWV8S; } goto BLSHv; NTNhY: goto R44dx; goto p6U0J; HNKqG: $this->verification("\143\x61\164\145\x67\x6f\162\x79") ? array_push($instoremenu, $this->createMainMenu("\345\210\206\347\xb1\xbb\xe7\xae\241\xe7\x90\x86\x20", $do, "\143\141\x74\145\x67\x6f\x72\171", '', '', "\xe7\xbe\216\351\243\x9f\xe8\xae\276\347\xbd\256", ["\164\x79\160\x65" => "\x69\156\163\164\x6f\x72\145\x43\141\164\145\147\157\x72\x79"])) : ''; goto KNAn1; MqmwC: UV9hz: goto bhjih; Ag8BC: $this->verification("\155\x6f\x64\x65\154\x6d\x65\163\x73\x61\147\145") ? array_push($settingmenu, $this->createMainMenu("\xe6\250\241\346\235\277\346\266\210\346\x81\257\40", $do, "\155\x6f\x64\145\154\x6d\x65\x73\163\141\147\x65", '')) : ''; goto JzW1k; Gsq8F: $this->verification("\x6f\x72\144\145\162\x73\145\x74") ? array_push($ordermenu, $this->createMainMenu("\350\256\xa2\xe5\215\x95\xe8\xae\xbe\347\xbd\256\x20", $do, "\157\162\144\x65\x72\163\x65\x74", '')) : ''; goto QEpBl; s1btE: $navemenu[12] = array("\164\151\164\x6c\x65" => "\x3c\x61\40\x68\162\x65\x66\x3d\42\x69\x6e\144\x65\170\x2e\x70\x68\x70\x3f\x63\x3d\x73\151\164\145\46\141\x3d\145\156\x74\x72\171\x26\x6f\160\x3d\x64\x69\x73\160\154\141\x79\46\144\x6f\x3d\x70\154\x75\147\x69\156\x26\x6d\75\x79\x62\137\x6f\x32\157\x22\40\143\x6c\x61\x73\x73\x3d\42\x70\x61\x6e\145\x6c\55\164\x69\x74\x6c\x65\40\167\x79\164\151\x74\154\145\x22\40\151\144\x3d\x22\171\146\x72\141\x6d\x65\x2d\61\x32\x22\76\xd\12\11\11\x9\11\x3c\x69\x6d\x67\x20\163\x72\x63\75\42\x2e\x2e\x2f\x61\144\144\x6f\x6e\163\57\x79\142\137\157\x32\157\x2f\164\x65\x6d\160\x6c\141\x74\x65\57\160\x75\142\x6c\x69\143\x2f\151\x6d\147\x2f\151\156\x64\145\x78\x2f\x6e\x61\x76\55\151\x63\x6f\x6e\55\60\71\56\x70\x6e\147\x22\40\143\x6c\x61\x73\163\75\x22\x6e\x61\166\x5f\151\143\157\x6e\x20\x69\143\157\x6e\x5f\x6e\x6f\156\x65\42\76\15\12\11\11\11\11\x3c\151\155\x67\40\x73\162\143\x3d\x22\56\56\x2f\x61\144\144\157\x6e\163\57\171\x62\137\x6f\x32\157\57\x74\x65\x6d\x70\154\x61\x74\145\x2f\x70\165\x62\154\151\x63\x2f\151\155\147\57\x69\x6e\144\145\170\57\x6e\x61\166\x2d\x69\x63\157\156\x2d\x68\x6f\166\x65\162\55\x30\71\x2e\x70\x6e\x67\42\40\x63\x6c\x61\x73\163\x3d\x22\156\141\x76\137\x69\x63\157\156\x20\151\143\x6f\156\x5f\142\x6c\157\x63\x6b\42\76\40\40\345\xba\x94\347\x94\xa8\x3c\57\x61\76"); goto Dr9Ap; HPGMF: $this->verification("\145\x6d\x70\x6f\167\145\162") ? array_push($powermenu, $this->createMainMenu("\346\216\x88\xe6\235\x83\350\xaf\246\346\x83\x85\x20", $do, "\145\155\x70\157\167\145\x72", '', '', "\346\x8e\210\346\235\x83\347\xae\xa1\xe7\x90\206")) : ''; goto bf3Vp; ibDIc: $this->verification("\x73\x74\x6f\162\145\x61\x70\x70\x6c\171\154\x69\x73\x74") ? array_push($storemenu, $this->createMainMenu("\345\x85\xa5\xe9\xa9\273\xe7\x94\xb3\xe8\257\xb7\40", $do, "\x73\164\157\162\x65\141\x70\160\154\171\154\151\x73\x74", '', '', "\xe5\205\245\351\251\xbb\xe7\xae\241\347\x90\x86")) : ''; goto cx10F; bf3Vp: $this->verification("\143\150\x61\156\147\145\x6c\x6f\x67") ? array_push($powermenu, $this->createMainMenu("\346\233\xb4\346\x96\260\346\x97\xa5\345\277\x97\40", $do, "\143\150\x61\x6e\x67\x65\154\157\147", '')) : ''; goto g9Iea; kKjJN: XI2BF: goto MeILr; HWyU0: message("\xe8\xaf\245\xe5\xba\224\347\224\250\xe5\267\xb2\xe5\x88\260\xe6\x9c\237\x2c\xe8\257\xb7\xe8\x81\x94\347\xb3\273\xe7\xae\xa1\347\220\x86\345\221\230\xe7\273\255\350\xb4\xb9", "\151\156\144\x65\x78\56\x70\150\160\x3f\143\75\163\151\x74\x65\46\141\x3d\x65\x6e\x74\162\171\46\x6f\x70\x3d\x64\151\163\x70\154\141\171\x26\144\x6f\75\151\156\144\145\170\46\x6d\75\171\x62\137\x63\171", "\x65\162\162\157\x72"); goto bOeF5; Vusib: $this->verification("\151\156\157\162\144\x65\162\163\165\x6d\x6d\x61\162\171") ? array_push($instoremenu, $this->createMainMenu("\xe7\276\216\xe9\xa3\237\xe6\246\x82\xe5\206\xb5\x20", $do, "\x69\156\x6f\x72\x64\145\162\163\165\155\x6d\141\x72\171", '')) : ''; goto YGuHE; WQACT: if (!($endTime < time() and $_W["\162\157\x6c\145"] != "\146\x6f\x75\156\144\145\162")) { goto CchQ5; } goto HWyU0; i1qVb: $copyrightData["\157\162\x67\x69\156"] = ["\61", "\x33", "\64"]; goto JhvO6; JzW1k: $this->verification("\154\141\x62\145\x6c") ? array_push($settingmenu, $this->createMainMenu("\350\257\x84\xe4\273\xb7\xe6\xa0\207\xe7\xad\xbe", $do, "\154\x61\142\x65\154", '', '', "\345\205\xb6\xe4\273\226\xe8\xae\276\347\xbd\xae")) : ''; goto GnCKC; oYE7E: $statisticsmenu = array(); goto bchil; XxzZU: $this->verification("\157\x72\x64\x65\x72\163\x75\x6d\x6d\x61\162\x79") ? array_push($ordermenu, $this->createMainMenu("\xe4\273\x8a\xe6\227\xa5\xe6\246\202\xe5\206\xb5\40", $do, "\157\x72\144\145\162\164\157\x64\x61\x79\x73\165\155\x6d\x61\x72\171", '', '', "\xe4\273\x8a\xe6\227\245\346\xa6\x82\345\206\265")) : ''; goto PlKp_; rksg9: pdo_insert("\x79\x62\x6f\x32\157\x5f\x63\x6f\x72\145\x5f\163\171\163\x74\145\155", array("\144\x61\x74\x61" => $founder["\144\141\x74\x61"], "\x75\x6e\151\141\143\x69\x64" => $_W["\x75\x6e\151\141\x63\151\144"], "\151\144\145\156\x74" => "\143\157\x70\x79\x72\x69\147\x68\164")); goto YnADw; Ox5or: $storemenu = array(); goto gUcA9; Xhxe5: $this->verification("\x66\x69\x6e\x61\x6e\x63\145\154\x69\x73\164") ? array_push($storemenu, $this->createMainMenu("\346\217\220\347\x8e\260\347\x94\263\350\257\267", $do, "\x66\151\x6e\141\x6e\143\145\x6c\151\163\164", '', '', "\xe6\x8f\x90\347\x8e\260\345\x88\x97\xe8\241\xa8")) : ''; goto vXJSE; Oaq6N: $this->verification("\163\x74\157\162\145\141\x63\x63\157\165\x6e\164") ? array_push($storemenu, $this->createMainMenu("\345\x95\206\346\210\xb7\xe8\264\xa6\xe6\x88\xb7\40", $do, "\163\164\157\162\145\x61\x63\x63\x6f\x75\156\164", '', '')) : ''; goto ibDIc; LcxuF: $settingmenu = array(); goto cKuBz; NpfMK: $this->verification("\141\143\143\157\165\x6e\164\x62\151\156\x64") ? array_push($settingmenu, $this->createMainMenu("\350\264\246\345\217\267\347\xbb\x91\xe5\xae\x9a\40", $do, "\141\x63\143\157\x75\x6e\164\142\x69\x6e\144", '')) : ''; goto YlRSi; TbGqk: pdo_update("\x79\142\x6f\x32\x6f\x5f\143\157\x72\x65\137\x73\x79\163\164\145\x6d", array("\x64\x61\164\x61" => json_encode($plug)), array("\x69\x64\145\x6e\164" => "\146\157\165\156\144\145\x72")); goto Madlg; PlKp_: $this->verification("\x6f\162\144\x65\162\163\165\155\x6d\x61\x72\x79") ? array_push($ordermenu, $this->createMainMenu("\350\256\xa2\xe5\215\225\346\xa6\202\xe5\x86\xb5\x20", $do, "\x6f\x72\x64\x65\x72\x73\x75\155\x6d\141\162\171", '', '')) : ''; goto V2MV0; OrupD: $navemenu[9] = array("\x74\x69\164\x6c\145" => "\x3c\x61\40\150\162\145\146\x3d\42\151\156\x64\145\170\56\x70\x68\x70\77\143\x3d\x73\151\164\145\x26\x61\x3d\x65\x6e\164\162\171\46\157\x70\x3d\x64\x69\163\x70\x6c\141\171\46\144\157\x3d" . $this->verification("\163\x65\164\x74\151\x6e\147\x6d\145\x6e\x75", 2, "\163\x79\163\164\145\x6d") . "\x26\155\x3d\x79\x62\137\157\x32\157\42\x20\143\x6c\141\x73\x73\75\42\x70\x61\x6e\145\154\x2d\164\x69\x74\x6c\x65\40\x77\x79\x74\151\164\154\145\x20\x6d\x61\162\137\x74\157\160\x37\60\x22\x20\x69\144\x3d\42\x79\x66\162\x61\155\x65\55\71\x22\76\15\12\11\x9\x9\11\x3c\151\x6d\x67\x20\x73\x72\143\x3d\x22\x2e\x2e\x2f\141\144\144\x6f\x6e\x73\57\x79\142\137\157\x32\x6f\57\x74\x65\155\160\154\x61\x74\145\x2f\160\165\x62\x6c\x69\x63\x2f\x69\155\147\x2f\151\156\144\x65\x78\57\156\x61\166\55\x69\x63\x6f\x6e\x2d\60\x38\56\x70\156\x67\x22\40\x63\x6c\141\163\163\75\42\x6e\141\166\137\151\x63\157\x6e\40\151\x63\157\156\137\x6e\x6f\156\145\x22\x3e\xd\xa\11\11\11\x9\x3c\x69\155\x67\40\x73\162\x63\x3d\x22\56\x2e\x2f\x61\144\144\x6f\156\x73\57\x79\142\137\x6f\62\157\x2f\x74\145\x6d\160\154\141\164\145\57\160\x75\x62\154\151\x63\57\151\x6d\147\x2f\x69\156\144\x65\x78\57\x6e\141\x76\55\x69\143\157\156\x2d\150\x6f\166\145\x72\55\60\70\x2e\160\x6e\147\42\x20\143\154\x61\x73\x73\x3d\42\x6e\x61\166\x5f\151\x63\x6f\x6e\x20\151\143\x6f\156\137\x62\154\157\x63\x6b\42\76\x20\x20\xe8\256\xbe\347\xbd\256\74\57\x61\x3e", "\x69\164\145\x6d\163" => $settingmenu); goto r8gD8; ZDEmq: DmVcG: goto wo_dG; F80Ct: $navemenu[4] = array("\x74\151\x74\x6c\x65" => "\x3c\141\40\150\162\145\x66\75\x22\x69\x6e\x64\x65\170\x2e\x70\150\160\x3f\x63\x3d\x73\x69\x74\145\x26\141\x3d\145\156\164\162\x79\46\x6f\160\x3d\x64\x69\x73\x70\x6c\x61\171\x26\144\x6f\75" . $this->verification("\165\x73\x65\162\x6d\x65\x6e\x75", 2, "\165\x73\145\x72\151\156\144\145\170") . "\46\x6d\75\x79\x62\x5f\x6f\62\157\42\40\143\x6c\x61\x73\163\75\x22\x70\141\x6e\145\x6c\55\164\x69\164\154\x65\40\x77\x79\164\151\x74\154\x65\x22\x20\151\x64\75\42\171\x66\x72\x61\x6d\145\55\x34\x22\x3e\15\xa\11\x9\11\x9\x3c\x69\x6d\x67\x20\x73\162\x63\x3d\42\56\x2e\57\x61\144\x64\157\x6e\163\57\171\x62\x5f\157\x32\157\x2f\x74\x65\x6d\160\154\141\x74\145\57\x70\165\x62\154\x69\x63\57\151\155\147\57\x69\156\144\145\170\57\156\141\x76\55\151\x63\x6f\x6e\55\60\x34\56\x70\156\147\x22\x20\143\x6c\x61\163\163\x3d\42\x6e\141\x76\137\x69\143\157\x6e\x20\151\143\157\156\x5f\156\157\156\x65\x22\76\xd\xa\11\x9\11\x9\x3c\x69\x6d\x67\40\163\x72\143\x3d\42\x2e\x2e\x2f\x61\x64\144\x6f\x6e\x73\x2f\171\142\137\157\62\x6f\57\x74\145\155\x70\x6c\141\164\x65\57\160\x75\x62\154\x69\x63\x2f\x69\155\147\57\x69\x6e\x64\145\x78\57\156\x61\166\55\x69\143\x6f\x6e\x2d\x68\x6f\166\145\162\55\x30\x34\56\160\156\x67\42\x20\143\x6c\141\x73\163\x3d\42\156\x61\166\137\151\143\157\x6e\x20\151\x63\157\x6e\137\x62\154\x6f\x63\x6b\42\76\x20\40\347\224\xa8\346\x88\267\74\x2f\x61\x3e", "\151\x74\x65\155\163" => $usermenu); goto ZN4We; p6U0J: eqJEX: goto I1Ci3; RSkEo: $this->verification("\143\x61\163\x68\x69\x65\x72\x6f\x72\x64\145\x72") ? array_push($instoremenu, $this->createMainMenu("\346\x94\266\351\x93\xb6\xe8\256\xa2\345\215\x95\x20", $do, "\143\x61\x73\x68\151\145\162\157\162\144\x65\x72", '')) : ''; goto J1_p1; VMWyf: $navemenu[11] = array("\164\151\x74\154\145" => "\x3c\x61\40\150\162\x65\146\x3d\42\151\x6e\144\x65\x78\x2e\x70\150\160\77\143\75\163\151\164\x65\x26\x61\x3d\145\156\x74\x72\x79\46\157\x70\x3d\144\x69\163\x70\154\141\171\46\144\x6f\75\163\x6d\x61\x6c\x6c\x72\x6f\x75\x74\x69\156\x65\46\155\75\x79\x62\x5f\x6f\x32\157\x22\x20\x63\x6c\141\163\163\x3d\42\160\141\x6e\145\154\x2d\164\x69\164\x6c\145\40\x77\x79\x74\151\x74\154\x65\x22\40\x69\144\75\x22\171\x66\x72\x61\x6d\145\55\x31\61\x22\x3e\15\12\x9\x9\11\11\74\151\155\147\x20\163\x72\x63\x3d\42\56\56\57\x61\144\144\157\x6e\x73\x2f\171\142\x5f\x6f\x32\157\x2f\164\145\155\x70\154\x61\164\145\57\x70\165\x62\154\x69\143\57\x69\x6d\147\57\x69\156\144\x65\170\57\x6e\x61\x76\x2d\151\x63\157\156\x2d\61\60\x2e\x70\156\x67\42\x20\143\154\141\163\x73\75\x22\x6e\x61\x76\x5f\151\143\157\156\40\x69\x63\157\156\x5f\x6e\x6f\156\145\x22\x3e\xd\12\11\11\x9\x9\74\151\x6d\x67\x20\x73\162\x63\75\42\x2e\x2e\x2f\x61\x64\144\157\x6e\163\57\171\x62\x5f\x6f\x32\157\x2f\x74\145\155\160\154\x61\164\x65\57\160\x75\142\x6c\x69\143\x2f\151\x6d\x67\57\x69\x6e\144\145\170\x2f\156\x61\166\55\151\143\157\156\55\150\x6f\x76\145\162\x2d\x31\60\56\x70\156\x67\42\40\143\154\141\163\x73\x3d\42\x6e\x61\x76\137\151\x63\x6f\156\40\x69\x63\157\x6e\137\x62\x6c\157\x63\153\42\x3e\40\40\xe6\270\xa0\xe9\201\223\x3c\x2f\141\x3e"); goto MqmwC; UfdIF: $navemenu[13] = array("\x74\x69\x74\x6c\145" => "\x3c\x61\x20\150\162\x65\146\75\x22\x69\156\144\x65\x78\56\x70\x68\160\77\x63\x3d\163\151\164\145\46\x61\75\x65\156\x74\162\x79\x26\x6f\x70\x3d\144\x69\x73\x70\154\x61\171\46\144\157\75" . $this->verification("\163\x74\157\162\x65\x6d\x65\x6e\165", 2, "\x73\164\157\162\x65\x73\x75\x6d\x6d\141\162\x79") . "\x26\x6d\x3d\171\142\x5f\157\x32\x6f\42\x20\143\154\141\x73\163\x3d\42\160\x61\x6e\145\154\x2d\164\x69\x74\x6c\x65\40\167\x79\164\151\x74\x6c\x65\x22\x20\x69\144\x3d\x22\x79\x66\x72\x61\155\145\x2d\x31\63\x22\x3e\xd\12\x9\x9\11\11\x3c\151\155\x67\x20\x73\x72\x63\75\x22\x2e\x2e\57\x61\144\x64\157\x6e\163\x2f\x79\x62\137\157\x32\x6f\x2f\164\145\155\160\x6c\x61\x74\x65\x2f\160\165\x62\154\x69\x63\x2f\x69\x6d\147\57\x69\x6e\144\145\170\x2f\x6e\141\166\55\151\x63\x6f\156\55\61\x33\56\160\156\147\x22\x20\x63\x6c\x61\x73\163\x3d\42\156\141\166\137\x69\x63\x6f\156\x20\151\143\x6f\156\137\156\157\x6e\145\x22\x3e\xd\xa\x9\x9\x9\x9\x3c\x69\155\x67\40\x73\x72\143\75\42\x2e\x2e\x2f\141\144\x64\157\x6e\x73\x2f\x79\142\137\x6f\x32\x6f\57\164\145\155\160\x6c\141\164\145\x2f\x70\x75\x62\x6c\x69\143\57\x69\155\147\x2f\151\156\x64\145\170\57\156\x61\166\55\151\x63\x6f\156\55\x68\x6f\166\145\162\x2d\x31\63\56\160\x6e\147\x22\x20\143\154\x61\x73\x73\x3d\42\156\141\x76\x5f\x69\143\x6f\x6e\40\151\x63\157\156\x5f\x62\154\x6f\x63\x6b\x22\76\40\40\345\x95\206\xe6\210\267\74\57\x61\x3e", "\151\x74\x65\x6d\163" => $storemenu); goto ZDEmq; J6T7K: cWV8S: goto WQACT; GnCKC: $this->verification("\156\157\x74\x69\x63\x65") ? array_push($settingmenu, $this->createMainMenu("\345\205\254\345\x91\x8a\xe7\256\xa1\xe7\x90\206", $do, "\x6e\x6f\164\151\x63\x65", '')) : ''; goto QfOOL; vUN_X: return $navemenu; goto Fx2W6; MLpSa: $incomemenu = array(); goto QvMfD; C7A8d: if ($plug["\160\x6c\165\x67"]) { goto ygvY5; } goto TF4RR; OdyyP: $this->verification("\151\x6e\x6f\162\144\145\162\x73\165\x6d\x6d\x61\162\171") ? array_push($instoremenu, $this->createMainMenu("\xe4\xbb\x8a\xe6\227\xa5\xe6\xa6\202\345\x86\xb5\x20", $do, "\x69\x6e\x6f\162\x64\x65\162\x74\157\144\141\171\x73\165\x6d\155\141\x72\x79", '', '', "\346\x95\xb0\346\x8d\256\346\xa6\x82\xe5\206\xb5")) : ''; goto Vusib; Zn9tu: $this->verification("\157\162\x64\145\x72\163\x74\x61\x74\151\163\x74\151\x63\163") ? array_push($statisticsmenu, $this->createMainMenu("\350\xae\xa2\345\215\x95\346\200\273\xe8\247\x88\40", $do, "\157\x72\144\145\162\163\x74\141\164\151\163\164\151\x63\x73", '')) : ''; goto S6rgi; MI8Xz: $this->verification("\162\141\164\x69\x6f") ? array_push($storemenu, $this->createMainMenu("\346\234\x8d\xe5\x8a\241\xe8\xb4\271\xe7\216\207\x20", $do, "\162\141\x74\x69\x6f", '')) : ''; goto HValh; V2MV0: $this->verification("\x6f\x72\x64\x65\x72\154\x69\x73\164") ? array_push($ordermenu, $this->createMainMenu("\345\xa4\x96\xe5\215\x96\xe8\xae\xa2\xe5\x8d\x95\x20", $do, "\157\x72\x64\x65\162\154\151\x73\164", '', '', "\xe8\xae\xa2\xe5\215\x95\xe7\xae\241\xe7\x90\x86")) : ''; goto mi8Hp; bOeF5: CchQ5: goto kDpCa; AxtYe: sr3Rq: goto J6T7K; mi8Hp: $this->verification("\x73\x65\154\x66\x6f\x72\x64\145\x72\154\151\x73\x74") ? array_push($ordermenu, $this->createMainMenu("\xe8\x87\xaa\xe6\217\x90\350\xae\242\345\x8d\x95", $do, "\x73\145\154\x66\157\x72\144\x65\x72\154\x69\x73\x74", '')) : ''; goto hyz5N; G0t2w: if (!$this->verification("\x70\154\165\x67\x69\156")) { goto RK9pz; } goto s1btE; I1Ci3: $wxName = "\xe5\xbe\xae\xe4\277\xa1\345\205\xac\xe4\xbc\227\345\217\267"; goto fueu0; Glg4O: $this->verification("\162\x65\x66\165\156\x64\x6f\x72\144\x65\162") ? array_push($ordermenu, $this->createMainMenu("\xe9\200\x80\xe6\xac\xbe\xe8\256\242\345\215\225", $do, "\x72\x65\x66\x75\156\144\x6f\162\144\145\162", '')) : ''; goto OHc3k; Scs4p: $this->verification("\x74\151\143\x6b\x65\164\163\145\164") ? array_push($settingmenu, $this->createMainMenu("\xe5\260\217\347\245\xa8\xe8\256\xbe\347\xbd\256\40", $do, "\164\151\x63\x6b\145\x74\x73\145\164", '', '', "\xe6\xb6\210\xe6\201\xaf\xe6\217\x90\351\x86\222")) : ''; goto c98aa; bhjih: $powermenu = array(); goto LNMpU; TDxph: $copyrightData["\x65\156\144\124\151\x6d\x65"] = strtotime(date("\x59\55\x6d\x2d\x64", strtotime("\x2b\61\40\x79\x65\x61\x72"))); goto ObdBn; ObdBn: pdo_insert("\x79\x62\157\x32\x6f\x5f\x63\x6f\162\x65\x5f\x73\x79\x73\164\145\x6d", array("\144\141\x74\x61" => json_encode($copyrightData), "\165\156\x69\141\x63\151\144" => $_W["\x75\x6e\x69\x61\x63\151\144"], "\151\x64\145\x6e\164" => "\143\157\160\171\162\x69\x67\150\x74")); goto voyDQ; cKuBz: $this->verification("\x73\x79\163\x74\145\155") ? array_push($settingmenu, $this->createMainMenu("\345\271\263\345\x8f\260\xe8\xae\276\xe7\275\xae\40", $do, "\x73\x79\x73\164\145\x6d", '', '', "\xe5\x9f\xba\xe7\xa1\200\350\256\276\xe7\xbd\256")) : ''; goto n3NKL; YnADw: I1kw5: goto miDJy; BO2OH: $navemenu[3] = array("\x74\x69\164\154\x65" => "\x3c\141\40\150\x72\145\x66\75\42\151\156\x64\x65\170\56\160\150\160\x3f\x63\75\163\151\164\145\x26\141\75\x65\156\x74\162\x79\46\x6f\x70\75\x64\x69\163\160\x6c\x61\171\x26\144\x6f\75" . $this->verification("\x6f\162\144\x65\x72\155\145\156\165", 2, "\x6f\162\144\145\162\x74\157\144\141\x79\x73\x75\x6d\155\141\162\x79") . "\x26\155\x3d\x79\142\137\157\x32\x6f\x22\x20\143\x6c\141\163\163\x3d\x22\x70\141\x6e\145\154\x2d\x74\151\x74\154\x65\x20\167\x79\x74\x69\164\154\145\42\x20\151\x64\x3d\42\x79\146\x72\141\x6d\145\55\63\42\x3e\x3c\x69\155\x67\x20\x73\162\143\x3d\x22\56\56\57\x61\144\x64\157\156\163\x2f\171\x62\x5f\157\x32\x6f\57\164\145\155\160\x6c\141\x74\145\57\160\165\x62\x6c\151\x63\x2f\x69\155\x67\57\151\156\x64\x65\170\x2f\x6e\x61\166\x2d\151\x63\x6f\x6e\x2d\60\x33\x2e\160\156\x67\x22\40\143\x6c\x61\163\163\x3d\42\x6e\141\166\x5f\151\x63\x6f\x6e\40\x69\x63\x6f\156\x5f\156\157\x6e\x65\42\76\xd\xa\x9\11\11\x9\74\x69\x6d\x67\40\163\x72\x63\x3d\42\56\56\x2f\141\x64\144\157\x6e\x73\x2f\x79\x62\x5f\x6f\x32\157\x2f\164\145\x6d\x70\x6c\x61\x74\x65\x2f\x70\165\142\x6c\151\x63\57\151\x6d\x67\x2f\x69\156\144\145\x78\57\x6e\141\166\x2d\x69\x63\157\156\55\x68\x6f\x76\145\162\55\60\x33\x2e\160\x6e\x67\x22\40\143\x6c\x61\163\163\x3d\x22\156\x61\166\137\151\143\157\x6e\x20\151\x63\x6f\156\x5f\x62\x6c\157\x63\x6b\42\x3e\x20\x20\xe5\244\x96\xe5\x8d\x96\74\x2f\141\76", "\151\x74\x65\155\x73" => $ordermenu); goto uMiQa; GJMcb: $navemenu[10] = array("\x74\x69\x74\x6c\x65" => "\x3c\x61\40\150\x72\145\x66\x3d\42\x69\x6e\x64\x65\170\56\160\x68\160\77\143\x3d\x73\151\164\145\x26\x61\75\145\x6e\164\x72\171\x26\157\160\x3d\x64\x69\163\x70\x6c\141\171\46\x64\x6f\x3d" . $this->verification("\160\x6f\167\x65\x72\x6d\145\x6e\165", 2, "\x77\170\141\160\160\154\x69\x73\x74") . "\x26\155\75\171\142\x5f\x6f\62\x6f\x22\x20\x63\154\x61\163\x73\x3d\42\x70\141\156\145\x6c\55\x74\x69\x74\x6c\x65\x20\167\x79\164\x69\x74\x6c\x65\42\x20\x69\x64\75\x22\x79\146\162\141\x6d\145\55\61\60\x22\x3e\xd\12\x9\11\x9\x9\x3c\x69\x6d\x67\40\x73\x72\143\x3d\x22\x2e\x2e\57\x61\x64\x64\x6f\156\x73\57\x79\x62\137\157\x32\157\x2f\164\145\155\x70\154\x61\164\x65\x2f\x70\x75\x62\x6c\151\143\57\x69\155\x67\x2f\151\156\144\145\170\57\156\x61\166\x2d\x69\x63\157\156\55\61\x31\x2e\160\156\147\42\x20\143\154\x61\163\163\75\x22\156\141\166\x5f\x69\x63\x6f\156\x20\151\x63\157\x6e\137\x6e\x6f\x6e\x65\x22\76\15\12\x9\x9\11\11\74\151\155\x67\40\x73\x72\143\x3d\x22\56\56\57\x61\x64\144\157\156\x73\x2f\x79\x62\137\x6f\x32\x6f\x2f\x74\x65\155\x70\x6c\141\x74\145\x2f\160\x75\142\x6c\x69\143\x2f\151\x6d\x67\x2f\x69\156\x64\145\x78\57\156\141\166\x2d\x69\x63\x6f\x6e\x2d\150\157\166\x65\x72\55\x31\61\x2e\x70\x6e\147\42\40\143\x6c\141\163\163\75\x22\x6e\141\x76\137\x69\x63\x6f\156\40\151\x63\157\156\137\x62\x6c\157\x63\153\42\x3e\40\40\346\x9d\203\351\x99\x90\74\57\141\76", "\151\164\145\x6d\163" => $powermenu); goto McHNK; HValh: $this->verification("\155\x65\x72\x63\x68\x61\x6e\x74\163\x65\x74") ? array_push($storemenu, $this->createMainMenu("\345\225\206\346\210\xb7\xe8\256\276\xe7\xbd\256", $do, "\x6d\145\x72\143\150\x61\156\164\x73\145\164", '', '', "\xe5\x95\x86\xe6\x88\xb7\350\256\276\347\275\256")) : ''; goto vbj4D; voyDQ: goto I1kw5; goto T_Eah; BLSHv: $plug2 = json_decode($copyright["\x64\x61\164\141"], true); goto Ewc_h; w6PE3: $founder2 = pdo_get("\171\142\x6f\x32\157\x5f\x63\x6f\x72\x65\x5f\163\x79\x73\164\x65\155", array("\151\x64\x65\156\164" => "\146\157\x75\156\x64\145\x72")); goto nRUuV; UoMKX: $accInfo = pdo_get("\171\x62\157\62\157\x5f\x63\x6f\162\145\137\x73\x79\x73\x74\x65\x6d", array("\165\x6e\x69\x61\143\151\144" => $_W["\165\x6e\151\141\x63\151\x64"], "\x69\144\x65\x6e\x74" => "\141\x63\143\157\165\156\x74\x42\x49\x6e\144")); goto hk0cw; chf9X: $navemenu[1] = array("\164\151\164\154\x65" => "\74\x61\x20\150\x72\x65\x66\75\x22\151\156\144\145\x78\56\x70\x68\160\77\143\x3d\163\151\164\145\46\141\x3d\x65\x6e\164\x72\x79\46\157\160\75\x64\x69\x73\160\x6c\141\x79\46\x64\x6f\75\151\x6e\144\145\170\x26\155\75\x79\142\x5f\157\62\x6f\42\40\143\x6c\x61\x73\x73\x3d\42\160\x61\156\x65\154\55\x74\151\x74\154\x65\x20\167\171\x74\x69\164\154\145\x22\40\x69\x64\x3d\42\171\146\x72\141\x6d\145\x2d\x31\42\x3e\xd\xa\11\11\11\74\151\x6d\x67\x20\x73\x72\143\75\x22\x2e\56\57\x61\144\144\157\156\163\x2f\171\x62\x5f\157\62\157\57\x74\145\155\x70\x6c\141\164\x65\x2f\160\165\x62\x6c\151\x63\57\151\155\147\x2f\x69\x6e\144\145\170\x2f\156\141\166\55\151\143\157\x6e\55\x30\61\56\x70\x6e\147\42\x20\143\154\x61\x73\163\75\x22\x6e\x61\166\137\151\143\157\x6e\40\x69\x63\157\x6e\137\156\x6f\x6e\x65\x22\76\xd\xa\x9\x9\x9\74\151\155\147\x20\163\162\x63\75\x22\x2e\56\x2f\x61\x64\144\x6f\x6e\163\57\x79\142\x5f\x6f\62\157\57\x74\145\x6d\160\x6c\141\164\x65\57\x70\165\142\154\x69\x63\57\151\155\x67\57\x69\x6e\x64\145\170\x2f\x6e\141\x76\55\x69\x63\x6f\156\55\150\157\x76\x65\162\55\60\61\56\160\156\147\42\x20\143\154\141\x73\x73\75\x22\156\x61\166\x5f\151\x63\157\x6e\x20\151\x63\157\156\x5f\x62\x6c\157\x63\153\x22\x3e\x20\40\346\246\202\345\x86\265\74\x2f\141\76"); goto Ox5or; cQLex: $navemenu[15] = array("\x74\x69\164\x6c\x65" => "\74\x61\40\150\162\x65\x66\x3d\x22\151\156\x64\145\170\56\160\150\160\x3f\x63\75\163\151\164\x65\46\x61\75\145\x6e\x74\x72\x79\x26\x6f\160\x3d\144\x69\163\x70\x6c\x61\171\x26\144\x6f\x3d\x69\x6e\x6f\162\144\145\162\164\157\144\x61\x79\163\x75\155\155\141\x72\x79\46\155\x3d\x79\x62\137\157\x32\157\42\40\143\x6c\x61\163\x73\75\x22\x70\x61\156\x65\154\55\164\x69\164\154\x65\x20\167\x79\164\151\164\154\145\x22\40\x69\x64\x3d\42\x79\x66\x72\141\x6d\x65\x2d\x31\65\42\76\74\x69\143\157\x6e\40\x73\x74\x79\x6c\x65\x3d\x22\143\x6f\154\x6f\x72\x3a\43\x38\x64\x38\144\x38\144\x3b\x22\x20\143\154\x61\163\163\75\42\146\x61\40\146\141\55\x62\141\x72\163\42\76\x3c\x2f\x69\x63\x6f\x6e\x3e\40\x20\347\276\216\xe9\xa3\237\74\57\x61\x3e", "\x69\164\145\155\163" => $instoremenu); goto O_0E5; TKC8p: if ($ident == "\x61\143\x63\x6f\165\156\164") { goto eqJEX; } goto IAy9u; n684U: $copyright = pdo_get("\171\x62\157\62\157\137\143\x6f\162\x65\x5f\x73\171\x73\x74\x65\155", array("\x75\156\x69\141\x63\151\144" => $_W["\x75\156\x69\x61\x63\x69\144"], "\151\x64\x65\x6e\x74" => "\x63\157\160\x79\162\x69\147\x68\x74")); goto fsyre; v6h5M: $navemenu = array(); goto xxSMu; LqAXs: $this->verification("\x65\x6e\x74\145\x72\x73\145\164") ? array_push($storemenu, $this->createMainMenu("\345\205\245\xe9\251\273\350\xae\276\347\xbd\xae\40", $do, "\145\156\x74\x65\162\x73\145\x74", '')) : ''; goto Xhxe5; J1_p1: $this->verification("\146\x6f\157\144\x63\157\155\155\145\156\x74") ? array_push($instoremenu, $this->createMainMenu("\xe8\257\204\350\256\272\xe7\xae\xa1\xe7\x90\x86\x20", $do, "\146\x6f\x6f\x64\x63\157\155\x6d\x65\x6e\x74", '', '', "\xe5\x85\xb6\344\273\x96")) : ''; goto HNKqG; RFk5K: if (!$this->verification("\x64\x65\143\x6f\x72\x61\x74\151\x6f\x6e\154\151\x73\164")) { goto jKU9Y; } goto LtyVS; Sh8PD: $this->verification("\x62\x61\x6c\x61\x6e\x63\x65") ? array_push($incomemenu, $this->createMainMenu("\xe4\xbd\x99\xe9\xa2\235\xe6\230\x8e\347\xbb\x86\40", $do, "\142\141\154\141\x6e\x63\x65", '')) : ''; goto LTYxE; JhvO6: $copyrightData["\x6e\165\155"] = 5; goto m1jKi; m1jKi: $copyrightData["\x71\x71"] = "\x31\x30\60\x30\x30"; goto vfDDn; Ewc_h: if ($plug2["\160\154\165\x67"]) { goto sr3Rq; } goto v4r8J; MeILr: $this->checkAuth(); goto CIWPA; kDpCa: $do = $_GPC["\x64\157"]; goto v6h5M; n3NKL: $this->verification("\160\141\164\164\x65\x72\x6e") ? array_push($settingmenu, $this->createMainMenu("\345\xb9\263\xe5\217\xb0\346\250\xa1\345\xbc\217\40", $do, "\160\141\x74\164\145\162\156", '')) : ''; goto HT1d8; wo_dG: $ordermenu = array(); goto XxzZU; LtyVS: $navemenu[14] = array("\164\x69\164\x6c\x65" => "\x3c\141\x20\x68\162\145\146\75\x22\151\156\x64\x65\x78\56\160\x68\x70\77\143\75\x73\151\x74\145\x26\x61\x3d\x65\x6e\164\162\171\x26\157\160\x3d\x64\151\x73\160\x6c\141\x79\46\144\157\75" . $this->verification("\x64\x65\x63\x6f\x72\x61\x74\x69\157\156\x6c\151\x73\x74", 2, "\144\145\143\x6f\162\x61\x74\151\x6f\156\154\x69\163\164") . "\x26\x6d\75\x79\142\x5f\x6f\x32\x6f\x22\x20\143\x6c\x61\x73\x73\75\x22\160\x61\x6e\145\154\55\x74\151\x74\x6c\145\40\x77\x79\x74\151\x74\154\x65\x22\40\x69\x64\x3d\x22\x79\x66\162\141\x6d\x65\x2d\x31\x34\42\76\xd\xa\11\11\x9\x9\74\x69\x6d\x67\40\x73\162\x63\75\42\x2e\x2e\57\x61\x64\144\157\156\x73\x2f\171\142\137\157\62\157\57\x74\x65\x6d\x70\x6c\141\x74\x65\x2f\x70\165\x62\154\151\x63\x2f\151\x6d\147\57\151\x6e\x64\x65\x78\57\x6e\x61\x76\55\x69\x63\157\156\x2d\x31\67\x2e\160\156\147\42\x20\x63\x6c\141\163\x73\75\x22\156\x61\166\137\151\143\x6f\156\40\151\x63\x6f\x6e\137\x6e\157\156\145\x22\76\xd\12\11\x9\11\11\x3c\x69\x6d\147\x20\163\162\143\75\42\56\x2e\57\x61\x64\144\157\x6e\x73\57\171\142\137\x6f\62\157\x2f\x74\145\x6d\160\154\x61\164\x65\x2f\160\165\x62\x6c\x69\143\x2f\151\155\147\57\151\156\144\145\x78\x2f\156\x61\166\x2d\151\x63\157\156\x2d\150\x6f\x76\145\162\x2d\61\x37\x2e\160\156\x67\x22\x20\x63\x6c\141\x73\163\75\x22\156\141\x76\x5f\x69\x63\x6f\x6e\x20\151\x63\157\x6e\x5f\x62\154\157\143\153\42\76\40\40\350\xa3\x85\344\277\xae\74\57\141\76"); goto EBRp2; CIWPA: $ident = $_W["\165\156\151\x61\x63\143\x6f\x75\x6e\x74"]->menuFrame; goto TKC8p; Dr9Ap: RK9pz: goto HfHb6; JRPrq: if ($copyright) { goto a9Gi0; } goto cTpOe; KNAn1: $this->verification("\151\x6e\163\x74\x6f\x72\145\x73\145\x74") ? array_push($instoremenu, $this->createMainMenu("\347\276\216\xe9\243\237\xe8\xae\xbe\347\xbd\xae\x20", $do, "\151\x6e\163\164\x6f\x72\145\163\145\164", '')) : ''; goto izugG; rVoeM: $this->verification("\163\164\157\x72\x65\x6c\x69\x73\164") ? array_push($storemenu, $this->createMainMenu("\345\225\206\346\210\xb7\xe5\210\227\350\241\xa8\x20", $do, "\x73\x74\x6f\162\145\154\151\163\x74", '')) : ''; goto Oaq6N; yJ60m: if (!$this->verification("\x75\163\145\x72\155\x65\x6e\x75")) { goto Ndupk; } goto F80Ct; vXJSE: $this->verification("\146\x69\x6e\141\x6e\143\145\163\x65\x74") ? array_push($storemenu, $this->createMainMenu("\346\217\220\347\216\xb0\350\256\276\347\xbd\256", $do, "\x66\x69\156\141\x6e\x63\145\163\145\x74", '')) : ''; goto MI8Xz; WJuZJ: KA1EP: goto LcxuF; VCteI: $copyright = pdo_get("\x79\142\x6f\x32\x6f\x5f\143\157\162\x65\137\163\x79\x73\x74\145\x6d", array("\165\156\x69\141\143\x69\144" => $_W["\165\156\151\x61\x63\151\x64"], "\151\x64\145\x6e\164" => "\143\x6f\160\171\162\151\147\150\x74")); goto JRPrq; hyz5N: $this->verification("\167\141\151\164\x6f\153") ? array_push($ordermenu, $this->createMainMenu("\xe5\xbf\xab\xe6\215\267\350\256\242\345\215\225", $do, "\x77\141\151\x74\x6f\x6b", '')) : ''; goto Glg4O; GbzIp: message("\xe6\x9a\202\346\227\240\346\x9d\x83\xe9\231\220\357\xbc\x81", "\x2e\x2f\151\156\144\145\170\x2e\x70\150\x70\77\143\x3d\165\163\145\162\46\x61\75\x6c\x6f\147\x6f\x75\x74\x26", "\145\x72\x72\157\x72"); goto kKjJN; ZN4We: Ndupk: goto RFk5K; cx10F: $this->verification("\x73\x74\157\x72\x65\x6d\145\141\154") ? array_push($storemenu, $this->createMainMenu("\xe5\205\xa5\xe9\xa9\273\xe5\245\227\xe9\xa4\220\40", $do, "\163\x74\157\162\x65\x6d\145\141\x6c", '')) : ''; goto LqAXs; MNai2: $instoremenu = array(); goto OdyyP; v4r8J: $plug2["\x70\154\x75\x67"] = ["\x31", "\x32", "\x33", "\64", "\x35", "\66", "\67"]; goto amxdj; izugG: if (!$this->verification("\x69\156\163\164\157\x72\x65\155\145\x6e\x75")) { goto OpiOF; } goto cQLex; S6rgi: $this->verification("\x61\x73\x73\x65\x74\163\163\x74\141\x74\151\x73\164\x69\x63\x73") ? array_push($statisticsmenu, $this->createMainMenu("\350\xb5\x84\344\272\xa7\xe6\246\x82\xe5\x86\xb5\x20", $do, "\141\163\x73\145\164\x73\x73\164\141\164\x69\x73\164\151\143\163", '')) : ''; goto Em885; GJsPH: $plug = json_decode($founder2["\x64\x61\164\x61"], true); goto C7A8d; vfDDn: $copyrightData["\x74\x65\154"] = "\61\x33\x38\70\x38\x38\70\70\x38\x38\x38"; goto TDxph; bchil: $this->verification("\x62\x75\163\x69\x6e\x65\x73\x73\163\164\141\x74\151\x73\164\151\x63\x73") ? array_push($statisticsmenu, $this->createMainMenu("\xe8\x90\xa5\xe4\xb8\x9a\347\273\237\350\256\241\x20", $do, "\142\165\x73\151\x6e\145\x73\163\163\164\141\164\x69\163\x74\151\143\x73", '', '', "\347\273\237\xe8\256\241\xe6\x95\260\346\215\xae")) : ''; goto YUUMM; g9Iea: $this->verification("\146\x6f\x75\x6e\x64\145\162") ? array_push($powermenu, $this->createMainMenu("\xe8\266\x85\xe7\xba\xa7\xe6\235\203\351\231\x90\40", $do, "\146\157\x75\x6e\x64\145\x72", '', '', "\345\x85\266\xe4\xbb\226")) : ''; goto A4x3C; c98aa: $this->verification("\163\150\x6f\x72\x74\x6c\x65\x74\164\145\162") ? array_push($settingmenu, $this->createMainMenu("\347\237\xad\344\277\241\350\xae\xbe\347\xbd\xae\40", $do, "\163\150\x6f\162\164\154\145\x74\164\x65\162", '')) : ''; goto Ag8BC; OHc3k: $this->verification("\143\x6f\155\155\145\x6e\x74") ? array_push($ordermenu, $this->createMainMenu("\xe8\257\x84\xe8\256\xba\347\256\xa1\xe7\220\206\x20", $do, "\x63\x6f\x6d\155\145\x6e\x74", '', '', "\xe5\205\266\xe4\273\x96")) : ''; goto hMeA1; miDJy: a9Gi0: goto n684U; fueu0: R44dx: goto VCteI; QEpBl: $this->verification("\x61\146\x74\145\162\155\x61\x72\x6b\145\x74\154\x61\142\145\154") ? array_push($ordermenu, $this->createMainMenu("\xe5\224\256\345\x90\216\xe8\257\264\346\230\x8e\x20", $do, "\141\146\164\x65\x72\x6d\x61\x72\153\x65\x74\154\141\142\145\154", '')) : ''; goto wgA0_; gUcA9: $this->verification("\163\x74\157\162\x65\163\165\155\x6d\x61\162\171") ? array_push($storemenu, $this->createMainMenu("\345\x95\206\346\x88\267\xe6\246\202\345\x86\265\x20", $do, "\163\164\157\x72\x65\x73\x75\155\155\141\x72\x79", '', '', "\345\225\x86\346\210\xb7\347\256\xa1\xe7\x90\206")) : ''; goto rVoeM; YGuHE: $this->verification("\x69\156\157\162\x64\145\162") ? array_push($instoremenu, $this->createMainMenu("\xe5\xa0\x82\351\243\x9f\350\256\xa2\345\x8d\x95\x20", $do, "\x69\x6e\157\162\x64\x65\162", '', '', "\xe8\xae\242\345\x8d\225\xe7\xae\xa1\xe7\220\x86")) : ''; goto RSkEo; YUUMM: $this->verification("\x67\x6f\157\x64\163\x74\x61\164\x69\163\x74\151\x63\163") ? array_push($statisticsmenu, $this->createMainMenu("\xe5\225\x86\345\x93\201\345\x88\206\xe6\236\220\40", $do, "\x67\x6f\x6f\144\163\x74\141\x74\151\x73\x74\x69\x63\163", '')) : ''; goto Zn9tu; CJIa5: $this->verification("\165\163\145\162\x77\x61\x6c\154\145\164") ? array_push($usermenu, $this->createMainMenu("\xe4\xbc\x9a\345\x91\x98\xe5\202\250\xe5\x80\274\x20", $do, "\165\163\x65\x72\x77\141\154\x6c\145\x74", '')) : ''; goto yJ60m; LHM6h: $this->verification("\x61\x64\x76\x65\x72\x74\x69\x73\x65\x6d\x65\x6e\x74") ? array_push($storemenu, $this->createMainMenu("\xe5\xb9\277\345\221\212\347\xae\xa1\xe7\x90\x86", $do, "\141\x64\166\x65\162\x74\151\x73\145\155\x65\x6e\x74", '', '', '', ["\164\x79\x70\145" => "\x73\x74\x6f\x72\145\x41\144"])) : ''; goto XK91m; LTYxE: if (!$this->verification("\x69\156\x63\157\x6d\x65\155\x65\x6e\165")) { goto LSwFF; } goto W_0Vk; W_0Vk: $navemenu[7] = array("\x74\151\164\x6c\x65" => "\74\141\40\150\x72\145\146\x3d\42\151\156\x64\145\170\56\x70\x68\x70\x3f\x63\75\x73\x69\x74\x65\x26\141\75\x65\156\x74\162\171\46\x6f\x70\75\x64\151\163\160\x6c\141\171\46\x64\157\75\151\156\x63\x6f\155\145\46\x6d\x3d\171\x62\137\x6f\x32\x6f\42\40\x63\x6c\x61\x73\x73\x3d\x22\160\x61\x6e\x65\154\55\164\x69\x74\x6c\145\x20\167\x79\x74\151\164\x6c\145\x22\40\x69\x64\75\42\x79\x66\x72\141\155\x65\x2d\67\x22\76\xd\xa\11\11\11\11\x3c\x69\x6d\147\x20\x73\x72\x63\x3d\x22\56\x2e\57\141\144\x64\x6f\156\x73\x2f\x79\x62\x5f\157\x32\157\57\x74\145\x6d\160\154\x61\x74\x65\x2f\x70\165\142\154\x69\143\x2f\151\155\147\57\x69\x6e\x64\x65\170\x2f\156\x61\166\55\x69\x63\157\156\55\x30\x36\56\160\x6e\x67\42\x20\x63\x6c\141\x73\163\x3d\42\x6e\141\166\x5f\151\143\x6f\x6e\x20\151\143\157\156\137\156\x6f\156\145\x22\x3e\xd\12\11\11\11\x9\x3c\151\155\147\x20\163\162\x63\75\42\56\56\57\141\144\144\x6f\x6e\163\x2f\x79\142\137\157\x32\157\57\x74\x65\x6d\x70\154\x61\164\145\x2f\160\x75\142\x6c\151\x63\x2f\151\x6d\x67\57\151\156\x64\145\170\x2f\x6e\141\166\55\x69\143\157\x6e\55\x68\157\x76\145\162\x2d\x30\x36\x2e\160\x6e\x67\42\40\143\x6c\x61\x73\163\x3d\42\156\x61\x76\137\x69\143\x6f\156\x20\151\143\157\156\137\142\x6c\x6f\143\153\42\76\x20\x20\xe8\264\242\xe5\x8a\241\x3c\x2f\141\76", "\x69\x74\145\155\x73" => $incomemenu); goto hi3OC; hi3OC: LSwFF: goto oYE7E; fsyre: $endTime = json_decode($copyright["\144\141\164\x61"], true)["\145\x6e\144\x54\151\155\x65"] ?: strtotime(date("\131\x2d\x6d\x2d\144", strtotime("\x2b\x31\x20\171\145\141\x72"))); goto w6PE3; Dw2e0: if ($founder["\x64\x61\x74\x61"]) { goto V3snE; } goto i1qVb; n505v: $this->verification("\x6d\x61\x6e\x61\x67\x65\x72") ? array_push($settingmenu, $this->createMainMenu("\350\xb4\xa6\xe5\x8f\267\xe7\xae\xa1\xe7\220\x86\x20", $do, "\x6d\x61\x6e\x61\147\x65\x72", '', '', "\xe6\x9d\x83\xe9\231\x90\xe7\xae\xa1\xe7\220\206")) : ''; goto NpfMK; Em885: if (!$this->verification("\x73\164\x61\164\x69\163\164\x69\x63\x73\x6d\x65\x6e\x75")) { goto KA1EP; } goto cjGhk; cTpOe: $founder = pdo_get("\171\x62\x6f\62\x6f\x5f\x63\x6f\162\145\x5f\163\171\x73\x74\145\x6d", array("\x69\144\145\x6e\x74" => "\x66\x6f\x75\x6e\x64\x65\162")); goto Dw2e0; vbj4D: $this->verification("\163\x74\x6f\x72\145\x6c\x61\142\x65\x6c") ? array_push($storemenu, $this->createMainMenu("\xe5\225\206\xe6\210\267\346\xa0\207\347\255\xbe", $do, "\163\164\157\162\145\x6c\x61\142\x65\x6c", '')) : ''; goto SL_v8; CBZK5: $this->verification("\151\156\164\x65\147\162\x61\154") ? array_push($incomemenu, $this->createMainMenu("\xe7\247\xaf\345\210\x86\xe6\x98\x8e\xe7\273\x86\x20", $do, "\x69\x6e\164\145\147\x72\x61\x6c", '', '', "\345\205\266\344\273\226")) : ''; goto Sh8PD; SL_v8: $this->verification("\163\x65\x72\166\x69\143\145") ? array_push($storemenu, $this->createMainMenu("\345\xba\227\351\x93\xba\346\234\215\345\x8a\xa1\40", $do, "\x73\x65\x72\166\151\143\x65", '')) : ''; goto LHM6h; Fx2W6: } public function getStoreMenu() { goto OzP86; lR2_F: $navemenu[0] = array("\x74\151\164\x6c\x65" => "\74\141\40\x68\162\x65\x66\75\42" . $index . "\77\143\75\x73\151\164\145\46\x61\x3d\145\x6e\x74\x72\x79\x26\x6f\160\75\144\151\163\160\x6c\x61\171\46\144\157\x3d\163\164\157\x72\x65\151\x6e\x64\145\x78\x26\x6d\x3d\171\142\x5f\157\62\157\x22\40\x63\x6c\x61\163\163\x3d\42\x70\141\156\145\154\x2d\x74\x69\x74\154\145\40\167\x79\164\151\164\154\145\42\x20\151\x64\x3d\x22\x79\x66\162\x61\155\x65\55\x30\x22\76\x3c\x69\x6d\x67\x20\x73\162\x63\75\x22\56\x2e\57\141\144\x64\157\x6e\163\x2f\171\142\x5f\157\x32\x6f\x2f\164\145\x6d\x70\x6c\141\164\x65\x2f\160\x75\142\154\151\143\57\x69\155\x67\57\x69\156\x64\x65\x78\57\x6e\x61\x76\55\151\x63\x6f\156\x2d\60\61\56\x70\156\x67\x22\x20\143\154\141\163\x73\x3d\x22\x6e\141\x76\x5f\151\143\157\x6e\x20\x69\143\157\156\137\x6e\157\156\x65\x22\76\xd\12\11\x9\x9\74\x69\x6d\x67\x20\163\x72\143\75\x22\56\56\x2f\x61\144\144\x6f\x6e\x73\x2f\x79\x62\x5f\x6f\62\x6f\57\x74\x65\x6d\x70\x6c\141\164\145\x2f\160\165\x62\x6c\x69\143\57\x69\155\x67\57\151\x6e\x64\145\x78\57\156\x61\x76\x2d\151\x63\x6f\156\x2d\x68\157\x76\x65\x72\55\60\x31\x2e\x70\x6e\147\x22\40\x63\x6c\141\163\x73\x3d\42\156\141\x76\x5f\151\143\157\156\x20\x69\x63\x6f\x6e\x5f\142\x6c\x6f\x63\153\42\76\x20\40\346\246\202\xe5\x86\265\74\57\141\x3e", "\151\x74\x65\x6d\x73" => array()); goto MhD04; WcraT: $this->verificationStore("\x73\164\157\x72\x65\147\x6f\157\144\x73\164\x61\x74\x69\163\164\x69\143\x73") ? array_push($statisticsmenu, $this->createMainMenu("\xe5\225\206\xe5\x93\201\xe5\210\x86\346\x9e\220", $do, "\163\x74\157\162\145\x67\x6f\157\x64\x73\x74\x61\164\x69\163\x74\x69\143\163", '')) : ''; goto IW9W0; bDdCH: $this->verification("\x67\157\x6f\144\x65\170\x70\x6f\x72\x74") ? array_push($goodmenu, $this->createMainMenu("\xe5\xbf\253\351\x80\237\345\xaf\274\345\x85\245\x20", $do, "\147\x6f\x6f\144\145\x78\x70\x6f\162\164", '', '', "\345\225\x86\xe5\x93\201\xe5\xaf\274\xe5\x85\xa5", ["\x73\x74\157\162\x65\x49\144" => $storeId, "\x74\x79\x70\x65" => "\163\x74\x6f\162\145"])) : ''; goto XmWy_; wCfXu: $this->verificationStore("\x73\x74\157\x72\145\141\x64") ? array_push($settingmenu, $this->createMainMenu("\xe5\xb9\277\xe5\x91\212\xe7\xae\xa1\xe7\220\x86\x20", $do, "\x73\164\x6f\162\145\141\x64", '')) : ''; goto kfrbx; CkFiE: $navemenu[10] = array("\x74\x69\x74\154\145" => "\74\141\40\150\x72\145\146\x3d\x22" . $index . "\x3f\143\75\x73\x69\164\145\x26\x61\x3d\145\x6e\164\162\x79\x26\x6f\160\x3d\144\151\163\x70\154\x61\x79\x26\x64\157\75\144\162\141\x67\x26\x6d\75\171\142\x5f\x6f\x32\157\x22\x20\143\x6c\x61\x73\x73\x3d\x22\x70\x61\x6e\145\x6c\55\164\x69\x74\x6c\145\40\x77\171\164\151\164\154\x65\x20\x22\x20\x69\x64\75\x22\171\x66\162\141\155\145\55\x31\60\x22\x3e\xd\xa\11\11\11\11\x9\74\151\x6d\147\40\163\x72\x63\75\42\x2e\56\57\x61\144\144\x6f\x6e\163\x2f\x79\142\137\x6f\x32\x6f\57\x74\x65\155\160\x6c\x61\x74\145\x2f\160\x75\142\x6c\151\x63\x2f\151\155\147\x2f\x69\156\x64\x65\170\x2f\x6e\x61\166\x2d\151\x63\x6f\156\55\x31\x37\56\160\156\147\42\40\143\154\141\163\x73\75\x22\x6e\141\166\x5f\x69\143\157\x6e\40\151\x63\157\156\x5f\x6e\157\156\145\42\x3e\15\12\11\11\11\x9\74\x69\155\x67\x20\x73\162\143\75\x22\x2e\56\57\x61\144\x64\157\x6e\x73\57\x79\142\x5f\157\x32\x6f\57\164\x65\x6d\160\154\x61\164\145\x2f\x70\x75\142\154\x69\143\x2f\151\x6d\x67\57\151\x6e\144\145\x78\x2f\156\x61\x76\55\x69\x63\157\156\x2d\150\157\x76\145\x72\55\x31\67\x2e\160\x6e\147\42\40\x63\154\x61\x73\x73\x3d\x22\x6e\x61\x76\137\x69\143\x6f\156\40\151\143\157\x6e\x5f\142\x6c\x6f\143\x6b\42\76\40\40\350\xa3\x85\344\xbf\256\74\57\141\76", "\151\x74\x65\155\163" => array()); goto eK2fI; ufI0D: $navemenu[1] = array("\x74\151\x74\154\x65" => "\74\x61\x20\150\x72\x65\x66\x3d\x22" . $index . "\x3f\x63\x3d\163\151\164\145\x26\141\75\145\x6e\164\x72\x79\x26\x6f\x70\75\x64\151\163\160\x6c\141\x79\x26\144\x6f\x3d" . $this->verificationStore("\x6f\162\x64\145\162\x6d\145\156\165", 2, "\x73\164\x6f\x72\145\x6f\162\144\x65\162\x26\x73\164\x61\164\x65\x3d\x30") . "\46\155\75\171\142\137\157\x32\157\x22\x20\x63\x6c\x61\x73\163\75\42\160\x61\156\145\154\x2d\164\x69\x74\x6c\145\40\167\171\x74\151\164\x6c\x65\42\40\x69\144\75\42\171\x66\162\141\155\x65\x2d\x31\42\x3e\15\xa\11\x9\11\11\74\151\155\x67\x20\x73\162\x63\75\42\56\56\x2f\141\x64\x64\157\x6e\163\x2f\171\142\x5f\x6f\62\157\57\164\x65\155\x70\154\x61\164\145\x2f\160\x75\142\x6c\x69\x63\57\151\155\147\x2f\x69\x6e\144\x65\170\x2f\156\141\x76\x2d\151\x63\x6f\156\55\x30\x33\56\160\156\x67\42\x20\x63\x6c\141\163\163\75\x22\x6e\x61\166\137\151\x63\x6f\x6e\40\x69\x63\157\156\137\156\157\x6e\x65\x22\x3e\15\xa\x9\11\11\x9\x3c\151\x6d\147\40\163\162\x63\x3d\x22\x2e\56\x2f\x61\x64\144\x6f\x6e\x73\x2f\x79\x62\x5f\x6f\x32\157\57\x74\x65\x6d\160\x6c\x61\x74\145\x2f\x70\x75\x62\x6c\x69\143\x2f\151\x6d\147\x2f\x69\156\144\x65\170\x2f\x6e\141\166\55\151\143\x6f\x6e\x2d\150\157\166\x65\162\x2d\60\x33\x2e\x70\156\x67\42\x20\x63\154\x61\163\163\75\x22\x6e\141\x76\137\x69\x63\157\156\40\151\143\157\x6e\x5f\x62\x6c\x6f\143\153\x22\76\40\40\xe5\244\x96\xe5\x8d\226\74\x2f\141\x3e", "\151\164\x65\x6d\x73" => $ordermenu); goto C88f8; kfrbx: if (!$this->verificationStore("\x73\x65\x74\164\151\156\147\x6d\145\156\x75")) { goto cZ41h; } goto GkhU9; Ytxqh: $this->verificationStore("\163\x74\x6f\x72\x65\x75\163\x65\162\x73\x74\141\x74\x69\x73\164\151\x63\x73") ? array_push($statisticsmenu, $this->createMainMenu("\347\224\250\xe6\210\xb7\345\210\206\xe6\x9e\x90", $do, "\163\x74\x6f\162\145\165\163\x65\x72\163\164\x61\164\x69\x73\164\x69\x63\163", '')) : ''; goto XYlJv; hJCGF: $this->verificationStore("\x73\164\x6f\x72\x65\x70\x72\151\x6e\164") ? array_push($settingmenu, $this->createMainMenu("\346\x89\223\xe5\x8d\260\350\xae\276\347\275\xae\40", $do, "\x73\x74\x6f\x72\145\x70\x72\x69\156\164", '', '', "\xe5\205\xb6\xe4\273\x96")) : ''; goto wCfXu; fshRa: $this->verification("\x66\x6f\x6f\144\x73\164\157\x72\145\x63\x6f\x6d\155\145\156\x74") ? array_push($foodmenu, $this->createMainMenu("\xe8\xaf\204\xe8\xae\xba\xe7\xae\xa1\347\220\206\x20", $do, "\146\157\157\144\163\x74\157\x72\145\143\157\155\155\145\156\164", '', '', "\xe5\x85\266\344\xbb\x96")) : ''; goto xvCHg; E24D5: $foodmenu = array(); goto q4lWh; IW9W0: $this->verificationStore("\x73\164\x6f\x72\x65\157\x72\x64\x65\x72\x73\164\x61\x74\x69\x73\164\x69\143\163") ? array_push($statisticsmenu, $this->createMainMenu("\350\256\xa2\xe5\215\225\346\x80\xbb\xe8\247\x88", $do, "\163\x74\x6f\x72\145\157\162\x64\145\162\x73\164\x61\164\x69\163\x74\151\x63\163", '')) : ''; goto hM43n; Yx4Rf: $this->verificationStore("\163\164\x6f\x72\x65\163\145\154\146\x6f\162\x64\x65\162") ? array_push($ordermenu, $this->createMainMenu("\xe8\207\252\346\x8f\x90\xe8\256\242\345\x8d\225", $do, "\163\x74\157\x72\x65\x73\145\x6c\x66\x6f\162\x64\145\162", '')) : ''; goto qR0d5; MhD04: $ordermenu = array(); goto hNMSF; C88f8: lU4TW: goto E24D5; n5N79: $navemenu[7] = array("\x74\x69\164\154\x65" => "\x3c\x61\x20\150\x72\x65\146\75\x22" . $index . "\77\x63\75\x73\x69\164\x65\46\x61\x3d\x65\156\164\x72\x79\x26\157\x70\75\x64\x69\x73\160\154\141\171\46\144\x6f\75" . $this->verificationStore("\160\x6f\x77\x65\x72\x6d\145\x6e\165", 2, "\x73\x74\157\162\x65\155\141\x6e\x61\147\145\162") . "\x26\x6d\75\x79\142\x5f\157\62\157\42\x20\143\154\x61\x73\x73\x3d\x22\x70\x61\x6e\145\154\x2d\164\x69\164\154\x65\x20\167\171\164\151\164\x6c\145\x22\40\x69\144\x3d\42\x79\146\162\x61\155\145\55\67\x22\x3e\15\xa\x9\11\x9\11\x9\x3c\151\x6d\147\x20\x73\x72\143\x3d\42\x2e\x2e\57\x61\x64\x64\157\156\x73\57\x79\142\137\157\x32\157\x2f\164\145\x6d\160\x6c\x61\x74\x65\57\160\x75\142\x6c\x69\x63\x2f\151\155\x67\57\151\x6e\x64\145\170\x2f\x6e\141\166\55\x69\143\x6f\156\55\x31\61\56\160\x6e\147\x22\x20\x63\x6c\x61\163\163\x3d\42\x6e\x61\x76\137\x69\x63\157\x6e\x20\151\x63\157\156\x5f\x6e\x6f\x6e\x65\42\76\xd\xa\x9\x9\x9\x9\11\74\x69\x6d\x67\40\163\x72\143\x3d\42\x2e\56\x2f\141\144\x64\x6f\x6e\163\x2f\x79\x62\x5f\x6f\x32\x6f\x2f\164\145\x6d\x70\x6c\x61\164\145\x2f\x70\165\142\154\151\x63\57\x69\x6d\x67\57\x69\x6e\x64\145\170\57\156\141\x76\x2d\x69\143\x6f\156\55\x68\x6f\166\x65\162\55\61\61\x2e\x70\156\x67\42\x20\x63\154\x61\163\x73\x3d\x22\156\x61\166\x5f\151\x63\x6f\156\40\151\x63\157\156\137\142\154\x6f\x63\x6b\x22\76\x20\x20\xe6\235\203\351\231\x90\74\57\141\76", "\x69\x74\x65\x6d\163" => $powermenu); goto hxA5P; XmWy_: $this->verificationStore("\167\x61\162\145\x73") ? array_push($goodmenu, $this->createMainMenu("\345\x95\x86\xe5\223\x81\xe5\272\x93\x20", $do, "\167\x61\162\145\x73", '', '', '')) : ''; goto OYhP5; oDrZO: if (!($this->verificationStore("\x6f\162\x64\145\x72\155\145\x6e\165") and $storeinfo["\151\x73\117\x72\x64\145\162"] == 1)) { goto lU4TW; } goto ufI0D; UCSLZ: $financeOpen = @json_decode($storefinanceset["\144\x61\164\141"], true); goto lR2_F; muov6: $this->verificationStore("\163\164\157\x72\x65\142\165\163\x69\x6e\145\163\163\163\164\x61\164\x69\x73\x74\x69\x63\163") ? array_push($statisticsmenu, $this->createMainMenu("\xe8\x90\xa5\344\270\232\347\273\237\xe8\xae\241", $do, "\163\164\157\x72\x65\142\165\x73\151\x6e\145\163\x73\x73\x74\141\164\x69\x73\164\x69\x63\163", '', '', "\347\273\x9f\350\xae\241\346\x95\xb0\xe6\x8d\256")) : ''; goto WcraT; XvwNU: if (!($this->verificationStore("\151\156\x73\x74\157\162\145\155\145\x6e\x75") and $inStorePower[0] > 0)) { goto n8blC; } goto V0CFH; UWgf6: $storeId = $_GPC["\x73\164\157\162\x65\111\144"] ?: $_SESSION["\x73\x74\x6f\162\x65\x49\x64"]; goto wxpql; uTNtP: $this->verificationStore("\x73\164\x6f\x72\145\143\157\x6d\155\x65\156\x74") ? array_push($ordermenu, $this->createMainMenu("\xe8\257\x84\xe8\xae\272\347\xae\241\xe7\x90\206\x20", $do, "\163\164\x6f\162\145\x63\157\x6d\155\145\156\164", '')) : ''; goto oDrZO; cIICI: $settingmenu = []; goto PRMZF; hxA5P: sDQcQ: goto nl_hH; M5IEw: $do = $_GPC["\144\x6f"]; goto FByM0; stquq: $power = Common::systemPower(1); goto xCsgp; q4lWh: $this->verificationStore("\144\151\156\x69\156\x67") ? array_push($foodmenu, $this->createMainMenu("\xe9\244\220\346\xa1\214\xe7\256\xa1\347\220\x86\x20", $do, "\144\x69\x6e\x69\x6e\147", '', '', "\xe9\244\220\xe6\xa1\214\xe7\256\241\347\220\206")) : ''; goto up7To; Ccbfu: n8blC: goto qyaUQ; Jozrj: $index = "\171\x62\157\62\x6f\56\x70\150\x70"; goto sxui5; NSRMN: if (!$this->verificationStore("\160\x6f\167\145\162\x6d\145\156\165")) { goto sDQcQ; } goto n5N79; nthYE: AvVfQ: goto A31m9; g3szV: $cur_color = "\40\x73\x74\171\x6c\x65\x3d\x22\143\157\154\x6f\x72\x3a\x23\144\x39\65\x33\64\x66\73\x22\x20"; goto VQB4d; oQQXv: $this->verificationStore("\x73\x74\157\162\145\141\160\160\x6c\171") ? array_push($incomemenu, $this->createMainMenu("\xe6\x8f\x90\xe7\216\xb0\347\x94\xb3\xe8\257\267\40", $do, "\x73\x74\x6f\x72\145\x61\x70\x70\x6c\171", '', '', "\xe6\x8f\x90\347\x8e\260\xe8\xae\276\xe7\xbd\xae")) : ''; goto bxlLj; tcG54: $this->verificationStore("\163\164\157\x72\145\143\x61\163\150\x69\145\162\157\x72\x64\145\162") ? array_push($foodmenu, $this->createMainMenu("\346\224\xb6\351\223\xb6\xe8\256\242\xe5\x8d\x95\x20", $do, "\163\x74\157\x72\x65\143\x61\x73\x68\x69\x65\162\157\162\144\x65\x72", '')) : ''; goto fshRa; qR0d5: $this->verificationStore("\163\x74\157\x72\x65\162\145\146\165\156\x64\157\x72\144\x65\x72") ? array_push($ordermenu, $this->createMainMenu("\xe9\200\x80\346\254\276\350\xae\xa2\345\x8d\225", $do, "\x73\x74\157\x72\145\162\x65\x66\x75\156\x64\157\x72\x64\x65\x72", '')) : ''; goto bc2g5; juONE: $this->verificationStore("\x73\164\157\162\145\151\x6e\x73\x74\x6f\162\145\x73\x65\164") ? array_push($foodmenu, $this->createMainMenu("\351\xa6\x96\xe9\xa1\265\345\271\273\347\201\xaf\xe7\x89\x87\x20", $do, "\x73\x74\157\162\145\x61\x64", '', '', '', ["\x74\171\x70\145" => 1, "\144\x69\163\160\154\x61\171" => 1])) : ''; goto XvwNU; sJGRD: $this->verificationStore("\x73\x74\x6f\x72\x65\143\x61\x74\x65\147\x6f\162\171") ? array_push($goodmenu, $this->createMainMenu("\xe5\x95\206\345\x93\x81\xe5\210\206\347\xb1\xbb", $do, "\x73\x74\157\x72\145\x63\141\x74\x65\x67\157\x72\171", '', '', '', ["\x73\164\x6f\162\x65\x49\144" => $storeId, "\164\x79\x70\145" => "\163\164\x6f\x72\145\107\157\x6f\144\103\141\164\x65\147\x6f\162\171"])) : ''; goto AOPKL; hNMSF: $this->verificationStore("\x73\164\157\x72\x65\157\162\x64\x65\x72") ? array_push($ordermenu, $this->createMainMenu("\xe5\244\226\xe5\215\x96\xe8\xae\xa2\xe5\x8d\225\40", $do, "\163\164\x6f\x72\x65\x6f\162\x64\145\x72", '', '', "\xe8\xae\xa2\345\215\225\347\xae\241\347\x90\206")) : ''; goto Yx4Rf; Q2at1: $this->verificationStore("\x73\164\157\162\x65\x66\151\156\141\156\143\x65") ? array_push($incomemenu, $this->createMainMenu("\350\xb4\xa6\xe6\210\xb7\346\x98\216\347\xbb\206", $do, "\x73\164\x6f\x72\145\146\151\156\141\156\x63\x65", '', '', "\xe8\xb4\xa2\xe5\x8a\xa1\xe6\246\x82\345\206\xb5")) : ''; goto BO3HF; FByM0: $navemenu = array(); goto eRwj5; fqGmf: iDO80: goto aPUfM; aPUfM: if (!$this->verificationStore("\x64\162\141\x67")) { goto BtJmA; } goto CkFiE; OzP86: global $_W, $_GPC; goto M5IEw; WGq1o: $incomemenu = []; goto Q2at1; rtkY5: $inStorePower = $storeinfo["\151\x6e\123\x74\157\162\x65\x50\x6f\x77\x65\162"] ? json_decode($storeinfo["\x69\156\x53\x74\157\x72\145\120\157\167\x65\x72"], true) : []; goto ipcq4; AO11P: if (!$this->verificationStore("\x69\156\x63\157\155\145\155\145\156\165")) { goto AvVfQ; } goto B8xBC; xvCHg: $this->verificationStore("\x73\164\x6f\162\x65\x69\156\163\x74\157\162\145\x73\x65\164") ? array_push($foodmenu, $this->createMainMenu("\345\240\x82\351\243\x9f\350\256\xbe\xe7\275\xae\40", $do, "\x73\164\x6f\162\145\x69\x6e\x73\x74\x6f\162\x65\x73\145\x74", '')) : ''; goto juONE; AOPKL: $this->verification("\x67\x6f\157\144\x73\160\145\143") ? array_push($goodmenu, $this->createMainMenu("\xe5\x95\206\345\x93\x81\350\247\204\346\xa0\xbc\x20", $do, "\x67\x6f\x6f\x64\163\x70\145\143", '', '', "\345\225\206\xe5\223\x81\xe5\261\236\xe6\200\247", ["\163\164\x6f\162\x65\111\144" => $storeId, "\164\x79\160\x65" => "\163\x74\x6f\x72\145"])) : ''; goto vpD6x; BE3Yn: cZ41h: goto ofTxb; ipcq4: $instoreset = Common::systemConfig("\x69\x6e\163\164\x6f\162\x65\x73\145\x74", $_W["\165\x6e\151\141\143\151\x64"]); goto stquq; bc2g5: $this->verificationStore("\x73\x74\x6f\162\x65\143\x6f\155\155\x65\x6e\x74") ? array_push($ordermenu, $this->createMainMenu("\345\xa4\x96\xe5\215\226\xe8\256\xbe\xe7\275\xae\x20", $do, "\x63\165\162\162\x65\x6e\x63\171", '', '', "\xe5\x85\xb6\344\xbb\x96")) : ''; goto uTNtP; epqS2: $navemenu[4] = array("\x74\151\164\x6c\x65" => "\74\x61\x20\150\162\145\x66\75\42" . $index . "\x3f\143\x3d\163\x69\164\x65\x26\x61\75\x65\x6e\164\162\x79\x26\x6f\x70\75\144\151\163\x70\x6c\x61\x79\46\144\157\75" . $this->verificationStore("\163\x74\141\164\151\x73\x74\x69\143\x73\155\x65\156\165", 2, "\x73\x74\x6f\162\x65\x62\x75\163\151\156\145\x73\163\163\x74\141\164\x69\163\164\x69\x63\163") . "\46\x6d\x3d\x79\142\x5f\157\x32\x6f\42\40\143\154\141\x73\163\x3d\x22\x70\141\x6e\x65\x6c\55\164\x69\x74\154\145\x20\x77\171\164\x69\164\x6c\x65\x22\x20\x69\x64\75\42\171\146\x72\141\155\145\x2d\x34\42\x3e\xd\xa\11\x9\11\11\74\151\x6d\147\x20\163\x72\x63\75\42\x2e\x2e\57\x61\144\x64\157\156\x73\57\x79\142\x5f\x6f\62\157\x2f\164\145\x6d\x70\154\141\164\145\57\160\x75\x62\x6c\x69\x63\57\x69\x6d\x67\57\151\x6e\x64\x65\x78\57\156\141\x76\x2d\x69\x63\157\x6e\55\x30\x37\56\x70\156\x67\42\x20\143\154\141\163\163\x3d\x22\x6e\141\166\137\x69\143\x6f\x6e\40\x69\143\x6f\x6e\x5f\156\157\156\145\x22\x3e\xd\xa\11\11\11\11\x3c\x69\x6d\x67\x20\x73\162\x63\x3d\x22\x2e\56\x2f\141\x64\144\157\x6e\x73\x2f\x79\x62\x5f\x6f\x32\x6f\x2f\164\145\155\160\x6c\141\x74\145\57\160\165\x62\154\x69\143\x2f\151\x6d\147\57\151\156\144\145\170\57\156\141\166\x2d\151\143\x6f\156\55\x68\157\x76\145\162\x2d\x30\67\x2e\x70\x6e\x67\42\x20\143\154\x61\163\163\75\x22\156\x61\166\137\151\143\157\x6e\40\x69\143\x6f\156\137\x62\x6c\157\x63\x6b\42\76\x20\x20\xe6\x95\xb0\346\215\xae\x3c\x2f\x61\76", "\151\x74\x65\x6d\163" => $statisticsmenu); goto iFBSd; tRpX5: $navemenu[5] = array("\164\151\x74\154\145" => "\x3c\x61\x20\150\162\145\146\75\42" . $index . "\77\x63\75\163\151\164\x65\x26\141\x3d\x65\156\x74\162\x79\46\x6f\x70\75\x64\x69\x73\160\x6c\141\x79\46\x64\x6f\x3d\155\141\x72\x6b\145\x74\x69\x6e\147\x26\x6d\x3d\x79\x62\137\x6f\62\157\x22\x20\x63\x6c\141\163\163\x3d\42\160\x61\x6e\x65\x6c\55\x74\x69\x74\x6c\145\40\167\x79\164\151\164\x6c\145\x20\155\141\162\137\164\x6f\x70\x37\60\x22\x20\151\144\x3d\42\x79\146\162\141\155\145\55\65\42\76\xd\xa\x9\x9\x9\11\x3c\x69\x6d\147\40\x73\x72\x63\x3d\x22\x2e\x2e\x2f\x61\x64\144\x6f\156\163\57\x79\142\137\157\62\157\x2f\x74\145\x6d\160\154\x61\164\x65\x2f\160\165\142\x6c\151\x63\x2f\x69\x6d\x67\x2f\151\x6e\144\x65\170\57\156\141\166\x2d\151\x63\x6f\156\x2d\60\x39\x2e\x70\x6e\147\x22\40\x63\154\x61\x73\163\x3d\42\x6e\x61\x76\137\x69\143\157\156\x20\151\143\157\x6e\x5f\156\x6f\156\145\x22\76\15\xa\11\11\x9\11\74\x69\x6d\x67\x20\x73\x72\143\x3d\42\x2e\56\57\x61\144\144\x6f\x6e\163\57\171\x62\x5f\157\62\157\57\x74\145\x6d\x70\154\141\x74\x65\57\160\x75\142\154\x69\143\x2f\x69\x6d\x67\x2f\151\156\144\145\x78\x2f\x6e\x61\x76\55\x69\143\157\x6e\x2d\x68\x6f\166\x65\162\55\x30\71\56\x70\156\147\42\x20\143\154\141\x73\163\75\42\x6e\x61\166\137\151\x63\157\156\x20\x69\x63\157\x6e\137\x62\154\157\x63\x6b\42\76\x20\40\350\220\245\351\x94\200\x3c\x2f\141\76", "\x69\164\145\155\163" => array()); goto apPOO; aFyBh: WeSession::start($_W["\165\156\151\x61\x63\x69\144"], CLIENT_IP); goto g3szV; oWuq5: if (!$this->verificationStore("\x6d\x61\162\x6b\145\164\151\x6e\x67")) { goto TI4lL; } goto tRpX5; eK2fI: BtJmA: goto WGq1o; ofTxb: $powermenu = []; goto KjX1u; Jw_QX: $this->verification("\x67\x6f\157\x64\x66\x65\145\144") ? array_push($goodmenu, $this->createMainMenu("\xe5\225\206\xe5\x93\201\xe5\x8a\xa0\346\x96\x99\x20", $do, "\147\157\157\144\x66\145\145\144", '', '', '', ["\163\x74\x6f\162\145\111\x64" => $storeId, "\x74\171\160\x65" => "\x73\164\157\x72\145"])) : ''; goto kVhZi; XYlJv: if (!$this->verificationStore("\163\x74\x61\x74\151\163\x74\151\143\x73\155\x65\x6e\x75")) { goto tK01V; } goto epqS2; iFBSd: tK01V: goto oWuq5; xQkdJ: if (!$_GPC["\x73\164\157\x72\x65\101\143\x63\x6f\x75\156\x74\111\144"]) { goto N6LSP; } goto Jozrj; nl_hH: return $navemenu; goto ccEFY; V0CFH: $navemenu[8] = array("\164\x69\164\154\x65" => "\74\141\40\150\x72\145\x66\75\x22" . $index . "\x3f\143\75\163\x69\x74\x65\x26\x61\x3d\x65\156\x74\x72\171\x26\x6f\160\x3d\x64\151\163\x70\154\141\171\46\x64\157\x3d\144\151\x6e\x69\x6e\x67\x26\x6d\x3d\171\142\137\x6f\x32\x6f\42\x20\x63\154\x61\163\x73\x3d\42\x70\141\x6e\x65\154\55\164\151\x74\154\x65\40\167\171\x74\x69\164\154\145\x22\40\x69\144\75\42\171\x66\162\141\x6d\x65\55\x38\42\x3e\74\151\143\157\x6e\40\x73\164\x79\154\x65\75\x22\x63\x6f\x6c\x6f\162\72\x23\70\x64\70\144\x38\144\73\x22\40\143\x6c\x61\163\163\x3d\42\146\141\40\x66\x61\55\x62\x61\x72\x73\42\x3e\74\x2f\151\143\x6f\156\76\x20\40\347\xbe\216\351\xa3\x9f\x3c\x2f\141\x3e", "\x69\164\x65\155\x73" => $foodmenu); goto Ccbfu; PVpzu: $navemenu[2] = array("\164\x69\164\x6c\145" => "\x3c\x61\x20\x68\162\145\146\75\42" . $index . "\x3f\143\75\163\151\164\x65\x26\141\x3d\x65\x6e\164\x72\171\x26\x6f\160\x3d\x64\151\163\160\x6c\141\171\46\144\157\x3d" . $this->verificationStore("\147\x6f\x6f\144\155\x65\156\165", 2, "\x73\x74\x6f\162\145\147\157\157\144") . "\46\155\x3d\x79\142\137\x6f\62\x6f\42\x20\x63\154\141\163\x73\x3d\42\x70\x61\156\x65\x6c\55\x74\x69\164\x6c\145\40\167\171\x74\x69\x74\x6c\x65\42\40\151\144\75\x22\171\146\x72\x61\x6d\145\55\62\42\76\xd\xa\11\x9\x9\x9\74\x69\155\x67\x20\x73\162\143\x3d\x22\x2e\x2e\x2f\x61\144\144\157\156\163\57\x79\x62\x5f\157\62\x6f\57\x74\x65\x6d\x70\x6c\141\x74\x65\57\x70\165\x62\154\x69\x63\57\151\x6d\147\x2f\x69\x6e\x64\145\170\x2f\x6e\141\166\x2d\151\x63\x6f\x6e\x2d\x30\62\56\160\156\x67\42\40\143\x6c\141\x73\x73\x3d\42\x6e\x61\166\x5f\x69\143\157\x6e\40\x69\x63\157\156\x5f\x6e\157\156\145\x22\x3e\xd\12\x9\11\11\11\x3c\x69\x6d\147\40\x73\162\x63\75\x22\x2e\56\57\141\x64\144\x6f\156\163\57\171\x62\x5f\x6f\x32\157\x2f\x74\x65\155\x70\x6c\x61\164\x65\57\x70\x75\142\x6c\151\143\x2f\151\x6d\x67\57\151\x6e\x64\145\x78\x2f\156\x61\x76\55\x69\x63\x6f\156\x2d\x68\157\x76\x65\162\x2d\60\x32\56\160\156\x67\x22\40\143\154\x61\163\x73\75\42\x6e\x61\166\137\x69\143\157\x6e\40\151\x63\x6f\156\137\x62\x6c\157\143\153\x22\x3e\40\x20\xe5\225\206\345\x93\201\74\57\x61\x3e", "\151\164\145\155\x73" => $goodmenu); goto fqGmf; wxpql: $storeinfo = pdo_get("\171\142\157\62\157\137\163\164\157\162\145", array("\151\144" => $storeId)); goto rtkY5; KjX1u: $this->verificationStore("\163\164\157\162\x65\155\x61\x6e\x61\147\x65\162") ? array_push($powermenu, $this->createMainMenu("\xe8\xb4\xa6\xe5\x8f\267\xe7\256\xa1\xe7\220\x86\x20", $do, "\163\x74\x6f\162\145\155\x61\156\141\x67\145\162", '')) : ''; goto bHCSJ; bHCSJ: $this->verificationStore("\x6f\x70\145\x72\x61\164\x69\x6f\156\154\x6f\147") ? array_push($powermenu, $this->createMainMenu("\xe6\223\215\344\xbd\x9c\346\227\xa5\xe5\xbf\227\40", $do, "\157\x70\145\162\141\164\x69\157\x6e\x6c\x6f\147", '')) : ''; goto NSRMN; nheVH: $this->verificationStore("\163\164\x6f\162\145\147\157\157\144") ? array_push($goodmenu, $this->createMainMenu("\xe5\225\x86\xe5\223\201\347\256\241\xe7\x90\x86\40", $do, "\x73\x74\157\x72\145\147\157\157\x64", '', '', "\xe5\225\206\xe5\x93\x81\347\xae\xa1\xe7\x90\206")) : ''; goto sJGRD; VQB4d: $index = "\151\156\144\145\x78\x2e\x70\x68\160"; goto xQkdJ; up7To: $this->verificationStore("\164\x61\x62\x6c\145") ? array_push($foodmenu, $this->createMainMenu("\xe6\241\x8c\344\275\215\xe7\xae\241\347\x90\206\x20", $do, "\x74\x61\142\154\x65", '')) : ''; goto hTl2j; B8xBC: $navemenu[3] = array("\x74\x69\164\x6c\x65" => "\x3c\x61\x20\150\162\x65\x66\x3d\x22" . $index . "\x3f\143\75\x73\x69\164\145\46\x61\75\145\x6e\x74\162\x79\x26\x6f\160\75\x64\151\163\160\154\141\171\46\144\x6f\75" . $this->verificationStore("\x69\x6e\143\x6f\x6d\145\155\145\x6e\165", 2, "\163\x74\x6f\162\x65\146\x69\x6e\x61\156\x63\145") . "\46\x6d\x3d\x79\142\x5f\157\x32\x6f\42\40\143\154\141\163\x73\x3d\42\x70\141\x6e\145\154\55\x74\151\164\x6c\145\40\167\x79\164\x69\x74\154\145\x22\x20\151\144\75\42\x79\x66\x72\x61\155\x65\55\63\42\x3e\15\12\11\11\x9\x9\74\x69\x6d\147\40\x73\x72\143\75\x22\x2e\56\x2f\x61\x64\144\x6f\156\163\57\x79\142\x5f\x6f\x32\157\57\164\x65\155\160\154\141\x74\x65\x2f\x70\x75\142\x6c\x69\143\x2f\151\x6d\x67\57\x69\x6e\x64\x65\x78\x2f\156\x61\x76\x2d\x69\143\157\156\55\x30\66\x2e\160\x6e\147\x22\40\x63\x6c\141\163\x73\x3d\x22\x6e\x61\166\x5f\151\143\157\x6e\x20\151\143\157\156\137\x6e\157\x6e\x65\42\x3e\xd\12\x9\x9\x9\x9\74\151\x6d\147\x20\x73\x72\x63\x3d\42\x2e\x2e\x2f\141\144\x64\157\x6e\163\57\x79\x62\137\157\x32\157\57\x74\x65\x6d\x70\154\141\x74\x65\57\x70\165\x62\x6c\x69\143\x2f\x69\x6d\147\x2f\151\x6e\x64\x65\170\x2f\156\x61\x76\x2d\151\x63\x6f\x6e\55\150\157\x76\x65\x72\x2d\x30\x36\56\160\x6e\x67\42\x20\x63\154\x61\x73\x73\x3d\x22\x6e\x61\x76\x5f\x69\143\x6f\x6e\40\x69\143\x6f\156\x5f\x62\154\157\x63\153\x22\76\x20\40\xe8\264\242\xe5\x8a\241\74\x2f\x61\76", "\x69\164\x65\x6d\163" => $incomemenu); goto nthYE; bxlLj: lTW3r: goto AO11P; GkhU9: $navemenu[6] = array("\164\151\x74\x6c\145" => "\x3c\141\40\150\162\x65\x66\x3d\x22" . $index . "\77\143\75\163\151\164\145\46\141\75\145\156\164\x72\x79\x26\x6f\x70\75\144\151\163\160\x6c\x61\171\46\x64\157\x3d" . $this->verificationStore("\163\x65\164\164\x69\x6e\147\155\x65\156\165", 2, "\x73\x74\157\x72\145\x69\156\146\157") . "\x26\x6d\x3d\171\x62\137\x6f\x32\x6f\42\x20\143\x6c\141\163\x73\x3d\42\x70\x61\x6e\145\x6c\x2d\164\151\164\x6c\145\40\x77\x79\x74\151\x74\x6c\x65\x22\x20\151\x64\x3d\42\x79\146\162\141\x6d\x65\55\x36\42\x3e\xd\xa\x9\11\x9\x9\74\151\x6d\x67\40\x73\x72\143\x3d\x22\x2e\x2e\57\x61\x64\144\157\156\163\57\171\x62\x5f\x6f\62\157\57\164\x65\x6d\x70\x6c\x61\164\145\x2f\160\165\142\x6c\x69\x63\x2f\151\155\x67\57\x69\x6e\144\145\x78\x2f\156\141\x76\55\151\143\x6f\x6e\x2d\x30\70\x2e\x70\156\x67\x22\40\x63\x6c\x61\x73\x73\x3d\x22\x6e\141\166\x5f\x69\143\157\x6e\40\x69\x63\x6f\156\137\x6e\x6f\156\x65\42\x3e\15\12\x9\x9\11\x9\x3c\151\x6d\147\x20\163\162\143\x3d\42\x2e\x2e\x2f\141\x64\144\157\156\163\x2f\171\x62\137\x6f\62\157\57\164\x65\155\x70\x6c\141\x74\x65\x2f\160\x75\142\154\x69\x63\57\x69\155\x67\x2f\x69\156\x64\145\x78\57\156\141\x76\x2d\151\x63\157\x6e\x2d\150\157\166\x65\x72\x2d\x30\x38\x2e\x70\x6e\147\42\x20\143\154\141\163\x73\x3d\42\x6e\141\x76\x5f\151\143\x6f\x6e\x20\x69\143\157\x6e\x5f\x62\154\157\143\x6b\x22\76\40\40\xe8\xae\xbe\347\275\xae\74\x2f\141\76", "\x69\x74\x65\x6d\163" => $settingmenu); goto BE3Yn; OYhP5: if (!$this->verificationStore("\147\157\157\144\x6d\x65\156\165")) { goto iDO80; } goto PVpzu; sxui5: N6LSP: goto UWgf6; vpD6x: $this->verification("\x67\x6f\x6f\x64\141\x74\164\162\x69\142\x75\x74\x65") ? array_push($goodmenu, $this->createMainMenu("\345\x95\206\xe5\223\x81\xe5\xb1\x9e\xe6\200\xa7\x20", $do, "\x67\x6f\157\x64\x61\164\x74\x72\151\142\x75\164\x65", '', '', '', ["\163\164\157\x72\145\111\x64" => $storeId, "\x74\x79\160\145" => "\x73\164\x6f\162\x65"])) : ''; goto Jw_QX; A31m9: $statisticsmenu = []; goto muov6; hM43n: $this->verificationStore("\163\164\157\x72\145\141\163\x73\145\164\163\x73\x74\x61\x74\151\163\164\151\x63\x73") ? array_push($statisticsmenu, $this->createMainMenu("\350\265\x84\xe4\xba\247\xe6\xa6\x82\xe5\x86\265", $do, "\x73\164\x6f\x72\x65\141\x73\163\145\x74\x73\163\164\x61\164\x69\163\x74\x69\143\163", '')) : ''; goto Ytxqh; kVhZi: $this->verification("\x67\x6f\157\144\165\156\151\x74") ? array_push($goodmenu, $this->createMainMenu("\345\x95\x86\xe5\223\201\345\215\225\xe4\xbd\215", $do, "\147\x6f\x6f\x64\165\156\151\164", '', '', '', ["\163\x74\x6f\162\x65\111\144" => $storeId, "\x74\x79\x70\x65" => "\x73\164\x6f\162\x65"])) : ''; goto bDdCH; xCsgp: $storefinanceset = pdo_get("\171\x62\x6f\62\x6f\137\x63\157\x72\x65\137\163\171\x73\x74\x65\155", array("\165\156\151\x61\143\x69\x64" => $_W["\x75\156\151\x61\143\x69\x64"], "\151\144\145\x6e\164" => "\146\151\156\x61\x6e\143\145")); goto UCSLZ; qyaUQ: $goodmenu = []; goto nheVH; eRwj5: load()->classs("\x77\145\163\x65\x73\163\151\x6f\156"); goto aFyBh; PRMZF: $this->verificationStore("\x73\x74\x6f\x72\x65\x69\156\x66\x6f") ? array_push($settingmenu, $this->createMainMenu("\xe9\227\xa8\xe5\272\x97\xe4\277\xa1\xe6\201\xaf\40", $do, "\x73\x74\157\x72\x65\151\x6e\146\157", '', '', "\345\x9f\xba\xe6\x9c\xac\344\xbf\xa1\346\x81\257")) : ''; goto hJCGF; apPOO: TI4lL: goto cIICI; BO3HF: if (!($financeOpen["\x69\163\117\x70\145\x6e"] == 1)) { goto lTW3r; } goto oQQXv; hTl2j: $this->verificationStore("\151\x6e\x73\x74\x6f\162\145\157\162\x64\145\162") ? array_push($foodmenu, $this->createMainMenu("\350\256\242\xe5\215\225\xe7\256\xa1\347\220\206\40", $do, "\x69\156\x73\164\157\x72\x65\x6f\162\144\x65\x72", '', '', "\xe8\xae\242\345\215\x95\xe7\xae\241\347\220\x86")) : ''; goto tcG54; ccEFY: } public function getStoreById($id) { $store = pdo_fetch("\x53\105\x4c\x45\103\x54\40\52\x20\x46\122\117\115\x20" . tablename("\171\142\x6f\62\157\137\x73\164\x6f\162\145") . "\40\127\x48\x45\122\105\40\x69\x64\75\x3a\151\x64\40\x4c\111\x4d\111\x54\x20\61", array("\x3a\151\x64" => $id)); return $store; } function createMainMenu($title, $do, $method, $icon = "\x66\x61\55\151\x6d\x61\147\145", $color = '', $tip = '', $type = array()) { goto MLzbK; CBjsk: $dataurl = array_merge($dataurl, $type); goto onKeL; MLzbK: $color = "\x20\x73\x74\x79\x6c\x65\75\x22\x63\157\x6c\157\162\x3a" . $color . "\x3b\42\40"; goto c2Cwv; y6cGK: if (!(count($type) > 0)) { goto WKNkp; } goto CBjsk; I4BnQ: return array("\x74\151\164\x6c\145" => $title, "\x75\162\x6c" => $do != $method ? $this->createWebUrl($method, $dataurl) : '', "\141\143\164\151\166\x65" => $do == $method ? "\x20\141\x63\164\x69\166\x65" : '', "\x61\160\160\145\156\144" => array("\164\x69\x74\154\145" => '', "\164\x69\x70" => $tip)); goto Q10pZ; onKeL: WKNkp: goto I4BnQ; c2Cwv: $dataurl = array("\157\x70" => "\x64\x69\x73\x70\154\141\x79"); goto y6cGK; Q10pZ: } function createWebUrl($do, $query = array()) { goto daesA; daesA: $query["\x64\x6f"] = $do; goto rMCU4; tg7xu: return $this->wurl("\163\x69\x74\145\57\145\x6e\x74\x72\x79", $query); goto W1t7H; rMCU4: $query["\155"] = strtolower($this->modulename); goto tg7xu; W1t7H: } function wurl($segment, $params = array()) { goto uKM4s; bQE3l: MqQn5: goto anMuv; KlJnG: list($controller, $action, $do) = explode("\x2f", $segment); goto D3cbZ; D3cbZ: $url = "\56\57\x69\156\144\x65\x78\x2e\x70\150\160\77"; goto V_0ix; KZlvM: $params["\144\x6f"] = $arr[0]; goto EXtgz; pFNEK: $url .= "\x63\75{$controller}\x26"; goto I1jLb; SRzSi: $url .= "\141\x3d{$action}\46"; goto HszzT; MuoFT: o4SR8: goto bQE3l; SGz1q: $url .= "\144\157\x3d{$do}\x26"; goto PXdrv; ufQia: if (empty($params)) { goto MqQn5; } goto AJAU0; HszzT: fTRiT: goto O_KP1; B8dlU: if (empty($controller)) { goto Ne4xt; } goto pFNEK; I1jLb: Ne4xt: goto qoDGq; AJAU0: $arr = explode("\46", $params["\144\157"]); goto KZlvM; V_0ix: if (!$_GPC["\163\164\x6f\x72\x65\101\143\143\157\165\x6e\164\111\144"]) { goto WSLht; } goto HDtwc; N2jtM: WSLht: goto B8dlU; WU4p_: if (!$arr[1]) { goto o4SR8; } goto dre0f; uKM4s: global $_W, $_GPC; goto KlJnG; PXdrv: xmF32: goto ufQia; dre0f: $url .= "\x26" . $arr[1]; goto MuoFT; EXtgz: $queryString = http_build_query($params, '', "\46"); goto uLBAx; qoDGq: if (empty($action)) { goto fTRiT; } goto SRzSi; anMuv: return $url; goto lWVpa; HDtwc: $url = "\56\x2f\x79\x62\157\62\157\56\160\150\x70\77"; goto N2jtM; O_KP1: if (empty($do)) { goto xmF32; } goto SGz1q; uLBAx: $url .= $queryString; goto WU4p_; lWVpa: } function storeInfo($storeId) { goto fDKWh; iA_72: $storeInfo["\x63\157\x64\x65"] = $code; goto VHu3c; OJscL: $storeInfo["\x66\167\x72\163"] = order::getUserAccess($beginToday, $endToday, 0, $_W["\x75\156\x69\141\143\151\144"], $storeId); goto iA_72; qcujC: $storeInfo["\171\x6a\163\x72"] = $this->storeOrderBalance($storeId)["\x61\x63\164\165\x61\x6c\x4d\x6f\156\x65\171"]; goto OJscL; hSJHF: $storeInfo["\x7a\146\x62\163"] = $this->storeOrderBalance($storeId)["\143\x6f\x75\x6e\164"]; goto JKT09; Y114k: $storeInfo["\x72\145\x63\x65\x69\160\164"] = @json_decode($storeSet["\x64\141\x74\x61"], true)["\162\145\143\x65\x69\160\x74"] ?: 2; goto bMspB; dhAPx: $storeInfo["\172\171\x79\145"] = $this->storeOrderBalance($storeId)["\155\x6f\x6e\x65\x79"]; goto hSJHF; gbYx4: $code = Common::miniQrCode($storeId, 1, 2); goto pDcJk; bEIAn: $endToday = mktime(0, 0, 0, date("\x6d"), date("\x64") + 1, date("\x59")) - 1; goto gbYx4; VHu3c: return $storeInfo; goto sHJIx; fDKWh: global $_W, $_GPC; goto UEOOY; UEOOY: $beginToday = mktime(0, 0, 0, date("\x6d"), date("\144"), date("\131")); goto bEIAn; QIcGU: $storeSet = pdo_get("\171\x62\x6f\62\x6f\x5f\x73\164\x6f\162\145\x5f\x73\145\x74", array("\x75\156\151\x61\x63\x69\x64" => $_W["\x75\156\151\x61\143\151\144"], "\x73\164\x6f\x72\x65\x49\x64" => $storeId, "\151\x64\145\156\x74" => "\143\165\162\x72\x65\x6e\143\x79"), array("\144\x61\164\141")); goto Y114k; zezOp: $storeInfo = pdo_get("\171\142\x6f\x32\x6f\137\x73\164\157\162\145", array("\165\x6e\151\141\x63\151\144" => $_W["\x75\156\x69\x61\x63\x69\144"], "\x69\x64" => $storeId), array("\x6e\141\155\x65", "\151\x63\157\156", "\x64\151\163\160\154\141\x79", "\x69\144", "\151\x6e\x53\164\157\x72\145\120\157\x77\145\x72")); goto QIcGU; bMspB: $storeInfo["\151\x64"] = $storeInfo["\151\144"]; goto dhAPx; JKT09: $storeInfo["\x64\164\x6b\142\x73"] = $this->storeTkOrder($storeId); goto qcujC; pDcJk: $code = $_W["\x73\151\x74\x65\x72\x6f\157\164"] . "\141\x64\144\x6f\x6e\163\57\x79\x62\137\157\62\x6f\57\x66\x69\154\145\57" . substr($code, strrpos($code, "\57") + 1); goto zezOp; sHJIx: } function storeOrderBalance($storeId, $state = 0, $today = 1) { goto y_3mQ; d9TBN: nyXZg: goto KmlCz; r9Uqp: $endToday = mktime(0, 0, 0, date("\x6d"), date("\144") + 1, date("\x59")) - 1; goto ZoKhZ; dkmzC: $data["\72\145\156\x64"] = $endToday; goto d9TBN; etVHy: $data["\x3a\163\x74\x6f\x72\x65\x49\x64"] = $storeId; goto XxekJ; y_3mQ: global $_W, $_GPC; goto ijZa7; gp4rL: $beginToday = mktime(0, 0, 0, date("\155"), date("\144"), date("\131")); goto r9Uqp; us3DS: $data["\x3a\x73\x74\141\162\164"] = $beginToday; goto dkmzC; boduQ: return $rst; goto T3W2c; VO2ZJ: $data["\72\x75\x6e\x69\x61\x63\x69\x64"] = $_W["\x75\x6e\x69\x61\143\x69\144"]; goto etVHy; KmlCz: $sql = "\x53\x45\x4c\x45\103\x54\40\143\157\x75\x6e\x74\50\x69\144\x29\40\x61\x73\x20\x63\x6f\165\156\x74\40\x2c\x49\106\116\x55\114\114\x28\163\165\x6d\x28\x61\143\x74\165\141\154\115\x6f\x6e\x65\171\51\54\47\x30\x2e\60\x30\47\51\40\x61\163\40\x61\x63\164\165\x61\154\115\x6f\x6e\x65\x79\x2c\111\x46\x4e\125\114\114\x28\x73\165\155\x28\155\157\x6e\x65\171\51\54\47\x30\x2e\60\60\47\51\40\x61\x73\x20\155\x6f\156\145\171\40\x46\122\x4f\x4d\x20" . tablename("\x79\x62\157\x32\157\137\142\151\154\154") . $where; goto VO2ZJ; ijZa7: $where = "\x20\127\x48\105\122\x45\x20\165\x6e\151\141\x63\x69\x64\x3d\72\165\156\x69\141\143\x69\144\x20\x20\141\156\144\x20\x64\x65\154\x65\164\145\101\164\75\x30\x20\141\156\144\40\163\164\x6f\x72\145\111\x64\75\72\163\164\x6f\162\145\111\144"; goto MX5Wo; XxekJ: $rst = pdo_fetch($sql, $data); goto boduQ; ZoKhZ: $where .= "\40\141\x6e\144\40\x63\162\145\141\164\145\144\101\x74\x3e\72\x73\x74\x61\162\x74\x20\x61\x6e\144\x20\x63\162\x65\x61\x74\x65\144\x41\x74\74\x3d\72\145\156\x64"; goto us3DS; MX5Wo: if (!$today) { goto nyXZg; } goto gp4rL; T3W2c: } function storeTkOrder($storeId) { goto fZAjm; fZAjm: global $_W, $_GPC; goto Fh_Sm; Y291k: $endToday = mktime(0, 0, 0, date("\155"), date("\144") + 1, date("\131")) - 1; goto ET5Tn; Fh_Sm: $beginToday = mktime(0, 0, 0, date("\x6d"), date("\144"), date("\131")); goto Y291k; ET5Tn: $order = pdo_get("\x79\142\157\x32\x6f\x5f\x74\x61\153\145\x6f\x75\x74\x5f\157\162\144\x65\x72", array("\143\x72\x65\141\x74\x65\144\x41\164\40\76" => $beginToday, "\143\x72\145\141\164\x65\x64\x41\164\40\74\75" => $endToday, "\163\164\141\x74\145" => 9, "\165\156\151\x61\143\x69\144" => $_W["\x75\x6e\151\141\x63\151\144"]), array("\x63\157\x75\x6e\164\50\x69\x64\x29\x20\141\x73\40\143\x6f\x75\x6e\164")); goto YPVde; YPVde: return $order["\143\157\165\156\164"] ?: 0; goto IP7Fe; IP7Fe: } }
解密后代码
$datas["userId"]));
$datas["storeId"] = $account["storeId"];
}
$datas["uniacid"] = $_W["uniacid"];
$datas["content"] = $log;
$datas["createdAt"] = time();
$datas["ip"] = $_W["clientip"];
pdo_insert("ybo2o_log", $datas);
}
exit(json_encode(array("errno" => $errno, "message" => $message, "data" => $data)));
}
public function httpRequest($url, $data = null)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_HTTPHEADER, array("Host" => "cloud.y-bei.cn", "Content-type" => "application/json"));
if (!empty($data)) {
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
}
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($curl);
curl_close($curl);
return $output;
}
public function __construct()
{
global $_W, $_GPC;
$power = cache_load("ybo2o_power");
cache_write("uid", $_W["uid"]);
$this->checkAppNum();
if ($power != 1 and $_GPC["op"] != "auth" and $_GPC["do"] != "Activation" and $_GPC["do"] != "SaveFile" and $_GPC["do"] != "Read") {
$url = "index.php?c=site&a=entry&op=auth&do=index&m=yb_o2o";
Header("Location: " . $url);
}
if ($power == 1 and $_GPC["do"] == "index" and $_GPC["op"] == "auth") {
$url = "index.php?c=site&a=entry&op=display&do=index&m=yb_o2o";
Header("Location: " . $url);
}
$account = pdo_get("ybo2o_core_account", array("uid" => $_SESSION["adminUser"]));
if ($_GPC["c"] == "site") {
$data["do"] = $_GPC["do"];
$data["op"] = $_GPC["op"];
$data["method"] = $_SERVER["REQUEST_METHOD"];
$role = pdo_get("ybo2o_core_role", array("id" => $account["roleId"]));
$power = pdo_getall("ybo2o_core_power", array("id" => explode(",", $role["power"])), array("do", "op", "method"));
$i = 0;
while ($i < count($power)) {
if (implode(",", $power[$i]) == implode(",", $data)) {
return true;
}
$i++;
}
$powerAll = pdo_get("ybo2o_core_power", array("do" => $_GPC["do"], "op" => $_GPC["op"], "method" => $_SERVER["REQUEST_METHOD"]));
if (!$powerAll || !$account || $account["super"] == 1) {
return true;
}
message("暂无权限!", "./index.php?c=user&a=logout&", "error");
} else {
$data["do"] = $_GPC["do"];
$data["method"] = $_SERVER["REQUEST_METHOD"];
$role = pdo_get("ybo2o_core_role", array("id" => $account["roleId"]));
$power = pdo_getall("ybo2o_core_power", array("id" => explode(",", $role["power"])), array("do", "method"));
$i = 0;
while ($i < count($power)) {
if (implode(",", $power[$i]) == implode(",", $data)) {
return true;
}
$i++;
}
$powerAll = pdo_get("ybo2o_core_power", array("do" => $_GPC["do"], "method" => $_SERVER["REQUEST_METHOD"]));
if (!$powerAll || !$account || $account["super"] == 1) {
return true;
}
$this->result(1, "暂无权限");
}
}
public static function getPower($platform)
{
$powers = pdo_getall("ybo2o_core_power", array("pid" => 0, "platform" => $platform));
return self::recursion($powers, $platform);
}
private static function recursion(&$powers, $platform)
{
foreach ($powers as &$power) {
$children = pdo_getall("ybo2o_core_power", array("id" => $power["id"]));
if ($children) {
$power["children"] = self::findPower($power["id"], $platform);
self::recursion($power["children"], $platform);
}
}
return $powers;
}
private static function findPower($pid, $platform)
{
$powers = pdo_getall("ybo2o_core_power", array("pid" => $pid, "platform" => $platform));
return $powers;
}
public function verification($name, $type = 1, $default = null)
{
global $_W, $_GPC;
$power = pdo_get("ybo2o_core_power", array("do" => $name));
$account = pdo_get("ybo2o_core_account", array("uid" => $_W["user"]["uid"]));
$role = pdo_get("ybo2o_core_role", array("id" => $account["roleId"]));
$powers = pdo_getall("ybo2o_core_power", array("id" => explode(",", $role["power"])), array("do"));
$powerList = array_column($powers, "do");
if ($type == 2) {
$sonPower = pdo_getall("ybo2o_core_power", array("pid" => $power["id"]));
$i = 0;
while ($i < count($sonPower)) {
if (@in_array($sonPower[$i]["id"], explode(",", $role["power"]))) {
return $sonPower[$i]["do"];
}
$i++;
}
return $default;
}
if (!$power || !$account || $account["super"] == 1 || in_array($name, $powerList)) {
return true;
} else {
return false;
}
}
public function verificationStore($name, $type = 1, $default = null)
{
global $_W, $_GPC;
$power = pdo_get("ybo2o_core_power", array("do" => $name, "platform" => 2));
$account = pdo_get("ybo2o_core_account", array("uid" => $_W["user"]["uid"]));
if ($_GPC["storeAccountId"]) {
$account = pdo_get("ybo2o_core_account", array("id" => $_GPC["storeAccountId"]));
}
$role = pdo_get("ybo2o_core_role", array("id" => $account["roleId"]));
$powers = pdo_getall("ybo2o_core_power", array("id" => explode(",", $role["power"])), array("do"));
$powerList = array_column($powers, "do");
if ($type == 2) {
$sonPower = pdo_getall("ybo2o_core_power", array("pid" => $power["id"]));
$i = 0;
while ($i < count($sonPower)) {
if (@in_array($sonPower[$i]["id"], explode(",", $role["power"]))) {
return $sonPower[$i]["do"];
}
$i++;
}
return $default;
}
if (!$power || !$account["storeId"] || $account["super"] == 1 || in_array($name, $powerList)) {
return true;
} else {
return false;
}
}
public function checkAppNum()
{
global $_W, $_GPC;
$power = cache_load("ybo2o_power");
if ($power == 1) {
$num = pdo_fetchAll("select a.* from " . tablename("account_wxapp") . " a" . " left join " . tablename("wxapp_versions") . " b on b.uniacid=a.uniacid WHERE b.modules LIKE '%{$_GPC["m"]}%' AND a.uniacid<{$_W["uniacid"]}");
$appNum = cache_load("ybo2o_wxMiniNum");
if ($appNum < count($num) + 1 and $power != 0) {
message("暂无权限!", "./index.php?c=user&a=logout&", "error");
}
}
}
public function checkAuth()
{
global $_W, $_GPC;
cache_write("ybo2o_powerTime", 1);
$power = cache_load("ybo2o_power");
$powerTime = cache_load("ybo2o_powerTime");
$file_path = IA_ROOT . "/addons/yb_o2o/.lock";
if (file_exists($file_path)) {
$str = file_get_contents($file_path);
} else {
$str = 2;
}
if (!$power || $powerTime < time() || $str == 2 || $str == '') {
$authUrl = "https://cloud.y-bei.cn/cloud/we7_o2o_auth/check_authorization";
$authData["uniacid"] = $_W["uniacid"];
$hostName = $_SERVER["HTTP_HOST"];
$host = "https://" . $hostName;
$authData["domain"] = $host;
$auth = $this->httpRequest($authUrl, $authData);
$auth = json_decode($auth, true);
if ($auth["code"] == 1) {
cache_write("ybo2o_power", 1);
cache_write("ybo2o_wxMiniNum", $auth["data"]);
cache_write("ybo2o_powerTime", time() + 300);
} else {
cache_write("ybo2o_power", 2);
cache_write("ybo2o_wxMiniNum", 0);
cache_write("ybo2o_powerTime", time() + 300);
}
}
}
public function getMainMenu()
{
global $_W, $_GPC;
$accInfo = pdo_get("ybo2o_core_system", array("uniacid" => $_W["uniacid"], "ident" => "accountBInd"));
$accInfo = $accInfo["data"] ? json_decode($accInfo["data"], true)["userName"] : '';
if ($_W["user"]["username"] == $accInfo) {
message("暂无权限!", "./index.php?c=user&a=logout&", "error");
}
$this->checkAuth();
$ident = $_W["uniaccount"]->menuFrame;
if ($ident == "account") {
$wxName = "微信公众号";
} else {
$wxName = "小程序";
}
$copyright = pdo_get("ybo2o_core_system", array("uniacid" => $_W["uniacid"], "ident" => "copyright"));
if (!$copyright) {
$founder = pdo_get("ybo2o_core_system", array("ident" => "founder"));
if ($founder["data"]) {
pdo_insert("ybo2o_core_system", array("data" => $founder["data"], "uniacid" => $_W["uniacid"], "ident" => "copyright"));
} else {
$copyrightData["orgin"] = ["1", "3", "4"];
$copyrightData["num"] = 5;
$copyrightData["qq"] = "10000";
$copyrightData["tel"] = "13888888888";
$copyrightData["endTime"] = strtotime(date("Y-m-d", strtotime("+1 year")));
pdo_insert("ybo2o_core_system", array("data" => json_encode($copyrightData), "uniacid" => $_W["uniacid"], "ident" => "copyright"));
}
}
$copyright = pdo_get("ybo2o_core_system", array("uniacid" => $_W["uniacid"], "ident" => "copyright"));
$endTime = json_decode($copyright["data"], true)["endTime"] ?: strtotime(date("Y-m-d", strtotime("+1 year")));
$founder2 = pdo_get("ybo2o_core_system", array("ident" => "founder"));
if ($founder2["data"]) {
$plug = json_decode($founder2["data"], true);
if (!$plug["plug"]) {
$plug["plug"] = ["1", "2", "3", "4", "5", "6", "7"];
pdo_update("ybo2o_core_system", array("data" => json_encode($plug)), array("ident" => "founder"));
}
}
if ($copyright["data"]) {
$plug2 = json_decode($copyright["data"], true);
if (!$plug2["plug"]) {
$plug2["plug"] = ["1", "2", "3", "4", "5", "6", "7"];
pdo_update("ybo2o_core_system", array("data" => json_encode($plug2)), array("uniacid" => $_W["uniacid"], "ident" => "copyright"));
}
}
if ($endTime < time() and $_W["role"] != "founder") {
message("该应用已到期,请联系管理员续费", "index.php?c=site&a=entry&op=display&do=index&m=yb_cy", "error");
}
$do = $_GPC["do"];
$navemenu = array();
$cur_color = " style=\"color:#d9534f;\" ";
$navemenu[1] = array("title" => "\r\n\t\t\t\r\n\t\t\t 概况");
$storemenu = array();
$this->verification("storesummary") ? array_push($storemenu, $this->createMainMenu("商户概况 ", $do, "storesummary", '', '', "商户管理")) : '';
$this->verification("storelist") ? array_push($storemenu, $this->createMainMenu("商户列表 ", $do, "storelist", '')) : '';
$this->verification("storeaccount") ? array_push($storemenu, $this->createMainMenu("商户账户 ", $do, "storeaccount", '', '')) : '';
$this->verification("storeapplylist") ? array_push($storemenu, $this->createMainMenu("入驻申请 ", $do, "storeapplylist", '', '', "入驻管理")) : '';
$this->verification("storemeal") ? array_push($storemenu, $this->createMainMenu("入驻套餐 ", $do, "storemeal", '')) : '';
$this->verification("enterset") ? array_push($storemenu, $this->createMainMenu("入驻设置 ", $do, "enterset", '')) : '';
$this->verification("financelist") ? array_push($storemenu, $this->createMainMenu("提现申请", $do, "financelist", '', '', "提现列表")) : '';
$this->verification("financeset") ? array_push($storemenu, $this->createMainMenu("提现设置", $do, "financeset", '')) : '';
$this->verification("ratio") ? array_push($storemenu, $this->createMainMenu("服务费率 ", $do, "ratio", '')) : '';
$this->verification("merchantset") ? array_push($storemenu, $this->createMainMenu("商户设置", $do, "merchantset", '', '', "商户设置")) : '';
$this->verification("storelabel") ? array_push($storemenu, $this->createMainMenu("商户标签", $do, "storelabel", '')) : '';
$this->verification("service") ? array_push($storemenu, $this->createMainMenu("店铺服务 ", $do, "service", '')) : '';
$this->verification("advertisement") ? array_push($storemenu, $this->createMainMenu("广告管理", $do, "advertisement", '', '', '', ["type" => "storeAd"])) : '';
if ($this->verification("storemenu")) {
$navemenu[13] = array("title" => "verification("storemenu", 2, "storesummary") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-13\">\r\n\t\t\t\t\r\n\t\t\t\t 商户", "items" => $storemenu);
}
$ordermenu = array();
$this->verification("ordersummary") ? array_push($ordermenu, $this->createMainMenu("今日概况 ", $do, "ordertodaysummary", '', '', "今日概况")) : '';
$this->verification("ordersummary") ? array_push($ordermenu, $this->createMainMenu("订单概况 ", $do, "ordersummary", '', '')) : '';
$this->verification("orderlist") ? array_push($ordermenu, $this->createMainMenu("外卖订单 ", $do, "orderlist", '', '', "订单管理")) : '';
$this->verification("selforderlist") ? array_push($ordermenu, $this->createMainMenu("自提订单", $do, "selforderlist", '')) : '';
$this->verification("waitok") ? array_push($ordermenu, $this->createMainMenu("快捷订单", $do, "waitok", '')) : '';
$this->verification("refundorder") ? array_push($ordermenu, $this->createMainMenu("退款订单", $do, "refundorder", '')) : '';
$this->verification("comment") ? array_push($ordermenu, $this->createMainMenu("评论管理 ", $do, "comment", '', '', "其他")) : '';
$this->verification("category") ? array_push($ordermenu, $this->createMainMenu("分类管理", $do, "category", '', '', "外卖设置", ["type" => "orderCategory"])) : '';
$this->verification("orderset") ? array_push($ordermenu, $this->createMainMenu("订单设置 ", $do, "orderset", '')) : '';
$this->verification("aftermarketlabel") ? array_push($ordermenu, $this->createMainMenu("售后说明 ", $do, "aftermarketlabel", '')) : '';
if ($this->verification("ordermenu")) {
$navemenu[3] = array("title" => "verification("ordermenu", 2, "ordertodaysummary") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-3\">\r\n\t\t\t\t 外卖", "items" => $ordermenu);
}
$instoremenu = array();
$this->verification("inordersummary") ? array_push($instoremenu, $this->createMainMenu("今日概况 ", $do, "inordertodaysummary", '', '', "数据概况")) : '';
$this->verification("inordersummary") ? array_push($instoremenu, $this->createMainMenu("美食概况 ", $do, "inordersummary", '')) : '';
$this->verification("inorder") ? array_push($instoremenu, $this->createMainMenu("堂食订单 ", $do, "inorder", '', '', "订单管理")) : '';
$this->verification("cashierorder") ? array_push($instoremenu, $this->createMainMenu("收银订单 ", $do, "cashierorder", '')) : '';
$this->verification("foodcomment") ? array_push($instoremenu, $this->createMainMenu("评论管理 ", $do, "foodcomment", '', '', "其他")) : '';
$this->verification("category") ? array_push($instoremenu, $this->createMainMenu("分类管理 ", $do, "category", '', '', "美食设置", ["type" => "instoreCategory"])) : '';
$this->verification("instoreset") ? array_push($instoremenu, $this->createMainMenu("美食设置 ", $do, "instoreset", '')) : '';
if ($this->verification("instoremenu")) {
$navemenu[15] = array("title" => " 美食", "items" => $instoremenu);
}
$usermenu = array();
$this->verification("userindex") ? array_push($usermenu, $this->createMainMenu("用户概况 ", $do, "userindex", '', '', "数据概况")) : '';
$this->verification("userlist") ? array_push($usermenu, $this->createMainMenu("用户列表 ", $do, "userlist", '')) : '';
$this->verification("usercard") ? array_push($usermenu, $this->createMainMenu("会员等级 ", $do, "usercard", '', '', "会员管理")) : '';
$this->verification("usercard") ? array_push($usermenu, $this->createMainMenu("开卡记录 ", $do, "usercardrecord", '')) : '';
$this->verification("userwallet") ? array_push($usermenu, $this->createMainMenu("会员储值 ", $do, "userwallet", '')) : '';
if ($this->verification("usermenu")) {
$navemenu[4] = array("title" => "verification("usermenu", 2, "userindex") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-4\">\r\n\t\t\t\t\r\n\t\t\t\t 用户", "items" => $usermenu);
}
if ($this->verification("decorationlist")) {
$navemenu[14] = array("title" => "verification("decorationlist", 2, "decorationlist") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-14\">\r\n\t\t\t\t\r\n\t\t\t\t 装修");
}
$incomemenu = array();
$this->verification("income") ? array_push($incomemenu, $this->createMainMenu("账单明细 ", $do, "income", '', '', "财务概况")) : '';
$this->verification("refund") ? array_push($incomemenu, $this->createMainMenu("退款记录 ", $do, "refund", '')) : '';
$this->verification("integral") ? array_push($incomemenu, $this->createMainMenu("积分明细 ", $do, "integral", '', '', "其他")) : '';
$this->verification("balance") ? array_push($incomemenu, $this->createMainMenu("余额明细 ", $do, "balance", '')) : '';
if ($this->verification("incomemenu")) {
$navemenu[7] = array("title" => "\r\n\t\t\t\t\r\n\t\t\t\t 财务", "items" => $incomemenu);
}
$statisticsmenu = array();
$this->verification("businessstatistics") ? array_push($statisticsmenu, $this->createMainMenu("营业统计 ", $do, "businessstatistics", '', '', "统计数据")) : '';
$this->verification("goodstatistics") ? array_push($statisticsmenu, $this->createMainMenu("商品分析 ", $do, "goodstatistics", '')) : '';
$this->verification("orderstatistics") ? array_push($statisticsmenu, $this->createMainMenu("订单总览 ", $do, "orderstatistics", '')) : '';
$this->verification("assetsstatistics") ? array_push($statisticsmenu, $this->createMainMenu("资产概况 ", $do, "assetsstatistics", '')) : '';
if ($this->verification("statisticsmenu")) {
$navemenu[8] = array("title" => "verification("statisticsmenu", 2, "businessstatistics") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-8\">\r\n\t\t\t\t\r\n\t\t\t\t 数据", "items" => $statisticsmenu);
}
$settingmenu = array();
$this->verification("system") ? array_push($settingmenu, $this->createMainMenu("平台设置 ", $do, "system", '', '', "基础设置")) : '';
$this->verification("pattern") ? array_push($settingmenu, $this->createMainMenu("平台模式 ", $do, "pattern", '')) : '';
$this->verification("payset") ? array_push($settingmenu, $this->createMainMenu("支付设置 ", $do, "payset", '')) : '';
$this->verification("ticketset") ? array_push($settingmenu, $this->createMainMenu("小票设置 ", $do, "ticketset", '', '', "消息提醒")) : '';
$this->verification("shortletter") ? array_push($settingmenu, $this->createMainMenu("短信设置 ", $do, "shortletter", '')) : '';
$this->verification("modelmessage") ? array_push($settingmenu, $this->createMainMenu("模板消息 ", $do, "modelmessage", '')) : '';
$this->verification("label") ? array_push($settingmenu, $this->createMainMenu("评价标签", $do, "label", '', '', "其他设置")) : '';
$this->verification("notice") ? array_push($settingmenu, $this->createMainMenu("公告管理", $do, "notice", '')) : '';
$this->verification("advertisement") ? array_push($settingmenu, $this->createMainMenu("广告管理", $do, "advertisement", '', '', '', ["type" => "userAd"])) : '';
$this->verification("help") ? array_push($settingmenu, $this->createMainMenu("帮助中心", $do, "help", '')) : '';
$this->verification("manager") ? array_push($settingmenu, $this->createMainMenu("账号管理 ", $do, "manager", '', '', "权限管理")) : '';
$this->verification("accountbind") ? array_push($settingmenu, $this->createMainMenu("账号绑定 ", $do, "accountbind", '')) : '';
if ($this->verification("settingmenu")) {
$navemenu[9] = array("title" => "verification("settingmenu", 2, "system") . "&m=yb_o2o\" class=\"panel-title wytitle mar_top70\" id=\"yframe-9\">\r\n\t\t\t\t\r\n\t\t\t\t 设置", "items" => $settingmenu);
}
if ($this->verification("plugin")) {
$navemenu[12] = array("title" => "\r\n\t\t\t\t\r\n\t\t\t\t 应用");
}
if ($this->verification("smallroutine")) {
$navemenu[11] = array("title" => "\r\n\t\t\t\t\r\n\t\t\t\t 渠道");
}
$powermenu = array();
$this->verification("wxapplist") ? array_push($powermenu, $this->createMainMenu($wxName, $do, "wxapplist", '', '', $wxName)) : '';
$this->verification("empower") ? array_push($powermenu, $this->createMainMenu("授权详情 ", $do, "empower", '', '', "授权管理")) : '';
$this->verification("changelog") ? array_push($powermenu, $this->createMainMenu("更新日志 ", $do, "changelog", '')) : '';
$this->verification("founder") ? array_push($powermenu, $this->createMainMenu("超级权限 ", $do, "founder", '', '', "其他")) : '';
if ($this->verification("powermenu") && $_W["role"] == "founder") {
$navemenu[10] = array("title" => "verification("powermenu", 2, "wxapplist") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-10\">\r\n\t\t\t\t\r\n\t\t\t\t 权限", "items" => $powermenu);
}
return $navemenu;
}
public function getStoreMenu()
{
global $_W, $_GPC;
$do = $_GPC["do"];
$navemenu = array();
load()->classs("wesession");
WeSession::start($_W["uniacid"], CLIENT_IP);
$cur_color = " style=\"color:#d9534f;\" ";
$index = "index.php";
if ($_GPC["storeAccountId"]) {
$index = "ybo2o.php";
}
$storeId = $_GPC["storeId"] ?: $_SESSION["storeId"];
$storeinfo = pdo_get("ybo2o_store", array("id" => $storeId));
$inStorePower = $storeinfo["inStorePower"] ? json_decode($storeinfo["inStorePower"], true) : [];
$instoreset = Common::systemConfig("instoreset", $_W["uniacid"]);
$power = Common::systemPower(1);
$storefinanceset = pdo_get("ybo2o_core_system", array("uniacid" => $_W["uniacid"], "ident" => "finance"));
$financeOpen = @json_decode($storefinanceset["data"], true);
$navemenu[0] = array("title" => "\r\n\t\t\t 概况", "items" => array());
$ordermenu = array();
$this->verificationStore("storeorder") ? array_push($ordermenu, $this->createMainMenu("外卖订单 ", $do, "storeorder", '', '', "订单管理")) : '';
$this->verificationStore("storeselforder") ? array_push($ordermenu, $this->createMainMenu("自提订单", $do, "storeselforder", '')) : '';
$this->verificationStore("storerefundorder") ? array_push($ordermenu, $this->createMainMenu("退款订单", $do, "storerefundorder", '')) : '';
$this->verificationStore("storecomment") ? array_push($ordermenu, $this->createMainMenu("外卖设置 ", $do, "currency", '', '', "其他")) : '';
$this->verificationStore("storecomment") ? array_push($ordermenu, $this->createMainMenu("评论管理 ", $do, "storecomment", '')) : '';
if ($this->verificationStore("ordermenu") and $storeinfo["isOrder"] == 1) {
$navemenu[1] = array("title" => "verificationStore("ordermenu", 2, "storeorder&state=0") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-1\">\r\n\t\t\t\t\r\n\t\t\t\t 外卖", "items" => $ordermenu);
}
$foodmenu = array();
$this->verificationStore("dining") ? array_push($foodmenu, $this->createMainMenu("餐桌管理 ", $do, "dining", '', '', "餐桌管理")) : '';
$this->verificationStore("table") ? array_push($foodmenu, $this->createMainMenu("桌位管理 ", $do, "table", '')) : '';
$this->verificationStore("instoreorder") ? array_push($foodmenu, $this->createMainMenu("订单管理 ", $do, "instoreorder", '', '', "订单管理")) : '';
$this->verificationStore("storecashierorder") ? array_push($foodmenu, $this->createMainMenu("收银订单 ", $do, "storecashierorder", '')) : '';
$this->verification("foodstorecomment") ? array_push($foodmenu, $this->createMainMenu("评论管理 ", $do, "foodstorecomment", '', '', "其他")) : '';
$this->verificationStore("storeinstoreset") ? array_push($foodmenu, $this->createMainMenu("堂食设置 ", $do, "storeinstoreset", '')) : '';
$this->verificationStore("storeinstoreset") ? array_push($foodmenu, $this->createMainMenu("首页幻灯片 ", $do, "storead", '', '', '', ["type" => 1, "display" => 1])) : '';
if ($this->verificationStore("instoremenu") and $inStorePower[0] > 0) {
$navemenu[8] = array("title" => " 美食", "items" => $foodmenu);
}
$goodmenu = [];
$this->verificationStore("storegood") ? array_push($goodmenu, $this->createMainMenu("商品管理 ", $do, "storegood", '', '', "商品管理")) : '';
$this->verificationStore("storecategory") ? array_push($goodmenu, $this->createMainMenu("商品分类", $do, "storecategory", '', '', '', ["storeId" => $storeId, "type" => "storeGoodCategory"])) : '';
$this->verification("goodspec") ? array_push($goodmenu, $this->createMainMenu("商品规格 ", $do, "goodspec", '', '', "商品属性", ["storeId" => $storeId, "type" => "store"])) : '';
$this->verification("goodattribute") ? array_push($goodmenu, $this->createMainMenu("商品属性 ", $do, "goodattribute", '', '', '', ["storeId" => $storeId, "type" => "store"])) : '';
$this->verification("goodfeed") ? array_push($goodmenu, $this->createMainMenu("商品加料 ", $do, "goodfeed", '', '', '', ["storeId" => $storeId, "type" => "store"])) : '';
$this->verification("goodunit") ? array_push($goodmenu, $this->createMainMenu("商品单位", $do, "goodunit", '', '', '', ["storeId" => $storeId, "type" => "store"])) : '';
$this->verification("goodexport") ? array_push($goodmenu, $this->createMainMenu("快速导入 ", $do, "goodexport", '', '', "商品导入", ["storeId" => $storeId, "type" => "store"])) : '';
$this->verificationStore("wares") ? array_push($goodmenu, $this->createMainMenu("商品库 ", $do, "wares", '', '', '')) : '';
if ($this->verificationStore("goodmenu")) {
$navemenu[2] = array("title" => "verificationStore("goodmenu", 2, "storegood") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-2\">\r\n\t\t\t\t\r\n\t\t\t\t 商品", "items" => $goodmenu);
}
if ($this->verificationStore("drag")) {
$navemenu[10] = array("title" => "\r\n\t\t\t\t\t\r\n\t\t\t\t 装修", "items" => array());
}
$incomemenu = [];
$this->verificationStore("storefinance") ? array_push($incomemenu, $this->createMainMenu("账户明细", $do, "storefinance", '', '', "财务概况")) : '';
if ($financeOpen["isOpen"] == 1) {
$this->verificationStore("storeapply") ? array_push($incomemenu, $this->createMainMenu("提现申请 ", $do, "storeapply", '', '', "提现设置")) : '';
}
if ($this->verificationStore("incomemenu")) {
$navemenu[3] = array("title" => "verificationStore("incomemenu", 2, "storefinance") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-3\">\r\n\t\t\t\t\r\n\t\t\t\t 财务", "items" => $incomemenu);
}
$statisticsmenu = [];
$this->verificationStore("storebusinessstatistics") ? array_push($statisticsmenu, $this->createMainMenu("营业统计", $do, "storebusinessstatistics", '', '', "统计数据")) : '';
$this->verificationStore("storegoodstatistics") ? array_push($statisticsmenu, $this->createMainMenu("商品分析", $do, "storegoodstatistics", '')) : '';
$this->verificationStore("storeorderstatistics") ? array_push($statisticsmenu, $this->createMainMenu("订单总览", $do, "storeorderstatistics", '')) : '';
$this->verificationStore("storeassetsstatistics") ? array_push($statisticsmenu, $this->createMainMenu("资产概况", $do, "storeassetsstatistics", '')) : '';
$this->verificationStore("storeuserstatistics") ? array_push($statisticsmenu, $this->createMainMenu("用户分析", $do, "storeuserstatistics", '')) : '';
if ($this->verificationStore("statisticsmenu")) {
$navemenu[4] = array("title" => "verificationStore("statisticsmenu", 2, "storebusinessstatistics") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-4\">\r\n\t\t\t\t\r\n\t\t\t\t 数据", "items" => $statisticsmenu);
}
if ($this->verificationStore("marketing")) {
$navemenu[5] = array("title" => "\r\n\t\t\t\t\r\n\t\t\t\t 营销", "items" => array());
}
$settingmenu = [];
$this->verificationStore("storeinfo") ? array_push($settingmenu, $this->createMainMenu("门店信息 ", $do, "storeinfo", '', '', "基本信息")) : '';
$this->verificationStore("storeprint") ? array_push($settingmenu, $this->createMainMenu("打印设置 ", $do, "storeprint", '', '', "其他")) : '';
$this->verificationStore("storead") ? array_push($settingmenu, $this->createMainMenu("广告管理 ", $do, "storead", '')) : '';
if ($this->verificationStore("settingmenu")) {
$navemenu[6] = array("title" => "verificationStore("settingmenu", 2, "storeinfo") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-6\">\r\n\t\t\t\t\r\n\t\t\t\t 设置", "items" => $settingmenu);
}
$powermenu = [];
$this->verificationStore("storemanager") ? array_push($powermenu, $this->createMainMenu("账号管理 ", $do, "storemanager", '')) : '';
$this->verificationStore("operationlog") ? array_push($powermenu, $this->createMainMenu("操作日志 ", $do, "operationlog", '')) : '';
if ($this->verificationStore("powermenu")) {
$navemenu[7] = array("title" => "verificationStore("powermenu", 2, "storemanager") . "&m=yb_o2o\" class=\"panel-title wytitle\" id=\"yframe-7\">\r\n\t\t\t\t\t\r\n\t\t\t\t\t 权限", "items" => $powermenu);
}
return $navemenu;
}
public function getStoreById($id)
{
$store = pdo_fetch("SELECT * FROM " . tablename("ybo2o_store") . " WHERE id=:id LIMIT 1", array(":id" => $id));
return $store;
}
function createMainMenu($title, $do, $method, $icon = "fa-image", $color = '', $tip = '', $type = array())
{
$color = " style=\"color:" . $color . ";\" ";
$dataurl = array("op" => "display");
if (count($type) > 0) {
$dataurl = array_merge($dataurl, $type);
}
return array("title" => $title, "url" => $do != $method ? $this->createWebUrl($method, $dataurl) : '', "active" => $do == $method ? " active" : '', "append" => array("title" => '', "tip" => $tip));
}
function createWebUrl($do, $query = array())
{
$query["do"] = $do;
$query["m"] = strtolower($this->modulename);
return $this->wurl("site/entry", $query);
}
function wurl($segment, $params = array())
{
global $_W, $_GPC;
list($controller, $action, $do) = explode("/", $segment);
$url = "./index.php?";
if ($_GPC["storeAccountId"]) {
$url = "./ybo2o.php?";
}
if (!empty($controller)) {
$url .= "c={$controller}&";
}
if (!empty($action)) {
$url .= "a={$action}&";
}
if (!empty($do)) {
$url .= "do={$do}&";
}
if (!empty($params)) {
$arr = explode("&", $params["do"]);
$params["do"] = $arr[0];
$queryString = http_build_query($params, '', "&");
$url .= $queryString;
if ($arr[1]) {
$url .= "&" . $arr[1];
}
}
return $url;
}
function storeInfo($storeId)
{
global $_W, $_GPC;
$beginToday = mktime(0, 0, 0, date("m"), date("d"), date("Y"));
$endToday = mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")) - 1;
$code = Common::miniQrCode($storeId, 1, 2);
$code = $_W["siteroot"] . "addons/yb_o2o/file/" . substr($code, strrpos($code, "/") + 1);
$storeInfo = pdo_get("ybo2o_store", array("uniacid" => $_W["uniacid"], "id" => $storeId), array("name", "icon", "display", "id", "inStorePower"));
$storeSet = pdo_get("ybo2o_store_set", array("uniacid" => $_W["uniacid"], "storeId" => $storeId, "ident" => "currency"), array("data"));
$storeInfo["receipt"] = @json_decode($storeSet["data"], true)["receipt"] ?: 2;
$storeInfo["id"] = $storeInfo["id"];
$storeInfo["zyye"] = $this->storeOrderBalance($storeId)["money"];
$storeInfo["zfbs"] = $this->storeOrderBalance($storeId)["count"];
$storeInfo["dtkbs"] = $this->storeTkOrder($storeId);
$storeInfo["yjsr"] = $this->storeOrderBalance($storeId)["actualMoney"];
$storeInfo["fwrs"] = order::getUserAccess($beginToday, $endToday, 0, $_W["uniacid"], $storeId);
$storeInfo["code"] = $code;
return $storeInfo;
}
function storeOrderBalance($storeId, $state = 0, $today = 1)
{
global $_W, $_GPC;
$where = " WHERE uniacid=:uniacid and deleteAt=0 and storeId=:storeId";
if ($today) {
$beginToday = mktime(0, 0, 0, date("m"), date("d"), date("Y"));
$endToday = mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")) - 1;
$where .= " and createdAt>:start and createdAt<=:end";
$data[":start"] = $beginToday;
$data[":end"] = $endToday;
}
$sql = "SELECT count(id) as count ,IFNULL(sum(actualMoney),'0.00') as actualMoney,IFNULL(sum(money),'0.00') as money FROM " . tablename("ybo2o_bill") . $where;
$data[":uniacid"] = $_W["uniacid"];
$data[":storeId"] = $storeId;
$rst = pdo_fetch($sql, $data);
return $rst;
}
function storeTkOrder($storeId)
{
global $_W, $_GPC;
$beginToday = mktime(0, 0, 0, date("m"), date("d"), date("Y"));
$endToday = mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")) - 1;
$order = pdo_get("ybo2o_takeout_order", array("createdAt >" => $beginToday, "createdAt <=" => $endToday, "state" => 9, "uniacid" => $_W["uniacid"]), array("count(id) as count"));
return $order["count"] ?: 0;
}
}
如果你是技术人员,了解AST的再看看我的注意事项,应该也能敲出个解密工具。Goto混淆其实无论是混淆思路还是代码不难在理解,而难在对大文件的理解与代码恢复,如果你是小文件可参考某度上的经验方法解密(再次说明,脑子比机器的聪明),如果不是,那就清醒点吧,自个儿多花时间捣鼓,总比傻乎乎的手动来得好。当然,如果你即不想手动破解,也不想研究AST语法,可以去我的网站解密(https://www.phpenc.cn/或http://rcs.52hyjs.top/),同时我也提供解密API,需要可与我联系。
我的QQ:2522065507
现在新增对微擎二代加密的破解恢复,需要请前往网站解密