我是靠谱客的博主 辛勤抽屉,最近开发中收集的这篇文章主要介绍php微擎Goto2C解密研究,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

疫情期间,闲着没事,就研究了下被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解密以失败告终。

二、解析AST方法

一个月后,也就是今年三月中旬,自己在用程序的时候就发现被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;$i<count($data);$i++){
    $temp = (array)$data[$i];
    $sql = "xxxx";
    if($DB->query($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混淆代码
<?php
 defined("x49116137x49x41") or exit("x41x63143x65x73163x20104145156151x65x64"); class Core extends WeModuleSite { public $mguniacid = false; public $storeId = ''; public function result($errno, $message, $data = '', $log = '') { goto kdoOV; kdoOV: global $_W, $_GPC; goto nyybB; Yapn2: r53nC: goto GYXaa; nZIXk: $datas["x69160"] = $_W["143154x69x65x6e164151160"]; goto AJfLd; GYXaa: exit(json_encode(array("x65162x72156x6f" => $errno, "x6d145x73x73141147145" => $message, "x64x61x74141" => $data))); goto uYEax; VFSDK: $datas["x63162x65x61164145144x41164"] = time(); goto nZIXk; nyybB: if (!$log) { goto r53nC; } goto TkBUX; X89dv: $datas["x75x6e151141x63151144"] = $_W["x75156x69x61x63151144"]; goto EZoc0; EZoc0: $datas["143157x6e164145156x74"] = $log; goto VFSDK; AJfLd: pdo_insert("x79142x6fx32x6f137154x6f147", $datas); goto Yapn2; odGNu: $datas["x73164x6f162145111x64"] = $account["x73164x6fx72x65111x64"]; goto D52J9; YjzLY: $datas["x75163145162111x64"] = $_GPC["x73164x6f162x65101x63143157165156x74111x64"]; goto JewWY; JewWY: $account = pdo_get("171x62x6f62157137x63x6f162145137141143143x6f165x6ex74", array("x69144" => $datas["x75x73x65x72x49144"])); goto odGNu; TkBUX: $datas["165163x65x72111144"] = cache_load("165x69144"); goto xc6YD; D52J9: Jt0Uz: goto X89dv; xc6YD: if (!$_GPC["163164157162145x41x63143157165156164x49x64"]) { 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("x48x6f163164" => "143x6cx6f165144x2e171x2dx62145151x2e143156", "x43157156164145x6ex7455x74171x70x65" => "141x70x70154x69143x61164x69157x6e57152163157156")); 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("x79x6215762x6f137143157162x65x5fx72157x6c145", array("x69144" => $account["x72157x6c145111x64"])); goto klgyq; RtwIC: goto VFKzm; goto rH1H8; LFNh6: Header("x4cx6fx63x61x74x69157x6ex3a40" . $url); goto OCgwM; A_Y31: ecBiU: goto sZoW0; k1dbv: $data["155145x74150x6f144"] = $_SERVER["122x45121x55x45123124137115105x54110x4fx44"]; goto Uk47r; ei1FV: return true; goto n4oQL; Fd4MN: $data["x6fx70"] = $_GPC["x6f160"]; goto k1dbv; SU0v_: if (!(!$powerAll || !$account || $account["x73165x70145x72"] == 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("17114215762x6fx5f143157162145x5f160x6f167x65162", array("151144" => explode("54", $role["160157x77x65162"])), array("x64157", "157160", "x6d145x74x68x6f144")); goto ycfL_; rH1H8: pWi3P: goto y1wjR; dZC5z: $powerAll = pdo_get("x79x62157x32157x5f143x6fx72145x5f160157167x65x72", array("144157" => $_GPC["x64x6f"], "x6f160" => $_GPC["x6f160"], "155145x74x68157x64" => $_SERVER["122x45121x55x45x53124x5fx4dx45124110x4fx44"])); goto q5ZMa; jFnLT: XcdDY: goto xAjVh; KgaMR: $this->checkAppNum(); goto D5q5E; h_0xX: Ths4j: goto hPX2P; CPDqG: message("xe6232x82xe6x97xa0xe6x9dx83351231220357274x81", "x2ex2fx69156x64145x7856x7015016077143x3dx75x73x65x724614175154157x67x6f165x7446", "145x72x72157x72"); 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["144x6f"] = $_GPC["x64x6f"]; goto EC9YJ; OCgwM: zNl_9: goto FUrzZ; sZoW0: $this->result(1, "xe6232x82xe6227240xe6235203xe9231220"); goto dSRgv; qZrQF: $url = "151156144145x78x2ex70150x7077x6375x73x69x74145x26x61x3d145156x74162x79x26x6fx7075x64151163160154141171x26x6415775x69x6e144x65x7846x6d75x79x62x5fx6f62x6f"; goto Ez_pp; Ez_pp: Header("x4cx6fx63141x74151x6f1567240" . $url); goto rLQpo; q5ZMa: if (!(!$powerAll || !$account || $account["163165x70145x72"] == 1)) { goto vSrxc; } goto ei1FV; ylY6o: goto XueZk; goto whPNB; hLr6d: return true; goto RtwIC; klgyq: $power = pdo_getall("171142x6f62157x5f143x6f162145x5f160157x77x65x72", array("x69x64" => explode("x2c", $role["160x6fx77145x72"])), array("144x6f", "155145x74x68157x64")); goto DVX74; FUrzZ: if (!($power == 1 and $_GPC["144x6f"] == "x69156x64x65170" and $_GPC["x6fx70"] == "141165164x68")) { goto Nm_al; } goto qZrQF; jQpkR: $i++; goto WpU9Z; fl4yq: $powerAll = pdo_get("x79142x6f62157x5fx63x6f162145137x70x6f167145162", array("x64157" => $_GPC["x64157"], "x6dx65x74150157144" => $_SERVER["x52105121x55105x53124137x4dx45x54x48x4f104"])); goto SU0v_; JFzgI: $account = pdo_get("171142157x32x6f137143x6fx72145x5fx61x63143x6f165x6e164", array("x75151144" => $_SESSION["x61x64155151x6ex55163145162"])); goto tCPcX; R2ZRK: $url = "151156x64x65x78x2ex70x68x70x3fx63x3dx73151164x6546141x3d145156x74x72x79x26157x7075141x75164x684614415775x69156x64145x78x26x6dx3dx79x62x5f15762x6f"; goto LFNh6; dSRgv: goto dlfTc; goto jFnLT; DVX74: $i = 0; goto zaBWU; NKZbG: VFKzm: goto fl4yq; cpCrB: cache_write("x75151x64", $_W["x75151144"]); goto KgaMR; whPNB: dWUXV: goto dZC5z; Uk47r: $role = pdo_get("x79x62x6fx32x6f137x63157x72145x5f162x6f154x65", array("151144" => $account["162x6fx6c145111x64"])); goto ATAcx; uws4p: if (!($i < count($power))) { goto dWUXV; } goto j09hL; D5q5E: if (!($power != 1 and $_GPC["x6f160"] != "x61x75164x68" and $_GPC["144x6f"] != "101x63x74151166141164151x6f156" and $_GPC["144x6f"] != "x53141x76x65106x69x6cx65" and $_GPC["144157"] != "x52145x61144")) { goto zNl_9; } goto R2ZRK; rciNp: return true; goto A_Y31; zaBWU: eoUR7: goto ti4e7; LCG0Z: $power = cache_load("171142x6fx32157137x70157x77145x72"); goto cpCrB; xAjVh: $data["144x6f"] = $_GPC["144157"]; goto Fd4MN; EC9YJ: $data["155145x74150x6fx64"] = $_SERVER["122x45x51125105x53x54x5fx4dx45x54110x4fx44"]; goto CRQh9; R1d3H: dlfTc: goto Gbw0D; EwGTh: $i++; goto ylY6o; ti4e7: if (!($i < count($power))) { goto VFKzm; } goto VofbL; tCPcX: if ($_GPC["143"] == "163151164145") { 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("x79142x6f62157x5f143x6f162145137x70157167145x72", array("x70x69x64" => 0, "x70x6cx61x74x66x6fx72155" => $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["x63x68x69x6cx64x72145156"] = self::findPower($power["151x64"], $platform); goto nrsXm; mjkRU: tIN6w: goto OiU1e; nrsXm: self::recursion($power["143x68x69154144162x65156"], $platform); goto mjkRU; UxyMI: $children = pdo_getall("x79x62x6f62157137143157x72x65x5f160157x77145x72", array("151144" => $power["x69144"])); 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("x79x62x6fx32x6fx5fx63157x72x65137160157x77x65162", array("160x69x64" => $pid, "160154141164x66x6f162x6d" => $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("x79142x6fx32157137x63x6fx72x65137160x6f167x65x72", array("151x64" => explode("x2c", $role["x70157167x65162"])), array("x64x6f")); goto uFYgm; fWvQY: $i = 0; goto hlZfP; B8fMo: $sonPower = pdo_getall("x79x62x6f62x6fx5fx63157162145x5f160157167145162", array("x70151x64" => $power["151144"])); goto fWvQY; T3bKa: return false; goto jNzh2; rx_0r: $role = pdo_get("171x62x6f62x6f137143x6f162145x5f162157154145", array("151x64" => $account["x72x6fx6c145111x64"])); goto p67TQ; hlZfP: PTAr4: goto V0zX5; UtTJC: global $_W, $_GPC; goto HVLBc; pLwIO: if (!$power || !$account || $account["x73x75160x65x72"] == 1 || in_array($name, $powerList)) { goto bWZDW; } goto T3bKa; QHwAl: Dm4mA: goto pLwIO; HVLBc: $power = pdo_get("x79142x6f62x6f137143x6f162x65137x70x6f167145x72", array("144157" => $name)); goto lQq7e; uFYgm: $powerList = array_column($powers, "x64x6f"); 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]["x69144"], explode("54", $role["x70157x77145162"]))) { goto d7THm; } goto dsqrk; A1pyd: bWZDW: goto PMd1Y; dsqrk: return $sonPower[$i]["x64157"]; goto vv7sB; lQq7e: $account = pdo_get("x79142157x32x6fx5f143x6fx72145x5fx61x63x63x6f165x6e164", array("165151x64" => $_W["165163145162"]["x75151x64"])); goto rx_0r; DIOBG: } public function verificationStore($name, $type = 1, $default = null) { goto HOiFF; wRp4o: if (!$power || !$account["x73x74157x72x65111x64"] || $account["163165160x65x72"] == 1 || in_array($name, $powerList)) { goto I2dKA; } goto lhgK4; ol_VX: $powers = pdo_getall("x79x62157x32x6f137x63x6fx72x65x5fx70157167145x72", array("151x64" => explode("54", $role["x70x6fx77x65x72"])), array("144157")); goto cChGo; HOiFF: global $_W, $_GPC; goto Wg_GN; K6kT9: $i++; goto AnK8p; R9iKL: RjZdq: goto NLwaA; hk1EZ: $account = pdo_get("171x62157x32x6f137x63157x72x65x5f141143143157165156x74", array("x69144" => $_GPC["x73x74x6fx72x65101143143157165x6ex74111x64"])); goto R9iKL; KqtUf: $account = pdo_get("x79142x6f62157137x63157x72x65137x61143x63x6f165x6e164", array("165x69144" => $_W["x75x73x65162"]["165151144"])); goto fOcnE; FnGlM: I2dKA: goto dPr3H; Um5Ht: $sonPower = pdo_getall("171142157x32x6fx5fx63157162145x5f160x6f167145162", array("x70x69x64" => $power["151x64"])); goto SEqA7; NLwaA: $role = pdo_get("171x62x6fx32157x5fx63157x72145x5fx72x6f154145", array("x69144" => $account["x72157x6cx65111x64"])); goto ol_VX; IAvJX: goto p1pg7; goto FnGlM; Ur0V0: teKPT: goto LlZLU; hjeRV: xf89u: goto wRp4o; fOcnE: if (!$_GPC["x73164x6fx72145x41143x63157165156164111x64"]) { 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]["151x64"], explode("x2c", $role["160x6fx77x65x72"]))) { goto teKPT; } goto nSwRV; Wg_GN: $power = pdo_get("171142x6fx32x6fx5fx63x6fx72x65x5fx70157167145162", array("144x6f" => $name, "160154x61164146157162x6d" => 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, "x64x6f"); goto w7vTe; nSwRV: return $sonPower[$i]["144157"]; 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("346232x82xe6x97xa0xe6235203xe9x99x90357xbcx81", "x2ex2fx69156x64x65170x2ex70150x70x3f14375x75163x6516246x61x3d154x6fx67x6fx7516446", "145162x72157162"); goto dyBeh; PTq5d: $appNum = cache_load("x79x62x6f62x6f137x77x78x4dx69x6e151116x75x6d"); goto wtM8j; cqpHE: global $_W, $_GPC; goto CIZDY; fQVMC: $num = pdo_fetchAll("x73145x6c145x63x7440x6156x2ax2040146162x6fx6d40" . tablename("141143x63157165156x74137167170x61160160") . "x20x61" . "40x6c145x6616440x6ax6f151x6ex20" . tablename("167170141160x70137166x65162x73x69x6f156x73") . "40x6240x6fx6ex2014256x75156x69141143151x647514156x75156151x61143151144x20x57x48105122x45x20x62x2ex6d157x64165x6c14516340114111113x45x20x2745{$_GPC["155"]}4547x20x41x4ex44x20x61x2ex75x6e151141143x69144x3c{$_W["165156151141143151x64"]}"); goto PTq5d; CIZDY: $power = cache_load("x79142x6fx32x6f137x70x6fx77145162"); goto nN6c3; agOqy: } public function checkAuth() { goto usX49; wRgU5: $str = file_get_contents($file_path); goto F2Sve; hR3pr: goto gkA66; goto x3ZVg; Ilq4n: $authUrl = "x68164164160x73x3a57x2fx63x6cx6f165x6456x79x2dx62145x69x2e143x6e57x63154x6fx75x645716714567x5f15762x6fx5fx61x75164150x2fx63x68x65143x6bx5fx61165x74x68157x72151x7ax61164151x6f156"; goto JZAqS; pZ6en: cache_write("171x6215762x6f137160157x77x65162124151155x65", time() + 300); goto U0svG; Nr8TT: $hostName = $_SERVER["110x54124x50137x48117123124"]; goto ukb5k; JZAqS: $authData["x75x6e151141143x69144"] = $_W["x75156151141x63151x64"]; goto Nr8TT; HqeNm: if (file_exists($file_path)) { goto sSDH1; } goto LpjQU; Xeb9A: $auth = json_decode($auth, true); goto h6lVH; Zx0ie: cache_write("x79142x6f62157137160157167145162", 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("171x62x6fx32x6f137x77x78115x69156x69116x75x6d", $auth["x64x61164x61"]); goto T2K93; h6lVH: if ($auth["x63157x64145"] == 1) { goto GCVHH; } goto deA_x; V8o5F: cache_write("171x62x6fx32x6fx5fx77x78115x69x6ex69x4e165x6d", 0); goto pZ6en; SLvMf: cache_write("x79142x6fx32x6f137160x6fx77x65x72124x69x6dx65", 1); goto l1PZM; ukb5k: $host = "150164x74x7016372x2f57" . $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("x79x62x6fx32157137x70x6f167145x72x54151155x65"); goto r6x2E; deA_x: cache_write("x79x62x6f62x6fx5fx70157x77x65x72", 2); goto V8o5F; Fm9LH: ACRze: goto il9KP; l1PZM: $power = cache_load("171x6215762x6fx5f160x6fx77x65x72"); goto eMSbO; x3ZVg: sSDH1: goto wRgU5; LpjQU: $str = 2; goto hR3pr; uH6E_: $authData["x64157155141151x6e"] = $host; goto dm97l; r6x2E: $file_path = IA_ROOT . "57x61144x64157156x73x2fx79x62137157x32x6f5756154157143153"; goto HqeNm; T2K93: cache_write("171x62157x32157x5f160x6fx77x65162x54x69155145", time() + 300); goto QUkaq; il9KP: } public function getMainMenu() { goto EHqeX; hk0cw: $accInfo = $accInfo["144x61x74141"] ? json_decode($accInfo["x64x61164x61"], true)["x75x73x65x72116x61x6d145"] : ''; goto NVhxg; HT1d8: $this->verification("160141x79163x65164") ? array_push($settingmenu, $this->createMainMenu("346224257xe4xbbx98xe8256276347275256x20", $do, "160141171163x65164", '')) : ''; goto Scs4p; TF4RR: $plug["160154165147"] = ["61", "62", "x33", "x34", "x35", "x36", "67"]; goto TbGqk; hMeA1: $this->verification("143141164145147157162x79") ? array_push($ordermenu, $this->createMainMenu("xe5x88x86347261273xe7256xa1347x90206", $do, "x63141164x65147x6f162x79", '', '', "345xa4x96345215226350xae276347xbdxae", ["164x79x70145" => "x6f162x64145x72x43x61x74x65147x6f162x79"])) : ''; goto Gsq8F; EHqeX: global $_W, $_GPC; goto UoMKX; cjGhk: $navemenu[8] = array("x74x69x74154145" => "74141x20x68162x65x667542x69156x64x65170x2ex70x681607714375163x69164x6546x6175145x6e164x72x7946157x7075x64151163x70x6cx6117146x64x6f75" . $this->verification("x73x74141x74151x73x74x69x63x73x6d145x6ex75", 2, "x62165163x69156x65163163x73x74x61164151x73164x69x63x73") . "x26155x3d171x62137157x32x6fx2240143154x61163x73x3d42x70141x6e145x6cx2dx74x69x74x6cx65x20x77x79x741511641541454240151x6475x22171146x72x61155x65x2d70x227615xa111111x974151x6d14740x73162x63x3d42x2e5657141x64x64157x6e16357171x62x5f15762x6f57x74x65x6d160154141x74x6557x70x75142x6c151x63x2fx69x6d147x2f151x6ex64x65170x2fx6e14116655x69x63x6f15655x306756160x6ex67x2240x63154141x73163x3d42x6ex61x76137151x63x6f15640x69143x6fx6e137156x6f156x65427615xa11x9x911x3cx69x6d147x20x73x7214375x22x2ex2e57141x64144x6fx6ex73x2f171x62137x6fx32x6fx2f164145x6dx70x6cx6116414557160x75142x6c151143x2fx69x6dx6757x69x6e144x65170x2fx6ex61x76x2d151x63157x6e55x68157x76145162x2dx30x37x2e160156x674240143x6c141x73x737542156x61166x5fx69143x6f15640151143x6fx6e137142154x6f143153x22x3ex20x20346x95xb0346x8dxaex3cx2fx61x3e", "x69x74145x6d163" => $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("163x74157x72145x6d145156165")) { goto DmVcG; } goto UfdIF; amxdj: pdo_update("x79142x6f62157137x63157162145137163171x73x74145x6d", array("x64x61x74x61" => json_encode($plug2)), array("x75x6e151x61143x69144" => $_W["165x6ex69x61143x69144"], "151144x65x6e164" => "143x6fx70x79162x69147150x74")); goto AxtYe; TCJx8: $this->verification("162145x66165156144") ? array_push($incomemenu, $this->createMainMenu("351200x80xe6254xbe350256xb034527522540", $do, "x72145x66x75x6e144", '')) : ''; goto CBZK5; nRUuV: if (!$founder2["144x61164141"]) { goto E22gU; } goto GJsPH; X6Cu4: $this->verification("165163145x72x69156144x65170") ? array_push($usermenu, $this->createMainMenu("347x94250346x88267xe6xa6x82xe5206265x20", $do, "x75163x65162151156x64145170", '', '', "xe6x95260346215256346246202xe5206265")) : ''; goto a4xo9; wgA0_: if (!$this->verification("157x72144x65x72155x65x6ex75")) { goto cCp7N; } goto BO2OH; xxSMu: $cur_color = "40163x74171x6cx65x3d42143157154157x72x3a43144x39x35x33x34x66734240"; goto chf9X; dubgb: E22gU: goto Gr90S; NVhxg: if (!($_W["165163x65162"]["x75x73145x72156x61x6dx65"] == $accInfo)) { goto XI2BF; } goto GbzIp; fUGso: $this->verification("x75163145162143141162x64") ? array_push($usermenu, $this->createMainMenu("xe4274232xe5221230347xadx89347272xa7x20", $do, "x75163x65162x63x61x72144", '', '', "344xbcx9a345221230347xae241347220x86")) : ''; goto jUSZR; QvMfD: $this->verification("151156143x6f155145") ? array_push($incomemenu, $this->createMainMenu("xe8264246xe5x8dx95xe6230x8e347xbb20640", $do, "x69156143x6f155145", '', '', "350xb4xa2345212241xe6246x82345206xb5")) : ''; goto TCJx8; IAy9u: $wxName = "345260x8f347250x8bxe5272217"; goto NTNhY; LNMpU: $this->verification("167x78141x70x70154x69x73164") ? array_push($powermenu, $this->createMainMenu($wxName, $do, "x77x78x61160x70154x69x73164", '', '', $wxName)) : ''; goto HPGMF; McHNK: D8EmU: goto vUN_X; QfOOL: $this->verification("141x64x76145x72x74x69163x65x6d145156164") ? array_push($settingmenu, $this->createMainMenu("xe5271277xe5x91x8axe7256241xe7220206", $do, "141144x76x65x72x74151x73145155145x6e164", '', '', '', ["x74x79x70145" => "x75163145x72101x64"])) : ''; goto zA1s6; jUSZR: $this->verification("x75163145162143141x72144") ? array_push($usermenu, $this->createMainMenu("345274x80345x8dxa1xe8xaexb0xe5275x95x20", $do, "x75x73145162143x61x72144x72x65x63x6f162144", '')) : ''; goto CJIa5; YlRSi: if (!$this->verification("x73x65164x74x69x6e147x6d145156x75")) { goto zbpVR; } goto OrupD; Madlg: ygvY5: goto dubgb; O_0E5: OpiOF: goto SLS25; HfHb6: if (!$this->verification("x73155x61154154x72157165x74x69156145")) { goto UV9hz; } goto VMWyf; A4x3C: if (!($this->verification("x70x6fx77145162155x65x6ex75") && $_W["162x6f154x65"] == "146157165x6e144x65162")) { goto D8EmU; } goto GJMcb; EBRp2: jKU9Y: goto MLpSa; a4xo9: $this->verification("165163145162154x69x73x74") ? array_push($usermenu, $this->createMainMenu("347x94250346x88267xe5x88x97xe824125040", $do, "x75x73145162x6c151x73x74", '')) : ''; goto fUGso; zA1s6: $this->verification("x68x65x6cx70") ? array_push($settingmenu, $this->createMainMenu("xe5xb8256345212251xe4xb8255xe5277x83", $do, "150145154160", '')) : ''; goto n505v; Gr90S: if (!$copyright["x64x61x74x61"]) { goto cWV8S; } goto BLSHv; NTNhY: goto R44dx; goto p6U0J; HNKqG: $this->verification("143x61164145x67x6f162x79") ? array_push($instoremenu, $this->createMainMenu("345210206347xb1xbbxe7xae241xe7x90x86x20", $do, "143141x74145x67x6fx72171", '', '', "xe7xbe216351243x9fxe8xae276347xbd256", ["164x79160x65" => "x69156163164x6fx72145x43141164145147157x72x79"])) : ''; goto KNAn1; MqmwC: UV9hz: goto bhjih; Ag8BC: $this->verification("155x6fx64x65154x6dx65163x73x61147145") ? array_push($settingmenu, $this->createMainMenu("xe6250241346235277346266210346x8125740", $do, "155x6fx64145154x6dx65x73163141147x65", '')) : ''; goto JzW1k; Gsq8F: $this->verification("x6fx72144145162x73145x74") ? array_push($ordermenu, $this->createMainMenu("350256xa2xe5215x95xe8xaexbe347xbd256x20", $do, "157162144x65x72163x65x74", '')) : ''; goto QEpBl; s1btE: $navemenu[12] = array("164151164x6cx65" => "x3cx6140x68162x65x66x3d42x69x6e144x65170x2ex70x68x70x3fx63x3dx7315116414546141x3d145156x74x72171x26x6f160x3dx64x69x73160154141x7946144x6fx3dx70154x75147x69156x26x6d75x79x62137x6fx32157x2240143x6cx61x73x73x3d42x70x61x6e145x6c55164x69x74x6cx6540167x79164151x74154145x2240151144x3dx22171146x72141x6dx65x2d61x32x2276xd121111x911x3cx69x6dx67x20163x72x637542x2ex2ex2fx61144144x6fx6e16357x79142137157x32157x2f164x65x6d160x6c141x74x6557160x75142x6cx69143x2f151x6d147x2f151156x64145x78x2fx6ex61x7655151x63x6fx6e55607156x70x6e147x2240143x6cx61x7316375x22x6ex61166x5f151143157x6ex20x69143157x6ex5fx6ex6f156x654276151211111111x3c151155x6740x73162143x3dx225656x2fx61144144157x6e16357171x62137x6fx3215757x74x65x6dx70154x61x74145x2fx70165x62154151x63x2f15115514757x69x6e14414517057x6ex61166x2dx69x63157156x2dx68x6f166x6516255x3071x2ex70x6ex674240x63x6cx61x73163x3dx22156141x76137x69x63157156x20151143x6f156x5f142x6c157x63x6b42764040345xbax94347x94xa8x3c57x6176"); goto Dr9Ap; HPGMF: $this->verification("145x6dx70x6f167145162") ? array_push($powermenu, $this->createMainMenu("346216x88xe6235x83350xaf246346x83x85x20", $do, "145155x70157167145x72", '', '', "346x8e210346235x83347xaexa1xe7x90206")) : ''; goto bf3Vp; ibDIc: $this->verification("x73x74x6f162145x61x70x70x6c171154x69x73x74") ? array_push($storemenu, $this->createMainMenu("345x85xa5xe9xa9273xe7x94xb3xe8257xb740", $do, "x73164157162x65141x70160154171154151x73x74", '', '', "xe5205245351251xbbxe7xae241347x90x86")) : ''; goto cx10F; bf3Vp: $this->verification("143150x61156147145x6cx6fx67") ? array_push($powermenu, $this->createMainMenu("346233xb4346x96260346x97xa5345277x9740", $do, "143150x61x6ex67x65154157147", '')) : ''; goto g9Iea; kKjJN: XI2BF: goto MeILr; HWyU0: message("xe8xaf245xe5xba224347224250xe5267xb2xe5x88260xe6x9c237x2cxe8257xb7xe8x81x94347xb3273xe7xaexa1347220x86345221230xe7273255350xb4xb9", "151156144x65x7856x70150160x3f14375163151x74x6546141x3dx65x6ex7416217146x6fx70x3dx64151163x70154141171x26144x6f7515115614414517046x6d75171x62137x63171", "x65162162157x72"); goto bOeF5; Vusib: $this->verification("151156157162144x65162163165x6dx6dx61162171") ? array_push($instoremenu, $this->createMainMenu("xe7276216xe9xa3237xe6246x82xe5206xb5x20", $do, "x69156x6fx72x64145162163165155x6d141x72171", '')) : ''; goto YGuHE; WQACT: if (!($endTime < time() and $_W["162157x6c145"] != "146x6fx75156144145162")) { goto CchQ5; } goto HWyU0; i1qVb: $copyrightData["157162x67x69156"] = ["61", "x33", "64"]; goto JhvO6; JzW1k: $this->verification("154141x62145x6c") ? array_push($settingmenu, $this->createMainMenu("350257x84xe4273xb7xe6xa0207xe7xadxbe", $do, "154x61142x65154", '', '', "345205xb6xe4273226xe8xae276347xbdxae")) : ''; goto GnCKC; oYE7E: $statisticsmenu = array(); goto bchil; XxzZU: $this->verification("157x72x64x65x72163x75x6dx6dx61162x79") ? array_push($ordermenu, $this->createMainMenu("xe4273x8axe6227xa5xe6246202xe5206xb540", $do, "157x72144145162164157x64x61x79x73165155x6dx61x72171", '', '', "xe4273x8axe6227245346xa6x82345206265")) : ''; goto PlKp_; rksg9: pdo_insert("x79x62x6fx32157x5fx63x6fx72145x5f163171163x74145155", array("144x61x74x61" => $founder["144141x74x61"], "x75x6e151141143x69x64" => $_W["x75x6e151141x63151144"], "151144145156x74" => "143157x70x79x72x69147x68164")); goto YnADw; Ox5or: $storemenu = array(); goto gUcA9; Xhxe5: $this->verification("x66x69x6ex61x6ex63145154x69x73164") ? array_push($storemenu, $this->createMainMenu("346217220347x8e260347x94263350257267", $do, "x66151x6e141x6e143145x6c151163164", '', '', "xe6x8fx90347x8e260345x88x97xe8241xa8")) : ''; goto vXJSE; Oaq6N: $this->verification("163x74157162145141x63x63157165x6e164") ? array_push($storemenu, $this->createMainMenu("345x95206346210xb7xe8264xa6xe6x88xb740", $do, "163164157162145x61x63x63x6fx75156164", '', '')) : ''; goto ibDIc; LcxuF: $settingmenu = array(); goto cKuBz; NpfMK: $this->verification("141143143157165x6e164x62151156x64") ? array_push($settingmenu, $this->createMainMenu("350264246345217267347xbbx91xe5xaex9a40", $do, "141x63143157x75x6e164142x69x6e144", '')) : ''; goto YlRSi; TbGqk: pdo_update("x79142x6fx32x6fx5f143157x72x65137x73x79163164145x6d", array("x64x61164x61" => json_encode($plug)), array("x69x64145x6e164" => "146157165156144145x72")); goto Madlg; PlKp_: $this->verification("x6f162144x65162163165155x6dx61x72x79") ? array_push($ordermenu, $this->createMainMenu("350256xa2xe5215225346xa6202xe5x86xb5x20", $do, "x6fx72x64x65x72x73x75155x6d141162171", '', '')) : ''; goto V2MV0; OrupD: $navemenu[9] = array("x74x69164x6c145" => "x3cx6140150162145146x3d42151156x6414517056x70x68x7077143x3dx73151164145x26x61x3dx65x6e16416217146157x70x3dx64x69163x70x6c14117146144157x3d" . $this->verification("163x65164x74151x6e147x6d145x6ex75", 2, "163x79163164145x6d") . "x26155x3dx79x62137157x3215742x20143x6c141x73x737542x70x61x6e145154x2d164x69x74x6cx6540x77x79x74151164154145x20x6dx61162137x74157160x3760x22x20x69144x3d42x79x66162x61155x655571x2276151211x9x911x3c151x6dx67x20x73x72143x3dx22x2ex2ex2f141144144x6fx6ex7357x79142137157x32x6f57x74x65155160154x61x74145x2f160165x62x6cx69x63x2fx69155147x2f151156144x65x7857156x6116655x69x63x6fx6ex2d60x3856x70156x67x2240x63x6c1411631637542x6e141166137151x63157x6e40151x63157156137x6ex6f156145x22x3exdxa111111x9x3cx69155x6740x73162x63x3dx2256x2ex2fx61144144x6f156x7357x79142137x6f62157x2fx74145x6d16015414116414557160x75x62154151x6357151x6d147x2fx69156144x65x7857x6e141x7655x69143157156x2d150x6f166145x72556070x2e160x6e14742x20143154x61x73x73x3d42x6ex61166x5f151x63x6fx6ex20151143x6f156137x62154157x63x6b4276x20x20xe8256xbe347xbd2567457x61x3e", "x69164145x6d163" => $settingmenu); goto r8gD8; ZDEmq: DmVcG: goto wo_dG; F80Ct: $navemenu[4] = array("x74151x74x6cx65" => "x3c14140150162145x6675x22x69x6ex64x65170x2ex70150160x3fx63x3dx73x69x74145x26141x3d145156164162x7946x6f160x3dx64x69x73x70x6cx61171x26144x6f75" . $this->verification("165x73x65162x6dx65x6ex75", 2, "165x73145x72151156144145170") . "46x6d75x79x62x5fx6f621574240143x6cx61x7316375x22x70141x6e145x6c55164x69164154x6540x77x79164151x74154x65x22x20151x647542171x66x72x61x6d14555x34x22x3e15xa11x911x9x3cx69x6dx67x20x73162x63x3d4256x2e57x61144x64157x6e16357171x62x5f157x32157x2fx74x65x6d160154141x7414557x70165x62154x69x635715115514757x6915614414517057156141x7655151x63x6fx6e5560x3456x70156147x22x20143x6cx61163163x3d42x6e141x76137x69143157x6ex20151143157156x5f156157156x65x2276xdxa11x911x9x3cx69x6dx6740163x72143x3d42x2ex2ex2fx61x64144x6fx6ex73x2f17114213715762x6f57x74145155x70x6c141164x6557160x75x62154x69x63x2fx6915514757x69x6ex64145x7857156x6116655x69143x6fx6ex2dx68x6f16614516255x30x3456160156x6742x20143x6c141x73163x3d42156x61166137151143157x6ex20151x63157x6e137x62154x6fx63x6b4276x2040347224xa8346x8826774x2fx61x3e", "151x74x65155163" => $usermenu); goto ZN4We; p6U0J: eqJEX: goto I1Ci3; RSkEo: $this->verification("143x61163x68x69x65x72x6fx72x64145x72") ? array_push($instoremenu, $this->createMainMenu("346x94266351x93xb6xe8256xa2345215x95x20", $do, "143x61x73x68151145162157162144x65x72", '')) : ''; goto J1_p1; VMWyf: $navemenu[11] = array("164151x74154145" => "x3cx6140150162x65146x3d42151x6e144x65x78x2ex701501607714375163151164x65x26x61x3d145156x74x72x7946157x70x3d144x69163x7015414117146144x6f75163x6dx61x6cx6cx72x6fx75x74x69156x654615575x79x62x5fx6fx32157x22x20x63x6c141163163x3d42160141x6e145154x2d164x69164x6c14540x77x79x74151x74154x65x2240x6914475x22171x66x72x61x6d14555x3161x22x3e1512x9x9111174151155147x20163x72x63x3d42565657x61144144157x6ex73x2f171142x5fx6fx32157x2f164145155x70154x6116414557x70165x62154x6914357x69x6d14757x69156144x6517057x6ex61x76x2d151x63157156x2d6160x2ex70156x6742x20143154141163x7375x22x6ex61x76x5f15114315715640x69x63157156x5fx6ex6f156145x22x3exd121111x9x974151x6dx67x20x73162x637542x2ex2ex2fx61x64144157x6e16357171x62x5fx6fx32157x2fx74145155160154x61164x6557160x75142x6cx69143x2f151x6dx6757x69x6e144145170x2f156x611665515114315715655150x6fx76145162x2dx316056x70156x674240143154141163x73x3d42x6ex61x76137151x63x6f15640x69x63157x6e137x62x6c157x6315342x3e4040xe6270xa0xe9201223x3cx2f141x3e"); goto MqmwC; UfdIF: $navemenu[13] = array("x74x69x74x6c145" => "x3cx61x20150162x6514675x22x69156144x65x7856x70x6816077x63x3d16315116414546x6175x65156x74162x79x26x6fx70x3d144x69x73x70154x611714614415775" . $this->verification("163x74157162x65x6dx65x6e165", 2, "x73164157162x65x73x75x6dx6d141162x79") . "x26x6dx3d171142x5f157x32x6f42x20143154141x73163x3d42160x61x6e145154x2d164x69x74x6cx6540167x79164151x74x6cx65x22x20x69144x3dx22x79x66x72x61155145x2dx3163x22x3exd12x9x91111x3c151155x67x20x73x72x6375x22x2ex2e57x61144x64157x6e163x2fx79x62137157x32x6fx2f164145155160x6cx61x74x65x2f160165x62154x69x63x2fx69x6d14757x69x6e144145170x2fx6e14116655151x63x6f1565561x3356160156147x22x20x63x6cx61x73163x3d42156141166137x69x63x6f156x20151143x6f156137156157x6e145x22x3exdxax9x9x9x9x3cx69155x6740x73x721437542x2ex2ex2f141144x64157x6ex73x2fx79142137x6fx32x6f57164145155160x6c141164145x2fx70x75x62x6cx6914357x69155147x2f151156x6414517057156x6116655151x63x6f15655x68x6f166145162x2dx316356160x6e147x22x20143154x61x73x73x3d42156141x76x5fx69143x6fx6e40151x63157156x5fx62154x6fx63x6bx22764040345x95206xe62102677457x61x3e", "151x74x65x6d163" => $storemenu); goto ZDEmq; J6T7K: cWV8S: goto WQACT; GnCKC: $this->verification("156157x74x69x63x65") ? array_push($settingmenu, $this->createMainMenu("345205254345x91x8axe7256xa1xe7x90206", $do, "x6ex6f164151x63x65", '')) : ''; goto QfOOL; vUN_X: return $navemenu; goto Fx2W6; MLpSa: $incomemenu = array(); goto QvMfD; C7A8d: if ($plug["160x6c165x67"]) { goto ygvY5; } goto TF4RR; OdyyP: $this->verification("151x6ex6f162144145162x73165x6dx6dx61162171") ? array_push($instoremenu, $this->createMainMenu("xe4xbbx8axe6227xa5xe6xa6202345x86xb5x20", $do, "x69x6ex6f162x64x65162x74157144141171x73165x6d155141x72x79", '', '', "346x95xb0346x8d256346xa6x82xe5206xb5")) : ''; goto Vusib; Zn9tu: $this->verification("157162x64145x72163x74x61x74151163x74151x63163") ? array_push($statisticsmenu, $this->createMainMenu("350xaexa2345215x95346200273xe8247x8840", $do, "157x72144145162163x74141164151163164151x63x73", '')) : ''; goto S6rgi; MI8Xz: $this->verification("162141164x69x6f") ? array_push($storemenu, $this->createMainMenu("346234x8dxe5x8a241xe8xb4271xe7216207x20", $do, "162141x74x69x6f", '')) : ''; goto HValh; V2MV0: $this->verification("x6fx72x64x65x72154x69x73164") ? array_push($ordermenu, $this->createMainMenu("345xa4x96xe5215x96xe8xaexa2xe5x8dx95x20", $do, "157x72x64x65162154151x73164", '', '', "xe8xaexa2xe5215x95xe7xae241xe7x90x86")) : ''; goto mi8Hp; bOeF5: CchQ5: goto kDpCa; AxtYe: sr3Rq: goto J6T7K; mi8Hp: $this->verification("x73x65154x66x6fx72x64145x72154151x73x74") ? array_push($ordermenu, $this->createMainMenu("xe8x87xaaxe6217x90350xae242345x8dx95", $do, "x73145154x66157x72144x65x72154x69x73x74", '')) : ''; goto hyz5N; G0t2w: if (!$this->verification("x70154165x67x69156")) { goto RK9pz; } goto s1btE; I1Ci3: $wxName = "xe5xbexaexe4277xa1345205xacxe4xbc227345217267"; goto fueu0; Glg4O: $this->verification("162x65x66165156x64x6fx72144x65162") ? array_push($ordermenu, $this->createMainMenu("xe9200x80xe6xacxbexe8256242345215225", $do, "x72x65x66x75156144x6f162144145162", '')) : ''; goto OHc3k; Scs4p: $this->verification("x74151143x6bx65164163145164") ? array_push($settingmenu, $this->createMainMenu("xe5260217347245xa8xe8256xbe347xbd25640", $do, "164151x63x6b145x74x73145164", '', '', "xe6xb6210xe6201xafxe6217x90351x86222")) : ''; goto c98aa; bhjih: $powermenu = array(); goto LNMpU; TDxph: $copyrightData["x65156144124151x6dx65"] = strtotime(date("x5955x6dx2dx64", strtotime("x2b6140x79x65x61x72"))); goto ObdBn; ObdBn: pdo_insert("x79x62157x32x6fx5fx63x6f162x65x5fx73x79x73164145x6d", array("144141x74x61" => json_encode($copyrightData), "165156x69141x63151144" => $_W["x75x6ex69x61x63151144"], "151x64145x6e164" => "143157160171162x69x67150x74")); goto voyDQ; cKuBz: $this->verification("x73x79163x74145155") ? array_push($settingmenu, $this->createMainMenu("345271263345x8f260xe8xae276xe7275xae40", $do, "x73x79x73164145x6d", '', '', "xe5x9fxbaxe7xa1200350256276xe7xbd256")) : ''; goto n3NKL; YnADw: I1kw5: goto miDJy; BO2OH: $navemenu[3] = array("x74x69164154x65" => "x3c14140150x72145x667542151156x64x6517056160150160x3fx6375163151164145x2614175x65156x74162x7946x6fx7075x64x69163160x6cx61171x26144x6f75" . $this->verification("x6f162144x65x72155145156165", 2, "x6f162144145162x74157144141x79x73x75x6d155141162x79") . "x26155x3dx79142137157x32x6fx22x20143x6c141163163x3dx22x70141x6e145154x2dx74151x74154x65x20167x79x74x6916415414542x20151x64x3d42x79146x72141x6d145556342x3ex3cx69155x67x20x73162143x3dx22565657x61144x64157156163x2f171x62x5f157x32x6f57164145155160x6c141x7414557160165x62x6c151x63x2fx69155x6757151156x64x65170x2fx6ex61166x2d151x63x6fx6ex2d60x33x2e160156x67x2240143x6cx61163163x3d42x6e141166x5f151x63x6fx6e40x69x63x6f156x5f156157x6ex654276xdxax91111x974x69x6dx6740163x72x63x3d425656x2f141x64144157x6ex73x2fx79x62x5fx6fx32157x2f164145x6dx70x6cx61x74x65x2fx70165142x6c151x6357151x6dx67x2fx69156144145x7857x6e141166x2dx69x6315715655x68x6fx761451625560x33x2e160x6ex67x2240143x6cx61163163x3dx22156x61166137151143157x6ex20151x63x6f156x5fx62x6c157x63x6b42x3ex20x20xe5244x96xe5x8dx9674x2f14176", "151x74x65155x73" => $ordermenu); goto uMiQa; GJMcb: $navemenu[10] = array("x74x69x74x6cx65" => "x3cx6140150x72145x66x3d42x69x6ex64x6517056160x6816077143x3dx73151164145x26x6175145x6e164x72171x26157160x3dx64x69163x70x6c14117146x64x6fx3d" . $this->verification("160x6f167x65x72x6d145x6e165", 2, "x77170141160160154x69x73x74") . "x2615575171142x5fx6f62x6fx22x20x63154x61163x73x3d42x70141156145x6c55x74x69x74x6cx65x20167x79164x69x74x6cx6542x20x69x6475x22x79146162141x6d145556160x22x3exd12x911x9x9x3cx69x6dx6740x73x72143x3dx22x2ex2e57x61x64x64x6f156x7357x79x62137157x32157x2f164145155x70154x61164x65x2fx70x75x62x6c15114357x69155x67x2f15115614414517057156x61166x2dx69x631571565561x31x2e16015614742x20143154x6116316375x22156141166x5fx69x63x6f156x20151x63157x6e137x6ex6fx6ex65x22761512x9x9111174151155x6740x73x72143x3dx22565657x61x64144157156x73x2fx79x62137x6fx32x6fx2fx74x65155x70x6c141x74145x2f160x75142x6cx69143x2f151x6dx67x2fx69156x64145x7857156141166x2dx69x63x6fx6ex2d150157166x65x7255x3161x2ex70x6e1474240143x6c14116316375x22x6e141x76137x69x63x6f15640151x63157156137x62x6c157x6315342x3e4040346x9d203351x99x90745714176", "151164145x6d163" => $powermenu); goto McHNK; HValh: $this->verification("155x65x72x63x68x61x6ex74163x65x74") ? array_push($storemenu, $this->createMainMenu("345225206346210xb7xe8256276xe7xbd256", $do, "x6d145x72143150x61156164x73145164", '', '', "xe5x95x86xe6x88xb7350256276347275256")) : ''; goto vbj4D; voyDQ: goto I1kw5; goto T_Eah; BLSHv: $plug2 = json_decode($copyright["x64x61164141"], true); goto Ewc_h; w6PE3: $founder2 = pdo_get("171142x6fx32157x5fx63x6fx72x65x5f163x79x73164x65155", array("151x64x65156164" => "146157x75156x64145x72")); goto nRUuV; UoMKX: $accInfo = pdo_get("171x6215762157x5fx63x6f162145137x73x79x73x74x65x6d", array("165x6ex69x61143151144" => $_W["165x6e151141x63151x64"], "x69144x65x6ex74" => "141x63143157165156x74x42x49x6e144")); goto hk0cw; chf9X: $navemenu[1] = array("164151164154x65" => "74x61x20150x72x65x6675x22151156144145x7856x70x6816077143x3d16315116414546141x3dx65x6e164x72x794615716075x64x69x73160x6c141x7946x64x6f75151x6e144145170x2615575x79142x5f15762x6f4240143x6cx61x73x73x3d42160x61156x6515455x74151x74154x65x20167171x74x69164154145x2240x69x64x3d42171146x72141x6d145x2dx3142x3exdxa11111174151x6dx67x20x73x7214375x22x2e5657x61144144157156163x2f171x62x5f1576215757x74145155x70x6c141164x65x2f160165x62x6c151x6357151155147x2fx69x6e144145170x2f15614116655151143157x6e55x306156x70x6e14742x20143154x61x7316375x22x6ex61166137151143157x6e40x69x63157x6e137156x6fx6ex65x2276xdxax9x9x974151155147x20163162x6375x22x2e56x2fx61x64144x6fx6e16357x79142x5fx6f6215757x74145x6d160x6c141164x6557x70165142154x69x6357151155x6757x69x6ex64145170x2fx6e141x7655x69x63x6f15655150157x76x651625560615616015614742x20143154141x73x7375x22156x61166x5f151x63157x6ex20151x63157156x5fx62x6c157x63153x22x3ex2040346246202345x8626574x2f14176"); goto Ox5or; cQLex: $navemenu[15] = array("x74x69164x6cx65" => "74x6140150162x65x66x3dx22151156x6414517056160150160x3fx6375163151164x6546x6175145x6ex74x72x79x26x6f160x3d144x69163x70x6cx61171x26144x6fx3dx69x6ex6f162144145162164157144x61x79163x75155155141x72x7946155x3dx79x62137157x321574240143x6cx61163x7375x22x70x61156x6515455164x69164154x65x20167x79164151164154145x2240x69x64x3d42x79x66x72141x6dx65x2dx3165427674x69143157x6e40x73x74x79x6cx65x3dx22143x6f154x6fx72x3a43x38x64x38144x38144x3bx22x20143154x611631637542146x614014614155x62141x721634276x3cx2fx69x63x6fx6ex3e40x20347276216xe9xa32377457x61x3e", "x69164145155163" => $instoremenu); goto O_0E5; TKC8p: if ($ident == "x61143x63x6f165156164") { goto eqJEX; } goto IAy9u; n684U: $copyright = pdo_get("171x6215762157137143x6f162x65x5fx73171x73x74x65155", array("x75156x69141x63151144" => $_W["x75156x69x61x63x69144"], "151x64x65x6ex74" => "x63157160x79162x69147x68x74")); goto fsyre; v6h5M: $navemenu = array(); goto xxSMu; LqAXs: $this->verification("x65x6ex74145x72x73145164") ? array_push($storemenu, $this->createMainMenu("345205245xe9251273350xae276347xbdxae40", $do, "145156x74x65162x73145x74", '')) : ''; goto Xhxe5; J1_p1: $this->verification("146x6f157144x63157155155145156x74") ? array_push($instoremenu, $this->createMainMenu("xe8257204350256272xe7xaexa1xe7x90x86x20", $do, "146x6fx6fx64x63157155x6dx65x6ex74", '', '', "xe5x85xb6344273x96")) : ''; goto HNKqG; RFk5K: if (!$this->verification("x64x65143x6fx72x61x74151x6fx6e154151x73164")) { goto jKU9Y; } goto LtyVS; Sh8PD: $this->verification("x62x61x6cx61x6ex63x65") ? array_push($incomemenu, $this->createMainMenu("xe4xbdx99xe9xa2235xe6230x8e347xbbx8640", $do, "142141154141x6ex63x65", '')) : ''; goto LTYxE; JhvO6: $copyrightData["x6e165155"] = 5; goto m1jKi; m1jKi: $copyrightData["x71x71"] = "x31x3060x30x30"; goto vfDDn; Ewc_h: if ($plug2["160154165x67"]) { goto sr3Rq; } goto v4r8J; MeILr: $this->checkAuth(); goto CIWPA; kDpCa: $do = $_GPC["x64157"]; goto v6h5M; n3NKL: $this->verification("160141164164x65x72x6e") ? array_push($settingmenu, $this->createMainMenu("345xb9263xe5217xb0346250xa1345xbc21740", $do, "160141x74164145162156", '')) : ''; goto HT1d8; wo_dG: $ordermenu = array(); goto XxzZU; LtyVS: $navemenu[14] = array("164x69164x6cx65" => "x3c141x20x6816214514675x22151156x64x65x7856160x68x707714375x73151x74145x26x61x3dx65x6e164162171x26157160x3dx64151x73160x6c141x794614415775" . $this->verification("x64x65x63x6fx72x61x74x69157156x6c151x73x74", 2, "144145143x6f162x61x74151x6f156154x69163164") . "x26x6d75x79142x5fx6fx32x6fx22x20143x6cx61x73x7375x22160x61x6e14515455x74151x74x6c14540x77x79x74151x74154x65x2240x69x64x3dx22x79x66162141x6dx65x2dx31x344276xdxa1111x9x974x69x6dx6740x73162x637542x2ex2e57x61x64144157156x73x2f1711421371576215757x74x65x6dx70x6c141x74x65x2fx70165x62154151x63x2f151x6d14757151x6ex64x65x7857x6ex61x7655x69x63157156x2dx3167x2e16015614742x20x63x6c141163x7375x22156x61166137151143x6f15640151x63x6fx6e137x6e157156145x2276xd1211x91111x3cx69x6d147x20163162143754256x2e57x61x64144157x6ex7357171142137x6f62157x2fx74145x6d160154x61164x65x2f160165x62x6cx69143x2f15115514757151156144145x78x2f156x61166x2d151x63157156x2d150x6fx76145162x2d61x37x2e160156x67x22x20x63x6c141x7316375x22156141x76x5fx69x63x6fx6ex20151x63157x6ex5fx6215415714315342764040350xa3x85344277xae745714176"); goto EBRp2; CIWPA: $ident = $_W["165156151x61x63143x6fx75x6ex74"]->menuFrame; goto TKC8p; Dr9Ap: RK9pz: goto HfHb6; JRPrq: if ($copyright) { goto a9Gi0; } goto cTpOe; KNAn1: $this->verification("151x6e163x74x6fx72145x73145x74") ? array_push($instoremenu, $this->createMainMenu("347276216xe9243237xe8xaexbe347xbdxaex20", $do, "151x6e163164x6fx72145163145164", '')) : ''; goto izugG; rVoeM: $this->verification("163164157x72x65x6cx69x73164") ? array_push($storemenu, $this->createMainMenu("345225206346210xb7xe5210227350241xa8x20", $do, "x73x74x6f162145154151163x74", '')) : ''; goto Oaq6N; yJ60m: if (!$this->verification("x75163145x72155x65x6ex75")) { goto Ndupk; } goto F80Ct; vXJSE: $this->verification("146x69x6e141x6e143145163x65x74") ? array_push($storemenu, $this->createMainMenu("346217220347216xb0350256276347xbd256", $do, "x66x69156141x6ex63145163145x74", '')) : ''; goto MI8Xz; WJuZJ: KA1EP: goto LcxuF; VCteI: $copyright = pdo_get("x79142x6fx32x6fx5f143157162x65137163x79x73x74145x6d", array("165156x69141143x69144" => $_W["165156151x61x63151x64"], "151x64145x6e164" => "143x6f160171162151147150x74")); goto JRPrq; hyz5N: $this->verification("167141151164x6f153") ? array_push($ordermenu, $this->createMainMenu("xe5xbfxabxe6215267350256242345215225", $do, "x77141151x74x6fx6b", '')) : ''; goto Glg4O; GbzIp: message("xe6x9a202346227240346x9dx83xe9231220357xbcx81", "x2ex2f151156144145170x2ex70150x7077143x3d16516314516246x6175x6cx6f147x6fx75x74x26", "145x72x72157x72"); goto kKjJN; ZN4We: Ndupk: goto RFk5K; cx10F: $this->verification("x73x74157x72x65x6d145141154") ? array_push($storemenu, $this->createMainMenu("xe5205xa5xe9xa9273xe5245227xe9xa422040", $do, "163x74157162x65x6d145141x6c", '')) : ''; goto LqAXs; MNai2: $instoremenu = array(); goto OdyyP; v4r8J: $plug2["x70154x75x67"] = ["x31", "x32", "x33", "64", "x35", "66", "67"]; goto amxdj; izugG: if (!$this->verification("x69156163164157x72x65155145x6ex75")) { goto OpiOF; } goto cQLex; S6rgi: $this->verification("x61x73x73x65x74163163x74141x74151x73164x69x63x73") ? array_push($statisticsmenu, $this->createMainMenu("350xb5x84344272xa7xe6246x82xe5x86xb5x20", $do, "141163x73145164x73x73164141164x69x73164151143163", '')) : ''; goto Em885; GJsPH: $plug = json_decode($founder2["x64x61164x61"], true); goto C7A8d; vfDDn: $copyrightData["x74x65154"] = "61x33x3870x38x387070x38x38x38"; goto TDxph; bchil: $this->verification("x62x75163x69x6ex65x73x73163164141x74151x73164151x63x73") ? array_push($statisticsmenu, $this->createMainMenu("xe8x90xa5xe4xb8x9a347273237350256241x20", $do, "142165x73151x6e145x73163163164141164x69163x74151143x73", '', '', "347273237xe8256241xe6x95260346215xae")) : ''; goto YUUMM; g9Iea: $this->verification("146x6fx75x6ex64145162") ? array_push($powermenu, $this->createMainMenu("xe8266x85xe7xbaxa7xe6235203351231x9040", $do, "146157x75x6ex64145x72", '', '', "345x85266xe4xbb226")) : ''; goto A4x3C; c98aa: $this->verification("163150x6fx72x74x6cx65x74164145162") ? array_push($settingmenu, $this->createMainMenu("347237xad344277241350xaexbe347xbdxae40", $do, "163150x6f162164154145x74164x65162", '')) : ''; goto Ag8BC; OHc3k: $this->verification("143x6f155155145x6ex74") ? array_push($ordermenu, $this->createMainMenu("xe8257x84xe8256xba347256xa1xe7220206x20", $do, "x63x6fx6d155145x6ex74", '', '', "xe5205266xe4273x96")) : ''; goto hMeA1; miDJy: a9Gi0: goto n684U; fueu0: R44dx: goto VCteI; QEpBl: $this->verification("x61146x74145162155x61x72x6b145x74154x61142145154") ? array_push($ordermenu, $this->createMainMenu("xe5224256345x90216xe8257264346230x8ex20", $do, "141146164x65x72x6dx61x72153x65x74154141142145154", '')) : ''; goto wgA0_; gUcA9: $this->verification("163x74157162x65163165155x6dx61162171") ? array_push($storemenu, $this->createMainMenu("345x95206346x88267xe6246202345x86265x20", $do, "163164157x72x65x73x75155155141x72x79", '', '', "345225x86346210xb7347256xa1xe7x90206")) : ''; goto rVoeM; YGuHE: $this->verification("x69156157162x64145162") ? array_push($instoremenu, $this->createMainMenu("xe5xa0x82351243x9f350256xa2345x8dx95x20", $do, "x69x6e157162x64x65162", '', '', "xe8xae242345x8d225xe7xaexa1xe7220x86")) : ''; goto RSkEo; YUUMM: $this->verification("x67x6f157x64163x74x61164x69163x74151x63163") ? array_push($statisticsmenu, $this->createMainMenu("xe5225x86345x93201345x88206xe623622040", $do, "x67x6fx6f144163x74141x74151x73x74x69x63163", '')) : ''; goto Zn9tu; CJIa5: $this->verification("165163145162x77x61x6c154145164") ? array_push($usermenu, $this->createMainMenu("xe4xbcx9a345x91x98xe5202250xe5x80274x20", $do, "165163x65x72x77141154x6c145x74", '')) : ''; goto yJ60m; LHM6h: $this->verification("x61x64x76x65x72x74x69x73x65x6dx65x6ex74") ? array_push($storemenu, $this->createMainMenu("xe5xb9277345221212347xaexa1xe7x90x86", $do, "141x64166x65162x74151x73145155x65x6ex74", '', '', '', ["164x79x70145" => "x73x74x6fx72145x41144"])) : ''; goto XK91m; LTYxE: if (!$this->verification("x69156x63157x6dx65155x65x6e165")) { goto LSwFF; } goto W_0Vk; W_0Vk: $navemenu[7] = array("x74151164x6cx65" => "7414140150x72145146x3d42151156x6414517056x70x68x70x3fx6375x73x69x74x65x2614175x65156x7416217146x6fx7075x64151163160x6c14117146x6415775151156x63x6f15514546x6dx3d171x62137x6fx32x6f4240x63x6cx61x73x73x3dx22160x61x6ex6515455164x69x74x6c145x20167x79x74151164x6c145x2240x69x647542x79x66x72141155x65x2d67x2276xdxa11111111x3cx69x6d147x20x73x72x63x3dx2256x2e57141144x64x6f156x73x2fx79x62x5f157x3215757x74145x6d160154x61x74x65x2fx70165142154x69143x2f15115514757x69x6ex64x65170x2f156x6116655x69x6315715655x30x3656160x6ex6742x20x63x6c141x73163x3d42x6e141166x5f151143x6fx6ex20151143157156137156x6f156145x22x3exd12111111x9x3c151155147x20163162x637542565657141144144x6fx6e163x2fx79142137157x3215757x74x65x6dx70154x61164145x2f160x75142x6c151x63x2f151x6dx6757151156x64145170x2fx6e14116655x69143157x6e55x68157x76145162x2dx30x36x2e160x6ex674240143x6cx61x73163x3d42156x61x76137x69143x6f156x20151143157156137142x6cx6f1431534276x20x20xe8264242xe5x8a241x3cx2f14176", "x69x74145155x73" => $incomemenu); goto hi3OC; hi3OC: LSwFF: goto oYE7E; fsyre: $endTime = json_decode($copyright["144141164x61"], true)["145x6e144x54151155x65"] ?: strtotime(date("131x2dx6dx2d144", strtotime("x2bx31x20171145141x72"))); goto w6PE3; Dw2e0: if ($founder["x64x61x74x61"]) { goto V3snE; } goto i1qVb; n505v: $this->verification("x6dx61x6ex61x67x65x72") ? array_push($settingmenu, $this->createMainMenu("350xb4xa6xe5x8f267xe7xaexa1xe7220x86x20", $do, "x6dx61x6ex61147x65x72", '', '', "xe6x9dx83xe9231x90xe7xaexa1xe7220206")) : ''; goto NpfMK; Em885: if (!$this->verification("x73164x61164x69163164x69x63x73x6dx65x6ex75")) { goto KA1EP; } goto cjGhk; cTpOe: $founder = pdo_get("171x62x6f62x6fx5fx63x6f162145x5f163171x73x74145x6d", array("x69144145x6ex74" => "x66x6fx75x6ex64x65162")); goto Dw2e0; vbj4D: $this->verification("163x74x6fx72145x6cx61142x65x6c") ? array_push($storemenu, $this->createMainMenu("xe5225206xe6210267346xa0207347255xbe", $do, "163164157162145x6cx61142x65x6c", '')) : ''; goto SL_v8; CBZK5: $this->verification("151156164x65147162x61154") ? array_push($incomemenu, $this->createMainMenu("xe7247xaf345210x86xe6x98x8exe7273x86x20", $do, "x69x6e164145147x72x61x6c", '', '', "345205266344273226")) : ''; goto Sh8PD; SL_v8: $this->verification("163x65x72166x69143145") ? array_push($storemenu, $this->createMainMenu("345xba227351x93xba346234215345x8axa140", $do, "x73x65x72166151143x65", '')) : ''; goto LHM6h; Fx2W6: } public function getStoreMenu() { goto OzP86; lR2_F: $navemenu[0] = array("x74151164x6cx65" => "7414140x68162x65x667542" . $index . "7714375x7315116414546x61x3d145x6ex74x72x79x26x6f16075144151163160x6cx6117146144157x3d163164157x72x65151x6ex64145x78x26x6dx3d171142x5f15762157x2240x63x6cx61163163x3d42x70141156145154x2dx74x69x7415414540167x7916415116415414542x20151x64x3dx22x79x66162x61155x6555x30x2276x3cx69x6dx67x20x73162x6375x2256x2e57141144x64157x6e163x2f171142x5f157x32x6fx2f164145x6dx70x6c141164x65x2f160x7514215415114357x69155x6757x69156x64x65x7857x6ex61x7655151x63x6f156x2d606156x70156x67x22x20143154141163x73x3dx22x6e141x76x5f151143157x6ex20x69143157156137x6e157156x65x2276xd1211x9x974x69x6dx67x20163x7214375x225656x2fx61144144x6fx6ex73x2fx79x62x5fx6f62x6f57x74x65x6dx70x6c141164145x2f160165x62x6cx6914357x69155x6757151x6ex64145x7857156x61x76x2d151x63x6f156x2dx68157x76x65x725560x31x2ex70x6e147x2240x63x6c141163x73x3d42156141x76x5f151143157156x20x69x63x6fx6ex5f142x6cx6fx631534276x2040346246202xe5x862657457141x3e", "151x74x65x6dx73" => array()); goto MhD04; WcraT: $this->verificationStore("x73164157x72x65147x6f157144x73164x61x74x69163164x69143x73") ? array_push($statisticsmenu, $this->createMainMenu("xe5225206xe5x93201xe5210x86346x9e220", $do, "163x74157162145x67x6f157x64x73x74x61164x69163x74x69143163", '')) : ''; goto IW9W0; bDdCH: $this->verification("x67157x6f144x65170x70x6fx72x74") ? array_push($goodmenu, $this->createMainMenu("xe5xbf253351x80237345xaf274345x85245x20", $do, "147x6fx6f144145x78x70x6f162164", '', '', "345225x86xe5x93201xe5xaf274xe5x85xa5", ["x73x74157162x65x49144" => $storeId, "x74x79x70x65" => "163x74x6f162145"])) : ''; goto XmWy_; wCfXu: $this->verificationStore("x73x74157x72145141x64") ? array_push($settingmenu, $this->createMainMenu("xe5xb9277xe5x91212xe7xaexa1xe7220x86x20", $do, "x73164x6f162145141x64", '')) : ''; goto kfrbx; CkFiE: $navemenu[10] = array("x74x69x74154145" => "7414140150x72145146x3dx22" . $index . "x3f14375x73x69164145x26x61x3d145x6e164162x79x26x6f160x3d144151163x70154x61x79x26x6415775144162141x67x26x6d75171142x5fx6fx32157x22x20143x6cx61x73x73x3dx22x70x61x6e145x6c55164x69x74x6c14540x77171164151164154x65x20x22x20x69x6475x22171x6616214115514555x3160x22x3exdxa11111111x974151x6d14740163x72x637542x2e5657x61144144x6fx6e163x2fx79142137x6fx32x6f57x74x65155160x6cx61x74145x2f160x75142x6c151x63x2f151155147x2fx69156x64x65170x2fx6ex61166x2d151x63x6f15655x31x37561601561474240143154141163x7375x22x6e141166x5fx69143157x6e40151x63157156x5fx6e15715614542x3e1512111111x974x69155x67x20x7316214375x22x2e5657x61144x64157x6ex7357x79142x5f157x32x6f57164x65x6d160154x61164145x2fx70x75142154x69143x2f151x6dx6757151x6e144145x78x2f156x61x7655x69x63157156x2d150157x76145x7255x3167x2e160x6e1474240x63154x61x73x73x3dx22x6ex61x76137x69143x6f15640151143157x6ex5f142x6cx6f143x6b42764040350xa3x85344xbf256745714176", "151x74x65155163" => array()); goto eK2fI; ufI0D: $navemenu[1] = array("x74151x74154x65" => "74x61x20150x72x65x66x3dx22" . $index . "x3fx63x3d163151164145x2614175145x6e164x72x79x26x6fx7075x64151163160x6c141x79x26144x6fx3d" . $this->verificationStore("x6f162x64145162x6d145156165", 2, "x73164x6fx72145x6f162144x65162x26x73164x61164x65x3dx30") . "4615575171142137157x32157x22x20x63x6cx61x731637542160x61156145154x2d164x69x74x6c14540167171x74151164x6cx654240x691447542171x66162141155x65x2dx3142x3e15xa11x9111174151155x67x20x73162x6375425656x2f141x64x64157x6e163x2f171142x5fx6f6215757164x65155x70154x61164145x2f160x75142x6cx69x6357151155147x2fx69x6e144x65170x2f156141x76x2d151x63x6f15655x30x3356160156x6742x20x63x6c14116316375x22x6ex61166137151x63x6fx6e40x69x63157156137156157x6ex65x22x3e15xax91111x9x3c151x6d14740163162x63x3dx22x2e56x2fx61x64144x6fx6ex73x2fx79x62x5fx6fx3215757x74x65x6d160x6cx61x74145x2fx70x75x62x6cx69143x2f151x6d147x2fx69156144x65170x2fx6e14116655151143x6fx6ex2d150157166x65162x2d60x33x2ex70156x6742x20x63154x6116316375x22x6e141x76137x69x6315715640151143157x6ex5fx62x6cx6f143153x22764040xe5244x96xe5x8d22674x2f141x3e", "151164x65x6dx73" => $ordermenu); goto C88f8; kfrbx: if (!$this->verificationStore("x73x65x74164151156147x6d145156x75")) { goto cZ41h; } goto GkhU9; Ytxqh: $this->verificationStore("163x74x6fx72x65x75163x65162x73x74141x74x69x73164151x63x73") ? array_push($statisticsmenu, $this->createMainMenu("347224250xe6210xb7345210206xe6x9ex90", $do, "163x74x6f162145165163x65x72163164x61164x69x73164x69x63163", '')) : ''; goto XYlJv; hJCGF: $this->verificationStore("x73164x6fx72x65x70x72151x6e164") ? array_push($settingmenu, $this->createMainMenu("346x89223xe5x8d260350xae276347275xae40", $do, "x73x74x6fx72145x70x72x69156164", '', '', "xe5205xb6xe4273x96")) : ''; goto wCfXu; fshRa: $this->verification("x66x6fx6f144x73164157x72145x63x6fx6d155145156x74") ? array_push($foodmenu, $this->createMainMenu("xe8xaf204xe8xaexbaxe7xaexa1347220206x20", $do, "146157157144163x74157x72145143157155155145156164", '', '', "xe5x85266344xbbx96")) : ''; goto xvCHg; E24D5: $foodmenu = array(); goto q4lWh; IW9W0: $this->verificationStore("x73164x6fx72x65157x72x64x65x72x73164x61x74x69x73164x69143163") ? array_push($statisticsmenu, $this->createMainMenu("350256xa2xe5215225346x80xbbxe8247x88", $do, "163x74x6fx72145157162x64145162x73164x61164x69163x74151x63163", '')) : ''; goto hM43n; Yx4Rf: $this->verificationStore("163164x6fx72x65163145154146x6f162x64x65162") ? array_push($ordermenu, $this->createMainMenu("xe8207252346x8fx90xe8256242345x8d225", $do, "163x74157x72x65x73145x6cx66x6f162x64145162", '')) : ''; goto qR0d5; MhD04: $ordermenu = array(); goto hNMSF; C88f8: lU4TW: goto E24D5; n5N79: $navemenu[7] = array("x74x69164154x65" => "x3cx61x20150x72x6514675x22" . $index . "77x6375x73x69164x6546x61x3dx65156164x72x79x26157x7075x64x69x7316015414117146144x6f75" . $this->verificationStore("160x6fx77x65x72x6d145x6e165", 2, "x73x74157162x65155141x6ex61147145162") . "x26x6d75x79142x5f1576215742x20143154x61x73x73x3dx22x70x61x6e145154x2d164x69164154x65x20167171164151164x6c145x2240x69144x3d42x79146162x611551455567x22x3e15xax911x911x9x3c151x6d147x20x73x72143x3d42x2ex2e57x61x64x64157156x7357x79142137157x32157x2f164145x6d160x6cx61x74x6557160x75142x6cx69x63x2f151155x6757151x6ex64145170x2fx6e14116655x69143x6f15655x316156160x6e147x22x20x63x6cx61163163x3d42x6ex61x76137x69x63157x6ex20151x63157156x5fx6ex6fx6ex654276xdxax9x9x9x91174x69x6dx6740163x72143x3d42x2e56x2f141144x64x6fx6e163x2fx79x62x5fx6fx32x6fx2f164145x6dx70x6cx61164145x2fx70165142154151x6357x69x6dx6757x69x6ex6414517057156141x76x2dx69143x6f15655x68x6f166x65162556161x2ex70156x6742x20x63154x61163x73x3dx22156x61166x5f151x63x6f15640151x63157156137142154x6fx63x6bx2276x20x20xe6235203351231x90745714176", "x69x74x65x6d163" => $powermenu); goto hxA5P; XmWy_: $this->verificationStore("167x61162145x73") ? array_push($goodmenu, $this->createMainMenu("345x95x86xe5223x81xe5272x93x20", $do, "167x61162145x73", '', '', '')) : ''; goto OYhP5; oDrZO: if (!($this->verificationStore("x6f162x64145x72155145x6e165") and $storeinfo["151x73117x72x64145162"] == 1)) { goto lU4TW; } goto ufI0D; UCSLZ: $financeOpen = @json_decode($storefinanceset["144x61164141"], true); goto lR2_F; muov6: $this->verificationStore("163164157x72x65142165163x69x6e145163163163164x61164x69x73x74x69x63163") ? array_push($statisticsmenu, $this->createMainMenu("xe8x90xa5344270232347273237xe8xae241", $do, "163164157x72x65142165x73151x6e145163x73x73x74141164x69x73164x69x63163", '', '', "347273x9f350xae241346x95xb0xe6x8d256")) : ''; goto WcraT; XvwNU: if (!($this->verificationStore("151156x73x74157162145155145x6ex75") and $inStorePower[0] > 0)) { goto n8blC; } goto V0CFH; UWgf6: $storeId = $_GPC["x73164157162x65111144"] ?: $_SESSION["x73x74x6f162x65x49x64"]; goto wxpql; uTNtP: $this->verificationStore("x73164x6fx72145143157x6d155x65156x74") ? array_push($ordermenu, $this->createMainMenu("xe8257x84xe8xae272347xae241xe7x90206x20", $do, "163164x6f162145x63157x6d155145156164", '')) : ''; goto oDrZO; cIICI: $settingmenu = []; goto PRMZF; hxA5P: sDQcQ: goto nl_hH; M5IEw: $do = $_GPC["144x6f"]; goto FByM0; stquq: $power = Common::systemPower(1); goto xCsgp; q4lWh: $this->verificationStore("144151156x69156x67") ? array_push($foodmenu, $this->createMainMenu("xe9244220346xa1214xe7256xa1347220x86x20", $do, "144x69x6ex69x6e147", '', '', "xe9244220xe6xa1214xe7256241347220206")) : ''; goto up7To; Ccbfu: n8blC: goto qyaUQ; Jozrj: $index = "171x6215762x6f56x70150x70"; goto sxui5; NSRMN: if (!$this->verificationStore("160x6f167145162x6d145156165")) { goto sDQcQ; } goto n5N79; nthYE: AvVfQ: goto A31m9; g3szV: $cur_color = "40x73x74171x6cx65x3dx22143157154x6fx72x3ax23144x3965x3364x6673x22x20"; goto VQB4d; oQQXv: $this->verificationStore("x73x74157162145141160160x6c171") ? array_push($incomemenu, $this->createMainMenu("xe6x8fx90xe7216xb0347x94xb3xe825726740", $do, "x73x74x6fx72145x61x70x70x6c171", '', '', "xe6x8fx90347x8e260xe8xae276xe7xbdxae")) : ''; goto bxlLj; tcG54: $this->verificationStore("163164157x72145143x61163150x69145162157x72x64145162") ? array_push($foodmenu, $this->createMainMenu("346224xb6351223xb6xe8256242xe5x8dx95x20", $do, "163x74157x72x65143x61x73x68x69x65162157162144x65x72", '')) : ''; goto fshRa; qR0d5: $this->verificationStore("163x74157x72x65162145146165156x64157x72144x65x72") ? array_push($ordermenu, $this->createMainMenu("xe9200x80346254276350xaexa2345x8d225", $do, "x73x74157x72145162x65x66x75156x64157x72x64x65x72", '')) : ''; goto bc2g5; juONE: $this->verificationStore("x73164157162145151x6ex73x74x6f162145x73x65164") ? array_push($foodmenu, $this->createMainMenu("351xa6x96xe9xa1265345271273347201xafxe7x89x87x20", $do, "x73x74157162145x61x64", '', '', '', ["x74171x70145" => 1, "144x69163160154x61171" => 1])) : ''; goto XvwNU; sJGRD: $this->verificationStore("x73x74x6fx72x65143x61x74x65147x6f162171") ? array_push($goodmenu, $this->createMainMenu("xe5x95206345x93x81xe5210206347xb1xbb", $do, "x73x74157x72145x63141x74x65x67157x72171", '', '', '', ["x73164x6f162x65x49144" => $storeId, "164x79x70145" => "163164x6fx72145107157x6f144103141164x65147x6f162171"])) : ''; goto AOPKL; hNMSF: $this->verificationStore("x73164157x72x65157162x64x65x72") ? array_push($ordermenu, $this->createMainMenu("xe5244226xe5215x96xe8xaexa2xe5x8d22540", $do, "163164x6fx72x65x6f162x64145x72", '', '', "xe8xaexa2345215225347xae241347x90206")) : ''; goto Yx4Rf; Q2at1: $this->verificationStore("x73164157162x65x66151156141156143x65") ? array_push($incomemenu, $this->createMainMenu("350xb4xa6xe6210xb7346x98216347xbb206", $do, "x73164x6fx72145146151156141156x63x65", '', '', "xe8xb4xa2xe5x8axa1xe6246x82345206xb5")) : ''; goto BO3HF; FByM0: $navemenu = array(); goto eRwj5; fqGmf: iDO80: goto aPUfM; aPUfM: if (!$this->verificationStore("x64162141x67")) { goto BtJmA; } goto CkFiE; OzP86: global $_W, $_GPC; goto M5IEw; WGq1o: $incomemenu = []; goto Q2at1; rtkY5: $inStorePower = $storeinfo["151x6e123x74157162x65x50x6fx77x65162"] ? json_decode($storeinfo["x69156x53x74157x72145120157167x65x72"], true) : []; goto ipcq4; AO11P: if (!$this->verificationStore("x69156x63157155145155145156165")) { goto AvVfQ; } goto B8xBC; xvCHg: $this->verificationStore("x73164x6f162x65x69156163x74157162145x73x65164") ? array_push($foodmenu, $this->createMainMenu("345240x82351243x9f350256xbexe7275xae40", $do, "x73164x6f162145x69x6ex73x74x6f162x65x73145x74", '')) : ''; goto juONE; AOPKL: $this->verification("x67x6f157144x73160145143") ? array_push($goodmenu, $this->createMainMenu("xe5x95206345x93x81350247204346xa0xbcx20", $do, "x67x6fx6fx64163x70145143", '', '', "345225206xe5223x81xe5261236xe6200247", ["163164x6f162x65111144" => $storeId, "164x79160x65" => "163x74x6fx72145"])) : ''; goto vpD6x; BE3Yn: cZ41h: goto ofTxb; ipcq4: $instoreset = Common::systemConfig("x69x6e163164x6f162x65x73145x74", $_W["165x6e151141143151x64"]); goto stquq; bc2g5: $this->verificationStore("x73x74x6f162x65143x6f155155x65x6ex74") ? array_push($ordermenu, $this->createMainMenu("345xa4x96xe5215226xe8256xbexe7275xaex20", $do, "x63165162162x65x6ex63171", '', '', "xe5x85xb6344xbbx96")) : ''; goto uTNtP; epqS2: $navemenu[4] = array("x74151164x6cx65" => "74x61x20150162145x667542" . $index . "x3f143x3d163x69164x65x26x6175x65x6e164162x79x26x6fx7075144151163x70x6cx61x794614415775" . $this->verificationStore("163x74141164151x73x74x69143x73155x65156165", 2, "x73x74x6f162x65x62x75163151156145x73163163x74141164x69163164x69x63163") . "46x6dx3dx79142x5f157x32x6f4240143154141x73163x3dx22x70141x6ex65x6c55164x69x74154145x20x77171164x69164x6cx65x22x20x69x647542171146x72141155145x2dx3442x3exdxa11x9111174151x6d147x20163x72x637542x2ex2e57x61144x64157156x7357x79142x5fx6f62157x2f164145x6dx7015414116414557160x75x62x6cx69x6357x69x6dx6757151x6ex64x65x7857156141x76x2dx69x63157x6e55x30x3756x70156x6742x20143154141163163x3dx22x6e141166137x69143x6fx6e40x69143x6fx6ex5f156157156145x22x3exdxa11111111x3cx69x6dx67x20x73162x63x3dx22x2e56x2f141x64144157x6ex73x2fx79x62x5fx6fx32x6fx2f164145155160x6c141x7414557160165x62154x69143x2f151x6d1475715115614414517057156141166x2d151143x6f15655x68157x76145162x2dx3067x2ex70x6ex6742x20143154x6116316375x22156x61166137151143157x6e40x69143x6f156137x62x6c157x63x6b4276x20x20xe6x95xb0346215xaex3cx2fx6176", "151x74x65x6d163" => $statisticsmenu); goto iFBSd; tRpX5: $navemenu[5] = array("164151x74154145" => "x3cx61x201501621451467542" . $index . "77x6375163151164x65x26141x3dx65156x74162x7946x6fx7075x64x69x73160x6c141x7946x64x6fx3d155141x72x6b145x74x69x6e147x26x6dx3dx79x62137x6f62157x22x20x63x6c141163163x3d42160x61x6ex65x6c55x74x69x74x6c14540167x79164151164x6c145x20155141162137164x6fx70x3760x22x20151144x3d42x7914616214115514555654276xdxax9x9x911x3cx69x6d14740x73x72x63x3dx22x2ex2ex2fx61x64144x6f15616357x7914213715762157x2fx74145x6d160154x61164x65x2f160165142x6c151x63x2fx69x6dx67x2f151x6e144x6517057156141166x2d151x63x6f156x2d60x39x2ex70x6e147x2240x63154x61x73163x3d42x6ex61x76137x69143157156x20151143157x6ex5f156x6f156145x227615xa1111x91174x69x6dx67x20x73x72143x3d42x2e5657x61144144x6fx6e16357171x62x5f1576215757x74145x6dx70154141x74x6557160x75142154x69143x2fx69x6dx67x2f151156144145x78x2fx6ex61x7655x69143157x6ex2dx68x6f166x6516255x307156x7015614742x20143154141x731637542x6ex61166137151x63157156x20x69x63157x6e137x62154157x63x6b4276x2040350220245351x94200x3cx2f14176", "x69164145155163" => array()); goto apPOO; aFyBh: WeSession::start($_W["165156151x61x63x69144"], CLIENT_IP); goto g3szV; oWuq5: if (!$this->verificationStore("x6dx61162x6b145164151x6ex67")) { goto TI4lL; } goto tRpX5; eK2fI: BtJmA: goto WGq1o; ofTxb: $powermenu = []; goto KjX1u; Jw_QX: $this->verification("x67x6f157x64x66x65145144") ? array_push($goodmenu, $this->createMainMenu("xe5225206xe5x93201xe5x8axa0346x96x99x20", $do, "147157157144x66145145144", '', '', '', ["163x74x6f162145111x64" => $storeId, "x74171160x65" => "x73164157x72145"])) : ''; goto kVhZi; XYlJv: if (!$this->verificationStore("163x74x61x74151163x74151143x73155x65x6ex75")) { goto tK01V; } goto epqS2; iFBSd: tK01V: goto oWuq5; xQkdJ: if (!$_GPC["x73164157x72x65101143x63x6fx75156x74111144"]) { goto N6LSP; } goto Jozrj; nl_hH: return $navemenu; goto ccEFY; V0CFH: $navemenu[8] = array("164x69164154x65" => "7414140150x72145x6675x22" . $index . "x3f14375163x69x74x65x26x61x3dx65156x74x72171x26x6f160x3dx64151163x7015414117146x64157x3d144151x6ex69x6ex67x26x6dx3d171142137x6fx32x6f42x20x63154x61163x73x3d42x70141x6ex6515455164151x74154x6540167171x74x69164154145x2240x691447542171x66162141x6dx6555x3842x3e74151143157x6e40x73164x79154x6575x22x63x6fx6cx6f16272x2370x6470144x3814473x2240143x6cx61163163x3d4214614140x66x6155x62x61x72x7342x3e74x2f151143x6f15676x2040347xbe216351xa3x9fx3cx2f141x3e", "x69164x65155x73" => $foodmenu); goto Ccbfu; PVpzu: $navemenu[2] = array("164x69164x6c145" => "x3cx61x20x681621451467542" . $index . "x3f14375163151164x65x26141x3dx65x6e164x72171x26x6f160x3dx64151163160x6c14117146144157x3d" . $this->verificationStore("147x6fx6f144155x65156165", 2, "x73x74x6f162145147157157144") . "46155x3dx79142137x6f62x6f42x20x63154141163x73x3d42x70x61156x65x6c55x74x69164x6c14540167171x74x69x74x6cx65424015114475x22171146x72x61x6d14555624276xdxa11x9x9x974x69155x67x20x73162143x3dx22x2ex2ex2fx6114414415715616357x79x62x5f15762x6f57x74x65x6dx70x6c141x74x6557x70165x62154x69x6357151x6d147x2fx69x6ex64145170x2fx6e141166x2d151x63x6fx6ex2dx306256160156x674240143x6c141x73x73x3d42x6ex61166x5fx69143157x6e40x69x63157156x5fx6e157156145x22x3exd12x9111111x3cx69x6d14740x73162x6375x22x2e5657141x64144x6f15616357171x62x5fx6fx32157x2fx74x65155x70x6cx61164x6557x70x75142x6c151143x2f151x6dx6757151x6ex64145x78x2f156x61x7655x69x63x6f156x2dx68157x76x65162x2d60x3256160156x67x2240143154x61163x737542x6ex61166137x69143157x6e40151x63x6f156137x62x6c157143153x22x3e40x20xe5225206345x932017457x61x3e", "151164145155x73" => $goodmenu); goto fqGmf; wxpql: $storeinfo = pdo_get("17114215762157137163164157162145", array("151144" => $storeId)); goto rtkY5; KjX1u: $this->verificationStore("163164157162x65155x61x6ex61147x65162") ? array_push($powermenu, $this->createMainMenu("xe8xb4xa6xe5x8f267xe7256xa1xe7220x86x20", $do, "163x74x6f162145155x61156141x67145162", '')) : ''; goto bHCSJ; bHCSJ: $this->verificationStore("x6fx70145x72x61164x69x6f156154x6f147") ? array_push($powermenu, $this->createMainMenu("xe6223215344xbdx9c346227xa5xe5xbf22740", $do, "157x70145162141164x69157x6ex6cx6f147", '')) : ''; goto NSRMN; nheVH: $this->verificationStore("163164x6f162145147157157144") ? array_push($goodmenu, $this->createMainMenu("xe5225x86xe5223201347256241xe7x90x8640", $do, "x73x74157x72145147157157x64", '', '', "xe5225206xe5x93x81347xaexa1xe7x90206")) : ''; goto sJGRD; VQB4d: $index = "151156144145x78x2ex70x68160"; goto xQkdJ; up7To: $this->verificationStore("164x61x62x6c145") ? array_push($foodmenu, $this->createMainMenu("xe6241x8c344275215xe7xae241347x90206x20", $do, "x74x61142154x65", '')) : ''; goto hTl2j; B8xBC: $navemenu[3] = array("x74x69164x6cx65" => "x3cx61x20150162x65x66x3dx22" . $index . "x3f14375x73x6916414546x6175145x6ex74162x79x26x6f16075x6415116316015414117146144x6f75" . $this->verificationStore("x69x6e143x6fx6d145155145x6e165", 2, "163x74x6f162x65146x69x6ex61156x63145") . "46x6dx3dx79142x5f157x32x6f4240143154141163x73x3d42x70141x6e14515455x74151164x6c14540167x79164x69x74154145x22x201511447542x79x66x72x61155x65556342x3e15121111x9x974x69x6d14740x73x7214375x22x2e56x2fx61x64144x6f15616357x79142x5fx6fx3215757164x65155160154141x74x65x2fx70x75142x6cx69143x2f151x6dx6757x69x6ex64x65x78x2f156x61x76x2dx6914315715655x3066x2e160x6e147x2240x63x6c141163x73x3dx22x6ex61166x5f151143157x6ex20151143157156137x6e157x6ex6542x3exd12x9x9x9x974151x6d147x20x73x72x63x3d42x2ex2ex2f141144x64157x6e16357x79x62137157x3215757x74x65x6dx70154141x74x6557x70165x62x6cx69143x2fx69x6d147x2f151x6ex64x65170x2f156x61x76x2d151x63x6fx6e55150157x76x65x72x2dx30x3656160x6ex6742x20x63154x61x73x73x3dx22x6ex61x76x5fx69143x6fx6e40x69143x6f156x5fx62154157x63153x2276x2040xe8264242xe5x8a24174x2fx6176", "x69164x65x6d163" => $incomemenu); goto nthYE; bxlLj: lTW3r: goto AO11P; GkhU9: $navemenu[6] = array("164151x74x6c145" => "x3c14140150162x65x66x3dx22" . $index . "77143751631511641454614175145156164x72x79x26x6fx7075144151163160x6cx6117146x64157x3d" . $this->verificationStore("163x65164164x69x6e147155x65156165", 2, "x73x74157x72145x69156146157") . "x26x6dx3d171x62137x6fx32x6f42x20143x6c141163x73x3d42x70x61x6e145x6cx2d164151164x6c14540x77x79x74151x74x6cx65x22x20151x64x3d42x79146162141x6dx6555x3642x3exdxax911x9x974151x6dx6740x73x72143x3dx22x2ex2e57x61x6414415715616357171x62x5fx6f6215757164x65x6dx70x6cx61164145x2f160165142x6cx69x63x2f151155x6757x69x6e144145x78x2f156141x7655151143x6fx6ex2dx3070x2ex70156x67x2240x63x6cx61x73x73x3dx22x6e141166x5fx69143157x6e40x69x63x6f156137x6ex6f156x6542x3e1512x9x911x9x3c151x6d147x20163162143x3d42x2ex2ex2f141x64144157156163x2f171x62137x6f6215757164x65155x70x6c141x74x65x2f160x75142154x69x6357x69155x67x2fx69156x64145x7857156141x76x2d151x63157x6ex2d150157166x65x72x2dx30x38x2ex70x6e14742x20143154141163x73x3d42x6e141x76x5f151143x6fx6ex20x69143157x6ex5fx62154157143x6bx22764040xe8xaexbe347275xae74x2f14176", "x69x74x65x6d163" => $settingmenu); goto BE3Yn; OYhP5: if (!$this->verificationStore("147157157144x6dx65156165")) { goto iDO80; } goto PVpzu; sxui5: N6LSP: goto UWgf6; vpD6x: $this->verification("x67x6fx6fx64141x74164162x69142x75x74x65") ? array_push($goodmenu, $this->createMainMenu("345x95206xe5223x81xe5xb1x9exe6200xa7x20", $do, "x67x6f157x64x61164x74x72151142x75164x65", '', '', '', ["163164157x72145111x64" => $storeId, "x74x79160145" => "x73164x6f162x65"])) : ''; goto Jw_QX; A31m9: $statisticsmenu = []; goto muov6; hM43n: $this->verificationStore("163164157x72145141163x73145164163x73x74x61x74151163164151x63x73") ? array_push($statisticsmenu, $this->createMainMenu("350265x84xe4xba247xe6xa6x82xe5x86265", $do, "x73164x6fx72x65141x73163145x74x73163164x61164x69163x74x69143163", '')) : ''; goto Ytxqh; kVhZi: $this->verification("x67x6f157144165156151x74") ? array_push($goodmenu, $this->createMainMenu("345x95x86xe5223201345215225xe4xbd215", $do, "147x6fx6fx64165156151164", '', '', '', ["163x74x6f162x65111144" => $storeId, "x74x79x70x65" => "x73164x6f162x65"])) : ''; goto bDdCH; xCsgp: $storefinanceset = pdo_get("171x62x6f62x6f137x63157x72x65137163171x73x74x65155", array("165156151x61143x69x64" => $_W["x75156151x61143x69x64"], "151144145x6e164" => "146151156x61x6e143145")); goto UCSLZ; qyaUQ: $goodmenu = []; goto nheVH; eRwj5: load()->classs("x77145163x65x73163151x6f156"); goto aFyBh; PRMZF: $this->verificationStore("x73x74x6fx72x65x69156x66x6f") ? array_push($settingmenu, $this->createMainMenu("xe9227xa8xe5272x97xe4277xa1xe6201xaf40", $do, "x73x74157x72x65151x6e146157", '', '', "345x9fxbaxe6x9cxac344xbfxa1346x81257")) : ''; goto hJCGF; apPOO: TI4lL: goto cIICI; BO3HF: if (!($financeOpen["x69163117x70145x6e"] == 1)) { goto lTW3r; } goto oQQXv; hTl2j: $this->verificationStore("151x6ex73x74x6f162145157162x64145162") ? array_push($foodmenu, $this->createMainMenu("350256242xe5215225xe7256xa134722020640", $do, "x69156x73164157x72x65x6f162144x65x72", '', '', "xe8xae242345215x95xe7xae241347220x86")) : ''; goto tcG54; ccEFY: } public function getStoreById($id) { $store = pdo_fetch("x53105x4cx45103x544052x20x46122117115x20" . tablename("171142x6f62157137x73164x6f162145") . "40127x48x4512210540x69x6475x3a151x6440x4c111x4d111x54x2061", array("x3a151x64" => $id)); return $store; } function createMainMenu($title, $do, $method, $icon = "x66x6155151x6dx61147145", $color = '', $tip = '', $type = array()) { goto MLzbK; CBjsk: $dataurl = array_merge($dataurl, $type); goto onKeL; MLzbK: $color = "x20x73x74x79x6cx6575x22x63157x6c157162x3a" . $color . "x3b4240"; goto c2Cwv; y6cGK: if (!(count($type) > 0)) { goto WKNkp; } goto CBjsk; I4BnQ: return array("x74151164x6c145" => $title, "x75162x6c" => $do != $method ? $this->createWebUrl($method, $dataurl) : '', "141143164151166x65" => $do == $method ? "x20141x63164x69166x65" : '', "x61160160145156144" => array("164x69x74154145" => '', "164x69x70" => $tip)); goto Q10pZ; onKeL: WKNkp: goto I4BnQ; c2Cwv: $dataurl = array("157x70" => "x64x69x73x70154141x79"); goto y6cGK; Q10pZ: } function createWebUrl($do, $query = array()) { goto daesA; daesA: $query["x64x6f"] = $do; goto rMCU4; tg7xu: return $this->wurl("163x69x7414557145x6ex74x72x79", $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 = "5657x69156144x65x78x2ex7015016077"; goto V_0ix; KZlvM: $params["144x6f"] = $arr[0]; goto EXtgz; pFNEK: $url .= "x6375{$controller}x26"; goto I1jLb; SRzSi: $url .= "141x3d{$action}46"; goto HszzT; MuoFT: o4SR8: goto bQE3l; SGz1q: $url .= "144157x3d{$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["144157"]); goto KZlvM; V_0ix: if (!$_GPC["163164x6fx72x65101143143157165x6e164111144"]) { 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 = "56x2fx79x621576215756160150x7077"; 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["x63157x64x65"] = $code; goto VHu3c; OJscL: $storeInfo["x66167x72163"] = order::getUserAccess($beginToday, $endToday, 0, $_W["x75156x69141143151144"], $storeId); goto iA_72; qcujC: $storeInfo["171x6a163x72"] = $this->storeOrderBalance($storeId)["x61x63164165x61x6cx4dx6f156x65171"]; goto OJscL; hSJHF: $storeInfo["x7a146x62163"] = $this->storeOrderBalance($storeId)["143x6fx75x6e164"]; goto JKT09; Y114k: $storeInfo["x72145x63x65x69160164"] = @json_decode($storeSet["x64141x74x61"], true)["162145143x65x69160x74"] ?: 2; goto bMspB; dhAPx: $storeInfo["172171x79145"] = $this->storeOrderBalance($storeId)["155x6fx6ex65x79"]; 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("171x62x6f62x6fx5fx73164x6f162145x5fx73145x74", array("x75156151x61x63x69x64" => $_W["x75156151x61143151144"], "x73164x6fx72x65x49x64" => $storeId, "151x64145156x74" => "143165162x72x65x6e143x79"), array("144x61164141")); goto Y114k; zezOp: $storeInfo = pdo_get("171142x6fx32x6f137x73164157162145", array("165x6e151141x63151144" => $_W["x75156x69x61x63x69144"], "x69x64" => $storeId), array("x6e141155x65", "151x63157156", "x64151163160154141x79", "x69144", "151x6ex53164157x72145120157x77145x72")); goto QIcGU; bMspB: $storeInfo["151x64"] = $storeInfo["151144"]; goto dhAPx; JKT09: $storeInfo["x64164x6b142x73"] = $this->storeTkOrder($storeId); goto qcujC; pDcJk: $code = $_W["x73151x74x65x72x6f157164"] . "141x64144x6fx6e16357x79x6213715762x6f57x66x6915414557" . 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["72145156x64"] = $endToday; goto d9TBN; etVHy: $data["x3a163x74x6fx72x65x49x64"] = $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["x3ax73x74141162164"] = $beginToday; goto dkmzC; boduQ: return $rst; goto T3W2c; VO2ZJ: $data["72x75x6ex69x61x63x69x64"] = $_W["x75x6ex69x61143x69144"]; goto etVHy; KmlCz: $sql = "x53x45x4cx45103x5440143157x75x6ex7450x69144x2940x61x73x20x63x6f165156x7440x2cx49106116x55114114x28163165x6dx28x61143x74165141154115x6fx6ex65171515447x30x2e60x30475140x6116340x61x63164165x61154115x6fx6ex65x79x2c111x46x4e125114114x28x73165155x28155157x6ex65171515447x30x2e6060475140x61x73x20155x6f15614517140x46122x4fx4dx20" . tablename("x79x62157x32157137142151154154") . $where; goto VO2ZJ; ijZa7: $where = "x20127x48105122x45x20165x6e151141x63x69x64x3d72165156x69141143x69144x20x20141156144x20x64x65154x6516414510116475x30x2014115614440163164x6fx72145111x647572163164x6f162145111144"; goto MX5Wo; XxekJ: $rst = pdo_fetch($sql, $data); goto boduQ; ZoKhZ: $where .= "40141x6e14440x63162145141164145144101x74x3e72x73x74x61162x74x20x61x6e144x20x63162x65x61x74x65144x41x7474x3d72145156x64"; 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("x79142157x32x6fx5fx74x61153145x6fx75x74x5f157162144x65x72", array("143x72x65141x74x65144x411644076" => $beginToday, "143x72145141164x65x64x41164407475" => $endToday, "163164141x74145" => 9, "165156151x61143x69144" => $_W["x75x6e151141x63151144"]), array("x63157x75x6e16450x69x64x29x20141x7340143x6fx75x6e164")); goto YPVde; YPVde: return $order["143157165156164"] ?: 0; goto IP7Fe; IP7Fe: } }
解密后代码
<?php
defined("IN_IA") or exit("Access Denied");
class Core extends WeModuleSite
{
    public $mguniacid = false;
    public $storeId = '';
    public function result($errno, $message, $data = '', $log = '')
    {
        global $_W, $_GPC;
        if ($log) {
            $datas["userId"] = cache_load("uid");
            if ($_GPC["storeAccountId"]) {
                $datas["userId"] = $_GPC["storeAccountId"];
                $account = pdo_get("ybo2o_core_account", array("id" => $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" => "<a href="index.php?c=site&a=entry&op=display&do=index&m=yb_o2o" class="panel-title wytitle" id="yframe-1">rnttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-01.png" class="nav_icon icon_none">rnttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-01.png" class="nav_icon icon_block">  概况</a>");
        $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" => "<a href="index.php?c=site&a=entry&op=display&do=" . $this->verification("storemenu", 2, "storesummary") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-13">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-13.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-13.png" class="nav_icon icon_block">  商户</a>", "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" => "<a href="index.php?c=site&a=entry&op=display&do=" . $this->verification("ordermenu", 2, "ordertodaysummary") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-3"><img src="../addons/yb_o2o/template/public/img/index/nav-icon-03.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-03.png" class="nav_icon icon_block">  外卖</a>", "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" => "<a href="index.php?c=site&a=entry&op=display&do=inordertodaysummary&m=yb_o2o" class="panel-title wytitle" id="yframe-15"><icon style="color:#8d8d8d;" class="fa fa-bars"></icon>  美食</a>", "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" => "<a href="index.php?c=site&a=entry&op=display&do=" . $this->verification("usermenu", 2, "userindex") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-4">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-04.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-04.png" class="nav_icon icon_block">  用户</a>", "items" => $usermenu);
        }
        if ($this->verification("decorationlist")) {
            $navemenu[14] = array("title" => "<a href="index.php?c=site&a=entry&op=display&do=" . $this->verification("decorationlist", 2, "decorationlist") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-14">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-17.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-17.png" class="nav_icon icon_block">  装修</a>");
        }
        $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" => "<a href="index.php?c=site&a=entry&op=display&do=income&m=yb_o2o" class="panel-title wytitle" id="yframe-7">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-06.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-06.png" class="nav_icon icon_block">  财务</a>", "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" => "<a href="index.php?c=site&a=entry&op=display&do=" . $this->verification("statisticsmenu", 2, "businessstatistics") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-8">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-07.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-07.png" class="nav_icon icon_block">  数据</a>", "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" => "<a href="index.php?c=site&a=entry&op=display&do=" . $this->verification("settingmenu", 2, "system") . "&m=yb_o2o" class="panel-title wytitle mar_top70" id="yframe-9">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-08.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-08.png" class="nav_icon icon_block">  设置</a>", "items" => $settingmenu);
        }
        if ($this->verification("plugin")) {
            $navemenu[12] = array("title" => "<a href="index.php?c=site&a=entry&op=display&do=plugin&m=yb_o2o" class="panel-title wytitle" id="yframe-12">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-09.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-09.png" class="nav_icon icon_block">  应用</a>");
        }
        if ($this->verification("smallroutine")) {
            $navemenu[11] = array("title" => "<a href="index.php?c=site&a=entry&op=display&do=smallroutine&m=yb_o2o" class="panel-title wytitle" id="yframe-11">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-10.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-10.png" class="nav_icon icon_block">  渠道</a>");
        }
        $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" => "<a href="index.php?c=site&a=entry&op=display&do=" . $this->verification("powermenu", 2, "wxapplist") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-10">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-11.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-11.png" class="nav_icon icon_block">  权限</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=storeindex&m=yb_o2o" class="panel-title wytitle" id="yframe-0"><img src="../addons/yb_o2o/template/public/img/index/nav-icon-01.png" class="nav_icon icon_none">rnttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-01.png" class="nav_icon icon_block">  概况</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=" . $this->verificationStore("ordermenu", 2, "storeorder&state=0") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-1">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-03.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-03.png" class="nav_icon icon_block">  外卖</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=dining&m=yb_o2o" class="panel-title wytitle" id="yframe-8"><icon style="color:#8d8d8d;" class="fa fa-bars"></icon>  美食</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=" . $this->verificationStore("goodmenu", 2, "storegood") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-2">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-02.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-02.png" class="nav_icon icon_block">  商品</a>", "items" => $goodmenu);
        }
        if ($this->verificationStore("drag")) {
            $navemenu[10] = array("title" => "<a href="" . $index . "?c=site&a=entry&op=display&do=drag&m=yb_o2o" class="panel-title wytitle " id="yframe-10">rnttttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-17.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-17.png" class="nav_icon icon_block">  装修</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=" . $this->verificationStore("incomemenu", 2, "storefinance") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-3">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-06.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-06.png" class="nav_icon icon_block">  财务</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=" . $this->verificationStore("statisticsmenu", 2, "storebusinessstatistics") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-4">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-07.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-07.png" class="nav_icon icon_block">  数据</a>", "items" => $statisticsmenu);
        }
        if ($this->verificationStore("marketing")) {
            $navemenu[5] = array("title" => "<a href="" . $index . "?c=site&a=entry&op=display&do=marketing&m=yb_o2o" class="panel-title wytitle mar_top70" id="yframe-5">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-09.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-09.png" class="nav_icon icon_block">  营销</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=" . $this->verificationStore("settingmenu", 2, "storeinfo") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-6">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-08.png" class="nav_icon icon_none">rntttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-08.png" class="nav_icon icon_block">  设置</a>", "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" => "<a href="" . $index . "?c=site&a=entry&op=display&do=" . $this->verificationStore("powermenu", 2, "storemanager") . "&m=yb_o2o" class="panel-title wytitle" id="yframe-7">rnttttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-11.png" class="nav_icon icon_none">rnttttt<img src="../addons/yb_o2o/template/public/img/index/nav-icon-hover-11.png" class="nav_icon icon_block">  权限</a>", "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

现在新增对微擎二代加密的破解恢复,需要请前往网站解密

 

最后

以上就是辛勤抽屉为你收集整理的php微擎Goto2C解密研究的全部内容,希望文章能够帮你解决php微擎Goto2C解密研究所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(38)

评论列表共有 0 条评论

立即
投稿
返回
顶部