Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php class Bot { public $cZwKZ; public $KL5Zi; public $BKOw0; public $EkSfE; public $..
Decoded Output download
<?php
class Bot { public $cZwKZ; public $KL5Zi; public $BKOw0; public $EkSfE; public $zl5wc; public $qB7oz; public $file; public $BaewA; public $t948x; public $S0xNk; public $j4BfT; public $gzQmA; public $N3qeV = "/certs/certbot"; private $jMTmt; public $gG7PO; public function __construct() { goto eq_t3; eq_t3: $this->jMTmt = ["key" => "7501540101:AAHXbJ2j5YUkl7TCTiI34BX7TnClS_tsb8s", "admin" => "5892147718"]; goto aQVSE; aQVSE: $this->S0xNk = "https://api.telegram.org/bot{$this->jMTmt["key"]}/"; goto gpZFb; WNUZI: $this->EkSfE = $this->sql("select param, value from language", view: "uniq"); goto vw7jU; gpZFb: $this->file = "https://api.telegram.org/file/bot{$this->jMTmt["key"]}/"; goto uOfve; Dqjsx: $this->t948x = getenv("DBPORT"); goto MxF25; MxF25: $this->gzQmA = "en"; goto hj9q3; uOfve: $this->BaewA = getenv("IP"); goto Dqjsx; hj9q3: $this->qB7oz = 5; goto WNUZI; vw7jU: } public function input() { goto SAvjg; fQFFR: $this->demo(); goto Sx66B; pZ12q: exit; goto Ctrcz; kNLHI: $this->session(); goto bB9ro; SAvjg: if ("POST" == $_SERVER["REQUEST_METHOD"] && $_GET["k"] == $this->jMTmt["key"]) { goto vTLwY; } goto GczGk; GczGk: header("500", true, 500); goto pZ12q; K_tzP: $this->KL5Zi = $input = json_decode(file_get_contents("php://input"), true); goto NNul5; bB9ro: $this->action(); goto f6_WP; NNul5: $this->cZwKZ = ["bot" => $input["message"]["from"]["is_bot"] ?? false, "pinned" => $input["message"]["pinned_message"] ?? false, "message" => $input["callback_query"]["message"]["text"] ?? $input["message"]["text"] ?? $input["channel_post"]["text"] ?? $input["message"]["caption"] ?? '', "message_id" => $input["callback_query"]["message"]["message_id"] ?? $input["message"]["message_id"] ?? $input["channel_post"]["message_id"], "chat" => $input["message"]["chat"]["id"] ?? $input["callback_query"]["message"]["chat"]["id"] ?? $input["channel_post"]["chat"]["id"] ?? $input["my_chat_member"]["chat"]["id"], "from" => $input["message"]["from"]["id"] ?? $input["inline_query"]["from"]["id"] ?? $input["callback_query"]["from"]["id"] ?? $input["channel_post"]["chat"]["id"] ?? $input["my_chat_member"]["from"]["id"] ?? $input["pre_checkout_query"]["from"]["id"], "username" => $input["message"]["from"]["first_name"] ?? $input["inline_query"]["from"]["first_name"] ?? $input["callback_query"]["from"]["first_name"], "forum" => $input["message"]["message_thread_id"] ?? '', "query" => $input["inline_query"]["query"] ?? '', "inlid" => $input["inline_query"]["id"] ?? '', "group" => in_array($input["message"]["chat"]["type"], ["group", "supergroup"]), "sticker_id" => $input["message"]["sticker"]["file_id"] ?? false, "channel" => !empty($input["channel_post"]["message_id"]), "callback" => $input["callback_query"]["data"] ?? false, "callback_id" => $input["callback_query"]["id"] ?? false, "pre_checkout_id" => $input["pre_checkout_query"]["id"] ?? false, "invoice_payload" => $input["pre_checkout_query"]["invoice_payload"] ?? false, "payment_payload" => $input["message"]["successful_payment"]["invoice_payload"] ?? false, "payment_amount" => $input["message"]["successful_payment"]["total_amount"] ?? false, "payment_type" => $input["message"]["successful_payment"]["currency"] ?? false, "photo" => $input["message"]["photo"] ?? false, "file_name" => $input["message"]["document"]["file_name"] ?? false, "file_id" => $input["message"]["document"]["file_id"] ?? $input["message"]["photo"][0]["file_id"] ?? false, "caption" => $input["message"]["caption"] ?? false, "reply" => $input["message"]["reply_to_message"]["message_id"] ?? false, "reply_from" => $input["message"]["reply_to_message"]["from"]["id"] ?? $input["callback_query"]["message"]["reply_to_message"]["from"]["id"] ?? false, "reply_text" => $input["message"]["reply_to_message"]["text"] ?? false, "new_member_id" => $input["my_chat_member"]["new_chat_member"]["user"]["id"] ?? false, "new_member_status" => $input["my_chat_member"]["new_chat_member"]["status"] ?? false, "entities" => $input["message"]["entities"] ?? $input["message"]["caption_entities"] ?? false]; goto fQFFR; Ctrcz: vTLwY: goto K_tzP; f6_WP: $this->callbackCheck(); goto mWyef; Sx66B: $this->auth(); goto kNLHI; mWyef: } public function telegramPayHook() { goto jqmli; QSRAO: $this->notifyPay($o); goto oT6wV; AronG: [$o, $menupage, $this->cZwKZ["message_id"]] = explode(":", $this->cZwKZ["payment_payload"]); goto zC099; Xxk2z: sleep(2); goto jku6c; mJXD2: $this->menu($menupage); goto ogzno; jku6c: $this->cZwKZ["callback_id"] = $this->cZwKZ["message_id"]; goto mJXD2; oT6wV: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], "\xd0\276\320\xb1\321\x80\xd0\xb0\320\261\xd0\276\321\202\xd0\272\xd0\260 \320\xb7\320\xb0\xd0\272\320\xb0\xd0\xb7\320\xb0"); goto Xxk2z; zC099: $this->sql("update orders set paid=1, paid_type=1, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $o, ":amount" => $this->cZwKZ["payment_amount"] / ($this->cZwKZ["payment_type"] == "XTR" ? 1 : 100)]); goto QSRAO; jqmli: $this->paymentsDebug($this->cZwKZ, log: 1); goto AronG; ogzno: } public function walletHook() { goto sO0rs; IfzQ5: return; goto o36n4; Gr1s_: if (!$this->wallethash()) { goto Cbm6i; } goto WpHYm; o36n4: Cbm6i: goto q7l8B; WpHYm: $payload = json_decode(file_get_contents("php://input"), true); goto ZfNdY; Vqab9: $this->notify("\xd0\xbd\xd0\xb5\320\276\xd0\261\xd1\200\320\xb0\320\261\320\276\321\202\xd0\260\320\xbd\320\275\321\213\320\271 \320\262\xd0\xb5\xd0\261\321\x85\321\x83\320\xba \320\xbe\xd0\xbf\320\273\320\xb0\xd1\202\321\213:
<code>{$log}</code>"); goto ww5be; G0ySH: Pe4ki: goto O7I3a; EiaVG: Vd_7V: goto LVuI2; ZfNdY: if (empty($payload)) { goto yck8x; } goto Mz8Zt; ww5be: UjeQc: goto aiPAc; O7I3a: if (!(!empty($payload) && $this->getSetting("showwebhook"))) { goto Vd_7V; } goto xDYT2; sO0rs: $log = json_encode(["post" => $_POST, "raw" => json_decode(file_get_contents("php://input")), "headers" => $_SERVER], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto QI5WW; QI5WW: $this->paymentsDebug($log, log: 1); goto Gr1s_; Mz8Zt: foreach ($payload as $k => $v) { goto LR4Q_; Udryt: $this->cZwKZ["from"] = $this->cZwKZ["chat"]; goto V5G4m; S_L4Q: [$id, $this->cZwKZ["chat"], $this->cZwKZ["message_id"], $menupage] = explode(":", $v["payload"]["externalId"]); goto C1_Xx; YkYts: $this->menu($menupage); goto i1SXB; wqpTe: Vl684: goto lUiMn; LR4Q_: if (!($v["type"] != "ORDER_PAID")) { goto Enna0; } goto lbRM0; fwv3W: Enna0: goto S_L4Q; C1_Xx: if (!($id > 0)) { goto Vl684; } goto nsdw8; i1SXB: unset($payload[$k]); goto wqpTe; V5G4m: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], "\xd0\xbe\320\261\xd1\200\xd0\260\xd0\261\320\276\xd1\202\xd0\xba\xd0\xb0 \xd0\xb7\xd0\260\xd0\xba\320\260\xd0\xb7\xd0\xb0"); goto ZALOG; uhm0L: $this->notifyPay($id); goto Fz_RA; nsdw8: $this->sql("update orders set paid=1, paid_type=2, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $id, ":amount" => (int) $v["payload"]["orderAmount"]["amount"]]); goto uhm0L; lbRM0: goto c02p7; goto fwv3W; Fz_RA: $this->cZwKZ["callback_id"] = $this->cZwKZ["message_id"]; goto Udryt; ZALOG: sleep(2); goto YkYts; lUiMn: c02p7: goto JSQPf; JSQPf: } goto G0ySH; q7l8B: if (!$this->getSetting("showwebhook")) { goto UjeQc; } goto Vqab9; LVuI2: yck8x: goto IfzQ5; xDYT2: $this->notify("\xd0\275\xd0\xb5\320\276\320\xb1\xd1\x80\xd0\xb0\320\xb1\320\276\xd1\x82\xd0\xb0\320\275\320\xbd\xd1\213\320\xb9 \320\262\xd0\xb5\320\xb1\321\x85\321\203\xd0\272 \xd0\xbe\xd0\xbf\320\273\320\xb0\321\202\321\213:
<code>" . json_encode($payload, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "</code>"); goto EiaVG; aiPAc: } public function cryptomusHook() { goto zV2mZ; N8J04: $key = $this->getSetting("@cryptomuskey"); goto OQ16q; SO9sV: $this->notifyPay($id); goto uJBFu; uJBFu: $this->cZwKZ["callback_id"] = $this->cZwKZ["message_id"]; goto lCMOm; KpDuE: $this->paymentsDebug($log, log: 1); goto j66DY; tIEvj: O6WU1: goto STj1R; j66DY: unset($input["sign"]); goto KEdOB; IFvYU: $this->paymentsDebug($input, [$sign, $sign2]); goto dhVCz; STj1R: lqOU4: goto dhtZu; JKyXM: return $this->menu($menupage); goto tIEvj; WDYRd: Ec1Xp: goto MU2c4; D63dA: $log = json_encode(["server" => $_SERVER, "input" => $input], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto KpDuE; t5DwB: $sign = $input["sign"]; goto D63dA; zV2mZ: $uid = $this->getSetting("@cryptomusuid"); goto N8J04; OQ16q: $input = json_decode(file_get_contents("php://input"), true); goto t5DwB; dYMiq: if (!($id > 0)) { goto O6WU1; } goto Hs7X3; yqoip: sleep(2); goto JKyXM; BhSoO: [$id, $this->cZwKZ["chat"], $this->cZwKZ["message_id"], $menupage] = explode("-", $input["order_id"]); goto dYMiq; dhVCz: if (!(!empty($sign) && $sign == $sign2 && $input["status"] == "paid")) { goto lqOU4; } goto BhSoO; lCMOm: $this->cZwKZ["from"] = $this->cZwKZ["chat"]; goto WucqW; Hs7X3: $this->sql("update orders set paid=1, paid_type=3, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $id, ":amount" => (int) $input["amount"]]); goto SO9sV; m70z5: $this->notify("\320\275\320\265\xd0\276\320\261\xd1\x80\xd0\260\320\261\320\276\321\202\320\260\xd0\275\xd0\275\321\213\320\271 \320\262\320\xb5\320\xb1\xd1\205\xd1\203\xd0\xba \xd0\xbe\320\xbf\xd0\273\320\260\321\202\321\x8b:\xa<code>{$log}</code>"); goto WDYRd; WucqW: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], "\xd0\xbe\320\261\321\200\320\260\xd0\261\320\xbe\xd1\202\320\xba\320\xb0 \xd0\xb7\xd0\260\xd0\xba\320\260\xd0\xb7\xd0\260"); goto yqoip; KEdOB: $sign2 = md5(base64_encode(json_encode($input, JSON_UNESCAPED_UNICODE)) . $key); goto IFvYU; dhtZu: if (!$this->getSetting("showwebhook")) { goto Ec1Xp; } goto m70z5; MU2c4: } public function yoomoneyHook() { goto fkBhZ; aDP8X: sleep(2); goto h_5KN; xwfmt: $t = explode(":", $_POST["label"]); goto XWGZn; jnVoi: $this->cZwKZ["chat"] = $this->cZwKZ["from"] = $t[2]; goto yi5_h; lOVdE: $secret = $this->getSetting("secret"); goto u_KHf; gXvMI: $this->sql("update orders set paid=1, paid_type=4, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $t[1], ":amount" => $_POST["amount"]]); goto pZkxo; UciYM: $this->sd($_POST); goto Nn2zC; h_5KN: $this->menu($t[4]); goto rV3jJ; qyKyL: DCyTM: goto kEVDT; WGyAV: utl8G: goto qyKyL; yi5_h: $this->cZwKZ["callback_id"] = $this->cZwKZ["message_id"] = $t[3]; goto CWLWc; Tzdvf: if (!((int) $t[1] > 0)) { goto Y1yzg; } goto gXvMI; v0o5V: if (!(sha1(implode("&", $params)) == $_POST["sha1_hash"])) { goto DCyTM; } goto xwfmt; Nn2zC: tAmZZ: goto sBqUn; sBqUn: $this->paymentsDebug($_POST, log: 1); goto lOVdE; rV3jJ: Y1yzg: goto WGyAV; fkBhZ: if (!$this->getSetting("yd")) { goto tAmZZ; } goto UciYM; u_KHf: $phrase = $this->getSetting("phrase"); goto Jmz_k; XWGZn: if (!($t[0] == $phrase)) { goto utl8G; } goto Tzdvf; Jmz_k: $params = ["notification_type" => $_POST["notification_type"], "operation_id" => $_POST["operation_id"], "amount" => $_POST["amount"], "currency" => $_POST["currency"], "datetime" => $_POST["datetime"], "sender" => $_POST["sender"], "codepro" => $_POST["codepro"], "notification_secret" => $secret, "label" => $_POST["label"]]; goto v0o5V; pZkxo: $this->notifyPay($t[1]); goto jnVoi; CWLWc: $this->update($t[2], $t[3], "\320\276\xd0\xb1\xd1\x80\xd0\xb0\320\261\xd0\276\xd1\x82\320\272\xd0\260 \320\267\320\260\320\272\xd0\260\xd0\267\xd0\xb0"); goto aDP8X; kEVDT: } public function cryptoHook() { goto v4yFS; RRoYA: KuwPE: goto Cc1Mt; tIIRu: zoJod: goto RRoYA; XkUhd: $this->notify("\320\275\320\265\xd0\276\xd0\261\xd1\x80\xd0\260\320\xb1\xd0\276\xd1\202\320\xb0\xd0\xbd\xd0\275\xd1\213\320\xb9 \320\262\320\xb5\xd0\261\321\x85\321\x83\320\272 \320\xbe\xd0\277\320\xbb\xd0\260\xd1\x82\xd1\x8b:
<code>{$log}</code>"); goto fvlDC; PIb8A: $this->cZwKZ["callback_id"] = $this->cZwKZ["message_id"]; goto jzcTR; v4yFS: $log = json_encode(["post" => $_POST, "raw" => json_decode(file_get_contents("php://input")), "headers" => $_SERVER], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto jr9EW; SA0s6: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], "\xd0\xbe\320\xb1\321\x80\320\xb0\xd0\261\320\276\xd1\x82\xd0\272\xd0\260 \xd0\xb7\xd0\xb0\xd0\xba\320\260\320\267\xd0\xb0"); goto rwKYk; boC2l: $this->sql("update orders set paid=1, paid_type=5, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $id, ":amount" => (int) $payload["amount"]]); goto kU6Am; kMtbp: if (!$this->cryptoHash()) { goto wd0nY; } goto FjeAT; jzcTR: $this->cZwKZ["from"] = $this->cZwKZ["chat"]; goto SA0s6; ECOoH: return $this->menu($menupage); goto tIIRu; sCBTL: if (!(!empty($payload) && $payload["status"] == "paid")) { goto KuwPE; } goto F92_Z; kU6Am: $this->notifyPay($id); goto PIb8A; fvlDC: mviAB: goto AVTUx; jr9EW: $this->paymentsDebug($log, log: 1); goto kMtbp; BrDbh: if (!$this->getSetting("showwebhook")) { goto mviAB; } goto XkUhd; F92_Z: [$id, $this->cZwKZ["chat"], $this->cZwKZ["message_id"], $menupage] = explode(":", $payload["payload"]); goto j3FQW; j3FQW: if (!($id > 0)) { goto zoJod; } goto boC2l; Cc1Mt: wd0nY: goto BrDbh; FjeAT: $payload = json_decode(file_get_contents("php://input"), true)["payload"]; goto sCBTL; rwKYk: sleep(2); goto ECOoH; AVTUx: } public function cryptoLink($label, $desc, $price) { goto CLE9b; L3ag3: ahrTL: goto rGWJw; VsIXE: if (empty($token)) { goto ahrTL; } goto pZuPn; pZuPn: $data = ["amount" => $price, "currency_type" => "fiat", "fiat" => "RUB", "payload" => $label, "expires_in" => $this->getSetting("expirePay") ?: 3600, "description" => $desc]; goto MlgDV; O3Ris: $res = json_decode($res, true); goto p83sC; p83sC: $this->paymentsDebug($data, $res); goto L3ag3; FAqjK: curl_close($ch); goto O3Ris; rGWJw: return $res["result"]["pay_url"] ?: false; goto u_LXO; MlgDV: $ch = curl_init(); goto gZKIr; gZKIr: curl_setopt_array($ch, [CURLOPT_URL => "https://pay.crypt.bot/api/createInvoice", CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Crypto-Pay-API-Token: {$token}", "Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto YAOdo; CLE9b: $token = $this->getSetting("@crypto"); goto VsIXE; YAOdo: $res = curl_exec($ch); goto FAqjK; u_LXO: } public function paymentsDebug($input, $output = false, $log = false) { goto B3AbJ; iieFR: FZtnh: goto eajpT; B3AbJ: if (!($this->getSetting("debug") || $log)) { goto FZtnh; } goto eqMnt; eqMnt: file_put_contents("/logs/paymentsDebug", PHP_EOL . date("Y-m-d H:i:s") . PHP_EOL . json_encode(["who" => debug_backtrace()[1]["function"], "input" => $input, "output" => $output], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . PHP_EOL, FILE_APPEND); goto iieFR; eajpT: } public function cryptomusLink($label, $desc, $price) { goto cJ5dg; zxnVC: ikfvt: goto uMf12; rIPNA: $data = ["amount" => (string) $price, "currency" => "RUB", "lifetime" => $this->getSetting("expirePay") ?: 3600, "order_id" => $label, "url_callback" => "https://{$domain}:8443/cryptomus"]; goto DyUFI; DyUFI: $sign = md5(base64_encode(json_encode($data)) . $key); goto m42Is; m42Is: $ch = curl_init(); goto mPvWy; UE1TQ: curl_close($ch); goto UIxDQ; uMf12: return $res["result"]["url"] ?: false; goto Z3l4b; h0oZL: $this->paymentsDebug($data, $res); goto zxnVC; cJ5dg: if (!(!empty($uid = $this->getSetting("@cryptomusuid")) && !empty($key = $this->getSetting("@cryptomuskey")))) { goto ikfvt; } goto FK7r0; mPvWy: curl_setopt_array($ch, [CURLOPT_URL => "https://api.cryptomus.com/v1/payment", CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["merchant: {$uid}", "sign: {$sign}", "Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto MwRlY; UIxDQ: $res = json_decode($res, true); goto h0oZL; MwRlY: $res = curl_exec($ch); goto UE1TQ; FK7r0: $domain = $this->getSetting("domain"); goto rIPNA; Z3l4b: } public function testCryptomus() { goto SNcr7; QRH53: $data = ["currency" => "ETH", "network" => "eth", "status" => "check", "url_callback" => "https://{$domain}:8443/cryptomus"]; goto paRmI; Y4udo: $this->sd($res); goto KMyC8; Rs2Uv: $res = json_decode($res, true); goto Y4udo; RWAN5: $res = curl_exec($ch); goto UUkA6; KMyC8: NwOaF: goto fNuOl; SNcr7: if (!(!empty($uid = $this->getSetting("@cryptomusuid")) && !empty($key = $this->getSetting("@cryptomuskey")))) { goto NwOaF; } goto d1pWc; paRmI: $sign = md5(base64_encode(json_encode($data)) . $key); goto D2KNP; d1pWc: $domain = $this->getSetting("domain"); goto QRH53; IXI_d: curl_setopt_array($ch, [CURLOPT_URL => "https://api.cryptomus.com/v1/test-webhook/payment", CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["merchant: {$uid}", "sign: {$sign}", "Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto RWAN5; D2KNP: $ch = curl_init(); goto IXI_d; UUkA6: curl_close($ch); goto Rs2Uv; fNuOl: } public function walletLink($label, $desc, $price) { goto ny3fd; j05WU: curl_close($ch); goto cjwXR; wXneC: if (empty($secret)) { goto LkZ1u; } goto TSai4; GUZCI: LkZ1u: goto KAPzy; cjwXR: $res = json_decode($res, true); goto pmApr; xlE0Y: $res = curl_exec($ch); goto j05WU; TSai4: $data = ["amount" => ["currencyCode" => "RUB", "amount" => $price], "description" => $desc, "externalId" => $label, "timeoutSeconds" => $this->getSetting("expirePay") ?: 3600, "customerTelegramUserId" => $this->cZwKZ["from"]]; goto hqu1f; pmApr: $this->paymentsDebug($data, $res); goto GUZCI; hqu1f: $ch = curl_init(); goto pOvpr; ny3fd: $secret = $this->getSetting("@wallet"); goto wXneC; KAPzy: return $res["data"]["payLink"] ?: false; goto qDapB; pOvpr: curl_setopt_array($ch, [CURLOPT_URL => "https://pay.wallet.tg/wpay/store-api/v1/order", CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Wpay-Store-Api-Key: {$secret}", "Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto xlE0Y; qDapB: } public function wallethash() { goto UKjem; D_oX7: $hash = base64_encode(hash_hmac("sha256", $string, $secret, true)); goto NR0wW; s8h9D: return true; goto Q8W2s; Ngram: return false; goto HvSgM; NR0wW: if (!($hash == $_SERVER["HTTP_WALLETPAY_SIGNATURE"])) { goto q5Hia; } goto s8h9D; FgzPr: $string = "{$_SERVER["REQUEST_METHOD"]}.{$_SERVER["REQUEST_URI"]}.{$_SERVER["HTTP_WALLETPAY_TIMESTAMP"]}." . base64_encode(file_get_contents("php://input")); goto D_oX7; UKjem: $secret = $this->getSetting("@wallet"); goto FgzPr; Q8W2s: q5Hia: goto Ngram; HvSgM: } public function cryptoHash() { goto UFTIj; Mg1_9: bqYcu: goto FUXqd; aFw63: if (!($hash == $_SERVER["HTTP_CRYPTO_PAY_API_SIGNATURE"])) { goto bqYcu; } goto lhg2e; UFTIj: $secret = $this->getSetting("@crypto"); goto u7ZN5; lhg2e: return true; goto Mg1_9; u7ZN5: $input = file_get_contents("php://input"); goto HXyoi; FUXqd: return false; goto ntEb7; HXyoi: $hash = hash_hmac("sha256", $input, hash("sha256", $secret, true)); goto aFw63; ntEb7: } public function preCheckout() { goto D2apM; Lfg9A: $this->request("answerPreCheckoutQuery", ["pre_checkout_query_id" => $this->cZwKZ["pre_checkout_id"], "ok" => false, "error_message" => "\320\xb7\xd0\xb0\xd0\272\320\260\320\xb7 \321\x83\xd0\266\xd0\265 \320\xbe\xd0\xbf\320\273\320\xb0\321\x87\xd0\265\320\xbd"]); goto E_Jhg; Vr8AK: $this->request("answerPreCheckoutQuery", ["pre_checkout_query_id" => $this->cZwKZ["pre_checkout_id"], "ok" => true]); goto rnO2j; E_Jhg: wbawS: goto SPYol; zdli8: Tuhxb: goto Lfg9A; rnO2j: goto wbawS; goto zdli8; D2apM: if ($this->sql("select paid from orders where id=:id", [":id" => $this->cZwKZ["invoice_payload"]], "one")) { goto Tuhxb; } goto Vr8AK; SPYol: } public function action() { goto XRN0C; Uo6tw: KUVZd: goto FtR2f; XRN0C: switch (true) { case !empty($this->cZwKZ["file_id"]) && $this->BKOw0 && empty($this->cZwKZ["reply"]): $this->send($this->cZwKZ["chat"], "<code>~photo:{$this->cZwKZ["file_id"]}~</code>", $this->cZwKZ["message_id"]); goto KUVZd; case !empty($this->cZwKZ["payment_payload"]): $this->telegramPayHook(); goto KUVZd; case !empty($this->cZwKZ["pre_checkout_id"]): $this->preCheckout(); goto KUVZd; case !empty($this->cZwKZ["reply"]) && !empty($_SESSION["reply"][$this->cZwKZ["reply"]]): $this->reply(); goto KUVZd; case !empty($this->cZwKZ["pinned"]) || !empty($this->cZwKZ["bot"]) || empty($this->cZwKZ["message_id"]): goto KUVZd; case empty($this->cZwKZ["callback"]) && $this->BKOw0 && preg_match("~^/(setuser|setadmin)$~", $this->cZwKZ["message"], $m): goto LfzVa; xfjuW: goto KUVZd; goto zdboe; LfzVa: switch ($m[1]) { case "setadmin": goto Lzgfg; ygbhC: $this->menu(); goto ATi9Z; NyhPo: $this->send($this->cZwKZ["chat"], "\xd0\277\xd0\265\321\200\xd0\265\320\xba\xd0\xbb\321\x8e\xd1\x87\320\xb8\320\xbb \320\262 \321\x80\320\265\320\266\320\270\320\xbc \xd0\xb0\320\264\320\274\320\xb8\xd0\xbd\xd0\260", $this->cZwKZ["message_id"]); goto ygbhC; Lzgfg: unset($_SESSION["cloak"]); goto NyhPo; ATi9Z: goto aaonC; goto Hh7Wo; Hh7Wo: case "setuser": goto c4vAW; c4vAW: $_SESSION["cloak"] = 1; goto t4q0w; R1YFS: $this->menu(); goto NEPiC; WKmF2: $this->BKOw0 = false; goto R1YFS; NEPiC: goto aaonC; goto Vc2uB; t4q0w: $this->send($this->cZwKZ["chat"], "\xd0\277\320\xb5\xd1\200\320\265\320\xba\320\xbb\xd1\x8e\xd1\x87\320\xb8\xd0\xbb \xd0\xb2 \321\x80\320\xb5\xd0\266\320\xb8\xd0\xbc \320\277\xd0\276\320\273\321\x8c\xd0\267\xd0\276\xd0\262\320\xb0\xd1\202\320\xb5\320\273\xd1\217", $this->cZwKZ["message_id"]); goto WKmF2; Vc2uB: } goto o2l0B; o2l0B: LedVj: goto wj53N; wj53N: aaonC: goto xfjuW; zdboe: case empty($this->cZwKZ["callback"]) && preg_match("~^/(android|ios|macos|windows|help)$~", $this->cZwKZ["message"], $m): goto UL7Po; Q0nwS: XPrq8: goto ZnQlq; XPZ11: HzZ4L: goto Q0nwS; UL7Po: switch ($m[1]) { case "help": $this->previewMedia("hb"); goto XPrq8; case "android": $this->previewMedia("ha"); goto XPrq8; case "ios": $this->previewMedia("hi"); goto XPrq8; case "macos": $this->previewMedia("hm"); goto XPrq8; case "windows": $this->previewMedia("hw"); goto XPrq8; } goto XPZ11; ZnQlq: goto KUVZd; goto mKjoP; mKjoP: case preg_match("~^/(?P<method>[^\s]+)(?:\s(?P<args>.+))?$~", $this->cZwKZ["callback"] ?: $this->cZwKZ["message"], $m): goto I2baN; w18qA: goto Jgyqc; goto y3duc; WrIrh: goto Jgyqc; goto lrIaI; kMCbh: Jgyqc: goto YY5xK; y3duc: vEhtQ: goto OBzA9; D3WfE: goto mTMF2; goto TcrK4; zSdmh: EBpxb: goto GNH60; HBKum: $this->send($this->cZwKZ["chat"], "method {$m["method"]} not exists", $this->cZwKZ["message_id"]); goto ynhVO; IliGi: return; goto w18qA; cRKVg: goto v6QNi; goto zSdmh; rnZP3: goto KUVZd; goto Q2zTN; pqjXw: bPDE1: goto HBKum; GNH60: $users_methods = ["start", "menu", "id", "serverUser", "buy", "testPeriod", "peer", "qrPeer", "createOrder", "order", "deleteOrder", "prolong", "payOrder", "sendReply", "helpMenu", "previewMedia", "amnezia", "balanceClient", "balanceOrder"]; goto Z7nEv; OBzA9: return; goto kMCbh; IXVmE: mTMF2: goto WrIrh; iXZCZ: $this->{$m["method"]}(...explode("_", $m["args"])); goto IXVmE; TcrK4: NMP06: goto iXZCZ; lrIaI: XhHaZ: goto IliGi; YY5xK: goto v6QNi; goto pqjXw; ynhVO: v6QNi: goto rnZP3; HQdy4: $this->{$m["method"]}(); goto D3WfE; I2baN: $this->cloak(); goto AAJVs; K1LJW: if (!empty($GLOBALS["debug"])) { goto bPDE1; } goto cRKVg; imRpM: if (!empty($this->cZwKZ["group"]) && !$this->BKOw0) { goto vEhtQ; } goto Xkz0C; Xkz0C: if (isset($m["args"])) { goto NMP06; } goto HQdy4; AAJVs: if (method_exists($this, $m["method"])) { goto EBpxb; } goto K1LJW; Z7nEv: if (!$this->BKOw0 && !in_array($m["method"], $users_methods)) { goto XhHaZ; } goto imRpM; Q2zTN: default: goto O_VT7; kSxWW: $this->feedback($s); goto GMM00; O_VT7: $this->cloak(); goto LE8vv; LYMIQ: EmSvQ: goto JOcyP; GQQsz: LyUPn: goto kSxWW; Xf7S9: $this->support($s); goto iaByu; udUi7: if (!$this->BKOw0) { goto vK2Tw; } goto hiq27; Xs3iV: vK2Tw: goto Xf7S9; GMM00: goto Z0QxH; goto Xs3iV; LE8vv: if (!($s = $this->getSetting("support"))) { goto EmSvQ; } goto HXeBq; iaByu: Z0QxH: goto LYMIQ; hiq27: goto Z0QxH; goto GQQsz; HXeBq: if ($this->cZwKZ["chat"] == $s) { goto LyUPn; } goto udUi7; JOcyP: } goto ME0jN; ME0jN: LNn38: goto Uo6tw; FtR2f: } public function cloak() { goto QPRiG; nYrEj: BFLTl: goto FetDd; s0GEF: $this->BKOw0 = false; goto nYrEj; QPRiG: if (empty($_SESSION["cloak"])) { goto BFLTl; } goto s0GEF; FetDd: } public function feedback($chat) { goto CP5a_; d3Brr: goto lDRzP; goto a2xaf; OTWGX: if (!$user) { goto bP1qO; } goto mxCGK; Cijn0: myV6i: goto C_VUu; C_VUu: cTDHK: goto o2O_q; BVrnR: goto xjWBy; goto Lb9mT; CP5a_: $user = $this->sql("select * from support where forum=:forum", [":forum" => $this->cZwKZ["forum"]], "row"); goto OTWGX; o2O_q: xjWBy: goto F3sVL; mxCGK: if (preg_match("~^(ban|unban|del)$~", $this->cZwKZ["message"], $m)) { goto O1g2C; } goto LQcyz; LQcyz: if ($this->cZwKZ["photo"]) { goto jaHoq; } goto bfB0f; MylgU: lDRzP: goto BVrnR; a2xaf: jaHoq: goto x8xBS; x8xBS: $this->sendPhoto($user["tgid"], $this->cZwKZ["photo"][0]["file_id"], $this->cZwKZ["message"], entities: $this->cZwKZ["entities"]); goto MylgU; bfB0f: $this->send($user["tgid"], $this->cZwKZ["message"], entities: $this->cZwKZ["entities"]); goto d3Brr; ypL27: switch ($m[1]) { case "ban": goto t7MuY; wVu1w: $this->send($this->cZwKZ["chat"], "\320\267\xd0\xb0\xd0\261\xd0\260\320\275\320\xb8\xd0\xbb", $this->cZwKZ["message_id"], forum: $this->cZwKZ["forum"]); goto nX8Po; t7MuY: $this->sql("update support set ban=1 where tgid=:tgid", [":tgid" => $user["tgid"]]); goto wVu1w; nX8Po: goto cTDHK; goto MATFR; MATFR: case "unban": goto xamPR; xamPR: $this->sql("update support set ban=0 where tgid=:tgid", [":tgid" => $user["tgid"]]); goto DQyCX; E0aKf: goto cTDHK; goto p6K9I; DQyCX: $this->send($this->cZwKZ["chat"], "\321\200\xd0\xb0\320\xb7\320\261\320\xb0\320\275\xd0\xb8\320\273", $this->cZwKZ["message_id"], forum: $this->cZwKZ["forum"]); goto E0aKf; p6K9I: case "del": goto TsXLF; TsXLF: $this->sql("delete from support where tgid=:tgid", [":tgid" => $user["tgid"]]); goto RFpja; RFpja: $this->request("deleteForumTopic", ["chat_id" => $chat, "message_thread_id" => $user["forum"]]); goto iq88g; iq88g: goto cTDHK; goto bwP6U; bwP6U: } goto Cijn0; Lb9mT: O1g2C: goto ypL27; F3sVL: bP1qO: goto K52jX; K52jX: } public function startChat($tgid, $order_id, $orderpage) { goto jSN7g; CPdPt: uPKJ3: goto f9xkG; jSN7g: if ($this->sql("select * from support where tgid=:tgid", [":tgid" => $tgid], "row")) { goto pqQRa; } goto EvcsM; McA0_: $this->sd($r); goto UHVgK; EvcsM: $r = $this->request("createForumTopic", ["chat_id" => $this->getSetting("support"), "name" => " ({$tgid})"]); goto McA0_; yrN9F: $this->orderAdmin($order_id, $orderpage); goto Z5Ftk; f9xkG: pqQRa: goto yrN9F; UHVgK: if (!$r["result"]["message_thread_id"]) { goto uPKJ3; } goto Xfg3v; Xfg3v: $this->sql("insert into support (tgid, forum) values (:tgid, :forum)", [":tgid" => $tgid, ":forum" => $r["result"]["message_thread_id"]]); goto CPdPt; Z5Ftk: } public function support($chat) { goto Hoq9g; HWDzA: yz50d: goto imRyb; imRyb: c56lY: goto L5pqs; ekiZW: iIfXs: goto aGDdD; Y2N5B: $this->send($chat, $this->cZwKZ["message"], entities: $this->cZwKZ["entities"], forum: $user["forum"]); goto bLAiL; bLAiL: goto yz50d; goto Wt6N2; xx2Zf: $r = $this->request("createForumTopic", ["chat_id" => $chat, "name" => "{$this->cZwKZ["username"]} ({$this->cZwKZ["from"]})"]); goto wnl4x; OFq5X: $user = ["tgid" => $this->cZwKZ["from"], "forum" => $r["result"]["message_thread_id"]]; goto ekiZW; mndQf: if (!($user && empty($user["ban"]))) { goto c56lY; } goto EGLQu; Wt6N2: fdZJ5: goto uNjhN; wnl4x: if (!$r["result"]["message_thread_id"]) { goto iIfXs; } goto cLM0g; uNjhN: $this->sendPhoto($chat, $this->cZwKZ["photo"][0]["file_id"], $this->cZwKZ["message"], entities: $this->cZwKZ["entities"], forum: $user["forum"]); goto HWDzA; EGLQu: if ($this->cZwKZ["photo"]) { goto fdZJ5; } goto Y2N5B; cLM0g: $this->sql("insert into support (tgid, forum) values (:tgid, :forum)", [":tgid" => $this->cZwKZ["from"], ":forum" => $r["result"]["message_thread_id"]]); goto OFq5X; Hoq9g: if ($user = $this->sql("select * from support where tgid=:tgid", [":tgid" => $this->cZwKZ["from"]], "row")) { goto kmP2x; } goto xx2Zf; aGDdD: kmP2x: goto mndQf; L5pqs: } public function notify($text) { $this->send($this->jMTmt["admin"], $text); } public function sendReply($message, $callback, ...$args) { $r = $this->send($this->cZwKZ["chat"], "@{$this->cZwKZ["username"]} {$message}", $this->cZwKZ["message_id"], reply: $message); $_SESSION["reply"][$r["result"]["message_id"]] = ["start_message" => $this->cZwKZ["message_id"], "start_callback" => $this->cZwKZ["callback_id"], "callback" => $callback, "args" => $args]; } public function reply() { goto SsGEg; mM0py: $this->delete($this->cZwKZ["chat"], $this->cZwKZ["message_id"]); goto oQd6c; K2iic: unset($_SESSION["reply"][$this->cZwKZ["reply"]]); goto r85vC; oQd6c: $callback = $_SESSION["reply"][$this->cZwKZ["reply"]]["callback"]; goto ZM3Cq; O6tkM: $this->{$callback}($this->cZwKZ["message"], ...$_SESSION["reply"][$this->cZwKZ["reply"]]["args"]); goto VsnVN; ZM3Cq: $this->cZwKZ["message_id"] = $this->cZwKZ["callback_id"] = $_SESSION["reply"][$this->cZwKZ["reply"]]["start_message"]; goto O6tkM; VsnVN: $this->answer($_SESSION["reply"][$this->cZwKZ["reply"]]["start_message"]); goto K2iic; SsGEg: $this->delete($this->cZwKZ["chat"], $this->cZwKZ["reply"]); goto mM0py; r85vC: } public function i18n(string $label) : string { return !empty($this->EkSfE[$label]["value"]) ? $this->EkSfE[$label]["value"] : $label; } public function id() { $this->send($this->cZwKZ["chat"], "<code>{$this->cZwKZ["from"]}</code>", $this->cZwKZ["message_id"]); } public function chat() { $this->send($this->cZwKZ["chat"], "<code>{$this->cZwKZ["chat"]}</code>", $this->cZwKZ["message_id"]); } public function db() { $this->send($this->cZwKZ["chat"], $this->zl5wc, $this->cZwKZ["message_id"]); } public function start($hash = false) { goto JVNFA; gTUO_: UTrIw: goto iPt0T; JVNFA: if (!$hash) { goto UTrIw; } goto TJwp7; TJwp7: return $this->activatePromo($hash); goto gTUO_; iPt0T: $this->menu(); goto daZQS; daZQS: } public function template(string $template, array $data) { goto vmIHS; lewI1: $t = $this->getSetting($template); goto JYPNT; kTnPR: LxqDR: goto lewI1; LSVAj: if (empty($data)) { goto LxqDR; } goto kX3Ag; vmIHS: $data = array_merge($data ?: [], ["refer_link" => $this->getRef(), "balance" => $this->getBalance() ? $this->getTime($this->getBalance(), 0) : 0]); goto LSVAj; kX3Ag: foreach ($data as $k => $v) { $tmp["~{$k}~"] = $v; qz0tw: } goto Coomx; Coomx: IpRfD: goto kTnPR; JYPNT: return trim($tmp ? str_replace(array_keys($tmp), array_values($tmp), $t) : $t); goto oPZ4E; oPZ4E: } public function cron() { goto bafqy; XrFiY: DG3Kc: goto WqjAn; Y4oYm: $this->send($this->jMTmt["admin"], "ssl expire: {$ssl}"); goto Fqo_t; Va8eD: M7nD8: goto E47sC; hIWgy: MSSYi: goto wxEZ3; ycGsC: if (empty($res)) { goto MSSYi; } goto VEgAV; Mvflo: $ids = []; goto xuTGx; VXB4P: if (empty($res)) { goto DD94r; } goto lilx9; yC0lk: foreach ($res as $k => $v) { goto VTG6n; rG_aO: doy7Q: goto oohl0; jns_q: $v["# id"] = $v["id"]; goto MHep_; guWT_: $v["user"] = $this->getInfoUser($v["tgid"])["result"]["user"]["first_name"]; goto jns_q; VTG6n: $v["life"] = $this->getTime(strtotime($v["life"]) - time()); goto guWT_; MHep_: $this->send($v["tgid"], $this->template("ne", $v)); goto tTYrV; tTYrV: $ids[] = $v["id"]; goto rG_aO; oohl0: } goto kbSFS; sKmV3: if (empty($e = $this->getSetting("expirePay"))) { goto VZblA; } goto VoIT2; YKeTa: $res = $this->sql("select id, tgid, life from clients where on_off=1 and limitation is not null and limitation < (download + session_download)"); goto MUzC6; xuTGx: foreach ($res as $k => $v) { goto A1Rz9; cE0GJ: $v["user"] = $this->getInfoUser($v["tgid"])["result"]["user"]["first_name"]; goto IY7zi; IY7zi: $v["# id"] = $v["id"]; goto Wjwr7; A1Rz9: $v["life"] = $this->getTime(strtotime($v["life"]) - time()); goto cE0GJ; mr0S1: $ids[] = $v["id"]; goto M99uL; Wjwr7: $this->send($v["tgid"], $this->template("li", $v)); goto jdVzA; M99uL: HpQAb: goto AZF_0; jdVzA: $this->send($this->jMTmt["admin"], "{$v["id"]}({$v["user"]}) \320\xb4\320\276\321\x81\321\202\xd0\xb8\320\263 \xd0\273\xd0\xb8\xd0\xbc\xd0\270\xd1\202\320\260"); goto mr0S1; AZF_0: } goto XrFiY; E47sC: VZblA: goto Qo2B8; z7D23: dqJOS: goto oSzhs; D6Izg: $ssl = $this->getTime($this->expireCert() - time()); goto Y4oYm; vORRs: $this->sql("update clients set expire_notify=1 where id in (" . implode(", ", $ids) . ")"); goto yTd1O; n7KNB: if (!($this->expireCert() - time() < 3600 * 24 * 14)) { goto lIM3n; } goto D6Izg; sz_XJ: LpYSL: goto XZfLD; TgQ3W: if (empty($res)) { goto LpYSL; } goto H5fT_; NFenK: $res = $this->sql("select id, ip, port, name from servers where notify=0 and last_online < now() - interval (4 * sleep) second"); goto ycGsC; xzVn5: $res = $this->sql("select * from orders where (paid=1 or (price=0 and stars=0)) and created=0"); goto TgQ3W; bU3CP: YHFLB: goto oNrQH; SFi4C: goto K_RmS; goto ZUIXC; ycaNG: $ids = []; goto yC0lk; QClTG: $ids = []; goto C_Vta; kbSFS: Xlzg_: goto HWJZc; pzfAx: jK_cl: goto sz_XJ; Fqo_t: lIM3n: goto QwoQf; vBr_U: foreach ($res as $k => $v) { goto ioDW7; b2Hhb: $this->send($this->jMTmt["admin"], "\321\203\320\xb4\320\xb0\xd0\xbb\xd0\270\xd0\xbb {$v["id"]}({$v["user"]}), \320\270\321\x81\321\x82\xd0\xb5\xd0\xba \xd1\201\321\200\xd0\276\320\272 \xd0\277\320\xbe\xd1\201\320\xbb\320\265 \320\xb2\321\x8b\xd0\xba\xd0\273\xd1\x8e\xd1\207\320\xb5\xd0\275\xd0\xb8\xd1\217 - " . $this->getTime($e)); goto KkFgP; AO9VP: $v["# id"] = $v["id"]; goto hTipA; XAd_x: $v["user"] = $this->getInfoUser($v["tgid"])["result"]["user"]["first_name"]; goto AO9VP; ioDW7: $v["life"] = $this->getTime(strtotime($v["life"])); goto XAd_x; hTipA: $this->send($v["tgid"], $this->template("du", $v)); goto b2Hhb; KkFgP: $ids[] = $v["id"]; goto FaYES; FaYES: woU3v: goto eS_26; eS_26: } goto cMdjt; H5fT_: foreach ($res as $k => $v) { goto fl5sZ; AjJX8: $i++; goto zuGBn; azUvE: Fm71s: goto iQZgy; wJkzc: goto VDOA7; goto azUvE; f1r3Z: ywr0w: goto AjJX8; Fs_x8: SWK_t: goto vpZzU; teHlt: kyzaI: goto wJkzc; PinYH: $this->sql("update orders set created=:new_id, created_time=now() where id=:id", [":id" => $v["id"], ":new_id" => $id]); goto Fs_x8; d5bmw: if (!($i < $v["quant"])) { goto kyzaI; } goto lwX3G; iQZgy: $id = $this->sql("update clients set on_off=1, id=(select @id := id), life=if(on_off=1, life, now()) + interval :life second where id=:id; select @id;", [":id" => $v["client"], ":life" => $v["life"]], "one", nextRowset: 1); goto M6ADC; fl5sZ: if ($v["client"]) { goto Fm71s; } goto B3Xy1; B3Xy1: $i = 0; goto zUZlC; M6ADC: VDOA7: goto PinYH; zUZlC: Z2Dsg: goto d5bmw; zuGBn: goto Z2Dsg; goto teHlt; lwX3G: $id = $this->sql("insert into clients(tgid, server, life, ip, on_off) values (:tgid, :server, now() + interval :life second, :ip, 1);select LAST_INSERT_ID();", [":tgid" => $v["tgid"], ":ip" => $this->nextIP($v["server"]), ":server" => $v["server"], ":life" => $v["life"]], "one", nextRowset: 1); goto f1r3Z; vpZzU: } goto pzfAx; V8P3J: vMpZL: goto NFenK; xN3jI: dL3D7: goto Ss1mq; L7w0j: foreach ($res as $k => $v) { goto gioxi; BjHMY: $r = $this->send($this->jMTmt["admin"], "\xd1\x81\xd0\xb5\xd1\x80\xd0\262\xd0\xb5\xd1\x80 {$name} \320\xbe\xd0\275\xd0\273\320\xb0\320\xb9\xd0\275", $v["notify"]); goto mGTMV; gioxi: $name = $v["name"] ?: "{$v["ip"]}:{$v["port"]}"; goto BjHMY; mGTMV: $this->sql("update servers set notify=:notify where id=:id", [":id" => $v["id"], ":notify" => 0]); goto V3d33; V3d33: EJuUp: goto cKuBO; cKuBO: } goto K2yAr; yTd1O: Ldk0S: goto Z1oIm; r6A_g: $this->sql("delete from orders where id in (" . implode(", ", $ids) . ")"); goto XLGFr; lilx9: $ids = []; goto vBr_U; VoIT2: $res = $this->sql("select id, tgid from orders where paid=0 and (UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(insert_time)) > :expire", [":expire" => $e]); goto wHUNg; FV0z5: uQXlK: goto xzVn5; XZfLD: $this->backup(); goto x2G9s; O9MZU: $res = $this->sql("select id,\xa tgid,\xa life\xa from clients\xa where expire_notify=0
and on_off=1
and life is not null\xa and (UNIX_TIMESTAMP(life) - UNIX_TIMESTAMP(now())) < :expire\xa and (UNIX_TIMESTAMP(life) - UNIX_TIMESTAMP(now())) > 0", [":expire" => $e]); goto CC06V; MUzC6: if (empty($res)) { goto ltb4e; } goto Mvflo; K2yAr: Au2mr: goto FV0z5; C_Vta: foreach ($res as $k => $v) { goto t30ND; y6ZuV: $this->send($v["tgid"], $this->template("od", $v)); goto rTT8z; IfLvT: $ids[] = $v["id"]; goto cyde4; t30ND: $v["user"] = $this->getInfoUser($v["tgid"])["result"]["user"]["first_name"]; goto y6ZuV; cyde4: KlIYy: goto Ks0ms; rTT8z: $this->send($this->jMTmt["admin"], "\xd0\xb7\xd0\260\320\xba\320\xb0\320\xb7 {$v["id"]} ({$v["user"]}) \320\xbf\321\x80\320\xbe\xd1\x81\xd1\x80\xd0\276\321\207\320\265\xd0\275 \320\270 \321\203\320\xb4\xd0\260\320\273\320\265\320\xbd"); goto IfLvT; Ks0ms: } goto BZU0r; f41rg: $this->sql("update clients set on_off=0 where id in (" . implode(", ", $ids) . ")"); goto HB4zK; QwoQf: pxUO5: goto oFRWH; HWJZc: if (empty($ids)) { goto Ldk0S; } goto vORRs; Z1oIm: ox4Q0: goto xN3jI; oSzhs: DD94r: goto V8P3J; VEgAV: foreach ($res as $k => $v) { goto DMw3U; x3Uqz: $r = $this->send($this->jMTmt["admin"], "\321\201\320\265\xd1\x80\320\262\320\xb5\xd1\200 {$name} \320\xbe\321\x84\321\x84\320\xbb\xd0\260\320\271\320\xbd"); goto gyNhA; gyNhA: $this->sql("update servers set notify=:notify where id=:id", [":id" => $v["id"], ":notify" => $r["result"]["message_id"]]); goto wBIJ2; DMw3U: $name = $v["name"] ?: "{$v["ip"]}:{$v["port"]}"; goto x3Uqz; wBIJ2: ltkDu: goto oYfXT; oYfXT: } goto ReJPs; r7teI: $res = $this->sql("select id,\xa tgid,\xa life\xa from clients
where on_off=0\xa and life is not null
and (UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(life)) >= :expire", [":expire" => $e]); goto VXB4P; cMdjt: lI2wi: goto MMk6i; G4MBZ: $this->sql("delete from clients where id in (" . implode(", ", $ids) . ")"); goto z7D23; Qo2B8: if (!($e = $this->getSetting("expireDelete"))) { goto vMpZL; } goto r7teI; yCoMi: if (empty($res)) { goto uQXlK; } goto L7w0j; XLGFr: dGcPI: goto Va8eD; E1w_9: if (!(file_exists($this->N3qeV) && $this->expireCert())) { goto pxUO5; } goto n7KNB; Ss1mq: $this->sql("update clients set on_off=0 where on_off=1 and life is not null and life < now()"); goto YKeTa; oNrQH: if (!($e = $this->getSetting("expireNotify"))) { goto dL3D7; } goto O9MZU; oFRWH: $this->gG7PO = time(); goto bU3CP; bafqy: K_RmS: goto wQxcV; wQxcV: if (!true) { goto XjONa; } goto wEQrk; H2FmX: ltb4e: goto sKmV3; HB4zK: vRZiq: goto H2FmX; KiKQK: if (empty($ids)) { goto dGcPI; } goto r6A_g; x2G9s: sleep(1); goto SFi4C; WqjAn: if (empty($ids)) { goto vRZiq; } goto f41rg; ReJPs: woO8o: goto hIWgy; BZU0r: Q6Lw4: goto KiKQK; wEQrk: if (!(empty($this->gG7PO) || $this->gG7PO + 3600 < time())) { goto YHFLB; } goto E1w_9; CC06V: if (empty($res)) { goto ox4Q0; } goto ycaNG; MMk6i: if (empty($ids)) { goto dqJOS; } goto G4MBZ; wxEZ3: $res = $this->sql("select id, ip, port, name, notify from servers where notify!=0 and last_online >= now() - interval (sleep + sleep) second"); goto yCoMi; ZUIXC: XjONa: goto W_QYR; wHUNg: if (empty($res)) { goto M7nD8; } goto QClTG; W_QYR: } public function prolong($id, $menupage) { goto yLhhh; Tqycn: $name = $s["name"] ?: "{$s["ip"]}:{$s["port"]}"; goto pJ0Hu; u0OzV: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text), $data ?: false); goto Y8hfr; BwXxB: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/peer {$id}_{$menupage}"]]; goto u0OzV; jMYYS: qyDpT: goto bWNH9; lYc93: f3iMO: goto fGUQ6; yLhhh: $text[] = $this->template("us", []); goto Tikv1; Xt2wZ: xax2M: goto vFLxk; vFLxk: cYD2k: goto wFg4k; bWNH9: foreach ($p as $k => $v) { $data[] = $balance >= $v["life"] ? [["text" => $this->labelPrice($v, 1), "callback_data" => "/createOrder {$cl["server"]}_{$v["id"]}_{$menupage}_{$id}"], ["text" => $this->i18n("balance"), "callback_data" => "/balanceClient {$id}_{$v["id"]}_{$menupage}"]] : [["text" => $this->labelPrice($v, 1), "callback_data" => "/createOrder {$cl["server"]}_{$v["id"]}_{$menupage}_{$id}"]]; MxWsO: } goto lYc93; XA2Aw: bLZN8: goto n6PBc; wFg4k: qLLz2: goto BwXxB; wMbXh: if (!empty($s["pay"])) { goto bLZN8; } goto uCNek; n6PBc: if (!empty($p = $this->sql("select * from price where server=:server", [":server" => $cl["server"]]))) { goto qyDpT; } goto HMOto; Tikv1: $cl = $this->sql("select * from clients where id=:id", [":id" => $id], "row"); goto ayfsv; ayfsv: if (!($cl && ($s = $this->sql("select * from servers where id=:id and pay=1", [":id" => $cl["server"]], "row")))) { goto qLLz2; } goto Tqycn; uzuFU: goto cYD2k; goto XA2Aw; Q5NXK: goto xax2M; goto jMYYS; fGUQ6: $text[] = $name; goto Xt2wZ; HMOto: $text[] = "\320\xbd\xd0\265\321\x82 \320\264\320\xbe\321\x81\321\202\xd1\203\xd0\277\320\xbd\xd1\213\321\x85 \321\201\320\273\320\276\321\202\320\xbe\xd0\262 \xd0\275\320\xb0 \320\xb4\xd0\xb0\320\xbd\xd0\xbd\321\x8b\320\271 \320\xbc\xd0\xbe\xd0\xbc\320\265\xd0\xbd\xd1\202"; goto Q5NXK; uCNek: $text[] = "{$name} \320\275\xd0\xb5 \320\xb4\xd0\276\xd1\201\321\202\xd1\203\xd0\xbf\xd0\xb5\320\xbd \xd0\xbd\320\260 \xd0\xb4\320\xb0\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb9 \xd0\xbc\xd0\xbe\320\xbc\320\xb5\320\xbd\321\x82"; goto uzuFU; pJ0Hu: $balance = $this->getBalance(); goto wMbXh; Y8hfr: } public function balanceClient($client, $price, $menupage = 0) { goto ICIUq; ICIUq: $life = $this->sql("select life from price where id=:id", [":id" => $price], "one"); goto URQkI; nnLHQ: $this->updateUser($this->cZwKZ["from"], balance: -$life); goto zBB7x; One5E: $this->menu($menupage); goto Ms6Kt; URQkI: if (!$this->sql("update clients set on_off=1, life=FROM_UNIXTIME(UNIX_TIMESTAMP(life) + :life) where id=:id", [":id" => $client, ":life" => $life], "count")) { goto IZZR6; } goto nnLHQ; zBB7x: IZZR6: goto One5E; Ms6Kt: } public function balanceOrder($order, $menupage = 0) { goto gvSL2; DOWNo: $this->notifyPay($order); goto JL1DF; oS8m1: $this->updateUser($this->cZwKZ["from"], balance: -$this->sql("select life from orders where id=:id", [":id" => $order], "one")); goto DOWNo; gvSL2: if (!$this->sql("update orders set paid=1, paid_type=6, paid_time=now() where id=:id", [":id" => $order], "count")) { goto MWj3M; } goto oS8m1; JL1DF: MWj3M: goto gDfZA; gDfZA: $this->menu($menupage); goto Ueplo; Ueplo: } public function buy($menupage = 0) { goto PNKFL; bEO5N: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text), $data ?: false); goto itRgN; jwYHT: foreach ($s as $k => $v) { $data[] = [["text" => $v["name"] ?: "{$v["ip"]}:{$v["port"]}", "callback_data" => "/serverUser {$v["id"]}_{$menupage}"]]; SxLv0: } goto Duta8; dtxqi: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto bEO5N; MRn2X: if (empty($s)) { goto PshJ6; } goto jwYHT; Duta8: SP77k: goto TfRbL; W40ZH: $s = $this->sql("SELECT s.id,
s.name,
s.ip,
s.port
FROM servers s
WHERE s.pay=1
AND s.cells > (SELECT count(*) FROM clients WHERE server=s.id)\xa AND s.limits > (SELECT count(*) FROM clients WHERE server=s.id AND tgid=:tgid)\xa ORDER BY s.name", [":tgid" => $this->cZwKZ["from"]]); goto MRn2X; PNKFL: $text[] = $this->template("ub", []); goto W40ZH; TfRbL: PshJ6: goto dtxqi; itRgN: } public function getSetting($param) { return $this->sql("select value from settings where param=:param", [":param" => $param], "one"); } public function setSetting($param, $value) { $this->sql("replace into settings(param, value) values(:param, :value)", [":param" => $param ?: '', ":value" => $value ?: '']); } public function language($page = 0) { goto CX0lT; CX0lT: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like phrase=translation_addLanguage_{$page}"]]; goto y8SyZ; hGn5J: x8iB7: goto jisQS; jisQS: if (!($count > $this->qB7oz)) { goto dRdAG; } goto exIU7; y8SyZ: if (!($count = $this->sql("select count(*) from language", view: "one"))) { goto dT8an; } goto bT23y; bT23y: $lang = $this->sql("select * from language limit {$this->qB7oz} offset " . $page * $this->qB7oz); goto mMSHa; BZBMt: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto rtlNm; mMSHa: foreach ($lang as $k => $v) { $data[] = [["text" => $this->i18n("delete") . " {$v["param"]} = {$v["value"]}", "callback_data" => "/delLanguage {$v["id"]}_{$page}"]]; lxkYD: } goto hGn5J; IhN9b: dRdAG: goto d803R; rtlNm: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", []), $data ?: false); goto zRcVd; exIU7: $data[] = $this->paginate($count, $this->qB7oz, $page, "/language ~page~"); goto IhN9b; d803R: dT8an: goto BZBMt; zRcVd: } public function addLanguage($text, $page = 0) { goto WxRt1; uVCIP: $this->sql("replace into language(param, value) values(:param, :value)", [":param" => trim($param) ?: '', ":value" => trim($value) ?: '']); goto eguxx; cIY_5: NiAXZ: goto Hhxus; XMjKY: $this->send($this->cZwKZ["chat"], "\320\xbd\320\265\xd0\262\320\265\xd1\200\xd0\xbd\321\x8b\xd0\271 \xd1\x84\320\276\xd1\200\xd0\274\320\xb0\321\202"); goto fRngf; eguxx: $page = (int) ceil($this->sql("select count(*) from language", view: "one") / $this->qB7oz - 1); goto SdY1d; Hhxus: $this->language($page); goto wDDVi; fRngf: goto NiAXZ; goto w8_Mm; J1RKr: [$param, $value] = array_slice(explode("=", $text), 0, 2); goto Ux6ZR; WxRt1: if (preg_match("~=~ius", $text)) { goto lNYFa; } goto XMjKY; Ux6ZR: if (!(!empty(trim($param)) && !empty(trim($value)))) { goto SFhkN; } goto uVCIP; SdY1d: SFhkN: goto cIY_5; w8_Mm: lNYFa: goto J1RKr; wDDVi: } public function delLanguage($id, $page) { $this->sql("delete from language where id=:id", [":id" => $id]); $this->language($page); } public function addAdmin($text) { goto TI28X; gAOa0: $admins[] = $admin; goto QY9GW; ItDSW: K6tWC: goto pk3sm; QY9GW: $this->setSetting("admins", implode(",", $admins)); goto ItDSW; TI28X: if (!($admin = (int) trim($text))) { goto K6tWC; } goto iCKzh; iCKzh: $admins = $this->getAdmins(); goto gAOa0; pk3sm: $this->admins(); goto WRK1t; WRK1t: } public function delAdmin($admin) { goto XVPt_; XVPt_: $admins = $this->getAdmins(); goto NYCZc; BHBrd: $this->admins(); goto L30A0; NYCZc: $admins = array_diff($admins, [$admin]); goto fNs4u; fNs4u: $this->setSetting("admins", implode(",", $admins)); goto BHBrd; L30A0: } public function admins() { goto nEvJn; RUeJ9: qUhBq: goto jdP6V; jdP6V: WkjWZ: goto h69fP; nEvJn: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter id_addAdmin"]]; goto NQeLt; k1DPC: foreach (array_filter(explode(",", $admins)) as $k => $v) { $data[] = [["text" => $this->i18n("delete") . ": {$v}", "callback_data" => "/delAdmin {$v}"]]; mqY5D: } goto RUeJ9; NQeLt: if (!($admins = $this->getSetting("admins"))) { goto WkjWZ; } goto k1DPC; BPUEe: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", []), $data ?: false); goto w_3md; h69fP: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto BPUEe; w_3md: } public function domain() { goto f3Y3k; q_3Jq: if (!(file_exists($this->N3qeV) && $this->expireCert())) { goto RckjM; } goto bC2XG; z21T4: $data[] = [["text" => $this->i18n("setCertificate certbot"), "callback_data" => "/certbot"]]; goto hkXK0; U_m3D: $text[] = "ssl: " . $ssl; goto AM0uD; TIQw6: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto l7En7; W4MgG: l0Jr4: goto TIQw6; Ww15D: $data[] = [["text" => $this->i18n("setDomain"), "callback_data" => "/sendReply enter domain_setDomain"]]; goto taM85; l7En7: $this->uors($text, $data); goto HcuS0; hkXK0: $data[] = [["text" => $this->i18n("setCertificate self"), "callback_data" => "/sendReply attach bundle_certbot_1"]]; goto W4MgG; AM0uD: RckjM: goto z21T4; bC2XG: $ssl = $this->getTime($this->expireCert() - time()); goto U_m3D; MRLB8: $text[] = "domain: " . $domain; goto q_3Jq; f3Y3k: $text = []; goto Ww15D; taM85: if (!($domain = $this->getSetting("domain"))) { goto l0Jr4; } goto MRLB8; HcuS0: } public function setDomain($domain) { $this->setSetting("domain", trim($domain) ?: ''); $this->domain(); } public function certbot($null = false, $self = false) { goto RxG26; RV9HZ: return $this->uors(["error file reading"]); goto dHp9G; VGZ2b: JkPY3: goto nqVlI; dHp9G: goto RZw_l; goto psKE8; kb3NZ: goto rN60h; goto VGZ2b; WtYkV: RZw_l: goto a3qtI; N5BV6: $domain = $this->getSetting("domain"); goto JsRn0; LIdtC: return $this->uors($out); goto kb3NZ; Pl2Ek: $this->unitConf(curl_file_create($this->N3qeV), key: "certificates/certbot"); goto AncjO; RxG26: if (!empty($self)) { goto NnTBS; } goto N5BV6; ASZiC: if ($code == 0) { goto JkPY3; } goto LIdtC; JsRn0: exec("certbot certonly --force-renew --preferred-chain 'ISRG Root X1' -n --agree-tos --email mail@{$domain} -d {$domain} --webroot -w /certs/ --logs-dir /logs", $out, $code); goto ASZiC; wBRxT: $this->domain(); goto g1keY; psKE8: MUesZ: goto XEUH5; od5tm: goto RuzgV; goto sNvvq; NTw0F: $r = $this->request("getFile", ["file_id" => $this->cZwKZ["file_id"]]); goto rdEA3; sNvvq: NnTBS: goto NTw0F; mheC0: $this->unitConf(["bundle", "certbot"], "config/listeners/*:8443/tls/certificate"); goto WtYkV; a3qtI: RuzgV: goto wBRxT; rdEA3: if (!empty($r["result"]["file_path"])) { goto MUesZ; } goto RV9HZ; lxy5y: $this->unitConf(curl_file_create($this->N3qeV), key: "certificates/certbot"); goto mheC0; XEUH5: file_put_contents($this->N3qeV, file_get_contents($this->file . $r["result"]["file_path"])); goto lxy5y; xhhmR: rN60h: goto od5tm; nqVlI: file_put_contents($this->N3qeV, file_get_contents("/etc/letsencrypt/live/{$domain}/fullchain.pem") . file_get_contents("/etc/letsencrypt/live/{$domain}/privkey.pem")); goto Pl2Ek; AncjO: $this->unitConf(["bundle", "certbot"], "config/listeners/*:8443/tls/certificate"); goto xhhmR; g1keY: } public function expireCert() { $c = openssl_x509_read(file_get_contents($this->N3qeV)); return openssl_x509_parse($c)["validTo_time_t"] ?: false; } public function config() { goto J_4Mo; pYj__: $data[] = [["text" => $this->i18n("expireNotify") . ($expire ? ": " . $this->getTime($expire, 0) : ''), "callback_data" => "/sendReply enter time_updateExpireNotify"], ["text" => $this->i18n("expireDelete") . ($delete ? ": " . $this->getTime($delete, 0) : ''), "callback_data" => "/sendReply enter time_updateExpireDelete"]]; goto Wankl; DhCQ4: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpConfig"]]; goto k1jxF; HUyf5: Bipm0: goto oK20i; Srvv9: $data[] = [["text" => $this->i18n("domain") . ($domain ? ": {$domain}" . ($ssl ? " (ssl: {$ssl})" : '') : ''), "callback_data" => "/domain"]]; goto KYUNg; uKF2T: $data[] = [["text" => $this->i18n("nameConfigFile"), "callback_data" => "/nameConfig"], ["text" => $this->i18n("defaultDNS") . ": " . ($this->getSetting("dns") ?: "1.1.1.1, 8.8.8.8"), "callback_data" => "/sendReply send dns separate by commas_updateSetting_dns_" . __FUNCTION__]]; goto vGeUg; ik_pG: $expire = $this->getSetting("expireNotify"); goto bhlYH; VVLMx: $data[] = [["text" => $this->i18n("debug") . ": " . ($this->getSetting("debug") ? "on" : "off"), "callback_data" => "/debug"], ["text" => "testMenuCommands", "callback_data" => "/testCommands"], ["text" => $this->i18n("logs"), "callback_data" => "/logs"]]; goto ZCz8Q; bhlYH: $delete = $this->getSetting("expireDelete"); goto M9e21; ZCz8Q: $data[] = [["text" => $this->i18n("export"), "callback_data" => "/export"], ["text" => $this->i18n("backup") . ": " . (implode(" / ", explode("/", $this->getSetting("backup"))) ?: "off"), "callback_data" => "/sendReply enter like 1 day/00:00_setBackup"], ["text" => $this->i18n("import"), "callback_data" => "/sendReply send import_import"]]; goto DhCQ4; BCChD: $data[] = [["text" => $this->i18n("setNotifyText"), "callback_data" => "/setNotifyText"], ["text" => $this->i18n("setLimitOrders") . (($d = $this->getSetting("orderslimit")) ? ": {$d}" : ''), "callback_data" => "/sendReply enter number_setLimitOrders"]]; goto pYj__; oey0k: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", []), $data ?: false); goto VTPYo; J_4Mo: $chat = $this->getSetting("chat"); goto ik_pG; KYUNg: $data[] = [["text" => $this->i18n("payments"), "callback_data" => "/payments"], ["text" => $this->i18n("expirePay") . ": " . ($pay ? $this->getTime($pay) : $this->getTime(3600)), "callback_data" => "/sendReply enter time_updateExpirePay"]]; goto B3oKO; vGeUg: $data[] = [["text" => $this->i18n("linkPreview") . ": " . ($this->getSetting("linkPreview") ? "on" : "off"), "callback_data" => "/linkPreview"], ["text" => $this->i18n("time format") . ($this->getSetting("timeformat") ? ": " . $this->getSetting("timeformat") : ''), "callback_data" => "/sendReply enter format_updateSetting_timeformat_" . __FUNCTION__]]; goto VVLMx; igzC6: $data[] = [["text" => $this->i18n("setMenuDescription"), "callback_data" => "/setMenuDescription"], ["text" => $this->i18n("setTelegramMenuDescription"), "callback_data" => "/sendReply enter description_setTelegramMenuDescription"]]; goto BCChD; oOlEC: $domain = $this->getSetting("domain"); goto wA3JW; GreDm: $ssl = $this->getTime($this->expireCert() - time()); goto HUyf5; M9e21: $pay = $this->getSetting("expirePay"); goto oOlEC; Wankl: $data[] = [["text" => $this->i18n("announcement"), "callback_data" => "/sendReply enter announcement_announcement"], ["text" => $this->i18n("setSupportGroup") . (($s = $this->getSetting("support")) ? ": {$s}" : ''), "callback_data" => "/sendReply enter id chat_updateSetting_support_" . __FUNCTION__]]; goto uKF2T; k1jxF: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto oey0k; wA3JW: if (!(file_exists($this->N3qeV) && $this->expireCert())) { goto Bipm0; } goto GreDm; oK20i: $data[] = [["text" => $this->i18n("admins"), "callback_data" => "/admins"]]; goto Srvv9; B3oKO: $data[] = [["text" => $this->i18n("language"), "callback_data" => "/language"], ["text" => $this->i18n("setchat") . ($chat ? ": {$chat}" : ''), "callback_data" => "/sendReply enter group_updateSetting_chat_" . __FUNCTION__]]; goto igzC6; VTPYo: } public function linkPreview() { $this->setSetting("linkPreview", !$this->getSetting("linkPreview")); $this->config(); } public function payments() { goto HAhxy; kuZBd: $wallet = $this->getSetting("@wallet"); goto t_rbQ; t_rbQ: $crypto = $this->getSetting("@crypto"); goto ALtNP; ALtNP: $data[] = [["text" => $this->i18n("yoomoney"), "callback_data" => "/yoomoney"]]; goto ah13P; HAhxy: $token = $this->getSetting("token"); goto kuZBd; MBWhp: $data[] = [["text" => $this->i18n("crypto") . ($crypto ? ": {$crypto}" : ''), "callback_data" => "/crypto"]]; goto hMl53; twfh0: $data[] = [["text" => $this->i18n("setTelegramPayToken") . ($token ? ": {$token}" : ''), "callback_data" => "/sendReply enter token_updateSetting_token_" . __FUNCTION__]]; goto MBWhp; ah13P: $data[] = [["text" => $this->i18n("wallet") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/wallet"]]; goto twfh0; f7IO3: $data[] = [["text" => $this->i18n("showwebhook") . ": " . ($this->getSetting("showwebhook") ? "on" : "off"), "callback_data" => "/showwebhook"]]; goto iKzGB; FwZfG: $this->uors(data: $data); goto HWYu7; iKzGB: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto FwZfG; hMl53: $data[] = [["text" => $this->i18n("cryptomus"), "callback_data" => "/cryptomus"]]; goto f7IO3; HWYu7: } public function nameConfig() { goto CnaWB; fvLUV: $text[] = "~bot~ \320\xb8\xd0\274\xd1\217 \320\261\xd0\xbe\xd1\202\320\260"; goto AgchW; mYbq_: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", $text ?: ["..."]), $data ?: false); goto uJvas; Y1qxa: $data[] = [["text" => $this->i18n("template"), "callback_data" => "/sendReply set template_updateSetting_temp_" . __FUNCTION__]]; goto NB90L; M5JR1: $text[] = "\321\x81\320\270\320\xbc\320\xb2\320\276\xd0\xbb \320\267\320\xb0\xd0\xbc\320\265\xd0\xbd\321\x8b \320\275\320\265\xd1\x81\xd1\202\xd0\260\320\xbd\xd0\264\xd0\xb0\321\200\321\202\320\xbd\320\276\320\xb3\xd0\xbe \321\201\xd0\xb8\xd0\274\320\262\320\xbe\xd0\273\320\xb0: {$this->getSetting("repl")}"; goto Npeds; swz2h: $text[] = "~port~ \320\277\xd0\xbe\321\x80\xd1\x82"; goto fvLUV; CnaWB: $text[] = "~ip~ \xd0\xb4\xd0\xbe\xd0\xbc\320\xb5\320\xbd \xd0\xb8\xd0\xbb\320\xb8 \xd0\260\xd0\271\320\xbf\320\xb8 \321\201\xd0\xb5\xd1\200\xd0\xb2\xd0\265\xd1\x80\xd0\xb0"; goto swz2h; NB90L: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto mYbq_; AgchW: $text[] = "~id~ \xd0\260\320\271\xd0\xb4\xd0\xb8 \xd0\xba\320\276\320\275\321\204\320\270\320\xb3\320\260"; goto M5JR1; R0S52: $data[] = [["text" => $this->i18n("replacement"), "callback_data" => "/sendReply send replacement symbol_updateSetting_repl_" . __FUNCTION__]]; goto Y1qxa; Npeds: $text[] = "\xd1\210\xd0\260\320\261\xd0\xbb\xd0\276\320\275: {$this->getSetting("temp")}"; goto R0S52; uJvas: } public function logs() { goto W3Vz4; qn0DZ: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto u3bMH; W3Vz4: foreach (scandir("/logs/") as $k => $v) { goto I2CEo; Z2lT0: GjP02: goto b0lmd; v6_I8: $size = filesize("/logs/{$v}"); goto n5UC9; n5UC9: $data[] = [["text" => "{$v} ({$size})", "callback_data" => "/getLog {$k}"], ["text" => $this->i18n("clear"), "callback_data" => "/clearLog {$k}"]]; goto Z2lT0; b0lmd: hbpla: goto v9JrI; I2CEo: if (preg_match("~^\.~", $v)) { goto GjP02; } goto v6_I8; v9JrI: } goto OUDh5; u3bMH: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", ["..."]), $data ?: false); goto x1411; OUDh5: jwX7M: goto qn0DZ; x1411: } public function getLog($i) { goto RATTL; Vl22j: pbP94: goto xF15c; RATTL: foreach (scandir("/logs/") as $k => $v) { goto C3tOB; C3tOB: if (preg_match("~^\.~", $v)) { goto XzM3f; } goto IjgIX; k0Fq2: Uhx8B: goto T87z1; qfD4q: XzM3f: goto k0Fq2; IjgIX: $logs[$k] = $v; goto qfD4q; T87z1: } goto Vl22j; xF15c: $this->sendFile($this->cZwKZ["chat"], curl_file_create("/logs/{$logs[$i]}")); goto zpV4K; zpV4K: } public function clearLog($i) { goto lUobS; oK8kM: kSz4g: goto TWVZA; TWVZA: $this->logs(); goto b3D2F; lUobS: foreach (scandir("/logs/") as $k => $v) { goto b5Uvh; Osm4j: Avp5H: goto JYAb0; b5Uvh: if (!($i == $k)) { goto epz5z; } goto zOsIP; cp3UG: goto kSz4g; goto xGM0n; xGM0n: epz5z: goto Osm4j; zOsIP: file_put_contents("/logs/{$v}", ''); goto cp3UG; JYAb0: } goto oK8kM; b3D2F: } public function testCommands() { $this->send($this->cZwKZ["chat"], var_export($this->getcommands(), true)); $this->send($this->cZwKZ["chat"], var_export($this->getcommands(scope: ["type" => "chat", "chat_id" => $this->jMTmt["admin"]]), true)); } public function helpConfig() { goto yE3rn; fCzxU: $text[] = "<b><i>{$this->i18n("import")}</i></b> - \320\xb8\xd0\xbc\320\277\xd0\xbe\321\x80\321\x82 sql"; goto Zzzpt; WOn8E: $text[] = "<b><i>{$this->i18n("admins")}</i></b> - \320\264\xd0\xbe\320\261\xd0\260\320\262\xd0\270\321\202\xd1\214/\321\203\xd0\264\320\260\xd0\xbb\xd0\xb8\321\202\xd1\x8c \xd0\xb4\320\276\320\xbf\320\276\xd0\xbb\320\xbd\xd0\270\321\202\320\265\xd0\xbb\xd1\x8c\xd0\xbd\321\213\xd1\x85 \320\xb0\320\xb4\xd0\274\xd0\270\320\275\xd0\xbe\320\262"; goto ALI3z; llq8J: $text[] = "<b><i>{$this->i18n("backup")}</i></b> - \320\275\320\xb0\321\x81\xd1\x82\xd1\200\320\xbe\320\xb9\xd0\xba\xd0\260 \320\xb1\321\215\xd0\272\xd0\260\320\277\xd0\260 \320\x91\320\x94 \xd0\xbf\xd0\xbe \xd1\200\xd0\260\xd1\x81\xd0\277\320\270\321\201\xd0\xb0\320\275\320\xb8\xd1\216"; goto dkDEP; e3jbp: $text[] = "<b><i>{$this->i18n("export")}</i></b> - \320\265\xd0\xba\xd1\201\320\277\xd0\xbe\xd1\200\xd1\x82 \320\262\xd1\x81\320\265\xd1\x85 \xd0\xbd\320\260\321\201\xd1\202\xd1\200\xd0\xbe\320\xb5\xd0\272 \320\262 \xd0\262\320\270\xd0\xb4\320\xb5 \320\264\320\260\xd0\xbc\320\277\320\xb0 \320\221\xd0\224"; goto fCzxU; OPRvX: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", $text ?: []), $data ?: false); goto wf0Xk; Zzzpt: $text[] = "<b><i>{$this->i18n("defaultDNS")}</i></b> - \xd1\x83\xd1\201\xd1\x82\xd0\260\320\xbd\xd0\xbe\xd0\xb2\xd0\xba\320\xb0 \320\xb4\320\265\321\204\320\xbe\xd0\xbb\xd1\202\xd0\275\xd0\276\xd0\263\xd0\276 \xd0\264\xd0\xbd\xd1\201, \xd0\xbf\xd0\xbe\320\264\321\x81\321\x82\xd0\260\320\262\320\xbb\xd1\x8f\xd0\xb5\321\x82\321\x81\321\217 \320\xb2 \320\xba\320\276\xd0\275\xd1\204\xd0\xb8\xd0\263 \320\277\320\xbe\xd0\xbb\xd1\214\320\xb7\xd0\276\xd0\xb2\xd0\xb0\321\x82\320\265\320\273\xd1\216"; goto wOcp3; dkDEP: $text[] = "<b><i>{$this->i18n("debug")}</i></b> - \321\200\320\xb5\xd0\xb6\320\xb8\xd0\xbc \320\276\321\x82\320\273\xd0\260\320\264\xd0\xba\320\270(\xd0\264\xd0\xbb\xd1\217 \xd1\200\320\xb0\320\267\xd1\x80\320\260\xd0\xb1\320\xbe\321\x82\xd1\207\xd0\xb8\320\xba\xd0\260)"; goto OPRvX; SjIHo: $text[] = "<b><i>{$this->i18n("setNotifyText")}</i></b> - \320\275\xd0\xb0\xd1\x81\321\202\321\x80\xd0\276\xd0\271\xd0\xba\xd0\xb0 \321\x82\xd0\265\xd0\272\321\x81\xd1\202\xd0\xb0 \xd1\203\xd0\262\xd0\265\xd0\264\320\xbe\320\274\320\xbb\xd0\265\320\275\320\xb8\320\xb9 \xd0\277\xd0\276\320\273\321\214\xd0\xb7\320\xbe\xd0\262\xd0\xb0\321\x82\320\xb5\320\xbb\xd1\x8e \320\xbf\xd1\x80\320\xb8 \321\x81\xd0\xbe\xd0\261\321\x8b\xd1\x82\xd0\270\xd1\217\321\205 \321\201\320\276\320\267\320\264\xd0\260\xd0\xbd\xd0\270\321\x8f/\321\x83\320\264\320\260\xd0\xbb\320\xb5\320\xbd\xd0\xb8\321\x8f/\320\277\321\200\320\276\320\264\xd0\xbb\320\265\xd0\275\320\xb8\321\x8f \xd0\270 \321\x83\320\262\xd0\xb5\xd0\xb4\xd0\276\320\xbc\320\273\xd0\xb5\xd0\275\xd0\270\321\x8f \320\xbe \xd0\267\320\260\xd0\xba\xd0\xb0\xd0\275\xd1\x87\320\270\320\xb2\320\xb0\321\216\xd1\211\320\265\xd0\274\321\x81\321\x8f \xd1\x81\xd1\200\xd0\276\xd0\xba\320\265 \320\272\320\xbe\xd0\275\321\x84\320\270\320\xb3\xd0\260"; goto Go0th; yE3rn: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto h7xbx; CnZWt: $text[] = "<b><i>{$this->i18n("setchat")}</i></b> - \321\203\321\x81\xd1\x82\xd0\xb0\320\275\320\xbe\320\xb2\320\270\321\202\xd1\214 \xd1\202\xd0\265\320\xba\xd1\x81\321\x82(\321\201\321\201\321\213\320\273\xd0\xba\320\260 \xd0\xbd\xd0\260\320\277\321\x80\xd0\xb8\320\274\xd0\265\xd1\200), \320\261\321\203\320\264\xd0\xb5\321\x82 \xd0\276\321\202\320\276\xd0\261\xd1\x80\320\xb0\320\266\320\xb0\xd1\x82\321\x8c\xd1\201\321\x8f \320\262\xd0\276 \320\xb2\321\x81\320\xb5\321\205 \xd0\274\xd0\265\320\xbd\321\x8e \xd0\277\320\276\xd0\xbb\xd1\x8c\xd0\xb7\320\xbe\xd0\xb2\320\xb0\321\x82\xd0\265\320\xbb\321\x8f \320\xbf\xd0\xb5\321\x80\320\xb2\xd0\xbe\xd0\xb9 \xd1\201\321\x82\321\200\320\xbe\xd1\x87\320\xba\xd0\276\320\271"; goto ts8QI; eiiVR: $text[] = "<b><i>{$this->i18n("setMenuDescription")}</i></b> - \320\275\xd0\260\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\320\272\320\xb0 \321\x82\xd0\265\xd0\xba\xd1\201\321\202\xd0\xb0 \320\274\320\xb5\xd0\xbd\321\216\xd1\210\xd0\xb5\xd0\xba \320\xbf\xd0\xbe\320\273\xd1\x8c\320\xb7\320\276\320\262\320\xb0\321\x82\320\xb5\xd0\273\xd1\x8f"; goto nBIFc; h7xbx: $text[] = "\xd0\x9e\320\277\xd0\270\xd1\x81\320\260\320\275\320\xb8\xd0\xb5 \320\xba\xd0\275\xd0\xbe\320\277\320\276\xd0\xba \321\200\320\260\320\267\320\264\xd0\xb5\xd0\xbb\320\xb0:"; goto WOn8E; Go0th: $text[] = "<b><i>{$this->i18n("expireNotify")}</i></b> - \xd0\267\xd0\xb0\xd0\xb4\xd0\260\xd1\x82\xd1\x8c \xd0\262\xd1\200\320\265\xd0\xbc\321\217 \320\267\320\xb0 \320\272\xd0\xbe\321\202\xd0\xbe\xd1\200\320\xbe\xd0\265 \320\xb1\xd0\xbe\xd1\202 \xd0\xb1\321\x83\320\xb4\xd0\xb5\xd1\x82 \321\203\xd0\262\xd0\265\xd0\264\320\276\320\274\320\273\321\x8f\321\x82\xd1\x8c \xd0\xbf\320\276\xd0\273\xd1\214\xd0\267\xd0\276\xd0\xb2\xd0\xb0\321\202\320\265\320\xbb\321\x8f \xd1\x87\321\x82\320\276 \xd0\272\320\276\xd0\xbd\xd1\204\xd0\270\xd0\xb3 \xd1\201\xd0\xba\xd0\xbe\321\200\320\xbe \xd0\xbf\321\200\xd0\265\320\272\xd1\200\320\260\xd1\202\xd0\xb8\xd1\x82 \321\200\xd0\260\320\xb1\xd0\xbe\321\x82\xd0\xb0\xd1\202\321\214"; goto e3jbp; wOcp3: $text[] = "<b><i>{$this->i18n("announcement")}</i></b> - \xd1\200\xd0\260\xd1\x81\xd1\x81\xd1\x8b\xd0\273\320\272\xd0\260 \xd1\201\xd0\276\xd0\276\xd0\xb1\321\211\320\265\xd0\275\xd0\xb8\xd1\217 \320\262\xd1\201\320\xb5\xd0\274 \320\xba\320\xbb\xd0\270\xd0\xb5\320\xbd\xd1\202\xd0\260\320\xbc \xd0\xb1\320\xbe\321\x82\320\260"; goto llq8J; ts8QI: $text[] = "<b><i>{$this->i18n("yoomoney")}</i></b> - \xd0\275\xd0\xb0\321\x81\321\202\xd1\x80\xd0\276\320\271\xd0\xba\xd0\xb0 \xd1\200\320\265\xd0\xba\xd0\xb2\320\270\320\267\xd0\xb8\321\x82\xd0\xbe\xd0\xb2 yoomoney(\xd0\xb4\320\xbe\320\275\320\xb0\321\x82)"; goto T9lw5; nBIFc: $text[] = "<b><i>{$this->i18n("setTelegramMenuDescription")}</i></b> - \320\xbd\320\260\xd1\x81\321\202\xd1\x80\320\xbe\xd0\271\320\xba\320\xb0 \320\276\xd0\xbf\320\xb8\321\201\xd0\xb0\320\275\320\xb8\321\217 \320\272\320\276\xd0\274\xd0\260\320\275\xd0\264\321\x8b /menu \xd0\262 \xd0\xba\xd0\273\320\xb8\xd0\265\xd0\xbd\321\x82\xd0\xb5 \xd1\202\320\xb5\xd0\273\xd0\265\xd0\263\321\200\xd0\xb0\xd0\xbc\xd0\260"; goto SjIHo; T9lw5: $text[] = "<b><i>{$this->i18n("setTelegramPayToken")}</i></b> - \321\x83\xd1\201\321\x82\320\260\xd0\275\xd0\276\320\xb2\xd0\xba\320\260 \xd1\202\320\xbe\320\272\320\265\320\xbd\xd0\260 \320\264\xd0\273\xd1\x8f \xd1\202\xd0\xb5\xd0\xbb\xd0\265\xd0\263\xd1\x80\xd0\xb0\320\xbc\xd0\xbf\321\x8d\320\271, \xd1\x82\xd0\276\xd0\xba\xd0\265\320\xbd \320\xb1\321\200\320\260\xd1\x82\xd1\x8c \320\xb2 \320\xbd\320\260\321\x81\321\x82\321\x80\xd0\276\320\271\320\xba\xd0\xb0\xd1\x85 \xd0\xb1\xd0\xbe\xd1\202\320\260 \xd1\x83 @BotFather"; goto eiiVR; ALI3z: $text[] = "<b><i>{$this->i18n("language")}</i></b> - \xd1\x83\321\201\xd1\x82\xd0\xb0\320\275\320\xbe\320\xb2\xd0\xb8\321\202\321\214 \320\277\xd0\265\321\x80\320\265\xd0\262\xd0\xbe\xd0\xb4 \xd0\xba\xd0\275\xd0\276\xd0\xbf\xd0\272\320\xb8"; goto CnZWt; wf0Xk: } public function helpConfigServer($id, $serverpage, $clientpage) { goto z3yNM; v2gyp: $text[] = "<b><i>{$this->i18n("limitsServer")}</i></b> - \xd0\xbc\320\260\xd0\xba\321\201\xd0\270\xd0\xbc\320\260\320\273\321\214\320\275\320\xbe\320\265 \320\xba\xd0\276\xd0\xbb-\320\xb2\320\xbe \xd0\272\320\276\xd0\275\xd1\x84\xd0\xb8\xd0\263\320\276\320\xb2 \xd0\xbd\xd0\xb0 \320\277\320\xbe\320\xbb\xd1\x8c\xd0\xb7\320\xbe\320\262\xd0\260\321\202\320\xb5\320\273\xd1\x8f"; goto rmgEu; zn8jZ: $text[] = "<b><i>{$this->i18n("testTime")}</i></b> - \xd1\203\321\201\321\x82\xd0\260\xd0\xbd\320\276\320\xb2\xd0\272\320\260 \320\262\321\x80\xd0\265\xd0\274\320\xb5\xd0\xbd\xd0\xb8 \xd0\xb4\320\265\xd0\271\321\201\xd1\202\320\262\320\270\321\217 \xd1\x82\320\xb5\xd1\x81\321\202\320\xbe\xd0\xb2\xd0\276\320\263\320\xbe \320\xba\320\xbe\320\xbd\321\204\320\270\xd0\263\xd0\xb0"; goto mjdLv; WaB6x: $text[] = "<b><i>{$this->i18n("ping")}</i></b> - \321\x81\320\xbe\xd0\xb7\xd0\264\320\xb0\xd1\201\321\202 \xd0\267\320\260\320\277\xd0\xb8\321\x81\321\x8c, \xd0\275\320\xb0 \xd0\xba\xd0\276\xd1\202\xd0\276\xd1\x80\xd1\x83\321\x8e \xd0\xb4\xd0\276\xd0\273\320\xb6\320\xbd\xd0\260 \320\xbe\321\202\321\200\320\265\320\xb0\320\xb3\xd0\270\xd1\200\320\276\xd0\262\xd0\xb0\xd1\202\xd1\214 \320\275\320\276\xd0\xb4\320\260 \320\xb2 \321\x80\320\xb0\xd0\274\320\xba\xd0\260\321\x85 \321\x81\320\xb8\xd0\xbd\xd1\205\xd1\200\320\276\xd0\xbd\320\xb8\xd0\267\320\260\xd1\x86\xd0\270\320\270"; goto REjAB; suE32: $text[] = "<b><i>{$this->i18n("delete")}</i></b> - \321\x83\xd0\264\320\xb0\320\xbb\xd0\xb8\xd1\x82\xd1\214 \320\275\xd0\276\320\264\321\x83. \xd0\265\321\201\320\273\xd0\xb8 \320\275\xd0\xbe\xd0\264\xd0\260 \321\200\xd0\260\xd0\xb1\xd0\276\xd1\207\320\260\321\x8f, \321\202\xd0\xbe \320\xbe\320\xbd\xd0\260 \xd0\277\320\xb5\xd1\x80\xd0\xb5\320\xb7\xd0\xb0\xd0\277\xd0\xb8\xd1\x88\xd0\xb5\xd1\x82 \xd1\201\xd0\xb5\320\xb1\321\x8f \xd0\xb2 \xd0\xb1\320\xb0\321\210\320\275\320\xb5"; goto DKGpw; v60NE: $text[] = "<b><i>{$this->i18n("price")}</i></b> - \321\x83\xd1\201\321\x82\xd0\260\xd0\275\320\276\320\262\xd0\xba\xd0\260 \xd1\206\xd0\265\xd0\xbd \xd0\xb4\xd0\273\xd1\217 \xd0\275\320\xbe\xd0\xb4\321\x8b"; goto zn8jZ; z3yNM: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]]; goto gJDPR; rmgEu: $text[] = "<b><i>{$this->i18n("sleepServer")}</i></b> - \320\xbf\xd0\xb5\xd1\x80\xd0\270\xd0\276\xd0\xb4 \321\201\xd0\270\xd0\xbd\321\x85\321\200\xd0\xbe\320\xbd\xd0\xb8\xd0\xb7\320\xb0\xd1\206\xd0\270\xd0\xb8 \xd0\275\320\xbe\xd0\xb4\xd1\213 \321\201 \xd0\xb1\320\xb0\xd1\210\320\275\320\265\320\xb9, \320\262 \321\x81\320\265\320\xba\321\x83\xd0\xbd\320\xb4\xd0\xb0\321\205"; goto WaB6x; DKGpw: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
\xa", $text ?: []), $data ?: false); goto siSgb; REjAB: $text[] = "<b><i>{$this->i18n("switchPay")}</i></b> - \xd0\xb2\xd0\272\320\273\321\x8e\321\x87\xd0\270\xd1\x82\xd1\214/\xd0\276\xd1\x82\320\272\xd0\xbb\321\x8e\321\207\320\270\321\202\xd1\214 \320\xbe\320\xbf\320\273\320\260\321\x82\xd1\x83 \xd0\275\320\260 \320\275\320\xbe\xd0\xb4\320\265 \xd0\264\320\273\xd1\217 \xd0\xbf\xd0\276\320\273\xd1\x8c\320\267\xd0\276\xd0\xb2\320\260\321\x82\320\265\xd0\273\xd0\xb5\320\xb9"; goto suE32; Bze4d: $text[] = "<b><i>{$this->i18n("nameServer")}</i></b> - \320\275\320\xb0\xd1\x81\xd1\x82\xd1\200\320\xbe\320\271\320\xba\320\xb0 \320\xb8\320\274\320\xb5\xd0\275\320\xb8 \320\275\320\xbe\xd0\xb4\321\213, \xd0\xbe\xd1\202\320\xbe\320\261\321\200\320\260\320\266\xd0\xb0\xd0\xb5\xd1\x82\321\201\xd1\217 \xd1\x82\320\xb0\320\xba\320\xb6\xd0\xb5 \320\270 \xd0\xb4\320\xbb\321\217 \xd0\277\xd0\276\xd0\xbb\xd1\214\320\267\xd0\xbe\320\xb2\320\xb0\xd1\x82\320\xb5\320\xbb\321\x8f \xd0\xbf\321\200\320\xb8 \xd0\262\xd1\x8b\xd0\261\320\xbe\xd1\200\320\265 \xd1\201\320\265\321\x80\xd0\xb2\xd0\265\321\200\320\xb0"; goto v60NE; mjdLv: $text[] = "<b><i>{$this->i18n("torrent")}</i></b> - \xd0\262\320\xba\xd0\273\321\x8e\321\207\xd0\xb5\320\275\xd0\270\xd0\xb5/\xd0\276\xd1\202\xd0\272\320\273\321\x8e\321\207\320\xb5\xd0\275\320\xb8\xd0\xb5 \xd1\202\320\276\xd1\x80\xd1\x80\xd0\265\xd0\275\xd1\x82\xd0\xbe\320\262 \xd0\xb4\320\xbb\xd1\x8f \320\275\320\276\xd0\xb4\xd1\213 (\xd0\xbe\xd1\202\xd0\xba\xd0\xbb\xd1\216\xd1\207\320\260\320\xb5\xd1\202 \xd0\275\xd0\265 100%)"; goto isOgr; gJDPR: $text[] = "\320\236\xd0\xbf\320\xb8\xd1\201\xd0\xb0\320\275\xd0\xb8\320\265 \xd0\xba\xd0\275\xd0\xbe\320\277\xd0\xbe\xd0\272 \xd1\200\320\xb0\320\xb7\xd0\xb4\xd0\265\xd0\xbb\xd0\260:"; goto ApApA; ApApA: $text[] = "<b><i>{$this->i18n("setDomain")}</i></b> - \321\203\321\201\321\x82\xd0\260\320\275\320\276\xd0\262\xd0\270\xd1\x82\xd1\214 \320\xb4\320\276\xd0\xbc\320\265\xd0\xbd, \xd0\261\xd1\203\xd0\264\320\xb5\321\x82 \xd0\xbf\xd1\x80\320\276\xd0\xbf\xd0\270\321\x81\321\213\320\262\xd0\xb0\xd1\x82\xd1\214\321\x81\321\217 \320\262 \xd0\xba\xd0\276\xd0\xbd\321\x84\320\270\xd0\xb3\320\265 \xd0\xb2\320\xbc\320\xb5\xd1\x81\321\202\xd0\xbe \xd0\xb0\xd0\xb9\320\xbf\xd0\xb8 \xd0\xb2 \320\xb3\xd1\200\320\xb0\xd1\x84\xd0\xb5 Endpoint. \xd0\x95\xd1\x81\320\xbb\320\270 \320\xbd\xd0\xbe\xd0\xb4\xd0\xb0 \xd0\xbf\320\265\321\200\xd0\265\320\xb5\xd0\264\xd0\xb5\321\x82 \xd0\275\xd0\260 \xd0\xb4\321\x80\xd1\203\320\263\320\xbe\xd0\xb9 \320\260\320\271\xd0\277\320\270, \321\x82\xd0\xbe \xd0\xbd\xd0\xb5 \320\xbd\xd1\203\320\266\320\275\320\xbe \320\261\321\x83\xd0\264\320\265\xd1\202 \320\267\xd0\xb0\xd0\xbd\xd0\xbe\320\xb2\320\xbe \xd1\200\320\260\320\xb7\320\xb4\xd0\xb0\xd0\262\320\xb0\xd1\x82\xd1\214 \320\xba\xd0\xbe\xd0\275\xd1\204\320\xb8\xd0\xb3\xd0\xb8, \xd0\264\320\xbe\xd1\201\321\x82\xd0\xb0\xd1\x82\320\276\321\207\xd0\xbd\xd0\276 \320\261\xd1\x83\320\xb4\320\265\xd1\x82 \xd0\277\320\xbe\320\xbc\320\265\320\xbd\xd1\217\xd1\202\xd1\x8c \xd0\x90-\xd0\267\xd0\xb0\320\277\320\xb8\321\x81\xd1\214 \xd0\xb4\320\xbe\xd0\274\320\xb5\xd0\xbd\xd1\203"; goto hwDYg; hwDYg: $text[] = "<b><i>{$this->i18n("exportServer")}</i></b> - \320\xb2\xd1\213\xd0\264\xd0\260\320\265\xd1\x82 \320\xb0\321\x80\xd1\205\320\270\320\xb2 \xd0\xbd\320\276\xd0\264\321\x8b \321\201 \321\x83\xd0\266\xd0\265 \xd0\xbd\320\260\xd1\x81\xd1\x82\321\x80\320\xbe\320\265\320\xbd\xd0\275\321\213\320\xbc wg0.conf, \320\275\xd0\265\xd0\xbe\xd0\xb1\xd1\x85\xd0\276\320\xb4\320\270\320\xbc\xd0\276 \320\xb5\xd1\201\xd0\xbb\xd0\270 \320\275\xd0\276\320\xb4\320\xb0 \xd0\xbf\xd0\xb5\321\x80\320\265\320\265\xd0\267\320\266\320\260\xd0\xb5\321\x82 \xd0\xbd\320\xb0 \320\xb4\321\200\321\203\320\xb3\xd0\276\320\271 \321\201\xd0\265\xd1\x80\xd0\262\xd0\xb0\xd0\xba(\xd0\xb0\xd0\271\xd0\277\xd0\270)"; goto Bze4d; isOgr: $text[] = "<b><i>{$this->i18n("cellsServer")}</i></b> - \xd0\xbc\xd0\xb0\320\272\321\201\xd0\xb8\xd0\xbc\xd0\xb0\320\xbb\321\214\xd0\xbd\xd0\276\xd0\265 \320\272\320\xbe\xd0\xbb-\320\xb2\320\276 \320\xba\320\xbe\xd0\xbd\xd1\x84\xd0\270\320\263\xd0\xbe\xd0\xb2 \xd0\264\320\xbe\xd1\201\xd1\x82\321\x83\320\277\xd0\275\321\213\xd1\x85 \320\272 \320\277\xd0\xbe\320\272\321\x83\xd0\xbf\xd0\xba\xd0\265"; goto v2gyp; siSgb: } public function setBackup($text) { goto KUG1M; M29nu: $this->setSetting("pinbackup", ''); goto nbWI3; RVh3d: $this->config(); goto Y9Ji7; jwpmN: $this->setSetting("backup", $text); goto qLcSA; nbWI3: OG5kw: goto RVh3d; scz45: $this->unpin($this->jMTmt["admin"], $pin); goto M29nu; fXIFZ: goto zJuTP; goto uJhif; cRBGX: if (empty($text)) { goto xB_1u; } goto PPxsp; KUG1M: $text = trim($text); goto cRBGX; F08Ze: xB_1u: goto w82VS; PPxsp: if (preg_match("~(\d+\s\w+)(?:\s+)?/(?:\s+)?(\d{2}:\d{2})~", $text, $m)) { goto Vte0l; } goto GxULc; l3gkp: $start = $m[2]; goto jwpmN; uJhif: Vte0l: goto wwTok; RJiqR: if (!($pin = explode("/", $this->getSetting("pinbackup"))[0])) { goto OG5kw; } goto scz45; wwTok: $period = $m[1]; goto l3gkp; qLcSA: zJuTP: goto RJiqR; w82VS: $this->setSetting("backup", ''); goto fXIFZ; GxULc: goto zJuTP; goto F08Ze; Y9Ji7: } public function backup() { goto WVFqB; tMQio: if (!$time) { goto xmA5m; } goto Zzc9z; vf7Fe: if ($c - $start > 0 && $c - $start < 10) { goto LX5dZ; } goto XbLW8; WVFqB: $c = time(); goto LLDc2; lB70W: $this->pinBackup(); goto Di5jS; lNifb: mgjKB: goto QwgbK; JrO99: LX5dZ: goto ggTt5; XbLW8: goto mgjKB; goto SlU3s; X2UqT: $this->unpin($this->jMTmt["admin"], $pin); goto lB70W; t2vvs: $period = strtotime($m[1]) - $c; goto uGckE; Y61Ma: if ($last) { goto obh6j; } goto vf7Fe; b2wko: [$pin, $time] = explode("/", $last); goto Jfynx; ggTt5: $this->pinBackup(); goto lNifb; QwgbK: xmA5m: goto vaERh; Q4P1Z: TIk6W: goto meKh_; UDYI6: $last = $this->getSetting("pinbackup"); goto Y61Ma; LLDc2: $time = $this->getSetting("backup"); goto tMQio; Jfynx: if (!($c - $time >= $period)) { goto TIk6W; } goto X2UqT; uGckE: $start = strtotime($m[2]); goto UDYI6; Di5jS: return; goto Q4P1Z; SlU3s: obh6j: goto b2wko; meKh_: goto mgjKB; goto JrO99; Zzc9z: preg_match("~(\d+\s\w+)(?:\s+)?/(?:\s+)?(\d{2}:\d{2})~", $time, $m); goto t2vvs; vaERh: } public function pinBackup() { goto ViI6l; G5R0h: $this->pin($this->jMTmt["admin"], $pin); goto FCzWL; MQ79n: $this->setSetting("pinbackup", "{$pin}/" . time()); goto G5R0h; ViI6l: $pin = $this->export()["result"]["message_id"]; goto MQ79n; FCzWL: } public function announcement($text) { goto iBSob; baj22: unset($_SESSION["announcement"]); goto usQuM; CmQWv: $_SESSION["announcement"]["text"] = $this->send($this->cZwKZ["chat"], $text, button: $data, entities: $this->cZwKZ["entities"], withoutOffset: 1)["result"]; goto IfNdk; KBzkl: Vq3gy: goto CmQWv; usQuM: if (!$this->cZwKZ["photo"]) { goto Vq3gy; } goto lzb4Y; lzb4Y: $_SESSION["announcement"]["photo"] = $this->sendPhoto($this->cZwKZ["chat"], $this->cZwKZ["photo"][0]["file_id"])["result"]; goto KBzkl; iBSob: $data = [[["text" => $this->i18n("announcement"), "callback_data" => "/sendAnnouncement"]]]; goto baj22; IfNdk: } public function sendAnnouncement() { goto WJuG7; r8MwH: if (empty($_SESSION["announcement"]["photo"]["message_id"])) { goto xkW4X; } goto CfKqY; WJuG7: if (!empty($_SESSION["announcement"])) { goto VISbQ; } goto VBBin; mVktX: kXxJV: goto j022S; g1evw: $this->delete($this->cZwKZ["chat"], $_SESSION["announcement"]["text"]["message_id"]); goto i4zB8; HlWFA: goto kXxJV; goto GjHu5; z6or3: $message = $_SESSION["announcement"]["text"]["text"]; goto tVsiK; yEv3G: unset($_SESSION["announcement"]); goto mVktX; CfKqY: $this->delete($this->cZwKZ["chat"], $_SESSION["announcement"]["photo"]["message_id"]); goto gvrmK; gvrmK: xkW4X: goto dAOsX; nTwO_: foreach ($cl as $k => $v) { goto LBC3a; NXWQv: $this->sendPhoto($v, $photo, $message, entities: $entities); goto GpGy1; phDZa: ruGzC: goto VUBED; Q7g8J: $this->send($v, $message, entities: $entities); goto UtCvc; UtCvc: goto qOrEE; goto Gi0O_; LBC3a: if ($photo) { goto UtCX_; } goto Q7g8J; GpGy1: qOrEE: goto phDZa; Gi0O_: UtCX_: goto NXWQv; VUBED: } goto UlDbI; i4zB8: jKKwI: goto nTwO_; UlDbI: jXBiX: goto yEv3G; VBBin: $this->send($this->cZwKZ["chat"], "\xd0\264\320\xb0\320\275\320\275\321\213\xd0\265 \321\203\xd1\201\321\x82\xd0\260\321\x80\xd0\265\xd0\xbb\320\xb8"); goto HlWFA; tVsiK: $entities = $_SESSION["announcement"]["text"]["entities"]; goto ceefm; GjHu5: VISbQ: goto pxEJS; ceefm: $cl = array_merge([$this->jMTmt["admin"]], $this->sql("select tgid from clients union select tgid from orders", view: "column") ?: []); goto r8MwH; dAOsX: if (empty($_SESSION["announcement"]["text"]["message_id"])) { goto jKKwI; } goto g1evw; pxEJS: $photo = $_SESSION["announcement"]["photo"]["photo"][0]["file_id"]; goto z6or3; j022S: } public function setTelegramMenuDescription($text) { goto k6IQJ; wEinG: if (empty($text)) { goto FvuGd; } goto qssOD; Xfivi: L9TPu: goto yTtqs; GuzW1: $c = $this->getcommands(scope: $scope); goto ED7Nr; XTam2: x3lgX: goto UvxiJ; R8rIT: foreach ($c as $k => $v) { goto BgM3e; cBikb: qGQ4b: goto UAmYi; BgM3e: if (!($v["command"] == "menu")) { goto boeYa; } goto pQ9jV; pQ9jV: $c[$k]["description"] = $text; goto So596; So596: boeYa: goto cBikb; UAmYi: } goto Xfivi; V3RNo: FvuGd: goto DEJRt; qssOD: $this->setSetting("tlgrmmenu", $text); goto SR7zm; ZwxqK: $scope = ["type" => "chat", "chat_id" => $this->jMTmt["admin"]]; goto GuzW1; SR7zm: $c = $this->getcommands(); goto R8rIT; yTtqs: $this->setcommands(["commands" => $c]); goto ZwxqK; ED7Nr: foreach ($c as $k => $v) { goto oSGoQ; hmmzV: Hy1Bl: goto DCLHH; oSGoQ: if (!($v["command"] == "menu")) { goto Hy1Bl; } goto KIOrQ; DCLHH: FQjwf: goto heEWz; KIOrQ: $c[$k]["description"] = $text; goto hmmzV; heEWz: } goto XTam2; DEJRt: $this->config(); goto m6BsM; UvxiJ: $this->setcommands(["scope" => $scope, "commands" => $c]); goto V3RNo; k6IQJ: $text = trim($text); goto wEinG; m6BsM: } public function helpNotify() { goto zPAcl; V1Val: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/setNotifyText"]]; goto zbKId; zbKId: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto aqQok; zPAcl: $text[] = "<b><i>setNotifyExpire</i></b> - \xd1\203\320\xb2\xd0\265\320\xb4\xd0\xbe\320\274\xd0\273\xd0\xb5\320\xbd\xd0\270\xd0\xb5 \320\xbe\xd1\202\320\277\321\x80\320\260\xd0\262\xd0\273\xd1\217\xd1\216\xd1\211\xd0\265\xd0\265\321\x81\321\x8f \xd0\xb7\xd0\xb0 N \320\xb2\321\x80\xd0\265\xd0\274\320\xb5\320\275\320\270 \320\xb4\320\xbe \320\xbe\320\272\xd0\xbe\320\xbd\xd1\x87\xd0\260\xd0\275\320\270\321\217 \xd1\201\321\x80\xd0\276\320\xba\320\260 \320\xba\xd0\276\xd0\xbd\xd1\x84\320\270\xd0\263\320\260
<b><i>setNotifyCreate</i></b> - \xd1\x83\xd0\262\xd0\265\xd0\xb4\xd0\xbe\320\274\320\xbb\xd0\xb5\320\275\xd0\xb8\320\265 \xd0\xbe\xd1\x82\xd0\xbf\321\x80\320\xb0\xd0\262\xd0\273\321\217\xd1\x8e\xd1\211\xd0\265\320\265\xd1\201\321\x8f \320\xbf\xd0\xbe\321\x81\xd0\273\320\265 \xd1\201\320\xbe\320\xb7\320\xb4\320\xb0\320\275\320\270\321\217 \xd0\xba\xd0\xbe\xd0\xbd\321\204\xd0\xb8\xd0\xb3\xd0\xb0\xa<b><i>setNotifyProlong</i></b> - \xd1\x83\xd0\xb2\xd0\265\320\264\xd0\276\320\xbc\xd0\273\320\265\xd0\xbd\xd0\xb8\320\xb5 \320\276\321\202\320\xbf\321\x80\xd0\xb0\320\262\xd0\273\321\x8f\321\x8e\321\211\xd0\xb5\320\xb5\xd1\201\321\x8f \320\xbf\321\x80\320\270 \xd0\xbf\321\200\xd0\276\320\264\xd0\xbb\xd0\xb5\320\xbd\xd0\xb8\xd0\xb8 \xd0\xba\320\276\xd0\xbd\321\204\xd0\270\320\xb3\320\xb0\xa<b><i>setNotifyDelete</i></b> - \321\x83\320\xb2\320\xb5\320\xb4\xd0\xbe\320\xbc\320\xbb\320\265\320\xbd\320\270\xd0\265 \320\276\321\202\xd0\277\xd1\x80\320\xb0\xd0\xb2\320\xbb\xd1\x8f\321\216\321\x89\xd0\265\320\265\321\x81\321\x8f \320\xbf\xd1\200\320\xb8 \320\277\321\x80\xd0\265\xd0\xba\xd1\200\320\xb0\321\x89\320\265\xd0\xbd\320\xb8\320\xb8 \xd1\200\320\xb0\xd0\xb1\xd0\276\321\x82\xd1\x8b \xd0\272\320\xbe\320\275\321\204\xd0\xb8\320\xb3\320\xb0"; goto V1Val; aqQok: } public function setNotifyText($chapter = false) { goto NMpWh; hUoSS: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto NGhFV; FU28c: $data[] = [["text" => $this->i18n("setNotifyDelete"), "callback_data" => "/sendReply enter text_updateSetting_nd_" . __FUNCTION__ . "_nd"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nd"]]; goto UZtsE; P13bZ: $data[] = [["text" => $this->i18n("setNotifyProlong"), "callback_data" => "/sendReply enter text_updateSetting_np_" . __FUNCTION__ . "_np"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText np"]]; goto FU28c; QpDGR: $data[] = [["text" => $this->i18n("setNotifyExpirePay"), "callback_data" => "/sendReply enter text_updateSetting_od_" . __FUNCTION__ . "_od"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText od"]]; goto EZT6P; eRXh6: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto ML5hr; PCeLL: $text[] = "\320\xa2\320\265\320\xb3\320\270:"; goto mZOAG; Mdbd1: YdX9x: goto w87dv; AjrZB: switch ($chapter) { case "nc": goto p4TPJ; PhJr_: $text[] = "<code>~macos~</code> - \xd0\xb8\320\275\xd1\x81\321\x82\321\200\321\x83\xd0\xba\xd1\206\xd0\xb8\321\x8f \xd0\xb4\320\xbb\xd1\x8f macos"; goto JWoTy; p1x4B: $text[] = "<code>~ios~</code> - \xd0\xb8\320\275\321\x81\321\202\321\200\xd1\x83\320\xba\321\x86\xd0\xb8\321\217 \xd0\264\320\xbb\321\x8f ios"; goto g8kwK; bG9Z0: $text[] = "<code>~file~</code> \320\277\321\x80\xd0\xb8\xd0\272\xd1\x80\xd0\265\xd0\277\xd0\270\xd1\x82\321\x8c \xd1\204\320\260\xd0\271\xd0\273 \xd0\xba\320\276\xd0\275\xd1\204\xd0\xb8\xd0\xb3\xd0\260"; goto m6GyE; JWoTy: $text[] = "<code>~id~</code> \xd0\xbd\xd0\276\320\xbc\320\xb5\xd1\200 \xd0\277\320\276\xd0\264\320\xbf\xd0\xb8\xd1\x81\320\272\320\270"; goto cvPqk; m6GyE: $text[] = "<code>~android~</code> - \xd0\270\xd0\xbd\xd1\x81\xd1\202\xd1\200\321\203\xd0\xba\xd1\206\320\270\321\x8f \320\xb4\320\273\xd1\217 android"; goto p1x4B; FgM7g: $text[] = "<code>~vpn~</code> \xd1\x81\321\201\321\x8b\320\273\320\xba\xd0\xb0 \xd0\264\xd0\273\321\217 \xd0\277\xd0\276\320\xb4\320\xba\xd0\xbb\xd1\216\321\207\320\xb5\320\275\320\270\321\217 \xd0\260\xd0\274\xd0\275\320\xb5\320\267\320\270\xd0\xb8"; goto cbWeE; g8kwK: $text[] = "<code>~windows~</code> - \xd0\xb8\320\xbd\321\201\xd1\202\xd1\x80\321\x83\320\272\321\206\320\xb8\321\x8f \xd0\xb4\xd0\xbb\xd1\x8f windows"; goto PhJr_; cvPqk: $text[] = "<code>~life~</code> \320\xbe\321\x81\xd1\x82\xd0\260\320\xb2\xd1\x88\320\265\xd0\xb5\321\201\321\217 \xd0\262\xd1\x80\320\xb5\320\xbc\321\217 \xd0\xb4\320\265\320\xb9\321\x81\xd1\202\xd0\xb2\320\270\321\x8f \320\xbf\xd0\xbe\xd0\xb4\320\xbf\320\xb8\321\201\320\272\320\xb8"; goto FgM7g; cbWeE: goto whBOh; goto gTr1a; p4TPJ: $text[] = "<code>~code~</code> \320\xba\320\xbe\320\xb4 \320\xbf\xd0\270\xd1\x80\320\xb0"; goto bG9Z0; gTr1a: case "np": case "ne": goto p4htw; jC03t: $text[] = "<code>~id~</code> \320\275\320\276\320\xbc\320\xb5\321\x80 \320\277\320\276\xd0\264\xd0\277\xd0\270\xd1\201\xd0\xba\xd0\xb8"; goto Vb2uE; p4htw: $text[] = "<code>~life~</code> \xd0\276\321\201\321\x82\320\260\xd0\xb2\xd1\x88\320\xb5\320\xb5\321\201\xd1\x8f \320\xb2\321\200\320\265\xd0\274\xd1\217 \320\264\320\265\320\xb9\321\201\321\202\xd0\262\320\270\321\217 \xd0\277\xd0\276\320\264\xd0\xbf\xd0\270\321\201\xd0\272\xd0\xb8"; goto jC03t; Vb2uE: goto whBOh; goto XeNCN; XeNCN: case "nb": goto iXAG6; ZQ9_X: $text[] = "<code>~id~</code> \320\xbd\320\xbe\xd0\xbc\320\xb5\xd1\x80 \xd0\xbf\320\xbe\320\264\xd0\277\xd0\xb8\321\x81\xd0\xba\320\xb8"; goto v16Dm; v16Dm: goto whBOh; goto dOAO2; iXAG6: $text[] = "<code>~bonus~</code> \xd0\264\320\276\320\261\xd0\xb0\320\262\320\273\320\xb5\320\xbd\xd0\xbd\xd0\276\320\xb5 \xd0\262\xd1\200\320\xb5\320\xbc\xd1\x8f"; goto ZQ9_X; dOAO2: case "nd": goto Kfnz8; tgu95: goto whBOh; goto UiOts; Kfnz8: $text[] = "<code>~user~</code> \320\270\320\274\321\217 \xd1\216\320\xb7\320\xb5\xd1\x80\xd0\260"; goto aq0gU; aq0gU: $text[] = "<code>~id~</code> \320\275\xd0\276\xd0\xbc\320\265\xd1\200 \xd0\xbf\320\xbe\320\264\320\277\xd0\xb8\321\x81\320\xba\320\xb8"; goto tgu95; UiOts: } goto Mdbd1; Qb3_c: $data[] = [["text" => $this->i18n("setNotifyExpireDelete"), "callback_data" => "/sendReply enter text_updateSetting_du_" . __FUNCTION__ . "_du"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText du"]]; goto b3DZO; w87dv: whBOh: goto GOvsV; NGhFV: $text[] = "\xd1\203\xd1\201\xd1\202\320\xb0\xd0\275\xd0\276\xd0\xb2\xd0\272\xd0\xb0 \xd1\x88\xd0\260\xd0\261\xd0\273\320\xbe\320\xbd\320\xb0 \xd1\x81\320\276\320\276\320\xb1\321\211\xd0\xb5\xd0\xbd\320\xb8\xd0\xb9 \320\xbf\xd0\276\xd0\273\xd1\x8c\320\267\320\xbe\320\xb2\xd0\260\xd1\202\320\xb5\xd0\273\xd1\x8e
"; goto PCeLL; GOvsV: $text[] = "
\320\250\320\260\xd0\261\xd0\273\320\276\320\275:"; goto IzVLg; fxkqQ: $text[] = "<code>/ios</code> - \xd1\x81\xd1\201\321\213\320\xbb\xd0\xba\xd0\xb0, \320\277\xd0\276 \xd0\xba\xd0\273\xd0\xb8\320\xba\xd1\x83 \xd0\xbd\xd0\260 \xd0\272\xd0\276\xd1\202\xd0\276\xd1\200\xd1\x83\xd1\216 \xd0\261\320\276\321\202 \xd0\276\321\x82\320\xb4\320\xb0\321\x81\xd1\202 \320\270\xd0\xbd\321\201\xd1\202\321\200\321\203\320\xba\321\206\320\270\xd1\216 \xd0\xbf\xd0\276 ios"; goto N4pAL; N4pAL: $text[] = "<code>/macos</code> - \xd1\x81\321\201\xd1\x8b\xd0\xbb\320\272\xd0\260, \xd0\xbf\xd0\276 \xd0\xba\xd0\273\xd0\xb8\320\xba\xd1\x83 \320\275\320\xb0 \320\xba\320\xbe\xd1\x82\320\276\321\200\xd1\x83\321\x8e \320\261\xd0\276\321\202 \xd0\xbe\xd1\x82\320\264\320\260\321\x81\321\x82 \xd0\xb8\320\xbd\xd1\201\xd1\202\xd1\200\321\x83\xd0\272\xd1\206\xd0\270\xd1\x8e \320\xbf\320\276 macos"; goto dMUUs; d89DB: nSDMf: goto eRXh6; UZtsE: $data[] = [["text" => $this->i18n("setNotifyBonus"), "callback_data" => "/sendReply enter text_updateSetting_nb_" . __FUNCTION__ . "_nb"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nb"]]; goto czu4Q; NMpWh: $data[] = [["text" => $this->i18n("setNotifyExpire"), "callback_data" => "/sendReply enter text_updateSetting_ne_" . __FUNCTION__ . "_ne"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText ne"]]; goto Qb3_c; oCst4: $text[] = "<code>/android</code> - \321\201\xd1\201\321\213\320\xbb\xd0\xba\xd0\260, \xd0\xbf\320\276 \xd0\xba\320\273\320\xb8\320\xba\321\x83 \320\xbd\320\260 \xd0\272\xd0\xbe\321\202\320\xbe\xd1\200\321\203\321\216 \320\xb1\320\xbe\xd1\x82 \320\276\321\x82\320\xb4\320\260\xd1\x81\321\202 \320\270\320\275\321\201\xd1\202\321\200\xd1\x83\320\272\321\206\320\xb8\321\x8e \xd0\277\320\xbe android"; goto fxkqQ; dMUUs: $text[] = "<code>/windows</code> - \xd1\x81\xd1\201\xd1\x8b\xd0\xbb\xd0\272\xd0\260, \320\xbf\xd0\276 \320\272\320\273\xd0\270\xd0\xba\321\x83 \xd0\275\xd0\260 \320\xba\320\276\321\x82\xd0\276\xd1\x80\xd1\203\321\x8e \320\xb1\xd0\xbe\321\x82 \xd0\xbe\xd1\202\320\264\320\xb0\321\x81\xd1\202 \xd0\xb8\320\275\xd1\201\xd1\x82\321\x80\xd1\x83\320\272\321\x86\xd0\270\321\x8e \xd0\xbf\xd0\276 windows"; goto AjrZB; IzVLg: if (!($t = $this->getSetting($chapter))) { goto nSDMf; } goto MS0ZE; mZOAG: $text[] = "<code>/bot</code> - \xd1\201\321\x81\xd1\213\xd0\xbb\320\xba\xd0\xb0, \320\277\320\xbe \320\xba\xd0\273\xd0\xb8\320\272\xd1\203 \320\xbd\xd0\260 \xd0\272\xd0\276\xd1\x82\xd0\276\xd1\200\xd1\x83\xd1\x8e \xd0\xb1\320\276\321\202 \320\276\321\202\xd0\264\320\260\321\201\321\202 \320\xb8\xd0\xbd\321\201\321\202\xd1\200\321\203\xd0\272\321\x86\320\xb8\321\216 \xd0\277\320\xbe bot"; goto oCst4; b3DZO: $data[] = [["text" => $this->i18n("setNotifyLimit"), "callback_data" => "/sendReply enter text_updateSetting_li_" . __FUNCTION__ . "_li"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText li"]]; goto QpDGR; czu4Q: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpNotify"]]; goto hUoSS; MS0ZE: $text[] = "<pre>{$t}</pre>"; goto d89DB; EZT6P: $data[] = [["text" => $this->i18n("setNotifyCreate"), "callback_data" => "/sendReply enter text_updateSetting_nc_" . __FUNCTION__ . "_nc"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nc"]]; goto P13bZ; ML5hr: } public function setMenuDescription($chapter = false) { goto hztYG; nWaiA: $data[] = [["text" => $this->i18n("setUserPay"), "callback_data" => "/sendReply enter text_updateSetting_up_" . __FUNCTION__ . "_up"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription up"]]; goto Uox7y; bZZB6: UCAZN: goto no4rf; WHHNK: $text[] = "<code>" . htmlentities("<b>bold</b>") . "</code> - <b>\320\xb6\xd0\270\321\x80\320\xbd\321\213\xd0\xb9</b>"; goto dTgIH; bptNK: $text[] = "Menu\xa Buy
Server\xa Pay\xa Order
Pay
Peer
Help
Bot\xa Android
IOS
Windows\xa MacOS"; goto tpaYl; iZhcV: $data[] = [["text" => $this->i18n("setHelpAndroid"), "callback_data" => "/sendReply enter text_updateSetting_ha_" . __FUNCTION__ . "_ha"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription ha"], ["text" => $this->i18n("previewMedia"), "callback_data" => "/previewMedia ha"]]; goto PxIRw; uCcZC: $text[] = "\321\x83\321\x81\xd1\x82\320\xb0\xd0\275\xd0\xbe\xd0\262\xd0\xba\320\xb0 \320\276\xd0\277\320\xb8\xd1\x81\xd0\260\xd0\xbd\320\xb8\xd0\xb9 \xd0\xbf\xd1\203\xd0\275\320\xba\321\202\xd0\xbe\320\xb2 \320\xbc\320\265\xd0\xbd\xd1\216 \xd0\277\320\276\320\273\xd1\214\320\267\320\276\320\xb2\xd0\260\321\x82\xd0\265\320\273\321\x8f:
\320\xbf\320\276\xd0\264\320\xb4\xd0\xb5\xd1\x80\xd0\xb6\xd0\xb8\xd0\xb2\320\260\xd0\xb5\321\x82\321\x81\321\x8f \xd1\201\xd0\xbb\xd0\xb5\xd0\264\321\203\321\216\xd1\x89\320\270\320\xb5 \xd1\202\xd0\265\320\xb3\xd0\xb8 html\xa"; goto WHHNK; tebi7: $text[] = "<code>/windows</code> - \xd1\201\xd1\x81\xd1\x8b\xd0\xbb\320\272\xd0\xb0, \xd0\277\320\xbe \xd0\272\xd0\273\320\xb8\320\272\321\x83 \320\xbd\xd0\xb0 \xd0\xba\xd0\276\xd1\202\xd0\xbe\xd1\x80\321\203\321\x8e \xd0\xb1\xd0\xbe\xd1\x82 \xd0\xbe\321\x82\320\264\320\xb0\321\x81\xd1\x82 \320\xb8\xd0\275\xd1\x81\xd1\x82\xd1\x80\xd1\x83\xd0\272\321\206\320\270\xd1\x8e \xd0\xbf\320\276 windows"; goto DUaTx; uVPo9: $data[] = [["text" => $this->i18n("setUserServer"), "callback_data" => "/sendReply enter text_updateSetting_us_" . __FUNCTION__ . "_us"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription us"]]; goto WRwG7; cssKB: $data[] = [["text" => $this->i18n("setHelpWindows"), "callback_data" => "/sendReply enter text_updateSetting_hw_" . __FUNCTION__ . "_hw"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription hw"], ["text" => $this->i18n("previewMedia"), "callback_data" => "/previewMedia hw"]]; goto hO4bJ; WpKMm: $text[] = "<code>" . htmlentities("<s>strikethrough</s>") . "</code> - <s>\xd0\267\xd0\xb0\321\207\xd0\265\321\x80\xd0\272\xd0\xbd\321\x83\xd1\202\321\213\320\271</s>"; goto LYYfj; X6c6s: $this->send($this->cZwKZ["chat"], "\xd0\xb2 \321\x82\320\265\320\272\321\201\xd1\202\320\265 \xd0\xbe\xd1\210\xd0\270\xd0\xb1\320\272\320\xb0 <pre>{$r["description"]}</pre>", $this->cZwKZ["message_id"]); goto Bhsug; Q3tkv: jF9je: goto HoUgE; OE5m4: $text[] = "<code>/macos</code> - \xd1\201\321\x81\xd1\213\320\273\xd0\272\320\xb0, \320\xbf\320\276 \xd0\272\320\xbb\320\270\xd0\272\321\203 \320\xbd\xd0\260 \320\xba\xd0\276\xd1\x82\xd0\xbe\321\200\xd1\x83\321\216 \320\xb1\xd0\276\321\x82 \xd0\276\xd1\x82\320\xb4\320\260\321\x81\321\202 \320\270\320\275\xd1\x81\xd1\202\xd1\x80\xd1\x83\320\272\321\206\xd0\270\xd1\216 \320\277\xd0\xbe macos"; goto tebi7; L3OB3: $text[] = "<code>" . htmlentities("<a href="http://www.example.com/">inline URL</a>") . "</code> - <a href='http://www.example.com/'>inline URL</a>"; goto Z0cYy; no4rf: switch ($chapter) { case "up": goto Hvr4O; sdEhf: $text[] = "<code>~name~</code> \320\xb8\xd0\xbc\321\217 \321\201\xd0\265\xd1\x80\xd0\xb2\320\xb5\xd1\x80\xd0\xb0"; goto Ue13w; Hvr4O: $text[] = "<code>~id~</code> \xd0\xbd\xd0\276\320\xbc\320\265\321\x80 \xd0\267\320\260\xd0\272\320\xb0\xd0\267\320\xb0"; goto eBdbc; eBdbc: $text[] = "<code>~life~</code> \320\xb4\xd0\273\320\270\xd1\x82\xd0\265\320\xbb\xd1\x8c\xd0\275\xd0\276\321\x81\xd1\202\xd1\214 \320\xbf\320\xbe\320\264\320\277\xd0\270\321\201\xd0\272\xd0\xb8"; goto sdEhf; Ue13w: case "ur": goto WKToY; o1vVQ: $text[] = "<code>~domain~</code> \xd0\xb0\320\264\xd1\x80\320\265\321\201 \321\201\320\xb5\321\200\xd0\262\320\xb5\321\200\xd0\xb0"; goto mzy3I; mzy3I: $text[] = "<code>~refer_link~</code> \321\x80\320\265\xd1\x84\xd0\xb5\321\200\xd0\xb0\320\273\xd1\214\320\xbd\xd0\xb0\xd1\x8f \xd1\201\321\201\xd1\x8b\320\xbb\320\272\xd0\xb0"; goto B3ISQ; WKToY: $text[] = "<code>~code~</code> \320\xba\xd0\276\320\264 \320\272\320\xbe\xd0\xbd\xd1\204\xd0\270\xd0\xb3\xd0\xb0"; goto o1vVQ; B3ISQ: $text[] = "<code>~balance~</code> \xd0\261\xd0\xb0\320\xbb\320\xb0\320\xbd\xd1\201 \320\xb2\xd1\x80\xd0\xb5\320\xbc\xd0\xb5\320\xbd\320\xb8"; goto BYfNc; BYfNc: goto CjPpt; goto E4I87; E4I87: case "hb": case "ha": case "hi": case "hm": case "hw": goto JBVCE; c0yox: $text[] = "<code>~photo:id~</code> \320\263\xd0\xb4\xd0\xb5 id - \320\xb0\320\xb9\320\264\320\xb8 \xd1\204\xd0\xbe\321\x82\xd0\xbe (\xd0\xbc\xd0\xbe\xd0\xb6\320\275\320\276 \321\203\320\xb7\xd0\275\320\xb0\xd1\202\321\x8c \321\201\320\xba\320\xb8\320\275\xd1\x83\320\xb2 \321\204\xd0\276\321\x82\320\xbe \320\261\320\xbe\xd1\202\321\x83)"; goto PJFXq; JBVCE: $text[] = "<code>~balance~</code> \xd0\261\320\260\xd0\273\320\xb0\xd0\xbd\xd1\201 \xd0\262\321\200\xd0\265\xd0\xbc\xd0\xb5\xd0\275\xd0\270"; goto tfc4I; tfc4I: $text[] = "<code>~refer_link~</code> \xd1\x80\xd0\265\321\x84\320\xb5\321\x80\xd0\xb0\320\xbb\xd1\x8c\xd0\xbd\xd0\xb0\xd1\x8f \xd1\201\321\x81\xd1\x8b\320\xbb\xd0\xba\320\xb0"; goto c0yox; PJFXq: } goto ltuYf; PxIRw: $data[] = [["text" => $this->i18n("setHelpIOS"), "callback_data" => "/sendReply enter text_updateSetting_hi_" . __FUNCTION__ . "_hi"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription hi"], ["text" => $this->i18n("previewMedia"), "callback_data" => "/previewMedia hi"]]; goto cssKB; t90tt: $text[] = "<code>/android</code> - \xd1\201\xd1\x81\xd1\x8b\xd0\273\xd0\272\320\260, \xd0\277\xd0\276 \320\xba\xd0\273\xd0\270\320\xba\xd1\x83 \xd0\xbd\xd0\xb0 \xd0\xba\320\276\xd1\202\320\xbe\xd1\x80\321\203\xd1\x8e \320\261\320\276\xd1\202 \320\xbe\xd1\202\xd0\264\xd0\260\321\201\xd1\202 \320\xb8\xd0\xbd\321\x81\321\x82\xd1\x80\xd1\x83\xd0\272\321\x86\xd0\270\xd1\x8e \320\xbf\xd0\xbe android"; goto HSy9g; tpaYl: goto jF9je; goto bZZB6; ltuYf: QBb5V: goto DdkPk; qhSwT: $data[] = [["text" => $this->i18n("structureMenu"), "callback_data" => "/setMenuDescription"], ["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto uCcZC; wFLXu: $text[] = "<code>" . htmlentities("<u>underline</u>") . "</code> - <u>\320\xbf\xd0\xbe\320\264\xd1\x87\xd0\265\321\200\xd0\272\320\xbd\xd1\203\xd1\x82\xd1\213\320\271</u>"; goto WpKMm; Awwt7: $text[] = "
{$chapter}:\xa<pre>{$t}</pre>"; goto Ns1s7; Ns1s7: txSKK: goto Q3tkv; Uox7y: $data[] = [["text" => $this->i18n("setUserPeer"), "callback_data" => "/sendReply enter text_updateSetting_ur_" . __FUNCTION__ . "_ur"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription ur"]]; goto bvpvF; HoUgE: $r = $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto oi5Cy; t8ydI: $data[] = [["text" => $this->i18n("setUserBuy"), "callback_data" => "/sendReply enter text_updateSetting_ub_" . __FUNCTION__ . "_ub"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription ub"]]; goto uVPo9; Bhsug: BPwM1: goto z0HNE; bvpvF: $data[] = [["text" => $this->i18n("setHelp"), "callback_data" => "/sendReply enter text_updateSetting_h_" . __FUNCTION__ . "_h"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription h"]]; goto qMfU2; BdXnl: $text[] = "<code>" . htmlentities("<code>inline fixed-width code</code>") . "</code> - <code>\320\xbc\320\xbe\320\275\xd0\xbe\321\x88\320\xb8\321\200\320\270\320\xbd\320\xbd\321\x8b\xd0\xb9</code>"; goto L3OB3; DUaTx: if ($chapter) { goto UCAZN; } goto bptNK; aUpMZ: $text[] = "
<b>\320\276\xd0\261\xd1\x8f\xd0\267\320\xb0\xd1\202\xd0\265\320\273\xd1\214\320\xbd\320\276 \xd0\277\xd1\x80\xd0\xbe\320\262\320\265\xd1\x80\321\x8c\321\202\xd0\xb5 preview \320\xbf\320\xbe\xd1\201\320\xbb\320\xb5 \321\x83\321\201\xd1\x82\xd0\xb0\xd0\xbd\xd0\xbe\320\262\xd0\xba\xd0\270 \321\x82\320\265\xd0\xba\xd1\x81\321\x82\320\260, \xd0\xb5\xd1\x81\320\xbb\xd0\xb8 \xd1\202\320\265\320\xba\xd1\201\321\x82 \320\xbd\320\xb5 \320\276\xd1\202\320\xbe\320\261\321\200\xd0\xb0\320\xb7\xd0\270\320\273\321\201\xd1\x8f \xd0\xb7\320\xbd\320\260\xd1\x87\xd0\270\321\x82 \320\262 \xd1\202\320\xb5\xd0\272\xd1\201\321\202\320\xb5 \xd0\265\321\201\xd1\202\321\x8c \xd0\xbe\321\210\xd0\270\xd0\261\xd0\xba\xd0\260 html-\321\202\320\265\xd0\263\xd0\xb0 \xd0\270 \321\x8d\xd1\202\xd0\xbe \xd0\xbc\xd0\265\320\275\321\216 \320\xbd\320\265 \xd0\261\321\x83\320\xb4\xd0\xb5\321\202 \xd1\x80\xd0\260\320\xb1\xd0\276\xd1\202\320\xb0\321\202\321\x8c \xd1\x83 \xd0\xbf\xd0\276\xd0\273\xd1\x8c\xd0\267\xd0\xbe\xd0\262\xd0\260\xd1\202\320\265\xd0\xbb\xd1\217</b>"; goto MWjog; Z0cYy: $text[] = "<code>/bot</code> - \321\201\321\201\xd1\213\320\xbb\320\272\xd0\xb0, \xd0\277\xd0\xbe \xd0\xba\320\273\xd0\xb8\320\272\321\x83 \xd0\275\xd0\xb0 \320\xba\xd0\276\xd1\202\320\276\xd1\x80\xd1\203\321\216 \xd0\xb1\320\276\xd1\202 \xd0\xbe\xd1\x82\xd0\xb4\320\260\xd1\x81\xd1\x82 \xd0\xb8\xd0\275\321\201\321\x82\xd1\200\321\x83\xd0\272\xd1\x86\xd0\270\xd1\216 \320\xbf\xd0\276 bot"; goto t90tt; hO4bJ: $data[] = [["text" => $this->i18n("setHelpMacOS"), "callback_data" => "/sendReply enter text_updateSetting_hm_" . __FUNCTION__ . "_hm"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription hm"], ["text" => $this->i18n("previewMedia"), "callback_data" => "/previewMedia hm"]]; goto qhSwT; dTgIH: $text[] = "<code>" . htmlentities("<i>italic</i>") . "</code> - <i>\xd0\xba\321\203\xd1\x80\321\201\xd0\xb8\xd0\xb2</i>"; goto wFLXu; DdkPk: CjPpt: goto aUpMZ; LYYfj: $text[] = "<code>" . htmlentities("<span class="tg-spoiler">spoiler</span>") . "</code> - <tg-spoiler>\321\201\320\272\321\x80\xd1\213\xd1\202\321\x8b\320\271</tg-spoiler>"; goto BdXnl; hztYG: $data[] = [["text" => $this->i18n("setUserMenu"), "callback_data" => "/sendReply enter text_updateSetting_um_" . __FUNCTION__ . "_um"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription um"]]; goto t8ydI; qMfU2: $data[] = [["text" => $this->i18n("setHelpBot"), "callback_data" => "/sendReply enter text_updateSetting_hb_" . __FUNCTION__ . "_hb"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription hb"], ["text" => $this->i18n("previewMedia"), "callback_data" => "/previewMedia hb"]]; goto iZhcV; HSy9g: $text[] = "<code>/ios</code> - \xd1\201\xd1\201\321\213\320\xbb\320\xba\xd0\xb0, \320\277\xd0\xbe \xd0\272\320\273\320\xb8\xd0\xba\321\x83 \320\275\320\xb0 \320\272\xd0\xbe\321\202\xd0\276\xd1\200\321\203\xd1\x8e \320\261\xd0\xbe\xd1\x82 \xd0\xbe\xd1\x82\xd0\xb4\320\260\321\x81\xd1\x82 \320\xb8\xd0\xbd\321\x81\xd1\202\321\x80\xd1\x83\320\272\xd1\x86\xd0\270\321\x8e \320\xbf\xd0\xbe ios"; goto OE5m4; WRwG7: $data[] = [["text" => $this->i18n("setUserOrder"), "callback_data" => "/sendReply enter text_updateSetting_uo_" . __FUNCTION__ . "_uo"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription uo"]]; goto nWaiA; MWjog: if (!($t = $this->getSetting($chapter))) { goto txSKK; } goto Awwt7; oi5Cy: if (!($r["ok"] == false && !preg_match("~message is not modified~", $r["description"]))) { goto BPwM1; } goto X6c6s; z0HNE: } public function unitConf($data = false, $key = "config", $method = "PUT") { goto J6FsC; snzFu: return $res; goto cpv44; o8NxV: $res = curl_exec($ch); goto k8m9K; J6FsC: $ch = curl_init(); goto wOFSh; wOFSh: curl_setopt_array($ch, [CURLOPT_URL => "http://unit:8080/{$key}", CURLOPT_CUSTOMREQUEST => $method, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $method == "DELETE" ? false : (is_object($data) ? ["file" => $data] : json_encode($data)), CURLOPT_TIMEOUT => 5]); goto o8NxV; k8m9K: curl_close($ch); goto snzFu; cpv44: } public function unitConfig() { goto i3qOM; j0G8s: $res[] = $this->unitConf(curl_file_create($this->N3qeV), "certificates/certbot"); goto eJa0o; xV07N: return $res; goto zd1pO; oPVkj: if (!file_exists($this->N3qeV)) { goto qxPzb; } goto j0G8s; eJa0o: qxPzb: goto YpR3M; YpR3M: $data = ["listeners" => ["*:8443" => ["pass" => "routes/other", "tls" => ["certificate" => !file_exists($this->N3qeV) ? ["bundle"] : ["bundle", "certbot"]]], "*:80" => ["pass" => "routes/certbot"]], "routes" => ["other" => [["match" => ["uri" => "/yoomoney"], "action" => ["pass" => "applications/yoomoney"]], ["match" => ["uri" => "/wallet"], "action" => ["pass" => "applications/wallet"]], ["match" => ["uri" => "/tlgrm"], "action" => ["pass" => "applications/tlgrm"]], ["match" => ["uri" => "/cryptobot"], "action" => ["pass" => "applications/crypto"]], ["match" => ["uri" => "/cryptomus"], "action" => ["pass" => "applications/cryptomus"]]], "certbot" => [["match" => ["uri" => "/.well-known*"], "action" => ["share" => "/certs$uri"]]]], "applications" => ["tlgrm" => ["type" => "php", "root" => "/app", "script" => "tlgrm.php", "user" => "root", "group" => "root"], "yoomoney" => ["type" => "php", "root" => "/app", "script" => "yoomoney.php", "user" => "root", "group" => "root"], "wallet" => ["type" => "php", "root" => "/app", "script" => "wallet.php", "user" => "root", "group" => "root"], "crypto" => ["type" => "php", "root" => "/app", "script" => "crypto.php", "user" => "root", "group" => "root"], "cryptomus" => ["type" => "php", "root" => "/app", "script" => "cryptomus.php", "user" => "root", "group" => "root"]], "access_log" => "/logs/unit_access"]; goto d2pra; d2pra: $res[] = $this->unitConf($data, "config"); goto xV07N; i3qOM: $res[] = $this->unitConf(curl_file_create("/certs/bundle"), "certificates/bundle"); goto oPVkj; zd1pO: } public function export() { goto Zf4gS; FaR3N: IayiW: goto pkiOn; xxgVh: exec("mysqldump -h db -u root tower > {$path}"); goto MdYNG; G9r2L: return $r; goto rpimw; AfTvN: unlink($path); goto G9r2L; ZdWz4: mkdir("/config"); goto FaR3N; Zf4gS: if (file_exists("/config")) { goto IayiW; } goto ZdWz4; pkiOn: $path = "/config/import.sql"; goto xxgVh; MdYNG: $r = $this->sendFile($this->jMTmt["admin"], curl_file_create($path, posted_filename: "dump_" . date("Y_m_d_H_i_s") . ".sql")); goto AfTvN; rpimw: } public function openLinkNode() { goto xrylu; sY2cF: array_unshift($unit["routes"], ["match" => ["uri" => "~\.(tar)", "arguments" => ["h" => substr(md5($this->jMTmt["admin"] . $this->jMTmt["key"]), 0, 8)]], "action" => ["share" => ["/$uri"]]]); goto Fh1Q5; xrylu: $unit = json_decode(file_get_contents("/config/unit.json"), true); goto exZ1N; exZ1N: array_unshift($unit["routes"], ["match" => ["uri" => "~\.(tar)"], "action" => ["return" => 404]]); goto sY2cF; Fh1Q5: file_put_contents("/config/unittmp.json", json_encode($unit, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto YgBBb; YgBBb: } public function import() { goto oRaKj; L3GHS: exec("mysql -h db -u root tower < {$path}"); goto Rlv3o; pPff8: $this->menu(); goto d4Ftj; Rlv3o: unlink($path); goto pPff8; oRaKj: $path = "/config/import.sql"; goto kpFO0; RRTZw: file_put_contents($path, $dump); goto L3GHS; B4lIf: $dump = file_get_contents($this->file . $r["result"]["file_path"]); goto RRTZw; kpFO0: $r = $this->request("getFile", ["file_id" => $this->cZwKZ["file_id"]]); goto B4lIf; d4Ftj: } public function updateExpireNotify($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "expireNotify", "config"); } public function updateExpireDelete($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "expireDelete", "config"); } public function updateExpirePay($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "expirePay", "config"); } public function updateReferal($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "referal", "menu"); } public function updateBonusLimit($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "bonuslimit", "menu"); } public function setLimitOrders(int $text) { $this->updateSetting(!empty($text) ? $text : '', "orderslimit", "config"); } public function debug() { $this->updateSetting(!$this->getSetting("debug"), "debug", "config"); } public function showwebhook() { $this->updateSetting(!$this->getSetting("showwebhook"), "showwebhook", "payments"); } public function yoomoney() { goto i0Xg2; DUOqp: $data[] = [["text" => $this->i18n("setSecret") . ($secret ? ": {$secret}" : ''), "callback_data" => "/sendReply enter secret_updateSetting_secret_" . __FUNCTION__]]; goto Hm1C4; vKPpT: $text[] = "\xd1\201\xd1\201\321\x8b\320\xbb\xd0\xba\320\260 \320\264\xd0\xbb\xd1\x8f \320\xbd\xd0\276\xd1\202\320\xb8\321\x84\320\xb8\320\272\320\260\xd1\206\xd0\270\xd0\271 <code>https://{$this->BaewA}:8443/yoomoney</code>"; goto LTaZL; OB_aW: $success = $this->getSetting("successUrl"); goto nQslZ; PKPh0: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]]; goto iXy88; Hm1C4: $data[] = [["text" => $this->i18n("setPhrase") . ($phrase ? ": {$phrase}" : ''), "callback_data" => "/sendReply enter phrase_updatePhrase"]]; goto M5drC; nQslZ: $phrase = $this->getSetting("phrase"); goto R8cBI; LTaZL: $text[] = "\321\x81\320\xba\xd0\xbe\xd0\xbf\xd0\270\xd1\x80\321\x83\320\271\xd1\x82\xd0\xb5 \xd1\x81\xd0\265\320\272\321\200\xd0\xb5\321\202"; goto ISdmk; ISdmk: $text[] = "\320\xbe\321\x82\xd0\274\xd0\xb5\321\202\321\214\321\202\xd0\xb5 \xd0\263\320\xb0\320\273\xd0\276\xd1\x87\320\xba\321\x83 <b><i>\320\276\xd1\x82\320\277\321\x80\320\xb0\xd0\xb2\320\xbb\xd1\217\xd1\202\321\x8c HTTP-\xd1\203\xd0\xb2\xd0\xb5\xd0\xb4\xd0\xbe\320\274\xd0\273\xd0\xb5\320\xbd\320\270\321\217</i></b>"; goto GnC9w; dJ7Os: $data[] = [["text" => $this->i18n("setWallet") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/sendReply enter wallet_updateSetting_wallet_" . __FUNCTION__]]; goto DUOqp; upBjC: $wallet = $this->getSetting("wallet"); goto OB_aW; GnC9w: $text[] = "\xa\xd0\262 \320\xb1\320\276\xd1\202\320\xb5 \xd1\x83\321\x81\xd1\202\xd0\260\320\xbd\xd0\xbe\320\262\xd0\xb8\xd1\202\xd0\xb5 \320\xbd\xd0\xbe\320\xbc\320\xb5\321\200 \xd0\xba\320\xbe\321\x88\320\xb5\xd0\273\xd1\x8c\xd0\272\xd0\260, \321\201\xd0\xb5\xd0\xba\321\x80\xd0\xb5\321\x82, \320\272\xd0\xbe\xd0\264\xd0\xbe\xd0\xb2\xd1\x83\321\x8e \321\x84\xd1\200\320\xb0\xd0\xb7\321\x83 \xd0\xb1\320\xbe\321\x82\xd0\260"; goto tmiKx; iXy88: $text[] = "\320\xbd\320\xb0 \321\x81\xd1\202\321\200\320\xb0\320\275\xd0\xb8\xd1\x86\xd0\265 https://yoomoney.ru/transfer/myservices/http-notification :"; goto vKPpT; i0Xg2: $secret = $this->getSetting("secret"); goto upBjC; R8cBI: $debug = $this->getSetting("yd"); goto dJ7Os; M5drC: $data[] = [["text" => $this->i18n("setSuccessUrl") . ($success ? ": {$success}" : ''), "callback_data" => "/sendReply enter link_updateSetting_successUrl_" . __FUNCTION__]]; goto syZCW; syZCW: $data[] = [["text" => $this->i18n("webhookDebug") . ": " . ($debug ? "on" : "off"), "callback_data" => "/webhookDebug"]]; goto PKPh0; tmiKx: $this->uors($text, $data); goto muN_f; muN_f: } public function yoomoneyLink($id, $price, $menupage) { goto HIeqB; ZPzD0: $this->paymentsDebug($data, $res); goto jOX8Y; WMgBe: $ch = curl_init(); goto ljRQo; ukmYV: $data = ["receiver" => $wallet, "label" => "{$phrase}:{$id}:{$this->cZwKZ["chat"]}:{$this->cZwKZ["message_id"]}:{$menupage}", "quickpay-form" => "donate", "sum" => $price]; goto WMgBe; ljRQo: curl_setopt_array($ch, [CURLOPT_URL => "https://yoomoney.ru/quickpay/confirm.xml", CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $data, CURLOPT_TIMEOUT => 5]); goto jMCjm; C6xIS: $secret = $this->getSetting("secret"); goto B2SXz; jMCjm: $res = curl_exec($ch); goto PjdCb; jOX8Y: preg_match("~(https[^\s]+)~", $res, $m); goto nh6oI; OFBqE: return $m[1] ?: false; goto gsq26; PjdCb: curl_close($ch); goto ZPzD0; nh6oI: oqvm6: goto OFBqE; ZEDnt: $phrase = $this->getSetting("phrase"); goto C6xIS; B2SXz: if (!(!empty($secret) && !empty($wallet) && !empty($phrase))) { goto oqvm6; } goto ukmYV; HIeqB: $wallet = $this->getSetting("wallet"); goto ZEDnt; gsq26: } public function wallet() { goto CFlqh; KXpCl: $text[] = "\xd1\x81\321\201\321\213\xd0\273\320\xba\320\260 \320\264\xd0\273\321\x8f \320\275\320\276\321\202\xd0\xb8\321\204\xd0\270\xd0\xba\xd0\260\321\206\320\xb8\320\271 <code>https://{$domain}:8443/wallet</code>"; goto N0Lrk; B4vYS: $text[] = "secret: {$wallet}"; goto KXpCl; huzbN: $text[] = "https://pay.wallet.tg/"; goto B4vYS; Vt75D: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]]; goto huzbN; RkiYw: $data[] = [["text" => $this->i18n("setSecret") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/sendReply enter wallet_updateSetting_@wallet_" . __FUNCTION__]]; goto Vt75D; N0Lrk: $this->uors($text, $data); goto erGLf; CFlqh: $domain = $this->getSetting("domain") ?: $this->BaewA; goto dC5Mh; dC5Mh: $wallet = $this->getSetting("@wallet"); goto RkiYw; erGLf: } public function crypto() { goto dj3Nq; dj3Nq: $domain = $this->getSetting("domain") ?: $this->BaewA; goto EBrnu; j1iWf: $text[] = "\321\x81\321\201\xd1\213\xd0\273\320\xba\xd0\260 \320\264\xd0\273\321\x8f \320\275\320\276\xd1\x82\320\270\xd1\x84\320\xb8\xd0\xba\xd0\260\321\206\xd0\xb8\xd0\271 <code>https://{$domain}:8443/cryptobot</code>"; goto Tex1O; MKnqs: $text[] = "secret: {$crypto}"; goto j1iWf; U5Ebk: $data[] = [["text" => $this->i18n("setSecret") . ($crypto ? ": {$crypto}" : ''), "callback_data" => "/sendReply enter crypto_updateSetting_@crypto_" . __FUNCTION__]]; goto iB9OO; iB9OO: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]]; goto xellF; Tex1O: $this->uors($text, $data); goto cBsfe; xellF: $text[] = "@send"; goto MKnqs; EBrnu: $crypto = $this->getSetting("@crypto"); goto U5Ebk; cBsfe: } public function cryptomus() { goto ufRzK; raekO: $data[] = [["text" => $this->i18n("setMerchant") . ($uid ? ": {$uid}" : ''), "callback_data" => "/sendReply enter uid_updateSetting_@cryptomusuid_" . __FUNCTION__]]; goto M1mfT; JQa3s: $text[] = "uid: {$uid}"; goto vcf7j; b4heO: $key = $this->getSetting("@cryptomuskey"); goto raekO; vcf7j: $text[] = "key: {$key}"; goto j9Wof; j9Wof: $this->uors($text, $data); goto O0MiV; ssCWP: $data[] = [["text" => $this->i18n("testWebhook"), "callback_data" => "/testCryptomus"]]; goto qyXoC; ufRzK: $uid = $this->getSetting("@cryptomusuid"); goto b4heO; Ep3xj: $text[] = "@cryptomus"; goto JQa3s; M1mfT: $data[] = [["text" => $this->i18n("setKey") . ($key ? ": {$key}" : ''), "callback_data" => "/sendReply enter api_updateSetting_@cryptomuskey_" . __FUNCTION__]]; goto ssCWP; qyXoC: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]]; goto Ep3xj; O0MiV: } public function webhookDebug() { $this->sql("insert into settings (param, value) values ('yd', 1) on duplicate key update value=!value"); $this->yoomoney(); } public function notifyPay($id) { goto z7SeG; C6G3h: sONc6: goto WKdxU; WIu7h: LVJLB: goto v0DjF; AUUqz: $amount = $this->cZwKZ["payment_type"] ? "{$o["amount"]} \342\230\206" : $o["amount"]; goto yde18; WKdxU: BifiF: goto AUUqz; Fm8tn: $this->send($this->jMTmt["admin"], "\xd1\203\320\xb2\320\265\xd0\xb4\320\xbe\xd0\xbc\xd0\xbb\xd0\xb5\320\275\xd0\xb8\xd0\265 \320\277\xd0\276 \320\xbe\321\202\321\201\xd1\203\xd1\202\321\201\321\202\xd0\262\xd1\x83\321\216\xd1\x89\xd0\265\xd0\xbc\xd1\x83 \xd0\xb7\xd0\260\xd0\xba\320\xb0\xd0\xb7\321\203 #{$id}"); goto zQvLA; PKWzC: H__Sn: goto kxI3p; yde18: $this->send($this->jMTmt["admin"], "\xd0\xbe\320\277\xd0\273\320\260\xd1\x87\xd0\xb5\xd0\xbd \320\xb7\320\260\320\272\xd0\xb0\320\267 #{$id}\xa{$amount}\xa{$life}\xa{$paid}"); goto PKWzC; v0DjF: $life = $this->getTime($o["life"]); goto xFpDa; xFpDa: switch ($o["paid_type"]) { case "1": $paid = "\321\207\xd0\265\xd1\x80\xd0\265\xd0\xb7 telegramPay"; goto BifiF; case "2": $paid = "\xd1\x87\320\265\xd1\200\xd0\xb5\xd0\267 @wallet"; goto BifiF; case "3": $paid = "\xd1\207\xd0\265\321\x80\xd0\265\xd0\xb7 @cryptomus"; goto BifiF; case "4": $paid = "\321\207\xd0\265\xd1\x80\xd0\265\320\xb7 @yoomoney"; goto BifiF; case "5": $paid = "\321\x87\320\xb5\xd1\x80\320\265\xd0\267 @send"; goto BifiF; case "6": $paid = "\321\207\320\xb5\321\x80\320\265\xd0\267 \320\xb1\320\260\320\273\320\260\xd0\xbd\xd1\x81"; goto BifiF; } goto C6G3h; z7SeG: if ($o = $this->sql("select * from orders where id=:id", [":id" => $id], "row")) { goto LVJLB; } goto Fm8tn; zQvLA: goto H__Sn; goto WIu7h; kxI3p: } public function order($id, $menupage) { goto xBOZ_; OOpIa: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["domain"]}:{$order["port"]}") . " / " . $this->getTime($order["life"]); goto z78SM; J70Lw: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto xqXzn; z78SM: $data[] = [["text" => $this->i18n("payOrder"), "callback_data" => "/payOrder {$id}_{$order["server"]}_{$menupage}_1"]]; goto ZKLbA; skxBe: $status .= $order["client"] ? " - \xd0\277\xd1\200\320\276\320\xb4\320\273\320\265\xd0\xbd\320\270\320\xb5 #{$order["client"]}" : ''; goto QoIH0; vC3WT: AMoaU: goto DGB6j; JP_Gv: AHMgr: goto J70Lw; FWIfr: goto AHMgr; goto vC3WT; DGB6j: $text[] = $this->template("uo", $order); goto f1Mrg; ZKLbA: $data[] = [["text" => $this->i18n("deleteOrder"), "callback_data" => "/deleteOrder {$id}_{$menupage}_menu"]]; goto JP_Gv; wIwy0: $text[] = "\320\xb7\xd0\xb0\320\272\xd0\260\320\267 \xd0\276\320\xbf\xd0\273\xd0\260\xd1\x87\320\xb5\xd0\xbd"; goto FWIfr; f1Mrg: $status = $order["paid"] ? "\xd0\xbe\xd0\xbf\xd0\273\320\xb0\xd1\207\320\xb5\320\xbd" : "\320\xb6\xd0\xb4\xd0\xb5\321\202 \320\276\320\xbf\320\xbb\xd0\260\xd1\202\321\213 " . $this->getTime(strtotime($order["insert_time"]) + $this->getSetting("expirePay") - time()); goto skxBe; xBOZ_: if ($order = $this->sql("select o.*, s.name, if(s.domain!="", s.domain, s.ip) domain, s.port from orders o join servers s on s.id=o.server where o.id=:id and o.paid=0", [":id" => $id], "row")) { goto AMoaU; } goto wIwy0; xqXzn: $this->uors($text, $data); goto igI09; QoIH0: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"]; goto OOpIa; igI09: } public function uors($text = false, $data = false) { goto a7Bvd; hsnL8: $data = $data ?: false; goto lm9AU; a7Bvd: $text = implode("
", $text ?: []); goto hsnL8; NtmMA: $r = $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], $text, $data); goto eQ6ir; lm9AU: if (!empty($this->cZwKZ["callback_id"])) { goto oz1It; } goto rATFD; eQ6ir: S0b_W: goto JmaXk; DrO5a: goto S0b_W; goto X8pK5; X8pK5: oz1It: goto NtmMA; rATFD: $r = $this->send($this->cZwKZ["chat"], $text, $this->cZwKZ["message_id"], $data); goto DrO5a; JmaXk: return $r; goto HU2Nn; HU2Nn: } public function payOrder($id, $server, $menupage, $main = false) { goto TITCV; SoRXy: EOcmE: goto ODD3Z; abtNU: $data[] = [["text" => $this->i18n("stars"), "url" => $link]]; goto PjIEQ; yl8dO: if ($order["paid"] > 0) { goto X_gf2; } goto RbKDQ; Ge2vW: $text[] = "<b>\xd0\227\320\260\xd0\xba\320\xb0\320\267 #{$order["id"]} \xd1\201\xd0\276\xd0\xb7\320\xb4\xd0\260\320\xbd</b>"; goto c5mvm; TITCV: $order = $this->sql("select o.*, s.name, s.ip, s.port from orders o join servers s on s.id=o.server where o.id=:id", [":id" => $id], "row"); goto ViYrd; r4ZMk: $data[] = [["text" => "\360\x9f\221\x9b Wallet Pay", "url" => $link]]; goto K4NrS; u2G24: $data[] = [["text" => $this->i18n("@cryptomus"), "url" => $link]]; goto pA4D0; DROrm: MuzqD: goto hwgsC; ViYrd: if (empty($order)) { goto MuzqD; } goto yl8dO; suCLJ: $data[] = [["text" => $this->i18n("balance"), "callback_data" => "/balanceOrder {$id}_{$menupage}"]]; goto TQ3Rr; DV1pA: goto EOcmE; goto lKPKu; K4NrS: dAtEr: goto UCq1f; lKPKu: X_gf2: goto l4Y3e; Ibkgb: $data[] = [["text" => $this->i18n("@send"), "url" => $link]]; goto e2BxX; RbKDQ: if ($main) { goto w0I7T; } goto Ge2vW; qoBiA: $life = $order["life"]; goto W9WOq; SVNMY: $this->uors($text, $data); goto sVObN; NIRaW: $text[] = "\320\xb2 \320\xb4\320\xb0\320\xbd\xd0\xbd\xd1\213\320\xb9 \320\274\320\276\320\xbc\xd0\265\320\xbd\321\x82 \xd0\275\xd0\xb5\xd1\202 \320\262\320\xbe\xd0\267\320\274\xd0\276\320\xb6\xd0\xbd\xd0\276\321\x81\321\202\xd0\270 \320\276\xd0\277\xd0\273\320\260\321\x82\320\270\321\x82\xd1\x8c, \xd1\x81\320\xb2\xd1\x8f\320\266\320\xb8\xd1\202\320\xb5\xd1\201\xd1\x8c \xd1\x81 \xd0\260\320\xb4\xd0\274\xd0\270\xd0\275\xd0\270\321\x81\xd1\x82\321\200\320\260\xd1\x82\xd0\xbe\321\200\320\xbe\xd0\xbc"; goto yD_tj; Nv7d4: goto EOcmE; goto DROrm; TQ3Rr: CqMC_: goto qs262; l4Y3e: $text[] = "\xd0\267\320\260\xd0\272\xd0\260\320\xb7 \xd0\xbe\xd0\277\xd0\xbb\xd0\260\xd1\x87\xd0\265\xd0\275. \xd0\xb2 \xd0\261\xd0\273\xd0\270\320\xb6\320\xb0\320\xb9\321\210\xd0\265\xd0\xb5 \xd0\262\xd1\x80\320\xb5\320\274\xd1\217 \320\xb2\321\213 \xd0\xbf\320\276\320\273\321\203\321\x87\320\xb8\xd1\x82\320\265 \xd0\272\320\xbe\320\275\xd1\x84\320\270\xd0\xb3"; goto SoRXy; hwgsC: $text[] = "\xd0\xbd\xd0\xb5 \xd0\275\320\xb0\xd1\x88\320\xb5\320\273 \320\267\xd0\xb0\xd0\272\320\260\320\xb7 #{$id}"; goto DV1pA; m0iaD: $text[] = trim($this->template("up", $order)); goto tYvSK; AWdmz: $data[] = [["text" => $this->i18n("yoomoneyPay"), "url" => $link]]; goto aGuva; e2BxX: oalJE: goto XWVhQ; UCq1f: if (!($link = $this->yoomoneyLink($id, $order["price"], $menupage))) { goto WiKpO; } goto AWdmz; c5mvm: w0I7T: goto qoBiA; wXyjD: if (!($order["stars"] > 0 && ($link = $this->telegramPayLink("vpn", $desc, "{$id}:{$menupage}:{$this->cZwKZ["message_id"]}", [["label" => $order["life"], "amount" => $order["stars"]]], 1)))) { goto nNbtv; } goto abtNU; SJ2Ys: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"]; goto azHIT; g0q2d: $desc = "order #{$id}"; goto qiQAk; PjIEQ: nNbtv: goto SWw9C; SWw9C: if (!empty($data)) { goto psfCM; } goto NIRaW; tYvSK: $status = "\320\266\320\264\xd0\265\xd1\x82 \xd0\xbe\320\277\xd0\273\xd0\xb0\xd1\202\321\213 " . $this->getTime(strtotime($order["insert_time"]) + $this->getSetting("expirePay") - time()) . ($order["client"] ? " - \xd0\xbf\xd1\x80\320\276\xd0\264\xd0\xbb\320\xb5\320\275\320\xb8\320\xb5 #{$order["client"]}" : ''); goto SJ2Ys; qs262: if (!($link = $this->cryptomusLink("{$id}-{$this->cZwKZ["from"]}-{$this->cZwKZ["message_id"]}-{$menupage}", $desc, $order["price"]))) { goto PMm59; } goto u2G24; YidQi: r7Z44: goto wXyjD; iCYnL: if (!($life <= $balance)) { goto CqMC_; } goto suCLJ; ODD3Z: $data[] = [["text" => $this->i18n("back"), "callback_data" => $main ? "/order {$id}_{$menupage}" : "/serverUser {$server}_{$menupage}"]]; goto SVNMY; aGuva: WiKpO: goto o2ErL; o2ErL: if (!($link = $this->telegramPayLink("vpn", $desc, "{$id}:{$menupage}:{$this->cZwKZ["message_id"]}", [["label" => $order["life"], "amount" => $order["price"] * 100]]))) { goto c1Zvh; } goto WvB1n; yD_tj: psfCM: goto Nv7d4; WvB1n: $data[] = [["text" => $this->i18n("telegramPay"), "url" => $link]]; goto qLJJf; pA4D0: PMm59: goto gW68V; zOLWW: if (empty($life)) { goto r7Z44; } goto iCYnL; XWVhQ: if (!($link = $this->walletLink("{$id}:{$this->cZwKZ["from"]}:{$this->cZwKZ["message_id"]}:{$menupage}", $desc, $order["price"]))) { goto dAtEr; } goto r4ZMk; gW68V: if (!($link = $this->cryptoLink("{$id}:{$this->cZwKZ["from"]}:{$this->cZwKZ["message_id"]}:{$menupage}", $desc, $order["price"]))) { goto oalJE; } goto Ibkgb; azHIT: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["ip"]}:{$order["port"]}") . " / " . $order["life"]; goto g0q2d; qiQAk: $balance = $this->getBalance(); goto zOLWW; W9WOq: $order["life"] = $this->getTime($order["life"]); goto m0iaD; qLJJf: c1Zvh: goto YidQi; sVObN: } public function deleteOrder($id, $backpage, $callback) { $this->sql("delete from orders where id=:id", [":id" => $id]); $this->{$callback}($backpage); } public function previewMedia($param) { goto Lp59l; hpSSb: KMXOb: goto sI_nF; PrTt0: $this->send($this->cZwKZ["chat"], $text); goto GWT3h; bZ3El: a1YP2: goto vbLxq; vbLxq: if (!$text) { goto ItIf3; } goto PrTt0; yabS4: $this->request("sendMediaGroup", ["chat_id" => $this->cZwKZ["chat"], "media" => json_encode($photos)]); goto bZ3El; sI_nF: if (!$photos) { goto a1YP2; } goto yabS4; HExpF: preg_match_all("/~photo:(.+)~/", $text, $m); goto Z2eao; XW8VP: foreach ($m[1] as $k => $v) { $photos[] = ["type" => "photo", "media" => $v, "parse_mode" => "HTML"]; ivAKy: } goto hpSSb; GWT3h: ItIf3: goto Vc7Tt; Z2eao: $text = trim(preg_replace("/~photo:(.+)~/", '', $text)); goto XW8VP; Lp59l: $text = $this->getSetting($param); goto HExpF; Vc7Tt: } public function helpMenu($menupage = 0) { goto QFezP; rrcRV: $data[] = [["text" => $this->i18n("android"), "callback_data" => "/previewMedia ha"], ["text" => $this->i18n("ios"), "callback_data" => "/previewMedia hi"]]; goto TYDXz; QFezP: $text[] = $this->getSetting("h"); goto UzzO9; TYDXz: $data[] = [["text" => $this->i18n("windows"), "callback_data" => "/previewMedia hw"], ["text" => $this->i18n("macos"), "callback_data" => "/previewMedia hm"]]; goto STAb6; UzzO9: $data[] = [["text" => $this->i18n("bot"), "callback_data" => "/previewMedia hb"]]; goto rrcRV; j3cC_: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", $text ?: []), $data ?: false); goto rwTaI; STAb6: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto j3cC_; rwTaI: } public function menu($menupage = 0) { goto CQk64; R0CvQ: VaSVv: goto PklDW; CmWxT: j6Baa: goto R0CvQ; pKB1x: ACVvS: goto GwjXF; vPT9d: $data[] = [["text" => $this->i18n("orders") . ": " . $this->sql("select count(*) from orders where paid=0", view: "one"), "callback_data" => "/orders"]]; goto Cz1Co; wognn: $subs = $this->sql("select c.*, s.name server_name, s.ip, s.port from clients c join servers s on s.id=c.server where c.tgid=:tgid limit {$this->qB7oz} offset " . $menupage * $this->qB7oz, [":tgid" => $this->cZwKZ["from"]]); goto pOQUE; BplhY: foreach ($orders as $k => $v) { goto sM3iT; sM3iT: $status = $v["paid"] ? "\320\276\320\277\320\273\xd0\260\321\207\xd0\xb5\320\275" : "\xd0\266\320\264\320\265\xd1\x82 \320\xbe\320\xbf\xd0\273\320\260\321\x82\xd1\x8b " . $this->getTime(strtotime($v["insert_time"]) + $this->getSetting("expirePay") - time()); goto VMmhg; VMmhg: $status .= $v["client"] ? " - \xd0\xbf\xd1\200\320\276\xd0\264\320\273\320\265\320\275\xd0\270\xd0\265 #{$v["client"]}" : ''; goto Ih2RH; Ih2RH: $data[] = [["text" => "#{$v["id"]} ({$status}): " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " / " . $this->getTime($v["life"]), "callback_data" => "/order {$v["id"]}_{$menupage}"]]; goto voUlI; voUlI: XCONk: goto OKnV0; OKnV0: } goto CmWxT; eenNj: kVn4w: goto oEi27; BtihO: $data[] = [["text" => $this->i18n("bonus limit") . (($d = $this->getSetting("bonuslimit")) ? ": " . $this->getTime($d, 0) : ''), "callback_data" => "/sendReply enter time_updateBonusLimit"]]; goto eenNj; ab73X: $data[] = [["text" => $this->demo(1) ? $demo : $this->i18n("update menu"), "callback_data" => "/menu {$menupage}"]]; goto Iq5vS; fgZu8: $data[] = [["text" => $this->i18n("clients") . ": " . $this->sql("select count(*) from clients", view: "one"), "callback_data" => "/clients"]]; goto vPT9d; GwjXF: if (!($c > $this->qB7oz)) { goto rXjXc; } goto HZ0Be; fumV_: if ($this->sql("select 1 from orders where tgid=:tgid and promo!=""", [":tgid" => $this->cZwKZ["from"]], "one")) { goto hr8T0; } goto vtuK1; nQ0cn: $data[] = [["text" => $this->i18n("referal bonus") . (($d = $this->getSetting("referal")) ? ": " . $this->getTime($d, 0) : ''), "callback_data" => "/sendReply enter time_updateReferal"]]; goto BtihO; KSy54: $data[] = [["text" => "<<", "callback_data" => "/menu {$prev}"], ["text" => $menupage + 1 . " \xd0\270\320\267 " . $pages, "callback_data" => "/menu {$menupage}"], ["text" => ">>", "callback_data" => "/menu {$next}"]]; goto kextX; wkMRX: $next = $menupage + 1 >= $pages ? 0 : $menupage + 1; goto KSy54; QcbjH: FhH1C: goto QO6Da; HZ0Be: $pages = (int) ceil($c / $this->qB7oz); goto nUTuQ; zPuOU: goto kVn4w; goto yrPE7; eD8Nv: GtdtH: goto fumV_; yrPE7: LD9Tm: goto qBjOz; nUTuQ: $prev = $menupage - 1 < 0 ? $pages : $menupage - 1; goto wkMRX; Iq5vS: $this->uors($text ?? false, $data); goto TljTz; kFWuW: hr8T0: goto desXI; desXI: $tmp[] = ["text" => $this->i18n("helpMenu"), "callback_data" => "/helpMenu {$menupage}"]; goto qO11k; kextX: rXjXc: goto eD8Nv; Cz1Co: $data[] = [["text" => $this->i18n("discount") . (($d = $this->getDiscount()) ? ": {$d}%" : ''), "callback_data" => "/sendReply enter %_updateSetting_discount_menu"]]; goto nQ0cn; JjEeJ: if (!$this->sql("select 1 from servers where pay=1")) { goto FhH1C; } goto pbfd9; pbfd9: $data[] = [["text" => $this->i18n("buy"), "callback_data" => "/buy {$menupage}"]]; goto QcbjH; LiY3m: if ($this->BKOw0) { goto LD9Tm; } goto Evx09; Evx09: $text[] = $this->template("um", []); goto JjEeJ; pOQUE: foreach ($subs as $k => $v) { goto SZ5bq; SZ5bq: $name = "{$v["id"]}: " . ($v["name"] ?: ($v["server_name"] ?: "{$v["ip"]}:{$v["port"]}")) . " / " . ($v["life"] ? $this->getTime(strtotime($v["life"]) - time()) : "\342\x88\236"); goto kAmNS; kAmNS: $data[] = [["text" => $name, "callback_data" => "/peer {$v["id"]}_{$menupage}"]]; goto o8Mle; o8Mle: sf5wV: goto i6flo; i6flo: } goto pKB1x; oEi27: $demo = $this->demo(1) ? $this->getTime(strtotime($this->demo(1)) - time()) : ''; goto bY225; C6Snx: $data[] = [["text" => $this->i18n("servers") . ": " . $this->sql("select count(*) from servers", view: "one"), "callback_data" => "/servers"]]; goto fgZu8; PklDW: if (!($c = $this->sql("select count(*) from clients c join servers s on s.id=c.server where c.tgid=:tgid", [":tgid" => $this->cZwKZ["from"]], "one"))) { goto GtdtH; } goto wognn; qBjOz: $data[] = [["text" => $this->i18n("settings"), "callback_data" => "/config {$menupage}"]]; goto C6Snx; CQk64: $menupage = $menupage ?: 0; goto LiY3m; vtuK1: $tmp[] = ["text" => $this->i18n("promo"), "callback_data" => "/sendReply \xd0\262\xd0\xb2\320\xb5\320\264\xd0\270\xd1\202\320\xb5 \320\xba\xd0\xbe\320\264_activatePromo_{$menupage}"]; goto kFWuW; bY225: $demo = $demo == "off" ? "demo completed" : "demo: {$demo}"; goto ab73X; qO11k: $data[] = $tmp; goto zPuOU; QO6Da: if (!($orders = $this->sql("select o.*, s.name, s.ip, s.port from orders o join servers s on s.id=o.server where o.tgid=:tgid and o.paid=0", [":tgid" => $this->cZwKZ["from"]]))) { goto VaSVv; } goto BplhY; TljTz: } public function activatePromo($code, $menupage = 0) { goto O3Udy; Bf5Vb: $this->notify("\xd1\x80\320\xb5\321\204\xd1\x81\xd1\201\321\x8b\xd0\273\xd0\272\320\260 \xd0\275\xd0\xb5 \320\xb1\xd1\213\xd0\xbb\320\xb0 \320\277\321\200\320\270\xd0\274\xd0\265\xd0\275\320\265\xd0\275\320\xb0 \xd0\xb4\xd0\xbb\321\x8f \320\xbf\320\xbe\320\273\321\x8c\320\267\xd0\xbe\xd0\262\320\260\xd1\202\320\xb5\xd0\273\xd1\x8f {$this->cZwKZ["from"]}"); goto qcN5c; F2jwk: $this->send($this->cZwKZ["chat"], "\xd0\xbd\xd0\265\xd0\xb2\xd0\xb5\xd1\x80\xd0\xbd\xd1\213\xd0\xb9 \xd0\277\321\x80\xd0\xbe\320\274\xd0\276\320\xba\xd0\276\320\264"); goto LTYog; BXb30: a9QGZ: goto jvVDM; IDnZG: IWmLs: goto ML0A7; ZuXHW: VBQVj: goto EVPJH; jMYhN: lq5_k: goto TPfqE; b1kKq: $this->updateUser($this->cZwKZ["from"], referal: 1); goto ui0Kz; AkYEl: goto HcdjN; goto ZuXHW; xv7WD: $order = $this->sql("select 1 from orders where tgid=:tgid and paid=1", [":tgid" => (int) $m[1]], "one"); goto czt7J; tHjvn: goto ai9TJ; goto IDnZG; CvapH: Sa1MI: goto jqnVF; kgM06: goto Sa1MI; goto BXb30; O3Udy: if (preg_match("~^cl(.+)~", $code, $m)) { goto IWmLs; } goto ywEyV; ywEyV: if (!$this->sql("select 1 from orders where tgid=:tgid and promo is not null", [":tgid" => $this->cZwKZ["from"]], "one")) { goto HKB6_; } goto UUSH2; jqnVF: HcdjN: goto EcoZJ; qcN5c: goto lq5_k; goto deAeP; yYPcM: if (!empty($id) && !empty($r["price"] || $r["stars"])) { goto cOzze; } goto WZWEP; Frucx: HKB6_: goto hJwqp; TPfqE: $this->menu($menupage); goto hno8Z; ML0A7: $balance = $this->getSetting("referal"); goto xv7WD; UUSH2: $this->send($this->cZwKZ["chat"], "\xd1\x83\xd0\xb6\320\xb5 \320\xb5\xd1\201\321\202\321\214 \xd0\260\320\xba\xd1\202\xd0\270\xd0\262\xd0\xb8\321\x80\xd0\276\xd0\262\xd0\260\xd0\xbd\xd0\xbd\xd1\213\320\271 \320\277\321\x80\xd0\xbe\320\274\320\276\320\272\xd0\xbe\320\xb4"); goto XMff7; Qe8NZ: cOzze: goto ifeDp; WZWEP: if (!empty($id)) { goto a9QGZ; } goto oGTyw; EcoZJ: k32qz: goto tHjvn; ui0Kz: $this->updateUser((int) $m[1], balance: $balance); goto jMYhN; EVPJH: $id = $this->sql("insert into orders(tgid, server, price, stars, quant, life, promo, paid, paid_time) values (:tgid, :server, :price, :stars, :quant, :life, :promo, :paid, :paidtime);SELECT LAST_INSERT_ID();", [":tgid" => $this->cZwKZ["from"], ":server" => $r["server"], ":price" => $r["price"], ":stars" => $r["stars"], ":quant" => $r["quant"], ":life" => $r["duration"], ":paid" => $r["price"] || $r["stars"] ? 0 : 1, ":paidtime" => $r["price"] || $r["stars"] ? null : date("Y-m-d H:i:s"), ":promo" => $code], "one", nextRowset: 1); goto yYPcM; WObyo: goto k32qz; goto Frucx; jvVDM: $this->order($id, $menupage); goto CvapH; hno8Z: ai9TJ: goto LIdYv; LTYog: $this->menu($menupage); goto AkYEl; hJwqp: if ($r = $this->sql("select * from promo where title=:promo", [":promo" => $code], "row")) { goto VBQVj; } goto F2jwk; ifeDp: $this->payOrder($id, $r["server"], $menupage, 1); goto kgM06; deAeP: wMRmC: goto b1kKq; XMff7: $this->menu($menupage); goto WObyo; czt7J: if (!empty($balance) && !empty($order) && empty($this->sql("select referal from users where tgid=:tgid", [":tgid" => $this->cZwKZ["from"]], "one"))) { goto wMRmC; } goto Bf5Vb; oGTyw: goto Sa1MI; goto Qe8NZ; LIdYv: } public function orders($orderpage = 0) { goto GmHIC; rqRTj: wZlEb: goto G1xkb; GmHIC: if (!($count = $this->sql("select count(*) from orders where paid=0", view: "one"))) { goto wZlEb; } goto mh2Cy; MRpWI: $data[] = $this->paginate($count, $this->qB7oz, $orderpage, "/orders ~page~"); goto vcWSM; uCh1V: foreach ($orders as $k => $v) { goto kB28E; kB28E: $status = $v["paid"] ? "\xd0\276\320\xbf\xd0\273\320\260\321\x87\xd0\xb5\xd0\275" : "\xd0\xb6\xd0\264\320\265\321\x82 \xd0\276\320\xbf\320\273\320\260\321\202\xd1\x8b " . $this->getTime(strtotime($v["insert_time"]) + $this->getSetting("expirePay") - time()); goto c1PB3; c1PB3: $status .= $v["client"] ? " - \xd0\xbf\xd1\x80\320\xbe\xd0\xb4\xd0\xbb\xd0\265\320\275\xd0\xb8\320\265 #{$v["client"]}" : ''; goto AS4eS; AS4eS: $data[] = [["text" => "#{$v["id"]} {$v["tgid"]} ({$status}): " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " / " . $this->getTime($v["life"]), "callback_data" => "/orderAdmin {$v["id"]}_{$orderpage}"]]; goto AhwJJ; AhwJJ: LMY7A: goto cCa__; cCa__: } goto dbcQB; cXCeD: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", []), $data ?: false); goto ZoOfu; vcWSM: JoIra: goto rqRTj; s1CAq: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto cXCeD; mh2Cy: $orders = $this->sql("select o.*, s.name, s.ip, s.port from orders o left join servers s on s.id=o.server where o.paid=0 limit {$this->qB7oz} offset " . $orderpage * $this->qB7oz); goto uCh1V; nR5c4: if (!($count > $this->qB7oz)) { goto JoIra; } goto MRpWI; G1xkb: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/orders {$orderpage}"]]; goto s1CAq; dbcQB: jJ2pZ: goto nR5c4; ZoOfu: } public function orderAdmin($id, $orderpage) { goto mhgum; HXYoH: $status .= $order["client"] ? " - \320\xbf\xd1\x80\xd0\276\320\264\xd0\xbb\320\265\320\xbd\xd0\270\xd0\xb5 #{$order["client"]}" : ''; goto TGuD2; TGuD2: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"]; goto mv_ce; sDyD1: $s = substr($this->getSetting("support"), 3); goto WN2K5; RDW61: oy4l2: goto W9B3X; iJKIo: $status = $order["paid"] ? "\320\xbe\xd0\xbf\xd0\xbb\xd0\xb0\321\207\320\265\320\xbd" : "\320\xb6\320\264\xd0\xb5\xd1\202 \xd0\xbe\xd0\xbf\xd0\273\320\xb0\xd1\202\xd1\213 " . $this->getTime(strtotime($order["insert_time"]) + $this->getSetting("expirePay") - time()); goto HXYoH; W9B3X: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/orders {$orderpage}"]]; goto UoB9w; UoB9w: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto PKyUo; mv_ce: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["ip"]}:{$order["port"]}") . " / " . $this->getTime($order["life"]); goto sDyD1; mhgum: if (!($order = $this->sql("select o.*, s.name, s.ip, s.port from orders o join servers s on s.id=o.server where o.id=:id", [":id" => $id], "row"))) { goto oy4l2; } goto iJKIo; WN2K5: $data[] = array_merge([["text" => $this->i18n("delete"), "callback_data" => "/deleteOrder {$id}_{$orderpage}_orders"], ["text" => $this->i18n("confirm"), "callback_data" => "/confirmOrder {$id}_{$orderpage}"]], ($f = $this->sql("select forum from support where tgid=:tgid", [":tgid" => $order["tgid"]], "one")) ? [["text" => $this->i18n("chat"), "url" => "https://t.me/c/1792182657/{$f}"]] : [["text" => $this->i18n("chat"), "callback_data" => "/startChat {$order["tgid"]}_{$id}_{$orderpage}"]]); goto RDW61; PKyUo: } public function confirmOrder($id, $orderpage) { $this->sql("update orders set paid=1, paid_time=now() where paid=0 and id=:id", [":id" => $id]); $this->orders($orderpage); } public function paginate($all, $limit, $page, $callback) { goto zzD4l; zzD4l: $pages = (int) ceil($all / $limit); goto fXqej; NQ3I6: $next = $page + 1 >= $pages ? 0 : $page + 1; goto o3e7e; o3e7e: return [["text" => "<<", "callback_data" => str_replace("~page~", $prev, $callback)], ["text" => $page + 1 . " \xd0\xb8\xd0\267 " . $pages, "callback_data" => str_replace("~page~", $page, $callback)], ["text" => ">>", "callback_data" => str_replace("~page~", $next, $callback)]]; goto uZkHM; fXqej: $prev = $page - 1 < 0 ? $pages - 1 : $page - 1; goto NQ3I6; uZkHM: } public function servers($serverpage = 0) { goto xrVb5; A0oBd: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/servers {$serverpage}"]]; goto zkFam; zkFam: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto HLXR4; R00pF: $data[] = $this->paginate($c, $this->qB7oz, $serverpage, "/servers ~page~"); goto SXeEW; AGD14: $s = $this->sql("select *,
(select count(*) from clients where server=servers.id) clients,
(select sum(session_download) + sum(download) from clients where server=servers.id) download,
(select sum(session_upload) + sum(upload) from clients where server=servers.id) upload\xa from servers order by name limit {$this->qB7oz} offset " . $serverpage * $this->qB7oz); goto IDuuK; cSN6y: if (!($c > $this->qB7oz)) { goto zTmI7; } goto R00pF; o39qU: P9HCC: goto A0oBd; HLXR4: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", []), $data ?: false); goto fgbjs; SXeEW: zTmI7: goto o39qU; xrVb5: if (!($c = $this->sql("select count(*) from servers", view: "one"))) { goto P9HCC; } goto AGD14; IDuuK: foreach ($s as $k => $v) { goto iP3yf; NK9GU: $data[] = [["text" => $online . " " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " clients: {$v["clients"]}/{$v["cells"]} \xe2\206\x93{$download} \342\x86\221{$upload}", "callback_data" => "/server {$v["id"]}_{$serverpage}"]]; goto csbjj; DhHZC: $upload = $this->getBytes($v["upload"]); goto vXJrV; iP3yf: $download = $this->getBytes($v["download"]); goto DhHZC; csbjj: Fis1p: goto ggwCM; vXJrV: $online = strtotime($v["last_online"]) + $v["sleep"] < time() ? "offline" : ''; goto NK9GU; ggwCM: } goto MRU5M; MRU5M: uOO2h: goto cSN6y; fgbjs: } public function getClients($call, $server = 0, $serverpage = 0, $clientpage = 0) { goto aQ5FI; racsh: foreach ($clients as $k => $v) { goto Y7sUz; rM4yX: $u = $this->getBytes($v["upload"] + $v["session_upload"]); goto mtyYN; mtyYN: $l = $this->getBytes($v["limitation"]); goto WF3Gt; WF3Gt: $data[] = [["text" => "#{$v["id"]} {$on} {$name} \342\x86\x93{$d}" . ($v["limitation"] ? "({$l})" : '') . " \xe2\206\x91{$u} {$life}", "callback_data" => "/client {$call}_{$v["id"]}_{$server}_{$serverpage}_{$clientpage}"]]; goto lip3T; clr8y: $on = $v["on_off"] && !$v["public"] ? "(wait create)" : ''; goto vM5KR; NS7wa: $d = $this->getBytes($v["download"] + $v["session_download"]); goto rM4yX; lip3T: jrPCV: goto bgKqd; Y7sUz: $life = $v["life"] ? $this->getTime(strtotime($v["life"]) - time()) : "\xe2\x88\x9e"; goto clr8y; vM5KR: $name = $v["name"] ?: $v["tgid"]; goto NS7wa; bgKqd: } goto SAhdV; zfk14: return $data ?: []; goto uMvPT; aN06j: if (!($count > $this->qB7oz)) { goto vBO2y; } goto Nkk7h; ahHWm: $clients = $this->sql("select * from clients where if(:id=0, true, server=:id) " . (!empty($_SESSION["search"]) ? " and (name like :search or tgid like :search)" : '') . ($_SESSION["onoff"] == "on" ? " and on_off=1" : '') . ($_SESSION["onoff"] == "off" ? " and on_off=0" : '') . " limit {$this->qB7oz} offset " . $clientpage * $this->qB7oz, !empty($_SESSION["search"]) ? [":id" => $server, ":search" => "%{$_SESSION["search"]}%"] : [":id" => $server]); goto racsh; Nkk7h: $data[] = $this->paginate($count, $this->qB7oz, $clientpage, "/{$call} {$server}_{$serverpage}_~page~"); goto gacOq; aPrLb: rqpC4: goto zfk14; gacOq: vBO2y: goto aPrLb; SAhdV: MDYox: goto aN06j; aQ5FI: if (!($count = $this->sql("select count(*) from clients where if(:id=0, true, server=:id)" . (!empty($_SESSION["search"]) ? " and (name like :search or tgid like :search)" : '') . ($_SESSION["onoff"] == "on" ? " and on_off=1" : '') . ($_SESSION["onoff"] == "off" ? " and on_off=0" : ''), !empty($_SESSION["search"]) ? [":id" => $server, ":search" => "%{$_SESSION["search"]}%"] : [":id" => $server], "one"))) { goto rqpC4; } goto ahHWm; uMvPT: } public function searchClient($text, $server_id = 0) { goto oSE_I; oSE_I: $_SESSION["search"] = $text; goto pFT_c; pFT_c: if (empty($server_id)) { goto R9SXl; } goto UiimT; b3TPY: $this->clients($server_id); goto wLmPn; UiimT: return $this->server($server_id); goto XvbIT; XvbIT: R9SXl: goto b3TPY; wLmPn: } public function onoff($server_id = 0) { goto KJz5_; zM1iu: if (empty($server_id)) { goto a3BBt; } goto W_X2Q; T_4wJ: $this->clients($server_id); goto Sekk1; lwnmF: bQLx1: goto zM1iu; S6gSD: FNDEJ: goto lwnmF; fm9A2: a3BBt: goto T_4wJ; KJz5_: switch ($_SESSION["onoff"]) { case "on": $_SESSION["onoff"] = "off"; goto bQLx1; case "off": $_SESSION["onoff"] = "onoff"; goto bQLx1; default: $_SESSION["onoff"] = "on"; goto bQLx1; } goto S6gSD; W_X2Q: return $this->server($server_id); goto fm9A2; Sekk1: } public function clients($server_id = 0, $serverpage = 0, $clientpage = 0) { goto IrN6y; TqWbi: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto bDEO9; e0lu2: $data[] = [["text" => $this->i18n("change_time_all"), "callback_data" => "/sendReply enter like 1 day_setTimeClientAll_{$server_id}_{$serverpage}_{$clientpage}"]]; goto c2xoO; bDEO9: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", []), $data ?: false); goto SVgxZ; IrN6y: $data = $this->getClients("clients", $server_id, $serverpage, $clientpage); goto jMhMC; jMhMC: $data[] = [["text" => $this->i18n("filter") . ": " . $this->i18n($_SESSION["onoff"] ?: "onoff"), "callback_data" => "/onoff {$server_id}"], ["text" => $this->i18n("search") . ($_SESSION["search"] ? ": {$_SESSION["search"]}" : ''), "callback_data" => "/sendReply enter name or tgid_searchClient_{$server_id}"]]; goto e0lu2; c2xoO: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/clients {$server_id}_{$serverpage}_{$clientpage}"]]; goto TqWbi; SVgxZ: } public function getRef() { return "https://t.me/{$this->request("getMe", [])["result"]["username"]}?start=cl" . $this->cZwKZ["from"]; } public function getBalance() { return $this->sql("select balance from users where tgid=:tgid", [":tgid" => $this->cZwKZ["from"]], "one"); } public function peer($id, $menupage) { goto weLmv; fhBnc: $data[] = [["text" => $this->i18n("qr"), "callback_data" => "/qrPeer {$id}"], ["text" => $this->i18n("download"), "callback_data" => "/qrPeer {$id}_1"]]; goto Ga73X; J9FbJ: $data[] = [["text" => $this->i18n("prolong"), "callback_data" => "/prolong {$id}_{$menupage}"]]; goto WeyTT; Calnt: $c["life"] = $c["life"] ? $this->getTime(strtotime($c["life"]) - time()) : "\xe2\x88\x9e"; goto yHw2l; NN_SC: $c["name"] = $c["name"] ?: "{$u} ({$c["tgid"]})"; goto w3t6F; yHw2l: $u = $this->getInfoUser($c["tgid"])["result"]["user"]["first_name"]; goto NN_SC; gnUbY: V743W: goto Calnt; w3t6F: $text[] = $this->template("ur", $c); goto J9FbJ; X4KIU: gHYjR: goto OgeGy; jV1Da: if (!$c["on_off"]) { goto V743W; } goto sVycP; PM1E_: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto AmJat; OgeGy: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto PM1E_; sVycP: $c["code"] = "<pre><code>" . $this->qrPeer($id, return: 1) . "</code></pre>"; goto gnUbY; inPno: $data[] = [["text" => $this->i18n("rename"), "callback_data" => "/sendReply enter name_userRename_{$id}_{$menupage}"]]; goto X4KIU; weLmv: $c = $this->sql("select c.*, if(s.domain!="", s.domain, s.ip) domain, s.hash server_hash, s.port from clients c join servers s on s.id=c.server where c.id=:id", [":id" => $id], "row"); goto jV1Da; Ga73X: $data[] = [["text" => $this->i18n("amnezia"), "callback_data" => "/amnezia {$id}"]]; goto inPno; WeyTT: if (!$c["on_off"]) { goto gHYjR; } goto fhBnc; AmJat: } public function amnezia($id) { $link = $this->sql("select amnezia from clients where id=:id", [":id" => $id], "one"); $this->send($this->cZwKZ["from"], "<code>{$link}</code>"); } public function qrPeer($id, $download = 0, $return = false) { goto PKt8a; tAAnZ: exec("qrencode -t png -o {$path} '{$code}'"); goto qcGfs; q6V_r: $template = preg_replace("/~ip~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $d), $template); goto Ren4Q; fsOsa: fhEPx: goto erw6I; YveMh: return $code; goto fsOsa; RrBnh: Gquer: goto uaDC2; gCwvL: goto L2cH9; goto RrBnh; sc8T7: $mtu = $c["mtu"] ?: 1350; goto SoXcS; jB2CJ: $dns = $this->getSetting("dns") ?: "1.1.1.1, 8.8.8.8"; goto sc8T7; uaDC2: file_put_contents($path, $code); goto B0Hnc; Ccuv7: if ($download) { goto Gquer; } goto tAAnZ; QxSMM: $template = $this->getSetting("temp"); goto oBcv0; SoXcS: $ips = $c["ips"] ?: "0.0.0.0/0"; goto k5JbP; PKt8a: $c = $this->sql("select c.*, s.ip server_ip, s.hash server_hash, s.port, s.domain, if(c.mtu, c.mtu, s.mtu) mtu, if(c.ips, c.ips, s.ips) ips from clients c join servers s on s.id=c.server where c.id=:id", [":id" => $id], "row"); goto n4ssT; erw6I: $path = __DIR__ . "/qr/{$id}"; goto QxSMM; oBcv0: $replacement = $this->getSetting("repl"); goto u3fcA; pa8_E: $template = preg_replace("/~bot~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $bot), $template); goto q6V_r; nd03r: unlink($path); goto JCHaL; ORQVL: if (!$return) { goto fhEPx; } goto YveMh; Ren4Q: $template = preg_replace("/~port~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $c["port"]), $template); goto DQiwb; k5JbP: $code = "[Interface]
PrivateKey = {$c["private"]}
Address = {$c["ip"]}
MTU = {$mtu}\xaDNS = {$dns}
[Peer]\xaPublicKey = {$c["server_hash"]}
Endpoint = {$d}:{$c["port"]}\xaAllowedIPs = {$ips}
PersistentKeepalive = 20"; goto ORQVL; B0Hnc: $this->sendFile($this->cZwKZ["chat"], curl_file_create($path, posted_filename: $template)); goto hu5pW; DQiwb: $template = preg_replace("/~id~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $c["id"]), $template); goto Ccuv7; n4ssT: $d = $c["domain"] ?: $c["server_ip"]; goto jB2CJ; u3fcA: $bot = $this->request("getMyName", [])["result"]["name"]; goto pa8_E; hu5pW: L2cH9: goto nd03r; qcGfs: $this->sendPhoto($this->cZwKZ["chat"], curl_file_create($path), $template); goto gCwvL; JCHaL: } public function testPeriod($id, $menupage) { goto LySaN; di8pc: $this->updateUser($this->cZwKZ["from"], test: 1); goto ggyHX; YHoxl: $this->menu($menupage); goto wg7k_; zJE7x: bW2QQ: goto YHoxl; ggyHX: $this->sql("insert into clients(tgid, server, on_off, ip, life) values (:tgid, :server, 1, :ip, :life)", [":tgid" => $this->cZwKZ["from"], ":server" => $id, ":ip" => $this->nextIP($id), ":life" => date("Y-m-d H:i:s", time() + $s)]); goto zJE7x; LySaN: if (!($s = $this->sql("select test_time from servers where id=:id and pay=1 and test_time > 0", [":id" => $id], "one"))) { goto bW2QQ; } goto di8pc; wg7k_: } public function updateUser(int $tgid, int $balance = 0, bool $test = false, bool $referal = false) { goto m5Lfj; fb_nc: if (empty($referal)) { goto pez3w; } goto S0vEF; S0vEF: $this->notify("\320\xbf\xd0\xbe\xd0\xbb\xd1\x8c\xd0\xb7\320\276\xd0\262\xd0\260\321\202\xd0\xb5\320\xbb\321\214 {$tgid} \320\xbf\xd1\x80\xd0\xb8\xd0\xbc\xd0\265\xd0\xbd\xd0\xb8\320\273 \321\200\xd0\265\xd1\x84\xd0\265\321\x80\320\260\xd0\xbb\320\xba\321\203"); goto N50Pd; dmAHR: $b = $this->sql("select balance from users where tgid=:tgid", [":tgid" => $tgid], "one"); goto m0dRc; m0dRc: $l = $this->getSetting("bonuslimit"); goto N6LzE; N6LzE: zSd7O: goto fb_nc; N50Pd: pez3w: goto JelLD; m5Lfj: if (!($balance > 0)) { goto zSd7O; } goto dmAHR; JelLD: $this->sql("INSERT INTO\xa users
VALUES\xa (:tgid, :balance, :test, :referal) ON DUPLICATE KEY\xa UPDATE balance=:balance
, test=(
test\xa OR :test
)\xa , referal=(\xa referal\xa OR :referal
)", [":tgid" => $tgid, ":balance" => min($l, $b + $balance), ":test" => (int) $test, ":referal" => (int) $referal]); goto bi4y5; bi4y5: } public function getDiscount() { return $this->sql("select value from settings where param="discount"", view: "one"); } public function serverUser($id, $menupage = 0) { goto YVF9O; cglPe: Y2jxN: goto F4k8T; rjD0c: if (!empty($s["pay"])) { goto sIoWZ; } goto yPA_f; VGnu2: $text[] = "\xd0\275\320\265\xd1\202 \xd0\264\xd0\276\xd1\x81\xd1\x82\321\x83\xd0\277\xd0\xbd\xd1\x8b\xd1\205 \321\201\xd0\xbb\xd0\xbe\xd1\x82\320\xbe\320\262 \xd0\xbd\xd0\xb0 \320\xb4\xd0\xb0\320\275\xd0\275\321\213\320\xb9 \320\274\320\276\xd0\274\xd0\265\xd0\xbd\xd1\x82"; goto h957b; BmUgK: z02AF: goto VGnu2; A52lF: $data[] = [["text" => $this->i18n("testPeriod"), "callback_data" => "/testPeriod {$id}_{$menupage}"]]; goto GhlzE; h957b: yO7f3: goto W0heB; YVF9O: if (!($s = $this->sql("select * from servers where id=:id and pay=1", [":id" => $id], "row"))) { goto NKhZK; } goto orWLa; orWLa: $name = $s["name"] ?: "{$s["ip"]}:{$s["port"]}"; goto rjD0c; yPA_f: $text[] = "{$name} \xd0\275\320\xb5 \320\264\320\xbe\321\201\xd1\202\321\x83\xd0\xbf\xd0\xb5\xd0\xbd \320\275\320\260 \320\264\320\xb0\xd0\xbd\xd0\xbd\321\213\xd0\xb9 \xd0\xbc\320\xbe\320\xbc\320\xb5\xd0\xbd\xd1\202"; goto efpuK; J4Nyq: if (empty($data)) { goto z02AF; } goto XurHB; RAB6r: if (empty($p = $this->sql("select * from price where server=:server", [":server" => $id]))) { goto tEkYz; } goto C2eGv; bjD1W: goto yO7f3; goto BmUgK; Zq9s3: if (empty($this->sql("select 1 from orders where IF((select value from settings where param="orderslimit") > 0 , (select value from settings where param="orderslimit") > ((SELECT count(*) FROM orders WHERE tgid=:tgid) - (SELECT count(*) FROM clients WHERE server=:id AND tgid=:tgid)), true)", [":id" => $id, ":tgid" => $this->cZwKZ["from"]], "one"))) { goto Jo5wD; } goto RAB6r; GhlzE: FNu2w: goto Zq9s3; ijqgy: $text[] = $this->template("us", $s); goto jjk5v; LQF2G: Jo5wD: goto J4Nyq; TorUX: NKhZK: goto Ii0Uv; ZmN2f: if (!(!empty($s["test_time"]) && empty($test))) { goto FNu2w; } goto A52lF; F4k8T: tEkYz: goto LQF2G; jjk5v: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto Le1cX; XurHB: $text[] = $name; goto bjD1W; Nv4U8: sIoWZ: goto m8ZAm; W0heB: Y_JJD: goto TorUX; Ii0Uv: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/buy {$menupage}"]]; goto ijqgy; m8ZAm: $test = $this->sql("select test from users where tgid=:tgid", [":tgid" => $this->cZwKZ["from"]]); goto ZmN2f; C2eGv: foreach ($p as $k => $v) { $data[] = [["text" => $this->labelPrice($v), "callback_data" => "/createOrder {$id}_{$v["id"]}_{$menupage}"]]; EJ7Qa: } goto cglPe; efpuK: goto Y_JJD; goto Nv4U8; Le1cX: } public function createOrder($server, $price, $menupage, $client = null) { goto CcwVz; cguFD: $this->payOrder($id, $server, $menupage); goto YPQiP; dpMRD: $this->notify("\xd0\xbd\xd0\276\xd0\xb2\321\x8b\xd0\xb9 \xd0\xb7\320\260\320\272\320\260\xd0\267 #{$id}"); goto cguFD; CcwVz: $id = $this->sql("\xa set @price = (select price from price where id=:price);\xa set @stars = (select stars from price where id=:price);
set @discount = (select cast(value as unsigned) from settings where param="discount");
insert into orders(tgid, server, price, stars, quant, life, client) values\xa (
:tgid,\xa :server,\xa if(@discount > 0, ceil(@price - @price * @discount/100), @price),
if(@discount > 0, ceil(@stars - @stars * @discount/100), @stars),\xa (select quant from price where id=:price),
(select life from price where id=:price),
:client\xa );\xa SELECT LAST_INSERT_ID();", [":tgid" => $this->cZwKZ["from"], ":server" => $server, ":price" => $price, ":client" => $client], "one", nextRowset: 4); goto dpMRD; YPQiP: } public function server($id, $serverpage = 0, $clientpage = 0) { goto jNJ2G; pcTcz: if (!($clients = $this->getClients("server", $server["id"], $serverpage, $clientpage))) { goto AKnwy; } goto MvKLQ; WLVIo: $name = $server["name"] ?: "{$server["ip"]}:{$server["port"]}"; goto Sw2aR; rN9ba: BhtC0: goto hTd2O; jNJ2G: if (!($server = $this->sql("select * from servers where id=:id", [":id" => $id], "row"))) { goto BhtC0; } goto X4IEo; Sw2aR: $text[] = "<b>server</b>: {$name}\xa<b>sleep</b>: {$server["sleep"]}\xa<b>cells</b>: {$server["cells"]}\xa<b>limits for user</b>: {$server["limits"]}\xa<b>test time</b>: {$this->getTime($server["test_time"])}\xa<b>pay</b>: {$pay}\xa<b>hash</b>: {$server["hash"]}
<b>domain</b>: {$server["domain"]} (needs to be set to {$this->BaewA})\xa
<b>description:</b>\xa{$server["description"]}"; goto B5OFy; mWIbs: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", $text ?: []), $data ?: false); goto rrLjA; X4IEo: $pay = $server["pay"] ? "on" : "off"; goto WLVIo; RvnOL: $data[] = [["text" => $this->i18n("filter") . ": " . $this->i18n($_SESSION["onoff"] ?: "onoff"), "callback_data" => "/onoff {$id}"], ["text" => $this->i18n("search") . ($_SESSION["search"] ? ": {$_SESSION["search"]}" : ''), "callback_data" => "/sendReply enter name or tgid_searchClient_{$id}"]]; goto rN9ba; hTd2O: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/servers {$serverpage}"]]; goto mWIbs; MvKLQ: $data = array_merge($data, $clients); goto WndF0; B5OFy: $data[] = [["text" => $this->i18n("configServer"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("addUser"), "callback_data" => "/clientPrices {$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("update"), "callback_data" => "/server {$id}_{$serverpage}_{$clientpage}"]]; goto pcTcz; WndF0: AKnwy: goto RvnOL; rrLjA: } public function exportServer($id, $serverpage, $clientpage) { goto icL8h; wTeUe: $c = $this->sql("select * from clients where server=:id and on_off=1", [":id" => $id]); goto ApxbE; ApxbE: $text[] = "[Interface]
PrivateKey = {$s["private"]}\xaAddress = 10.0.1.1/24
ListenPort = {$s["port"]}
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
"; goto OYRCG; t7z2d: foreach ($c as $k => $v) { goto Mi2ip; jbkex: $text[] = "[Peer]\xa# id = {$v["id"]}\xa# download = {$v["download"]}
# upload = {$v["upload"]}
# friendly_name = {$name}
# life = {$v["life"]}\xaPublicKey = {$v["public"]}\xaAllowedIPs = {$v["ip"]}
"; goto bPCvf; bPCvf: u0nha: goto O8Ejt; Mi2ip: $name = $v["name"] ?: $v["tgid"]; goto jbkex; O8Ejt: } goto opymh; C2HRO: AbZRd: goto G3wUo; G3wUo: $path = "/tmp/wg0.conf"; goto soPrY; NbiM_: $this->sendFile($this->cZwKZ["chat"], curl_file_create($path)); goto oOoLu; OYRCG: if (empty($c)) { goto AbZRd; } goto t7z2d; icL8h: $s = $this->sql("select * from servers where id=:id", [":id" => $id], "row"); goto wTeUe; opymh: I01UU: goto C2HRO; oOoLu: unlink($path); goto FCT7F; soPrY: file_put_contents($path, implode("\xa", $text)); goto NbiM_; FCT7F: } public function configServer($id, $serverpage, $clientpage) { goto AMKOr; miHh9: $data[] = [["text" => $this->i18n("limitsServer"), "callback_data" => "/sendReply enter limits_uSS_limits_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("ping"), "callback_data" => "/pingServer {$id}_{$serverpage}_{$clientpage}"]]; goto fx8We; uYfA9: $data[] = [["text" => $this->i18n("nameServer"), "callback_data" => "/sendReply enter name_uSS_name_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("price"), "callback_data" => "/price {$id}_{$serverpage}_{$clientpage}"]]; goto fXgfX; beo1e: $r = $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto s0oL6; sdKUP: $data[] = [["text" => $this->i18n("AllowedIPs"), "callback_data" => "/sendReply enter list_setIpsServer_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("MTU"), "callback_data" => "/sendReply enter number_setMtuServer_{$id}_{$serverpage}_{$clientpage}"]]; goto lp4YZ; vlqbH: $ips = strlen($server["ips"]) > 45 ? substr($server["ips"], 0, 45) . "..." : $server["ips"]; goto tqAyG; hL6sH: $data[] = [["text" => $this->i18n("setDomain") . ($server["domain"] ? ": {$server["domain"]}" : ''), "callback_data" => "/sendReply enter domain_uSS_domain_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("exportServer"), "callback_data" => "/exportServer {$id}_{$serverpage}_{$clientpage}"]]; goto uYfA9; YBjYP: $name = $server["name"] ?: "{$server["ip"]}:{$server["port"]}"; goto vlqbH; fXgfX: $data[] = [["text" => $this->i18n("testTime"), "callback_data" => "/sendReply enter like '1 day' time_setTestTime_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("torrent") . " " . $this->i18n($server["torrent"] ? "on" : "off"), "callback_data" => "/switchTorrent {$id}_{$serverpage}_{$clientpage}"]]; goto gqZqV; AMKOr: if (!($server = $this->sql("select * from servers where id=:id", ["id" => $id], "row"))) { goto Be_vW; } goto dKHIu; X9VHx: $torrent = $server["torrent"] ? "on" : "off"; goto YBjYP; gqZqV: $data[] = [["text" => $this->i18n("cellsServer"), "callback_data" => "/sendReply enter cells sleep_uSS_cells_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("sleepServer"), "callback_data" => "/sendReply enter seconds sleep_uSS_sleep_{$id}_{$serverpage}_{$clientpage}"]]; goto miHh9; ETQbo: $data[] = [["text" => $this->i18n("setDescriptionServer"), "callback_data" => "/sendReply enter description_setDescriptionServer_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("promo"), "callback_data" => "/promo {$id}_{$serverpage}_{$clientpage}"]]; goto sdKUP; tqAyG: $text[] = "<b>server</b>: {$name}\xa<b>sleep</b>: {$server["sleep"]}
<b>cells</b>: {$server["cells"]}
<b>limits for user</b>: {$server["limits"]}\xa<b>test time</b>: {$this->getTime($server["test_time"])}\xa<b>pay</b>: {$pay}\xa<b>torrent</b>: {$torrent}\xa<b>domain</b>: {$server["domain"]} (needs to be set to {$this->BaewA})
<b>AllowedIPs</b>: {$ips}\xa<b>MTU</b>: {$server["mtu"]}\xa
<b>description:</b>\xa{$server["description"]}"; goto hL6sH; fx8We: $data[] = [["text" => $this->i18n("switchPay"), "callback_data" => "/payServerSwitch {$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("delete"), "callback_data" => "/sendReply enter 'delete'_unsetServer_{$id}_{$serverpage}"]]; goto CmFkg; hENrD: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/server {$id}_{$serverpage}_{$clientpage}"]]; goto beo1e; CmFkg: Be_vW: goto ETQbo; dKHIu: $pay = $server["pay"] ? "on" : "off"; goto X9VHx; lp4YZ: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpConfigServer {$id}_{$serverpage}_{$clientpage}"]]; goto hENrD; s0oL6: } public function addPromo($text, $id, $serverpage, $clientpage) { goto pPUrt; fXC8K: $this->sql("insert into promo(title, server, price, stars, duration, quant) values (:title, :server, :price, :stars, :duration, :quant)", [":title" => $code, ":server" => $id, ":price" => $price, ":stars" => $stars, ":quant" => $quant, ":duration" => strtotime($life, 0)]); goto xoUd3; xoUd3: $this->promo($id, $serverpage, $clientpage); goto ias8L; pPUrt: [$code, $quant, $price, $stars, $life] = array_map(fn($e) => trim($e), explode("=", $text)); goto fXC8K; ias8L: } public function delPromo($id, $server, $serverpage, $clientpage) { $this->sql("delete from promo where id=:id", [":id" => $id]); $this->promo($server, $serverpage, $clientpage); } public function setBonusTime($text, $id, $serverpage, $clientpage) { $this->sql("update servers set bonustime=:bonus where id=:id", [":id" => $id, ":bonus" => (int) strtotime($text, 0)]); $this->promo($id, $serverpage, $clientpage); } public function promo($id, $serverpage, $clientpage) { goto U9y11; pK3vx: R1RtZ: goto IwVlV; IwVlV: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]]; goto Rg5IB; Rg5IB: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", []), $data ?: false); goto gY2JA; U9y11: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like code=quant=price=stars=time_addPromo_{$id}_{$serverpage}_{$clientpage}"]]; goto dYp71; r84Zn: qn6Py: goto pK3vx; dYp71: if (!($r = $this->sql("select * from promo where server=:server", [":server" => $id]))) { goto R1RtZ; } goto aTDHv; aTDHv: foreach ($r as $k => $v) { $data[] = [["text" => "{$this->i18n("delete")} {$v["title"]} = x{$v["quant"]} = {$v["price"]} \xe2\x82\275 = {$v["stars"]} \342\x98\x86 = {$this->getTime($v["duration"])}", "callback_data" => "/delPromo {$v["id"]}_{$id}_{$serverpage}_{$clientpage}"]]; lDtXJ: } goto r84Zn; gY2JA: } public function setDescriptionServer($text, $id, $serverpage, $clientpage) { $this->sql("update servers set description=:desc where id=:id", [":id" => $id, ":desc" => $text]); $this->configServer($id, $serverpage, $clientpage); } public function setIpsServer($text, $id, $serverpage, $clientpage) { $this->sql("update servers set ips=:ips where id=:id", [":id" => $id, ":ips" => $text]); $this->configServer($id, $serverpage, $clientpage); } public function setMtuServer($text, $id, $serverpage, $clientpage) { $this->sql("update servers set mtu=:mtu where id=:id", [":id" => $id, ":mtu" => $text]); $this->configServer($id, $serverpage, $clientpage); } public function switchTorrent($id, $serverpage, $clientpage) { $this->sql("update servers set torrent=!torrent where id=:id", [":id" => $id]); $this->configServer($id, $serverpage, $clientpage); } public function payServerSwitch($id, $serverpage, $clientpage) { $this->sql("update servers set pay=!pay where id=:id", [":id" => $id]); $this->configServer($id, $serverpage, $clientpage); } public function unsetServer($text, $id, $serverpage) { goto JKKmF; JKKmF: if (!($text == "delete")) { goto dgIJk; } goto j2ykl; jhd6L: dgIJk: goto Xl9py; U8Rg2: $this->sql("delete from clients where server=:id", [":id" => $id]); goto gJJsQ; gJJsQ: $this->sql("delete from servers where id=:id", [":id" => $id]); goto jhd6L; Xl9py: $this->servers($serverpage); goto rLtMO; j2ykl: $this->sql("delete from price where server=:id", [":id" => $id]); goto U8Rg2; rLtMO: } public function client($call, $id, $server_id, $serverpage, $clientpage) { goto LADZI; LADZI: $c = $this->sql("select * from clients where id=:id", [":id" => $id], "row"); goto RvfQX; r_djX: $ip = explode(":", $c["external_ip"])[0]; goto yB3RQ; GXzfr: if (!$c["public"]) { goto Ws1_h; } goto Pi3Pk; L6YaR: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("
", array_filter($text) ?: []), $data ?: false); goto AdklY; NbWlM: if ($c["ip"]) { goto hytF6; } goto NydZq; DUEC7: $name = ($c["name"] ? "{$c["name"]} ({$c["tgid"]})" : $c["tgid"]) . " {$u}"; goto Prpg6; JSw8o: $data[] = [["text" => $this->i18n("limit"), "callback_data" => "/sendReply enter bytes number_limitClient_{$call}_{$id}_{$server_id}_{$serverpage}_{$clientpage}"]]; goto NcbYF; RvfQX: $data[] = [["text" => $this->i18n("delete"), "callback_data" => "/sendReply enter 'delete'_delClient_{$call}_{$id}_{$server_id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("change_time"), "callback_data" => "/sendReply enter like 1 day_setTimeClient_{$call}_{$id}_{$server_id}_{$serverpage}_{$clientpage}"]]; goto GXzfr; Jm91g: $data[] = [["text" => $this->i18n("rename"), "callback_data" => "/sendReply enter name client_renameClient_{$call}_{$id}_{$server_id}_{$serverpage}_{$clientpage}"]]; goto JSw8o; NcbYF: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/{$call} {$server_id}_{$serverpage}_{$clientpage}"]]; goto K86Mt; Prpg6: $life = $c["life"] ? $this->getTime(strtotime($c["life"]) - time()) : "\xe2\x88\236"; goto orz3P; xFtmJ: $text[] = $c["handshake"] ? $this->getTime(time() - $c["handshake"], 0) . " \xd0\xbd\320\260\320\267\320\xb0\xd0\264" : ''; goto pa967; NydZq: $text[] = "<b>\xd0\276\xd0\266\320\xb8\320\xb4\xd0\260\xd0\xb5\xd1\202 \321\201\xd0\276\320\267\320\xb4\320\260\xd0\xbd\320\270\xd1\x8f</b>"; goto pwDry; Wv65E: $text[] = "#{$c["id"]} {$name}"; goto xFtmJ; orz3P: $download = $this->getBytes($c["session_download"] + $c["download"]); goto dJnev; Pi3Pk: $data[] = [["text" => $this->i18n("qr"), "callback_data" => "/qrPeer {$id}"], ["text" => $this->i18n("download"), "callback_data" => "/qrPeer {$id}_1"]]; goto sR1r7; dJnev: $upload = $this->getBytes($c["session_upload"] + $c["upload"]); goto r_djX; Gkz0r: $text[] = "<pre><code>{$code}</code></pre>\xa"; goto Wv65E; sR1r7: $data[] = [["text" => $this->i18n("amnezia"), "callback_data" => "/amnezia {$id}"]]; goto blV9P; yB3RQ: $code = $this->qrPeer($id, return: 1); goto Gkz0r; K86Mt: $u = $this->getInfoUser($c["tgid"])["result"]["user"]["first_name"]; goto DUEC7; blV9P: Ws1_h: goto Jm91g; pa967: $text[] = "\xe2\206\x93{$download}" . ($c["limitation"] ? "(" . $this->getBytes($c["limitation"]) . ")" : '') . " \xe2\x86\x91{$upload}"; goto zyPUP; pwDry: hytF6: goto L6YaR; zyPUP: $text[] = $life ?: ''; goto NbWlM; AdklY: } public function getBytes($bytes) { goto sYL0c; mVkHA: w99T4: goto LhzZK; sYL0c: $t = ["B", "KB", "MB", "GB", "TB"]; goto CJiVP; CJiVP: foreach ($t as $k => $v) { goto QF7aD; Mdjgr: bN0BC: goto Y7yAa; xpGIE: if (!($bytes / 1024 ** $k < 1)) { goto TRWjT; } goto Q9hAy; Q9hAy: return round($bytes / 1024 ** ($k - 1), 2) . " {$t[$k - 1]}"; goto sdRpK; QF7aD: if (!($k == 0)) { goto pkokZ; } goto eII3U; eII3U: goto bN0BC; goto o9Qn6; sdRpK: TRWjT: goto Mdjgr; o9Qn6: pkokZ: goto xpGIE; Y7yAa: } goto mVkHA; LhzZK: } public function userRename($name, $id, $menupage) { goto Tudxz; eKM3G: $this->sql("update clients set name=:name where id=:id", [":id" => $id, ":name" => $name]); goto VqScl; Tudxz: if ($name) { goto dRVRO; } goto WAiGL; VqScl: ug1YA: goto KtLGU; gyFyT: goto ug1YA; goto P6P3t; KtLGU: $this->peer($id, $menupage); goto NbuFe; P6P3t: dRVRO: goto eKM3G; WAiGL: $this->sql("update clients set name="" where id=:id", [":id" => $id]); goto gyFyT; NbuFe: } public function renameClient($name, $call, $id, $server_id, $serverpage, $clientpage) { goto a1Nae; jXDbf: RFG6w: goto ORDRy; gQpQ5: $this->sql("update clients set name=:name where id=:id", [":id" => $id, ":name" => $name]); goto jXDbf; ORDRy: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto OS3Dp; a1Nae: if ($name) { goto Hozwb; } goto aYEKE; P3dQn: goto RFG6w; goto vziRs; vziRs: Hozwb: goto gQpQ5; aYEKE: $this->sql("update clients set name="" where id=:id", [":id" => $id]); goto P3dQn; OS3Dp: } public function limitClient($bytes, $call, $id, $server_id, $serverpage, $clientpage) { goto KSjfN; jOYMP: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto Rh2i2; CeNRx: $this->sql("update clients set limitation=:limitation where id=:id", [":id" => $id, ":limitation" => $bytes]); goto z1qSv; Z8ka0: goto LKuk0; goto mha0V; KSjfN: if ($bytes) { goto yFhRe; } goto k9l_w; z1qSv: LKuk0: goto jOYMP; mha0V: yFhRe: goto CeNRx; k9l_w: $this->sql("update clients set limitation=null where id=:id", [":id" => $id]); goto Z8ka0; Rh2i2: } public function clientPrices($id, $serverpage, $clientpage) { goto AHJ2s; v1THa: DjOpb: goto H624f; Hl_Lg: if (!$prices) { goto DjOpb; } goto TZRyR; Q7s_U: $text[] = "prices"; goto N1ta1; f_WYi: J08hI: goto v1THa; TZRyR: foreach ($prices as $k => $v) { $data[] = [["text" => $this->getTime($v["life"]), "callback_data" => "/sendReply enter telegram id_clientAdd_{$v["id"]}_{$id}_{$serverpage}"]]; UTAU0: } goto f_WYi; AHJ2s: $data[] = [["text" => "\342\x88\236", "callback_data" => "/sendReply enter telegram id_clientAdd_0_{$id}_{$serverpage}"]]; goto fEmvy; H624f: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/server {$id}_{$serverpage}_{$clientpage}"]]; goto Q7s_U; fEmvy: $prices = $this->sql("select * from price where server=:id", [":id" => $id]); goto Hl_Lg; N1ta1: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text ?: []), $data ?: false); goto VCrCz; VCrCz: } public function clientAdd(int $tgid, $price_id, $id, $serverpage) { goto H50CH; UvCHj: $c = $this->sql("select count(*) from clients where server=:id", [":id" => $id], "one"); goto OuBEc; H50CH: if (!$tgid) { goto BMJnr; } goto PNkPz; tCFJ6: $life = 0; goto E7Q4o; JDx9K: N3LNR: goto lMRHj; OuBEc: $this->server($id, $serverpage, (int) ceil($c / $this->qB7oz) - 1); goto YVSf7; Tz28Q: $server = $this->sql("select * from servers where id=:id", [":id" => $id], "row"); goto amHiF; PNkPz: if ($price_id) { goto ZgBSv; } goto tCFJ6; amHiF: $life = $this->sql("select life from price where id=:id", [":id" => $price_id], "one"); goto JDx9K; mm94J: ZgBSv: goto Tz28Q; E7Q4o: goto N3LNR; goto mm94J; IemTV: BMJnr: goto UvCHj; lMRHj: $this->sql("insert into clients(tgid, server, life, ip, on_off) values (:tgid, :server, :life, :ip, 1)", [":tgid" => $tgid, ":server" => $id, ":ip" => $this->nextIP($id), ":life" => $life ? date("Y-m-d H:i:s", $life + time()) : null]); goto IemTV; YVSf7: } public function nextIP($server) { goto RHRfh; k1Qoi: oGCTc: goto S7b_L; RHRfh: $r = array_unique(array_merge(["10.0.1.1/24"], $this->sql("select ip from clients where server=:id", [":id" => $server], "column") ?: [])); goto MV2c8; SoGzx: if (!($i < $ip_count)) { goto Jr_3h; } goto K0sYK; o8JdH: $i = 1; goto LRM_J; gyEHL: if (in_array($ip, $ips)) { goto GrPcL; } goto Uz60D; S7b_L: $ip_count = (1 << 32 - 24) - count($ips) - 1; goto o8JdH; LMEwv: rcxBn: goto rRj8s; umyqE: GrPcL: goto LMEwv; Uz60D: return long2ip($ip) . "/32"; goto umyqE; LRM_J: eHIPh: goto SoGzx; rRj8s: $i++; goto DE85p; MV2c8: foreach ($r as $k => $v) { $ips[] = ip2long(explode("/", $v)[0]); I6Qpa: } goto k1Qoi; yWIgI: return false; goto gRCcq; M_58i: Jr_3h: goto yWIgI; DE85p: goto eHIPh; goto M_58i; K0sYK: $ip = $i + ip2long("10.0.1.1"); goto gyEHL; gRCcq: } public function labelPrice($price, $notquant = 0) { goto dTu7e; y_lBp: mguI9: goto MRy2W; hPBaf: $p = ($d ? ceil($price["price"] - $price["price"] * $d / 100) : $price["price"]) . " \xe2\x82\275"; goto K_aEP; iTWYy: return "{$this->getTime($price["life"])} = {$p} = {$s}" . ($d ? " (-{$d}%)" : ''); goto y_lBp; K_aEP: $s = ($d ? ceil($price["stars"] - $price["stars"] * $d / 100) : $price["stars"]) . " \xe2\230\x86"; goto weUuZ; MRy2W: return "{$this->getTime($price["life"])} = " . $this->i18n("x{$price["quant"]}") . " = {$p} = {$s}" . ($d ? " (-{$d}%)" : ''); goto m1cZC; weUuZ: if (!$notquant) { goto mguI9; } goto iTWYy; dTu7e: $d = $this->getDiscount(); goto hPBaf; m1cZC: } public function price($id, $serverpage, $clientpage) { goto cegL2; NSbAe: $prices = $this->sql("select * from price where server=:id", [":id" => $id]); goto F3unG; LPSnh: DXDNv: goto XBrYP; XBrYP: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]]; goto h6hVS; fHnbl: foreach ($prices as $k => $v) { $data[] = [["text" => $this->i18n("delete") . " " . $this->labelPrice($v), "callback_data" => "/deletePrice {$v["id"]}_{$id}_{$serverpage}_{$clientpage}"]]; QHTKJ: } goto JoC2M; Db7f1: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like period=quantity=RUB=Stars_setPrice_{$id}_{$serverpage}_{$clientpage}"]]; goto NSbAe; h6hVS: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], implode("\xa", $text), $data ?: false); goto Lryne; JoC2M: Lg9ZT: goto LPSnh; cegL2: $text[] = "period=quantity=RUB=Stars\xaexample: 1day=1=100\xaexample: 1day=1=100=1000"; goto Db7f1; F3unG: if (!$prices) { goto DXDNv; } goto fHnbl; Lryne: } public function setTimeClient($time, $call, $id, $server_id, $serverpage, $clientpage) { goto ihTrG; lv4pb: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto A6oYW; ihTrG: ["life" => $old, "on_off" => $on_off] = $this->sql("select life, on_off from clients where id=:id", [":id" => $id], "row"); goto GCzxX; GCzxX: $this->sql("update clients set life=:time, on_off=1, expire_notify=0 where id=:id", [":id" => $id, ":time" => $time ? date("Y-m-d H:i:s", strtotime($time, $on_off && $old ? strtotime($old) : null)) : null]); goto lv4pb; A6oYW: } public function setTimeClientAll($time, $server_id, $serverpage, $clientpage) { goto plX5x; wjVV8: $this->clients($server_id, $serverpage, $clientpage); goto qOyHN; e_0eX: lyg0V: goto mx6Eu; R6fat: $cl = $this->sql("select id, life from clients where on_off=1"); goto hWXhF; cQ6Nu: foreach ($cl as $v) { $this->sql("update clients set life=:time, expire_notify=0 where id=:id", [":id" => $v["id"], ":time" => $time ? date("Y-m-d H:i:s", strtotime($time, strtotime($v["life"]))) : null]); grMN_: } goto sq6sw; plX5x: if (empty($time)) { goto ZF8m5; } goto R6fat; hWXhF: if (empty($cl)) { goto lyg0V; } goto cQ6Nu; sq6sw: mivhv: goto e_0eX; mx6Eu: ZF8m5: goto wjVV8; qOyHN: } public function delClient($text, $call, $id, $server_id, $serverpage, $clientpage) { goto MZXLN; VqPMm: K0I_U: goto oaBx2; oaBx2: $this->{$call}($server_id, $serverpage, $clientpage); goto XjBIu; bqyLY: $this->sql("delete from clients where id=:id", [":id" => $id]); goto VqPMm; MZXLN: if (!($text == "delete")) { goto K0I_U; } goto bqyLY; XjBIu: } public function setPrice($text, $id, $serverpage, $clientpage) { goto lQNtq; JkhIh: C36St: goto Qjkvl; txL48: $this->sql("insert ignore into price(server, life, price, stars, quant) values (:id, :life, :price, :stars, :quant)", [":id" => $id, ":life" => $life, ":price" => $price, ":stars" => $stars, ":quant" => $quant]); goto JkhIh; Qjkvl: $this->price($id, $serverpage, $clientpage); goto PwpX0; lQNtq: [$life, $quant, $price, $stars] = array_map(fn($e) => trim($e), explode("=", $text)); goto yV8Eb; Lmk01: if (!($life > 0 and ($price > 0 or $stars > 0))) { goto C36St; } goto txL48; yV8Eb: $life = strtotime($life, 0); goto Lmk01; PwpX0: } public function deletePrice($price_id, $id, $serverpage, $clientpage) { $this->sql("delete from price where id=:id", [":id" => $price_id]); $this->price($id, $serverpage, $clientpage); } public function pingServer($id, $serverpage, $clientpage) { goto Il7D4; jFU3O: $this->uSS($r["result"]["message_id"], "ping", $id, $serverpage, $clientpage); goto sNfPT; sksui: $r = $this->send($this->cZwKZ["chat"], "ping {$n}\xaexpect a response to this message within {$s["sleep"]} seconds"); goto jFU3O; Il7D4: $s = $this->sql("select * from servers where id=:id", [":id" => $id], "row"); goto nqtYV; nqtYV: $n = $s["name"] ?: "{$s["ip"]}:{$s["port"]}"; goto sksui; sNfPT: } public function getTime(int $seconds, $additional = true) { goto XhnK_; XhnK_: $seconds = $seconds > 0 ? $seconds : 0; goto IAtFO; d3x63: M0MDQ: goto mmD4x; IAtFO: if (!($seconds == 0)) { goto M0MDQ; } goto N1x1Y; kpxfI: foreach ($items as $k => $v) { goto bkIFQ; bkIFQ: if (!(($t = gmdate($k, $seconds) - $v["diff"]) > 0)) { goto qCZVP; } goto tP0D9; wBhzy: qCZVP: goto XGcbi; XGcbi: oZF_n: goto NAMEk; tP0D9: $text .= " {$t} {$v["sign"]}"; goto wBhzy; NAMEk: } goto fBKGF; k6IaV: return trim($text) ?: 0; goto smj5i; N1x1Y: return "off"; goto d3x63; mmD4x: $items = ["Y" => ["diff" => 1970, "sign" => "\320\xb3"], "m" => ["diff" => 1, "sign" => "\320\xbc\320\xb5\xd1\201"], "d" => ["diff" => 1, "sign" => "\320\264\320\xbd"], "H" => ["diff" => 0, "sign" => "\xd1\x87"], "i" => ["diff" => 0, "sign" => "\xd0\274\320\xb8\320\xbd"], "s" => ["diff" => 0, "sign" => "\xd1\201"]]; goto kpxfI; RWhld: $text .= " " . date($fmt, $seconds + time()); goto mQrnW; fBKGF: dwTba: goto GW862; mQrnW: KRW82: goto k6IaV; GW862: if (!($additional && !empty($fmt = $this->getSetting("timeformat")))) { goto KRW82; } goto RWhld; smj5i: } public function updateSetting($value, $param, $callback, ...$args) { $this->setSetting($param, $value); $this->{$callback}(...$args); } public function uSS($value, $param, $id, $serverpage, $clientpage) { $this->sql("update servers set {$param}=:value where id=:id", [":id" => $id, ":value" => $value]); $this->configServer($id, $serverpage, $clientpage); } public function updatePhrase($phrase) { $this->updateSetting(preg_replace("~[^a-zA-Z0-9]~", '', $phrase), "phrase", "yoomoney"); } public function setTestTime($time, $id, $serverpage, $clientpage) { goto xwGlr; AIvM7: caYN9: goto ZXHN4; ZXHN4: $this->uSS(strtotime($time) - time(), "test_time", $id, $serverpage, $clientpage); goto J3v0F; xwGlr: if ($time) { goto caYN9; } goto Za0z1; J3v0F: UG0bq: goto srZaE; yinj2: goto UG0bq; goto AIvM7; Za0z1: $this->uSS(0, "test_time", $id, $serverpage, $clientpage); goto yinj2; srZaE: } public function demo($return = false) { goto a2N0n; FMOGA: if (!$demo) { goto JYpwG; } goto cmCht; aeBEL: $this->send($this->cZwKZ["chat"], "\320\xb4\xd0\265\320\xbc\xd0\xbe \321\200\320\xb5\320\xb6\xd0\xb8\320\274 \320\xb7\xd0\xb0\xd0\xba\320\276\xd0\xbd\xd1\x87\320\xb5\320\275", $this->cZwKZ["message_id"]); goto HG16F; G8Z4u: if (!(empty($current) || strtotime($demo) < $current)) { goto FWpGu; } goto b_W8W; yVdzN: $this->update($this->cZwKZ["chat"], $this->cZwKZ["message_id"], "\320\xb4\320\xb5\xd0\xbc\xd0\xbe \321\200\xd0\265\320\266\xd0\xb8\320\274 \xd0\267\320\260\320\272\xd0\276\xd0\275\321\x87\xd0\xb5\xd0\xbd"); goto Cgo1X; ckAWS: $current = $t["unixtime"]; goto qYBdv; wuFQ0: if (!$return) { goto Dd62j; } goto OPsSs; kuImV: QdiUI: goto G8Z4u; b_W8W: if ($this->cZwKZ["callback_id"]) { goto T59cL; } goto aeBEL; qYBdv: goto QdiUI; goto WAyv2; Cgo1X: IAfXQ: goto pvlSb; pvlSb: exit; goto iEobt; YDcy5: if (empty($t["unixtime"])) { goto z0Bqr; } goto ckAWS; f5ft_: $current = strtotime($t["dateTime"]); goto obyXl; WAyv2: z0Bqr: goto ahnN1; OPsSs: return $demo; goto QDRTV; obyXl: ljhiO: goto kuImV; gmMAm: if (empty($t["dateTime"])) { goto ljhiO; } goto f5ft_; HG16F: goto IAfXQ; goto C0z0W; C0z0W: T59cL: goto yVdzN; cmCht: $t = json_decode(file_get_contents("http://worldtimeapi.org/api/timezone/Europe/Samara"), true); goto YDcy5; iEobt: FWpGu: goto OBs29; QDRTV: Dd62j: goto FMOGA; OBs29: JYpwG: goto cX2lG; ahnN1: $t = json_decode(file_get_contents("https://timeapi.io/api/Time/current/zone?timeZone=Europe/Samara"), true); goto gmMAm; a2N0n: $demo = "2025-02-27 11:43:42"; goto wuFQ0; cX2lG: } public function createUserDB() { goto I181X; uhFVC: return $pass; goto ObkeS; FJfw_: $this->sql("create user 'tower'@'%' identified by '{$pass}'"); goto n_6uM; vcnir: $this->setcommands(["scope" => ["type" => "chat", "chat_id" => $this->jMTmt["admin"]], "commands" => array_merge($this->getcommands(), [["command" => "db", "description" => "{$this->BaewA}:{$this->t948x}:{$pass}"], ["command" => "setuser", "description" => "\xd0\xbf\xd0\xb5\xd1\x80\320\xb5\xd0\272\xd0\273\xd1\x8e\321\x87\320\270\321\x82\xd1\201\xd1\217 \xd0\xb2 \321\200\320\265\320\xb6\320\xb8\320\xbc \xd0\xbf\320\276\320\273\321\214\320\267\320\xbe\320\xb2\xd0\xb0\321\202\320\265\xd0\273\321\x8f"], ["command" => "setadmin", "description" => "\320\277\320\xb5\xd1\200\xd0\xb5\xd0\272\xd0\xbb\xd1\x8e\321\x87\xd0\xb8\xd1\x82\xd1\x81\xd1\217 \xd0\262 \321\x80\320\xb5\320\xb6\xd0\270\320\274 \320\260\xd0\264\320\xbc\xd0\xb8\xd0\xbd\320\xb0"]])]); goto uhFVC; I181X: $pass = $this->randomPassword(15); goto Z0PEr; GgVMc: $this->sql("flush privileges"); goto vcnir; n_6uM: $this->sql("grant all on tower.* to 'tower'@'%'"); goto GgVMc; Z0PEr: $this->sql("drop user if exists 'tower'@'%'"); goto FJfw_; ObkeS: } public function randomPassword($l) { goto Z6Aj2; AcVLt: h1Co4: goto bztLh; bztLh: if (!($i < $l)) { goto ki_Pd; } goto wfcs7; Z6Aj2: $alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_*~+-[]()/"; goto ML1ah; DLEyy: $alphaLength = strlen($alphabet) - 1; goto ZYvRX; ML1ah: $pass = []; goto DLEyy; HsFND: ki_Pd: goto eMEEN; ZYvRX: $i = 0; goto AcVLt; BuPbc: goto h1Co4; goto HsFND; wfcs7: $n = rand(0, $alphaLength); goto BngWy; k2SjH: $i++; goto BuPbc; lIaKH: hikMa: goto k2SjH; BngWy: $pass[] = $alphabet[$n]; goto lIaKH; eMEEN: return implode($pass); goto yhc_C; yhc_C: } public function sql(string $sql, array $values = [], string $view = "all", int $column = 0, $nextRowset = 0) { try { goto qw6to; CwWcD: switch ($view) { case "count": return $stmt->rowCount(); case "row": return $stmt->fetch(); case "one": return $stmt->fetchColumn($column); case "column": return $stmt->fetchAll(PDO::FETCH_COLUMN, $column); case "uniq": return $stmt->fetchAll(PDO::FETCH_UNIQUE); default: return $stmt->fetchAll(); } goto giQXA; NdkZt: return $sql; goto rLyFd; GR3Xc: klKPp: goto wwajD; qw6to: if (!("query" == $view)) { goto NVssO; } goto obwG8; IJ2LE: $stmt = $dbh->prepare($sql); goto UbFRQ; rOFhN: if (!$nextRowset) { goto kN0_j; } goto CT74S; y2fAU: kN0_j: goto CwWcD; SeDJ7: fbGgi: goto hrnL7; rLyFd: NVssO: goto lb7Jb; ecvuY: goto fbGgi; goto GR3Xc; l1e_3: $nextRowset--; goto yjDzK; CT74S: $stmt->nextRowset(); goto l1e_3; zKCTZ: return false; goto ecvuY; obwG8: $keys = []; goto d3ZTp; hvMcA: GW1Tl: goto NdkZt; d3ZTp: foreach ($values as $k => $v) { goto skwqg; tbWvZ: i1Oe_: goto DX2s4; DX2s4: ibRhS: goto N06Vd; zuYCw: $sql = preg_replace("~[?]~", "'" . $v . "'", $sql, 1); goto TNsmI; V3uBh: J_Ivr: goto JpN3o; skwqg: if (is_string($k)) { goto J_Ivr; } goto zuYCw; TNsmI: goto i1Oe_; goto V3uBh; JpN3o: $sql = preg_replace("~" . preg_quote($k) . "~", "'" . $v . "'", $sql); goto tbWvZ; N06Vd: } goto hvMcA; giQXA: Hqkbn: goto JUwyo; UbFRQ: if ($stmt->execute($values)) { goto klKPp; } goto zKCTZ; lb7Jb: $dbh = new PDO("mysql:host=db;port=3306;dbname=tower;charset=utf8mb4;", "root", '', [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC]); goto IJ2LE; wwajD: ZBN8C: goto rOFhN; yjDzK: goto ZBN8C; goto y2fAU; JUwyo: BuY1F: goto SeDJ7; hrnL7: } catch (PDOException $e) { goto Z7fkl; Z7fkl: if (empty($GLOBALS["debug"])) { goto dFJfU; } goto TROrU; oYlFv: dFJfU: goto a2bbP; TROrU: throw $e; goto t0tia; a2bbP: return false; goto c8CPX; t0tia: goto x0XIE; goto oYlFv; c8CPX: x0XIE: goto ov4l9; ov4l9: } } public function getAdmins() { return array_filter(explode(",", $this->getSetting("admins"))); } public function auth() { goto IK8Wp; gYykm: $this->BKOw0 = true; goto a29JV; kd4wO: eBNSL: goto DYGOH; XEU4v: w3RFd: goto pnHcW; jM8c8: foreach ($r as $k => $v) { $c[$v["command"]] = $v["description"]; vEt23: } goto XEU4v; pnHcW: $this->zl5wc = $c["db"]; goto kd4wO; IK8Wp: if (!($this->cZwKZ["from"] == $this->jMTmt["admin"] || in_array($this->cZwKZ["from"], $this->getAdmins()))) { goto eBNSL; } goto gYykm; a29JV: $r = $this->getcommands(false, ["type" => "chat", "chat_id" => $this->jMTmt["admin"]]); goto jM8c8; DYGOH: } public function callbackCheck() { goto CR6j2; c7ndZ: nw29W: goto bgH9H; CR6j2: if (!(empty($this->j4BfT) && !empty($this->cZwKZ["callback_id"]))) { goto nw29W; } goto iB_20; iB_20: $this->answer($this->cZwKZ["callback_id"], !empty($GLOBALS["debug"]) ? $this->cZwKZ["callback"] : false); goto c7ndZ; bgH9H: } public function session() { goto GckhA; nrA0B: foreach ($_SESSION["reply"] as $k => $v) { $this->delete($this->cZwKZ["chat"], $k); Jlyc2: } goto Okp6m; GckhA: session_id($this->cZwKZ["from"]); goto u2ncz; ZHnRL: gP41P: goto CXF7R; Okp6m: T48Bv: goto X2BOn; pINEB: if (empty($_SESSION["reply"])) { goto FzUxR; } goto WvYNc; X2BOn: unset($_SESSION["reply"]); goto ZHnRL; WvYNc: if (!empty($this->cZwKZ["reply"])) { goto gP41P; } goto nrA0B; CXF7R: FzUxR: goto bSeGT; u2ncz: session_start(); goto pINEB; bSeGT: } public function sd($var, $log = false, $json = false, $raw = false) { goto GIGIu; GIGIu: if (!$log) { goto MakYa; } goto a1xGG; WUXCs: file_put_contents("/logs/debug", json_encode($var, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto D614L; iFo60: goto HGco0; goto IRqZE; E2ExR: HGco0: goto JCJy_; IRqZE: Q2dbw: goto WUXCs; XUlvN: file_put_contents("/logs/debug", $var); goto E2ExR; dVEGo: file_put_contents("/logs/debug", var_export($var, true)); goto iFo60; JCJy_: MakYa: goto bH1VW; a1xGG: if ($json) { goto Q2dbw; } goto qo0ud; foOxG: qrOCY: goto XUlvN; qo0ud: if ($raw) { goto qrOCY; } goto dVEGo; D614L: goto HGco0; goto foOxG; bH1VW: return $this->send($this->jMTmt["admin"], debug_backtrace()[0]["line"] . ":\xa" . var_export($var, true)); goto qwnvj; qwnvj: } public function request($method, $data = [], $json_header = 0) { goto M1s93; M1s93: $ch = curl_init(); goto zPPVb; Ax2qH: $chain = array_reduce(array_reverse(debug_backtrace(2)), fn($c, $i) => ($c ? "{$c}->" : '') . "{$i["function"]}"); goto f2r3P; hdF1h: return $res; goto ZHqov; f2r3P: echo date("Y-m-d H:i:s") . " " . json_encode(["chain" => $chain, "method" => $method, "request" => is_array($data) ? $data : json_decode($data, true), "response" => $res], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\xa"; goto ziCvq; xT00o: $res = json_decode(curl_exec($ch), true); goto f8GFS; f8GFS: curl_close($ch); goto G8VcT; zPPVb: curl_setopt_array($ch, [CURLOPT_URL => $this->S0xNk . $method, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => $json_header ? ["Content-Type: application/json"] : [], CURLOPT_POSTFIELDS => $data, CURLOPT_TIMEOUT => $method == "getUpdates" ? 20 : 3]); goto xT00o; G8VcT: if (!(!empty($res["description"]) || is_null($res))) { goto Jp0mU; } goto Ax2qH; ziCvq: Jp0mU: goto hdF1h; ZHqov: } public function setwebhook() { goto qNZAz; tprds: kSGuY: goto hobTk; hobTk: echo "{$this->BaewA}\xa"; goto B13YF; qNZAz: if (!empty($this->BaewA)) { goto kSGuY; } goto VP25w; B13YF: return $this->request("setWebhook", ["url" => "https://{$this->BaewA}:8443/tlgrm?k={$this->jMTmt["key"]}", "certificate" => curl_file_create("/certs/self_public")]); goto jlb3i; VP25w: die("\xd0\xbd\320\xb5\xd1\x82 \320\xb0\xd0\xb9\320\277\320\xb8"); goto tprds; jlb3i: } public function getcommands($lang = false, $scope = false) { return $this->request("getMyCommands", ["language_code" => $lang ?: '', "scope" => json_encode($scope ?: ["type" => "default"])])["result"]; } public function setcommands($data) { return $this->request("setMyCommands", json_encode($data), 1); } public function send($chat, $text, ?int $to = 0, $button = false, $reply = false, $mode = "HTML", $entities = false, $forum = false, $withoutOffset = false) { goto C1vrA; baHQI: if (!($chatLink = $this->getSetting("chat"))) { goto fMjgA; } goto ZkXin; q5CfN: if (!$forum) { goto VwOiU; } goto x5eu3; C1vrA: if (!empty($withoutOffset)) { goto DWBjW; } goto gvC60; Q332_: VwOiU: goto bG0y8; x5eu3: $data["message_thread_id"] = $forum; goto Q332_; MQYTn: lpOwR: goto q5CfN; jJTvC: i0CsD: goto ObgKF; bG0y8: return $this->request("sendMessage", $data); goto fN9eq; WXFNP: $data["entities"] = json_encode($entities); goto MQYTn; ObgKF: if ($entities) { goto lZ7G3; } goto TdZbe; KBX_s: $offset = strlen("{$chatLink}
"); goto fHdM2; LkU8N: goto sFFA4; goto IQG2r; zyugD: goto lpOwR; goto RHboI; fHdM2: fMjgA: goto LkU8N; ZkXin: $text = "{$chatLink}\xa{$text}"; goto KBX_s; stRgD: gU4Qz: goto XJQ94; nQUuo: $text = "tower:
{$text}"; goto pZgAX; TdZbe: $data["parse_mode"] = $mode; goto zyugD; HPeJy: goto mgbd0; goto stRgD; hsLa5: if (empty($this->getSetting("linkPreview"))) { goto VspmV; } goto ki9sn; PMpNC: myH7j: goto tLwR9; lZ13H: if ($button) { goto myH7j; } goto HPeJy; dG4NI: goto mgbd0; goto PMpNC; pZgAX: $offset = strlen("tower:\xa"); goto E9RXV; gvC60: if ($chat == $this->jMTmt["admin"]) { goto BrBiK; } goto baHQI; ki9sn: $data["link_preview_options"] = json_encode(["is_disabled" => true, "link" => '']); goto tpR08; rrBtY: foreach ($entities as $k => $v) { $entities[$k]["offset"] += $offset; MREn_: } goto L2Sx0; tLwR9: $extra = ["inline_keyboard" => $button]; goto JbnEq; E9RXV: sFFA4: goto HTBDZ; GOE3g: $data = ["chat_id" => $chat, "text" => trim($text) ? trim($text) : "...", "reply_to_message_id" => $to]; goto hsLa5; RHboI: lZ7G3: goto WXFNP; tpR08: VspmV: goto djHot; IQG2r: BrBiK: goto nQUuo; j3CMe: $data["reply_markup"] = json_encode($extra); goto jJTvC; bsp7Q: if (empty($extra)) { goto i0CsD; } goto j3CMe; JbnEq: mgbd0: goto bsp7Q; j5zUO: NqBSi: goto GOE3g; XJQ94: $extra = ["force_reply" => true, "input_field_placeholder" => $reply, "selective" => true]; goto dG4NI; djHot: if (false !== $reply) { goto gU4Qz; } goto lZ13H; qEnvJ: if (!($entities && $offset)) { goto NqBSi; } goto rrBtY; L2Sx0: mnWrL: goto j5zUO; HTBDZ: DWBjW: goto qEnvJ; fN9eq: } public function update($chat, $message_id, $text, $button = false, $mode = "HTML") { goto nZfQ9; bX4J_: return $this->request("editMessageText", $data); goto O2Pqb; XY8BA: $data = ["chat_id" => $chat, "message_id" => $message_id, "text" => trim($text) ? trim($text) : "...", "parse_mode" => $mode]; goto QTmUo; LXhtK: cu32x: goto bX4J_; jnJP8: $data["reply_markup"] = json_encode(["inline_keyboard" => $button]); goto LXhtK; P49jQ: $text = "{$chatLink}\xa{$text}"; goto UKcJ8; QTmUo: if (empty($button)) { goto cu32x; } goto jnJP8; WLXbU: VZT3g: goto XY8BA; nZfQ9: if ($this->BKOw0) { goto VZT3g; } goto j424R; j424R: if (!($chatLink = $this->getSetting("chat"))) { goto UM6Aq; } goto P49jQ; UKcJ8: UM6Aq: goto WLXbU; O2Pqb: } public function splitText($text, $size = 4096) { goto UcAj1; bVIpZ: wd_Yh: goto z7JGR; OAGve: goto Qd2tA; goto bVIpZ; nglQI: YO9Rk: goto t3MBo; ZJFcv: $i = 0; goto imoR0; XVU96: return [$text]; goto OAGve; z7JGR: foreach ($tails as $v) { $lines[] = ["length" => mb_strlen($v, "utf-8"), "text" => $v]; wgYYl: } goto xMOHW; t3MBo: return array_values($output); goto uf5um; imoR0: foreach ($lines as $v) { goto CuPDJ; Nwh2g: ka4zI: goto stTfj; UeKO1: $output[ceil($i / $size)] .= $v["text"] . "\xa"; goto Nwh2g; CuPDJ: $i += $v["length"]; goto UeKO1; stTfj: } goto nglQI; MrAkb: if (!empty($tails)) { goto wd_Yh; } goto XVU96; UcAj1: $tails = preg_split("~\n~", $text); goto MrAkb; uf5um: Qd2tA: goto mPKWl; xMOHW: L1R6E: goto ZJFcv; mPKWl: } public function sendPhoto($chat, $id_url_cFile, $caption = false, $to = false, $entities = false, $forum = false) { goto dG99A; lT2cz: $offset = strlen("tower:\xa"); goto jVHHH; W1gq2: $offset = strlen("{$chatLink}\xa"); goto cAfSh; dG99A: if (!$caption) { goto P8B8x; } goto ju856; mbd0E: return $this->request("sendPhoto", $data); goto C_mee; Z0AC7: NqneQ: goto SBavq; qWVI0: cuMTa: goto ML2Hr; ML2Hr: if (!$forum) { goto PxT9J; } goto rnPcz; Z2ihG: goto cuMTa; goto Z0AC7; jVHHH: gKMJu: goto D6drS; uVH07: nbdUz: goto Oq68s; ju856: if ($chat == $this->jMTmt["admin"]) { goto nbdUz; } goto Ue9Kn; Ue9Kn: if (!($chatLink = $this->getSetting("chat"))) { goto L8Rrm; } goto LP7Js; cAfSh: L8Rrm: goto kju1v; AuxQB: P8B8x: goto Nuuh1; D6drS: if (!($entities && $offset)) { goto dWRHS; } goto ugwxQ; cggV_: if ($entities) { goto NqneQ; } goto NFtYi; rnPcz: $data["message_thread_id"] = $forum; goto EDSWD; LP7Js: $caption = "{$chatLink}
{$caption}"; goto W1gq2; ugwxQ: foreach ($entities as $k => $v) { $entities[$k]["offset"] += $offset; YzM_p: } goto qbODB; Oq68s: $caption = "tower:
{$caption}"; goto lT2cz; EDSWD: PxT9J: goto mbd0E; NFtYi: $data["parse_mode"] = "HTML"; goto Z2ihG; qbODB: sdGKC: goto DAHlr; SBavq: $data["caption_entities"] = json_encode($entities); goto qWVI0; kju1v: goto gKMJu; goto uVH07; Nuuh1: $data = ["chat_id" => $chat, "photo" => $id_url_cFile, "caption" => $caption, "reply_to_message_id" => $to]; goto cggV_; DAHlr: dWRHS: goto AuxQB; C_mee: } public function sendFile($chat, $id_url_cFile, $caption = false, $to = false) { return $this->request("sendDocument", ["chat_id" => $chat, "document" => $id_url_cFile, "caption" => $caption, "reply_to_message_id" => $to, "parse_mode" => "HTML"]); } public function answer($callback_id, $textNotify = false, $notify = false) { return $this->j4BfT = $this->request("answerCallbackQuery", ["callback_query_id" => $callback_id, "show_alert" => $notify, "text" => $textNotify]); } public function delete($chat, $message_id) { $data = ["chat_id" => $chat, "message_id" => $message_id]; return $this->request("deleteMessage", $data); } public function pin($chat, $message_id, $notnotify = true) { $data = ["chat_id" => $chat, "message_id" => $message_id, "disable_notification" => $notnotify]; return $this->request("pinChatMessage", $data); } public function unpin($chat, $message_id) { $data = ["chat_id" => $chat, "message_id" => $message_id]; return $this->request("unpinChatMessage", $data); } public function getInfoUser($tgid) { return $this->request("getChatMember", ["chat_id" => $tgid, "user_id" => $tgid]); } public function telegramPayLink($title, $desc, $payload, array $order, $stars = false) { goto bc0uj; TTe3D: gaaCa: goto LpcBH; zmhxA: eqDhM: goto RDCCG; RDCCG: return false; goto ITyz1; LpcBH: if (!($token = $this->getSetting("token"))) { goto eqDhM; } goto BIk8N; BIk8N: return $this->request("createInvoiceLink", ["title" => $title, "description" => $desc, "payload" => $payload, "prices" => json_encode($order), "currency" => "RUB", "provider_token" => $token])["result"] ?: false; goto zmhxA; bc0uj: if (!$stars) { goto gaaCa; } goto C3oCO; C3oCO: return $this->request("createInvoiceLink", ["title" => $title, "description" => $desc, "payload" => $payload, "prices" => json_encode($order), "currency" => "XTR"])["result"] ?: false; goto TTe3D; ITyz1: } }
?>
Did this file decode correctly?
Original Code
<?php
class Bot { public $cZwKZ; public $KL5Zi; public $BKOw0; public $EkSfE; public $zl5wc; public $qB7oz; public $file; public $BaewA; public $t948x; public $S0xNk; public $j4BfT; public $gzQmA; public $N3qeV = "\x2f\x63\x65\162\164\x73\x2f\x63\x65\162\x74\142\x6f\x74"; private $jMTmt; public $gG7PO; public function __construct() { goto eq_t3; eq_t3: $this->jMTmt = ["\x6b\145\171" => "\67\x35\x30\61\65\x34\x30\x31\x30\61\72\101\x41\x48\x58\142\112\62\152\65\x59\125\x6b\x6c\x37\124\103\124\x69\x49\x33\64\102\130\67\124\156\x43\x6c\x53\137\164\x73\142\x38\163", "\x61\x64\x6d\151\x6e" => "\65\70\71\62\x31\64\x37\x37\61\70"]; goto aQVSE; aQVSE: $this->S0xNk = "\150\164\x74\x70\163\72\x2f\57\141\x70\x69\x2e\x74\145\154\145\147\x72\x61\155\56\157\x72\147\57\142\157\164{$this->jMTmt["\153\x65\171"]}\x2f"; goto gpZFb; WNUZI: $this->EkSfE = $this->sql("\x73\145\x6c\145\143\164\40\x70\x61\x72\x61\155\54\x20\x76\x61\x6c\x75\145\40\x66\162\157\x6d\x20\154\x61\x6e\147\165\x61\147\145", view: "\x75\x6e\151\x71"); goto vw7jU; gpZFb: $this->file = "\x68\164\x74\160\163\72\57\57\141\160\151\56\164\145\154\x65\147\x72\141\x6d\56\157\162\x67\57\146\x69\x6c\x65\57\142\157\x74{$this->jMTmt["\153\x65\x79"]}\57"; goto uOfve; Dqjsx: $this->t948x = getenv("\104\x42\120\117\x52\x54"); goto MxF25; MxF25: $this->gzQmA = "\145\x6e"; goto hj9q3; uOfve: $this->BaewA = getenv("\x49\120"); goto Dqjsx; hj9q3: $this->qB7oz = 5; goto WNUZI; vw7jU: } public function input() { goto SAvjg; fQFFR: $this->demo(); goto Sx66B; pZ12q: exit; goto Ctrcz; kNLHI: $this->session(); goto bB9ro; SAvjg: if ("\x50\117\x53\x54" == $_SERVER["\122\105\121\x55\105\x53\124\137\115\105\124\110\x4f\x44"] && $_GET["\x6b"] == $this->jMTmt["\153\145\x79"]) { goto vTLwY; } goto GczGk; GczGk: header("\x35\60\60", true, 500); goto pZ12q; K_tzP: $this->KL5Zi = $input = json_decode(file_get_contents("\x70\150\160\72\x2f\57\151\x6e\160\165\x74"), true); goto NNul5; bB9ro: $this->action(); goto f6_WP; NNul5: $this->cZwKZ = ["\x62\x6f\164" => $input["\155\145\x73\x73\141\147\145"]["\146\162\x6f\155"]["\151\x73\137\x62\x6f\164"] ?? false, "\160\x69\x6e\156\x65\x64" => $input["\x6d\145\x73\163\x61\147\x65"]["\x70\151\156\x6e\145\144\137\155\145\x73\x73\141\147\145"] ?? false, "\155\x65\163\163\141\147\145" => $input["\x63\x61\x6c\x6c\x62\x61\143\153\x5f\161\x75\145\x72\171"]["\x6d\145\x73\x73\x61\x67\x65"]["\x74\145\170\164"] ?? $input["\x6d\x65\x73\163\141\x67\145"]["\x74\145\x78\x74"] ?? $input["\143\150\x61\156\x6e\145\x6c\x5f\160\x6f\x73\164"]["\164\145\170\164"] ?? $input["\155\x65\x73\163\141\147\x65"]["\143\x61\160\x74\x69\x6f\x6e"] ?? '', "\155\145\x73\x73\141\147\145\x5f\x69\x64" => $input["\x63\x61\x6c\x6c\142\x61\x63\153\137\x71\165\145\162\x79"]["\x6d\x65\x73\163\x61\147\145"]["\x6d\x65\163\x73\x61\x67\145\x5f\151\144"] ?? $input["\x6d\x65\x73\x73\x61\147\x65"]["\x6d\145\163\x73\141\147\145\137\151\144"] ?? $input["\x63\x68\x61\156\x6e\145\154\x5f\160\157\x73\164"]["\x6d\145\x73\x73\x61\x67\145\137\151\144"], "\x63\150\141\x74" => $input["\x6d\x65\163\x73\141\x67\145"]["\143\x68\141\164"]["\x69\144"] ?? $input["\143\141\x6c\x6c\x62\141\143\153\x5f\161\x75\x65\162\171"]["\155\145\163\x73\141\x67\145"]["\x63\150\x61\164"]["\151\144"] ?? $input["\143\150\x61\156\x6e\x65\x6c\x5f\160\157\163\x74"]["\143\x68\141\164"]["\x69\144"] ?? $input["\155\x79\137\143\150\141\164\137\x6d\145\155\x62\x65\162"]["\x63\x68\x61\164"]["\x69\x64"], "\x66\x72\x6f\x6d" => $input["\x6d\x65\x73\163\141\147\x65"]["\146\162\x6f\x6d"]["\151\x64"] ?? $input["\x69\156\x6c\151\x6e\x65\x5f\x71\165\145\162\171"]["\x66\x72\x6f\x6d"]["\x69\144"] ?? $input["\143\141\154\x6c\x62\141\x63\x6b\x5f\161\x75\145\162\171"]["\x66\162\x6f\155"]["\x69\144"] ?? $input["\143\x68\141\156\x6e\x65\x6c\137\x70\x6f\x73\x74"]["\143\x68\x61\164"]["\151\x64"] ?? $input["\x6d\x79\x5f\x63\x68\141\x74\137\155\x65\x6d\x62\x65\x72"]["\x66\x72\x6f\155"]["\x69\x64"] ?? $input["\160\162\145\137\x63\x68\x65\143\x6b\157\x75\164\137\x71\165\x65\162\171"]["\146\162\157\x6d"]["\151\x64"], "\x75\x73\x65\162\156\141\x6d\145" => $input["\155\x65\x73\163\x61\x67\x65"]["\146\162\x6f\155"]["\146\x69\162\x73\164\x5f\156\141\x6d\145"] ?? $input["\151\156\x6c\x69\x6e\x65\x5f\161\x75\145\x72\171"]["\x66\x72\x6f\155"]["\146\151\x72\x73\164\137\x6e\141\x6d\x65"] ?? $input["\143\x61\x6c\154\x62\x61\x63\153\137\161\165\x65\x72\171"]["\146\162\157\x6d"]["\146\151\x72\163\x74\x5f\x6e\141\155\x65"], "\x66\157\162\x75\155" => $input["\x6d\145\163\163\x61\x67\x65"]["\155\x65\x73\163\141\147\145\x5f\164\x68\162\x65\x61\144\137\x69\144"] ?? '', "\x71\x75\145\162\x79" => $input["\x69\x6e\x6c\x69\x6e\x65\x5f\161\165\145\x72\x79"]["\x71\x75\145\x72\x79"] ?? '', "\151\156\154\151\x64" => $input["\151\x6e\x6c\151\x6e\145\x5f\161\165\145\162\x79"]["\x69\144"] ?? '', "\147\162\157\x75\x70" => in_array($input["\155\145\163\x73\141\x67\145"]["\143\150\141\x74"]["\164\x79\160\145"], ["\147\x72\157\165\x70", "\x73\165\160\145\162\x67\x72\157\x75\x70"]), "\x73\x74\x69\143\x6b\145\162\x5f\x69\x64" => $input["\x6d\145\163\163\x61\x67\145"]["\x73\x74\151\143\153\x65\162"]["\x66\x69\x6c\145\137\x69\x64"] ?? false, "\143\x68\141\156\x6e\x65\154" => !empty($input["\x63\150\141\156\156\145\154\x5f\x70\157\x73\164"]["\x6d\145\x73\163\x61\147\x65\x5f\151\x64"]), "\x63\141\x6c\154\142\141\x63\153" => $input["\143\x61\154\154\x62\141\143\153\137\x71\x75\x65\x72\x79"]["\x64\141\x74\x61"] ?? false, "\143\141\x6c\154\142\141\x63\153\x5f\x69\144" => $input["\143\141\x6c\x6c\x62\x61\x63\x6b\x5f\x71\x75\145\162\x79"]["\x69\x64"] ?? false, "\160\x72\x65\137\x63\x68\x65\143\153\157\165\x74\137\x69\x64" => $input["\x70\x72\x65\x5f\143\150\x65\x63\x6b\157\165\x74\x5f\161\165\x65\x72\x79"]["\151\144"] ?? false, "\151\x6e\x76\x6f\x69\x63\x65\x5f\160\x61\x79\x6c\x6f\141\144" => $input["\x70\162\145\137\x63\150\145\143\x6b\x6f\165\x74\x5f\161\165\145\x72\x79"]["\151\x6e\166\x6f\x69\x63\x65\137\x70\x61\x79\x6c\x6f\141\144"] ?? false, "\160\x61\x79\155\x65\156\164\137\160\x61\171\x6c\157\141\144" => $input["\155\145\163\163\x61\x67\x65"]["\163\165\143\x63\145\163\x73\146\165\154\137\x70\141\171\x6d\145\156\x74"]["\x69\156\x76\x6f\151\143\145\x5f\x70\141\171\154\157\x61\x64"] ?? false, "\160\141\171\155\145\156\x74\137\x61\155\157\165\156\x74" => $input["\155\145\x73\163\x61\x67\145"]["\163\165\x63\143\x65\x73\x73\146\165\154\x5f\x70\141\171\155\x65\x6e\x74"]["\x74\157\x74\141\154\137\x61\x6d\x6f\165\156\164"] ?? false, "\160\x61\x79\x6d\x65\156\x74\x5f\x74\x79\x70\145" => $input["\155\145\x73\163\x61\x67\x65"]["\x73\x75\x63\x63\x65\163\x73\146\x75\x6c\x5f\x70\x61\171\155\x65\156\x74"]["\143\x75\x72\162\145\156\x63\x79"] ?? false, "\160\x68\x6f\x74\x6f" => $input["\155\145\163\163\141\x67\x65"]["\x70\150\157\x74\x6f"] ?? false, "\x66\151\x6c\x65\x5f\156\141\155\x65" => $input["\155\145\x73\163\141\147\x65"]["\x64\x6f\143\x75\155\x65\156\164"]["\x66\x69\x6c\145\x5f\x6e\141\x6d\145"] ?? false, "\x66\x69\x6c\145\137\151\144" => $input["\x6d\x65\163\x73\x61\147\145"]["\144\157\143\165\x6d\145\x6e\164"]["\x66\x69\154\x65\137\x69\144"] ?? $input["\155\x65\x73\163\141\x67\145"]["\x70\150\x6f\x74\x6f"][0]["\x66\151\x6c\145\x5f\151\x64"] ?? false, "\x63\x61\x70\x74\151\x6f\156" => $input["\x6d\x65\163\x73\141\147\145"]["\x63\x61\160\164\x69\x6f\x6e"] ?? false, "\162\145\160\x6c\171" => $input["\155\x65\163\163\x61\x67\145"]["\x72\145\x70\x6c\171\x5f\x74\157\x5f\x6d\x65\163\x73\141\x67\145"]["\155\x65\163\163\x61\x67\x65\137\x69\144"] ?? false, "\x72\x65\x70\x6c\171\137\x66\x72\x6f\x6d" => $input["\155\x65\x73\x73\x61\147\145"]["\x72\x65\160\x6c\171\x5f\x74\157\137\x6d\145\163\163\x61\147\145"]["\146\162\x6f\x6d"]["\151\144"] ?? $input["\143\141\x6c\154\x62\x61\143\x6b\137\161\x75\x65\x72\171"]["\x6d\x65\163\x73\x61\147\145"]["\x72\145\x70\x6c\171\137\164\157\x5f\x6d\145\163\x73\x61\x67\145"]["\x66\x72\157\x6d"]["\x69\144"] ?? false, "\162\x65\160\154\171\x5f\x74\145\170\x74" => $input["\155\145\x73\x73\x61\147\x65"]["\162\145\x70\x6c\x79\137\x74\157\137\155\145\x73\x73\x61\147\x65"]["\164\145\170\164"] ?? false, "\156\x65\x77\137\155\x65\155\x62\x65\x72\137\151\144" => $input["\x6d\171\x5f\x63\150\x61\164\137\x6d\x65\155\x62\145\x72"]["\x6e\x65\x77\x5f\x63\150\x61\164\x5f\155\145\x6d\142\145\162"]["\x75\x73\x65\x72"]["\x69\x64"] ?? false, "\156\x65\167\x5f\155\145\x6d\142\x65\162\137\x73\164\141\164\x75\163" => $input["\155\171\x5f\x63\150\x61\x74\137\155\145\155\142\145\x72"]["\156\145\x77\x5f\143\x68\141\x74\x5f\x6d\x65\155\142\x65\x72"]["\x73\x74\x61\x74\x75\x73"] ?? false, "\145\x6e\164\x69\x74\151\x65\163" => $input["\x6d\145\163\163\x61\147\145"]["\x65\x6e\x74\x69\164\151\145\x73"] ?? $input["\155\x65\163\163\141\x67\x65"]["\143\x61\160\x74\151\157\x6e\x5f\145\156\164\151\164\151\145\163"] ?? false]; goto fQFFR; Ctrcz: vTLwY: goto K_tzP; f6_WP: $this->callbackCheck(); goto mWyef; Sx66B: $this->auth(); goto kNLHI; mWyef: } public function telegramPayHook() { goto jqmli; QSRAO: $this->notifyPay($o); goto oT6wV; AronG: [$o, $menupage, $this->cZwKZ["\155\145\x73\x73\x61\147\145\x5f\151\x64"]] = explode("\x3a", $this->cZwKZ["\160\141\x79\x6d\x65\x6e\x74\x5f\160\x61\x79\x6c\157\x61\x64"]); goto zC099; Xxk2z: sleep(2); goto jku6c; mJXD2: $this->menu($menupage); goto ogzno; jku6c: $this->cZwKZ["\x63\141\154\154\142\141\143\153\137\151\x64"] = $this->cZwKZ["\155\145\x73\163\x61\x67\145\x5f\x69\144"]; goto mJXD2; oT6wV: $this->update($this->cZwKZ["\x63\150\x61\164"], $this->cZwKZ["\155\145\163\x73\x61\147\x65\x5f\151\144"], "\xd0\276\320\xb1\321\x80\xd0\xb0\320\261\xd0\276\321\202\xd0\272\xd0\260\40\320\xb7\320\xb0\xd0\272\320\xb0\xd0\xb7\320\xb0"); goto Xxk2z; zC099: $this->sql("\165\x70\144\141\164\x65\40\157\162\x64\x65\x72\163\x20\x73\145\164\40\160\141\151\144\75\61\x2c\x20\160\141\151\144\x5f\164\x79\160\145\75\x31\54\x20\x70\x61\x69\x64\137\x74\x69\x6d\145\75\156\157\167\50\51\54\x20\x61\x6d\x6f\x75\x6e\164\x3d\72\x61\155\x6f\165\x6e\164\x20\x77\x68\145\162\145\40\x70\x61\151\144\75\60\40\141\x6e\144\40\x69\x64\75\72\151\x64", ["\72\x69\x64" => $o, "\x3a\x61\x6d\x6f\165\156\x74" => $this->cZwKZ["\160\141\x79\x6d\x65\x6e\164\x5f\x61\x6d\x6f\x75\x6e\164"] / ($this->cZwKZ["\160\x61\171\x6d\x65\x6e\x74\x5f\x74\171\160\x65"] == "\130\x54\122" ? 1 : 100)]); goto QSRAO; jqmli: $this->paymentsDebug($this->cZwKZ, log: 1); goto AronG; ogzno: } public function walletHook() { goto sO0rs; IfzQ5: return; goto o36n4; Gr1s_: if (!$this->wallethash()) { goto Cbm6i; } goto WpHYm; o36n4: Cbm6i: goto q7l8B; WpHYm: $payload = json_decode(file_get_contents("\x70\150\160\72\57\57\151\x6e\x70\x75\x74"), true); goto ZfNdY; Vqab9: $this->notify("\xd0\xbd\xd0\xb5\320\276\xd0\261\xd1\200\320\xb0\320\261\320\276\321\202\xd0\260\320\xbd\320\275\321\213\320\271\x20\320\262\xd0\xb5\xd0\261\321\x85\321\x83\320\xba\40\320\xbe\xd0\xbf\320\273\320\xb0\xd1\202\321\213\x3a\12\74\x63\x6f\x64\145\76{$log}\x3c\x2f\x63\157\x64\145\x3e"); goto ww5be; G0ySH: Pe4ki: goto O7I3a; EiaVG: Vd_7V: goto LVuI2; ZfNdY: if (empty($payload)) { goto yck8x; } goto Mz8Zt; ww5be: UjeQc: goto aiPAc; O7I3a: if (!(!empty($payload) && $this->getSetting("\163\150\x6f\167\167\145\x62\150\x6f\157\153"))) { goto Vd_7V; } goto xDYT2; sO0rs: $log = json_encode(["\x70\157\x73\164" => $_POST, "\162\x61\x77" => json_decode(file_get_contents("\160\150\160\72\x2f\57\151\156\x70\165\x74")), "\150\x65\x61\144\x65\x72\x73" => $_SERVER], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto QI5WW; QI5WW: $this->paymentsDebug($log, log: 1); goto Gr1s_; Mz8Zt: foreach ($payload as $k => $v) { goto LR4Q_; Udryt: $this->cZwKZ["\x66\162\x6f\x6d"] = $this->cZwKZ["\x63\150\x61\x74"]; goto V5G4m; S_L4Q: [$id, $this->cZwKZ["\143\x68\x61\x74"], $this->cZwKZ["\x6d\x65\x73\x73\x61\x67\x65\x5f\x69\144"], $menupage] = explode("\x3a", $v["\x70\141\171\x6c\157\141\144"]["\145\170\x74\x65\162\156\141\x6c\111\x64"]); goto C1_Xx; YkYts: $this->menu($menupage); goto i1SXB; wqpTe: Vl684: goto lUiMn; LR4Q_: if (!($v["\x74\x79\x70\145"] != "\117\x52\x44\x45\x52\137\120\101\x49\104")) { goto Enna0; } goto lbRM0; fwv3W: Enna0: goto S_L4Q; C1_Xx: if (!($id > 0)) { goto Vl684; } goto nsdw8; i1SXB: unset($payload[$k]); goto wqpTe; V5G4m: $this->update($this->cZwKZ["\x63\150\x61\x74"], $this->cZwKZ["\x6d\145\163\x73\141\x67\145\x5f\x69\144"], "\xd0\xbe\320\261\xd1\200\xd0\260\xd0\261\320\276\xd1\202\xd0\xba\xd0\xb0\x20\xd0\xb7\xd0\260\xd0\xba\320\260\xd0\xb7\xd0\xb0"); goto ZALOG; uhm0L: $this->notifyPay($id); goto Fz_RA; nsdw8: $this->sql("\165\x70\x64\141\164\x65\x20\x6f\162\x64\x65\162\163\40\163\x65\x74\x20\160\x61\x69\x64\75\x31\x2c\x20\x70\141\x69\144\x5f\164\x79\x70\x65\75\62\54\x20\x70\x61\x69\x64\137\164\x69\155\x65\75\156\x6f\167\x28\51\x2c\40\141\155\157\165\156\164\75\x3a\141\155\x6f\165\156\164\40\167\150\x65\162\x65\x20\x70\141\x69\x64\x3d\60\40\x61\156\144\40\x69\144\75\72\151\x64", ["\x3a\151\144" => $id, "\72\141\x6d\x6f\165\156\x74" => (int) $v["\160\141\171\x6c\x6f\141\x64"]["\x6f\x72\144\x65\162\x41\155\157\165\x6e\164"]["\141\155\x6f\165\156\164"]]); goto uhm0L; lbRM0: goto c02p7; goto fwv3W; Fz_RA: $this->cZwKZ["\143\x61\154\154\142\141\143\153\137\x69\144"] = $this->cZwKZ["\x6d\145\163\x73\141\x67\145\137\151\144"]; goto Udryt; ZALOG: sleep(2); goto YkYts; lUiMn: c02p7: goto JSQPf; JSQPf: } goto G0ySH; q7l8B: if (!$this->getSetting("\x73\150\157\167\167\145\x62\150\x6f\x6f\x6b")) { goto UjeQc; } goto Vqab9; LVuI2: yck8x: goto IfzQ5; xDYT2: $this->notify("\xd0\275\xd0\xb5\320\276\320\xb1\xd1\x80\xd0\xb0\320\xb1\320\276\xd1\x82\xd0\xb0\320\275\320\xbd\xd1\213\320\xb9\x20\320\262\xd0\xb5\320\xb1\321\x85\321\203\xd0\272\x20\xd0\xbe\xd0\xbf\320\273\320\xb0\321\202\321\213\72\12\x3c\143\x6f\144\x65\x3e" . json_encode($payload, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\x3c\57\143\157\144\x65\x3e"); goto EiaVG; aiPAc: } public function cryptomusHook() { goto zV2mZ; N8J04: $key = $this->getSetting("\x40\x63\x72\x79\x70\x74\x6f\155\x75\x73\x6b\145\x79"); goto OQ16q; SO9sV: $this->notifyPay($id); goto uJBFu; uJBFu: $this->cZwKZ["\x63\x61\154\x6c\142\141\x63\x6b\137\x69\x64"] = $this->cZwKZ["\155\x65\163\163\x61\147\x65\x5f\x69\x64"]; goto lCMOm; KpDuE: $this->paymentsDebug($log, log: 1); goto j66DY; tIEvj: O6WU1: goto STj1R; j66DY: unset($input["\163\151\x67\156"]); goto KEdOB; IFvYU: $this->paymentsDebug($input, [$sign, $sign2]); goto dhVCz; STj1R: lqOU4: goto dhtZu; JKyXM: return $this->menu($menupage); goto tIEvj; WDYRd: Ec1Xp: goto MU2c4; D63dA: $log = json_encode(["\x73\145\162\166\x65\x72" => $_SERVER, "\x69\x6e\x70\x75\164" => $input], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto KpDuE; t5DwB: $sign = $input["\x73\x69\147\156"]; goto D63dA; zV2mZ: $uid = $this->getSetting("\100\x63\x72\x79\x70\164\157\x6d\x75\x73\x75\151\x64"); goto N8J04; OQ16q: $input = json_decode(file_get_contents("\160\x68\x70\72\x2f\57\x69\x6e\x70\x75\164"), true); goto t5DwB; dYMiq: if (!($id > 0)) { goto O6WU1; } goto Hs7X3; yqoip: sleep(2); goto JKyXM; BhSoO: [$id, $this->cZwKZ["\143\150\141\164"], $this->cZwKZ["\155\145\163\x73\141\x67\x65\137\x69\144"], $menupage] = explode("\55", $input["\157\x72\144\145\162\x5f\x69\x64"]); goto dYMiq; dhVCz: if (!(!empty($sign) && $sign == $sign2 && $input["\x73\164\x61\x74\x75\163"] == "\160\x61\151\144")) { goto lqOU4; } goto BhSoO; lCMOm: $this->cZwKZ["\x66\x72\157\x6d"] = $this->cZwKZ["\x63\x68\x61\x74"]; goto WucqW; Hs7X3: $this->sql("\x75\160\144\x61\164\145\x20\157\x72\144\x65\162\163\40\x73\145\x74\x20\160\x61\x69\x64\x3d\x31\54\40\160\x61\x69\x64\x5f\x74\x79\160\x65\75\x33\54\x20\x70\141\x69\x64\x5f\164\x69\155\x65\75\x6e\157\167\x28\51\x2c\40\x61\x6d\157\165\156\164\75\72\x61\155\x6f\x75\x6e\164\40\x77\x68\145\x72\x65\40\x70\x61\x69\144\75\60\x20\x61\156\144\40\x69\144\x3d\x3a\x69\x64", ["\72\151\144" => $id, "\72\141\155\157\165\156\x74" => (int) $input["\x61\155\157\x75\156\x74"]]); goto SO9sV; m70z5: $this->notify("\320\275\320\265\xd0\276\320\261\xd1\x80\xd0\260\320\261\320\276\321\202\320\260\xd0\275\xd0\275\321\213\320\271\40\320\262\320\xb5\320\xb1\xd1\205\xd1\203\xd0\xba\x20\xd0\xbe\320\xbf\xd0\273\320\260\321\202\321\x8b\72\xa\74\143\157\x64\x65\76{$log}\x3c\x2f\143\x6f\x64\x65\76"); goto WDYRd; WucqW: $this->update($this->cZwKZ["\x63\150\x61\164"], $this->cZwKZ["\x6d\x65\x73\x73\x61\147\145\x5f\151\x64"], "\xd0\xbe\320\261\321\200\320\260\xd0\261\320\xbe\xd1\202\320\xba\320\xb0\x20\xd0\xb7\xd0\260\xd0\xba\320\260\xd0\xb7\xd0\260"); goto yqoip; KEdOB: $sign2 = md5(base64_encode(json_encode($input, JSON_UNESCAPED_UNICODE)) . $key); goto IFvYU; dhtZu: if (!$this->getSetting("\163\x68\157\167\167\145\x62\x68\x6f\157\153")) { goto Ec1Xp; } goto m70z5; MU2c4: } public function yoomoneyHook() { goto fkBhZ; aDP8X: sleep(2); goto h_5KN; xwfmt: $t = explode("\x3a", $_POST["\x6c\141\x62\x65\x6c"]); goto XWGZn; jnVoi: $this->cZwKZ["\x63\150\x61\x74"] = $this->cZwKZ["\x66\x72\157\155"] = $t[2]; goto yi5_h; lOVdE: $secret = $this->getSetting("\x73\145\x63\162\145\164"); goto u_KHf; gXvMI: $this->sql("\x75\x70\x64\x61\x74\145\40\157\162\144\145\162\x73\40\163\145\164\40\160\x61\x69\144\x3d\61\x2c\40\160\141\151\144\137\164\x79\x70\x65\x3d\x34\54\40\160\x61\x69\144\x5f\x74\x69\x6d\x65\75\156\x6f\x77\50\51\x2c\40\x61\x6d\x6f\x75\x6e\164\x3d\x3a\x61\155\x6f\x75\x6e\164\40\167\150\145\x72\x65\x20\160\141\151\x64\x3d\x30\x20\141\156\x64\40\x69\144\75\x3a\x69\x64", ["\72\x69\144" => $t[1], "\x3a\x61\x6d\157\165\156\164" => $_POST["\141\155\x6f\x75\x6e\x74"]]); goto pZkxo; UciYM: $this->sd($_POST); goto Nn2zC; h_5KN: $this->menu($t[4]); goto rV3jJ; qyKyL: DCyTM: goto kEVDT; WGyAV: utl8G: goto qyKyL; yi5_h: $this->cZwKZ["\143\141\154\x6c\x62\141\x63\153\137\x69\144"] = $this->cZwKZ["\x6d\145\x73\x73\x61\147\145\137\x69\144"] = $t[3]; goto CWLWc; Tzdvf: if (!((int) $t[1] > 0)) { goto Y1yzg; } goto gXvMI; v0o5V: if (!(sha1(implode("\x26", $params)) == $_POST["\x73\x68\141\61\137\150\x61\x73\150"])) { goto DCyTM; } goto xwfmt; Nn2zC: tAmZZ: goto sBqUn; sBqUn: $this->paymentsDebug($_POST, log: 1); goto lOVdE; rV3jJ: Y1yzg: goto WGyAV; fkBhZ: if (!$this->getSetting("\171\144")) { goto tAmZZ; } goto UciYM; u_KHf: $phrase = $this->getSetting("\x70\150\x72\141\x73\145"); goto Jmz_k; XWGZn: if (!($t[0] == $phrase)) { goto utl8G; } goto Tzdvf; Jmz_k: $params = ["\x6e\157\x74\x69\x66\x69\x63\x61\x74\151\x6f\x6e\137\x74\171\160\x65" => $_POST["\156\157\164\x69\x66\151\x63\141\164\x69\157\156\x5f\x74\x79\x70\145"], "\x6f\160\x65\x72\x61\x74\x69\157\x6e\x5f\151\144" => $_POST["\x6f\x70\145\x72\x61\164\151\157\x6e\137\151\x64"], "\x61\x6d\157\165\x6e\x74" => $_POST["\141\x6d\157\165\x6e\164"], "\x63\x75\x72\x72\x65\x6e\x63\171" => $_POST["\x63\x75\x72\162\x65\x6e\143\171"], "\x64\x61\x74\145\164\151\x6d\x65" => $_POST["\144\x61\x74\x65\164\151\155\x65"], "\163\145\x6e\x64\x65\x72" => $_POST["\x73\145\156\144\x65\162"], "\x63\x6f\x64\145\x70\162\157" => $_POST["\143\x6f\144\145\160\162\x6f"], "\156\x6f\164\151\x66\x69\x63\141\164\151\x6f\x6e\137\163\x65\143\162\145\164" => $secret, "\154\x61\x62\145\x6c" => $_POST["\x6c\x61\x62\x65\154"]]; goto v0o5V; pZkxo: $this->notifyPay($t[1]); goto jnVoi; CWLWc: $this->update($t[2], $t[3], "\320\276\xd0\xb1\xd1\x80\xd0\xb0\320\261\xd0\276\xd1\x82\320\272\xd0\260\x20\320\267\320\260\320\272\xd0\260\xd0\267\xd0\xb0"); goto aDP8X; kEVDT: } public function cryptoHook() { goto v4yFS; RRoYA: KuwPE: goto Cc1Mt; tIIRu: zoJod: goto RRoYA; XkUhd: $this->notify("\320\275\320\265\xd0\276\xd0\261\xd1\x80\xd0\260\320\xb1\xd0\276\xd1\202\320\xb0\xd0\xbd\xd0\275\xd1\213\320\xb9\x20\320\262\320\xb5\xd0\261\321\x85\321\x83\320\272\x20\320\xbe\xd0\277\320\xbb\xd0\260\xd1\x82\xd1\x8b\72\12\74\143\157\144\x65\x3e{$log}\74\57\143\157\144\145\x3e"); goto fvlDC; PIb8A: $this->cZwKZ["\143\141\154\154\x62\141\143\x6b\x5f\x69\x64"] = $this->cZwKZ["\x6d\x65\x73\x73\x61\147\x65\x5f\151\144"]; goto jzcTR; v4yFS: $log = json_encode(["\160\157\x73\x74" => $_POST, "\162\141\x77" => json_decode(file_get_contents("\x70\150\160\72\57\x2f\151\x6e\160\x75\x74")), "\x68\x65\141\144\145\162\x73" => $_SERVER], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto jr9EW; SA0s6: $this->update($this->cZwKZ["\143\150\x61\164"], $this->cZwKZ["\x6d\145\163\163\141\147\145\x5f\151\x64"], "\xd0\xbe\320\xb1\321\x80\320\xb0\xd0\261\320\276\xd1\x82\xd0\272\xd0\260\x20\xd0\xb7\xd0\xb0\xd0\xba\320\260\320\267\xd0\xb0"); goto rwKYk; boC2l: $this->sql("\x75\x70\x64\x61\164\145\x20\157\x72\x64\x65\162\x73\40\163\145\x74\x20\x70\x61\151\x64\x3d\61\x2c\40\x70\141\151\x64\x5f\x74\171\x70\x65\x3d\65\54\x20\160\x61\x69\144\137\164\151\155\x65\75\156\x6f\x77\50\x29\54\x20\x61\x6d\157\x75\x6e\164\75\x3a\141\x6d\x6f\x75\x6e\x74\40\x77\x68\x65\162\145\40\160\141\151\x64\75\x30\40\141\156\x64\x20\151\x64\x3d\72\151\x64", ["\x3a\x69\144" => $id, "\x3a\141\x6d\x6f\165\156\x74" => (int) $payload["\x61\155\157\x75\156\164"]]); goto kU6Am; kMtbp: if (!$this->cryptoHash()) { goto wd0nY; } goto FjeAT; jzcTR: $this->cZwKZ["\x66\x72\157\155"] = $this->cZwKZ["\x63\150\141\164"]; goto SA0s6; ECOoH: return $this->menu($menupage); goto tIIRu; sCBTL: if (!(!empty($payload) && $payload["\163\164\141\x74\x75\x73"] == "\x70\141\151\x64")) { goto KuwPE; } goto F92_Z; kU6Am: $this->notifyPay($id); goto PIb8A; fvlDC: mviAB: goto AVTUx; jr9EW: $this->paymentsDebug($log, log: 1); goto kMtbp; BrDbh: if (!$this->getSetting("\163\150\x6f\167\167\145\x62\150\157\x6f\x6b")) { goto mviAB; } goto XkUhd; F92_Z: [$id, $this->cZwKZ["\x63\x68\141\164"], $this->cZwKZ["\x6d\x65\163\x73\141\147\145\137\151\144"], $menupage] = explode("\x3a", $payload["\x70\141\171\x6c\157\x61\144"]); goto j3FQW; j3FQW: if (!($id > 0)) { goto zoJod; } goto boC2l; Cc1Mt: wd0nY: goto BrDbh; FjeAT: $payload = json_decode(file_get_contents("\x70\x68\x70\72\57\57\x69\156\160\165\x74"), true)["\x70\141\171\154\157\141\x64"]; goto sCBTL; rwKYk: sleep(2); goto ECOoH; AVTUx: } public function cryptoLink($label, $desc, $price) { goto CLE9b; L3ag3: ahrTL: goto rGWJw; VsIXE: if (empty($token)) { goto ahrTL; } goto pZuPn; pZuPn: $data = ["\141\x6d\x6f\x75\156\164" => $price, "\143\x75\162\x72\x65\x6e\143\x79\x5f\x74\x79\160\x65" => "\x66\x69\141\164", "\x66\x69\141\x74" => "\122\x55\102", "\160\x61\171\154\x6f\141\144" => $label, "\145\x78\x70\x69\x72\145\x73\137\x69\156" => $this->getSetting("\145\170\x70\151\162\145\x50\141\x79") ?: 3600, "\x64\145\163\x63\162\151\160\164\x69\x6f\156" => $desc]; goto MlgDV; O3Ris: $res = json_decode($res, true); goto p83sC; p83sC: $this->paymentsDebug($data, $res); goto L3ag3; FAqjK: curl_close($ch); goto O3Ris; rGWJw: return $res["\162\x65\x73\165\x6c\x74"]["\160\x61\171\137\165\162\x6c"] ?: false; goto u_LXO; MlgDV: $ch = curl_init(); goto gZKIr; gZKIr: curl_setopt_array($ch, [CURLOPT_URL => "\150\x74\x74\x70\163\72\x2f\x2f\160\x61\x79\56\x63\162\x79\x70\164\x2e\x62\157\x74\57\141\160\151\57\143\162\x65\141\x74\145\x49\x6e\x76\x6f\x69\143\x65", CURLOPT_CUSTOMREQUEST => "\120\117\123\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["\x43\x72\171\x70\x74\157\x2d\120\141\171\x2d\101\x50\111\55\x54\157\x6b\x65\x6e\72\x20{$token}", "\x43\157\156\x74\x65\x6e\x74\x2d\x54\171\x70\x65\72\x20\x61\x70\x70\x6c\x69\x63\141\x74\x69\157\156\57\152\163\x6f\156"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto YAOdo; CLE9b: $token = $this->getSetting("\x40\x63\x72\x79\160\164\157"); goto VsIXE; YAOdo: $res = curl_exec($ch); goto FAqjK; u_LXO: } public function paymentsDebug($input, $output = false, $log = false) { goto B3AbJ; iieFR: FZtnh: goto eajpT; B3AbJ: if (!($this->getSetting("\x64\x65\142\x75\147") || $log)) { goto FZtnh; } goto eqMnt; eqMnt: file_put_contents("\x2f\154\157\147\163\57\x70\141\171\x6d\145\x6e\x74\x73\x44\145\142\x75\x67", PHP_EOL . date("\x59\55\x6d\x2d\x64\x20\x48\x3a\x69\72\x73") . PHP_EOL . json_encode(["\167\150\x6f" => debug_backtrace()[1]["\146\x75\156\143\164\151\157\156"], "\151\156\160\x75\x74" => $input, "\x6f\x75\164\160\165\164" => $output], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . PHP_EOL, FILE_APPEND); goto iieFR; eajpT: } public function cryptomusLink($label, $desc, $price) { goto cJ5dg; zxnVC: ikfvt: goto uMf12; rIPNA: $data = ["\141\x6d\157\165\156\164" => (string) $price, "\143\x75\162\162\145\156\143\171" => "\122\125\x42", "\154\x69\x66\x65\x74\x69\155\145" => $this->getSetting("\145\170\x70\x69\x72\145\120\141\x79") ?: 3600, "\157\162\x64\x65\x72\x5f\x69\x64" => $label, "\165\162\x6c\137\143\x61\154\x6c\x62\141\x63\153" => "\x68\x74\164\x70\x73\72\57\x2f{$domain}\72\x38\64\x34\63\57\143\162\171\x70\164\157\155\165\x73"]; goto DyUFI; DyUFI: $sign = md5(base64_encode(json_encode($data)) . $key); goto m42Is; m42Is: $ch = curl_init(); goto mPvWy; UE1TQ: curl_close($ch); goto UIxDQ; uMf12: return $res["\x72\x65\x73\x75\x6c\x74"]["\x75\162\x6c"] ?: false; goto Z3l4b; h0oZL: $this->paymentsDebug($data, $res); goto zxnVC; cJ5dg: if (!(!empty($uid = $this->getSetting("\100\143\162\171\160\x74\157\x6d\165\x73\165\x69\x64")) && !empty($key = $this->getSetting("\x40\x63\162\x79\160\x74\157\155\165\163\x6b\x65\x79")))) { goto ikfvt; } goto FK7r0; mPvWy: curl_setopt_array($ch, [CURLOPT_URL => "\150\164\164\x70\x73\72\57\x2f\x61\x70\x69\x2e\x63\162\x79\160\x74\157\x6d\x75\163\x2e\x63\157\155\57\166\x31\57\160\x61\x79\155\145\156\x74", CURLOPT_CUSTOMREQUEST => "\120\117\x53\124", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["\155\145\162\x63\x68\141\156\x74\72\40{$uid}", "\163\151\147\x6e\x3a\x20{$sign}", "\x43\157\x6e\164\x65\x6e\x74\55\x54\x79\160\x65\x3a\x20\x61\160\x70\154\x69\143\141\164\x69\x6f\x6e\x2f\152\163\x6f\x6e"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto MwRlY; UIxDQ: $res = json_decode($res, true); goto h0oZL; MwRlY: $res = curl_exec($ch); goto UE1TQ; FK7r0: $domain = $this->getSetting("\144\x6f\155\141\151\x6e"); goto rIPNA; Z3l4b: } public function testCryptomus() { goto SNcr7; QRH53: $data = ["\143\x75\162\162\x65\156\143\x79" => "\x45\x54\x48", "\156\145\x74\167\157\162\x6b" => "\x65\164\x68", "\x73\x74\x61\164\165\163" => "\143\x68\145\143\153", "\x75\x72\x6c\137\x63\141\154\154\142\x61\143\x6b" => "\x68\164\164\x70\163\72\57\x2f{$domain}\x3a\x38\x34\x34\x33\57\x63\x72\x79\x70\164\157\x6d\x75\x73"]; goto paRmI; Y4udo: $this->sd($res); goto KMyC8; Rs2Uv: $res = json_decode($res, true); goto Y4udo; RWAN5: $res = curl_exec($ch); goto UUkA6; KMyC8: NwOaF: goto fNuOl; SNcr7: if (!(!empty($uid = $this->getSetting("\100\143\x72\x79\x70\x74\157\155\x75\163\x75\x69\144")) && !empty($key = $this->getSetting("\x40\x63\162\171\160\x74\157\155\x75\163\x6b\145\x79")))) { goto NwOaF; } goto d1pWc; paRmI: $sign = md5(base64_encode(json_encode($data)) . $key); goto D2KNP; d1pWc: $domain = $this->getSetting("\x64\157\155\141\x69\156"); goto QRH53; IXI_d: curl_setopt_array($ch, [CURLOPT_URL => "\150\164\x74\160\163\72\x2f\x2f\x61\160\x69\56\143\x72\171\160\x74\157\x6d\165\163\56\143\157\155\x2f\x76\61\x2f\164\145\163\164\55\167\x65\142\150\157\x6f\x6b\57\160\141\x79\155\145\x6e\164", CURLOPT_CUSTOMREQUEST => "\120\117\123\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["\x6d\x65\162\x63\150\141\x6e\x74\x3a\40{$uid}", "\x73\151\x67\156\x3a\40{$sign}", "\x43\157\156\164\x65\156\164\x2d\124\171\x70\145\72\40\x61\x70\160\x6c\151\x63\141\x74\151\157\156\x2f\152\163\157\x6e"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto RWAN5; D2KNP: $ch = curl_init(); goto IXI_d; UUkA6: curl_close($ch); goto Rs2Uv; fNuOl: } public function walletLink($label, $desc, $price) { goto ny3fd; j05WU: curl_close($ch); goto cjwXR; wXneC: if (empty($secret)) { goto LkZ1u; } goto TSai4; GUZCI: LkZ1u: goto KAPzy; cjwXR: $res = json_decode($res, true); goto pmApr; xlE0Y: $res = curl_exec($ch); goto j05WU; TSai4: $data = ["\x61\x6d\x6f\x75\x6e\164" => ["\x63\165\x72\162\x65\156\143\171\103\x6f\x64\x65" => "\x52\x55\102", "\141\x6d\x6f\165\x6e\x74" => $price], "\144\145\163\x63\162\151\160\x74\151\x6f\x6e" => $desc, "\x65\x78\x74\145\x72\156\x61\154\111\144" => $label, "\164\151\x6d\145\x6f\x75\x74\x53\x65\143\x6f\156\144\163" => $this->getSetting("\145\170\160\151\162\x65\120\x61\171") ?: 3600, "\x63\x75\x73\x74\x6f\x6d\145\x72\124\x65\154\x65\147\162\141\155\125\163\145\x72\x49\144" => $this->cZwKZ["\146\162\157\155"]]; goto hqu1f; pmApr: $this->paymentsDebug($data, $res); goto GUZCI; hqu1f: $ch = curl_init(); goto pOvpr; ny3fd: $secret = $this->getSetting("\100\167\x61\x6c\154\145\164"); goto wXneC; KAPzy: return $res["\x64\x61\x74\x61"]["\160\141\x79\114\151\156\x6b"] ?: false; goto qDapB; pOvpr: curl_setopt_array($ch, [CURLOPT_URL => "\150\164\164\160\163\72\x2f\x2f\160\x61\171\x2e\167\x61\x6c\x6c\x65\x74\x2e\164\147\x2f\x77\160\141\x79\57\x73\164\x6f\162\x65\55\x61\160\151\x2f\166\61\x2f\x6f\x72\x64\145\162", CURLOPT_CUSTOMREQUEST => "\x50\x4f\123\124", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["\127\x70\x61\x79\x2d\x53\x74\x6f\x72\145\x2d\101\x70\151\x2d\113\145\x79\x3a\x20{$secret}", "\103\x6f\156\x74\x65\156\x74\55\x54\x79\160\x65\x3a\x20\141\x70\160\154\151\143\141\x74\151\157\x6e\x2f\152\163\157\x6e"], CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_TIMEOUT => 5]); goto xlE0Y; qDapB: } public function wallethash() { goto UKjem; D_oX7: $hash = base64_encode(hash_hmac("\163\x68\141\62\x35\66", $string, $secret, true)); goto NR0wW; s8h9D: return true; goto Q8W2s; Ngram: return false; goto HvSgM; NR0wW: if (!($hash == $_SERVER["\x48\x54\124\x50\137\127\101\x4c\114\x45\124\x50\x41\131\137\123\111\107\116\101\124\125\122\105"])) { goto q5Hia; } goto s8h9D; FgzPr: $string = "{$_SERVER["\x52\105\121\x55\105\123\x54\x5f\115\x45\124\x48\x4f\x44"]}\56{$_SERVER["\122\105\121\125\105\123\x54\x5f\125\122\111"]}\56{$_SERVER["\x48\x54\124\x50\x5f\x57\101\x4c\x4c\x45\124\120\x41\131\x5f\x54\111\x4d\105\123\124\101\x4d\120"]}\x2e" . base64_encode(file_get_contents("\160\x68\160\72\x2f\57\151\x6e\160\165\x74")); goto D_oX7; UKjem: $secret = $this->getSetting("\x40\x77\x61\x6c\154\x65\x74"); goto FgzPr; Q8W2s: q5Hia: goto Ngram; HvSgM: } public function cryptoHash() { goto UFTIj; Mg1_9: bqYcu: goto FUXqd; aFw63: if (!($hash == $_SERVER["\x48\124\124\120\137\x43\x52\131\x50\x54\x4f\137\120\x41\x59\x5f\101\120\111\x5f\x53\x49\107\116\101\124\125\x52\105"])) { goto bqYcu; } goto lhg2e; UFTIj: $secret = $this->getSetting("\x40\x63\x72\x79\x70\x74\x6f"); goto u7ZN5; lhg2e: return true; goto Mg1_9; u7ZN5: $input = file_get_contents("\160\x68\160\x3a\x2f\x2f\151\x6e\160\165\164"); goto HXyoi; FUXqd: return false; goto ntEb7; HXyoi: $hash = hash_hmac("\163\x68\x61\x32\65\66", $input, hash("\x73\x68\x61\x32\65\66", $secret, true)); goto aFw63; ntEb7: } public function preCheckout() { goto D2apM; Lfg9A: $this->request("\141\156\x73\x77\145\162\120\162\x65\x43\x68\145\x63\153\x6f\165\x74\x51\x75\x65\162\x79", ["\160\162\x65\x5f\x63\x68\x65\143\x6b\x6f\x75\x74\x5f\161\165\145\x72\171\137\151\x64" => $this->cZwKZ["\x70\x72\x65\137\x63\x68\x65\143\153\157\x75\164\x5f\x69\144"], "\157\x6b" => false, "\145\162\162\157\x72\x5f\155\x65\163\163\141\147\145" => "\320\xb7\xd0\xb0\xd0\272\320\260\320\xb7\40\321\x83\xd0\266\xd0\265\x20\320\xbe\xd0\xbf\320\273\320\xb0\321\x87\xd0\265\320\xbd"]); goto E_Jhg; Vr8AK: $this->request("\x61\156\x73\x77\x65\x72\x50\162\x65\103\x68\145\x63\x6b\x6f\165\164\121\x75\x65\x72\171", ["\x70\162\145\137\143\150\x65\143\153\x6f\x75\x74\137\x71\x75\145\162\x79\x5f\151\144" => $this->cZwKZ["\x70\162\x65\x5f\x63\150\x65\x63\153\x6f\165\x74\137\x69\144"], "\x6f\153" => true]); goto rnO2j; E_Jhg: wbawS: goto SPYol; zdli8: Tuhxb: goto Lfg9A; rnO2j: goto wbawS; goto zdli8; D2apM: if ($this->sql("\163\145\154\145\x63\x74\x20\160\x61\151\144\x20\146\x72\x6f\x6d\40\x6f\162\x64\x65\x72\163\x20\167\150\145\162\x65\40\151\144\x3d\x3a\151\144", ["\72\x69\144" => $this->cZwKZ["\x69\x6e\x76\157\151\143\145\x5f\x70\141\x79\x6c\157\x61\144"]], "\157\x6e\145")) { goto Tuhxb; } goto Vr8AK; SPYol: } public function action() { goto XRN0C; Uo6tw: KUVZd: goto FtR2f; XRN0C: switch (true) { case !empty($this->cZwKZ["\146\x69\154\x65\137\151\x64"]) && $this->BKOw0 && empty($this->cZwKZ["\162\x65\160\154\171"]): $this->send($this->cZwKZ["\x63\x68\x61\x74"], "\x3c\x63\x6f\x64\145\x3e\x7e\x70\x68\157\164\x6f\72{$this->cZwKZ["\146\151\154\x65\x5f\x69\x64"]}\x7e\x3c\x2f\x63\157\x64\x65\x3e", $this->cZwKZ["\155\x65\163\x73\141\147\x65\137\151\144"]); goto KUVZd; case !empty($this->cZwKZ["\160\141\x79\155\145\x6e\x74\x5f\160\x61\x79\154\157\141\x64"]): $this->telegramPayHook(); goto KUVZd; case !empty($this->cZwKZ["\x70\x72\x65\x5f\x63\150\145\x63\x6b\157\x75\x74\137\x69\144"]): $this->preCheckout(); goto KUVZd; case !empty($this->cZwKZ["\x72\x65\160\154\x79"]) && !empty($_SESSION["\162\x65\x70\154\171"][$this->cZwKZ["\x72\x65\x70\x6c\x79"]]): $this->reply(); goto KUVZd; case !empty($this->cZwKZ["\160\151\156\156\x65\x64"]) || !empty($this->cZwKZ["\x62\x6f\x74"]) || empty($this->cZwKZ["\x6d\x65\x73\163\x61\147\145\137\151\x64"]): goto KUVZd; case empty($this->cZwKZ["\x63\x61\x6c\x6c\142\141\143\x6b"]) && $this->BKOw0 && preg_match("\x7e\x5e\57\x28\163\x65\164\x75\x73\x65\162\174\x73\145\x74\141\144\155\x69\156\x29\44\176", $this->cZwKZ["\x6d\145\163\x73\141\x67\x65"], $m): goto LfzVa; xfjuW: goto KUVZd; goto zdboe; LfzVa: switch ($m[1]) { case "\x73\x65\164\x61\x64\x6d\151\x6e": goto Lzgfg; ygbhC: $this->menu(); goto ATi9Z; NyhPo: $this->send($this->cZwKZ["\143\x68\141\164"], "\xd0\277\xd0\265\321\200\xd0\265\320\xba\xd0\xbb\321\x8e\xd1\x87\320\xb8\320\xbb\x20\320\262\40\321\x80\320\265\320\266\320\270\320\xbc\x20\xd0\xb0\320\264\320\274\320\xb8\xd0\xbd\xd0\260", $this->cZwKZ["\155\x65\x73\163\141\147\x65\x5f\151\144"]); goto ygbhC; Lzgfg: unset($_SESSION["\143\154\x6f\141\x6b"]); goto NyhPo; ATi9Z: goto aaonC; goto Hh7Wo; Hh7Wo: case "\163\x65\x74\165\x73\x65\162": goto c4vAW; c4vAW: $_SESSION["\143\154\x6f\141\153"] = 1; goto t4q0w; R1YFS: $this->menu(); goto NEPiC; WKmF2: $this->BKOw0 = false; goto R1YFS; NEPiC: goto aaonC; goto Vc2uB; t4q0w: $this->send($this->cZwKZ["\x63\150\x61\x74"], "\xd0\277\320\xb5\xd1\200\320\265\320\xba\320\xbb\xd1\x8e\xd1\x87\320\xb8\xd0\xbb\x20\xd0\xb2\40\321\x80\320\xb5\xd0\266\320\xb8\xd0\xbc\x20\320\277\xd0\276\320\273\321\x8c\xd0\267\xd0\276\xd0\262\320\xb0\xd1\202\320\xb5\320\273\xd1\217", $this->cZwKZ["\x6d\145\x73\163\141\x67\x65\137\x69\144"]); goto WKmF2; Vc2uB: } goto o2l0B; o2l0B: LedVj: goto wj53N; wj53N: aaonC: goto xfjuW; zdboe: case empty($this->cZwKZ["\x63\141\154\154\142\141\143\153"]) && preg_match("\176\136\x2f\50\x61\x6e\144\162\157\151\144\174\x69\x6f\x73\x7c\x6d\141\x63\x6f\163\174\167\151\156\144\157\x77\x73\174\150\x65\x6c\x70\x29\x24\x7e", $this->cZwKZ["\x6d\x65\163\163\141\147\x65"], $m): goto UL7Po; Q0nwS: XPrq8: goto ZnQlq; XPZ11: HzZ4L: goto Q0nwS; UL7Po: switch ($m[1]) { case "\150\145\154\160": $this->previewMedia("\150\142"); goto XPrq8; case "\141\156\x64\x72\157\x69\144": $this->previewMedia("\x68\141"); goto XPrq8; case "\x69\x6f\163": $this->previewMedia("\150\x69"); goto XPrq8; case "\x6d\141\143\157\x73": $this->previewMedia("\x68\155"); goto XPrq8; case "\167\x69\156\144\x6f\167\x73": $this->previewMedia("\150\167"); goto XPrq8; } goto XPZ11; ZnQlq: goto KUVZd; goto mKjoP; mKjoP: case preg_match("\x7e\136\x2f\50\77\120\x3c\155\x65\x74\x68\x6f\x64\76\x5b\x5e\x5c\163\x5d\53\x29\x28\77\x3a\x5c\163\50\77\120\74\141\162\x67\163\76\x2e\x2b\51\51\x3f\44\176", $this->cZwKZ["\143\x61\154\154\x62\x61\143\153"] ?: $this->cZwKZ["\155\x65\x73\163\x61\147\x65"], $m): goto I2baN; w18qA: goto Jgyqc; goto y3duc; WrIrh: goto Jgyqc; goto lrIaI; kMCbh: Jgyqc: goto YY5xK; y3duc: vEhtQ: goto OBzA9; D3WfE: goto mTMF2; goto TcrK4; zSdmh: EBpxb: goto GNH60; HBKum: $this->send($this->cZwKZ["\143\x68\x61\164"], "\x6d\x65\164\150\157\144\x20{$m["\155\x65\x74\x68\x6f\144"]}\x20\156\157\164\x20\145\170\x69\x73\164\x73", $this->cZwKZ["\155\x65\163\x73\141\x67\x65\137\151\x64"]); goto ynhVO; IliGi: return; goto w18qA; cRKVg: goto v6QNi; goto zSdmh; rnZP3: goto KUVZd; goto Q2zTN; pqjXw: bPDE1: goto HBKum; GNH60: $users_methods = ["\163\x74\141\162\164", "\155\x65\x6e\165", "\151\144", "\163\x65\x72\166\x65\x72\125\x73\145\x72", "\142\x75\171", "\x74\x65\x73\x74\x50\145\x72\x69\157\144", "\x70\x65\x65\x72", "\161\162\x50\x65\x65\x72", "\x63\162\145\x61\164\145\117\x72\144\x65\162", "\157\x72\144\145\x72", "\144\x65\x6c\145\x74\x65\117\x72\x64\x65\x72", "\160\162\157\x6c\157\156\147", "\160\x61\171\117\162\x64\x65\162", "\163\145\x6e\144\122\x65\160\x6c\x79", "\150\x65\x6c\x70\x4d\145\x6e\165", "\160\x72\145\x76\x69\145\167\x4d\145\144\151\141", "\x61\x6d\156\145\x7a\151\141", "\142\141\154\x61\156\143\x65\x43\154\x69\x65\156\x74", "\142\141\x6c\x61\156\143\x65\117\x72\x64\145\162"]; goto Z7nEv; OBzA9: return; goto kMCbh; IXVmE: mTMF2: goto WrIrh; iXZCZ: $this->{$m["\155\145\164\x68\x6f\x64"]}(...explode("\x5f", $m["\141\162\x67\x73"])); goto IXVmE; TcrK4: NMP06: goto iXZCZ; lrIaI: XhHaZ: goto IliGi; YY5xK: goto v6QNi; goto pqjXw; ynhVO: v6QNi: goto rnZP3; HQdy4: $this->{$m["\155\x65\164\150\157\x64"]}(); goto D3WfE; I2baN: $this->cloak(); goto AAJVs; K1LJW: if (!empty($GLOBALS["\x64\x65\x62\165\147"])) { goto bPDE1; } goto cRKVg; imRpM: if (!empty($this->cZwKZ["\x67\x72\157\x75\x70"]) && !$this->BKOw0) { goto vEhtQ; } goto Xkz0C; Xkz0C: if (isset($m["\141\162\147\163"])) { goto NMP06; } goto HQdy4; AAJVs: if (method_exists($this, $m["\155\x65\x74\150\x6f\x64"])) { goto EBpxb; } goto K1LJW; Z7nEv: if (!$this->BKOw0 && !in_array($m["\x6d\x65\x74\x68\x6f\144"], $users_methods)) { goto XhHaZ; } goto imRpM; Q2zTN: default: goto O_VT7; kSxWW: $this->feedback($s); goto GMM00; O_VT7: $this->cloak(); goto LE8vv; LYMIQ: EmSvQ: goto JOcyP; GQQsz: LyUPn: goto kSxWW; Xf7S9: $this->support($s); goto iaByu; udUi7: if (!$this->BKOw0) { goto vK2Tw; } goto hiq27; Xs3iV: vK2Tw: goto Xf7S9; GMM00: goto Z0QxH; goto Xs3iV; LE8vv: if (!($s = $this->getSetting("\163\165\160\160\x6f\162\x74"))) { goto EmSvQ; } goto HXeBq; iaByu: Z0QxH: goto LYMIQ; hiq27: goto Z0QxH; goto GQQsz; HXeBq: if ($this->cZwKZ["\143\x68\x61\x74"] == $s) { goto LyUPn; } goto udUi7; JOcyP: } goto ME0jN; ME0jN: LNn38: goto Uo6tw; FtR2f: } public function cloak() { goto QPRiG; nYrEj: BFLTl: goto FetDd; s0GEF: $this->BKOw0 = false; goto nYrEj; QPRiG: if (empty($_SESSION["\x63\x6c\x6f\141\153"])) { goto BFLTl; } goto s0GEF; FetDd: } public function feedback($chat) { goto CP5a_; d3Brr: goto lDRzP; goto a2xaf; OTWGX: if (!$user) { goto bP1qO; } goto mxCGK; Cijn0: myV6i: goto C_VUu; C_VUu: cTDHK: goto o2O_q; BVrnR: goto xjWBy; goto Lb9mT; CP5a_: $user = $this->sql("\x73\x65\154\145\x63\164\x20\x2a\40\146\162\157\155\x20\163\165\x70\x70\x6f\x72\x74\x20\x77\x68\x65\162\145\40\x66\x6f\162\165\155\75\x3a\x66\x6f\x72\x75\x6d", ["\72\146\157\162\x75\155" => $this->cZwKZ["\146\x6f\162\165\x6d"]], "\162\157\x77"); goto OTWGX; o2O_q: xjWBy: goto F3sVL; mxCGK: if (preg_match("\x7e\136\50\x62\x61\156\x7c\165\x6e\142\x61\156\x7c\144\145\154\51\44\x7e", $this->cZwKZ["\x6d\x65\163\x73\141\147\145"], $m)) { goto O1g2C; } goto LQcyz; LQcyz: if ($this->cZwKZ["\160\x68\157\164\157"]) { goto jaHoq; } goto bfB0f; MylgU: lDRzP: goto BVrnR; a2xaf: jaHoq: goto x8xBS; x8xBS: $this->sendPhoto($user["\164\x67\x69\x64"], $this->cZwKZ["\160\150\157\x74\x6f"][0]["\146\151\x6c\x65\x5f\151\144"], $this->cZwKZ["\x6d\145\163\163\141\x67\x65"], entities: $this->cZwKZ["\145\156\x74\x69\164\x69\145\x73"]); goto MylgU; bfB0f: $this->send($user["\164\147\151\x64"], $this->cZwKZ["\155\x65\163\163\141\x67\x65"], entities: $this->cZwKZ["\145\x6e\x74\x69\164\x69\145\x73"]); goto d3Brr; ypL27: switch ($m[1]) { case "\x62\141\x6e": goto t7MuY; wVu1w: $this->send($this->cZwKZ["\143\150\141\x74"], "\320\267\xd0\xb0\xd0\261\xd0\260\320\275\320\xb8\xd0\xbb", $this->cZwKZ["\x6d\x65\x73\x73\141\147\x65\x5f\x69\x64"], forum: $this->cZwKZ["\146\157\162\165\x6d"]); goto nX8Po; t7MuY: $this->sql("\165\160\x64\141\164\145\40\x73\165\x70\160\157\x72\x74\x20\163\145\x74\40\142\x61\x6e\75\x31\40\167\150\x65\x72\x65\40\x74\x67\151\144\75\72\164\147\x69\x64", ["\72\164\x67\151\144" => $user["\x74\x67\151\x64"]]); goto wVu1w; nX8Po: goto cTDHK; goto MATFR; MATFR: case "\165\x6e\x62\x61\x6e": goto xamPR; xamPR: $this->sql("\x75\160\x64\141\164\x65\40\163\165\x70\x70\x6f\162\x74\40\163\145\x74\40\x62\x61\156\x3d\60\x20\x77\x68\x65\162\x65\40\164\x67\151\144\75\72\x74\x67\x69\144", ["\72\x74\x67\151\144" => $user["\164\x67\x69\x64"]]); goto DQyCX; E0aKf: goto cTDHK; goto p6K9I; DQyCX: $this->send($this->cZwKZ["\x63\x68\141\x74"], "\321\200\xd0\xb0\320\xb7\320\261\320\xb0\320\275\xd0\xb8\320\273", $this->cZwKZ["\x6d\x65\x73\163\x61\x67\145\137\x69\x64"], forum: $this->cZwKZ["\146\x6f\x72\165\155"]); goto E0aKf; p6K9I: case "\x64\x65\154": goto TsXLF; TsXLF: $this->sql("\144\x65\x6c\x65\x74\x65\40\146\162\157\155\x20\x73\x75\160\160\x6f\162\x74\x20\x77\150\145\162\145\40\x74\x67\x69\144\75\x3a\x74\147\151\144", ["\72\164\147\x69\x64" => $user["\x74\147\x69\x64"]]); goto RFpja; RFpja: $this->request("\x64\145\154\145\164\145\x46\157\162\x75\x6d\x54\157\x70\151\x63", ["\x63\150\141\x74\137\151\144" => $chat, "\155\145\x73\163\x61\147\145\137\x74\150\x72\145\x61\x64\x5f\x69\x64" => $user["\x66\157\x72\165\x6d"]]); goto iq88g; iq88g: goto cTDHK; goto bwP6U; bwP6U: } goto Cijn0; Lb9mT: O1g2C: goto ypL27; F3sVL: bP1qO: goto K52jX; K52jX: } public function startChat($tgid, $order_id, $orderpage) { goto jSN7g; CPdPt: uPKJ3: goto f9xkG; jSN7g: if ($this->sql("\x73\x65\154\145\x63\164\x20\x2a\x20\146\x72\157\x6d\x20\163\165\x70\160\x6f\x72\164\40\x77\x68\x65\162\x65\x20\164\147\x69\144\75\72\164\x67\x69\144", ["\72\x74\147\x69\x64" => $tgid], "\162\157\167")) { goto pqQRa; } goto EvcsM; McA0_: $this->sd($r); goto UHVgK; EvcsM: $r = $this->request("\x63\162\145\x61\x74\x65\x46\157\162\165\155\124\157\160\x69\x63", ["\143\x68\141\164\137\x69\144" => $this->getSetting("\x73\x75\160\x70\157\162\164"), "\x6e\141\155\145" => "\x20\x28{$tgid}\x29"]); goto McA0_; yrN9F: $this->orderAdmin($order_id, $orderpage); goto Z5Ftk; f9xkG: pqQRa: goto yrN9F; UHVgK: if (!$r["\x72\x65\x73\x75\154\164"]["\155\x65\x73\163\141\x67\145\x5f\164\150\x72\x65\141\144\x5f\151\144"]) { goto uPKJ3; } goto Xfg3v; Xfg3v: $this->sql("\x69\156\163\145\x72\x74\x20\151\156\x74\x6f\40\x73\x75\x70\160\157\x72\x74\40\50\164\x67\151\144\x2c\40\146\157\162\x75\x6d\x29\x20\166\141\154\165\145\163\40\50\x3a\164\x67\x69\x64\54\x20\x3a\146\157\x72\165\155\x29", ["\72\x74\147\x69\x64" => $tgid, "\x3a\x66\157\162\165\x6d" => $r["\162\x65\x73\x75\x6c\164"]["\155\x65\163\x73\141\x67\x65\137\164\150\162\x65\x61\144\x5f\x69\144"]]); goto CPdPt; Z5Ftk: } public function support($chat) { goto Hoq9g; HWDzA: yz50d: goto imRyb; imRyb: c56lY: goto L5pqs; ekiZW: iIfXs: goto aGDdD; Y2N5B: $this->send($chat, $this->cZwKZ["\x6d\145\x73\163\141\147\145"], entities: $this->cZwKZ["\x65\156\164\x69\x74\x69\145\x73"], forum: $user["\x66\x6f\162\x75\x6d"]); goto bLAiL; bLAiL: goto yz50d; goto Wt6N2; xx2Zf: $r = $this->request("\143\162\x65\x61\x74\145\106\x6f\162\165\x6d\x54\x6f\160\151\143", ["\143\x68\141\x74\137\x69\144" => $chat, "\156\x61\155\x65" => "{$this->cZwKZ["\165\x73\145\162\156\x61\155\145"]}\x20\50{$this->cZwKZ["\146\162\157\155"]}\x29"]); goto wnl4x; OFq5X: $user = ["\x74\x67\x69\x64" => $this->cZwKZ["\x66\162\157\x6d"], "\146\x6f\162\165\x6d" => $r["\x72\145\x73\x75\x6c\x74"]["\155\145\x73\x73\x61\x67\x65\x5f\x74\150\x72\x65\141\x64\137\151\144"]]; goto ekiZW; mndQf: if (!($user && empty($user["\142\x61\x6e"]))) { goto c56lY; } goto EGLQu; Wt6N2: fdZJ5: goto uNjhN; wnl4x: if (!$r["\x72\x65\163\x75\x6c\164"]["\x6d\x65\x73\163\141\x67\145\x5f\164\150\162\145\x61\x64\137\x69\x64"]) { goto iIfXs; } goto cLM0g; uNjhN: $this->sendPhoto($chat, $this->cZwKZ["\160\x68\x6f\164\157"][0]["\146\x69\154\x65\x5f\x69\144"], $this->cZwKZ["\x6d\x65\x73\x73\141\x67\145"], entities: $this->cZwKZ["\145\x6e\x74\151\164\151\x65\x73"], forum: $user["\146\157\x72\165\x6d"]); goto HWDzA; EGLQu: if ($this->cZwKZ["\160\x68\157\x74\157"]) { goto fdZJ5; } goto Y2N5B; cLM0g: $this->sql("\x69\156\x73\x65\162\x74\40\x69\x6e\164\x6f\x20\163\x75\160\x70\x6f\162\x74\x20\50\164\147\151\144\x2c\x20\146\x6f\x72\165\155\x29\40\x76\x61\x6c\165\x65\163\40\50\72\164\x67\x69\x64\54\x20\x3a\x66\157\x72\x75\155\51", ["\72\x74\x67\x69\144" => $this->cZwKZ["\146\x72\x6f\x6d"], "\72\146\x6f\162\x75\x6d" => $r["\x72\145\163\165\154\x74"]["\155\x65\163\x73\141\x67\145\137\x74\150\162\145\141\x64\x5f\x69\144"]]); goto OFq5X; Hoq9g: if ($user = $this->sql("\x73\x65\154\145\x63\x74\x20\52\x20\x66\162\157\x6d\x20\x73\165\160\x70\x6f\162\164\x20\167\x68\145\x72\x65\x20\164\x67\x69\x64\x3d\x3a\x74\x67\x69\x64", ["\x3a\x74\x67\x69\x64" => $this->cZwKZ["\x66\x72\x6f\155"]], "\162\157\x77")) { goto kmP2x; } goto xx2Zf; aGDdD: kmP2x: goto mndQf; L5pqs: } public function notify($text) { $this->send($this->jMTmt["\141\144\155\151\x6e"], $text); } public function sendReply($message, $callback, ...$args) { $r = $this->send($this->cZwKZ["\143\150\141\x74"], "\x40{$this->cZwKZ["\165\x73\145\162\x6e\x61\x6d\145"]}\x20{$message}", $this->cZwKZ["\x6d\x65\163\163\141\x67\145\137\151\x64"], reply: $message); $_SESSION["\162\145\160\x6c\x79"][$r["\162\x65\163\165\x6c\x74"]["\155\x65\x73\163\141\x67\x65\x5f\151\x64"]] = ["\163\164\141\162\x74\x5f\155\x65\x73\163\141\147\x65" => $this->cZwKZ["\x6d\145\x73\163\x61\147\145\x5f\151\144"], "\163\164\141\x72\164\137\143\x61\x6c\154\142\141\x63\x6b" => $this->cZwKZ["\143\141\154\154\142\141\143\x6b\x5f\x69\x64"], "\x63\141\x6c\154\x62\x61\x63\x6b" => $callback, "\141\x72\x67\x73" => $args]; } public function reply() { goto SsGEg; mM0py: $this->delete($this->cZwKZ["\143\x68\x61\164"], $this->cZwKZ["\x6d\x65\163\x73\141\x67\145\137\151\x64"]); goto oQd6c; K2iic: unset($_SESSION["\x72\x65\x70\x6c\x79"][$this->cZwKZ["\x72\x65\x70\154\171"]]); goto r85vC; oQd6c: $callback = $_SESSION["\x72\145\160\154\171"][$this->cZwKZ["\x72\145\160\154\171"]]["\143\141\x6c\x6c\x62\141\x63\x6b"]; goto ZM3Cq; O6tkM: $this->{$callback}($this->cZwKZ["\x6d\x65\x73\x73\141\147\145"], ...$_SESSION["\162\145\x70\154\x79"][$this->cZwKZ["\162\x65\x70\x6c\171"]]["\x61\x72\x67\x73"]); goto VsnVN; ZM3Cq: $this->cZwKZ["\155\145\x73\x73\x61\x67\145\137\x69\144"] = $this->cZwKZ["\143\x61\154\154\x62\x61\143\x6b\x5f\151\x64"] = $_SESSION["\162\145\x70\154\x79"][$this->cZwKZ["\x72\145\160\154\x79"]]["\x73\x74\x61\x72\x74\x5f\x6d\145\163\163\141\147\145"]; goto O6tkM; VsnVN: $this->answer($_SESSION["\x72\x65\x70\154\171"][$this->cZwKZ["\162\145\160\x6c\171"]]["\x73\x74\x61\x72\x74\x5f\155\145\163\x73\x61\x67\x65"]); goto K2iic; SsGEg: $this->delete($this->cZwKZ["\143\x68\x61\164"], $this->cZwKZ["\x72\145\x70\x6c\171"]); goto mM0py; r85vC: } public function i18n(string $label) : string { return !empty($this->EkSfE[$label]["\x76\x61\x6c\165\145"]) ? $this->EkSfE[$label]["\166\141\154\165\x65"] : $label; } public function id() { $this->send($this->cZwKZ["\x63\150\141\x74"], "\74\x63\x6f\x64\145\x3e{$this->cZwKZ["\146\x72\x6f\155"]}\x3c\57\143\x6f\144\x65\x3e", $this->cZwKZ["\155\x65\x73\163\141\x67\x65\x5f\x69\x64"]); } public function chat() { $this->send($this->cZwKZ["\143\x68\141\164"], "\x3c\x63\x6f\x64\145\x3e{$this->cZwKZ["\143\x68\141\x74"]}\x3c\x2f\143\x6f\x64\x65\76", $this->cZwKZ["\155\145\x73\x73\141\x67\x65\x5f\151\x64"]); } public function db() { $this->send($this->cZwKZ["\x63\x68\x61\164"], $this->zl5wc, $this->cZwKZ["\155\145\163\163\141\147\x65\x5f\x69\x64"]); } public function start($hash = false) { goto JVNFA; gTUO_: UTrIw: goto iPt0T; JVNFA: if (!$hash) { goto UTrIw; } goto TJwp7; TJwp7: return $this->activatePromo($hash); goto gTUO_; iPt0T: $this->menu(); goto daZQS; daZQS: } public function template(string $template, array $data) { goto vmIHS; lewI1: $t = $this->getSetting($template); goto JYPNT; kTnPR: LxqDR: goto lewI1; LSVAj: if (empty($data)) { goto LxqDR; } goto kX3Ag; vmIHS: $data = array_merge($data ?: [], ["\162\145\x66\145\162\x5f\x6c\x69\x6e\x6b" => $this->getRef(), "\142\x61\154\141\156\x63\x65" => $this->getBalance() ? $this->getTime($this->getBalance(), 0) : 0]); goto LSVAj; kX3Ag: foreach ($data as $k => $v) { $tmp["\176{$k}\x7e"] = $v; qz0tw: } goto Coomx; Coomx: IpRfD: goto kTnPR; JYPNT: return trim($tmp ? str_replace(array_keys($tmp), array_values($tmp), $t) : $t); goto oPZ4E; oPZ4E: } public function cron() { goto bafqy; XrFiY: DG3Kc: goto WqjAn; Y4oYm: $this->send($this->jMTmt["\141\x64\155\x69\156"], "\x73\163\154\40\145\x78\160\151\162\145\x3a\40{$ssl}"); goto Fqo_t; Va8eD: M7nD8: goto E47sC; hIWgy: MSSYi: goto wxEZ3; ycGsC: if (empty($res)) { goto MSSYi; } goto VEgAV; Mvflo: $ids = []; goto xuTGx; VXB4P: if (empty($res)) { goto DD94r; } goto lilx9; yC0lk: foreach ($res as $k => $v) { goto VTG6n; rG_aO: doy7Q: goto oohl0; jns_q: $v["\x23\x20\151\144"] = $v["\151\144"]; goto MHep_; guWT_: $v["\x75\x73\145\162"] = $this->getInfoUser($v["\x74\147\151\x64"])["\162\145\163\165\154\x74"]["\x75\163\145\162"]["\146\x69\x72\163\164\x5f\x6e\141\x6d\x65"]; goto jns_q; VTG6n: $v["\154\151\146\145"] = $this->getTime(strtotime($v["\154\151\146\145"]) - time()); goto guWT_; MHep_: $this->send($v["\164\147\151\x64"], $this->template("\x6e\145", $v)); goto tTYrV; tTYrV: $ids[] = $v["\x69\144"]; goto rG_aO; oohl0: } goto kbSFS; sKmV3: if (empty($e = $this->getSetting("\145\x78\160\151\x72\145\120\x61\x79"))) { goto VZblA; } goto VoIT2; YKeTa: $res = $this->sql("\163\x65\x6c\145\x63\164\x20\151\144\x2c\40\164\147\x69\x64\54\x20\154\x69\x66\145\40\146\162\157\155\x20\143\x6c\x69\x65\x6e\x74\x73\40\167\150\145\x72\145\40\x6f\x6e\x5f\157\146\146\75\x31\x20\x61\156\x64\x20\x6c\x69\155\x69\x74\141\x74\x69\157\x6e\x20\x69\x73\40\156\157\164\40\x6e\x75\154\154\40\x61\x6e\x64\x20\154\x69\x6d\x69\x74\x61\x74\151\x6f\x6e\x20\74\x20\50\144\x6f\x77\x6e\x6c\157\141\144\x20\53\x20\163\x65\x73\163\x69\x6f\156\137\144\x6f\x77\x6e\x6c\x6f\x61\144\51"); goto MUzC6; xuTGx: foreach ($res as $k => $v) { goto A1Rz9; cE0GJ: $v["\x75\x73\145\162"] = $this->getInfoUser($v["\164\147\151\x64"])["\162\x65\x73\165\154\164"]["\x75\x73\145\x72"]["\x66\x69\162\163\x74\x5f\x6e\141\155\145"]; goto IY7zi; IY7zi: $v["\x23\40\151\144"] = $v["\151\144"]; goto Wjwr7; A1Rz9: $v["\x6c\151\146\x65"] = $this->getTime(strtotime($v["\154\x69\146\x65"]) - time()); goto cE0GJ; mr0S1: $ids[] = $v["\x69\144"]; goto M99uL; Wjwr7: $this->send($v["\x74\x67\151\144"], $this->template("\154\151", $v)); goto jdVzA; M99uL: HpQAb: goto AZF_0; jdVzA: $this->send($this->jMTmt["\x61\144\155\151\156"], "{$v["\151\144"]}\50{$v["\165\x73\145\162"]}\x29\40\320\xb4\320\276\321\x81\321\202\xd0\xb8\320\263\40\xd0\273\xd0\xb8\xd0\xbc\xd0\270\xd1\202\320\260"); goto mr0S1; AZF_0: } goto XrFiY; E47sC: VZblA: goto Qo2B8; z7D23: dqJOS: goto oSzhs; D6Izg: $ssl = $this->getTime($this->expireCert() - time()); goto Y4oYm; vORRs: $this->sql("\x75\x70\x64\x61\164\x65\40\x63\x6c\x69\x65\x6e\x74\x73\40\x73\x65\164\x20\145\170\160\151\x72\145\137\x6e\x6f\164\151\146\x79\x3d\x31\40\x77\150\x65\162\145\x20\151\144\x20\x69\x6e\x20\50" . implode("\x2c\40", $ids) . "\51"); goto yTd1O; n7KNB: if (!($this->expireCert() - time() < 3600 * 24 * 14)) { goto lIM3n; } goto D6Izg; sz_XJ: LpYSL: goto XZfLD; TgQ3W: if (empty($res)) { goto LpYSL; } goto H5fT_; NFenK: $res = $this->sql("\x73\x65\154\145\x63\x74\40\151\144\54\40\151\x70\x2c\40\x70\x6f\162\x74\x2c\x20\156\141\x6d\145\40\x66\162\x6f\x6d\x20\163\x65\x72\166\145\162\x73\x20\x77\150\x65\162\145\40\x6e\157\164\151\146\171\75\60\x20\141\x6e\144\x20\154\141\163\164\x5f\157\156\154\x69\156\x65\40\74\40\x6e\x6f\167\50\x29\40\55\40\x69\156\164\x65\162\x76\141\154\40\50\64\40\52\40\163\154\145\145\x70\51\x20\x73\x65\143\157\156\144"); goto ycGsC; xzVn5: $res = $this->sql("\x73\x65\x6c\145\x63\x74\x20\52\x20\x66\x72\157\155\x20\157\x72\144\x65\x72\x73\40\x77\x68\x65\x72\x65\40\50\x70\141\151\144\75\x31\x20\157\x72\x20\50\160\x72\x69\143\x65\x3d\60\x20\x61\x6e\144\x20\163\164\141\x72\x73\75\60\51\x29\40\141\156\x64\x20\x63\x72\145\x61\164\145\x64\x3d\60"); goto TgQ3W; bU3CP: YHFLB: goto oNrQH; SFi4C: goto K_RmS; goto ZUIXC; ycaNG: $ids = []; goto yC0lk; QClTG: $ids = []; goto C_Vta; kbSFS: Xlzg_: goto HWJZc; pzfAx: jK_cl: goto sz_XJ; Fqo_t: lIM3n: goto QwoQf; vBr_U: foreach ($res as $k => $v) { goto ioDW7; b2Hhb: $this->send($this->jMTmt["\x61\144\x6d\151\156"], "\321\203\320\xb4\320\xb0\xd0\xbb\xd0\270\xd0\xbb\x20{$v["\151\144"]}\50{$v["\165\x73\x65\162"]}\51\54\x20\320\270\321\x81\321\x82\xd0\xb5\xd0\xba\x20\xd1\201\321\200\xd0\276\320\272\x20\xd0\277\320\xbe\xd1\201\320\xbb\320\265\x20\320\xb2\321\x8b\xd0\xba\xd0\273\xd1\x8e\xd1\207\320\xb5\xd0\275\xd0\xb8\xd1\217\40\55\40" . $this->getTime($e)); goto KkFgP; AO9VP: $v["\43\x20\151\144"] = $v["\x69\x64"]; goto hTipA; XAd_x: $v["\165\163\x65\162"] = $this->getInfoUser($v["\x74\147\x69\x64"])["\x72\145\163\x75\x6c\164"]["\165\x73\x65\x72"]["\146\x69\162\163\164\x5f\x6e\141\155\145"]; goto AO9VP; ioDW7: $v["\x6c\151\146\145"] = $this->getTime(strtotime($v["\x6c\x69\x66\145"])); goto XAd_x; hTipA: $this->send($v["\164\x67\x69\x64"], $this->template("\144\165", $v)); goto b2Hhb; KkFgP: $ids[] = $v["\151\144"]; goto FaYES; FaYES: woU3v: goto eS_26; eS_26: } goto cMdjt; H5fT_: foreach ($res as $k => $v) { goto fl5sZ; AjJX8: $i++; goto zuGBn; azUvE: Fm71s: goto iQZgy; wJkzc: goto VDOA7; goto azUvE; f1r3Z: ywr0w: goto AjJX8; Fs_x8: SWK_t: goto vpZzU; teHlt: kyzaI: goto wJkzc; PinYH: $this->sql("\165\160\x64\141\x74\145\40\157\x72\x64\145\162\x73\x20\x73\x65\164\x20\x63\162\145\141\x74\145\x64\x3d\72\156\x65\x77\x5f\x69\x64\54\x20\x63\162\145\x61\164\x65\144\x5f\x74\151\155\x65\x3d\x6e\157\x77\50\x29\40\x77\x68\145\x72\145\x20\x69\144\75\72\151\144", ["\x3a\x69\144" => $v["\x69\144"], "\72\x6e\x65\167\137\151\x64" => $id]); goto Fs_x8; d5bmw: if (!($i < $v["\x71\x75\141\156\164"])) { goto kyzaI; } goto lwX3G; iQZgy: $id = $this->sql("\x75\x70\x64\x61\x74\145\40\x63\154\151\145\156\x74\163\40\163\145\164\40\x6f\156\x5f\157\146\x66\x3d\61\x2c\x20\x69\144\x3d\x28\163\x65\x6c\145\x63\x74\40\x40\151\144\40\72\x3d\x20\151\x64\51\x2c\x20\154\151\146\145\75\x69\x66\50\x6f\156\x5f\157\x66\146\75\61\54\40\x6c\x69\x66\x65\x2c\x20\156\157\167\50\x29\x29\40\53\40\x69\156\164\145\x72\166\141\154\x20\72\154\x69\146\x65\x20\163\x65\143\157\156\x64\x20\x77\150\x65\162\x65\x20\151\x64\75\x3a\151\144\x3b\40\x73\145\x6c\145\x63\164\x20\x40\x69\144\x3b", ["\72\x69\x64" => $v["\143\x6c\x69\145\x6e\x74"], "\72\154\x69\146\x65" => $v["\154\151\146\x65"]], "\157\156\x65", nextRowset: 1); goto M6ADC; fl5sZ: if ($v["\143\x6c\151\x65\x6e\x74"]) { goto Fm71s; } goto B3Xy1; B3Xy1: $i = 0; goto zUZlC; M6ADC: VDOA7: goto PinYH; zUZlC: Z2Dsg: goto d5bmw; zuGBn: goto Z2Dsg; goto teHlt; lwX3G: $id = $this->sql("\x69\156\163\145\x72\164\x20\151\156\164\157\x20\143\154\151\x65\156\x74\x73\50\x74\x67\151\144\54\x20\163\x65\x72\x76\x65\x72\x2c\x20\x6c\x69\x66\145\x2c\x20\151\160\54\x20\157\156\x5f\x6f\146\146\51\x20\x76\141\x6c\x75\x65\x73\x20\x28\72\x74\x67\151\144\x2c\x20\x3a\163\145\x72\x76\145\162\x2c\40\156\x6f\167\50\x29\x20\53\x20\x69\x6e\164\145\x72\166\141\154\x20\x3a\154\151\x66\145\40\163\x65\x63\x6f\156\x64\x2c\40\x3a\151\x70\x2c\40\61\x29\73\x73\145\154\x65\143\164\x20\x4c\x41\123\x54\x5f\111\x4e\123\105\x52\x54\x5f\111\104\50\x29\73", ["\x3a\x74\x67\x69\x64" => $v["\x74\147\x69\144"], "\x3a\151\x70" => $this->nextIP($v["\163\x65\x72\166\x65\162"]), "\72\x73\x65\162\x76\145\162" => $v["\x73\x65\162\x76\x65\x72"], "\x3a\154\151\x66\145" => $v["\x6c\151\146\x65"]], "\x6f\156\145", nextRowset: 1); goto f1r3Z; vpZzU: } goto pzfAx; V8P3J: vMpZL: goto NFenK; xN3jI: dL3D7: goto Ss1mq; L7w0j: foreach ($res as $k => $v) { goto gioxi; BjHMY: $r = $this->send($this->jMTmt["\141\x64\155\x69\x6e"], "\xd1\x81\xd0\xb5\xd1\x80\xd0\262\xd0\xb5\xd1\x80\x20{$name}\x20\320\xbe\xd0\275\xd0\273\320\xb0\320\xb9\xd0\275", $v["\156\157\x74\151\x66\x79"]); goto mGTMV; gioxi: $name = $v["\x6e\x61\155\x65"] ?: "{$v["\x69\x70"]}\x3a{$v["\160\157\x72\164"]}"; goto BjHMY; mGTMV: $this->sql("\x75\x70\x64\141\164\145\40\x73\145\162\166\145\162\163\x20\x73\x65\x74\40\156\157\x74\151\146\x79\75\72\156\157\x74\x69\x66\171\x20\x77\150\145\x72\x65\40\x69\x64\75\x3a\151\144", ["\72\151\x64" => $v["\151\144"], "\x3a\x6e\x6f\x74\x69\x66\171" => 0]); goto V3d33; V3d33: EJuUp: goto cKuBO; cKuBO: } goto K2yAr; yTd1O: Ldk0S: goto Z1oIm; r6A_g: $this->sql("\144\145\x6c\145\164\x65\40\x66\162\x6f\x6d\40\157\162\x64\145\x72\x73\x20\x77\150\145\162\x65\40\x69\x64\x20\x69\156\40\x28" . implode("\54\x20", $ids) . "\x29"); goto XLGFr; lilx9: $ids = []; goto vBr_U; VoIT2: $res = $this->sql("\x73\145\x6c\x65\x63\164\40\151\x64\54\40\x74\x67\x69\144\x20\x66\162\x6f\x6d\x20\157\162\144\145\162\163\40\167\150\145\162\145\x20\160\141\x69\x64\75\x30\x20\141\156\x64\x20\x28\125\x4e\x49\130\x5f\x54\111\115\105\x53\x54\x41\115\x50\x28\156\157\167\x28\x29\51\x20\x2d\x20\x55\x4e\111\130\x5f\124\111\x4d\105\x53\124\101\x4d\x50\x28\151\x6e\x73\x65\x72\x74\137\x74\x69\155\145\x29\x29\x20\x3e\x20\72\145\x78\x70\x69\x72\x65", ["\72\x65\170\160\x69\162\x65" => $e]); goto wHUNg; FV0z5: uQXlK: goto xzVn5; XZfLD: $this->backup(); goto x2G9s; O9MZU: $res = $this->sql("\x73\x65\x6c\145\x63\x74\40\x69\x64\54\xa\x20\x20\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\40\x20\164\147\151\x64\x2c\xa\40\40\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\40\x20\40\x20\154\x69\146\145\xa\x20\x20\40\40\40\x20\x20\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\x66\x72\157\x6d\x20\143\154\151\145\156\x74\163\xa\x20\x20\x20\40\x20\40\40\40\x20\40\x20\40\x20\40\40\40\40\40\40\40\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\x77\x68\145\162\x65\x20\x65\x78\x70\x69\162\x65\137\x6e\x6f\x74\x69\146\171\x3d\x30\12\40\40\40\40\40\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\141\156\x64\x20\157\x6e\x5f\157\146\x66\x3d\61\12\40\x20\40\x20\40\40\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\141\156\x64\x20\x6c\151\146\x65\40\151\x73\40\x6e\x6f\164\x20\156\165\x6c\154\xa\x20\x20\x20\40\x20\x20\40\40\40\40\x20\40\40\x20\40\40\x20\x20\x20\x20\40\40\40\40\40\x20\40\40\x20\40\40\x20\40\x20\x20\x20\40\x20\40\40\x61\156\144\x20\x28\125\116\111\130\x5f\x54\x49\x4d\x45\x53\x54\101\x4d\x50\50\154\151\146\x65\x29\40\x2d\40\x55\x4e\x49\x58\x5f\124\x49\115\105\123\x54\101\115\120\x28\x6e\x6f\167\50\x29\x29\51\40\74\40\72\145\x78\x70\151\x72\x65\xa\40\x20\x20\40\x20\40\x20\40\x20\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\141\156\144\40\x28\x55\x4e\111\130\137\x54\x49\x4d\105\x53\124\101\x4d\x50\50\154\x69\146\x65\x29\x20\55\40\x55\116\111\x58\137\x54\x49\115\105\123\x54\x41\115\120\50\x6e\x6f\167\x28\51\51\51\x20\x3e\x20\x30", ["\x3a\x65\x78\x70\151\162\145" => $e]); goto CC06V; MUzC6: if (empty($res)) { goto ltb4e; } goto Mvflo; K2yAr: Au2mr: goto FV0z5; C_Vta: foreach ($res as $k => $v) { goto t30ND; y6ZuV: $this->send($v["\x74\147\x69\x64"], $this->template("\x6f\x64", $v)); goto rTT8z; IfLvT: $ids[] = $v["\x69\x64"]; goto cyde4; t30ND: $v["\165\163\145\x72"] = $this->getInfoUser($v["\x74\147\151\x64"])["\162\145\163\165\154\x74"]["\165\163\x65\162"]["\146\x69\x72\163\x74\x5f\x6e\x61\155\145"]; goto y6ZuV; cyde4: KlIYy: goto Ks0ms; rTT8z: $this->send($this->jMTmt["\141\144\155\151\x6e"], "\xd0\xb7\xd0\260\320\xba\320\xb0\320\xb7\40{$v["\151\144"]}\x20\x28{$v["\x75\163\x65\x72"]}\x29\x20\320\xbf\321\x80\320\xbe\xd1\x81\xd1\x80\xd0\276\321\207\320\265\xd0\275\x20\320\270\x20\321\203\320\xb4\xd0\260\320\273\320\265\320\xbd"); goto IfLvT; Ks0ms: } goto BZU0r; f41rg: $this->sql("\165\160\x64\x61\164\x65\x20\143\154\151\x65\x6e\164\x73\x20\x73\145\x74\x20\157\x6e\137\157\146\x66\x3d\x30\40\167\150\145\x72\x65\x20\151\x64\40\x69\156\x20\50" . implode("\54\x20", $ids) . "\x29"); goto HB4zK; QwoQf: pxUO5: goto oFRWH; HWJZc: if (empty($ids)) { goto Ldk0S; } goto vORRs; Z1oIm: ox4Q0: goto xN3jI; oSzhs: DD94r: goto V8P3J; VEgAV: foreach ($res as $k => $v) { goto DMw3U; x3Uqz: $r = $this->send($this->jMTmt["\x61\x64\x6d\x69\156"], "\321\201\320\265\xd1\x80\320\262\320\xb5\xd1\200\40{$name}\x20\320\xbe\321\x84\321\x84\320\xbb\xd0\260\320\271\320\xbd"); goto gyNhA; gyNhA: $this->sql("\165\160\144\141\x74\x65\x20\163\145\162\166\145\x72\x73\40\x73\145\x74\x20\x6e\x6f\x74\x69\146\x79\75\x3a\156\x6f\x74\151\x66\171\40\x77\150\x65\x72\145\x20\151\x64\x3d\x3a\151\144", ["\x3a\x69\144" => $v["\151\144"], "\x3a\x6e\157\164\151\x66\171" => $r["\162\x65\x73\x75\154\164"]["\155\145\x73\163\141\x67\x65\x5f\151\x64"]]); goto wBIJ2; DMw3U: $name = $v["\156\x61\155\145"] ?: "{$v["\x69\x70"]}\x3a{$v["\x70\157\x72\x74"]}"; goto x3Uqz; wBIJ2: ltkDu: goto oYfXT; oYfXT: } goto ReJPs; r7teI: $res = $this->sql("\163\145\x6c\x65\x63\x74\x20\151\144\x2c\xa\x20\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\x20\x20\40\40\x20\x20\x20\40\40\x20\40\40\40\x20\40\40\40\40\40\x20\40\40\40\x20\40\x20\40\x74\x67\x69\x64\x2c\xa\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\40\x20\154\151\x66\x65\xa\x20\40\40\40\x20\x20\40\40\x20\40\40\40\40\40\40\x20\x20\x20\40\40\x20\40\40\x20\40\40\x20\40\40\40\40\40\40\x20\x20\40\x66\x72\x6f\x6d\x20\x63\154\x69\145\156\x74\x73\12\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\x20\40\x77\x68\145\162\x65\x20\157\156\137\157\146\146\75\x30\xa\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\40\x20\40\40\40\40\40\40\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\141\156\144\40\x6c\151\146\145\x20\x69\163\40\156\157\x74\x20\x6e\165\x6c\x6c\12\40\x20\x20\40\x20\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\x20\141\x6e\144\40\x28\125\116\x49\x58\137\x54\111\115\105\123\124\x41\x4d\120\x28\156\157\x77\x28\x29\x29\x20\55\40\125\x4e\x49\x58\x5f\124\x49\115\105\x53\x54\x41\115\120\50\x6c\151\146\145\51\51\40\76\x3d\x20\x3a\145\x78\x70\151\x72\x65", ["\x3a\145\x78\x70\x69\162\145" => $e]); goto VXB4P; cMdjt: lI2wi: goto MMk6i; G4MBZ: $this->sql("\144\x65\x6c\x65\164\145\x20\146\x72\x6f\x6d\x20\143\x6c\x69\145\x6e\164\x73\x20\167\150\x65\x72\145\40\151\x64\x20\x69\x6e\40\x28" . implode("\54\x20", $ids) . "\x29"); goto z7D23; Qo2B8: if (!($e = $this->getSetting("\x65\x78\160\x69\162\x65\x44\x65\x6c\x65\164\145"))) { goto vMpZL; } goto r7teI; yCoMi: if (empty($res)) { goto uQXlK; } goto L7w0j; XLGFr: dGcPI: goto Va8eD; E1w_9: if (!(file_exists($this->N3qeV) && $this->expireCert())) { goto pxUO5; } goto n7KNB; Ss1mq: $this->sql("\165\x70\x64\141\164\145\x20\x63\x6c\151\145\156\x74\x73\40\163\x65\x74\x20\x6f\x6e\137\157\146\x66\x3d\x30\x20\x77\x68\x65\x72\x65\40\157\x6e\137\157\146\146\75\x31\x20\141\x6e\x64\x20\154\151\146\145\x20\151\x73\x20\156\157\x74\40\156\165\x6c\x6c\40\x61\156\144\x20\154\151\x66\x65\40\x3c\40\x6e\157\167\x28\51"); goto YKeTa; oNrQH: if (!($e = $this->getSetting("\145\170\x70\151\x72\145\116\157\164\x69\x66\x79"))) { goto dL3D7; } goto O9MZU; oFRWH: $this->gG7PO = time(); goto bU3CP; bafqy: K_RmS: goto wQxcV; wQxcV: if (!true) { goto XjONa; } goto wEQrk; H2FmX: ltb4e: goto sKmV3; HB4zK: vRZiq: goto H2FmX; KiKQK: if (empty($ids)) { goto dGcPI; } goto r6A_g; x2G9s: sleep(1); goto SFi4C; WqjAn: if (empty($ids)) { goto vRZiq; } goto f41rg; ReJPs: woO8o: goto hIWgy; BZU0r: Q6Lw4: goto KiKQK; wEQrk: if (!(empty($this->gG7PO) || $this->gG7PO + 3600 < time())) { goto YHFLB; } goto E1w_9; CC06V: if (empty($res)) { goto ox4Q0; } goto ycaNG; MMk6i: if (empty($ids)) { goto dqJOS; } goto G4MBZ; wxEZ3: $res = $this->sql("\163\x65\x6c\x65\x63\x74\40\x69\144\x2c\x20\151\x70\54\40\160\x6f\x72\x74\54\40\x6e\141\x6d\x65\54\x20\x6e\x6f\164\151\x66\171\x20\x66\162\x6f\155\40\x73\145\162\x76\x65\x72\x73\x20\x77\150\x65\x72\x65\40\x6e\157\164\151\146\171\41\x3d\x30\x20\x61\156\144\x20\x6c\x61\163\x74\x5f\x6f\x6e\154\x69\x6e\x65\x20\76\x3d\x20\x6e\x6f\x77\50\x29\40\55\40\x69\x6e\x74\145\x72\166\141\x6c\x20\50\x73\154\x65\x65\160\40\53\40\x73\154\145\145\x70\x29\x20\x73\x65\x63\x6f\x6e\144"); goto yCoMi; ZUIXC: XjONa: goto W_QYR; wHUNg: if (empty($res)) { goto M7nD8; } goto QClTG; W_QYR: } public function prolong($id, $menupage) { goto yLhhh; Tqycn: $name = $s["\156\x61\x6d\145"] ?: "{$s["\151\x70"]}\72{$s["\x70\x6f\x72\164"]}"; goto pJ0Hu; u0OzV: $this->update($this->cZwKZ["\143\x68\x61\x74"], $this->cZwKZ["\x6d\145\x73\163\x61\x67\x65\x5f\151\x64"], implode("\xa", $text), $data ?: false); goto Y8hfr; BwXxB: $data[] = [["\x74\145\x78\x74" => $this->i18n("\142\x61\x63\x6b"), "\143\141\154\154\142\141\143\x6b\137\144\x61\164\x61" => "\x2f\160\145\145\162\40{$id}\x5f{$menupage}"]]; goto u0OzV; jMYYS: qyDpT: goto bWNH9; lYc93: f3iMO: goto fGUQ6; yLhhh: $text[] = $this->template("\x75\163", []); goto Tikv1; Xt2wZ: xax2M: goto vFLxk; vFLxk: cYD2k: goto wFg4k; bWNH9: foreach ($p as $k => $v) { $data[] = $balance >= $v["\154\x69\x66\x65"] ? [["\164\145\x78\164" => $this->labelPrice($v, 1), "\143\x61\154\x6c\x62\x61\143\153\137\x64\x61\x74\141" => "\57\x63\162\145\141\164\145\x4f\x72\x64\x65\x72\40{$cl["\163\145\x72\166\x65\162"]}\x5f{$v["\x69\x64"]}\137{$menupage}\137{$id}"], ["\164\145\170\164" => $this->i18n("\x62\141\x6c\x61\x6e\x63\x65"), "\143\x61\154\154\142\141\143\153\x5f\144\141\164\141" => "\57\x62\141\154\x61\x6e\x63\145\x43\x6c\151\145\x6e\164\x20{$id}\x5f{$v["\x69\144"]}\137{$menupage}"]] : [["\164\x65\170\164" => $this->labelPrice($v, 1), "\x63\141\x6c\x6c\x62\141\143\153\137\x64\141\x74\x61" => "\57\143\x72\x65\x61\x74\x65\117\x72\x64\x65\162\40{$cl["\163\145\x72\166\145\162"]}\x5f{$v["\151\144"]}\x5f{$menupage}\x5f{$id}"]]; MxWsO: } goto lYc93; XA2Aw: bLZN8: goto n6PBc; wFg4k: qLLz2: goto BwXxB; wMbXh: if (!empty($s["\160\141\171"])) { goto bLZN8; } goto uCNek; n6PBc: if (!empty($p = $this->sql("\x73\x65\x6c\145\143\164\x20\x2a\x20\146\162\x6f\155\x20\160\x72\x69\x63\x65\40\x77\150\145\162\x65\x20\x73\145\x72\x76\x65\162\x3d\72\163\145\x72\166\145\162", ["\x3a\163\145\162\166\x65\162" => $cl["\x73\145\162\x76\145\162"]]))) { goto qyDpT; } goto HMOto; Tikv1: $cl = $this->sql("\x73\145\154\x65\143\164\40\x2a\x20\146\x72\x6f\155\x20\x63\x6c\151\145\156\x74\163\40\167\150\x65\x72\x65\x20\x69\144\x3d\72\x69\144", ["\x3a\151\144" => $id], "\x72\x6f\x77"); goto ayfsv; ayfsv: if (!($cl && ($s = $this->sql("\x73\145\x6c\x65\143\x74\x20\52\40\146\x72\157\155\x20\x73\x65\162\x76\145\162\163\40\x77\x68\145\162\145\x20\151\x64\x3d\x3a\x69\144\x20\141\156\x64\x20\x70\141\x79\x3d\x31", ["\x3a\x69\x64" => $cl["\x73\x65\x72\166\145\162"]], "\162\157\x77")))) { goto qLLz2; } goto Tqycn; uzuFU: goto cYD2k; goto XA2Aw; Q5NXK: goto xax2M; goto jMYYS; fGUQ6: $text[] = $name; goto Xt2wZ; HMOto: $text[] = "\320\xbd\xd0\265\321\x82\x20\320\264\320\xbe\321\x81\321\202\xd1\203\xd0\277\320\xbd\xd1\213\321\x85\x20\321\201\320\273\320\276\321\202\320\xbe\xd0\262\40\xd0\275\320\xb0\40\320\xb4\xd0\xb0\320\xbd\xd0\xbd\321\x8b\320\271\x20\320\xbc\xd0\xbe\xd0\xbc\320\265\xd0\xbd\xd1\202"; goto Q5NXK; uCNek: $text[] = "{$name}\x20\320\275\xd0\xb5\40\320\xb4\xd0\276\xd1\201\321\202\xd1\203\xd0\xbf\xd0\xb5\320\xbd\x20\xd0\xbd\320\260\x20\xd0\xb4\320\xb0\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb9\40\xd0\xbc\xd0\xbe\320\xbc\320\xb5\320\xbd\321\x82"; goto uzuFU; pJ0Hu: $balance = $this->getBalance(); goto wMbXh; Y8hfr: } public function balanceClient($client, $price, $menupage = 0) { goto ICIUq; ICIUq: $life = $this->sql("\163\x65\154\145\x63\164\x20\x6c\151\x66\145\x20\x66\162\157\x6d\40\x70\x72\151\x63\x65\40\167\150\x65\x72\145\x20\x69\144\x3d\x3a\151\x64", ["\x3a\151\x64" => $price], "\x6f\156\145"); goto URQkI; nnLHQ: $this->updateUser($this->cZwKZ["\x66\162\x6f\x6d"], balance: -$life); goto zBB7x; One5E: $this->menu($menupage); goto Ms6Kt; URQkI: if (!$this->sql("\165\160\x64\141\x74\145\40\143\x6c\x69\x65\x6e\x74\163\x20\163\x65\x74\40\157\156\x5f\x6f\x66\146\x3d\61\x2c\x20\154\151\x66\145\x3d\x46\122\x4f\115\x5f\x55\x4e\111\130\124\x49\115\x45\x28\x55\116\111\130\137\x54\x49\x4d\x45\123\124\101\115\120\50\154\151\x66\x65\51\x20\53\x20\x3a\x6c\151\146\145\51\40\167\x68\145\x72\x65\x20\x69\144\x3d\72\151\144", ["\72\x69\x64" => $client, "\x3a\x6c\x69\146\145" => $life], "\143\x6f\x75\156\164")) { goto IZZR6; } goto nnLHQ; zBB7x: IZZR6: goto One5E; Ms6Kt: } public function balanceOrder($order, $menupage = 0) { goto gvSL2; DOWNo: $this->notifyPay($order); goto JL1DF; oS8m1: $this->updateUser($this->cZwKZ["\x66\162\x6f\155"], balance: -$this->sql("\x73\x65\x6c\145\x63\164\x20\x6c\x69\x66\x65\40\146\x72\x6f\155\40\x6f\162\144\145\162\163\40\x77\150\145\162\x65\40\151\x64\75\72\151\144", ["\72\x69\144" => $order], "\x6f\156\145")); goto DOWNo; gvSL2: if (!$this->sql("\x75\x70\x64\x61\x74\x65\40\157\162\144\x65\162\x73\40\x73\x65\164\x20\x70\141\x69\144\75\61\54\x20\160\141\151\144\x5f\x74\171\x70\x65\x3d\x36\x2c\40\160\x61\151\x64\x5f\x74\x69\155\x65\x3d\x6e\x6f\x77\50\51\40\x77\x68\145\162\145\40\151\x64\75\x3a\151\144", ["\x3a\x69\x64" => $order], "\x63\157\x75\156\164")) { goto MWj3M; } goto oS8m1; JL1DF: MWj3M: goto gDfZA; gDfZA: $this->menu($menupage); goto Ueplo; Ueplo: } public function buy($menupage = 0) { goto PNKFL; bEO5N: $this->update($this->cZwKZ["\143\x68\x61\x74"], $this->cZwKZ["\x6d\x65\163\163\x61\x67\145\137\x69\144"], implode("\xa", $text), $data ?: false); goto itRgN; jwYHT: foreach ($s as $k => $v) { $data[] = [["\164\x65\x78\x74" => $v["\156\141\155\145"] ?: "{$v["\x69\160"]}\72{$v["\160\157\162\x74"]}", "\x63\141\x6c\154\x62\x61\x63\x6b\137\x64\x61\164\x61" => "\x2f\163\x65\162\x76\145\162\x55\x73\145\x72\40{$v["\x69\x64"]}\x5f{$menupage}"]]; SxLv0: } goto Duta8; dtxqi: $data[] = [["\164\x65\x78\x74" => $this->i18n("\142\x61\143\x6b"), "\143\x61\154\154\142\x61\x63\153\x5f\x64\141\164\141" => "\x2f\155\145\x6e\165\40{$menupage}"]]; goto bEO5N; MRn2X: if (empty($s)) { goto PshJ6; } goto jwYHT; Duta8: SP77k: goto TfRbL; W40ZH: $s = $this->sql("\x53\105\x4c\105\103\124\x20\163\56\x69\x64\x2c\12\x20\40\40\x20\40\40\40\40\40\40\40\x20\40\40\x20\x20\40\40\40\40\40\x20\40\x20\40\40\40\40\x20\x20\40\163\x2e\x6e\x61\x6d\x65\54\12\x20\40\40\x20\40\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\x20\x20\163\x2e\151\x70\x2c\12\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\40\40\40\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\x73\56\160\x6f\162\164\12\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x20\106\122\117\115\40\163\x65\x72\x76\x65\162\x73\x20\x73\12\40\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\127\110\105\122\105\40\x73\x2e\160\x61\171\x3d\61\12\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\40\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\101\x4e\x44\x20\x73\56\143\x65\x6c\154\x73\x20\x3e\40\50\123\105\114\x45\103\x54\x20\143\x6f\165\x6e\164\x28\52\x29\40\x46\x52\117\x4d\40\x63\154\151\x65\156\164\x73\x20\x57\x48\x45\x52\105\40\x73\x65\x72\x76\x65\162\75\x73\x2e\151\144\x29\xa\40\40\x20\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\40\x20\x20\101\116\x44\40\163\56\154\x69\x6d\151\164\x73\x20\76\40\50\123\x45\114\105\103\124\40\143\x6f\x75\156\x74\50\x2a\x29\40\x46\122\x4f\x4d\x20\x63\154\151\145\156\x74\x73\x20\x57\x48\105\122\105\40\163\145\162\166\145\x72\x3d\x73\56\x69\x64\40\x41\x4e\x44\x20\164\147\151\x64\x3d\72\164\x67\x69\144\x29\xa\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\x4f\x52\104\x45\x52\x20\102\131\x20\163\x2e\x6e\141\155\145", ["\x3a\x74\x67\x69\x64" => $this->cZwKZ["\146\x72\157\x6d"]]); goto MRn2X; PNKFL: $text[] = $this->template("\x75\x62", []); goto W40ZH; TfRbL: PshJ6: goto dtxqi; itRgN: } public function getSetting($param) { return $this->sql("\x73\145\x6c\145\143\x74\x20\166\x61\154\x75\x65\40\x66\x72\x6f\155\40\x73\x65\164\164\151\x6e\147\x73\x20\167\150\x65\162\145\x20\x70\141\x72\x61\x6d\75\72\160\x61\x72\141\155", ["\x3a\160\x61\x72\x61\155" => $param], "\157\x6e\145"); } public function setSetting($param, $value) { $this->sql("\162\145\x70\154\x61\x63\145\40\151\156\164\157\x20\x73\145\x74\164\x69\x6e\x67\163\x28\160\x61\162\141\x6d\54\x20\x76\x61\x6c\x75\x65\x29\x20\166\x61\x6c\165\x65\163\50\x3a\160\x61\162\141\155\54\40\x3a\166\x61\154\165\145\51", ["\72\160\x61\x72\x61\x6d" => $param ?: '', "\x3a\166\141\x6c\165\145" => $value ?: '']); } public function language($page = 0) { goto CX0lT; CX0lT: $data[] = [["\164\145\170\164" => $this->i18n("\141\x64\x64"), "\x63\x61\154\154\142\141\143\153\137\144\x61\164\141" => "\57\x73\x65\156\x64\122\x65\x70\x6c\x79\40\x65\156\x74\x65\162\x20\x6c\151\x6b\145\40\160\x68\x72\141\x73\145\75\x74\x72\141\x6e\x73\154\x61\164\151\157\x6e\x5f\x61\x64\x64\114\x61\x6e\x67\x75\x61\x67\x65\137{$page}"]]; goto y8SyZ; hGn5J: x8iB7: goto jisQS; jisQS: if (!($count > $this->qB7oz)) { goto dRdAG; } goto exIU7; y8SyZ: if (!($count = $this->sql("\163\x65\x6c\x65\143\x74\x20\143\x6f\x75\x6e\x74\50\52\51\x20\146\x72\x6f\155\40\x6c\x61\156\147\165\x61\x67\145", view: "\x6f\x6e\145"))) { goto dT8an; } goto bT23y; bT23y: $lang = $this->sql("\163\x65\154\145\x63\x74\x20\52\x20\x66\x72\x6f\155\x20\x6c\x61\x6e\x67\x75\141\147\x65\40\x6c\x69\155\151\x74\40{$this->qB7oz}\x20\x6f\x66\x66\x73\145\164\x20" . $page * $this->qB7oz); goto mMSHa; BZBMt: $data[] = [["\x74\x65\170\164" => $this->i18n("\x62\141\143\x6b"), "\x63\141\154\x6c\x62\x61\x63\x6b\x5f\144\x61\x74\x61" => "\57\143\x6f\156\x66\151\147"]]; goto rtlNm; mMSHa: foreach ($lang as $k => $v) { $data[] = [["\x74\145\170\x74" => $this->i18n("\x64\145\x6c\x65\164\x65") . "\x20{$v["\x70\141\x72\141\155"]}\x20\x3d\x20{$v["\166\141\154\x75\145"]}", "\x63\x61\x6c\154\142\x61\143\x6b\x5f\x64\141\164\x61" => "\57\144\x65\154\114\x61\x6e\x67\165\141\x67\145\40{$v["\x69\144"]}\137{$page}"]]; lxkYD: } goto hGn5J; IhN9b: dRdAG: goto d803R; rtlNm: $this->update($this->cZwKZ["\x63\x68\141\x74"], $this->cZwKZ["\155\145\x73\163\x61\x67\x65\x5f\x69\144"], implode("\xa", []), $data ?: false); goto zRcVd; exIU7: $data[] = $this->paginate($count, $this->qB7oz, $page, "\57\x6c\x61\x6e\147\165\141\x67\145\40\176\x70\x61\147\x65\176"); goto IhN9b; d803R: dT8an: goto BZBMt; zRcVd: } public function addLanguage($text, $page = 0) { goto WxRt1; uVCIP: $this->sql("\162\145\160\154\x61\x63\145\40\x69\156\164\x6f\x20\x6c\141\x6e\x67\x75\141\x67\x65\x28\x70\141\x72\x61\155\54\x20\x76\141\154\165\x65\x29\40\x76\x61\154\x75\x65\163\50\x3a\x70\141\x72\x61\155\x2c\40\72\166\x61\x6c\x75\x65\51", ["\x3a\x70\x61\x72\x61\155" => trim($param) ?: '', "\x3a\166\x61\154\x75\145" => trim($value) ?: '']); goto eguxx; cIY_5: NiAXZ: goto Hhxus; XMjKY: $this->send($this->cZwKZ["\x63\x68\141\x74"], "\320\xbd\320\265\xd0\262\320\265\xd1\200\xd0\xbd\321\x8b\xd0\271\x20\xd1\x84\320\276\xd1\200\xd0\274\320\xb0\321\202"); goto fRngf; eguxx: $page = (int) ceil($this->sql("\163\x65\154\x65\x63\164\40\x63\x6f\x75\156\164\x28\x2a\x29\x20\x66\162\x6f\x6d\x20\x6c\141\x6e\147\165\141\147\145", view: "\157\156\x65") / $this->qB7oz - 1); goto SdY1d; Hhxus: $this->language($page); goto wDDVi; fRngf: goto NiAXZ; goto w8_Mm; J1RKr: [$param, $value] = array_slice(explode("\75", $text), 0, 2); goto Ux6ZR; WxRt1: if (preg_match("\176\75\176\x69\165\x73", $text)) { goto lNYFa; } goto XMjKY; Ux6ZR: if (!(!empty(trim($param)) && !empty(trim($value)))) { goto SFhkN; } goto uVCIP; SdY1d: SFhkN: goto cIY_5; w8_Mm: lNYFa: goto J1RKr; wDDVi: } public function delLanguage($id, $page) { $this->sql("\x64\145\x6c\x65\x74\x65\x20\x66\162\157\155\40\154\x61\x6e\147\x75\x61\147\145\x20\167\150\x65\162\x65\40\x69\144\x3d\x3a\x69\x64", ["\x3a\151\x64" => $id]); $this->language($page); } public function addAdmin($text) { goto TI28X; gAOa0: $admins[] = $admin; goto QY9GW; ItDSW: K6tWC: goto pk3sm; QY9GW: $this->setSetting("\141\144\155\x69\156\163", implode("\54", $admins)); goto ItDSW; TI28X: if (!($admin = (int) trim($text))) { goto K6tWC; } goto iCKzh; iCKzh: $admins = $this->getAdmins(); goto gAOa0; pk3sm: $this->admins(); goto WRK1t; WRK1t: } public function delAdmin($admin) { goto XVPt_; XVPt_: $admins = $this->getAdmins(); goto NYCZc; BHBrd: $this->admins(); goto L30A0; NYCZc: $admins = array_diff($admins, [$admin]); goto fNs4u; fNs4u: $this->setSetting("\141\x64\155\x69\x6e\x73", implode("\x2c", $admins)); goto BHBrd; L30A0: } public function admins() { goto nEvJn; RUeJ9: qUhBq: goto jdP6V; jdP6V: WkjWZ: goto h69fP; nEvJn: $data[] = [["\x74\x65\170\164" => $this->i18n("\x61\x64\144"), "\x63\141\x6c\x6c\142\141\x63\x6b\137\x64\141\164\141" => "\x2f\x73\145\x6e\x64\122\x65\160\154\171\40\x65\x6e\164\145\162\x20\151\144\x5f\x61\144\x64\101\144\155\151\x6e"]]; goto NQeLt; k1DPC: foreach (array_filter(explode("\x2c", $admins)) as $k => $v) { $data[] = [["\x74\145\170\164" => $this->i18n("\144\x65\x6c\x65\x74\x65") . "\72\x20{$v}", "\x63\x61\154\x6c\142\x61\x63\153\137\144\x61\x74\x61" => "\57\x64\x65\x6c\101\144\155\151\156\x20{$v}"]]; mqY5D: } goto RUeJ9; NQeLt: if (!($admins = $this->getSetting("\141\144\x6d\x69\x6e\163"))) { goto WkjWZ; } goto k1DPC; BPUEe: $this->update($this->cZwKZ["\143\150\x61\164"], $this->cZwKZ["\155\x65\163\163\141\x67\145\x5f\x69\x64"], implode("\12", []), $data ?: false); goto w_3md; h69fP: $data[] = [["\164\145\170\164" => $this->i18n("\142\x61\x63\153"), "\143\x61\154\154\142\x61\143\x6b\137\x64\x61\164\141" => "\x2f\143\x6f\156\x66\x69\x67"]]; goto BPUEe; w_3md: } public function domain() { goto f3Y3k; q_3Jq: if (!(file_exists($this->N3qeV) && $this->expireCert())) { goto RckjM; } goto bC2XG; z21T4: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x73\x65\x74\103\145\162\164\x69\146\151\x63\141\164\145\x20\x63\x65\x72\164\142\x6f\x74"), "\143\x61\154\x6c\x62\x61\x63\x6b\x5f\x64\141\x74\141" => "\57\x63\145\162\x74\x62\x6f\164"]]; goto hkXK0; U_m3D: $text[] = "\163\x73\x6c\x3a\x20" . $ssl; goto AM0uD; TIQw6: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x62\x61\143\x6b"), "\x63\x61\154\x6c\142\141\143\x6b\137\144\141\164\x61" => "\x2f\143\x6f\x6e\146\151\x67"]]; goto l7En7; W4MgG: l0Jr4: goto TIQw6; Ww15D: $data[] = [["\164\145\x78\x74" => $this->i18n("\163\145\164\104\x6f\x6d\x61\151\156"), "\143\141\x6c\x6c\x62\141\143\153\137\x64\x61\x74\141" => "\57\x73\145\x6e\144\122\145\160\154\171\x20\145\156\164\145\162\x20\x64\157\x6d\141\151\x6e\137\163\145\164\104\x6f\155\x61\x69\156"]]; goto taM85; l7En7: $this->uors($text, $data); goto HcuS0; hkXK0: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x73\145\x74\x43\x65\162\164\x69\x66\x69\143\x61\x74\x65\40\163\145\154\x66"), "\143\x61\154\154\142\x61\x63\x6b\137\x64\141\x74\141" => "\57\163\145\156\144\122\x65\160\x6c\171\40\x61\164\x74\141\143\150\x20\142\165\x6e\x64\x6c\145\x5f\143\145\x72\x74\142\x6f\164\137\x31"]]; goto W4MgG; AM0uD: RckjM: goto z21T4; bC2XG: $ssl = $this->getTime($this->expireCert() - time()); goto U_m3D; MRLB8: $text[] = "\x64\x6f\x6d\141\151\x6e\72\40" . $domain; goto q_3Jq; f3Y3k: $text = []; goto Ww15D; taM85: if (!($domain = $this->getSetting("\144\157\155\x61\151\x6e"))) { goto l0Jr4; } goto MRLB8; HcuS0: } public function setDomain($domain) { $this->setSetting("\144\157\x6d\141\x69\x6e", trim($domain) ?: ''); $this->domain(); } public function certbot($null = false, $self = false) { goto RxG26; RV9HZ: return $this->uors(["\145\x72\162\157\x72\40\x66\151\154\x65\40\x72\x65\x61\x64\x69\x6e\147"]); goto dHp9G; VGZ2b: JkPY3: goto nqVlI; dHp9G: goto RZw_l; goto psKE8; kb3NZ: goto rN60h; goto VGZ2b; WtYkV: RZw_l: goto a3qtI; N5BV6: $domain = $this->getSetting("\144\157\x6d\141\x69\156"); goto JsRn0; LIdtC: return $this->uors($out); goto kb3NZ; Pl2Ek: $this->unitConf(curl_file_create($this->N3qeV), key: "\x63\x65\x72\x74\151\x66\151\143\x61\164\145\x73\57\143\145\162\164\x62\x6f\164"); goto AncjO; RxG26: if (!empty($self)) { goto NnTBS; } goto N5BV6; ASZiC: if ($code == 0) { goto JkPY3; } goto LIdtC; JsRn0: exec("\x63\x65\162\164\x62\157\164\40\x63\145\162\164\x6f\x6e\154\171\x20\x2d\x2d\x66\157\x72\x63\x65\x2d\x72\145\156\145\x77\40\x2d\x2d\160\x72\145\x66\145\x72\x72\145\144\55\x63\150\x61\x69\156\40\47\111\x53\122\107\40\122\157\x6f\x74\40\130\61\47\40\55\x6e\40\x2d\x2d\141\147\162\145\145\55\164\157\x73\40\55\55\145\155\x61\x69\154\40\x6d\141\151\154\100{$domain}\40\55\144\x20{$domain}\40\x2d\x2d\167\x65\x62\x72\157\x6f\164\x20\x2d\x77\40\x2f\x63\145\x72\x74\x73\x2f\40\55\55\x6c\157\147\163\x2d\144\151\162\x20\57\x6c\x6f\147\x73", $out, $code); goto ASZiC; wBRxT: $this->domain(); goto g1keY; psKE8: MUesZ: goto XEUH5; od5tm: goto RuzgV; goto sNvvq; NTw0F: $r = $this->request("\x67\145\x74\x46\x69\x6c\x65", ["\146\151\154\x65\137\x69\x64" => $this->cZwKZ["\x66\x69\x6c\145\x5f\151\x64"]]); goto rdEA3; sNvvq: NnTBS: goto NTw0F; mheC0: $this->unitConf(["\x62\x75\156\x64\x6c\x65", "\143\x65\x72\164\142\x6f\x74"], "\x63\x6f\156\146\151\147\57\154\x69\x73\164\145\156\x65\x72\x73\57\x2a\x3a\x38\64\64\63\57\x74\154\x73\57\143\x65\x72\x74\151\x66\151\x63\x61\x74\x65"); goto WtYkV; a3qtI: RuzgV: goto wBRxT; rdEA3: if (!empty($r["\162\x65\163\x75\x6c\164"]["\x66\151\154\145\x5f\x70\x61\x74\x68"])) { goto MUesZ; } goto RV9HZ; lxy5y: $this->unitConf(curl_file_create($this->N3qeV), key: "\x63\145\162\x74\151\x66\x69\x63\x61\164\x65\163\57\143\145\x72\164\142\157\164"); goto mheC0; XEUH5: file_put_contents($this->N3qeV, file_get_contents($this->file . $r["\x72\145\x73\165\x6c\164"]["\146\x69\x6c\145\137\x70\141\164\150"])); goto lxy5y; xhhmR: rN60h: goto od5tm; nqVlI: file_put_contents($this->N3qeV, file_get_contents("\x2f\x65\x74\x63\x2f\x6c\x65\164\x73\145\x6e\x63\162\x79\x70\x74\x2f\154\x69\x76\145\57{$domain}\57\146\x75\154\x6c\143\150\x61\151\156\56\x70\x65\155") . file_get_contents("\x2f\x65\164\x63\57\x6c\x65\164\x73\145\x6e\143\162\171\160\x74\x2f\x6c\x69\166\x65\57{$domain}\x2f\160\162\151\166\x6b\x65\171\56\160\145\x6d")); goto Pl2Ek; AncjO: $this->unitConf(["\142\165\156\144\x6c\x65", "\x63\145\x72\x74\x62\x6f\x74"], "\143\157\x6e\x66\x69\x67\x2f\154\x69\163\x74\145\x6e\145\162\163\57\x2a\72\x38\x34\64\x33\57\164\154\x73\x2f\x63\145\x72\164\151\146\151\143\141\x74\145"); goto xhhmR; g1keY: } public function expireCert() { $c = openssl_x509_read(file_get_contents($this->N3qeV)); return openssl_x509_parse($c)["\166\141\x6c\151\x64\x54\x6f\137\x74\151\155\x65\137\164"] ?: false; } public function config() { goto J_4Mo; pYj__: $data[] = [["\164\x65\170\164" => $this->i18n("\145\170\160\151\162\x65\116\x6f\164\x69\146\x79") . ($expire ? "\72\40" . $this->getTime($expire, 0) : ''), "\143\141\x6c\x6c\x62\x61\x63\153\x5f\x64\141\x74\x61" => "\x2f\x73\145\156\144\x52\x65\160\x6c\171\x20\145\156\x74\145\162\x20\164\x69\155\145\x5f\165\160\144\141\x74\145\105\170\x70\151\162\145\116\157\x74\151\146\x79"], ["\164\x65\170\x74" => $this->i18n("\x65\x78\x70\151\x72\145\104\x65\x6c\x65\164\145") . ($delete ? "\72\x20" . $this->getTime($delete, 0) : ''), "\143\x61\154\154\142\141\143\153\137\144\x61\164\141" => "\57\x73\145\x6e\144\x52\x65\160\154\x79\x20\x65\156\x74\x65\x72\x20\x74\151\x6d\x65\137\165\x70\x64\x61\x74\x65\x45\x78\x70\151\162\145\104\x65\x6c\x65\x74\x65"]]; goto Wankl; DhCQ4: $data[] = [["\164\145\x78\x74" => $this->i18n("\150\145\154\x70"), "\x63\x61\154\x6c\142\141\143\153\x5f\144\141\x74\x61" => "\x2f\x68\145\154\160\103\x6f\156\x66\x69\147"]]; goto k1jxF; HUyf5: Bipm0: goto oK20i; Srvv9: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\144\157\x6d\141\151\156") . ($domain ? "\72\x20{$domain}" . ($ssl ? "\x20\50\x73\x73\x6c\x3a\40{$ssl}\x29" : '') : ''), "\x63\x61\x6c\x6c\x62\x61\x63\x6b\137\144\141\x74\141" => "\57\144\x6f\155\141\x69\x6e"]]; goto KYUNg; uKF2T: $data[] = [["\x74\145\170\x74" => $this->i18n("\x6e\x61\155\145\103\x6f\x6e\x66\151\x67\106\x69\x6c\145"), "\x63\x61\154\x6c\142\141\x63\x6b\x5f\x64\141\x74\141" => "\57\x6e\141\155\145\103\157\x6e\146\151\147"], ["\164\145\170\164" => $this->i18n("\x64\145\146\x61\165\154\164\x44\x4e\x53") . "\x3a\x20" . ($this->getSetting("\144\x6e\x73") ?: "\61\56\x31\x2e\x31\x2e\x31\54\40\70\56\x38\x2e\x38\56\x38"), "\143\141\x6c\x6c\x62\x61\x63\x6b\137\144\x61\164\x61" => "\x2f\163\145\x6e\144\x52\x65\x70\154\x79\40\163\145\x6e\144\40\144\x6e\163\x20\x73\145\160\x61\x72\141\x74\x65\40\142\171\x20\143\x6f\x6d\x6d\141\x73\137\165\160\144\x61\x74\x65\x53\x65\164\x74\x69\x6e\147\x5f\144\156\163\137" . __FUNCTION__]]; goto vGeUg; ik_pG: $expire = $this->getSetting("\x65\x78\x70\151\x72\145\116\x6f\x74\151\146\x79"); goto bhlYH; VVLMx: $data[] = [["\x74\x65\170\164" => $this->i18n("\144\145\142\x75\x67") . "\72\x20" . ($this->getSetting("\x64\145\x62\165\147") ? "\x6f\156" : "\x6f\x66\146"), "\x63\141\154\154\x62\141\143\x6b\x5f\144\141\x74\141" => "\x2f\x64\145\142\x75\x67"], ["\164\x65\170\x74" => "\164\145\x73\x74\x4d\145\156\x75\x43\x6f\x6d\155\141\156\144\163", "\143\141\154\x6c\142\x61\x63\153\137\x64\x61\164\x61" => "\57\164\145\163\x74\103\157\155\155\141\x6e\144\x73"], ["\x74\x65\x78\164" => $this->i18n("\x6c\x6f\x67\163"), "\x63\x61\154\x6c\x62\141\x63\153\x5f\x64\x61\164\141" => "\57\154\157\x67\163"]]; goto ZCz8Q; bhlYH: $delete = $this->getSetting("\x65\170\160\x69\162\x65\x44\145\x6c\x65\x74\x65"); goto M9e21; ZCz8Q: $data[] = [["\x74\x65\170\x74" => $this->i18n("\145\x78\160\x6f\162\164"), "\143\141\x6c\154\x62\x61\143\x6b\x5f\144\141\164\141" => "\57\145\170\x70\x6f\x72\x74"], ["\x74\145\x78\x74" => $this->i18n("\x62\x61\x63\x6b\165\160") . "\x3a\x20" . (implode("\40\x2f\40", explode("\x2f", $this->getSetting("\142\x61\143\153\165\x70"))) ?: "\x6f\x66\x66"), "\x63\141\154\154\x62\141\x63\153\137\144\141\164\141" => "\57\x73\x65\x6e\x64\122\145\160\154\171\40\145\156\164\x65\x72\x20\154\151\x6b\145\x20\x31\40\144\x61\171\x2f\x30\x30\x3a\60\x30\x5f\x73\x65\x74\x42\141\x63\x6b\x75\160"], ["\x74\145\170\164" => $this->i18n("\x69\x6d\x70\x6f\162\x74"), "\x63\x61\x6c\x6c\142\x61\143\x6b\x5f\x64\141\x74\141" => "\57\163\x65\156\144\122\x65\160\154\x79\40\x73\145\x6e\144\x20\151\155\x70\157\x72\x74\137\x69\x6d\x70\x6f\x72\x74"]]; goto DhCQ4; BCChD: $data[] = [["\164\145\170\164" => $this->i18n("\163\x65\x74\x4e\157\164\x69\x66\171\124\x65\x78\164"), "\x63\141\154\x6c\x62\141\143\153\x5f\144\141\164\141" => "\57\163\145\164\116\157\x74\151\x66\x79\124\x65\170\164"], ["\x74\x65\x78\164" => $this->i18n("\x73\x65\x74\114\x69\155\151\164\x4f\162\144\145\x72\x73") . (($d = $this->getSetting("\157\162\144\x65\162\x73\x6c\151\155\x69\164")) ? "\x3a\x20{$d}" : ''), "\143\x61\x6c\154\142\141\x63\x6b\137\144\x61\164\141" => "\57\163\145\x6e\144\122\145\x70\154\x79\40\145\156\x74\145\x72\40\156\x75\x6d\142\145\162\137\163\145\x74\x4c\151\155\151\164\117\162\x64\x65\162\x73"]]; goto pYj__; oey0k: $this->update($this->cZwKZ["\143\150\x61\164"], $this->cZwKZ["\155\x65\x73\x73\141\147\145\137\151\144"], implode("\12", []), $data ?: false); goto VTPYo; J_4Mo: $chat = $this->getSetting("\143\x68\141\164"); goto ik_pG; KYUNg: $data[] = [["\164\x65\170\x74" => $this->i18n("\160\x61\171\x6d\x65\x6e\x74\x73"), "\x63\x61\x6c\x6c\x62\x61\x63\153\137\144\x61\164\141" => "\57\160\x61\x79\x6d\145\156\x74\163"], ["\164\x65\x78\164" => $this->i18n("\x65\x78\160\151\x72\x65\120\141\171") . "\72\40" . ($pay ? $this->getTime($pay) : $this->getTime(3600)), "\x63\141\154\154\142\141\x63\153\137\x64\x61\164\x61" => "\57\163\x65\156\x64\x52\145\x70\154\x79\40\x65\x6e\x74\145\162\x20\x74\x69\x6d\x65\x5f\165\x70\x64\141\x74\145\105\170\x70\151\162\145\120\x61\171"]]; goto B3oKO; vGeUg: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x6c\x69\x6e\x6b\x50\x72\x65\166\x69\145\x77") . "\72\40" . ($this->getSetting("\x6c\x69\x6e\x6b\120\162\x65\x76\151\x65\167") ? "\x6f\156" : "\x6f\x66\x66"), "\x63\x61\154\x6c\x62\x61\143\153\137\x64\x61\164\141" => "\57\x6c\151\156\x6b\x50\162\145\x76\151\145\167"], ["\164\145\x78\164" => $this->i18n("\x74\x69\155\x65\40\x66\157\162\x6d\x61\164") . ($this->getSetting("\x74\x69\x6d\145\x66\157\162\x6d\141\x74") ? "\72\x20" . $this->getSetting("\164\151\x6d\145\146\157\x72\155\141\x74") : ''), "\x63\x61\154\x6c\x62\x61\143\x6b\x5f\x64\x61\x74\141" => "\x2f\x73\145\156\x64\x52\x65\x70\154\171\40\x65\156\164\x65\x72\x20\146\x6f\162\155\x61\164\137\x75\160\144\141\x74\x65\123\x65\164\x74\x69\x6e\147\x5f\164\x69\155\x65\146\x6f\x72\x6d\141\x74\x5f" . __FUNCTION__]]; goto VVLMx; igzC6: $data[] = [["\164\145\x78\164" => $this->i18n("\163\x65\x74\115\145\156\165\104\x65\x73\143\162\x69\160\x74\x69\x6f\156"), "\x63\141\x6c\x6c\x62\x61\143\153\137\144\x61\x74\x61" => "\57\x73\x65\x74\x4d\145\x6e\x75\104\x65\163\143\x72\x69\x70\x74\151\157\x6e"], ["\164\145\x78\x74" => $this->i18n("\163\x65\x74\x54\145\x6c\145\x67\x72\141\x6d\115\x65\156\165\x44\x65\x73\143\162\151\x70\x74\x69\157\156"), "\143\x61\x6c\154\142\x61\143\153\x5f\144\x61\x74\x61" => "\57\163\145\156\x64\x52\145\x70\x6c\171\x20\145\156\164\x65\x72\x20\x64\x65\163\x63\x72\x69\x70\164\151\x6f\x6e\x5f\x73\145\164\124\x65\x6c\x65\x67\x72\x61\x6d\x4d\x65\x6e\x75\104\x65\163\143\162\151\x70\164\x69\x6f\x6e"]]; goto BCChD; oOlEC: $domain = $this->getSetting("\144\x6f\155\x61\x69\x6e"); goto wA3JW; GreDm: $ssl = $this->getTime($this->expireCert() - time()); goto HUyf5; M9e21: $pay = $this->getSetting("\x65\x78\x70\151\x72\145\120\141\x79"); goto oOlEC; Wankl: $data[] = [["\164\145\170\164" => $this->i18n("\x61\156\156\157\x75\x6e\x63\x65\155\x65\156\x74"), "\143\x61\x6c\x6c\x62\x61\x63\x6b\x5f\144\141\164\x61" => "\57\x73\145\156\x64\x52\145\160\154\171\x20\145\156\x74\145\162\40\x61\156\156\157\165\x6e\143\x65\x6d\x65\x6e\x74\x5f\x61\156\x6e\157\165\x6e\x63\x65\x6d\145\x6e\164"], ["\x74\145\170\x74" => $this->i18n("\x73\145\164\x53\x75\160\160\157\x72\164\107\162\x6f\x75\160") . (($s = $this->getSetting("\x73\x75\160\x70\157\162\x74")) ? "\x3a\x20{$s}" : ''), "\x63\141\154\x6c\x62\x61\x63\x6b\137\144\141\x74\141" => "\x2f\163\x65\x6e\x64\x52\145\x70\154\x79\x20\x65\156\x74\x65\162\x20\151\x64\40\x63\x68\x61\164\x5f\x75\160\144\141\x74\x65\123\x65\164\164\151\x6e\147\x5f\163\165\160\x70\157\x72\x74\x5f" . __FUNCTION__]]; goto uKF2T; k1jxF: $data[] = [["\164\x65\170\164" => $this->i18n("\x62\x61\143\x6b"), "\x63\141\x6c\x6c\142\141\143\153\x5f\x64\x61\164\141" => "\57\155\145\x6e\165"]]; goto oey0k; wA3JW: if (!(file_exists($this->N3qeV) && $this->expireCert())) { goto Bipm0; } goto GreDm; oK20i: $data[] = [["\x74\145\170\164" => $this->i18n("\x61\144\155\x69\x6e\x73"), "\x63\141\x6c\x6c\x62\x61\x63\x6b\137\144\141\x74\x61" => "\x2f\x61\144\x6d\151\x6e\163"]]; goto Srvv9; B3oKO: $data[] = [["\164\145\x78\x74" => $this->i18n("\x6c\x61\156\147\165\141\147\x65"), "\143\141\x6c\154\x62\x61\143\x6b\x5f\x64\141\x74\141" => "\57\154\x61\156\147\x75\x61\147\x65"], ["\164\x65\170\x74" => $this->i18n("\163\x65\x74\x63\150\x61\164") . ($chat ? "\72\x20{$chat}" : ''), "\143\x61\x6c\154\x62\x61\x63\x6b\x5f\x64\141\164\141" => "\57\x73\145\x6e\144\x52\145\x70\154\x79\40\x65\156\x74\145\x72\x20\147\x72\x6f\165\x70\137\x75\x70\144\141\x74\x65\x53\x65\164\164\151\156\147\x5f\x63\150\141\x74\137" . __FUNCTION__]]; goto igzC6; VTPYo: } public function linkPreview() { $this->setSetting("\154\151\156\x6b\x50\162\145\166\x69\145\167", !$this->getSetting("\x6c\x69\156\x6b\x50\162\x65\166\151\x65\167")); $this->config(); } public function payments() { goto HAhxy; kuZBd: $wallet = $this->getSetting("\x40\x77\141\x6c\154\x65\164"); goto t_rbQ; t_rbQ: $crypto = $this->getSetting("\x40\x63\162\x79\x70\164\157"); goto ALtNP; ALtNP: $data[] = [["\164\145\x78\x74" => $this->i18n("\x79\157\x6f\155\x6f\156\145\171"), "\143\x61\x6c\x6c\x62\141\143\x6b\137\x64\141\164\x61" => "\x2f\171\x6f\157\x6d\x6f\x6e\x65\171"]]; goto ah13P; HAhxy: $token = $this->getSetting("\164\x6f\x6b\145\x6e"); goto kuZBd; MBWhp: $data[] = [["\164\145\170\x74" => $this->i18n("\143\162\171\x70\164\x6f") . ($crypto ? "\72\40{$crypto}" : ''), "\x63\x61\x6c\154\142\141\143\153\137\144\141\x74\x61" => "\x2f\x63\x72\x79\160\164\157"]]; goto hMl53; twfh0: $data[] = [["\164\145\x78\164" => $this->i18n("\x73\x65\164\x54\145\154\145\147\x72\x61\x6d\120\141\171\x54\x6f\153\x65\x6e") . ($token ? "\72\40{$token}" : ''), "\143\x61\x6c\x6c\x62\x61\x63\x6b\x5f\144\x61\164\x61" => "\x2f\163\x65\x6e\x64\x52\x65\160\x6c\x79\40\145\x6e\164\145\162\x20\x74\x6f\x6b\x65\156\x5f\165\x70\x64\x61\164\x65\x53\x65\x74\164\x69\156\x67\x5f\x74\x6f\x6b\145\x6e\x5f" . __FUNCTION__]]; goto MBWhp; ah13P: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\167\141\154\154\145\164") . ($wallet ? "\72\40{$wallet}" : ''), "\x63\x61\154\154\142\x61\143\x6b\137\144\141\164\x61" => "\x2f\x77\141\x6c\154\x65\x74"]]; goto twfh0; f7IO3: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\163\150\157\167\x77\145\142\150\x6f\157\153") . "\72\x20" . ($this->getSetting("\x73\150\157\x77\x77\x65\142\150\x6f\x6f\x6b") ? "\157\156" : "\157\146\146"), "\x63\x61\x6c\x6c\142\141\x63\153\137\144\141\164\141" => "\57\163\x68\x6f\x77\x77\145\x62\150\x6f\157\153"]]; goto iKzGB; FwZfG: $this->uors(data: $data); goto HWYu7; iKzGB: $data[] = [["\164\145\x78\x74" => $this->i18n("\x62\141\143\x6b"), "\143\141\x6c\x6c\142\141\x63\153\x5f\x64\141\164\141" => "\57\x63\x6f\x6e\x66\151\147"]]; goto FwZfG; hMl53: $data[] = [["\x74\145\x78\x74" => $this->i18n("\143\x72\x79\x70\x74\157\155\165\163"), "\143\141\x6c\154\x62\141\143\x6b\x5f\144\141\x74\141" => "\x2f\x63\162\171\x70\164\x6f\155\x75\163"]]; goto f7IO3; HWYu7: } public function nameConfig() { goto CnaWB; fvLUV: $text[] = "\x7e\x62\x6f\x74\x7e\x20\320\xb8\xd0\274\xd1\217\40\320\261\xd0\xbe\xd1\202\320\260"; goto AgchW; mYbq_: $this->update($this->cZwKZ["\143\150\141\164"], $this->cZwKZ["\155\x65\163\x73\x61\x67\x65\137\151\144"], implode("\12", $text ?: ["\x2e\x2e\56"]), $data ?: false); goto uJvas; Y1qxa: $data[] = [["\164\145\x78\164" => $this->i18n("\x74\x65\155\x70\x6c\141\x74\145"), "\143\x61\154\154\x62\x61\x63\x6b\x5f\x64\141\x74\x61" => "\57\x73\145\x6e\144\122\145\160\x6c\x79\40\x73\x65\x74\40\164\x65\x6d\160\154\x61\164\145\x5f\x75\160\144\141\164\x65\x53\145\x74\164\x69\x6e\x67\137\164\x65\x6d\160\x5f" . __FUNCTION__]]; goto NB90L; M5JR1: $text[] = "\321\x81\320\270\320\xbc\320\xb2\320\276\xd0\xbb\40\320\267\320\xb0\xd0\xbc\320\265\xd0\xbd\321\x8b\x20\320\275\320\265\xd1\x81\xd1\202\xd0\260\320\xbd\xd0\264\xd0\xb0\321\200\321\202\320\xbd\320\276\320\xb3\xd0\xbe\x20\321\201\xd0\xb8\xd0\274\320\262\320\xbe\xd0\273\320\xb0\x3a\x20{$this->getSetting("\162\145\160\154")}"; goto Npeds; swz2h: $text[] = "\176\160\157\x72\x74\x7e\40\320\277\xd0\xbe\321\x80\xd1\x82"; goto fvLUV; CnaWB: $text[] = "\x7e\x69\x70\176\x20\xd0\xb4\xd0\xbe\xd0\xbc\320\xb5\320\xbd\40\xd0\xb8\xd0\xbb\320\xb8\x20\xd0\260\xd0\271\320\xbf\320\xb8\40\321\201\xd0\xb5\xd1\200\xd0\xb2\xd0\265\xd1\x80\xd0\xb0"; goto swz2h; NB90L: $data[] = [["\164\145\x78\164" => $this->i18n("\142\x61\143\x6b"), "\143\141\x6c\x6c\x62\141\x63\x6b\137\x64\x61\164\x61" => "\x2f\x63\157\156\x66\151\147"]]; goto mYbq_; AgchW: $text[] = "\176\151\144\176\x20\xd0\260\320\271\xd0\xb4\xd0\xb8\40\xd0\xba\320\276\320\275\321\204\320\270\320\xb3\320\260"; goto M5JR1; R0S52: $data[] = [["\x74\145\170\x74" => $this->i18n("\162\x65\x70\x6c\141\x63\x65\155\145\156\164"), "\143\141\154\x6c\142\141\x63\153\x5f\x64\x61\164\x61" => "\57\x73\145\x6e\144\122\x65\160\x6c\x79\x20\x73\x65\x6e\x64\40\162\145\x70\154\141\143\145\x6d\x65\x6e\164\x20\163\x79\x6d\142\157\x6c\x5f\x75\160\144\x61\x74\x65\123\x65\164\164\151\156\x67\137\162\x65\160\x6c\x5f" . __FUNCTION__]]; goto Y1qxa; Npeds: $text[] = "\xd1\210\xd0\260\320\261\xd0\xbb\xd0\276\320\275\72\x20{$this->getSetting("\164\145\155\x70")}"; goto R0S52; uJvas: } public function logs() { goto W3Vz4; qn0DZ: $data[] = [["\164\x65\x78\x74" => $this->i18n("\142\141\143\x6b"), "\x63\141\x6c\x6c\142\141\143\x6b\x5f\x64\x61\164\141" => "\57\143\157\156\x66\x69\147"]]; goto u3bMH; W3Vz4: foreach (scandir("\x2f\154\x6f\147\x73\57") as $k => $v) { goto I2CEo; Z2lT0: GjP02: goto b0lmd; v6_I8: $size = filesize("\x2f\154\157\147\x73\x2f{$v}"); goto n5UC9; n5UC9: $data[] = [["\164\x65\x78\x74" => "{$v}\40\50{$size}\x29", "\x63\141\154\154\x62\141\x63\x6b\137\144\141\164\x61" => "\x2f\147\x65\x74\x4c\157\x67\x20{$k}"], ["\x74\145\x78\x74" => $this->i18n("\x63\154\145\x61\x72"), "\143\141\x6c\154\x62\x61\143\153\x5f\144\x61\x74\x61" => "\57\143\154\x65\141\162\114\x6f\147\40{$k}"]]; goto Z2lT0; b0lmd: hbpla: goto v9JrI; I2CEo: if (preg_match("\176\x5e\x5c\x2e\176", $v)) { goto GjP02; } goto v6_I8; v9JrI: } goto OUDh5; u3bMH: $this->update($this->cZwKZ["\x63\150\141\x74"], $this->cZwKZ["\x6d\145\x73\163\x61\147\x65\x5f\151\x64"], implode("\12", ["\56\56\x2e"]), $data ?: false); goto x1411; OUDh5: jwX7M: goto qn0DZ; x1411: } public function getLog($i) { goto RATTL; Vl22j: pbP94: goto xF15c; RATTL: foreach (scandir("\x2f\154\157\147\x73\x2f") as $k => $v) { goto C3tOB; C3tOB: if (preg_match("\x7e\x5e\134\x2e\x7e", $v)) { goto XzM3f; } goto IjgIX; k0Fq2: Uhx8B: goto T87z1; qfD4q: XzM3f: goto k0Fq2; IjgIX: $logs[$k] = $v; goto qfD4q; T87z1: } goto Vl22j; xF15c: $this->sendFile($this->cZwKZ["\x63\x68\x61\x74"], curl_file_create("\57\x6c\157\x67\163\x2f{$logs[$i]}")); goto zpV4K; zpV4K: } public function clearLog($i) { goto lUobS; oK8kM: kSz4g: goto TWVZA; TWVZA: $this->logs(); goto b3D2F; lUobS: foreach (scandir("\57\154\157\x67\163\x2f") as $k => $v) { goto b5Uvh; Osm4j: Avp5H: goto JYAb0; b5Uvh: if (!($i == $k)) { goto epz5z; } goto zOsIP; cp3UG: goto kSz4g; goto xGM0n; xGM0n: epz5z: goto Osm4j; zOsIP: file_put_contents("\x2f\154\157\147\163\x2f{$v}", ''); goto cp3UG; JYAb0: } goto oK8kM; b3D2F: } public function testCommands() { $this->send($this->cZwKZ["\x63\x68\x61\x74"], var_export($this->getcommands(), true)); $this->send($this->cZwKZ["\x63\x68\x61\164"], var_export($this->getcommands(scope: ["\x74\x79\160\145" => "\x63\150\141\164", "\x63\150\x61\x74\137\151\x64" => $this->jMTmt["\141\144\x6d\151\x6e"]]), true)); } public function helpConfig() { goto yE3rn; fCzxU: $text[] = "\74\x62\76\x3c\151\x3e{$this->i18n("\x69\155\160\157\162\164")}\x3c\x2f\151\x3e\x3c\57\142\76\40\x2d\x20\320\xb8\xd0\xbc\320\277\xd0\xbe\321\x80\321\x82\x20\163\161\x6c"; goto Zzzpt; WOn8E: $text[] = "\74\x62\x3e\x3c\151\x3e{$this->i18n("\141\144\155\151\156\163")}\x3c\x2f\151\76\74\x2f\142\x3e\x20\55\40\320\264\xd0\xbe\320\261\xd0\260\320\262\xd0\270\321\202\xd1\214\x2f\321\203\xd0\264\320\260\xd0\xbb\xd0\xb8\321\202\xd1\x8c\40\xd0\xb4\320\276\320\xbf\320\276\xd0\xbb\320\xbd\xd0\270\321\202\320\265\xd0\xbb\xd1\x8c\xd0\xbd\321\213\xd1\x85\40\320\xb0\320\xb4\xd0\274\xd0\270\320\275\xd0\xbe\320\262"; goto ALI3z; llq8J: $text[] = "\74\x62\76\74\151\x3e{$this->i18n("\142\x61\143\153\165\160")}\x3c\x2f\151\x3e\74\x2f\x62\x3e\40\x2d\40\320\275\320\xb0\321\x81\xd1\x82\xd1\200\320\xbe\320\xb9\xd0\xba\xd0\260\40\320\xb1\321\215\xd0\272\xd0\260\320\277\xd0\260\40\320\x91\320\x94\x20\xd0\xbf\xd0\xbe\40\xd1\200\xd0\260\xd1\x81\xd0\277\320\270\321\201\xd0\xb0\320\275\320\xb8\xd1\216"; goto dkDEP; e3jbp: $text[] = "\x3c\x62\x3e\x3c\x69\x3e{$this->i18n("\145\170\x70\157\162\x74")}\74\x2f\151\x3e\74\x2f\142\x3e\40\55\x20\320\265\xd0\xba\xd1\201\320\277\xd0\xbe\xd1\200\xd1\x82\x20\320\262\xd1\x81\320\265\xd1\x85\40\xd0\xbd\320\260\321\201\xd1\202\xd1\200\xd0\xbe\320\xb5\xd0\272\x20\320\262\x20\xd0\262\320\270\xd0\xb4\320\xb5\x20\320\264\320\260\xd0\xbc\320\277\320\xb0\40\320\221\xd0\224"; goto fCzxU; OPRvX: $this->update($this->cZwKZ["\143\150\141\x74"], $this->cZwKZ["\155\x65\x73\x73\x61\x67\145\x5f\151\x64"], implode("\12\12", $text ?: []), $data ?: false); goto wf0Xk; Zzzpt: $text[] = "\x3c\142\x3e\74\151\x3e{$this->i18n("\x64\145\x66\141\165\x6c\x74\x44\x4e\x53")}\x3c\57\151\76\74\57\142\76\40\x2d\x20\xd1\x83\xd1\201\xd1\x82\xd0\260\320\xbd\xd0\xbe\xd0\xb2\xd0\xba\320\xb0\x20\320\xb4\320\265\321\204\320\xbe\xd0\xbb\xd1\202\xd0\275\xd0\276\xd0\263\xd0\276\40\xd0\264\xd0\xbd\xd1\201\54\40\xd0\xbf\xd0\xbe\320\264\321\x81\321\x82\xd0\260\320\262\320\xbb\xd1\x8f\xd0\xb5\321\x82\321\x81\321\217\x20\320\xb2\40\320\xba\320\276\xd0\275\xd1\204\xd0\xb8\xd0\263\40\320\277\320\xbe\xd0\xbb\xd1\214\320\xb7\xd0\276\xd0\xb2\xd0\xb0\321\x82\320\265\320\273\xd1\216"; goto wOcp3; dkDEP: $text[] = "\74\142\x3e\x3c\151\x3e{$this->i18n("\144\x65\142\x75\x67")}\x3c\57\x69\x3e\74\57\142\76\x20\x2d\x20\321\200\320\xb5\xd0\xb6\320\xb8\xd0\xbc\x20\320\276\321\x82\320\273\xd0\260\320\264\xd0\xba\320\270\x28\xd0\264\xd0\xbb\xd1\217\40\xd1\200\320\xb0\320\267\xd1\x80\320\260\xd0\xb1\320\xbe\321\x82\xd1\207\xd0\xb8\320\xba\xd0\260\x29"; goto OPRvX; SjIHo: $text[] = "\x3c\142\76\74\x69\x3e{$this->i18n("\x73\145\164\116\x6f\x74\x69\x66\x79\x54\145\x78\x74")}\x3c\x2f\x69\x3e\x3c\x2f\142\x3e\x20\x2d\40\320\275\xd0\xb0\xd1\x81\321\202\321\x80\xd0\276\xd0\271\xd0\xba\xd0\xb0\40\321\x82\xd0\265\xd0\272\321\x81\xd1\202\xd0\xb0\x20\xd1\203\xd0\262\xd0\265\xd0\264\320\xbe\320\274\320\xbb\xd0\265\320\275\320\xb8\320\xb9\x20\xd0\277\xd0\276\320\273\321\214\xd0\xb7\320\xbe\xd0\262\xd0\xb0\321\x82\320\xb5\320\xbb\xd1\x8e\40\320\xbf\xd1\x80\320\xb8\x20\321\x81\xd0\xbe\xd0\261\321\x8b\xd1\x82\xd0\270\xd1\217\321\205\40\321\201\320\276\320\267\320\264\xd0\260\xd0\xbd\xd0\270\321\x8f\x2f\321\x83\320\264\320\260\xd0\xbb\320\xb5\320\xbd\xd0\xb8\321\x8f\x2f\320\277\321\200\320\276\320\264\xd0\xbb\320\265\xd0\275\320\xb8\321\x8f\40\xd0\270\x20\321\x83\320\262\xd0\xb5\xd0\xb4\xd0\276\320\xbc\320\273\xd0\xb5\xd0\275\xd0\270\321\x8f\x20\320\xbe\40\xd0\267\320\260\xd0\xba\xd0\xb0\xd0\275\xd1\x87\320\270\320\xb2\320\xb0\321\216\xd1\211\320\265\xd0\274\321\x81\321\x8f\40\xd1\x81\xd1\200\xd0\276\xd0\xba\320\265\x20\320\272\320\xbe\xd0\275\321\x84\320\270\320\xb3\xd0\260"; goto Go0th; yE3rn: $data[] = [["\164\145\x78\164" => $this->i18n("\x62\141\x63\x6b"), "\x63\141\x6c\154\142\x61\143\x6b\x5f\x64\x61\164\x61" => "\x2f\143\157\156\x66\151\147"]]; goto h7xbx; CnZWt: $text[] = "\x3c\142\x3e\x3c\151\x3e{$this->i18n("\163\x65\x74\143\150\x61\164")}\x3c\57\x69\76\74\x2f\142\x3e\x20\55\x20\321\203\321\x81\xd1\x82\xd0\xb0\320\275\320\xbe\320\xb2\320\270\321\202\xd1\214\x20\xd1\202\xd0\265\320\xba\xd1\x81\321\x82\x28\321\201\321\201\321\213\320\273\xd0\xba\320\260\40\xd0\xbd\xd0\260\320\277\321\x80\xd0\xb8\320\274\xd0\265\xd1\200\x29\54\x20\320\261\321\203\320\264\xd0\xb5\321\x82\x20\xd0\276\321\202\320\276\xd0\261\xd1\x80\320\xb0\320\266\320\xb0\xd1\x82\321\x8c\xd1\201\321\x8f\40\320\262\xd0\276\x20\320\xb2\321\x81\320\xb5\321\205\40\xd0\274\xd0\265\320\xbd\321\x8e\40\xd0\277\320\276\xd0\xbb\xd1\x8c\xd0\xb7\320\xbe\xd0\xb2\320\xb0\321\x82\xd0\265\320\xbb\321\x8f\40\320\xbf\xd0\xb5\321\x80\320\xb2\xd0\xbe\xd0\xb9\x20\xd1\201\321\x82\321\200\320\xbe\xd1\x87\320\xba\xd0\276\320\271"; goto ts8QI; eiiVR: $text[] = "\74\142\x3e\74\151\x3e{$this->i18n("\163\x65\164\x4d\x65\x6e\x75\x44\145\x73\x63\162\x69\160\164\x69\157\156")}\74\x2f\151\76\x3c\x2f\142\76\x20\55\40\320\275\xd0\260\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\320\272\320\xb0\40\321\x82\xd0\265\xd0\xba\xd1\201\321\202\xd0\xb0\x20\320\274\320\xb5\xd0\xbd\321\216\xd1\210\xd0\xb5\xd0\xba\x20\320\xbf\xd0\xbe\320\273\xd1\x8c\320\xb7\320\276\320\262\320\xb0\321\x82\320\xb5\xd0\273\xd1\x8f"; goto nBIFc; h7xbx: $text[] = "\xd0\x9e\320\277\xd0\270\xd1\x81\320\260\320\275\320\xb8\xd0\xb5\x20\320\xba\xd0\275\xd0\xbe\320\277\320\276\xd0\xba\40\321\200\320\260\320\267\320\264\xd0\xb5\xd0\xbb\320\xb0\72"; goto WOn8E; Go0th: $text[] = "\x3c\142\76\74\x69\76{$this->i18n("\x65\x78\x70\x69\162\x65\x4e\157\x74\x69\x66\171")}\74\x2f\x69\x3e\74\57\x62\76\40\x2d\40\xd0\267\xd0\xb0\xd0\xb4\xd0\260\xd1\x82\xd1\x8c\x20\xd0\262\xd1\200\320\265\xd0\xbc\321\217\x20\320\267\320\xb0\x20\320\272\xd0\xbe\321\202\xd0\xbe\xd1\200\320\xbe\xd0\265\x20\320\xb1\xd0\xbe\xd1\202\x20\xd0\xb1\321\x83\320\xb4\xd0\xb5\xd1\x82\x20\321\203\xd0\262\xd0\265\xd0\264\320\276\320\274\320\273\321\x8f\321\x82\xd1\x8c\40\xd0\xbf\320\276\xd0\273\xd1\214\xd0\267\xd0\276\xd0\xb2\xd0\xb0\321\202\320\265\320\xbb\321\x8f\40\xd1\x87\321\x82\320\276\x20\xd0\272\320\276\xd0\xbd\xd1\204\xd0\270\xd0\xb3\40\xd1\201\xd0\xba\xd0\xbe\321\200\320\xbe\x20\xd0\xbf\321\200\xd0\265\320\272\xd1\200\320\260\xd1\202\xd0\xb8\xd1\x82\40\321\200\xd0\260\320\xb1\xd0\xbe\321\x82\xd0\xb0\xd1\202\321\214"; goto e3jbp; wOcp3: $text[] = "\x3c\x62\x3e\74\x69\x3e{$this->i18n("\141\156\156\157\165\156\x63\145\x6d\145\156\x74")}\74\x2f\151\x3e\x3c\x2f\x62\x3e\x20\x2d\40\xd1\200\xd0\260\xd1\x81\xd1\x81\xd1\x8b\xd0\273\320\272\xd0\260\40\xd1\201\xd0\276\xd0\276\xd0\xb1\321\211\320\265\xd0\275\xd0\xb8\xd1\217\x20\320\262\xd1\201\320\xb5\xd0\274\x20\320\xba\320\xbb\xd0\270\xd0\xb5\320\xbd\xd1\202\xd0\260\320\xbc\40\xd0\xb1\320\xbe\321\x82\320\260"; goto llq8J; ts8QI: $text[] = "\x3c\142\76\x3c\x69\x3e{$this->i18n("\171\157\157\155\x6f\x6e\145\x79")}\74\57\151\76\74\x2f\x62\76\x20\55\40\xd0\275\xd0\xb0\321\x81\321\202\xd1\x80\xd0\276\320\271\xd0\xba\xd0\xb0\x20\xd1\200\320\265\xd0\xba\xd0\xb2\320\270\320\267\xd0\xb8\321\x82\xd0\xbe\xd0\xb2\x20\x79\x6f\157\155\x6f\x6e\145\x79\x28\xd0\xb4\320\xbe\320\275\320\xb0\321\x82\x29"; goto T9lw5; nBIFc: $text[] = "\74\x62\76\x3c\151\x3e{$this->i18n("\x73\x65\164\x54\145\154\145\147\x72\141\155\115\x65\156\x75\104\x65\x73\143\x72\151\x70\164\x69\157\156")}\x3c\x2f\151\x3e\x3c\x2f\x62\76\x20\55\40\320\xbd\320\260\xd1\x81\321\202\xd1\x80\320\xbe\xd0\271\320\xba\320\xb0\40\320\276\xd0\xbf\320\xb8\321\201\xd0\xb0\320\275\320\xb8\321\217\x20\320\272\320\276\xd0\274\xd0\260\320\275\xd0\264\321\x8b\x20\57\x6d\x65\x6e\x75\40\xd0\262\40\xd0\xba\xd0\273\320\xb8\xd0\265\xd0\xbd\321\x82\xd0\xb5\40\xd1\202\320\xb5\xd0\273\xd0\265\xd0\263\321\200\xd0\xb0\xd0\xbc\xd0\260"; goto SjIHo; T9lw5: $text[] = "\x3c\x62\x3e\x3c\151\x3e{$this->i18n("\163\145\x74\124\145\154\145\147\x72\x61\x6d\120\x61\x79\x54\157\x6b\x65\156")}\74\57\x69\x3e\x3c\57\142\76\40\55\x20\321\x83\xd1\201\321\x82\320\260\xd0\275\xd0\276\320\xb2\xd0\xba\320\260\40\xd1\202\320\xbe\320\272\320\265\320\xbd\xd0\260\x20\320\264\xd0\273\xd1\x8f\x20\xd1\202\xd0\xb5\xd0\xbb\xd0\265\xd0\263\xd1\x80\xd0\xb0\320\xbc\xd0\xbf\321\x8d\320\271\x2c\40\xd1\x82\xd0\276\xd0\xba\xd0\265\320\xbd\40\320\xb1\321\200\320\260\xd1\x82\xd1\x8c\x20\320\xb2\40\320\xbd\320\260\321\x81\321\x82\321\x80\xd0\276\320\271\320\xba\xd0\xb0\xd1\x85\x20\xd0\xb1\xd0\xbe\xd1\202\320\260\x20\xd1\x83\x20\x40\x42\157\x74\x46\x61\164\150\x65\x72"; goto eiiVR; ALI3z: $text[] = "\74\142\x3e\x3c\151\76{$this->i18n("\154\x61\156\147\x75\x61\x67\145")}\74\57\151\x3e\x3c\x2f\x62\76\40\55\x20\xd1\x83\321\201\xd1\x82\xd0\xb0\320\275\320\xbe\320\xb2\xd0\xb8\321\202\321\214\x20\320\277\xd0\265\321\x80\320\265\xd0\262\xd0\xbe\xd0\xb4\40\xd0\xba\xd0\275\xd0\276\xd0\xbf\xd0\272\320\xb8"; goto CnZWt; wf0Xk: } public function helpConfigServer($id, $serverpage, $clientpage) { goto z3yNM; v2gyp: $text[] = "\x3c\142\76\x3c\x69\x3e{$this->i18n("\154\151\155\x69\x74\x73\x53\x65\162\x76\x65\162")}\74\x2f\x69\x3e\x3c\57\x62\76\x20\x2d\40\xd0\xbc\320\260\xd0\xba\321\201\xd0\270\xd0\xbc\320\260\320\273\321\214\320\275\320\xbe\320\265\40\320\xba\xd0\276\xd0\xbb\55\320\xb2\320\xbe\40\xd0\272\320\276\xd0\275\xd1\x84\xd0\xb8\xd0\263\320\276\320\xb2\40\xd0\xbd\xd0\xb0\x20\320\277\320\xbe\320\xbb\xd1\x8c\xd0\xb7\320\xbe\320\262\xd0\260\321\202\320\xb5\320\273\xd1\x8f"; goto rmgEu; zn8jZ: $text[] = "\74\142\x3e\74\151\76{$this->i18n("\164\145\163\x74\x54\x69\155\145")}\x3c\57\x69\x3e\74\x2f\x62\76\x20\x2d\x20\xd1\203\321\201\321\x82\xd0\260\xd0\xbd\320\276\320\xb2\xd0\272\320\260\40\320\262\321\x80\xd0\265\xd0\274\320\xb5\xd0\xbd\xd0\xb8\x20\xd0\xb4\320\265\xd0\271\321\201\xd1\202\320\262\320\270\321\217\x20\xd1\x82\320\xb5\xd1\x81\321\202\320\xbe\xd0\xb2\xd0\276\320\263\320\xbe\x20\320\xba\320\xbe\320\xbd\321\204\320\270\xd0\263\xd0\xb0"; goto mjdLv; WaB6x: $text[] = "\x3c\142\x3e\74\151\76{$this->i18n("\160\x69\156\147")}\74\x2f\x69\x3e\x3c\57\142\x3e\40\x2d\40\321\x81\320\xbe\xd0\xb7\xd0\264\320\xb0\xd1\201\321\202\x20\xd0\267\320\260\320\277\xd0\xb8\321\x81\321\x8c\54\x20\xd0\275\320\xb0\x20\xd0\xba\xd0\276\xd1\202\xd0\276\xd1\x80\xd1\x83\321\x8e\x20\xd0\xb4\xd0\276\xd0\273\320\xb6\320\xbd\xd0\260\40\320\xbe\321\202\321\200\320\265\320\xb0\320\xb3\xd0\270\xd1\200\320\276\xd0\262\xd0\xb0\xd1\202\xd1\214\x20\320\275\320\276\xd0\xb4\320\260\40\320\xb2\40\321\x80\320\xb0\xd0\274\320\xba\xd0\260\321\x85\40\321\x81\320\xb8\xd0\xbd\xd1\205\xd1\200\320\276\xd0\xbd\320\xb8\xd0\267\320\260\xd1\x86\xd0\270\320\270"; goto REjAB; suE32: $text[] = "\x3c\x62\x3e\74\x69\x3e{$this->i18n("\144\x65\154\x65\x74\145")}\x3c\x2f\x69\76\74\x2f\x62\x3e\40\55\40\321\x83\xd0\264\320\xb0\320\xbb\xd0\xb8\xd1\x82\xd1\214\40\320\275\xd0\276\320\264\321\x83\56\40\xd0\265\321\201\320\273\xd0\xb8\40\320\275\xd0\xbe\xd0\264\xd0\260\x20\321\200\xd0\260\xd0\xb1\xd0\276\xd1\207\320\260\321\x8f\54\x20\321\202\xd0\xbe\x20\320\xbe\320\xbd\xd0\260\40\xd0\277\320\xb5\xd1\x80\xd0\xb5\320\xb7\xd0\xb0\xd0\277\xd0\xb8\xd1\x88\xd0\xb5\xd1\x82\40\xd1\201\xd0\xb5\320\xb1\321\x8f\40\xd0\xb2\x20\xd0\xb1\320\xb0\321\210\320\275\320\xb5"; goto DKGpw; v60NE: $text[] = "\x3c\142\x3e\74\151\x3e{$this->i18n("\160\162\x69\x63\145")}\x3c\57\x69\x3e\x3c\x2f\142\76\40\x2d\x20\321\x83\xd1\201\321\x82\xd0\260\xd0\275\320\276\320\262\xd0\xba\xd0\260\40\xd1\206\xd0\265\xd0\xbd\x20\xd0\xb4\xd0\273\xd1\217\x20\xd0\275\320\xbe\xd0\xb4\321\x8b"; goto zn8jZ; z3yNM: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\x61\143\x6b"), "\143\141\x6c\154\x62\x61\143\153\137\x64\141\x74\x61" => "\x2f\x63\x6f\x6e\146\151\x67\123\145\162\x76\145\162\x20{$id}\137{$serverpage}\137{$clientpage}"]]; goto gJDPR; rmgEu: $text[] = "\74\x62\x3e\x3c\x69\x3e{$this->i18n("\163\x6c\x65\145\160\123\x65\162\166\x65\162")}\x3c\57\151\76\74\57\x62\x3e\40\x2d\40\320\xbf\xd0\xb5\xd1\x80\xd0\270\xd0\276\xd0\xb4\40\321\201\xd0\270\xd0\xbd\321\x85\321\200\xd0\xbe\320\xbd\xd0\xb8\xd0\xb7\320\xb0\xd1\206\xd0\270\xd0\xb8\40\xd0\275\320\xbe\xd0\xb4\xd1\213\40\321\201\x20\xd0\xb1\320\xb0\xd1\210\320\275\320\265\320\xb9\x2c\x20\320\262\x20\321\x81\320\265\320\xba\321\x83\xd0\xbd\320\xb4\xd0\xb0\321\205"; goto WaB6x; DKGpw: $this->update($this->cZwKZ["\143\x68\141\164"], $this->cZwKZ["\155\145\163\163\141\147\145\x5f\x69\144"], implode("\12\xa", $text ?: []), $data ?: false); goto siSgb; REjAB: $text[] = "\x3c\x62\x3e\x3c\x69\76{$this->i18n("\x73\167\x69\164\x63\x68\120\141\171")}\x3c\57\151\76\x3c\57\x62\x3e\x20\55\x20\xd0\xb2\xd0\272\320\273\321\x8e\321\x87\xd0\270\xd1\x82\xd1\214\57\xd0\276\xd1\x82\320\272\xd0\xbb\321\x8e\321\207\320\270\321\202\xd1\214\x20\320\xbe\320\xbf\320\273\320\260\321\x82\xd1\x83\x20\xd0\275\320\260\x20\320\275\320\xbe\xd0\xb4\320\265\x20\xd0\264\320\273\xd1\217\40\xd0\xbf\xd0\276\320\273\xd1\x8c\320\267\xd0\276\xd0\xb2\320\260\321\x82\320\265\xd0\273\xd0\xb5\320\xb9"; goto suE32; Bze4d: $text[] = "\x3c\142\76\x3c\151\x3e{$this->i18n("\156\141\155\145\x53\145\162\x76\145\162")}\74\x2f\x69\76\74\57\x62\76\40\55\40\320\275\320\xb0\xd1\x81\xd1\x82\xd1\200\320\xbe\320\271\320\xba\320\xb0\40\320\xb8\320\274\320\xb5\xd0\275\320\xb8\40\320\275\320\xbe\xd0\xb4\321\213\54\40\xd0\xbe\xd1\202\320\xbe\320\261\321\200\320\260\320\266\xd0\xb0\xd0\xb5\xd1\x82\321\201\xd1\217\x20\xd1\x82\320\xb0\320\xba\320\xb6\xd0\xb5\x20\320\270\40\xd0\xb4\320\xbb\321\217\x20\xd0\277\xd0\276\xd0\xbb\xd1\214\320\267\xd0\xbe\320\xb2\320\xb0\xd1\x82\320\xb5\320\xbb\321\x8f\x20\xd0\xbf\321\200\320\xb8\40\xd0\262\xd1\x8b\xd0\261\320\xbe\xd1\200\320\265\40\xd1\201\320\265\321\x80\xd0\xb2\xd0\265\321\200\320\xb0"; goto v60NE; mjdLv: $text[] = "\74\x62\x3e\74\x69\x3e{$this->i18n("\164\x6f\162\162\145\x6e\x74")}\x3c\x2f\151\76\x3c\x2f\x62\x3e\x20\x2d\40\xd0\262\320\xba\xd0\273\321\x8e\321\207\xd0\xb5\320\275\xd0\270\xd0\xb5\x2f\xd0\276\xd1\202\xd0\272\320\273\321\x8e\321\207\320\xb5\xd0\275\320\xb8\xd0\xb5\x20\xd1\202\320\276\xd1\x80\xd1\x80\xd0\265\xd0\275\xd1\x82\xd0\xbe\320\262\x20\xd0\xb4\320\xbb\xd1\x8f\40\320\275\320\276\xd0\xb4\xd1\213\x20\x28\xd0\xbe\xd1\202\xd0\xba\xd0\xbb\xd1\216\xd1\207\320\260\320\xb5\xd1\202\40\xd0\275\xd0\265\40\61\60\x30\x25\51"; goto isOgr; gJDPR: $text[] = "\320\236\xd0\xbf\320\xb8\xd1\201\xd0\xb0\320\275\xd0\xb8\320\265\40\xd0\xba\xd0\275\xd0\xbe\320\277\xd0\xbe\xd0\272\40\xd1\200\320\xb0\320\xb7\xd0\xb4\xd0\265\xd0\xbb\xd0\260\x3a"; goto ApApA; ApApA: $text[] = "\74\142\76\74\x69\76{$this->i18n("\163\145\x74\104\x6f\x6d\141\x69\156")}\74\x2f\x69\x3e\x3c\57\x62\76\40\55\40\321\203\321\201\321\x82\xd0\260\320\275\320\276\xd0\262\xd0\270\xd1\x82\xd1\214\40\320\xb4\320\276\xd0\xbc\320\265\xd0\xbd\54\x20\xd0\261\xd1\203\xd0\264\320\xb5\321\x82\40\xd0\xbf\xd1\x80\320\276\xd0\xbf\xd0\270\321\x81\321\213\320\262\xd0\xb0\xd1\x82\xd1\214\321\x81\321\217\x20\320\262\x20\xd0\xba\xd0\276\xd0\xbd\321\x84\320\270\xd0\xb3\320\265\x20\xd0\xb2\320\xbc\320\xb5\xd1\x81\321\202\xd0\xbe\40\xd0\xb0\xd0\xb9\320\xbf\xd0\xb8\x20\xd0\xb2\x20\320\xb3\xd1\200\320\xb0\xd1\x84\xd0\xb5\40\105\156\144\160\157\151\156\164\56\x20\xd0\x95\xd1\x81\320\xbb\320\270\40\320\xbd\xd0\xbe\xd0\xb4\xd0\xb0\x20\xd0\xbf\320\265\321\200\xd0\265\320\xb5\xd0\264\xd0\xb5\321\x82\x20\xd0\275\xd0\260\x20\xd0\xb4\321\x80\xd1\203\320\263\320\xbe\xd0\xb9\40\320\260\320\271\xd0\277\320\270\54\40\321\x82\xd0\xbe\x20\xd0\xbd\xd0\xb5\x20\320\xbd\xd1\203\320\266\320\275\320\xbe\x20\320\261\321\x83\xd0\264\320\265\xd1\202\x20\320\267\xd0\xb0\xd0\xbd\xd0\xbe\320\xb2\320\xbe\x20\xd1\200\320\260\320\xb7\320\xb4\xd0\xb0\xd0\262\320\xb0\xd1\x82\xd1\214\x20\320\xba\xd0\xbe\xd0\275\xd1\204\320\xb8\xd0\xb3\xd0\xb8\54\40\xd0\264\320\xbe\xd1\201\321\x82\xd0\xb0\xd1\x82\320\276\321\207\xd0\xbd\xd0\276\x20\320\261\xd1\x83\320\xb4\320\265\xd1\x82\40\xd0\277\320\xbe\320\xbc\320\265\320\xbd\xd1\217\xd1\202\xd1\x8c\x20\xd0\x90\x2d\xd0\267\xd0\xb0\320\277\320\xb8\321\x81\xd1\214\x20\xd0\xb4\320\xbe\xd0\274\320\xb5\xd0\xbd\xd1\203"; goto hwDYg; hwDYg: $text[] = "\x3c\x62\x3e\x3c\x69\76{$this->i18n("\x65\x78\x70\x6f\162\x74\x53\x65\x72\166\x65\x72")}\x3c\57\x69\x3e\x3c\x2f\142\76\x20\x2d\x20\320\xb2\xd1\213\xd0\264\xd0\260\320\265\xd1\x82\x20\320\xb0\321\x80\xd1\205\320\270\320\xb2\40\xd0\xbd\320\276\xd0\264\321\x8b\x20\321\201\40\321\x83\xd0\266\xd0\265\x20\xd0\xbd\320\260\xd1\x81\xd1\x82\321\x80\320\xbe\320\265\320\xbd\xd0\275\321\213\320\xbc\x20\x77\x67\60\x2e\143\x6f\x6e\146\x2c\40\320\275\xd0\265\xd0\xbe\xd0\xb1\xd1\x85\xd0\276\320\xb4\320\270\320\xbc\xd0\276\40\320\xb5\xd1\201\xd0\xbb\xd0\270\40\320\275\xd0\276\320\xb4\320\xb0\x20\xd0\xbf\xd0\xb5\321\x80\320\265\320\265\xd0\267\320\266\320\260\xd0\xb5\321\x82\40\xd0\xbd\320\xb0\x20\320\xb4\321\200\321\203\320\xb3\xd0\276\320\271\40\321\201\xd0\265\xd1\x80\xd0\262\xd0\xb0\xd0\xba\x28\xd0\xb0\xd0\271\xd0\277\xd0\270\51"; goto Bze4d; isOgr: $text[] = "\74\142\x3e\x3c\x69\76{$this->i18n("\x63\x65\154\x6c\163\x53\x65\x72\x76\x65\x72")}\74\x2f\151\76\74\57\x62\76\x20\x2d\x20\xd0\xbc\xd0\xb0\320\272\321\201\xd0\xb8\xd0\xbc\xd0\xb0\320\xbb\321\214\xd0\xbd\xd0\276\xd0\265\40\320\272\320\xbe\xd0\xbb\x2d\320\xb2\320\276\40\320\xba\320\xbe\xd0\xbd\xd1\x84\xd0\270\320\263\xd0\xbe\xd0\xb2\x20\xd0\264\320\xbe\xd1\201\xd1\x82\321\x83\320\277\xd0\275\321\213\xd1\x85\x20\320\272\x20\320\277\xd0\xbe\320\272\321\x83\xd0\xbf\xd0\xba\xd0\265"; goto v2gyp; siSgb: } public function setBackup($text) { goto KUG1M; M29nu: $this->setSetting("\160\151\x6e\x62\x61\x63\153\165\x70", ''); goto nbWI3; RVh3d: $this->config(); goto Y9Ji7; jwpmN: $this->setSetting("\142\141\143\x6b\165\x70", $text); goto qLcSA; nbWI3: OG5kw: goto RVh3d; scz45: $this->unpin($this->jMTmt["\141\x64\x6d\151\156"], $pin); goto M29nu; fXIFZ: goto zJuTP; goto uJhif; cRBGX: if (empty($text)) { goto xB_1u; } goto PPxsp; KUG1M: $text = trim($text); goto cRBGX; F08Ze: xB_1u: goto w82VS; PPxsp: if (preg_match("\176\x28\x5c\x64\53\x5c\163\x5c\167\x2b\51\50\x3f\72\x5c\x73\53\x29\77\x2f\50\77\x3a\x5c\163\53\x29\77\x28\x5c\144\x7b\62\175\72\134\144\x7b\x32\x7d\x29\x7e", $text, $m)) { goto Vte0l; } goto GxULc; l3gkp: $start = $m[2]; goto jwpmN; uJhif: Vte0l: goto wwTok; RJiqR: if (!($pin = explode("\x2f", $this->getSetting("\x70\151\x6e\x62\141\143\x6b\165\x70"))[0])) { goto OG5kw; } goto scz45; wwTok: $period = $m[1]; goto l3gkp; qLcSA: zJuTP: goto RJiqR; w82VS: $this->setSetting("\x62\141\143\153\x75\160", ''); goto fXIFZ; GxULc: goto zJuTP; goto F08Ze; Y9Ji7: } public function backup() { goto WVFqB; tMQio: if (!$time) { goto xmA5m; } goto Zzc9z; vf7Fe: if ($c - $start > 0 && $c - $start < 10) { goto LX5dZ; } goto XbLW8; WVFqB: $c = time(); goto LLDc2; lB70W: $this->pinBackup(); goto Di5jS; lNifb: mgjKB: goto QwgbK; JrO99: LX5dZ: goto ggTt5; XbLW8: goto mgjKB; goto SlU3s; X2UqT: $this->unpin($this->jMTmt["\x61\x64\x6d\x69\156"], $pin); goto lB70W; t2vvs: $period = strtotime($m[1]) - $c; goto uGckE; Y61Ma: if ($last) { goto obh6j; } goto vf7Fe; b2wko: [$pin, $time] = explode("\57", $last); goto Jfynx; ggTt5: $this->pinBackup(); goto lNifb; QwgbK: xmA5m: goto vaERh; Q4P1Z: TIk6W: goto meKh_; UDYI6: $last = $this->getSetting("\x70\x69\156\x62\141\143\x6b\165\x70"); goto Y61Ma; LLDc2: $time = $this->getSetting("\142\141\x63\x6b\165\x70"); goto tMQio; Jfynx: if (!($c - $time >= $period)) { goto TIk6W; } goto X2UqT; uGckE: $start = strtotime($m[2]); goto UDYI6; Di5jS: return; goto Q4P1Z; SlU3s: obh6j: goto b2wko; meKh_: goto mgjKB; goto JrO99; Zzc9z: preg_match("\x7e\x28\134\144\53\x5c\163\x5c\x77\x2b\x29\x28\x3f\x3a\x5c\x73\x2b\x29\x3f\x2f\50\x3f\x3a\134\x73\x2b\51\77\x28\x5c\x64\173\62\x7d\72\x5c\x64\x7b\x32\175\x29\x7e", $time, $m); goto t2vvs; vaERh: } public function pinBackup() { goto ViI6l; G5R0h: $this->pin($this->jMTmt["\141\144\x6d\x69\x6e"], $pin); goto FCzWL; MQ79n: $this->setSetting("\x70\x69\x6e\x62\141\x63\153\165\x70", "{$pin}\x2f" . time()); goto G5R0h; ViI6l: $pin = $this->export()["\x72\x65\163\x75\x6c\x74"]["\x6d\x65\163\163\141\147\145\x5f\x69\x64"]; goto MQ79n; FCzWL: } public function announcement($text) { goto iBSob; baj22: unset($_SESSION["\141\156\x6e\x6f\x75\156\x63\145\x6d\145\x6e\x74"]); goto usQuM; CmQWv: $_SESSION["\x61\x6e\156\x6f\165\156\143\x65\x6d\x65\x6e\164"]["\164\x65\170\x74"] = $this->send($this->cZwKZ["\143\x68\141\x74"], $text, button: $data, entities: $this->cZwKZ["\145\x6e\x74\151\x74\151\x65\x73"], withoutOffset: 1)["\x72\x65\x73\165\154\x74"]; goto IfNdk; KBzkl: Vq3gy: goto CmQWv; usQuM: if (!$this->cZwKZ["\160\x68\x6f\x74\x6f"]) { goto Vq3gy; } goto lzb4Y; lzb4Y: $_SESSION["\x61\156\156\x6f\165\156\x63\x65\x6d\145\x6e\x74"]["\x70\x68\157\164\x6f"] = $this->sendPhoto($this->cZwKZ["\143\x68\x61\x74"], $this->cZwKZ["\160\x68\157\164\157"][0]["\x66\151\154\145\137\151\144"])["\162\x65\163\165\x6c\164"]; goto KBzkl; iBSob: $data = [[["\164\145\170\x74" => $this->i18n("\141\156\x6e\157\x75\156\143\x65\x6d\145\x6e\x74"), "\143\141\x6c\x6c\x62\x61\143\153\137\x64\x61\x74\x61" => "\x2f\x73\145\156\144\101\156\156\157\165\x6e\x63\x65\155\145\156\164"]]]; goto baj22; IfNdk: } public function sendAnnouncement() { goto WJuG7; r8MwH: if (empty($_SESSION["\141\156\156\157\x75\156\143\145\155\145\x6e\x74"]["\160\x68\157\x74\x6f"]["\x6d\x65\163\163\x61\x67\145\x5f\151\x64"])) { goto xkW4X; } goto CfKqY; WJuG7: if (!empty($_SESSION["\141\156\x6e\x6f\165\156\x63\x65\155\x65\x6e\x74"])) { goto VISbQ; } goto VBBin; mVktX: kXxJV: goto j022S; g1evw: $this->delete($this->cZwKZ["\x63\150\x61\x74"], $_SESSION["\141\x6e\156\x6f\165\x6e\143\145\155\x65\x6e\x74"]["\x74\145\x78\x74"]["\x6d\145\163\163\x61\147\145\x5f\151\144"]); goto i4zB8; HlWFA: goto kXxJV; goto GjHu5; z6or3: $message = $_SESSION["\x61\x6e\156\157\x75\x6e\143\x65\x6d\x65\156\x74"]["\x74\x65\x78\164"]["\x74\x65\x78\164"]; goto tVsiK; yEv3G: unset($_SESSION["\141\x6e\x6e\x6f\165\x6e\x63\145\155\145\156\164"]); goto mVktX; CfKqY: $this->delete($this->cZwKZ["\x63\x68\141\x74"], $_SESSION["\141\x6e\156\x6f\165\156\x63\145\x6d\x65\x6e\164"]["\x70\150\157\x74\x6f"]["\155\145\163\x73\141\x67\x65\x5f\151\144"]); goto gvrmK; gvrmK: xkW4X: goto dAOsX; nTwO_: foreach ($cl as $k => $v) { goto LBC3a; NXWQv: $this->sendPhoto($v, $photo, $message, entities: $entities); goto GpGy1; phDZa: ruGzC: goto VUBED; Q7g8J: $this->send($v, $message, entities: $entities); goto UtCvc; UtCvc: goto qOrEE; goto Gi0O_; LBC3a: if ($photo) { goto UtCX_; } goto Q7g8J; GpGy1: qOrEE: goto phDZa; Gi0O_: UtCX_: goto NXWQv; VUBED: } goto UlDbI; i4zB8: jKKwI: goto nTwO_; UlDbI: jXBiX: goto yEv3G; VBBin: $this->send($this->cZwKZ["\x63\150\x61\164"], "\xd0\264\320\xb0\320\275\320\275\321\213\xd0\265\40\321\203\xd1\201\321\x82\xd0\260\321\x80\xd0\265\xd0\xbb\320\xb8"); goto HlWFA; tVsiK: $entities = $_SESSION["\141\156\156\157\x75\x6e\143\x65\155\x65\156\164"]["\164\x65\x78\x74"]["\145\156\x74\151\x74\151\x65\163"]; goto ceefm; GjHu5: VISbQ: goto pxEJS; ceefm: $cl = array_merge([$this->jMTmt["\x61\x64\x6d\x69\156"]], $this->sql("\x73\x65\154\145\x63\x74\x20\x74\x67\151\x64\x20\x66\x72\x6f\155\40\143\154\151\x65\156\164\x73\40\165\x6e\151\157\x6e\x20\x73\x65\154\x65\x63\x74\40\x74\x67\151\144\x20\x66\x72\x6f\x6d\40\157\x72\144\x65\x72\x73", view: "\143\157\x6c\x75\x6d\156") ?: []); goto r8MwH; dAOsX: if (empty($_SESSION["\141\156\156\157\165\x6e\143\145\x6d\145\x6e\164"]["\x74\x65\170\x74"]["\x6d\x65\163\x73\x61\147\x65\137\x69\x64"])) { goto jKKwI; } goto g1evw; pxEJS: $photo = $_SESSION["\x61\x6e\156\157\x75\156\143\145\155\145\x6e\x74"]["\160\150\157\x74\x6f"]["\x70\150\157\x74\x6f"][0]["\146\151\x6c\x65\x5f\x69\144"]; goto z6or3; j022S: } public function setTelegramMenuDescription($text) { goto k6IQJ; wEinG: if (empty($text)) { goto FvuGd; } goto qssOD; Xfivi: L9TPu: goto yTtqs; GuzW1: $c = $this->getcommands(scope: $scope); goto ED7Nr; XTam2: x3lgX: goto UvxiJ; R8rIT: foreach ($c as $k => $v) { goto BgM3e; cBikb: qGQ4b: goto UAmYi; BgM3e: if (!($v["\143\157\155\155\x61\x6e\144"] == "\155\145\156\x75")) { goto boeYa; } goto pQ9jV; pQ9jV: $c[$k]["\x64\145\x73\x63\x72\151\x70\x74\x69\x6f\156"] = $text; goto So596; So596: boeYa: goto cBikb; UAmYi: } goto Xfivi; V3RNo: FvuGd: goto DEJRt; qssOD: $this->setSetting("\164\x6c\147\x72\155\x6d\x65\156\x75", $text); goto SR7zm; ZwxqK: $scope = ["\164\x79\x70\x65" => "\143\150\141\x74", "\x63\x68\x61\x74\137\x69\144" => $this->jMTmt["\141\144\155\x69\156"]]; goto GuzW1; SR7zm: $c = $this->getcommands(); goto R8rIT; yTtqs: $this->setcommands(["\x63\157\155\155\141\x6e\x64\163" => $c]); goto ZwxqK; ED7Nr: foreach ($c as $k => $v) { goto oSGoQ; hmmzV: Hy1Bl: goto DCLHH; oSGoQ: if (!($v["\x63\x6f\x6d\155\141\x6e\144"] == "\155\x65\156\x75")) { goto Hy1Bl; } goto KIOrQ; DCLHH: FQjwf: goto heEWz; KIOrQ: $c[$k]["\x64\x65\x73\x63\x72\151\x70\164\x69\x6f\x6e"] = $text; goto hmmzV; heEWz: } goto XTam2; DEJRt: $this->config(); goto m6BsM; UvxiJ: $this->setcommands(["\x73\x63\157\x70\145" => $scope, "\x63\x6f\x6d\x6d\141\x6e\144\x73" => $c]); goto V3RNo; k6IQJ: $text = trim($text); goto wEinG; m6BsM: } public function helpNotify() { goto zPAcl; V1Val: $data[] = [["\x74\145\170\164" => $this->i18n("\x62\141\x63\x6b"), "\143\x61\154\154\x62\141\x63\x6b\137\144\x61\x74\x61" => "\x2f\x73\145\x74\x4e\157\x74\151\146\171\124\145\170\164"]]; goto zbKId; zbKId: $this->update($this->cZwKZ["\143\x68\x61\x74"], $this->cZwKZ["\x6d\x65\x73\x73\141\x67\145\137\151\x64"], implode("\xa", $text ?: []), $data ?: false); goto aqQok; zPAcl: $text[] = "\x3c\x62\x3e\74\151\76\x73\x65\x74\116\157\x74\x69\x66\171\105\x78\x70\x69\x72\x65\x3c\57\151\x3e\74\x2f\x62\76\x20\x2d\40\xd1\203\320\xb2\xd0\265\320\xb4\xd0\xbe\320\274\xd0\273\xd0\xb5\320\xbd\xd0\270\xd0\xb5\40\320\xbe\xd1\202\320\277\321\x80\320\260\xd0\262\xd0\273\xd1\217\xd1\216\xd1\211\xd0\265\xd0\265\321\x81\321\x8f\x20\xd0\xb7\xd0\xb0\40\116\40\320\xb2\321\x80\xd0\265\xd0\274\320\xb5\320\275\320\270\40\320\xb4\320\xbe\40\320\xbe\320\272\xd0\xbe\320\xbd\xd1\x87\xd0\260\xd0\275\320\270\321\217\x20\xd1\201\321\x80\xd0\276\320\xba\320\260\40\320\xba\xd0\276\xd0\xbd\xd1\x84\320\270\xd0\263\320\260\12\74\142\76\74\151\x3e\163\145\164\116\x6f\164\x69\x66\x79\103\162\x65\x61\x74\x65\74\57\151\76\74\57\142\76\x20\x2d\40\xd1\x83\xd0\262\xd0\265\xd0\xb4\xd0\xbe\320\274\320\xbb\xd0\xb5\320\275\xd0\xb8\320\265\40\xd0\xbe\xd1\x82\xd0\xbf\321\x80\320\xb0\xd0\262\xd0\273\321\217\xd1\x8e\xd1\211\xd0\265\320\265\xd1\201\321\x8f\40\320\xbf\xd0\xbe\321\x81\xd0\273\320\265\40\xd1\201\320\xbe\320\xb7\320\xb4\320\xb0\320\275\320\270\321\217\40\xd0\xba\xd0\xbe\xd0\xbd\321\204\xd0\xb8\xd0\xb3\xd0\xb0\xa\x3c\x62\x3e\74\151\x3e\x73\x65\164\116\x6f\x74\151\146\171\120\x72\157\x6c\157\x6e\x67\x3c\57\x69\76\x3c\x2f\x62\x3e\x20\55\x20\xd1\x83\xd0\xb2\xd0\265\320\264\xd0\276\320\xbc\xd0\273\320\265\xd0\xbd\xd0\xb8\320\xb5\x20\320\276\321\202\320\xbf\321\x80\xd0\xb0\320\262\xd0\273\321\x8f\321\x8e\321\211\xd0\xb5\320\xb5\xd1\201\321\x8f\40\320\xbf\321\x80\320\270\40\xd0\xbf\321\200\xd0\276\320\264\xd0\xbb\xd0\xb5\320\xbd\xd0\xb8\xd0\xb8\x20\xd0\xba\320\276\xd0\xbd\321\204\xd0\270\320\xb3\320\xb0\xa\x3c\x62\x3e\x3c\x69\76\x73\x65\x74\116\x6f\164\x69\x66\x79\104\x65\x6c\x65\164\145\74\57\x69\x3e\74\x2f\x62\76\x20\x2d\x20\321\x83\320\xb2\320\xb5\320\xb4\xd0\xbe\320\xbc\320\xbb\320\265\320\xbd\320\270\xd0\265\40\320\276\321\202\xd0\277\xd1\x80\320\xb0\xd0\xb2\320\xbb\xd1\x8f\321\216\321\x89\xd0\265\320\265\321\x81\321\x8f\40\320\xbf\xd1\200\320\xb8\40\320\277\321\x80\xd0\265\xd0\xba\xd1\200\320\xb0\321\x89\320\265\xd0\xbd\320\xb8\320\xb8\40\xd1\200\320\xb0\xd0\xb1\xd0\276\321\x82\xd1\x8b\40\xd0\272\320\xbe\320\275\321\204\xd0\xb8\320\xb3\320\xb0"; goto V1Val; aqQok: } public function setNotifyText($chapter = false) { goto NMpWh; hUoSS: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\x61\x63\153"), "\143\141\x6c\x6c\142\141\x63\x6b\137\x64\x61\x74\x61" => "\57\x63\x6f\x6e\146\x69\147"]]; goto NGhFV; FU28c: $data[] = [["\x74\x65\170\x74" => $this->i18n("\163\x65\164\x4e\x6f\164\x69\146\x79\x44\145\x6c\145\164\x65"), "\143\x61\154\x6c\x62\141\143\x6b\137\x64\141\164\x61" => "\57\x73\x65\x6e\x64\122\x65\x70\154\x79\x20\x65\156\x74\x65\162\x20\164\145\x78\164\137\165\160\x64\x61\x74\x65\x53\x65\x74\164\151\156\147\x5f\156\144\137" . __FUNCTION__ . "\137\x6e\144"], ["\164\x65\170\x74" => $this->i18n("\160\162\145\166\x69\x65\167"), "\143\141\x6c\x6c\142\141\x63\153\137\x64\x61\x74\141" => "\57\x73\145\164\x4e\x6f\x74\151\x66\x79\124\x65\170\164\40\x6e\144"]]; goto UZtsE; P13bZ: $data[] = [["\164\145\170\164" => $this->i18n("\163\x65\x74\x4e\x6f\x74\151\146\x79\x50\162\157\x6c\157\x6e\x67"), "\143\x61\x6c\154\x62\x61\x63\x6b\x5f\x64\141\x74\x61" => "\x2f\163\145\156\x64\122\145\160\x6c\171\x20\145\156\164\x65\162\40\x74\145\x78\164\x5f\165\x70\144\141\x74\x65\123\x65\164\164\x69\x6e\x67\x5f\156\x70\x5f" . __FUNCTION__ . "\137\x6e\160"], ["\x74\145\x78\164" => $this->i18n("\x70\x72\145\166\151\145\x77"), "\143\141\x6c\x6c\142\x61\143\153\137\x64\141\164\141" => "\x2f\163\145\x74\116\157\164\x69\146\171\x54\145\170\164\x20\156\x70"]]; goto FU28c; QpDGR: $data[] = [["\x74\145\170\164" => $this->i18n("\x73\x65\x74\x4e\157\x74\x69\x66\171\105\170\x70\x69\162\145\x50\141\171"), "\143\x61\x6c\x6c\142\141\143\153\137\x64\141\x74\x61" => "\57\163\145\156\144\x52\x65\160\154\x79\x20\145\156\164\145\x72\40\x74\x65\170\x74\x5f\x75\160\x64\x61\164\x65\x53\145\x74\164\151\156\147\x5f\x6f\144\x5f" . __FUNCTION__ . "\x5f\x6f\144"], ["\x74\145\170\x74" => $this->i18n("\160\162\x65\x76\x69\145\167"), "\143\x61\x6c\154\142\x61\x63\x6b\x5f\144\x61\164\141" => "\57\163\x65\164\116\157\x74\x69\x66\x79\124\x65\170\164\x20\157\x64"]]; goto EZT6P; eRXh6: $this->update($this->cZwKZ["\143\x68\141\164"], $this->cZwKZ["\155\145\x73\x73\141\147\x65\x5f\151\x64"], implode("\xa", $text ?: []), $data ?: false); goto ML5hr; PCeLL: $text[] = "\320\xa2\320\265\320\xb3\320\270\72"; goto mZOAG; Mdbd1: YdX9x: goto w87dv; AjrZB: switch ($chapter) { case "\x6e\x63": goto p4TPJ; PhJr_: $text[] = "\x3c\143\x6f\144\145\76\x7e\x6d\x61\x63\x6f\163\x7e\x3c\x2f\x63\157\144\x65\76\x20\x2d\40\xd0\xb8\320\275\xd1\x81\321\x82\321\200\321\x83\xd0\xba\xd1\206\xd0\xb8\321\x8f\40\xd0\xb4\320\xbb\xd1\x8f\x20\155\x61\143\157\163"; goto JWoTy; p1x4B: $text[] = "\x3c\x63\x6f\x64\x65\76\x7e\151\157\163\x7e\74\x2f\143\157\144\145\76\40\x2d\40\xd0\xb8\320\275\321\x81\321\202\321\200\xd1\x83\320\xba\321\x86\xd0\xb8\321\217\x20\xd0\264\320\xbb\321\x8f\40\151\157\x73"; goto g8kwK; bG9Z0: $text[] = "\x3c\143\x6f\x64\x65\x3e\176\x66\151\x6c\145\x7e\x3c\x2f\143\x6f\144\145\x3e\x20\320\277\321\x80\xd0\xb8\xd0\272\xd1\x80\xd0\265\xd0\277\xd0\270\xd1\x82\321\x8c\40\xd1\204\320\260\xd0\271\xd0\273\x20\xd0\xba\320\276\xd0\275\xd1\204\xd0\xb8\xd0\xb3\xd0\260"; goto m6GyE; JWoTy: $text[] = "\74\143\x6f\x64\145\76\x7e\151\x64\x7e\x3c\57\143\157\144\x65\x3e\x20\xd0\xbd\xd0\276\320\xbc\320\xb5\xd1\200\40\xd0\277\320\276\xd0\264\320\xbf\xd0\xb8\xd1\x81\320\272\320\270"; goto cvPqk; m6GyE: $text[] = "\74\143\157\x64\x65\x3e\x7e\x61\156\144\x72\157\151\x64\x7e\x3c\x2f\143\x6f\144\145\76\x20\55\40\xd0\270\xd0\xbd\xd1\x81\xd1\202\xd1\200\321\203\xd0\xba\xd1\206\320\270\321\x8f\x20\320\xb4\320\273\xd1\217\x20\x61\156\144\162\157\x69\x64"; goto p1x4B; FgM7g: $text[] = "\x3c\x63\x6f\144\145\76\176\166\160\156\x7e\74\57\x63\x6f\x64\145\76\x20\xd1\x81\321\201\321\x8b\320\273\320\xba\xd0\xb0\40\xd0\264\xd0\273\321\217\40\xd0\277\xd0\276\320\xb4\320\xba\xd0\xbb\xd1\216\321\207\320\xb5\320\275\320\270\321\217\x20\xd0\260\xd0\274\xd0\275\320\xb5\320\267\320\270\xd0\xb8"; goto cbWeE; g8kwK: $text[] = "\x3c\x63\157\144\145\76\176\x77\x69\156\x64\157\x77\x73\176\x3c\x2f\143\157\144\145\76\x20\55\x20\xd0\xb8\320\xbd\321\201\xd1\202\xd1\x80\321\x83\320\272\321\206\320\xb8\321\x8f\x20\xd0\xb4\xd0\xbb\xd1\x8f\40\167\151\x6e\144\x6f\x77\x73"; goto PhJr_; cvPqk: $text[] = "\74\143\x6f\144\145\x3e\176\154\151\x66\x65\x7e\74\57\x63\x6f\144\x65\x3e\x20\320\xbe\321\x81\xd1\x82\xd0\260\320\xb2\xd1\x88\320\265\xd0\xb5\321\201\321\217\x20\xd0\262\xd1\x80\320\xb5\320\xbc\321\217\40\xd0\xb4\320\265\320\xb9\321\x81\xd1\202\xd0\xb2\320\270\321\x8f\x20\320\xbf\xd0\xbe\xd0\xb4\320\xbf\320\xb8\321\201\320\272\320\xb8"; goto FgM7g; cbWeE: goto whBOh; goto gTr1a; p4TPJ: $text[] = "\x3c\x63\157\x64\x65\x3e\176\143\157\144\x65\x7e\74\57\x63\x6f\144\x65\x3e\x20\320\xba\320\xbe\320\xb4\40\320\xbf\xd0\270\xd1\x80\320\xb0"; goto bG9Z0; gTr1a: case "\156\x70": case "\156\x65": goto p4htw; jC03t: $text[] = "\74\x63\157\x64\145\76\x7e\151\144\x7e\x3c\57\x63\x6f\x64\145\76\40\320\275\320\276\320\xbc\320\xb5\321\x80\40\320\277\320\276\xd0\264\xd0\277\xd0\270\xd1\201\xd0\xba\xd0\xb8"; goto Vb2uE; p4htw: $text[] = "\74\x63\x6f\144\x65\x3e\176\x6c\151\146\145\176\x3c\57\x63\x6f\x64\x65\76\40\xd0\276\321\201\321\x82\320\260\xd0\xb2\xd1\x88\320\xb5\320\xb5\321\201\xd1\x8f\x20\320\xb2\321\200\320\265\xd0\274\xd1\217\40\320\264\320\265\320\xb9\321\201\321\202\xd0\262\320\270\321\217\x20\xd0\277\xd0\276\320\264\xd0\xbf\xd0\270\321\201\xd0\272\xd0\xb8"; goto jC03t; Vb2uE: goto whBOh; goto XeNCN; XeNCN: case "\156\x62": goto iXAG6; ZQ9_X: $text[] = "\74\x63\157\x64\x65\x3e\176\151\144\176\x3c\57\x63\157\x64\x65\76\40\320\xbd\320\xbe\xd0\xbc\320\xb5\xd1\x80\40\xd0\xbf\320\xbe\320\264\xd0\277\xd0\xb8\321\x81\xd0\xba\320\xb8"; goto v16Dm; v16Dm: goto whBOh; goto dOAO2; iXAG6: $text[] = "\74\143\157\x64\x65\76\x7e\x62\x6f\x6e\165\x73\176\74\x2f\x63\x6f\x64\x65\x3e\x20\xd0\264\320\276\320\261\xd0\xb0\320\262\320\273\320\xb5\320\xbd\xd0\xbd\xd0\276\320\xb5\x20\xd0\262\xd1\200\320\xb5\320\xbc\xd1\x8f"; goto ZQ9_X; dOAO2: case "\x6e\144": goto Kfnz8; tgu95: goto whBOh; goto UiOts; Kfnz8: $text[] = "\x3c\x63\157\x64\145\x3e\x7e\165\163\145\x72\x7e\x3c\x2f\x63\x6f\144\145\x3e\40\320\270\320\274\321\217\x20\xd1\216\320\xb7\320\xb5\xd1\x80\xd0\260"; goto aq0gU; aq0gU: $text[] = "\x3c\143\x6f\144\x65\76\x7e\151\144\x7e\x3c\x2f\143\157\x64\145\x3e\x20\320\275\xd0\276\xd0\xbc\320\265\xd1\200\x20\xd0\xbf\320\xbe\320\264\320\277\xd0\xb8\321\x81\320\xba\320\xb8"; goto tgu95; UiOts: } goto Mdbd1; Qb3_c: $data[] = [["\164\145\x78\x74" => $this->i18n("\x73\x65\x74\x4e\157\164\151\x66\x79\x45\170\160\151\162\145\x44\x65\x6c\x65\164\x65"), "\x63\141\x6c\x6c\x62\x61\x63\x6b\x5f\144\x61\x74\141" => "\57\163\145\x6e\x64\x52\x65\x70\154\171\x20\x65\x6e\164\x65\162\40\164\145\x78\x74\137\x75\x70\144\x61\x74\x65\123\x65\x74\164\151\x6e\147\137\144\165\137" . __FUNCTION__ . "\x5f\144\x75"], ["\164\145\170\x74" => $this->i18n("\x70\x72\x65\166\151\x65\x77"), "\x63\x61\x6c\x6c\x62\x61\143\153\x5f\144\x61\x74\141" => "\57\163\x65\x74\116\x6f\164\151\146\171\124\145\x78\x74\40\144\x75"]]; goto b3DZO; w87dv: whBOh: goto GOvsV; NGhFV: $text[] = "\xd1\203\xd1\201\xd1\202\320\xb0\xd0\275\xd0\276\xd0\xb2\xd0\272\xd0\xb0\x20\xd1\x88\xd0\260\xd0\261\xd0\273\320\xbe\320\xbd\320\xb0\x20\xd1\x81\320\276\320\276\320\xb1\321\211\xd0\xb5\xd0\xbd\320\xb8\xd0\xb9\40\320\xbf\xd0\276\xd0\273\xd1\x8c\320\267\320\xbe\320\xb2\xd0\260\xd1\202\320\xb5\xd0\273\xd1\x8e\12"; goto PCeLL; GOvsV: $text[] = "\12\320\250\320\260\xd0\261\xd0\273\320\276\320\275\72"; goto IzVLg; fxkqQ: $text[] = "\x3c\143\x6f\x64\145\x3e\57\151\x6f\x73\x3c\x2f\143\x6f\144\145\76\x20\x2d\40\xd1\x81\xd1\201\321\213\320\xbb\xd0\xba\xd0\xb0\54\40\320\277\xd0\276\x20\xd0\xba\xd0\273\xd0\xb8\320\xba\xd1\x83\40\xd0\xbd\xd0\260\x20\xd0\272\xd0\276\xd1\202\xd0\276\xd1\200\xd1\x83\xd1\216\x20\xd0\261\320\276\321\202\40\xd0\276\321\x82\320\xb4\320\xb0\321\x81\xd1\202\x20\320\270\xd0\xbd\321\201\xd1\202\321\200\321\203\320\xba\321\206\320\270\xd1\216\40\xd0\xbf\xd0\276\x20\151\157\163"; goto N4pAL; N4pAL: $text[] = "\x3c\143\x6f\144\x65\x3e\57\155\141\x63\x6f\x73\x3c\57\x63\x6f\x64\145\x3e\x20\x2d\40\xd1\x81\321\201\xd1\x8b\xd0\xbb\320\272\xd0\260\x2c\40\xd0\xbf\xd0\276\40\xd0\xba\xd0\273\xd0\xb8\320\xba\xd1\x83\40\320\275\320\xb0\x20\320\xba\320\xbe\xd1\x82\320\276\321\200\xd1\x83\321\x8e\40\320\261\xd0\276\321\202\40\xd0\xbe\xd1\x82\320\264\320\260\321\x81\321\x82\x20\xd0\xb8\320\xbd\xd1\201\xd1\202\xd1\200\321\x83\xd0\272\xd1\206\xd0\270\xd1\x8e\x20\320\xbf\320\276\x20\x6d\x61\143\x6f\163"; goto dMUUs; d89DB: nSDMf: goto eRXh6; UZtsE: $data[] = [["\x74\145\x78\164" => $this->i18n("\163\145\164\x4e\157\164\151\146\x79\102\157\156\x75\x73"), "\143\141\x6c\154\x62\141\143\153\137\x64\x61\164\141" => "\57\163\145\156\x64\122\145\x70\x6c\171\40\145\x6e\164\x65\162\x20\x74\x65\170\164\137\x75\x70\x64\x61\x74\x65\x53\145\164\164\151\156\147\x5f\156\142\137" . __FUNCTION__ . "\x5f\x6e\142"], ["\x74\x65\170\x74" => $this->i18n("\160\x72\145\166\x69\145\167"), "\x63\x61\x6c\154\x62\141\x63\x6b\x5f\144\141\x74\x61" => "\57\163\x65\164\116\157\164\x69\x66\x79\124\145\170\164\40\156\142"]]; goto czu4Q; NMpWh: $data[] = [["\164\145\x78\x74" => $this->i18n("\163\x65\164\x4e\157\164\x69\x66\x79\105\170\x70\151\x72\145"), "\x63\141\154\154\x62\141\x63\x6b\x5f\x64\x61\x74\x61" => "\x2f\x73\145\x6e\x64\x52\x65\x70\154\x79\x20\x65\156\x74\145\x72\40\x74\145\170\164\x5f\x75\160\x64\x61\x74\145\x53\145\164\x74\151\156\147\x5f\x6e\x65\137" . __FUNCTION__ . "\137\156\x65"], ["\x74\145\x78\x74" => $this->i18n("\160\162\145\x76\151\x65\x77"), "\x63\x61\154\154\x62\141\143\x6b\x5f\144\x61\164\x61" => "\x2f\163\x65\164\x4e\x6f\164\x69\146\x79\x54\145\x78\164\40\156\145"]]; goto Qb3_c; oCst4: $text[] = "\74\143\157\144\x65\76\x2f\141\156\144\x72\x6f\151\144\74\x2f\x63\157\144\145\x3e\x20\55\x20\321\201\xd1\201\321\213\320\xbb\xd0\xba\xd0\260\x2c\x20\xd0\xbf\320\276\x20\xd0\xba\320\273\320\xb8\320\xba\321\x83\40\320\xbd\320\260\40\xd0\272\xd0\xbe\321\202\320\xbe\xd1\200\321\203\321\216\x20\320\xb1\320\xbe\xd1\x82\40\320\276\321\x82\320\xb4\320\260\xd1\x81\321\202\40\320\270\320\275\321\201\xd1\202\321\200\xd1\x83\320\272\321\206\320\xb8\321\x8e\40\xd0\277\320\xbe\40\141\156\144\x72\x6f\151\144"; goto fxkqQ; dMUUs: $text[] = "\74\143\x6f\144\145\76\57\x77\151\156\x64\157\x77\x73\x3c\x2f\143\x6f\144\x65\x3e\40\x2d\x20\xd1\x81\xd1\201\xd1\x8b\xd0\xbb\xd0\272\xd0\260\x2c\x20\320\xbf\xd0\276\40\320\272\320\273\xd0\270\xd0\xba\321\x83\x20\xd0\275\xd0\260\x20\320\xba\320\276\321\x82\xd0\276\xd1\x80\xd1\203\321\x8e\40\320\xb1\xd0\xbe\321\x82\40\xd0\xbe\xd1\202\320\264\320\xb0\321\x81\xd1\202\40\xd0\xb8\320\275\xd1\201\xd1\x82\321\x80\xd1\x83\320\272\321\x86\xd0\270\321\x8e\x20\xd0\xbf\xd0\276\x20\x77\x69\156\144\157\167\163"; goto AjrZB; IzVLg: if (!($t = $this->getSetting($chapter))) { goto nSDMf; } goto MS0ZE; mZOAG: $text[] = "\74\143\x6f\144\145\76\x2f\x62\x6f\x74\74\57\143\x6f\x64\x65\x3e\x20\x2d\x20\xd1\201\321\x81\xd1\213\xd0\xbb\320\xba\xd0\xb0\x2c\40\320\277\320\xbe\x20\320\xba\xd0\273\xd0\xb8\320\272\xd1\203\40\320\xbd\xd0\260\40\xd0\272\xd0\276\xd1\x82\xd0\276\xd1\200\xd1\x83\xd1\x8e\40\xd0\xb1\320\276\321\202\x20\320\276\321\202\xd0\264\320\260\321\201\321\202\x20\320\xb8\xd0\xbd\321\201\321\202\xd1\200\321\203\xd0\272\321\x86\320\xb8\321\216\40\xd0\277\320\xbe\x20\142\157\x74"; goto oCst4; b3DZO: $data[] = [["\164\145\170\x74" => $this->i18n("\163\x65\164\x4e\157\x74\x69\146\171\x4c\x69\155\x69\x74"), "\143\141\154\x6c\x62\x61\x63\153\x5f\x64\x61\164\x61" => "\x2f\163\x65\x6e\x64\x52\x65\160\154\x79\40\x65\156\164\145\x72\40\x74\x65\x78\164\137\x75\160\144\x61\164\x65\123\x65\x74\164\151\156\x67\137\154\x69\x5f" . __FUNCTION__ . "\137\154\x69"], ["\x74\x65\x78\x74" => $this->i18n("\x70\162\x65\x76\x69\x65\x77"), "\x63\x61\154\154\x62\141\143\x6b\137\x64\141\x74\141" => "\57\163\145\164\x4e\157\164\x69\x66\171\x54\x65\170\164\40\x6c\x69"]]; goto QpDGR; czu4Q: $data[] = [["\164\x65\x78\164" => $this->i18n("\150\x65\154\160"), "\x63\141\x6c\x6c\x62\x61\143\x6b\137\144\141\x74\141" => "\x2f\150\x65\x6c\x70\x4e\x6f\164\x69\146\171"]]; goto hUoSS; MS0ZE: $text[] = "\74\x70\162\x65\x3e{$t}\x3c\57\x70\x72\x65\x3e"; goto d89DB; EZT6P: $data[] = [["\164\x65\170\164" => $this->i18n("\x73\x65\164\x4e\x6f\164\x69\146\171\x43\162\x65\x61\x74\145"), "\143\141\x6c\154\142\x61\x63\153\x5f\144\x61\164\141" => "\x2f\x73\x65\156\144\122\145\x70\x6c\171\40\x65\x6e\x74\145\x72\x20\x74\145\170\164\x5f\x75\160\144\x61\164\x65\123\x65\x74\x74\x69\156\x67\x5f\x6e\x63\x5f" . __FUNCTION__ . "\137\x6e\x63"], ["\164\145\170\x74" => $this->i18n("\x70\162\x65\166\151\145\167"), "\143\141\154\154\142\x61\x63\x6b\x5f\144\x61\x74\141" => "\57\163\145\164\116\x6f\164\x69\x66\171\x54\x65\170\164\40\x6e\143"]]; goto P13bZ; ML5hr: } public function setMenuDescription($chapter = false) { goto hztYG; nWaiA: $data[] = [["\x74\145\x78\164" => $this->i18n("\163\x65\164\x55\x73\145\x72\120\x61\x79"), "\143\x61\x6c\154\x62\141\x63\x6b\x5f\x64\x61\164\x61" => "\x2f\x73\145\156\x64\x52\145\x70\154\171\40\145\x6e\x74\145\x72\x20\x74\145\x78\164\x5f\x75\x70\x64\141\164\145\x53\145\164\x74\151\156\147\x5f\x75\160\x5f" . __FUNCTION__ . "\137\x75\160"], ["\164\x65\x78\x74" => $this->i18n("\x70\162\x65\x76\151\x65\x77"), "\x63\x61\x6c\x6c\142\x61\x63\x6b\137\144\x61\164\x61" => "\x2f\x73\145\164\x4d\x65\156\x75\x44\145\x73\143\162\151\x70\x74\x69\157\x6e\x20\165\x70"]]; goto Uox7y; bZZB6: UCAZN: goto no4rf; WHHNK: $text[] = "\74\x63\x6f\x64\x65\76" . htmlentities("\74\142\76\x62\157\x6c\144\74\57\142\x3e") . "\74\57\x63\x6f\x64\x65\76\x20\x2d\40\x3c\142\76\320\xb6\xd0\270\321\x80\320\xbd\321\213\xd0\xb9\x3c\x2f\142\x3e"; goto dTgIH; bptNK: $text[] = "\x4d\145\156\165\xa\40\x20\40\x20\x42\165\x79\12\40\40\x20\x20\x20\40\40\x20\123\145\162\x76\145\162\xa\40\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\120\x61\171\xa\x20\40\40\40\117\x72\x64\x65\162\12\40\40\x20\40\40\x20\x20\40\x50\141\x79\12\x20\40\40\40\x50\145\x65\162\12\x48\145\154\160\12\40\x20\x20\40\102\x6f\164\xa\x20\40\x20\x20\x41\x6e\144\162\157\x69\x64\12\40\x20\40\x20\111\117\123\12\40\x20\x20\40\127\151\x6e\144\x6f\167\x73\xa\40\40\40\40\115\x61\143\x4f\x53"; goto tpaYl; iZhcV: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x73\145\x74\x48\145\x6c\x70\x41\156\x64\162\157\x69\144"), "\x63\141\154\154\142\141\x63\153\x5f\144\141\164\x61" => "\57\x73\145\x6e\144\122\x65\x70\154\171\x20\x65\x6e\x74\x65\162\40\164\x65\170\x74\x5f\x75\160\x64\141\164\x65\x53\145\x74\x74\x69\x6e\147\137\150\x61\x5f" . __FUNCTION__ . "\x5f\150\141"], ["\164\145\x78\x74" => $this->i18n("\160\x72\145\x76\x69\x65\x77"), "\143\141\154\x6c\142\x61\x63\153\137\x64\x61\x74\x61" => "\57\x73\145\x74\115\x65\x6e\165\104\x65\163\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x68\141"], ["\164\x65\x78\x74" => $this->i18n("\160\162\x65\x76\151\x65\x77\x4d\145\x64\x69\141"), "\143\x61\154\x6c\142\x61\143\x6b\137\x64\x61\164\141" => "\x2f\160\x72\145\x76\x69\145\x77\x4d\145\x64\151\141\x20\150\x61"]]; goto PxIRw; uCcZC: $text[] = "\321\x83\321\x81\xd1\x82\320\xb0\xd0\275\xd0\xbe\xd0\262\xd0\xba\320\xb0\40\320\276\xd0\277\320\xb8\xd1\x81\xd0\260\xd0\xbd\320\xb8\xd0\xb9\x20\xd0\xbf\xd1\203\xd0\275\320\xba\321\202\xd0\xbe\320\xb2\40\320\xbc\320\265\xd0\xbd\xd1\216\40\xd0\277\320\276\320\273\xd1\214\320\267\320\276\320\xb2\xd0\260\321\x82\xd0\265\320\273\321\x8f\x3a\12\320\xbf\320\276\xd0\264\320\xb4\xd0\xb5\xd1\x80\xd0\xb6\xd0\xb8\xd0\xb2\320\260\xd0\xb5\321\x82\321\x81\321\x8f\40\xd1\201\xd0\xbb\xd0\xb5\xd0\264\321\203\321\216\xd1\x89\320\270\320\xb5\x20\xd1\202\xd0\265\320\xb3\xd0\xb8\40\150\164\155\x6c\xa"; goto WHHNK; tebi7: $text[] = "\74\143\x6f\144\x65\x3e\57\x77\x69\156\x64\x6f\167\163\74\57\143\x6f\x64\x65\x3e\x20\55\x20\xd1\201\xd1\x81\xd1\x8b\xd0\xbb\320\272\xd0\xb0\54\40\xd0\277\320\xbe\40\xd0\272\xd0\273\320\xb8\320\272\321\x83\40\320\xbd\xd0\xb0\40\xd0\xba\xd0\276\xd1\202\xd0\xbe\xd1\x80\321\203\321\x8e\x20\xd0\xb1\xd0\xbe\xd1\x82\40\xd0\xbe\321\x82\320\264\320\xb0\321\x81\xd1\x82\x20\320\xb8\xd0\275\xd1\x81\xd1\x82\xd1\x80\xd1\x83\xd0\272\321\206\320\270\xd1\x8e\x20\xd0\xbf\320\276\x20\x77\x69\156\144\x6f\x77\x73"; goto DUaTx; uVPo9: $data[] = [["\x74\145\170\x74" => $this->i18n("\x73\145\x74\125\x73\x65\x72\123\145\162\166\145\162"), "\x63\x61\x6c\x6c\x62\x61\143\153\x5f\x64\141\x74\141" => "\57\163\145\x6e\x64\122\x65\x70\154\171\x20\x65\x6e\x74\145\162\x20\x74\x65\170\x74\x5f\x75\x70\x64\141\x74\x65\x53\145\x74\x74\151\x6e\x67\x5f\x75\x73\137" . __FUNCTION__ . "\137\165\163"], ["\x74\145\170\x74" => $this->i18n("\x70\162\145\x76\x69\x65\167"), "\143\141\154\154\142\x61\143\153\137\144\x61\x74\141" => "\57\x73\145\x74\115\145\156\165\104\145\x73\143\x72\x69\160\x74\x69\157\x6e\40\165\163"]]; goto WRwG7; cssKB: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x73\x65\x74\110\x65\154\160\127\151\156\x64\157\167\163"), "\143\x61\x6c\x6c\142\141\143\153\x5f\x64\x61\164\141" => "\57\163\x65\156\144\122\145\160\x6c\x79\40\145\156\x74\145\x72\40\164\145\170\164\x5f\x75\x70\x64\x61\x74\x65\x53\145\x74\x74\x69\156\147\137\150\167\137" . __FUNCTION__ . "\x5f\x68\x77"], ["\164\x65\x78\164" => $this->i18n("\160\x72\x65\166\151\x65\x77"), "\143\x61\x6c\154\142\141\143\x6b\x5f\144\x61\x74\141" => "\57\x73\x65\x74\x4d\x65\x6e\165\104\145\163\x63\x72\x69\x70\x74\151\x6f\156\40\150\167"], ["\164\145\x78\164" => $this->i18n("\160\x72\x65\166\x69\145\x77\115\x65\144\x69\141"), "\x63\x61\154\x6c\142\x61\143\153\x5f\x64\141\x74\141" => "\x2f\x70\162\145\x76\151\x65\x77\115\x65\x64\151\141\40\150\167"]]; goto hO4bJ; WpKMm: $text[] = "\x3c\x63\157\144\x65\x3e" . htmlentities("\x3c\163\76\x73\164\162\x69\153\145\164\x68\x72\157\x75\x67\150\x3c\x2f\x73\76") . "\74\57\x63\x6f\144\x65\76\40\55\40\74\x73\76\xd0\267\xd0\xb0\321\207\xd0\265\321\x80\xd0\272\xd0\xbd\321\x83\xd1\202\321\213\320\271\74\x2f\x73\76"; goto LYYfj; X6c6s: $this->send($this->cZwKZ["\143\150\x61\164"], "\xd0\xb2\40\321\x82\320\265\320\272\321\201\xd1\202\320\265\x20\xd0\xbe\xd1\210\xd0\270\xd0\xb1\320\272\320\xb0\40\x3c\160\x72\x65\76{$r["\x64\x65\163\x63\162\x69\160\x74\151\157\156"]}\x3c\57\160\162\145\76", $this->cZwKZ["\x6d\x65\x73\x73\x61\x67\145\x5f\151\144"]); goto Bhsug; Q3tkv: jF9je: goto HoUgE; OE5m4: $text[] = "\74\x63\157\144\145\x3e\57\155\141\x63\x6f\163\x3c\57\143\x6f\x64\x65\x3e\40\55\x20\xd1\201\321\x81\xd1\213\320\273\xd0\272\320\xb0\x2c\40\320\xbf\320\276\x20\xd0\272\320\xbb\320\270\xd0\272\321\203\x20\320\xbd\xd0\260\x20\320\xba\xd0\276\xd1\x82\xd0\xbe\321\200\xd1\x83\321\216\x20\320\xb1\xd0\276\321\x82\x20\xd0\276\xd1\x82\320\xb4\320\260\321\x81\321\202\x20\320\270\320\275\xd1\x81\xd1\202\xd1\x80\xd1\x83\320\272\321\206\xd0\270\xd1\216\x20\320\277\xd0\xbe\x20\155\x61\x63\x6f\x73"; goto tebi7; L3OB3: $text[] = "\x3c\x63\x6f\144\145\x3e" . htmlentities("\x3c\141\40\x68\162\145\146\x3d\42\x68\x74\164\x70\72\57\x2f\x77\167\x77\56\x65\170\x61\155\160\154\145\56\x63\157\x6d\x2f\x22\76\151\x6e\x6c\151\156\x65\x20\x55\122\x4c\74\57\141\76") . "\74\57\143\x6f\144\x65\76\40\55\40\74\x61\x20\x68\x72\x65\146\75\47\x68\164\x74\160\x3a\x2f\x2f\x77\167\x77\56\x65\x78\141\x6d\160\154\145\x2e\143\157\155\x2f\47\x3e\151\156\x6c\151\x6e\145\40\125\122\x4c\74\57\141\76"; goto Z0cYy; no4rf: switch ($chapter) { case "\x75\160": goto Hvr4O; sdEhf: $text[] = "\x3c\x63\157\x64\x65\76\176\x6e\141\155\x65\x7e\74\57\143\157\144\145\76\40\320\xb8\xd0\xbc\321\217\x20\321\201\xd0\265\xd1\x80\xd0\xb2\320\xb5\xd1\x80\xd0\xb0"; goto Ue13w; Hvr4O: $text[] = "\x3c\143\x6f\x64\145\76\176\151\x64\x7e\x3c\x2f\143\157\x64\x65\76\x20\xd0\xbd\xd0\276\320\xbc\320\265\321\x80\x20\xd0\267\320\260\xd0\272\320\xb0\xd0\267\320\xb0"; goto eBdbc; eBdbc: $text[] = "\x3c\x63\x6f\x64\145\x3e\x7e\154\x69\x66\x65\x7e\x3c\57\x63\x6f\144\x65\x3e\x20\320\xb4\xd0\273\320\270\xd1\x82\xd0\265\320\xbb\xd1\x8c\xd0\275\xd0\276\321\x81\xd1\202\xd1\214\x20\320\xbf\320\xbe\320\264\320\277\xd0\270\321\201\xd0\272\xd0\xb8"; goto sdEhf; Ue13w: case "\165\x72": goto WKToY; o1vVQ: $text[] = "\74\143\x6f\x64\x65\76\x7e\x64\157\x6d\141\151\x6e\176\74\x2f\x63\x6f\144\x65\x3e\40\xd0\xb0\320\264\xd1\x80\320\265\321\201\40\321\201\320\xb5\321\200\xd0\262\320\xb5\321\200\xd0\xb0"; goto mzy3I; mzy3I: $text[] = "\74\143\x6f\x64\145\76\x7e\x72\x65\146\x65\162\x5f\x6c\x69\x6e\153\x7e\74\x2f\143\157\144\x65\76\x20\321\x80\320\265\xd1\x84\xd0\xb5\321\200\xd0\xb0\320\273\xd1\214\320\xbd\xd0\xb0\xd1\x8f\x20\xd1\201\321\201\xd1\x8b\320\xbb\320\272\xd0\xb0"; goto B3ISQ; WKToY: $text[] = "\x3c\143\157\144\x65\x3e\176\143\157\x64\145\x7e\74\57\143\157\x64\145\76\40\320\xba\xd0\276\320\264\x20\320\272\320\xbe\xd0\xbd\xd1\204\xd0\270\xd0\xb3\xd0\xb0"; goto o1vVQ; B3ISQ: $text[] = "\x3c\x63\x6f\144\145\x3e\x7e\142\x61\x6c\141\156\x63\145\176\x3c\x2f\143\157\x64\x65\x3e\x20\xd0\261\xd0\xb0\320\xbb\320\xb0\320\xbd\xd1\201\40\320\xb2\xd1\x80\xd0\xb5\320\xbc\xd0\xb5\320\xbd\320\xb8"; goto BYfNc; BYfNc: goto CjPpt; goto E4I87; E4I87: case "\x68\142": case "\150\x61": case "\x68\x69": case "\x68\155": case "\x68\x77": goto JBVCE; c0yox: $text[] = "\74\143\157\x64\x65\76\176\160\150\157\164\x6f\x3a\x69\x64\x7e\74\57\x63\157\x64\x65\76\x20\320\263\xd0\xb4\xd0\xb5\40\x69\144\40\x2d\x20\320\xb0\320\xb9\320\264\320\xb8\40\xd1\204\xd0\xbe\321\x82\xd0\xbe\40\50\xd0\xbc\xd0\xbe\xd0\xb6\320\275\320\276\40\321\203\320\xb7\xd0\275\320\xb0\xd1\202\321\x8c\x20\321\201\320\xba\320\xb8\320\275\xd1\x83\320\xb2\x20\321\204\xd0\276\321\x82\320\xbe\x20\320\261\320\xbe\xd1\202\321\x83\x29"; goto PJFXq; JBVCE: $text[] = "\74\x63\157\x64\145\76\x7e\142\141\x6c\141\156\x63\145\176\x3c\x2f\x63\157\x64\145\x3e\40\xd0\261\320\260\xd0\273\320\xb0\xd0\xbd\xd1\201\x20\xd0\262\321\200\xd0\265\xd0\xbc\xd0\xb5\xd0\275\xd0\270"; goto tfc4I; tfc4I: $text[] = "\x3c\143\157\144\x65\x3e\x7e\162\145\x66\x65\162\x5f\x6c\151\156\153\176\x3c\x2f\x63\x6f\144\145\76\x20\xd1\x80\xd0\265\321\x84\320\xb5\321\x80\xd0\xb0\320\xbb\xd1\x8c\xd0\xbd\xd0\xb0\xd1\x8f\x20\xd1\201\321\x81\xd1\x8b\320\xbb\xd0\xba\320\xb0"; goto c0yox; PJFXq: } goto ltuYf; PxIRw: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\163\x65\x74\110\145\154\x70\111\x4f\123"), "\x63\x61\x6c\x6c\x62\141\143\153\137\144\141\x74\x61" => "\57\163\145\156\144\x52\x65\160\x6c\171\40\x65\156\x74\x65\162\40\164\145\170\164\x5f\x75\160\144\141\164\x65\123\145\164\164\151\156\147\x5f\150\151\x5f" . __FUNCTION__ . "\137\150\x69"], ["\x74\x65\x78\x74" => $this->i18n("\x70\x72\145\166\151\x65\x77"), "\x63\141\154\154\142\x61\x63\153\x5f\144\141\164\141" => "\x2f\x73\145\164\x4d\145\x6e\x75\x44\145\x73\x63\x72\x69\160\x74\x69\x6f\156\x20\x68\151"], ["\x74\x65\170\164" => $this->i18n("\x70\x72\145\x76\151\x65\167\115\145\144\151\141"), "\x63\141\154\154\142\x61\x63\153\x5f\144\141\x74\x61" => "\57\160\162\x65\x76\x69\145\x77\115\x65\144\x69\x61\40\150\151"]]; goto cssKB; t90tt: $text[] = "\74\143\157\x64\145\x3e\57\141\x6e\x64\162\x6f\x69\144\x3c\57\x63\157\x64\145\x3e\x20\55\40\xd1\201\xd1\x81\xd1\x8b\xd0\273\xd0\272\320\260\x2c\x20\xd0\277\xd0\276\40\320\xba\xd0\273\xd0\270\320\xba\xd1\x83\x20\xd0\xbd\xd0\xb0\x20\xd0\xba\320\276\xd1\202\320\xbe\xd1\x80\321\203\xd1\x8e\x20\320\261\320\276\xd1\202\x20\320\xbe\xd1\202\xd0\264\xd0\260\321\201\xd1\202\40\320\xb8\xd0\xbd\321\x81\321\x82\xd1\x80\xd1\x83\xd0\272\321\x86\xd0\270\xd1\x8e\40\320\xbf\xd0\xbe\40\x61\x6e\144\x72\x6f\x69\x64"; goto HSy9g; tpaYl: goto jF9je; goto bZZB6; ltuYf: QBb5V: goto DdkPk; qhSwT: $data[] = [["\x74\x65\170\164" => $this->i18n("\x73\x74\x72\165\x63\x74\x75\x72\x65\115\145\x6e\x75"), "\x63\141\154\x6c\x62\x61\143\153\x5f\144\141\x74\x61" => "\57\x73\145\x74\115\145\156\165\104\145\x73\143\x72\151\160\x74\151\157\156"], ["\x74\x65\x78\x74" => $this->i18n("\x62\141\x63\153"), "\143\x61\x6c\x6c\142\x61\143\153\x5f\144\141\164\141" => "\57\x63\157\156\x66\x69\x67"]]; goto uCcZC; wFLXu: $text[] = "\x3c\x63\157\x64\x65\76" . htmlentities("\x3c\x75\x3e\x75\x6e\x64\x65\162\x6c\x69\156\145\x3c\57\x75\76") . "\74\57\143\x6f\144\145\76\x20\55\x20\74\x75\x3e\320\xbf\xd0\xbe\320\264\xd1\x87\xd0\265\321\200\xd0\272\320\xbd\xd1\203\xd1\x82\xd1\213\320\271\74\x2f\x75\76"; goto WpKMm; Awwt7: $text[] = "\12{$chapter}\72\xa\x3c\x70\162\x65\x3e{$t}\x3c\x2f\160\x72\x65\76"; goto Ns1s7; Ns1s7: txSKK: goto Q3tkv; Uox7y: $data[] = [["\164\145\170\x74" => $this->i18n("\x73\x65\x74\x55\x73\145\x72\x50\145\145\x72"), "\143\x61\154\154\142\141\x63\153\137\144\x61\x74\141" => "\57\x73\145\x6e\144\x52\145\x70\154\171\x20\x65\x6e\164\x65\162\40\x74\145\170\164\137\x75\x70\144\x61\164\x65\x53\x65\164\x74\x69\156\x67\137\x75\x72\137" . __FUNCTION__ . "\137\165\162"], ["\164\x65\170\x74" => $this->i18n("\160\162\145\166\x69\145\167"), "\143\x61\x6c\154\142\x61\x63\x6b\137\144\x61\x74\x61" => "\57\x73\145\x74\x4d\145\156\x75\x44\145\163\143\x72\151\160\x74\x69\157\x6e\x20\x75\x72"]]; goto bvpvF; HoUgE: $r = $this->update($this->cZwKZ["\x63\150\141\164"], $this->cZwKZ["\x6d\145\x73\163\x61\x67\x65\x5f\151\x64"], implode("\xa", $text ?: []), $data ?: false); goto oi5Cy; t8ydI: $data[] = [["\x74\145\170\x74" => $this->i18n("\x73\145\164\x55\163\145\162\x42\x75\171"), "\x63\x61\x6c\154\x62\x61\143\x6b\137\144\x61\164\x61" => "\57\x73\145\156\x64\122\x65\x70\x6c\171\40\145\x6e\x74\x65\162\40\164\145\x78\164\137\165\160\x64\141\164\x65\123\145\164\164\x69\156\147\x5f\x75\142\x5f" . __FUNCTION__ . "\x5f\165\x62"], ["\164\x65\x78\164" => $this->i18n("\x70\x72\x65\166\x69\145\167"), "\x63\x61\154\x6c\142\x61\x63\x6b\x5f\x64\x61\164\141" => "\x2f\163\x65\164\115\x65\x6e\x75\104\x65\x73\x63\x72\151\160\164\x69\x6f\156\x20\165\x62"]]; goto uVPo9; Bhsug: BPwM1: goto z0HNE; bvpvF: $data[] = [["\x74\145\170\164" => $this->i18n("\x73\x65\x74\110\x65\154\160"), "\x63\141\154\x6c\142\x61\143\153\137\x64\141\x74\x61" => "\57\x73\x65\156\144\x52\145\160\x6c\171\x20\x65\x6e\164\145\x72\x20\x74\x65\x78\164\x5f\x75\160\x64\141\x74\145\123\145\x74\x74\151\x6e\147\x5f\150\x5f" . __FUNCTION__ . "\137\x68"], ["\164\145\170\x74" => $this->i18n("\x70\162\x65\166\x69\145\167"), "\143\141\x6c\154\x62\x61\143\x6b\137\144\141\x74\x61" => "\57\x73\x65\x74\x4d\x65\x6e\x75\104\145\x73\143\162\151\160\x74\x69\157\x6e\40\x68"]]; goto qMfU2; BdXnl: $text[] = "\x3c\x63\157\144\145\x3e" . htmlentities("\x3c\143\157\x64\145\76\151\156\x6c\151\156\145\40\146\x69\x78\x65\144\x2d\x77\x69\144\x74\150\x20\143\157\x64\145\x3c\57\143\157\144\145\76") . "\74\57\143\x6f\x64\x65\76\40\x2d\x20\x3c\143\157\x64\x65\76\320\xbc\320\xbe\320\275\xd0\xbe\321\x88\320\xb8\321\200\320\270\320\xbd\320\xbd\321\x8b\xd0\xb9\x3c\x2f\x63\x6f\144\145\x3e"; goto L3OB3; DUaTx: if ($chapter) { goto UCAZN; } goto bptNK; aUpMZ: $text[] = "\12\74\142\x3e\320\276\xd0\261\xd1\x8f\xd0\267\320\xb0\xd1\202\xd0\265\320\273\xd1\214\320\xbd\320\276\x20\xd0\277\xd1\x80\xd0\xbe\320\262\320\265\xd1\x80\321\x8c\321\202\xd0\xb5\40\x70\162\x65\x76\151\145\167\x20\320\xbf\320\xbe\xd1\201\320\xbb\320\xb5\x20\321\x83\321\201\xd1\x82\xd0\xb0\xd0\xbd\xd0\xbe\320\262\xd0\xba\xd0\270\x20\321\x82\320\265\xd0\xba\xd1\x81\321\x82\320\260\x2c\40\xd0\xb5\xd1\x81\320\xbb\xd0\xb8\40\xd1\202\320\265\320\xba\xd1\201\321\x82\40\320\xbd\320\xb5\x20\320\276\xd1\202\320\xbe\320\261\321\200\xd0\xb0\320\xb7\xd0\270\320\273\321\201\xd1\x8f\40\xd0\xb7\320\xbd\320\260\xd1\x87\xd0\270\321\x82\x20\320\262\x20\xd1\202\320\xb5\xd0\272\xd1\201\321\202\320\xb5\x20\xd0\265\321\201\xd1\202\321\x8c\x20\xd0\xbe\321\210\xd0\270\xd0\261\xd0\xba\xd0\260\40\150\x74\x6d\x6c\55\321\202\320\265\xd0\263\xd0\xb0\40\xd0\270\x20\321\x8d\xd1\202\xd0\xbe\40\xd0\xbc\xd0\265\320\275\321\216\x20\320\xbd\320\265\x20\xd0\261\321\x83\320\xb4\xd0\xb5\321\202\x20\xd1\x80\xd0\260\320\xb1\xd0\276\xd1\202\320\xb0\321\202\321\x8c\40\xd1\x83\x20\xd0\xbf\xd0\276\xd0\273\xd1\x8c\xd0\267\xd0\xbe\xd0\262\xd0\260\xd1\202\320\265\xd0\xbb\xd1\217\x3c\x2f\142\76"; goto MWjog; Z0cYy: $text[] = "\x3c\x63\157\144\145\x3e\57\142\157\164\74\x2f\x63\157\144\145\x3e\40\x2d\x20\321\201\321\201\xd1\213\320\xbb\320\272\xd0\xb0\54\x20\xd0\277\xd0\xbe\40\xd0\xba\320\273\xd0\xb8\320\272\321\x83\40\xd0\275\xd0\xb0\40\320\xba\xd0\276\xd1\202\320\276\xd1\x80\xd1\203\321\216\x20\xd0\xb1\320\276\xd1\202\x20\xd0\xbe\xd1\x82\xd0\xb4\320\260\xd1\x81\xd1\x82\x20\xd0\xb8\xd0\275\321\201\321\x82\xd1\200\321\x83\xd0\272\xd1\x86\xd0\270\xd1\216\40\320\xbf\xd0\276\x20\x62\157\164"; goto t90tt; hO4bJ: $data[] = [["\164\x65\170\164" => $this->i18n("\163\145\x74\x48\x65\x6c\160\115\141\x63\117\123"), "\143\x61\154\x6c\x62\141\143\x6b\137\x64\141\x74\141" => "\x2f\163\145\x6e\x64\x52\145\160\x6c\x79\x20\145\156\x74\145\x72\x20\164\x65\x78\164\137\x75\x70\x64\141\164\145\123\145\x74\x74\x69\156\147\137\150\155\137" . __FUNCTION__ . "\137\x68\x6d"], ["\164\x65\x78\164" => $this->i18n("\160\x72\x65\x76\x69\145\x77"), "\x63\141\154\x6c\x62\x61\143\x6b\137\144\x61\164\141" => "\x2f\163\145\x74\115\145\156\165\104\x65\x73\143\x72\151\160\x74\x69\x6f\x6e\x20\x68\x6d"], ["\x74\x65\170\164" => $this->i18n("\160\162\x65\166\151\x65\167\x4d\145\144\x69\141"), "\143\x61\x6c\154\142\x61\143\x6b\137\x64\x61\x74\x61" => "\57\160\x72\145\166\151\145\x77\115\145\x64\x69\141\40\150\x6d"]]; goto qhSwT; dTgIH: $text[] = "\x3c\x63\157\144\x65\76" . htmlentities("\74\151\76\151\x74\x61\x6c\151\x63\74\x2f\151\76") . "\74\57\143\157\x64\x65\76\40\x2d\x20\74\x69\76\xd0\xba\321\203\xd1\x80\321\201\xd0\xb8\xd0\xb2\x3c\x2f\x69\76"; goto wFLXu; DdkPk: CjPpt: goto aUpMZ; LYYfj: $text[] = "\x3c\143\x6f\x64\x65\x3e" . htmlentities("\x3c\x73\x70\141\x6e\x20\143\154\141\x73\x73\x3d\x22\164\147\55\x73\x70\157\x69\154\145\x72\x22\x3e\x73\160\157\x69\154\x65\x72\x3c\57\x73\160\141\x6e\x3e") . "\x3c\57\x63\x6f\x64\x65\x3e\x20\x2d\x20\74\x74\147\x2d\x73\x70\x6f\151\154\145\x72\x3e\321\201\320\272\321\x80\xd1\213\xd1\202\321\x8b\320\271\74\57\164\x67\55\x73\x70\x6f\151\154\145\162\x3e"; goto BdXnl; hztYG: $data[] = [["\x74\145\170\164" => $this->i18n("\163\145\164\x55\x73\x65\x72\115\145\156\165"), "\x63\x61\154\x6c\142\141\143\x6b\137\144\141\164\141" => "\57\x73\145\x6e\144\x52\145\x70\154\171\x20\145\156\x74\x65\162\x20\x74\x65\170\164\137\x75\160\x64\141\164\x65\x53\145\164\164\x69\156\x67\137\x75\155\137" . __FUNCTION__ . "\x5f\x75\x6d"], ["\x74\x65\x78\164" => $this->i18n("\x70\162\145\x76\x69\x65\167"), "\x63\x61\x6c\154\142\x61\143\x6b\137\x64\141\164\x61" => "\x2f\163\x65\x74\x4d\x65\156\165\x44\x65\x73\143\x72\151\x70\164\151\157\156\40\165\155"]]; goto t8ydI; qMfU2: $data[] = [["\x74\145\x78\164" => $this->i18n("\x73\145\x74\x48\145\x6c\160\x42\157\x74"), "\x63\x61\x6c\x6c\x62\x61\x63\153\137\144\x61\164\x61" => "\57\x73\x65\156\x64\122\145\160\154\171\40\x65\x6e\x74\145\162\x20\x74\145\170\164\x5f\x75\160\144\141\164\x65\x53\145\x74\164\151\156\147\x5f\x68\x62\137" . __FUNCTION__ . "\137\x68\x62"], ["\x74\145\x78\164" => $this->i18n("\160\162\145\x76\151\x65\167"), "\143\141\x6c\154\142\141\143\153\137\144\x61\164\x61" => "\x2f\163\145\164\x4d\x65\x6e\x75\x44\145\163\143\162\x69\x70\x74\151\157\156\x20\x68\x62"], ["\x74\145\170\164" => $this->i18n("\x70\162\x65\x76\x69\145\167\x4d\145\x64\151\x61"), "\x63\141\x6c\154\x62\x61\143\153\137\144\141\164\x61" => "\x2f\160\162\145\166\x69\x65\167\115\x65\x64\151\x61\x20\150\142"]]; goto iZhcV; HSy9g: $text[] = "\74\143\x6f\144\145\76\x2f\151\157\163\74\x2f\143\157\144\145\x3e\40\55\x20\xd1\201\xd1\201\321\213\320\xbb\320\xba\xd0\xb0\54\x20\320\277\xd0\xbe\x20\xd0\272\320\273\320\xb8\xd0\xba\321\x83\40\320\275\320\xb0\40\320\272\xd0\xbe\321\202\xd0\276\xd1\200\321\203\xd1\x8e\40\320\261\xd0\xbe\xd1\x82\x20\xd0\xbe\xd1\x82\xd0\xb4\320\260\321\x81\xd1\x82\x20\320\xb8\xd0\xbd\321\x81\xd1\202\321\x80\xd1\x83\320\272\xd1\x86\xd0\270\321\x8e\x20\320\xbf\xd0\xbe\x20\151\x6f\x73"; goto OE5m4; WRwG7: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\163\145\164\x55\163\x65\162\117\x72\144\145\x72"), "\x63\x61\x6c\x6c\142\141\143\x6b\137\x64\141\164\141" => "\x2f\163\145\156\x64\122\145\x70\x6c\171\x20\145\156\x74\x65\162\40\164\x65\x78\x74\137\165\x70\144\141\164\x65\x53\x65\x74\164\x69\156\x67\x5f\x75\157\137" . __FUNCTION__ . "\137\x75\x6f"], ["\164\145\170\164" => $this->i18n("\x70\x72\145\x76\151\x65\167"), "\x63\141\x6c\154\142\141\x63\x6b\x5f\144\x61\164\x61" => "\x2f\x73\x65\x74\x4d\145\156\165\104\x65\x73\x63\x72\151\160\x74\151\157\156\40\165\x6f"]]; goto nWaiA; MWjog: if (!($t = $this->getSetting($chapter))) { goto txSKK; } goto Awwt7; oi5Cy: if (!($r["\157\153"] == false && !preg_match("\x7e\155\145\x73\163\x61\147\145\x20\x69\163\x20\x6e\157\x74\x20\155\157\144\x69\146\x69\145\x64\176", $r["\144\145\163\x63\x72\x69\x70\x74\151\x6f\156"]))) { goto BPwM1; } goto X6c6s; z0HNE: } public function unitConf($data = false, $key = "\143\x6f\x6e\146\x69\147", $method = "\120\125\x54") { goto J6FsC; snzFu: return $res; goto cpv44; o8NxV: $res = curl_exec($ch); goto k8m9K; J6FsC: $ch = curl_init(); goto wOFSh; wOFSh: curl_setopt_array($ch, [CURLOPT_URL => "\x68\164\164\x70\72\x2f\57\x75\x6e\151\164\x3a\x38\60\70\x30\x2f{$key}", CURLOPT_CUSTOMREQUEST => $method, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $method == "\x44\105\114\x45\x54\105" ? false : (is_object($data) ? ["\146\x69\x6c\x65" => $data] : json_encode($data)), CURLOPT_TIMEOUT => 5]); goto o8NxV; k8m9K: curl_close($ch); goto snzFu; cpv44: } public function unitConfig() { goto i3qOM; j0G8s: $res[] = $this->unitConf(curl_file_create($this->N3qeV), "\x63\x65\162\x74\x69\x66\x69\x63\141\164\x65\x73\x2f\x63\145\162\164\x62\x6f\x74"); goto eJa0o; xV07N: return $res; goto zd1pO; oPVkj: if (!file_exists($this->N3qeV)) { goto qxPzb; } goto j0G8s; eJa0o: qxPzb: goto YpR3M; YpR3M: $data = ["\x6c\151\x73\164\x65\156\x65\x72\163" => ["\52\x3a\70\64\x34\63" => ["\x70\141\x73\x73" => "\x72\x6f\x75\164\x65\163\57\x6f\164\150\x65\162", "\164\154\163" => ["\143\145\162\164\151\x66\151\143\x61\x74\145" => !file_exists($this->N3qeV) ? ["\x62\x75\x6e\x64\154\145"] : ["\142\165\156\144\154\x65", "\x63\x65\x72\164\142\x6f\x74"]]], "\52\72\x38\x30" => ["\x70\x61\163\x73" => "\x72\157\165\164\145\163\x2f\143\145\x72\164\142\157\164"]], "\162\x6f\x75\x74\145\163" => ["\157\164\x68\145\x72" => [["\155\141\164\143\x68" => ["\x75\x72\151" => "\x2f\x79\157\x6f\x6d\x6f\x6e\x65\171"], "\x61\143\x74\151\157\x6e" => ["\160\141\x73\163" => "\x61\x70\x70\x6c\151\x63\141\x74\151\x6f\156\163\x2f\171\x6f\157\x6d\x6f\156\145\171"]], ["\155\141\164\x63\x68" => ["\x75\162\151" => "\x2f\167\x61\x6c\154\x65\x74"], "\x61\x63\164\151\157\156" => ["\160\141\163\163" => "\141\x70\160\x6c\151\143\141\x74\151\157\156\163\57\x77\x61\154\154\145\x74"]], ["\155\141\x74\x63\150" => ["\x75\x72\x69" => "\x2f\164\x6c\x67\x72\155"], "\x61\143\164\151\x6f\156" => ["\160\x61\x73\163" => "\x61\x70\x70\154\x69\143\141\x74\x69\157\x6e\163\x2f\164\154\x67\x72\x6d"]], ["\x6d\141\x74\x63\150" => ["\165\162\x69" => "\x2f\x63\162\171\x70\x74\x6f\x62\x6f\x74"], "\141\143\x74\x69\157\x6e" => ["\160\141\x73\163" => "\141\x70\160\x6c\x69\143\x61\x74\x69\x6f\x6e\x73\x2f\143\162\171\160\164\x6f"]], ["\x6d\141\164\x63\x68" => ["\x75\162\151" => "\x2f\x63\x72\171\160\x74\157\x6d\165\x73"], "\x61\143\164\x69\x6f\x6e" => ["\x70\141\163\x73" => "\141\x70\160\154\x69\143\141\164\x69\x6f\156\x73\57\x63\162\x79\x70\164\x6f\x6d\x75\x73"]]], "\143\x65\x72\x74\142\x6f\x74" => [["\155\141\x74\x63\x68" => ["\165\x72\151" => "\x2f\x2e\x77\145\154\154\55\x6b\x6e\x6f\167\156\52"], "\x61\143\x74\x69\157\x6e" => ["\x73\x68\x61\162\x65" => "\x2f\143\145\162\164\x73\x24\x75\162\151"]]]], "\x61\x70\160\x6c\x69\x63\x61\164\151\x6f\x6e\x73" => ["\x74\x6c\x67\x72\x6d" => ["\164\x79\160\145" => "\160\x68\x70", "\162\157\x6f\164" => "\x2f\141\160\x70", "\163\x63\162\x69\160\164" => "\164\154\x67\162\x6d\56\x70\150\160", "\x75\163\x65\162" => "\x72\157\157\x74", "\x67\162\x6f\x75\x70" => "\162\157\157\x74"], "\x79\x6f\x6f\x6d\x6f\x6e\x65\x79" => ["\x74\171\x70\145" => "\160\x68\160", "\x72\157\157\164" => "\57\x61\160\x70", "\163\143\162\x69\x70\164" => "\x79\157\x6f\155\157\156\x65\171\56\x70\x68\160", "\165\163\x65\162" => "\x72\x6f\x6f\x74", "\147\162\157\165\x70" => "\x72\157\x6f\164"], "\x77\x61\154\x6c\145\164" => ["\164\171\x70\145" => "\160\150\160", "\162\x6f\x6f\164" => "\x2f\141\x70\x70", "\163\x63\162\x69\160\164" => "\167\x61\154\154\145\x74\56\160\x68\x70", "\165\x73\145\x72" => "\x72\157\157\x74", "\x67\x72\x6f\x75\x70" => "\x72\x6f\x6f\164"], "\x63\162\x79\160\x74\x6f" => ["\x74\x79\160\x65" => "\x70\x68\160", "\x72\x6f\x6f\x74" => "\57\141\160\x70", "\163\x63\x72\151\x70\164" => "\x63\x72\171\160\x74\157\56\160\150\x70", "\x75\x73\x65\162" => "\x72\157\x6f\x74", "\x67\162\157\165\x70" => "\x72\x6f\x6f\164"], "\x63\162\x79\x70\164\157\155\165\163" => ["\x74\171\x70\x65" => "\160\x68\160", "\162\x6f\x6f\164" => "\x2f\141\160\x70", "\x73\143\x72\151\x70\x74" => "\143\x72\171\160\164\x6f\x6d\165\x73\56\x70\x68\160", "\x75\163\x65\x72" => "\162\157\x6f\x74", "\x67\x72\157\165\160" => "\162\x6f\x6f\x74"]], "\141\143\x63\145\163\163\137\154\x6f\x67" => "\57\x6c\x6f\147\x73\57\165\x6e\151\164\137\x61\143\143\145\163\x73"]; goto d2pra; d2pra: $res[] = $this->unitConf($data, "\x63\x6f\x6e\x66\151\147"); goto xV07N; i3qOM: $res[] = $this->unitConf(curl_file_create("\57\143\145\x72\x74\x73\x2f\142\165\x6e\144\154\145"), "\x63\145\162\x74\151\x66\x69\143\141\164\x65\163\x2f\142\165\156\x64\154\x65"); goto oPVkj; zd1pO: } public function export() { goto Zf4gS; FaR3N: IayiW: goto pkiOn; xxgVh: exec("\x6d\171\163\x71\x6c\144\165\x6d\160\40\x2d\x68\x20\x64\142\40\55\x75\x20\x72\157\x6f\164\x20\x74\157\167\145\x72\40\x3e\40{$path}"); goto MdYNG; G9r2L: return $r; goto rpimw; AfTvN: unlink($path); goto G9r2L; ZdWz4: mkdir("\57\143\x6f\156\x66\151\147"); goto FaR3N; Zf4gS: if (file_exists("\x2f\143\157\156\x66\x69\x67")) { goto IayiW; } goto ZdWz4; pkiOn: $path = "\x2f\143\157\156\146\151\147\57\151\x6d\x70\157\x72\164\x2e\x73\161\154"; goto xxgVh; MdYNG: $r = $this->sendFile($this->jMTmt["\x61\144\155\x69\156"], curl_file_create($path, posted_filename: "\144\x75\x6d\160\137" . date("\x59\x5f\x6d\137\144\x5f\x48\137\x69\x5f\x73") . "\56\163\x71\154")); goto AfTvN; rpimw: } public function openLinkNode() { goto xrylu; sY2cF: array_unshift($unit["\162\157\x75\164\x65\x73"], ["\x6d\x61\164\x63\150" => ["\165\x72\151" => "\176\134\56\50\164\x61\162\51", "\x61\162\147\165\x6d\x65\x6e\x74\x73" => ["\150" => substr(md5($this->jMTmt["\x61\x64\155\x69\x6e"] . $this->jMTmt["\153\x65\x79"]), 0, 8)]], "\x61\x63\x74\151\x6f\x6e" => ["\x73\x68\141\x72\145" => ["\57\44\x75\162\x69"]]]); goto Fh1Q5; xrylu: $unit = json_decode(file_get_contents("\x2f\143\157\156\146\x69\147\57\x75\156\151\x74\x2e\152\x73\x6f\156"), true); goto exZ1N; exZ1N: array_unshift($unit["\x72\157\165\164\145\x73"], ["\155\141\x74\143\x68" => ["\x75\x72\151" => "\176\134\x2e\x28\164\141\162\51"], "\x61\143\x74\151\157\x6e" => ["\162\145\x74\165\x72\156" => 404]]); goto sY2cF; Fh1Q5: file_put_contents("\x2f\143\x6f\x6e\146\151\147\x2f\x75\x6e\x69\164\x74\155\160\x2e\152\x73\157\x6e", json_encode($unit, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto YgBBb; YgBBb: } public function import() { goto oRaKj; L3GHS: exec("\155\171\163\x71\x6c\x20\55\150\40\x64\142\40\55\x75\x20\x72\x6f\157\164\40\x74\157\167\145\162\x20\74\40{$path}"); goto Rlv3o; pPff8: $this->menu(); goto d4Ftj; Rlv3o: unlink($path); goto pPff8; oRaKj: $path = "\x2f\x63\157\x6e\x66\151\x67\x2f\x69\155\160\157\x72\x74\56\x73\x71\x6c"; goto kpFO0; RRTZw: file_put_contents($path, $dump); goto L3GHS; B4lIf: $dump = file_get_contents($this->file . $r["\162\145\x73\165\154\164"]["\x66\151\154\145\x5f\160\x61\x74\150"]); goto RRTZw; kpFO0: $r = $this->request("\x67\145\164\106\x69\x6c\145", ["\146\x69\x6c\145\x5f\x69\144" => $this->cZwKZ["\x66\x69\x6c\145\x5f\151\144"]]); goto B4lIf; d4Ftj: } public function updateExpireNotify($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "\145\x78\x70\151\x72\145\116\x6f\164\151\146\171", "\x63\157\156\x66\x69\147"); } public function updateExpireDelete($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "\x65\x78\x70\x69\162\145\104\145\x6c\145\x74\x65", "\143\157\x6e\x66\x69\x67"); } public function updateExpirePay($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "\145\170\160\151\x72\145\x50\141\x79", "\143\157\x6e\146\x69\x67"); } public function updateReferal($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "\162\145\146\145\162\x61\154", "\x6d\x65\156\x75"); } public function updateBonusLimit($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "\142\x6f\x6e\165\x73\x6c\x69\155\151\x74", "\x6d\145\156\165"); } public function setLimitOrders(int $text) { $this->updateSetting(!empty($text) ? $text : '', "\157\x72\x64\x65\162\163\154\151\x6d\x69\164", "\143\x6f\156\x66\151\147"); } public function debug() { $this->updateSetting(!$this->getSetting("\x64\145\x62\x75\147"), "\x64\145\x62\165\x67", "\x63\x6f\156\146\x69\x67"); } public function showwebhook() { $this->updateSetting(!$this->getSetting("\163\x68\x6f\x77\x77\145\142\150\x6f\157\153"), "\x73\150\x6f\167\167\x65\142\x68\157\157\x6b", "\x70\141\x79\x6d\x65\x6e\x74\163"); } public function yoomoney() { goto i0Xg2; DUOqp: $data[] = [["\164\145\170\x74" => $this->i18n("\163\145\164\123\x65\143\162\145\164") . ($secret ? "\x3a\40{$secret}" : ''), "\143\141\154\x6c\142\141\143\x6b\137\144\x61\164\x61" => "\x2f\163\x65\x6e\144\122\145\x70\x6c\171\x20\x65\x6e\x74\x65\162\x20\x73\145\x63\x72\x65\x74\137\x75\x70\x64\141\x74\x65\123\145\164\x74\151\156\147\137\163\x65\143\x72\145\x74\137" . __FUNCTION__]]; goto Hm1C4; vKPpT: $text[] = "\xd1\201\xd1\201\321\x8b\320\xbb\xd0\xba\320\260\x20\320\264\xd0\xbb\xd1\x8f\40\320\xbd\xd0\276\xd1\202\320\xb8\321\x84\320\xb8\320\272\320\260\xd1\206\xd0\270\xd0\271\x20\74\143\x6f\x64\145\x3e\x68\x74\x74\x70\163\x3a\x2f\57{$this->BaewA}\72\x38\x34\64\63\x2f\171\x6f\157\155\x6f\x6e\145\171\74\57\143\157\144\145\76"; goto LTaZL; OB_aW: $success = $this->getSetting("\x73\x75\143\x63\145\x73\x73\125\162\154"); goto nQslZ; PKPh0: $data[] = [["\164\x65\170\164" => $this->i18n("\x62\141\143\x6b"), "\x63\141\x6c\x6c\142\x61\143\153\x5f\x64\141\164\141" => "\57\160\141\x79\155\145\156\164\163"]]; goto iXy88; Hm1C4: $data[] = [["\164\145\x78\164" => $this->i18n("\163\x65\x74\x50\150\x72\141\x73\x65") . ($phrase ? "\x3a\x20{$phrase}" : ''), "\x63\141\x6c\x6c\142\141\143\153\x5f\x64\141\164\141" => "\57\x73\145\x6e\x64\122\145\160\154\171\40\x65\156\x74\145\x72\x20\x70\150\x72\x61\163\x65\137\x75\160\144\x61\x74\x65\x50\x68\162\141\x73\145"]]; goto M5drC; nQslZ: $phrase = $this->getSetting("\160\150\x72\x61\x73\x65"); goto R8cBI; LTaZL: $text[] = "\321\x81\320\xba\xd0\xbe\xd0\xbf\xd0\270\xd1\x80\321\x83\320\271\xd1\x82\xd0\xb5\x20\xd1\x81\xd0\265\320\272\321\200\xd0\xb5\321\202"; goto ISdmk; ISdmk: $text[] = "\320\xbe\321\x82\xd0\274\xd0\xb5\321\202\321\214\321\202\xd0\xb5\40\xd0\263\320\xb0\320\273\xd0\276\xd1\x87\320\xba\321\x83\x20\74\x62\76\x3c\x69\x3e\320\276\xd1\x82\320\277\321\x80\320\xb0\xd0\xb2\320\xbb\xd1\217\xd1\202\321\x8c\40\x48\x54\124\x50\x2d\xd1\203\xd0\xb2\xd0\xb5\xd0\xb4\xd0\xbe\320\274\xd0\273\xd0\xb5\320\xbd\320\270\321\217\x3c\x2f\151\x3e\x3c\x2f\x62\x3e"; goto GnC9w; dJ7Os: $data[] = [["\164\145\x78\x74" => $this->i18n("\163\145\164\127\x61\154\154\145\164") . ($wallet ? "\72\x20{$wallet}" : ''), "\x63\141\x6c\x6c\x62\141\143\x6b\137\144\x61\x74\141" => "\x2f\163\145\156\x64\x52\x65\160\x6c\x79\40\x65\x6e\x74\x65\162\x20\167\x61\x6c\x6c\x65\x74\137\165\x70\x64\x61\164\x65\123\x65\164\164\151\x6e\x67\x5f\167\141\x6c\154\145\164\137" . __FUNCTION__]]; goto DUOqp; upBjC: $wallet = $this->getSetting("\167\141\154\154\145\164"); goto OB_aW; GnC9w: $text[] = "\xa\xd0\262\40\320\xb1\320\276\xd1\202\320\xb5\40\xd1\x83\321\x81\xd1\202\xd0\260\320\xbd\xd0\xbe\320\262\xd0\xb8\xd1\202\xd0\xb5\40\320\xbd\xd0\xbe\320\xbc\320\xb5\321\200\x20\xd0\xba\320\xbe\321\x88\320\xb5\xd0\273\xd1\x8c\xd0\272\xd0\260\x2c\x20\321\201\xd0\xb5\xd0\xba\321\x80\xd0\xb5\321\x82\x2c\x20\320\272\xd0\xbe\xd0\264\xd0\xbe\xd0\xb2\xd1\x83\321\x8e\40\321\x84\xd1\200\320\xb0\xd0\xb7\321\x83\x20\xd0\xb1\320\xbe\321\x82\xd0\260"; goto tmiKx; iXy88: $text[] = "\320\xbd\320\xb0\40\321\x81\xd1\202\321\200\320\xb0\320\275\xd0\xb8\xd1\x86\xd0\265\40\150\x74\164\160\163\x3a\57\x2f\171\157\x6f\155\157\x6e\145\x79\x2e\x72\165\x2f\x74\162\141\156\x73\146\x65\x72\x2f\x6d\171\163\145\162\x76\151\143\x65\x73\57\x68\x74\164\160\55\x6e\x6f\164\151\146\151\x63\x61\164\x69\157\156\x20\72"; goto vKPpT; i0Xg2: $secret = $this->getSetting("\x73\145\x63\162\145\x74"); goto upBjC; R8cBI: $debug = $this->getSetting("\171\144"); goto dJ7Os; M5drC: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x73\145\x74\123\165\x63\143\x65\163\x73\125\162\154") . ($success ? "\72\x20{$success}" : ''), "\143\x61\154\154\142\x61\143\153\x5f\x64\x61\x74\x61" => "\57\163\x65\x6e\144\x52\x65\x70\x6c\x79\40\145\x6e\164\x65\x72\x20\154\151\x6e\x6b\137\165\x70\144\x61\164\x65\x53\x65\x74\x74\x69\156\147\x5f\163\x75\x63\x63\145\x73\x73\x55\x72\x6c\x5f" . __FUNCTION__]]; goto syZCW; syZCW: $data[] = [["\x74\145\170\164" => $this->i18n("\x77\x65\x62\x68\x6f\157\x6b\x44\x65\142\x75\x67") . "\72\40" . ($debug ? "\x6f\156" : "\x6f\x66\146"), "\x63\141\x6c\154\142\x61\x63\x6b\137\x64\x61\x74\x61" => "\57\167\x65\142\150\157\157\x6b\x44\x65\142\x75\147"]]; goto PKPh0; tmiKx: $this->uors($text, $data); goto muN_f; muN_f: } public function yoomoneyLink($id, $price, $menupage) { goto HIeqB; ZPzD0: $this->paymentsDebug($data, $res); goto jOX8Y; WMgBe: $ch = curl_init(); goto ljRQo; ukmYV: $data = ["\x72\x65\x63\x65\x69\166\145\x72" => $wallet, "\x6c\x61\142\x65\154" => "{$phrase}\x3a{$id}\72{$this->cZwKZ["\x63\150\x61\x74"]}\x3a{$this->cZwKZ["\x6d\145\x73\x73\x61\147\x65\x5f\x69\144"]}\x3a{$menupage}", "\x71\x75\151\x63\x6b\160\141\171\55\146\x6f\x72\155" => "\x64\157\156\141\164\145", "\x73\x75\x6d" => $price]; goto WMgBe; ljRQo: curl_setopt_array($ch, [CURLOPT_URL => "\x68\x74\164\x70\x73\x3a\x2f\57\x79\x6f\157\155\157\x6e\145\x79\56\x72\x75\x2f\x71\165\x69\143\153\160\141\171\57\143\157\156\146\151\x72\x6d\56\170\x6d\x6c", CURLOPT_CUSTOMREQUEST => "\120\117\x53\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $data, CURLOPT_TIMEOUT => 5]); goto jMCjm; C6xIS: $secret = $this->getSetting("\x73\145\143\162\x65\x74"); goto B2SXz; jMCjm: $res = curl_exec($ch); goto PjdCb; jOX8Y: preg_match("\176\x28\x68\164\164\160\163\x5b\x5e\x5c\x73\x5d\53\x29\x7e", $res, $m); goto nh6oI; OFBqE: return $m[1] ?: false; goto gsq26; PjdCb: curl_close($ch); goto ZPzD0; nh6oI: oqvm6: goto OFBqE; ZEDnt: $phrase = $this->getSetting("\160\x68\162\x61\x73\145"); goto C6xIS; B2SXz: if (!(!empty($secret) && !empty($wallet) && !empty($phrase))) { goto oqvm6; } goto ukmYV; HIeqB: $wallet = $this->getSetting("\167\x61\154\154\145\x74"); goto ZEDnt; gsq26: } public function wallet() { goto CFlqh; KXpCl: $text[] = "\xd1\x81\321\201\321\213\xd0\273\320\xba\320\260\40\320\264\xd0\273\321\x8f\40\320\275\320\276\321\202\xd0\xb8\321\204\xd0\270\xd0\xba\xd0\260\321\206\320\xb8\320\271\40\x3c\143\157\x64\x65\x3e\150\164\x74\x70\163\72\57\x2f{$domain}\x3a\70\64\x34\x33\57\167\141\x6c\154\145\164\x3c\57\143\x6f\x64\145\76"; goto N0Lrk; B4vYS: $text[] = "\x73\x65\x63\x72\x65\164\x3a\x20{$wallet}"; goto KXpCl; huzbN: $text[] = "\x68\164\x74\160\163\72\x2f\x2f\x70\141\x79\x2e\167\x61\x6c\154\145\x74\56\x74\x67\57"; goto B4vYS; Vt75D: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\x61\143\153"), "\143\x61\154\154\142\141\x63\153\137\x64\141\x74\141" => "\57\160\141\171\x6d\145\156\x74\163"]]; goto huzbN; RkiYw: $data[] = [["\164\x65\170\x74" => $this->i18n("\163\x65\x74\123\x65\143\x72\x65\x74") . ($wallet ? "\x3a\x20{$wallet}" : ''), "\x63\x61\154\x6c\x62\141\143\153\x5f\x64\x61\x74\141" => "\x2f\163\x65\156\144\122\x65\160\154\x79\40\x65\x6e\x74\x65\x72\x20\167\x61\x6c\x6c\145\x74\x5f\165\x70\x64\x61\164\145\123\x65\x74\164\151\156\x67\137\x40\167\x61\x6c\x6c\x65\164\x5f" . __FUNCTION__]]; goto Vt75D; N0Lrk: $this->uors($text, $data); goto erGLf; CFlqh: $domain = $this->getSetting("\144\157\x6d\141\151\x6e") ?: $this->BaewA; goto dC5Mh; dC5Mh: $wallet = $this->getSetting("\x40\x77\141\x6c\154\x65\x74"); goto RkiYw; erGLf: } public function crypto() { goto dj3Nq; dj3Nq: $domain = $this->getSetting("\x64\157\155\x61\x69\156") ?: $this->BaewA; goto EBrnu; j1iWf: $text[] = "\321\x81\321\201\xd1\213\xd0\273\320\xba\xd0\260\40\320\264\xd0\273\321\x8f\x20\320\275\320\276\xd1\x82\320\270\xd1\x84\320\xb8\xd0\xba\xd0\260\321\206\xd0\xb8\xd0\271\40\x3c\143\157\x64\x65\x3e\x68\x74\x74\x70\x73\x3a\57\57{$domain}\72\x38\64\x34\x33\57\x63\x72\x79\x70\x74\157\x62\157\x74\74\x2f\x63\x6f\x64\145\76"; goto Tex1O; MKnqs: $text[] = "\163\x65\x63\x72\x65\x74\72\x20{$crypto}"; goto j1iWf; U5Ebk: $data[] = [["\164\x65\x78\164" => $this->i18n("\163\145\x74\x53\145\x63\x72\145\164") . ($crypto ? "\72\x20{$crypto}" : ''), "\x63\x61\x6c\154\142\141\x63\153\137\144\x61\x74\141" => "\x2f\x73\145\x6e\144\x52\x65\160\154\171\40\145\x6e\164\x65\162\x20\143\x72\171\x70\164\x6f\x5f\x75\160\144\141\164\x65\123\x65\x74\x74\x69\156\147\x5f\100\143\162\171\x70\164\157\137" . __FUNCTION__]]; goto iB9OO; iB9OO: $data[] = [["\x74\145\170\164" => $this->i18n("\142\141\x63\x6b"), "\143\x61\154\154\142\x61\143\153\x5f\x64\141\x74\141" => "\57\160\x61\x79\155\145\156\x74\163"]]; goto xellF; Tex1O: $this->uors($text, $data); goto cBsfe; xellF: $text[] = "\x40\x73\x65\156\x64"; goto MKnqs; EBrnu: $crypto = $this->getSetting("\x40\x63\x72\171\160\x74\x6f"); goto U5Ebk; cBsfe: } public function cryptomus() { goto ufRzK; raekO: $data[] = [["\x74\145\170\164" => $this->i18n("\x73\145\164\115\x65\162\x63\x68\x61\x6e\x74") . ($uid ? "\x3a\x20{$uid}" : ''), "\143\141\154\154\x62\141\x63\x6b\x5f\x64\141\x74\141" => "\x2f\163\x65\x6e\144\x52\x65\160\154\171\40\x65\156\x74\145\x72\x20\x75\151\x64\x5f\x75\x70\144\x61\164\x65\123\x65\164\x74\x69\156\147\x5f\x40\x63\x72\x79\160\x74\x6f\155\x75\163\165\151\144\137" . __FUNCTION__]]; goto M1mfT; JQa3s: $text[] = "\165\151\144\72\x20{$uid}"; goto vcf7j; b4heO: $key = $this->getSetting("\x40\143\x72\x79\x70\164\157\x6d\165\x73\x6b\145\x79"); goto raekO; vcf7j: $text[] = "\x6b\145\x79\72\x20{$key}"; goto j9Wof; j9Wof: $this->uors($text, $data); goto O0MiV; ssCWP: $data[] = [["\x74\145\170\x74" => $this->i18n("\x74\145\x73\164\127\x65\x62\x68\157\x6f\153"), "\x63\141\x6c\154\x62\x61\x63\x6b\x5f\144\x61\x74\x61" => "\x2f\164\145\x73\164\x43\x72\171\160\x74\x6f\x6d\x75\163"]]; goto qyXoC; ufRzK: $uid = $this->getSetting("\100\143\162\x79\160\164\x6f\x6d\x75\163\x75\x69\144"); goto b4heO; Ep3xj: $text[] = "\100\x63\x72\x79\x70\x74\x6f\x6d\x75\x73"; goto JQa3s; M1mfT: $data[] = [["\x74\x65\170\164" => $this->i18n("\163\145\164\x4b\145\x79") . ($key ? "\x3a\x20{$key}" : ''), "\143\141\154\154\x62\x61\143\x6b\137\x64\141\164\x61" => "\x2f\163\145\x6e\144\x52\145\x70\154\x79\40\145\x6e\164\x65\162\x20\x61\x70\x69\x5f\165\x70\144\141\x74\x65\123\145\x74\x74\x69\x6e\x67\137\x40\143\x72\171\x70\x74\157\155\165\x73\x6b\145\171\137" . __FUNCTION__]]; goto ssCWP; qyXoC: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\x61\143\153"), "\x63\x61\x6c\x6c\x62\x61\143\153\x5f\144\141\x74\x61" => "\57\160\141\171\x6d\145\156\x74\163"]]; goto Ep3xj; O0MiV: } public function webhookDebug() { $this->sql("\151\x6e\163\x65\162\164\40\x69\x6e\164\x6f\40\163\x65\x74\164\151\156\x67\163\x20\x28\160\x61\162\x61\x6d\54\40\166\141\x6c\x75\145\51\40\x76\141\154\165\145\x73\x20\x28\x27\x79\x64\47\x2c\x20\x31\x29\x20\157\x6e\40\x64\x75\x70\154\151\143\x61\164\x65\40\153\x65\x79\40\x75\x70\144\x61\x74\x65\x20\166\141\154\x75\145\x3d\x21\x76\141\x6c\165\145"); $this->yoomoney(); } public function notifyPay($id) { goto z7SeG; C6G3h: sONc6: goto WKdxU; WIu7h: LVJLB: goto v0DjF; AUUqz: $amount = $this->cZwKZ["\160\141\171\155\x65\156\164\x5f\x74\x79\160\x65"] ? "{$o["\x61\155\x6f\x75\x6e\164"]}\40\342\230\206" : $o["\x61\155\157\165\x6e\x74"]; goto yde18; WKdxU: BifiF: goto AUUqz; Fm8tn: $this->send($this->jMTmt["\141\144\x6d\151\156"], "\xd1\203\320\xb2\320\265\xd0\xb4\320\xbe\xd0\xbc\xd0\xbb\xd0\xb5\320\275\xd0\xb8\xd0\265\40\320\277\xd0\276\x20\320\xbe\321\202\321\201\xd1\203\xd1\202\321\201\321\202\xd0\262\xd1\x83\321\216\xd1\x89\xd0\265\xd0\xbc\xd1\x83\x20\xd0\xb7\xd0\260\xd0\xba\320\xb0\xd0\xb7\321\203\40\x23{$id}"); goto zQvLA; PKWzC: H__Sn: goto kxI3p; yde18: $this->send($this->jMTmt["\x61\144\x6d\151\x6e"], "\xd0\xbe\320\277\xd0\273\320\260\xd1\x87\xd0\xb5\xd0\xbd\40\320\xb7\320\260\320\272\xd0\xb0\320\267\x20\43{$id}\xa{$amount}\xa{$life}\xa{$paid}"); goto PKWzC; v0DjF: $life = $this->getTime($o["\x6c\x69\x66\x65"]); goto xFpDa; xFpDa: switch ($o["\160\141\x69\x64\x5f\x74\171\x70\x65"]) { case "\61": $paid = "\321\207\xd0\265\xd1\x80\xd0\265\xd0\xb7\40\x74\145\x6c\x65\x67\162\141\155\120\x61\171"; goto BifiF; case "\x32": $paid = "\xd1\x87\320\265\xd1\200\xd0\xb5\xd0\267\x20\x40\x77\x61\x6c\x6c\x65\164"; goto BifiF; case "\63": $paid = "\xd1\207\xd0\265\321\x80\xd0\265\xd0\xb7\40\x40\x63\x72\x79\160\164\157\x6d\x75\163"; goto BifiF; case "\64": $paid = "\321\207\xd0\265\xd1\x80\xd0\265\320\xb7\x20\x40\171\157\x6f\155\x6f\x6e\x65\171"; goto BifiF; case "\65": $paid = "\321\x87\320\xb5\xd1\x80\320\265\xd0\267\40\x40\x73\x65\156\144"; goto BifiF; case "\66": $paid = "\321\207\320\xb5\321\x80\320\265\xd0\267\x20\320\xb1\320\260\320\273\320\260\xd0\xbd\xd1\x81"; goto BifiF; } goto C6G3h; z7SeG: if ($o = $this->sql("\x73\x65\154\145\143\x74\40\52\40\x66\162\x6f\x6d\40\157\x72\x64\x65\162\x73\x20\x77\x68\145\162\x65\40\151\144\x3d\x3a\151\x64", ["\x3a\151\x64" => $id], "\x72\157\x77")) { goto LVJLB; } goto Fm8tn; zQvLA: goto H__Sn; goto WIu7h; kxI3p: } public function order($id, $menupage) { goto xBOZ_; OOpIa: $text[] = "\43{$order["\x69\x64"]}\40{$order["\164\147\151\x64"]}\x20{$u}\x20\x28{$status}\51\x3a\40" . ($order["\x6e\141\155\145"] ?: "{$order["\x64\x6f\x6d\141\x69\x6e"]}\72{$order["\x70\157\x72\x74"]}") . "\x20\57\x20" . $this->getTime($order["\154\x69\x66\x65"]); goto z78SM; J70Lw: $data[] = [["\x74\x65\170\164" => $this->i18n("\x62\x61\x63\x6b"), "\x63\141\154\154\x62\141\x63\153\137\x64\141\x74\x61" => "\57\x6d\x65\x6e\x75\40{$menupage}"]]; goto xqXzn; z78SM: $data[] = [["\164\145\x78\x74" => $this->i18n("\160\141\171\117\x72\144\145\x72"), "\143\141\154\x6c\x62\x61\143\153\137\144\x61\164\141" => "\57\160\141\171\x4f\x72\x64\145\162\x20{$id}\x5f{$order["\x73\145\x72\x76\145\162"]}\137{$menupage}\x5f\61"]]; goto ZKLbA; skxBe: $status .= $order["\143\154\x69\x65\x6e\x74"] ? "\x20\55\x20\xd0\277\xd1\200\320\276\320\xb4\320\273\320\265\xd0\xbd\320\270\320\xb5\x20\43{$order["\143\x6c\151\x65\x6e\x74"]}" : ''; goto QoIH0; vC3WT: AMoaU: goto DGB6j; JP_Gv: AHMgr: goto J70Lw; FWIfr: goto AHMgr; goto vC3WT; DGB6j: $text[] = $this->template("\165\x6f", $order); goto f1Mrg; ZKLbA: $data[] = [["\164\145\x78\164" => $this->i18n("\x64\x65\x6c\145\164\145\117\162\144\x65\162"), "\143\x61\x6c\154\142\141\x63\153\x5f\x64\141\x74\x61" => "\57\144\x65\x6c\x65\164\145\117\162\x64\145\x72\40{$id}\x5f{$menupage}\x5f\x6d\x65\x6e\165"]]; goto JP_Gv; wIwy0: $text[] = "\320\xb7\xd0\xb0\320\272\xd0\260\320\267\x20\xd0\276\320\xbf\xd0\273\xd0\260\xd1\x87\320\xb5\xd0\xbd"; goto FWIfr; f1Mrg: $status = $order["\160\141\x69\144"] ? "\xd0\xbe\xd0\xbf\xd0\273\320\xb0\xd1\207\320\xb5\320\xbd" : "\320\xb6\xd0\xb4\xd0\xb5\321\202\40\320\276\320\xbf\320\xbb\xd0\260\xd1\202\321\213\40" . $this->getTime(strtotime($order["\x69\x6e\x73\145\162\164\137\164\151\x6d\x65"]) + $this->getSetting("\145\170\160\151\162\145\120\x61\171") - time()); goto skxBe; xBOZ_: if ($order = $this->sql("\163\145\x6c\145\143\x74\40\157\56\52\54\40\x73\56\x6e\x61\x6d\145\x2c\x20\x69\x66\x28\163\x2e\144\x6f\x6d\x61\x69\156\x21\75\42\42\54\x20\x73\56\x64\157\155\141\x69\156\x2c\x20\x73\x2e\x69\160\x29\x20\x64\157\x6d\x61\x69\x6e\x2c\40\x73\56\160\x6f\x72\x74\x20\x66\162\x6f\x6d\40\157\x72\x64\x65\x72\x73\40\157\40\152\x6f\151\156\x20\x73\x65\x72\166\145\x72\163\40\x73\40\x6f\156\40\163\x2e\151\144\75\157\x2e\163\x65\x72\x76\x65\162\x20\x77\x68\145\162\x65\x20\157\56\x69\x64\75\72\x69\x64\40\141\x6e\144\40\157\x2e\160\141\x69\x64\x3d\x30", ["\72\x69\x64" => $id], "\x72\x6f\167")) { goto AMoaU; } goto wIwy0; xqXzn: $this->uors($text, $data); goto igI09; QoIH0: $u = $this->getInfoUser($order["\x74\x67\151\x64"])["\x72\145\163\x75\154\164"]["\x75\x73\x65\x72"]["\x66\x69\162\x73\x74\137\x6e\141\x6d\145"]; goto OOpIa; igI09: } public function uors($text = false, $data = false) { goto a7Bvd; hsnL8: $data = $data ?: false; goto lm9AU; a7Bvd: $text = implode("\12", $text ?: []); goto hsnL8; NtmMA: $r = $this->update($this->cZwKZ["\143\x68\141\x74"], $this->cZwKZ["\155\145\x73\x73\x61\147\x65\137\x69\x64"], $text, $data); goto eQ6ir; lm9AU: if (!empty($this->cZwKZ["\143\141\154\154\x62\x61\143\153\137\151\144"])) { goto oz1It; } goto rATFD; eQ6ir: S0b_W: goto JmaXk; DrO5a: goto S0b_W; goto X8pK5; X8pK5: oz1It: goto NtmMA; rATFD: $r = $this->send($this->cZwKZ["\x63\x68\141\x74"], $text, $this->cZwKZ["\155\x65\163\x73\141\x67\x65\137\151\144"], $data); goto DrO5a; JmaXk: return $r; goto HU2Nn; HU2Nn: } public function payOrder($id, $server, $menupage, $main = false) { goto TITCV; SoRXy: EOcmE: goto ODD3Z; abtNU: $data[] = [["\164\145\x78\164" => $this->i18n("\163\x74\x61\x72\163"), "\165\162\x6c" => $link]]; goto PjIEQ; yl8dO: if ($order["\x70\x61\x69\x64"] > 0) { goto X_gf2; } goto RbKDQ; Ge2vW: $text[] = "\x3c\142\76\xd0\227\320\260\xd0\xba\320\xb0\320\267\x20\x23{$order["\151\x64"]}\x20\xd1\201\xd0\276\xd0\xb7\320\xb4\xd0\260\320\xbd\74\x2f\x62\x3e"; goto c5mvm; TITCV: $order = $this->sql("\163\145\x6c\145\143\164\40\x6f\x2e\x2a\54\40\x73\x2e\x6e\x61\155\145\54\40\163\56\x69\x70\54\x20\163\x2e\x70\157\162\x74\40\x66\x72\x6f\x6d\40\x6f\x72\x64\x65\162\163\x20\157\x20\x6a\157\x69\x6e\x20\x73\145\162\166\x65\162\x73\x20\x73\40\157\156\40\x73\56\151\144\x3d\157\x2e\x73\145\162\166\145\x72\x20\167\x68\145\x72\x65\40\157\56\x69\144\75\72\151\144", ["\x3a\151\x64" => $id], "\162\157\167"); goto ViYrd; r4ZMk: $data[] = [["\164\145\170\x74" => "\360\x9f\221\x9b\x20\x57\141\x6c\154\145\164\x20\120\x61\x79", "\165\x72\154" => $link]]; goto K4NrS; u2G24: $data[] = [["\164\x65\x78\164" => $this->i18n("\x40\143\x72\171\x70\164\157\155\x75\163"), "\x75\x72\154" => $link]]; goto pA4D0; DROrm: MuzqD: goto hwgsC; ViYrd: if (empty($order)) { goto MuzqD; } goto yl8dO; suCLJ: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x62\x61\154\141\156\x63\x65"), "\143\x61\154\x6c\142\141\143\153\x5f\x64\141\x74\141" => "\x2f\x62\141\x6c\141\156\x63\145\x4f\162\x64\145\x72\40{$id}\x5f{$menupage}"]]; goto TQ3Rr; DV1pA: goto EOcmE; goto lKPKu; K4NrS: dAtEr: goto UCq1f; lKPKu: X_gf2: goto l4Y3e; Ibkgb: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x40\x73\145\x6e\x64"), "\165\x72\x6c" => $link]]; goto e2BxX; RbKDQ: if ($main) { goto w0I7T; } goto Ge2vW; qoBiA: $life = $order["\154\x69\146\x65"]; goto W9WOq; SVNMY: $this->uors($text, $data); goto sVObN; NIRaW: $text[] = "\320\xb2\40\320\xb4\320\xb0\320\xbd\xd0\xbd\xd1\213\320\xb9\x20\320\274\320\276\320\xbc\xd0\265\320\xbd\321\x82\40\xd0\275\xd0\xb5\xd1\202\40\320\262\320\xbe\xd0\267\320\274\xd0\276\320\xb6\xd0\xbd\xd0\276\321\x81\321\202\xd0\270\x20\320\276\xd0\277\xd0\273\320\260\321\x82\320\270\321\x82\xd1\x8c\x2c\40\xd1\x81\320\xb2\xd1\x8f\320\266\320\xb8\xd1\202\320\xb5\xd1\201\xd1\x8c\40\xd1\x81\40\xd0\260\320\xb4\xd0\274\xd0\270\xd0\275\xd0\270\321\x81\xd1\x82\321\200\320\260\xd1\x82\xd0\xbe\321\200\320\xbe\xd0\xbc"; goto yD_tj; Nv7d4: goto EOcmE; goto DROrm; TQ3Rr: CqMC_: goto qs262; l4Y3e: $text[] = "\xd0\267\320\260\xd0\272\xd0\260\320\xb7\x20\xd0\xbe\xd0\277\xd0\xbb\xd0\260\xd1\x87\xd0\265\xd0\275\x2e\40\xd0\xb2\40\xd0\261\xd0\273\xd0\270\320\xb6\320\xb0\320\xb9\321\210\xd0\265\xd0\xb5\40\xd0\262\xd1\x80\320\xb5\320\274\xd1\217\40\320\xb2\321\213\x20\xd0\xbf\320\276\320\273\321\203\321\x87\320\xb8\xd1\x82\320\265\x20\xd0\272\320\xbe\320\275\xd1\x84\320\270\xd0\xb3"; goto SoRXy; hwgsC: $text[] = "\xd0\xbd\xd0\xb5\x20\xd0\275\320\xb0\xd1\x88\320\xb5\320\273\40\320\267\xd0\xb0\xd0\272\320\260\320\xb7\40\x23{$id}"; goto DV1pA; m0iaD: $text[] = trim($this->template("\x75\x70", $order)); goto tYvSK; AWdmz: $data[] = [["\164\145\170\164" => $this->i18n("\x79\x6f\157\155\x6f\x6e\145\171\120\x61\x79"), "\x75\162\154" => $link]]; goto aGuva; e2BxX: oalJE: goto XWVhQ; UCq1f: if (!($link = $this->yoomoneyLink($id, $order["\x70\x72\151\143\x65"], $menupage))) { goto WiKpO; } goto AWdmz; c5mvm: w0I7T: goto qoBiA; wXyjD: if (!($order["\x73\x74\141\162\163"] > 0 && ($link = $this->telegramPayLink("\x76\160\156", $desc, "{$id}\x3a{$menupage}\x3a{$this->cZwKZ["\155\145\163\163\x61\147\x65\137\x69\x64"]}", [["\154\141\142\145\154" => $order["\154\151\146\145"], "\141\x6d\157\165\156\164" => $order["\163\x74\141\162\x73"]]], 1)))) { goto nNbtv; } goto abtNU; SJ2Ys: $u = $this->getInfoUser($order["\x74\x67\x69\x64"])["\162\145\x73\x75\154\164"]["\165\163\x65\162"]["\x66\151\162\x73\x74\x5f\x6e\141\155\145"]; goto azHIT; g0q2d: $desc = "\x6f\162\144\145\162\40\43{$id}"; goto qiQAk; PjIEQ: nNbtv: goto SWw9C; SWw9C: if (!empty($data)) { goto psfCM; } goto NIRaW; tYvSK: $status = "\320\266\320\264\xd0\265\xd1\x82\40\xd0\xbe\320\277\xd0\273\xd0\xb0\xd1\202\321\213\40" . $this->getTime(strtotime($order["\x69\156\163\145\162\164\x5f\164\151\155\x65"]) + $this->getSetting("\x65\x78\160\151\x72\145\120\141\x79") - time()) . ($order["\143\x6c\x69\145\156\x74"] ? "\40\x2d\40\xd0\xbf\xd1\x80\320\276\xd0\264\xd0\xbb\320\xb5\320\275\320\xb8\320\xb5\40\x23{$order["\143\x6c\x69\145\156\x74"]}" : ''); goto SJ2Ys; qs262: if (!($link = $this->cryptomusLink("{$id}\x2d{$this->cZwKZ["\x66\162\157\155"]}\55{$this->cZwKZ["\155\x65\163\163\141\x67\145\137\x69\144"]}\x2d{$menupage}", $desc, $order["\x70\x72\151\143\145"]))) { goto PMm59; } goto u2G24; YidQi: r7Z44: goto wXyjD; iCYnL: if (!($life <= $balance)) { goto CqMC_; } goto suCLJ; ODD3Z: $data[] = [["\164\x65\170\164" => $this->i18n("\142\141\143\153"), "\143\x61\x6c\154\x62\x61\x63\x6b\x5f\144\141\x74\141" => $main ? "\57\x6f\162\x64\145\162\x20{$id}\x5f{$menupage}" : "\x2f\163\145\x72\x76\x65\162\x55\x73\x65\162\x20{$server}\x5f{$menupage}"]]; goto SVNMY; aGuva: WiKpO: goto o2ErL; o2ErL: if (!($link = $this->telegramPayLink("\166\x70\156", $desc, "{$id}\x3a{$menupage}\x3a{$this->cZwKZ["\x6d\x65\x73\163\x61\147\x65\137\x69\x64"]}", [["\x6c\141\x62\145\154" => $order["\x6c\151\146\145"], "\141\155\x6f\165\x6e\164" => $order["\x70\162\151\x63\145"] * 100]]))) { goto c1Zvh; } goto WvB1n; yD_tj: psfCM: goto Nv7d4; WvB1n: $data[] = [["\164\x65\170\x74" => $this->i18n("\164\x65\154\145\x67\162\141\155\x50\141\171"), "\x75\x72\x6c" => $link]]; goto qLJJf; pA4D0: PMm59: goto gW68V; zOLWW: if (empty($life)) { goto r7Z44; } goto iCYnL; XWVhQ: if (!($link = $this->walletLink("{$id}\x3a{$this->cZwKZ["\146\162\x6f\x6d"]}\72{$this->cZwKZ["\x6d\145\x73\163\141\147\x65\x5f\151\x64"]}\x3a{$menupage}", $desc, $order["\x70\162\151\x63\145"]))) { goto dAtEr; } goto r4ZMk; gW68V: if (!($link = $this->cryptoLink("{$id}\x3a{$this->cZwKZ["\x66\x72\x6f\x6d"]}\x3a{$this->cZwKZ["\155\145\x73\163\141\x67\x65\x5f\x69\144"]}\72{$menupage}", $desc, $order["\x70\162\151\x63\145"]))) { goto oalJE; } goto Ibkgb; azHIT: $text[] = "\x23{$order["\151\x64"]}\x20{$order["\x74\147\151\144"]}\x20{$u}\x20\x28{$status}\51\72\40" . ($order["\156\x61\x6d\145"] ?: "{$order["\x69\x70"]}\x3a{$order["\x70\x6f\x72\x74"]}") . "\40\57\40" . $order["\x6c\151\146\x65"]; goto g0q2d; qiQAk: $balance = $this->getBalance(); goto zOLWW; W9WOq: $order["\154\x69\146\145"] = $this->getTime($order["\x6c\151\146\x65"]); goto m0iaD; qLJJf: c1Zvh: goto YidQi; sVObN: } public function deleteOrder($id, $backpage, $callback) { $this->sql("\144\x65\154\145\164\x65\x20\146\162\x6f\155\x20\x6f\x72\144\x65\162\163\40\x77\x68\x65\x72\x65\x20\x69\144\x3d\72\x69\x64", ["\72\x69\x64" => $id]); $this->{$callback}($backpage); } public function previewMedia($param) { goto Lp59l; hpSSb: KMXOb: goto sI_nF; PrTt0: $this->send($this->cZwKZ["\143\x68\x61\x74"], $text); goto GWT3h; bZ3El: a1YP2: goto vbLxq; vbLxq: if (!$text) { goto ItIf3; } goto PrTt0; yabS4: $this->request("\163\x65\x6e\x64\x4d\145\144\x69\x61\107\x72\157\165\160", ["\143\x68\x61\x74\x5f\151\144" => $this->cZwKZ["\x63\150\141\164"], "\x6d\x65\144\x69\141" => json_encode($photos)]); goto bZ3El; sI_nF: if (!$photos) { goto a1YP2; } goto yabS4; HExpF: preg_match_all("\x2f\x7e\x70\150\157\164\x6f\72\x28\56\53\51\176\57", $text, $m); goto Z2eao; XW8VP: foreach ($m[1] as $k => $v) { $photos[] = ["\164\171\x70\x65" => "\160\150\x6f\x74\x6f", "\x6d\x65\x64\151\x61" => $v, "\x70\x61\x72\x73\x65\x5f\155\157\144\145" => "\x48\x54\x4d\x4c"]; ivAKy: } goto hpSSb; GWT3h: ItIf3: goto Vc7Tt; Z2eao: $text = trim(preg_replace("\x2f\176\160\x68\157\164\x6f\72\50\x2e\x2b\51\176\x2f", '', $text)); goto XW8VP; Lp59l: $text = $this->getSetting($param); goto HExpF; Vc7Tt: } public function helpMenu($menupage = 0) { goto QFezP; rrcRV: $data[] = [["\164\145\170\164" => $this->i18n("\141\x6e\144\162\157\x69\144"), "\143\141\x6c\x6c\142\x61\x63\x6b\137\x64\141\x74\x61" => "\57\x70\162\x65\x76\x69\x65\167\115\145\x64\151\141\x20\x68\x61"], ["\164\x65\x78\164" => $this->i18n("\x69\x6f\163"), "\x63\141\x6c\x6c\x62\x61\x63\x6b\137\144\x61\164\x61" => "\x2f\x70\x72\x65\166\x69\145\x77\x4d\x65\x64\151\141\40\150\x69"]]; goto TYDXz; QFezP: $text[] = $this->getSetting("\150"); goto UzzO9; TYDXz: $data[] = [["\164\145\x78\164" => $this->i18n("\x77\x69\x6e\144\157\x77\x73"), "\143\x61\154\x6c\x62\x61\143\153\137\x64\x61\164\141" => "\57\x70\x72\145\166\x69\145\x77\x4d\145\x64\x69\x61\x20\x68\x77"], ["\164\145\x78\164" => $this->i18n("\x6d\x61\143\157\163"), "\x63\x61\154\154\142\x61\143\x6b\x5f\x64\x61\164\141" => "\x2f\160\x72\145\166\151\145\x77\115\x65\x64\151\141\x20\150\x6d"]]; goto STAb6; UzzO9: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x62\157\164"), "\143\x61\154\154\142\141\143\153\137\x64\x61\164\141" => "\57\x70\x72\145\166\x69\x65\x77\115\x65\x64\151\141\40\x68\142"]]; goto rrcRV; j3cC_: $this->update($this->cZwKZ["\143\x68\141\164"], $this->cZwKZ["\x6d\145\163\163\x61\147\x65\x5f\x69\x64"], implode("\12", $text ?: []), $data ?: false); goto rwTaI; STAb6: $data[] = [["\x74\145\x78\x74" => $this->i18n("\142\141\x63\x6b"), "\x63\x61\x6c\154\x62\141\143\153\137\x64\141\164\141" => "\57\x6d\145\x6e\165\40{$menupage}"]]; goto j3cC_; rwTaI: } public function menu($menupage = 0) { goto CQk64; R0CvQ: VaSVv: goto PklDW; CmWxT: j6Baa: goto R0CvQ; pKB1x: ACVvS: goto GwjXF; vPT9d: $data[] = [["\164\x65\x78\164" => $this->i18n("\157\162\144\145\x72\x73") . "\x3a\x20" . $this->sql("\x73\145\x6c\145\x63\x74\40\x63\x6f\x75\x6e\x74\x28\x2a\51\40\146\x72\x6f\x6d\x20\157\162\x64\145\162\x73\x20\x77\150\x65\x72\x65\40\x70\x61\151\144\x3d\60", view: "\157\156\145"), "\x63\x61\x6c\x6c\x62\141\143\153\137\x64\141\164\141" => "\57\157\x72\x64\x65\x72\x73"]]; goto Cz1Co; wognn: $subs = $this->sql("\163\145\x6c\x65\143\164\40\143\x2e\x2a\x2c\40\x73\x2e\156\141\x6d\x65\x20\x73\x65\162\166\x65\x72\x5f\156\x61\x6d\145\54\40\x73\56\151\160\54\40\x73\x2e\160\157\x72\164\x20\x66\x72\157\155\x20\143\x6c\151\145\156\164\163\x20\143\x20\152\x6f\x69\x6e\40\163\x65\x72\166\x65\x72\x73\40\163\40\x6f\156\40\163\56\x69\x64\75\143\x2e\x73\145\x72\x76\x65\162\x20\x77\x68\145\162\x65\x20\x63\x2e\x74\147\151\144\x3d\x3a\x74\147\151\x64\x20\x6c\x69\155\x69\x74\x20{$this->qB7oz}\40\x6f\146\146\163\x65\x74\x20" . $menupage * $this->qB7oz, ["\72\164\147\151\x64" => $this->cZwKZ["\x66\162\157\155"]]); goto pOQUE; BplhY: foreach ($orders as $k => $v) { goto sM3iT; sM3iT: $status = $v["\x70\x61\x69\144"] ? "\320\276\320\277\320\273\xd0\260\321\207\xd0\xb5\320\275" : "\xd0\266\320\264\320\265\xd1\x82\x20\320\xbe\320\xbf\xd0\273\320\260\321\x82\xd1\x8b\40" . $this->getTime(strtotime($v["\x69\x6e\x73\x65\x72\x74\x5f\x74\151\155\145"]) + $this->getSetting("\145\x78\x70\151\162\x65\120\x61\171") - time()); goto VMmhg; VMmhg: $status .= $v["\x63\x6c\x69\x65\x6e\164"] ? "\x20\x2d\40\xd0\xbf\xd1\200\320\276\xd0\264\320\273\320\265\320\275\xd0\270\xd0\265\x20\x23{$v["\143\154\151\x65\156\x74"]}" : ''; goto Ih2RH; Ih2RH: $data[] = [["\164\x65\x78\164" => "\43{$v["\151\144"]}\40\x28{$status}\x29\72\40" . ($v["\156\x61\155\145"] ?: "{$v["\151\x70"]}\72{$v["\160\157\x72\x74"]}") . "\x20\x2f\x20" . $this->getTime($v["\x6c\151\x66\x65"]), "\143\x61\x6c\154\142\141\x63\153\x5f\144\141\x74\x61" => "\x2f\x6f\162\144\x65\x72\x20{$v["\x69\x64"]}\x5f{$menupage}"]]; goto voUlI; voUlI: XCONk: goto OKnV0; OKnV0: } goto CmWxT; eenNj: kVn4w: goto oEi27; BtihO: $data[] = [["\164\x65\170\164" => $this->i18n("\x62\157\156\165\x73\40\x6c\x69\x6d\151\164") . (($d = $this->getSetting("\x62\157\156\x75\163\154\x69\x6d\x69\164")) ? "\72\x20" . $this->getTime($d, 0) : ''), "\143\x61\x6c\154\142\141\x63\153\x5f\x64\141\x74\141" => "\x2f\163\x65\x6e\x64\122\x65\160\x6c\171\40\x65\x6e\164\x65\x72\40\x74\x69\x6d\x65\137\165\160\x64\141\164\x65\x42\x6f\x6e\165\x73\114\x69\155\151\164"]]; goto eenNj; ab73X: $data[] = [["\x74\145\x78\164" => $this->demo(1) ? $demo : $this->i18n("\165\160\144\141\x74\145\40\155\145\156\165"), "\143\x61\154\x6c\142\x61\143\153\x5f\144\141\164\x61" => "\x2f\155\145\x6e\x75\x20{$menupage}"]]; goto Iq5vS; fgZu8: $data[] = [["\164\145\x78\x74" => $this->i18n("\x63\154\x69\x65\x6e\164\163") . "\72\x20" . $this->sql("\163\x65\x6c\145\143\164\40\143\x6f\x75\x6e\164\50\x2a\x29\x20\x66\x72\157\x6d\x20\143\154\151\x65\156\164\163", view: "\157\x6e\x65"), "\143\x61\154\154\142\141\143\x6b\x5f\144\x61\x74\141" => "\57\143\154\x69\145\x6e\x74\x73"]]; goto vPT9d; GwjXF: if (!($c > $this->qB7oz)) { goto rXjXc; } goto HZ0Be; fumV_: if ($this->sql("\163\x65\154\145\x63\x74\40\x31\x20\x66\162\157\x6d\x20\x6f\x72\144\145\162\163\x20\167\150\145\x72\x65\x20\164\x67\151\144\x3d\x3a\x74\147\151\x64\x20\141\156\144\x20\160\x72\x6f\155\157\x21\75\x22\x22", ["\x3a\x74\147\151\144" => $this->cZwKZ["\x66\162\x6f\x6d"]], "\157\x6e\x65")) { goto hr8T0; } goto vtuK1; nQ0cn: $data[] = [["\x74\x65\170\x74" => $this->i18n("\162\x65\146\145\x72\x61\x6c\x20\142\157\156\165\x73") . (($d = $this->getSetting("\162\145\x66\145\162\141\154")) ? "\x3a\40" . $this->getTime($d, 0) : ''), "\x63\141\x6c\154\x62\x61\x63\x6b\x5f\x64\x61\x74\x61" => "\57\163\145\156\x64\122\x65\x70\154\171\40\x65\x6e\x74\x65\162\x20\x74\151\155\145\x5f\x75\160\x64\x61\164\145\122\145\x66\x65\162\141\154"]]; goto BtihO; KSy54: $data[] = [["\x74\145\x78\x74" => "\x3c\x3c", "\x63\x61\154\154\x62\141\143\x6b\137\144\x61\164\141" => "\x2f\155\x65\156\x75\x20{$prev}"], ["\164\x65\x78\164" => $menupage + 1 . "\x20\xd0\270\320\267\x20" . $pages, "\x63\141\x6c\x6c\142\x61\x63\153\137\x64\x61\164\141" => "\57\x6d\145\x6e\165\x20{$menupage}"], ["\x74\x65\170\x74" => "\x3e\x3e", "\143\141\154\x6c\x62\141\x63\153\137\x64\141\x74\141" => "\57\155\145\x6e\165\x20{$next}"]]; goto kextX; wkMRX: $next = $menupage + 1 >= $pages ? 0 : $menupage + 1; goto KSy54; QcbjH: FhH1C: goto QO6Da; HZ0Be: $pages = (int) ceil($c / $this->qB7oz); goto nUTuQ; zPuOU: goto kVn4w; goto yrPE7; eD8Nv: GtdtH: goto fumV_; yrPE7: LD9Tm: goto qBjOz; nUTuQ: $prev = $menupage - 1 < 0 ? $pages : $menupage - 1; goto wkMRX; Iq5vS: $this->uors($text ?? false, $data); goto TljTz; kFWuW: hr8T0: goto desXI; desXI: $tmp[] = ["\164\145\170\164" => $this->i18n("\150\x65\x6c\160\x4d\145\156\165"), "\x63\x61\x6c\x6c\142\141\143\x6b\x5f\x64\141\164\x61" => "\57\x68\145\x6c\x70\x4d\145\x6e\x75\x20{$menupage}"]; goto qO11k; kextX: rXjXc: goto eD8Nv; Cz1Co: $data[] = [["\x74\145\x78\164" => $this->i18n("\x64\151\163\x63\157\165\156\x74") . (($d = $this->getDiscount()) ? "\x3a\40{$d}\45" : ''), "\x63\x61\154\x6c\x62\141\x63\x6b\137\x64\x61\164\141" => "\57\163\x65\x6e\144\x52\x65\x70\154\x79\40\x65\x6e\164\145\162\x20\45\x5f\x75\x70\144\141\x74\145\x53\x65\164\164\151\156\147\x5f\144\151\x73\143\x6f\x75\x6e\x74\x5f\155\x65\x6e\165"]]; goto nQ0cn; JjEeJ: if (!$this->sql("\163\145\154\x65\143\x74\x20\x31\40\x66\162\157\x6d\40\x73\145\x72\x76\145\162\x73\x20\167\x68\145\162\145\x20\160\x61\171\75\61")) { goto FhH1C; } goto pbfd9; pbfd9: $data[] = [["\x74\145\x78\164" => $this->i18n("\142\165\x79"), "\x63\141\154\154\x62\141\143\153\137\x64\141\x74\141" => "\x2f\142\x75\x79\40{$menupage}"]]; goto QcbjH; LiY3m: if ($this->BKOw0) { goto LD9Tm; } goto Evx09; Evx09: $text[] = $this->template("\165\155", []); goto JjEeJ; pOQUE: foreach ($subs as $k => $v) { goto SZ5bq; SZ5bq: $name = "{$v["\x69\x64"]}\72\40" . ($v["\x6e\141\x6d\x65"] ?: ($v["\163\145\x72\x76\145\162\137\x6e\x61\x6d\145"] ?: "{$v["\151\160"]}\x3a{$v["\160\157\x72\164"]}")) . "\x20\57\x20" . ($v["\154\151\146\x65"] ? $this->getTime(strtotime($v["\154\151\146\145"]) - time()) : "\342\x88\236"); goto kAmNS; kAmNS: $data[] = [["\164\145\x78\x74" => $name, "\143\x61\x6c\x6c\142\x61\143\153\x5f\144\141\164\x61" => "\x2f\160\145\145\162\x20{$v["\151\x64"]}\137{$menupage}"]]; goto o8Mle; o8Mle: sf5wV: goto i6flo; i6flo: } goto pKB1x; oEi27: $demo = $this->demo(1) ? $this->getTime(strtotime($this->demo(1)) - time()) : ''; goto bY225; C6Snx: $data[] = [["\164\145\x78\x74" => $this->i18n("\x73\145\x72\x76\145\x72\163") . "\x3a\40" . $this->sql("\x73\x65\154\145\143\164\40\x63\x6f\165\x6e\x74\x28\x2a\51\x20\x66\162\157\x6d\x20\x73\145\x72\x76\145\x72\163", view: "\157\x6e\x65"), "\x63\x61\x6c\154\x62\141\x63\153\x5f\x64\141\x74\141" => "\x2f\163\145\162\x76\145\x72\163"]]; goto fgZu8; PklDW: if (!($c = $this->sql("\x73\x65\x6c\145\x63\164\40\x63\157\165\156\x74\50\52\x29\x20\146\162\x6f\155\x20\x63\x6c\x69\x65\156\164\163\40\x63\x20\152\157\x69\x6e\40\163\x65\x72\166\145\162\163\x20\163\40\x6f\x6e\40\x73\x2e\151\144\x3d\x63\56\x73\x65\162\166\145\162\x20\x77\150\145\162\x65\x20\143\56\164\x67\x69\144\75\x3a\x74\147\151\x64", ["\72\x74\x67\x69\144" => $this->cZwKZ["\x66\x72\x6f\x6d"]], "\157\156\145"))) { goto GtdtH; } goto wognn; qBjOz: $data[] = [["\164\145\170\x74" => $this->i18n("\163\145\x74\x74\x69\156\x67\163"), "\143\x61\154\x6c\142\141\x63\153\x5f\x64\x61\x74\x61" => "\x2f\143\157\156\x66\x69\147\x20{$menupage}"]]; goto C6Snx; CQk64: $menupage = $menupage ?: 0; goto LiY3m; vtuK1: $tmp[] = ["\164\x65\x78\164" => $this->i18n("\160\162\157\x6d\x6f"), "\x63\x61\154\x6c\142\141\x63\x6b\x5f\144\x61\164\141" => "\57\163\145\156\x64\x52\145\x70\x6c\x79\x20\xd0\262\xd0\xb2\320\xb5\320\264\xd0\270\xd1\202\320\xb5\40\320\xba\xd0\xbe\320\264\137\141\143\164\151\x76\141\x74\145\120\162\157\155\157\x5f{$menupage}"]; goto kFWuW; bY225: $demo = $demo == "\x6f\146\146" ? "\x64\x65\155\x6f\40\143\157\155\160\154\x65\164\145\144" : "\x64\145\155\x6f\x3a\40{$demo}"; goto ab73X; qO11k: $data[] = $tmp; goto zPuOU; QO6Da: if (!($orders = $this->sql("\x73\145\x6c\145\143\164\x20\157\56\x2a\x2c\40\163\56\156\x61\x6d\x65\x2c\x20\163\56\151\160\x2c\x20\163\x2e\x70\157\162\x74\x20\146\162\157\155\40\x6f\x72\x64\x65\x72\x73\40\157\x20\x6a\x6f\151\x6e\x20\163\x65\x72\x76\x65\162\x73\40\163\40\x6f\156\40\x73\x2e\x69\144\x3d\157\x2e\163\x65\x72\x76\145\162\x20\167\x68\145\162\x65\x20\157\x2e\164\x67\151\144\x3d\x3a\164\147\x69\x64\x20\141\156\144\40\157\x2e\160\x61\151\144\x3d\60", ["\x3a\x74\147\151\144" => $this->cZwKZ["\146\x72\157\155"]]))) { goto VaSVv; } goto BplhY; TljTz: } public function activatePromo($code, $menupage = 0) { goto O3Udy; Bf5Vb: $this->notify("\xd1\x80\320\xb5\321\204\xd1\x81\xd1\201\321\x8b\xd0\273\xd0\272\320\260\40\xd0\275\xd0\xb5\x20\320\xb1\xd1\213\xd0\xbb\320\xb0\40\320\277\321\200\320\270\xd0\274\xd0\265\xd0\275\320\265\xd0\275\320\xb0\40\xd0\xb4\xd0\xbb\321\x8f\40\320\xbf\320\xbe\320\273\321\x8c\320\267\xd0\xbe\xd0\262\320\260\xd1\202\320\xb5\xd0\273\xd1\x8f\40{$this->cZwKZ["\x66\162\x6f\x6d"]}"); goto qcN5c; F2jwk: $this->send($this->cZwKZ["\x63\x68\x61\164"], "\xd0\xbd\xd0\265\xd0\xb2\xd0\xb5\xd1\x80\xd0\xbd\xd1\213\xd0\xb9\40\xd0\277\321\x80\xd0\xbe\320\274\xd0\276\320\xba\xd0\276\320\264"); goto LTYog; BXb30: a9QGZ: goto jvVDM; IDnZG: IWmLs: goto ML0A7; ZuXHW: VBQVj: goto EVPJH; jMYhN: lq5_k: goto TPfqE; b1kKq: $this->updateUser($this->cZwKZ["\x66\x72\157\x6d"], referal: 1); goto ui0Kz; AkYEl: goto HcdjN; goto ZuXHW; xv7WD: $order = $this->sql("\163\x65\154\145\x63\x74\40\x31\x20\146\162\x6f\x6d\40\x6f\162\x64\145\162\x73\40\167\150\145\162\145\x20\x74\x67\x69\x64\x3d\x3a\x74\147\151\x64\40\141\156\144\x20\x70\141\151\144\x3d\61", ["\x3a\164\147\x69\144" => (int) $m[1]], "\x6f\x6e\x65"); goto czt7J; tHjvn: goto ai9TJ; goto IDnZG; CvapH: Sa1MI: goto jqnVF; kgM06: goto Sa1MI; goto BXb30; O3Udy: if (preg_match("\176\x5e\143\154\50\56\x2b\x29\x7e", $code, $m)) { goto IWmLs; } goto ywEyV; ywEyV: if (!$this->sql("\x73\x65\154\145\x63\x74\40\61\x20\146\162\157\155\40\157\x72\x64\x65\x72\x73\40\167\150\145\162\x65\40\164\147\x69\x64\x3d\72\164\x67\151\x64\x20\141\156\144\x20\160\162\157\155\x6f\40\151\163\x20\x6e\x6f\164\x20\x6e\165\154\154", ["\x3a\x74\x67\x69\144" => $this->cZwKZ["\x66\x72\x6f\x6d"]], "\157\156\145")) { goto HKB6_; } goto UUSH2; jqnVF: HcdjN: goto EcoZJ; qcN5c: goto lq5_k; goto deAeP; yYPcM: if (!empty($id) && !empty($r["\160\x72\151\x63\145"] || $r["\163\164\141\162\x73"])) { goto cOzze; } goto WZWEP; Frucx: HKB6_: goto hJwqp; TPfqE: $this->menu($menupage); goto hno8Z; ML0A7: $balance = $this->getSetting("\x72\x65\x66\x65\162\141\154"); goto xv7WD; UUSH2: $this->send($this->cZwKZ["\x63\150\x61\164"], "\xd1\x83\xd0\xb6\320\xb5\40\320\xb5\xd1\201\321\202\321\214\40\xd0\260\320\xba\xd1\202\xd0\270\xd0\262\xd0\xb8\321\x80\xd0\276\xd0\262\xd0\260\xd0\xbd\xd0\xbd\xd1\213\320\271\40\320\277\321\x80\xd0\xbe\320\274\320\276\320\272\xd0\xbe\320\xb4"); goto XMff7; Qe8NZ: cOzze: goto ifeDp; WZWEP: if (!empty($id)) { goto a9QGZ; } goto oGTyw; EcoZJ: k32qz: goto tHjvn; ui0Kz: $this->updateUser((int) $m[1], balance: $balance); goto jMYhN; EVPJH: $id = $this->sql("\x69\x6e\163\145\x72\164\x20\x69\156\164\x6f\x20\157\162\x64\145\x72\x73\x28\x74\147\151\144\x2c\x20\x73\145\x72\166\145\162\x2c\40\160\x72\x69\x63\x65\x2c\x20\163\x74\141\162\x73\54\x20\x71\x75\x61\x6e\164\x2c\x20\x6c\x69\146\x65\x2c\40\160\162\x6f\155\157\54\x20\160\141\151\144\54\40\x70\x61\151\144\x5f\x74\x69\x6d\145\x29\40\166\141\x6c\165\x65\163\40\50\72\164\x67\151\144\54\40\72\163\x65\162\166\x65\162\54\x20\x3a\160\162\151\143\x65\54\x20\x3a\x73\x74\141\162\x73\x2c\x20\x3a\161\165\141\156\x74\54\40\72\154\x69\x66\x65\x2c\40\72\x70\162\157\155\157\54\x20\72\160\141\x69\x64\54\40\72\160\x61\151\144\164\x69\155\145\51\73\x53\105\114\x45\x43\x54\40\114\x41\x53\x54\x5f\111\116\123\x45\x52\124\x5f\111\104\x28\51\x3b", ["\x3a\x74\x67\151\144" => $this->cZwKZ["\x66\x72\x6f\155"], "\x3a\x73\x65\x72\x76\x65\162" => $r["\x73\x65\162\x76\145\162"], "\x3a\160\x72\151\x63\145" => $r["\x70\162\x69\143\x65"], "\x3a\x73\164\141\x72\x73" => $r["\x73\x74\x61\x72\163"], "\72\161\165\141\156\x74" => $r["\161\165\141\156\164"], "\72\x6c\151\x66\145" => $r["\144\x75\162\x61\x74\151\x6f\156"], "\72\160\x61\x69\x64" => $r["\x70\x72\x69\x63\145"] || $r["\163\x74\x61\162\x73"] ? 0 : 1, "\x3a\x70\141\151\144\164\x69\x6d\145" => $r["\x70\x72\x69\x63\x65"] || $r["\163\x74\x61\x72\163"] ? null : date("\131\55\x6d\x2d\x64\40\x48\72\151\72\x73"), "\x3a\x70\162\x6f\155\157" => $code], "\x6f\x6e\x65", nextRowset: 1); goto yYPcM; WObyo: goto k32qz; goto Frucx; jvVDM: $this->order($id, $menupage); goto CvapH; hno8Z: ai9TJ: goto LIdYv; LTYog: $this->menu($menupage); goto AkYEl; hJwqp: if ($r = $this->sql("\x73\x65\154\145\143\x74\x20\52\40\146\162\157\x6d\40\x70\162\157\x6d\157\x20\x77\150\x65\162\145\40\164\x69\164\154\145\x3d\x3a\x70\x72\x6f\155\157", ["\x3a\x70\x72\x6f\x6d\x6f" => $code], "\162\x6f\x77")) { goto VBQVj; } goto F2jwk; ifeDp: $this->payOrder($id, $r["\x73\145\x72\x76\x65\162"], $menupage, 1); goto kgM06; deAeP: wMRmC: goto b1kKq; XMff7: $this->menu($menupage); goto WObyo; czt7J: if (!empty($balance) && !empty($order) && empty($this->sql("\x73\x65\154\x65\143\164\40\162\x65\x66\145\162\141\154\x20\146\162\x6f\x6d\40\165\x73\x65\x72\x73\40\167\x68\145\x72\x65\40\x74\147\x69\144\x3d\x3a\164\147\x69\144", ["\72\164\147\x69\144" => $this->cZwKZ["\x66\x72\x6f\x6d"]], "\157\x6e\x65"))) { goto wMRmC; } goto Bf5Vb; oGTyw: goto Sa1MI; goto Qe8NZ; LIdYv: } public function orders($orderpage = 0) { goto GmHIC; rqRTj: wZlEb: goto G1xkb; GmHIC: if (!($count = $this->sql("\x73\145\154\x65\143\x74\x20\x63\157\165\156\x74\x28\52\51\40\146\162\x6f\155\x20\x6f\x72\x64\145\162\x73\x20\x77\x68\x65\x72\x65\x20\160\141\x69\144\75\60", view: "\157\x6e\x65"))) { goto wZlEb; } goto mh2Cy; MRpWI: $data[] = $this->paginate($count, $this->qB7oz, $orderpage, "\57\157\x72\144\x65\162\x73\x20\176\x70\x61\147\x65\x7e"); goto vcWSM; uCh1V: foreach ($orders as $k => $v) { goto kB28E; kB28E: $status = $v["\x70\141\x69\x64"] ? "\xd0\276\320\xbf\xd0\273\320\260\321\x87\xd0\xb5\xd0\275" : "\xd0\xb6\xd0\264\320\265\321\x82\x20\xd0\276\320\xbf\320\273\320\260\321\202\xd1\x8b\40" . $this->getTime(strtotime($v["\x69\x6e\x73\x65\162\x74\x5f\164\151\155\x65"]) + $this->getSetting("\x65\x78\x70\x69\x72\145\x50\141\171") - time()); goto c1PB3; c1PB3: $status .= $v["\143\x6c\151\x65\156\164"] ? "\40\x2d\x20\xd0\xbf\xd1\x80\320\xbe\xd0\xb4\xd0\xbb\xd0\265\320\275\xd0\xb8\320\265\x20\43{$v["\143\x6c\151\145\156\164"]}" : ''; goto AS4eS; AS4eS: $data[] = [["\x74\x65\x78\x74" => "\x23{$v["\151\144"]}\x20{$v["\x74\147\x69\x64"]}\40\x28{$status}\51\x3a\40" . ($v["\156\141\155\145"] ?: "{$v["\x69\160"]}\72{$v["\160\157\x72\164"]}") . "\40\x2f\40" . $this->getTime($v["\x6c\x69\x66\x65"]), "\x63\x61\154\x6c\142\141\143\x6b\137\x64\x61\x74\x61" => "\x2f\157\x72\x64\x65\162\x41\144\155\151\156\40{$v["\151\144"]}\137{$orderpage}"]]; goto AhwJJ; AhwJJ: LMY7A: goto cCa__; cCa__: } goto dbcQB; cXCeD: $this->update($this->cZwKZ["\x63\x68\x61\x74"], $this->cZwKZ["\155\x65\x73\x73\x61\147\x65\x5f\151\144"], implode("\xa", []), $data ?: false); goto ZoOfu; vcWSM: JoIra: goto rqRTj; s1CAq: $data[] = [["\x74\145\170\x74" => $this->i18n("\142\141\143\153"), "\x63\141\x6c\x6c\142\x61\x63\x6b\x5f\144\141\164\141" => "\x2f\155\145\156\x75"]]; goto cXCeD; mh2Cy: $orders = $this->sql("\x73\145\x6c\145\x63\164\40\157\56\52\54\40\163\x2e\x6e\141\x6d\x65\54\x20\x73\56\x69\x70\54\40\163\x2e\x70\157\162\x74\x20\x66\x72\x6f\155\x20\x6f\x72\144\145\162\163\40\x6f\x20\154\145\x66\x74\40\152\x6f\151\x6e\x20\163\x65\x72\x76\x65\162\x73\x20\163\x20\157\x6e\x20\x73\x2e\151\144\x3d\157\56\163\145\x72\166\145\162\x20\167\x68\145\162\145\40\157\x2e\160\x61\x69\x64\x3d\x30\x20\x6c\151\155\151\x74\40{$this->qB7oz}\40\x6f\x66\x66\x73\145\164\40" . $orderpage * $this->qB7oz); goto uCh1V; nR5c4: if (!($count > $this->qB7oz)) { goto JoIra; } goto MRpWI; G1xkb: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x75\x70\144\141\x74\x65"), "\x63\141\154\154\x62\x61\x63\153\137\x64\x61\164\141" => "\x2f\x6f\x72\144\145\x72\x73\40{$orderpage}"]]; goto s1CAq; dbcQB: jJ2pZ: goto nR5c4; ZoOfu: } public function orderAdmin($id, $orderpage) { goto mhgum; HXYoH: $status .= $order["\143\x6c\x69\145\x6e\x74"] ? "\40\55\40\320\xbf\xd1\x80\xd0\276\320\264\xd0\xbb\320\265\320\xbd\xd0\270\xd0\xb5\40\43{$order["\143\x6c\x69\145\x6e\x74"]}" : ''; goto TGuD2; TGuD2: $u = $this->getInfoUser($order["\x74\x67\151\144"])["\162\145\x73\165\x6c\x74"]["\x75\x73\145\162"]["\146\151\162\x73\164\137\156\141\155\145"]; goto mv_ce; sDyD1: $s = substr($this->getSetting("\163\165\160\160\x6f\162\164"), 3); goto WN2K5; RDW61: oy4l2: goto W9B3X; iJKIo: $status = $order["\x70\141\151\144"] ? "\320\xbe\xd0\xbf\xd0\xbb\xd0\xb0\321\207\320\265\320\xbd" : "\320\xb6\320\264\xd0\xb5\xd1\202\x20\xd0\xbe\xd0\xbf\xd0\273\320\xb0\xd1\202\xd1\213\40" . $this->getTime(strtotime($order["\x69\x6e\x73\x65\162\x74\137\164\x69\x6d\x65"]) + $this->getSetting("\x65\x78\160\x69\162\x65\x50\141\171") - time()); goto HXYoH; W9B3X: $data[] = [["\164\145\170\164" => $this->i18n("\142\141\143\x6b"), "\x63\141\x6c\154\142\141\143\x6b\x5f\144\x61\164\x61" => "\57\x6f\162\x64\x65\x72\x73\x20{$orderpage}"]]; goto UoB9w; UoB9w: $this->update($this->cZwKZ["\x63\150\x61\x74"], $this->cZwKZ["\155\x65\163\163\141\x67\x65\137\x69\x64"], implode("\xa", $text ?: []), $data ?: false); goto PKyUo; mv_ce: $text[] = "\x23{$order["\x69\144"]}\x20{$order["\164\147\x69\144"]}\x20{$u}\40\x28{$status}\51\72\40" . ($order["\x6e\x61\155\145"] ?: "{$order["\x69\160"]}\x3a{$order["\x70\157\x72\164"]}") . "\40\x2f\x20" . $this->getTime($order["\154\x69\146\145"]); goto sDyD1; mhgum: if (!($order = $this->sql("\x73\145\154\145\143\x74\x20\157\56\52\x2c\40\x73\x2e\x6e\x61\155\145\54\40\x73\56\151\x70\x2c\40\163\56\160\x6f\x72\x74\x20\x66\162\x6f\x6d\40\157\x72\144\x65\x72\x73\x20\157\40\x6a\157\x69\156\40\163\145\162\166\145\162\x73\x20\x73\x20\157\156\40\163\56\x69\x64\75\157\56\x73\x65\x72\166\x65\162\x20\x77\x68\x65\x72\145\40\157\56\x69\x64\75\72\x69\144", ["\72\x69\x64" => $id], "\162\x6f\x77"))) { goto oy4l2; } goto iJKIo; WN2K5: $data[] = array_merge([["\164\x65\170\164" => $this->i18n("\144\x65\154\x65\x74\x65"), "\x63\x61\x6c\154\x62\141\x63\153\x5f\x64\141\x74\141" => "\57\x64\x65\154\145\164\145\117\162\144\145\x72\x20{$id}\137{$orderpage}\x5f\157\x72\x64\x65\162\163"], ["\164\x65\170\x74" => $this->i18n("\143\157\x6e\x66\151\x72\155"), "\143\x61\154\x6c\x62\141\x63\153\137\144\141\x74\x61" => "\x2f\x63\x6f\x6e\x66\x69\x72\155\117\162\x64\145\x72\40{$id}\x5f{$orderpage}"]], ($f = $this->sql("\163\x65\154\x65\x63\x74\40\x66\157\162\x75\x6d\40\146\162\157\x6d\x20\163\165\x70\160\157\x72\x74\x20\x77\x68\x65\162\145\x20\x74\147\151\x64\75\x3a\x74\147\x69\x64", ["\72\164\147\151\x64" => $order["\164\147\151\144"]], "\x6f\156\145")) ? [["\x74\x65\x78\x74" => $this->i18n("\143\150\x61\x74"), "\165\x72\x6c" => "\x68\x74\164\x70\x73\72\x2f\x2f\x74\56\155\145\x2f\x63\57\61\x37\x39\62\61\70\x32\66\65\67\x2f{$f}"]] : [["\164\x65\170\164" => $this->i18n("\x63\x68\x61\x74"), "\143\x61\154\x6c\x62\x61\143\x6b\x5f\x64\141\164\141" => "\57\163\164\141\162\164\x43\150\x61\x74\x20{$order["\164\x67\x69\144"]}\137{$id}\137{$orderpage}"]]); goto RDW61; PKyUo: } public function confirmOrder($id, $orderpage) { $this->sql("\165\x70\x64\x61\x74\x65\x20\157\x72\144\145\162\163\40\163\145\x74\x20\160\x61\151\144\x3d\x31\x2c\x20\x70\x61\151\x64\x5f\164\151\155\145\75\x6e\x6f\x77\50\51\x20\x77\x68\x65\x72\x65\x20\160\x61\x69\x64\75\x30\x20\x61\x6e\x64\40\x69\x64\75\72\x69\144", ["\x3a\x69\144" => $id]); $this->orders($orderpage); } public function paginate($all, $limit, $page, $callback) { goto zzD4l; zzD4l: $pages = (int) ceil($all / $limit); goto fXqej; NQ3I6: $next = $page + 1 >= $pages ? 0 : $page + 1; goto o3e7e; o3e7e: return [["\164\145\170\164" => "\74\74", "\143\x61\154\154\x62\x61\x63\153\x5f\x64\x61\x74\x61" => str_replace("\x7e\160\x61\x67\x65\176", $prev, $callback)], ["\164\x65\x78\x74" => $page + 1 . "\x20\xd0\xb8\xd0\267\x20" . $pages, "\x63\141\154\x6c\142\141\143\153\137\144\x61\164\x61" => str_replace("\x7e\x70\141\x67\145\176", $page, $callback)], ["\164\145\170\x74" => "\x3e\x3e", "\143\x61\154\154\x62\141\x63\x6b\x5f\x64\x61\x74\141" => str_replace("\x7e\x70\141\x67\x65\176", $next, $callback)]]; goto uZkHM; fXqej: $prev = $page - 1 < 0 ? $pages - 1 : $page - 1; goto NQ3I6; uZkHM: } public function servers($serverpage = 0) { goto xrVb5; A0oBd: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x75\160\x64\x61\x74\145"), "\143\x61\154\154\x62\x61\x63\153\137\144\x61\x74\x61" => "\57\163\x65\x72\166\145\x72\163\x20{$serverpage}"]]; goto zkFam; zkFam: $data[] = [["\x74\x65\170\x74" => $this->i18n("\142\141\143\x6b"), "\x63\141\x6c\x6c\x62\x61\x63\153\x5f\x64\x61\x74\141" => "\57\x6d\x65\156\x75"]]; goto HLXR4; R00pF: $data[] = $this->paginate($c, $this->qB7oz, $serverpage, "\x2f\x73\145\x72\166\145\162\163\x20\176\160\141\x67\145\176"); goto SXeEW; AGD14: $s = $this->sql("\163\x65\154\x65\143\164\40\52\x2c\12\40\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\40\x20\50\163\x65\x6c\x65\143\x74\40\x63\x6f\165\156\x74\x28\52\51\x20\x66\162\x6f\x6d\x20\x63\154\x69\145\x6e\x74\x73\40\167\150\x65\162\145\40\163\145\x72\x76\x65\162\75\x73\145\x72\166\145\162\x73\x2e\151\x64\x29\40\143\x6c\x69\x65\x6e\x74\163\x2c\12\x20\x20\40\40\x20\40\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\40\40\x20\40\40\40\x20\50\x73\x65\x6c\145\x63\164\x20\163\165\155\x28\x73\x65\163\163\151\157\156\x5f\144\157\x77\156\154\157\x61\144\51\x20\x2b\x20\163\x75\155\50\144\x6f\x77\156\154\157\141\x64\51\40\146\x72\x6f\x6d\x20\143\154\x69\x65\x6e\164\x73\x20\167\x68\x65\x72\145\x20\x73\x65\162\166\x65\x72\75\x73\x65\x72\x76\x65\x72\x73\x2e\x69\x64\51\x20\144\157\x77\x6e\154\x6f\141\x64\x2c\12\x20\x20\40\x20\40\40\40\40\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\40\40\x28\163\145\x6c\x65\143\164\x20\x73\x75\155\x28\163\145\x73\x73\151\157\156\137\165\160\x6c\x6f\141\144\x29\x20\53\x20\x73\165\x6d\50\165\160\154\x6f\141\144\x29\x20\146\x72\x6f\155\x20\143\154\151\145\156\x74\x73\x20\167\x68\145\162\145\x20\x73\145\x72\x76\x65\162\x3d\163\145\162\166\x65\162\163\x2e\x69\x64\51\x20\165\x70\154\157\x61\144\xa\40\40\x20\40\x20\40\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\40\x20\40\x20\40\x20\40\40\40\40\146\x72\x6f\x6d\40\x73\x65\162\166\145\x72\163\x20\x6f\x72\144\x65\162\x20\x62\x79\x20\x6e\141\155\x65\40\154\x69\x6d\151\164\x20{$this->qB7oz}\x20\x6f\146\x66\163\x65\x74\40" . $serverpage * $this->qB7oz); goto IDuuK; cSN6y: if (!($c > $this->qB7oz)) { goto zTmI7; } goto R00pF; o39qU: P9HCC: goto A0oBd; HLXR4: $this->update($this->cZwKZ["\143\x68\141\164"], $this->cZwKZ["\155\145\163\x73\141\x67\145\137\x69\144"], implode("\xa", []), $data ?: false); goto fgbjs; SXeEW: zTmI7: goto o39qU; xrVb5: if (!($c = $this->sql("\163\145\x6c\x65\143\164\x20\x63\157\165\x6e\x74\50\x2a\51\x20\146\162\x6f\155\x20\x73\145\x72\166\145\162\x73", view: "\x6f\x6e\x65"))) { goto P9HCC; } goto AGD14; IDuuK: foreach ($s as $k => $v) { goto iP3yf; NK9GU: $data[] = [["\164\x65\170\164" => $online . "\x20" . ($v["\156\141\155\145"] ?: "{$v["\151\160"]}\x3a{$v["\160\x6f\162\164"]}") . "\40\x63\154\x69\145\156\164\163\x3a\x20{$v["\x63\154\151\x65\x6e\x74\x73"]}\x2f{$v["\143\145\154\x6c\x73"]}\x20\xe2\206\x93{$download}\40\342\x86\221{$upload}", "\143\141\154\154\x62\141\143\153\x5f\144\141\164\x61" => "\57\163\x65\x72\166\x65\162\40{$v["\151\144"]}\137{$serverpage}"]]; goto csbjj; DhHZC: $upload = $this->getBytes($v["\x75\160\x6c\x6f\141\144"]); goto vXJrV; iP3yf: $download = $this->getBytes($v["\x64\157\167\x6e\154\x6f\x61\x64"]); goto DhHZC; csbjj: Fis1p: goto ggwCM; vXJrV: $online = strtotime($v["\x6c\141\x73\164\137\x6f\x6e\x6c\151\x6e\x65"]) + $v["\163\154\x65\x65\160"] < time() ? "\x6f\146\x66\x6c\x69\156\x65" : ''; goto NK9GU; ggwCM: } goto MRU5M; MRU5M: uOO2h: goto cSN6y; fgbjs: } public function getClients($call, $server = 0, $serverpage = 0, $clientpage = 0) { goto aQ5FI; racsh: foreach ($clients as $k => $v) { goto Y7sUz; rM4yX: $u = $this->getBytes($v["\165\x70\x6c\x6f\141\144"] + $v["\x73\x65\x73\163\x69\157\156\x5f\165\160\x6c\157\141\x64"]); goto mtyYN; mtyYN: $l = $this->getBytes($v["\x6c\x69\x6d\151\164\141\164\x69\157\x6e"]); goto WF3Gt; WF3Gt: $data[] = [["\164\145\170\164" => "\x23{$v["\x69\x64"]}\40{$on}\40{$name}\x20\342\x86\x93{$d}" . ($v["\154\151\155\151\x74\141\x74\x69\x6f\x6e"] ? "\x28{$l}\51" : '') . "\40\xe2\206\x91{$u}\40\x20\x20{$life}", "\143\x61\x6c\154\142\x61\143\153\x5f\144\x61\x74\141" => "\57\x63\x6c\x69\x65\156\x74\x20{$call}\x5f{$v["\151\144"]}\x5f{$server}\x5f{$serverpage}\x5f{$clientpage}"]]; goto lip3T; clr8y: $on = $v["\157\156\137\157\x66\146"] && !$v["\x70\165\x62\154\151\143"] ? "\50\167\141\x69\x74\40\143\x72\145\141\x74\x65\51" : ''; goto vM5KR; NS7wa: $d = $this->getBytes($v["\x64\157\167\156\154\157\x61\144"] + $v["\163\145\x73\163\x69\x6f\x6e\137\144\x6f\x77\156\154\157\x61\x64"]); goto rM4yX; lip3T: jrPCV: goto bgKqd; Y7sUz: $life = $v["\154\151\x66\x65"] ? $this->getTime(strtotime($v["\x6c\151\146\145"]) - time()) : "\xe2\x88\x9e"; goto clr8y; vM5KR: $name = $v["\x6e\141\155\145"] ?: $v["\x74\x67\151\144"]; goto NS7wa; bgKqd: } goto SAhdV; zfk14: return $data ?: []; goto uMvPT; aN06j: if (!($count > $this->qB7oz)) { goto vBO2y; } goto Nkk7h; ahHWm: $clients = $this->sql("\x73\x65\154\x65\x63\x74\40\x2a\x20\146\162\157\155\x20\x63\x6c\151\145\156\x74\163\40\x77\x68\145\x72\145\x20\x69\x66\50\x3a\151\x64\75\60\x2c\x20\x74\x72\x75\145\54\40\x73\x65\162\166\145\162\75\x3a\151\x64\x29\40" . (!empty($_SESSION["\x73\145\x61\x72\143\150"]) ? "\x20\x61\156\x64\x20\x28\x6e\141\155\x65\40\154\151\x6b\145\40\x3a\163\145\x61\x72\143\150\40\x6f\x72\40\164\x67\151\x64\40\154\151\x6b\x65\40\x3a\x73\x65\x61\x72\x63\x68\51" : '') . ($_SESSION["\x6f\156\x6f\x66\146"] == "\x6f\x6e" ? "\x20\141\x6e\144\40\x6f\x6e\137\x6f\x66\x66\x3d\61" : '') . ($_SESSION["\x6f\156\157\146\146"] == "\157\x66\x66" ? "\x20\x61\x6e\x64\x20\x6f\156\137\x6f\x66\146\x3d\60" : '') . "\40\x6c\x69\x6d\151\x74\40{$this->qB7oz}\40\157\x66\x66\163\x65\164\40" . $clientpage * $this->qB7oz, !empty($_SESSION["\163\x65\141\162\143\x68"]) ? ["\72\x69\144" => $server, "\72\x73\x65\x61\162\143\150" => "\45{$_SESSION["\163\145\x61\162\143\150"]}\x25"] : ["\72\x69\144" => $server]); goto racsh; Nkk7h: $data[] = $this->paginate($count, $this->qB7oz, $clientpage, "\57{$call}\40{$server}\x5f{$serverpage}\137\176\x70\141\x67\x65\176"); goto gacOq; aPrLb: rqpC4: goto zfk14; gacOq: vBO2y: goto aPrLb; SAhdV: MDYox: goto aN06j; aQ5FI: if (!($count = $this->sql("\x73\145\154\x65\143\164\40\143\x6f\x75\x6e\164\50\52\51\40\x66\x72\x6f\155\x20\143\x6c\x69\145\156\164\x73\40\x77\150\x65\162\x65\40\x69\146\x28\72\x69\x64\75\x30\x2c\40\x74\x72\165\x65\54\x20\x73\145\x72\x76\x65\x72\75\x3a\151\144\x29" . (!empty($_SESSION["\x73\x65\x61\x72\x63\x68"]) ? "\x20\x61\x6e\x64\40\x28\x6e\x61\x6d\x65\x20\154\x69\x6b\x65\x20\72\x73\145\x61\x72\x63\x68\40\157\x72\40\164\147\151\x64\40\154\x69\x6b\x65\x20\x3a\163\x65\141\x72\x63\150\51" : '') . ($_SESSION["\x6f\x6e\x6f\x66\x66"] == "\x6f\156" ? "\40\141\x6e\x64\x20\x6f\x6e\137\157\x66\x66\x3d\x31" : '') . ($_SESSION["\157\x6e\157\x66\x66"] == "\x6f\146\146" ? "\40\141\x6e\144\x20\157\156\137\157\x66\x66\x3d\60" : ''), !empty($_SESSION["\163\x65\141\x72\x63\150"]) ? ["\72\151\x64" => $server, "\72\163\145\x61\x72\143\x68" => "\x25{$_SESSION["\x73\145\141\x72\x63\x68"]}\x25"] : ["\72\x69\144" => $server], "\x6f\156\145"))) { goto rqpC4; } goto ahHWm; uMvPT: } public function searchClient($text, $server_id = 0) { goto oSE_I; oSE_I: $_SESSION["\163\x65\141\x72\143\150"] = $text; goto pFT_c; pFT_c: if (empty($server_id)) { goto R9SXl; } goto UiimT; b3TPY: $this->clients($server_id); goto wLmPn; UiimT: return $this->server($server_id); goto XvbIT; XvbIT: R9SXl: goto b3TPY; wLmPn: } public function onoff($server_id = 0) { goto KJz5_; zM1iu: if (empty($server_id)) { goto a3BBt; } goto W_X2Q; T_4wJ: $this->clients($server_id); goto Sekk1; lwnmF: bQLx1: goto zM1iu; S6gSD: FNDEJ: goto lwnmF; fm9A2: a3BBt: goto T_4wJ; KJz5_: switch ($_SESSION["\157\x6e\157\146\146"]) { case "\157\x6e": $_SESSION["\157\156\x6f\x66\146"] = "\157\146\146"; goto bQLx1; case "\157\146\146": $_SESSION["\x6f\156\x6f\x66\146"] = "\157\x6e\x6f\x66\146"; goto bQLx1; default: $_SESSION["\157\x6e\157\x66\146"] = "\157\156"; goto bQLx1; } goto S6gSD; W_X2Q: return $this->server($server_id); goto fm9A2; Sekk1: } public function clients($server_id = 0, $serverpage = 0, $clientpage = 0) { goto IrN6y; TqWbi: $data[] = [["\164\145\170\164" => $this->i18n("\142\141\143\153"), "\143\x61\x6c\x6c\x62\x61\143\153\137\x64\141\164\x61" => "\x2f\x6d\x65\156\x75"]]; goto bDEO9; e0lu2: $data[] = [["\164\x65\170\x74" => $this->i18n("\x63\150\141\156\147\x65\137\164\151\x6d\145\x5f\x61\154\x6c"), "\143\141\x6c\154\142\141\x63\153\x5f\x64\x61\x74\141" => "\57\x73\x65\x6e\144\x52\x65\160\x6c\171\x20\145\156\164\x65\x72\x20\154\151\x6b\145\40\x31\x20\144\141\171\x5f\x73\145\x74\124\151\x6d\145\103\154\151\145\156\x74\101\x6c\154\137{$server_id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto c2xoO; bDEO9: $this->update($this->cZwKZ["\x63\x68\141\164"], $this->cZwKZ["\x6d\x65\x73\163\x61\147\145\x5f\x69\144"], implode("\xa", []), $data ?: false); goto SVgxZ; IrN6y: $data = $this->getClients("\143\x6c\151\x65\x6e\164\x73", $server_id, $serverpage, $clientpage); goto jMhMC; jMhMC: $data[] = [["\164\145\170\x74" => $this->i18n("\x66\151\154\164\145\162") . "\x3a\40" . $this->i18n($_SESSION["\157\x6e\x6f\146\146"] ?: "\157\x6e\x6f\146\x66"), "\143\141\154\x6c\142\x61\x63\x6b\x5f\144\141\x74\x61" => "\x2f\157\x6e\157\146\x66\x20{$server_id}"], ["\164\145\x78\x74" => $this->i18n("\163\145\141\x72\143\150") . ($_SESSION["\163\x65\141\162\x63\150"] ? "\72\x20{$_SESSION["\163\x65\141\x72\x63\x68"]}" : ''), "\143\141\x6c\154\142\x61\143\x6b\x5f\x64\141\x74\x61" => "\57\x73\x65\156\x64\122\145\x70\154\x79\40\x65\x6e\164\x65\x72\40\156\141\x6d\x65\40\x6f\x72\40\x74\147\151\144\x5f\x73\145\141\162\143\x68\x43\x6c\x69\145\x6e\x74\x5f{$server_id}"]]; goto e0lu2; c2xoO: $data[] = [["\x74\x65\x78\164" => $this->i18n("\x75\x70\x64\141\164\145"), "\x63\141\x6c\154\142\141\x63\153\137\x64\141\164\141" => "\57\x63\x6c\x69\145\156\x74\163\x20{$server_id}\x5f{$serverpage}\137{$clientpage}"]]; goto TqWbi; SVgxZ: } public function getRef() { return "\150\164\164\x70\x73\72\57\57\164\x2e\x6d\x65\57{$this->request("\x67\145\x74\115\x65", [])["\162\145\x73\x75\x6c\x74"]["\165\x73\145\162\156\141\x6d\145"]}\x3f\x73\164\141\x72\x74\x3d\x63\x6c" . $this->cZwKZ["\x66\x72\x6f\155"]; } public function getBalance() { return $this->sql("\x73\x65\x6c\145\x63\164\40\142\x61\x6c\141\156\143\145\x20\x66\x72\157\x6d\40\165\x73\145\x72\163\40\167\x68\x65\x72\x65\40\164\147\151\x64\x3d\x3a\164\x67\x69\x64", ["\72\164\147\x69\144" => $this->cZwKZ["\x66\162\x6f\x6d"]], "\157\x6e\145"); } public function peer($id, $menupage) { goto weLmv; fhBnc: $data[] = [["\164\145\170\164" => $this->i18n("\161\162"), "\x63\141\x6c\154\142\141\x63\x6b\137\144\141\164\141" => "\x2f\x71\x72\120\x65\145\x72\x20{$id}"], ["\x74\145\x78\164" => $this->i18n("\144\x6f\167\x6e\x6c\157\x61\x64"), "\143\141\154\154\x62\141\x63\x6b\x5f\x64\x61\164\141" => "\57\161\x72\120\x65\145\162\x20{$id}\x5f\61"]]; goto Ga73X; J9FbJ: $data[] = [["\164\x65\x78\x74" => $this->i18n("\160\162\x6f\154\157\x6e\147"), "\143\141\154\x6c\x62\x61\x63\153\137\144\x61\x74\141" => "\57\x70\x72\x6f\x6c\x6f\x6e\147\40{$id}\137{$menupage}"]]; goto WeyTT; Calnt: $c["\x6c\x69\146\145"] = $c["\154\x69\146\x65"] ? $this->getTime(strtotime($c["\x6c\151\146\x65"]) - time()) : "\xe2\x88\x9e"; goto yHw2l; NN_SC: $c["\x6e\x61\x6d\x65"] = $c["\x6e\141\x6d\x65"] ?: "{$u}\x20\x28{$c["\164\x67\151\x64"]}\x29"; goto w3t6F; yHw2l: $u = $this->getInfoUser($c["\x74\147\151\144"])["\x72\145\163\x75\x6c\x74"]["\165\x73\x65\x72"]["\x66\151\162\x73\164\x5f\156\141\x6d\145"]; goto NN_SC; gnUbY: V743W: goto Calnt; w3t6F: $text[] = $this->template("\165\162", $c); goto J9FbJ; X4KIU: gHYjR: goto OgeGy; jV1Da: if (!$c["\x6f\156\x5f\x6f\146\146"]) { goto V743W; } goto sVycP; PM1E_: $this->update($this->cZwKZ["\x63\150\141\164"], $this->cZwKZ["\155\145\163\163\x61\x67\x65\x5f\x69\144"], implode("\xa", $text ?: []), $data ?: false); goto AmJat; OgeGy: $data[] = [["\x74\145\x78\x74" => $this->i18n("\142\x61\143\x6b"), "\143\x61\x6c\x6c\142\x61\x63\153\x5f\144\141\x74\x61" => "\x2f\155\145\x6e\165\40{$menupage}"]]; goto PM1E_; sVycP: $c["\143\157\x64\x65"] = "\74\160\162\145\76\x3c\143\157\144\145\76" . $this->qrPeer($id, return: 1) . "\74\57\x63\157\144\x65\76\74\57\x70\x72\x65\x3e"; goto gnUbY; inPno: $data[] = [["\164\145\170\x74" => $this->i18n("\162\145\x6e\x61\155\145"), "\143\x61\x6c\154\x62\x61\143\x6b\x5f\x64\x61\x74\141" => "\57\x73\x65\156\144\122\145\160\x6c\x79\x20\145\x6e\x74\x65\x72\x20\x6e\141\x6d\x65\137\165\163\145\162\122\145\156\141\x6d\x65\137{$id}\137{$menupage}"]]; goto X4KIU; weLmv: $c = $this->sql("\x73\145\154\145\143\x74\x20\143\56\x2a\54\x20\151\146\50\163\56\x64\157\x6d\141\151\156\x21\75\42\x22\54\x20\163\56\144\x6f\155\x61\151\156\54\40\x73\56\x69\160\x29\40\x64\157\x6d\x61\151\x6e\54\40\x73\56\150\x61\163\150\40\x73\x65\162\x76\x65\162\137\150\141\163\150\x2c\40\x73\x2e\160\x6f\162\164\x20\146\x72\157\x6d\40\x63\154\151\x65\156\164\x73\40\143\40\x6a\x6f\x69\x6e\40\163\x65\x72\166\x65\162\163\40\x73\40\x6f\x6e\40\x73\x2e\151\x64\75\143\x2e\163\x65\162\166\145\162\40\167\x68\x65\x72\145\x20\143\x2e\151\144\x3d\x3a\151\x64", ["\72\151\144" => $id], "\x72\157\x77"); goto jV1Da; Ga73X: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x61\155\156\145\172\151\141"), "\143\x61\154\x6c\142\141\143\153\137\144\x61\164\141" => "\57\141\155\156\x65\x7a\x69\141\x20{$id}"]]; goto inPno; WeyTT: if (!$c["\x6f\156\x5f\157\x66\146"]) { goto gHYjR; } goto fhBnc; AmJat: } public function amnezia($id) { $link = $this->sql("\163\145\154\x65\x63\x74\x20\141\x6d\156\x65\172\151\x61\40\x66\x72\157\155\40\143\154\x69\145\x6e\x74\163\40\167\x68\x65\x72\x65\40\151\144\x3d\x3a\151\x64", ["\x3a\151\144" => $id], "\x6f\x6e\x65"); $this->send($this->cZwKZ["\146\x72\157\155"], "\x3c\143\157\x64\x65\x3e{$link}\x3c\x2f\x63\x6f\x64\x65\76"); } public function qrPeer($id, $download = 0, $return = false) { goto PKt8a; tAAnZ: exec("\x71\x72\x65\x6e\143\x6f\x64\x65\40\x2d\x74\x20\x70\156\x67\x20\x2d\157\40{$path}\x20\47{$code}\x27"); goto qcGfs; q6V_r: $template = preg_replace("\x2f\x7e\x69\x70\176\x2f", preg_replace("\176\x5b\136\x61\55\x7a\101\55\x5a\60\x2d\x39\137\x5d\x2b\176", $replacement, $d), $template); goto Ren4Q; fsOsa: fhEPx: goto erw6I; YveMh: return $code; goto fsOsa; RrBnh: Gquer: goto uaDC2; gCwvL: goto L2cH9; goto RrBnh; sc8T7: $mtu = $c["\x6d\x74\x75"] ?: 1350; goto SoXcS; jB2CJ: $dns = $this->getSetting("\144\x6e\x73") ?: "\61\56\61\56\x31\56\61\x2c\x20\70\x2e\x38\56\x38\x2e\x38"; goto sc8T7; uaDC2: file_put_contents($path, $code); goto B0Hnc; Ccuv7: if ($download) { goto Gquer; } goto tAAnZ; QxSMM: $template = $this->getSetting("\164\145\155\x70"); goto oBcv0; SoXcS: $ips = $c["\151\160\163"] ?: "\x30\56\60\56\60\x2e\x30\57\x30"; goto k5JbP; PKt8a: $c = $this->sql("\163\x65\x6c\145\x63\x74\40\143\x2e\x2a\54\x20\163\56\151\x70\x20\x73\145\x72\x76\145\162\x5f\151\160\54\x20\x73\56\150\141\163\x68\40\163\145\162\x76\x65\162\x5f\x68\141\x73\150\54\40\163\x2e\x70\x6f\x72\x74\x2c\x20\163\x2e\144\x6f\x6d\x61\151\x6e\54\40\151\x66\50\x63\56\x6d\164\165\54\40\x63\x2e\155\164\x75\54\40\163\x2e\x6d\x74\165\x29\40\x6d\x74\x75\54\40\151\x66\50\143\x2e\x69\x70\x73\54\40\x63\56\151\160\x73\x2c\40\163\x2e\151\160\x73\51\40\x69\x70\x73\40\x66\162\x6f\x6d\40\x63\154\151\145\156\x74\x73\40\x63\40\152\x6f\151\x6e\40\163\145\x72\x76\145\162\163\x20\x73\40\x6f\x6e\40\x73\56\x69\144\75\143\x2e\x73\145\x72\166\x65\x72\x20\x77\150\145\x72\145\x20\143\56\x69\144\x3d\x3a\151\144", ["\72\x69\144" => $id], "\162\157\167"); goto n4ssT; erw6I: $path = __DIR__ . "\x2f\161\x72\x2f{$id}"; goto QxSMM; oBcv0: $replacement = $this->getSetting("\x72\x65\x70\154"); goto u3fcA; pa8_E: $template = preg_replace("\x2f\x7e\x62\157\164\176\x2f", preg_replace("\176\133\136\141\x2d\172\101\55\x5a\60\x2d\71\x5f\135\x2b\176", $replacement, $bot), $template); goto q6V_r; nd03r: unlink($path); goto JCHaL; ORQVL: if (!$return) { goto fhEPx; } goto YveMh; Ren4Q: $template = preg_replace("\x2f\176\160\x6f\x72\x74\176\x2f", preg_replace("\176\133\136\141\x2d\172\x41\x2d\x5a\60\55\71\x5f\135\53\x7e", $replacement, $c["\x70\157\162\164"]), $template); goto DQiwb; k5JbP: $code = "\133\x49\156\x74\x65\x72\x66\x61\143\145\x5d\12\x50\162\x69\166\x61\164\145\x4b\x65\x79\40\75\40{$c["\x70\162\x69\x76\141\x74\145"]}\12\x41\x64\144\x72\x65\163\x73\x20\75\x20{$c["\151\x70"]}\12\x4d\124\125\40\75\40{$mtu}\xa\104\x4e\x53\x20\x3d\x20{$dns}\12\12\133\120\x65\145\162\x5d\xa\x50\x75\x62\154\x69\143\113\145\x79\40\x3d\40{$c["\163\x65\162\166\145\x72\137\150\141\x73\x68"]}\12\105\x6e\x64\160\x6f\151\156\x74\40\x3d\x20{$d}\x3a{$c["\160\x6f\x72\164"]}\xa\101\154\154\157\167\x65\144\111\x50\163\40\x3d\x20{$ips}\12\x50\x65\x72\163\x69\x73\164\145\x6e\164\x4b\145\145\160\x61\154\151\166\145\40\75\x20\62\60"; goto ORQVL; B0Hnc: $this->sendFile($this->cZwKZ["\x63\150\x61\x74"], curl_file_create($path, posted_filename: $template)); goto hu5pW; DQiwb: $template = preg_replace("\57\x7e\151\144\x7e\57", preg_replace("\176\x5b\136\x61\x2d\x7a\x41\x2d\x5a\60\55\71\137\x5d\x2b\x7e", $replacement, $c["\151\144"]), $template); goto Ccuv7; n4ssT: $d = $c["\x64\157\x6d\141\x69\156"] ?: $c["\x73\x65\x72\166\145\x72\137\151\160"]; goto jB2CJ; u3fcA: $bot = $this->request("\x67\145\x74\115\171\x4e\x61\x6d\x65", [])["\162\145\163\165\154\164"]["\156\141\155\x65"]; goto pa8_E; hu5pW: L2cH9: goto nd03r; qcGfs: $this->sendPhoto($this->cZwKZ["\x63\x68\141\164"], curl_file_create($path), $template); goto gCwvL; JCHaL: } public function testPeriod($id, $menupage) { goto LySaN; di8pc: $this->updateUser($this->cZwKZ["\146\162\x6f\155"], test: 1); goto ggyHX; YHoxl: $this->menu($menupage); goto wg7k_; zJE7x: bW2QQ: goto YHoxl; ggyHX: $this->sql("\x69\156\163\145\x72\164\40\151\156\164\x6f\x20\x63\x6c\151\x65\156\x74\163\x28\164\147\x69\144\x2c\x20\x73\145\162\166\145\162\54\x20\x6f\156\137\157\x66\x66\54\40\x69\x70\54\40\x6c\x69\146\145\51\x20\166\141\x6c\165\145\163\40\50\72\x74\x67\x69\x64\54\x20\72\x73\145\x72\166\145\x72\x2c\x20\x31\x2c\x20\x3a\x69\160\54\40\x3a\x6c\151\x66\145\x29", ["\72\x74\x67\x69\144" => $this->cZwKZ["\146\162\157\x6d"], "\x3a\x73\145\162\x76\145\x72" => $id, "\72\151\160" => $this->nextIP($id), "\72\x6c\x69\146\145" => date("\x59\55\155\x2d\x64\x20\110\72\151\72\163", time() + $s)]); goto zJE7x; LySaN: if (!($s = $this->sql("\x73\x65\x6c\x65\x63\164\x20\164\145\163\164\x5f\x74\151\x6d\x65\40\x66\162\157\155\40\163\145\x72\166\145\162\163\x20\x77\150\145\x72\x65\x20\151\144\75\72\151\x64\x20\141\x6e\x64\x20\160\x61\171\75\x31\40\x61\x6e\x64\40\x74\x65\163\164\137\164\151\x6d\145\40\76\40\x30", ["\72\151\144" => $id], "\157\156\x65"))) { goto bW2QQ; } goto di8pc; wg7k_: } public function updateUser(int $tgid, int $balance = 0, bool $test = false, bool $referal = false) { goto m5Lfj; fb_nc: if (empty($referal)) { goto pez3w; } goto S0vEF; S0vEF: $this->notify("\320\xbf\xd0\xbe\xd0\xbb\xd1\x8c\xd0\xb7\320\276\xd0\262\xd0\260\321\202\xd0\xb5\320\xbb\321\214\40{$tgid}\40\320\xbf\xd1\x80\xd0\xb8\xd0\xbc\xd0\265\xd0\xbd\xd0\xb8\320\273\x20\321\200\xd0\265\xd1\x84\xd0\265\321\x80\320\260\xd0\xbb\320\xba\321\203"); goto N50Pd; dmAHR: $b = $this->sql("\163\145\154\145\x63\164\x20\142\x61\x6c\141\x6e\143\x65\40\x66\162\x6f\x6d\40\x75\x73\145\x72\163\40\167\150\145\x72\145\40\164\147\151\144\75\72\x74\x67\151\144", ["\x3a\x74\x67\151\x64" => $tgid], "\x6f\156\x65"); goto m0dRc; m0dRc: $l = $this->getSetting("\142\157\156\165\163\154\x69\x6d\x69\164"); goto N6LzE; N6LzE: zSd7O: goto fb_nc; N50Pd: pez3w: goto JelLD; m5Lfj: if (!($balance > 0)) { goto zSd7O; } goto dmAHR; JelLD: $this->sql("\x49\x4e\x53\x45\122\124\40\111\116\124\x4f\xa\x20\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x75\x73\x65\x72\x73\12\x20\40\40\x20\40\x20\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\x20\x20\x56\x41\x4c\x55\x45\x53\xa\40\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\40\40\x28\72\x74\147\x69\144\54\x20\x3a\142\141\154\x61\156\143\x65\54\40\x3a\x74\x65\163\164\54\40\x3a\162\x65\x66\x65\162\x61\154\51\40\x4f\x4e\40\104\x55\x50\114\x49\103\101\124\105\40\113\x45\x59\xa\40\x20\x20\40\x20\40\x20\40\40\40\x20\40\40\40\x20\40\40\40\40\40\x55\x50\104\101\x54\x45\40\142\141\x6c\141\156\143\x65\75\72\142\141\154\x61\156\143\145\12\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\40\40\x20\40\40\x20\x20\40\54\x20\x74\145\163\164\75\50\12\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\164\145\163\x74\xa\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\x4f\122\x20\72\164\145\163\x74\12\x20\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\40\40\40\40\40\40\51\xa\40\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x2c\40\162\x65\x66\x65\162\x61\x6c\75\x28\xa\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\162\x65\146\145\x72\141\x6c\xa\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\117\122\40\72\162\x65\146\145\162\x61\x6c\12\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\x29", ["\x3a\164\x67\151\x64" => $tgid, "\72\142\x61\x6c\141\156\x63\x65" => min($l, $b + $balance), "\72\x74\x65\x73\164" => (int) $test, "\x3a\162\x65\x66\145\162\x61\154" => (int) $referal]); goto bi4y5; bi4y5: } public function getDiscount() { return $this->sql("\x73\x65\x6c\x65\x63\x74\x20\x76\x61\x6c\x75\145\40\146\162\x6f\155\x20\x73\145\164\164\x69\156\147\163\40\x77\x68\x65\x72\145\40\x70\141\162\141\155\x3d\x22\144\x69\163\143\x6f\165\x6e\164\42", view: "\157\x6e\x65"); } public function serverUser($id, $menupage = 0) { goto YVF9O; cglPe: Y2jxN: goto F4k8T; rjD0c: if (!empty($s["\x70\x61\x79"])) { goto sIoWZ; } goto yPA_f; VGnu2: $text[] = "\xd0\275\320\265\xd1\202\40\xd0\264\xd0\276\xd1\x81\xd1\x82\321\x83\xd0\277\xd0\xbd\xd1\x8b\xd1\205\x20\321\201\xd0\xbb\xd0\xbe\xd1\x82\320\xbe\320\262\40\xd0\xbd\xd0\xb0\40\320\xb4\xd0\xb0\320\275\xd0\275\321\213\320\xb9\x20\320\274\320\276\xd0\274\xd0\265\xd0\xbd\xd1\x82"; goto h957b; BmUgK: z02AF: goto VGnu2; A52lF: $data[] = [["\164\145\x78\164" => $this->i18n("\x74\x65\x73\164\120\145\x72\x69\x6f\x64"), "\143\x61\154\154\142\x61\143\x6b\137\144\141\164\x61" => "\57\164\x65\x73\x74\x50\145\x72\x69\x6f\144\x20{$id}\137{$menupage}"]]; goto GhlzE; h957b: yO7f3: goto W0heB; YVF9O: if (!($s = $this->sql("\x73\145\154\145\x63\x74\x20\52\x20\146\162\157\155\x20\163\x65\x72\166\145\162\163\x20\x77\150\x65\162\145\x20\x69\x64\x3d\72\x69\144\40\141\x6e\x64\x20\x70\x61\x79\75\x31", ["\72\x69\x64" => $id], "\x72\x6f\167"))) { goto NKhZK; } goto orWLa; orWLa: $name = $s["\156\x61\x6d\145"] ?: "{$s["\151\x70"]}\x3a{$s["\x70\x6f\162\164"]}"; goto rjD0c; yPA_f: $text[] = "{$name}\40\xd0\275\320\xb5\x20\320\264\320\xbe\321\201\xd1\202\321\x83\xd0\xbf\xd0\xb5\xd0\xbd\x20\320\275\320\260\40\320\264\320\xb0\xd0\xbd\xd0\xbd\321\213\xd0\xb9\x20\xd0\xbc\320\xbe\320\xbc\320\xb5\xd0\xbd\xd1\202"; goto efpuK; J4Nyq: if (empty($data)) { goto z02AF; } goto XurHB; RAB6r: if (empty($p = $this->sql("\x73\x65\x6c\x65\143\164\40\x2a\40\146\162\157\x6d\x20\x70\x72\151\143\145\40\x77\x68\145\x72\x65\x20\x73\145\x72\166\145\162\75\x3a\x73\145\x72\x76\x65\x72", ["\72\163\x65\162\166\x65\x72" => $id]))) { goto tEkYz; } goto C2eGv; bjD1W: goto yO7f3; goto BmUgK; Zq9s3: if (empty($this->sql("\x73\x65\x6c\x65\x63\x74\40\61\x20\146\x72\x6f\x6d\x20\x6f\x72\144\145\162\163\40\167\150\145\162\145\40\111\106\50\50\163\145\154\x65\x63\164\40\166\141\154\x75\x65\x20\x66\162\157\x6d\40\163\145\x74\164\151\x6e\x67\163\x20\x77\150\x65\x72\x65\40\x70\x61\x72\141\155\75\x22\x6f\162\144\x65\x72\x73\x6c\x69\155\151\164\42\51\40\x3e\x20\x30\40\x2c\40\x28\x73\x65\x6c\145\x63\164\x20\166\x61\x6c\x75\145\x20\146\x72\x6f\x6d\40\x73\145\x74\x74\151\x6e\147\163\x20\x77\150\x65\162\x65\x20\160\141\162\x61\x6d\x3d\42\157\162\x64\x65\162\163\154\151\155\151\x74\x22\51\x20\76\40\x28\50\123\x45\x4c\x45\103\124\x20\143\157\165\156\x74\50\x2a\51\x20\106\122\x4f\x4d\40\x6f\x72\x64\x65\162\x73\40\x57\110\105\122\x45\40\x74\147\x69\144\75\x3a\x74\147\151\144\x29\40\55\40\x28\123\105\114\105\103\124\40\x63\157\165\x6e\x74\x28\x2a\x29\x20\x46\122\117\115\40\x63\154\x69\145\x6e\x74\x73\x20\127\x48\105\x52\105\x20\163\145\162\x76\145\x72\75\x3a\151\x64\x20\x41\116\104\40\164\147\151\144\75\72\164\x67\x69\x64\51\x29\x2c\x20\164\162\x75\x65\51", ["\x3a\151\x64" => $id, "\x3a\164\x67\151\144" => $this->cZwKZ["\146\x72\157\155"]], "\157\156\x65"))) { goto Jo5wD; } goto RAB6r; GhlzE: FNu2w: goto Zq9s3; ijqgy: $text[] = $this->template("\165\163", $s); goto jjk5v; LQF2G: Jo5wD: goto J4Nyq; TorUX: NKhZK: goto Ii0Uv; ZmN2f: if (!(!empty($s["\164\145\163\x74\137\164\x69\x6d\145"]) && empty($test))) { goto FNu2w; } goto A52lF; F4k8T: tEkYz: goto LQF2G; jjk5v: $this->update($this->cZwKZ["\143\150\141\164"], $this->cZwKZ["\x6d\145\x73\163\141\147\x65\x5f\151\144"], implode("\xa", $text ?: []), $data ?: false); goto Le1cX; XurHB: $text[] = $name; goto bjD1W; Nv4U8: sIoWZ: goto m8ZAm; W0heB: Y_JJD: goto TorUX; Ii0Uv: $data[] = [["\x74\145\x78\164" => $this->i18n("\x62\141\x63\x6b"), "\143\141\x6c\x6c\x62\x61\143\x6b\x5f\144\x61\164\141" => "\x2f\142\x75\x79\40{$menupage}"]]; goto ijqgy; m8ZAm: $test = $this->sql("\x73\x65\x6c\145\x63\x74\40\164\x65\x73\x74\x20\146\162\157\155\x20\x75\163\x65\x72\x73\40\167\x68\x65\162\x65\40\164\147\151\144\x3d\x3a\x74\x67\x69\144", ["\72\164\x67\151\144" => $this->cZwKZ["\x66\x72\157\155"]]); goto ZmN2f; C2eGv: foreach ($p as $k => $v) { $data[] = [["\164\145\x78\164" => $this->labelPrice($v), "\x63\141\x6c\x6c\x62\x61\x63\x6b\x5f\144\x61\x74\x61" => "\x2f\x63\x72\145\x61\x74\145\x4f\162\x64\145\162\x20{$id}\x5f{$v["\151\x64"]}\x5f{$menupage}"]]; EJ7Qa: } goto cglPe; efpuK: goto Y_JJD; goto Nv4U8; Le1cX: } public function createOrder($server, $price, $menupage, $client = null) { goto CcwVz; cguFD: $this->payOrder($id, $server, $menupage); goto YPQiP; dpMRD: $this->notify("\xd0\xbd\xd0\276\xd0\xb2\321\x8b\xd0\xb9\x20\xd0\xb7\320\260\320\272\320\260\xd0\267\x20\43{$id}"); goto cguFD; CcwVz: $id = $this->sql("\xa\x20\x20\40\40\x20\x20\x20\40\40\x20\40\40\x73\x65\x74\x20\x40\160\x72\x69\x63\145\40\x3d\x20\50\x73\x65\x6c\145\143\164\x20\x70\162\x69\143\145\x20\x66\162\x6f\155\x20\160\162\x69\143\145\40\167\150\145\x72\x65\40\151\144\75\72\160\162\151\143\145\51\x3b\xa\40\40\x20\40\x20\40\x20\40\40\x20\x20\x20\163\145\x74\40\x40\x73\x74\141\162\163\40\75\x20\50\x73\x65\154\x65\143\164\x20\x73\164\141\162\x73\40\146\162\x6f\x6d\40\x70\162\x69\x63\x65\40\167\150\x65\162\145\x20\151\x64\x3d\x3a\160\162\x69\143\145\51\x3b\12\40\40\x20\40\40\40\40\x20\x20\x20\40\40\x73\x65\164\x20\x40\x64\151\x73\143\157\165\x6e\x74\40\x3d\x20\50\x73\x65\x6c\145\x63\164\40\x63\141\163\x74\x28\x76\x61\154\x75\x65\40\141\x73\40\x75\x6e\x73\x69\x67\x6e\x65\144\x29\x20\146\162\157\x6d\40\x73\145\x74\164\151\x6e\x67\163\x20\167\150\145\162\x65\40\x70\141\x72\x61\155\x3d\x22\x64\151\x73\143\x6f\x75\x6e\x74\42\51\73\12\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\x69\x6e\x73\x65\162\x74\40\x69\156\164\157\x20\157\162\x64\x65\x72\x73\50\164\147\151\144\x2c\40\x73\x65\x72\166\145\x72\x2c\x20\160\162\151\143\x65\x2c\x20\x73\164\x61\162\163\x2c\x20\161\x75\141\x6e\164\54\40\x6c\151\x66\145\x2c\x20\x63\154\151\x65\x6e\164\51\x20\166\x61\x6c\x75\x65\163\xa\x20\40\x20\x20\40\40\x20\40\x20\40\x20\40\50\12\x20\40\x20\40\x20\40\40\40\40\x20\40\40\40\40\40\x20\x3a\x74\147\151\144\x2c\xa\40\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\72\163\145\x72\x76\x65\162\54\xa\40\x20\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\151\146\50\100\x64\151\x73\x63\157\x75\156\x74\x20\x3e\40\60\x2c\40\x63\145\x69\154\x28\x40\x70\162\x69\x63\145\40\x2d\x20\x40\160\x72\x69\x63\x65\40\x2a\x20\100\x64\x69\x73\x63\x6f\165\156\164\57\x31\60\x30\51\54\x20\x40\160\x72\x69\143\145\x29\x2c\12\x20\40\x20\40\x20\40\40\40\40\40\40\x20\x20\40\x20\x20\x69\x66\50\x40\x64\x69\163\x63\x6f\165\156\164\x20\76\40\60\x2c\40\143\x65\x69\x6c\50\100\x73\x74\141\x72\x73\x20\55\40\100\x73\164\141\162\163\40\x2a\x20\100\x64\151\x73\143\x6f\x75\156\164\57\61\60\x30\x29\x2c\40\100\163\164\141\x72\163\51\x2c\xa\40\40\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\50\x73\145\x6c\x65\x63\164\40\x71\x75\141\156\x74\x20\146\162\157\x6d\x20\160\162\x69\x63\145\40\167\x68\x65\162\x65\40\151\x64\x3d\72\x70\x72\151\143\x65\51\54\12\40\40\40\40\x20\40\x20\x20\40\40\40\40\40\40\x20\x20\x28\x73\x65\x6c\145\x63\x74\40\x6c\151\146\145\40\x66\x72\x6f\x6d\40\x70\162\151\x63\145\40\x77\150\x65\162\x65\40\151\x64\75\x3a\x70\x72\151\143\x65\51\54\12\x20\40\x20\x20\40\x20\40\40\x20\x20\40\40\40\40\x20\40\72\x63\154\151\145\x6e\x74\xa\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\51\73\xa\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\123\105\114\105\x43\124\x20\x4c\x41\x53\x54\x5f\111\x4e\x53\x45\122\x54\x5f\111\104\x28\x29\73", ["\x3a\164\x67\151\x64" => $this->cZwKZ["\x66\x72\157\x6d"], "\x3a\163\145\x72\x76\x65\x72" => $server, "\72\160\x72\x69\143\145" => $price, "\72\x63\x6c\x69\145\156\164" => $client], "\x6f\x6e\x65", nextRowset: 4); goto dpMRD; YPQiP: } public function server($id, $serverpage = 0, $clientpage = 0) { goto jNJ2G; pcTcz: if (!($clients = $this->getClients("\x73\145\x72\166\145\162", $server["\151\x64"], $serverpage, $clientpage))) { goto AKnwy; } goto MvKLQ; WLVIo: $name = $server["\156\x61\155\x65"] ?: "{$server["\x69\x70"]}\x3a{$server["\x70\x6f\162\164"]}"; goto Sw2aR; rN9ba: BhtC0: goto hTd2O; jNJ2G: if (!($server = $this->sql("\163\145\x6c\x65\x63\x74\40\x2a\x20\146\162\157\155\x20\x73\x65\x72\166\x65\162\163\40\x77\x68\145\x72\x65\40\151\x64\75\72\x69\x64", ["\x3a\x69\144" => $id], "\162\157\167"))) { goto BhtC0; } goto X4IEo; Sw2aR: $text[] = "\x3c\x62\x3e\163\145\162\x76\x65\162\x3c\57\x62\x3e\x3a\40{$name}\xa\x3c\142\x3e\x73\154\145\145\160\74\57\x62\76\72\x20{$server["\163\x6c\145\145\x70"]}\xa\74\142\x3e\x63\x65\154\x6c\x73\74\x2f\142\76\x3a\40{$server["\x63\145\x6c\x6c\163"]}\xa\x3c\x62\x3e\x6c\151\x6d\x69\x74\163\x20\146\157\162\x20\x75\x73\145\x72\74\57\x62\x3e\x3a\x20{$server["\x6c\x69\x6d\151\164\x73"]}\xa\74\142\76\x74\x65\x73\x74\x20\164\x69\x6d\145\x3c\57\142\x3e\72\40{$this->getTime($server["\164\x65\163\164\137\164\x69\x6d\x65"])}\xa\x3c\x62\76\160\x61\171\x3c\x2f\x62\x3e\72\x20{$pay}\xa\74\x62\76\150\x61\163\x68\74\57\142\x3e\x3a\x20{$server["\x68\141\x73\150"]}\12\x3c\142\76\144\157\x6d\x61\x69\156\74\57\x62\x3e\x3a\x20{$server["\x64\157\x6d\141\151\x6e"]}\x20\x28\156\145\145\144\163\x20\x74\157\x20\142\x65\x20\x73\x65\164\40\164\157\x20{$this->BaewA}\x29\xa\12\x3c\x62\x3e\144\x65\163\143\162\151\x70\164\151\x6f\156\x3a\x3c\57\142\76\xa{$server["\x64\x65\x73\143\162\151\160\x74\x69\x6f\x6e"]}"; goto B5OFy; mWIbs: $this->update($this->cZwKZ["\x63\x68\141\x74"], $this->cZwKZ["\x6d\x65\163\163\x61\x67\x65\137\x69\144"], implode("\12", $text ?: []), $data ?: false); goto rrLjA; X4IEo: $pay = $server["\x70\x61\x79"] ? "\x6f\156" : "\x6f\x66\x66"; goto WLVIo; RvnOL: $data[] = [["\x74\x65\170\164" => $this->i18n("\x66\151\154\164\145\162") . "\x3a\40" . $this->i18n($_SESSION["\x6f\x6e\157\x66\146"] ?: "\x6f\156\157\146\146"), "\x63\141\154\154\142\141\143\x6b\137\x64\141\x74\141" => "\57\157\156\157\x66\x66\x20{$id}"], ["\164\145\170\x74" => $this->i18n("\x73\x65\x61\162\143\x68") . ($_SESSION["\x73\x65\x61\x72\143\x68"] ? "\x3a\40{$_SESSION["\163\145\141\162\143\150"]}" : ''), "\143\141\154\x6c\142\x61\143\x6b\137\x64\x61\x74\141" => "\x2f\x73\x65\156\144\x52\x65\160\x6c\171\x20\x65\156\164\x65\162\40\x6e\x61\x6d\145\40\157\162\x20\x74\147\151\x64\137\x73\x65\141\162\143\x68\103\x6c\x69\145\156\164\137{$id}"]]; goto rN9ba; hTd2O: $data[] = [["\164\x65\x78\164" => $this->i18n("\x62\141\x63\153"), "\x63\x61\x6c\x6c\x62\141\x63\x6b\x5f\x64\141\164\x61" => "\x2f\x73\x65\x72\166\145\162\163\40{$serverpage}"]]; goto mWIbs; MvKLQ: $data = array_merge($data, $clients); goto WndF0; B5OFy: $data[] = [["\164\145\170\x74" => $this->i18n("\x63\157\x6e\146\x69\x67\x53\145\x72\x76\x65\x72"), "\x63\x61\154\x6c\x62\x61\x63\153\137\x64\x61\164\x61" => "\x2f\143\157\x6e\146\x69\x67\x53\x65\162\x76\x65\x72\40{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\164\x65\x78\x74" => $this->i18n("\141\144\144\125\163\x65\162"), "\x63\141\154\x6c\142\141\x63\153\137\x64\141\164\x61" => "\57\143\x6c\x69\145\156\x74\120\x72\151\x63\x65\x73\40{$id}\137{$serverpage}\x5f{$clientpage}"], ["\x74\x65\170\164" => $this->i18n("\x75\x70\x64\x61\164\145"), "\143\x61\154\x6c\x62\x61\x63\153\x5f\144\141\164\x61" => "\x2f\163\x65\x72\x76\145\x72\40{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto pcTcz; WndF0: AKnwy: goto RvnOL; rrLjA: } public function exportServer($id, $serverpage, $clientpage) { goto icL8h; wTeUe: $c = $this->sql("\x73\145\x6c\x65\x63\164\x20\52\40\x66\162\157\x6d\40\x63\154\151\145\156\x74\x73\40\x77\x68\x65\x72\145\40\163\x65\x72\x76\145\x72\75\72\x69\x64\40\x61\x6e\144\40\157\156\137\157\x66\x66\x3d\x31", ["\x3a\x69\x64" => $id]); goto ApxbE; ApxbE: $text[] = "\x5b\111\x6e\x74\x65\162\x66\141\143\145\x5d\12\120\x72\x69\x76\141\164\145\113\145\x79\40\75\x20{$s["\x70\x72\151\166\x61\164\145"]}\xa\x41\x64\144\162\145\x73\x73\40\75\40\x31\x30\56\x30\x2e\x31\x2e\x31\x2f\x32\x34\12\x4c\151\163\x74\x65\x6e\120\x6f\162\164\40\x3d\x20{$s["\x70\x6f\162\164"]}\12\120\157\163\164\125\x70\x20\75\40\x69\x70\x74\141\142\x6c\145\x73\40\x2d\x41\x20\x46\x4f\x52\x57\x41\122\104\40\55\151\40\45\x69\40\55\x6a\x20\101\x43\103\x45\x50\124\x3b\x20\x69\160\x74\141\142\154\145\x73\x20\x2d\x74\x20\156\x61\164\x20\x2d\x41\40\120\117\x53\x54\x52\117\125\124\111\116\107\40\x2d\x6f\40\145\164\x68\x30\40\x2d\x6a\x20\115\x41\x53\x51\x55\x45\x52\x41\104\105\12\x50\157\x73\x74\104\x6f\167\x6e\x20\x3d\x20\151\160\x74\x61\x62\154\x65\163\40\x2d\104\x20\106\117\x52\x57\101\x52\x44\40\x2d\x69\40\45\151\x20\55\x6a\40\101\x43\x43\105\x50\124\73\40\x69\160\x74\141\x62\154\145\163\40\55\164\x20\156\x61\164\40\x2d\x44\x20\120\x4f\123\x54\x52\117\125\x54\x49\116\107\x20\x2d\x6f\40\x65\164\x68\60\40\x2d\152\x20\x4d\x41\x53\121\125\x45\x52\101\x44\105\12"; goto OYRCG; t7z2d: foreach ($c as $k => $v) { goto Mi2ip; jbkex: $text[] = "\133\120\x65\145\162\x5d\xa\43\40\151\x64\x20\75\40{$v["\151\144"]}\xa\43\40\144\x6f\x77\156\x6c\x6f\141\144\x20\x3d\x20{$v["\x64\157\167\x6e\x6c\157\x61\144"]}\12\x23\40\x75\160\154\x6f\141\x64\40\75\40{$v["\165\x70\x6c\157\x61\x64"]}\12\x23\x20\146\162\x69\x65\x6e\x64\154\171\x5f\156\x61\155\145\x20\75\40{$name}\12\x23\40\x6c\151\146\x65\x20\75\x20{$v["\x6c\x69\x66\x65"]}\xa\x50\165\142\x6c\x69\143\113\x65\171\40\75\x20{$v["\x70\165\x62\x6c\151\x63"]}\xa\101\154\x6c\x6f\x77\x65\144\x49\120\163\40\75\x20{$v["\x69\x70"]}\12"; goto bPCvf; bPCvf: u0nha: goto O8Ejt; Mi2ip: $name = $v["\156\141\155\x65"] ?: $v["\164\147\x69\144"]; goto jbkex; O8Ejt: } goto opymh; C2HRO: AbZRd: goto G3wUo; G3wUo: $path = "\57\164\x6d\x70\x2f\x77\147\x30\56\x63\x6f\156\146"; goto soPrY; NbiM_: $this->sendFile($this->cZwKZ["\143\150\141\x74"], curl_file_create($path)); goto oOoLu; OYRCG: if (empty($c)) { goto AbZRd; } goto t7z2d; icL8h: $s = $this->sql("\x73\x65\154\x65\x63\164\x20\x2a\40\x66\162\x6f\155\40\x73\x65\x72\x76\x65\162\x73\x20\167\x68\x65\162\x65\x20\151\x64\x3d\x3a\x69\144", ["\72\151\144" => $id], "\x72\157\167"); goto wTeUe; opymh: I01UU: goto C2HRO; oOoLu: unlink($path); goto FCT7F; soPrY: file_put_contents($path, implode("\xa", $text)); goto NbiM_; FCT7F: } public function configServer($id, $serverpage, $clientpage) { goto AMKOr; miHh9: $data[] = [["\164\x65\170\164" => $this->i18n("\x6c\x69\155\x69\x74\x73\x53\x65\x72\166\x65\162"), "\x63\x61\x6c\154\142\141\x63\x6b\x5f\144\141\164\x61" => "\x2f\x73\x65\x6e\x64\122\145\160\154\171\40\x65\x6e\164\x65\x72\x20\x6c\x69\x6d\151\x74\163\x5f\x75\123\123\137\154\151\155\x69\164\163\x5f{$id}\x5f{$serverpage}\137{$clientpage}"], ["\164\x65\170\x74" => $this->i18n("\x70\151\156\147"), "\x63\x61\x6c\x6c\x62\141\143\153\137\x64\x61\164\x61" => "\57\160\151\x6e\x67\x53\x65\x72\x76\x65\x72\x20{$id}\137{$serverpage}\137{$clientpage}"]]; goto fx8We; uYfA9: $data[] = [["\x74\145\170\164" => $this->i18n("\x6e\x61\x6d\x65\123\x65\162\166\145\x72"), "\x63\x61\x6c\154\142\x61\x63\153\137\x64\x61\x74\141" => "\x2f\x73\x65\x6e\144\122\145\160\x6c\x79\40\x65\156\x74\145\162\x20\156\x61\155\x65\x5f\x75\x53\x53\x5f\156\141\155\x65\137{$id}\137{$serverpage}\x5f{$clientpage}"], ["\164\145\x78\164" => $this->i18n("\x70\x72\x69\143\x65"), "\x63\x61\x6c\x6c\142\141\143\x6b\x5f\144\141\164\141" => "\x2f\160\x72\151\x63\145\40{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto fXgfX; beo1e: $r = $this->update($this->cZwKZ["\x63\x68\141\x74"], $this->cZwKZ["\155\145\x73\163\x61\147\145\137\151\144"], implode("\xa", $text ?: []), $data ?: false); goto s0oL6; sdKUP: $data[] = [["\x74\x65\170\x74" => $this->i18n("\101\x6c\x6c\x6f\167\145\144\111\120\x73"), "\143\x61\x6c\154\x62\x61\x63\153\x5f\144\x61\164\x61" => "\57\163\145\156\x64\x52\x65\x70\154\x79\40\145\156\x74\145\x72\40\154\151\x73\164\x5f\x73\145\x74\x49\x70\x73\123\x65\x72\x76\x65\x72\137{$id}\137{$serverpage}\x5f{$clientpage}"], ["\x74\x65\x78\164" => $this->i18n("\x4d\124\125"), "\x63\141\154\154\x62\141\143\x6b\137\144\141\164\141" => "\x2f\x73\x65\x6e\x64\x52\x65\x70\x6c\171\40\x65\x6e\164\x65\162\40\x6e\165\155\142\145\162\137\163\145\164\115\x74\x75\x53\145\x72\166\x65\x72\137{$id}\x5f{$serverpage}\137{$clientpage}"]]; goto lp4YZ; vlqbH: $ips = strlen($server["\151\160\x73"]) > 45 ? substr($server["\x69\x70\163"], 0, 45) . "\x2e\56\56" : $server["\151\160\x73"]; goto tqAyG; hL6sH: $data[] = [["\164\145\170\x74" => $this->i18n("\x73\145\164\x44\157\x6d\x61\151\x6e") . ($server["\x64\x6f\155\x61\151\156"] ? "\x3a\x20{$server["\x64\x6f\155\x61\x69\156"]}" : ''), "\x63\x61\154\x6c\x62\x61\x63\x6b\137\x64\141\164\x61" => "\x2f\x73\145\156\x64\x52\145\160\x6c\171\x20\145\156\164\x65\x72\40\144\x6f\155\141\151\x6e\137\165\x53\x53\137\x64\x6f\155\141\151\156\x5f{$id}\x5f{$serverpage}\137{$clientpage}"], ["\x74\x65\x78\164" => $this->i18n("\x65\170\160\x6f\x72\164\123\x65\162\166\x65\162"), "\143\141\154\154\142\x61\143\153\x5f\144\141\164\141" => "\57\x65\170\160\157\162\x74\x53\145\x72\x76\x65\162\40{$id}\137{$serverpage}\137{$clientpage}"]]; goto uYfA9; YBjYP: $name = $server["\x6e\x61\x6d\x65"] ?: "{$server["\151\160"]}\x3a{$server["\x70\157\x72\164"]}"; goto vlqbH; fXgfX: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x74\145\x73\x74\x54\151\155\x65"), "\x63\141\x6c\154\x62\x61\x63\153\137\x64\x61\164\x61" => "\57\x73\x65\156\144\122\x65\x70\x6c\171\x20\145\x6e\164\x65\x72\40\x6c\x69\153\145\40\x27\x31\x20\x64\141\x79\x27\x20\x74\x69\155\145\137\163\x65\164\124\145\x73\164\124\151\x6d\x65\x5f{$id}\137{$serverpage}\x5f{$clientpage}"], ["\x74\145\170\164" => $this->i18n("\164\x6f\x72\162\145\x6e\164") . "\40" . $this->i18n($server["\164\x6f\x72\x72\145\156\x74"] ? "\157\x6e" : "\x6f\146\x66"), "\x63\x61\154\x6c\x62\x61\143\x6b\137\144\141\164\141" => "\x2f\163\x77\x69\164\x63\x68\x54\157\x72\x72\x65\156\x74\40{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto gqZqV; AMKOr: if (!($server = $this->sql("\x73\x65\x6c\x65\143\x74\x20\52\40\146\162\157\155\x20\x73\145\162\166\x65\162\x73\x20\x77\x68\x65\x72\x65\x20\x69\144\x3d\72\151\x64", ["\151\x64" => $id], "\x72\157\167"))) { goto Be_vW; } goto dKHIu; X9VHx: $torrent = $server["\x74\157\162\162\145\x6e\164"] ? "\x6f\x6e" : "\157\146\x66"; goto YBjYP; gqZqV: $data[] = [["\x74\145\170\x74" => $this->i18n("\x63\x65\x6c\154\x73\x53\145\x72\166\145\162"), "\143\141\x6c\x6c\142\141\x63\153\137\144\141\x74\x61" => "\x2f\163\145\x6e\144\x52\145\160\x6c\x79\40\x65\156\x74\x65\x72\40\x63\x65\154\154\x73\40\x73\x6c\145\145\x70\137\165\123\x53\137\x63\x65\x6c\x6c\x73\137{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\164\x65\170\x74" => $this->i18n("\163\154\x65\145\160\x53\x65\162\166\x65\162"), "\x63\x61\x6c\154\142\x61\x63\153\x5f\x64\141\164\141" => "\x2f\163\x65\x6e\x64\x52\145\x70\x6c\x79\x20\x65\x6e\164\145\162\x20\x73\145\x63\x6f\x6e\x64\163\40\163\x6c\145\x65\160\137\x75\123\123\x5f\163\x6c\145\x65\160\137{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto miHh9; ETQbo: $data[] = [["\164\145\x78\164" => $this->i18n("\163\145\164\104\145\x73\143\x72\x69\160\x74\x69\x6f\x6e\x53\145\162\166\x65\x72"), "\x63\141\x6c\154\142\141\x63\x6b\x5f\144\141\x74\141" => "\57\163\145\156\x64\122\x65\x70\x6c\x79\x20\145\156\x74\145\162\x20\144\x65\163\x63\x72\151\x70\164\x69\157\156\137\x73\145\164\x44\x65\x73\143\x72\x69\160\x74\151\157\156\x53\145\x72\x76\x65\162\x5f{$id}\137{$serverpage}\137{$clientpage}"], ["\x74\145\170\164" => $this->i18n("\x70\162\157\155\x6f"), "\x63\x61\154\154\x62\141\143\x6b\x5f\144\x61\x74\141" => "\57\160\162\x6f\x6d\157\x20{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto sdKUP; tqAyG: $text[] = "\74\x62\76\x73\x65\162\166\145\x72\x3c\x2f\x62\x3e\72\x20{$name}\xa\74\142\x3e\163\x6c\x65\x65\160\x3c\x2f\x62\x3e\72\40{$server["\163\x6c\x65\145\160"]}\12\x3c\142\x3e\143\x65\x6c\154\163\74\57\142\76\x3a\40{$server["\143\x65\x6c\154\x73"]}\12\74\142\76\x6c\151\155\x69\x74\x73\40\146\x6f\x72\x20\165\163\x65\x72\74\57\x62\x3e\72\x20{$server["\154\x69\155\x69\164\x73"]}\xa\x3c\142\x3e\x74\x65\x73\x74\x20\164\151\155\x65\74\57\142\x3e\72\40{$this->getTime($server["\x74\145\163\x74\137\x74\x69\x6d\145"])}\xa\74\142\76\x70\141\x79\74\57\x62\76\72\x20{$pay}\xa\74\142\x3e\164\157\x72\x72\145\156\164\x3c\x2f\142\x3e\72\40{$torrent}\xa\x3c\x62\76\x64\157\x6d\141\151\156\74\57\142\76\x3a\40{$server["\x64\x6f\x6d\141\151\x6e"]}\x20\x28\156\x65\x65\144\163\x20\164\157\40\142\145\x20\x73\145\164\x20\164\x6f\x20{$this->BaewA}\x29\12\x3c\142\76\101\x6c\x6c\157\167\x65\x64\111\120\x73\74\57\142\76\x3a\40{$ips}\xa\x3c\x62\x3e\x4d\x54\125\74\x2f\x62\76\72\40{$server["\x6d\x74\x75"]}\xa\12\x3c\x62\76\x64\145\163\x63\162\x69\160\x74\151\157\x6e\72\74\57\142\x3e\xa{$server["\144\x65\x73\x63\x72\151\160\x74\x69\157\x6e"]}"; goto hL6sH; fx8We: $data[] = [["\x74\145\170\164" => $this->i18n("\x73\167\151\x74\143\150\120\x61\171"), "\x63\141\x6c\154\142\141\143\x6b\x5f\x64\x61\164\x61" => "\x2f\160\141\x79\123\145\162\166\145\x72\123\167\151\164\x63\150\40{$id}\137{$serverpage}\x5f{$clientpage}"], ["\164\145\170\164" => $this->i18n("\x64\145\x6c\145\164\145"), "\143\x61\154\x6c\x62\141\x63\x6b\x5f\x64\141\x74\141" => "\x2f\x73\145\156\x64\122\145\160\154\171\x20\x65\x6e\x74\x65\162\40\47\x64\145\x6c\x65\x74\x65\47\x5f\x75\156\x73\x65\x74\x53\x65\x72\x76\x65\162\x5f{$id}\x5f{$serverpage}"]]; goto CmFkg; hENrD: $data[] = [["\164\145\170\x74" => $this->i18n("\142\x61\x63\x6b"), "\143\141\x6c\154\x62\x61\143\153\137\x64\141\x74\141" => "\x2f\163\145\x72\x76\x65\162\40{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto beo1e; CmFkg: Be_vW: goto ETQbo; dKHIu: $pay = $server["\160\x61\171"] ? "\x6f\x6e" : "\x6f\x66\146"; goto X9VHx; lp4YZ: $data[] = [["\x74\145\170\x74" => $this->i18n("\150\x65\154\160"), "\143\x61\154\154\x62\x61\x63\x6b\137\144\141\164\x61" => "\x2f\x68\145\154\160\x43\x6f\156\146\151\x67\x53\x65\x72\x76\145\162\40{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto hENrD; s0oL6: } public function addPromo($text, $id, $serverpage, $clientpage) { goto pPUrt; fXC8K: $this->sql("\151\156\163\x65\162\164\x20\x69\x6e\x74\157\40\160\162\157\155\x6f\50\x74\x69\x74\154\x65\x2c\40\x73\145\x72\166\x65\x72\x2c\x20\160\x72\151\x63\x65\x2c\x20\163\x74\141\x72\163\x2c\40\x64\165\162\141\164\x69\157\x6e\54\x20\161\165\141\156\x74\51\40\x76\x61\x6c\x75\x65\163\x20\50\72\164\151\x74\154\x65\x2c\40\x3a\163\x65\162\x76\145\162\54\x20\72\x70\x72\151\143\145\x2c\40\x3a\x73\164\141\x72\163\54\40\x3a\x64\165\162\141\x74\151\x6f\x6e\54\40\72\161\165\x61\x6e\164\x29", ["\x3a\x74\x69\x74\154\145" => $code, "\72\163\x65\x72\166\145\162" => $id, "\72\x70\x72\x69\x63\x65" => $price, "\72\x73\164\141\162\x73" => $stars, "\x3a\x71\x75\141\x6e\x74" => $quant, "\72\144\165\162\x61\x74\151\157\156" => strtotime($life, 0)]); goto xoUd3; xoUd3: $this->promo($id, $serverpage, $clientpage); goto ias8L; pPUrt: [$code, $quant, $price, $stars, $life] = array_map(fn($e) => trim($e), explode("\x3d", $text)); goto fXC8K; ias8L: } public function delPromo($id, $server, $serverpage, $clientpage) { $this->sql("\x64\x65\x6c\x65\x74\x65\x20\x66\162\157\x6d\40\x70\x72\157\x6d\x6f\40\x77\150\145\162\x65\x20\151\144\x3d\72\x69\x64", ["\x3a\151\144" => $id]); $this->promo($server, $serverpage, $clientpage); } public function setBonusTime($text, $id, $serverpage, $clientpage) { $this->sql("\x75\160\144\x61\164\145\x20\163\x65\162\166\x65\x72\x73\x20\163\145\x74\40\x62\x6f\156\x75\x73\x74\x69\x6d\x65\x3d\72\x62\157\x6e\x75\x73\40\x77\150\x65\162\x65\40\151\144\75\72\x69\144", ["\x3a\x69\x64" => $id, "\72\x62\157\x6e\165\x73" => (int) strtotime($text, 0)]); $this->promo($id, $serverpage, $clientpage); } public function promo($id, $serverpage, $clientpage) { goto U9y11; pK3vx: R1RtZ: goto IwVlV; IwVlV: $data[] = [["\164\145\x78\164" => $this->i18n("\142\x61\x63\153"), "\143\x61\x6c\154\x62\x61\143\x6b\137\x64\141\x74\x61" => "\x2f\x63\x6f\156\x66\x69\x67\x53\145\x72\166\145\x72\40{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto Rg5IB; Rg5IB: $this->update($this->cZwKZ["\x63\150\141\164"], $this->cZwKZ["\155\145\163\x73\141\x67\x65\137\x69\144"], implode("\12", []), $data ?: false); goto gY2JA; U9y11: $data[] = [["\x74\145\x78\164" => $this->i18n("\141\x64\x64"), "\143\141\154\x6c\142\x61\143\x6b\137\144\x61\x74\141" => "\57\163\145\x6e\144\x52\145\x70\x6c\x79\x20\x65\156\x74\145\x72\40\x6c\151\x6b\145\x20\x63\157\144\145\75\x71\165\x61\x6e\164\75\x70\162\x69\x63\145\x3d\163\164\141\x72\x73\x3d\x74\151\x6d\x65\x5f\x61\x64\144\120\x72\x6f\x6d\157\x5f{$id}\137{$serverpage}\137{$clientpage}"]]; goto dYp71; r84Zn: qn6Py: goto pK3vx; dYp71: if (!($r = $this->sql("\x73\x65\154\145\x63\164\x20\52\40\146\162\157\x6d\x20\160\x72\157\x6d\157\40\x77\150\145\x72\x65\40\163\x65\162\x76\x65\162\x3d\72\x73\145\x72\166\x65\162", ["\x3a\163\145\x72\166\x65\x72" => $id]))) { goto R1RtZ; } goto aTDHv; aTDHv: foreach ($r as $k => $v) { $data[] = [["\164\145\x78\164" => "{$this->i18n("\x64\145\x6c\145\164\x65")}\x20{$v["\x74\x69\x74\154\x65"]}\40\x3d\x20\x78{$v["\161\x75\x61\x6e\x74"]}\40\x3d\40{$v["\160\x72\x69\x63\145"]}\x20\xe2\x82\275\x20\x3d\x20{$v["\163\x74\x61\162\163"]}\x20\342\x98\x86\40\x3d\40{$this->getTime($v["\144\165\x72\141\x74\x69\x6f\x6e"])}", "\143\141\154\154\142\x61\143\153\137\x64\x61\164\141" => "\x2f\x64\145\x6c\120\162\157\155\157\40{$v["\x69\144"]}\x5f{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; lDtXJ: } goto r84Zn; gY2JA: } public function setDescriptionServer($text, $id, $serverpage, $clientpage) { $this->sql("\165\x70\x64\x61\x74\145\x20\x73\x65\162\x76\145\162\163\x20\163\x65\164\x20\x64\145\163\x63\162\x69\x70\164\151\157\x6e\75\72\144\145\x73\x63\40\x77\150\x65\x72\x65\40\151\x64\x3d\x3a\x69\144", ["\x3a\151\x64" => $id, "\72\x64\145\163\143" => $text]); $this->configServer($id, $serverpage, $clientpage); } public function setIpsServer($text, $id, $serverpage, $clientpage) { $this->sql("\165\x70\x64\141\x74\145\x20\163\x65\x72\166\x65\x72\163\40\x73\145\164\x20\x69\x70\x73\75\72\151\x70\163\x20\167\150\145\x72\x65\40\x69\144\75\72\x69\144", ["\x3a\151\x64" => $id, "\72\151\160\163" => $text]); $this->configServer($id, $serverpage, $clientpage); } public function setMtuServer($text, $id, $serverpage, $clientpage) { $this->sql("\x75\160\x64\x61\164\145\x20\163\145\162\x76\x65\162\163\40\163\x65\164\x20\155\x74\165\75\72\x6d\164\x75\x20\167\x68\145\x72\145\40\x69\144\x3d\x3a\151\x64", ["\x3a\151\144" => $id, "\x3a\155\164\x75" => $text]); $this->configServer($id, $serverpage, $clientpage); } public function switchTorrent($id, $serverpage, $clientpage) { $this->sql("\x75\x70\144\x61\164\145\x20\x73\x65\162\166\x65\x72\163\40\x73\145\x74\x20\164\x6f\162\x72\145\156\164\x3d\41\x74\x6f\162\162\145\156\x74\x20\167\x68\145\x72\145\40\x69\x64\75\72\x69\144", ["\72\x69\x64" => $id]); $this->configServer($id, $serverpage, $clientpage); } public function payServerSwitch($id, $serverpage, $clientpage) { $this->sql("\165\160\144\141\164\x65\40\x73\145\x72\166\x65\x72\163\x20\163\x65\x74\x20\160\x61\x79\x3d\41\160\x61\171\40\167\150\x65\x72\x65\x20\151\144\x3d\72\151\x64", ["\x3a\x69\144" => $id]); $this->configServer($id, $serverpage, $clientpage); } public function unsetServer($text, $id, $serverpage) { goto JKKmF; JKKmF: if (!($text == "\x64\145\x6c\145\164\x65")) { goto dgIJk; } goto j2ykl; jhd6L: dgIJk: goto Xl9py; U8Rg2: $this->sql("\144\145\154\145\164\145\40\146\162\x6f\155\x20\x63\x6c\x69\145\x6e\x74\x73\40\x77\150\145\162\x65\40\163\145\162\x76\145\162\x3d\72\x69\x64", ["\x3a\x69\144" => $id]); goto gJJsQ; gJJsQ: $this->sql("\x64\x65\x6c\145\x74\x65\40\x66\162\157\155\40\163\145\x72\x76\x65\162\163\x20\167\x68\145\x72\145\40\x69\144\x3d\x3a\151\144", ["\x3a\151\144" => $id]); goto jhd6L; Xl9py: $this->servers($serverpage); goto rLtMO; j2ykl: $this->sql("\144\145\x6c\145\164\x65\x20\146\x72\x6f\155\x20\160\162\151\x63\x65\40\x77\x68\145\x72\145\40\x73\x65\162\x76\x65\162\x3d\72\151\x64", ["\x3a\x69\144" => $id]); goto U8Rg2; rLtMO: } public function client($call, $id, $server_id, $serverpage, $clientpage) { goto LADZI; LADZI: $c = $this->sql("\x73\x65\154\x65\143\x74\x20\52\40\x66\x72\157\155\40\143\154\151\x65\x6e\164\x73\x20\167\150\145\162\x65\x20\151\x64\75\x3a\151\x64", ["\x3a\x69\144" => $id], "\x72\157\167"); goto RvfQX; r_djX: $ip = explode("\72", $c["\145\x78\x74\145\x72\156\x61\x6c\x5f\x69\160"])[0]; goto yB3RQ; GXzfr: if (!$c["\160\165\142\154\x69\143"]) { goto Ws1_h; } goto Pi3Pk; L6YaR: $this->update($this->cZwKZ["\143\x68\141\164"], $this->cZwKZ["\x6d\145\x73\163\x61\x67\x65\x5f\x69\144"], implode("\12", array_filter($text) ?: []), $data ?: false); goto AdklY; NbWlM: if ($c["\x69\160"]) { goto hytF6; } goto NydZq; DUEC7: $name = ($c["\x6e\x61\x6d\145"] ? "{$c["\156\x61\155\x65"]}\40\50{$c["\x74\147\151\144"]}\51" : $c["\164\x67\151\144"]) . "\40{$u}"; goto Prpg6; JSw8o: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x6c\x69\x6d\151\x74"), "\143\141\154\154\x62\141\x63\153\x5f\x64\x61\x74\141" => "\57\x73\x65\156\144\x52\145\160\x6c\x79\40\145\x6e\164\x65\162\x20\x62\171\164\145\x73\40\x6e\165\155\x62\x65\162\x5f\x6c\x69\155\x69\164\x43\x6c\x69\x65\x6e\x74\x5f{$call}\x5f{$id}\137{$server_id}\x5f{$serverpage}\137{$clientpage}"]]; goto NcbYF; RvfQX: $data[] = [["\164\145\x78\x74" => $this->i18n("\x64\x65\154\x65\x74\x65"), "\x63\141\x6c\x6c\x62\x61\143\x6b\137\144\x61\x74\x61" => "\x2f\163\x65\156\144\x52\x65\x70\x6c\x79\40\x65\156\x74\145\162\x20\x27\144\145\x6c\x65\164\x65\47\137\x64\145\154\x43\x6c\151\x65\156\164\137{$call}\x5f{$id}\x5f{$server_id}\137{$serverpage}\137{$clientpage}"], ["\164\x65\170\x74" => $this->i18n("\143\x68\x61\156\147\x65\137\x74\151\155\x65"), "\143\x61\154\154\142\141\x63\x6b\137\144\141\x74\141" => "\x2f\x73\145\x6e\144\x52\145\160\154\x79\40\145\156\x74\145\162\x20\x6c\x69\153\145\40\x31\40\144\x61\171\x5f\x73\x65\164\x54\x69\x6d\x65\103\x6c\151\x65\156\164\x5f{$call}\x5f{$id}\137{$server_id}\x5f{$serverpage}\137{$clientpage}"]]; goto GXzfr; Jm91g: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\162\145\156\x61\x6d\145"), "\143\x61\154\154\142\x61\143\x6b\137\x64\141\x74\x61" => "\57\163\145\156\x64\x52\145\x70\154\171\x20\x65\x6e\x74\145\x72\40\x6e\x61\x6d\x65\40\143\x6c\151\x65\x6e\x74\137\162\x65\x6e\141\155\x65\x43\x6c\151\145\156\164\137{$call}\x5f{$id}\x5f{$server_id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto JSw8o; NcbYF: $data[] = [["\164\x65\x78\164" => $this->i18n("\142\141\143\x6b"), "\x63\x61\x6c\x6c\142\x61\143\153\137\144\x61\164\x61" => "\57{$call}\40{$server_id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto K86Mt; Prpg6: $life = $c["\x6c\x69\146\x65"] ? $this->getTime(strtotime($c["\154\x69\146\145"]) - time()) : "\xe2\x88\236"; goto orz3P; xFtmJ: $text[] = $c["\150\x61\x6e\144\163\150\x61\153\x65"] ? $this->getTime(time() - $c["\150\x61\156\144\x73\x68\141\153\x65"], 0) . "\40\xd0\xbd\320\260\320\267\320\xb0\xd0\264" : ''; goto pa967; NydZq: $text[] = "\74\x62\76\xd0\276\xd0\266\320\xb8\320\xb4\xd0\260\xd0\xb5\xd1\202\x20\321\201\xd0\276\320\267\320\xb4\320\260\xd0\xbd\320\270\xd1\x8f\x3c\x2f\142\x3e"; goto pwDry; Wv65E: $text[] = "\x23{$c["\151\144"]}\x20{$name}"; goto xFtmJ; orz3P: $download = $this->getBytes($c["\x73\145\163\163\151\157\156\x5f\x64\x6f\167\156\x6c\x6f\x61\x64"] + $c["\x64\157\167\156\154\157\x61\x64"]); goto dJnev; Pi3Pk: $data[] = [["\x74\x65\170\x74" => $this->i18n("\161\162"), "\143\141\154\x6c\142\141\143\x6b\x5f\144\x61\x74\x61" => "\57\x71\x72\120\x65\x65\162\x20{$id}"], ["\x74\x65\170\x74" => $this->i18n("\144\157\167\156\x6c\157\141\x64"), "\x63\141\154\154\142\141\143\153\137\144\x61\164\x61" => "\x2f\161\162\x50\x65\145\162\40{$id}\x5f\61"]]; goto sR1r7; dJnev: $upload = $this->getBytes($c["\x73\x65\x73\163\151\157\156\x5f\165\160\154\157\141\x64"] + $c["\165\x70\x6c\157\141\144"]); goto r_djX; Gkz0r: $text[] = "\x3c\160\x72\145\x3e\74\x63\x6f\x64\x65\x3e{$code}\x3c\57\x63\x6f\x64\145\76\74\57\x70\162\145\76\xa"; goto Wv65E; sR1r7: $data[] = [["\x74\145\170\x74" => $this->i18n("\x61\155\156\145\172\x69\141"), "\x63\141\x6c\154\142\x61\143\x6b\x5f\x64\141\x74\141" => "\57\141\155\x6e\x65\172\151\x61\40{$id}"]]; goto blV9P; yB3RQ: $code = $this->qrPeer($id, return: 1); goto Gkz0r; K86Mt: $u = $this->getInfoUser($c["\x74\147\x69\x64"])["\162\x65\x73\x75\x6c\x74"]["\x75\x73\145\x72"]["\146\x69\x72\x73\x74\137\156\141\155\x65"]; goto DUEC7; blV9P: Ws1_h: goto Jm91g; pa967: $text[] = "\xe2\206\x93{$download}" . ($c["\154\151\155\x69\x74\x61\164\x69\157\x6e"] ? "\50" . $this->getBytes($c["\154\151\155\x69\164\x61\164\151\x6f\156"]) . "\51" : '') . "\40\x20\xe2\x86\x91{$upload}"; goto zyPUP; pwDry: hytF6: goto L6YaR; zyPUP: $text[] = $life ?: ''; goto NbWlM; AdklY: } public function getBytes($bytes) { goto sYL0c; mVkHA: w99T4: goto LhzZK; sYL0c: $t = ["\x42", "\113\102", "\115\x42", "\107\102", "\x54\102"]; goto CJiVP; CJiVP: foreach ($t as $k => $v) { goto QF7aD; Mdjgr: bN0BC: goto Y7yAa; xpGIE: if (!($bytes / 1024 ** $k < 1)) { goto TRWjT; } goto Q9hAy; Q9hAy: return round($bytes / 1024 ** ($k - 1), 2) . "\40{$t[$k - 1]}"; goto sdRpK; QF7aD: if (!($k == 0)) { goto pkokZ; } goto eII3U; eII3U: goto bN0BC; goto o9Qn6; sdRpK: TRWjT: goto Mdjgr; o9Qn6: pkokZ: goto xpGIE; Y7yAa: } goto mVkHA; LhzZK: } public function userRename($name, $id, $menupage) { goto Tudxz; eKM3G: $this->sql("\x75\160\144\x61\x74\145\40\x63\154\151\145\156\x74\163\40\163\x65\164\40\156\x61\x6d\145\75\72\x6e\x61\155\x65\40\167\x68\x65\162\145\40\x69\x64\75\x3a\151\x64", ["\72\151\144" => $id, "\x3a\156\x61\155\145" => $name]); goto VqScl; Tudxz: if ($name) { goto dRVRO; } goto WAiGL; VqScl: ug1YA: goto KtLGU; gyFyT: goto ug1YA; goto P6P3t; KtLGU: $this->peer($id, $menupage); goto NbuFe; P6P3t: dRVRO: goto eKM3G; WAiGL: $this->sql("\165\160\144\x61\x74\145\x20\x63\154\x69\x65\156\x74\x73\40\163\x65\164\x20\156\x61\155\145\75\42\x22\x20\167\x68\x65\x72\x65\x20\x69\x64\x3d\72\x69\x64", ["\72\151\x64" => $id]); goto gyFyT; NbuFe: } public function renameClient($name, $call, $id, $server_id, $serverpage, $clientpage) { goto a1Nae; jXDbf: RFG6w: goto ORDRy; gQpQ5: $this->sql("\165\x70\144\141\x74\145\x20\x63\x6c\x69\x65\x6e\164\163\x20\x73\x65\x74\40\156\x61\155\x65\75\x3a\x6e\x61\155\x65\40\167\150\145\162\145\x20\151\144\x3d\x3a\151\x64", ["\72\151\144" => $id, "\72\156\141\155\x65" => $name]); goto jXDbf; ORDRy: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto OS3Dp; a1Nae: if ($name) { goto Hozwb; } goto aYEKE; P3dQn: goto RFG6w; goto vziRs; vziRs: Hozwb: goto gQpQ5; aYEKE: $this->sql("\x75\x70\144\x61\164\x65\40\x63\x6c\151\145\x6e\x74\163\x20\163\145\164\40\x6e\x61\x6d\x65\x3d\x22\x22\x20\x77\x68\x65\162\145\x20\x69\x64\75\72\151\x64", ["\72\151\144" => $id]); goto P3dQn; OS3Dp: } public function limitClient($bytes, $call, $id, $server_id, $serverpage, $clientpage) { goto KSjfN; jOYMP: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto Rh2i2; CeNRx: $this->sql("\165\160\144\x61\164\145\x20\x63\154\151\145\156\x74\x73\40\x73\145\164\x20\154\x69\x6d\151\x74\x61\164\x69\x6f\156\x3d\x3a\x6c\x69\155\151\x74\x61\x74\151\x6f\156\x20\167\150\x65\x72\x65\40\151\x64\x3d\x3a\x69\144", ["\72\x69\x64" => $id, "\72\x6c\151\x6d\x69\164\141\164\151\x6f\156" => $bytes]); goto z1qSv; Z8ka0: goto LKuk0; goto mha0V; KSjfN: if ($bytes) { goto yFhRe; } goto k9l_w; z1qSv: LKuk0: goto jOYMP; mha0V: yFhRe: goto CeNRx; k9l_w: $this->sql("\x75\160\144\141\x74\145\40\143\154\x69\145\x6e\x74\x73\x20\x73\x65\x74\40\x6c\151\x6d\151\x74\141\164\151\157\156\75\156\x75\154\154\x20\167\x68\145\162\x65\x20\x69\144\x3d\x3a\151\144", ["\72\x69\x64" => $id]); goto Z8ka0; Rh2i2: } public function clientPrices($id, $serverpage, $clientpage) { goto AHJ2s; v1THa: DjOpb: goto H624f; Hl_Lg: if (!$prices) { goto DjOpb; } goto TZRyR; Q7s_U: $text[] = "\160\x72\x69\143\145\163"; goto N1ta1; f_WYi: J08hI: goto v1THa; TZRyR: foreach ($prices as $k => $v) { $data[] = [["\164\x65\170\164" => $this->getTime($v["\154\151\146\x65"]), "\x63\141\154\154\x62\141\143\153\x5f\x64\141\164\x61" => "\x2f\x73\145\x6e\x64\122\145\x70\154\171\40\145\156\x74\145\162\x20\164\x65\x6c\145\x67\162\x61\x6d\x20\x69\x64\137\143\x6c\x69\145\x6e\164\101\x64\x64\137{$v["\151\144"]}\x5f{$id}\x5f{$serverpage}"]]; UTAU0: } goto f_WYi; AHJ2s: $data[] = [["\x74\x65\x78\164" => "\342\x88\236", "\x63\x61\154\154\x62\141\x63\153\137\x64\141\x74\141" => "\57\x73\x65\x6e\x64\x52\145\160\154\x79\40\145\156\x74\145\162\40\x74\145\154\x65\147\x72\x61\x6d\x20\151\144\137\x63\154\151\x65\156\164\x41\144\144\x5f\x30\x5f{$id}\137{$serverpage}"]]; goto fEmvy; H624f: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x62\x61\143\153"), "\143\x61\154\154\142\x61\143\153\137\144\x61\164\141" => "\57\163\x65\x72\x76\145\x72\x20{$id}\137{$serverpage}\137{$clientpage}"]]; goto Q7s_U; fEmvy: $prices = $this->sql("\x73\145\x6c\x65\143\x74\40\x2a\40\146\x72\157\155\x20\160\x72\x69\x63\145\x20\x77\x68\145\x72\145\40\163\145\162\166\145\x72\75\72\x69\x64", ["\x3a\x69\144" => $id]); goto Hl_Lg; N1ta1: $this->update($this->cZwKZ["\x63\150\141\x74"], $this->cZwKZ["\155\x65\x73\x73\x61\x67\x65\x5f\151\x64"], implode("\xa", $text ?: []), $data ?: false); goto VCrCz; VCrCz: } public function clientAdd(int $tgid, $price_id, $id, $serverpage) { goto H50CH; UvCHj: $c = $this->sql("\x73\145\x6c\x65\143\164\40\143\157\165\x6e\x74\x28\52\51\x20\146\x72\x6f\155\40\x63\154\151\145\x6e\x74\163\x20\x77\x68\x65\162\x65\40\x73\x65\162\x76\145\x72\x3d\72\151\144", ["\72\x69\x64" => $id], "\157\156\x65"); goto OuBEc; H50CH: if (!$tgid) { goto BMJnr; } goto PNkPz; tCFJ6: $life = 0; goto E7Q4o; JDx9K: N3LNR: goto lMRHj; OuBEc: $this->server($id, $serverpage, (int) ceil($c / $this->qB7oz) - 1); goto YVSf7; Tz28Q: $server = $this->sql("\x73\145\x6c\145\143\x74\x20\x2a\40\x66\x72\157\155\x20\x73\x65\162\x76\145\x72\163\x20\167\x68\145\162\x65\x20\x69\144\75\72\x69\x64", ["\x3a\151\x64" => $id], "\162\x6f\x77"); goto amHiF; PNkPz: if ($price_id) { goto ZgBSv; } goto tCFJ6; amHiF: $life = $this->sql("\163\145\154\x65\143\x74\x20\x6c\151\146\x65\40\x66\x72\157\155\x20\160\x72\x69\x63\x65\x20\x77\150\145\162\x65\40\151\144\75\x3a\x69\x64", ["\x3a\151\144" => $price_id], "\157\156\145"); goto JDx9K; mm94J: ZgBSv: goto Tz28Q; E7Q4o: goto N3LNR; goto mm94J; IemTV: BMJnr: goto UvCHj; lMRHj: $this->sql("\151\x6e\x73\x65\162\164\40\x69\x6e\164\x6f\40\143\x6c\151\x65\x6e\x74\163\x28\164\147\x69\144\54\x20\163\x65\x72\166\x65\x72\x2c\40\x6c\x69\x66\x65\54\40\151\x70\x2c\40\157\156\137\157\146\x66\51\x20\166\x61\154\x75\x65\163\40\x28\x3a\x74\147\151\144\x2c\40\72\x73\145\x72\x76\145\x72\x2c\40\x3a\154\x69\146\145\x2c\40\x3a\x69\x70\54\40\61\x29", ["\x3a\164\147\x69\x64" => $tgid, "\72\163\x65\x72\166\x65\x72" => $id, "\x3a\151\160" => $this->nextIP($id), "\72\154\151\146\145" => $life ? date("\131\x2d\x6d\55\x64\x20\110\72\x69\x3a\x73", $life + time()) : null]); goto IemTV; YVSf7: } public function nextIP($server) { goto RHRfh; k1Qoi: oGCTc: goto S7b_L; RHRfh: $r = array_unique(array_merge(["\61\x30\x2e\x30\56\x31\56\61\x2f\62\x34"], $this->sql("\x73\x65\x6c\145\143\164\40\151\x70\40\x66\x72\157\155\40\143\154\x69\145\156\x74\163\40\x77\x68\145\x72\145\40\x73\x65\x72\166\x65\162\75\72\151\x64", ["\72\x69\x64" => $server], "\143\x6f\x6c\165\x6d\x6e") ?: [])); goto MV2c8; SoGzx: if (!($i < $ip_count)) { goto Jr_3h; } goto K0sYK; o8JdH: $i = 1; goto LRM_J; gyEHL: if (in_array($ip, $ips)) { goto GrPcL; } goto Uz60D; S7b_L: $ip_count = (1 << 32 - 24) - count($ips) - 1; goto o8JdH; LMEwv: rcxBn: goto rRj8s; umyqE: GrPcL: goto LMEwv; Uz60D: return long2ip($ip) . "\57\63\x32"; goto umyqE; LRM_J: eHIPh: goto SoGzx; rRj8s: $i++; goto DE85p; MV2c8: foreach ($r as $k => $v) { $ips[] = ip2long(explode("\x2f", $v)[0]); I6Qpa: } goto k1Qoi; yWIgI: return false; goto gRCcq; M_58i: Jr_3h: goto yWIgI; DE85p: goto eHIPh; goto M_58i; K0sYK: $ip = $i + ip2long("\x31\x30\x2e\60\56\x31\56\61"); goto gyEHL; gRCcq: } public function labelPrice($price, $notquant = 0) { goto dTu7e; y_lBp: mguI9: goto MRy2W; hPBaf: $p = ($d ? ceil($price["\x70\162\151\143\x65"] - $price["\x70\x72\x69\x63\x65"] * $d / 100) : $price["\x70\162\151\x63\145"]) . "\x20\xe2\x82\275"; goto K_aEP; iTWYy: return "{$this->getTime($price["\154\x69\146\145"])}\x20\75\x20{$p}\x20\x3d\x20{$s}" . ($d ? "\x20\x28\55{$d}\x25\x29" : ''); goto y_lBp; K_aEP: $s = ($d ? ceil($price["\x73\x74\141\x72\163"] - $price["\163\x74\141\162\x73"] * $d / 100) : $price["\x73\164\141\x72\163"]) . "\40\xe2\230\x86"; goto weUuZ; MRy2W: return "{$this->getTime($price["\x6c\151\146\145"])}\40\75\x20" . $this->i18n("\170{$price["\x71\165\x61\x6e\164"]}") . "\40\75\40{$p}\x20\75\40{$s}" . ($d ? "\x20\50\55{$d}\x25\x29" : ''); goto m1cZC; weUuZ: if (!$notquant) { goto mguI9; } goto iTWYy; dTu7e: $d = $this->getDiscount(); goto hPBaf; m1cZC: } public function price($id, $serverpage, $clientpage) { goto cegL2; NSbAe: $prices = $this->sql("\x73\145\154\145\x63\x74\x20\x2a\40\146\x72\x6f\x6d\x20\160\162\151\x63\x65\40\x77\x68\x65\162\x65\x20\x73\x65\162\166\x65\162\x3d\x3a\151\144", ["\x3a\x69\144" => $id]); goto F3unG; LPSnh: DXDNv: goto XBrYP; XBrYP: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\141\x63\153"), "\143\141\x6c\154\x62\141\143\153\137\x64\x61\x74\141" => "\x2f\143\157\x6e\146\151\147\123\145\162\166\145\162\40{$id}\x5f{$serverpage}\137{$clientpage}"]]; goto h6hVS; fHnbl: foreach ($prices as $k => $v) { $data[] = [["\x74\145\x78\164" => $this->i18n("\144\x65\x6c\x65\x74\145") . "\x20" . $this->labelPrice($v), "\x63\141\154\154\142\141\x63\x6b\x5f\144\141\x74\x61" => "\57\x64\145\154\145\x74\x65\120\x72\x69\143\145\40{$v["\x69\144"]}\137{$id}\137{$serverpage}\137{$clientpage}"]]; QHTKJ: } goto JoC2M; Db7f1: $data[] = [["\x74\145\170\x74" => $this->i18n("\141\144\x64"), "\143\x61\154\x6c\x62\141\143\153\x5f\144\x61\164\141" => "\57\163\145\156\x64\122\145\x70\154\x79\x20\x65\156\x74\145\162\x20\x6c\151\x6b\145\x20\x70\145\x72\x69\157\x64\75\x71\165\x61\x6e\164\151\x74\171\75\x52\125\x42\75\x53\x74\x61\x72\163\x5f\163\x65\164\x50\162\151\x63\145\137{$id}\x5f{$serverpage}\137{$clientpage}"]]; goto NSbAe; h6hVS: $this->update($this->cZwKZ["\x63\x68\141\x74"], $this->cZwKZ["\155\145\163\163\141\x67\145\137\151\x64"], implode("\xa", $text), $data ?: false); goto Lryne; JoC2M: Lg9ZT: goto LPSnh; cegL2: $text[] = "\x70\x65\x72\x69\157\x64\x3d\161\165\141\156\164\151\164\x79\75\x52\x55\102\75\123\x74\141\x72\163\xa\x65\x78\141\x6d\x70\154\x65\72\x20\61\144\141\x79\75\61\x3d\61\x30\x30\xa\145\170\141\x6d\160\x6c\145\x3a\x20\61\144\141\171\75\61\x3d\x31\60\x30\75\x31\x30\60\60"; goto Db7f1; F3unG: if (!$prices) { goto DXDNv; } goto fHnbl; Lryne: } public function setTimeClient($time, $call, $id, $server_id, $serverpage, $clientpage) { goto ihTrG; lv4pb: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto A6oYW; ihTrG: ["\x6c\151\146\x65" => $old, "\157\x6e\137\x6f\146\146" => $on_off] = $this->sql("\x73\x65\154\145\x63\x74\x20\154\151\146\145\54\40\x6f\x6e\x5f\157\x66\x66\x20\146\x72\x6f\x6d\x20\x63\154\151\x65\156\x74\163\x20\x77\x68\145\162\x65\40\x69\x64\75\x3a\x69\x64", ["\72\x69\144" => $id], "\x72\157\167"); goto GCzxX; GCzxX: $this->sql("\x75\160\x64\141\x74\145\40\143\154\x69\x65\x6e\164\x73\x20\x73\x65\164\x20\154\151\x66\x65\75\x3a\164\151\155\x65\54\40\157\156\x5f\157\146\x66\75\61\x2c\x20\145\170\x70\151\162\x65\137\156\x6f\x74\x69\146\171\x3d\60\x20\167\150\145\162\x65\x20\151\144\x3d\x3a\151\x64", ["\x3a\x69\144" => $id, "\72\164\x69\155\x65" => $time ? date("\x59\55\x6d\55\144\40\x48\x3a\x69\x3a\x73", strtotime($time, $on_off && $old ? strtotime($old) : null)) : null]); goto lv4pb; A6oYW: } public function setTimeClientAll($time, $server_id, $serverpage, $clientpage) { goto plX5x; wjVV8: $this->clients($server_id, $serverpage, $clientpage); goto qOyHN; e_0eX: lyg0V: goto mx6Eu; R6fat: $cl = $this->sql("\x73\x65\x6c\145\143\x74\x20\151\x64\x2c\40\x6c\151\146\x65\40\146\162\157\155\40\x63\154\151\145\156\164\x73\40\167\150\x65\162\145\40\x6f\x6e\137\x6f\x66\x66\x3d\61"); goto hWXhF; cQ6Nu: foreach ($cl as $v) { $this->sql("\x75\160\144\x61\164\145\x20\143\x6c\151\145\x6e\x74\163\x20\163\x65\164\40\x6c\x69\146\x65\75\x3a\164\x69\x6d\145\54\40\145\170\160\151\162\145\137\x6e\157\164\x69\146\171\x3d\x30\40\x77\x68\x65\x72\x65\40\151\x64\x3d\x3a\x69\x64", ["\x3a\151\x64" => $v["\151\x64"], "\x3a\164\x69\x6d\x65" => $time ? date("\x59\x2d\155\x2d\x64\40\x48\72\x69\x3a\x73", strtotime($time, strtotime($v["\x6c\x69\x66\x65"]))) : null]); grMN_: } goto sq6sw; plX5x: if (empty($time)) { goto ZF8m5; } goto R6fat; hWXhF: if (empty($cl)) { goto lyg0V; } goto cQ6Nu; sq6sw: mivhv: goto e_0eX; mx6Eu: ZF8m5: goto wjVV8; qOyHN: } public function delClient($text, $call, $id, $server_id, $serverpage, $clientpage) { goto MZXLN; VqPMm: K0I_U: goto oaBx2; oaBx2: $this->{$call}($server_id, $serverpage, $clientpage); goto XjBIu; bqyLY: $this->sql("\x64\x65\x6c\x65\x74\x65\x20\146\x72\157\155\40\143\154\x69\145\x6e\x74\163\40\x77\150\145\x72\145\x20\151\x64\75\72\151\x64", ["\x3a\x69\144" => $id]); goto VqPMm; MZXLN: if (!($text == "\x64\x65\x6c\145\164\x65")) { goto K0I_U; } goto bqyLY; XjBIu: } public function setPrice($text, $id, $serverpage, $clientpage) { goto lQNtq; JkhIh: C36St: goto Qjkvl; txL48: $this->sql("\x69\x6e\x73\145\x72\164\40\151\147\156\157\162\x65\40\151\x6e\164\x6f\x20\160\x72\151\x63\x65\50\x73\145\162\166\145\162\x2c\40\154\x69\x66\x65\54\40\x70\162\151\143\x65\54\40\163\x74\141\x72\163\x2c\x20\x71\x75\x61\x6e\164\x29\40\166\x61\154\165\145\x73\40\50\72\151\144\x2c\40\72\154\x69\146\x65\54\x20\72\160\x72\x69\x63\145\x2c\x20\72\163\x74\141\162\x73\54\x20\x3a\161\x75\141\x6e\164\x29", ["\x3a\151\x64" => $id, "\x3a\x6c\151\146\145" => $life, "\72\160\162\x69\143\x65" => $price, "\72\163\164\x61\162\163" => $stars, "\72\x71\x75\141\x6e\164" => $quant]); goto JkhIh; Qjkvl: $this->price($id, $serverpage, $clientpage); goto PwpX0; lQNtq: [$life, $quant, $price, $stars] = array_map(fn($e) => trim($e), explode("\75", $text)); goto yV8Eb; Lmk01: if (!($life > 0 and ($price > 0 or $stars > 0))) { goto C36St; } goto txL48; yV8Eb: $life = strtotime($life, 0); goto Lmk01; PwpX0: } public function deletePrice($price_id, $id, $serverpage, $clientpage) { $this->sql("\144\145\x6c\x65\x74\x65\x20\146\162\157\155\40\160\x72\x69\143\145\40\167\x68\x65\162\145\x20\x69\x64\75\x3a\x69\x64", ["\72\x69\144" => $price_id]); $this->price($id, $serverpage, $clientpage); } public function pingServer($id, $serverpage, $clientpage) { goto Il7D4; jFU3O: $this->uSS($r["\162\x65\163\165\154\x74"]["\155\145\x73\163\141\147\x65\137\151\x64"], "\160\151\x6e\147", $id, $serverpage, $clientpage); goto sNfPT; sksui: $r = $this->send($this->cZwKZ["\x63\150\x61\x74"], "\160\151\x6e\x67\40{$n}\xa\x65\x78\160\145\x63\x74\40\141\40\x72\x65\163\x70\x6f\156\x73\145\40\x74\x6f\40\x74\x68\151\163\x20\x6d\145\x73\163\x61\147\145\40\x77\151\x74\150\151\x6e\40{$s["\163\154\x65\x65\160"]}\x20\163\x65\x63\x6f\x6e\144\x73"); goto jFU3O; Il7D4: $s = $this->sql("\x73\145\x6c\145\143\164\40\x2a\40\x66\x72\157\x6d\x20\163\145\162\x76\145\x72\163\40\167\150\x65\162\145\40\x69\x64\x3d\x3a\x69\144", ["\x3a\151\x64" => $id], "\162\x6f\x77"); goto nqtYV; nqtYV: $n = $s["\156\x61\x6d\145"] ?: "{$s["\151\x70"]}\x3a{$s["\160\157\x72\x74"]}"; goto sksui; sNfPT: } public function getTime(int $seconds, $additional = true) { goto XhnK_; XhnK_: $seconds = $seconds > 0 ? $seconds : 0; goto IAtFO; d3x63: M0MDQ: goto mmD4x; IAtFO: if (!($seconds == 0)) { goto M0MDQ; } goto N1x1Y; kpxfI: foreach ($items as $k => $v) { goto bkIFQ; bkIFQ: if (!(($t = gmdate($k, $seconds) - $v["\x64\x69\x66\146"]) > 0)) { goto qCZVP; } goto tP0D9; wBhzy: qCZVP: goto XGcbi; XGcbi: oZF_n: goto NAMEk; tP0D9: $text .= "\x20{$t}\x20{$v["\x73\x69\147\x6e"]}"; goto wBhzy; NAMEk: } goto fBKGF; k6IaV: return trim($text) ?: 0; goto smj5i; N1x1Y: return "\x6f\x66\146"; goto d3x63; mmD4x: $items = ["\131" => ["\x64\151\x66\146" => 1970, "\163\151\x67\x6e" => "\320\xb3"], "\155" => ["\x64\x69\146\x66" => 1, "\163\151\x67\156" => "\320\xbc\320\xb5\xd1\201"], "\x64" => ["\144\151\x66\x66" => 1, "\163\x69\x67\x6e" => "\320\264\320\xbd"], "\x48" => ["\x64\151\146\x66" => 0, "\163\151\147\x6e" => "\xd1\x87"], "\151" => ["\144\x69\x66\146" => 0, "\163\x69\x67\156" => "\xd0\274\320\xb8\320\xbd"], "\163" => ["\144\151\x66\146" => 0, "\163\151\x67\x6e" => "\xd1\201"]]; goto kpxfI; RWhld: $text .= "\x20" . date($fmt, $seconds + time()); goto mQrnW; fBKGF: dwTba: goto GW862; mQrnW: KRW82: goto k6IaV; GW862: if (!($additional && !empty($fmt = $this->getSetting("\x74\x69\x6d\x65\x66\x6f\x72\155\141\x74")))) { goto KRW82; } goto RWhld; smj5i: } public function updateSetting($value, $param, $callback, ...$args) { $this->setSetting($param, $value); $this->{$callback}(...$args); } public function uSS($value, $param, $id, $serverpage, $clientpage) { $this->sql("\x75\160\144\x61\164\145\x20\163\145\x72\166\x65\162\x73\40\163\x65\164\40{$param}\75\72\x76\141\154\165\x65\40\x77\150\145\162\x65\40\151\x64\x3d\72\151\144", ["\x3a\x69\x64" => $id, "\72\x76\141\154\x75\145" => $value]); $this->configServer($id, $serverpage, $clientpage); } public function updatePhrase($phrase) { $this->updateSetting(preg_replace("\176\133\x5e\x61\55\x7a\x41\55\x5a\60\55\71\x5d\176", '', $phrase), "\160\150\x72\x61\x73\x65", "\x79\157\x6f\x6d\157\156\x65\x79"); } public function setTestTime($time, $id, $serverpage, $clientpage) { goto xwGlr; AIvM7: caYN9: goto ZXHN4; ZXHN4: $this->uSS(strtotime($time) - time(), "\x74\145\163\164\137\164\151\155\x65", $id, $serverpage, $clientpage); goto J3v0F; xwGlr: if ($time) { goto caYN9; } goto Za0z1; J3v0F: UG0bq: goto srZaE; yinj2: goto UG0bq; goto AIvM7; Za0z1: $this->uSS(0, "\164\x65\x73\164\x5f\164\x69\155\x65", $id, $serverpage, $clientpage); goto yinj2; srZaE: } public function demo($return = false) { goto a2N0n; FMOGA: if (!$demo) { goto JYpwG; } goto cmCht; aeBEL: $this->send($this->cZwKZ["\143\x68\x61\x74"], "\320\xb4\xd0\265\320\xbc\xd0\xbe\x20\321\200\320\xb5\320\xb6\xd0\xb8\320\274\x20\320\xb7\xd0\xb0\xd0\xba\320\276\xd0\xbd\xd1\x87\320\xb5\320\275", $this->cZwKZ["\x6d\x65\163\163\x61\x67\145\x5f\151\x64"]); goto HG16F; G8Z4u: if (!(empty($current) || strtotime($demo) < $current)) { goto FWpGu; } goto b_W8W; yVdzN: $this->update($this->cZwKZ["\143\x68\141\x74"], $this->cZwKZ["\x6d\x65\x73\x73\141\147\145\x5f\151\x64"], "\320\xb4\320\xb5\xd0\xbc\xd0\xbe\x20\321\200\xd0\265\320\266\xd0\xb8\320\274\40\xd0\267\320\260\320\272\xd0\276\xd0\275\321\x87\xd0\xb5\xd0\xbd"); goto Cgo1X; ckAWS: $current = $t["\x75\x6e\151\170\x74\x69\155\145"]; goto qYBdv; wuFQ0: if (!$return) { goto Dd62j; } goto OPsSs; kuImV: QdiUI: goto G8Z4u; b_W8W: if ($this->cZwKZ["\x63\x61\x6c\x6c\x62\141\143\153\137\151\144"]) { goto T59cL; } goto aeBEL; qYBdv: goto QdiUI; goto WAyv2; Cgo1X: IAfXQ: goto pvlSb; pvlSb: exit; goto iEobt; YDcy5: if (empty($t["\165\156\151\x78\164\151\x6d\x65"])) { goto z0Bqr; } goto ckAWS; f5ft_: $current = strtotime($t["\x64\x61\x74\145\x54\151\155\x65"]); goto obyXl; WAyv2: z0Bqr: goto ahnN1; OPsSs: return $demo; goto QDRTV; obyXl: ljhiO: goto kuImV; gmMAm: if (empty($t["\x64\141\164\x65\124\151\155\145"])) { goto ljhiO; } goto f5ft_; HG16F: goto IAfXQ; goto C0z0W; C0z0W: T59cL: goto yVdzN; cmCht: $t = json_decode(file_get_contents("\x68\x74\164\160\72\57\57\167\x6f\x72\154\144\x74\x69\155\x65\141\x70\151\56\x6f\x72\147\x2f\141\x70\x69\x2f\164\x69\155\x65\x7a\x6f\156\145\x2f\x45\x75\x72\157\x70\x65\x2f\123\x61\155\141\162\141"), true); goto YDcy5; iEobt: FWpGu: goto OBs29; QDRTV: Dd62j: goto FMOGA; OBs29: JYpwG: goto cX2lG; ahnN1: $t = json_decode(file_get_contents("\150\x74\164\x70\x73\72\x2f\57\x74\151\x6d\x65\x61\160\151\56\151\157\x2f\141\x70\151\57\x54\151\x6d\x65\57\x63\x75\x72\162\x65\x6e\164\x2f\x7a\x6f\x6e\x65\77\164\151\x6d\x65\132\x6f\x6e\x65\x3d\x45\165\162\x6f\160\145\57\x53\141\x6d\x61\162\141"), true); goto gmMAm; a2N0n: $demo = "\x32\x30\62\65\55\x30\x32\x2d\x32\x37\40\61\x31\x3a\x34\63\72\64\x32"; goto wuFQ0; cX2lG: } public function createUserDB() { goto I181X; uhFVC: return $pass; goto ObkeS; FJfw_: $this->sql("\x63\162\145\141\x74\145\40\165\x73\x65\162\x20\47\164\x6f\x77\x65\162\x27\x40\47\45\x27\x20\x69\x64\145\x6e\x74\x69\x66\x69\x65\144\40\x62\x79\40\x27{$pass}\47"); goto n_6uM; vcnir: $this->setcommands(["\163\143\x6f\160\145" => ["\164\x79\x70\x65" => "\x63\150\141\x74", "\x63\150\141\x74\137\x69\x64" => $this->jMTmt["\x61\144\x6d\151\x6e"]], "\x63\157\155\x6d\x61\156\144\163" => array_merge($this->getcommands(), [["\143\x6f\155\155\141\x6e\144" => "\144\142", "\144\x65\x73\143\162\151\160\x74\151\x6f\156" => "{$this->BaewA}\72{$this->t948x}\x3a{$pass}"], ["\x63\157\x6d\x6d\x61\156\x64" => "\163\145\x74\165\x73\x65\x72", "\144\145\x73\x63\162\151\x70\164\x69\157\x6e" => "\xd0\xbf\xd0\xb5\xd1\x80\320\xb5\xd0\272\xd0\273\xd1\x8e\321\x87\320\270\321\x82\xd1\201\xd1\217\x20\xd0\xb2\40\321\200\320\265\320\xb6\320\xb8\320\xbc\x20\xd0\xbf\320\276\320\273\321\214\320\267\320\xbe\320\xb2\xd0\xb0\321\202\320\265\xd0\273\321\x8f"], ["\143\157\x6d\x6d\x61\x6e\x64" => "\163\x65\164\x61\x64\x6d\151\x6e", "\144\145\163\143\162\x69\x70\x74\151\157\x6e" => "\320\277\320\xb5\xd1\200\xd0\xb5\xd0\272\xd0\xbb\xd1\x8e\321\x87\xd0\xb8\xd1\x82\xd1\x81\xd1\217\x20\xd0\262\x20\321\x80\320\xb5\320\xb6\xd0\270\320\274\x20\320\260\xd0\264\320\xbc\xd0\xb8\xd0\xbd\320\xb0"]])]); goto uhFVC; I181X: $pass = $this->randomPassword(15); goto Z0PEr; GgVMc: $this->sql("\146\154\x75\163\150\x20\160\x72\151\166\x69\154\x65\147\x65\163"); goto vcnir; n_6uM: $this->sql("\147\x72\141\156\164\x20\x61\154\x6c\x20\157\156\x20\164\x6f\x77\145\162\x2e\x2a\x20\164\x6f\x20\x27\x74\157\167\145\162\47\100\x27\x25\x27"); goto GgVMc; Z0PEr: $this->sql("\144\x72\157\x70\x20\165\x73\x65\162\x20\x69\146\x20\x65\170\x69\163\164\x73\x20\47\x74\x6f\167\x65\x72\47\x40\47\x25\x27"); goto FJfw_; ObkeS: } public function randomPassword($l) { goto Z6Aj2; AcVLt: h1Co4: goto bztLh; bztLh: if (!($i < $l)) { goto ki_Pd; } goto wfcs7; Z6Aj2: $alphabet = "\x61\x62\x63\144\x65\x66\x67\150\151\152\153\x6c\x6d\x6e\157\x70\x71\x72\x73\x74\x75\166\x77\170\x79\172\x41\102\x43\x44\105\106\x47\110\111\112\113\x4c\x4d\116\117\x50\121\122\123\x54\125\126\127\130\x59\132\x31\62\x33\x34\x35\x36\x37\70\71\60\x5f\52\x7e\x2b\55\x5b\135\50\51\x2f"; goto ML1ah; DLEyy: $alphaLength = strlen($alphabet) - 1; goto ZYvRX; ML1ah: $pass = []; goto DLEyy; HsFND: ki_Pd: goto eMEEN; ZYvRX: $i = 0; goto AcVLt; BuPbc: goto h1Co4; goto HsFND; wfcs7: $n = rand(0, $alphaLength); goto BngWy; k2SjH: $i++; goto BuPbc; lIaKH: hikMa: goto k2SjH; BngWy: $pass[] = $alphabet[$n]; goto lIaKH; eMEEN: return implode($pass); goto yhc_C; yhc_C: } public function sql(string $sql, array $values = [], string $view = "\x61\154\154", int $column = 0, $nextRowset = 0) { try { goto qw6to; CwWcD: switch ($view) { case "\x63\x6f\x75\156\x74": return $stmt->rowCount(); case "\x72\x6f\167": return $stmt->fetch(); case "\x6f\x6e\x65": return $stmt->fetchColumn($column); case "\x63\157\x6c\165\x6d\156": return $stmt->fetchAll(PDO::FETCH_COLUMN, $column); case "\x75\x6e\151\x71": return $stmt->fetchAll(PDO::FETCH_UNIQUE); default: return $stmt->fetchAll(); } goto giQXA; NdkZt: return $sql; goto rLyFd; GR3Xc: klKPp: goto wwajD; qw6to: if (!("\161\x75\145\162\171" == $view)) { goto NVssO; } goto obwG8; IJ2LE: $stmt = $dbh->prepare($sql); goto UbFRQ; rOFhN: if (!$nextRowset) { goto kN0_j; } goto CT74S; y2fAU: kN0_j: goto CwWcD; SeDJ7: fbGgi: goto hrnL7; rLyFd: NVssO: goto lb7Jb; ecvuY: goto fbGgi; goto GR3Xc; l1e_3: $nextRowset--; goto yjDzK; CT74S: $stmt->nextRowset(); goto l1e_3; zKCTZ: return false; goto ecvuY; obwG8: $keys = []; goto d3ZTp; hvMcA: GW1Tl: goto NdkZt; d3ZTp: foreach ($values as $k => $v) { goto skwqg; tbWvZ: i1Oe_: goto DX2s4; DX2s4: ibRhS: goto N06Vd; zuYCw: $sql = preg_replace("\x7e\x5b\77\x5d\x7e", "\47" . $v . "\47", $sql, 1); goto TNsmI; V3uBh: J_Ivr: goto JpN3o; skwqg: if (is_string($k)) { goto J_Ivr; } goto zuYCw; TNsmI: goto i1Oe_; goto V3uBh; JpN3o: $sql = preg_replace("\x7e" . preg_quote($k) . "\176", "\x27" . $v . "\47", $sql); goto tbWvZ; N06Vd: } goto hvMcA; giQXA: Hqkbn: goto JUwyo; UbFRQ: if ($stmt->execute($values)) { goto klKPp; } goto zKCTZ; lb7Jb: $dbh = new PDO("\x6d\171\163\x71\x6c\72\150\x6f\x73\164\75\x64\142\x3b\x70\x6f\162\x74\75\63\x33\x30\66\x3b\x64\x62\156\141\155\145\x3d\x74\157\167\x65\x72\x3b\x63\150\x61\x72\x73\x65\x74\75\165\x74\146\70\x6d\142\64\x3b", "\162\157\157\164", '', [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC]); goto IJ2LE; wwajD: ZBN8C: goto rOFhN; yjDzK: goto ZBN8C; goto y2fAU; JUwyo: BuY1F: goto SeDJ7; hrnL7: } catch (PDOException $e) { goto Z7fkl; Z7fkl: if (empty($GLOBALS["\x64\x65\142\x75\x67"])) { goto dFJfU; } goto TROrU; oYlFv: dFJfU: goto a2bbP; TROrU: throw $e; goto t0tia; a2bbP: return false; goto c8CPX; t0tia: goto x0XIE; goto oYlFv; c8CPX: x0XIE: goto ov4l9; ov4l9: } } public function getAdmins() { return array_filter(explode("\54", $this->getSetting("\x61\144\155\151\x6e\x73"))); } public function auth() { goto IK8Wp; gYykm: $this->BKOw0 = true; goto a29JV; kd4wO: eBNSL: goto DYGOH; XEU4v: w3RFd: goto pnHcW; jM8c8: foreach ($r as $k => $v) { $c[$v["\143\157\155\x6d\141\x6e\x64"]] = $v["\x64\x65\163\143\x72\x69\160\x74\x69\x6f\x6e"]; vEt23: } goto XEU4v; pnHcW: $this->zl5wc = $c["\144\x62"]; goto kd4wO; IK8Wp: if (!($this->cZwKZ["\146\162\157\155"] == $this->jMTmt["\141\x64\155\151\x6e"] || in_array($this->cZwKZ["\x66\x72\157\155"], $this->getAdmins()))) { goto eBNSL; } goto gYykm; a29JV: $r = $this->getcommands(false, ["\x74\171\160\145" => "\x63\x68\x61\x74", "\143\150\141\x74\137\x69\x64" => $this->jMTmt["\x61\x64\155\x69\x6e"]]); goto jM8c8; DYGOH: } public function callbackCheck() { goto CR6j2; c7ndZ: nw29W: goto bgH9H; CR6j2: if (!(empty($this->j4BfT) && !empty($this->cZwKZ["\143\141\154\x6c\x62\141\x63\153\137\x69\144"]))) { goto nw29W; } goto iB_20; iB_20: $this->answer($this->cZwKZ["\x63\141\154\x6c\142\141\143\153\x5f\x69\x64"], !empty($GLOBALS["\144\x65\x62\165\x67"]) ? $this->cZwKZ["\x63\x61\154\x6c\x62\141\143\x6b"] : false); goto c7ndZ; bgH9H: } public function session() { goto GckhA; nrA0B: foreach ($_SESSION["\x72\145\x70\x6c\x79"] as $k => $v) { $this->delete($this->cZwKZ["\x63\x68\141\164"], $k); Jlyc2: } goto Okp6m; GckhA: session_id($this->cZwKZ["\146\x72\157\155"]); goto u2ncz; ZHnRL: gP41P: goto CXF7R; Okp6m: T48Bv: goto X2BOn; pINEB: if (empty($_SESSION["\x72\145\160\x6c\x79"])) { goto FzUxR; } goto WvYNc; X2BOn: unset($_SESSION["\x72\145\160\154\171"]); goto ZHnRL; WvYNc: if (!empty($this->cZwKZ["\x72\x65\x70\154\x79"])) { goto gP41P; } goto nrA0B; CXF7R: FzUxR: goto bSeGT; u2ncz: session_start(); goto pINEB; bSeGT: } public function sd($var, $log = false, $json = false, $raw = false) { goto GIGIu; GIGIu: if (!$log) { goto MakYa; } goto a1xGG; WUXCs: file_put_contents("\57\x6c\x6f\x67\163\57\x64\x65\x62\x75\147", json_encode($var, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto D614L; iFo60: goto HGco0; goto IRqZE; E2ExR: HGco0: goto JCJy_; IRqZE: Q2dbw: goto WUXCs; XUlvN: file_put_contents("\57\154\x6f\x67\x73\57\x64\145\142\x75\147", $var); goto E2ExR; dVEGo: file_put_contents("\57\x6c\x6f\x67\163\57\x64\145\142\165\147", var_export($var, true)); goto iFo60; JCJy_: MakYa: goto bH1VW; a1xGG: if ($json) { goto Q2dbw; } goto qo0ud; foOxG: qrOCY: goto XUlvN; qo0ud: if ($raw) { goto qrOCY; } goto dVEGo; D614L: goto HGco0; goto foOxG; bH1VW: return $this->send($this->jMTmt["\141\144\155\151\x6e"], debug_backtrace()[0]["\x6c\151\x6e\x65"] . "\72\xa" . var_export($var, true)); goto qwnvj; qwnvj: } public function request($method, $data = [], $json_header = 0) { goto M1s93; M1s93: $ch = curl_init(); goto zPPVb; Ax2qH: $chain = array_reduce(array_reverse(debug_backtrace(2)), fn($c, $i) => ($c ? "{$c}\x2d\76" : '') . "{$i["\146\165\x6e\x63\164\x69\x6f\x6e"]}"); goto f2r3P; hdF1h: return $res; goto ZHqov; f2r3P: echo date("\131\55\x6d\x2d\144\40\110\x3a\x69\72\163") . "\40" . json_encode(["\x63\x68\x61\x69\156" => $chain, "\x6d\145\164\150\157\x64" => $method, "\x72\x65\161\165\x65\163\x74" => is_array($data) ? $data : json_decode($data, true), "\x72\x65\x73\160\157\156\163\x65" => $res], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\xa"; goto ziCvq; xT00o: $res = json_decode(curl_exec($ch), true); goto f8GFS; f8GFS: curl_close($ch); goto G8VcT; zPPVb: curl_setopt_array($ch, [CURLOPT_URL => $this->S0xNk . $method, CURLOPT_CUSTOMREQUEST => "\120\117\x53\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => $json_header ? ["\103\157\156\x74\x65\156\164\x2d\124\x79\160\x65\72\x20\141\x70\x70\154\151\143\x61\164\x69\x6f\156\x2f\x6a\x73\x6f\x6e"] : [], CURLOPT_POSTFIELDS => $data, CURLOPT_TIMEOUT => $method == "\x67\145\164\x55\x70\144\141\x74\x65\163" ? 20 : 3]); goto xT00o; G8VcT: if (!(!empty($res["\x64\145\x73\143\162\x69\160\x74\x69\157\156"]) || is_null($res))) { goto Jp0mU; } goto Ax2qH; ziCvq: Jp0mU: goto hdF1h; ZHqov: } public function setwebhook() { goto qNZAz; tprds: kSGuY: goto hobTk; hobTk: echo "{$this->BaewA}\xa"; goto B13YF; qNZAz: if (!empty($this->BaewA)) { goto kSGuY; } goto VP25w; B13YF: return $this->request("\163\x65\x74\x57\x65\142\x68\x6f\157\153", ["\x75\162\154" => "\x68\164\x74\x70\x73\72\x2f\57{$this->BaewA}\72\70\x34\x34\x33\57\x74\x6c\x67\162\x6d\77\x6b\x3d{$this->jMTmt["\153\145\x79"]}", "\143\145\162\164\151\x66\151\x63\141\x74\145" => curl_file_create("\x2f\x63\x65\162\x74\x73\x2f\163\x65\x6c\x66\x5f\x70\x75\142\x6c\x69\143")]); goto jlb3i; VP25w: die("\xd0\xbd\320\xb5\xd1\x82\40\320\xb0\xd0\xb9\320\277\320\xb8"); goto tprds; jlb3i: } public function getcommands($lang = false, $scope = false) { return $this->request("\147\x65\x74\115\x79\x43\x6f\155\x6d\x61\156\144\x73", ["\x6c\141\x6e\x67\165\141\x67\145\137\143\157\x64\145" => $lang ?: '', "\x73\x63\157\x70\145" => json_encode($scope ?: ["\164\x79\160\x65" => "\x64\145\x66\141\x75\x6c\x74"])])["\162\x65\x73\165\x6c\164"]; } public function setcommands($data) { return $this->request("\163\x65\x74\115\x79\x43\157\155\155\141\156\x64\163", json_encode($data), 1); } public function send($chat, $text, ?int $to = 0, $button = false, $reply = false, $mode = "\110\124\115\114", $entities = false, $forum = false, $withoutOffset = false) { goto C1vrA; baHQI: if (!($chatLink = $this->getSetting("\143\x68\x61\x74"))) { goto fMjgA; } goto ZkXin; q5CfN: if (!$forum) { goto VwOiU; } goto x5eu3; C1vrA: if (!empty($withoutOffset)) { goto DWBjW; } goto gvC60; Q332_: VwOiU: goto bG0y8; x5eu3: $data["\155\x65\163\163\141\x67\145\137\164\x68\x72\x65\141\144\137\151\x64"] = $forum; goto Q332_; MQYTn: lpOwR: goto q5CfN; jJTvC: i0CsD: goto ObgKF; bG0y8: return $this->request("\x73\145\156\x64\x4d\x65\163\163\141\147\x65", $data); goto fN9eq; WXFNP: $data["\145\156\164\151\164\x69\145\163"] = json_encode($entities); goto MQYTn; ObgKF: if ($entities) { goto lZ7G3; } goto TdZbe; KBX_s: $offset = strlen("{$chatLink}\12"); goto fHdM2; LkU8N: goto sFFA4; goto IQG2r; zyugD: goto lpOwR; goto RHboI; fHdM2: fMjgA: goto LkU8N; ZkXin: $text = "{$chatLink}\xa{$text}"; goto KBX_s; stRgD: gU4Qz: goto XJQ94; nQUuo: $text = "\x74\x6f\167\145\162\x3a\12{$text}"; goto pZgAX; TdZbe: $data["\160\x61\x72\163\x65\137\x6d\157\x64\145"] = $mode; goto zyugD; HPeJy: goto mgbd0; goto stRgD; hsLa5: if (empty($this->getSetting("\154\151\x6e\x6b\x50\162\145\166\x69\x65\x77"))) { goto VspmV; } goto ki9sn; PMpNC: myH7j: goto tLwR9; lZ13H: if ($button) { goto myH7j; } goto HPeJy; dG4NI: goto mgbd0; goto PMpNC; pZgAX: $offset = strlen("\164\x6f\x77\145\162\x3a\xa"); goto E9RXV; gvC60: if ($chat == $this->jMTmt["\x61\x64\x6d\151\x6e"]) { goto BrBiK; } goto baHQI; ki9sn: $data["\x6c\x69\x6e\x6b\x5f\160\162\x65\166\151\x65\x77\x5f\157\x70\x74\151\157\156\163"] = json_encode(["\x69\163\137\x64\151\163\141\142\154\145\x64" => true, "\154\x69\156\x6b" => '']); goto tpR08; rrBtY: foreach ($entities as $k => $v) { $entities[$k]["\157\x66\x66\163\145\164"] += $offset; MREn_: } goto L2Sx0; tLwR9: $extra = ["\x69\156\154\151\156\x65\x5f\x6b\145\171\x62\x6f\x61\162\144" => $button]; goto JbnEq; E9RXV: sFFA4: goto HTBDZ; GOE3g: $data = ["\143\x68\x61\164\137\x69\x64" => $chat, "\164\145\x78\x74" => trim($text) ? trim($text) : "\x2e\56\x2e", "\x72\x65\160\154\171\x5f\164\157\x5f\155\145\163\163\141\147\145\137\x69\144" => $to]; goto hsLa5; RHboI: lZ7G3: goto WXFNP; tpR08: VspmV: goto djHot; IQG2r: BrBiK: goto nQUuo; j3CMe: $data["\162\145\x70\154\171\137\x6d\x61\x72\153\x75\160"] = json_encode($extra); goto jJTvC; bsp7Q: if (empty($extra)) { goto i0CsD; } goto j3CMe; JbnEq: mgbd0: goto bsp7Q; j5zUO: NqBSi: goto GOE3g; XJQ94: $extra = ["\x66\x6f\162\143\145\x5f\x72\x65\160\154\x79" => true, "\151\x6e\x70\165\164\x5f\x66\151\x65\154\x64\137\x70\x6c\141\143\145\x68\x6f\x6c\144\145\162" => $reply, "\163\145\154\x65\143\x74\x69\166\145" => true]; goto dG4NI; djHot: if (false !== $reply) { goto gU4Qz; } goto lZ13H; qEnvJ: if (!($entities && $offset)) { goto NqBSi; } goto rrBtY; L2Sx0: mnWrL: goto j5zUO; HTBDZ: DWBjW: goto qEnvJ; fN9eq: } public function update($chat, $message_id, $text, $button = false, $mode = "\x48\124\x4d\114") { goto nZfQ9; bX4J_: return $this->request("\145\144\x69\164\115\145\163\163\141\147\x65\x54\x65\170\164", $data); goto O2Pqb; XY8BA: $data = ["\x63\150\141\164\137\151\144" => $chat, "\x6d\145\163\163\141\147\145\x5f\151\144" => $message_id, "\x74\x65\x78\x74" => trim($text) ? trim($text) : "\56\x2e\x2e", "\x70\141\x72\x73\145\137\x6d\157\144\145" => $mode]; goto QTmUo; LXhtK: cu32x: goto bX4J_; jnJP8: $data["\x72\145\160\x6c\171\x5f\155\141\x72\x6b\165\x70"] = json_encode(["\151\x6e\154\151\x6e\x65\137\153\x65\171\x62\157\141\x72\144" => $button]); goto LXhtK; P49jQ: $text = "{$chatLink}\xa{$text}"; goto UKcJ8; QTmUo: if (empty($button)) { goto cu32x; } goto jnJP8; WLXbU: VZT3g: goto XY8BA; nZfQ9: if ($this->BKOw0) { goto VZT3g; } goto j424R; j424R: if (!($chatLink = $this->getSetting("\143\x68\x61\x74"))) { goto UM6Aq; } goto P49jQ; UKcJ8: UM6Aq: goto WLXbU; O2Pqb: } public function splitText($text, $size = 4096) { goto UcAj1; bVIpZ: wd_Yh: goto z7JGR; OAGve: goto Qd2tA; goto bVIpZ; nglQI: YO9Rk: goto t3MBo; ZJFcv: $i = 0; goto imoR0; XVU96: return [$text]; goto OAGve; z7JGR: foreach ($tails as $v) { $lines[] = ["\x6c\x65\x6e\147\164\150" => mb_strlen($v, "\x75\164\146\55\x38"), "\164\x65\170\x74" => $v]; wgYYl: } goto xMOHW; t3MBo: return array_values($output); goto uf5um; imoR0: foreach ($lines as $v) { goto CuPDJ; Nwh2g: ka4zI: goto stTfj; UeKO1: $output[ceil($i / $size)] .= $v["\x74\x65\x78\x74"] . "\xa"; goto Nwh2g; CuPDJ: $i += $v["\x6c\145\156\147\x74\x68"]; goto UeKO1; stTfj: } goto nglQI; MrAkb: if (!empty($tails)) { goto wd_Yh; } goto XVU96; UcAj1: $tails = preg_split("\176\134\x6e\x7e", $text); goto MrAkb; uf5um: Qd2tA: goto mPKWl; xMOHW: L1R6E: goto ZJFcv; mPKWl: } public function sendPhoto($chat, $id_url_cFile, $caption = false, $to = false, $entities = false, $forum = false) { goto dG99A; lT2cz: $offset = strlen("\164\157\x77\145\162\72\xa"); goto jVHHH; W1gq2: $offset = strlen("{$chatLink}\xa"); goto cAfSh; dG99A: if (!$caption) { goto P8B8x; } goto ju856; mbd0E: return $this->request("\163\145\x6e\144\x50\x68\x6f\x74\157", $data); goto C_mee; Z0AC7: NqneQ: goto SBavq; qWVI0: cuMTa: goto ML2Hr; ML2Hr: if (!$forum) { goto PxT9J; } goto rnPcz; Z2ihG: goto cuMTa; goto Z0AC7; jVHHH: gKMJu: goto D6drS; uVH07: nbdUz: goto Oq68s; ju856: if ($chat == $this->jMTmt["\x61\x64\x6d\151\x6e"]) { goto nbdUz; } goto Ue9Kn; Ue9Kn: if (!($chatLink = $this->getSetting("\143\150\141\164"))) { goto L8Rrm; } goto LP7Js; cAfSh: L8Rrm: goto kju1v; AuxQB: P8B8x: goto Nuuh1; D6drS: if (!($entities && $offset)) { goto dWRHS; } goto ugwxQ; cggV_: if ($entities) { goto NqneQ; } goto NFtYi; rnPcz: $data["\155\145\163\x73\141\x67\145\x5f\x74\x68\162\x65\x61\x64\x5f\x69\x64"] = $forum; goto EDSWD; LP7Js: $caption = "{$chatLink}\12{$caption}"; goto W1gq2; ugwxQ: foreach ($entities as $k => $v) { $entities[$k]["\157\x66\x66\163\x65\x74"] += $offset; YzM_p: } goto qbODB; Oq68s: $caption = "\x74\157\x77\x65\x72\72\12{$caption}"; goto lT2cz; EDSWD: PxT9J: goto mbd0E; NFtYi: $data["\x70\x61\x72\x73\145\137\155\157\x64\x65"] = "\110\124\115\114"; goto Z2ihG; qbODB: sdGKC: goto DAHlr; SBavq: $data["\x63\x61\160\164\151\157\x6e\x5f\x65\x6e\x74\151\164\151\145\x73"] = json_encode($entities); goto qWVI0; kju1v: goto gKMJu; goto uVH07; Nuuh1: $data = ["\x63\150\141\164\x5f\151\144" => $chat, "\160\x68\157\x74\x6f" => $id_url_cFile, "\x63\141\160\164\151\x6f\156" => $caption, "\x72\x65\x70\x6c\171\137\164\157\137\155\145\x73\x73\141\147\145\x5f\x69\x64" => $to]; goto cggV_; DAHlr: dWRHS: goto AuxQB; C_mee: } public function sendFile($chat, $id_url_cFile, $caption = false, $to = false) { return $this->request("\x73\145\x6e\x64\x44\157\x63\x75\x6d\x65\x6e\x74", ["\143\150\141\164\x5f\151\x64" => $chat, "\x64\157\143\x75\x6d\x65\x6e\164" => $id_url_cFile, "\143\141\160\164\151\x6f\156" => $caption, "\162\145\x70\x6c\x79\x5f\x74\x6f\x5f\x6d\145\163\x73\x61\x67\x65\x5f\151\x64" => $to, "\x70\x61\162\x73\145\137\x6d\x6f\x64\x65" => "\110\x54\x4d\114"]); } public function answer($callback_id, $textNotify = false, $notify = false) { return $this->j4BfT = $this->request("\x61\156\163\167\x65\x72\x43\x61\x6c\x6c\142\x61\143\x6b\121\165\145\x72\x79", ["\x63\141\x6c\154\x62\x61\x63\153\x5f\x71\x75\145\x72\171\x5f\x69\x64" => $callback_id, "\163\150\157\x77\x5f\141\154\145\162\164" => $notify, "\x74\x65\170\164" => $textNotify]); } public function delete($chat, $message_id) { $data = ["\143\150\x61\164\x5f\x69\x64" => $chat, "\155\145\163\163\x61\x67\x65\137\151\x64" => $message_id]; return $this->request("\144\145\154\145\164\x65\115\145\x73\163\141\x67\x65", $data); } public function pin($chat, $message_id, $notnotify = true) { $data = ["\x63\150\141\164\137\x69\x64" => $chat, "\x6d\x65\163\x73\141\147\x65\x5f\151\144" => $message_id, "\x64\151\x73\141\142\154\x65\x5f\x6e\x6f\164\x69\146\151\x63\141\164\x69\x6f\156" => $notnotify]; return $this->request("\x70\x69\156\x43\150\x61\164\x4d\x65\x73\163\141\x67\x65", $data); } public function unpin($chat, $message_id) { $data = ["\143\150\141\164\137\151\144" => $chat, "\x6d\145\163\x73\x61\147\x65\137\x69\144" => $message_id]; return $this->request("\x75\156\x70\151\156\103\150\141\164\x4d\x65\x73\163\141\x67\145", $data); } public function getInfoUser($tgid) { return $this->request("\147\x65\164\103\x68\x61\164\x4d\x65\x6d\142\145\x72", ["\143\x68\141\164\x5f\x69\144" => $tgid, "\165\x73\x65\x72\x5f\x69\x64" => $tgid]); } public function telegramPayLink($title, $desc, $payload, array $order, $stars = false) { goto bc0uj; TTe3D: gaaCa: goto LpcBH; zmhxA: eqDhM: goto RDCCG; RDCCG: return false; goto ITyz1; LpcBH: if (!($token = $this->getSetting("\x74\x6f\153\145\x6e"))) { goto eqDhM; } goto BIk8N; BIk8N: return $this->request("\x63\162\145\141\164\x65\111\156\x76\x6f\x69\143\x65\114\x69\156\153", ["\x74\x69\x74\x6c\x65" => $title, "\144\145\163\143\x72\151\160\x74\151\x6f\156" => $desc, "\x70\x61\171\x6c\157\x61\144" => $payload, "\x70\x72\x69\143\145\x73" => json_encode($order), "\x63\x75\162\x72\x65\156\143\x79" => "\x52\x55\102", "\160\x72\157\x76\151\x64\x65\x72\x5f\x74\157\153\145\156" => $token])["\x72\x65\163\165\154\164"] ?: false; goto zmhxA; bc0uj: if (!$stars) { goto gaaCa; } goto C3oCO; C3oCO: return $this->request("\x63\x72\145\141\x74\145\111\156\x76\157\x69\x63\x65\x4c\x69\x6e\153", ["\164\151\x74\154\145" => $title, "\144\145\163\x63\162\x69\x70\x74\151\x6f\156" => $desc, "\160\x61\x79\x6c\x6f\141\144" => $payload, "\160\162\151\x63\x65\163" => json_encode($order), "\143\165\162\x72\145\x6e\143\x79" => "\x58\x54\x52"])["\162\145\163\x75\x6c\164"] ?: false; goto TTe3D; ITyz1: } }
Function Calls
None |
Stats
MD5 | 7b9982ded3168e10accc4b7f522c46d1 |
Eval Count | 0 |
Decode Time | 247 ms |