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 $rtkAD; public $xKGI9; public $H6qXg; public $M7wbC; public $..

Decoded Output download

<?php 
 
 class Bot { public $rtkAD; public $xKGI9; public $H6qXg; public $M7wbC; public $lj7vp; public $qS1n1; public $file; public $l4Nwz; public $ZA5JX; public $uSaxE; public $Ys8kH; public $aYiuu; public $OEiKI = "/certs/certbot"; private $vABj5; public $GUeuI; public function __construct() { goto KvSl5; nx3tF: $this->ZA5JX = getenv("DBPORT"); goto ankdX; AWSQk: $this->l4Nwz = getenv("IP"); goto nx3tF; JM7lM: $this->file = "https://api.telegram.org/file/bot{$this->vABj5["key"]}/"; goto AWSQk; KvSl5: $this->vABj5 = ["key" => "7117338483:AAEuvlaWR3XmDdTpSluDZ9s31He60NgUW3E", "admin" => "278571710"]; goto WsDlP; H2IOg: $this->qS1n1 = 5; goto j6PnV; ankdX: $this->aYiuu = "en"; goto H2IOg; WsDlP: $this->uSaxE = "https://api.telegram.org/bot{$this->vABj5["key"]}/"; goto JM7lM; j6PnV: $this->M7wbC = $this->sql("select param, value from language", view: "uniq"); goto XAA9k; XAA9k: } public function input() { goto QloGn; K2SKt: exit; goto FtKnt; mmCFs: $this->rtkAD = ["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, "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 U4eAn; FtKnt: dRFr5: goto kt1Qz; BCyQH: $this->auth(); goto IaNNa; kt1Qz: $this->xKGI9 = $input = json_decode(file_get_contents("php://input"), true); goto mmCFs; U4eAn:  goto BCyQH; IaNNa: $this->session(); goto vIdv8; QloGn: if ("POST" == $_SERVER["REQUEST_METHOD"] && $_GET["k"] == $this->vABj5["key"]) { goto dRFr5; } goto Dju_I; Dju_I: header("500", true, 500); goto K2SKt; YbiZD: $this->callbackCheck(); goto hPKY3; vIdv8: $this->action(); goto YbiZD; hPKY3: } public function telegramPayHook() { goto lWmCr; ckJqE: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], "\320\xbe\xd0\xb1\321\200\320\260\320\261\xd0\276\xd1\x82\xd0\xba\xd0\xb0 \320\267\320\260\320\272\xd0\260\320\xb7\320\xb0"); goto y6nBI; UWYZG: $this->rtkAD["callback_id"] = $this->rtkAD["message_id"]; goto ikQHc; b3yO2: $this->sql("update orders set paid=1, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $o, ":amount" => $this->rtkAD["payment_amount"] / 100]); goto sKPQZ; ikQHc: $this->menu($menupage); goto TXYAq; sKPQZ: $this->notifyPay($o); goto ckJqE; lWmCr: [$o, $menupage, $this->rtkAD["message_id"]] = explode(":", $this->rtkAD["payment_payload"]); goto b3yO2; y6nBI: sleep(2); goto UWYZG; TXYAq: } public function walletHook() { goto z02Og; G5BZq: $this->notify("\xd0\xbd\xd0\xb5\320\276\xd0\xb1\xd1\x80\320\260\xd0\xb1\xd0\xbe\321\x82\xd0\xb0\320\275\xd0\xbd\xd1\x8b\xd0\271 \xd0\262\320\265\xd0\261\xd1\205\321\203\xd0\272 \320\276\xd0\xbf\xd0\xbb\320\xb0\xd1\x82\321\x8b:\xa<code>{$log}</code>"); goto ViOCK; aXx3I: if (!$this->wallethash()) { goto hOJyy; } goto JGvM7; RG6Qe: hOJyy: goto G5BZq; z02Og: $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 aXx3I; JGvM7: $payload = json_decode(file_get_contents("php://input"), true); goto BiqOF; kqHvU: gh8Z5: goto vG1On; piHDU: return; goto RG6Qe; BiqOF: if (empty($payload)) { goto YZveS; } goto PwgAj; PwgAj: foreach ($payload as $k => $v) { goto hGAY2; xFmFH: $this->rtkAD["from"] = $this->rtkAD["chat"]; goto dfMQJ; AXtf2: $this->rtkAD["callback_id"] = $this->rtkAD["message_id"]; goto xFmFH; ErUw0: unset($payload[$k]); goto n7IaD; ICRYr: $this->notifyPay($id); goto AXtf2; hGAY2: if (!($v["type"] != "ORDER_PAID")) { goto q7Ddu; } goto aMTpY; dfMQJ: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], "\xd0\xbe\320\261\321\200\xd0\xb0\xd0\xb1\320\xbe\321\x82\320\xba\320\xb0 \xd0\267\xd0\xb0\xd0\272\320\xb0\320\267\320\xb0"); goto OsdN6; mp0t9: [$id, $this->rtkAD["chat"], $this->rtkAD["message_id"], $menupage] = explode(":", $v["payload"]["externalId"]); goto UCJ1G; UCJ1G: if (!($id > 0)) { goto q87it; } goto uCep5; pu0tQ: q7Ddu: goto mp0t9; M0lo0: DjNRb: goto QisnV; n7IaD: q87it: goto M0lo0; uCep5: $this->sql("update orders set paid=1, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $id, ":amount" => (int) $v["payload"]["orderAmount"]["amount"]]); goto ICRYr; OsdN6: sleep(2); goto ClKJv; ClKJv: $this->menu($menupage); goto ErUw0; aMTpY: goto DjNRb; goto pu0tQ; QisnV: } goto j19Kf; EbQdQ: if (empty($payload)) { goto gh8Z5; } goto GyL8f; vG1On: YZveS: goto piHDU; j19Kf: JdXN1: goto EbQdQ; GyL8f: $this->notify("\320\xbd\xd0\265\320\xbe\xd0\xb1\xd1\200\xd0\xb0\xd0\xb1\xd0\276\xd1\202\xd0\xb0\xd0\xbd\xd0\275\321\213\320\xb9 \xd0\xb2\320\xb5\320\261\321\205\321\x83\320\272 \320\xbe\xd0\277\320\273\xd0\xb0\xd1\x82\321\213:
<code>" . json_encode($payload, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "</code>"); goto kqHvU; ViOCK: } public function yoomoneyHook() { goto pTcOz; GYAO0: $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 zqYUo; H1bFg: $secret = $this->getSetting("secret"); goto X50jw; zNhv7: HADVY: goto T8ol5; zqYUo: if (!(sha1(implode("&", $params)) == $_POST["sha1_hash"])) { goto yaTKD; } goto nJI35; pqbWs: if (!($t[0] == $phrase)) { goto HADVY; } goto tF90i; uJHWP: $this->sd($_POST); goto HpVb4; VCF7D: $this->notifyPay($t[1]); goto awy4d; tF90i: if (!((int) $t[1] > 0)) { goto ZpOXp; } goto pcRMC; T8ol5: yaTKD: goto WZ5LF; MKGpE: $this->rtkAD["callback_id"] = $this->rtkAD["message_id"] = $t[3]; goto knzw3; X50jw: $phrase = $this->getSetting("phrase"); goto GYAO0; awy4d: $this->rtkAD["chat"] = $this->rtkAD["from"] = $t[2]; goto MKGpE; pcRMC: $this->sql("update orders set paid=1, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $t[1], ":amount" => $_POST["amount"]]); goto VCF7D; knzw3: $this->update($t[2], $t[3], "\320\xbe\320\xb1\321\200\320\260\xd0\xb1\xd0\276\321\x82\xd0\xba\320\260 \xd0\267\320\xb0\xd0\xba\xd0\xb0\xd0\xb7\xd0\xb0"); goto i_O0L; HpVb4: h3OYi: goto H1bFg; pTcOz: if (!$this->getSetting("yd")) { goto h3OYi; } goto uJHWP; i_O0L: sleep(2); goto NGlPD; hzkYk: ZpOXp: goto zNhv7; nJI35: $t = explode(":", $_POST["label"]); goto pqbWs; NGlPD: $this->menu($t[4]); goto hzkYk; WZ5LF: } public function cryptoHook() { goto x8uuI; Q4F0L: LK69d: goto R3T0F; MCKbO: return $this->menu($menupage); goto Q4F0L; mr_QD: [$id, $this->rtkAD["chat"], $this->rtkAD["message_id"], $menupage] = explode(":", $payload["payload"]); goto hLXuA; x8uuI: $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 IUk5R; bPwlw: $this->rtkAD["callback_id"] = $this->rtkAD["message_id"]; goto n9019; kFWUf: sleep(2); goto MCKbO; R3T0F: CNtpL: goto jlDQS; RUzJW: $this->sql("update orders set paid=1, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $id, ":amount" => (int) $payload["amount"]]); goto MgGjl; jlDQS: D_x2w: goto Z1k8f; pNNDR: if (!(!empty($payload) && $payload["status"] == "paid")) { goto CNtpL; } goto mr_QD; hLXuA: if (!($id > 0)) { goto LK69d; } goto RUzJW; n9019: $this->rtkAD["from"] = $this->rtkAD["chat"]; goto DcgFk; IUk5R: if (!$this->cryptoHash()) { goto D_x2w; } goto ehbH6; ehbH6: $payload = json_decode(file_get_contents("php://input"), true)["payload"]; goto pNNDR; DcgFk: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], "\320\xbe\320\xb1\xd1\x80\xd0\xb0\xd0\xb1\320\xbe\xd1\x82\xd0\xba\320\260 \xd0\267\xd0\xb0\320\272\320\260\xd0\xb7\320\xb0"); goto kFWUf; Z1k8f: $this->notify("\320\275\320\xb5\xd0\276\320\261\321\x80\320\xb0\320\261\xd0\276\xd1\x82\xd0\260\320\xbd\xd0\xbd\xd1\x8b\320\xb9 \xd0\262\xd0\xb5\xd0\xb1\321\x85\321\x83\320\272 \320\xbe\320\277\xd0\xbb\320\xb0\xd1\x82\321\213:
<code>{$log}</code>"); goto TwZq_; MgGjl: $this->notifyPay($id); goto bPwlw; TwZq_: } public function cryptoLink($label, $desc, $price) { goto NG7Uv; uo_qc: return $res["result"]["pay_url"] ?: false; goto RSMhQ; SM0cX: 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(["amount" => $price, "currency_type" => "fiat", "fiat" => "RUB", "payload" => $label, "expires_in" => 3600, "description" => $desc]), CURLOPT_TIMEOUT => 5]); goto lurRk; vgF_w: curl_close($ch); goto FEl9j; zP68K: UKx7n: goto uo_qc; kHkvO: if (empty($token)) { goto UKx7n; } goto N0PgE; FEl9j: $res = json_decode($res, true); goto zP68K; N0PgE: $ch = curl_init(); goto SM0cX; NG7Uv: $token = $this->getSetting("@crypto"); goto kHkvO; lurRk: $res = curl_exec($ch); goto vgF_w; RSMhQ: } public function walletLink($label, $desc, $price) { goto Pr0BX; opAkJ: $res = curl_exec($ch); goto BwvrN; Pr0BX: $secret = $this->getSetting("@wallet"); goto zQCov; E8_Zc: $ch = curl_init(); goto pcK5l; zQCov: if (empty($secret)) { goto eEYlK; } goto E8_Zc; Vj22Q: return $res["data"]["payLink"] ?: false; goto uteK1; Cbzha: eEYlK: goto Vj22Q; pcK5l: 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(["amount" => ["currencyCode" => "RUB", "amount" => $price], "description" => $desc, "externalId" => $label, "timeoutSeconds" => 3600, "customerTelegramUserId" => $this->rtkAD["from"]]), CURLOPT_TIMEOUT => 5]); goto opAkJ; uwed2: $res = json_decode($res, true); goto Cbzha; BwvrN: curl_close($ch); goto uwed2; uteK1: } public function wallethash() { goto m1m04; noJLu: K7g4O: goto iG9VU; m1m04: $secret = $this->getSetting("@wallet"); goto f3wr7; X1e7B: return true; goto noJLu; iG9VU: return false; goto KEKUz; n3g2r: if (!($hash == $_SERVER["HTTP_WALLETPAY_SIGNATURE"])) { goto K7g4O; } goto X1e7B; lp109: $hash = base64_encode(hash_hmac("sha256", $string, $secret, true)); goto n3g2r; f3wr7: $string = "{$_SERVER["REQUEST_METHOD"]}.{$_SERVER["REQUEST_URI"]}.{$_SERVER["HTTP_WALLETPAY_TIMESTAMP"]}." . base64_encode(file_get_contents("php://input")); goto lp109; KEKUz: } public function cryptoHash() { goto cmmOf; TwA7s: ZjVit: goto SUTZY; cmmOf: $secret = $this->getSetting("@crypto"); goto YwW8J; YwW8J: $input = file_get_contents("php://input"); goto q8qSC; Hrom2: if (!($hash == $_SERVER["HTTP_CRYPTO_PAY_API_SIGNATURE"])) { goto ZjVit; } goto JnmOv; q8qSC: $hash = hash_hmac("sha256", $input, hash("sha256", $secret, true)); goto Hrom2; SUTZY: return false; goto E20bo; JnmOv: return true; goto TwA7s; E20bo: } public function preCheckout() { goto zFnV7; zQRsr: $this->request("answerPreCheckoutQuery", ["pre_checkout_query_id" => $this->rtkAD["pre_checkout_id"], "ok" => false, "error_message" => "\320\xb7\xd0\260\xd0\272\xd0\xb0\320\xb7 \xd1\x83\320\266\320\265 \320\xbe\320\xbf\xd0\273\320\xb0\321\207\320\xb5\320\xbd"]); goto nMK04; LRa0G: b6_W5: goto zQRsr; Ay1LH: $this->request("answerPreCheckoutQuery", ["pre_checkout_query_id" => $this->rtkAD["pre_checkout_id"], "ok" => true]); goto LTCc7; zFnV7: if ($this->sql("select paid from orders where id=:id", [":id" => $this->rtkAD["invoice_payload"]], "one")) { goto b6_W5; } goto Ay1LH; nMK04: Wme3W: goto DJSvK; LTCc7: goto Wme3W; goto LRa0G; DJSvK: } public function action() { goto XJTHM; uO1M6: dwQdu: goto kARyk; CGN45: n65qQ: goto uO1M6; XJTHM: switch (true) { case !empty($this->rtkAD["file_id"]) && $this->H6qXg && empty($this->rtkAD["reply"]): $this->send($this->rtkAD["chat"], "<code>~photo:{$this->rtkAD["file_id"]}~</code>", $this->rtkAD["message_id"]); goto dwQdu; case !empty($this->rtkAD["payment_payload"]): $this->telegramPayHook(); goto dwQdu; case !empty($this->rtkAD["pre_checkout_id"]): $this->preCheckout(); goto dwQdu; case !empty($this->rtkAD["reply"]) && !empty($_SESSION["reply"][$this->rtkAD["reply"]]): $this->reply(); goto dwQdu; case !empty($this->rtkAD["pinned"]) || !empty($this->rtkAD["bot"]) || empty($this->rtkAD["message_id"]): goto dwQdu; case empty($this->rtkAD["callback"]) && $this->H6qXg && preg_match("~^/(setuser|setadmin)$~", $this->rtkAD["message"], $m): goto ucxO2; pu8Iv: Qt6vi: goto EOhJO; EOhJO: A49uN: goto cDFRw; cDFRw: goto dwQdu; goto qSkrq; ucxO2: switch ($m[1]) { case "setadmin": goto LnG_b; CylSi: $this->send($this->rtkAD["chat"], "\320\277\xd0\265\xd1\x80\xd0\265\320\xba\320\xbb\321\216\321\207\xd0\270\xd0\xbb \320\262 \321\200\xd0\265\320\266\320\270\320\xbc \320\260\320\264\xd0\274\320\xb8\320\275\320\260", $this->rtkAD["message_id"]); goto avNzi; LnG_b: unset($_SESSION["cloak"]); goto CylSi; avNzi: goto A49uN; goto BSIl1; BSIl1: case "setuser": goto IRILa; IRILa: $_SESSION["cloak"] = 1; goto UyYXv; TPwtJ: goto A49uN; goto C205X; UyYXv: $this->send($this->rtkAD["chat"], "\320\xbf\320\265\xd1\x80\xd0\xb5\xd0\xba\320\xbb\321\216\321\x87\xd0\xb8\320\273 \320\262 \xd1\x80\xd0\265\xd0\xb6\xd0\xb8\xd0\274 \320\277\320\xbe\320\xbb\321\x8c\320\xb7\xd0\276\320\xb2\xd0\260\321\x82\320\265\320\273\xd1\217", $this->rtkAD["message_id"]); goto TPwtJ; C205X: } goto pu8Iv; qSkrq: case empty($this->rtkAD["callback"]) && preg_match("~^/(android|ios|macos|windows|help)$~", $this->rtkAD["message"], $m): goto C6JpC; aY5Yu: goto dwQdu; goto Hg2qi; C6JpC: switch ($m[1]) { case "help": $this->previewMedia("hb"); goto FDh6F; case "android": $this->previewMedia("ha"); goto FDh6F; case "ios": $this->previewMedia("hi"); goto FDh6F; case "macos": $this->previewMedia("hm"); goto FDh6F; case "windows": $this->previewMedia("hw"); goto FDh6F; } goto wQEDf; wQEDf: N07Fr: goto tMPih; tMPih: FDh6F: goto aY5Yu; Hg2qi: case preg_match("~^/(?P<method>[^\s]+)(?:\s(?P<args>.+))?$~", $this->rtkAD["callback"] ?: $this->rtkAD["message"], $m): goto Fr0qb; Fzuc0: HCj2t: goto auB1n; QY_R2: qkJ2R: goto x49_n; hyf8E: if (!empty($this->rtkAD["group"]) && !$this->H6qXg) { goto AI9rj; } goto Qcag8; i1HRi: Agt1e: goto iMkxb; ti1Yy: if (!empty($GLOBALS["debug"])) { goto pBpAK; } goto tfdB1; x49_n: goto j1R_q; goto i1HRi; AbgN4: $users_methods = ["start", "menu", "id", "serverUser", "buy", "testPeriod", "peer", "qrPeer", "createOrder", "order", "deleteOrder", "prolong", "payOrder", "sendReply", "helpMenu", "previewMedia", "amnezia"]; goto kcduE; Qcag8: if (isset($m["args"])) { goto HCj2t; } goto ci9QT; NFduM: goto rIe6E; goto oJt4R; Ui0hY: goto j1R_q; goto ZEU_C; iMkxb: return; goto Ui0hY; oJt4R: pBpAK: goto Hd31N; auB1n: $this->{$m["method"]}(...explode("_", $m["args"])); goto QY_R2; kcduE: if (!$this->H6qXg && !in_array($m["method"], $users_methods)) { goto Agt1e; } goto hyf8E; Ba46i: rIe6E: goto g5p9h; Hd31N: $this->send($this->rtkAD["chat"], "method {$m["method"]} not exists", $this->rtkAD["message_id"]); goto Ba46i; hbi9Y: return; goto HMFNJ; g5p9h: goto dwQdu; goto bp8ze; CTJKY: ZpNN1: goto AbgN4; ci9QT: $this->{$m["method"]}(); goto uuYIY; Fr0qb: $this->cloak(); goto Dpce4; uuYIY: goto qkJ2R; goto Fzuc0; ZEU_C: AI9rj: goto hbi9Y; HMFNJ: j1R_q: goto NFduM; Dpce4: if (method_exists($this, $m["method"])) { goto ZpNN1; } goto ti1Yy; tfdB1: goto rIe6E; goto CTJKY; bp8ze: default: goto pHe2q; OIwgs: if ($this->rtkAD["chat"] == $s) { goto EgENo; } goto ZfthX; H2ot4: EgENo: goto MeE1n; M2pr0: yzoMD: goto ZwBwV; ZfthX: if (!$this->H6qXg) { goto yzoMD; } goto iRvQe; pHe2q: $this->cloak(); goto X_3IM; MeE1n: $this->feedback($s); goto RydP4; X_3IM: if (!($s = $this->getSetting("support"))) { goto rwlVY; } goto OIwgs; iRvQe: goto eMxF0; goto H2ot4; ZwBwV: $this->support($s); goto EUg19; RydP4: goto eMxF0; goto M2pr0; L1oSb: rwlVY: goto cXVnX; EUg19: eMxF0: goto L1oSb; cXVnX: } goto CGN45; kARyk: } public function cloak() { goto itvEd; N3Tes: dH0py: goto woW8v; itvEd: if (empty($_SESSION["cloak"])) { goto dH0py; } goto nY81b; nY81b: $this->H6qXg = false; goto N3Tes; woW8v: } public function feedback($chat) { goto skp8q; skp8q: $user = $this->sql("select * from support where forum=:forum", [":forum" => $this->rtkAD["forum"]], "row"); goto bZO1U; RDB8p: LTGD9: goto HehmZ; memTR: IfIoq: goto L6ixW; OSapQ: $this->sendPhoto($user["tgid"], $this->rtkAD["photo"][0]["file_id"], $this->rtkAD["message"], entities: $this->rtkAD["entities"]); goto memTR; JtC3M: switch ($m[1]) { case "ban": goto g_TkU; xJPy_: $this->send($this->rtkAD["chat"], "\xd0\xb7\320\260\320\xb1\xd0\xb0\xd0\xbd\xd0\xb8\320\xbb", $this->rtkAD["message_id"], forum: $this->rtkAD["forum"]); goto keihv; g_TkU: $this->sql("update support set ban=1 where tgid=:tgid", [":tgid" => $user["tgid"]]); goto xJPy_; keihv: goto NZfPA; goto RK84U; RK84U: case "unban": goto zXy68; zXy68: $this->sql("update support set ban=0 where tgid=:tgid", [":tgid" => $user["tgid"]]); goto PKDj0; Qf1ug: goto NZfPA; goto Y71wu; PKDj0: $this->send($this->rtkAD["chat"], "\321\x80\320\xb0\xd0\267\xd0\261\xd0\260\xd0\xbd\xd0\xb8\xd0\xbb", $this->rtkAD["message_id"], forum: $this->rtkAD["forum"]); goto Qf1ug; Y71wu: case "del": goto muy9M; I7qdR: $this->request("deleteForumTopic", ["chat_id" => $chat, "message_thread_id" => $user["forum"]]); goto U41ec; U41ec: goto NZfPA; goto XTWc5; muy9M: $this->sql("delete from support where tgid=:tgid", [":tgid" => $user["tgid"]]); goto I7qdR; XTWc5: } goto RDB8p; sJ4aj: $this->send($user["tgid"], $this->rtkAD["message"], entities: $this->rtkAD["entities"]); goto wOuzz; KBTsj: if (preg_match("~^(ban|unban|del)$~", $this->rtkAD["message"], $m)) { goto uBCcX; } goto CwjeL; xzWPf: uBCcX: goto JtC3M; bZO1U: if (!$user) { goto KKOol; } goto KBTsj; L6ixW: goto gYMtY; goto xzWPf; E6nbE: gYMtY: goto r95rH; HehmZ: NZfPA: goto E6nbE; wOuzz: goto IfIoq; goto HiJI4; HiJI4: MdHwu: goto OSapQ; CwjeL: if ($this->rtkAD["photo"]) { goto MdHwu; } goto sJ4aj; r95rH: KKOol: goto i_A8F; i_A8F: } public function support($chat) { goto ZwH3L; tlIBF: $user = ["tgid" => $this->rtkAD["from"], "forum" => $r["result"]["message_thread_id"]]; goto b61IL; Kxvfc: KxZZL: goto ABQNr; mMVti: Ld2x9: goto Z6UMd; H9nnX: goto Ld2x9; goto Kxvfc; b61IL: i2mdS: goto aB2l3; IPLzm: $this->sql("insert into support (tgid, forum) values (:tgid, :forum)", [":tgid" => $this->rtkAD["from"], ":forum" => $r["result"]["message_thread_id"]]); goto tlIBF; cMVp9: if ($this->rtkAD["photo"]) { goto KxZZL; } goto NjoPw; dmJiA: if (!$r["result"]["message_thread_id"]) { goto i2mdS; } goto IPLzm; NjoPw: $this->send($chat, $this->rtkAD["message"], entities: $this->rtkAD["entities"], forum: $user["forum"]); goto H9nnX; aB2l3: F0S60: goto l3jZW; ABQNr: $this->sendPhoto($chat, $this->rtkAD["photo"][0]["file_id"], $this->rtkAD["message"], entities: $this->rtkAD["entities"], forum: $user["forum"]); goto mMVti; Z6UMd: R1ulE: goto YzLAn; xUvlH: $r = $this->request("createForumTopic", ["chat_id" => $chat, "name" => "{$this->rtkAD["username"]} ({$this->rtkAD["from"]})"]); goto dmJiA; ZwH3L: if ($user = $this->sql("select * from support where tgid=:tgid", [":tgid" => $this->rtkAD["from"]], "row")) { goto F0S60; } goto xUvlH; l3jZW: if (!($user && empty($user["ban"]))) { goto R1ulE; } goto cMVp9; YzLAn: } public function notify($text) { $this->send($this->vABj5["admin"], $text); } public function sendReply($message, $callback, ...$args) { $r = $this->send($this->rtkAD["chat"], "@{$this->rtkAD["username"]} {$message}", $this->rtkAD["message_id"], reply: $message); $_SESSION["reply"][$r["result"]["message_id"]] = ["start_message" => $this->rtkAD["message_id"], "start_callback" => $this->rtkAD["callback_id"], "callback" => $callback, "args" => $args]; } public function reply() { goto D7pNM; wvvMg: $this->answer($_SESSION["reply"][$this->rtkAD["reply"]]["start_message"]); goto j5NG8; D7pNM: $this->delete($this->rtkAD["chat"], $this->rtkAD["reply"]); goto VL4Ey; bVZJl: $this->rtkAD["message_id"] = $this->rtkAD["callback_id"] = $_SESSION["reply"][$this->rtkAD["reply"]]["start_message"]; goto eMTNh; Qwn1e: $callback = $_SESSION["reply"][$this->rtkAD["reply"]]["callback"]; goto bVZJl; VL4Ey: $this->delete($this->rtkAD["chat"], $this->rtkAD["message_id"]); goto Qwn1e; j5NG8: unset($_SESSION["reply"][$this->rtkAD["reply"]]); goto CK1wi; eMTNh: $this->{$callback}($this->rtkAD["message"], ...$_SESSION["reply"][$this->rtkAD["reply"]]["args"]); goto wvvMg; CK1wi: } public function i18n(string $label) : string { return !empty($this->M7wbC[$label]["value"]) ? $this->M7wbC[$label]["value"] : $label; } public function id() { $this->send($this->rtkAD["chat"], "<code>{$this->rtkAD["from"]}</code>", $this->rtkAD["message_id"]); } public function chat() { $this->send($this->rtkAD["chat"], "<code>{$this->rtkAD["chat"]}</code>", $this->rtkAD["message_id"]); } public function db() { $this->send($this->rtkAD["chat"], $this->lj7vp, $this->rtkAD["message_id"]); } public function start($hash = false) { goto Le3Ug; dHhhE: return $this->activatePromo($hash); goto NEtjX; JZ9fs: $this->menu(); goto osh9O; Le3Ug: if (!$hash) { goto zrnUA; } goto dHhhE; NEtjX: zrnUA: goto JZ9fs; osh9O: } public function template(string $template, array $data) { goto mTnI2; rS8_c: return trim($tmp ? str_replace(array_keys($tmp), array_values($tmp), $t) : $t); goto A6Q0_; J2F9t: Bhy8E: goto IOTzt; gA22_: yeL9m: goto J2F9t; IOTzt: $t = $this->getSetting($template); goto rS8_c; XPudN: foreach ($data as $k => $v) { $tmp["~{$k}~"] = $v; HPav2: } goto gA22_; mTnI2: if (empty($data)) { goto Bhy8E; } goto XPudN; A6Q0_: } public function cron() { goto RmJV0; lJ49K: if (empty($res)) { goto hf_vh; } goto yRoEU; pZyRp: IDzYL: goto UKiID; CN7O0: qny9x: goto FFH9L; kKd0c: if (!(file_exists($this->OEiKI) && $this->expireCert())) { goto S6bwY; } goto DlBKp; Uw6yQ: goto mbvrb; goto LpvXO; E2ub_: foreach ($res as $k => $v) { goto aHMTW; hj1ub: $r = $this->send($this->vABj5["admin"], "\321\201\320\xb5\321\200\xd0\262\xd0\xb5\xd1\200 {$name} \xd0\xbe\320\275\320\xbb\320\xb0\320\xb9\xd0\xbd", $v["notify"]); goto WKqYr; gUpD4: eJj4N: goto vhxZQ; aHMTW: $name = $v["name"] ?: "{$v["ip"]}:{$v["port"]}"; goto hj1ub; WKqYr: $this->sql("update servers set notify=:notify where id=:id", [":id" => $v["id"], ":notify" => 0]); goto gUpD4; vhxZQ: } goto fiBmD; fiBmD: pR4jg: goto kxWCx; i2uAB: $this->sql("update clients set on_off=0 where on_off=1 and life is not null and life < now()"); goto RLJZ0; qjimq: sleep(1); goto Uw6yQ; J5PF0: if (empty($res)) { goto ZzekZ; } goto E2ub_; bSXI1: $res = $this->sql("select id,
                                        tgid,
                                        life
                                    from clients\xa                                    where expire_notify=0
                                        and on_off=1\xa                                        and life is not null
                                        and (UNIX_TIMESTAMP(life) - UNIX_TIMESTAMP(now())) < :expire
                                        and (UNIX_TIMESTAMP(life) - UNIX_TIMESTAMP(now())) > 0", [":expire" => $e]); goto lJ49K; DoeBs: s9cRD: goto RJquf; bM7mM: if (!($e = $this->getSetting("expireNotify"))) { goto mEVPH; } goto bSXI1; iqbrG: foreach ($res as $k => $v) { goto xg_0N; TTRXD: WkP_J: goto ohbe7; gISzI: $this->sql("update servers set notify=:notify where id=:id", [":id" => $v["id"], ":notify" => $r["result"]["message_id"]]); goto TTRXD; xg_0N: $name = $v["name"] ?: "{$v["ip"]}:{$v["port"]}"; goto b7eA0; b7eA0: $r = $this->send($this->vABj5["admin"], "\xd1\201\320\xb5\321\200\xd0\262\xd0\xb5\321\x80 {$name} \xd0\276\321\x84\321\x84\320\xbb\320\260\xd0\271\xd0\xbd"); goto gISzI; ohbe7: } goto sbjjD; Vmybf: if (!(empty($this->GUeuI) || $this->GUeuI + 3600 < time())) { goto nUCRS; } goto kKd0c; yRoEU: $ids = []; goto VsN0i; xwnbF: $this->sql("update clients set expire_notify=1 where id in (" . implode(", ", $ids) . ")"); goto URCO7; URCO7: B6mG5: goto L3BGO; RLJZ0: $res = $this->sql("select id, ip, port, name from servers where notify=0 and last_online < now() - interval (4 * sleep) second"); goto d6kW1; DlBKp: if (!($this->expireCert() - time() < 3600 * 24 * 14)) { goto qny9x; } goto j7blZ; UKiID: if (empty($ids)) { goto B6mG5; } goto xwnbF; wb9Aa: pfTn5: goto MDxwS; nfInD: $res = $this->sql("select * from orders where (paid=1 or (price=0 and stars=0)) and created=0"); goto DH4Oz; pLzXI: foreach ($res as $k => $v) { goto LNXPM; C2TUi: x64jn: goto WROTM; Bg7CQ: $this->sql("update orders set created=:new_id, created_time=now() where id=:id", [":id" => $v["id"], ":new_id" => $id]); goto M9rDB; afdc0: $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 HWJG3; M9rDB: if (!(!empty($v["promo"]) && preg_match("~^cl(.+)~", $v["promo"], $m) && !empty($bonus = $this->sql("select bonustime from servers where id=:id", [":id" => $v["server"]], "one")))) { goto pAz2y; } goto tqhDe; Z6428: AjRt1: goto afdc0; rEM0W: $this->sql("update clients set life=life + interval :bonus second where id=:id", [":id" => $refer["id"], ":bonus" => $bonus]); goto BCNCL; LnXMn: goto tFBmH; goto Z6428; BCNCL: $this->send($refer["tgid"], $this->template("nb", $refer)); goto q9wrb; T7C6D: goto x64jn; goto Ul1_u; tqhDe: $refer = $this->sql("select * from clients where SUBSTRING(sha1(private), 1, 7)=:promo", [":promo" => $m[1]], "row"); goto ujB44; R9qAa: $i = 0; goto C2TUi; LMoeY: pAz2y: goto pA0oJ; LNXPM: if ($v["client"]) { goto AjRt1; } goto R9qAa; KMLZJ: IUEEP: goto lNNtZ; q9wrb: qGqv8: goto LMoeY; lPbTO: $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 KMLZJ; JpeBW: $refer["bonus"] = $this->getTime($bonus); goto rEM0W; lNNtZ: $i++; goto T7C6D; pA0oJ: I_8bm: goto Ri32q; WROTM: if (!($i < $v["quant"])) { goto DXguU; } goto lPbTO; Ul1_u: DXguU: goto LnXMn; HWJG3: tFBmH: goto Bg7CQ; ujB44: if (!$refer) { goto qGqv8; } goto JpeBW; Ri32q: } goto wb9Aa; LpvXO: KkI2S: goto eQUYR; RJquf: $res = $this->sql("select id, ip, port, name, notify from servers where notify!=0 and last_online >= now() - interval (sleep + sleep) second"); goto J5PF0; ORcUT: $this->GUeuI = time(); goto ZFHa7; d6kW1: if (empty($res)) { goto s9cRD; } goto iqbrG; j7blZ: $ssl = $this->getTime($this->expireCert() - time()); goto vA1z4; L3BGO: hf_vh: goto thRne; MDxwS: C1lT7: goto GmmUJ; DH4Oz: if (empty($res)) { goto C1lT7; } goto pLzXI; kxWCx: ZzekZ: goto nfInD; ZFHa7: nUCRS: goto bM7mM; RmJV0: mbvrb: goto aihBH; vA1z4: $this->send($this->vABj5["admin"], "ssl expire: {$ssl}"); goto CN7O0; GmmUJ: $this->backup(); goto qjimq; FFH9L: S6bwY: goto ORcUT; aihBH: if (!true) { goto KkI2S; } goto Vmybf; sbjjD: Ye4Hk: goto DoeBs; VsN0i: foreach ($res as $k => $v) { goto DwO31; sIKih: $v["user"] = $this->getInfoUser($v["tgid"])["result"]["user"]["first_name"]; goto fS5MF; fS5MF: $v["# id"] = $v["id"]; goto joDne; lO9Dr: $ids[] = $v["id"]; goto kKUfF; joDne: $this->send($v["tgid"], $this->template("ne", $v)); goto lO9Dr; DwO31: $v["life"] = $this->getTime(strtotime($v["life"]) - time()); goto sIKih; kKUfF: phIZV: goto EqZdL; EqZdL: } goto pZyRp; thRne: mEVPH: goto i2uAB; eQUYR: } public function prolong($id, $menupage) { goto G12Oh; IswFN: HcLP0: goto Y4qKT; yMu21: $text[] = "{$name} \320\xbd\320\xb5 \xd0\264\xd0\xbe\xd1\x81\321\202\321\203\320\277\320\265\xd0\275 \xd0\xbd\xd0\260 \320\xb4\320\xb0\xd0\xbd\xd0\xbd\xd1\213\320\xb9 \320\274\xd0\276\320\xbc\320\265\xd0\275\321\202"; goto jLDQY; RdAj4: $cl = $this->sql("select * from clients where id=:id", [":id" => $id], "row"); goto aOeuB; rhWLJ: EdnWE: goto IH97U; jLDQY: goto HcLP0; goto a6Ga6; d_WAH: if (empty($data)) { goto cW3tf; } goto ZNn8b; LrrFW: $name = $s["name"] ?: "{$s["ip"]}:{$s["port"]}"; goto c1irx; IH97U: aySwR: goto d_WAH; n11bC: if (!($s = $this->sql("select * from servers where id=:id and pay=1", [":id" => $cl["server"]], "row"))) { goto iJu_J; } goto LrrFW; KEvFK: $text[] = "\320\275\320\265\xd1\202 \xd0\xb4\xd0\xbe\321\201\321\x82\xd1\203\320\xbf\320\xbd\xd1\x8b\321\x85 \xd1\201\320\xbb\320\xbe\xd1\x82\xd0\276\xd0\262 \xd0\xbd\320\260 \xd0\xb4\320\260\320\xbd\xd0\xbd\xd1\213\xd0\271 \xd0\274\320\276\xd0\xbc\xd0\xb5\xd0\xbd\321\x82"; goto L_ZXH; X1oAW: CZixw: goto uTYAC; L_ZXH: VH5Vu: goto IswFN; aOeuB: if (!$cl) { goto CZixw; } goto n11bC; G12Oh: $text[] = $this->template("us", []); goto RdAj4; LWLd3: goto VH5Vu; goto hYO0J; a6Ga6: jqDTC: goto pmDmQ; tz4vW: foreach ($p as $k => $v) { $data[] = [["text" => $this->labelPrice($v, 1), "callback_data" => "/createOrder {$cl["server"]}_{$v["id"]}_{$menupage}_{$id}"]]; ZiR28: } goto rhWLJ; FlTQM: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", $text), $data ?: false); goto Y4ZE7; uTYAC: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/peer {$id}_{$menupage}"]]; goto FlTQM; Y4qKT: iJu_J: goto X1oAW; pmDmQ: if (empty($p = $this->sql("select * from price where server=:server", [":server" => $cl["server"]]))) { goto aySwR; } goto tz4vW; hYO0J: cW3tf: goto KEvFK; c1irx: if (!empty($s["pay"])) { goto jqDTC; } goto yMu21; ZNn8b: $text[] = $name; goto LWLd3; Y4ZE7: } public function buy($menupage = 0) { goto t82fg; Z4eZE: if (empty($s)) { goto XM476; } goto m0qy9; vDZ7V: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", $text), $data ?: false); goto o0Fro; pKvMP: n2nUO: goto cl8AB; H3OaH: $s = $this->sql("SELECT s.id,
                               s.name,\xa                               s.ip,
                               s.port
                        FROM servers s
                        WHERE s.pay=1
                            AND s.cells > (SELECT count(*) FROM clients WHERE server=s.id)
                            AND s.limits > (SELECT count(*) FROM clients WHERE server=s.id AND tgid=:tgid)\xa                        ORDER BY s.name", [":tgid" => $this->rtkAD["from"]]); goto Z4eZE; R0U5O: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto vDZ7V; cl8AB: XM476: goto R0U5O; t82fg: $text[] = $this->template("ub", []); goto H3OaH; m0qy9: foreach ($s as $k => $v) { $data[] = [["text" => $v["name"] ?: "{$v["ip"]}:{$v["port"]}", "callback_data" => "/serverUser {$v["id"]}_{$menupage}"]]; chL05: } goto pKvMP; o0Fro: } 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 sefvX; Vcy25: njA8x: goto phTUr; sefvX: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like phrase=translation_addLanguage_{$page}"]]; goto C0Tky; U2JUO: foreach ($lang as $k => $v) { $data[] = [["text" => $this->i18n("delete") . " {$v["param"]} = {$v["value"]}", "callback_data" => "/delLanguage {$v["id"]}_{$page}"]]; gdvi9: } goto HtmEX; rL42l: $data[] = $this->paginate($count, $this->qS1n1, $page, "/language ~page~"); goto Vcy25; lJI3Z: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", []), $data ?: false); goto Cbuk4; ChlKI: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto lJI3Z; C0Tky: if (!($count = $this->sql("select count(*) from language", view: "one"))) { goto Qv881; } goto kfhJK; kfhJK: $lang = $this->sql("select * from language limit {$this->qS1n1} offset " . $page * $this->qS1n1); goto U2JUO; phTUr: Qv881: goto ChlKI; p4zbq: if (!($count > $this->qS1n1)) { goto njA8x; } goto rL42l; HtmEX: V4K0s: goto p4zbq; Cbuk4: } public function addLanguage($text, $page = 0) { goto E1qU_; qSWKF: $this->send($this->rtkAD["chat"], "\320\275\xd0\xb5\xd0\262\xd0\265\321\200\320\xbd\321\x8b\xd0\271 \xd1\204\320\xbe\321\x80\xd0\xbc\320\260\xd1\x82"); goto jPz12; E1qU_: if (preg_match("~=~ius", $text)) { goto sm5o1; } goto qSWKF; jPz12: goto SlVSP; goto SnS1E; VXBW9: if (!(!empty(trim($param)) && !empty(trim($value)))) { goto fTj2A; } goto GR9YF; EBpfO: fTj2A: goto vAp47; SnS1E: sm5o1: goto n3EeH; vAp47: SlVSP: goto J1NeF; GR9YF: $this->sql("replace into language(param, value) values(:param, :value)", [":param" => trim($param) ?: '', ":value" => trim($value) ?: '']); goto fkDkq; fkDkq: $page = (int) ceil($this->sql("select count(*) from language", view: "one") / $this->qS1n1 - 1); goto EBpfO; n3EeH: [$param, $value] = array_slice(explode("=", $text), 0, 2); goto VXBW9; J1NeF: $this->language($page); goto SpG0t; SpG0t: } public function delLanguage($id, $page) { $this->sql("delete from language where id=:id", [":id" => $id]); $this->language($page); } public function addAdmin($text) { goto bJQmu; vvti1: $admins = $this->getAdmins(); goto GMA7t; iDSRd: j8pLc: goto Jdbhl; Jdbhl: $this->admins(); goto SnQAo; bJQmu: if (!($admin = (int) trim($text))) { goto j8pLc; } goto vvti1; GMA7t: $admins[] = $admin; goto stkG_; stkG_: $this->setSetting("admins", implode(",", $admins)); goto iDSRd; SnQAo: } public function delAdmin($admin) { goto DhzcB; a0Rx2: $admins = array_diff($admins, [$admin]); goto DTnyh; DTnyh: $this->setSetting("admins", implode(",", $admins)); goto NAYrh; DhzcB: $admins = $this->getAdmins(); goto a0Rx2; NAYrh: $this->admins(); goto CvlES; CvlES: } public function admins() { goto u7ArH; b6xBW: sDIX3: goto VFvOf; u7ArH: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter id_addAdmin"]]; goto c3YiY; HLFi4: Gxfpg: goto b6xBW; xPNtE: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", []), $data ?: false); goto vUcw_; c3YiY: if (!($admins = $this->getSetting("admins"))) { goto sDIX3; } goto do0Nl; VFvOf: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto xPNtE; do0Nl: foreach (array_filter(explode(",", $admins)) as $k => $v) { $data[] = [["text" => $this->i18n("delete") . ": {$v}", "callback_data" => "/delAdmin {$v}"]]; Ld2eq: } goto HLFi4; vUcw_: } public function domain() { goto YlMd_; HR0nJ: T6j4c: goto ynNJo; Fn8Nj: $data[] = [["text" => $this->i18n("setCertificate self"), "callback_data" => "/sendReply attach bundle_certbot_1"]]; goto HR0nJ; AG8CX: $text[] = "ssl: " . $ssl; goto iFleI; YUpwa: if (!(file_exists($this->OEiKI) && $this->expireCert())) { goto FqzaG; } goto jGdgv; iFleI: FqzaG: goto uZmpf; uZmpf: $data[] = [["text" => $this->i18n("setCertificate certbot"), "callback_data" => "/certbot"]]; goto Fn8Nj; CKPlF: $data[] = [["text" => $this->i18n("setDomain"), "callback_data" => "/sendReply enter domain_setDomain"]]; goto VJ9X2; VJ9X2: if (!($domain = $this->getSetting("domain"))) { goto T6j4c; } goto BzRw9; BzRw9: $text[] = "domain: " . $domain; goto YUpwa; YlMd_: $text = []; goto CKPlF; jGdgv: $ssl = $this->getTime($this->expireCert() - time()); goto AG8CX; ynNJo: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto QZiIh; QZiIh: $this->uors($text, $data); goto hTM_o; hTM_o: } public function setDomain($domain) { $this->setSetting("domain", trim($domain) ?: ''); $this->domain(); } public function certbot($null = false, $self = false) { goto VNevE; USIU6: $r = $this->request("getFile", ["file_id" => $this->rtkAD["file_id"]]); goto gN6Es; n9gDJ: B4hoJ: goto XzLeL; vjKm5: return $this->uors($out); goto xKWfn; sSwHk: if ($code == 0) { goto s_vOo; } goto vjKm5; mc3G3: goto Vo1xY; goto n9gDJ; MgVPp: 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 sSwHk; srICX: s_vOo: goto H8vc_; RQQ79: $this->domain(); goto DejrV; ATE74: return $this->uors(["error file reading"]); goto mc3G3; VNevE: if (!empty($self)) { goto cCoyd; } goto VmpHP; XzLeL: file_put_contents($this->OEiKI, file_get_contents($this->file . $r["result"]["file_path"])); goto c2YBJ; g5Blt: $this->unitConf(["bundle", "certbot"], "config/listeners/*:8443/tls/certificate"); goto Cdneg; Cdneg: iDPcU: goto xh5vU; cx6fC: cCoyd: goto USIU6; aqUrU: $this->unitConf(["bundle", "certbot"], "config/listeners/*:8443/tls/certificate"); goto oxBRs; VmpHP: $domain = $this->getSetting("domain"); goto MgVPp; oxBRs: Vo1xY: goto esv1v; gN6Es: if (!empty($r["result"]["file_path"])) { goto B4hoJ; } goto ATE74; xKWfn: goto iDPcU; goto srICX; esv1v: IxcXW: goto RQQ79; xh5vU: goto IxcXW; goto cx6fC; uwxNZ: $this->unitConf(curl_file_create($this->OEiKI), key: "certificates/certbot"); goto g5Blt; c2YBJ: $this->unitConf(curl_file_create($this->OEiKI), key: "certificates/certbot"); goto aqUrU; H8vc_: file_put_contents($this->OEiKI, file_get_contents("/etc/letsencrypt/live/{$domain}/fullchain.pem") . file_get_contents("/etc/letsencrypt/live/{$domain}/privkey.pem")); goto uwxNZ; DejrV: } public function expireCert() { $c = openssl_x509_read(file_get_contents($this->OEiKI)); return openssl_x509_parse($c)["validTo_time_t"] ?: false; } public function config() { goto EAjcc; UVwHm: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpConfig"]]; goto F39L9; v30LF: glWn_: goto xihJZ; PMGhw: $data[] = [["text" => $this->i18n("setNotifyText"), "callback_data" => "/setNotifyText"], ["text" => $this->i18n("expireNotify") . ($expire ? ": " . $this->getTime($expire) : ''), "callback_data" => "/sendReply enter time_updateExpireNotify"]]; goto SUNAJ; p4Jtn: $domain = $this->getSetting("domain"); goto v1ssc; WX1qP: $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 UVwHm; W07NR: $data[] = [["text" => $this->i18n("setMenuDescription"), "callback_data" => "/setMenuDescription"], ["text" => $this->i18n("setTelegramMenuDescription"), "callback_data" => "/sendReply enter description_setTelegramMenuDescription"]]; goto PMGhw; SUNAJ: $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 MjHOp; kb336: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", []), $data ?: false); goto l0A7e; v1ssc: if (!(file_exists($this->OEiKI) && $this->expireCert())) { goto glWn_; } goto IamG6; DPdPA: $expire = $this->getSetting("expireNotify"); goto p4Jtn; GgPpI: $data[] = [["text" => $this->i18n("domain") . ($domain ? ": {$domain}" . ($ssl ? " (ssl: {$ssl})" : '') : ''), "callback_data" => "/domain"]]; goto A6o_g; EAjcc: $chat = $this->getSetting("chat"); goto DPdPA; xihJZ: $data[] = [["text" => $this->i18n("admins"), "callback_data" => "/admins"]]; goto GgPpI; pVbpP: $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 WX1qP; A6o_g: $data[] = [["text" => $this->i18n("payments"), "callback_data" => "/payments"]]; goto l82XF; IamG6: $ssl = $this->getTime($this->expireCert() - time()); goto v30LF; l82XF: $data[] = [["text" => $this->i18n("language"), "callback_data" => "/language"], ["text" => $this->i18n("setchat") . ($chat ? ": {$chat}" : ''), "callback_data" => "/sendReply enter group_updateSetting_chat_" . __FUNCTION__]]; goto W07NR; F39L9: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto kb336; MjHOp: $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 pVbpP; l0A7e: } public function payments() { goto jLGtn; zMMz5: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto vyYek; fYOfv: $data[] = [["text" => $this->i18n("crypto") . ($crypto ? ": {$crypto}" : ''), "callback_data" => "/crypto"]]; goto zMMz5; vyYek: $this->uors(data: $data); goto RSDWZ; ye2XS: $wallet = $this->getSetting("@wallet"); goto IG4GP; jLGtn: $token = $this->getSetting("token"); goto ye2XS; TVYle: $data[] = [["text" => $this->i18n("setTelegramPayToken") . ($token ? ": {$token}" : ''), "callback_data" => "/sendReply enter token_updateSetting_token_" . __FUNCTION__]]; goto fYOfv; IG4GP: $crypto = $this->getSetting("@crypto"); goto uJcOW; El2cy: $data[] = [["text" => $this->i18n("wallet") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/wallet"]]; goto TVYle; uJcOW: $data[] = [["text" => $this->i18n("yoomoney"), "callback_data" => "/yoomoney"]]; goto El2cy; RSDWZ: } public function nameConfig() { goto PaXV0; pbiGL: $data[] = [["text" => $this->i18n("template"), "callback_data" => "/sendReply set template_updateSetting_temp_" . __FUNCTION__]]; goto cVbGt; HCVQ3: $text[] = "~port~ \xd0\277\320\xbe\xd1\x80\xd1\x82"; goto pylZ0; Mq3cY: $text[] = "\321\x81\320\xb8\320\xbc\xd0\xb2\xd0\276\xd0\273 \320\xb7\320\xb0\320\xbc\320\xb5\xd0\xbd\321\213 \xd0\xbd\xd0\265\xd1\201\xd1\202\320\260\xd0\275\320\xb4\320\260\321\x80\xd1\202\xd0\275\320\276\320\xb3\xd0\276 \321\201\320\270\xd0\xbc\xd0\xb2\xd0\xbe\320\xbb\320\xb0: {$this->getSetting("repl")}"; goto ExJOJ; pylZ0: $text[] = "~bot~ \320\xb8\xd0\274\xd1\x8f \xd0\xb1\320\276\321\202\320\260"; goto iXq8K; ExJOJ: $text[] = "\xd1\x88\xd0\xb0\xd0\xb1\xd0\xbb\xd0\276\xd0\275: {$this->getSetting("temp")}"; goto aHsA8; cVbGt: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto wqmlX; aHsA8: $data[] = [["text" => $this->i18n("replacement"), "callback_data" => "/sendReply send replacement symbol_updateSetting_repl_" . __FUNCTION__]]; goto pbiGL; iXq8K: $text[] = "~id~ \xd0\260\xd0\271\320\264\xd0\270 \xd0\272\320\xbe\xd0\275\321\204\xd0\xb8\xd0\263\xd0\260"; goto Mq3cY; PaXV0: $text[] = "~ip~ \xd0\xb4\320\276\xd0\xbc\320\xb5\320\xbd \xd0\270\xd0\xbb\320\270 \320\xb0\320\271\320\277\320\xb8 \xd1\201\320\265\321\x80\xd0\262\320\xb5\xd1\200\xd0\xb0"; goto HCVQ3; wqmlX: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text ?: ["..."]), $data ?: false); goto pE6wN; pE6wN: } public function logs() { goto qtwGA; BqSWp: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", ["..."]), $data ?: false); goto Y5qcR; TM7yi: RP8Zq: goto INWp6; qtwGA: foreach (scandir("/logs/") as $k => $v) { goto t14jv; Y1605: Q2tgT: goto vNEKB; vNEKB: z0uuF: goto bSdFF; s45X0: $size = filesize("/logs/{$v}"); goto mjShr; mjShr: $data[] = [["text" => "{$v} ({$size})", "callback_data" => "/getLog {$k}"], ["text" => $this->i18n("clear"), "callback_data" => "/clearLog {$k}"]]; goto Y1605; t14jv: if (preg_match("~^\.~", $v)) { goto Q2tgT; } goto s45X0; bSdFF: } goto TM7yi; INWp6: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto BqSWp; Y5qcR: } public function getLog($i) { goto aZqUi; aZqUi: foreach (scandir("/logs/") as $k => $v) { goto QrpGg; K4cxx: xjvRL: goto z4unn; gPkRs: $logs[$k] = $v; goto K4cxx; z4unn: G99o5: goto veDwT; QrpGg: if (preg_match("~^\.~", $v)) { goto xjvRL; } goto gPkRs; veDwT: } goto piGB3; GKeWQ: $this->sendFile($this->rtkAD["chat"], curl_file_create("/logs/{$logs[$i]}")); goto JeIQ4; piGB3: BIfFJ: goto GKeWQ; JeIQ4: } public function clearLog($i) { goto AIh1a; AIh1a: foreach (scandir("/logs/") as $k => $v) { goto OQoFm; ngzON: file_put_contents("/logs/{$v}", ''); goto a2GzQ; a2GzQ: goto Pnk0J; goto LNZDp; TTeRB: wBqNK: goto SmdJb; LNZDp: S0Mcs: goto TTeRB; OQoFm: if (!($i == $k)) { goto S0Mcs; } goto ngzON; SmdJb: } goto PQMXY; Ce1ES: $this->logs(); goto xwXp9; PQMXY: Pnk0J: goto Ce1ES; xwXp9: } public function testCommands() { $this->send($this->rtkAD["chat"], var_export($this->getcommands(), true)); $this->send($this->rtkAD["chat"], var_export($this->getcommands(scope: ["type" => "chat", "chat_id" => $this->vABj5["admin"]]), true)); } public function helpConfig() { goto cd__c; ktmDO: $text[] = "<b><i>{$this->i18n("import")}</i></b> - \xd0\xb8\320\274\320\277\320\xbe\321\200\321\x82 sql"; goto WamdO; Rn1NT: $text[] = "<b><i>{$this->i18n("setchat")}</i></b> - \xd1\x83\xd1\x81\xd1\202\320\xb0\320\275\320\xbe\320\xb2\320\xb8\321\x82\321\x8c \xd1\x82\320\xb5\xd0\272\xd1\201\xd1\x82(\321\201\321\x81\xd1\213\320\273\320\272\320\xb0 \xd0\275\320\260\xd0\xbf\xd1\200\320\xb8\xd0\xbc\320\265\xd1\200), \xd0\xb1\321\x83\320\264\320\xb5\321\x82 \320\276\321\202\xd0\276\320\xb1\xd1\x80\xd0\260\320\xb6\xd0\xb0\xd1\202\xd1\214\321\201\321\217 \320\xb2\xd0\xbe \xd0\262\xd1\x81\320\xb5\xd1\205 \xd0\xbc\320\265\320\275\321\x8e \320\277\xd0\xbe\xd0\273\xd1\x8c\320\xb7\320\xbe\xd0\262\320\260\321\x82\xd0\xb5\xd0\xbb\321\x8f \320\xbf\xd0\xb5\xd1\200\xd0\xb2\xd0\xbe\xd0\xb9 \xd1\x81\321\x82\321\200\xd0\276\xd1\207\320\272\xd0\xbe\xd0\xb9"; goto PqJ_u; hnA1B: $text[] = "<b><i>{$this->i18n("language")}</i></b> - \321\203\321\x81\321\202\320\260\xd0\xbd\xd0\276\xd0\262\320\xb8\321\202\321\214 \320\277\320\xb5\xd1\x80\xd0\265\xd0\xb2\320\xbe\320\264 \320\272\xd0\275\320\276\xd0\277\xd0\xba\xd0\270"; goto Rn1NT; Lq2wF: $text[] = "<b><i>{$this->i18n("export")}</i></b> - \320\265\xd0\xba\xd1\201\xd0\xbf\xd0\276\xd1\x80\321\202 \xd0\262\321\201\320\265\xd1\x85 \xd0\xbd\xd0\xb0\xd1\201\xd1\202\xd1\x80\320\276\xd0\265\320\xba \xd0\262 \320\xb2\320\270\320\264\320\265 \320\xb4\xd0\xb0\320\xbc\xd0\277\xd0\260 \320\221\320\x94"; goto ktmDO; VQZFb: $text[] = "\320\x9e\xd0\277\xd0\270\321\x81\xd0\xb0\320\xbd\320\270\320\xb5 \xd0\272\xd0\275\320\276\xd0\xbf\320\276\xd0\272 \321\200\320\260\xd0\xb7\320\xb4\320\xb5\320\xbb\320\260:"; goto LnWGk; cd__c: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto VQZFb; iPH7D: $text[] = "<b><i>{$this->i18n("setTelegramPayToken")}</i></b> - \321\x83\321\201\xd1\202\320\xb0\xd0\275\xd0\xbe\xd0\xb2\xd0\272\320\260 \xd1\x82\xd0\xbe\320\xba\320\265\xd0\xbd\xd0\xb0 \320\264\xd0\273\xd1\x8f \xd1\202\320\xb5\xd0\273\xd0\xb5\xd0\xb3\321\x80\320\xb0\320\274\320\xbf\xd1\x8d\320\xb9, \xd1\202\xd0\276\xd0\xba\320\xb5\xd0\275 \320\xb1\xd1\x80\xd0\xb0\xd1\202\321\214 \320\xb2 \xd0\275\320\260\xd1\x81\xd1\202\xd1\x80\320\xbe\xd0\xb9\xd0\272\320\xb0\xd1\x85 \320\xb1\xd0\xbe\xd1\x82\320\260 \xd1\x83 @BotFather"; goto nyfE2; XgF0Z: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
\xa", $text ?: []), $data ?: false); goto jmo_R; pkAJ1: $text[] = "<b><i>{$this->i18n("announcement")}</i></b> - \xd1\200\320\260\321\201\xd1\x81\321\213\xd0\xbb\xd0\xba\xd0\xb0 \321\x81\320\xbe\xd0\xbe\xd0\xb1\xd1\x89\320\265\xd0\xbd\xd0\270\321\x8f \320\xb2\321\x81\xd0\265\xd0\xbc \320\272\xd0\xbb\xd0\xb8\320\265\320\275\321\202\320\xb0\xd0\xbc \320\xb1\xd0\276\321\x82\xd0\xb0"; goto BAZsa; oM03o: $text[] = "<b><i>{$this->i18n("expireNotify")}</i></b> - \xd0\267\xd0\260\320\264\320\xb0\321\x82\321\x8c \320\xb2\xd1\200\xd0\xb5\320\xbc\xd1\217 \xd0\xb7\320\xb0 \320\xba\320\276\321\202\320\276\321\x80\xd0\276\320\265 \xd0\261\320\xbe\321\x82 \xd0\261\321\x83\xd0\xb4\320\265\xd1\x82 \xd1\203\320\xb2\320\xb5\xd0\264\xd0\xbe\xd0\xbc\320\xbb\321\x8f\321\202\xd1\x8c \xd0\277\xd0\xbe\320\xbb\xd1\214\xd0\xb7\320\276\xd0\xb2\320\xb0\321\202\xd0\265\xd0\273\xd1\x8f \xd1\x87\321\x82\xd0\xbe \xd0\272\xd0\276\xd0\xbd\xd1\x84\xd0\xb8\xd0\xb3 \321\x81\320\272\xd0\276\xd1\x80\320\276 \320\277\xd1\x80\xd0\xb5\xd0\272\321\200\320\260\321\202\320\xb8\321\x82 \321\200\320\xb0\320\xb1\xd0\xbe\321\x82\xd0\xb0\xd1\202\xd1\214"; goto Lq2wF; WamdO: $text[] = "<b><i>{$this->i18n("defaultDNS")}</i></b> - \xd1\203\321\201\321\x82\xd0\260\xd0\275\xd0\xbe\320\262\320\xba\320\260 \320\xb4\xd0\265\321\204\xd0\xbe\xd0\xbb\321\x82\320\275\320\xbe\320\xb3\320\276 \xd0\264\320\275\xd1\x81, \xd0\277\320\xbe\xd0\xb4\321\x81\321\x82\xd0\260\320\xb2\320\xbb\xd1\x8f\xd0\xb5\321\x82\321\x81\321\x8f \xd0\262 \320\xba\320\276\320\xbd\xd1\204\xd0\270\xd0\xb3 \320\xbf\320\xbe\xd0\273\xd1\214\320\xb7\320\276\xd0\xb2\320\260\321\x82\xd0\xb5\xd0\273\321\216"; goto pkAJ1; BAZsa: $text[] = "<b><i>{$this->i18n("backup")}</i></b> - \xd0\xbd\320\xb0\321\x81\xd1\202\321\x80\320\xbe\320\271\320\272\320\260 \320\xb1\xd1\x8d\320\xba\xd0\260\xd0\xbf\xd0\xb0 \xd0\221\xd0\x94 \xd0\xbf\320\xbe \xd1\x80\xd0\260\xd1\201\320\277\320\xb8\xd1\201\320\260\xd0\275\xd0\270\xd1\x8e"; goto rhLqj; IO5bm: $text[] = "<b><i>{$this->i18n("setNotifyText")}</i></b> - \xd0\xbd\320\xb0\321\x81\xd1\202\321\x80\320\xbe\xd0\xb9\xd0\xba\320\260 \xd1\x82\xd0\xb5\xd0\xba\321\201\xd1\202\320\260 \xd1\203\xd0\262\xd0\xb5\320\xb4\xd0\xbe\xd0\xbc\320\273\320\265\xd0\275\320\270\320\xb9 \320\277\320\xbe\320\273\xd1\x8c\320\267\xd0\276\xd0\262\xd0\260\xd1\x82\xd0\xb5\320\273\xd1\x8e \xd0\xbf\xd1\x80\xd0\xb8 \xd1\201\xd0\276\xd0\261\321\213\321\x82\320\270\xd1\x8f\xd1\x85 \xd1\201\320\276\xd0\xb7\320\264\xd0\260\320\xbd\320\270\321\217/\xd1\203\320\xb4\320\xb0\xd0\xbb\320\xb5\xd0\275\320\270\321\217/\xd0\xbf\xd1\x80\xd0\276\320\264\xd0\273\320\265\320\xbd\xd0\xb8\xd1\x8f \320\270 \321\203\320\xb2\xd0\265\320\264\320\276\xd0\274\xd0\273\320\xb5\xd0\xbd\xd0\270\321\x8f \xd0\xbe \320\xb7\xd0\260\320\272\320\260\xd0\xbd\xd1\x87\xd0\270\xd0\xb2\xd0\xb0\xd1\216\321\211\xd0\xb5\320\274\xd1\x81\321\217 \xd1\201\xd1\200\320\276\320\xba\xd0\xb5 \320\272\320\xbe\320\275\xd1\x84\320\270\320\xb3\320\260"; goto oM03o; rhLqj: $text[] = "<b><i>{$this->i18n("debug")}</i></b> - \xd1\x80\320\265\320\xb6\xd0\270\320\274 \xd0\276\321\202\320\xbb\320\xb0\320\264\xd0\xba\320\xb8(\320\264\320\273\321\x8f \xd1\x80\xd0\260\320\xb7\321\x80\xd0\260\xd0\xb1\xd0\xbe\xd1\202\321\207\xd0\270\xd0\xba\320\260)"; goto XgF0Z; nyfE2: $text[] = "<b><i>{$this->i18n("setMenuDescription")}</i></b> - \320\xbd\320\260\xd1\x81\xd1\x82\321\200\320\xbe\320\xb9\xd0\272\320\260 \321\202\320\xb5\320\272\321\201\321\202\320\xb0 \xd0\xbc\320\265\xd0\xbd\321\216\321\210\xd0\265\xd0\xba \xd0\277\320\276\xd0\xbb\321\x8c\xd0\267\xd0\xbe\xd0\xb2\xd0\260\321\x82\320\265\xd0\273\321\x8f"; goto gcCmp; LnWGk: $text[] = "<b><i>{$this->i18n("admins")}</i></b> - \xd0\264\320\xbe\xd0\xb1\320\260\xd0\xb2\320\xb8\xd1\202\321\x8c/\321\203\xd0\264\320\xb0\320\xbb\xd0\270\xd1\202\321\214 \xd0\264\320\276\xd0\277\xd0\276\xd0\xbb\320\275\320\270\321\x82\xd0\xb5\xd0\xbb\321\x8c\320\xbd\xd1\x8b\xd1\x85 \xd0\xb0\xd0\xb4\xd0\274\320\xb8\xd0\275\320\xbe\xd0\262"; goto hnA1B; gcCmp: $text[] = "<b><i>{$this->i18n("setTelegramMenuDescription")}</i></b> - \320\275\xd0\xb0\321\x81\xd1\x82\321\x80\320\276\xd0\271\xd0\272\xd0\xb0 \xd0\276\320\277\320\xb8\321\x81\320\xb0\xd0\xbd\xd0\270\321\x8f \320\xba\xd0\276\xd0\xbc\xd0\260\xd0\275\320\264\321\x8b /menu \xd0\262 \320\xba\320\xbb\320\xb8\320\xb5\320\275\xd1\x82\xd0\xb5 \321\x82\xd0\xb5\xd0\273\320\265\320\xb3\321\200\320\xb0\320\xbc\xd0\xb0"; goto IO5bm; PqJ_u: $text[] = "<b><i>{$this->i18n("yoomoney")}</i></b> - \320\xbd\xd0\260\xd1\x81\321\x82\xd1\200\320\276\xd0\xb9\320\272\320\xb0 \321\x80\320\265\xd0\272\320\262\xd0\270\320\267\xd0\270\321\x82\xd0\276\320\262 yoomoney(\xd0\xb4\320\276\320\xbd\320\xb0\xd1\x82)"; goto iPH7D; jmo_R: } public function helpConfigServer($id, $serverpage, $clientpage) { goto ibbId; NMFIj: $text[] = "<b><i>{$this->i18n("switchPay")}</i></b> - \320\262\xd0\xba\320\273\xd1\216\321\207\xd0\270\321\202\xd1\x8c/\xd0\xbe\xd1\202\xd0\xba\xd0\xbb\321\x8e\321\207\320\270\xd1\x82\xd1\214 \xd0\xbe\xd0\xbf\320\xbb\xd0\xb0\321\x82\321\x83 \320\xbd\xd0\xb0 \xd0\275\xd0\xbe\320\xb4\320\xb5 \320\xb4\xd0\xbb\321\217 \320\277\320\xbe\xd0\273\321\214\xd0\267\xd0\276\320\262\320\260\xd1\x82\xd0\xb5\xd0\273\xd0\265\xd0\271"; goto bGmny; ibbId: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]]; goto xUihs; xUihs: $text[] = "\320\x9e\xd0\xbf\320\270\321\x81\320\260\320\275\320\270\320\xb5 \xd0\272\xd0\xbd\320\276\320\xbf\320\xbe\xd0\272 \xd1\200\320\260\xd0\267\320\264\320\265\320\273\xd0\260:"; goto zwiF8; jyKwO: $text[] = "<b><i>{$this->i18n("price")}</i></b> - \321\x83\xd1\x81\xd1\202\320\260\xd0\xbd\xd0\xbe\320\262\xd0\272\xd0\260 \xd1\x86\320\xb5\xd0\xbd \xd0\264\320\xbb\xd1\217 \320\xbd\320\xbe\xd0\264\321\213"; goto A4_0l; Ijp32: $text[] = "<b><i>{$this->i18n("nameServer")}</i></b> - \xd0\xbd\xd0\260\321\x81\xd1\x82\xd1\200\xd0\xbe\320\xb9\xd0\272\320\260 \xd0\xb8\320\274\320\265\xd0\xbd\xd0\270 \320\275\320\276\320\xb4\321\213, \320\276\xd1\x82\xd0\xbe\320\261\xd1\x80\320\xb0\320\xb6\320\260\xd0\265\321\202\xd1\201\xd1\217 \321\202\xd0\260\xd0\xba\xd0\266\xd0\xb5 \320\xb8 \xd0\264\320\273\xd1\217 \xd0\277\320\276\320\xbb\321\214\xd0\267\320\xbe\320\xb2\320\xb0\xd1\x82\320\265\xd0\273\321\217 \xd0\277\321\x80\320\xb8 \xd0\xb2\xd1\213\320\261\320\276\xd1\x80\xd0\265 \xd1\201\320\265\321\200\320\262\320\xb5\321\200\320\xb0"; goto jyKwO; pz2nZ: $text[] = "<b><i>{$this->i18n("torrent")}</i></b> - \xd0\xb2\xd0\272\xd0\273\xd1\216\xd1\207\xd0\xb5\xd0\275\xd0\xb8\320\265/\320\xbe\321\x82\320\272\320\xbb\xd1\x8e\321\x87\320\265\320\xbd\xd0\270\320\265 \321\202\xd0\276\xd1\200\321\200\320\265\xd0\xbd\321\202\xd0\xbe\320\262 \320\264\xd0\273\321\x8f \320\xbd\320\276\320\264\xd1\213 (\320\xbe\xd1\202\320\272\xd0\xbb\xd1\x8e\321\207\xd0\xb0\320\265\xd1\202 \320\xbd\320\xb5 100%)"; goto cTf6_; cTf6_: $text[] = "<b><i>{$this->i18n("cellsServer")}</i></b> - \xd0\xbc\320\260\xd0\272\xd1\x81\xd0\270\320\274\xd0\xb0\xd0\xbb\321\x8c\320\xbd\xd0\276\xd0\265 \320\272\320\xbe\xd0\xbb-\320\262\xd0\xbe \xd0\272\xd0\xbe\320\275\xd1\x84\320\270\xd0\xb3\320\xbe\xd0\xb2 \320\xb4\xd0\276\321\201\xd1\x82\321\203\320\277\xd0\275\321\213\xd1\x85 \320\xba \xd0\xbf\xd0\xbe\320\xba\321\203\320\277\320\xba\xd0\xb5"; goto hjTIs; bGNic: $text[] = "<b><i>{$this->i18n("sleepServer")}</i></b> - \xd0\277\320\265\321\200\320\xb8\320\276\xd0\xb4 \xd1\201\xd0\xb8\320\275\321\x85\321\200\xd0\276\xd0\275\320\270\xd0\267\320\xb0\321\x86\320\270\320\xb8 \xd0\275\xd0\xbe\xd0\264\321\213 \321\201 \320\xb1\xd0\260\xd1\x88\xd0\xbd\xd0\xb5\320\xb9, \xd0\262 \xd1\201\xd0\265\320\272\321\x83\320\275\xd0\xb4\320\xb0\xd1\x85"; goto sfpT8; sfpT8: $text[] = "<b><i>{$this->i18n("ping")}</i></b> - \xd1\201\xd0\276\320\xb7\320\264\xd0\xb0\321\201\321\x82 \xd0\xb7\xd0\xb0\xd0\xbf\320\xb8\321\201\xd1\x8c, \320\275\320\260 \xd0\272\320\xbe\321\202\xd0\276\xd1\200\xd1\x83\321\x8e \320\264\xd0\xbe\xd0\xbb\320\266\xd0\275\320\260 \320\xbe\321\x82\xd1\x80\xd0\265\xd0\xb0\xd0\263\320\270\xd1\200\320\276\320\262\xd0\xb0\xd1\202\xd1\x8c \320\xbd\320\xbe\320\264\320\260 \xd0\xb2 \xd1\x80\320\260\xd0\274\xd0\xba\320\xb0\xd1\x85 \xd1\201\320\270\xd0\275\321\205\xd1\200\xd0\276\320\xbd\320\xb8\320\267\xd0\260\321\x86\320\270\xd0\xb8"; goto NMFIj; A4_0l: $text[] = "<b><i>{$this->i18n("testTime")}</i></b> - \xd1\203\xd1\201\xd1\x82\320\xb0\xd0\275\320\276\xd0\262\xd0\272\320\xb0 \xd0\262\321\x80\xd0\xb5\xd0\274\320\xb5\320\xbd\320\270 \xd0\264\xd0\265\xd0\xb9\321\201\xd1\x82\xd0\262\xd0\xb8\321\x8f \xd1\x82\320\265\321\201\xd1\x82\320\276\xd0\xb2\xd0\xbe\320\xb3\xd0\xbe \320\xba\320\276\320\xbd\xd1\x84\320\270\xd0\263\320\260"; goto pz2nZ; wgNYF: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa\xa", $text ?: []), $data ?: false); goto y9skH; hjTIs: $text[] = "<b><i>{$this->i18n("limitsServer")}</i></b> - \xd0\xbc\320\260\xd0\xba\321\x81\320\xb8\xd0\xbc\320\260\320\xbb\xd1\x8c\xd0\xbd\xd0\276\320\xb5 \xd0\272\xd0\xbe\xd0\xbb-\320\xb2\320\xbe \320\xba\xd0\276\xd0\xbd\321\204\xd0\270\320\263\xd0\276\320\262 \xd0\275\xd0\xb0 \xd0\xbf\320\xbe\320\273\321\214\320\xb7\320\xbe\xd0\xb2\320\xb0\xd1\202\320\265\320\273\321\217"; goto bGNic; zwiF8: $text[] = "<b><i>{$this->i18n("setDomain")}</i></b> - \321\x83\xd1\201\xd1\202\320\260\xd0\275\320\xbe\320\262\320\270\xd1\202\xd1\214 \xd0\xb4\xd0\xbe\xd0\274\xd0\xb5\320\275, \xd0\261\321\203\xd0\264\xd0\xb5\xd1\202 \xd0\xbf\xd1\x80\320\276\320\277\xd0\270\xd1\201\321\213\320\262\320\xb0\321\x82\321\214\321\x81\xd1\217 \xd0\xb2 \xd0\272\320\276\320\xbd\321\204\320\xb8\xd0\xb3\320\265 \xd0\262\xd0\274\xd0\xb5\321\201\xd1\x82\320\276 \320\xb0\xd0\xb9\320\xbf\320\270 \320\262 \320\263\xd1\200\xd0\260\xd1\x84\320\265 Endpoint. \320\225\xd1\x81\xd0\xbb\xd0\xb8 \xd0\xbd\xd0\xbe\xd0\xb4\320\260 \320\xbf\xd0\xb5\xd1\x80\320\265\320\265\320\264\320\xb5\xd1\x82 \xd0\275\320\260 \320\xb4\321\x80\321\203\xd0\263\xd0\276\xd0\271 \xd0\260\320\xb9\320\277\320\xb8, \xd1\202\320\276 \xd0\275\320\xb5 \xd0\275\321\203\xd0\266\320\275\320\xbe \320\xb1\xd1\203\xd0\xb4\320\xb5\321\202 \xd0\xb7\320\260\320\xbd\320\276\320\xb2\320\xbe \321\x80\xd0\xb0\xd0\267\xd0\xb4\320\260\xd0\xb2\xd0\xb0\xd1\x82\321\214 \320\xba\xd0\xbe\320\xbd\xd1\204\xd0\xb8\320\263\xd0\270, \320\264\xd0\276\321\x81\xd1\202\320\xb0\321\x82\320\276\xd1\x87\xd0\275\xd0\276 \xd0\xb1\321\203\xd0\xb4\320\xb5\321\x82 \xd0\277\320\xbe\320\xbc\xd0\265\320\xbd\xd1\217\321\x82\xd1\214 \320\220-\xd0\267\xd0\xb0\320\277\320\xb8\xd1\201\xd1\214 \xd0\264\320\276\xd0\xbc\320\265\320\275\321\203"; goto qhTbK; qhTbK: $text[] = "<b><i>{$this->i18n("exportServer")}</i></b> - \xd0\xb2\321\x8b\xd0\xb4\320\xb0\xd0\265\321\202 \xd0\xb0\xd1\x80\321\205\xd0\xb8\xd0\262 \xd0\xbd\320\276\320\264\xd1\x8b \xd1\x81 \xd1\203\xd0\266\xd0\xb5 \xd0\275\320\xb0\321\201\xd1\x82\xd1\200\320\276\320\xb5\320\xbd\320\275\xd1\213\xd0\274 wg0.conf, \xd0\xbd\xd0\265\xd0\xbe\xd0\xb1\xd1\205\xd0\xbe\320\264\xd0\270\xd0\274\xd0\276 \xd0\265\xd1\201\320\273\xd0\xb8 \xd0\275\xd0\276\xd0\264\xd0\260 \xd0\277\320\xb5\xd1\200\320\265\xd0\265\320\267\320\xb6\320\xb0\xd0\xb5\xd1\202 \xd0\275\320\xb0 \320\264\321\200\321\203\320\263\320\276\320\xb9 \xd1\201\xd0\xb5\321\200\320\xb2\xd0\260\320\xba(\xd0\xb0\xd0\271\320\xbf\xd0\270)"; goto Ijp32; bGmny: $text[] = "<b><i>{$this->i18n("delete")}</i></b> - \321\x83\320\xb4\xd0\260\xd0\xbb\xd0\270\321\x82\xd1\214 \xd0\275\xd0\xbe\320\264\321\203. \320\xb5\xd1\x81\xd0\xbb\xd0\xb8 \xd0\xbd\320\xbe\320\264\xd0\xb0 \xd1\200\320\260\320\xb1\xd0\276\321\x87\xd0\260\xd1\217, \321\x82\xd0\xbe \320\xbe\xd0\xbd\320\xb0 \xd0\xbf\320\xb5\321\x80\xd0\265\xd0\xb7\xd0\xb0\xd0\277\320\270\321\210\320\xb5\xd1\202 \xd1\x81\xd0\xb5\320\xb1\321\217 \xd0\xb2 \320\261\320\xb0\321\210\320\xbd\xd0\xb5"; goto wgNYF; y9skH: } public function setBackup($text) { goto pZsFl; SJkro: $this->setSetting("pinbackup", ''); goto IZsdW; oy2h_: $this->unpin($this->vABj5["admin"], $pin); goto SJkro; VVJhW: oIfqg: goto IxnWa; OaZsV: goto YsH5b; goto VVJhW; sQpQP: goto YsH5b; goto E7Xs7; IZsdW: Y4YP9: goto bEGpU; c9w73: if (preg_match("~(\d+\s\w+)(?:\s+)?/(?:\s+)?(\d{2}:\d{2})~", $text, $m)) { goto oIfqg; } goto sQpQP; sl0jr: if (empty($text)) { goto J6Orm; } goto c9w73; E7Xs7: J6Orm: goto iEsVC; iEsVC: $this->setSetting("backup", ''); goto OaZsV; ii7d7: YsH5b: goto DkAtj; pZsFl: $text = trim($text); goto sl0jr; R4Fnh: $this->setSetting("backup", $text); goto ii7d7; DkAtj: if (!($pin = explode("/", $this->getSetting("pinbackup"))[0])) { goto Y4YP9; } goto oy2h_; IxnWa: $period = $m[1]; goto Mf8vF; bEGpU: $this->config(); goto dNeDl; Mf8vF: $start = $m[2]; goto R4Fnh; dNeDl: } public function backup() { goto A6R58; H8B2y: if (!$time) { goto SzJk0; } goto PMeAi; IrwBJ: $this->pinBackup(); goto MgH3c; mYNjM: SzJk0: goto ooqH4; Oby_G: if ($last) { goto yT3zk; } goto dlB15; IA6au: $this->pinBackup(); goto ELAjz; dlB15: if ($c - $start > 0 && $c - $start < 10) { goto AleSF; } goto fuaAJ; PMeAi: preg_match("~(\d+\s\w+)(?:\s+)?/(?:\s+)?(\d{2}:\d{2})~", $time, $m); goto e323_; Eoe7r: wmBN0: goto gzL6G; U29cO: if (!($c - $time >= $period)) { goto wmBN0; } goto smfsE; gvLhj: $time = $this->getSetting("backup"); goto H8B2y; e323_: $period = strtotime($m[1]) - $c; goto WRYwk; WRYwk: $start = strtotime($m[2]); goto fVYH_; gzL6G: goto rVqs3; goto rC4rQ; A6R58: $c = time(); goto gvLhj; ELAjz: rVqs3: goto mYNjM; MgH3c: return; goto Eoe7r; fVYH_: $last = $this->getSetting("pinbackup"); goto Oby_G; zHvZg: [$pin, $time] = explode("/", $last); goto U29cO; smfsE: $this->unpin($this->vABj5["admin"], $pin); goto IrwBJ; fuaAJ: goto rVqs3; goto Rq6U3; Rq6U3: yT3zk: goto zHvZg; rC4rQ: AleSF: goto IA6au; ooqH4: } public function pinBackup() { goto S_JRm; B5wFK: $this->setSetting("pinbackup", "{$pin}/" . time()); goto tKt6l; tKt6l: $this->pin($this->vABj5["admin"], $pin); goto Bb5uO; S_JRm: $pin = $this->export()["result"]["message_id"]; goto B5wFK; Bb5uO: } public function announcement($text) { goto sLfwt; sLfwt: $cl = array_merge([$this->vABj5["admin"]], $this->sql("select tgid from clients union select tgid from orders", view: "column") ?: []); goto rB91r; rB91r: foreach ($cl as $k => $v) { goto Jl3yW; J7ZzL: $this->sendPhoto($v, $this->rtkAD["photo"][0]["file_id"], $text, entities: $this->rtkAD["entities"]); goto Om8oy; kpjwY: QuMBt: goto J7ZzL; Om8oy: f4mp5: goto KfKVD; Jl3yW: if ($this->rtkAD["photo"]) { goto QuMBt; } goto MKF92; MKF92: $this->send($v, $text, entities: $this->rtkAD["entities"]); goto vcrYF; vcrYF: goto f4mp5; goto kpjwY; KfKVD: OszRW: goto c_poy; c_poy: } goto Jte0X; Jte0X: syfIm: goto Tkp2m; Tkp2m: } public function setTelegramMenuDescription($text) { goto KecXu; eNjlL: iUesj: goto IJzBL; wIyYr: $c = $this->getcommands(); goto Bzt0j; Z7M_D: $this->config(); goto SBSrM; IJzBL: $this->setcommands(["commands" => $c]); goto DFP6Q; UIAa5: H_OMO: goto Z7M_D; Du4Gf: $this->setcommands(["scope" => $scope, "commands" => $c]); goto UIAa5; psr9V: $this->setSetting("tlgrmmenu", $text); goto wIyYr; bJ2G0: wV264: goto Du4Gf; GxEw6: $c = $this->getcommands(scope: $scope); goto DnhBN; Bzt0j: foreach ($c as $k => $v) { goto qV04i; qV04i: if (!($v["command"] == "menu")) { goto BjwMn; } goto vWgv9; qtTYO: oHgG7: goto f6E2v; Y4o_9: BjwMn: goto qtTYO; vWgv9: $c[$k]["description"] = $text; goto Y4o_9; f6E2v: } goto eNjlL; DnhBN: foreach ($c as $k => $v) { goto FLfJF; FwnzJ: jLCid: goto VACyZ; aSe0I: $c[$k]["description"] = $text; goto TBE_V; TBE_V: Ieu26: goto FwnzJ; FLfJF: if (!($v["command"] == "menu")) { goto Ieu26; } goto aSe0I; VACyZ: } goto bJ2G0; KecXu: $text = trim($text); goto YCiQ9; YCiQ9: if (empty($text)) { goto H_OMO; } goto psr9V; DFP6Q: $scope = ["type" => "chat", "chat_id" => $this->vABj5["admin"]]; goto GxEw6; SBSrM: } public function helpNotify() { goto F8C2n; zpVyN: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text ?: []), $data ?: false); goto jFigD; fjGxc: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/setNotifyText"]]; goto zpVyN; F8C2n: $text[] = "<b><i>setNotifyExpire</i></b> - \321\x83\320\262\xd0\xb5\320\xb4\xd0\276\xd0\274\320\xbb\320\xb5\xd0\xbd\320\xb8\xd0\265 \xd0\xbe\xd1\202\320\277\321\200\xd0\xb0\320\xb2\xd0\273\xd1\217\xd1\x8e\321\211\xd0\xb5\xd0\xb5\xd1\201\xd1\x8f \xd0\xb7\320\xb0 N \xd0\xb2\321\200\320\xb5\320\xbc\xd0\xb5\320\275\xd0\270 \xd0\264\xd0\276 \320\276\320\272\xd0\276\xd0\xbd\xd1\207\xd0\xb0\320\xbd\xd0\xb8\xd1\217 \321\x81\xd1\x80\xd0\xbe\320\xba\320\xb0 \xd0\272\320\xbe\320\xbd\xd1\204\320\270\320\263\xd0\260
<b><i>setNotifyCreate</i></b> - \321\x83\xd0\xb2\320\xb5\xd0\264\xd0\xbe\xd0\274\xd0\273\xd0\xb5\xd0\275\xd0\xb8\320\265 \320\xbe\321\x82\xd0\277\321\x80\320\260\320\xb2\xd0\273\xd1\217\321\216\321\211\xd0\xb5\320\xb5\321\201\xd1\217 \xd0\xbf\xd0\xbe\321\201\xd0\xbb\xd0\xb5 \xd1\201\320\xbe\xd0\267\xd0\xb4\xd0\xb0\320\xbd\xd0\270\xd1\217 \xd0\xba\xd0\xbe\xd0\275\321\204\320\xb8\xd0\263\xd0\xb0
<b><i>setNotifyProlong</i></b> - \321\x83\320\262\320\xb5\320\xb4\xd0\276\320\xbc\320\273\xd0\xb5\xd0\275\320\xb8\320\xb5 \xd0\xbe\321\x82\320\277\xd1\200\320\xb0\xd0\262\xd0\xbb\321\217\xd1\x8e\xd1\211\xd0\xb5\xd0\265\321\201\xd1\217 \xd0\277\xd1\200\320\270 \xd0\xbf\321\200\320\xbe\xd0\xb4\xd0\273\320\265\xd0\xbd\xd0\xb8\xd0\270 \320\272\xd0\276\320\275\xd1\x84\xd0\270\xd0\xb3\xd0\xb0
<b><i>setNotifyDelete</i></b> - \xd1\x83\xd0\262\xd0\xb5\320\xb4\xd0\276\320\274\xd0\xbb\320\265\320\xbd\xd0\xb8\xd0\xb5 \320\276\xd1\x82\xd0\277\xd1\x80\320\xb0\320\262\xd0\273\321\x8f\xd1\x8e\321\x89\xd0\xb5\xd0\xb5\xd1\x81\321\x8f \320\277\xd1\x80\xd0\xb8 \xd0\277\xd1\200\xd0\xb5\320\xba\xd1\200\xd0\260\xd1\x89\xd0\xb5\320\xbd\320\xb8\xd0\270 \xd1\200\xd0\xb0\320\261\320\276\321\202\321\x8b \320\xba\xd0\276\320\275\xd1\x84\320\xb8\320\263\320\xb0"; goto fjGxc; jFigD: } public function setNotifyText($chapter = false) { goto lNGGY; XoCfQ: QmZYB: goto ysWCf; gb14x: switch ($chapter) { case "nc": goto MeBNm; MeBNm: $text[] = "<code>~code~</code> \xd0\272\xd0\276\xd0\xb4 \xd0\277\320\270\321\x80\xd0\xb0"; goto s65hn; s65hn: $text[] = "<code>~file~</code> \xd0\277\xd1\200\xd0\270\320\xba\321\x80\320\265\320\277\xd0\xb8\321\x82\xd1\x8c \321\x84\xd0\xb0\xd0\xb9\320\273 \320\272\320\276\320\275\321\x84\xd0\270\320\xb3\320\xb0"; goto qWs0_; UX8ay: $text[] = "<code>~life~</code> \xd0\xbe\321\201\321\x82\320\260\320\262\321\x88\320\265\320\xb5\321\x81\xd1\217 \320\xb2\xd1\x80\xd0\xb5\xd0\274\xd1\217 \320\xb4\xd0\xb5\xd0\271\321\201\xd1\x82\320\xb2\xd0\270\xd1\217 \320\xbf\xd0\276\320\264\320\xbf\xd0\xb8\321\201\320\272\xd0\270"; goto aNX8i; aNX8i: $text[] = "<code>~vpn~</code> \321\201\xd1\201\xd1\x8b\320\xbb\320\xba\xd0\260 \320\264\xd0\273\xd1\217 \320\277\xd0\276\xd0\xb4\320\xba\xd0\273\xd1\x8e\xd1\x87\320\265\320\275\320\270\xd1\217 \xd0\xb0\320\274\320\275\xd0\265\xd0\xb7\xd0\270\xd0\270"; goto sdoHv; Qx1UB: $text[] = "<code>~macos~</code> - \320\xb8\320\275\xd1\201\xd1\x82\321\200\xd1\x83\xd0\xba\xd1\x86\xd0\xb8\xd1\217 \320\xb4\xd0\273\321\x8f macos"; goto leD31; leD31: $text[] = "<code>~id~</code> \320\275\xd0\276\320\xbc\xd0\xb5\321\200 \320\xbf\xd0\276\xd0\264\320\277\320\xb8\xd1\x81\320\xba\xd0\270"; goto UX8ay; qWs0_: $text[] = "<code>~android~</code> - \320\270\xd0\275\xd1\x81\321\x82\321\x80\xd1\x83\320\xba\xd1\x86\320\xb8\xd1\x8f \320\264\xd0\273\321\217 android"; goto Xrs7h; sdoHv: goto trMKt; goto yJsn7; Lf1wi: $text[] = "<code>~windows~</code> - \xd0\270\320\xbd\321\201\321\x82\321\200\xd1\203\xd0\272\321\x86\xd0\xb8\321\217 \320\xb4\xd0\273\xd1\x8f windows"; goto Qx1UB; Xrs7h: $text[] = "<code>~ios~</code> - \xd0\270\xd0\275\321\201\321\x82\321\x80\xd1\x83\320\xba\321\x86\320\xb8\xd1\x8f \320\264\320\xbb\321\x8f ios"; goto Lf1wi; yJsn7: case "np": case "ne": goto N1Svj; vvNpa: goto trMKt; goto D3Mwu; N1Svj: $text[] = "<code>~life~</code> \xd0\276\321\x81\xd1\202\xd0\260\320\xb2\xd1\x88\xd0\265\xd0\265\xd1\x81\321\217 \xd0\xb2\xd1\x80\xd0\265\320\274\321\x8f \xd0\xb4\xd0\xb5\xd0\xb9\321\x81\321\x82\xd0\262\320\270\321\x8f \320\xbf\320\xbe\320\264\320\277\320\xb8\321\x81\320\272\xd0\xb8"; goto GSZ04; GSZ04: $text[] = "<code>~id~</code> \320\xbd\320\xbe\xd0\274\xd0\xb5\321\200 \xd0\277\320\xbe\320\264\320\277\320\xb8\321\x81\xd0\xba\xd0\xb8"; goto vvNpa; D3Mwu: case "nb": goto sOfB_; QPWUT: goto trMKt; goto VtAvI; oycFw: $text[] = "<code>~id~</code> \320\275\320\276\xd0\274\xd0\265\321\x80 \xd0\277\320\xbe\xd0\xb4\320\xbf\xd0\270\xd1\x81\320\272\320\270"; goto QPWUT; sOfB_: $text[] = "<code>~bonus~</code> \xd0\xb4\xd0\xbe\xd0\261\xd0\260\xd0\xb2\320\273\320\xb5\320\275\320\xbd\xd0\276\320\265 \xd0\xb2\xd1\200\320\265\xd0\xbc\321\x8f"; goto oycFw; VtAvI: case "nd": goto yHP50; dGgAH: $text[] = "<code>~id~</code> \320\xbd\xd0\276\320\xbc\320\xb5\xd1\x80 \xd0\xbf\320\276\320\264\xd0\277\320\270\321\201\320\xba\xd0\xb8"; goto Ie0Af; Ie0Af: goto trMKt; goto SqCLz; yHP50: $text[] = "<code>~user~</code> \xd0\270\xd0\xbc\xd1\x8f \xd1\216\xd0\xb7\xd0\265\xd1\x80\320\260"; goto dGgAH; SqCLz: } goto XoCfQ; jhQuA: if (!($t = $this->getSetting($chapter))) { goto S4Zqe; } goto xjI3O; VqXjn: $data[] = [["text" => $this->i18n("setNotifyProlong"), "callback_data" => "/sendReply enter text_updateSetting_np_" . __FUNCTION__ . "_np"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText np"]]; goto JE9AU; Id2o1: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", $text ?: []), $data ?: false); goto YcBIl; AhWbW: $data[] = [["text" => $this->i18n("setNotifyCreate"), "callback_data" => "/sendReply enter text_updateSetting_nc_" . __FUNCTION__ . "_nc"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nc"]]; goto VqXjn; p3DfO: S4Zqe: goto Id2o1; Q3_GF: $text[] = "<code>/android</code> - \xd1\x81\xd1\x81\xd1\213\xd0\xbb\xd0\xba\320\xb0, \xd0\xbf\320\276 \xd0\xba\320\273\xd0\xb8\320\272\xd1\203 \320\xbd\320\260 \xd0\xba\320\276\xd1\202\320\xbe\321\x80\321\x83\xd1\216 \xd0\261\320\xbe\321\202 \320\xbe\xd1\202\320\xb4\320\xb0\321\201\xd1\x82 \320\270\320\xbd\xd1\x81\xd1\x82\321\200\xd1\203\xd0\xba\321\206\xd0\xb8\321\216 \xd0\277\320\276 android"; goto mfaEY; Ltbnb: $text[] = "\320\242\320\265\320\xb3\320\270:"; goto ijdRH; lNGGY: $data[] = [["text" => $this->i18n("setNotifyExpire"), "callback_data" => "/sendReply enter text_updateSetting_ne_" . __FUNCTION__ . "_ne"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText ne"]]; goto AhWbW; ysWCf: trMKt: goto BQZ3e; P7hwC: $text[] = "<code>/macos</code> - \321\x81\xd1\x81\321\213\320\xbb\xd0\272\xd0\xb0, \320\277\xd0\xbe \320\xba\320\xbb\320\270\320\272\xd1\203 \xd0\xbd\320\260 \320\xba\320\xbe\xd1\202\320\xbe\xd1\200\321\203\321\216 \xd0\xb1\xd0\xbe\321\202 \320\xbe\321\202\xd0\264\xd0\260\xd1\201\321\x82 \320\xb8\xd0\275\xd1\201\321\x82\321\200\321\203\xd0\xba\321\x86\xd0\270\xd1\x8e \xd0\xbf\xd0\xbe macos"; goto rCj9m; xjI3O: $text[] = "<pre>{$t}</pre>"; goto p3DfO; ijdRH: $text[] = "<code>/bot</code> - \xd1\x81\321\201\321\213\320\xbb\320\xba\320\xb0, \xd0\277\320\276 \xd0\272\320\273\xd0\270\xd0\272\321\x83 \320\275\xd0\xb0 \320\272\xd0\276\xd1\202\xd0\xbe\xd1\x80\321\x83\321\216 \xd0\261\320\276\xd1\202 \xd0\276\321\x82\320\264\320\260\xd1\x81\321\202 \xd0\270\xd0\xbd\xd1\201\xd1\202\xd1\200\321\x83\xd0\xba\xd1\206\xd0\xb8\321\216 \xd0\277\xd0\xbe bot"; goto Q3_GF; mfaEY: $text[] = "<code>/ios</code> - \321\x81\xd1\201\xd1\213\320\273\xd0\xba\xd0\xb0, \xd0\xbf\320\276 \xd0\272\xd0\xbb\320\270\320\xba\321\x83 \xd0\275\320\xb0 \320\xba\xd0\xbe\xd1\202\320\xbe\321\200\xd1\x83\xd1\216 \xd0\xb1\320\xbe\xd1\x82 \320\xbe\xd1\x82\320\264\xd0\xb0\321\201\321\x82 \320\270\320\275\xd1\x81\321\202\321\200\xd1\x83\xd0\xba\xd1\x86\320\270\321\x8e \xd0\277\xd0\276 ios"; goto P7hwC; e_ZV0: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto U9uHF; JE9AU: $data[] = [["text" => $this->i18n("setNotifyDelete"), "callback_data" => "/sendReply enter text_updateSetting_nd_" . __FUNCTION__ . "_nd"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nd"]]; goto YuCR7; YuCR7: $data[] = [["text" => $this->i18n("setNotifyBonus"), "callback_data" => "/sendReply enter text_updateSetting_nb_" . __FUNCTION__ . "_nb"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nb"]]; goto DSacF; U9uHF: $text[] = "\xd1\x83\xd1\x81\321\202\xd0\260\320\xbd\320\276\xd0\xb2\320\272\xd0\xb0 \xd1\210\xd0\xb0\320\261\320\xbb\320\xbe\320\xbd\xd0\260 \321\x81\320\276\320\276\xd0\261\321\211\320\xb5\xd0\275\320\xb8\320\xb9 \320\xbf\xd0\276\xd0\273\xd1\214\xd0\xb7\xd0\xbe\320\262\320\260\321\x82\xd0\xb5\xd0\xbb\xd1\x8e\xa"; goto Ltbnb; DSacF: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpNotify"]]; goto e_ZV0; rCj9m: $text[] = "<code>/windows</code> - \321\x81\321\x81\xd1\213\xd0\xbb\xd0\xba\320\xb0, \xd0\277\320\276 \xd0\272\xd0\xbb\320\xb8\320\xba\xd1\x83 \xd0\275\xd0\260 \320\xba\320\xbe\xd1\x82\xd0\xbe\321\x80\xd1\203\321\x8e \320\261\320\xbe\321\x82 \xd0\276\321\x82\xd0\xb4\320\xb0\321\201\xd1\x82 \xd0\270\xd0\xbd\321\201\xd1\x82\xd1\200\321\x83\xd0\xba\321\206\320\270\xd1\x8e \320\xbf\320\xbe windows"; goto gb14x; BQZ3e: $text[] = "\xa\320\250\320\260\320\261\320\xbb\xd0\276\xd0\275:"; goto jhQuA; YcBIl: } public function setMenuDescription($chapter = false) { goto hS6kC; ZcDv8: $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 RSDVZ; hS6kC: $data[] = [["text" => $this->i18n("setUserMenu"), "callback_data" => "/sendReply enter text_updateSetting_um_" . __FUNCTION__ . "_um"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription um"]]; goto lHA2x; nDOB3: $data[] = [["text" => $this->i18n("setUserPeer"), "callback_data" => "/sendReply enter text_updateSetting_ur_" . __FUNCTION__ . "_ur"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription ur"]]; goto IsQZL; Hm_MK: $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 ZcDv8; UOlW8: $this->send($this->rtkAD["chat"], "\320\xb2 \xd1\202\320\xb5\xd0\xba\xd1\201\xd1\x82\320\xb5 \320\xbe\321\x88\320\270\xd0\261\320\272\320\xb0 <pre>{$r["description"]}</pre>", $this->rtkAD["message_id"]); goto IaBeT; Yd8WS: $text[] = "<code>/macos</code> - \xd1\201\xd1\x81\321\x8b\320\273\320\xba\xd0\xb0, \320\xbf\320\276 \320\xba\320\xbb\320\xb8\320\272\321\x83 \320\275\xd0\xb0 \320\272\320\276\321\202\xd0\xbe\321\x80\xd1\203\xd1\x8e \xd0\xb1\xd0\276\xd1\x82 \320\xbe\xd1\202\xd0\xb4\xd0\xb0\321\x81\321\202 \320\270\320\xbd\321\201\321\202\xd1\x80\xd1\x83\320\272\xd1\206\xd0\xb8\321\x8e \320\277\xd0\276 macos"; goto iXR0d; qM7BU: $text[] = "<code>/android</code> - \321\201\xd1\x81\321\213\xd0\xbb\xd0\272\xd0\xb0, \xd0\xbf\xd0\276 \xd0\xba\xd0\xbb\xd0\xb8\xd0\272\321\203 \320\275\xd0\260 \320\272\xd0\276\321\202\320\276\321\200\xd1\x83\xd1\x8e \xd0\xb1\320\xbe\321\x82 \320\xbe\321\202\320\264\320\260\321\x81\xd1\x82 \xd0\270\xd0\xbd\321\201\xd1\202\321\200\xd1\203\320\xba\321\206\xd0\270\xd1\x8e \xd0\xbf\xd0\276 android"; goto Ryl9O; WxjT7: $text[] = "<code>" . htmlentities("<u>underline</u>") . "</code> - <u>\320\xbf\320\xbe\xd0\xb4\321\x87\320\xb5\321\200\320\xba\320\275\321\203\321\202\321\x8b\320\271</u>"; goto PmfZW; RSDVZ: $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 zTyJy; bwbmN: switch ($chapter) { case "up": goto YQBF0; Z1lqj: $text[] = "<code>~name~</code> \320\270\320\xbc\321\x8f \xd1\x81\xd0\265\xd1\x80\xd0\xb2\320\xb5\321\x80\320\xb0"; goto Mg1mB; uKjHj: $text[] = "<code>~life~</code> \xd0\xb4\320\273\xd0\270\321\202\xd0\265\320\xbb\xd1\x8c\320\275\320\276\321\201\xd1\202\xd1\214 \320\277\320\276\320\xb4\xd0\xbf\xd0\270\321\201\xd0\xba\xd0\xb8"; goto Z1lqj; YQBF0: $text[] = "<code>~id~</code> \320\xbd\320\276\320\xbc\320\265\xd1\200 \xd0\267\xd0\260\320\272\xd0\xb0\xd0\xb7\320\260"; goto uKjHj; Mg1mB: case "ur": goto EMkpt; wquNW: $text[] = "<code>~domain~</code> \320\260\xd0\xb4\xd1\200\xd0\265\xd1\201 \xd1\201\320\265\321\200\320\xb2\320\265\xd1\x80\320\xb0"; goto Cp6Kt; zSaed: goto BEwB2; goto Uu1Ca; Cp6Kt: $text[] = "<code>~refer_link~</code> \321\x80\xd0\xb5\321\204\xd0\265\321\200\320\260\xd0\xbb\xd1\x8c\xd0\xbd\xd0\260\xd1\217 \321\x81\xd1\x81\321\x8b\320\xbb\320\xba\320\xb0"; goto ct2YU; EMkpt: $text[] = "<code>~code~</code> \320\272\xd0\xbe\320\264 \320\xba\xd0\276\320\xbd\321\204\xd0\xb8\320\xb3\320\260"; goto wquNW; ct2YU: $text[] = "<code>~refer_count~</code> \xd0\272\xd0\xbe\320\273-\320\262\320\276 \xd0\260\320\xba\321\202\xd0\270\320\xb2\320\xb8\xd1\200\320\276\320\xb2\xd0\xb0\320\275\320\275\xd1\x8b\xd1\205 \xd0\272\xd0\xbe\320\275\xd1\204\320\270\xd0\263\320\xbe\320\xb2 \xd0\xbf\320\276 \321\x80\320\265\321\x84\320\265\xd1\x80\320\260\xd0\273\321\214\320\275\xd0\276\320\271 \xd1\x81\xd1\x81\321\x8b\320\xbb\320\272\xd0\xb5"; goto zSaed; Uu1Ca: case "hb": case "ha": case "hi": case "hm": case "hw": $text[] = "<code>~photo:id~</code> \320\xb3\xd0\xb4\xd0\265 id - \xd0\260\320\271\xd0\264\320\xb8 \321\x84\320\xbe\321\202\xd0\xbe (\320\xbc\320\276\xd0\xb6\320\xbd\320\276 \xd1\x83\320\xb7\320\275\320\260\xd1\202\xd1\x8c \321\x81\320\xba\320\270\320\275\321\x83\320\262 \321\204\xd0\276\xd1\202\xd0\276 \320\261\320\xbe\321\202\321\x83)"; } goto s4RSv; xael4: goto gMKle; goto Ejxcb; W4nSZ: $data[] = [["text" => $this->i18n("setUserOrder"), "callback_data" => "/sendReply enter text_updateSetting_uo_" . __FUNCTION__ . "_uo"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription uo"]]; goto r3Cos; kMV3o: $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 Hm_MK; fBIRd: $text[] = "Menu
    Buy
        Server
            Pay\xa    Order\xa        Pay
    Peer\xaHelp
    Bot
    Android\xa    IOS
    Windows\xa    MacOS"; goto xael4; lHA2x: $data[] = [["text" => $this->i18n("setUserBuy"), "callback_data" => "/sendReply enter text_updateSetting_ub_" . __FUNCTION__ . "_ub"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription ub"]]; goto uo0iW; jdOfU: $text[] = "<code>" . htmlentities("<b>bold</b>") . "</code> - <b>\320\266\320\270\321\x80\xd0\xbd\321\213\320\271</b>"; goto mX9S2; cd1uX: $data[] = [["text" => $this->i18n("structureMenu"), "callback_data" => "/setMenuDescription"], ["text" => $this->i18n("back"), "callback_data" => "/config"]]; goto s6hEp; mX9S2: $text[] = "<code>" . htmlentities("<i>italic</i>") . "</code> - <i>\320\272\321\203\321\200\xd1\x81\320\270\xd0\262</i>"; goto WxjT7; s6hEp: $text[] = "\321\203\321\201\321\x82\320\260\xd0\275\xd0\xbe\320\262\xd0\272\320\xb0 \xd0\276\320\277\xd0\xb8\321\x81\xd0\xb0\xd0\275\xd0\270\320\271 \xd0\xbf\321\x83\320\xbd\xd0\xba\321\x82\xd0\xbe\xd0\262 \xd0\xbc\xd0\265\xd0\xbd\xd1\216 \xd0\xbf\xd0\276\xd0\273\xd1\214\320\267\320\276\xd0\xb2\xd0\xb0\xd1\202\xd0\xb5\xd0\xbb\xd1\217:
\xd0\xbf\320\xbe\320\xb4\xd0\264\xd0\265\321\x80\xd0\xb6\xd0\270\320\xb2\xd0\260\xd0\xb5\xd1\x82\321\x81\321\217 \xd1\201\320\xbb\320\xb5\320\264\321\x83\321\x8e\321\211\xd0\270\320\265 \321\202\xd0\xb5\xd0\xb3\320\xb8 html
"; goto jdOfU; u5qL6: $text[] = "<code>" . htmlentities("<a href="http://www.example.com/">inline URL</a>") . "</code> - <a href='http://www.example.com/'>inline URL</a>"; goto jhpTm; mjBu6: $text[] = "<code>" . htmlentities("<code>inline fixed-width code</code>") . "</code> - <code>\xd0\xbc\xd0\276\320\xbd\xd0\276\321\210\xd0\270\xd1\200\320\xb8\320\xbd\320\xbd\xd1\x8b\xd0\xb9</code>"; goto u5qL6; uz6q2: if (!($t = $this->getSetting($chapter))) { goto HL_iF; } goto ACv_N; ACv_N: $text[] = "\xa{$chapter}:
<pre>{$t}</pre>"; goto MlPv4; s4RSv: dUPSv: goto RcmN6; IaBeT: yV1lI: goto aURmU; IsQZL: $data[] = [["text" => $this->i18n("setHelp"), "callback_data" => "/sendReply enter text_updateSetting_h_" . __FUNCTION__ . "_h"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription h"]]; goto kMV3o; dFybA: $r = $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text ?: []), $data ?: false); goto L4W8r; uMwSw: $text[] = "<code>" . htmlentities("<span class="tg-spoiler">spoiler</span>") . "</code> - <tg-spoiler>\321\x81\320\xba\xd1\200\xd1\x8b\321\202\321\213\xd0\271</tg-spoiler>"; goto mjBu6; MlPv4: HL_iF: goto EHcbL; uo0iW: $data[] = [["text" => $this->i18n("setUserServer"), "callback_data" => "/sendReply enter text_updateSetting_us_" . __FUNCTION__ . "_us"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription us"]]; goto W4nSZ; EHcbL: gMKle: goto dFybA; PmfZW: $text[] = "<code>" . htmlentities("<s>strikethrough</s>") . "</code> - <s>\320\267\xd0\xb0\xd1\207\320\265\xd1\200\320\xba\xd0\xbd\xd1\203\xd1\202\xd1\213\xd0\xb9</s>"; goto uMwSw; Vk_A0: if ($chapter) { goto l6tAC; } goto fBIRd; iXR0d: $text[] = "<code>/windows</code> - \xd1\201\xd1\x81\xd1\x8b\320\xbb\320\xba\xd0\xb0, \xd0\277\320\276 \xd0\272\xd0\xbb\xd0\xb8\xd0\xba\xd1\x83 \xd0\275\320\xb0 \320\272\320\xbe\321\202\xd0\xbe\321\200\321\203\321\x8e \xd0\xb1\xd0\xbe\xd1\202 \320\xbe\321\202\320\xb4\xd0\260\321\x81\xd1\202 \320\270\320\275\xd1\201\321\202\321\x80\xd1\x83\xd0\xba\321\206\320\xb8\321\216 \320\277\320\xbe windows"; goto Vk_A0; zTyJy: $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 cd1uX; Ryl9O: $text[] = "<code>/ios</code> - \321\201\321\x81\xd1\x8b\xd0\273\xd0\xba\320\260, \xd0\277\xd0\xbe \xd0\xba\xd0\273\xd0\xb8\320\272\xd1\203 \xd0\275\320\260 \320\272\xd0\xbe\321\x82\320\xbe\xd1\x80\321\x83\321\x8e \xd0\261\320\xbe\321\x82 \xd0\276\xd1\202\xd0\xb4\xd0\260\321\x81\321\x82 \320\xb8\320\275\321\201\xd1\202\321\x80\xd1\x83\xd0\xba\321\x86\xd0\xb8\321\216 \320\277\320\276 ios"; goto Yd8WS; L4W8r: if (!($r["ok"] == false && !preg_match("~message is not modified~", $r["description"]))) { goto yV1lI; } goto UOlW8; Ejxcb: l6tAC: goto bwbmN; r3Cos: $data[] = [["text" => $this->i18n("setUserPay"), "callback_data" => "/sendReply enter text_updateSetting_up_" . __FUNCTION__ . "_up"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription up"]]; goto nDOB3; nqKND: $text[] = "
<b>\xd0\276\320\xb1\321\x8f\xd0\267\320\260\xd1\x82\320\265\320\273\321\214\320\275\320\276 \320\277\xd1\200\320\xbe\320\xb2\320\xb5\321\200\321\x8c\321\x82\320\265 preview \xd0\277\xd0\xbe\321\201\320\273\xd0\xb5 \xd1\x83\321\x81\321\x82\320\xb0\xd0\275\320\276\xd0\xb2\320\272\xd0\270 \321\x82\xd0\265\xd0\xba\xd1\x81\321\x82\320\260, \xd0\265\321\x81\xd0\xbb\xd0\270 \321\202\320\265\xd0\272\321\x81\xd1\202 \320\275\xd0\265 \320\xbe\xd1\x82\320\xbe\xd0\xb1\321\x80\320\xb0\xd0\xb7\320\xb8\320\xbb\xd1\x81\xd1\x8f \320\xb7\320\275\xd0\xb0\321\x87\xd0\270\xd1\202 \320\xb2 \xd1\x82\xd0\xb5\xd0\xba\xd1\x81\xd1\202\320\265 \320\xb5\xd1\201\xd1\202\321\214 \320\276\xd1\x88\xd0\270\320\261\xd0\xba\320\260 html-\321\202\xd0\xb5\xd0\xb3\320\260 \xd0\xb8 \321\215\xd1\x82\xd0\xbe \320\274\xd0\xb5\xd0\275\xd1\x8e \320\275\320\xb5 \xd0\261\321\203\xd0\xb4\xd0\265\321\x82 \321\x80\xd0\xb0\320\xb1\320\276\321\202\320\xb0\xd1\202\321\x8c \321\x83 \320\277\xd0\xbe\320\xbb\xd1\214\320\267\320\276\xd0\262\320\xb0\321\202\xd0\265\320\xbb\xd1\x8f</b>"; goto uz6q2; jhpTm: $text[] = "<code>/bot</code> - \321\x81\xd1\x81\xd1\213\320\273\xd0\272\xd0\260, \xd0\277\320\xbe \320\xba\xd0\xbb\320\xb8\xd0\272\321\203 \320\275\xd0\260 \320\xba\320\276\321\202\320\276\321\x80\321\203\321\x8e \320\261\xd0\276\321\x82 \320\xbe\xd1\x82\320\264\320\260\xd1\x81\xd1\202 \xd0\270\xd0\275\321\201\321\202\xd1\x80\321\x83\xd0\xba\xd1\206\320\xb8\xd1\216 \320\277\xd0\xbe bot"; goto qM7BU; RcmN6: BEwB2: goto nqKND; aURmU: } public function unitConf($data = false, $key = "config", $method = "PUT") { goto Of7GB; icRE7: return $res; goto oS1Kh; Of7GB: $ch = curl_init(); goto w0mxl; w0mxl: 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 nlmiR; esv8v: curl_close($ch); goto icRE7; nlmiR: $res = curl_exec($ch); goto esv8v; oS1Kh: } public function unitConfig() { goto l3MCq; hY4P1: $data = ["listeners" => ["*:8443" => ["pass" => "routes/other", "tls" => ["certificate" => !file_exists($this->OEiKI) ? ["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"]]], "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"]], "access_log" => "/logs/unit_access"]; goto CoMVf; urT0n: return $res; goto zthxu; OW1ur: if (!file_exists($this->OEiKI)) { goto kt7SX; } goto bq3CA; ONnS2: kt7SX: goto hY4P1; bq3CA: $res[] = $this->unitConf(curl_file_create($this->OEiKI), "certificates/certbot"); goto ONnS2; l3MCq: $res[] = $this->unitConf(curl_file_create("/certs/bundle"), "certificates/bundle"); goto OW1ur; CoMVf: $res[] = $this->unitConf($data, "config"); goto urT0n; zthxu: } public function export() { goto JCh_K; FHtjU: return $r; goto a1KsM; JCh_K: if (file_exists("/config")) { goto moQOX; } goto BFu1s; BFu1s: mkdir("/config"); goto tX7Pk; fS9wD: $path = "/config/import.sql"; goto BeZvy; BeZvy: exec("mysqldump -h db -u root tower > {$path}"); goto VgXd3; VgXd3: $r = $this->sendFile($this->vABj5["admin"], curl_file_create($path, posted_filename: "dump_" . date("Y_m_d_H_i_s") . ".sql")); goto aNQu9; tX7Pk: moQOX: goto fS9wD; aNQu9: unlink($path); goto FHtjU; a1KsM: } public function openLinkNode() { goto R3PXM; rbAYY: file_put_contents("/config/unittmp.json", json_encode($unit, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto KiukO; Vh7k2: array_unshift($unit["routes"], ["match" => ["uri" => "~\.(tar)"], "action" => ["return" => 404]]); goto Z3lSB; R3PXM: $unit = json_decode(file_get_contents("/config/unit.json"), true); goto Vh7k2; Z3lSB: array_unshift($unit["routes"], ["match" => ["uri" => "~\.(tar)", "arguments" => ["h" => substr(md5($this->vABj5["admin"] . $this->vABj5["key"]), 0, 8)]], "action" => ["share" => ["/$uri"]]]); goto rbAYY; KiukO: } public function import() { goto y1wb1; Ga5np: $this->menu(); goto uLw0c; y1wb1: $path = "/config/import.sql"; goto l_3zn; BEzK0: $dump = file_get_contents($this->file . $r["result"]["file_path"]); goto E_Du3; kFzxj: exec("mysql -h db -u root tower < {$path}"); goto Fc8Wj; Fc8Wj: unlink($path); goto Ga5np; l_3zn: $r = $this->request("getFile", ["file_id" => $this->rtkAD["file_id"]]); goto BEzK0; E_Du3: file_put_contents($path, $dump); goto kFzxj; uLw0c: } public function updateExpireNotify($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "expireNotify", "config"); } public function debug() { $this->updateSetting(!$this->getSetting("debug"), "debug", "config"); } public function yoomoney() { goto s2FMT; ZSom6: $data[] = [["text" => $this->i18n("setWallet") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/sendReply enter wallet_updateSetting_wallet_" . __FUNCTION__]]; goto jcb8U; RyOea: $success = $this->getSetting("successUrl"); goto KjmO4; vb6Qc: $text[] = "\320\275\xd0\xb0 \xd1\201\xd1\x82\321\x80\xd0\xb0\320\xbd\xd0\xb8\321\206\xd0\265 https://yoomoney.ru/transfer/myservices/http-notification :"; goto EWrQJ; JHMlp: $data[] = [["text" => $this->i18n("setPhrase") . ($phrase ? ": {$phrase}" : ''), "callback_data" => "/sendReply enter phrase_updatePhrase"]]; goto PrONF; nqqXr: $text[] = "\320\xbe\321\x82\320\xbc\xd0\265\xd1\x82\xd1\x8c\xd1\x82\320\xb5 \320\xb3\xd0\xb0\320\273\xd0\276\xd1\x87\320\272\321\x83 <b><i>\320\276\xd1\x82\xd0\277\321\x80\xd0\xb0\320\262\320\xbb\321\x8f\xd1\202\321\214 HTTP-\321\203\320\xb2\320\xb5\320\264\xd0\276\320\274\320\xbb\xd0\265\320\275\xd0\xb8\xd1\217</i></b>"; goto VJ_2B; jcb8U: $data[] = [["text" => $this->i18n("setSecret") . ($secret ? ": {$secret}" : ''), "callback_data" => "/sendReply enter secret_updateSetting_secret_" . __FUNCTION__]]; goto JHMlp; QZweK: $debug = $this->getSetting("yd"); goto ZSom6; HMf4R: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]]; goto vb6Qc; FSXC5: $this->uors($text, $data); goto clNQe; IyYgy: $text[] = "\xd1\201\320\xba\xd0\xbe\320\xbf\xd0\270\321\x80\321\x83\xd0\xb9\321\202\320\265 \xd1\201\xd0\265\320\xba\321\200\xd0\xb5\xd1\202"; goto nqqXr; pf0hy: $wallet = $this->getSetting("wallet"); goto RyOea; EWrQJ: $text[] = "\xd1\201\321\x81\xd1\x8b\xd0\xbb\xd0\xba\320\xb0 \xd0\xb4\xd0\273\xd1\217 \320\275\xd0\xbe\321\x82\xd0\270\xd1\204\xd0\270\320\272\xd0\xb0\321\x86\320\270\xd0\271 <code>https://{$this->l4Nwz}:8443/yoomoney</code>"; goto IyYgy; KjmO4: $phrase = $this->getSetting("phrase"); goto QZweK; VJ_2B: $text[] = "
\320\xb2 \320\xb1\xd0\276\xd1\202\320\xb5 \321\x83\321\x81\321\202\320\260\xd0\275\320\xbe\xd0\262\320\xb8\321\202\320\xb5 \320\275\320\276\xd0\274\320\265\xd1\200 \320\xba\xd0\276\321\x88\320\xb5\xd0\273\321\214\320\xba\320\xb0, \321\x81\320\xb5\xd0\272\321\x80\xd0\xb5\321\202, \xd0\272\xd0\xbe\320\xb4\xd0\xbe\xd0\xb2\xd1\x83\321\216 \xd1\x84\xd1\200\320\260\320\267\xd1\203 \320\xb1\xd0\276\xd1\x82\320\xb0"; goto FSXC5; OX4JN: $data[] = [["text" => $this->i18n("webhookDebug") . ": " . ($debug ? "on" : "off"), "callback_data" => "/webhookDebug"]]; goto HMf4R; s2FMT: $secret = $this->getSetting("secret"); goto pf0hy; PrONF: $data[] = [["text" => $this->i18n("setSuccessUrl") . ($success ? ": {$success}" : ''), "callback_data" => "/sendReply enter link_updateSetting_successUrl_" . __FUNCTION__]]; goto OX4JN; clNQe: } public function yoomoneyLink($id, $price, $menupage) { goto IADKq; UIW9i: if (!(!empty($secret) && !empty($wallet) && !empty($phrase))) { goto Xtk_h; } goto x9ybB; ftKfM: curl_setopt_array($ch, [CURLOPT_URL => "https://yoomoney.ru/quickpay/confirm.xml", CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => ["receiver" => $wallet, "label" => "{$phrase}:{$id}:{$this->rtkAD["chat"]}:{$this->rtkAD["message_id"]}:{$menupage}", "quickpay-form" => "donate", "sum" => $price], CURLOPT_TIMEOUT => 5]); goto Jx3yX; x9ybB: $ch = curl_init(); goto ftKfM; g9RnN: preg_match("~(https[^\s]+)~", $res, $m); goto lzDaV; eNIDz: return $m[1] ?: false; goto kGCKm; IADKq: $wallet = $this->getSetting("wallet"); goto VbIQ5; VbIQ5: $phrase = $this->getSetting("phrase"); goto vi72c; lzDaV: Xtk_h: goto eNIDz; vi72c: $secret = $this->getSetting("secret"); goto UIW9i; Jx3yX: $res = curl_exec($ch); goto deO3t; deO3t: curl_close($ch); goto g9RnN; kGCKm: } public function wallet() { goto Z7ZAA; RGJIz: $wallet = $this->getSetting("@wallet"); goto DV7e9; KqWmw: $text[] = "https://pay.wallet.tg/"; goto tdCOH; Zj1aX: $text[] = "\xd1\x81\xd1\x81\xd1\x8b\xd0\273\320\xba\320\xb0 \320\264\320\273\xd1\x8f \320\275\320\xbe\xd1\202\xd0\xb8\xd1\204\xd0\270\xd0\xba\320\260\xd1\x86\320\xb8\320\271 <code>https://{$domain}:8443/wallet</code>"; goto yjPqo; tdCOH: $text[] = "secret: {$wallet}"; goto Zj1aX; yjPqo: $this->uors($text, $data); goto CSNw4; DV7e9: $data[] = [["text" => $this->i18n("setSecret") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/sendReply enter wallet_updateSetting_@wallet_" . __FUNCTION__]]; goto p3pi6; Z7ZAA: $domain = $this->getSetting("domain") ?: $this->l4Nwz; goto RGJIz; p3pi6: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]]; goto KqWmw; CSNw4: } public function crypto() { goto YSoSX; NylLh: $crypto = $this->getSetting("@crypto"); goto CX_SL; YSoSX: $domain = $this->getSetting("domain") ?: $this->l4Nwz; goto NylLh; CX_SL: $data[] = [["text" => $this->i18n("setSecret") . ($crypto ? ": {$crypto}" : ''), "callback_data" => "/sendReply enter crypto_updateSetting_@crypto_" . __FUNCTION__]]; goto SJptP; DGI5R: $text[] = "secret: {$crypto}"; goto QlvBV; SJptP: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]]; goto flfiQ; GjHf_: $this->uors($text, $data); goto mWMuY; flfiQ: $text[] = "@send"; goto DGI5R; QlvBV: $text[] = "\xd1\201\xd1\201\321\x8b\320\273\320\xba\xd0\260 \320\264\xd0\273\321\x8f \xd0\275\xd0\276\xd1\202\320\xb8\xd1\x84\xd0\xb8\xd0\xba\320\xb0\321\x86\xd0\xb8\320\271 <code>https://{$domain}:8443/cryptobot</code>"; goto GjHf_; mWMuY: } 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 oWfLz; mbtz5: goto sZeQV; goto PMgx9; VURXx: $this->send($this->vABj5["admin"], "\xd0\276\320\xbf\320\273\320\260\321\207\320\xb5\320\xbd \xd0\xb7\320\xb0\320\272\320\xb0\320\267 #{$id}
{$o["amount"]}
{$life}"); goto QH1KI; PMgx9: lQJAI: goto XG3Ui; QH1KI: sZeQV: goto dOLcB; XG3Ui: $life = $this->getTime($o["life"]); goto VURXx; oWfLz: if ($o = $this->sql("select * from orders where id=:id", [":id" => $id], "row")) { goto lQJAI; } goto VTVfr; VTVfr: $this->send($this->vABj5["admin"], "\xd1\x83\320\262\320\xb5\xd0\264\320\xbe\xd0\274\xd0\273\320\xb5\320\275\xd0\270\320\xb5 \xd0\xbf\xd0\xbe \320\xbe\321\x82\xd1\201\xd1\x83\xd1\202\321\201\321\x82\320\262\321\203\xd1\216\xd1\x89\320\xb5\xd0\xbc\321\x83 \320\xb7\320\260\320\272\320\260\xd0\267\321\203 #{$id}"); goto mbtz5; dOLcB: } public function order($id, $menupage) { goto URNdn; SG8ac: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["domain"]}:{$order["port"]}") . " / " . $this->getTime($order["life"]); goto HSSD1; HSSD1: $data[] = [["text" => $this->i18n("payOrder"), "callback_data" => "/payOrder {$id}_{$order["server"]}_{$menupage}_1"]]; goto EBx34; roWU_: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto PAX6U; s6zk8: oE7q0: goto KAehG; URNdn: 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 oE7q0; } goto u2kfs; LC1Ni: $status .= $order["client"] ? " - \xd0\xbf\321\200\320\276\320\xb4\320\273\xd0\265\xd0\275\320\xb8\320\xb5 #{$order["client"]}" : ''; goto FR00n; PAX6U: $this->uors($text, $data); goto Ry0sv; EBx34: $data[] = [["text" => $this->i18n("deleteOrder"), "callback_data" => "/deleteOrder {$id}_{$menupage}_menu"]]; goto eE6jF; FR00n: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"]; goto SG8ac; dtOCe: goto VGnra; goto s6zk8; FgVuK: $status = $order["paid"] ? "\xd0\276\320\277\320\273\320\260\321\x87\320\265\320\275" : "\xd0\xb6\xd0\264\320\265\xd1\x82 \xd0\276\320\xbf\xd0\xbb\320\260\xd1\x82\321\x8b"; goto LC1Ni; u2kfs: $text[] = "\320\xb7\320\260\xd0\xba\xd0\260\xd0\267 \xd0\xbe\320\xbf\xd0\273\320\xb0\321\x87\xd0\xb5\320\275"; goto dtOCe; KAehG: $text[] = $this->template("uo", $order); goto FgVuK; eE6jF: VGnra: goto roWU_; Ry0sv: } public function uors($text = false, $data = false) { goto gdYZw; P4tqz: $data = $data ?: false; goto lY92Q; lY92Q: if (!empty($this->rtkAD["callback_id"])) { goto YUoYB; } goto edCOw; jckt_: hHmw1: goto ZveM3; EqqgN: $r = $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], $text, $data); goto jckt_; edCOw: $r = $this->send($this->rtkAD["chat"], $text, $this->rtkAD["message_id"], $data); goto qryQG; ZveM3: return $r; goto Nz1aL; gdYZw: $text = implode("\xa", $text ?: []); goto P4tqz; BBBzv: YUoYB: goto EqqgN; qryQG: goto hHmw1; goto BBBzv; Nz1aL: } public function payOrder($id, $server, $menupage, $main = false) { goto WvGLB; Rh6CE: $order["life"] = $this->getTime($order["life"]); goto vZQxw; e_sme: if (!($link = $this->cryptoLink("{$id}:{$this->rtkAD["from"]}:{$this->rtkAD["message_id"]}:{$menupage}", $desc, $order["price"]))) { goto pYJ0g; } goto LVcNu; SRl7a: z75F8: goto G5SQf; LBdot: $text[] = "\320\262 \xd0\264\xd0\260\320\xbd\320\275\321\x8b\320\xb9 \320\xbc\320\276\xd0\274\xd0\xb5\320\275\321\202 \320\275\xd0\265\xd1\202 \320\xb2\320\276\320\xb7\xd0\274\xd0\xbe\320\xb6\xd0\xbd\320\276\xd1\x81\xd1\x82\320\xb8 \320\xbe\xd0\277\320\xbb\xd0\260\xd1\x82\320\270\xd1\202\xd1\214, \321\201\xd0\xb2\321\x8f\320\266\xd0\xb8\321\202\320\xb5\321\x81\xd1\214 \321\x81 \xd0\260\320\xb4\320\274\320\xb8\xd0\xbd\xd0\xb8\321\201\xd1\202\321\x80\xd0\260\xd1\202\320\276\xd1\200\xd0\xbe\320\274"; goto NZsbR; G5SQf: if (!empty($data)) { goto q8v5Q; } goto LBdot; DvLVQ: if (!($link = $this->telegramPayLink("vpn", $desc, "{$id}:{$menupage}:{$this->rtkAD["message_id"]}", [["label" => $order["life"], "amount" => $order["price"] * 100]]))) { goto SkprA; } goto q1U2c; WvGLB: 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 and o.paid=0", [":id" => $id], "row")) { goto KK6HZ; } goto LNG3m; hMg0U: if (!($link = $this->yoomoneyLink($id, $order["price"], $menupage))) { goto GmZlX; } goto OThiB; qyZU0: $this->uors($text, $data); goto SDAhV; OThiB: $data[] = [["text" => $this->i18n("yoomoneyPay"), "url" => $link]]; goto PwqjT; CYPpw: pYJ0g: goto DeBpU; r4QgZ: $desc = "order #{$id}"; goto SBSuE; r8Lu9: SkprA: goto w8lXt; SBSuE: if (empty($order["price"])) { goto vLJF1; } goto e_sme; LsMBR: $data[] = [["text" => $this->i18n("stars"), "url" => $link]]; goto SRl7a; w8lXt: vLJF1: goto Lnzdj; PwqjT: GmZlX: goto DvLVQ; Xm9kt: $text[] = "<b>\320\x97\320\xb0\320\xba\320\xb0\xd0\267 #{$order["id"]} \xd1\x81\xd0\276\xd0\267\320\xb4\xd0\260\320\275</b>"; goto ruFoM; LVcNu: $data[] = [["text" => "@send", "url" => $link]]; goto CYPpw; h4bO0: S3QXP: goto hMg0U; OhG8x: i3vek: goto niboY; NZsbR: q8v5Q: goto OhG8x; q1U2c: $data[] = [["text" => $this->i18n("telegramPay"), "url" => $link]]; goto r8Lu9; RBsEe: $status = "\320\266\xd0\264\320\xb5\321\202 \xd0\276\xd0\xbf\xd0\273\xd0\xb0\xd1\x82\321\213" . ($order["client"] ? " - \xd0\277\xd1\x80\320\xbe\xd0\264\xd0\273\320\265\320\275\xd0\xb8\320\xb5 #{$order["client"]}" : ''); goto o4SWd; DeBpU: if (!($link = $this->walletLink("{$id}:{$this->rtkAD["from"]}:{$this->rtkAD["message_id"]}:{$menupage}", $desc, $order["price"]))) { goto S3QXP; } goto zFc7b; ruFoM: p2niO: goto Rh6CE; Lnzdj: if (!($order["stars"] > 0 && ($link = $this->telegramPayLink("vpn", $desc, "{$id}:{$menupage}:{$this->rtkAD["message_id"]}", [["label" => $order["life"], "amount" => $order["stars"]]], 1)))) { goto z75F8; } goto LsMBR; CDnPy: goto i3vek; goto FJYpU; niboY: $data[] = [["text" => $this->i18n("back"), "callback_data" => $main ? "/order {$id}_{$menupage}" : "/serverUser {$server}_{$menupage}"]]; goto qyZU0; o4SWd: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"]; goto Ks4Hk; Ks4Hk: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["ip"]}:{$order["port"]}") . " / " . $order["life"]; goto r4QgZ; vZQxw: $text[] = trim($this->template("up", $order)); goto RBsEe; LNG3m: $text[] = "\xd0\267\xd0\xb0\320\xba\320\260\320\267 \320\xbe\xd0\277\xd0\xbb\320\260\xd1\207\xd0\xb5\320\xbd. \xd0\262 \320\xb1\320\273\xd0\270\320\266\xd0\xb0\xd0\xb9\xd1\x88\xd0\xb5\320\xb5 \xd0\xb2\xd1\x80\320\265\320\xbc\xd1\x8f \xd0\xb2\xd1\x8b \320\277\320\276\320\xbb\321\203\xd1\207\xd0\270\321\x82\320\xb5 \xd0\xba\320\xbe\320\275\321\x84\320\xb8\320\263"; goto CDnPy; yZpzL: if ($main) { goto p2niO; } goto Xm9kt; zFc7b: $data[] = [["text" => "\360\237\x91\x9b Wallet Pay", "url" => $link]]; goto h4bO0; FJYpU: KK6HZ: goto yZpzL; SDAhV: } public function deleteOrder($id, $backpage, $callback) { $this->sql("delete from orders where id=:id", [":id" => $id]); $this->{$callback}($backpage); } public function previewMedia($param) { goto giKtM; FWTfq: $this->send($this->rtkAD["chat"], $text); goto ZOft7; ibcHD: if (!$photos) { goto BQzNT; } goto ij54l; e1F2J: foreach ($m[1] as $k => $v) { $photos[] = ["type" => "photo", "media" => $v, "parse_mode" => "HTML"]; LyVy4: } goto tFJsf; tFJsf: f1QfS: goto ibcHD; Xjstf: preg_match_all("/~photo:(.+)~/", $text, $m); goto uF1uA; ZOft7: PSABF: goto nNjTR; uF1uA: $text = trim(preg_replace("/~photo:(.+)~/", '', $text)); goto e1F2J; ij54l: $this->request("sendMediaGroup", ["chat_id" => $this->rtkAD["chat"], "media" => json_encode($photos)]); goto VDe7g; B6DKz: if (!$text) { goto PSABF; } goto FWTfq; giKtM: $text = $this->getSetting($param); goto Xjstf; VDe7g: BQzNT: goto B6DKz; nNjTR: } public function helpMenu($menupage = 0) { goto DjKEo; mdNAK: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto rnsyY; lmNdn: $data[] = [["text" => $this->i18n("windows"), "callback_data" => "/previewMedia hw"], ["text" => $this->i18n("macos"), "callback_data" => "/previewMedia hm"]]; goto mdNAK; DjKEo: $text[] = $this->getSetting("h"); goto VQ1up; EzxJM: $data[] = [["text" => $this->i18n("android"), "callback_data" => "/previewMedia ha"], ["text" => $this->i18n("ios"), "callback_data" => "/previewMedia hi"]]; goto lmNdn; rnsyY: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", $text ?: []), $data ?: false); goto YFTiB; VQ1up: $data[] = [["text" => $this->i18n("bot"), "callback_data" => "/previewMedia hb"]]; goto EzxJM; YFTiB: } public function menu($menupage = 0) { goto K2SV1; TRjn6: $pages = (int) ceil($c / $this->qS1n1); goto THfjQ; rdtnx: if (!($c > $this->qS1n1)) { goto f2Dot; } goto TRjn6; IKsSO: NR5mG: goto t1UZD; Y7Ffb: foreach ($orders as $k => $v) { goto u5mmd; KXsNB: XSvnR: goto Cp1Ci; QT9bs: $data[] = [["text" => "#{$v["id"]} ({$status}): " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " / " . $this->getTime($v["life"]), "callback_data" => "/order {$v["id"]}_{$menupage}"]]; goto KXsNB; u5mmd: $status = $v["paid"] ? "\320\xbe\xd0\277\320\273\xd0\260\xd1\x87\320\265\320\xbd" : "\xd0\266\320\264\xd0\265\321\x82 \xd0\276\xd0\xbf\xd0\xbb\xd0\xb0\321\202\321\x8b"; goto e9mjp; e9mjp: $status .= $v["client"] ? " - \320\277\321\200\xd0\276\xd0\xb4\xd0\xbb\xd0\265\320\xbd\320\270\xd0\xb5 #{$v["client"]}" : ''; goto QT9bs; Cp1Ci: } goto kVH80; cUT9c: fh3ad: goto A7mVF; PY03u: e_2r0: goto rdtnx; o2f5U: $tmp[] = ["text" => $this->i18n("promo"), "callback_data" => "/sendReply \xd0\xb2\320\xb2\xd0\265\xd0\264\320\xb8\321\202\xd0\xb5 \320\xba\320\276\320\264_activatePromo_{$menupage}"]; goto Agw2M; KHaW1: $data[] = [["text" => $this->i18n("orders") . ": " . $this->sql("select count(*) from orders where paid=0", view: "one"), "callback_data" => "/orders"]]; goto OAanX; K2SV1: $menupage = $menupage ?: 0; goto sNVqX; kcMVr: if (!$this->sql("select 1 from servers where pay=1")) { goto NMK6c; } goto S3vIY; v4Vmi: $data[] = [["text" => $this->i18n("servers") . ": " . $this->sql("select count(*) from servers", view: "one"), "callback_data" => "/servers"]]; goto dADjj; YEcac: if ($this->sql("select 1 from orders where tgid=:tgid and promo!=""", [":tgid" => $this->rtkAD["from"]], "one")) { goto xoD9T; } goto o2f5U; kVH80: fClbe: goto IKsSO; OAanX: ZcUkb: goto KcZ8Z; bzT2M: $data[] = $tmp; goto CT4gB; rrLvy: NMK6c: goto d3y_K; Ust37: $next = $menupage + 1 >= $pages ? 0 : $menupage + 1; goto eyH_W; nLurM: f2Dot: goto XKcLH; Y2pUB: $this->uors($text ?? false, $data); goto CVeUT; zG9g9: $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->qS1n1} offset " . $menupage * $this->qS1n1, [":tgid" => $this->rtkAD["from"]]); goto nPCjw; t1UZD: if (!($c = $this->sql("select count(*) from clients c join servers s on s.id=c.server where c.tgid=:tgid", [":tgid" => $this->rtkAD["from"]], "one"))) { goto mgbKs; } goto zG9g9; THfjQ: $prev = $menupage - 1 < 0 ? $pages : $menupage - 1; goto Ust37; PGQEC: $tmp[] = ["text" => $this->i18n("helpMenu"), "callback_data" => "/helpMenu {$menupage}"]; goto bzT2M; dADjj: $data[] = [["text" => $this->i18n("clients") . ": " . $this->sql("select count(*) from clients", view: "one"), "callback_data" => "/clients"]]; goto KHaW1; OfHcy: $text[] = $this->template("um", []); goto kcMVr; eyH_W: $data[] = [["text" => "<<", "callback_data" => "/menu {$prev}"], ["text" => $menupage + 1 . " \320\xb8\320\267 " . $pages, "callback_data" => "/menu {$menupage}"], ["text" => ">>", "callback_data" => "/menu {$next}"]]; goto nLurM; S3vIY: $data[] = [["text" => $this->i18n("buy"), "callback_data" => "/buy {$menupage}"]]; goto rrLvy; Agw2M: xoD9T: goto PGQEC; KcZ8Z: goto gDgzW; gDgzW:  goto ciRG8; sNVqX: if ($this->H6qXg) { goto fh3ad; } goto OfHcy; ciRG8:  goto Y2pUB; nPCjw: foreach ($subs as $k => $v) { goto NBtZK; qm8Ul: KwM16: goto MZ7Pe; NBtZK: $name = "{$v["id"]}: " . ($v["name"] ?: ($v["server_name"] ?: "{$v["ip"]}:{$v["port"]}")) . " / " . ($v["life"] ? $this->getTime(strtotime($v["life"]) - time()) : "\342\210\x9e"); goto ainG2; ainG2: $data[] = [["text" => $name, "callback_data" => "/peer {$v["id"]}_{$menupage}"]]; goto qm8Ul; MZ7Pe: } goto PY03u; CT4gB: goto ZcUkb; goto cUT9c; d3y_K: 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->rtkAD["from"]]))) { goto NR5mG; } goto Y7Ffb; XKcLH: mgbKs: goto YEcac; A7mVF: $data[] = [["text" => $this->i18n("settings"), "callback_data" => "/config {$menupage}"]]; goto v4Vmi; CVeUT: } public function activatePromo($code, $menupage = 0) { goto aR8o5; Tvihj: LYOls: goto Sm24k; LdLj1: if (!($r = $this->sql("select * from promo where title=:promo", [":promo" => $code], "row"))) { goto lJ0MT; } goto QCDVj; AdkO6: if (!empty($id)) { goto tTtl_; } goto ZX3tU; e9I6_: $this->send($this->rtkAD["chat"], "\321\x83\320\266\xd0\xb5 \320\xb5\321\201\xd1\202\321\x8c \320\xb0\xd0\xba\321\x82\xd0\xb8\320\xb2\320\xb8\xd1\200\320\xbe\320\xb2\xd0\260\320\275\320\275\321\x8b\xd0\271 \320\277\321\x80\320\xbe\xd0\274\320\276\320\272\xd0\xbe\320\264"); goto LoQua; wj1hh: goto QSdTs; goto rwmCd; LoQua: $this->menu($menupage); goto S0ymZ; S0ymZ: goto LYOls; goto QPUxl; syeNF: $this->order($id, $menupage); goto PqGNn; qIVIB: $this->payOrder($id, $r["server"], $menupage, 1); goto wj1hh; HP4pw: BW9gz: goto HdqpA; QCDVj: $id = $this->sql("insert into orders(tgid, server, price, quant, life, promo, paid, paid_time) values (:tgid, :server, :price, :quant, :life, :promo, :paid, :paidtime);SELECT LAST_INSERT_ID();", [":tgid" => $this->rtkAD["from"], ":server" => $r["server"], ":price" => $r["price"], ":quant" => $r["quant"], ":life" => $r["duration"], ":paid" => $r["price"] ? 0 : 1, ":paidtime" => $r["price"] ? null : date("Y-m-d H:i:s"), ":promo" => $code], "one", nextRowset: 1); goto Jium5; PqGNn: QSdTs: goto Tvihj; d9P5Q: if (!($r = $this->sql("select o.* from clients c join orders o on c.id=o.created where c.tgid!=:tgid and SUBSTRING(sha1(c.private), 1, 7)=:promo", [":promo" => $m[1], ":tgid" => $this->rtkAD["from"]], "row"))) { goto BW9gz; } goto IUsMz; CCxLB: if (!empty($id) && !empty($r["price"])) { goto iMKNl; } goto AdkO6; dMoeg: $this->menu($menupage); goto LkF7D; Jium5: lJ0MT: goto AZatM; P81Y8: uulfi: goto d9P5Q; J4Hln: iMKNl: goto qIVIB; IUsMz: $id = $this->sql("insert into orders(tgid, server, price, quant, life, promo) values (:tgid, :server, :price, :quant, :life, :promo);SELECT LAST_INSERT_ID();", [":tgid" => $this->rtkAD["from"], ":server" => $r["server"], ":price" => $r["price"], ":quant" => $r["quant"], ":life" => $r["life"], ":promo" => $code], "one", nextRowset: 1); goto HP4pw; QPUxl: e0Abl: goto FE7aq; rwmCd: tTtl_: goto syeNF; LkF7D: goto QSdTs; goto J4Hln; aR8o5: if (!$this->sql("select 1 from orders where tgid=:tgid and promo is not null", [":tgid" => $this->rtkAD["from"]], "one")) { goto e0Abl; } goto e9I6_; ZX3tU: $this->send($this->rtkAD["chat"], "\320\275\320\265\xd0\262\320\xb5\xd1\x80\xd0\xbd\321\x8b\xd0\xb9 \xd0\277\321\x80\xd0\276\xd0\xbc\xd0\276\xd0\272\xd0\xbe\320\264"); goto dMoeg; HdqpA: i3zqa: goto CCxLB; FE7aq: if (preg_match("~^cl(.+)~", $code, $m)) { goto uulfi; } goto LdLj1; AZatM: goto i3zqa; goto P81Y8; Sm24k: } public function orders($orderpage = 0) { goto S0LpC; zf4pn: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", []), $data ?: false); goto wcj2B; p5eSJ: $data[] = $this->paginate($count, $this->qS1n1, $orderpage, "/orders ~page~"); goto ZAm4_; DAjjh: foreach ($orders as $k => $v) { goto SEDM_; t4HJi: eNq8T: goto W4PgO; SEDM_: $status = $v["paid"] ? "\xd0\276\320\xbf\320\xbb\xd0\260\321\207\xd0\265\xd0\xbd" : "\320\266\xd0\xb4\320\265\xd1\202 \xd0\xbe\xd0\277\320\273\xd0\xb0\321\x82\321\x8b"; goto cF6WM; cF6WM: $status .= $v["client"] ? " - \xd0\277\321\200\xd0\xbe\xd0\264\xd0\xbb\xd0\xb5\320\275\xd0\xb8\320\265 #{$v["client"]}" : ''; goto a0ZAz; a0ZAz: $data[] = [["text" => "#{$v["id"]} {$v["tgid"]} ({$status}): " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " / " . $this->getTime($v["life"]), "callback_data" => "/orderAdmin {$v["id"]}_{$orderpage}"]]; goto t4HJi; W4PgO: } goto nWjBq; CB73X: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto zf4pn; mWlLl: R2zni: goto gAt15; gAt15: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/orders {$orderpage}"]]; goto CB73X; PHIpY: if (!($count > $this->qS1n1)) { goto Hk2qT; } goto p5eSJ; nWjBq: MKu_n: goto PHIpY; S0LpC: if (!($count = $this->sql("select count(*) from orders where paid=0", view: "one"))) { goto R2zni; } goto aLqua; ZAm4_: Hk2qT: goto mWlLl; aLqua: $orders = $this->sql("select o.*, s.name, s.ip, s.port from orders o join servers s on s.id=o.server where o.paid=0 limit {$this->qS1n1} offset " . $orderpage * $this->qS1n1); goto DAjjh; wcj2B: } public function orderAdmin($id, $orderpage) { goto l3zrG; DSt22: $data[] = [["text" => $this->i18n("delete"), "callback_data" => "/deleteOrder {$id}_{$orderpage}_orders"], ["text" => $this->i18n("confirm"), "callback_data" => "/confirmOrder {$id}_{$orderpage}"]]; goto RN6Nc; RN6Nc: Q3ObL: goto Qnq4J; VIfYc: $status = $order["paid"] ? "\xd0\276\xd0\277\xd0\xbb\xd0\260\321\207\xd0\xb5\xd0\xbd" : "\xd0\xb6\320\xb4\xd0\265\321\x82 \xd0\276\320\xbf\320\273\320\xb0\xd1\x82\321\213"; goto iWMxc; l3zrG: 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 Q3ObL; } goto VIfYc; EmrsB: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"]; goto e0HMy; Qnq4J: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/orders {$orderpage}"]]; goto SzYJt; e0HMy: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["ip"]}:{$order["port"]}") . " / " . $this->getTime($order["life"]); goto DSt22; SzYJt: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", $text ?: []), $data ?: false); goto vgSoq; iWMxc: $status .= $order["client"] ? " - \320\277\321\x80\320\276\xd0\264\xd0\xbb\320\xb5\xd0\xbd\xd0\xb8\xd0\265 #{$order["client"]}" : ''; goto EmrsB; vgSoq: } 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 C5T2e; C5T2e: $pages = (int) ceil($all / $limit); goto XmZJw; XmZJw: $prev = $page - 1 < 0 ? $pages - 1 : $page - 1; goto JyL9b; JyL9b: $next = $page + 1 >= $pages ? 0 : $page + 1; goto axk5E; axk5E: 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 PhK9A; PhK9A: } public function servers($serverpage = 0) { goto R85jr; veCWn: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/servers {$serverpage}"]]; goto TDkR6; P9WFV: foreach ($s as $k => $v) { goto vgITK; XDHoP: $online = strtotime($v["last_online"]) + $v["sleep"] < time() ? "offline" : ''; goto ClH2o; vgITK: $download = $this->getBytes($v["download"]); goto AnRLF; AnRLF: $upload = $this->getBytes($v["upload"]); goto XDHoP; ClH2o: $data[] = [["text" => $online . " " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " clients: {$v["clients"]}/{$v["cells"]} \342\206\x93{$download} \342\x86\221{$upload}", "callback_data" => "/server {$v["id"]}_{$serverpage}"]]; goto HRSbS; HRSbS: CFhlx: goto bYEEm; bYEEm: } goto LpNpe; TDkR6: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto kxbAD; u2sCC: $data[] = $this->paginate($c, $this->qS1n1, $serverpage, "/servers ~page~"); goto rurwG; NB06q: if (!($c > $this->qS1n1)) { goto VEqw6; } goto u2sCC; GhCk4: $s = $this->sql("select *,\xa                                    (select count(*) from clients where server=servers.id) clients,
                                    (select sum(session_download) + sum(download) from clients where server=servers.id) download,\xa                                    (select sum(session_upload) + sum(upload) from clients where server=servers.id) upload\xa                            from servers order by name limit {$this->qS1n1} offset " . $serverpage * $this->qS1n1); goto P9WFV; kxbAD: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", []), $data ?: false); goto Gkv9w; rurwG: VEqw6: goto abTjW; R85jr: if (!($c = $this->sql("select count(*) from servers", view: "one"))) { goto Qsk5Z; } goto GhCk4; abTjW: Qsk5Z: goto veCWn; LpNpe: JWviO: goto NB06q; Gkv9w: } public function getClients($call, $server = 0, $serverpage = 0, $clientpage = 0) { goto eYMMA; eYMMA: if (!($count = $this->sql("select count(*) from clients where if(:id=0, true, server=:id)", [":id" => $server], "one"))) { goto JrF3g; } goto msfAs; ZbDe2: foreach ($clients as $k => $v) { goto aaV_8; aaV_8: $life = $v["life"] ? $this->getTime(strtotime($v["life"]) - time()) : "\xe2\x88\x9e"; goto Hv10Y; LdtcR: $data[] = [["text" => "#{$v["id"]} {$on} {$name} \342\x86\223{$d} \xe2\x86\221{$u}   {$life}", "callback_data" => "/client {$call}_{$v["id"]}_{$server}_{$serverpage}_{$clientpage}"]]; goto QUiGE; RaPTN: $u = $this->getBytes($v["upload"] + $v["session_upload"]); goto LdtcR; Hv10Y: $on = $v["on_off"] && !$v["public"] ? "(wait create)" : ''; goto Ddp1E; QUiGE: DOKds: goto VZMF4; SYVmk: $d = $this->getBytes($v["download"] + $v["session_download"]); goto RaPTN; Ddp1E: $name = $v["name"] ?: $v["tgid"]; goto SYVmk; VZMF4: } goto W04Bt; jCQ5i: return $data ?: []; goto AlXfX; sWYzB: if (!($count > $this->qS1n1)) { goto u9ZGL; } goto dpK6z; msfAs: $clients = $this->sql("select * from clients where if(:id=0, true, server=:id) limit {$this->qS1n1} offset " . $clientpage * $this->qS1n1, [":id" => $server]); goto ZbDe2; dpK6z: $data[] = $this->paginate($count, $this->qS1n1, $clientpage, "/{$call} {$server}_{$serverpage}_~page~"); goto Z85dl; L0ErF: JrF3g: goto jCQ5i; Z85dl: u9ZGL: goto L0ErF; W04Bt: N31OC: goto sWYzB; AlXfX: } public function clients($server_id = 0, $serverpage = 0, $clientpage = 0) { goto tJIe2; JspNl: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/clients {$server_id}_{$serverpage}_{$clientpage}"]]; goto pKFPz; pKFPz: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]]; goto FJtd5; FJtd5: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", []), $data ?: false); goto g2ozo; tJIe2: $data = $this->getClients("clients", $server_id, $serverpage, $clientpage); goto JspNl; g2ozo: } public function peer($id, $menupage) { goto zkPWD; GQwc3: $c["refer_count"] = $this->sql("select count(*) from orders where created!=0 and promo=:promo", [":promo" => $h], "one"); goto vEfdl; OdSZy: Q3ZFi: goto GQwc3; X5XHt: $data[] = [["text" => $this->i18n("rename"), "callback_data" => "/sendReply enter name_userRename_{$id}_{$menupage}"]]; goto ONFol; h_NY1: $data[] = [["text" => $this->i18n("prolong"), "callback_data" => "/prolong {$id}_{$menupage}"]]; goto Vk3CT; c21Gq: if (!$this->sql("select 1 from orders where created=:id", [":id" => $c["id"]], "one")) { goto Q3ZFi; } goto ORUwC; zkPWD: $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 oytlU; lCpPc: $u = $this->getInfoUser($c["tgid"])["result"]["user"]["first_name"]; goto y_UuL; ONFol: U3nDB: goto L8Xb_; y_UuL: $c["name"] = $c["name"] ?: "{$u} ({$c["tgid"]})"; goto jBBZp; BqRpO: gTp_C: goto AozUb; L8Xb_: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]]; goto vyO40; jBBZp: if (!$c["private"]) { goto q3ljR; } goto HPdGY; C6wWJ: $text[] = $this->template("ur", $c); goto h_NY1; HPdGY: $h = "cl" . substr(hash("sha1", $c["private"]), 0, 7); goto c21Gq; F3Rca: $data[] = [["text" => $this->i18n("amnezia"), "callback_data" => "/amnezia {$id}"]]; goto X5XHt; vEfdl: q3ljR: goto C6wWJ; Vk3CT: if (!$c["on_off"]) { goto U3nDB; } goto K18ze; suz2B: $c["code"] = $this->qrPeer($id, return: 1); goto BqRpO; oytlU: if (!$c["on_off"]) { goto gTp_C; } goto suz2B; AozUb: $c["life"] = $c["life"] ? $this->getTime(strtotime($c["life"]) - time()) : "\342\210\236"; goto lCpPc; ORUwC: $c["refer_link"] = "https://t.me/{$this->request("getMe", [])["result"]["username"]}?start={$h}"; goto OdSZy; vyO40: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text ?: []), $data ?: false); goto pxo89; K18ze: $data[] = [["text" => $this->i18n("qr"), "callback_data" => "/qrPeer {$id}"], ["text" => $this->i18n("download"), "callback_data" => "/qrPeer {$id}_1"]]; goto F3Rca; pxo89: } public function amnezia($id) { $link = $this->sql("select amnezia from clients where id=:id", [":id" => $id], "one"); $this->send($this->rtkAD["from"], "<code>{$link}</code>"); } public function qrPeer($id, $download = 0, $return = false) { goto VxekM; E3iXB: $replacement = $this->getSetting("repl"); goto FqF3M; nfq3Q: if (!$return) { goto KTAdh; } goto OPLRs; WhgJe: $code = "[Interface]
PrivateKey = {$c["private"]}
Address = {$c["ip"]}
MTU = 1350\xaDNS = {$dns}\xa\xa[Peer]
PublicKey = {$c["server_hash"]}
Endpoint = {$d}:{$c["port"]}
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 20"; goto nfq3Q; wWkce: $template = preg_replace("/~port~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $c["port"]), $template); goto vZy61; VxekM: $c = $this->sql("select c.*, s.ip server_ip, s.hash server_hash, s.port, s.domain from clients c join servers s on s.id=c.server where c.id=:id", [":id" => $id], "row"); goto ONToN; GjYjR: if ($download) { goto YnRnd; } goto YeQDu; FqF3M: $bot = $this->request("getMyName", [])["result"]["name"]; goto IbC38; pAhdt: $dns = $this->getSetting("dns") ?: "1.1.1.1, 8.8.8.8"; goto WhgJe; YeQDu: exec("qrencode -t png -o {$path} '{$code}'"); goto Xg_kt; IbC38: $template = preg_replace("/~bot~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $bot), $template); goto EVsZh; Xg_kt: $this->sendPhoto($this->rtkAD["chat"], curl_file_create($path), $template); goto ngOjL; vZy61: $template = preg_replace("/~id~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $c["id"]), $template); goto GjYjR; h4P_q: YnRnd: goto wn0SL; iDM9y: $this->sendFile($this->rtkAD["chat"], curl_file_create($path, posted_filename: $template)); goto fuJDy; ONToN: $d = $c["domain"] ?: $c["server_ip"]; goto pAhdt; ngOjL: goto vUPLX; goto h4P_q; EVsZh: $template = preg_replace("/~ip~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $d), $template); goto wWkce; H2fna: $path = __DIR__ . "/qr/{$id}"; goto qPbJ4; OPLRs: return $code; goto Vz6Ey; Vz6Ey: KTAdh: goto H2fna; Pd20k: unlink($path); goto buJDe; qPbJ4: $template = $this->getSetting("temp"); goto E3iXB; wn0SL: file_put_contents($path, $code); goto iDM9y; fuJDy: vUPLX: goto Pd20k; buJDe: } public function testPeriod($id, $menupage) { goto oChM_; KOk4A: $this->menu($menupage); goto nYrkX; f8zvr: $this->sql("insert into clients(tgid, server, on_off, ip, life) values (:tgid, :server, 1, :ip, :life)", [":tgid" => $this->rtkAD["from"], ":server" => $id, ":ip" => $this->nextIP($id), ":life" => date("Y-m-d H:i:s", time() + $s["test_time"])]); goto CjMY_; CjMY_: tEc6o: goto KOk4A; oChM_: if (!($s = $this->sql("select * from servers where id=:id and pay=1 and test_time > 0", [":id" => $id], "row"))) { goto tEc6o; } goto f8zvr; nYrkX: } public function serverUser($id, $menupage = 0) { goto dcUI0; aJT45: qGukS: goto w6L6p; bfupS: foreach ($p as $k => $v) { $data[] = [["text" => $this->labelPrice($v), "callback_data" => "/createOrder {$id}_{$v["id"]}_{$menupage}"]]; oCqZL: } goto aQB6o; xiGWg: $subs = $this->sql("select * from clients where tgid=:tgid", [":tgid" => $this->rtkAD["from"]]); goto Ro_YT; CHEqu: khl30: goto xiGWg; P594A: goto qH0i5; goto CHEqu; B8CFo: qH0i5: goto aJT45; GDEtq: $text[] = "\xd0\275\xd0\xb5\xd1\x82 \xd0\xb4\xd0\276\xd1\x81\321\x82\xd1\203\320\277\320\xbd\xd1\x8b\321\x85 \xd1\x81\xd0\273\320\xbe\321\x82\xd0\xbe\xd0\262 \xd0\275\xd0\260 \320\xb4\320\260\xd0\xbd\xd0\275\321\x8b\xd0\271 \xd0\xbc\320\xbe\320\xbc\xd0\xb5\xd0\275\xd1\x82"; goto ej7lI; ajwTt: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text ?: []), $data ?: false); goto cMlrw; NRa_6: if (empty($p = $this->sql("select * from price where server=:server", [":server" => $id]))) { goto tvYH5; } goto bfupS; g6yC3: if (!empty($s["pay"])) { goto khl30; } goto el_mn; p23BZ: $data[] = [["text" => $this->i18n("testPeriod"), "callback_data" => "/testPeriod {$id}_{$menupage}"]]; goto fqCbE; QOKh4: if (empty($data)) { goto M0NWV; } goto jHkHo; Oik3T: $text[] = $this->template("us", $s); goto ajwTt; jHkHo: $text[] = $name; goto WChYg; IQCFJ: tvYH5: goto QOKh4; ej7lI: qW75w: goto B8CFo; Lv9w7: M0NWV: goto GDEtq; fqCbE: CMpv3: goto NRa_6; WChYg: goto qW75w; goto Lv9w7; nAAqh: $name = $s["name"] ?: "{$s["ip"]}:{$s["port"]}"; goto g6yC3; dcUI0: if (!($s = $this->sql("select * from servers where id=:id and pay=1", [":id" => $id], "row"))) { goto qGukS; } goto nAAqh; aQB6o: mins5: goto IQCFJ; Ro_YT: if (!(!empty($s["test_time"]) && empty($subs))) { goto CMpv3; } goto p23BZ; el_mn: $text[] = "{$name} \xd0\275\xd0\xb5 \xd0\264\xd0\xbe\xd1\201\xd1\x82\xd1\203\320\277\320\265\xd0\275 \xd0\xbd\320\260 \xd0\264\320\260\xd0\xbd\320\275\321\x8b\xd0\xb9 \xd0\xbc\xd0\276\320\274\320\265\xd0\275\321\x82"; goto P594A; w6L6p: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/buy {$menupage}"]]; goto Oik3T; cMlrw: } public function createOrder($server, $price, $menupage, $client = null) { $id = $this->sql("insert into orders(tgid, server, price, stars, quant, life, client) values (:tgid, :server, (select price from price where id=:price), (select stars from price where id=:price), (select quant from price where id=:price), (select life from price where id=:price), :client);SELECT LAST_INSERT_ID();", [":tgid" => $this->rtkAD["from"], ":server" => $server, ":price" => $price, ":client" => $client], "one", nextRowset: 1); $this->payOrder($id, $server, $menupage); } public function server($id, $serverpage = 0, $clientpage = 0) { goto j_xO3; iPcA0: Hx4Lu: goto Vt1kJ; Lur6v: $text[] = "<b>server</b>: {$name}\xa<b>sleep</b>: {$server["sleep"]}\xa<b>cells</b>: {$server["cells"]}
<b>limits for user</b>: {$server["limits"]}
<b>test time</b>: {$this->getTime($server["test_time"])}\xa<b>pay</b>: {$pay}
<b>hash</b>: {$server["hash"]}\xa<b>domain</b>: {$server["domain"]} (needs to be set to {$this->l4Nwz})

<b>description:</b>
{$server["description"]}"; goto croSg; j_xO3: if (!($server = $this->sql("select * from servers where id=:id", [":id" => $id], "row"))) { goto Hx4Lu; } goto JNECB; ZMY1b: $data = array_merge($data, $clients); goto Ebwzy; Ol0cm: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("
", $text ?: []), $data ?: false); goto x_6rJ; obP9S: if (!($clients = $this->getClients("server", $server["id"], $serverpage, $clientpage))) { goto meijH; } goto ZMY1b; aCWF4: $name = $server["name"] ?: "{$server["ip"]}:{$server["port"]}"; goto Lur6v; Vt1kJ: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/servers {$serverpage}"]]; goto Ol0cm; JNECB: $pay = $server["pay"] ? "on" : "off"; goto aCWF4; croSg: $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 obP9S; Ebwzy: meijH: goto iPcA0; x_6rJ: } public function exportServer($id, $serverpage, $clientpage) { goto sm5Ga; Z9PNc: unlink($path); goto CBxak; ulBz0: $path = "/tmp/wg0.conf"; goto OwCQk; pfVgK: $text[] = "[Interface]\xaPrivateKey = {$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\xa"; goto FQiv8; OwCQk: file_put_contents($path, implode("
", $text)); goto xBigE; xBigE: $this->sendFile($this->rtkAD["chat"], curl_file_create($path)); goto Z9PNc; xBvBR: foreach ($c as $k => $v) { goto oU0kv; oU0kv: $name = $v["name"] ?: $v["tgid"]; goto u1BRV; TUhqh: yUUlf: goto jBuJg; u1BRV: $text[] = "[Peer]\xa# id = {$v["id"]}\xa# download = {$v["download"]}
# upload = {$v["upload"]}\xa# friendly_name = {$name}
# life = {$v["life"]}
PublicKey = {$v["public"]}
AllowedIPs = {$v["ip"]}
"; goto TUhqh; jBuJg: } goto gpW5h; sm5Ga: $s = $this->sql("select * from servers where id=:id", [":id" => $id], "row"); goto zNNPD; FQiv8: if (empty($c)) { goto i5osy; } goto xBvBR; h1GUn: i5osy: goto ulBz0; gpW5h: JpzZX: goto h1GUn; zNNPD: $c = $this->sql("select * from clients where server=:id and on_off=1", [":id" => $id]); goto pfVgK; CBxak: } public function configServer($id, $serverpage, $clientpage) { goto ECdf6; o_X1Q: $r = $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text ?: []), $data ?: false); goto iVWjf; uhYPW: $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 hMRBk; lYw_5: $data[] = [["text" => $this->i18n("switchPay"), "callback_data" => "/payServerSwitch {$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("delete"), "callback_data" => "/sendReply enter 'delete'_unsetServer_{$id}_{$serverpage}"]]; goto nBfM2; gNCyq: $data[] = [["text" => $this->i18n("cellsServer"), "callback_data" => "/sendReply enter seconds sleep_uSS_cells_{$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("sleepServer"), "callback_data" => "/sendReply enter seconds sleep_uSS_sleep_{$id}_{$serverpage}_{$clientpage}"]]; goto bkC0h; nBfM2: u3D33: goto W5ZcA; W5ZcA: $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 q2wrw; q2wrw: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpConfigServer {$id}_{$serverpage}_{$clientpage}"]]; goto gvo6J; MB4iS: $torrent = $server["torrent"] ? "on" : "off"; goto SgT3U; SgT3U: $name = $server["name"] ?: "{$server["ip"]}:{$server["port"]}"; goto Rhzvd; yaodA: $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 gNCyq; vAzW7: $pay = $server["pay"] ? "on" : "off"; goto MB4iS; gvo6J: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/server {$id}_{$serverpage}_{$clientpage}"]]; goto o_X1Q; hMRBk: $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 yaodA; Rhzvd: $text[] = "<b>server</b>: {$name}\xa<b>sleep</b>: {$server["sleep"]}\xa<b>cells</b>: {$server["cells"]}
<b>limits for user</b>: {$server["limits"]}
<b>test time</b>: {$this->getTime($server["test_time"])}
<b>pay</b>: {$pay}\xa<b>torrent</b>: {$torrent}
<b>domain</b>: {$server["domain"]} (needs to be set to {$this->l4Nwz})\xa
<b>description:</b>\xa{$server["description"]}"; goto uhYPW; bkC0h: $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 lYw_5; ECdf6: if (!($server = $this->sql("select * from servers where id=:id", ["id" => $id], "row"))) { goto u3D33; } goto vAzW7; iVWjf: } public function addPromo($text, $id, $serverpage, $clientpage) { goto TLn0v; MpTDw: $this->sql("insert into promo(title, server, price, duration, quant) values (:title, :server, :price, :duration, :quant)", [":title" => $code, ":server" => $id, ":price" => $price, ":quant" => $quant, ":duration" => strtotime($life, 0)]); goto OPQM1; TLn0v: [$code, $quant, $price, $life] = array_map(fn($e) => trim($e), explode("=", $text)); goto MpTDw; OPQM1: $this->promo($id, $serverpage, $clientpage); goto n3fHy; n3fHy: } 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 tl7eA; vt4e5: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like code=quant=price=time_addPromo_{$id}_{$serverpage}_{$clientpage}"]]; goto CxIZX; tl7eA: $data[] = [["text" => "{$this->i18n("referal bonus")}: " . $this->getTime($this->sql("select bonustime from servers where id=:id", [":id" => $id], "one")), "callback_data" => "/sendReply enter time_setBonusTime_{$id}_{$serverpage}_{$clientpage}"]]; goto vt4e5; cLE2m: vWjZl: goto FAcAQ; FAcAQ: g1XsU: goto CwYFR; pt31U: foreach ($r as $k => $v) { $data[] = [["text" => "{$this->i18n("delete")} {$v["title"]} = x{$v["quant"]} = {$v["price"]} \xe2\x82\xbd = {$this->getTime($v["duration"])}", "callback_data" => "/delPromo {$v["id"]}_{$id}_{$serverpage}_{$clientpage}"]]; GfOHR: } goto cLE2m; CxIZX: if (!($r = $this->sql("select * from promo where server=:server", [":server" => $id]))) { goto g1XsU; } goto pt31U; ZEoEO: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", []), $data ?: false); goto VNSsa; CwYFR: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]]; goto ZEoEO; VNSsa: } 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 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 D03oP; D03oP: if (!($text == "delete")) { goto jlQRE; } goto dIesQ; bBAuG: $this->sql("delete from servers where id=:id", [":id" => $id]); goto yDQLP; UqWA7: $this->servers($serverpage); goto m2MXH; dIesQ: $this->sql("delete from price where server=:id", [":id" => $id]); goto M5RHR; yDQLP: jlQRE: goto UqWA7; M5RHR: $this->sql("delete from clients where server=:id", [":id" => $id]); goto bBAuG; m2MXH: } public function client($call, $id, $server_id, $serverpage, $clientpage) { goto V0JoU; kjio6: $name = ($c["name"] ? "{$c["name"]} ({$c["tgid"]})" : $c["tgid"]) . " {$u}"; goto wenF5; UfhQ0: if (!$c["public"]) { goto KG0z3; } goto cSv1p; cSv1p: $data[] = [["text" => $this->i18n("qr"), "callback_data" => "/qrPeer {$id}"], ["text" => $this->i18n("download"), "callback_data" => "/qrPeer {$id}_1"]]; goto fGog5; fGog5: KG0z3: goto cdYz3; ZDSdY: $upload = $this->getBytes($c["session_upload"] + $c["upload"]); goto jM4S9; IAH8R: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", array_filter($text) ?: []), $data ?: false); goto e6GoQ; X3NwA: $download = $this->getBytes($c["session_download"] + $c["download"]); goto ZDSdY; rmSSn: $u = $this->getInfoUser($c["tgid"])["result"]["user"]["first_name"]; goto kjio6; PmXDg: $text[] = $c["handshake"] ? $this->getTime(time() - $c["handshake"]) . " \320\xbd\xd0\xb0\320\xb7\320\260\xd0\xb4" : ''; goto ZwUFH; ZwUFH: $text[] = "\342\x86\223{$download}  \xe2\206\x91{$upload}"; goto Y9efk; Y9efk: $text[] = $life ?: ''; goto cH0fl; bDOeX: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/{$call} {$server_id}_{$serverpage}_{$clientpage}"]]; goto rmSSn; omrHK: CIv2g: goto IAH8R; wenF5: $life = $this->getTime(strtotime($c["life"]) - time()); goto X3NwA; ic7hp: $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 UfhQ0; V0JoU: $c = $this->sql("select * from clients where id=:id", [":id" => $id], "row"); goto ic7hp; cH0fl: if ($c["ip"]) { goto CIv2g; } goto ctocY; aXlcJ: $text[] = "<code>{$code}</code>\xa"; goto xLXXC; cdYz3: $data[] = [["text" => $this->i18n("rename"), "callback_data" => "/sendReply enter name client_renameClient_{$call}_{$id}_{$server_id}_{$serverpage}_{$clientpage}"]]; goto bDOeX; ctocY: $text[] = "<b>\xd0\276\xd0\xb6\320\270\320\264\320\xb0\320\265\xd1\x82 \321\201\320\276\xd0\267\320\264\320\260\xd0\275\xd0\xb8\xd1\217</b>"; goto omrHK; xLXXC: $text[] = "#{$c["id"]} {$name}"; goto PmXDg; K1ziA: $code = $this->qrPeer($id, return: 1); goto aXlcJ; jM4S9: $ip = explode(":", $c["external_ip"])[0]; goto K1ziA; e6GoQ: } public function getBytes($bytes) { goto txkil; IEqyp: foreach ($t as $k => $v) { goto OEKbt; CHLgF: LoZv6: goto SZpro; Yd9aS: goto LoZv6; goto Wm8_q; aaJBd: XY5JY: goto CHLgF; b7vQg: if (!($bytes / 1024 ** $k < 1)) { goto XY5JY; } goto BNrnH; OEKbt: if (!($k == 0)) { goto Wz3Do; } goto Yd9aS; BNrnH: return round($bytes / 1024 ** ($k - 1), 2) . " {$t[$k - 1]}"; goto aaJBd; Wm8_q: Wz3Do: goto b7vQg; SZpro: } goto piB2Y; txkil: $t = ["B", "KB", "MB", "GB", "TB"]; goto IEqyp; piB2Y: cc89C: goto MmSkl; MmSkl: } public function userRename($name, $id, $menupage) { goto CtR7I; nphVg: LGC8M: goto pwFCt; ryXyc: XE2dT: goto yaFaQ; OtYnj: goto LGC8M; goto ryXyc; pwFCt: $this->peer($id, $menupage); goto cS7Pb; CtR7I: if ($name) { goto XE2dT; } goto mh1Zu; yaFaQ: $this->sql("update clients set name=:name where id=:id", [":id" => $id, ":name" => $name]); goto nphVg; mh1Zu: $this->sql("update clients set name="" where id=:id", [":id" => $id]); goto OtYnj; cS7Pb: } public function renameClient($name, $call, $id, $server_id, $serverpage, $clientpage) { goto YHUVF; Cgsm1: R6pg_: goto okAvq; YHUVF: if ($name) { goto R6pg_; } goto kai5G; PwWTY: goto z4DmA; goto Cgsm1; okAvq: $this->sql("update clients set name=:name where id=:id", [":id" => $id, ":name" => $name]); goto owI0M; kai5G: $this->sql("update clients set name="" where id=:id", [":id" => $id]); goto PwWTY; nNIf1: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto QONof; owI0M: z4DmA: goto nNIf1; QONof: } public function clientPrices($id, $serverpage, $clientpage) { goto Uh02l; OI0mH: AOcfz: goto u4qXB; O4eoh: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/server {$id}_{$serverpage}_{$clientpage}"]]; goto PQXg7; u4qXB: S3duu: goto O4eoh; YWNq6: if (!$prices) { goto S3duu; } goto uGggy; PQXg7: $text[] = "prices"; goto d9Ym3; JMAT8: $prices = $this->sql("select * from price where server=:id", [":id" => $id]); goto YWNq6; d9Ym3: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text ?: []), $data ?: false); goto SQTB3; Uh02l: $data[] = [["text" => "\342\x88\x9e", "callback_data" => "/sendReply enter telegram id_clientAdd_0_{$id}_{$serverpage}"]]; goto JMAT8; uGggy: foreach ($prices as $k => $v) { $data[] = [["text" => $this->getTime($v["life"]), "callback_data" => "/sendReply enter telegram id_clientAdd_{$v["id"]}_{$id}_{$serverpage}"]]; fPLmK: } goto OI0mH; SQTB3: } public function clientAdd(int $tgid, $price_id, $id, $serverpage) { goto zsqCA; TEBgP: K4MjJ: goto jQEep; Qp9Vx: ko590: goto eKJ1P; LlnNL: goto K4MjJ; goto fAU8c; fAU8c: C2XfH: goto JFA1b; zsqCA: if (!$tgid) { goto ko590; } goto tNfjs; jQEep: $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 Qp9Vx; FXQuB: $life = 0; goto LlnNL; eKJ1P: $c = $this->sql("select count(*) from clients where server=:id", [":id" => $id], "one"); goto PAugo; tNfjs: if ($price_id) { goto C2XfH; } goto FXQuB; aB0EU: $life = $this->sql("select life from price where id=:id", [":id" => $price_id], "one"); goto TEBgP; PAugo: $this->server($id, $serverpage, (int) ceil($c / $this->qS1n1) - 1); goto M0pLY; JFA1b: $server = $this->sql("select * from servers where id=:id", [":id" => $id], "row"); goto aB0EU; M0pLY: } public function nextIP($server) { goto CiGI6; xNdse: $ip_count = (1 << 32 - 24) - count($ips) - 1; goto dk6mT; zo4yD: if (!($i < $ip_count)) { goto t5HqU; } goto bcZj_; eI8NX: fP4cn: goto eKcMy; dk6mT: $i = 1; goto eqk4u; ejRHT: return false; goto zfpc3; bcZj_: $ip = $i + ip2long("10.0.1.1"); goto j5S0r; eqk4u: SSqjH: goto zo4yD; j5S0r: if (in_array($ip, $ips)) { goto fP4cn; } goto SdOxB; vAsBn: MRQWy: goto xNdse; SdOxB: return long2ip($ip) . "/32"; goto eI8NX; G0dNe: goto SSqjH; goto jflJF; eKcMy: N5nsA: goto LmabE; LmabE: $i++; goto G0dNe; CiGI6: $r = array_unique(array_merge(["10.0.1.1/24"], $this->sql("select ip from clients where server=:id", [":id" => $server], "column") ?: [])); goto HJJZ1; HJJZ1: foreach ($r as $k => $v) { $ips[] = ip2long(explode("/", $v)[0]); r4VSC: } goto vAsBn; jflJF: t5HqU: goto ejRHT; zfpc3: } public function labelPrice($price, $notquant = 0) { goto N8ApP; BuDgO: return "{$this->getTime($price["life"])} = " . $this->i18n("x{$price["quant"]}") . " = {$price["price"]} \342\x82\275 = {$price["stars"]} \342\x98\206"; goto ObXSe; lzgX0: return "{$this->getTime($price["life"])} = {$price["price"]} \342\x82\xbd = {$price["stars"]} \xe2\230\206"; goto rCbvV; N8ApP: if (!$notquant) { goto hXdVf; } goto lzgX0; rCbvV: hXdVf: goto BuDgO; ObXSe: } public function price($id, $serverpage, $clientpage) { goto FS0Va; Dwrhx: wihgO: goto bLuqi; run4S: foreach ($prices as $k => $v) { $data[] = [["text" => $this->i18n("delete") . " " . $this->labelPrice($v), "callback_data" => "/deletePrice {$v["id"]}_{$id}_{$serverpage}_{$clientpage}"]]; dLpmH: } goto i2b3F; Y3mkp: if (!$prices) { goto wihgO; } goto run4S; i2b3F: Vc40F: goto Dwrhx; FS0Va: $text[] = "period=quantity=RUB=Stars
example: 1day=1=100
example: 1day=1=100=1000"; goto OtpCH; OtpCH: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like period=quantity=RUB=Stars_setPrice_{$id}_{$serverpage}_{$clientpage}"]]; goto j2BwS; bLuqi: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]]; goto afGV0; afGV0: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], implode("\xa", $text), $data ?: false); goto A8tXp; j2BwS: $prices = $this->sql("select * from price where server=:id", [":id" => $id]); goto Y3mkp; A8tXp: } public function setTimeClient($time, $call, $id, $server_id, $serverpage, $clientpage) { $this->sql("update clients set life=:time, on_off=1 where id=:id", [":id" => $id, ":time" => $time ? date("Y-m-d H:i:s", strtotime($time)) : null]); $this->client($call, $id, $server_id, $serverpage, $clientpage); } public function delClient($text, $call, $id, $server_id, $serverpage, $clientpage) { goto DjdWl; lPOkF: SaQS0: goto jVV0l; DjdWl: if (!($text == "delete")) { goto SaQS0; } goto Gfs54; Gfs54: $this->sql("delete from clients where id=:id", [":id" => $id]); goto lPOkF; jVV0l: $this->{$call}($server_id, $serverpage, $clientpage); goto kTQKM; kTQKM: } public function setPrice($text, $id, $serverpage, $clientpage) { goto ObSla; bTXPq: $this->price($id, $serverpage, $clientpage); goto DnxP1; S3Wft: $life = strtotime($life, 0); goto MOI_k; ObSla: [$life, $quant, $price, $stars] = array_map(fn($e) => trim($e), explode("=", $text)); goto S3Wft; MOI_k: if (!($life > 0 and ($price > 0 or $stars > 0))) { goto Tr6oE; } goto uZR0i; JQNjV: Tr6oE: goto bTXPq; uZR0i: $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 JQNjV; DnxP1: } 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 MyiEK; hxf5M: $n = $s["name"] ?: "{$s["ip"]}:{$s["port"]}"; goto Xu9uC; Flt9E: $this->uSS($r["result"]["message_id"], "ping", $id, $serverpage, $clientpage); goto q6xTr; Xu9uC: $r = $this->send($this->rtkAD["chat"], "ping {$n}
expect a response to this message within {$s["sleep"]} seconds"); goto Flt9E; MyiEK: $s = $this->sql("select * from servers where id=:id", [":id" => $id], "row"); goto hxf5M; q6xTr: } public function getTime(int $seconds) { goto BLYaQ; aoRj1: return "off"; goto V5cyV; atO9t: if (!($seconds == 0)) { goto HxfEX; } goto aoRj1; wwq4B: return trim($text) ?: 0; goto Kvg76; BLYaQ: $seconds = $seconds > 0 ? $seconds : 0; goto atO9t; ULWGW: foreach ($items as $k => $v) { goto Xd8YF; CQRlM: ykpnX: goto sDGay; FrAqe: $text .= " {$t} {$v["sign"]}"; goto CQRlM; sDGay: bDpro: goto kYnva; Xd8YF: if (!(($t = gmdate($k, $seconds) - $v["diff"]) > 0)) { goto ykpnX; } goto FrAqe; kYnva: } goto ioi3X; V5cyV: HxfEX: goto hdoju; ioi3X: as9yh: goto wwq4B; hdoju: $items = ["Y" => ["diff" => 1970, "sign" => "\320\xb3"], "m" => ["diff" => 1, "sign" => "\320\xbc\xd0\xb5\xd1\x81"], "d" => ["diff" => 1, "sign" => "\320\xb4\320\xbd"], "H" => ["diff" => 0, "sign" => "\xd1\207"], "i" => ["diff" => 0, "sign" => "\320\274\320\270\xd0\xbd"], "s" => ["diff" => 0, "sign" => "\321\201"]]; goto ULWGW; Kvg76: } 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 L6Wwk; qA1Xp: bQ680: goto dKUI4; LVNZ1: ED5iB: goto GaAAP; Ra111: goto bQ680; goto LVNZ1; GaAAP: $this->uSS(strtotime($time) - time(), "test_time", $id, $serverpage, $clientpage); goto qA1Xp; x46L1: $this->uSS(0, "test_time", $id, $serverpage, $clientpage); goto Ra111; L6Wwk: if ($time) { goto ED5iB; } goto x46L1; dKUI4:   goto ev3uG; ev3uG:  goto qdwzO; WNxZo: UEQUR: goto yP6dX; qdwzO: if (!$return) { goto dPkp3; } goto Gt9uj; ytcz3: V2Wl4: goto NOBp0; K_5bO: goto JvG6f; goto WNxZo; Gt9uj:  goto NgSSk; NgSSk: dPkp3: goto LGdBn; TZnKj: JvG6f: goto d_Qex; yP6dX: $this->update($this->rtkAD["chat"], $this->rtkAD["message_id"], "\320\264\320\265\320\274\xd0\xbe \xd1\x80\xd0\xb5\320\266\xd0\270\xd0\xbc \xd0\xb7\xd0\xb0\320\xba\xd0\xbe\320\xbd\xd1\x87\320\265\320\xbd"); goto TZnKj; M_qI1: $t = json_decode(file_get_contents("http://worldtimeapi.org/api/timezone/Europe/Samara"), true); goto m9A4h; LGdBn: goto SKHeU;  goto M_qI1; m9A4h:  goto V2Wl4;  goto rP_bg; peI38: $this->send($this->rtkAD["chat"], "\320\xb4\xd0\265\320\xbc\320\276 \321\x80\320\265\xd0\xb6\320\270\320\274 \xd0\xb7\xd0\xb0\xd0\xba\320\xbe\320\xbd\xd1\207\320\265\xd0\275", $this->rtkAD["message_id"]); goto K_5bO; NOBp0: SKHeU: goto FT_9O; rP_bg: if ($this->rtkAD["callback_id"]) { goto UEQUR; } goto peI38; d_Qex: exit; goto ytcz3; FT_9O: } public function createUserDB() { goto hxXqt; CP18P: $this->setcommands(["scope" => ["type" => "chat", "chat_id" => $this->vABj5["admin"]], "commands" => array_merge($this->getcommands(), [["command" => "db", "description" => "{$this->l4Nwz}:{$this->ZA5JX}:{$pass}"], ["command" => "setuser", "description" => "\xd0\xbf\xd0\265\321\x80\320\xb5\320\xba\320\xbb\321\x8e\321\x87\xd0\270\321\202\321\201\321\217 \xd0\xb2 \321\x80\320\265\320\xb6\xd0\xb8\xd0\xbc \320\xbf\320\xbe\320\xbb\xd1\x8c\320\xb7\xd0\276\320\262\320\260\321\x82\320\265\320\273\xd1\217"], ["command" => "setadmin", "description" => "\320\277\xd0\265\321\200\320\xb5\xd0\272\320\273\xd1\x8e\xd1\207\320\xb8\321\x82\xd1\201\321\x8f \320\262 \321\200\320\265\xd0\xb6\xd0\270\xd0\274 \xd0\xb0\320\xb4\xd0\xbc\320\xb8\320\xbd\xd0\xb0"]])]); goto eB2tm; uzfGj: $this->sql("flush privileges"); goto CP18P; HAjha: $this->sql("drop user if exists 'tower'@'%'"); goto HhDHp; e9AS0: $this->sql("grant all on tower.* to 'tower'@'%'"); goto uzfGj; HhDHp: $this->sql("create user 'tower'@'%' identified by '{$pass}'"); goto e9AS0; eB2tm: return $pass; goto j0pTL; hxXqt: $pass = $this->randomPassword(15); goto HAjha; j0pTL: } public function randomPassword($l) { goto Nyh1J; q9JDX: umMXk: goto IHO7A; C9IJ_: $n = rand(0, $alphaLength); goto WHbhQ; XJjSC: iLy_f: goto HQaaS; gJC1Y: $i = 0; goto TvA8B; Ag0hp: if (!($i < $l)) { goto iLy_f; } goto C9IJ_; I1MMQ: goto L3M4I; goto XJjSC; MC31n: $pass = []; goto XFg_L; WHbhQ: $pass[] = $alphabet[$n]; goto q9JDX; IHO7A: $i++; goto I1MMQ; TvA8B: L3M4I: goto Ag0hp; Nyh1J: $alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_*~+-[]()/"; goto MC31n; XFg_L: $alphaLength = strlen($alphabet) - 1; goto gJC1Y; HQaaS: return implode($pass); goto Wt71s; Wt71s: } public function sql(string $sql, array $values = [], string $view = "all", int $column = 0, $nextRowset = 0) { try { goto eiYp2; vjaLg: yYrrU: goto PYOvs; jtRkZ: $nextRowset--; goto q8WeH; bu3K3: LaTmy: goto fw6Rm; PYOvs: 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 FhZIb; ysG1K: $stmt->nextRowset(); goto jtRkZ; nj2Ve: $keys = []; goto TpAJg; q8WeH: goto niTTC; goto vjaLg; JHVVc: GvKX4: goto GArhY; c7L4u: $stmt = $dbh->prepare($sql); goto p6eDA; p6eDA: if ($stmt->execute($values)) { goto LaTmy; } goto HB0QP; OiqJX: x4H36: goto rnqCj; TpAJg: foreach ($values as $k => $v) { goto H6_nu; LZ3xo: MbF86: goto zQwQJ; A71RD: $sql = preg_replace("~[?]~", "'" . $v . "'", $sql, 1); goto MTmsi; psMuk: $sql = preg_replace("~" . preg_quote($k) . "~", "'" . $v . "'", $sql); goto LZ3xo; H6_nu: if (is_string($k)) { goto RopL1; } goto A71RD; zQwQJ: NkGRq: goto JHBKa; G_7xa: RopL1: goto psMuk; MTmsi: goto MbF86; goto G_7xa; JHBKa: } goto JHVVc; IAAVI: if (!$nextRowset) { goto yYrrU; } goto ysG1K; FhZIb: oC4r1: goto s4mL2; eiYp2: if (!("query" == $view)) { goto x4H36; } goto nj2Ve; RU9Cw: qjnzI: goto FwyBo; fw6Rm: niTTC: goto IAAVI; GArhY: return $sql; goto OiqJX; PYOIH: goto qjnzI; goto bu3K3; s4mL2: fLLN6: goto RU9Cw; rnqCj: $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 c7L4u; HB0QP: return false; goto PYOIH; FwyBo: } catch (PDOException $e) { goto Yzr1m; Yzr1m: if (empty($GLOBALS["debug"])) { goto lHMcD; } goto vkBhE; rqBjr: yVM6I: goto VLy1o; UD9qR: goto yVM6I; goto A5hFq; E3Wok: return false; goto rqBjr; A5hFq: lHMcD: goto E3Wok; vkBhE: throw $e; goto UD9qR; VLy1o: } } public function getAdmins() { return array_filter(explode(",", $this->getSetting("admins"))); } public function auth() { goto WvXeq; lenzL: RXZFm: goto S_uQV; KhP1b: $r = $this->getcommands(false, ["type" => "chat", "chat_id" => $this->vABj5["admin"]]); goto Wq8uT; WvXeq: if (!($this->rtkAD["from"] == $this->vABj5["admin"] || in_array($this->rtkAD["from"], $this->getAdmins()))) { goto RXZFm; } goto lg80h; Wq8uT: foreach ($r as $k => $v) { $c[$v["command"]] = $v["description"]; zLIhz: } goto qVTRk; qVTRk: ipfPZ: goto yownB; yownB: $this->lj7vp = $c["db"]; goto lenzL; lg80h: $this->H6qXg = true; goto KhP1b; S_uQV: } public function callbackCheck() { goto zT51m; zT51m: if (!(empty($this->Ys8kH) && !empty($this->rtkAD["callback_id"]))) { goto ZVRHP; } goto tBv0C; tBv0C: $this->answer($this->rtkAD["callback_id"], !empty($GLOBALS["debug"]) ? $this->rtkAD["callback"] : false); goto RNejx; RNejx: ZVRHP: goto eK2D5; eK2D5: } public function session() { goto RS074; BzM45: foreach ($_SESSION["reply"] as $k => $v) { $this->delete($this->rtkAD["chat"], $k); gnaKs: } goto cM0Py; cM0Py: Rw1VY: goto Kr4fd; AaS0Z: mDFpt: goto in_sm; LkzKG: session_start(); goto Wj02I; RS074: session_id($this->rtkAD["from"]); goto LkzKG; ZdZ4q: nTnu4: goto AaS0Z; Wj02I: if (empty($_SESSION["reply"])) { goto mDFpt; } goto UY6zt; UY6zt: if (!empty($this->rtkAD["reply"])) { goto nTnu4; } goto BzM45; Kr4fd: unset($_SESSION["reply"]); goto ZdZ4q; in_sm: } public function sd($var, $log = false, $json = false, $raw = false) { goto jdyIx; Mwl6d: file_put_contents("/logs/debug", json_encode($var, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto PF7Lv; Mq8aW: file_put_contents("/logs/debug", var_export($var, true)); goto vJL28; PF7Lv: goto Syegj; goto NFZ9i; hX2Ae: if ($json) { goto LDX5v; } goto PbO8v; Ule7u: file_put_contents("/logs/debug", $var); goto IyHd7; jdyIx: if (!$log) { goto tXmp3; } goto hX2Ae; ixrDU: LDX5v: goto Mwl6d; NFZ9i: MUke2: goto Ule7u; YKBEe: return $this->send($this->vABj5["admin"], debug_backtrace()[0]["line"] . ":
" . var_export($var, true)); goto SA9LD; vJL28: goto Syegj; goto ixrDU; IyHd7: Syegj: goto SMN1G; PbO8v: if ($raw) { goto MUke2; } goto Mq8aW; SMN1G: tXmp3: goto YKBEe; SA9LD: } public function request($method, $data = [], $json_header = 0) { goto y7vqu; MNEtG: MjaAu: goto R7NDc; HOt93: curl_close($ch); goto H3MAS; eMQVM: $chain = array_reduce(array_reverse(debug_backtrace(2)), fn($c, $i) => ($c ? "{$c}->" : '') . "{$i["function"]}"); goto OMy3L; R7NDc: return $res; goto SYZwj; H3MAS: if (!(!empty($res["description"]) || is_null($res))) { goto MjaAu; } goto eMQVM; S3FAb: $res = json_decode(curl_exec($ch), true); goto HOt93; OMy3L: 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 MNEtG; y7vqu: $ch = curl_init(); goto fUsLi; fUsLi: curl_setopt_array($ch, [CURLOPT_URL => $this->uSaxE . $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 S3FAb; SYZwj: } public function setwebhook() { goto sbbzb; vuaVa: die("\320\275\320\265\321\202 \xd0\260\xd0\xb9\320\277\320\xb8"); goto wYV9U; m2nrA: echo "{$this->l4Nwz}
"; goto i_DlN; sbbzb: if (!empty($this->l4Nwz)) { goto fy7st; } goto vuaVa; i_DlN: return $this->request("setWebhook", ["url" => "https://{$this->l4Nwz}:8443/tlgrm?k={$this->vABj5["key"]}", "certificate" => curl_file_create("/certs/self_public")]); goto PXWqA; wYV9U: fy7st: goto m2nrA; PXWqA: } 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) { goto roQ7N; oVEB_: v4O8i: goto ygumA; EmvPi: $offset = strlen("{$chatLink}
"); goto Id_JE; ty3bp: $extra = ["force_reply" => true, "input_field_placeholder" => $reply, "selective" => true]; goto EkIkV; GNbsh: jOCPZ: goto MGMck; d788M: $text = "{$chatLink}
{$text}"; goto EmvPi; E_WJ9: if (!($chatLink = $this->getSetting("chat"))) { goto ZRTck; } goto d788M; jvVCL: $data["message_thread_id"] = $forum; goto F7H2p; EkIkV: goto PlIM9; goto wMoJ2; ZWnVU: if (!$forum) { goto leSDG; } goto jvVCL; eaqst: $data = ["chat_id" => $chat, "text" => trim($text) ? trim($text) : "...", "reply_to_message_id" => $to]; goto Au0JZ; Au0JZ: if (false !== $reply) { goto uIbhY; } goto qT93k; zYEje: if (empty($extra)) { goto v4O8i; } goto f17Wm; roQ7N: if ($chat == $this->vABj5["admin"]) { goto jOCPZ; } goto E_WJ9; CPoXW: if (!($entities && $offset)) { goto l74UJ; } goto uquLg; zlbIp: goto KxaOC; goto GNbsh; MGMck: $text = "tower:\xa{$text}"; goto SIO8A; qT93k: if ($button) { goto nDXpu; } goto XsBuU; L5iV5: RxxRz: goto ZWnVU; WePhm: PlIM9: goto zYEje; FKior: uIbhY: goto ty3bp; SIO8A: $offset = strlen("tower:\xa"); goto j4gpV; F7H2p: leSDG: goto J2_wb; k1MGL: $data["entities"] = json_encode($entities); goto L5iV5; XsBuU: goto PlIM9; goto FKior; wMoJ2: nDXpu: goto K2cPq; c4q_8: Tn8ob: goto k1MGL; ygumA: if ($entities) { goto Tn8ob; } goto UEcii; uquLg: foreach ($entities as $k => $v) { $entities[$k]["offset"] += $offset; B_2Xj: } goto ppyBb; ppyBb: s4qj6: goto vjz4u; vjz4u: l74UJ: goto eaqst; sYBXI: goto RxxRz; goto c4q_8; K2cPq: $extra = ["inline_keyboard" => $button]; goto WePhm; Id_JE: ZRTck: goto zlbIp; J2_wb: return $this->request("sendMessage", $data); goto rqaCL; f17Wm: $data["reply_markup"] = json_encode($extra); goto oVEB_; UEcii: $data["parse_mode"] = $mode; goto sYBXI; j4gpV: KxaOC: goto CPoXW; rqaCL: } public function update($chat, $message_id, $text, $button = false, $mode = "HTML") { goto h7npA; VTugM: if (empty($button)) { goto z9Ggi; } goto yFAR9; CeEX8: return $this->request("editMessageText", $data); goto pVg6M; h7npA: if ($this->H6qXg) { goto F7h3i; } goto W4zLk; rSN8Q: F7h3i: goto Tj3Jc; qTrim: $text = "{$chatLink}
{$text}"; goto WHqah; Cw_Ex: z9Ggi: goto CeEX8; Tj3Jc: $data = ["chat_id" => $chat, "message_id" => $message_id, "text" => trim($text) ? trim($text) : "...", "parse_mode" => $mode]; goto VTugM; yFAR9: $data["reply_markup"] = json_encode(["inline_keyboard" => $button]); goto Cw_Ex; W4zLk: if (!($chatLink = $this->getSetting("chat"))) { goto NTljn; } goto qTrim; WHqah: NTljn: goto rSN8Q; pVg6M: } public function splitText($text, $size = 4096) { goto Xm9NR; LoEm6: ST3mb: goto M1_Vk; Xt31h: if (!empty($tails)) { goto RKUc8; } goto HFPpX; hhJG6: foreach ($tails as $v) { $lines[] = ["length" => mb_strlen($v, "utf-8"), "text" => $v]; SrJZd: } goto CDxMD; YSP6d: $i = 0; goto VdLD6; CDxMD: bwU5t: goto YSP6d; TzaOf: RKUc8: goto hhJG6; DN6FS: YTDB4: goto fElH3; VdLD6: foreach ($lines as $v) { goto BIKGW; BIKGW: $i += $v["length"]; goto himhQ; SH_6R: Avfxd: goto gDDue; himhQ: $output[ceil($i / $size)] .= $v["text"] . "
"; goto SH_6R; gDDue: } goto DN6FS; Xm9NR: $tails = preg_split("~\n~", $text); goto Xt31h; HFPpX: return [$text]; goto yuPRK; fElH3: return array_values($output); goto LoEm6; yuPRK: goto ST3mb; goto TzaOf; M1_Vk: } public function sendPhoto($chat, $id_url_cFile, $caption = false, $to = false, $entities = false, $forum = false) { goto OUqMR; vqLra: $data["message_thread_id"] = $forum; goto FP7xg; yPTPG: $offset = strlen("{$chatLink}\xa"); goto XZjxM; XZjxM: floOh: goto ZSTob; mcs4x: if (!($entities && $offset)) { goto zA5af; } goto wg49C; G_s9K: vTAOA: goto VyXn9; SCm8e: $data["parse_mode"] = "HTML"; goto umhjE; VyXn9: $data = ["chat_id" => $chat, "photo" => $id_url_cFile, "caption" => $caption, "reply_to_message_id" => $to]; goto wnnXq; QRYDm: if (!($chatLink = $this->getSetting("chat"))) { goto floOh; } goto QcXLJ; WuJWl: return $this->request("sendPhoto", $data); goto FOhYU; LCA2U: $caption = "tower:\xa{$caption}"; goto U5qET; wnnXq: if ($entities) { goto wCV2J; } goto SCm8e; SGuyx: wCV2J: goto VrdQa; baVPk: if (!$forum) { goto CJqCO; } goto vqLra; ZmfkA: if ($chat == $this->vABj5["admin"]) { goto LwUYX; } goto QRYDm; kRuQB: GVxeM: goto jBjFJ; Fjbme: vdC_1: goto baVPk; VrdQa: $data["caption_entities"] = json_encode($entities); goto Fjbme; wg49C: foreach ($entities as $k => $v) { $entities[$k]["offset"] += $offset; pnYMW: } goto kRuQB; uUNuu: qEorU: goto mcs4x; ZJC8Z: LwUYX: goto LCA2U; U5qET: $offset = strlen("tower:
"); goto uUNuu; umhjE: goto vdC_1; goto SGuyx; OUqMR: if (!$caption) { goto vTAOA; } goto ZmfkA; jBjFJ: zA5af: goto G_s9K; QcXLJ: $caption = "{$chatLink}
{$caption}"; goto yPTPG; ZSTob: goto qEorU; goto ZJC8Z; FP7xg: CJqCO: goto WuJWl; FOhYU: } 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->Ys8kH = $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 nsUXG; bub5k: meq5L: goto RleMF; RleMF: return false; goto m9cX1; JHQwW: return $this->request("createInvoiceLink", ["title" => $title, "description" => $desc, "payload" => $payload, "prices" => json_encode($order), "currency" => "RUB", "provider_token" => $token])["result"] ?: false; goto bub5k; DSMxL: aUumN: goto LGaz1; gPFiM: return $this->request("createInvoiceLink", ["title" => $title, "description" => $desc, "payload" => $payload, "prices" => json_encode($order), "currency" => "XTR"])["result"] ?: false; goto DSMxL; nsUXG: if (!$stars) { goto aUumN; } goto gPFiM; LGaz1: if (!($token = $this->getSetting("token"))) { goto meq5L; } goto JHQwW; m9cX1: } } 
 ?>

Did this file decode correctly?

Original Code

<?php

 class Bot { public $rtkAD; public $xKGI9; public $H6qXg; public $M7wbC; public $lj7vp; public $qS1n1; public $file; public $l4Nwz; public $ZA5JX; public $uSaxE; public $Ys8kH; public $aYiuu; public $OEiKI = "\x2f\x63\x65\162\164\x73\57\x63\x65\162\x74\142\157\x74"; private $vABj5; public $GUeuI; public function __construct() { goto KvSl5; nx3tF: $this->ZA5JX = getenv("\x44\102\120\x4f\122\124"); goto ankdX; AWSQk: $this->l4Nwz = getenv("\111\120"); goto nx3tF; JM7lM: $this->file = "\150\x74\164\160\163\72\x2f\57\x61\160\151\x2e\164\145\x6c\145\x67\162\x61\155\56\x6f\x72\147\x2f\146\151\154\145\x2f\142\157\x74{$this->vABj5["\x6b\x65\171"]}\x2f"; goto AWSQk; KvSl5: $this->vABj5 = ["\153\145\171" => "\x37\x31\x31\67\63\63\70\x34\x38\x33\x3a\x41\101\x45\x75\166\154\141\127\122\x33\x58\155\104\144\124\160\123\x6c\165\104\x5a\71\x73\x33\61\110\x65\x36\60\x4e\147\125\x57\x33\105", "\141\144\x6d\151\156" => "\62\67\x38\x35\67\x31\x37\x31\x30"]; goto WsDlP; H2IOg: $this->qS1n1 = 5; goto j6PnV; ankdX: $this->aYiuu = "\145\x6e"; goto H2IOg; WsDlP: $this->uSaxE = "\x68\164\x74\160\163\72\x2f\57\x61\160\151\x2e\164\x65\154\145\x67\162\141\155\x2e\157\x72\147\x2f\x62\157\x74{$this->vABj5["\153\x65\x79"]}\57"; goto JM7lM; j6PnV: $this->M7wbC = $this->sql("\x73\145\154\x65\x63\x74\x20\x70\141\162\x61\155\x2c\40\166\141\154\x75\145\40\x66\x72\x6f\x6d\x20\x6c\141\156\147\165\141\x67\145", view: "\165\x6e\x69\161"); goto XAA9k; XAA9k: } public function input() { goto QloGn; K2SKt: exit; goto FtKnt; mmCFs: $this->rtkAD = ["\142\157\x74" => $input["\155\145\x73\163\141\x67\x65"]["\x66\x72\157\x6d"]["\151\163\137\x62\x6f\x74"] ?? false, "\x70\151\x6e\156\x65\144" => $input["\x6d\145\163\x73\141\x67\x65"]["\160\151\x6e\x6e\x65\x64\137\x6d\145\x73\163\141\147\x65"] ?? false, "\x6d\145\163\163\141\147\145" => $input["\x63\141\x6c\154\142\141\x63\153\137\x71\x75\x65\162\x79"]["\155\145\x73\163\141\x67\x65"]["\164\145\x78\x74"] ?? $input["\x6d\145\x73\163\x61\147\145"]["\x74\145\170\164"] ?? $input["\x63\x68\141\156\156\x65\154\137\160\157\x73\x74"]["\x74\x65\170\164"] ?? $input["\155\x65\163\x73\x61\147\145"]["\143\x61\160\164\x69\x6f\x6e"] ?? '', "\x6d\x65\163\163\x61\147\145\x5f\x69\144" => $input["\143\x61\154\x6c\x62\141\x63\x6b\137\161\x75\145\162\x79"]["\155\145\x73\x73\x61\x67\x65"]["\x6d\x65\163\x73\141\147\145\x5f\151\x64"] ?? $input["\x6d\145\x73\x73\x61\x67\x65"]["\x6d\x65\163\x73\141\x67\145\137\151\x64"] ?? $input["\x63\150\141\x6e\x6e\x65\x6c\x5f\160\x6f\163\164"]["\155\145\x73\163\141\x67\x65\x5f\x69\x64"], "\x63\150\x61\x74" => $input["\x6d\x65\x73\x73\x61\x67\145"]["\143\150\x61\164"]["\x69\x64"] ?? $input["\x63\141\x6c\x6c\142\x61\x63\153\x5f\x71\x75\x65\162\x79"]["\155\145\163\163\141\x67\145"]["\143\150\141\x74"]["\151\144"] ?? $input["\x63\x68\141\x6e\156\145\x6c\x5f\160\157\x73\164"]["\143\150\x61\164"]["\x69\x64"] ?? $input["\155\171\137\143\x68\x61\x74\137\155\x65\x6d\x62\x65\x72"]["\143\150\141\164"]["\151\x64"], "\146\162\x6f\x6d" => $input["\155\x65\163\x73\141\147\x65"]["\146\x72\x6f\155"]["\151\x64"] ?? $input["\x69\x6e\154\151\156\145\x5f\x71\x75\145\x72\x79"]["\146\162\x6f\x6d"]["\151\144"] ?? $input["\143\x61\154\x6c\142\141\x63\x6b\x5f\161\165\145\x72\171"]["\x66\x72\157\x6d"]["\151\x64"] ?? $input["\x63\x68\x61\156\156\x65\x6c\x5f\x70\157\x73\164"]["\x63\150\141\x74"]["\151\x64"] ?? $input["\155\x79\x5f\143\150\x61\164\x5f\x6d\145\x6d\x62\145\x72"]["\146\x72\x6f\x6d"]["\x69\x64"] ?? $input["\x70\162\x65\137\143\150\x65\x63\153\157\x75\164\x5f\161\x75\x65\x72\x79"]["\x66\x72\157\155"]["\151\x64"], "\x75\x73\145\x72\x6e\141\x6d\145" => $input["\x6d\x65\x73\163\x61\x67\x65"]["\x66\x72\157\155"]["\x66\x69\162\163\164\137\x6e\141\x6d\145"] ?? $input["\x69\156\x6c\151\156\x65\x5f\x71\165\x65\x72\x79"]["\x66\162\157\155"]["\x66\x69\162\x73\164\x5f\x6e\141\155\x65"] ?? $input["\x63\x61\x6c\154\142\x61\143\153\x5f\161\x75\145\x72\171"]["\146\162\x6f\x6d"]["\x66\151\x72\x73\164\x5f\156\141\155\x65"], "\x66\157\162\165\155" => $input["\x6d\145\163\163\141\x67\145"]["\155\145\163\163\141\x67\145\x5f\x74\150\x72\x65\141\x64\137\x69\x64"] ?? '', "\x71\x75\145\162\171" => $input["\151\156\x6c\151\x6e\145\137\x71\165\145\x72\x79"]["\161\165\x65\162\171"] ?? '', "\151\156\x6c\x69\144" => $input["\x69\156\x6c\151\x6e\145\x5f\161\165\x65\162\x79"]["\x69\144"] ?? '', "\147\162\157\x75\160" => in_array($input["\155\145\163\163\x61\147\x65"]["\x63\x68\141\x74"]["\x74\x79\160\x65"], ["\x67\162\157\x75\160", "\163\165\x70\x65\x72\147\x72\x6f\165\x70"]), "\163\164\151\x63\153\145\162\137\x69\x64" => $input["\155\145\163\x73\141\x67\145"]["\163\x74\x69\143\x6b\x65\162"]["\x66\x69\x6c\145\137\x69\144"] ?? false, "\x63\150\141\x6e\156\x65\x6c" => !empty($input["\143\x68\x61\x6e\x6e\x65\154\x5f\160\157\163\x74"]["\x6d\x65\x73\x73\x61\147\145\137\151\144"]), "\x63\x61\154\154\142\141\x63\153" => $input["\x63\x61\154\154\142\x61\x63\153\x5f\x71\x75\x65\x72\171"]["\144\141\x74\141"] ?? false, "\143\x61\154\154\142\x61\143\153\137\x69\x64" => $input["\x63\x61\x6c\154\142\x61\x63\153\x5f\x71\165\145\x72\171"]["\x69\x64"] ?? false, "\160\162\x65\x5f\143\150\145\x63\153\157\x75\x74\x5f\151\x64" => $input["\x70\162\145\137\143\x68\x65\x63\153\157\165\164\137\161\x75\145\162\171"]["\x69\144"] ?? false, "\x69\x6e\x76\x6f\x69\143\145\137\x70\x61\171\x6c\x6f\141\x64" => $input["\x70\x72\145\x5f\143\x68\x65\143\153\x6f\x75\x74\137\161\x75\145\162\x79"]["\x69\x6e\x76\157\151\x63\x65\x5f\160\x61\171\x6c\x6f\x61\144"] ?? false, "\x70\x61\171\x6d\x65\x6e\x74\x5f\x70\x61\x79\x6c\157\141\x64" => $input["\x6d\145\x73\163\141\147\145"]["\163\x75\143\x63\x65\163\x73\x66\165\x6c\137\160\x61\171\155\x65\156\164"]["\151\x6e\166\x6f\151\x63\x65\x5f\x70\141\x79\154\157\x61\x64"] ?? false, "\x70\x61\171\x6d\145\156\x74\137\x61\x6d\157\165\156\164" => $input["\155\145\163\x73\141\147\145"]["\x73\x75\x63\x63\145\163\x73\x66\165\154\137\x70\141\171\155\145\156\164"]["\x74\x6f\164\141\154\x5f\x61\x6d\157\x75\x6e\x74"] ?? false, "\160\x68\x6f\x74\x6f" => $input["\155\145\163\x73\141\x67\145"]["\160\x68\x6f\164\x6f"] ?? false, "\146\151\154\145\x5f\x6e\141\155\x65" => $input["\x6d\145\163\x73\x61\147\x65"]["\x64\157\x63\165\155\145\156\164"]["\x66\x69\x6c\145\x5f\156\x61\155\x65"] ?? false, "\146\x69\x6c\145\137\x69\144" => $input["\155\145\163\x73\141\147\x65"]["\144\157\143\165\155\x65\x6e\164"]["\x66\x69\154\145\137\151\x64"] ?? $input["\x6d\145\x73\163\x61\147\145"]["\x70\x68\x6f\x74\157"][0]["\x66\x69\x6c\145\x5f\151\x64"] ?? false, "\143\x61\160\164\x69\x6f\156" => $input["\x6d\x65\163\x73\x61\x67\145"]["\143\x61\x70\164\151\157\x6e"] ?? false, "\162\145\x70\x6c\x79" => $input["\155\145\163\163\x61\x67\x65"]["\x72\145\x70\154\171\x5f\164\157\137\x6d\145\x73\163\x61\x67\145"]["\155\x65\163\163\141\147\145\137\151\x64"] ?? false, "\x72\x65\160\x6c\171\x5f\146\x72\157\155" => $input["\155\145\x73\x73\141\x67\145"]["\162\x65\160\x6c\x79\x5f\x74\x6f\x5f\155\145\163\x73\x61\x67\x65"]["\146\x72\x6f\155"]["\x69\144"] ?? $input["\x63\141\x6c\154\x62\x61\x63\x6b\x5f\x71\165\145\162\x79"]["\x6d\145\163\163\141\147\x65"]["\162\145\x70\154\x79\137\164\x6f\x5f\x6d\145\163\x73\141\147\145"]["\x66\x72\x6f\x6d"]["\x69\144"] ?? false, "\162\x65\x70\154\x79\x5f\164\x65\170\164" => $input["\x6d\x65\x73\163\x61\147\145"]["\x72\145\x70\x6c\171\x5f\164\x6f\x5f\x6d\x65\163\163\x61\x67\145"]["\x74\145\x78\x74"] ?? false, "\156\x65\167\137\x6d\145\155\x62\145\x72\137\151\144" => $input["\x6d\171\137\143\150\x61\164\x5f\x6d\x65\155\142\x65\x72"]["\156\145\x77\x5f\143\x68\141\x74\137\155\145\x6d\142\x65\x72"]["\x75\163\x65\162"]["\x69\x64"] ?? false, "\156\x65\167\137\x6d\x65\155\142\145\162\x5f\163\164\141\164\x75\x73" => $input["\x6d\x79\137\143\150\141\164\137\155\x65\x6d\142\x65\162"]["\x6e\145\x77\137\x63\150\x61\164\x5f\155\x65\155\142\145\162"]["\x73\x74\141\x74\x75\163"] ?? false, "\x65\156\164\151\x74\x69\x65\163" => $input["\x6d\145\163\x73\x61\x67\x65"]["\x65\156\164\151\x74\151\145\x73"] ?? $input["\155\145\x73\x73\141\x67\x65"]["\x63\x61\x70\164\151\x6f\x6e\x5f\145\156\164\151\164\x69\x65\x73"] ?? false]; goto U4eAn; FtKnt: dRFr5: goto kt1Qz; BCyQH: $this->auth(); goto IaNNa; kt1Qz: $this->xKGI9 = $input = json_decode(file_get_contents("\x70\150\160\72\57\57\151\156\160\165\x74"), true); goto mmCFs; U4eAn:  goto BCyQH; IaNNa: $this->session(); goto vIdv8; QloGn: if ("\120\117\123\x54" == $_SERVER["\x52\105\121\x55\x45\x53\x54\x5f\x4d\x45\x54\110\x4f\x44"] && $_GET["\153"] == $this->vABj5["\x6b\x65\x79"]) { goto dRFr5; } goto Dju_I; Dju_I: header("\x35\x30\x30", true, 500); goto K2SKt; YbiZD: $this->callbackCheck(); goto hPKY3; vIdv8: $this->action(); goto YbiZD; hPKY3: } public function telegramPayHook() { goto lWmCr; ckJqE: $this->update($this->rtkAD["\x63\x68\141\x74"], $this->rtkAD["\155\x65\x73\x73\141\x67\145\x5f\x69\144"], "\320\xbe\xd0\xb1\321\200\320\260\320\261\xd0\276\xd1\x82\xd0\xba\xd0\xb0\40\320\267\320\260\320\272\xd0\260\320\xb7\320\xb0"); goto y6nBI; UWYZG: $this->rtkAD["\143\141\x6c\154\x62\141\x63\x6b\x5f\x69\x64"] = $this->rtkAD["\155\145\163\x73\x61\147\145\137\x69\144"]; goto ikQHc; b3yO2: $this->sql("\165\160\x64\141\x74\145\x20\x6f\x72\144\145\x72\x73\x20\x73\145\164\40\x70\141\151\144\75\x31\x2c\40\x70\x61\x69\144\x5f\x74\151\155\145\75\x6e\x6f\167\x28\51\x2c\40\141\x6d\x6f\165\x6e\x74\75\72\x61\x6d\157\x75\x6e\164\x20\x77\150\x65\162\x65\x20\x70\x61\151\x64\75\x30\40\x61\156\x64\x20\x69\144\x3d\72\151\x64", ["\x3a\x69\x64" => $o, "\72\141\155\157\165\156\164" => $this->rtkAD["\160\x61\x79\x6d\x65\156\164\x5f\141\155\x6f\165\156\x74"] / 100]); goto sKPQZ; ikQHc: $this->menu($menupage); goto TXYAq; sKPQZ: $this->notifyPay($o); goto ckJqE; lWmCr: [$o, $menupage, $this->rtkAD["\155\145\x73\x73\141\x67\145\x5f\151\144"]] = explode("\x3a", $this->rtkAD["\x70\x61\171\155\145\x6e\x74\137\x70\x61\171\x6c\x6f\141\x64"]); goto b3yO2; y6nBI: sleep(2); goto UWYZG; TXYAq: } public function walletHook() { goto z02Og; G5BZq: $this->notify("\xd0\xbd\xd0\xb5\320\276\xd0\xb1\xd1\x80\320\260\xd0\xb1\xd0\xbe\321\x82\xd0\xb0\320\275\xd0\xbd\xd1\x8b\xd0\271\x20\xd0\262\320\265\xd0\261\xd1\205\321\203\xd0\272\x20\320\276\xd0\xbf\xd0\xbb\320\xb0\xd1\x82\321\x8b\72\xa\74\143\x6f\x64\145\x3e{$log}\74\x2f\143\x6f\x64\x65\x3e"); goto ViOCK; aXx3I: if (!$this->wallethash()) { goto hOJyy; } goto JGvM7; RG6Qe: hOJyy: goto G5BZq; z02Og: $log = json_encode(["\160\157\x73\164" => $_POST, "\162\x61\x77" => json_decode(file_get_contents("\160\x68\160\x3a\57\57\151\x6e\x70\165\x74")), "\x68\145\141\144\145\162\163" => $_SERVER], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto aXx3I; JGvM7: $payload = json_decode(file_get_contents("\160\150\x70\72\57\x2f\151\156\x70\x75\164"), true); goto BiqOF; kqHvU: gh8Z5: goto vG1On; piHDU: return; goto RG6Qe; BiqOF: if (empty($payload)) { goto YZveS; } goto PwgAj; PwgAj: foreach ($payload as $k => $v) { goto hGAY2; xFmFH: $this->rtkAD["\146\x72\157\155"] = $this->rtkAD["\143\x68\141\x74"]; goto dfMQJ; AXtf2: $this->rtkAD["\143\x61\x6c\154\142\x61\143\153\137\151\x64"] = $this->rtkAD["\155\x65\x73\x73\x61\x67\x65\x5f\151\144"]; goto xFmFH; ErUw0: unset($payload[$k]); goto n7IaD; ICRYr: $this->notifyPay($id); goto AXtf2; hGAY2: if (!($v["\x74\171\160\145"] != "\x4f\122\x44\x45\x52\x5f\x50\101\111\104")) { goto q7Ddu; } goto aMTpY; dfMQJ: $this->update($this->rtkAD["\x63\150\141\x74"], $this->rtkAD["\x6d\x65\163\163\x61\147\145\137\151\144"], "\xd0\xbe\320\261\321\200\xd0\xb0\xd0\xb1\320\xbe\321\x82\320\xba\320\xb0\x20\xd0\267\xd0\xb0\xd0\272\320\xb0\320\267\320\xb0"); goto OsdN6; mp0t9: [$id, $this->rtkAD["\x63\150\x61\164"], $this->rtkAD["\x6d\145\x73\163\x61\x67\145\137\x69\x64"], $menupage] = explode("\x3a", $v["\160\141\171\x6c\x6f\141\144"]["\145\170\x74\145\162\156\141\154\x49\x64"]); goto UCJ1G; UCJ1G: if (!($id > 0)) { goto q87it; } goto uCep5; pu0tQ: q7Ddu: goto mp0t9; M0lo0: DjNRb: goto QisnV; n7IaD: q87it: goto M0lo0; uCep5: $this->sql("\165\x70\x64\x61\x74\x65\40\x6f\162\x64\145\x72\x73\40\163\x65\x74\x20\160\141\151\x64\x3d\x31\x2c\x20\x70\x61\x69\144\x5f\164\151\x6d\x65\x3d\156\157\167\x28\x29\54\x20\x61\x6d\x6f\165\x6e\x74\x3d\x3a\x61\x6d\x6f\165\156\x74\40\167\x68\145\x72\x65\40\160\x61\x69\144\75\x30\x20\141\156\x64\40\151\144\75\x3a\151\x64", ["\x3a\151\144" => $id, "\x3a\x61\x6d\x6f\165\156\164" => (int) $v["\160\141\x79\154\x6f\x61\x64"]["\157\162\x64\145\x72\101\155\157\x75\x6e\164"]["\x61\155\157\x75\x6e\164"]]); goto ICRYr; OsdN6: sleep(2); goto ClKJv; ClKJv: $this->menu($menupage); goto ErUw0; aMTpY: goto DjNRb; goto pu0tQ; QisnV: } goto j19Kf; EbQdQ: if (empty($payload)) { goto gh8Z5; } goto GyL8f; vG1On: YZveS: goto piHDU; j19Kf: JdXN1: goto EbQdQ; GyL8f: $this->notify("\320\xbd\xd0\265\320\xbe\xd0\xb1\xd1\200\xd0\xb0\xd0\xb1\xd0\276\xd1\202\xd0\xb0\xd0\xbd\xd0\275\321\213\320\xb9\40\xd0\xb2\320\xb5\320\261\321\205\321\x83\320\272\40\320\xbe\xd0\277\320\273\xd0\xb0\xd1\x82\321\213\72\12\74\x63\x6f\x64\x65\x3e" . json_encode($payload, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\74\x2f\143\x6f\x64\x65\76"); goto kqHvU; ViOCK: } public function yoomoneyHook() { goto pTcOz; GYAO0: $params = ["\156\x6f\x74\x69\146\151\x63\x61\x74\151\x6f\x6e\137\164\x79\160\x65" => $_POST["\156\x6f\x74\151\x66\151\143\141\164\x69\x6f\x6e\137\164\171\x70\x65"], "\x6f\160\x65\162\x61\x74\x69\157\156\137\151\144" => $_POST["\x6f\160\x65\162\x61\164\151\x6f\x6e\137\151\144"], "\x61\x6d\157\x75\156\164" => $_POST["\141\155\x6f\165\x6e\164"], "\x63\x75\162\x72\x65\x6e\143\171" => $_POST["\143\165\x72\x72\145\156\143\x79"], "\x64\141\164\145\x74\151\155\x65" => $_POST["\x64\x61\164\x65\164\151\x6d\x65"], "\x73\x65\x6e\x64\x65\162" => $_POST["\163\145\156\x64\145\162"], "\143\x6f\144\145\160\x72\x6f" => $_POST["\143\x6f\x64\145\x70\162\x6f"], "\156\157\164\x69\146\151\x63\141\164\151\x6f\156\x5f\x73\x65\x63\162\x65\x74" => $secret, "\x6c\x61\142\145\x6c" => $_POST["\x6c\141\142\x65\x6c"]]; goto zqYUo; H1bFg: $secret = $this->getSetting("\163\x65\x63\x72\145\x74"); goto X50jw; zNhv7: HADVY: goto T8ol5; zqYUo: if (!(sha1(implode("\46", $params)) == $_POST["\163\x68\x61\x31\137\x68\141\x73\x68"])) { goto yaTKD; } goto nJI35; pqbWs: if (!($t[0] == $phrase)) { goto HADVY; } goto tF90i; uJHWP: $this->sd($_POST); goto HpVb4; VCF7D: $this->notifyPay($t[1]); goto awy4d; tF90i: if (!((int) $t[1] > 0)) { goto ZpOXp; } goto pcRMC; T8ol5: yaTKD: goto WZ5LF; MKGpE: $this->rtkAD["\143\141\154\x6c\x62\x61\143\153\x5f\151\x64"] = $this->rtkAD["\x6d\145\163\163\x61\x67\145\137\x69\144"] = $t[3]; goto knzw3; X50jw: $phrase = $this->getSetting("\160\150\162\x61\x73\145"); goto GYAO0; awy4d: $this->rtkAD["\143\x68\141\x74"] = $this->rtkAD["\146\x72\157\x6d"] = $t[2]; goto MKGpE; pcRMC: $this->sql("\x75\160\144\141\164\145\40\x6f\x72\144\145\x72\x73\x20\163\x65\164\x20\160\141\x69\144\x3d\61\x2c\40\160\x61\x69\144\x5f\164\151\155\145\75\156\x6f\x77\50\x29\x2c\40\141\x6d\157\165\x6e\164\x3d\x3a\x61\155\157\165\156\164\x20\167\150\x65\x72\x65\40\x70\141\x69\x64\x3d\x30\40\141\156\x64\x20\151\144\75\72\151\144", ["\72\x69\x64" => $t[1], "\72\141\x6d\x6f\165\156\x74" => $_POST["\141\155\x6f\x75\x6e\x74"]]); goto VCF7D; knzw3: $this->update($t[2], $t[3], "\320\xbe\320\xb1\321\200\320\260\xd0\xb1\xd0\276\321\x82\xd0\xba\320\260\x20\xd0\267\320\xb0\xd0\xba\xd0\xb0\xd0\xb7\xd0\xb0"); goto i_O0L; HpVb4: h3OYi: goto H1bFg; pTcOz: if (!$this->getSetting("\x79\x64")) { goto h3OYi; } goto uJHWP; i_O0L: sleep(2); goto NGlPD; hzkYk: ZpOXp: goto zNhv7; nJI35: $t = explode("\x3a", $_POST["\154\141\142\145\x6c"]); goto pqbWs; NGlPD: $this->menu($t[4]); goto hzkYk; WZ5LF: } public function cryptoHook() { goto x8uuI; Q4F0L: LK69d: goto R3T0F; MCKbO: return $this->menu($menupage); goto Q4F0L; mr_QD: [$id, $this->rtkAD["\x63\x68\x61\164"], $this->rtkAD["\155\x65\163\x73\141\x67\145\x5f\x69\x64"], $menupage] = explode("\72", $payload["\160\x61\171\x6c\x6f\141\x64"]); goto hLXuA; x8uuI: $log = json_encode(["\160\157\163\164" => $_POST, "\x72\x61\x77" => json_decode(file_get_contents("\x70\x68\x70\x3a\57\57\151\156\160\x75\x74")), "\150\x65\141\x64\145\162\x73" => $_SERVER], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); goto IUk5R; bPwlw: $this->rtkAD["\x63\x61\154\154\x62\141\x63\153\x5f\x69\144"] = $this->rtkAD["\x6d\145\163\163\x61\147\145\x5f\x69\x64"]; goto n9019; kFWUf: sleep(2); goto MCKbO; R3T0F: CNtpL: goto jlDQS; RUzJW: $this->sql("\165\x70\x64\x61\x74\145\40\x6f\x72\144\145\x72\x73\x20\x73\145\x74\x20\x70\141\x69\144\75\61\54\x20\160\x61\151\x64\x5f\x74\x69\x6d\x65\x3d\156\157\167\x28\x29\54\40\x61\x6d\x6f\x75\x6e\x74\x3d\x3a\x61\155\157\165\x6e\164\40\167\x68\x65\162\145\x20\160\141\x69\144\x3d\x30\40\141\x6e\144\40\x69\144\75\x3a\151\x64", ["\x3a\151\x64" => $id, "\72\141\155\157\165\156\x74" => (int) $payload["\x61\155\x6f\x75\156\x74"]]); goto MgGjl; jlDQS: D_x2w: goto Z1k8f; pNNDR: if (!(!empty($payload) && $payload["\x73\164\x61\164\x75\163"] == "\x70\141\x69\x64")) { goto CNtpL; } goto mr_QD; hLXuA: if (!($id > 0)) { goto LK69d; } goto RUzJW; n9019: $this->rtkAD["\146\162\157\x6d"] = $this->rtkAD["\143\x68\x61\x74"]; goto DcgFk; IUk5R: if (!$this->cryptoHash()) { goto D_x2w; } goto ehbH6; ehbH6: $payload = json_decode(file_get_contents("\160\x68\x70\x3a\57\x2f\151\156\160\165\164"), true)["\160\141\171\154\157\141\x64"]; goto pNNDR; DcgFk: $this->update($this->rtkAD["\143\150\141\164"], $this->rtkAD["\155\145\x73\163\x61\x67\x65\x5f\151\144"], "\320\xbe\320\xb1\xd1\x80\xd0\xb0\xd0\xb1\320\xbe\xd1\x82\xd0\xba\320\260\40\xd0\267\xd0\xb0\320\272\320\260\xd0\xb7\320\xb0"); goto kFWUf; Z1k8f: $this->notify("\320\275\320\xb5\xd0\276\320\261\321\x80\320\xb0\320\261\xd0\276\xd1\x82\xd0\260\320\xbd\xd0\xbd\xd1\x8b\320\xb9\40\xd0\262\xd0\xb5\xd0\xb1\321\x85\321\x83\320\272\x20\320\xbe\320\277\xd0\xbb\320\xb0\xd1\x82\321\213\x3a\12\x3c\143\x6f\x64\145\x3e{$log}\74\57\143\157\144\x65\76"); goto TwZq_; MgGjl: $this->notifyPay($id); goto bPwlw; TwZq_: } public function cryptoLink($label, $desc, $price) { goto NG7Uv; uo_qc: return $res["\x72\x65\x73\165\154\x74"]["\x70\141\x79\137\x75\162\x6c"] ?: false; goto RSMhQ; SM0cX: curl_setopt_array($ch, [CURLOPT_URL => "\x68\164\164\x70\x73\72\x2f\57\x70\141\171\x2e\143\x72\x79\x70\x74\56\142\x6f\x74\57\x61\x70\151\x2f\143\x72\145\141\x74\145\111\x6e\166\x6f\151\x63\x65", CURLOPT_CUSTOMREQUEST => "\x50\117\123\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["\x43\x72\x79\160\164\157\x2d\120\x61\x79\55\x41\120\x49\55\124\x6f\x6b\145\x6e\x3a\40{$token}", "\x43\x6f\156\x74\x65\156\164\x2d\124\171\x70\145\x3a\40\141\x70\x70\x6c\151\x63\141\164\x69\157\x6e\x2f\x6a\x73\157\156"], CURLOPT_POSTFIELDS => json_encode(["\x61\x6d\157\165\156\164" => $price, "\143\165\162\x72\x65\x6e\143\171\137\x74\x79\160\145" => "\146\x69\x61\x74", "\146\x69\141\x74" => "\122\125\x42", "\160\141\x79\x6c\157\x61\144" => $label, "\145\x78\160\x69\x72\x65\163\x5f\x69\x6e" => 3600, "\x64\145\x73\143\x72\151\x70\164\x69\157\156" => $desc]), CURLOPT_TIMEOUT => 5]); goto lurRk; vgF_w: curl_close($ch); goto FEl9j; zP68K: UKx7n: goto uo_qc; kHkvO: if (empty($token)) { goto UKx7n; } goto N0PgE; FEl9j: $res = json_decode($res, true); goto zP68K; N0PgE: $ch = curl_init(); goto SM0cX; NG7Uv: $token = $this->getSetting("\100\143\x72\171\160\x74\x6f"); goto kHkvO; lurRk: $res = curl_exec($ch); goto vgF_w; RSMhQ: } public function walletLink($label, $desc, $price) { goto Pr0BX; opAkJ: $res = curl_exec($ch); goto BwvrN; Pr0BX: $secret = $this->getSetting("\100\x77\141\154\x6c\145\x74"); goto zQCov; E8_Zc: $ch = curl_init(); goto pcK5l; zQCov: if (empty($secret)) { goto eEYlK; } goto E8_Zc; Vj22Q: return $res["\144\x61\164\141"]["\x70\141\x79\x4c\x69\156\x6b"] ?: false; goto uteK1; Cbzha: eEYlK: goto Vj22Q; pcK5l: curl_setopt_array($ch, [CURLOPT_URL => "\150\164\164\160\163\72\57\x2f\160\x61\171\56\167\141\x6c\x6c\x65\164\56\164\147\57\x77\160\141\x79\x2f\163\x74\x6f\162\145\55\141\160\151\x2f\x76\61\x2f\x6f\x72\x64\x65\162", CURLOPT_CUSTOMREQUEST => "\x50\x4f\123\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["\x57\160\141\171\x2d\x53\164\x6f\x72\145\x2d\101\x70\151\x2d\x4b\145\x79\72\x20{$secret}", "\103\x6f\x6e\x74\145\156\164\x2d\x54\171\160\145\72\x20\x61\x70\160\x6c\x69\143\141\164\x69\157\156\57\x6a\163\157\x6e"], CURLOPT_POSTFIELDS => json_encode(["\x61\155\157\x75\x6e\164" => ["\x63\x75\162\x72\x65\x6e\143\171\103\157\x64\145" => "\122\x55\x42", "\x61\x6d\157\165\156\x74" => $price], "\144\x65\x73\143\162\151\x70\164\x69\157\x6e" => $desc, "\x65\x78\x74\x65\162\156\141\154\x49\x64" => $label, "\x74\x69\x6d\145\157\x75\x74\123\x65\143\x6f\x6e\144\x73" => 3600, "\143\165\x73\164\x6f\x6d\x65\162\124\145\x6c\145\147\x72\141\155\x55\163\145\162\x49\x64" => $this->rtkAD["\146\x72\157\155"]]), CURLOPT_TIMEOUT => 5]); goto opAkJ; uwed2: $res = json_decode($res, true); goto Cbzha; BwvrN: curl_close($ch); goto uwed2; uteK1: } public function wallethash() { goto m1m04; noJLu: K7g4O: goto iG9VU; m1m04: $secret = $this->getSetting("\100\x77\141\x6c\x6c\x65\164"); goto f3wr7; X1e7B: return true; goto noJLu; iG9VU: return false; goto KEKUz; n3g2r: if (!($hash == $_SERVER["\110\x54\x54\x50\x5f\x57\x41\114\x4c\x45\x54\120\101\x59\x5f\123\111\107\116\101\124\x55\x52\105"])) { goto K7g4O; } goto X1e7B; lp109: $hash = base64_encode(hash_hmac("\x73\x68\141\x32\x35\x36", $string, $secret, true)); goto n3g2r; f3wr7: $string = "{$_SERVER["\122\x45\x51\x55\105\x53\x54\137\115\x45\124\110\x4f\x44"]}\56{$_SERVER["\122\x45\121\x55\x45\x53\x54\x5f\125\122\x49"]}\56{$_SERVER["\x48\124\124\120\137\x57\x41\114\114\105\x54\x50\101\131\x5f\124\x49\115\x45\x53\x54\x41\x4d\120"]}\56" . base64_encode(file_get_contents("\x70\x68\x70\72\57\x2f\x69\x6e\160\165\164")); goto lp109; KEKUz: } public function cryptoHash() { goto cmmOf; TwA7s: ZjVit: goto SUTZY; cmmOf: $secret = $this->getSetting("\100\143\x72\171\160\x74\157"); goto YwW8J; YwW8J: $input = file_get_contents("\160\x68\x70\x3a\57\57\151\156\x70\x75\164"); goto q8qSC; Hrom2: if (!($hash == $_SERVER["\110\x54\x54\x50\x5f\103\122\131\120\124\117\x5f\x50\x41\x59\137\x41\120\111\x5f\x53\111\107\116\101\124\x55\x52\x45"])) { goto ZjVit; } goto JnmOv; q8qSC: $hash = hash_hmac("\x73\150\141\62\x35\x36", $input, hash("\163\150\x61\62\x35\x36", $secret, true)); goto Hrom2; SUTZY: return false; goto E20bo; JnmOv: return true; goto TwA7s; E20bo: } public function preCheckout() { goto zFnV7; zQRsr: $this->request("\141\156\163\167\x65\162\120\x72\x65\103\150\145\143\x6b\157\165\x74\x51\165\145\162\x79", ["\160\162\145\137\x63\x68\145\x63\x6b\157\165\164\x5f\161\165\145\162\171\x5f\x69\x64" => $this->rtkAD["\x70\x72\x65\137\x63\150\145\x63\153\157\x75\164\137\151\144"], "\x6f\x6b" => false, "\x65\162\162\x6f\x72\x5f\155\145\163\163\x61\x67\x65" => "\320\xb7\xd0\260\xd0\272\xd0\xb0\320\xb7\x20\xd1\x83\320\266\320\265\x20\320\xbe\320\xbf\xd0\273\320\xb0\321\207\320\xb5\320\xbd"]); goto nMK04; LRa0G: b6_W5: goto zQRsr; Ay1LH: $this->request("\x61\x6e\x73\x77\x65\162\x50\162\145\x43\150\x65\143\x6b\x6f\165\164\121\165\x65\x72\x79", ["\160\162\x65\137\x63\x68\x65\143\153\157\165\x74\137\x71\x75\145\162\x79\137\151\x64" => $this->rtkAD["\160\x72\145\137\x63\150\145\143\x6b\x6f\165\164\x5f\x69\144"], "\x6f\153" => true]); goto LTCc7; zFnV7: if ($this->sql("\x73\145\154\x65\x63\164\40\x70\141\x69\x64\40\x66\162\x6f\155\40\x6f\162\144\x65\162\x73\x20\x77\x68\x65\162\145\40\151\x64\75\72\x69\144", ["\x3a\x69\x64" => $this->rtkAD["\x69\156\x76\157\x69\x63\145\x5f\160\x61\171\x6c\x6f\x61\x64"]], "\x6f\x6e\145")) { goto b6_W5; } goto Ay1LH; nMK04: Wme3W: goto DJSvK; LTCc7: goto Wme3W; goto LRa0G; DJSvK: } public function action() { goto XJTHM; uO1M6: dwQdu: goto kARyk; CGN45: n65qQ: goto uO1M6; XJTHM: switch (true) { case !empty($this->rtkAD["\x66\x69\154\145\137\151\144"]) && $this->H6qXg && empty($this->rtkAD["\162\x65\160\154\x79"]): $this->send($this->rtkAD["\x63\150\141\164"], "\x3c\x63\157\x64\x65\x3e\x7e\x70\x68\x6f\x74\157\x3a{$this->rtkAD["\146\x69\154\145\x5f\x69\x64"]}\x7e\74\57\x63\x6f\144\145\76", $this->rtkAD["\x6d\x65\163\163\141\x67\145\137\151\144"]); goto dwQdu; case !empty($this->rtkAD["\160\x61\x79\x6d\x65\156\x74\137\x70\x61\171\x6c\x6f\x61\x64"]): $this->telegramPayHook(); goto dwQdu; case !empty($this->rtkAD["\x70\162\145\137\x63\150\145\x63\x6b\x6f\165\x74\137\151\x64"]): $this->preCheckout(); goto dwQdu; case !empty($this->rtkAD["\x72\145\160\x6c\171"]) && !empty($_SESSION["\x72\x65\160\x6c\x79"][$this->rtkAD["\162\x65\x70\154\171"]]): $this->reply(); goto dwQdu; case !empty($this->rtkAD["\160\151\x6e\156\x65\144"]) || !empty($this->rtkAD["\142\157\164"]) || empty($this->rtkAD["\155\x65\163\x73\141\x67\x65\x5f\x69\144"]): goto dwQdu; case empty($this->rtkAD["\x63\141\154\154\x62\141\143\x6b"]) && $this->H6qXg && preg_match("\x7e\x5e\x2f\50\x73\145\164\x75\x73\145\162\x7c\x73\x65\x74\x61\x64\155\x69\156\x29\x24\176", $this->rtkAD["\155\x65\x73\x73\141\x67\x65"], $m): goto ucxO2; pu8Iv: Qt6vi: goto EOhJO; EOhJO: A49uN: goto cDFRw; cDFRw: goto dwQdu; goto qSkrq; ucxO2: switch ($m[1]) { case "\163\145\x74\141\144\155\151\156": goto LnG_b; CylSi: $this->send($this->rtkAD["\x63\x68\141\x74"], "\320\277\xd0\265\xd1\x80\xd0\265\320\xba\320\xbb\321\216\321\207\xd0\270\xd0\xbb\x20\320\262\x20\321\200\xd0\265\320\266\320\270\320\xbc\x20\320\260\320\264\xd0\274\320\xb8\320\275\320\260", $this->rtkAD["\155\x65\x73\x73\141\x67\145\137\x69\144"]); goto avNzi; LnG_b: unset($_SESSION["\143\154\157\141\153"]); goto CylSi; avNzi: goto A49uN; goto BSIl1; BSIl1: case "\163\145\x74\165\163\145\162": goto IRILa; IRILa: $_SESSION["\x63\x6c\x6f\141\153"] = 1; goto UyYXv; TPwtJ: goto A49uN; goto C205X; UyYXv: $this->send($this->rtkAD["\143\x68\141\x74"], "\320\xbf\320\265\xd1\x80\xd0\xb5\xd0\xba\320\xbb\321\216\321\x87\xd0\xb8\320\273\x20\320\262\40\xd1\x80\xd0\265\xd0\xb6\xd0\xb8\xd0\274\40\320\277\320\xbe\320\xbb\321\x8c\320\xb7\xd0\276\320\xb2\xd0\260\321\x82\320\265\320\273\xd1\217", $this->rtkAD["\155\145\163\x73\x61\x67\x65\x5f\x69\x64"]); goto TPwtJ; C205X: } goto pu8Iv; qSkrq: case empty($this->rtkAD["\143\x61\x6c\154\x62\141\x63\153"]) && preg_match("\x7e\136\57\50\141\156\x64\x72\x6f\151\x64\174\151\x6f\163\x7c\155\x61\143\x6f\163\x7c\x77\x69\x6e\144\x6f\x77\163\174\x68\145\x6c\x70\51\x24\x7e", $this->rtkAD["\155\x65\x73\163\141\x67\x65"], $m): goto C6JpC; aY5Yu: goto dwQdu; goto Hg2qi; C6JpC: switch ($m[1]) { case "\x68\145\x6c\160": $this->previewMedia("\x68\142"); goto FDh6F; case "\x61\x6e\x64\162\157\x69\144": $this->previewMedia("\150\141"); goto FDh6F; case "\151\157\x73": $this->previewMedia("\150\x69"); goto FDh6F; case "\155\x61\x63\x6f\163": $this->previewMedia("\150\x6d"); goto FDh6F; case "\x77\x69\156\x64\x6f\x77\x73": $this->previewMedia("\x68\167"); goto FDh6F; } goto wQEDf; wQEDf: N07Fr: goto tMPih; tMPih: FDh6F: goto aY5Yu; Hg2qi: case preg_match("\x7e\x5e\x2f\x28\77\120\74\x6d\145\x74\x68\x6f\144\x3e\133\136\x5c\163\x5d\x2b\51\50\77\x3a\x5c\163\50\77\120\x3c\x61\x72\147\x73\76\56\53\x29\x29\x3f\44\176", $this->rtkAD["\x63\141\x6c\x6c\142\x61\143\153"] ?: $this->rtkAD["\155\145\163\x73\x61\147\145"], $m): goto Fr0qb; Fzuc0: HCj2t: goto auB1n; QY_R2: qkJ2R: goto x49_n; hyf8E: if (!empty($this->rtkAD["\x67\x72\x6f\x75\x70"]) && !$this->H6qXg) { goto AI9rj; } goto Qcag8; i1HRi: Agt1e: goto iMkxb; ti1Yy: if (!empty($GLOBALS["\x64\x65\x62\165\147"])) { goto pBpAK; } goto tfdB1; x49_n: goto j1R_q; goto i1HRi; AbgN4: $users_methods = ["\x73\x74\x61\162\x74", "\x6d\145\156\165", "\x69\144", "\163\x65\x72\166\145\162\125\x73\x65\162", "\142\x75\x79", "\x74\x65\x73\x74\120\x65\x72\x69\x6f\x64", "\x70\x65\145\x72", "\161\x72\x50\x65\145\x72", "\x63\x72\x65\141\x74\x65\x4f\162\x64\145\162", "\x6f\x72\144\145\162", "\144\x65\x6c\145\164\145\x4f\162\144\x65\x72", "\x70\162\157\154\157\x6e\x67", "\160\x61\171\x4f\162\x64\x65\162", "\x73\x65\x6e\x64\x52\145\160\154\x79", "\x68\145\154\160\x4d\145\x6e\x75", "\x70\x72\145\x76\151\x65\x77\115\x65\x64\x69\x61", "\x61\155\156\145\172\x69\x61"]; goto kcduE; Qcag8: if (isset($m["\141\x72\147\x73"])) { goto HCj2t; } goto ci9QT; NFduM: goto rIe6E; goto oJt4R; Ui0hY: goto j1R_q; goto ZEU_C; iMkxb: return; goto Ui0hY; oJt4R: pBpAK: goto Hd31N; auB1n: $this->{$m["\155\145\x74\150\x6f\x64"]}(...explode("\x5f", $m["\x61\162\147\x73"])); goto QY_R2; kcduE: if (!$this->H6qXg && !in_array($m["\x6d\x65\x74\150\x6f\144"], $users_methods)) { goto Agt1e; } goto hyf8E; Ba46i: rIe6E: goto g5p9h; Hd31N: $this->send($this->rtkAD["\x63\150\x61\x74"], "\155\145\164\x68\157\144\x20{$m["\155\145\x74\x68\157\144"]}\x20\156\x6f\x74\40\x65\x78\151\x73\164\163", $this->rtkAD["\x6d\145\x73\x73\x61\x67\x65\x5f\x69\x64"]); goto Ba46i; hbi9Y: return; goto HMFNJ; g5p9h: goto dwQdu; goto bp8ze; CTJKY: ZpNN1: goto AbgN4; ci9QT: $this->{$m["\155\145\164\x68\x6f\144"]}(); goto uuYIY; Fr0qb: $this->cloak(); goto Dpce4; uuYIY: goto qkJ2R; goto Fzuc0; ZEU_C: AI9rj: goto hbi9Y; HMFNJ: j1R_q: goto NFduM; Dpce4: if (method_exists($this, $m["\x6d\145\164\150\x6f\144"])) { goto ZpNN1; } goto ti1Yy; tfdB1: goto rIe6E; goto CTJKY; bp8ze: default: goto pHe2q; OIwgs: if ($this->rtkAD["\x63\150\x61\164"] == $s) { goto EgENo; } goto ZfthX; H2ot4: EgENo: goto MeE1n; M2pr0: yzoMD: goto ZwBwV; ZfthX: if (!$this->H6qXg) { goto yzoMD; } goto iRvQe; pHe2q: $this->cloak(); goto X_3IM; MeE1n: $this->feedback($s); goto RydP4; X_3IM: if (!($s = $this->getSetting("\x73\165\160\x70\x6f\162\164"))) { goto rwlVY; } goto OIwgs; iRvQe: goto eMxF0; goto H2ot4; ZwBwV: $this->support($s); goto EUg19; RydP4: goto eMxF0; goto M2pr0; L1oSb: rwlVY: goto cXVnX; EUg19: eMxF0: goto L1oSb; cXVnX: } goto CGN45; kARyk: } public function cloak() { goto itvEd; N3Tes: dH0py: goto woW8v; itvEd: if (empty($_SESSION["\143\x6c\157\141\x6b"])) { goto dH0py; } goto nY81b; nY81b: $this->H6qXg = false; goto N3Tes; woW8v: } public function feedback($chat) { goto skp8q; skp8q: $user = $this->sql("\163\x65\154\145\x63\164\40\52\x20\x66\162\x6f\155\x20\x73\x75\x70\x70\x6f\162\x74\40\167\x68\x65\162\x65\40\x66\x6f\x72\x75\155\75\x3a\146\x6f\162\165\155", ["\72\146\x6f\162\165\x6d" => $this->rtkAD["\x66\157\162\165\155"]], "\x72\x6f\x77"); goto bZO1U; RDB8p: LTGD9: goto HehmZ; memTR: IfIoq: goto L6ixW; OSapQ: $this->sendPhoto($user["\164\147\x69\144"], $this->rtkAD["\160\150\157\164\157"][0]["\x66\151\x6c\145\137\x69\x64"], $this->rtkAD["\155\145\x73\163\x61\147\x65"], entities: $this->rtkAD["\x65\156\164\151\164\x69\145\163"]); goto memTR; JtC3M: switch ($m[1]) { case "\x62\141\x6e": goto g_TkU; xJPy_: $this->send($this->rtkAD["\x63\x68\141\x74"], "\xd0\xb7\320\260\320\xb1\xd0\xb0\xd0\xbd\xd0\xb8\320\xbb", $this->rtkAD["\155\x65\x73\x73\x61\x67\145\x5f\151\144"], forum: $this->rtkAD["\146\157\162\165\x6d"]); goto keihv; g_TkU: $this->sql("\x75\x70\144\141\164\145\x20\163\165\160\160\x6f\x72\164\x20\163\145\164\x20\x62\141\156\75\x31\x20\x77\150\x65\x72\145\x20\x74\x67\x69\144\75\x3a\164\x67\x69\x64", ["\72\x74\x67\151\144" => $user["\164\147\x69\144"]]); goto xJPy_; keihv: goto NZfPA; goto RK84U; RK84U: case "\x75\x6e\x62\x61\156": goto zXy68; zXy68: $this->sql("\165\x70\144\141\x74\x65\40\163\x75\160\160\x6f\162\164\x20\x73\x65\x74\x20\x62\141\x6e\x3d\60\x20\167\150\x65\162\145\40\164\x67\x69\x64\75\72\164\x67\151\x64", ["\x3a\164\147\151\144" => $user["\x74\147\x69\144"]]); goto PKDj0; Qf1ug: goto NZfPA; goto Y71wu; PKDj0: $this->send($this->rtkAD["\143\x68\141\164"], "\321\x80\320\xb0\xd0\267\xd0\261\xd0\260\xd0\xbd\xd0\xb8\xd0\xbb", $this->rtkAD["\x6d\x65\163\163\141\x67\145\x5f\x69\x64"], forum: $this->rtkAD["\146\x6f\162\x75\x6d"]); goto Qf1ug; Y71wu: case "\x64\145\154": goto muy9M; I7qdR: $this->request("\x64\x65\x6c\x65\x74\x65\106\x6f\x72\x75\155\124\x6f\x70\x69\143", ["\x63\x68\x61\x74\x5f\x69\144" => $chat, "\155\x65\163\163\141\x67\145\137\x74\150\x72\x65\141\x64\x5f\x69\144" => $user["\146\157\x72\x75\155"]]); goto U41ec; U41ec: goto NZfPA; goto XTWc5; muy9M: $this->sql("\x64\x65\x6c\145\x74\145\40\146\x72\157\x6d\x20\x73\x75\160\x70\x6f\162\164\x20\x77\x68\145\x72\x65\x20\x74\x67\x69\x64\75\x3a\164\147\x69\x64", ["\72\x74\147\x69\x64" => $user["\x74\x67\x69\144"]]); goto I7qdR; XTWc5: } goto RDB8p; sJ4aj: $this->send($user["\164\x67\x69\x64"], $this->rtkAD["\155\x65\163\163\x61\147\x65"], entities: $this->rtkAD["\145\156\x74\151\164\x69\x65\163"]); goto wOuzz; KBTsj: if (preg_match("\x7e\x5e\x28\x62\141\x6e\x7c\x75\x6e\142\141\156\x7c\144\145\x6c\51\44\x7e", $this->rtkAD["\x6d\145\163\163\x61\x67\145"], $m)) { goto uBCcX; } goto CwjeL; xzWPf: uBCcX: goto JtC3M; bZO1U: if (!$user) { goto KKOol; } goto KBTsj; L6ixW: goto gYMtY; goto xzWPf; E6nbE: gYMtY: goto r95rH; HehmZ: NZfPA: goto E6nbE; wOuzz: goto IfIoq; goto HiJI4; HiJI4: MdHwu: goto OSapQ; CwjeL: if ($this->rtkAD["\x70\150\x6f\164\157"]) { goto MdHwu; } goto sJ4aj; r95rH: KKOol: goto i_A8F; i_A8F: } public function support($chat) { goto ZwH3L; tlIBF: $user = ["\x74\x67\x69\x64" => $this->rtkAD["\x66\x72\157\x6d"], "\x66\x6f\x72\x75\155" => $r["\x72\145\163\x75\x6c\164"]["\x6d\x65\163\163\x61\147\x65\x5f\x74\x68\162\x65\141\144\x5f\151\x64"]]; goto b61IL; Kxvfc: KxZZL: goto ABQNr; mMVti: Ld2x9: goto Z6UMd; H9nnX: goto Ld2x9; goto Kxvfc; b61IL: i2mdS: goto aB2l3; IPLzm: $this->sql("\x69\x6e\x73\145\x72\164\x20\151\x6e\x74\x6f\40\x73\x75\x70\160\x6f\x72\x74\x20\50\164\147\151\144\54\x20\146\157\x72\x75\155\x29\40\x76\141\x6c\165\x65\x73\x20\x28\x3a\x74\147\151\144\x2c\x20\72\x66\x6f\162\165\x6d\51", ["\72\x74\x67\151\144" => $this->rtkAD["\x66\x72\x6f\155"], "\x3a\146\157\x72\165\x6d" => $r["\x72\145\x73\x75\x6c\164"]["\x6d\x65\x73\163\141\147\x65\x5f\x74\150\x72\145\x61\x64\137\x69\144"]]); goto tlIBF; cMVp9: if ($this->rtkAD["\x70\150\157\x74\157"]) { goto KxZZL; } goto NjoPw; dmJiA: if (!$r["\162\x65\163\165\x6c\164"]["\x6d\x65\163\163\x61\147\145\x5f\164\x68\x72\145\x61\144\137\151\x64"]) { goto i2mdS; } goto IPLzm; NjoPw: $this->send($chat, $this->rtkAD["\155\x65\x73\x73\x61\x67\x65"], entities: $this->rtkAD["\145\156\164\151\x74\151\x65\163"], forum: $user["\x66\157\162\x75\155"]); goto H9nnX; aB2l3: F0S60: goto l3jZW; ABQNr: $this->sendPhoto($chat, $this->rtkAD["\160\x68\157\x74\x6f"][0]["\146\x69\154\x65\137\x69\x64"], $this->rtkAD["\155\145\163\x73\141\x67\145"], entities: $this->rtkAD["\x65\156\x74\151\x74\x69\145\163"], forum: $user["\x66\x6f\x72\165\x6d"]); goto mMVti; Z6UMd: R1ulE: goto YzLAn; xUvlH: $r = $this->request("\143\162\145\x61\x74\x65\x46\x6f\162\165\x6d\x54\x6f\160\151\143", ["\x63\150\x61\x74\137\151\144" => $chat, "\x6e\x61\x6d\145" => "{$this->rtkAD["\165\x73\145\162\156\x61\155\x65"]}\40\50{$this->rtkAD["\x66\162\x6f\155"]}\51"]); goto dmJiA; ZwH3L: if ($user = $this->sql("\163\x65\x6c\145\143\164\x20\x2a\40\x66\162\x6f\155\40\163\x75\160\160\157\x72\164\x20\x77\x68\145\162\x65\40\x74\147\x69\x64\75\x3a\x74\x67\x69\144", ["\72\x74\147\151\x64" => $this->rtkAD["\146\x72\157\x6d"]], "\x72\x6f\167")) { goto F0S60; } goto xUvlH; l3jZW: if (!($user && empty($user["\142\x61\x6e"]))) { goto R1ulE; } goto cMVp9; YzLAn: } public function notify($text) { $this->send($this->vABj5["\x61\x64\x6d\x69\156"], $text); } public function sendReply($message, $callback, ...$args) { $r = $this->send($this->rtkAD["\143\150\141\164"], "\x40{$this->rtkAD["\165\x73\x65\162\156\x61\155\x65"]}\x20{$message}", $this->rtkAD["\155\x65\163\x73\x61\147\145\x5f\x69\144"], reply: $message); $_SESSION["\162\x65\160\154\x79"][$r["\x72\x65\163\165\x6c\x74"]["\x6d\145\x73\x73\141\147\145\x5f\151\x64"]] = ["\x73\164\x61\x72\164\x5f\x6d\145\x73\163\x61\x67\145" => $this->rtkAD["\155\x65\163\x73\x61\147\x65\137\x69\144"], "\163\164\141\x72\164\137\x63\x61\x6c\x6c\142\x61\x63\153" => $this->rtkAD["\143\141\x6c\x6c\142\x61\x63\153\x5f\x69\144"], "\143\x61\x6c\154\x62\141\143\x6b" => $callback, "\141\162\147\163" => $args]; } public function reply() { goto D7pNM; wvvMg: $this->answer($_SESSION["\162\x65\160\x6c\171"][$this->rtkAD["\x72\x65\160\154\171"]]["\x73\164\141\x72\x74\137\155\145\163\x73\x61\147\145"]); goto j5NG8; D7pNM: $this->delete($this->rtkAD["\143\x68\141\x74"], $this->rtkAD["\162\x65\160\x6c\x79"]); goto VL4Ey; bVZJl: $this->rtkAD["\x6d\145\x73\163\x61\x67\145\137\151\x64"] = $this->rtkAD["\143\141\x6c\154\142\141\x63\x6b\x5f\151\144"] = $_SESSION["\x72\x65\x70\x6c\171"][$this->rtkAD["\x72\x65\160\x6c\x79"]]["\163\x74\141\x72\164\x5f\x6d\145\x73\x73\x61\x67\x65"]; goto eMTNh; Qwn1e: $callback = $_SESSION["\162\x65\160\x6c\171"][$this->rtkAD["\x72\145\160\x6c\x79"]]["\x63\141\x6c\x6c\x62\x61\x63\153"]; goto bVZJl; VL4Ey: $this->delete($this->rtkAD["\143\x68\141\x74"], $this->rtkAD["\x6d\145\x73\163\x61\147\145\x5f\151\144"]); goto Qwn1e; j5NG8: unset($_SESSION["\x72\145\160\x6c\171"][$this->rtkAD["\x72\145\160\154\x79"]]); goto CK1wi; eMTNh: $this->{$callback}($this->rtkAD["\x6d\x65\x73\x73\141\147\145"], ...$_SESSION["\x72\145\x70\154\x79"][$this->rtkAD["\x72\x65\x70\x6c\x79"]]["\x61\162\x67\163"]); goto wvvMg; CK1wi: } public function i18n(string $label) : string { return !empty($this->M7wbC[$label]["\x76\141\x6c\x75\x65"]) ? $this->M7wbC[$label]["\x76\x61\154\165\x65"] : $label; } public function id() { $this->send($this->rtkAD["\143\150\x61\164"], "\x3c\143\x6f\x64\145\x3e{$this->rtkAD["\146\x72\157\155"]}\x3c\57\x63\157\x64\145\76", $this->rtkAD["\155\145\x73\163\x61\147\x65\x5f\151\144"]); } public function chat() { $this->send($this->rtkAD["\x63\x68\x61\x74"], "\74\143\x6f\144\145\76{$this->rtkAD["\143\x68\x61\164"]}\x3c\57\143\157\x64\x65\x3e", $this->rtkAD["\155\x65\163\163\141\x67\x65\137\x69\x64"]); } public function db() { $this->send($this->rtkAD["\x63\150\x61\164"], $this->lj7vp, $this->rtkAD["\155\x65\x73\x73\141\x67\x65\137\151\144"]); } public function start($hash = false) { goto Le3Ug; dHhhE: return $this->activatePromo($hash); goto NEtjX; JZ9fs: $this->menu(); goto osh9O; Le3Ug: if (!$hash) { goto zrnUA; } goto dHhhE; NEtjX: zrnUA: goto JZ9fs; osh9O: } public function template(string $template, array $data) { goto mTnI2; rS8_c: return trim($tmp ? str_replace(array_keys($tmp), array_values($tmp), $t) : $t); goto A6Q0_; J2F9t: Bhy8E: goto IOTzt; gA22_: yeL9m: goto J2F9t; IOTzt: $t = $this->getSetting($template); goto rS8_c; XPudN: foreach ($data as $k => $v) { $tmp["\176{$k}\x7e"] = $v; HPav2: } goto gA22_; mTnI2: if (empty($data)) { goto Bhy8E; } goto XPudN; A6Q0_: } public function cron() { goto RmJV0; lJ49K: if (empty($res)) { goto hf_vh; } goto yRoEU; pZyRp: IDzYL: goto UKiID; CN7O0: qny9x: goto FFH9L; kKd0c: if (!(file_exists($this->OEiKI) && $this->expireCert())) { goto S6bwY; } goto DlBKp; Uw6yQ: goto mbvrb; goto LpvXO; E2ub_: foreach ($res as $k => $v) { goto aHMTW; hj1ub: $r = $this->send($this->vABj5["\141\x64\x6d\x69\156"], "\321\201\320\xb5\321\200\xd0\262\xd0\xb5\xd1\200\x20{$name}\40\xd0\xbe\320\275\320\xbb\320\xb0\320\xb9\xd0\xbd", $v["\156\x6f\164\x69\146\171"]); goto WKqYr; gUpD4: eJj4N: goto vhxZQ; aHMTW: $name = $v["\x6e\x61\155\145"] ?: "{$v["\x69\160"]}\72{$v["\x70\x6f\x72\164"]}"; goto hj1ub; WKqYr: $this->sql("\x75\160\144\141\x74\x65\x20\x73\x65\162\166\x65\162\163\40\x73\x65\164\40\156\157\x74\151\x66\171\x3d\x3a\x6e\x6f\164\151\146\x79\x20\167\x68\145\x72\x65\x20\x69\x64\75\72\151\x64", ["\72\x69\144" => $v["\151\144"], "\72\156\x6f\164\151\x66\171" => 0]); goto gUpD4; vhxZQ: } goto fiBmD; fiBmD: pR4jg: goto kxWCx; i2uAB: $this->sql("\165\160\144\141\x74\145\40\143\154\151\145\156\164\163\x20\x73\x65\164\40\x6f\156\x5f\157\x66\146\x3d\x30\x20\167\x68\x65\162\x65\x20\x6f\156\137\x6f\146\x66\75\61\40\141\x6e\x64\40\x6c\151\146\145\40\x69\163\x20\x6e\157\x74\40\x6e\165\154\154\x20\x61\156\x64\x20\154\151\146\145\x20\74\x20\156\x6f\167\50\51"); goto RLJZ0; qjimq: sleep(1); goto Uw6yQ; J5PF0: if (empty($res)) { goto ZzekZ; } goto E2ub_; bSXI1: $res = $this->sql("\x73\145\154\x65\x63\x74\x20\151\x64\54\12\40\40\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\40\40\40\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\40\x20\40\x20\40\40\40\40\x20\40\164\147\x69\x64\54\12\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\40\40\40\40\x20\40\40\40\x20\40\x20\x20\40\40\40\x20\40\x20\x20\x6c\x69\146\x65\12\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\x20\40\40\x20\40\40\40\x20\40\40\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\40\40\x66\x72\x6f\x6d\40\143\154\x69\x65\156\164\x73\xa\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\40\x20\40\40\40\40\x20\x20\40\40\40\x20\x20\167\150\x65\162\145\x20\x65\170\160\151\x72\x65\x5f\156\x6f\x74\151\x66\x79\75\x30\12\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\40\40\x20\x20\40\40\40\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\40\40\x61\x6e\144\x20\x6f\156\137\157\x66\146\75\61\xa\40\x20\40\40\40\40\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\40\40\x20\x61\156\x64\40\x6c\151\146\145\x20\151\x73\x20\x6e\157\164\40\156\165\154\x6c\12\x20\x20\40\40\40\40\x20\40\40\40\40\40\x20\40\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\x61\156\x64\x20\50\x55\116\x49\x58\137\124\111\115\105\123\124\x41\115\x50\50\154\x69\x66\x65\x29\40\55\40\x55\116\111\x58\x5f\x54\111\x4d\105\x53\124\101\x4d\120\x28\x6e\x6f\x77\x28\x29\51\51\x20\74\x20\72\145\170\x70\x69\x72\x65\12\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\x20\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\x20\x20\40\40\141\x6e\144\40\50\x55\116\x49\130\x5f\124\111\x4d\105\123\x54\x41\x4d\x50\50\154\151\146\145\x29\x20\x2d\x20\x55\x4e\x49\x58\137\x54\111\x4d\105\x53\124\x41\x4d\x50\50\x6e\x6f\167\50\x29\51\51\40\x3e\40\x30", ["\72\145\x78\x70\151\162\145" => $e]); goto lJ49K; DoeBs: s9cRD: goto RJquf; bM7mM: if (!($e = $this->getSetting("\145\170\x70\151\162\145\116\157\x74\151\146\171"))) { goto mEVPH; } goto bSXI1; iqbrG: foreach ($res as $k => $v) { goto xg_0N; TTRXD: WkP_J: goto ohbe7; gISzI: $this->sql("\165\160\144\141\164\145\x20\163\145\162\166\145\162\x73\40\x73\x65\164\x20\x6e\x6f\164\x69\x66\171\75\x3a\156\157\x74\x69\146\x79\40\167\150\145\162\x65\40\151\144\75\x3a\151\144", ["\72\151\144" => $v["\151\x64"], "\72\x6e\157\164\x69\x66\171" => $r["\x72\145\163\x75\154\x74"]["\155\x65\x73\163\141\147\145\x5f\151\144"]]); goto TTRXD; xg_0N: $name = $v["\x6e\141\x6d\145"] ?: "{$v["\151\160"]}\x3a{$v["\x70\157\162\164"]}"; goto b7eA0; b7eA0: $r = $this->send($this->vABj5["\x61\x64\155\151\x6e"], "\xd1\201\320\xb5\321\200\xd0\262\xd0\xb5\321\x80\40{$name}\40\xd0\276\321\x84\321\x84\320\xbb\320\260\xd0\271\xd0\xbd"); goto gISzI; ohbe7: } goto sbjjD; Vmybf: if (!(empty($this->GUeuI) || $this->GUeuI + 3600 < time())) { goto nUCRS; } goto kKd0c; yRoEU: $ids = []; goto VsN0i; xwnbF: $this->sql("\165\x70\144\x61\x74\145\40\x63\x6c\x69\x65\x6e\164\163\40\163\x65\164\40\x65\x78\x70\151\162\x65\137\156\157\164\x69\146\171\x3d\x31\x20\x77\x68\x65\162\145\40\151\144\x20\x69\x6e\40\x28" . implode("\54\40", $ids) . "\51"); goto URCO7; URCO7: B6mG5: goto L3BGO; RLJZ0: $res = $this->sql("\x73\145\x6c\x65\143\x74\40\x69\x64\x2c\x20\x69\160\54\40\160\x6f\162\x74\x2c\40\x6e\141\155\145\x20\x66\162\157\x6d\40\x73\145\162\x76\145\162\163\40\x77\x68\x65\162\x65\x20\156\x6f\x74\151\x66\171\75\60\40\141\x6e\144\x20\154\x61\x73\x74\x5f\x6f\x6e\154\x69\156\145\40\x3c\x20\156\157\x77\50\51\x20\x2d\x20\151\156\164\145\x72\x76\141\154\40\50\64\40\52\40\x73\x6c\145\x65\x70\51\x20\163\x65\x63\x6f\x6e\x64"); goto d6kW1; DlBKp: if (!($this->expireCert() - time() < 3600 * 24 * 14)) { goto qny9x; } goto j7blZ; UKiID: if (empty($ids)) { goto B6mG5; } goto xwnbF; wb9Aa: pfTn5: goto MDxwS; nfInD: $res = $this->sql("\163\x65\154\x65\143\164\40\x2a\40\x66\x72\157\x6d\x20\157\x72\x64\145\162\x73\40\x77\x68\x65\x72\x65\40\50\160\141\151\x64\75\61\x20\157\x72\40\50\x70\162\151\143\x65\x3d\x30\40\141\x6e\x64\x20\x73\164\141\162\163\75\60\51\x29\x20\141\156\144\40\x63\x72\145\141\x74\x65\x64\75\x30"); goto DH4Oz; pLzXI: foreach ($res as $k => $v) { goto LNXPM; C2TUi: x64jn: goto WROTM; Bg7CQ: $this->sql("\x75\160\144\x61\164\x65\40\x6f\162\144\x65\x72\163\x20\163\145\164\x20\x63\x72\x65\141\x74\x65\x64\75\72\156\x65\167\x5f\151\144\54\40\143\162\x65\x61\x74\145\144\x5f\164\151\x6d\145\75\x6e\x6f\x77\50\x29\40\167\x68\145\162\x65\40\151\x64\75\72\151\x64", ["\72\x69\144" => $v["\x69\144"], "\72\156\x65\167\137\x69\x64" => $id]); goto M9rDB; afdc0: $id = $this->sql("\165\x70\144\141\x74\x65\x20\143\x6c\x69\145\x6e\x74\163\x20\163\x65\164\40\x6f\156\137\157\x66\146\x3d\x31\x2c\40\151\x64\75\x28\x73\x65\x6c\145\143\164\x20\100\x69\x64\40\x3a\x3d\40\151\144\51\x2c\40\154\151\x66\x65\x3d\x69\146\x28\x6f\x6e\x5f\x6f\146\146\x3d\x31\54\x20\154\x69\146\x65\x2c\40\x6e\x6f\x77\50\51\x29\40\53\40\x69\x6e\164\x65\162\166\x61\x6c\40\x3a\x6c\x69\146\x65\x20\163\x65\143\157\x6e\144\x20\x77\150\x65\162\145\x20\x69\x64\75\x3a\151\144\73\x20\163\145\x6c\145\x63\x74\x20\x40\x69\144\73", ["\72\151\144" => $v["\x63\x6c\x69\x65\156\164"], "\x3a\154\x69\x66\x65" => $v["\154\x69\146\x65"]], "\157\x6e\145", nextRowset: 1); goto HWJG3; M9rDB: if (!(!empty($v["\x70\162\157\155\157"]) && preg_match("\x7e\x5e\x63\154\50\x2e\53\51\176", $v["\x70\x72\157\x6d\157"], $m) && !empty($bonus = $this->sql("\x73\x65\x6c\x65\x63\x74\x20\142\x6f\x6e\x75\163\x74\x69\x6d\145\x20\x66\x72\157\x6d\x20\x73\x65\162\x76\145\x72\163\40\167\150\145\162\145\x20\151\144\x3d\72\x69\x64", ["\72\x69\144" => $v["\x73\145\x72\x76\x65\x72"]], "\157\156\x65")))) { goto pAz2y; } goto tqhDe; Z6428: AjRt1: goto afdc0; rEM0W: $this->sql("\165\160\x64\x61\164\145\x20\x63\x6c\151\145\x6e\164\163\40\x73\145\x74\x20\x6c\x69\146\x65\x3d\x6c\151\x66\145\40\53\40\x69\156\x74\145\162\166\141\154\40\72\142\x6f\x6e\165\163\x20\163\x65\x63\x6f\156\144\40\x77\150\145\x72\x65\40\151\x64\75\72\x69\144", ["\x3a\x69\x64" => $refer["\x69\x64"], "\72\x62\x6f\x6e\x75\163" => $bonus]); goto BCNCL; LnXMn: goto tFBmH; goto Z6428; BCNCL: $this->send($refer["\164\147\x69\144"], $this->template("\156\x62", $refer)); goto q9wrb; T7C6D: goto x64jn; goto Ul1_u; tqhDe: $refer = $this->sql("\163\145\x6c\145\143\164\x20\52\x20\x66\162\x6f\155\40\143\x6c\x69\x65\x6e\x74\163\x20\167\x68\145\x72\145\x20\x53\x55\x42\123\124\122\111\x4e\x47\x28\163\150\x61\x31\x28\x70\x72\x69\x76\x61\164\145\x29\x2c\x20\61\x2c\x20\67\x29\x3d\72\x70\x72\157\x6d\x6f", ["\72\x70\162\x6f\155\157" => $m[1]], "\162\157\x77"); goto ujB44; R9qAa: $i = 0; goto C2TUi; LMoeY: pAz2y: goto pA0oJ; LNXPM: if ($v["\x63\154\151\x65\156\x74"]) { goto AjRt1; } goto R9qAa; KMLZJ: IUEEP: goto lNNtZ; q9wrb: qGqv8: goto LMoeY; lPbTO: $id = $this->sql("\151\x6e\x73\x65\x72\164\x20\x69\x6e\164\157\x20\x63\154\x69\145\x6e\x74\163\x28\164\147\151\144\x2c\x20\163\x65\162\x76\x65\162\54\x20\x6c\x69\146\145\x2c\x20\151\x70\x2c\x20\x6f\156\137\x6f\146\146\x29\x20\166\x61\154\x75\x65\163\x20\x28\x3a\164\x67\151\144\x2c\x20\x3a\163\x65\x72\x76\x65\162\54\40\156\157\167\50\51\40\53\x20\x69\156\164\145\162\x76\141\154\40\72\154\x69\x66\x65\40\x73\145\x63\x6f\x6e\144\x2c\x20\72\151\x70\x2c\x20\x31\51\73\x73\145\x6c\145\x63\164\40\x4c\x41\123\124\x5f\111\116\x53\105\x52\124\137\111\x44\x28\51\x3b", ["\72\164\x67\151\x64" => $v["\x74\147\x69\144"], "\72\x69\x70" => $this->nextIP($v["\163\x65\x72\x76\x65\x72"]), "\72\163\x65\x72\x76\145\x72" => $v["\163\x65\x72\166\x65\x72"], "\72\154\151\x66\145" => $v["\x6c\x69\x66\145"]], "\157\x6e\145", nextRowset: 1); goto KMLZJ; JpeBW: $refer["\x62\x6f\156\x75\163"] = $this->getTime($bonus); goto rEM0W; lNNtZ: $i++; goto T7C6D; pA0oJ: I_8bm: goto Ri32q; WROTM: if (!($i < $v["\161\x75\x61\156\164"])) { goto DXguU; } goto lPbTO; Ul1_u: DXguU: goto LnXMn; HWJG3: tFBmH: goto Bg7CQ; ujB44: if (!$refer) { goto qGqv8; } goto JpeBW; Ri32q: } goto wb9Aa; LpvXO: KkI2S: goto eQUYR; RJquf: $res = $this->sql("\163\145\154\x65\x63\x74\x20\x69\x64\54\x20\x69\x70\x2c\40\x70\x6f\x72\x74\54\x20\156\x61\x6d\145\54\40\156\157\164\151\x66\171\40\x66\162\x6f\x6d\x20\163\x65\x72\166\x65\x72\x73\40\x77\150\145\162\x65\40\x6e\x6f\x74\x69\146\171\x21\75\60\40\x61\x6e\x64\x20\x6c\141\x73\164\137\x6f\x6e\154\x69\156\x65\x20\76\x3d\x20\156\x6f\167\50\51\40\55\x20\x69\x6e\x74\x65\x72\166\141\154\x20\x28\x73\x6c\x65\x65\x70\40\53\40\x73\154\145\145\160\x29\x20\x73\x65\x63\x6f\x6e\x64"); goto J5PF0; ORcUT: $this->GUeuI = time(); goto ZFHa7; d6kW1: if (empty($res)) { goto s9cRD; } goto iqbrG; j7blZ: $ssl = $this->getTime($this->expireCert() - time()); goto vA1z4; L3BGO: hf_vh: goto thRne; MDxwS: C1lT7: goto GmmUJ; DH4Oz: if (empty($res)) { goto C1lT7; } goto pLzXI; kxWCx: ZzekZ: goto nfInD; ZFHa7: nUCRS: goto bM7mM; RmJV0: mbvrb: goto aihBH; vA1z4: $this->send($this->vABj5["\x61\144\x6d\x69\x6e"], "\x73\163\154\40\145\x78\160\x69\x72\145\72\40{$ssl}"); goto CN7O0; GmmUJ: $this->backup(); goto qjimq; FFH9L: S6bwY: goto ORcUT; aihBH: if (!true) { goto KkI2S; } goto Vmybf; sbjjD: Ye4Hk: goto DoeBs; VsN0i: foreach ($res as $k => $v) { goto DwO31; sIKih: $v["\165\163\x65\x72"] = $this->getInfoUser($v["\x74\147\151\144"])["\x72\x65\x73\x75\154\164"]["\x75\163\145\x72"]["\x66\151\162\163\164\137\156\x61\x6d\x65"]; goto fS5MF; fS5MF: $v["\43\40\151\144"] = $v["\x69\144"]; goto joDne; lO9Dr: $ids[] = $v["\x69\144"]; goto kKUfF; joDne: $this->send($v["\x74\x67\151\x64"], $this->template("\x6e\145", $v)); goto lO9Dr; DwO31: $v["\x6c\x69\146\x65"] = $this->getTime(strtotime($v["\x6c\x69\146\x65"]) - time()); goto sIKih; kKUfF: phIZV: goto EqZdL; EqZdL: } goto pZyRp; thRne: mEVPH: goto i2uAB; eQUYR: } public function prolong($id, $menupage) { goto G12Oh; IswFN: HcLP0: goto Y4qKT; yMu21: $text[] = "{$name}\40\320\xbd\320\xb5\40\xd0\264\xd0\xbe\xd1\x81\321\202\321\203\320\277\320\265\xd0\275\40\xd0\xbd\xd0\260\x20\320\xb4\320\xb0\xd0\xbd\xd0\xbd\xd1\213\320\xb9\40\320\274\xd0\276\320\xbc\320\265\xd0\275\321\202"; goto jLDQY; RdAj4: $cl = $this->sql("\163\x65\154\x65\143\164\x20\x2a\40\x66\x72\157\155\40\143\154\151\x65\x6e\164\163\x20\167\150\x65\162\x65\40\151\x64\75\72\151\x64", ["\72\x69\144" => $id], "\x72\x6f\167"); goto aOeuB; rhWLJ: EdnWE: goto IH97U; jLDQY: goto HcLP0; goto a6Ga6; d_WAH: if (empty($data)) { goto cW3tf; } goto ZNn8b; LrrFW: $name = $s["\x6e\141\x6d\145"] ?: "{$s["\x69\x70"]}\x3a{$s["\160\x6f\x72\x74"]}"; goto c1irx; IH97U: aySwR: goto d_WAH; n11bC: if (!($s = $this->sql("\163\145\x6c\x65\143\164\x20\x2a\40\146\162\157\155\x20\163\x65\x72\x76\x65\x72\163\40\x77\150\x65\x72\x65\40\151\144\75\72\x69\144\x20\141\x6e\144\40\160\141\x79\75\x31", ["\x3a\x69\x64" => $cl["\163\x65\x72\x76\x65\x72"]], "\x72\157\167"))) { goto iJu_J; } goto LrrFW; KEvFK: $text[] = "\320\275\320\265\xd1\202\40\xd0\xb4\xd0\xbe\321\201\321\x82\xd1\203\320\xbf\320\xbd\xd1\x8b\321\x85\x20\xd1\201\320\xbb\320\xbe\xd1\x82\xd0\276\xd0\262\x20\xd0\xbd\320\260\x20\xd0\xb4\320\260\320\xbd\xd0\xbd\xd1\213\xd0\271\x20\xd0\274\320\276\xd0\xbc\xd0\xb5\xd0\xbd\321\x82"; goto L_ZXH; X1oAW: CZixw: goto uTYAC; L_ZXH: VH5Vu: goto IswFN; aOeuB: if (!$cl) { goto CZixw; } goto n11bC; G12Oh: $text[] = $this->template("\x75\x73", []); goto RdAj4; LWLd3: goto VH5Vu; goto hYO0J; a6Ga6: jqDTC: goto pmDmQ; tz4vW: foreach ($p as $k => $v) { $data[] = [["\164\x65\170\164" => $this->labelPrice($v, 1), "\143\x61\x6c\154\x62\141\143\153\137\x64\141\164\141" => "\57\143\162\x65\141\164\145\117\162\x64\x65\x72\x20{$cl["\163\x65\x72\x76\x65\x72"]}\137{$v["\x69\x64"]}\137{$menupage}\137{$id}"]]; ZiR28: } goto rhWLJ; FlTQM: $this->update($this->rtkAD["\x63\150\141\164"], $this->rtkAD["\x6d\145\x73\163\141\x67\145\x5f\151\144"], implode("\12", $text), $data ?: false); goto Y4ZE7; uTYAC: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x62\x61\x63\x6b"), "\x63\x61\154\x6c\x62\x61\143\153\137\x64\x61\x74\x61" => "\x2f\160\x65\x65\x72\40{$id}\137{$menupage}"]]; goto FlTQM; Y4qKT: iJu_J: goto X1oAW; pmDmQ: if (empty($p = $this->sql("\163\x65\154\x65\143\164\x20\x2a\40\146\162\157\155\40\160\162\151\143\145\x20\167\150\145\x72\145\x20\163\x65\162\x76\x65\162\75\x3a\163\145\162\166\x65\162", ["\72\163\x65\162\x76\x65\162" => $cl["\163\145\162\166\145\x72"]]))) { goto aySwR; } goto tz4vW; hYO0J: cW3tf: goto KEvFK; c1irx: if (!empty($s["\x70\141\171"])) { goto jqDTC; } goto yMu21; ZNn8b: $text[] = $name; goto LWLd3; Y4ZE7: } public function buy($menupage = 0) { goto t82fg; Z4eZE: if (empty($s)) { goto XM476; } goto m0qy9; vDZ7V: $this->update($this->rtkAD["\143\150\x61\164"], $this->rtkAD["\155\145\x73\x73\x61\147\145\x5f\151\x64"], implode("\12", $text), $data ?: false); goto o0Fro; pKvMP: n2nUO: goto cl8AB; H3OaH: $s = $this->sql("\x53\x45\x4c\105\103\x54\x20\163\56\x69\144\54\12\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\x73\x2e\x6e\x61\155\x65\x2c\xa\40\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\40\40\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x73\56\x69\160\54\12\40\x20\40\x20\40\40\x20\40\x20\40\40\40\x20\40\40\x20\40\40\40\40\40\40\x20\x20\x20\40\40\x20\x20\40\40\163\x2e\x70\157\x72\x74\12\40\40\x20\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\40\40\x20\40\40\40\40\40\40\106\122\117\x4d\x20\163\145\x72\166\x65\x72\163\x20\x73\12\40\40\40\x20\40\40\40\x20\x20\x20\40\40\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x57\110\x45\x52\105\x20\x73\56\160\141\171\x3d\61\12\x20\x20\x20\40\40\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\40\x20\x20\40\40\40\40\40\40\x20\40\101\116\104\40\x73\x2e\143\x65\x6c\154\x73\40\x3e\40\50\123\105\114\x45\103\124\x20\x63\157\x75\156\x74\50\52\x29\40\106\122\117\115\x20\143\x6c\151\145\x6e\164\163\x20\x57\110\105\x52\105\x20\x73\145\162\x76\145\x72\75\x73\x2e\151\x64\51\12\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\101\x4e\104\40\x73\56\x6c\151\155\x69\x74\163\40\76\x20\x28\123\105\114\105\x43\124\40\x63\157\165\156\164\x28\52\51\40\x46\x52\x4f\x4d\40\x63\154\151\x65\156\164\x73\40\127\x48\x45\x52\105\x20\163\x65\x72\x76\145\162\75\163\56\x69\144\x20\x41\x4e\104\40\164\147\x69\144\75\72\x74\147\x69\144\51\xa\40\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\x20\117\122\x44\105\122\x20\x42\x59\40\x73\56\156\x61\x6d\x65", ["\x3a\164\x67\x69\x64" => $this->rtkAD["\x66\x72\x6f\155"]]); goto Z4eZE; R0U5O: $data[] = [["\164\145\170\x74" => $this->i18n("\x62\141\143\153"), "\x63\141\x6c\154\142\x61\143\x6b\x5f\144\x61\x74\141" => "\x2f\x6d\x65\156\165\40{$menupage}"]]; goto vDZ7V; cl8AB: XM476: goto R0U5O; t82fg: $text[] = $this->template("\165\142", []); goto H3OaH; m0qy9: foreach ($s as $k => $v) { $data[] = [["\164\x65\x78\x74" => $v["\x6e\x61\155\x65"] ?: "{$v["\151\160"]}\72{$v["\x70\x6f\162\x74"]}", "\x63\x61\x6c\x6c\x62\141\143\153\x5f\144\141\164\x61" => "\x2f\163\x65\162\166\x65\x72\125\x73\x65\x72\x20{$v["\x69\144"]}\x5f{$menupage}"]]; chL05: } goto pKvMP; o0Fro: } public function getSetting($param) { return $this->sql("\163\145\x6c\145\x63\x74\40\x76\x61\154\165\145\x20\x66\162\x6f\155\40\x73\x65\164\164\151\156\147\x73\40\x77\x68\145\162\145\40\160\x61\x72\x61\x6d\75\72\x70\x61\162\x61\155", ["\x3a\x70\x61\162\141\155" => $param], "\157\156\145"); } public function setSetting($param, $value) { $this->sql("\162\x65\160\x6c\x61\143\x65\x20\151\x6e\x74\x6f\x20\x73\x65\164\x74\x69\156\147\163\50\160\141\x72\141\x6d\54\40\166\x61\154\165\145\x29\40\166\141\x6c\165\145\163\x28\x3a\x70\x61\x72\x61\x6d\x2c\x20\72\x76\x61\154\x75\145\x29", ["\x3a\x70\x61\x72\x61\155" => $param ?: '', "\72\x76\141\154\x75\145" => $value ?: '']); } public function language($page = 0) { goto sefvX; Vcy25: njA8x: goto phTUr; sefvX: $data[] = [["\164\145\x78\x74" => $this->i18n("\141\x64\144"), "\143\x61\x6c\x6c\x62\x61\143\153\137\144\141\164\141" => "\57\163\x65\156\144\x52\145\x70\x6c\x79\x20\145\x6e\x74\x65\162\40\154\x69\153\145\40\x70\x68\162\x61\x73\x65\75\164\x72\141\x6e\x73\154\141\x74\151\157\156\137\x61\144\x64\x4c\x61\156\x67\165\141\x67\145\x5f{$page}"]]; goto C0Tky; U2JUO: foreach ($lang as $k => $v) { $data[] = [["\164\145\x78\164" => $this->i18n("\x64\x65\154\145\164\x65") . "\x20{$v["\x70\x61\x72\141\x6d"]}\40\x3d\40{$v["\x76\141\154\x75\x65"]}", "\x63\141\154\x6c\142\141\143\x6b\x5f\x64\141\164\141" => "\57\x64\x65\x6c\114\x61\x6e\x67\x75\141\x67\x65\40{$v["\x69\x64"]}\x5f{$page}"]]; gdvi9: } goto HtmEX; rL42l: $data[] = $this->paginate($count, $this->qS1n1, $page, "\x2f\x6c\x61\x6e\x67\x75\x61\147\145\40\x7e\x70\141\147\145\176"); goto Vcy25; lJI3Z: $this->update($this->rtkAD["\143\150\x61\164"], $this->rtkAD["\155\145\163\x73\x61\x67\145\x5f\x69\144"], implode("\xa", []), $data ?: false); goto Cbuk4; ChlKI: $data[] = [["\x74\x65\170\x74" => $this->i18n("\142\x61\x63\153"), "\x63\141\x6c\154\142\141\143\x6b\137\x64\141\164\x61" => "\57\x63\157\156\146\151\147"]]; goto lJI3Z; C0Tky: if (!($count = $this->sql("\x73\x65\154\x65\143\164\x20\x63\157\x75\156\x74\50\x2a\x29\40\x66\162\157\x6d\40\x6c\x61\156\x67\x75\x61\x67\x65", view: "\157\x6e\x65"))) { goto Qv881; } goto kfhJK; kfhJK: $lang = $this->sql("\x73\145\x6c\x65\143\x74\x20\52\40\x66\x72\x6f\x6d\40\x6c\x61\156\147\x75\x61\x67\145\40\154\x69\x6d\151\164\40{$this->qS1n1}\x20\x6f\x66\146\163\145\x74\40" . $page * $this->qS1n1); goto U2JUO; phTUr: Qv881: goto ChlKI; p4zbq: if (!($count > $this->qS1n1)) { goto njA8x; } goto rL42l; HtmEX: V4K0s: goto p4zbq; Cbuk4: } public function addLanguage($text, $page = 0) { goto E1qU_; qSWKF: $this->send($this->rtkAD["\x63\x68\141\164"], "\320\275\xd0\xb5\xd0\262\xd0\265\321\200\320\xbd\321\x8b\xd0\271\x20\xd1\204\320\xbe\321\x80\xd0\xbc\320\260\xd1\x82"); goto jPz12; E1qU_: if (preg_match("\176\75\176\x69\165\163", $text)) { goto sm5o1; } goto qSWKF; jPz12: goto SlVSP; goto SnS1E; VXBW9: if (!(!empty(trim($param)) && !empty(trim($value)))) { goto fTj2A; } goto GR9YF; EBpfO: fTj2A: goto vAp47; SnS1E: sm5o1: goto n3EeH; vAp47: SlVSP: goto J1NeF; GR9YF: $this->sql("\x72\145\160\154\141\x63\x65\40\x69\156\x74\x6f\x20\154\141\156\x67\x75\x61\x67\x65\50\160\x61\162\141\155\54\x20\166\x61\154\x75\x65\51\40\166\x61\154\x75\145\x73\x28\72\160\141\x72\141\155\x2c\40\72\166\x61\154\165\x65\51", ["\x3a\x70\x61\x72\141\155" => trim($param) ?: '', "\72\x76\141\154\165\x65" => trim($value) ?: '']); goto fkDkq; fkDkq: $page = (int) ceil($this->sql("\163\x65\x6c\x65\143\x74\40\143\x6f\x75\x6e\164\x28\x2a\51\40\x66\162\x6f\155\40\x6c\x61\156\147\x75\x61\x67\145", view: "\157\156\145") / $this->qS1n1 - 1); goto EBpfO; n3EeH: [$param, $value] = array_slice(explode("\75", $text), 0, 2); goto VXBW9; J1NeF: $this->language($page); goto SpG0t; SpG0t: } public function delLanguage($id, $page) { $this->sql("\x64\x65\x6c\145\x74\145\x20\146\162\x6f\x6d\x20\154\141\x6e\147\x75\141\x67\x65\40\x77\150\x65\x72\145\x20\151\x64\75\72\x69\144", ["\x3a\151\x64" => $id]); $this->language($page); } public function addAdmin($text) { goto bJQmu; vvti1: $admins = $this->getAdmins(); goto GMA7t; iDSRd: j8pLc: goto Jdbhl; Jdbhl: $this->admins(); goto SnQAo; bJQmu: if (!($admin = (int) trim($text))) { goto j8pLc; } goto vvti1; GMA7t: $admins[] = $admin; goto stkG_; stkG_: $this->setSetting("\141\x64\x6d\x69\x6e\x73", implode("\54", $admins)); goto iDSRd; SnQAo: } public function delAdmin($admin) { goto DhzcB; a0Rx2: $admins = array_diff($admins, [$admin]); goto DTnyh; DTnyh: $this->setSetting("\x61\x64\155\x69\156\x73", implode("\x2c", $admins)); goto NAYrh; DhzcB: $admins = $this->getAdmins(); goto a0Rx2; NAYrh: $this->admins(); goto CvlES; CvlES: } public function admins() { goto u7ArH; b6xBW: sDIX3: goto VFvOf; u7ArH: $data[] = [["\164\x65\170\x74" => $this->i18n("\x61\x64\144"), "\x63\x61\x6c\154\142\x61\x63\153\137\144\141\x74\141" => "\x2f\x73\145\x6e\144\122\145\x70\154\171\x20\145\156\x74\x65\x72\40\151\x64\x5f\x61\x64\144\x41\x64\155\x69\x6e"]]; goto c3YiY; HLFi4: Gxfpg: goto b6xBW; xPNtE: $this->update($this->rtkAD["\143\x68\141\x74"], $this->rtkAD["\155\145\x73\x73\x61\147\145\137\151\x64"], implode("\xa", []), $data ?: false); goto vUcw_; c3YiY: if (!($admins = $this->getSetting("\x61\144\155\x69\156\163"))) { goto sDIX3; } goto do0Nl; VFvOf: $data[] = [["\x74\145\170\164" => $this->i18n("\142\x61\x63\153"), "\143\x61\154\x6c\142\x61\143\153\x5f\144\141\164\141" => "\x2f\x63\157\x6e\x66\151\x67"]]; goto xPNtE; do0Nl: foreach (array_filter(explode("\x2c", $admins)) as $k => $v) { $data[] = [["\x74\145\x78\164" => $this->i18n("\x64\x65\x6c\145\x74\x65") . "\x3a\x20{$v}", "\143\141\x6c\154\x62\141\x63\x6b\x5f\x64\141\x74\141" => "\x2f\144\145\154\x41\x64\x6d\x69\x6e\40{$v}"]]; Ld2eq: } goto HLFi4; vUcw_: } public function domain() { goto YlMd_; HR0nJ: T6j4c: goto ynNJo; Fn8Nj: $data[] = [["\164\145\x78\164" => $this->i18n("\x73\x65\x74\x43\145\x72\x74\x69\146\x69\x63\141\x74\145\x20\163\145\154\146"), "\143\141\x6c\x6c\142\141\143\x6b\x5f\x64\x61\164\x61" => "\x2f\163\145\x6e\144\122\x65\x70\x6c\x79\40\141\164\x74\141\x63\150\x20\142\165\156\144\154\145\x5f\143\x65\x72\164\x62\157\164\x5f\61"]]; goto HR0nJ; AG8CX: $text[] = "\x73\x73\154\72\x20" . $ssl; goto iFleI; YUpwa: if (!(file_exists($this->OEiKI) && $this->expireCert())) { goto FqzaG; } goto jGdgv; iFleI: FqzaG: goto uZmpf; uZmpf: $data[] = [["\x74\x65\170\164" => $this->i18n("\163\145\164\x43\145\162\x74\151\x66\x69\x63\141\x74\x65\x20\x63\x65\x72\x74\x62\157\164"), "\x63\141\x6c\x6c\x62\x61\143\x6b\137\144\141\x74\x61" => "\57\x63\145\x72\x74\142\x6f\x74"]]; goto Fn8Nj; CKPlF: $data[] = [["\164\145\x78\164" => $this->i18n("\163\145\x74\x44\157\155\x61\x69\156"), "\143\x61\x6c\x6c\x62\141\143\x6b\137\x64\x61\x74\141" => "\57\x73\x65\x6e\144\122\x65\x70\154\171\40\x65\156\x74\x65\162\x20\144\157\155\x61\151\x6e\137\163\x65\164\104\157\x6d\x61\151\156"]]; goto VJ9X2; VJ9X2: if (!($domain = $this->getSetting("\x64\157\155\141\x69\x6e"))) { goto T6j4c; } goto BzRw9; BzRw9: $text[] = "\x64\157\155\141\x69\156\x3a\40" . $domain; goto YUpwa; YlMd_: $text = []; goto CKPlF; jGdgv: $ssl = $this->getTime($this->expireCert() - time()); goto AG8CX; ynNJo: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x62\x61\x63\153"), "\x63\x61\154\x6c\x62\141\143\x6b\x5f\144\141\164\x61" => "\x2f\x63\x6f\x6e\x66\151\147"]]; goto QZiIh; QZiIh: $this->uors($text, $data); goto hTM_o; hTM_o: } public function setDomain($domain) { $this->setSetting("\x64\x6f\x6d\141\x69\156", trim($domain) ?: ''); $this->domain(); } public function certbot($null = false, $self = false) { goto VNevE; USIU6: $r = $this->request("\147\145\x74\x46\151\x6c\145", ["\x66\151\x6c\145\x5f\151\x64" => $this->rtkAD["\146\x69\154\145\x5f\151\x64"]]); goto gN6Es; n9gDJ: B4hoJ: goto XzLeL; vjKm5: return $this->uors($out); goto xKWfn; sSwHk: if ($code == 0) { goto s_vOo; } goto vjKm5; mc3G3: goto Vo1xY; goto n9gDJ; MgVPp: exec("\x63\145\x72\164\142\x6f\164\x20\x63\145\x72\164\x6f\156\154\171\x20\55\55\x66\157\162\143\x65\x2d\162\145\x6e\x65\x77\x20\x2d\55\x70\162\145\x66\x65\x72\162\x65\x64\x2d\x63\150\141\151\x6e\x20\47\x49\123\x52\107\40\x52\157\157\164\40\x58\61\x27\40\55\x6e\40\x2d\55\x61\147\x72\x65\x65\55\164\157\163\x20\55\x2d\145\x6d\141\151\x6c\40\x6d\141\x69\x6c\x40{$domain}\40\55\x64\x20{$domain}\40\x2d\55\167\x65\142\x72\x6f\x6f\164\x20\x2d\167\x20\57\143\145\162\164\x73\x2f\40\55\55\154\x6f\x67\x73\x2d\x64\151\162\x20\x2f\154\157\147\163", $out, $code); goto sSwHk; srICX: s_vOo: goto H8vc_; RQQ79: $this->domain(); goto DejrV; ATE74: return $this->uors(["\x65\162\x72\x6f\x72\40\x66\x69\x6c\x65\x20\x72\x65\x61\x64\x69\x6e\147"]); goto mc3G3; VNevE: if (!empty($self)) { goto cCoyd; } goto VmpHP; XzLeL: file_put_contents($this->OEiKI, file_get_contents($this->file . $r["\x72\x65\x73\165\x6c\164"]["\146\x69\x6c\x65\137\x70\x61\x74\x68"])); goto c2YBJ; g5Blt: $this->unitConf(["\x62\165\156\144\x6c\145", "\143\145\162\164\142\157\164"], "\x63\x6f\x6e\x66\x69\147\57\x6c\151\x73\x74\145\x6e\x65\162\163\57\52\72\70\x34\64\x33\x2f\x74\154\x73\x2f\x63\x65\x72\164\x69\146\x69\143\x61\x74\145"); goto Cdneg; Cdneg: iDPcU: goto xh5vU; cx6fC: cCoyd: goto USIU6; aqUrU: $this->unitConf(["\x62\165\156\144\x6c\145", "\143\x65\x72\x74\142\x6f\164"], "\x63\x6f\x6e\146\x69\x67\57\154\151\163\x74\x65\156\x65\162\163\x2f\52\72\x38\x34\x34\x33\x2f\164\x6c\163\57\x63\x65\162\x74\x69\x66\x69\x63\141\x74\145"); goto oxBRs; VmpHP: $domain = $this->getSetting("\x64\157\x6d\x61\x69\x6e"); goto MgVPp; oxBRs: Vo1xY: goto esv1v; gN6Es: if (!empty($r["\x72\145\163\165\154\x74"]["\146\151\x6c\145\137\x70\x61\x74\x68"])) { goto B4hoJ; } goto ATE74; xKWfn: goto iDPcU; goto srICX; esv1v: IxcXW: goto RQQ79; xh5vU: goto IxcXW; goto cx6fC; uwxNZ: $this->unitConf(curl_file_create($this->OEiKI), key: "\143\x65\x72\x74\151\x66\151\x63\141\x74\145\x73\x2f\143\x65\x72\x74\x62\x6f\x74"); goto g5Blt; c2YBJ: $this->unitConf(curl_file_create($this->OEiKI), key: "\x63\x65\x72\164\151\146\x69\x63\141\x74\x65\x73\57\143\145\x72\164\x62\157\x74"); goto aqUrU; H8vc_: file_put_contents($this->OEiKI, file_get_contents("\x2f\x65\x74\x63\x2f\x6c\145\164\163\x65\156\143\162\171\160\164\57\154\151\166\145\57{$domain}\x2f\146\165\154\154\143\x68\141\x69\x6e\x2e\x70\145\x6d") . file_get_contents("\57\145\164\x63\x2f\x6c\x65\x74\x73\x65\156\x63\162\171\160\164\x2f\x6c\151\166\145\57{$domain}\x2f\160\162\x69\166\153\145\171\56\160\145\x6d")); goto uwxNZ; DejrV: } public function expireCert() { $c = openssl_x509_read(file_get_contents($this->OEiKI)); return openssl_x509_parse($c)["\166\141\x6c\x69\144\124\x6f\x5f\164\x69\x6d\145\x5f\164"] ?: false; } public function config() { goto EAjcc; UVwHm: $data[] = [["\x74\145\x78\x74" => $this->i18n("\150\x65\x6c\160"), "\x63\141\x6c\154\x62\141\x63\x6b\x5f\144\141\x74\x61" => "\57\150\x65\x6c\160\103\x6f\156\146\151\x67"]]; goto F39L9; v30LF: glWn_: goto xihJZ; PMGhw: $data[] = [["\164\x65\x78\x74" => $this->i18n("\163\x65\x74\x4e\x6f\164\x69\x66\x79\x54\145\170\164"), "\143\141\154\154\142\141\x63\153\x5f\x64\x61\164\x61" => "\57\x73\145\164\116\x6f\164\151\146\x79\x54\145\x78\x74"], ["\x74\x65\x78\x74" => $this->i18n("\x65\x78\x70\151\162\x65\116\x6f\x74\151\146\171") . ($expire ? "\72\40" . $this->getTime($expire) : ''), "\143\x61\154\x6c\x62\141\143\153\x5f\x64\x61\164\141" => "\57\x73\145\156\x64\x52\x65\x70\x6c\171\40\145\156\164\145\162\40\164\151\x6d\145\x5f\165\x70\144\x61\x74\x65\x45\x78\160\x69\162\x65\x4e\157\x74\x69\146\x79"]]; goto SUNAJ; p4Jtn: $domain = $this->getSetting("\144\x6f\155\141\151\x6e"); goto v1ssc; WX1qP: $data[] = [["\x74\x65\170\164" => $this->i18n("\x65\170\160\x6f\x72\164"), "\x63\141\x6c\154\142\141\x63\153\137\144\x61\x74\x61" => "\x2f\x65\x78\160\x6f\x72\x74"], ["\x74\145\x78\164" => $this->i18n("\142\x61\143\x6b\165\160") . "\x3a\x20" . (implode("\40\57\40", explode("\57", $this->getSetting("\142\141\143\153\165\160"))) ?: "\157\x66\x66"), "\x63\141\154\x6c\x62\141\143\153\137\x64\x61\x74\141" => "\57\x73\x65\156\x64\x52\x65\160\x6c\x79\40\x65\x6e\164\x65\162\40\x6c\x69\153\145\40\61\x20\x64\x61\171\x2f\60\60\72\x30\60\137\x73\145\164\x42\141\x63\x6b\x75\x70"], ["\164\145\x78\x74" => $this->i18n("\151\155\160\x6f\x72\x74"), "\x63\x61\154\154\x62\x61\x63\153\x5f\x64\141\164\141" => "\57\163\x65\156\144\x52\145\160\x6c\171\x20\163\145\156\x64\x20\151\x6d\x70\x6f\x72\164\x5f\x69\x6d\x70\157\162\164"]]; goto UVwHm; W07NR: $data[] = [["\164\145\x78\164" => $this->i18n("\163\x65\164\x4d\x65\x6e\x75\x44\x65\x73\x63\162\x69\160\x74\151\157\x6e"), "\143\141\154\154\x62\141\x63\x6b\137\x64\141\x74\x61" => "\x2f\163\x65\164\115\x65\156\x75\104\x65\163\143\x72\x69\160\x74\151\x6f\156"], ["\164\145\x78\164" => $this->i18n("\163\145\164\124\145\x6c\x65\x67\x72\141\155\x4d\145\156\165\104\145\163\x63\x72\x69\160\x74\151\x6f\156"), "\x63\x61\x6c\154\142\141\143\x6b\137\x64\141\164\x61" => "\57\163\x65\x6e\144\x52\145\160\154\x79\x20\x65\156\x74\145\x72\x20\x64\145\163\x63\162\x69\x70\164\151\x6f\156\137\163\x65\164\x54\x65\154\x65\x67\162\x61\x6d\115\145\156\165\104\145\x73\x63\162\151\160\x74\x69\157\x6e"]]; goto PMGhw; SUNAJ: $data[] = [["\x74\145\170\164" => $this->i18n("\x61\x6e\x6e\x6f\x75\156\143\x65\x6d\x65\x6e\164"), "\x63\x61\154\154\142\x61\x63\153\137\x64\x61\164\141" => "\57\x73\x65\x6e\144\x52\145\x70\154\x79\40\x65\x6e\164\x65\x72\40\x61\x6e\x6e\x6f\165\156\143\145\155\145\156\164\x5f\141\156\x6e\157\165\x6e\143\x65\x6d\x65\x6e\164"], ["\164\145\x78\164" => $this->i18n("\x73\145\164\x53\x75\160\x70\157\162\x74\107\x72\x6f\165\x70") . (($s = $this->getSetting("\x73\x75\x70\x70\x6f\x72\x74")) ? "\x3a\x20{$s}" : ''), "\143\141\x6c\154\142\141\143\x6b\137\x64\141\x74\141" => "\x2f\x73\x65\156\144\122\x65\x70\x6c\x79\40\x65\156\x74\145\162\40\x69\x64\x20\x63\150\141\x74\x5f\x75\x70\144\x61\164\x65\123\145\x74\x74\151\x6e\x67\137\x73\x75\x70\160\x6f\162\x74\137" . __FUNCTION__]]; goto MjHOp; kb336: $this->update($this->rtkAD["\143\x68\x61\164"], $this->rtkAD["\155\145\163\163\x61\147\x65\x5f\151\144"], implode("\12", []), $data ?: false); goto l0A7e; v1ssc: if (!(file_exists($this->OEiKI) && $this->expireCert())) { goto glWn_; } goto IamG6; DPdPA: $expire = $this->getSetting("\x65\170\160\x69\162\145\x4e\157\x74\x69\146\x79"); goto p4Jtn; GgPpI: $data[] = [["\164\145\x78\x74" => $this->i18n("\144\x6f\x6d\141\151\156") . ($domain ? "\x3a\x20{$domain}" . ($ssl ? "\40\x28\163\163\154\x3a\x20{$ssl}\x29" : '') : ''), "\x63\x61\x6c\x6c\142\141\x63\x6b\x5f\x64\x61\x74\141" => "\x2f\x64\x6f\155\141\151\x6e"]]; goto A6o_g; EAjcc: $chat = $this->getSetting("\143\150\141\164"); goto DPdPA; xihJZ: $data[] = [["\164\145\170\164" => $this->i18n("\x61\144\x6d\x69\x6e\163"), "\143\x61\154\x6c\142\x61\143\153\x5f\144\141\x74\x61" => "\x2f\x61\144\155\x69\156\x73"]]; goto GgPpI; pVbpP: $data[] = [["\164\145\x78\164" => $this->i18n("\x64\145\142\x75\x67") . "\72\x20" . ($this->getSetting("\144\145\142\165\147") ? "\x6f\x6e" : "\x6f\146\146"), "\143\x61\154\154\142\x61\143\x6b\x5f\x64\141\164\x61" => "\x2f\x64\145\x62\165\x67"], ["\164\x65\170\164" => "\164\x65\163\x74\x4d\145\x6e\165\x43\157\155\x6d\141\x6e\144\163", "\143\141\x6c\154\142\x61\143\153\137\x64\x61\x74\x61" => "\57\x74\145\163\164\x43\157\x6d\x6d\141\x6e\x64\x73"], ["\x74\145\170\x74" => $this->i18n("\x6c\157\x67\163"), "\143\141\x6c\154\x62\141\x63\x6b\137\144\x61\164\141" => "\x2f\154\x6f\147\x73"]]; goto WX1qP; A6o_g: $data[] = [["\x74\x65\170\164" => $this->i18n("\160\141\171\155\145\x6e\164\163"), "\x63\141\154\154\142\141\x63\x6b\137\x64\141\x74\141" => "\x2f\160\x61\171\x6d\145\156\x74\163"]]; goto l82XF; IamG6: $ssl = $this->getTime($this->expireCert() - time()); goto v30LF; l82XF: $data[] = [["\164\145\170\164" => $this->i18n("\x6c\141\156\x67\x75\x61\x67\x65"), "\143\141\154\154\142\x61\x63\x6b\137\144\141\x74\x61" => "\57\x6c\x61\156\x67\x75\141\x67\x65"], ["\x74\x65\x78\164" => $this->i18n("\x73\145\x74\x63\x68\141\x74") . ($chat ? "\72\x20{$chat}" : ''), "\143\x61\x6c\154\142\x61\x63\153\x5f\x64\141\164\x61" => "\x2f\163\x65\156\144\x52\x65\x70\x6c\x79\40\x65\156\164\145\x72\40\147\162\157\165\160\x5f\x75\160\144\141\x74\x65\123\x65\164\164\151\x6e\x67\x5f\x63\150\x61\x74\137" . __FUNCTION__]]; goto W07NR; F39L9: $data[] = [["\164\145\170\x74" => $this->i18n("\x62\x61\143\x6b"), "\x63\141\154\154\x62\x61\143\153\137\144\x61\164\141" => "\57\155\145\156\165"]]; goto kb336; MjHOp: $data[] = [["\x74\145\x78\164" => $this->i18n("\156\x61\x6d\x65\103\x6f\x6e\146\x69\147\106\x69\154\145"), "\143\x61\154\154\142\141\143\153\137\144\141\164\x61" => "\x2f\156\141\x6d\x65\x43\x6f\156\146\x69\147"], ["\164\x65\x78\164" => $this->i18n("\x64\x65\x66\x61\165\154\x74\104\116\123") . "\72\x20" . ($this->getSetting("\144\x6e\x73") ?: "\x31\x2e\61\x2e\61\x2e\x31\x2c\x20\x38\56\x38\56\x38\56\x38"), "\143\141\154\154\x62\x61\x63\x6b\x5f\144\141\x74\141" => "\57\163\x65\156\144\122\145\160\x6c\171\x20\163\145\x6e\144\x20\144\x6e\163\x20\x73\145\160\x61\162\x61\x74\145\40\x62\171\x20\x63\x6f\x6d\x6d\141\163\137\x75\x70\x64\x61\164\145\x53\x65\164\x74\151\156\x67\137\144\x6e\163\137" . __FUNCTION__]]; goto pVbpP; l0A7e: } public function payments() { goto jLGtn; zMMz5: $data[] = [["\164\145\x78\164" => $this->i18n("\x62\x61\143\153"), "\143\141\x6c\x6c\142\x61\x63\x6b\137\x64\x61\164\x61" => "\x2f\x63\x6f\x6e\146\x69\147"]]; goto vyYek; fYOfv: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x63\162\171\160\x74\x6f") . ($crypto ? "\x3a\x20{$crypto}" : ''), "\x63\141\x6c\154\142\141\143\153\x5f\x64\141\x74\141" => "\x2f\x63\x72\171\160\164\157"]]; goto zMMz5; vyYek: $this->uors(data: $data); goto RSDWZ; ye2XS: $wallet = $this->getSetting("\x40\167\x61\x6c\154\x65\164"); goto IG4GP; jLGtn: $token = $this->getSetting("\x74\157\153\x65\156"); goto ye2XS; TVYle: $data[] = [["\164\145\170\x74" => $this->i18n("\x73\x65\164\124\145\x6c\x65\x67\162\x61\x6d\120\x61\171\124\x6f\153\145\156") . ($token ? "\72\x20{$token}" : ''), "\143\x61\x6c\154\142\x61\143\153\x5f\144\x61\x74\x61" => "\57\163\145\156\x64\x52\x65\x70\x6c\x79\x20\x65\156\164\145\x72\40\164\x6f\153\145\x6e\x5f\165\160\144\141\x74\x65\123\x65\x74\164\151\156\147\x5f\164\x6f\153\x65\156\x5f" . __FUNCTION__]]; goto fYOfv; IG4GP: $crypto = $this->getSetting("\x40\x63\x72\x79\160\164\x6f"); goto uJcOW; El2cy: $data[] = [["\164\145\x78\x74" => $this->i18n("\167\x61\154\x6c\x65\164") . ($wallet ? "\x3a\x20{$wallet}" : ''), "\x63\x61\x6c\154\x62\x61\143\x6b\137\x64\141\164\141" => "\x2f\x77\x61\154\154\145\164"]]; goto TVYle; uJcOW: $data[] = [["\x74\145\170\164" => $this->i18n("\171\157\x6f\x6d\157\156\x65\x79"), "\x63\141\154\x6c\x62\141\143\153\137\x64\141\x74\x61" => "\x2f\x79\x6f\x6f\x6d\157\156\145\x79"]]; goto El2cy; RSDWZ: } public function nameConfig() { goto PaXV0; pbiGL: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x74\145\155\160\154\141\x74\145"), "\x63\141\154\154\x62\x61\143\153\137\x64\141\x74\x61" => "\x2f\x73\x65\156\144\122\145\160\154\171\x20\163\145\164\x20\x74\145\155\160\x6c\x61\164\145\x5f\165\x70\144\x61\164\145\x53\x65\164\164\x69\x6e\147\137\164\x65\x6d\x70\x5f" . __FUNCTION__]]; goto cVbGt; HCVQ3: $text[] = "\x7e\160\157\162\164\176\40\xd0\277\320\xbe\xd1\x80\xd1\x82"; goto pylZ0; Mq3cY: $text[] = "\321\x81\320\xb8\320\xbc\xd0\xb2\xd0\276\xd0\273\x20\320\xb7\320\xb0\320\xbc\320\xb5\xd0\xbd\321\213\40\xd0\xbd\xd0\265\xd1\201\xd1\202\320\260\xd0\275\320\xb4\320\260\321\x80\xd1\202\xd0\275\320\276\320\xb3\xd0\276\x20\321\201\320\270\xd0\xbc\xd0\xb2\xd0\xbe\320\xbb\320\xb0\x3a\x20{$this->getSetting("\x72\145\x70\x6c")}"; goto ExJOJ; pylZ0: $text[] = "\x7e\142\x6f\x74\x7e\x20\320\xb8\xd0\274\xd1\x8f\40\xd0\xb1\320\276\321\202\320\260"; goto iXq8K; ExJOJ: $text[] = "\xd1\x88\xd0\xb0\xd0\xb1\xd0\xbb\xd0\276\xd0\275\72\x20{$this->getSetting("\164\145\155\160")}"; goto aHsA8; cVbGt: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x62\141\x63\153"), "\x63\x61\154\x6c\x62\141\x63\153\137\144\141\164\x61" => "\x2f\143\x6f\156\x66\151\147"]]; goto wqmlX; aHsA8: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\162\145\x70\x6c\141\x63\x65\x6d\x65\156\164"), "\x63\141\x6c\x6c\x62\x61\x63\153\x5f\144\141\164\141" => "\57\163\145\x6e\x64\x52\145\160\154\x79\40\x73\145\x6e\144\x20\x72\x65\160\154\x61\x63\x65\155\x65\156\x74\40\x73\171\155\x62\x6f\154\137\165\160\x64\x61\x74\x65\123\x65\x74\x74\151\x6e\147\137\x72\145\160\154\x5f" . __FUNCTION__]]; goto pbiGL; iXq8K: $text[] = "\x7e\x69\144\x7e\x20\xd0\260\xd0\271\320\264\xd0\270\40\xd0\272\320\xbe\xd0\275\321\204\xd0\xb8\xd0\263\xd0\260"; goto Mq3cY; PaXV0: $text[] = "\x7e\x69\160\176\40\xd0\xb4\320\276\xd0\xbc\320\xb5\320\xbd\40\xd0\270\xd0\xbb\320\270\40\320\xb0\320\271\320\277\320\xb8\x20\xd1\201\320\265\321\x80\xd0\262\320\xb5\xd1\200\xd0\xb0"; goto HCVQ3; wqmlX: $this->update($this->rtkAD["\143\150\141\164"], $this->rtkAD["\155\x65\163\163\x61\147\145\x5f\x69\x64"], implode("\xa", $text ?: ["\x2e\x2e\x2e"]), $data ?: false); goto pE6wN; pE6wN: } public function logs() { goto qtwGA; BqSWp: $this->update($this->rtkAD["\x63\150\x61\164"], $this->rtkAD["\x6d\145\x73\x73\141\x67\145\x5f\151\x64"], implode("\12", ["\56\56\x2e"]), $data ?: false); goto Y5qcR; TM7yi: RP8Zq: goto INWp6; qtwGA: foreach (scandir("\x2f\x6c\x6f\147\163\57") as $k => $v) { goto t14jv; Y1605: Q2tgT: goto vNEKB; vNEKB: z0uuF: goto bSdFF; s45X0: $size = filesize("\x2f\154\157\147\163\x2f{$v}"); goto mjShr; mjShr: $data[] = [["\x74\x65\x78\164" => "{$v}\x20\x28{$size}\x29", "\143\141\154\x6c\142\x61\x63\x6b\x5f\144\141\164\x61" => "\57\147\x65\164\x4c\157\147\40{$k}"], ["\x74\145\x78\164" => $this->i18n("\x63\154\145\141\162"), "\143\x61\x6c\154\x62\x61\x63\x6b\x5f\144\141\x74\x61" => "\57\143\x6c\145\x61\162\x4c\x6f\147\40{$k}"]]; goto Y1605; t14jv: if (preg_match("\176\x5e\134\x2e\x7e", $v)) { goto Q2tgT; } goto s45X0; bSdFF: } goto TM7yi; INWp6: $data[] = [["\164\x65\x78\164" => $this->i18n("\142\x61\x63\x6b"), "\143\x61\154\154\142\141\x63\x6b\x5f\x64\141\164\141" => "\x2f\143\x6f\x6e\146\151\x67"]]; goto BqSWp; Y5qcR: } public function getLog($i) { goto aZqUi; aZqUi: foreach (scandir("\x2f\154\x6f\147\163\x2f") as $k => $v) { goto QrpGg; K4cxx: xjvRL: goto z4unn; gPkRs: $logs[$k] = $v; goto K4cxx; z4unn: G99o5: goto veDwT; QrpGg: if (preg_match("\176\136\x5c\56\176", $v)) { goto xjvRL; } goto gPkRs; veDwT: } goto piGB3; GKeWQ: $this->sendFile($this->rtkAD["\143\x68\x61\164"], curl_file_create("\x2f\x6c\157\147\163\x2f{$logs[$i]}")); goto JeIQ4; piGB3: BIfFJ: goto GKeWQ; JeIQ4: } public function clearLog($i) { goto AIh1a; AIh1a: foreach (scandir("\57\x6c\157\x67\163\57") as $k => $v) { goto OQoFm; ngzON: file_put_contents("\x2f\154\x6f\147\x73\57{$v}", ''); goto a2GzQ; a2GzQ: goto Pnk0J; goto LNZDp; TTeRB: wBqNK: goto SmdJb; LNZDp: S0Mcs: goto TTeRB; OQoFm: if (!($i == $k)) { goto S0Mcs; } goto ngzON; SmdJb: } goto PQMXY; Ce1ES: $this->logs(); goto xwXp9; PQMXY: Pnk0J: goto Ce1ES; xwXp9: } public function testCommands() { $this->send($this->rtkAD["\143\150\x61\x74"], var_export($this->getcommands(), true)); $this->send($this->rtkAD["\143\x68\141\164"], var_export($this->getcommands(scope: ["\x74\171\160\x65" => "\x63\x68\x61\x74", "\143\150\x61\x74\137\x69\144" => $this->vABj5["\141\144\x6d\151\156"]]), true)); } public function helpConfig() { goto cd__c; ktmDO: $text[] = "\x3c\142\76\74\151\76{$this->i18n("\x69\x6d\x70\157\162\164")}\74\57\x69\x3e\x3c\57\142\x3e\40\x2d\x20\xd0\xb8\320\274\320\277\320\xbe\321\200\321\x82\40\163\161\154"; goto WamdO; Rn1NT: $text[] = "\x3c\x62\76\x3c\x69\x3e{$this->i18n("\163\145\x74\143\150\x61\164")}\74\x2f\x69\76\74\57\142\76\40\55\x20\xd1\x83\xd1\x81\xd1\202\320\xb0\320\275\320\xbe\320\xb2\320\xb8\321\x82\321\x8c\x20\xd1\x82\320\xb5\xd0\272\xd1\201\xd1\x82\50\321\201\321\x81\xd1\213\320\273\320\272\320\xb0\x20\xd0\275\320\260\xd0\xbf\xd1\200\320\xb8\xd0\xbc\320\265\xd1\200\51\54\x20\xd0\xb1\321\x83\320\264\320\xb5\321\x82\40\320\276\321\202\xd0\276\320\xb1\xd1\x80\xd0\260\320\xb6\xd0\xb0\xd1\202\xd1\214\321\201\321\217\x20\320\xb2\xd0\xbe\x20\xd0\262\xd1\x81\320\xb5\xd1\205\x20\xd0\xbc\320\265\320\275\321\x8e\x20\320\277\xd0\xbe\xd0\273\xd1\x8c\320\xb7\320\xbe\xd0\262\320\260\321\x82\xd0\xb5\xd0\xbb\321\x8f\x20\320\xbf\xd0\xb5\xd1\200\xd0\xb2\xd0\xbe\xd0\xb9\x20\xd1\x81\321\x82\321\200\xd0\276\xd1\207\320\272\xd0\xbe\xd0\xb9"; goto PqJ_u; hnA1B: $text[] = "\x3c\x62\x3e\74\x69\x3e{$this->i18n("\154\141\156\x67\165\x61\x67\x65")}\x3c\57\151\76\74\57\x62\x3e\40\x2d\x20\321\203\321\x81\321\202\320\260\xd0\xbd\xd0\276\xd0\262\320\xb8\321\202\321\214\40\320\277\320\xb5\xd1\x80\xd0\265\xd0\xb2\320\xbe\320\264\x20\320\272\xd0\275\320\276\xd0\277\xd0\xba\xd0\270"; goto Rn1NT; Lq2wF: $text[] = "\x3c\142\x3e\x3c\151\76{$this->i18n("\145\170\160\157\x72\164")}\74\57\151\76\74\x2f\x62\x3e\x20\55\40\320\265\xd0\xba\xd1\201\xd0\xbf\xd0\276\xd1\x80\321\202\x20\xd0\262\321\201\320\265\xd1\x85\40\xd0\xbd\xd0\xb0\xd1\201\xd1\202\xd1\x80\320\276\xd0\265\320\xba\x20\xd0\262\40\320\xb2\320\270\320\264\320\265\40\320\xb4\xd0\xb0\320\xbc\xd0\277\xd0\260\x20\320\221\320\x94"; goto ktmDO; VQZFb: $text[] = "\320\x9e\xd0\277\xd0\270\321\x81\xd0\xb0\320\xbd\320\270\320\xb5\x20\xd0\272\xd0\275\320\276\xd0\xbf\320\276\xd0\272\40\321\200\320\260\xd0\xb7\320\xb4\320\xb5\320\xbb\320\260\x3a"; goto LnWGk; cd__c: $data[] = [["\x74\145\x78\164" => $this->i18n("\142\141\143\153"), "\143\141\x6c\x6c\142\141\x63\153\x5f\144\141\x74\141" => "\57\143\157\156\x66\x69\147"]]; goto VQZFb; iPH7D: $text[] = "\x3c\142\76\x3c\x69\76{$this->i18n("\x73\x65\x74\124\x65\154\145\147\162\141\155\x50\x61\171\124\157\153\145\x6e")}\74\x2f\151\76\74\57\142\76\40\55\40\321\x83\321\201\xd1\202\320\xb0\xd0\275\xd0\xbe\xd0\xb2\xd0\272\320\260\40\xd1\x82\xd0\xbe\320\xba\320\265\xd0\xbd\xd0\xb0\x20\320\264\xd0\273\xd1\x8f\x20\xd1\202\320\xb5\xd0\273\xd0\xb5\xd0\xb3\321\x80\320\xb0\320\274\320\xbf\xd1\x8d\320\xb9\54\40\xd1\202\xd0\276\xd0\xba\320\xb5\xd0\275\40\320\xb1\xd1\x80\xd0\xb0\xd1\202\321\214\40\320\xb2\x20\xd0\275\320\260\xd1\x81\xd1\202\xd1\x80\320\xbe\xd0\xb9\xd0\272\320\xb0\xd1\x85\x20\320\xb1\xd0\xbe\xd1\x82\320\260\40\xd1\x83\40\x40\102\x6f\164\x46\x61\x74\x68\145\x72"; goto nyfE2; XgF0Z: $this->update($this->rtkAD["\x63\x68\141\164"], $this->rtkAD["\x6d\x65\x73\163\141\147\145\137\x69\x64"], implode("\12\xa", $text ?: []), $data ?: false); goto jmo_R; pkAJ1: $text[] = "\x3c\142\76\x3c\151\x3e{$this->i18n("\141\156\x6e\x6f\165\x6e\x63\x65\x6d\145\x6e\164")}\x3c\x2f\151\x3e\x3c\57\x62\76\40\55\x20\xd1\200\320\260\321\201\xd1\x81\321\213\xd0\xbb\xd0\xba\xd0\xb0\x20\321\x81\320\xbe\xd0\xbe\xd0\xb1\xd1\x89\320\265\xd0\xbd\xd0\270\321\x8f\40\320\xb2\321\x81\xd0\265\xd0\xbc\x20\320\272\xd0\xbb\xd0\xb8\320\265\320\275\321\202\320\xb0\xd0\xbc\x20\320\xb1\xd0\276\321\x82\xd0\xb0"; goto BAZsa; oM03o: $text[] = "\x3c\x62\x3e\x3c\x69\x3e{$this->i18n("\x65\x78\x70\x69\162\145\x4e\157\164\151\x66\x79")}\x3c\57\x69\76\x3c\57\x62\76\x20\55\40\xd0\267\xd0\260\320\264\320\xb0\321\x82\321\x8c\40\320\xb2\xd1\200\xd0\xb5\320\xbc\xd1\217\40\xd0\xb7\320\xb0\40\320\xba\320\276\321\202\320\276\321\x80\xd0\276\320\265\x20\xd0\261\320\xbe\321\x82\40\xd0\261\321\x83\xd0\xb4\320\265\xd1\x82\x20\xd1\203\320\xb2\320\xb5\xd0\264\xd0\xbe\xd0\xbc\320\xbb\321\x8f\321\202\xd1\x8c\40\xd0\277\xd0\xbe\320\xbb\xd1\214\xd0\xb7\320\276\xd0\xb2\320\xb0\321\202\xd0\265\xd0\273\xd1\x8f\40\xd1\x87\321\x82\xd0\xbe\40\xd0\272\xd0\276\xd0\xbd\xd1\x84\xd0\xb8\xd0\xb3\x20\321\x81\320\272\xd0\276\xd1\x80\320\276\40\320\277\xd1\x80\xd0\xb5\xd0\272\321\200\320\260\321\202\320\xb8\321\x82\40\321\200\320\xb0\320\xb1\xd0\xbe\321\x82\xd0\xb0\xd1\202\xd1\214"; goto Lq2wF; WamdO: $text[] = "\74\x62\76\x3c\151\76{$this->i18n("\144\145\x66\x61\x75\154\164\104\x4e\123")}\74\x2f\151\76\x3c\x2f\x62\x3e\40\x2d\x20\xd1\203\321\201\321\x82\xd0\260\xd0\275\xd0\xbe\320\262\320\xba\320\260\40\320\xb4\xd0\265\321\204\xd0\xbe\xd0\xbb\321\x82\320\275\320\xbe\320\xb3\320\276\40\xd0\264\320\275\xd1\x81\54\40\xd0\277\320\xbe\xd0\xb4\321\x81\321\x82\xd0\260\320\xb2\320\xbb\xd1\x8f\xd0\xb5\321\x82\321\x81\321\x8f\40\xd0\262\x20\320\xba\320\276\320\xbd\xd1\204\xd0\270\xd0\xb3\x20\320\xbf\320\xbe\xd0\273\xd1\214\320\xb7\320\276\xd0\xb2\320\260\321\x82\xd0\xb5\xd0\273\321\216"; goto pkAJ1; BAZsa: $text[] = "\74\142\x3e\74\151\x3e{$this->i18n("\142\x61\143\x6b\165\160")}\74\57\x69\76\x3c\57\142\x3e\40\55\40\xd0\xbd\320\xb0\321\x81\xd1\202\321\x80\320\xbe\320\271\320\272\320\260\x20\320\xb1\xd1\x8d\320\xba\xd0\260\xd0\xbf\xd0\xb0\40\xd0\221\xd0\x94\40\xd0\xbf\320\xbe\40\xd1\x80\xd0\260\xd1\201\320\277\320\xb8\xd1\201\320\260\xd0\275\xd0\270\xd1\x8e"; goto rhLqj; IO5bm: $text[] = "\x3c\142\x3e\74\151\76{$this->i18n("\x73\145\x74\116\x6f\x74\151\x66\171\124\x65\x78\164")}\x3c\57\151\x3e\x3c\x2f\142\76\40\x2d\40\xd0\xbd\320\xb0\321\x81\xd1\202\321\x80\320\xbe\xd0\xb9\xd0\xba\320\260\x20\xd1\x82\xd0\xb5\xd0\xba\321\201\xd1\202\320\260\x20\xd1\203\xd0\262\xd0\xb5\320\xb4\xd0\xbe\xd0\xbc\320\273\320\265\xd0\275\320\270\320\xb9\40\320\277\320\xbe\320\273\xd1\x8c\320\267\xd0\276\xd0\262\xd0\260\xd1\x82\xd0\xb5\320\273\xd1\x8e\x20\xd0\xbf\xd1\x80\xd0\xb8\x20\xd1\201\xd0\276\xd0\261\321\213\321\x82\320\270\xd1\x8f\xd1\x85\x20\xd1\201\320\276\xd0\xb7\320\264\xd0\260\320\xbd\320\270\321\217\x2f\xd1\203\320\xb4\320\xb0\xd0\xbb\320\xb5\xd0\275\320\270\321\217\57\xd0\xbf\xd1\x80\xd0\276\320\264\xd0\273\320\265\320\xbd\xd0\xb8\xd1\x8f\x20\320\270\x20\321\203\320\xb2\xd0\265\320\264\320\276\xd0\274\xd0\273\320\xb5\xd0\xbd\xd0\270\321\x8f\40\xd0\xbe\40\320\xb7\xd0\260\320\272\320\260\xd0\xbd\xd1\x87\xd0\270\xd0\xb2\xd0\xb0\xd1\216\321\211\xd0\xb5\320\274\xd1\x81\321\217\40\xd1\201\xd1\200\320\276\320\xba\xd0\xb5\x20\320\272\320\xbe\320\275\xd1\x84\320\270\320\xb3\320\260"; goto oM03o; rhLqj: $text[] = "\74\142\76\74\x69\x3e{$this->i18n("\x64\x65\142\165\147")}\74\x2f\151\76\74\57\x62\76\x20\55\x20\xd1\x80\320\265\320\xb6\xd0\270\320\274\x20\xd0\276\321\202\320\xbb\320\xb0\320\264\xd0\xba\320\xb8\x28\320\264\320\273\321\x8f\x20\xd1\x80\xd0\260\320\xb7\321\x80\xd0\260\xd0\xb1\xd0\xbe\xd1\202\321\207\xd0\270\xd0\xba\320\260\x29"; goto XgF0Z; nyfE2: $text[] = "\74\142\76\x3c\x69\76{$this->i18n("\x73\145\164\x4d\145\156\x75\104\x65\163\143\162\x69\160\164\151\x6f\156")}\74\x2f\x69\x3e\x3c\57\142\76\x20\55\40\320\xbd\320\260\xd1\x81\xd1\x82\321\200\320\xbe\320\xb9\xd0\272\320\260\x20\321\202\320\xb5\320\272\321\201\321\202\320\xb0\x20\xd0\xbc\320\265\xd0\xbd\321\216\321\210\xd0\265\xd0\xba\x20\xd0\277\320\276\xd0\xbb\321\x8c\xd0\267\xd0\xbe\xd0\xb2\xd0\260\321\x82\320\265\xd0\273\321\x8f"; goto gcCmp; LnWGk: $text[] = "\74\142\x3e\x3c\x69\76{$this->i18n("\141\144\155\151\x6e\x73")}\74\x2f\151\x3e\x3c\57\142\76\x20\55\x20\xd0\264\320\xbe\xd0\xb1\320\260\xd0\xb2\320\xb8\xd1\202\321\x8c\57\321\203\xd0\264\320\xb0\320\xbb\xd0\270\xd1\202\321\214\x20\xd0\264\320\276\xd0\277\xd0\276\xd0\xbb\320\275\320\270\321\x82\xd0\xb5\xd0\xbb\321\x8c\320\xbd\xd1\x8b\xd1\x85\40\xd0\xb0\xd0\xb4\xd0\274\320\xb8\xd0\275\320\xbe\xd0\262"; goto hnA1B; gcCmp: $text[] = "\74\142\76\x3c\151\76{$this->i18n("\x73\x65\x74\x54\x65\154\x65\x67\162\x61\x6d\115\x65\156\165\x44\x65\163\x63\x72\x69\x70\x74\151\157\x6e")}\x3c\57\151\x3e\74\x2f\142\x3e\40\x2d\x20\320\275\xd0\xb0\321\x81\xd1\x82\321\x80\320\276\xd0\271\xd0\272\xd0\xb0\x20\xd0\276\320\277\320\xb8\321\x81\320\xb0\xd0\xbd\xd0\270\321\x8f\x20\320\xba\xd0\276\xd0\xbc\xd0\260\xd0\275\320\264\321\x8b\40\x2f\155\145\156\x75\40\xd0\262\x20\320\xba\320\xbb\320\xb8\320\xb5\320\275\xd1\x82\xd0\xb5\40\321\x82\xd0\xb5\xd0\273\320\265\320\xb3\321\200\320\xb0\320\xbc\xd0\xb0"; goto IO5bm; PqJ_u: $text[] = "\x3c\x62\x3e\x3c\x69\x3e{$this->i18n("\x79\x6f\157\155\157\156\x65\171")}\74\x2f\151\x3e\x3c\57\142\x3e\40\x2d\x20\320\xbd\xd0\260\xd1\x81\321\x82\xd1\200\320\276\xd0\xb9\320\272\320\xb0\40\321\x80\320\265\xd0\272\320\262\xd0\270\320\267\xd0\270\321\x82\xd0\276\320\262\x20\171\x6f\157\155\157\x6e\x65\171\x28\xd0\xb4\320\276\320\xbd\320\xb0\xd1\x82\51"; goto iPH7D; jmo_R: } public function helpConfigServer($id, $serverpage, $clientpage) { goto ibbId; NMFIj: $text[] = "\x3c\142\x3e\74\151\x3e{$this->i18n("\x73\167\x69\x74\x63\150\x50\141\171")}\x3c\x2f\x69\76\74\57\x62\x3e\x20\x2d\40\320\262\xd0\xba\320\273\xd1\216\321\207\xd0\270\321\202\xd1\x8c\57\xd0\xbe\xd1\202\xd0\xba\xd0\xbb\321\x8e\321\207\320\270\xd1\x82\xd1\214\x20\xd0\xbe\xd0\xbf\320\xbb\xd0\xb0\321\x82\321\x83\40\320\xbd\xd0\xb0\x20\xd0\275\xd0\xbe\320\xb4\320\xb5\x20\320\xb4\xd0\xbb\321\217\40\320\277\320\xbe\xd0\273\321\214\xd0\267\xd0\276\320\262\320\260\xd1\x82\xd0\xb5\xd0\273\xd0\265\xd0\271"; goto bGmny; ibbId: $data[] = [["\164\x65\170\x74" => $this->i18n("\x62\141\143\x6b"), "\x63\x61\154\154\142\141\143\153\137\144\x61\x74\x61" => "\57\x63\157\x6e\146\151\x67\x53\145\x72\166\x65\162\x20{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto xUihs; xUihs: $text[] = "\320\x9e\xd0\xbf\320\270\321\x81\320\260\320\275\320\270\320\xb5\x20\xd0\272\xd0\xbd\320\276\320\xbf\320\xbe\xd0\272\x20\xd1\200\320\260\xd0\267\320\264\320\265\320\273\xd0\260\x3a"; goto zwiF8; jyKwO: $text[] = "\74\x62\76\74\x69\x3e{$this->i18n("\x70\x72\151\x63\145")}\74\x2f\x69\76\x3c\57\142\76\40\x2d\x20\321\x83\xd1\x81\xd1\202\320\260\xd0\xbd\xd0\xbe\320\262\xd0\272\xd0\260\40\xd1\x86\320\xb5\xd0\xbd\40\xd0\264\320\xbb\xd1\217\40\320\xbd\320\xbe\xd0\264\321\213"; goto A4_0l; Ijp32: $text[] = "\74\142\76\74\151\x3e{$this->i18n("\x6e\x61\155\x65\x53\145\x72\x76\145\x72")}\x3c\x2f\x69\x3e\74\57\142\76\40\x2d\40\xd0\xbd\xd0\260\321\x81\xd1\x82\xd1\200\xd0\xbe\320\xb9\xd0\272\320\260\x20\xd0\xb8\320\274\320\265\xd0\xbd\xd0\270\x20\320\275\320\276\320\xb4\321\213\54\x20\320\276\xd1\x82\xd0\xbe\320\261\xd1\x80\320\xb0\320\xb6\320\260\xd0\265\321\202\xd1\201\xd1\217\x20\321\202\xd0\260\xd0\xba\xd0\266\xd0\xb5\x20\320\xb8\x20\xd0\264\320\273\xd1\217\40\xd0\277\320\276\320\xbb\321\214\xd0\267\320\xbe\320\xb2\320\xb0\xd1\x82\320\265\xd0\273\321\217\40\xd0\277\321\x80\320\xb8\40\xd0\xb2\xd1\213\320\261\320\276\xd1\x80\xd0\265\40\xd1\201\320\265\321\200\320\262\320\xb5\321\200\320\xb0"; goto jyKwO; pz2nZ: $text[] = "\x3c\x62\x3e\74\x69\76{$this->i18n("\x74\157\x72\x72\x65\x6e\x74")}\x3c\57\x69\x3e\74\57\142\76\40\55\x20\xd0\xb2\xd0\272\xd0\273\xd1\216\xd1\207\xd0\xb5\xd0\275\xd0\xb8\320\265\x2f\320\xbe\321\x82\320\272\320\xbb\xd1\x8e\321\x87\320\265\320\xbd\xd0\270\320\265\40\321\202\xd0\276\xd1\200\321\200\320\265\xd0\xbd\321\202\xd0\xbe\320\262\x20\320\264\xd0\273\321\x8f\x20\320\xbd\320\276\320\264\xd1\213\x20\50\320\xbe\xd1\202\320\272\xd0\xbb\xd1\x8e\321\207\xd0\xb0\320\265\xd1\202\40\320\xbd\320\xb5\40\x31\60\60\x25\x29"; goto cTf6_; cTf6_: $text[] = "\x3c\x62\76\74\x69\x3e{$this->i18n("\x63\x65\154\x6c\163\123\145\162\166\145\162")}\74\x2f\151\76\74\57\142\x3e\40\x2d\x20\xd0\xbc\320\260\xd0\272\xd1\x81\xd0\270\320\274\xd0\xb0\xd0\xbb\321\x8c\320\xbd\xd0\276\xd0\265\40\320\272\320\xbe\xd0\xbb\x2d\320\262\xd0\xbe\x20\xd0\272\xd0\xbe\320\275\xd1\x84\320\270\xd0\xb3\320\xbe\xd0\xb2\x20\320\xb4\xd0\276\321\201\xd1\x82\321\203\320\277\xd0\275\321\213\xd1\x85\40\320\xba\40\xd0\xbf\xd0\xbe\320\xba\321\203\320\277\320\xba\xd0\xb5"; goto hjTIs; bGNic: $text[] = "\x3c\142\x3e\x3c\151\x3e{$this->i18n("\163\x6c\145\x65\x70\123\x65\x72\166\145\x72")}\x3c\57\151\x3e\74\x2f\142\76\x20\55\40\xd0\277\320\265\321\200\320\xb8\320\276\xd0\xb4\x20\xd1\201\xd0\xb8\320\275\321\x85\321\200\xd0\276\xd0\275\320\270\xd0\267\320\xb0\321\x86\320\270\320\xb8\x20\xd0\275\xd0\xbe\xd0\264\321\213\40\321\201\40\320\xb1\xd0\260\xd1\x88\xd0\xbd\xd0\xb5\320\xb9\x2c\x20\xd0\262\40\xd1\201\xd0\265\320\272\321\x83\320\275\xd0\xb4\320\xb0\xd1\x85"; goto sfpT8; sfpT8: $text[] = "\x3c\142\76\x3c\151\76{$this->i18n("\160\151\156\147")}\74\x2f\x69\76\x3c\57\x62\x3e\x20\55\x20\xd1\201\xd0\276\320\xb7\320\264\xd0\xb0\321\201\321\x82\40\xd0\xb7\xd0\xb0\xd0\xbf\320\xb8\321\201\xd1\x8c\x2c\40\320\275\320\260\40\xd0\272\320\xbe\321\202\xd0\276\xd1\200\xd1\x83\321\x8e\40\320\264\xd0\xbe\xd0\xbb\320\266\xd0\275\320\260\x20\320\xbe\321\x82\xd1\x80\xd0\265\xd0\xb0\xd0\263\320\270\xd1\200\320\276\320\262\xd0\xb0\xd1\202\xd1\x8c\40\320\xbd\320\xbe\320\264\320\260\x20\xd0\xb2\x20\xd1\x80\320\260\xd0\274\xd0\xba\320\xb0\xd1\x85\40\xd1\201\320\270\xd0\275\321\205\xd1\200\xd0\276\320\xbd\320\xb8\320\267\xd0\260\321\x86\320\270\xd0\xb8"; goto NMFIj; A4_0l: $text[] = "\74\x62\x3e\x3c\x69\76{$this->i18n("\x74\145\163\164\124\x69\155\x65")}\x3c\x2f\x69\x3e\x3c\x2f\x62\x3e\x20\55\x20\xd1\203\xd1\201\xd1\x82\320\xb0\xd0\275\320\276\xd0\262\xd0\272\320\xb0\40\xd0\262\321\x80\xd0\xb5\xd0\274\320\xb5\320\xbd\320\270\40\xd0\264\xd0\265\xd0\xb9\321\201\xd1\x82\xd0\262\xd0\xb8\321\x8f\40\xd1\x82\320\265\321\201\xd1\x82\320\276\xd0\xb2\xd0\xbe\320\xb3\xd0\xbe\x20\320\xba\320\276\320\xbd\xd1\x84\320\270\xd0\263\320\260"; goto pz2nZ; wgNYF: $this->update($this->rtkAD["\x63\150\x61\x74"], $this->rtkAD["\x6d\145\163\163\x61\147\145\x5f\151\144"], implode("\xa\xa", $text ?: []), $data ?: false); goto y9skH; hjTIs: $text[] = "\74\142\x3e\x3c\151\x3e{$this->i18n("\154\x69\155\x69\x74\163\123\x65\x72\x76\x65\162")}\74\x2f\x69\x3e\74\x2f\142\76\x20\x2d\x20\xd0\xbc\320\260\xd0\xba\321\x81\320\xb8\xd0\xbc\320\260\320\xbb\xd1\x8c\xd0\xbd\xd0\276\320\xb5\x20\xd0\272\xd0\xbe\xd0\xbb\x2d\320\xb2\320\xbe\x20\320\xba\xd0\276\xd0\xbd\321\204\xd0\270\320\263\xd0\276\320\262\40\xd0\275\xd0\xb0\x20\xd0\xbf\320\xbe\320\273\321\214\320\xb7\320\xbe\xd0\xb2\320\xb0\xd1\202\320\265\320\273\321\217"; goto bGNic; zwiF8: $text[] = "\74\x62\76\x3c\151\x3e{$this->i18n("\x73\x65\164\x44\x6f\x6d\x61\151\156")}\74\x2f\x69\x3e\x3c\x2f\x62\x3e\x20\x2d\40\321\x83\xd1\201\xd1\202\320\260\xd0\275\320\xbe\320\262\320\270\xd1\202\xd1\214\x20\xd0\xb4\xd0\xbe\xd0\274\xd0\xb5\320\275\x2c\x20\xd0\261\321\203\xd0\264\xd0\xb5\xd1\202\40\xd0\xbf\xd1\x80\320\276\320\277\xd0\270\xd1\201\321\213\320\262\320\xb0\321\x82\321\214\321\x81\xd1\217\40\xd0\xb2\40\xd0\272\320\276\320\xbd\321\204\320\xb8\xd0\xb3\320\265\x20\xd0\262\xd0\274\xd0\xb5\321\201\xd1\x82\320\276\40\320\xb0\xd0\xb9\320\xbf\320\270\x20\320\262\40\320\263\xd1\200\xd0\260\xd1\x84\320\265\40\x45\156\x64\160\x6f\x69\x6e\164\x2e\40\320\225\xd1\x81\xd0\xbb\xd0\xb8\x20\xd0\xbd\xd0\xbe\xd0\xb4\320\260\x20\320\xbf\xd0\xb5\xd1\x80\320\265\320\265\320\264\320\xb5\xd1\x82\40\xd0\275\320\260\40\320\xb4\321\x80\321\203\xd0\263\xd0\276\xd0\271\40\xd0\260\320\xb9\320\277\320\xb8\54\x20\xd1\202\320\276\x20\xd0\275\320\xb5\40\xd0\275\321\203\xd0\266\320\275\320\xbe\40\320\xb1\xd1\203\xd0\xb4\320\xb5\321\202\40\xd0\xb7\320\260\320\xbd\320\276\320\xb2\320\xbe\40\321\x80\xd0\xb0\xd0\267\xd0\xb4\320\260\xd0\xb2\xd0\xb0\xd1\x82\321\214\x20\320\xba\xd0\xbe\320\xbd\xd1\204\xd0\xb8\320\263\xd0\270\x2c\x20\320\264\xd0\276\321\x81\xd1\202\320\xb0\321\x82\320\276\xd1\x87\xd0\275\xd0\276\40\xd0\xb1\321\203\xd0\xb4\320\xb5\321\x82\40\xd0\277\320\xbe\320\xbc\xd0\265\320\xbd\xd1\217\321\x82\xd1\214\40\320\220\x2d\xd0\267\xd0\xb0\320\277\320\xb8\xd1\201\xd1\214\40\xd0\264\320\276\xd0\xbc\320\265\320\275\321\203"; goto qhTbK; qhTbK: $text[] = "\74\142\x3e\x3c\x69\x3e{$this->i18n("\145\x78\160\157\162\164\123\x65\x72\x76\145\162")}\x3c\57\x69\76\74\57\x62\x3e\x20\55\40\xd0\xb2\321\x8b\xd0\xb4\320\xb0\xd0\265\321\202\x20\xd0\xb0\xd1\x80\321\205\xd0\xb8\xd0\262\40\xd0\xbd\320\276\320\264\xd1\x8b\40\xd1\x81\40\xd1\203\xd0\266\xd0\xb5\40\xd0\275\320\xb0\321\201\xd1\x82\xd1\200\320\276\320\xb5\320\xbd\320\275\xd1\213\xd0\274\40\167\147\60\56\143\x6f\156\x66\x2c\40\xd0\xbd\xd0\265\xd0\xbe\xd0\xb1\xd1\205\xd0\xbe\320\264\xd0\270\xd0\274\xd0\276\40\xd0\265\xd1\201\320\273\xd0\xb8\x20\xd0\275\xd0\276\xd0\264\xd0\260\40\xd0\277\320\xb5\xd1\200\320\265\xd0\265\320\267\320\xb6\320\xb0\xd0\xb5\xd1\202\x20\xd0\275\320\xb0\x20\320\264\321\200\321\203\320\263\320\276\320\xb9\x20\xd1\201\xd0\xb5\321\200\320\xb2\xd0\260\320\xba\x28\xd0\xb0\xd0\271\320\xbf\xd0\270\x29"; goto Ijp32; bGmny: $text[] = "\74\142\76\74\151\76{$this->i18n("\144\145\154\x65\x74\145")}\74\x2f\x69\76\74\x2f\x62\x3e\40\x2d\40\321\x83\320\xb4\xd0\260\xd0\xbb\xd0\270\321\x82\xd1\214\40\xd0\275\xd0\xbe\320\264\321\203\x2e\x20\320\xb5\xd1\x81\xd0\xbb\xd0\xb8\x20\xd0\xbd\320\xbe\320\264\xd0\xb0\40\xd1\200\320\260\320\xb1\xd0\276\321\x87\xd0\260\xd1\217\x2c\x20\321\x82\xd0\xbe\x20\320\xbe\xd0\xbd\320\xb0\x20\xd0\xbf\320\xb5\321\x80\xd0\265\xd0\xb7\xd0\xb0\xd0\277\320\270\321\210\320\xb5\xd1\202\40\xd1\x81\xd0\xb5\320\xb1\321\217\40\xd0\xb2\40\320\261\320\xb0\321\210\320\xbd\xd0\xb5"; goto wgNYF; y9skH: } public function setBackup($text) { goto pZsFl; SJkro: $this->setSetting("\160\151\x6e\x62\x61\x63\153\165\x70", ''); goto IZsdW; oy2h_: $this->unpin($this->vABj5["\141\x64\x6d\x69\156"], $pin); goto SJkro; VVJhW: oIfqg: goto IxnWa; OaZsV: goto YsH5b; goto VVJhW; sQpQP: goto YsH5b; goto E7Xs7; IZsdW: Y4YP9: goto bEGpU; c9w73: if (preg_match("\x7e\x28\134\x64\x2b\134\163\134\167\x2b\x29\x28\x3f\72\134\x73\x2b\51\77\57\x28\77\72\x5c\x73\53\51\x3f\50\x5c\144\173\62\x7d\x3a\x5c\144\x7b\x32\175\x29\176", $text, $m)) { goto oIfqg; } goto sQpQP; sl0jr: if (empty($text)) { goto J6Orm; } goto c9w73; E7Xs7: J6Orm: goto iEsVC; iEsVC: $this->setSetting("\142\141\143\x6b\x75\x70", ''); goto OaZsV; ii7d7: YsH5b: goto DkAtj; pZsFl: $text = trim($text); goto sl0jr; R4Fnh: $this->setSetting("\142\x61\143\153\165\160", $text); goto ii7d7; DkAtj: if (!($pin = explode("\x2f", $this->getSetting("\x70\151\156\x62\141\143\153\165\160"))[0])) { goto Y4YP9; } goto oy2h_; IxnWa: $period = $m[1]; goto Mf8vF; bEGpU: $this->config(); goto dNeDl; Mf8vF: $start = $m[2]; goto R4Fnh; dNeDl: } public function backup() { goto A6R58; H8B2y: if (!$time) { goto SzJk0; } goto PMeAi; IrwBJ: $this->pinBackup(); goto MgH3c; mYNjM: SzJk0: goto ooqH4; Oby_G: if ($last) { goto yT3zk; } goto dlB15; IA6au: $this->pinBackup(); goto ELAjz; dlB15: if ($c - $start > 0 && $c - $start < 10) { goto AleSF; } goto fuaAJ; PMeAi: preg_match("\x7e\x28\134\x64\x2b\x5c\163\134\x77\x2b\x29\x28\x3f\72\134\163\x2b\51\77\57\x28\77\72\x5c\x73\53\51\77\50\x5c\x64\x7b\x32\x7d\x3a\134\144\173\62\175\x29\x7e", $time, $m); goto e323_; Eoe7r: wmBN0: goto gzL6G; U29cO: if (!($c - $time >= $period)) { goto wmBN0; } goto smfsE; gvLhj: $time = $this->getSetting("\142\x61\143\153\x75\160"); goto H8B2y; e323_: $period = strtotime($m[1]) - $c; goto WRYwk; WRYwk: $start = strtotime($m[2]); goto fVYH_; gzL6G: goto rVqs3; goto rC4rQ; A6R58: $c = time(); goto gvLhj; ELAjz: rVqs3: goto mYNjM; MgH3c: return; goto Eoe7r; fVYH_: $last = $this->getSetting("\x70\x69\x6e\142\x61\143\153\165\x70"); goto Oby_G; zHvZg: [$pin, $time] = explode("\x2f", $last); goto U29cO; smfsE: $this->unpin($this->vABj5["\141\144\155\151\x6e"], $pin); goto IrwBJ; fuaAJ: goto rVqs3; goto Rq6U3; Rq6U3: yT3zk: goto zHvZg; rC4rQ: AleSF: goto IA6au; ooqH4: } public function pinBackup() { goto S_JRm; B5wFK: $this->setSetting("\x70\151\x6e\x62\141\143\153\165\x70", "{$pin}\x2f" . time()); goto tKt6l; tKt6l: $this->pin($this->vABj5["\x61\144\155\151\x6e"], $pin); goto Bb5uO; S_JRm: $pin = $this->export()["\x72\145\163\x75\x6c\x74"]["\x6d\145\163\163\x61\x67\145\x5f\151\x64"]; goto B5wFK; Bb5uO: } public function announcement($text) { goto sLfwt; sLfwt: $cl = array_merge([$this->vABj5["\x61\x64\x6d\151\x6e"]], $this->sql("\x73\x65\154\145\x63\x74\40\164\147\x69\x64\40\x66\162\157\x6d\40\143\154\151\x65\x6e\164\163\40\x75\156\x69\x6f\x6e\x20\x73\x65\x6c\x65\143\x74\x20\x74\x67\151\x64\x20\x66\162\x6f\155\x20\x6f\x72\144\x65\162\163", view: "\143\157\x6c\x75\x6d\156") ?: []); goto rB91r; rB91r: foreach ($cl as $k => $v) { goto Jl3yW; J7ZzL: $this->sendPhoto($v, $this->rtkAD["\x70\150\157\x74\157"][0]["\x66\151\x6c\x65\x5f\x69\x64"], $text, entities: $this->rtkAD["\145\x6e\164\x69\164\x69\x65\163"]); goto Om8oy; kpjwY: QuMBt: goto J7ZzL; Om8oy: f4mp5: goto KfKVD; Jl3yW: if ($this->rtkAD["\x70\x68\157\x74\157"]) { goto QuMBt; } goto MKF92; MKF92: $this->send($v, $text, entities: $this->rtkAD["\145\156\164\x69\164\151\145\163"]); goto vcrYF; vcrYF: goto f4mp5; goto kpjwY; KfKVD: OszRW: goto c_poy; c_poy: } goto Jte0X; Jte0X: syfIm: goto Tkp2m; Tkp2m: } public function setTelegramMenuDescription($text) { goto KecXu; eNjlL: iUesj: goto IJzBL; wIyYr: $c = $this->getcommands(); goto Bzt0j; Z7M_D: $this->config(); goto SBSrM; IJzBL: $this->setcommands(["\x63\x6f\155\155\x61\x6e\144\x73" => $c]); goto DFP6Q; UIAa5: H_OMO: goto Z7M_D; Du4Gf: $this->setcommands(["\x73\143\x6f\x70\145" => $scope, "\x63\157\155\155\x61\156\144\x73" => $c]); goto UIAa5; psr9V: $this->setSetting("\x74\x6c\x67\x72\x6d\x6d\145\x6e\165", $text); goto wIyYr; bJ2G0: wV264: goto Du4Gf; GxEw6: $c = $this->getcommands(scope: $scope); goto DnhBN; Bzt0j: foreach ($c as $k => $v) { goto qV04i; qV04i: if (!($v["\x63\x6f\x6d\155\x61\x6e\x64"] == "\155\x65\x6e\165")) { goto BjwMn; } goto vWgv9; qtTYO: oHgG7: goto f6E2v; Y4o_9: BjwMn: goto qtTYO; vWgv9: $c[$k]["\x64\x65\163\143\162\151\160\x74\151\157\x6e"] = $text; goto Y4o_9; f6E2v: } goto eNjlL; DnhBN: foreach ($c as $k => $v) { goto FLfJF; FwnzJ: jLCid: goto VACyZ; aSe0I: $c[$k]["\x64\x65\x73\143\162\151\160\164\151\157\156"] = $text; goto TBE_V; TBE_V: Ieu26: goto FwnzJ; FLfJF: if (!($v["\143\157\x6d\155\141\156\x64"] == "\x6d\145\x6e\x75")) { goto Ieu26; } goto aSe0I; VACyZ: } goto bJ2G0; KecXu: $text = trim($text); goto YCiQ9; YCiQ9: if (empty($text)) { goto H_OMO; } goto psr9V; DFP6Q: $scope = ["\x74\171\160\145" => "\x63\150\x61\164", "\143\x68\x61\164\x5f\x69\x64" => $this->vABj5["\x61\144\x6d\151\156"]]; goto GxEw6; SBSrM: } public function helpNotify() { goto F8C2n; zpVyN: $this->update($this->rtkAD["\x63\x68\141\164"], $this->rtkAD["\155\145\x73\x73\x61\147\x65\x5f\x69\144"], implode("\xa", $text ?: []), $data ?: false); goto jFigD; fjGxc: $data[] = [["\164\x65\170\164" => $this->i18n("\142\141\x63\x6b"), "\x63\x61\154\154\142\x61\143\x6b\137\x64\x61\x74\141" => "\x2f\163\x65\164\116\x6f\164\151\x66\171\124\x65\170\164"]]; goto zpVyN; F8C2n: $text[] = "\x3c\x62\76\x3c\151\x3e\x73\145\164\x4e\157\x74\151\x66\x79\x45\170\160\x69\162\x65\74\57\151\76\x3c\57\142\76\x20\55\40\321\x83\320\262\xd0\xb5\320\xb4\xd0\276\xd0\274\320\xbb\320\xb5\xd0\xbd\320\xb8\xd0\265\x20\xd0\xbe\xd1\202\320\277\321\200\xd0\xb0\320\xb2\xd0\273\xd1\217\xd1\x8e\321\211\xd0\xb5\xd0\xb5\xd1\201\xd1\x8f\40\xd0\xb7\320\xb0\40\x4e\x20\xd0\xb2\321\200\320\xb5\320\xbc\xd0\xb5\320\275\xd0\270\x20\xd0\264\xd0\276\40\320\276\320\272\xd0\276\xd0\xbd\xd1\207\xd0\xb0\320\xbd\xd0\xb8\xd1\217\x20\321\x81\xd1\x80\xd0\xbe\320\xba\320\xb0\40\xd0\272\320\xbe\320\xbd\xd1\204\320\270\320\263\xd0\260\12\x3c\142\76\74\x69\76\163\145\164\116\157\x74\x69\x66\x79\103\162\x65\141\x74\145\74\x2f\x69\76\x3c\x2f\x62\76\x20\55\x20\321\x83\xd0\xb2\320\xb5\xd0\264\xd0\xbe\xd0\274\xd0\273\xd0\xb5\xd0\275\xd0\xb8\320\265\40\320\xbe\321\x82\xd0\277\321\x80\320\260\320\xb2\xd0\273\xd1\217\321\216\321\211\xd0\xb5\320\xb5\321\201\xd1\217\40\xd0\xbf\xd0\xbe\321\201\xd0\xbb\xd0\xb5\40\xd1\201\320\xbe\xd0\267\xd0\xb4\xd0\xb0\320\xbd\xd0\270\xd1\217\40\xd0\xba\xd0\xbe\xd0\275\321\204\320\xb8\xd0\263\xd0\xb0\12\x3c\x62\x3e\74\151\76\163\x65\x74\x4e\x6f\x74\x69\146\x79\120\162\157\154\157\156\x67\74\x2f\x69\76\74\x2f\142\x3e\40\55\40\321\x83\320\262\320\xb5\320\xb4\xd0\276\320\xbc\320\273\xd0\xb5\xd0\275\320\xb8\320\xb5\40\xd0\xbe\321\x82\320\277\xd1\200\320\xb0\xd0\262\xd0\xbb\321\217\xd1\x8e\xd1\211\xd0\xb5\xd0\265\321\201\xd1\217\x20\xd0\277\xd1\200\320\270\x20\xd0\xbf\321\200\320\xbe\xd0\xb4\xd0\273\320\265\xd0\xbd\xd0\xb8\xd0\270\x20\320\272\xd0\276\320\275\xd1\x84\xd0\270\xd0\xb3\xd0\xb0\12\74\x62\x3e\x3c\151\x3e\163\145\x74\116\157\x74\x69\x66\171\x44\x65\154\145\164\x65\74\x2f\151\76\74\57\x62\x3e\x20\55\x20\xd1\x83\xd0\262\xd0\xb5\320\xb4\xd0\276\320\274\xd0\xbb\320\265\320\xbd\xd0\xb8\xd0\xb5\x20\320\276\xd1\x82\xd0\277\xd1\x80\320\xb0\320\262\xd0\273\321\x8f\xd1\x8e\321\x89\xd0\xb5\xd0\xb5\xd1\x81\321\x8f\x20\320\277\xd1\x80\xd0\xb8\x20\xd0\277\xd1\200\xd0\xb5\320\xba\xd1\200\xd0\260\xd1\x89\xd0\xb5\320\xbd\320\xb8\xd0\270\x20\xd1\200\xd0\xb0\320\261\320\276\321\202\321\x8b\x20\320\xba\xd0\276\320\275\xd1\x84\320\xb8\320\263\320\xb0"; goto fjGxc; jFigD: } public function setNotifyText($chapter = false) { goto lNGGY; XoCfQ: QmZYB: goto ysWCf; gb14x: switch ($chapter) { case "\x6e\143": goto MeBNm; MeBNm: $text[] = "\x3c\143\x6f\x64\x65\x3e\176\x63\x6f\144\145\x7e\74\57\x63\157\x64\x65\76\x20\xd0\272\xd0\276\xd0\xb4\x20\xd0\277\320\270\321\x80\xd0\xb0"; goto s65hn; s65hn: $text[] = "\x3c\x63\x6f\144\145\76\x7e\146\151\154\145\x7e\x3c\x2f\x63\x6f\144\145\76\40\xd0\277\xd1\200\xd0\270\320\xba\321\x80\320\265\320\277\xd0\xb8\321\x82\xd1\x8c\x20\321\x84\xd0\xb0\xd0\xb9\320\273\40\320\272\320\276\320\275\321\x84\xd0\270\320\xb3\320\xb0"; goto qWs0_; UX8ay: $text[] = "\x3c\x63\157\x64\145\x3e\176\x6c\151\x66\x65\x7e\74\57\x63\x6f\x64\145\x3e\x20\xd0\xbe\321\201\321\x82\320\260\320\262\321\x88\320\265\320\xb5\321\x81\xd1\217\40\320\xb2\xd1\x80\xd0\xb5\xd0\274\xd1\217\x20\320\xb4\xd0\xb5\xd0\271\321\201\xd1\x82\320\xb2\xd0\270\xd1\217\x20\320\xbf\xd0\276\320\264\320\xbf\xd0\xb8\321\201\320\272\xd0\270"; goto aNX8i; aNX8i: $text[] = "\74\143\157\x64\145\76\176\x76\x70\x6e\x7e\74\57\143\x6f\144\x65\76\40\321\201\xd1\201\xd1\x8b\320\xbb\320\xba\xd0\260\40\320\264\xd0\273\xd1\217\x20\320\277\xd0\276\xd0\xb4\320\xba\xd0\273\xd1\x8e\xd1\x87\320\265\320\275\320\270\xd1\217\40\xd0\xb0\320\274\320\275\xd0\265\xd0\xb7\xd0\270\xd0\270"; goto sdoHv; Qx1UB: $text[] = "\74\x63\x6f\x64\x65\76\x7e\x6d\x61\143\157\x73\x7e\74\57\x63\x6f\x64\145\76\x20\x2d\40\320\xb8\320\275\xd1\201\xd1\x82\321\200\xd1\x83\xd0\xba\xd1\x86\xd0\xb8\xd1\217\40\320\xb4\xd0\273\321\x8f\x20\155\x61\143\x6f\163"; goto leD31; leD31: $text[] = "\x3c\x63\x6f\x64\145\76\x7e\x69\144\x7e\74\57\143\x6f\144\x65\x3e\40\320\275\xd0\276\320\xbc\xd0\xb5\321\200\x20\320\xbf\xd0\276\xd0\264\320\277\320\xb8\xd1\x81\320\xba\xd0\270"; goto UX8ay; qWs0_: $text[] = "\x3c\x63\x6f\144\x65\76\x7e\x61\x6e\x64\162\157\151\144\176\74\x2f\143\x6f\144\145\76\40\x2d\40\320\270\xd0\275\xd1\x81\321\x82\321\x80\xd1\x83\320\xba\xd1\x86\320\xb8\xd1\x8f\40\320\264\xd0\273\321\217\x20\x61\x6e\144\162\x6f\x69\144"; goto Xrs7h; sdoHv: goto trMKt; goto yJsn7; Lf1wi: $text[] = "\x3c\143\157\x64\145\x3e\176\167\x69\156\144\x6f\167\x73\176\x3c\x2f\143\x6f\144\x65\x3e\x20\x2d\x20\xd0\270\320\xbd\321\201\321\x82\321\200\xd1\203\xd0\272\321\x86\xd0\xb8\321\217\x20\320\xb4\xd0\273\xd1\x8f\40\x77\151\156\x64\x6f\167\163"; goto Qx1UB; Xrs7h: $text[] = "\x3c\x63\x6f\x64\x65\76\176\x69\x6f\x73\176\74\x2f\x63\x6f\144\145\76\40\x2d\40\xd0\270\xd0\275\321\201\321\x82\321\x80\xd1\x83\320\xba\321\x86\320\xb8\xd1\x8f\40\320\264\320\xbb\321\x8f\x20\x69\157\x73"; goto Lf1wi; yJsn7: case "\156\160": case "\x6e\145": goto N1Svj; vvNpa: goto trMKt; goto D3Mwu; N1Svj: $text[] = "\74\143\157\144\x65\76\176\x6c\x69\x66\145\176\74\57\143\157\x64\x65\76\x20\xd0\276\321\x81\xd1\202\xd0\260\320\xb2\xd1\x88\xd0\265\xd0\265\xd1\x81\321\217\40\xd0\xb2\xd1\x80\xd0\265\320\274\321\x8f\x20\xd0\xb4\xd0\xb5\xd0\xb9\321\x81\321\x82\xd0\262\320\270\321\x8f\40\320\xbf\320\xbe\320\264\320\277\320\xb8\321\x81\320\272\xd0\xb8"; goto GSZ04; GSZ04: $text[] = "\74\x63\157\x64\145\76\176\151\x64\176\x3c\x2f\x63\157\144\x65\76\40\320\xbd\320\xbe\xd0\274\xd0\xb5\321\200\x20\xd0\277\320\xbe\320\264\320\277\320\xb8\321\x81\xd0\xba\xd0\xb8"; goto vvNpa; D3Mwu: case "\156\x62": goto sOfB_; QPWUT: goto trMKt; goto VtAvI; oycFw: $text[] = "\x3c\143\157\144\145\76\176\151\x64\x7e\x3c\x2f\143\157\x64\145\76\x20\320\275\320\276\xd0\274\xd0\265\321\x80\x20\xd0\277\320\xbe\xd0\xb4\320\xbf\xd0\270\xd1\x81\320\272\320\270"; goto QPWUT; sOfB_: $text[] = "\x3c\x63\x6f\x64\145\76\x7e\142\x6f\x6e\x75\163\176\x3c\x2f\x63\157\x64\x65\76\x20\xd0\xb4\xd0\xbe\xd0\261\xd0\260\xd0\xb2\320\273\320\xb5\320\275\320\xbd\xd0\276\320\265\40\xd0\xb2\xd1\200\320\265\xd0\xbc\321\x8f"; goto oycFw; VtAvI: case "\156\144": goto yHP50; dGgAH: $text[] = "\74\x63\157\144\145\76\x7e\x69\x64\x7e\74\57\x63\157\x64\x65\76\40\320\xbd\xd0\276\320\xbc\320\xb5\xd1\x80\40\xd0\xbf\320\276\320\264\xd0\277\320\270\321\201\320\xba\xd0\xb8"; goto Ie0Af; Ie0Af: goto trMKt; goto SqCLz; yHP50: $text[] = "\74\x63\x6f\x64\145\x3e\176\x75\163\145\x72\176\74\x2f\x63\157\x64\145\76\x20\xd0\270\xd0\xbc\xd1\x8f\40\xd1\216\xd0\xb7\xd0\265\xd1\x80\320\260"; goto dGgAH; SqCLz: } goto XoCfQ; jhQuA: if (!($t = $this->getSetting($chapter))) { goto S4Zqe; } goto xjI3O; VqXjn: $data[] = [["\x74\x65\x78\164" => $this->i18n("\x73\x65\x74\116\x6f\164\151\146\x79\x50\x72\157\154\157\156\147"), "\143\x61\x6c\154\x62\141\x63\153\x5f\144\x61\x74\x61" => "\x2f\x73\x65\156\144\122\145\x70\154\171\40\145\156\x74\145\162\x20\164\145\x78\164\137\165\160\144\141\x74\x65\x53\x65\x74\164\151\x6e\x67\x5f\x6e\x70\x5f" . __FUNCTION__ . "\x5f\156\160"], ["\x74\145\170\x74" => $this->i18n("\x70\162\145\x76\x69\x65\x77"), "\x63\141\x6c\154\142\x61\x63\x6b\137\x64\141\164\x61" => "\x2f\163\145\x74\116\x6f\164\151\x66\x79\124\x65\170\164\40\x6e\160"]]; goto JE9AU; Id2o1: $this->update($this->rtkAD["\143\x68\141\164"], $this->rtkAD["\x6d\145\163\x73\x61\147\145\x5f\151\144"], implode("\12", $text ?: []), $data ?: false); goto YcBIl; AhWbW: $data[] = [["\x74\x65\170\164" => $this->i18n("\163\x65\x74\116\x6f\x74\x69\146\171\x43\162\145\x61\x74\x65"), "\143\141\x6c\x6c\x62\x61\x63\x6b\137\144\141\164\141" => "\57\163\x65\x6e\144\x52\x65\160\x6c\x79\40\145\156\164\x65\162\40\x74\145\170\164\137\165\160\x64\x61\164\145\x53\145\x74\164\151\156\147\x5f\x6e\x63\137" . __FUNCTION__ . "\x5f\156\143"], ["\164\x65\170\x74" => $this->i18n("\x70\162\x65\x76\x69\x65\167"), "\143\141\154\x6c\x62\141\x63\x6b\x5f\x64\141\x74\x61" => "\x2f\163\x65\x74\116\157\164\151\146\171\x54\145\x78\x74\40\x6e\x63"]]; goto VqXjn; p3DfO: S4Zqe: goto Id2o1; Q3_GF: $text[] = "\x3c\143\x6f\x64\x65\x3e\57\141\x6e\144\162\157\x69\x64\x3c\x2f\143\x6f\144\x65\76\40\x2d\40\xd1\x81\xd1\x81\xd1\213\xd0\xbb\xd0\xba\320\xb0\x2c\40\xd0\xbf\320\276\40\xd0\xba\320\273\xd0\xb8\320\272\xd1\203\40\320\xbd\320\260\40\xd0\xba\320\276\xd1\202\320\xbe\321\x80\321\x83\xd1\216\40\xd0\261\320\xbe\321\202\x20\320\xbe\xd1\202\320\xb4\320\xb0\321\201\xd1\x82\x20\320\270\320\xbd\xd1\x81\xd1\x82\321\200\xd1\203\xd0\xba\321\206\xd0\xb8\321\216\x20\xd0\277\320\276\40\141\156\x64\x72\157\151\x64"; goto mfaEY; Ltbnb: $text[] = "\320\242\320\265\320\xb3\320\270\x3a"; goto ijdRH; lNGGY: $data[] = [["\x74\145\170\x74" => $this->i18n("\x73\145\x74\x4e\x6f\x74\x69\x66\171\105\x78\x70\151\x72\145"), "\x63\141\154\x6c\x62\141\143\153\137\x64\x61\x74\141" => "\x2f\163\145\x6e\x64\x52\145\x70\x6c\171\x20\x65\x6e\x74\145\x72\40\x74\145\x78\x74\137\165\x70\144\141\x74\x65\x53\x65\x74\164\x69\x6e\x67\137\x6e\145\x5f" . __FUNCTION__ . "\x5f\156\145"], ["\164\145\x78\x74" => $this->i18n("\160\162\x65\166\x69\145\167"), "\x63\141\x6c\x6c\142\141\x63\x6b\x5f\144\141\x74\141" => "\57\x73\x65\x74\116\x6f\x74\151\x66\171\x54\145\x78\x74\40\x6e\x65"]]; goto AhWbW; ysWCf: trMKt: goto BQZ3e; P7hwC: $text[] = "\74\x63\157\144\145\76\57\x6d\141\x63\157\163\x3c\57\x63\157\144\x65\x3e\x20\55\x20\321\x81\xd1\x81\321\213\320\xbb\xd0\272\xd0\xb0\54\x20\320\277\xd0\xbe\40\320\xba\320\xbb\320\270\320\272\xd1\203\x20\xd0\xbd\320\260\40\320\xba\320\xbe\xd1\202\320\xbe\xd1\200\321\203\321\216\x20\xd0\xb1\xd0\xbe\321\202\x20\320\xbe\321\202\xd0\264\xd0\260\xd1\201\321\x82\40\320\xb8\xd0\275\xd1\201\321\x82\321\200\321\203\xd0\xba\321\x86\xd0\270\xd1\x8e\x20\xd0\xbf\xd0\xbe\40\155\x61\143\157\163"; goto rCj9m; xjI3O: $text[] = "\x3c\x70\x72\x65\76{$t}\x3c\57\160\x72\x65\76"; goto p3DfO; ijdRH: $text[] = "\x3c\143\x6f\144\x65\76\x2f\142\x6f\x74\x3c\x2f\143\157\x64\145\x3e\x20\55\x20\xd1\x81\321\201\321\213\320\xbb\320\xba\320\xb0\54\x20\xd0\277\320\276\40\xd0\272\320\273\xd0\270\xd0\272\321\x83\x20\320\275\xd0\xb0\40\320\272\xd0\276\xd1\202\xd0\xbe\xd1\x80\321\x83\321\216\40\xd0\261\320\276\xd1\202\x20\xd0\276\321\x82\320\264\320\260\xd1\x81\321\202\x20\xd0\270\xd0\xbd\xd1\201\xd1\202\xd1\200\321\x83\xd0\xba\xd1\206\xd0\xb8\321\216\40\xd0\277\xd0\xbe\40\x62\x6f\x74"; goto Q3_GF; mfaEY: $text[] = "\x3c\143\x6f\x64\x65\x3e\x2f\x69\x6f\163\x3c\x2f\x63\157\x64\145\x3e\x20\x2d\40\321\x81\xd1\201\xd1\213\320\273\xd0\xba\xd0\xb0\x2c\x20\xd0\xbf\320\276\40\xd0\272\xd0\xbb\320\270\320\xba\321\x83\40\xd0\275\320\xb0\40\320\xba\xd0\xbe\xd1\202\320\xbe\321\200\xd1\x83\xd1\216\40\xd0\xb1\320\xbe\xd1\x82\x20\320\xbe\xd1\x82\320\264\xd0\xb0\321\201\321\x82\40\320\270\320\275\xd1\x81\321\202\321\200\xd1\x83\xd0\xba\xd1\x86\320\270\321\x8e\x20\xd0\277\xd0\276\x20\x69\157\163"; goto P7hwC; e_ZV0: $data[] = [["\x74\145\x78\x74" => $this->i18n("\142\x61\x63\153"), "\x63\141\x6c\154\x62\141\x63\153\x5f\x64\x61\164\x61" => "\57\x63\x6f\156\146\x69\x67"]]; goto U9uHF; JE9AU: $data[] = [["\164\x65\x78\164" => $this->i18n("\163\145\x74\x4e\157\164\151\x66\x79\104\x65\154\145\x74\x65"), "\x63\x61\154\154\x62\141\143\x6b\137\144\x61\164\141" => "\57\163\145\156\x64\x52\x65\160\154\x79\40\145\x6e\x74\x65\x72\40\x74\x65\x78\164\137\165\160\x64\x61\x74\145\x53\145\x74\164\151\156\x67\x5f\x6e\144\x5f" . __FUNCTION__ . "\137\156\144"], ["\164\x65\170\x74" => $this->i18n("\x70\162\145\x76\x69\x65\x77"), "\x63\141\154\x6c\142\141\x63\x6b\x5f\144\x61\164\141" => "\57\163\x65\x74\x4e\157\164\151\x66\171\124\x65\x78\x74\x20\156\x64"]]; goto YuCR7; YuCR7: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x73\x65\x74\x4e\157\164\151\146\x79\102\x6f\156\165\x73"), "\143\x61\x6c\154\x62\141\143\x6b\137\x64\x61\164\141" => "\x2f\x73\145\156\144\x52\x65\x70\x6c\171\40\145\x6e\164\x65\x72\40\x74\145\x78\x74\137\x75\160\144\141\x74\145\x53\x65\164\x74\x69\x6e\147\137\x6e\142\x5f" . __FUNCTION__ . "\137\x6e\142"], ["\164\x65\170\164" => $this->i18n("\x70\x72\x65\166\x69\145\167"), "\143\x61\x6c\x6c\x62\x61\143\153\137\x64\141\164\141" => "\x2f\x73\x65\164\x4e\x6f\x74\x69\146\171\x54\145\170\164\x20\x6e\142"]]; goto DSacF; U9uHF: $text[] = "\xd1\x83\xd1\x81\321\202\xd0\260\320\xbd\320\276\xd0\xb2\320\272\xd0\xb0\x20\xd1\210\xd0\xb0\320\261\320\xbb\320\xbe\320\xbd\xd0\260\x20\321\x81\320\276\320\276\xd0\261\321\211\320\xb5\xd0\275\320\xb8\320\xb9\40\320\xbf\xd0\276\xd0\273\xd1\214\xd0\xb7\xd0\xbe\320\262\320\260\321\x82\xd0\xb5\xd0\xbb\xd1\x8e\xa"; goto Ltbnb; DSacF: $data[] = [["\x74\145\170\164" => $this->i18n("\150\x65\x6c\x70"), "\x63\x61\x6c\154\142\x61\x63\153\137\x64\141\164\x61" => "\57\150\x65\x6c\160\x4e\157\164\x69\146\x79"]]; goto e_ZV0; rCj9m: $text[] = "\x3c\x63\157\144\x65\76\x2f\x77\151\x6e\x64\157\x77\x73\x3c\x2f\143\x6f\144\x65\76\x20\x2d\40\321\x81\321\x81\xd1\213\xd0\xbb\xd0\xba\320\xb0\x2c\40\xd0\277\320\276\x20\xd0\272\xd0\xbb\320\xb8\320\xba\xd1\x83\x20\xd0\275\xd0\260\40\320\xba\320\xbe\xd1\x82\xd0\xbe\321\x80\xd1\203\321\x8e\40\320\261\320\xbe\321\x82\40\xd0\276\321\x82\xd0\xb4\320\xb0\321\201\xd1\x82\x20\xd0\270\xd0\xbd\321\201\xd1\x82\xd1\200\321\x83\xd0\xba\321\206\320\270\xd1\x8e\x20\320\xbf\320\xbe\x20\167\151\x6e\144\157\x77\163"; goto gb14x; BQZ3e: $text[] = "\xa\320\250\320\260\320\261\320\xbb\xd0\276\xd0\275\72"; goto jhQuA; YcBIl: } public function setMenuDescription($chapter = false) { goto hS6kC; ZcDv8: $data[] = [["\164\x65\x78\x74" => $this->i18n("\163\145\164\110\x65\x6c\160\x49\117\123"), "\143\x61\154\x6c\142\x61\x63\153\137\x64\141\x74\x61" => "\57\x73\x65\156\x64\x52\145\160\154\171\x20\145\x6e\164\x65\162\40\164\x65\x78\x74\x5f\x75\160\144\x61\164\x65\123\x65\x74\x74\x69\x6e\x67\137\x68\151\137" . __FUNCTION__ . "\137\x68\151"], ["\164\145\x78\x74" => $this->i18n("\160\162\x65\166\x69\145\167"), "\143\141\154\x6c\142\x61\x63\153\137\x64\x61\164\141" => "\57\x73\x65\x74\x4d\x65\x6e\165\x44\x65\163\x63\162\151\x70\x74\x69\157\x6e\x20\x68\151"], ["\164\145\170\x74" => $this->i18n("\x70\162\145\166\151\x65\167\115\x65\144\x69\x61"), "\x63\141\x6c\x6c\x62\141\143\153\x5f\x64\141\x74\141" => "\57\x70\x72\145\x76\x69\x65\167\x4d\145\144\x69\x61\x20\x68\151"]]; goto RSDVZ; hS6kC: $data[] = [["\x74\145\170\x74" => $this->i18n("\163\x65\x74\125\x73\x65\162\x4d\145\156\165"), "\x63\x61\x6c\154\x62\141\143\153\x5f\x64\x61\x74\141" => "\57\x73\145\x6e\x64\x52\x65\x70\x6c\x79\x20\x65\x6e\x74\x65\x72\40\x74\145\x78\164\137\165\x70\144\141\x74\x65\x53\145\164\x74\151\156\x67\137\165\155\137" . __FUNCTION__ . "\137\x75\155"], ["\164\145\x78\x74" => $this->i18n("\x70\x72\x65\x76\x69\145\x77"), "\143\141\154\154\142\x61\143\x6b\x5f\x64\x61\x74\x61" => "\57\163\x65\164\115\x65\156\165\104\x65\x73\x63\162\x69\160\x74\x69\x6f\156\x20\x75\155"]]; goto lHA2x; nDOB3: $data[] = [["\164\x65\170\x74" => $this->i18n("\163\145\164\125\x73\x65\162\x50\145\x65\162"), "\143\141\x6c\x6c\x62\x61\143\153\x5f\144\141\164\x61" => "\57\x73\145\x6e\144\x52\x65\x70\x6c\171\40\x65\x6e\x74\145\162\x20\164\x65\x78\164\137\165\160\144\x61\x74\x65\123\x65\x74\x74\x69\x6e\x67\137\165\162\137" . __FUNCTION__ . "\x5f\x75\162"], ["\x74\x65\x78\164" => $this->i18n("\x70\x72\145\166\151\145\167"), "\143\x61\154\154\x62\141\143\153\137\x64\141\164\x61" => "\57\163\x65\164\115\145\x6e\x75\104\x65\163\143\162\151\x70\x74\x69\x6f\156\40\x75\x72"]]; goto IsQZL; Hm_MK: $data[] = [["\164\145\170\164" => $this->i18n("\163\145\x74\x48\145\x6c\x70\101\x6e\x64\162\x6f\x69\144"), "\143\141\154\154\142\141\143\x6b\x5f\x64\x61\164\x61" => "\x2f\x73\145\156\x64\122\x65\x70\x6c\171\x20\145\156\x74\x65\162\40\164\145\170\x74\x5f\x75\160\144\141\x74\145\x53\x65\x74\164\x69\156\x67\137\x68\141\137" . __FUNCTION__ . "\x5f\x68\x61"], ["\164\x65\x78\164" => $this->i18n("\x70\162\145\x76\151\x65\x77"), "\143\x61\154\x6c\142\141\x63\x6b\137\144\141\x74\x61" => "\x2f\x73\x65\164\x4d\145\x6e\165\x44\x65\x73\143\x72\x69\x70\164\151\x6f\156\40\x68\x61"], ["\164\x65\170\x74" => $this->i18n("\160\x72\x65\166\x69\145\167\115\x65\x64\x69\141"), "\143\141\154\154\142\141\x63\153\x5f\144\x61\164\x61" => "\57\160\x72\145\166\x69\145\167\x4d\x65\x64\151\x61\x20\150\x61"]]; goto ZcDv8; UOlW8: $this->send($this->rtkAD["\143\x68\x61\x74"], "\320\xb2\x20\xd1\202\320\xb5\xd0\xba\xd1\201\xd1\x82\320\xb5\40\320\xbe\321\x88\320\270\xd0\261\320\272\320\xb0\40\x3c\160\x72\x65\x3e{$r["\144\145\163\x63\162\151\160\164\x69\157\x6e"]}\74\57\160\x72\145\x3e", $this->rtkAD["\155\x65\x73\163\141\147\145\x5f\151\x64"]); goto IaBeT; Yd8WS: $text[] = "\74\143\157\144\145\x3e\x2f\155\141\143\x6f\163\74\57\x63\x6f\144\x65\x3e\40\55\40\xd1\201\xd1\x81\321\x8b\320\273\320\xba\xd0\xb0\x2c\x20\320\xbf\320\276\x20\320\xba\320\xbb\320\xb8\320\272\321\x83\x20\320\275\xd0\xb0\40\320\272\320\276\321\202\xd0\xbe\321\x80\xd1\203\xd1\x8e\x20\xd0\xb1\xd0\276\xd1\x82\x20\320\xbe\xd1\202\xd0\xb4\xd0\xb0\321\x81\321\202\x20\320\270\320\xbd\321\201\321\202\xd1\x80\xd1\x83\320\272\xd1\206\xd0\xb8\321\x8e\x20\320\277\xd0\276\40\x6d\x61\x63\157\x73"; goto iXR0d; qM7BU: $text[] = "\74\143\x6f\144\145\x3e\x2f\141\156\x64\162\157\151\x64\x3c\57\x63\157\x64\x65\x3e\x20\55\x20\321\201\xd1\x81\321\213\xd0\xbb\xd0\272\xd0\xb0\x2c\40\xd0\xbf\xd0\276\x20\xd0\xba\xd0\xbb\xd0\xb8\xd0\272\321\203\x20\320\275\xd0\260\x20\320\272\xd0\276\321\202\320\276\321\200\xd1\x83\xd1\x8e\40\xd0\xb1\320\xbe\321\x82\40\320\xbe\321\202\320\264\320\260\321\x81\xd1\x82\x20\xd0\270\xd0\xbd\321\201\xd1\202\321\200\xd1\203\320\xba\321\206\xd0\270\xd1\x8e\40\xd0\xbf\xd0\276\40\141\x6e\144\x72\157\151\144"; goto Ryl9O; WxjT7: $text[] = "\x3c\143\157\x64\145\x3e" . htmlentities("\74\165\x3e\x75\156\144\x65\x72\154\x69\156\x65\x3c\x2f\165\x3e") . "\x3c\x2f\x63\157\x64\x65\x3e\40\x2d\40\x3c\x75\76\320\xbf\320\xbe\xd0\xb4\321\x87\320\xb5\321\200\320\xba\320\275\321\203\321\202\321\x8b\320\271\x3c\57\165\76"; goto PmfZW; RSDVZ: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x73\x65\x74\110\145\x6c\160\x57\151\156\x64\x6f\167\x73"), "\x63\x61\154\154\142\141\143\153\x5f\144\x61\164\x61" => "\57\x73\145\x6e\x64\x52\145\x70\x6c\171\40\x65\156\x74\145\162\x20\164\x65\170\x74\x5f\x75\160\x64\141\x74\145\x53\x65\164\164\x69\156\147\x5f\x68\167\x5f" . __FUNCTION__ . "\x5f\150\167"], ["\x74\145\x78\164" => $this->i18n("\x70\x72\145\166\x69\x65\167"), "\143\x61\x6c\154\x62\x61\x63\153\137\144\141\164\141" => "\57\x73\145\x74\115\x65\156\x75\104\145\x73\143\x72\151\x70\x74\x69\157\x6e\40\150\167"], ["\x74\145\x78\164" => $this->i18n("\160\162\x65\166\151\145\167\x4d\145\x64\151\x61"), "\x63\141\154\x6c\x62\141\x63\153\137\x64\x61\x74\x61" => "\x2f\160\162\145\166\x69\x65\x77\x4d\x65\144\151\x61\x20\150\x77"]]; goto zTyJy; bwbmN: switch ($chapter) { case "\165\160": goto YQBF0; Z1lqj: $text[] = "\74\143\x6f\144\x65\76\x7e\x6e\x61\x6d\145\176\x3c\57\143\x6f\x64\x65\x3e\x20\320\270\320\xbc\321\x8f\x20\xd1\x81\xd0\265\xd1\x80\xd0\xb2\320\xb5\321\x80\320\xb0"; goto Mg1mB; uKjHj: $text[] = "\74\143\157\x64\x65\x3e\176\x6c\151\x66\x65\x7e\74\57\143\157\144\145\x3e\40\xd0\xb4\320\273\xd0\270\321\202\xd0\265\320\xbb\xd1\x8c\320\275\320\276\321\201\xd1\202\xd1\214\x20\320\277\320\276\320\xb4\xd0\xbf\xd0\270\321\201\xd0\xba\xd0\xb8"; goto Z1lqj; YQBF0: $text[] = "\74\143\x6f\144\145\76\x7e\151\144\x7e\x3c\x2f\x63\157\144\x65\76\x20\320\xbd\320\276\320\xbc\320\265\xd1\200\x20\xd0\267\xd0\260\320\272\xd0\xb0\xd0\xb7\320\260"; goto uKjHj; Mg1mB: case "\165\x72": goto EMkpt; wquNW: $text[] = "\74\143\x6f\x64\x65\76\176\144\157\155\141\151\x6e\176\74\57\143\157\x64\145\76\x20\320\260\xd0\xb4\xd1\200\xd0\265\xd1\201\x20\xd1\201\320\265\321\200\320\xb2\320\265\xd1\x80\320\xb0"; goto Cp6Kt; zSaed: goto BEwB2; goto Uu1Ca; Cp6Kt: $text[] = "\74\143\157\144\145\x3e\176\x72\145\146\x65\x72\137\x6c\x69\x6e\x6b\176\x3c\x2f\x63\x6f\x64\145\76\x20\321\x80\xd0\xb5\321\204\xd0\265\321\200\320\260\xd0\xbb\xd1\x8c\xd0\xbd\xd0\260\xd1\217\x20\321\x81\xd1\x81\321\x8b\320\xbb\320\xba\320\xb0"; goto ct2YU; EMkpt: $text[] = "\74\143\157\144\145\x3e\176\x63\x6f\x64\x65\x7e\74\57\x63\157\x64\145\x3e\x20\320\272\xd0\xbe\320\264\40\320\xba\xd0\276\320\xbd\321\204\xd0\xb8\320\xb3\320\260"; goto wquNW; ct2YU: $text[] = "\74\x63\157\144\145\76\176\x72\x65\x66\x65\162\x5f\143\x6f\x75\x6e\x74\176\74\x2f\143\157\144\145\x3e\x20\xd0\272\xd0\xbe\320\273\x2d\320\262\320\276\40\xd0\260\320\xba\321\202\xd0\270\320\xb2\320\xb8\xd1\200\320\276\320\xb2\xd0\xb0\320\275\320\275\xd1\x8b\xd1\205\40\xd0\272\xd0\xbe\320\275\xd1\204\320\270\xd0\263\320\xbe\320\xb2\x20\xd0\xbf\320\276\40\321\x80\320\265\321\x84\320\265\xd1\x80\320\260\xd0\273\321\214\320\275\xd0\276\320\271\40\xd1\x81\xd1\x81\321\x8b\320\xbb\320\272\xd0\xb5"; goto zSaed; Uu1Ca: case "\x68\x62": case "\x68\x61": case "\150\x69": case "\150\x6d": case "\150\167": $text[] = "\x3c\143\x6f\x64\145\76\x7e\160\x68\157\164\x6f\72\x69\x64\x7e\74\57\143\157\144\145\76\40\320\xb3\xd0\xb4\xd0\265\40\x69\144\40\x2d\40\xd0\260\320\271\xd0\264\320\xb8\40\321\x84\320\xbe\321\202\xd0\xbe\x20\x28\320\xbc\320\276\xd0\xb6\320\xbd\320\276\40\xd1\x83\320\xb7\320\275\320\260\xd1\202\xd1\x8c\x20\321\x81\320\xba\320\270\320\275\321\x83\320\262\40\321\204\xd0\276\xd1\202\xd0\276\x20\320\261\320\xbe\321\202\321\x83\x29"; } goto s4RSv; xael4: goto gMKle; goto Ejxcb; W4nSZ: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x73\x65\x74\x55\x73\145\162\x4f\x72\144\x65\x72"), "\143\141\x6c\154\142\141\x63\x6b\x5f\144\141\164\141" => "\57\163\145\x6e\144\122\145\160\x6c\171\x20\145\156\164\x65\x72\x20\164\x65\170\164\137\165\x70\x64\141\x74\145\x53\145\164\164\151\156\147\x5f\165\157\x5f" . __FUNCTION__ . "\x5f\x75\157"], ["\164\x65\170\164" => $this->i18n("\160\x72\x65\x76\151\x65\167"), "\x63\141\154\x6c\x62\141\143\x6b\x5f\144\141\x74\x61" => "\x2f\x73\x65\164\115\145\156\165\104\x65\163\143\162\151\160\164\x69\157\x6e\40\x75\157"]]; goto r3Cos; kMV3o: $data[] = [["\x74\x65\170\164" => $this->i18n("\163\145\164\x48\x65\x6c\x70\102\x6f\164"), "\143\141\x6c\154\x62\141\x63\x6b\x5f\x64\x61\164\141" => "\57\163\145\156\x64\122\145\160\x6c\171\40\145\156\164\145\x72\x20\x74\x65\170\x74\x5f\165\x70\x64\141\164\x65\123\x65\164\x74\x69\156\147\x5f\x68\x62\137" . __FUNCTION__ . "\137\x68\142"], ["\x74\x65\170\x74" => $this->i18n("\x70\x72\145\166\x69\145\167"), "\143\141\154\x6c\x62\141\x63\153\137\144\141\164\141" => "\x2f\x73\145\x74\x4d\x65\156\x75\x44\x65\163\143\162\x69\160\x74\x69\x6f\156\40\150\x62"], ["\x74\x65\x78\164" => $this->i18n("\160\x72\x65\166\x69\145\167\x4d\x65\x64\151\x61"), "\x63\x61\154\x6c\x62\141\143\x6b\137\x64\x61\164\141" => "\57\160\162\x65\166\151\145\x77\x4d\x65\144\151\x61\40\150\x62"]]; goto Hm_MK; fBIRd: $text[] = "\115\145\156\165\12\x20\40\x20\x20\x42\165\x79\12\x20\x20\x20\x20\x20\x20\40\x20\123\145\162\x76\x65\162\12\x20\x20\40\40\40\40\x20\x20\40\x20\x20\40\x50\x61\x79\xa\40\x20\x20\40\x4f\x72\x64\x65\x72\xa\x20\x20\40\40\40\40\x20\x20\120\141\x79\12\40\40\x20\x20\120\x65\x65\162\xa\x48\x65\x6c\x70\12\x20\40\x20\40\102\157\x74\12\40\40\x20\40\x41\156\x64\162\157\x69\144\xa\x20\40\40\x20\111\117\123\12\40\40\40\x20\x57\x69\x6e\x64\157\167\x73\xa\40\x20\40\40\x4d\141\x63\x4f\x53"; goto xael4; lHA2x: $data[] = [["\164\x65\x78\164" => $this->i18n("\x73\145\x74\x55\163\145\162\x42\165\171"), "\x63\x61\154\154\x62\x61\143\x6b\137\144\x61\x74\x61" => "\57\x73\145\x6e\144\122\145\160\x6c\171\40\145\x6e\164\x65\x72\x20\x74\145\170\x74\x5f\165\x70\144\x61\x74\145\123\145\164\164\151\156\147\137\165\142\137" . __FUNCTION__ . "\x5f\165\x62"], ["\164\x65\170\164" => $this->i18n("\160\162\x65\x76\x69\145\x77"), "\143\x61\x6c\x6c\142\x61\143\153\137\144\141\164\x61" => "\57\x73\x65\164\x4d\145\x6e\165\x44\x65\163\143\162\151\x70\164\151\157\x6e\x20\x75\142"]]; goto uo0iW; jdOfU: $text[] = "\74\143\x6f\144\145\x3e" . htmlentities("\x3c\x62\76\x62\157\154\x64\74\57\x62\x3e") . "\x3c\57\143\157\144\x65\76\40\55\40\74\x62\76\320\266\320\270\321\x80\xd0\xbd\321\213\320\271\x3c\57\x62\76"; goto mX9S2; cd1uX: $data[] = [["\164\x65\x78\164" => $this->i18n("\x73\164\x72\x75\x63\x74\165\x72\x65\x4d\145\156\x75"), "\143\x61\x6c\x6c\x62\x61\x63\x6b\x5f\144\x61\164\141" => "\x2f\x73\x65\164\x4d\x65\156\x75\x44\x65\163\143\162\151\160\164\151\157\156"], ["\x74\145\x78\164" => $this->i18n("\142\141\143\x6b"), "\143\x61\154\x6c\142\141\143\x6b\137\144\x61\x74\141" => "\57\143\157\x6e\146\x69\x67"]]; goto s6hEp; mX9S2: $text[] = "\74\x63\x6f\x64\145\76" . htmlentities("\74\x69\x3e\151\x74\x61\x6c\151\x63\x3c\x2f\151\76") . "\74\x2f\143\157\144\x65\x3e\40\55\x20\74\x69\76\320\272\321\203\321\200\xd1\x81\320\270\xd0\262\74\x2f\x69\x3e"; goto WxjT7; s6hEp: $text[] = "\321\203\321\201\321\x82\320\260\xd0\275\xd0\xbe\320\262\xd0\272\320\xb0\x20\xd0\276\320\277\xd0\xb8\321\x81\xd0\xb0\xd0\275\xd0\270\320\271\40\xd0\xbf\321\x83\320\xbd\xd0\xba\321\x82\xd0\xbe\xd0\262\x20\xd0\xbc\xd0\265\xd0\xbd\xd1\216\40\xd0\xbf\xd0\276\xd0\273\xd1\214\320\267\320\276\xd0\xb2\xd0\xb0\xd1\202\xd0\xb5\xd0\xbb\xd1\217\x3a\12\xd0\xbf\320\xbe\320\xb4\xd0\264\xd0\265\321\x80\xd0\xb6\xd0\270\320\xb2\xd0\260\xd0\xb5\xd1\x82\321\x81\321\217\40\xd1\201\320\xbb\320\xb5\320\264\321\x83\321\x8e\321\211\xd0\270\320\265\x20\321\202\xd0\xb5\xd0\xb3\320\xb8\x20\x68\x74\x6d\x6c\12"; goto jdOfU; u5qL6: $text[] = "\x3c\x63\x6f\x64\x65\76" . htmlentities("\x3c\141\x20\x68\162\x65\146\x3d\x22\150\x74\x74\160\x3a\57\x2f\x77\x77\167\56\x65\x78\141\155\160\154\145\x2e\143\x6f\x6d\57\42\76\x69\156\x6c\151\x6e\x65\40\125\122\x4c\x3c\x2f\141\x3e") . "\x3c\x2f\x63\157\x64\x65\x3e\x20\x2d\x20\74\x61\40\150\162\145\146\75\x27\150\x74\164\160\x3a\x2f\x2f\167\x77\167\x2e\145\170\141\155\x70\154\x65\56\x63\157\x6d\x2f\47\x3e\151\156\x6c\151\x6e\145\40\x55\x52\114\x3c\x2f\141\x3e"; goto jhpTm; mjBu6: $text[] = "\x3c\143\157\144\145\76" . htmlentities("\x3c\x63\157\x64\145\x3e\x69\x6e\x6c\151\x6e\x65\40\146\151\x78\x65\x64\55\x77\x69\x64\x74\x68\x20\143\157\x64\145\x3c\57\x63\x6f\x64\145\76") . "\74\57\x63\157\x64\145\76\x20\55\x20\x3c\143\x6f\144\145\x3e\xd0\xbc\xd0\276\320\xbd\xd0\276\321\210\xd0\270\xd1\200\320\xb8\320\xbd\320\xbd\xd1\x8b\xd0\xb9\74\57\x63\157\144\145\76"; goto u5qL6; uz6q2: if (!($t = $this->getSetting($chapter))) { goto HL_iF; } goto ACv_N; ACv_N: $text[] = "\xa{$chapter}\72\12\74\160\x72\x65\x3e{$t}\74\x2f\160\x72\x65\76"; goto MlPv4; s4RSv: dUPSv: goto RcmN6; IaBeT: yV1lI: goto aURmU; IsQZL: $data[] = [["\x74\145\170\164" => $this->i18n("\x73\145\164\110\x65\x6c\160"), "\143\141\x6c\154\x62\141\x63\x6b\137\x64\141\x74\141" => "\x2f\x73\x65\x6e\x64\122\145\160\x6c\171\x20\145\156\x74\x65\162\x20\164\x65\x78\164\x5f\165\x70\144\141\x74\x65\123\x65\x74\164\x69\156\x67\x5f\150\137" . __FUNCTION__ . "\137\150"], ["\164\x65\170\x74" => $this->i18n("\160\162\145\x76\151\145\167"), "\143\x61\x6c\154\x62\141\143\153\137\144\141\164\141" => "\x2f\x73\145\x74\115\x65\x6e\165\104\145\163\x63\x72\x69\x70\x74\151\x6f\156\x20\150"]]; goto kMV3o; dFybA: $r = $this->update($this->rtkAD["\143\x68\141\164"], $this->rtkAD["\155\145\163\163\141\147\x65\x5f\151\144"], implode("\xa", $text ?: []), $data ?: false); goto L4W8r; uMwSw: $text[] = "\x3c\x63\157\x64\145\76" . htmlentities("\74\x73\160\x61\156\x20\x63\x6c\141\163\x73\x3d\42\x74\147\x2d\163\160\x6f\x69\x6c\145\x72\x22\76\163\x70\157\x69\154\145\162\74\57\x73\160\141\156\76") . "\74\x2f\x63\x6f\144\x65\76\x20\55\x20\x3c\164\147\x2d\x73\160\157\151\x6c\145\x72\76\321\x81\320\xba\xd1\200\xd1\x8b\321\202\321\213\xd0\271\74\57\164\x67\x2d\x73\160\x6f\151\154\145\x72\76"; goto mjBu6; MlPv4: HL_iF: goto EHcbL; uo0iW: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x73\x65\x74\x55\x73\145\162\x53\145\x72\166\x65\162"), "\143\141\x6c\x6c\142\x61\x63\x6b\137\144\141\x74\x61" => "\x2f\163\x65\x6e\144\x52\145\160\x6c\x79\x20\145\156\164\x65\162\x20\164\145\x78\164\137\x75\x70\x64\141\164\x65\x53\x65\x74\x74\151\x6e\147\x5f\x75\x73\x5f" . __FUNCTION__ . "\x5f\x75\x73"], ["\164\x65\170\x74" => $this->i18n("\x70\x72\145\x76\x69\x65\167"), "\x63\x61\154\154\142\141\143\x6b\x5f\144\x61\x74\141" => "\57\x73\145\164\115\145\x6e\x75\x44\x65\x73\143\162\x69\160\x74\151\157\156\40\x75\163"]]; goto W4nSZ; EHcbL: gMKle: goto dFybA; PmfZW: $text[] = "\74\x63\x6f\144\x65\76" . htmlentities("\x3c\x73\x3e\163\x74\x72\151\153\145\164\150\x72\x6f\x75\147\150\74\x2f\x73\76") . "\x3c\x2f\143\x6f\144\x65\x3e\x20\55\40\74\x73\76\320\267\xd0\xb0\xd1\207\320\265\xd1\200\320\xba\xd0\xbd\xd1\203\xd1\202\xd1\213\xd0\xb9\74\57\163\x3e"; goto uMwSw; Vk_A0: if ($chapter) { goto l6tAC; } goto fBIRd; iXR0d: $text[] = "\x3c\143\x6f\144\145\x3e\57\167\x69\156\x64\157\x77\163\x3c\57\143\157\144\x65\x3e\40\55\40\xd1\201\xd1\x81\xd1\x8b\320\xbb\320\xba\xd0\xb0\54\x20\xd0\277\320\276\40\xd0\272\xd0\xbb\xd0\xb8\xd0\xba\xd1\x83\40\xd0\275\320\xb0\40\320\272\320\xbe\321\202\xd0\xbe\321\200\321\203\321\x8e\x20\xd0\xb1\xd0\xbe\xd1\202\x20\320\xbe\321\202\320\xb4\xd0\260\321\x81\xd1\202\40\320\270\320\275\xd1\201\321\202\321\x80\xd1\x83\xd0\xba\321\206\320\xb8\321\216\x20\320\277\320\xbe\40\167\151\156\x64\157\x77\163"; goto Vk_A0; zTyJy: $data[] = [["\164\x65\170\164" => $this->i18n("\x73\145\x74\110\145\154\x70\x4d\141\x63\117\123"), "\x63\141\154\x6c\x62\x61\x63\153\x5f\144\141\164\141" => "\x2f\163\x65\156\x64\122\145\x70\x6c\x79\40\x65\156\164\145\162\x20\x74\145\170\164\x5f\165\x70\144\x61\164\x65\x53\145\164\164\x69\156\x67\x5f\x68\155\137" . __FUNCTION__ . "\137\150\x6d"], ["\164\145\x78\164" => $this->i18n("\160\162\145\166\x69\x65\x77"), "\143\x61\x6c\154\x62\x61\143\153\x5f\x64\x61\x74\x61" => "\x2f\163\145\x74\115\145\156\x75\x44\145\x73\143\162\151\160\164\151\157\156\40\x68\155"], ["\164\145\x78\x74" => $this->i18n("\x70\x72\145\166\151\x65\167\115\145\144\151\x61"), "\x63\x61\x6c\x6c\x62\x61\x63\x6b\137\144\x61\164\x61" => "\x2f\160\162\x65\166\151\145\167\115\145\144\x69\x61\40\150\x6d"]]; goto cd1uX; Ryl9O: $text[] = "\x3c\x63\157\144\x65\76\57\151\x6f\163\74\57\x63\x6f\x64\145\x3e\40\55\x20\321\201\321\x81\xd1\x8b\xd0\273\xd0\xba\320\260\54\40\xd0\277\xd0\xbe\40\xd0\xba\xd0\273\xd0\xb8\320\272\xd1\203\x20\xd0\275\320\260\x20\320\272\xd0\xbe\321\x82\320\xbe\xd1\x80\321\x83\321\x8e\40\xd0\261\320\xbe\321\x82\40\xd0\276\xd1\202\xd0\xb4\xd0\260\321\x81\321\x82\40\320\xb8\320\275\321\201\xd1\202\321\x80\xd1\x83\xd0\xba\321\x86\xd0\xb8\321\216\x20\320\277\320\276\x20\151\157\163"; goto Yd8WS; L4W8r: if (!($r["\157\153"] == false && !preg_match("\x7e\155\x65\x73\x73\x61\147\x65\x20\151\163\x20\x6e\157\x74\x20\x6d\x6f\144\x69\x66\151\x65\x64\x7e", $r["\x64\x65\163\143\162\x69\x70\x74\151\x6f\156"]))) { goto yV1lI; } goto UOlW8; Ejxcb: l6tAC: goto bwbmN; r3Cos: $data[] = [["\164\x65\x78\x74" => $this->i18n("\163\x65\x74\125\163\x65\x72\x50\141\x79"), "\143\141\154\154\142\141\x63\x6b\137\144\141\164\x61" => "\57\163\145\x6e\x64\x52\145\x70\x6c\171\40\x65\x6e\164\145\162\40\x74\145\170\x74\x5f\165\x70\x64\x61\164\145\x53\145\x74\164\151\x6e\x67\x5f\165\x70\137" . __FUNCTION__ . "\137\x75\160"], ["\164\145\x78\x74" => $this->i18n("\x70\x72\145\x76\151\145\167"), "\143\x61\154\154\142\141\143\x6b\x5f\x64\141\164\x61" => "\57\163\145\x74\x4d\x65\156\x75\104\145\x73\x63\162\151\160\x74\x69\x6f\156\40\x75\160"]]; goto nDOB3; nqKND: $text[] = "\12\74\x62\x3e\xd0\276\320\xb1\321\x8f\xd0\267\320\260\xd1\x82\320\265\320\273\321\214\320\275\320\276\40\320\277\xd1\200\320\xbe\320\xb2\320\xb5\321\200\321\x8c\321\x82\320\265\x20\160\162\x65\x76\151\x65\167\40\xd0\277\xd0\xbe\321\201\320\273\xd0\xb5\40\xd1\x83\321\x81\321\x82\320\xb0\xd0\275\320\276\xd0\xb2\320\272\xd0\270\40\321\x82\xd0\265\xd0\xba\xd1\x81\321\x82\320\260\x2c\40\xd0\265\321\x81\xd0\xbb\xd0\270\40\321\202\320\265\xd0\272\321\x81\xd1\202\x20\320\275\xd0\265\40\320\xbe\xd1\x82\320\xbe\xd0\xb1\321\x80\320\xb0\xd0\xb7\320\xb8\320\xbb\xd1\x81\xd1\x8f\40\320\xb7\320\275\xd0\xb0\321\x87\xd0\270\xd1\202\x20\320\xb2\40\xd1\x82\xd0\xb5\xd0\xba\xd1\x81\xd1\202\320\265\x20\320\xb5\xd1\201\xd1\202\321\214\40\320\276\xd1\x88\xd0\270\320\261\xd0\xba\320\260\40\150\x74\x6d\x6c\55\321\202\xd0\xb5\xd0\xb3\320\260\x20\xd0\xb8\40\321\215\xd1\x82\xd0\xbe\x20\320\274\xd0\xb5\xd0\275\xd1\x8e\40\320\275\320\xb5\40\xd0\261\321\203\xd0\xb4\xd0\265\321\x82\x20\321\x80\xd0\xb0\320\xb1\320\276\321\202\320\xb0\xd1\202\321\x8c\40\321\x83\40\320\277\xd0\xbe\320\xbb\xd1\214\320\267\320\276\xd0\262\320\xb0\321\202\xd0\265\320\xbb\xd1\x8f\x3c\57\x62\76"; goto uz6q2; jhpTm: $text[] = "\74\143\x6f\144\x65\x3e\57\142\x6f\x74\74\x2f\x63\x6f\144\145\76\x20\55\x20\321\x81\xd1\x81\xd1\213\320\273\xd0\272\xd0\260\54\40\xd0\277\320\xbe\x20\320\xba\xd0\xbb\320\xb8\xd0\272\321\203\40\320\275\xd0\260\40\320\xba\320\276\321\202\320\276\321\x80\321\203\321\x8e\x20\320\261\xd0\276\321\x82\x20\320\xbe\xd1\x82\320\264\320\260\xd1\x81\xd1\202\40\xd0\270\xd0\275\321\201\321\202\xd1\x80\321\x83\xd0\xba\xd1\206\320\xb8\xd1\216\x20\320\277\xd0\xbe\x20\142\x6f\164"; goto qM7BU; RcmN6: BEwB2: goto nqKND; aURmU: } public function unitConf($data = false, $key = "\143\157\x6e\146\x69\x67", $method = "\120\125\124") { goto Of7GB; icRE7: return $res; goto oS1Kh; Of7GB: $ch = curl_init(); goto w0mxl; w0mxl: curl_setopt_array($ch, [CURLOPT_URL => "\150\x74\164\160\x3a\x2f\x2f\x75\156\151\164\x3a\70\60\70\x30\57{$key}", CURLOPT_CUSTOMREQUEST => $method, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $method == "\104\x45\x4c\105\x54\x45" ? false : (is_object($data) ? ["\x66\x69\154\145" => $data] : json_encode($data)), CURLOPT_TIMEOUT => 5]); goto nlmiR; esv8v: curl_close($ch); goto icRE7; nlmiR: $res = curl_exec($ch); goto esv8v; oS1Kh: } public function unitConfig() { goto l3MCq; hY4P1: $data = ["\154\x69\163\164\145\x6e\x65\162\x73" => ["\x2a\x3a\70\64\64\x33" => ["\x70\141\x73\x73" => "\162\157\165\164\145\163\57\157\x74\x68\x65\x72", "\x74\x6c\163" => ["\x63\145\162\164\x69\146\151\x63\141\x74\x65" => !file_exists($this->OEiKI) ? ["\x62\x75\x6e\x64\x6c\x65"] : ["\x62\165\156\144\x6c\x65", "\x63\145\162\164\142\157\164"]]], "\52\x3a\70\x30" => ["\x70\x61\x73\x73" => "\162\x6f\x75\164\x65\x73\57\143\145\162\x74\142\157\164"]], "\x72\x6f\165\164\145\163" => ["\157\164\x68\145\162" => [["\x6d\x61\x74\143\x68" => ["\x75\162\151" => "\x2f\x79\x6f\157\x6d\x6f\x6e\145\x79"], "\141\143\x74\x69\157\156" => ["\x70\x61\163\x73" => "\141\160\x70\154\151\x63\141\x74\151\x6f\x6e\x73\x2f\x79\x6f\157\155\157\156\145\171"]], ["\x6d\x61\x74\x63\x68" => ["\165\162\151" => "\x2f\x77\x61\154\x6c\145\164"], "\x61\143\164\151\157\x6e" => ["\x70\141\x73\x73" => "\141\x70\160\154\151\143\141\164\x69\x6f\x6e\163\57\167\141\x6c\154\145\164"]], ["\x6d\x61\x74\143\150" => ["\x75\x72\151" => "\x2f\164\154\147\162\x6d"], "\141\143\164\x69\x6f\x6e" => ["\x70\x61\x73\x73" => "\x61\x70\160\154\151\143\x61\x74\x69\157\x6e\x73\x2f\x74\154\x67\x72\155"]], ["\x6d\x61\x74\143\150" => ["\165\162\151" => "\x2f\143\x72\171\160\x74\x6f\142\x6f\x74"], "\x61\143\164\151\157\x6e" => ["\160\x61\x73\x73" => "\x61\x70\x70\x6c\x69\x63\x61\x74\151\x6f\x6e\163\x2f\143\162\171\160\164\x6f"]]], "\143\x65\x72\164\142\x6f\x74" => [["\x6d\x61\x74\143\x68" => ["\165\x72\x69" => "\x2f\x2e\167\x65\x6c\154\x2d\153\x6e\x6f\x77\x6e\52"], "\141\x63\164\151\157\x6e" => ["\x73\150\141\162\145" => "\x2f\143\x65\162\x74\x73\x24\165\162\x69"]]]], "\141\160\160\154\x69\x63\x61\x74\151\x6f\x6e\163" => ["\x74\x6c\x67\x72\155" => ["\x74\x79\x70\x65" => "\160\150\x70", "\x72\x6f\157\164" => "\57\141\160\160", "\163\x63\x72\x69\160\x74" => "\164\x6c\x67\x72\x6d\x2e\x70\150\160", "\165\x73\x65\x72" => "\x72\x6f\x6f\x74", "\x67\162\x6f\x75\x70" => "\x72\x6f\x6f\x74"], "\171\157\157\x6d\157\156\145\x79" => ["\164\171\160\x65" => "\x70\x68\x70", "\x72\x6f\157\164" => "\x2f\141\160\x70", "\x73\143\162\x69\x70\x74" => "\x79\x6f\x6f\155\157\x6e\145\x79\56\160\150\160", "\x75\x73\145\x72" => "\162\x6f\x6f\x74", "\x67\162\157\x75\x70" => "\x72\157\x6f\x74"], "\167\x61\154\x6c\145\x74" => ["\164\171\160\145" => "\160\150\160", "\x72\157\157\x74" => "\x2f\x61\x70\160", "\x73\143\162\x69\160\164" => "\x77\141\154\x6c\145\x74\x2e\160\150\160", "\x75\x73\145\x72" => "\162\x6f\x6f\x74", "\x67\162\157\x75\160" => "\x72\x6f\157\164"], "\x63\162\171\160\x74\x6f" => ["\164\171\x70\x65" => "\x70\150\x70", "\162\157\157\x74" => "\x2f\x61\160\x70", "\163\x63\162\151\x70\164" => "\x63\162\x79\x70\x74\x6f\56\x70\x68\x70", "\x75\163\x65\162" => "\x72\x6f\x6f\164", "\x67\162\157\165\x70" => "\162\157\157\164"]], "\x61\143\x63\145\163\163\137\154\157\147" => "\57\x6c\157\x67\163\57\x75\x6e\x69\164\x5f\x61\143\143\x65\163\x73"]; goto CoMVf; urT0n: return $res; goto zthxu; OW1ur: if (!file_exists($this->OEiKI)) { goto kt7SX; } goto bq3CA; ONnS2: kt7SX: goto hY4P1; bq3CA: $res[] = $this->unitConf(curl_file_create($this->OEiKI), "\143\x65\162\x74\x69\x66\151\x63\x61\x74\x65\163\57\x63\x65\x72\164\x62\x6f\164"); goto ONnS2; l3MCq: $res[] = $this->unitConf(curl_file_create("\57\143\145\x72\x74\x73\57\142\x75\x6e\x64\x6c\145"), "\x63\145\162\x74\x69\x66\x69\143\141\x74\x65\163\x2f\x62\x75\x6e\x64\154\145"); goto OW1ur; CoMVf: $res[] = $this->unitConf($data, "\x63\157\x6e\146\x69\x67"); goto urT0n; zthxu: } public function export() { goto JCh_K; FHtjU: return $r; goto a1KsM; JCh_K: if (file_exists("\57\143\x6f\156\146\151\147")) { goto moQOX; } goto BFu1s; BFu1s: mkdir("\57\x63\x6f\156\x66\x69\x67"); goto tX7Pk; fS9wD: $path = "\57\143\x6f\x6e\x66\x69\x67\57\x69\x6d\160\157\x72\164\56\x73\x71\154"; goto BeZvy; BeZvy: exec("\155\171\163\161\x6c\x64\165\155\x70\x20\x2d\x68\40\144\x62\x20\x2d\165\x20\162\157\157\164\40\x74\157\x77\145\x72\40\x3e\40{$path}"); goto VgXd3; VgXd3: $r = $this->sendFile($this->vABj5["\141\x64\155\151\x6e"], curl_file_create($path, posted_filename: "\144\165\x6d\x70\137" . date("\131\x5f\x6d\137\x64\x5f\x48\137\x69\x5f\x73") . "\56\x73\161\x6c")); goto aNQu9; tX7Pk: moQOX: goto fS9wD; aNQu9: unlink($path); goto FHtjU; a1KsM: } public function openLinkNode() { goto R3PXM; rbAYY: file_put_contents("\x2f\x63\x6f\156\x66\151\x67\57\x75\x6e\x69\164\x74\155\160\x2e\x6a\163\x6f\156", json_encode($unit, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto KiukO; Vh7k2: array_unshift($unit["\162\x6f\x75\164\145\x73"], ["\155\141\164\x63\150" => ["\x75\x72\x69" => "\176\134\x2e\x28\x74\x61\x72\51"], "\141\x63\164\x69\157\156" => ["\162\145\164\x75\162\156" => 404]]); goto Z3lSB; R3PXM: $unit = json_decode(file_get_contents("\x2f\143\x6f\x6e\x66\151\147\x2f\165\156\x69\164\x2e\x6a\163\x6f\156"), true); goto Vh7k2; Z3lSB: array_unshift($unit["\162\157\x75\x74\145\x73"], ["\155\x61\164\x63\x68" => ["\165\x72\x69" => "\x7e\x5c\x2e\50\164\x61\162\51", "\141\x72\x67\165\155\145\x6e\164\x73" => ["\150" => substr(md5($this->vABj5["\141\x64\155\x69\x6e"] . $this->vABj5["\x6b\145\x79"]), 0, 8)]], "\x61\143\x74\x69\x6f\156" => ["\x73\150\x61\x72\145" => ["\x2f\44\x75\162\151"]]]); goto rbAYY; KiukO: } public function import() { goto y1wb1; Ga5np: $this->menu(); goto uLw0c; y1wb1: $path = "\x2f\143\x6f\156\x66\x69\x67\57\151\155\160\x6f\162\x74\x2e\x73\161\x6c"; goto l_3zn; BEzK0: $dump = file_get_contents($this->file . $r["\x72\x65\x73\x75\154\x74"]["\146\151\x6c\145\x5f\160\141\164\150"]); goto E_Du3; kFzxj: exec("\155\x79\163\161\154\x20\55\150\x20\144\142\x20\x2d\x75\40\x72\x6f\157\x74\40\164\x6f\167\145\162\40\74\40{$path}"); goto Fc8Wj; Fc8Wj: unlink($path); goto Ga5np; l_3zn: $r = $this->request("\147\x65\x74\106\x69\x6c\x65", ["\146\151\x6c\x65\137\151\144" => $this->rtkAD["\x66\151\x6c\145\137\151\x64"]]); goto BEzK0; E_Du3: file_put_contents($path, $dump); goto kFzxj; uLw0c: } public function updateExpireNotify($text) { $time = strtotime($text) - time(); $this->updateSetting($time > 0 ? $time : '', "\x65\x78\160\x69\162\x65\x4e\x6f\164\x69\x66\x79", "\143\157\x6e\x66\151\147"); } public function debug() { $this->updateSetting(!$this->getSetting("\144\145\142\165\x67"), "\x64\145\x62\165\x67", "\143\157\x6e\x66\151\x67"); } public function yoomoney() { goto s2FMT; ZSom6: $data[] = [["\164\x65\170\x74" => $this->i18n("\x73\145\x74\127\141\x6c\154\145\164") . ($wallet ? "\72\40{$wallet}" : ''), "\143\x61\154\154\142\x61\x63\153\x5f\x64\x61\x74\141" => "\57\163\x65\x6e\x64\x52\145\160\x6c\x79\x20\x65\156\164\x65\162\x20\x77\141\154\x6c\145\164\137\165\160\x64\x61\164\x65\x53\x65\164\164\151\x6e\x67\x5f\167\x61\154\154\x65\x74\x5f" . __FUNCTION__]]; goto jcb8U; RyOea: $success = $this->getSetting("\x73\165\143\143\145\163\x73\125\162\154"); goto KjmO4; vb6Qc: $text[] = "\320\275\xd0\xb0\x20\xd1\201\xd1\x82\321\x80\xd0\xb0\320\xbd\xd0\xb8\321\206\xd0\265\40\150\x74\x74\x70\163\x3a\57\x2f\x79\157\157\155\157\156\145\171\56\x72\165\57\164\x72\x61\x6e\163\x66\145\162\x2f\x6d\171\163\x65\x72\x76\x69\x63\x65\x73\x2f\150\x74\164\160\55\156\157\x74\151\146\x69\x63\x61\164\x69\x6f\x6e\x20\72"; goto EWrQJ; JHMlp: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x73\x65\x74\x50\150\x72\141\x73\145") . ($phrase ? "\x3a\40{$phrase}" : ''), "\x63\141\x6c\154\x62\141\x63\153\x5f\144\x61\164\141" => "\x2f\163\x65\156\144\x52\145\x70\154\171\x20\x65\156\164\145\162\x20\160\150\x72\141\163\x65\137\x75\x70\x64\x61\164\145\120\x68\x72\141\x73\x65"]]; goto PrONF; nqqXr: $text[] = "\320\xbe\321\x82\320\xbc\xd0\265\xd1\x82\xd1\x8c\xd1\x82\320\xb5\x20\320\xb3\xd0\xb0\320\273\xd0\276\xd1\x87\320\272\321\x83\40\74\x62\76\74\x69\76\320\276\xd1\x82\xd0\277\321\x80\xd0\xb0\320\262\320\xbb\321\x8f\xd1\202\321\214\40\110\x54\124\120\55\321\203\320\xb2\320\xb5\320\264\xd0\276\320\274\320\xbb\xd0\265\320\275\xd0\xb8\xd1\217\74\57\x69\76\x3c\57\x62\76"; goto VJ_2B; jcb8U: $data[] = [["\164\145\x78\164" => $this->i18n("\x73\x65\x74\x53\145\x63\162\145\x74") . ($secret ? "\x3a\x20{$secret}" : ''), "\x63\x61\154\x6c\x62\141\x63\x6b\x5f\144\x61\164\x61" => "\x2f\x73\145\156\144\122\145\160\x6c\x79\40\x65\156\x74\x65\x72\x20\x73\x65\143\x72\145\x74\x5f\x75\160\144\x61\x74\x65\x53\x65\x74\164\151\x6e\147\x5f\x73\x65\143\162\x65\x74\x5f" . __FUNCTION__]]; goto JHMlp; QZweK: $debug = $this->getSetting("\171\x64"); goto ZSom6; HMf4R: $data[] = [["\164\x65\x78\164" => $this->i18n("\142\141\x63\153"), "\143\141\154\154\142\x61\143\153\x5f\x64\x61\x74\x61" => "\57\160\141\x79\155\x65\156\x74\x73"]]; goto vb6Qc; FSXC5: $this->uors($text, $data); goto clNQe; IyYgy: $text[] = "\xd1\201\320\xba\xd0\xbe\320\xbf\xd0\270\321\x80\321\x83\xd0\xb9\321\202\320\265\x20\xd1\201\xd0\265\320\xba\321\200\xd0\xb5\xd1\202"; goto nqqXr; pf0hy: $wallet = $this->getSetting("\167\x61\x6c\x6c\x65\x74"); goto RyOea; EWrQJ: $text[] = "\xd1\201\321\x81\xd1\x8b\xd0\xbb\xd0\xba\320\xb0\40\xd0\xb4\xd0\273\xd1\217\40\320\275\xd0\xbe\321\x82\xd0\270\xd1\204\xd0\270\320\272\xd0\xb0\321\x86\320\270\xd0\271\40\x3c\143\x6f\144\145\x3e\x68\164\x74\x70\x73\x3a\57\57{$this->l4Nwz}\x3a\70\64\x34\63\57\171\157\x6f\155\157\x6e\145\171\74\57\143\x6f\x64\x65\76"; goto IyYgy; KjmO4: $phrase = $this->getSetting("\160\x68\162\141\x73\145"); goto QZweK; VJ_2B: $text[] = "\12\320\xb2\x20\320\xb1\xd0\276\xd1\202\320\xb5\x20\321\x83\321\x81\321\202\320\260\xd0\275\320\xbe\xd0\262\320\xb8\321\202\320\xb5\40\320\275\320\276\xd0\274\320\265\xd1\200\x20\320\xba\xd0\276\321\x88\320\xb5\xd0\273\321\214\320\xba\320\xb0\54\x20\321\x81\320\xb5\xd0\272\321\x80\xd0\xb5\321\202\x2c\x20\xd0\272\xd0\xbe\320\xb4\xd0\xbe\xd0\xb2\xd1\x83\321\216\x20\xd1\x84\xd1\200\320\260\320\267\xd1\203\x20\320\xb1\xd0\276\xd1\x82\320\xb0"; goto FSXC5; OX4JN: $data[] = [["\164\145\170\164" => $this->i18n("\167\x65\x62\150\x6f\x6f\x6b\x44\x65\x62\165\x67") . "\x3a\40" . ($debug ? "\x6f\156" : "\x6f\x66\x66"), "\143\x61\x6c\x6c\x62\141\x63\153\137\x64\141\164\141" => "\x2f\167\145\142\150\157\x6f\x6b\104\x65\142\165\147"]]; goto HMf4R; s2FMT: $secret = $this->getSetting("\163\x65\x63\x72\145\164"); goto pf0hy; PrONF: $data[] = [["\164\x65\170\x74" => $this->i18n("\163\x65\x74\x53\x75\143\143\x65\x73\163\125\x72\x6c") . ($success ? "\x3a\x20{$success}" : ''), "\x63\141\x6c\x6c\142\x61\143\153\x5f\144\141\164\141" => "\x2f\163\145\x6e\x64\x52\x65\x70\x6c\171\40\145\156\164\145\x72\x20\154\151\x6e\153\137\165\160\x64\x61\164\x65\x53\145\x74\164\x69\156\147\x5f\163\x75\x63\x63\x65\x73\163\x55\162\154\137" . __FUNCTION__]]; goto OX4JN; clNQe: } public function yoomoneyLink($id, $price, $menupage) { goto IADKq; UIW9i: if (!(!empty($secret) && !empty($wallet) && !empty($phrase))) { goto Xtk_h; } goto x9ybB; ftKfM: curl_setopt_array($ch, [CURLOPT_URL => "\150\164\x74\160\163\72\57\x2f\x79\x6f\x6f\x6d\x6f\156\x65\171\56\x72\x75\57\x71\165\151\143\x6b\x70\x61\171\57\x63\x6f\156\146\x69\x72\x6d\x2e\170\x6d\x6c", CURLOPT_CUSTOMREQUEST => "\x50\117\123\124", CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => ["\x72\145\x63\x65\151\166\145\162" => $wallet, "\x6c\x61\x62\145\154" => "{$phrase}\x3a{$id}\x3a{$this->rtkAD["\x63\150\141\x74"]}\x3a{$this->rtkAD["\155\x65\163\x73\x61\147\x65\x5f\151\x64"]}\72{$menupage}", "\x71\165\x69\x63\x6b\160\x61\x79\55\x66\157\x72\x6d" => "\x64\157\156\141\x74\x65", "\x73\x75\155" => $price], CURLOPT_TIMEOUT => 5]); goto Jx3yX; x9ybB: $ch = curl_init(); goto ftKfM; g9RnN: preg_match("\x7e\50\150\x74\164\x70\163\133\x5e\x5c\x73\135\53\51\x7e", $res, $m); goto lzDaV; eNIDz: return $m[1] ?: false; goto kGCKm; IADKq: $wallet = $this->getSetting("\x77\x61\x6c\154\145\164"); goto VbIQ5; VbIQ5: $phrase = $this->getSetting("\160\150\x72\x61\163\145"); goto vi72c; lzDaV: Xtk_h: goto eNIDz; vi72c: $secret = $this->getSetting("\x73\x65\x63\162\x65\x74"); goto UIW9i; Jx3yX: $res = curl_exec($ch); goto deO3t; deO3t: curl_close($ch); goto g9RnN; kGCKm: } public function wallet() { goto Z7ZAA; RGJIz: $wallet = $this->getSetting("\x40\167\141\154\x6c\145\164"); goto DV7e9; KqWmw: $text[] = "\150\x74\x74\160\163\x3a\x2f\x2f\160\141\x79\56\167\x61\154\154\145\164\56\164\x67\57"; goto tdCOH; Zj1aX: $text[] = "\xd1\x81\xd1\x81\xd1\x8b\xd0\273\320\xba\320\xb0\x20\320\264\320\273\xd1\x8f\x20\320\275\320\xbe\xd1\202\xd0\xb8\xd1\204\xd0\270\xd0\xba\320\260\xd1\x86\320\xb8\320\271\40\74\143\x6f\144\x65\x3e\150\x74\x74\160\163\72\x2f\x2f{$domain}\72\x38\64\64\63\57\x77\x61\154\154\145\x74\x3c\x2f\x63\x6f\x64\145\76"; goto yjPqo; tdCOH: $text[] = "\x73\x65\x63\162\x65\164\72\x20{$wallet}"; goto Zj1aX; yjPqo: $this->uors($text, $data); goto CSNw4; DV7e9: $data[] = [["\x74\x65\170\x74" => $this->i18n("\163\145\164\123\x65\x63\x72\x65\x74") . ($wallet ? "\72\40{$wallet}" : ''), "\x63\x61\x6c\x6c\x62\x61\143\x6b\x5f\144\141\x74\x61" => "\x2f\x73\x65\156\x64\x52\x65\x70\154\x79\40\145\156\x74\x65\x72\x20\167\141\154\x6c\x65\164\x5f\x75\x70\144\x61\x74\x65\x53\145\x74\x74\x69\x6e\x67\x5f\x40\167\x61\x6c\x6c\145\164\x5f" . __FUNCTION__]]; goto p3pi6; Z7ZAA: $domain = $this->getSetting("\x64\157\x6d\x61\151\156") ?: $this->l4Nwz; goto RGJIz; p3pi6: $data[] = [["\x74\145\x78\164" => $this->i18n("\x62\141\143\153"), "\x63\x61\154\x6c\142\x61\x63\x6b\137\x64\x61\164\x61" => "\57\160\141\x79\x6d\x65\156\164\x73"]]; goto KqWmw; CSNw4: } public function crypto() { goto YSoSX; NylLh: $crypto = $this->getSetting("\x40\x63\162\171\x70\x74\x6f"); goto CX_SL; YSoSX: $domain = $this->getSetting("\x64\x6f\155\x61\x69\x6e") ?: $this->l4Nwz; goto NylLh; CX_SL: $data[] = [["\164\x65\x78\x74" => $this->i18n("\163\x65\x74\123\145\x63\162\145\164") . ($crypto ? "\x3a\x20{$crypto}" : ''), "\x63\x61\154\x6c\x62\141\x63\x6b\137\144\141\164\141" => "\x2f\x73\x65\156\x64\x52\x65\160\x6c\171\40\x65\156\x74\x65\x72\x20\x63\162\171\160\164\157\137\x75\x70\x64\x61\x74\145\123\x65\164\x74\x69\x6e\147\137\x40\143\162\x79\160\164\157\137" . __FUNCTION__]]; goto SJptP; DGI5R: $text[] = "\x73\x65\x63\x72\145\x74\x3a\40{$crypto}"; goto QlvBV; SJptP: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x62\x61\x63\153"), "\x63\141\154\x6c\x62\x61\x63\153\x5f\x64\141\164\141" => "\x2f\160\x61\171\155\x65\156\x74\x73"]]; goto flfiQ; GjHf_: $this->uors($text, $data); goto mWMuY; flfiQ: $text[] = "\100\163\x65\156\144"; goto DGI5R; QlvBV: $text[] = "\xd1\201\xd1\201\321\x8b\320\273\320\xba\xd0\260\x20\320\264\xd0\273\321\x8f\40\xd0\275\xd0\276\xd1\202\320\xb8\xd1\x84\xd0\xb8\xd0\xba\320\xb0\321\x86\xd0\xb8\320\271\40\74\x63\157\x64\145\76\x68\164\x74\x70\x73\x3a\x2f\x2f{$domain}\x3a\x38\x34\x34\63\x2f\143\162\171\x70\x74\157\x62\x6f\164\x3c\x2f\x63\x6f\144\x65\76"; goto GjHf_; mWMuY: } public function webhookDebug() { $this->sql("\x69\x6e\163\x65\162\x74\40\x69\x6e\164\157\40\163\x65\x74\164\x69\x6e\147\x73\x20\x28\160\x61\x72\x61\x6d\54\40\166\141\154\165\x65\51\x20\x76\x61\154\165\x65\x73\x20\50\x27\171\144\x27\x2c\x20\x31\51\40\157\x6e\40\x64\x75\160\x6c\x69\143\141\x74\145\x20\x6b\145\x79\40\x75\x70\x64\x61\164\145\40\166\x61\154\x75\145\x3d\41\166\141\154\165\145"); $this->yoomoney(); } public function notifyPay($id) { goto oWfLz; mbtz5: goto sZeQV; goto PMgx9; VURXx: $this->send($this->vABj5["\x61\144\x6d\x69\x6e"], "\xd0\276\320\xbf\320\273\320\260\321\207\320\xb5\320\xbd\40\xd0\xb7\320\xb0\320\272\320\xb0\320\267\40\x23{$id}\12{$o["\141\x6d\x6f\165\x6e\164"]}\12{$life}"); goto QH1KI; PMgx9: lQJAI: goto XG3Ui; QH1KI: sZeQV: goto dOLcB; XG3Ui: $life = $this->getTime($o["\154\151\x66\145"]); goto VURXx; oWfLz: if ($o = $this->sql("\x73\x65\x6c\145\x63\164\40\x2a\40\146\162\x6f\155\40\157\x72\144\x65\x72\x73\x20\x77\x68\145\x72\x65\40\x69\x64\75\72\151\x64", ["\x3a\151\x64" => $id], "\162\x6f\x77")) { goto lQJAI; } goto VTVfr; VTVfr: $this->send($this->vABj5["\141\x64\x6d\151\x6e"], "\xd1\x83\320\262\320\xb5\xd0\264\320\xbe\xd0\274\xd0\273\320\xb5\320\275\xd0\270\320\xb5\40\xd0\xbf\xd0\xbe\x20\320\xbe\321\x82\xd1\201\xd1\x83\xd1\202\321\201\321\x82\320\262\321\203\xd1\216\xd1\x89\320\xb5\xd0\xbc\321\x83\x20\320\xb7\320\260\320\272\320\260\xd0\267\321\203\40\43{$id}"); goto mbtz5; dOLcB: } public function order($id, $menupage) { goto URNdn; SG8ac: $text[] = "\x23{$order["\x69\144"]}\40{$order["\164\x67\151\144"]}\40{$u}\x20\x28{$status}\51\72\x20" . ($order["\x6e\141\x6d\145"] ?: "{$order["\144\157\155\x61\151\x6e"]}\x3a{$order["\x70\157\x72\x74"]}") . "\40\x2f\x20" . $this->getTime($order["\154\x69\146\x65"]); goto HSSD1; HSSD1: $data[] = [["\164\145\170\164" => $this->i18n("\x70\x61\171\x4f\162\144\x65\162"), "\143\x61\x6c\x6c\x62\141\x63\153\137\144\x61\164\x61" => "\x2f\x70\141\x79\117\162\144\145\162\40{$id}\137{$order["\163\x65\x72\x76\145\162"]}\x5f{$menupage}\x5f\x31"]]; goto EBx34; roWU_: $data[] = [["\164\145\170\164" => $this->i18n("\142\141\x63\x6b"), "\x63\x61\x6c\154\x62\141\x63\x6b\x5f\144\141\x74\x61" => "\x2f\155\145\x6e\x75\40{$menupage}"]]; goto PAX6U; s6zk8: oE7q0: goto KAehG; URNdn: if ($order = $this->sql("\x73\x65\x6c\x65\x63\x74\x20\157\56\x2a\x2c\40\163\56\x6e\x61\x6d\145\x2c\40\151\146\50\x73\56\144\x6f\155\x61\151\x6e\41\x3d\x22\42\x2c\40\163\x2e\x64\157\x6d\141\x69\156\x2c\x20\x73\x2e\151\160\51\x20\x64\157\155\x61\x69\156\x2c\40\163\x2e\x70\157\x72\164\x20\146\x72\x6f\155\40\157\162\144\x65\x72\163\x20\157\x20\x6a\157\x69\x6e\x20\163\145\162\x76\x65\x72\163\x20\163\x20\157\156\x20\163\56\x69\x64\75\x6f\56\x73\x65\x72\166\x65\x72\x20\x77\150\x65\x72\145\40\x6f\56\x69\144\x3d\x3a\151\144\40\141\156\144\40\x6f\56\x70\x61\151\144\75\x30", ["\x3a\x69\144" => $id], "\x72\x6f\x77")) { goto oE7q0; } goto u2kfs; LC1Ni: $status .= $order["\x63\154\x69\145\x6e\164"] ? "\40\x2d\40\xd0\xbf\321\200\320\276\320\xb4\320\273\xd0\265\xd0\275\320\xb8\320\xb5\x20\x23{$order["\x63\x6c\x69\145\x6e\x74"]}" : ''; goto FR00n; PAX6U: $this->uors($text, $data); goto Ry0sv; EBx34: $data[] = [["\164\x65\x78\164" => $this->i18n("\144\145\x6c\x65\x74\x65\117\x72\x64\145\x72"), "\x63\141\x6c\x6c\x62\x61\x63\x6b\137\144\x61\164\x61" => "\x2f\144\145\x6c\x65\x74\145\117\162\144\145\162\x20{$id}\137{$menupage}\x5f\155\145\156\165"]]; goto eE6jF; FR00n: $u = $this->getInfoUser($order["\164\x67\151\x64"])["\162\x65\163\165\x6c\x74"]["\165\x73\x65\x72"]["\146\151\x72\163\x74\137\156\x61\155\145"]; goto SG8ac; dtOCe: goto VGnra; goto s6zk8; FgVuK: $status = $order["\160\x61\151\144"] ? "\xd0\276\320\277\320\273\320\260\321\x87\320\265\320\275" : "\xd0\xb6\xd0\264\320\265\xd1\x82\40\xd0\276\320\xbf\xd0\xbb\320\260\xd1\x82\321\x8b"; goto LC1Ni; u2kfs: $text[] = "\320\xb7\320\260\xd0\xba\xd0\260\xd0\267\x20\xd0\xbe\320\xbf\xd0\273\320\xb0\321\x87\xd0\xb5\320\275"; goto dtOCe; KAehG: $text[] = $this->template("\x75\x6f", $order); goto FgVuK; eE6jF: VGnra: goto roWU_; Ry0sv: } public function uors($text = false, $data = false) { goto gdYZw; P4tqz: $data = $data ?: false; goto lY92Q; lY92Q: if (!empty($this->rtkAD["\143\141\x6c\154\142\141\143\153\x5f\x69\144"])) { goto YUoYB; } goto edCOw; jckt_: hHmw1: goto ZveM3; EqqgN: $r = $this->update($this->rtkAD["\x63\x68\141\x74"], $this->rtkAD["\x6d\145\x73\163\141\147\x65\137\x69\144"], $text, $data); goto jckt_; edCOw: $r = $this->send($this->rtkAD["\x63\150\141\164"], $text, $this->rtkAD["\x6d\x65\163\x73\x61\x67\x65\137\x69\x64"], $data); goto qryQG; ZveM3: return $r; goto Nz1aL; gdYZw: $text = implode("\xa", $text ?: []); goto P4tqz; BBBzv: YUoYB: goto EqqgN; qryQG: goto hHmw1; goto BBBzv; Nz1aL: } public function payOrder($id, $server, $menupage, $main = false) { goto WvGLB; Rh6CE: $order["\154\x69\146\145"] = $this->getTime($order["\x6c\x69\x66\x65"]); goto vZQxw; e_sme: if (!($link = $this->cryptoLink("{$id}\72{$this->rtkAD["\x66\162\x6f\155"]}\x3a{$this->rtkAD["\155\x65\x73\x73\141\x67\x65\x5f\151\x64"]}\x3a{$menupage}", $desc, $order["\160\162\151\143\x65"]))) { goto pYJ0g; } goto LVcNu; SRl7a: z75F8: goto G5SQf; LBdot: $text[] = "\320\262\40\xd0\264\xd0\260\320\xbd\320\275\321\x8b\320\xb9\x20\320\xbc\320\276\xd0\274\xd0\xb5\320\275\321\202\x20\320\275\xd0\265\xd1\202\x20\320\xb2\320\276\320\xb7\xd0\274\xd0\xbe\320\xb6\xd0\xbd\320\276\xd1\x81\xd1\x82\320\xb8\40\320\xbe\xd0\277\320\xbb\xd0\260\xd1\x82\320\270\xd1\202\xd1\214\54\x20\321\201\xd0\xb2\321\x8f\320\266\xd0\xb8\321\202\320\xb5\321\x81\xd1\214\40\321\x81\40\xd0\260\320\xb4\320\274\320\xb8\xd0\xbd\xd0\xb8\321\201\xd1\202\321\x80\xd0\260\xd1\202\320\276\xd1\200\xd0\xbe\320\274"; goto NZsbR; G5SQf: if (!empty($data)) { goto q8v5Q; } goto LBdot; DvLVQ: if (!($link = $this->telegramPayLink("\166\x70\156", $desc, "{$id}\x3a{$menupage}\x3a{$this->rtkAD["\x6d\x65\163\163\x61\x67\x65\x5f\x69\144"]}", [["\x6c\141\142\145\154" => $order["\x6c\151\146\x65"], "\x61\155\157\165\x6e\164" => $order["\x70\162\x69\143\x65"] * 100]]))) { goto SkprA; } goto q1U2c; WvGLB: if ($order = $this->sql("\163\x65\154\x65\x63\x74\x20\157\x2e\52\54\x20\163\x2e\x6e\x61\155\145\x2c\x20\163\x2e\x69\x70\54\40\x73\56\x70\157\162\x74\40\x66\162\x6f\155\x20\x6f\162\144\145\x72\163\40\x6f\40\x6a\x6f\x69\156\40\x73\145\162\166\145\162\x73\40\x73\x20\157\156\40\163\x2e\x69\x64\75\157\56\x73\145\x72\166\145\x72\40\167\150\x65\162\x65\x20\x6f\56\151\144\75\72\x69\x64\40\141\x6e\x64\x20\157\56\160\141\151\x64\75\x30", ["\72\x69\144" => $id], "\x72\x6f\x77")) { goto KK6HZ; } goto LNG3m; hMg0U: if (!($link = $this->yoomoneyLink($id, $order["\160\162\x69\143\145"], $menupage))) { goto GmZlX; } goto OThiB; qyZU0: $this->uors($text, $data); goto SDAhV; OThiB: $data[] = [["\164\145\x78\x74" => $this->i18n("\x79\x6f\157\155\x6f\x6e\x65\171\120\141\x79"), "\x75\x72\154" => $link]]; goto PwqjT; CYPpw: pYJ0g: goto DeBpU; r4QgZ: $desc = "\157\162\144\x65\162\x20\43{$id}"; goto SBSuE; r8Lu9: SkprA: goto w8lXt; SBSuE: if (empty($order["\160\162\151\143\x65"])) { goto vLJF1; } goto e_sme; LsMBR: $data[] = [["\x74\145\170\x74" => $this->i18n("\163\x74\x61\162\x73"), "\165\x72\x6c" => $link]]; goto SRl7a; w8lXt: vLJF1: goto Lnzdj; PwqjT: GmZlX: goto DvLVQ; Xm9kt: $text[] = "\x3c\142\76\320\x97\320\xb0\320\xba\320\xb0\xd0\267\40\43{$order["\151\x64"]}\40\xd1\x81\xd0\276\xd0\267\320\xb4\xd0\260\320\275\x3c\x2f\x62\x3e"; goto ruFoM; LVcNu: $data[] = [["\x74\145\x78\164" => "\x40\163\x65\156\x64", "\165\x72\154" => $link]]; goto CYPpw; h4bO0: S3QXP: goto hMg0U; OhG8x: i3vek: goto niboY; NZsbR: q8v5Q: goto OhG8x; q1U2c: $data[] = [["\x74\145\x78\164" => $this->i18n("\x74\x65\154\x65\147\162\x61\x6d\x50\141\x79"), "\x75\x72\x6c" => $link]]; goto r8Lu9; RBsEe: $status = "\320\266\xd0\264\320\xb5\321\202\40\xd0\276\xd0\xbf\xd0\273\xd0\xb0\xd1\x82\321\213" . ($order["\143\154\151\x65\156\164"] ? "\40\55\x20\xd0\277\xd1\x80\320\xbe\xd0\264\xd0\273\320\265\320\275\xd0\xb8\320\xb5\40\43{$order["\143\154\x69\x65\156\164"]}" : ''); goto o4SWd; DeBpU: if (!($link = $this->walletLink("{$id}\x3a{$this->rtkAD["\146\162\157\x6d"]}\x3a{$this->rtkAD["\155\145\163\163\x61\147\145\x5f\151\x64"]}\x3a{$menupage}", $desc, $order["\160\x72\151\143\145"]))) { goto S3QXP; } goto zFc7b; ruFoM: p2niO: goto Rh6CE; Lnzdj: if (!($order["\x73\164\141\162\163"] > 0 && ($link = $this->telegramPayLink("\x76\x70\x6e", $desc, "{$id}\72{$menupage}\x3a{$this->rtkAD["\x6d\x65\163\x73\141\147\x65\x5f\151\144"]}", [["\154\x61\142\145\154" => $order["\154\x69\x66\145"], "\x61\x6d\x6f\165\x6e\164" => $order["\x73\164\x61\162\163"]]], 1)))) { goto z75F8; } goto LsMBR; CDnPy: goto i3vek; goto FJYpU; niboY: $data[] = [["\164\145\170\164" => $this->i18n("\142\141\143\x6b"), "\x63\x61\154\154\x62\141\143\153\137\x64\141\164\141" => $main ? "\x2f\157\x72\x64\145\x72\x20{$id}\x5f{$menupage}" : "\x2f\x73\145\162\x76\145\x72\125\x73\145\162\x20{$server}\x5f{$menupage}"]]; goto qyZU0; o4SWd: $u = $this->getInfoUser($order["\164\147\x69\144"])["\x72\145\163\x75\x6c\164"]["\x75\163\x65\162"]["\x66\151\x72\x73\164\x5f\x6e\141\155\x65"]; goto Ks4Hk; Ks4Hk: $text[] = "\43{$order["\x69\144"]}\40{$order["\x74\147\x69\x64"]}\40{$u}\x20\50{$status}\51\72\40" . ($order["\156\141\155\145"] ?: "{$order["\x69\x70"]}\x3a{$order["\x70\157\x72\164"]}") . "\40\x2f\x20" . $order["\x6c\x69\146\145"]; goto r4QgZ; vZQxw: $text[] = trim($this->template("\x75\x70", $order)); goto RBsEe; LNG3m: $text[] = "\xd0\267\xd0\xb0\320\xba\320\260\320\267\40\320\xbe\xd0\277\xd0\xbb\320\260\xd1\207\xd0\xb5\320\xbd\x2e\40\xd0\262\x20\320\xb1\320\273\xd0\270\320\266\xd0\xb0\xd0\xb9\xd1\x88\xd0\xb5\320\xb5\x20\xd0\xb2\xd1\x80\320\265\320\xbc\xd1\x8f\40\xd0\xb2\xd1\x8b\40\320\277\320\276\320\xbb\321\203\xd1\207\xd0\270\321\x82\320\xb5\x20\xd0\xba\320\xbe\320\275\321\x84\320\xb8\320\263"; goto CDnPy; yZpzL: if ($main) { goto p2niO; } goto Xm9kt; zFc7b: $data[] = [["\x74\x65\x78\x74" => "\360\237\x91\x9b\x20\127\x61\154\x6c\145\x74\x20\x50\141\171", "\x75\162\x6c" => $link]]; goto h4bO0; FJYpU: KK6HZ: goto yZpzL; SDAhV: } public function deleteOrder($id, $backpage, $callback) { $this->sql("\x64\x65\x6c\x65\164\x65\40\146\162\157\155\x20\157\162\x64\145\162\163\40\x77\150\145\162\x65\x20\151\x64\x3d\x3a\x69\x64", ["\x3a\151\x64" => $id]); $this->{$callback}($backpage); } public function previewMedia($param) { goto giKtM; FWTfq: $this->send($this->rtkAD["\143\x68\141\164"], $text); goto ZOft7; ibcHD: if (!$photos) { goto BQzNT; } goto ij54l; e1F2J: foreach ($m[1] as $k => $v) { $photos[] = ["\x74\171\x70\145" => "\160\x68\157\x74\x6f", "\x6d\x65\144\151\141" => $v, "\x70\x61\x72\163\145\x5f\155\x6f\x64\x65" => "\110\124\115\x4c"]; LyVy4: } goto tFJsf; tFJsf: f1QfS: goto ibcHD; Xjstf: preg_match_all("\57\176\x70\150\x6f\164\157\72\50\x2e\53\x29\176\57", $text, $m); goto uF1uA; ZOft7: PSABF: goto nNjTR; uF1uA: $text = trim(preg_replace("\57\176\x70\150\x6f\x74\157\72\50\56\x2b\x29\x7e\57", '', $text)); goto e1F2J; ij54l: $this->request("\x73\145\156\x64\115\145\x64\151\141\107\x72\x6f\165\160", ["\143\150\x61\164\137\x69\144" => $this->rtkAD["\143\150\141\164"], "\155\x65\x64\151\141" => json_encode($photos)]); goto VDe7g; B6DKz: if (!$text) { goto PSABF; } goto FWTfq; giKtM: $text = $this->getSetting($param); goto Xjstf; VDe7g: BQzNT: goto B6DKz; nNjTR: } public function helpMenu($menupage = 0) { goto DjKEo; mdNAK: $data[] = [["\164\x65\170\164" => $this->i18n("\x62\x61\143\153"), "\x63\141\154\154\142\x61\143\x6b\137\144\141\164\141" => "\x2f\155\145\x6e\x75\x20{$menupage}"]]; goto rnsyY; lmNdn: $data[] = [["\x74\145\x78\164" => $this->i18n("\x77\x69\x6e\144\157\167\163"), "\143\x61\x6c\154\x62\x61\x63\x6b\137\144\x61\x74\x61" => "\x2f\x70\162\x65\x76\151\145\167\x4d\145\144\x69\141\x20\x68\167"], ["\x74\x65\170\164" => $this->i18n("\x6d\x61\x63\x6f\163"), "\143\141\154\x6c\142\141\x63\x6b\137\144\x61\x74\141" => "\x2f\x70\162\x65\x76\x69\x65\167\x4d\145\x64\x69\x61\x20\150\x6d"]]; goto mdNAK; DjKEo: $text[] = $this->getSetting("\150"); goto VQ1up; EzxJM: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x61\156\144\162\x6f\x69\144"), "\x63\x61\x6c\154\x62\x61\x63\153\137\144\141\164\x61" => "\x2f\x70\x72\145\x76\151\x65\167\x4d\145\x64\x69\141\x20\150\x61"], ["\164\x65\170\164" => $this->i18n("\x69\x6f\163"), "\x63\x61\154\154\x62\x61\x63\153\137\x64\x61\164\141" => "\x2f\160\162\145\x76\151\x65\167\x4d\x65\x64\x69\x61\x20\x68\x69"]]; goto lmNdn; rnsyY: $this->update($this->rtkAD["\x63\150\x61\x74"], $this->rtkAD["\155\x65\x73\x73\x61\147\x65\x5f\x69\144"], implode("\12", $text ?: []), $data ?: false); goto YFTiB; VQ1up: $data[] = [["\164\145\x78\164" => $this->i18n("\x62\x6f\x74"), "\x63\141\x6c\x6c\x62\x61\x63\153\137\144\x61\164\x61" => "\57\x70\x72\145\x76\x69\145\167\x4d\145\144\x69\x61\x20\x68\x62"]]; goto EzxJM; YFTiB: } public function menu($menupage = 0) { goto K2SV1; TRjn6: $pages = (int) ceil($c / $this->qS1n1); goto THfjQ; rdtnx: if (!($c > $this->qS1n1)) { goto f2Dot; } goto TRjn6; IKsSO: NR5mG: goto t1UZD; Y7Ffb: foreach ($orders as $k => $v) { goto u5mmd; KXsNB: XSvnR: goto Cp1Ci; QT9bs: $data[] = [["\164\145\x78\x74" => "\x23{$v["\151\x64"]}\40\50{$status}\51\x3a\x20" . ($v["\x6e\x61\x6d\x65"] ?: "{$v["\x69\160"]}\72{$v["\x70\x6f\162\x74"]}") . "\x20\57\x20" . $this->getTime($v["\154\x69\x66\145"]), "\x63\141\154\154\x62\x61\x63\x6b\x5f\x64\x61\164\x61" => "\57\157\x72\144\145\162\x20{$v["\151\144"]}\137{$menupage}"]]; goto KXsNB; u5mmd: $status = $v["\160\141\x69\144"] ? "\320\xbe\xd0\277\320\273\xd0\260\xd1\x87\320\265\320\xbd" : "\xd0\266\320\264\xd0\265\321\x82\40\xd0\276\xd0\xbf\xd0\xbb\xd0\xb0\321\202\321\x8b"; goto e9mjp; e9mjp: $status .= $v["\143\154\151\x65\x6e\164"] ? "\x20\55\x20\320\277\321\200\xd0\276\xd0\xb4\xd0\xbb\xd0\265\320\xbd\320\270\xd0\xb5\40\x23{$v["\143\x6c\x69\145\x6e\164"]}" : ''; goto QT9bs; Cp1Ci: } goto kVH80; cUT9c: fh3ad: goto A7mVF; PY03u: e_2r0: goto rdtnx; o2f5U: $tmp[] = ["\164\145\170\164" => $this->i18n("\160\x72\157\x6d\x6f"), "\143\x61\154\x6c\x62\141\143\x6b\137\x64\141\x74\x61" => "\57\x73\145\x6e\x64\122\145\x70\154\171\x20\xd0\xb2\320\xb2\xd0\265\xd0\264\320\xb8\321\202\xd0\xb5\40\320\xba\320\276\320\264\x5f\141\143\x74\151\166\x61\x74\x65\x50\x72\x6f\155\x6f\x5f{$menupage}"]; goto Agw2M; KHaW1: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\157\x72\144\145\162\x73") . "\x3a\40" . $this->sql("\x73\145\154\x65\143\164\40\143\x6f\165\156\164\x28\x2a\x29\40\x66\x72\157\155\40\157\x72\x64\145\x72\x73\40\x77\150\145\x72\145\x20\160\141\151\x64\x3d\60", view: "\157\156\145"), "\143\x61\x6c\x6c\142\x61\143\153\x5f\x64\141\x74\141" => "\57\157\162\144\x65\x72\163"]]; goto OAanX; K2SV1: $menupage = $menupage ?: 0; goto sNVqX; kcMVr: if (!$this->sql("\x73\x65\154\x65\x63\x74\x20\x31\40\x66\162\157\x6d\40\x73\x65\x72\166\145\x72\163\x20\x77\150\145\x72\145\40\160\141\171\75\61")) { goto NMK6c; } goto S3vIY; v4Vmi: $data[] = [["\x74\145\x78\164" => $this->i18n("\x73\145\162\166\145\x72\163") . "\x3a\x20" . $this->sql("\x73\145\x6c\x65\143\164\40\143\x6f\x75\x6e\x74\x28\x2a\51\40\x66\162\157\155\x20\x73\145\x72\x76\x65\162\x73", view: "\x6f\156\x65"), "\143\x61\x6c\154\x62\x61\x63\153\x5f\144\x61\164\141" => "\x2f\x73\x65\162\166\145\162\163"]]; goto dADjj; YEcac: if ($this->sql("\163\x65\154\145\143\164\40\x31\x20\146\x72\157\155\40\157\x72\144\145\162\163\x20\167\x68\145\162\x65\40\x74\147\x69\x64\x3d\72\x74\147\151\x64\40\x61\x6e\144\40\160\162\x6f\x6d\157\x21\x3d\42\42", ["\x3a\x74\x67\151\x64" => $this->rtkAD["\x66\162\157\155"]], "\157\x6e\x65")) { goto xoD9T; } goto o2f5U; kVH80: fClbe: goto IKsSO; OAanX: ZcUkb: goto KcZ8Z; bzT2M: $data[] = $tmp; goto CT4gB; rrLvy: NMK6c: goto d3y_K; Ust37: $next = $menupage + 1 >= $pages ? 0 : $menupage + 1; goto eyH_W; nLurM: f2Dot: goto XKcLH; Y2pUB: $this->uors($text ?? false, $data); goto CVeUT; zG9g9: $subs = $this->sql("\x73\145\x6c\x65\143\x74\40\143\x2e\x2a\x2c\40\x73\56\x6e\141\x6d\145\40\163\145\x72\x76\145\162\137\x6e\141\x6d\x65\x2c\40\163\56\151\x70\54\x20\163\56\160\157\162\x74\40\x66\x72\x6f\155\40\x63\154\151\145\x6e\164\163\40\x63\40\152\x6f\x69\156\x20\163\145\x72\x76\x65\x72\x73\40\163\40\157\156\x20\163\x2e\151\x64\75\x63\x2e\163\x65\162\x76\145\x72\40\167\x68\145\162\x65\x20\x63\x2e\x74\147\151\144\x3d\72\164\147\151\x64\x20\x6c\x69\x6d\x69\x74\40{$this->qS1n1}\40\x6f\146\146\163\145\x74\x20" . $menupage * $this->qS1n1, ["\72\164\x67\151\x64" => $this->rtkAD["\146\x72\157\x6d"]]); goto nPCjw; t1UZD: if (!($c = $this->sql("\163\145\154\x65\x63\164\40\143\157\x75\156\164\x28\52\x29\40\x66\162\x6f\155\x20\143\154\x69\x65\156\164\163\40\143\x20\x6a\x6f\151\156\x20\x73\x65\162\166\145\x72\x73\40\x73\40\x6f\156\40\163\56\x69\144\x3d\143\x2e\163\145\x72\166\145\x72\40\167\150\145\x72\145\40\x63\56\164\x67\x69\144\x3d\72\x74\147\x69\144", ["\72\x74\147\151\x64" => $this->rtkAD["\146\x72\x6f\x6d"]], "\x6f\156\x65"))) { goto mgbKs; } goto zG9g9; THfjQ: $prev = $menupage - 1 < 0 ? $pages : $menupage - 1; goto Ust37; PGQEC: $tmp[] = ["\164\145\170\x74" => $this->i18n("\x68\x65\x6c\160\x4d\145\x6e\x75"), "\143\141\154\x6c\x62\x61\143\153\137\x64\141\x74\x61" => "\x2f\150\145\154\160\115\145\156\165\40{$menupage}"]; goto bzT2M; dADjj: $data[] = [["\x74\145\170\x74" => $this->i18n("\143\x6c\151\145\156\x74\x73") . "\72\x20" . $this->sql("\163\145\154\145\143\164\40\x63\157\165\156\164\x28\x2a\51\40\146\x72\x6f\155\x20\x63\154\151\145\156\164\x73", view: "\157\156\145"), "\x63\x61\154\154\x62\x61\143\x6b\x5f\144\141\x74\141" => "\x2f\x63\x6c\x69\x65\x6e\x74\x73"]]; goto KHaW1; OfHcy: $text[] = $this->template("\165\155", []); goto kcMVr; eyH_W: $data[] = [["\x74\x65\x78\x74" => "\74\x3c", "\x63\141\x6c\x6c\x62\x61\143\153\137\x64\x61\x74\141" => "\x2f\x6d\145\156\165\40{$prev}"], ["\x74\145\170\164" => $menupage + 1 . "\40\320\xb8\320\267\x20" . $pages, "\143\x61\154\x6c\142\141\143\153\x5f\x64\x61\164\141" => "\57\x6d\x65\x6e\165\x20{$menupage}"], ["\x74\145\x78\164" => "\76\x3e", "\143\x61\154\x6c\142\x61\143\x6b\x5f\144\141\164\x61" => "\57\x6d\145\156\x75\40{$next}"]]; goto nLurM; S3vIY: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\165\x79"), "\143\141\x6c\x6c\142\x61\x63\153\137\x64\141\164\141" => "\57\142\x75\171\40{$menupage}"]]; goto rrLvy; Agw2M: xoD9T: goto PGQEC; KcZ8Z: goto gDgzW; gDgzW:  goto ciRG8; sNVqX: if ($this->H6qXg) { goto fh3ad; } goto OfHcy; ciRG8:  goto Y2pUB; nPCjw: foreach ($subs as $k => $v) { goto NBtZK; qm8Ul: KwM16: goto MZ7Pe; NBtZK: $name = "{$v["\151\144"]}\72\x20" . ($v["\156\141\x6d\145"] ?: ($v["\x73\x65\x72\166\x65\x72\x5f\156\141\155\145"] ?: "{$v["\x69\x70"]}\x3a{$v["\160\x6f\x72\x74"]}")) . "\x20\x2f\40" . ($v["\154\x69\146\145"] ? $this->getTime(strtotime($v["\x6c\151\146\145"]) - time()) : "\342\210\x9e"); goto ainG2; ainG2: $data[] = [["\164\x65\x78\164" => $name, "\143\141\154\154\x62\x61\x63\x6b\x5f\x64\x61\164\x61" => "\57\x70\x65\145\x72\40{$v["\151\x64"]}\x5f{$menupage}"]]; goto qm8Ul; MZ7Pe: } goto PY03u; CT4gB: goto ZcUkb; goto cUT9c; d3y_K: if (!($orders = $this->sql("\163\145\x6c\x65\x63\x74\40\x6f\x2e\x2a\54\40\163\56\x6e\x61\155\145\x2c\40\x73\x2e\x69\x70\54\x20\163\x2e\160\x6f\x72\164\x20\x66\x72\157\x6d\x20\x6f\x72\x64\145\x72\163\x20\x6f\40\152\x6f\151\156\40\x73\x65\162\x76\x65\x72\x73\40\x73\x20\x6f\x6e\40\x73\x2e\x69\144\x3d\157\x2e\163\145\162\166\145\x72\x20\x77\150\x65\162\x65\x20\157\56\164\147\x69\x64\x3d\x3a\164\x67\x69\144\40\141\x6e\x64\40\x6f\x2e\x70\x61\151\144\75\60", ["\x3a\164\147\x69\144" => $this->rtkAD["\146\162\x6f\x6d"]]))) { goto NR5mG; } goto Y7Ffb; XKcLH: mgbKs: goto YEcac; A7mVF: $data[] = [["\x74\145\x78\164" => $this->i18n("\x73\x65\164\164\151\x6e\147\163"), "\143\141\x6c\x6c\142\x61\x63\153\137\144\x61\164\141" => "\x2f\143\x6f\156\146\151\147\40{$menupage}"]]; goto v4Vmi; CVeUT: } public function activatePromo($code, $menupage = 0) { goto aR8o5; Tvihj: LYOls: goto Sm24k; LdLj1: if (!($r = $this->sql("\x73\145\154\145\x63\x74\x20\x2a\40\146\x72\x6f\x6d\40\160\x72\157\x6d\x6f\x20\x77\x68\145\x72\x65\x20\164\x69\x74\x6c\x65\x3d\x3a\160\162\x6f\155\x6f", ["\x3a\160\162\x6f\155\x6f" => $code], "\162\x6f\167"))) { goto lJ0MT; } goto QCDVj; AdkO6: if (!empty($id)) { goto tTtl_; } goto ZX3tU; e9I6_: $this->send($this->rtkAD["\x63\150\141\164"], "\321\x83\320\266\xd0\xb5\x20\320\xb5\321\201\xd1\202\321\x8c\40\320\xb0\xd0\xba\321\x82\xd0\xb8\320\xb2\320\xb8\xd1\200\320\xbe\320\xb2\xd0\260\320\275\320\275\321\x8b\xd0\271\40\320\277\321\x80\320\xbe\xd0\274\320\276\320\272\xd0\xbe\320\264"); goto LoQua; wj1hh: goto QSdTs; goto rwmCd; LoQua: $this->menu($menupage); goto S0ymZ; S0ymZ: goto LYOls; goto QPUxl; syeNF: $this->order($id, $menupage); goto PqGNn; qIVIB: $this->payOrder($id, $r["\x73\x65\162\x76\x65\162"], $menupage, 1); goto wj1hh; HP4pw: BW9gz: goto HdqpA; QCDVj: $id = $this->sql("\x69\156\163\x65\x72\x74\x20\x69\156\x74\x6f\x20\x6f\162\x64\x65\x72\163\x28\x74\147\x69\144\x2c\40\x73\x65\x72\x76\x65\162\x2c\x20\160\162\151\x63\x65\54\x20\x71\x75\x61\x6e\x74\54\40\x6c\x69\x66\145\x2c\40\160\162\157\155\x6f\x2c\x20\x70\141\151\x64\54\40\160\x61\x69\144\137\x74\151\155\145\x29\x20\x76\x61\154\x75\145\163\40\x28\72\164\x67\151\x64\x2c\40\x3a\x73\145\x72\x76\145\162\x2c\40\x3a\160\x72\151\143\x65\x2c\40\x3a\161\x75\x61\x6e\x74\54\40\72\154\x69\x66\145\54\40\x3a\160\x72\157\x6d\157\x2c\x20\72\160\141\151\144\x2c\40\x3a\x70\x61\151\144\164\x69\x6d\145\x29\73\x53\105\114\105\103\124\40\x4c\101\x53\124\x5f\x49\116\x53\105\x52\124\137\x49\x44\x28\51\73", ["\72\x74\147\x69\x64" => $this->rtkAD["\x66\162\x6f\x6d"], "\x3a\x73\x65\x72\166\x65\162" => $r["\163\145\x72\166\x65\x72"], "\x3a\160\x72\x69\143\x65" => $r["\x70\162\x69\143\x65"], "\x3a\161\x75\141\156\x74" => $r["\x71\165\x61\156\164"], "\72\154\x69\146\145" => $r["\x64\x75\162\x61\x74\151\157\156"], "\72\x70\x61\x69\144" => $r["\x70\x72\x69\x63\145"] ? 0 : 1, "\72\160\x61\151\144\164\x69\x6d\x65" => $r["\160\162\x69\x63\x65"] ? null : date("\x59\55\x6d\x2d\144\40\110\x3a\x69\72\x73"), "\x3a\x70\x72\157\x6d\x6f" => $code], "\x6f\x6e\145", nextRowset: 1); goto Jium5; PqGNn: QSdTs: goto Tvihj; d9P5Q: if (!($r = $this->sql("\x73\145\154\x65\x63\x74\x20\157\x2e\52\x20\146\162\x6f\155\40\x63\x6c\151\145\156\164\x73\x20\x63\40\152\157\x69\x6e\40\x6f\162\144\x65\x72\x73\x20\x6f\x20\157\156\40\x63\x2e\x69\x64\x3d\x6f\56\x63\x72\x65\x61\x74\x65\144\40\167\x68\145\162\x65\x20\143\56\x74\147\151\144\x21\75\x3a\164\147\151\144\x20\141\x6e\144\x20\x53\125\x42\123\124\x52\111\x4e\107\x28\163\150\141\61\50\143\56\160\x72\151\x76\x61\164\x65\x29\54\x20\x31\x2c\x20\67\x29\75\72\160\162\157\x6d\157", ["\x3a\160\162\157\155\157" => $m[1], "\x3a\x74\x67\x69\x64" => $this->rtkAD["\146\162\157\x6d"]], "\x72\157\x77"))) { goto BW9gz; } goto IUsMz; CCxLB: if (!empty($id) && !empty($r["\160\x72\151\143\x65"])) { goto iMKNl; } goto AdkO6; dMoeg: $this->menu($menupage); goto LkF7D; Jium5: lJ0MT: goto AZatM; P81Y8: uulfi: goto d9P5Q; J4Hln: iMKNl: goto qIVIB; IUsMz: $id = $this->sql("\151\x6e\x73\145\x72\164\x20\151\156\164\157\40\x6f\162\144\145\162\163\50\x74\147\x69\144\x2c\40\x73\145\x72\166\x65\x72\x2c\40\160\162\151\x63\145\54\x20\161\x75\x61\x6e\164\54\x20\x6c\x69\x66\145\x2c\40\160\x72\157\155\157\x29\x20\x76\x61\154\165\x65\x73\x20\50\72\164\x67\151\144\x2c\x20\72\163\145\x72\x76\145\x72\54\40\x3a\160\x72\x69\x63\x65\54\40\72\x71\x75\141\x6e\164\x2c\40\72\x6c\151\x66\x65\x2c\40\72\x70\162\x6f\x6d\157\51\x3b\x53\105\114\105\103\124\40\x4c\101\123\x54\137\111\x4e\123\x45\x52\124\x5f\111\104\50\x29\x3b", ["\72\164\x67\151\144" => $this->rtkAD["\x66\162\157\x6d"], "\72\163\145\x72\166\x65\x72" => $r["\163\x65\162\x76\x65\x72"], "\72\160\x72\151\x63\x65" => $r["\160\162\x69\143\x65"], "\72\161\165\x61\x6e\x74" => $r["\x71\x75\x61\x6e\164"], "\72\154\x69\146\145" => $r["\154\x69\146\x65"], "\x3a\160\162\157\x6d\157" => $code], "\x6f\156\145", nextRowset: 1); goto HP4pw; QPUxl: e0Abl: goto FE7aq; rwmCd: tTtl_: goto syeNF; LkF7D: goto QSdTs; goto J4Hln; aR8o5: if (!$this->sql("\163\145\x6c\145\143\164\x20\x31\x20\146\162\x6f\155\40\x6f\x72\144\x65\162\163\40\167\150\145\x72\145\40\164\147\x69\x64\x3d\72\164\x67\x69\144\40\x61\x6e\144\x20\160\162\157\x6d\157\40\151\x73\40\x6e\x6f\x74\x20\x6e\x75\154\x6c", ["\x3a\x74\x67\151\144" => $this->rtkAD["\x66\x72\x6f\155"]], "\157\x6e\x65")) { goto e0Abl; } goto e9I6_; ZX3tU: $this->send($this->rtkAD["\143\x68\141\x74"], "\320\275\320\265\xd0\262\320\xb5\xd1\x80\xd0\xbd\321\x8b\xd0\xb9\x20\xd0\277\321\x80\xd0\276\xd0\xbc\xd0\276\xd0\272\xd0\xbe\320\264"); goto dMoeg; HdqpA: i3zqa: goto CCxLB; FE7aq: if (preg_match("\176\x5e\x63\154\50\x2e\x2b\51\x7e", $code, $m)) { goto uulfi; } goto LdLj1; AZatM: goto i3zqa; goto P81Y8; Sm24k: } public function orders($orderpage = 0) { goto S0LpC; zf4pn: $this->update($this->rtkAD["\x63\x68\x61\x74"], $this->rtkAD["\155\145\x73\163\x61\x67\145\x5f\151\144"], implode("\12", []), $data ?: false); goto wcj2B; p5eSJ: $data[] = $this->paginate($count, $this->qS1n1, $orderpage, "\x2f\157\x72\x64\x65\x72\x73\x20\176\x70\x61\147\145\x7e"); goto ZAm4_; DAjjh: foreach ($orders as $k => $v) { goto SEDM_; t4HJi: eNq8T: goto W4PgO; SEDM_: $status = $v["\160\141\151\144"] ? "\xd0\276\320\xbf\320\xbb\xd0\260\321\207\xd0\265\xd0\xbd" : "\320\266\xd0\xb4\320\265\xd1\202\40\xd0\xbe\xd0\277\320\273\xd0\xb0\321\x82\321\x8b"; goto cF6WM; cF6WM: $status .= $v["\x63\154\151\x65\x6e\x74"] ? "\40\55\x20\xd0\277\321\200\xd0\xbe\xd0\264\xd0\xbb\xd0\xb5\320\275\xd0\xb8\320\265\x20\x23{$v["\143\x6c\151\145\x6e\164"]}" : ''; goto a0ZAz; a0ZAz: $data[] = [["\164\x65\170\164" => "\x23{$v["\x69\144"]}\x20{$v["\x74\147\151\x64"]}\x20\50{$status}\51\x3a\40" . ($v["\x6e\141\155\x65"] ?: "{$v["\151\160"]}\x3a{$v["\160\x6f\162\x74"]}") . "\x20\57\40" . $this->getTime($v["\x6c\x69\x66\x65"]), "\x63\141\154\x6c\142\x61\143\153\x5f\x64\141\x74\x61" => "\x2f\157\x72\x64\x65\162\101\x64\x6d\x69\156\40{$v["\x69\x64"]}\x5f{$orderpage}"]]; goto t4HJi; W4PgO: } goto nWjBq; CB73X: $data[] = [["\164\x65\170\164" => $this->i18n("\142\141\x63\153"), "\143\x61\x6c\x6c\x62\141\143\153\137\144\141\164\141" => "\x2f\155\145\156\x75"]]; goto zf4pn; mWlLl: R2zni: goto gAt15; gAt15: $data[] = [["\x74\145\x78\x74" => $this->i18n("\165\160\x64\x61\164\145"), "\x63\x61\154\154\142\x61\143\x6b\x5f\x64\141\164\x61" => "\57\157\x72\144\x65\162\163\x20{$orderpage}"]]; goto CB73X; PHIpY: if (!($count > $this->qS1n1)) { goto Hk2qT; } goto p5eSJ; nWjBq: MKu_n: goto PHIpY; S0LpC: if (!($count = $this->sql("\163\x65\154\145\143\x74\x20\143\157\165\156\x74\50\x2a\51\40\x66\x72\x6f\155\x20\x6f\162\x64\x65\162\163\40\167\150\145\162\x65\x20\160\141\x69\x64\x3d\x30", view: "\157\156\x65"))) { goto R2zni; } goto aLqua; ZAm4_: Hk2qT: goto mWlLl; aLqua: $orders = $this->sql("\163\145\x6c\145\x63\164\x20\x6f\56\52\54\x20\163\56\156\x61\155\145\x2c\40\163\56\x69\x70\x2c\x20\163\56\x70\x6f\x72\164\x20\146\162\x6f\155\x20\x6f\162\144\x65\162\x73\x20\x6f\x20\x6a\157\151\156\40\163\x65\x72\x76\x65\x72\x73\x20\x73\40\157\x6e\40\163\x2e\151\144\x3d\157\56\163\145\x72\166\145\x72\x20\x77\150\x65\162\x65\40\x6f\x2e\x70\x61\151\144\75\60\x20\154\x69\155\x69\164\x20{$this->qS1n1}\x20\157\x66\x66\x73\x65\164\40" . $orderpage * $this->qS1n1); goto DAjjh; wcj2B: } public function orderAdmin($id, $orderpage) { goto l3zrG; DSt22: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x64\145\x6c\x65\164\145"), "\143\x61\154\154\142\141\143\153\x5f\x64\x61\164\141" => "\x2f\x64\x65\154\x65\164\x65\117\x72\144\x65\162\x20{$id}\137{$orderpage}\137\157\x72\144\x65\x72\163"], ["\164\145\170\x74" => $this->i18n("\x63\157\x6e\146\x69\x72\155"), "\x63\x61\154\x6c\x62\x61\143\x6b\x5f\x64\141\164\141" => "\57\x63\157\x6e\x66\151\162\x6d\x4f\162\144\145\x72\x20{$id}\x5f{$orderpage}"]]; goto RN6Nc; RN6Nc: Q3ObL: goto Qnq4J; VIfYc: $status = $order["\160\141\151\144"] ? "\xd0\276\xd0\277\xd0\xbb\xd0\260\321\207\xd0\xb5\xd0\xbd" : "\xd0\xb6\320\xb4\xd0\265\321\x82\x20\xd0\276\320\xbf\320\273\320\xb0\xd1\x82\321\213"; goto iWMxc; l3zrG: if (!($order = $this->sql("\x73\x65\154\x65\143\x74\40\x6f\x2e\52\54\x20\163\56\x6e\141\x6d\x65\54\40\x73\56\x69\x70\x2c\40\163\x2e\160\x6f\162\164\40\146\162\x6f\155\40\x6f\x72\x64\145\162\163\x20\157\x20\152\x6f\151\x6e\40\x73\x65\162\166\x65\162\163\x20\x73\40\x6f\156\x20\163\56\151\x64\x3d\157\56\x73\x65\x72\x76\145\162\40\167\150\x65\x72\x65\x20\157\x2e\151\x64\x3d\x3a\151\144", ["\72\x69\144" => $id], "\162\x6f\x77"))) { goto Q3ObL; } goto VIfYc; EmrsB: $u = $this->getInfoUser($order["\x74\147\151\144"])["\162\145\x73\x75\x6c\164"]["\x75\163\145\162"]["\146\x69\x72\163\164\x5f\x6e\141\155\x65"]; goto e0HMy; Qnq4J: $data[] = [["\x74\145\170\164" => $this->i18n("\x62\x61\143\x6b"), "\x63\141\154\x6c\x62\x61\143\x6b\x5f\x64\141\x74\x61" => "\57\157\162\144\x65\x72\x73\40{$orderpage}"]]; goto SzYJt; e0HMy: $text[] = "\43{$order["\151\144"]}\x20{$order["\164\x67\151\144"]}\40{$u}\x20\x28{$status}\51\72\40" . ($order["\x6e\x61\x6d\x65"] ?: "{$order["\151\x70"]}\x3a{$order["\160\157\x72\164"]}") . "\40\x2f\x20" . $this->getTime($order["\x6c\151\x66\x65"]); goto DSt22; SzYJt: $this->update($this->rtkAD["\x63\150\x61\x74"], $this->rtkAD["\155\x65\163\x73\x61\147\x65\137\x69\144"], implode("\12", $text ?: []), $data ?: false); goto vgSoq; iWMxc: $status .= $order["\143\x6c\x69\145\156\164"] ? "\40\x2d\40\320\277\321\x80\320\276\xd0\264\xd0\xbb\320\xb5\xd0\xbd\xd0\xb8\xd0\265\40\43{$order["\143\x6c\151\145\156\x74"]}" : ''; goto EmrsB; vgSoq: } public function confirmOrder($id, $orderpage) { $this->sql("\165\x70\144\x61\164\145\x20\x6f\x72\x64\145\162\x73\x20\x73\x65\x74\x20\160\141\x69\144\75\x31\x2c\40\x70\x61\x69\x64\x5f\164\151\155\145\75\156\x6f\x77\x28\x29\x20\167\150\145\162\145\40\x70\141\151\144\75\60\40\x61\x6e\144\40\x69\x64\x3d\72\x69\144", ["\x3a\x69\144" => $id]); $this->orders($orderpage); } public function paginate($all, $limit, $page, $callback) { goto C5T2e; C5T2e: $pages = (int) ceil($all / $limit); goto XmZJw; XmZJw: $prev = $page - 1 < 0 ? $pages - 1 : $page - 1; goto JyL9b; JyL9b: $next = $page + 1 >= $pages ? 0 : $page + 1; goto axk5E; axk5E: return [["\164\145\170\164" => "\74\x3c", "\143\141\154\154\142\x61\143\x6b\137\x64\141\164\141" => str_replace("\176\x70\x61\147\x65\x7e", $prev, $callback)], ["\x74\x65\x78\x74" => $page + 1 . "\x20\xd0\xb8\xd0\267\40" . $pages, "\x63\x61\x6c\154\142\x61\143\x6b\137\144\141\x74\x61" => str_replace("\176\160\x61\147\x65\176", $page, $callback)], ["\164\145\x78\164" => "\76\76", "\143\x61\x6c\x6c\x62\x61\x63\x6b\x5f\x64\x61\x74\x61" => str_replace("\176\160\x61\147\x65\x7e", $next, $callback)]]; goto PhK9A; PhK9A: } public function servers($serverpage = 0) { goto R85jr; veCWn: $data[] = [["\x74\x65\170\x74" => $this->i18n("\165\x70\x64\141\x74\x65"), "\143\141\154\154\142\x61\x63\153\x5f\x64\141\x74\x61" => "\57\x73\x65\x72\x76\x65\x72\163\40{$serverpage}"]]; goto TDkR6; P9WFV: foreach ($s as $k => $v) { goto vgITK; XDHoP: $online = strtotime($v["\154\141\x73\x74\137\x6f\156\x6c\x69\x6e\x65"]) + $v["\163\x6c\x65\145\160"] < time() ? "\x6f\146\x66\x6c\x69\156\145" : ''; goto ClH2o; vgITK: $download = $this->getBytes($v["\144\x6f\x77\x6e\x6c\x6f\141\144"]); goto AnRLF; AnRLF: $upload = $this->getBytes($v["\165\160\154\x6f\x61\144"]); goto XDHoP; ClH2o: $data[] = [["\164\145\x78\x74" => $online . "\40" . ($v["\156\x61\155\x65"] ?: "{$v["\x69\x70"]}\x3a{$v["\160\157\162\164"]}") . "\40\x63\154\151\x65\156\164\163\x3a\x20{$v["\143\154\x69\145\156\164\x73"]}\x2f{$v["\x63\x65\154\154\x73"]}\x20\342\206\x93{$download}\x20\342\x86\221{$upload}", "\143\x61\x6c\154\x62\x61\x63\153\x5f\x64\x61\164\x61" => "\x2f\163\145\162\166\145\162\40{$v["\x69\144"]}\x5f{$serverpage}"]]; goto HRSbS; HRSbS: CFhlx: goto bYEEm; bYEEm: } goto LpNpe; TDkR6: $data[] = [["\x74\x65\x78\164" => $this->i18n("\142\x61\143\x6b"), "\x63\141\154\x6c\x62\x61\143\153\x5f\144\x61\x74\141" => "\x2f\155\145\x6e\165"]]; goto kxbAD; u2sCC: $data[] = $this->paginate($c, $this->qS1n1, $serverpage, "\57\x73\145\x72\x76\x65\162\x73\40\176\x70\141\x67\x65\x7e"); goto rurwG; NB06q: if (!($c > $this->qS1n1)) { goto VEqw6; } goto u2sCC; GhCk4: $s = $this->sql("\163\145\x6c\x65\143\x74\x20\x2a\54\xa\x20\40\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\40\x28\x73\x65\154\x65\143\164\40\x63\157\165\156\164\x28\52\x29\40\146\x72\157\x6d\40\x63\154\151\x65\156\x74\163\40\167\150\145\x72\145\x20\163\x65\162\166\145\162\x3d\x73\x65\x72\166\145\x72\163\56\151\144\51\x20\143\154\x69\145\156\164\x73\54\12\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\x20\40\50\163\x65\154\145\143\x74\40\x73\x75\155\50\163\x65\163\x73\151\x6f\156\137\x64\x6f\x77\x6e\154\157\141\144\x29\40\53\40\163\165\155\50\x64\157\167\x6e\x6c\x6f\141\144\x29\x20\146\x72\x6f\x6d\x20\x63\x6c\x69\145\x6e\x74\x73\40\x77\x68\x65\162\145\40\163\x65\162\x76\x65\x72\75\163\145\162\x76\x65\162\163\56\151\144\x29\x20\144\157\x77\156\154\157\x61\144\x2c\xa\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\40\x20\40\40\40\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\40\x20\40\40\x28\x73\x65\x6c\145\x63\164\40\x73\165\155\50\163\x65\x73\x73\x69\157\156\x5f\x75\x70\x6c\x6f\141\x64\x29\x20\x2b\40\163\165\155\x28\165\x70\x6c\157\x61\x64\x29\x20\146\162\x6f\155\40\143\154\151\145\x6e\164\163\40\x77\x68\145\162\145\x20\x73\145\162\166\x65\x72\75\x73\145\162\166\x65\162\163\56\151\x64\51\40\x75\x70\154\157\141\x64\xa\x20\x20\40\40\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\40\40\146\x72\x6f\155\x20\x73\x65\x72\x76\145\162\x73\x20\x6f\x72\144\145\162\x20\x62\171\40\x6e\x61\155\x65\x20\x6c\x69\x6d\151\164\40{$this->qS1n1}\x20\x6f\x66\x66\x73\x65\164\x20" . $serverpage * $this->qS1n1); goto P9WFV; kxbAD: $this->update($this->rtkAD["\143\x68\141\164"], $this->rtkAD["\x6d\145\163\163\x61\147\x65\137\x69\x64"], implode("\12", []), $data ?: false); goto Gkv9w; rurwG: VEqw6: goto abTjW; R85jr: if (!($c = $this->sql("\163\x65\154\145\x63\x74\x20\x63\x6f\x75\156\164\50\x2a\x29\x20\146\162\157\155\40\163\145\162\x76\145\x72\163", view: "\157\156\145"))) { goto Qsk5Z; } goto GhCk4; abTjW: Qsk5Z: goto veCWn; LpNpe: JWviO: goto NB06q; Gkv9w: } public function getClients($call, $server = 0, $serverpage = 0, $clientpage = 0) { goto eYMMA; eYMMA: if (!($count = $this->sql("\163\145\x6c\145\x63\x74\40\143\157\x75\156\164\x28\x2a\51\40\146\x72\x6f\155\x20\x63\154\x69\145\156\x74\x73\40\167\x68\145\162\x65\40\x69\146\50\72\x69\144\x3d\x30\x2c\40\164\162\165\145\54\x20\163\x65\162\x76\x65\x72\x3d\x3a\x69\144\x29", ["\72\151\x64" => $server], "\157\156\145"))) { goto JrF3g; } goto msfAs; ZbDe2: foreach ($clients as $k => $v) { goto aaV_8; aaV_8: $life = $v["\154\x69\146\x65"] ? $this->getTime(strtotime($v["\x6c\151\x66\x65"]) - time()) : "\xe2\x88\x9e"; goto Hv10Y; LdtcR: $data[] = [["\x74\x65\170\x74" => "\43{$v["\151\144"]}\x20{$on}\40{$name}\40\342\x86\223{$d}\x20\xe2\x86\221{$u}\40\40\40{$life}", "\x63\141\x6c\x6c\x62\x61\x63\153\x5f\x64\141\x74\141" => "\57\x63\x6c\x69\145\156\164\x20{$call}\x5f{$v["\151\x64"]}\x5f{$server}\x5f{$serverpage}\x5f{$clientpage}"]]; goto QUiGE; RaPTN: $u = $this->getBytes($v["\165\160\154\157\141\144"] + $v["\x73\x65\x73\x73\151\x6f\156\137\x75\160\x6c\157\141\x64"]); goto LdtcR; Hv10Y: $on = $v["\x6f\x6e\x5f\x6f\x66\146"] && !$v["\160\x75\x62\x6c\151\x63"] ? "\50\x77\x61\x69\164\40\143\x72\x65\x61\164\145\x29" : ''; goto Ddp1E; QUiGE: DOKds: goto VZMF4; SYVmk: $d = $this->getBytes($v["\x64\157\x77\x6e\x6c\157\x61\x64"] + $v["\163\145\x73\163\x69\157\156\137\x64\x6f\167\156\x6c\x6f\141\144"]); goto RaPTN; Ddp1E: $name = $v["\x6e\x61\x6d\x65"] ?: $v["\x74\147\x69\x64"]; goto SYVmk; VZMF4: } goto W04Bt; jCQ5i: return $data ?: []; goto AlXfX; sWYzB: if (!($count > $this->qS1n1)) { goto u9ZGL; } goto dpK6z; msfAs: $clients = $this->sql("\163\x65\x6c\145\x63\x74\40\x2a\40\146\x72\157\x6d\x20\143\154\x69\x65\156\x74\x73\40\x77\x68\x65\162\x65\40\x69\146\x28\x3a\x69\144\75\x30\x2c\40\x74\162\165\145\x2c\40\163\145\x72\x76\x65\162\75\x3a\x69\144\x29\40\154\x69\155\x69\164\x20{$this->qS1n1}\40\157\146\146\x73\x65\x74\40" . $clientpage * $this->qS1n1, ["\72\x69\x64" => $server]); goto ZbDe2; dpK6z: $data[] = $this->paginate($count, $this->qS1n1, $clientpage, "\57{$call}\x20{$server}\137{$serverpage}\137\176\x70\141\x67\145\x7e"); goto Z85dl; L0ErF: JrF3g: goto jCQ5i; Z85dl: u9ZGL: goto L0ErF; W04Bt: N31OC: goto sWYzB; AlXfX: } public function clients($server_id = 0, $serverpage = 0, $clientpage = 0) { goto tJIe2; JspNl: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x75\x70\x64\141\164\145"), "\143\141\154\x6c\x62\141\x63\153\x5f\144\x61\x74\x61" => "\57\143\154\x69\x65\156\x74\163\40{$server_id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto pKFPz; pKFPz: $data[] = [["\x74\x65\x78\164" => $this->i18n("\x62\141\143\x6b"), "\143\141\154\x6c\142\141\x63\x6b\x5f\144\x61\164\141" => "\x2f\155\x65\156\x75"]]; goto FJtd5; FJtd5: $this->update($this->rtkAD["\x63\150\141\164"], $this->rtkAD["\x6d\x65\x73\163\141\147\145\x5f\x69\144"], implode("\xa", []), $data ?: false); goto g2ozo; tJIe2: $data = $this->getClients("\x63\154\x69\x65\156\x74\163", $server_id, $serverpage, $clientpage); goto JspNl; g2ozo: } public function peer($id, $menupage) { goto zkPWD; GQwc3: $c["\162\145\x66\145\162\137\143\x6f\165\x6e\x74"] = $this->sql("\163\x65\x6c\x65\x63\x74\40\x63\157\x75\x6e\x74\x28\x2a\51\x20\x66\x72\157\155\x20\157\x72\144\x65\x72\163\x20\167\150\x65\x72\145\40\143\162\145\x61\x74\145\144\x21\75\60\x20\x61\x6e\144\40\160\162\157\x6d\157\75\x3a\160\162\x6f\x6d\157", ["\72\x70\x72\x6f\155\157" => $h], "\x6f\156\145"); goto vEfdl; OdSZy: Q3ZFi: goto GQwc3; X5XHt: $data[] = [["\164\x65\170\x74" => $this->i18n("\162\145\156\141\x6d\x65"), "\x63\141\154\154\142\x61\143\153\137\x64\141\x74\141" => "\x2f\163\145\x6e\x64\122\145\160\x6c\x79\40\x65\156\x74\145\x72\x20\x6e\141\x6d\145\137\165\x73\145\x72\122\x65\156\141\x6d\145\137{$id}\x5f{$menupage}"]]; goto ONFol; h_NY1: $data[] = [["\164\x65\x78\164" => $this->i18n("\x70\x72\157\x6c\x6f\x6e\x67"), "\x63\x61\154\x6c\x62\x61\143\153\x5f\x64\141\x74\x61" => "\57\x70\x72\x6f\x6c\157\x6e\x67\x20{$id}\137{$menupage}"]]; goto Vk3CT; c21Gq: if (!$this->sql("\163\145\x6c\x65\x63\x74\40\x31\x20\146\x72\x6f\155\x20\157\x72\144\x65\x72\x73\40\167\x68\145\162\x65\x20\x63\162\x65\x61\x74\x65\x64\x3d\72\151\144", ["\72\x69\144" => $c["\x69\144"]], "\x6f\x6e\x65")) { goto Q3ZFi; } goto ORUwC; zkPWD: $c = $this->sql("\x73\145\x6c\x65\x63\164\x20\143\x2e\x2a\54\40\x69\146\x28\x73\x2e\x64\x6f\x6d\141\x69\156\x21\x3d\x22\x22\x2c\x20\163\56\x64\157\x6d\141\151\156\54\x20\163\56\151\160\51\x20\144\x6f\x6d\141\151\x6e\54\40\x73\x2e\x68\x61\163\150\40\x73\x65\x72\166\x65\x72\137\150\x61\x73\150\x2c\40\x73\56\x70\x6f\162\x74\40\146\162\x6f\155\40\143\154\x69\145\156\164\x73\40\143\x20\x6a\157\151\156\x20\x73\x65\x72\x76\145\x72\163\x20\x73\x20\x6f\x6e\40\x73\x2e\151\144\75\143\x2e\163\145\x72\166\x65\162\40\x77\x68\145\x72\x65\x20\x63\x2e\151\x64\75\x3a\x69\144", ["\72\151\144" => $id], "\x72\157\x77"); goto oytlU; lCpPc: $u = $this->getInfoUser($c["\164\147\151\x64"])["\162\145\x73\x75\x6c\x74"]["\x75\x73\x65\x72"]["\146\x69\162\163\x74\x5f\156\141\155\x65"]; goto y_UuL; ONFol: U3nDB: goto L8Xb_; y_UuL: $c["\156\x61\x6d\145"] = $c["\156\x61\x6d\145"] ?: "{$u}\40\50{$c["\164\147\x69\x64"]}\x29"; goto jBBZp; BqRpO: gTp_C: goto AozUb; L8Xb_: $data[] = [["\x74\145\x78\164" => $this->i18n("\x62\x61\143\x6b"), "\143\141\x6c\x6c\142\141\143\153\137\144\141\x74\x61" => "\x2f\155\x65\x6e\x75\x20{$menupage}"]]; goto vyO40; jBBZp: if (!$c["\x70\162\x69\x76\141\x74\x65"]) { goto q3ljR; } goto HPdGY; C6wWJ: $text[] = $this->template("\165\x72", $c); goto h_NY1; HPdGY: $h = "\143\x6c" . substr(hash("\163\x68\141\x31", $c["\160\x72\x69\x76\141\x74\145"]), 0, 7); goto c21Gq; F3Rca: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x61\x6d\x6e\145\172\151\141"), "\x63\x61\154\x6c\142\x61\143\x6b\x5f\x64\x61\164\x61" => "\x2f\x61\155\156\x65\x7a\x69\141\x20{$id}"]]; goto X5XHt; vEfdl: q3ljR: goto C6wWJ; Vk3CT: if (!$c["\x6f\156\137\157\x66\x66"]) { goto U3nDB; } goto K18ze; suz2B: $c["\143\157\x64\x65"] = $this->qrPeer($id, return: 1); goto BqRpO; oytlU: if (!$c["\157\156\137\x6f\146\x66"]) { goto gTp_C; } goto suz2B; AozUb: $c["\x6c\151\x66\145"] = $c["\154\151\x66\x65"] ? $this->getTime(strtotime($c["\x6c\x69\x66\145"]) - time()) : "\342\210\236"; goto lCpPc; ORUwC: $c["\x72\x65\146\145\x72\137\x6c\151\156\153"] = "\150\x74\x74\x70\x73\72\57\x2f\x74\56\x6d\x65\57{$this->request("\x67\x65\x74\115\x65", [])["\162\145\163\x75\x6c\164"]["\165\163\x65\x72\156\x61\x6d\145"]}\77\163\x74\141\162\164\75{$h}"; goto OdSZy; vyO40: $this->update($this->rtkAD["\x63\150\x61\x74"], $this->rtkAD["\x6d\x65\x73\163\x61\147\x65\x5f\x69\x64"], implode("\xa", $text ?: []), $data ?: false); goto pxo89; K18ze: $data[] = [["\164\145\x78\x74" => $this->i18n("\x71\x72"), "\143\x61\154\x6c\x62\141\143\x6b\137\144\x61\164\x61" => "\x2f\161\162\x50\145\x65\x72\x20{$id}"], ["\x74\x65\x78\164" => $this->i18n("\x64\157\x77\156\x6c\157\x61\x64"), "\x63\x61\154\x6c\x62\x61\143\153\137\144\x61\x74\141" => "\57\161\162\x50\145\x65\x72\40{$id}\137\61"]]; goto F3Rca; pxo89: } public function amnezia($id) { $link = $this->sql("\163\145\x6c\145\x63\164\x20\141\155\x6e\x65\172\x69\141\x20\x66\162\x6f\155\x20\x63\154\x69\x65\x6e\x74\163\40\x77\150\x65\162\145\40\x69\x64\75\72\151\144", ["\x3a\x69\x64" => $id], "\x6f\x6e\x65"); $this->send($this->rtkAD["\146\162\157\155"], "\x3c\143\157\144\x65\x3e{$link}\74\57\x63\157\x64\145\x3e"); } public function qrPeer($id, $download = 0, $return = false) { goto VxekM; E3iXB: $replacement = $this->getSetting("\162\145\160\154"); goto FqF3M; nfq3Q: if (!$return) { goto KTAdh; } goto OPLRs; WhgJe: $code = "\x5b\111\x6e\x74\x65\x72\x66\141\x63\x65\x5d\12\120\x72\151\x76\x61\x74\x65\x4b\145\171\40\75\x20{$c["\x70\162\x69\166\141\164\x65"]}\12\101\x64\x64\162\x65\x73\x73\40\75\40{$c["\151\x70"]}\12\115\x54\x55\x20\x3d\40\61\63\65\x30\xa\x44\116\123\x20\x3d\40{$dns}\xa\xa\133\x50\145\145\162\x5d\12\120\165\x62\x6c\x69\143\x4b\x65\x79\x20\x3d\x20{$c["\163\145\x72\166\x65\x72\137\x68\141\163\150"]}\12\105\156\x64\160\x6f\x69\x6e\x74\40\x3d\x20{$d}\x3a{$c["\160\x6f\162\164"]}\12\x41\x6c\154\x6f\x77\x65\144\x49\x50\163\x20\75\40\x30\x2e\60\x2e\60\56\60\57\60\12\120\145\x72\163\x69\163\164\x65\x6e\164\113\145\145\160\141\x6c\x69\166\145\40\x3d\x20\x32\x30"; goto nfq3Q; wWkce: $template = preg_replace("\57\x7e\x70\x6f\x72\x74\176\57", preg_replace("\x7e\133\x5e\141\55\x7a\101\55\x5a\60\x2d\x39\137\x5d\53\x7e", $replacement, $c["\160\x6f\x72\164"]), $template); goto vZy61; VxekM: $c = $this->sql("\x73\x65\154\145\143\164\x20\143\56\x2a\x2c\40\x73\56\151\160\40\163\145\162\166\x65\162\137\x69\160\54\x20\x73\x2e\150\x61\x73\150\40\163\145\x72\166\145\162\137\150\141\163\150\x2c\40\163\x2e\160\x6f\x72\164\x2c\x20\163\x2e\x64\157\155\141\x69\x6e\x20\x66\162\x6f\155\40\143\154\x69\x65\156\164\x73\x20\x63\40\x6a\157\x69\x6e\x20\163\145\x72\x76\x65\x72\x73\40\x73\40\x6f\x6e\40\x73\56\x69\x64\75\143\x2e\163\x65\162\166\x65\x72\40\167\150\145\x72\145\x20\143\56\151\x64\x3d\72\151\144", ["\x3a\151\144" => $id], "\x72\x6f\167"); goto ONToN; GjYjR: if ($download) { goto YnRnd; } goto YeQDu; FqF3M: $bot = $this->request("\x67\x65\x74\x4d\171\116\141\x6d\145", [])["\x72\145\x73\165\x6c\164"]["\156\141\155\x65"]; goto IbC38; pAhdt: $dns = $this->getSetting("\x64\x6e\x73") ?: "\x31\x2e\x31\56\x31\56\x31\54\x20\70\56\70\56\x38\x2e\70"; goto WhgJe; YeQDu: exec("\161\162\x65\156\143\157\144\x65\x20\x2d\164\x20\x70\x6e\147\40\55\157\40{$path}\x20\x27{$code}\47"); goto Xg_kt; IbC38: $template = preg_replace("\57\x7e\142\157\x74\176\57", preg_replace("\176\133\136\x61\55\x7a\x41\55\x5a\x30\55\71\x5f\x5d\53\176", $replacement, $bot), $template); goto EVsZh; Xg_kt: $this->sendPhoto($this->rtkAD["\143\150\x61\x74"], curl_file_create($path), $template); goto ngOjL; vZy61: $template = preg_replace("\57\x7e\151\x64\x7e\x2f", preg_replace("\x7e\133\136\x61\x2d\x7a\x41\x2d\x5a\x30\55\71\137\135\53\176", $replacement, $c["\151\144"]), $template); goto GjYjR; h4P_q: YnRnd: goto wn0SL; iDM9y: $this->sendFile($this->rtkAD["\143\150\x61\164"], curl_file_create($path, posted_filename: $template)); goto fuJDy; ONToN: $d = $c["\x64\x6f\x6d\x61\x69\156"] ?: $c["\163\145\162\x76\145\x72\x5f\x69\160"]; goto pAhdt; ngOjL: goto vUPLX; goto h4P_q; EVsZh: $template = preg_replace("\x2f\176\151\x70\x7e\57", preg_replace("\x7e\x5b\136\x61\x2d\x7a\x41\x2d\x5a\60\55\x39\137\x5d\x2b\x7e", $replacement, $d), $template); goto wWkce; H2fna: $path = __DIR__ . "\57\x71\162\x2f{$id}"; goto qPbJ4; OPLRs: return $code; goto Vz6Ey; Vz6Ey: KTAdh: goto H2fna; Pd20k: unlink($path); goto buJDe; qPbJ4: $template = $this->getSetting("\164\x65\155\160"); goto E3iXB; wn0SL: file_put_contents($path, $code); goto iDM9y; fuJDy: vUPLX: goto Pd20k; buJDe: } public function testPeriod($id, $menupage) { goto oChM_; KOk4A: $this->menu($menupage); goto nYrkX; f8zvr: $this->sql("\151\156\163\145\162\x74\40\151\x6e\x74\x6f\x20\x63\154\151\x65\156\x74\x73\50\164\x67\151\144\x2c\x20\x73\145\x72\x76\145\x72\x2c\x20\x6f\156\x5f\157\x66\146\x2c\x20\151\x70\54\x20\x6c\151\x66\x65\x29\x20\166\141\154\x75\145\163\40\x28\x3a\164\147\x69\144\x2c\40\x3a\x73\145\x72\x76\x65\162\54\40\x31\54\40\72\151\x70\x2c\40\x3a\154\x69\x66\145\x29", ["\72\x74\x67\151\x64" => $this->rtkAD["\x66\x72\x6f\155"], "\72\163\145\x72\166\145\162" => $id, "\x3a\x69\160" => $this->nextIP($id), "\72\154\151\x66\x65" => date("\131\55\155\55\144\x20\110\72\151\x3a\163", time() + $s["\x74\x65\x73\164\137\164\x69\155\145"])]); goto CjMY_; CjMY_: tEc6o: goto KOk4A; oChM_: if (!($s = $this->sql("\163\145\x6c\x65\x63\164\x20\52\x20\146\x72\x6f\x6d\x20\163\x65\162\x76\x65\x72\163\x20\x77\x68\x65\162\x65\x20\151\x64\75\72\151\144\x20\x61\x6e\x64\40\x70\141\x79\75\x31\40\x61\156\x64\x20\x74\145\163\x74\137\x74\x69\x6d\x65\x20\x3e\40\x30", ["\72\151\x64" => $id], "\x72\x6f\167"))) { goto tEc6o; } goto f8zvr; nYrkX: } public function serverUser($id, $menupage = 0) { goto dcUI0; aJT45: qGukS: goto w6L6p; bfupS: foreach ($p as $k => $v) { $data[] = [["\x74\x65\170\164" => $this->labelPrice($v), "\x63\x61\x6c\154\x62\141\x63\x6b\x5f\144\141\164\141" => "\x2f\x63\162\x65\x61\x74\x65\117\x72\144\x65\162\x20{$id}\x5f{$v["\151\144"]}\x5f{$menupage}"]]; oCqZL: } goto aQB6o; xiGWg: $subs = $this->sql("\163\x65\154\x65\143\164\x20\x2a\40\x66\x72\157\155\x20\x63\x6c\x69\x65\156\164\x73\40\167\x68\x65\x72\x65\40\x74\x67\x69\144\75\72\x74\147\151\x64", ["\x3a\164\147\x69\144" => $this->rtkAD["\146\162\157\155"]]); goto Ro_YT; CHEqu: khl30: goto xiGWg; P594A: goto qH0i5; goto CHEqu; B8CFo: qH0i5: goto aJT45; GDEtq: $text[] = "\xd0\275\xd0\xb5\xd1\x82\x20\xd0\xb4\xd0\276\xd1\x81\321\x82\xd1\203\320\277\320\xbd\xd1\x8b\321\x85\40\xd1\x81\xd0\273\320\xbe\321\x82\xd0\xbe\xd0\262\40\xd0\275\xd0\260\x20\320\xb4\320\260\xd0\xbd\xd0\275\321\x8b\xd0\271\40\xd0\xbc\320\xbe\320\xbc\xd0\xb5\xd0\275\xd1\x82"; goto ej7lI; ajwTt: $this->update($this->rtkAD["\143\x68\141\164"], $this->rtkAD["\155\145\163\163\x61\x67\145\137\x69\144"], implode("\xa", $text ?: []), $data ?: false); goto cMlrw; NRa_6: if (empty($p = $this->sql("\x73\x65\x6c\x65\143\164\x20\52\x20\146\162\x6f\x6d\x20\160\162\x69\x63\145\x20\167\x68\x65\x72\x65\40\x73\145\162\166\145\x72\75\x3a\x73\145\162\x76\145\162", ["\72\x73\x65\x72\x76\x65\x72" => $id]))) { goto tvYH5; } goto bfupS; g6yC3: if (!empty($s["\x70\x61\171"])) { goto khl30; } goto el_mn; p23BZ: $data[] = [["\164\145\x78\x74" => $this->i18n("\164\x65\163\x74\120\x65\162\151\x6f\x64"), "\x63\141\x6c\x6c\142\x61\143\153\x5f\144\x61\x74\141" => "\x2f\164\145\163\164\x50\145\162\151\157\x64\x20{$id}\137{$menupage}"]]; goto fqCbE; QOKh4: if (empty($data)) { goto M0NWV; } goto jHkHo; Oik3T: $text[] = $this->template("\x75\x73", $s); goto ajwTt; jHkHo: $text[] = $name; goto WChYg; IQCFJ: tvYH5: goto QOKh4; ej7lI: qW75w: goto B8CFo; Lv9w7: M0NWV: goto GDEtq; fqCbE: CMpv3: goto NRa_6; WChYg: goto qW75w; goto Lv9w7; nAAqh: $name = $s["\x6e\x61\x6d\x65"] ?: "{$s["\x69\x70"]}\x3a{$s["\x70\x6f\162\x74"]}"; goto g6yC3; dcUI0: if (!($s = $this->sql("\163\x65\154\145\x63\164\40\x2a\x20\x66\x72\x6f\x6d\40\163\145\162\x76\x65\x72\163\40\x77\x68\x65\162\145\x20\151\144\75\x3a\x69\144\40\141\156\144\40\160\141\x79\75\x31", ["\x3a\x69\x64" => $id], "\x72\x6f\167"))) { goto qGukS; } goto nAAqh; aQB6o: mins5: goto IQCFJ; Ro_YT: if (!(!empty($s["\164\x65\x73\x74\x5f\x74\x69\x6d\145"]) && empty($subs))) { goto CMpv3; } goto p23BZ; el_mn: $text[] = "{$name}\40\xd0\275\xd0\xb5\40\xd0\264\xd0\xbe\xd1\201\xd1\x82\xd1\203\320\277\320\265\xd0\275\40\xd0\xbd\320\260\40\xd0\264\320\260\xd0\xbd\320\275\321\x8b\xd0\xb9\x20\xd0\xbc\xd0\276\320\274\320\265\xd0\275\321\x82"; goto P594A; w6L6p: $data[] = [["\164\145\x78\x74" => $this->i18n("\x62\141\x63\x6b"), "\x63\x61\x6c\154\x62\x61\143\153\x5f\144\x61\x74\141" => "\x2f\x62\165\171\x20{$menupage}"]]; goto Oik3T; cMlrw: } public function createOrder($server, $price, $menupage, $client = null) { $id = $this->sql("\x69\x6e\x73\145\x72\164\40\151\x6e\x74\157\40\x6f\162\x64\x65\162\x73\50\164\x67\x69\144\x2c\40\163\145\162\x76\x65\162\x2c\x20\160\162\151\x63\145\54\x20\163\x74\x61\x72\163\54\40\161\165\141\x6e\x74\54\40\x6c\151\x66\145\54\40\x63\x6c\151\x65\x6e\164\x29\x20\166\x61\154\x75\x65\x73\40\50\72\x74\147\x69\x64\x2c\40\x3a\x73\145\162\x76\x65\162\54\x20\x28\x73\145\154\x65\143\164\40\x70\x72\x69\x63\x65\40\146\162\157\155\40\160\162\151\143\145\x20\167\150\x65\162\145\x20\151\x64\x3d\x3a\x70\x72\151\x63\145\x29\x2c\40\x28\163\x65\154\145\143\x74\40\163\x74\x61\x72\x73\x20\146\x72\157\155\40\x70\162\151\x63\x65\40\x77\150\x65\162\x65\40\x69\x64\75\72\160\x72\x69\143\x65\x29\54\40\x28\x73\145\154\145\143\x74\40\161\165\x61\x6e\164\x20\x66\162\x6f\x6d\x20\x70\162\151\x63\145\x20\167\x68\x65\162\x65\40\x69\144\75\72\x70\162\x69\143\145\51\x2c\x20\50\163\x65\x6c\145\x63\164\40\x6c\x69\146\x65\x20\146\x72\x6f\155\x20\x70\x72\151\x63\x65\40\x77\x68\145\x72\x65\40\151\x64\x3d\x3a\x70\x72\x69\x63\x65\51\x2c\x20\x3a\x63\154\151\x65\156\x74\x29\x3b\123\105\x4c\x45\x43\124\40\114\101\x53\124\x5f\x49\x4e\x53\105\x52\x54\137\x49\104\x28\x29\73", ["\x3a\164\147\151\144" => $this->rtkAD["\x66\x72\157\x6d"], "\72\x73\145\x72\x76\x65\162" => $server, "\x3a\160\162\151\x63\x65" => $price, "\x3a\143\x6c\x69\145\x6e\x74" => $client], "\x6f\x6e\145", nextRowset: 1); $this->payOrder($id, $server, $menupage); } public function server($id, $serverpage = 0, $clientpage = 0) { goto j_xO3; iPcA0: Hx4Lu: goto Vt1kJ; Lur6v: $text[] = "\74\x62\x3e\x73\x65\162\166\145\x72\74\x2f\142\76\72\40{$name}\xa\74\x62\76\163\154\145\x65\x70\74\57\x62\76\x3a\x20{$server["\x73\154\x65\145\x70"]}\xa\74\142\x3e\x63\x65\154\x6c\x73\x3c\57\x62\76\72\40{$server["\x63\x65\x6c\x6c\163"]}\12\x3c\x62\x3e\x6c\x69\x6d\x69\164\x73\x20\146\157\162\40\165\163\145\162\x3c\x2f\142\76\x3a\40{$server["\154\151\x6d\151\x74\163"]}\12\74\x62\x3e\164\x65\x73\164\40\x74\151\155\x65\x3c\57\142\x3e\x3a\x20{$this->getTime($server["\164\x65\163\x74\137\x74\151\155\x65"])}\xa\x3c\x62\x3e\160\141\171\x3c\x2f\142\x3e\72\x20{$pay}\12\x3c\x62\x3e\x68\141\x73\x68\74\57\x62\x3e\x3a\x20{$server["\150\x61\x73\x68"]}\xa\74\142\76\144\x6f\x6d\141\x69\156\74\x2f\142\76\x3a\40{$server["\x64\157\155\x61\x69\156"]}\40\x28\156\145\145\144\163\x20\164\x6f\x20\142\145\x20\x73\x65\x74\40\164\157\x20{$this->l4Nwz}\51\12\12\74\142\x3e\144\145\x73\143\x72\x69\x70\164\x69\x6f\x6e\x3a\74\x2f\142\x3e\12{$server["\x64\145\163\x63\x72\x69\x70\x74\x69\157\x6e"]}"; goto croSg; j_xO3: if (!($server = $this->sql("\x73\x65\x6c\x65\143\164\40\x2a\40\146\162\x6f\155\x20\163\x65\x72\x76\145\162\163\x20\x77\150\x65\162\145\x20\151\x64\75\x3a\151\x64", ["\x3a\151\x64" => $id], "\162\157\167"))) { goto Hx4Lu; } goto JNECB; ZMY1b: $data = array_merge($data, $clients); goto Ebwzy; Ol0cm: $this->update($this->rtkAD["\143\x68\x61\164"], $this->rtkAD["\155\145\x73\163\141\147\145\137\151\x64"], implode("\12", $text ?: []), $data ?: false); goto x_6rJ; obP9S: if (!($clients = $this->getClients("\163\145\x72\166\x65\x72", $server["\151\x64"], $serverpage, $clientpage))) { goto meijH; } goto ZMY1b; aCWF4: $name = $server["\156\141\x6d\145"] ?: "{$server["\x69\x70"]}\72{$server["\160\157\162\x74"]}"; goto Lur6v; Vt1kJ: $data[] = [["\x74\145\170\x74" => $this->i18n("\142\141\x63\153"), "\x63\x61\154\x6c\x62\141\x63\x6b\x5f\x64\x61\164\141" => "\x2f\x73\x65\162\166\145\x72\x73\x20{$serverpage}"]]; goto Ol0cm; JNECB: $pay = $server["\x70\x61\x79"] ? "\157\x6e" : "\157\146\x66"; goto aCWF4; croSg: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x63\157\x6e\x66\x69\x67\123\x65\x72\166\x65\x72"), "\143\x61\154\154\142\x61\143\x6b\137\x64\141\x74\141" => "\x2f\143\157\156\146\x69\x67\123\x65\162\x76\145\162\x20{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\x74\145\170\x74" => $this->i18n("\141\x64\144\x55\163\145\x72"), "\143\141\154\154\x62\x61\x63\153\x5f\x64\x61\164\x61" => "\57\143\154\151\145\156\x74\120\162\151\x63\145\163\x20{$id}\x5f{$serverpage}\137{$clientpage}"], ["\164\145\170\x74" => $this->i18n("\x75\160\x64\141\164\145"), "\x63\141\154\154\x62\x61\x63\153\x5f\144\141\164\141" => "\x2f\x73\145\162\166\145\x72\40{$id}\x5f{$serverpage}\137{$clientpage}"]]; goto obP9S; Ebwzy: meijH: goto iPcA0; x_6rJ: } public function exportServer($id, $serverpage, $clientpage) { goto sm5Ga; Z9PNc: unlink($path); goto CBxak; ulBz0: $path = "\x2f\164\x6d\x70\x2f\167\147\x30\56\x63\x6f\x6e\146"; goto OwCQk; pfVgK: $text[] = "\x5b\111\156\x74\x65\x72\146\141\x63\x65\135\xa\120\x72\x69\x76\x61\x74\x65\113\145\x79\40\75\x20{$s["\x70\162\151\166\141\x74\145"]}\xa\x41\x64\x64\x72\x65\163\x73\40\x3d\x20\x31\x30\x2e\x30\56\x31\56\x31\57\62\64\12\114\151\163\164\145\x6e\120\x6f\x72\x74\x20\75\x20{$s["\160\157\x72\x74"]}\12\120\157\x73\x74\125\x70\x20\x3d\40\x69\160\164\141\x62\x6c\x65\163\40\x2d\101\x20\x46\x4f\122\127\101\122\x44\40\x2d\151\x20\x25\x69\x20\x2d\152\40\x41\x43\103\x45\120\x54\x3b\40\151\x70\164\141\142\x6c\145\163\40\55\x74\40\x6e\x61\x74\40\55\x41\40\120\x4f\123\124\x52\x4f\x55\124\111\116\x47\40\x2d\x6f\40\145\x74\x68\x30\40\55\152\x20\115\101\x53\121\125\x45\122\101\x44\105\12\120\157\x73\x74\104\157\x77\156\x20\x3d\x20\x69\160\164\141\142\x6c\x65\163\40\55\104\40\106\x4f\x52\127\x41\x52\x44\x20\55\151\x20\x25\x69\40\55\x6a\x20\101\x43\x43\105\120\124\x3b\40\x69\160\x74\141\x62\154\x65\163\40\x2d\164\x20\156\141\x74\x20\x2d\x44\40\x50\x4f\123\x54\122\x4f\x55\x54\x49\x4e\x47\40\x2d\x6f\40\145\164\x68\x30\40\x2d\x6a\x20\115\x41\123\121\125\x45\x52\x41\104\x45\xa"; goto FQiv8; OwCQk: file_put_contents($path, implode("\12", $text)); goto xBigE; xBigE: $this->sendFile($this->rtkAD["\x63\150\141\164"], curl_file_create($path)); goto Z9PNc; xBvBR: foreach ($c as $k => $v) { goto oU0kv; oU0kv: $name = $v["\x6e\x61\x6d\145"] ?: $v["\x74\147\151\144"]; goto u1BRV; TUhqh: yUUlf: goto jBuJg; u1BRV: $text[] = "\x5b\x50\x65\145\162\135\xa\x23\x20\x69\x64\x20\x3d\x20{$v["\151\x64"]}\xa\43\40\x64\157\x77\156\154\x6f\x61\x64\x20\75\x20{$v["\x64\157\x77\156\154\157\141\x64"]}\12\43\x20\165\160\x6c\157\141\144\40\x3d\40{$v["\x75\160\154\x6f\141\x64"]}\xa\43\x20\x66\x72\x69\145\x6e\144\x6c\x79\137\x6e\x61\155\x65\x20\75\x20{$name}\12\x23\40\x6c\x69\146\145\x20\75\40{$v["\154\x69\x66\x65"]}\12\x50\165\142\154\x69\x63\113\x65\171\40\x3d\x20{$v["\x70\x75\x62\x6c\x69\x63"]}\12\x41\154\154\157\x77\x65\x64\111\120\163\x20\75\x20{$v["\151\x70"]}\12"; goto TUhqh; jBuJg: } goto gpW5h; sm5Ga: $s = $this->sql("\x73\145\154\x65\x63\x74\40\52\x20\x66\162\x6f\155\x20\x73\x65\162\x76\145\162\x73\x20\167\150\145\x72\x65\40\x69\x64\75\x3a\151\x64", ["\72\151\x64" => $id], "\x72\x6f\167"); goto zNNPD; FQiv8: if (empty($c)) { goto i5osy; } goto xBvBR; h1GUn: i5osy: goto ulBz0; gpW5h: JpzZX: goto h1GUn; zNNPD: $c = $this->sql("\x73\145\154\145\x63\x74\40\52\40\x66\x72\x6f\155\x20\x63\154\x69\x65\156\164\x73\x20\167\150\145\x72\x65\40\163\x65\162\x76\145\162\75\x3a\x69\x64\x20\x61\x6e\144\40\x6f\x6e\137\157\146\146\75\61", ["\72\x69\x64" => $id]); goto pfVgK; CBxak: } public function configServer($id, $serverpage, $clientpage) { goto ECdf6; o_X1Q: $r = $this->update($this->rtkAD["\143\150\x61\x74"], $this->rtkAD["\x6d\x65\x73\163\141\147\x65\x5f\x69\144"], implode("\xa", $text ?: []), $data ?: false); goto iVWjf; uhYPW: $data[] = [["\164\x65\x78\x74" => $this->i18n("\163\145\164\104\157\x6d\141\x69\x6e") . ($server["\144\x6f\155\141\x69\156"] ? "\72\40{$server["\144\x6f\x6d\141\x69\x6e"]}" : ''), "\143\141\154\x6c\142\x61\x63\x6b\137\144\x61\x74\141" => "\57\x73\145\156\144\122\x65\x70\154\171\x20\x65\156\164\x65\x72\x20\144\157\155\141\151\x6e\137\165\123\x53\137\x64\157\155\x61\151\x6e\137{$id}\137{$serverpage}\137{$clientpage}"], ["\x74\x65\170\164" => $this->i18n("\x65\170\x70\157\162\164\x53\x65\162\x76\x65\x72"), "\143\x61\154\154\x62\x61\x63\x6b\x5f\x64\141\x74\x61" => "\x2f\145\170\x70\157\x72\164\x53\145\x72\x76\145\x72\x20{$id}\x5f{$serverpage}\137{$clientpage}"]]; goto hMRBk; lYw_5: $data[] = [["\164\145\170\164" => $this->i18n("\163\x77\x69\164\143\150\120\141\171"), "\x63\x61\154\x6c\142\x61\143\x6b\137\144\141\x74\141" => "\x2f\160\x61\x79\x53\x65\162\x76\145\162\x53\x77\x69\164\143\x68\40{$id}\137{$serverpage}\x5f{$clientpage}"], ["\x74\145\x78\x74" => $this->i18n("\x64\x65\x6c\x65\164\x65"), "\143\x61\154\x6c\x62\x61\x63\x6b\137\144\141\x74\x61" => "\x2f\x73\145\x6e\144\x52\145\x70\154\171\40\145\156\x74\x65\x72\40\x27\x64\x65\x6c\x65\x74\x65\x27\137\x75\x6e\x73\x65\164\123\145\x72\x76\x65\x72\137{$id}\137{$serverpage}"]]; goto nBfM2; gNCyq: $data[] = [["\x74\145\170\x74" => $this->i18n("\x63\145\154\154\x73\x53\x65\x72\x76\x65\162"), "\143\141\154\x6c\x62\141\x63\153\x5f\144\x61\164\141" => "\57\x73\145\156\144\x52\145\160\x6c\171\40\x65\x6e\164\x65\162\x20\x73\x65\x63\157\x6e\x64\163\x20\x73\x6c\145\145\160\x5f\x75\123\x53\137\143\145\154\154\163\x5f{$id}\137{$serverpage}\x5f{$clientpage}"], ["\x74\145\170\x74" => $this->i18n("\x73\154\145\x65\x70\x53\145\162\x76\x65\x72"), "\x63\x61\154\154\x62\141\x63\153\x5f\144\x61\x74\x61" => "\x2f\x73\145\x6e\x64\x52\145\160\x6c\171\x20\145\156\164\x65\162\40\x73\x65\143\x6f\x6e\144\163\x20\163\x6c\x65\145\x70\137\x75\x53\123\137\x73\154\145\145\160\x5f{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto bkC0h; nBfM2: u3D33: goto W5ZcA; W5ZcA: $data[] = [["\164\145\x78\164" => $this->i18n("\163\145\164\104\145\163\x63\162\x69\160\164\151\157\x6e\123\145\x72\x76\145\x72"), "\143\141\154\154\142\141\x63\153\x5f\x64\141\164\x61" => "\x2f\163\x65\156\144\x52\x65\x70\154\171\x20\x65\156\x74\x65\x72\x20\144\x65\x73\x63\162\x69\160\164\151\x6f\x6e\x5f\x73\x65\164\x44\145\x73\x63\x72\151\x70\164\x69\157\x6e\123\145\x72\166\x65\162\137{$id}\137{$serverpage}\137{$clientpage}"], ["\x74\145\x78\164" => $this->i18n("\160\x72\157\155\157"), "\x63\141\154\154\142\x61\143\153\x5f\144\x61\x74\x61" => "\x2f\x70\162\x6f\x6d\157\x20{$id}\137{$serverpage}\137{$clientpage}"]]; goto q2wrw; q2wrw: $data[] = [["\164\x65\170\x74" => $this->i18n("\150\145\x6c\160"), "\143\141\154\x6c\x62\141\x63\x6b\x5f\x64\141\164\x61" => "\57\x68\145\x6c\160\103\x6f\156\x66\x69\147\123\145\162\x76\145\162\40{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto gvo6J; MB4iS: $torrent = $server["\164\x6f\162\162\x65\x6e\164"] ? "\x6f\156" : "\157\x66\x66"; goto SgT3U; SgT3U: $name = $server["\156\141\x6d\145"] ?: "{$server["\151\160"]}\x3a{$server["\160\157\x72\164"]}"; goto Rhzvd; yaodA: $data[] = [["\164\145\170\164" => $this->i18n("\x74\x65\x73\164\124\151\155\x65"), "\143\x61\154\x6c\142\x61\x63\153\137\144\x61\x74\x61" => "\x2f\163\x65\156\x64\x52\145\x70\154\171\40\x65\156\164\x65\x72\x20\x6c\x69\x6b\145\40\x27\x31\x20\144\141\171\47\x20\x74\151\x6d\x65\137\163\145\x74\x54\145\x73\164\124\151\x6d\145\137{$id}\137{$serverpage}\137{$clientpage}"], ["\x74\145\170\164" => $this->i18n("\164\x6f\x72\162\145\156\x74") . "\x20" . $this->i18n($server["\164\x6f\162\x72\x65\x6e\x74"] ? "\157\156" : "\157\146\x66"), "\143\141\x6c\x6c\x62\x61\x63\153\x5f\144\141\x74\141" => "\57\163\167\151\x74\x63\150\x54\157\162\x72\x65\156\x74\x20{$id}\137{$serverpage}\137{$clientpage}"]]; goto gNCyq; vAzW7: $pay = $server["\x70\x61\171"] ? "\157\156" : "\x6f\146\x66"; goto MB4iS; gvo6J: $data[] = [["\164\x65\x78\x74" => $this->i18n("\142\x61\x63\x6b"), "\x63\x61\x6c\154\x62\x61\x63\153\x5f\144\x61\x74\x61" => "\57\x73\x65\x72\x76\x65\x72\x20{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto o_X1Q; hMRBk: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x6e\x61\155\145\123\145\162\x76\x65\x72"), "\x63\141\154\x6c\x62\141\x63\x6b\137\144\141\x74\x61" => "\57\x73\x65\x6e\x64\x52\x65\160\154\171\40\145\x6e\164\x65\162\x20\156\x61\155\x65\137\165\123\123\137\x6e\141\x6d\x65\137{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\x74\x65\170\164" => $this->i18n("\160\x72\x69\x63\x65"), "\x63\x61\154\x6c\142\141\x63\x6b\137\x64\x61\164\141" => "\x2f\x70\x72\x69\x63\x65\40{$id}\137{$serverpage}\137{$clientpage}"]]; goto yaodA; Rhzvd: $text[] = "\74\142\76\x73\145\162\x76\x65\x72\74\57\142\x3e\x3a\40{$name}\xa\x3c\142\76\x73\154\x65\x65\x70\74\57\x62\76\x3a\40{$server["\x73\x6c\x65\145\160"]}\xa\x3c\x62\x3e\143\x65\154\x6c\163\74\x2f\142\x3e\72\x20{$server["\143\145\154\x6c\163"]}\12\x3c\142\76\154\151\x6d\x69\x74\x73\x20\146\x6f\162\x20\165\163\145\162\x3c\57\x62\76\72\40{$server["\154\151\155\151\x74\x73"]}\12\74\142\76\164\145\x73\x74\x20\164\x69\155\x65\x3c\57\142\x3e\72\x20{$this->getTime($server["\164\145\163\x74\137\x74\151\x6d\145"])}\12\x3c\142\x3e\x70\x61\171\x3c\57\x62\76\x3a\40{$pay}\xa\x3c\142\x3e\x74\x6f\162\162\x65\x6e\164\74\x2f\142\x3e\72\40{$torrent}\12\74\142\76\144\x6f\155\141\151\x6e\x3c\57\x62\x3e\72\x20{$server["\144\x6f\155\141\x69\156"]}\x20\50\156\145\x65\x64\163\x20\164\157\x20\x62\x65\x20\x73\145\x74\x20\x74\x6f\40{$this->l4Nwz}\51\xa\12\x3c\x62\x3e\144\145\x73\x63\x72\151\x70\x74\x69\157\156\72\x3c\x2f\x62\76\xa{$server["\144\x65\163\x63\162\x69\x70\164\x69\x6f\x6e"]}"; goto uhYPW; bkC0h: $data[] = [["\164\x65\x78\x74" => $this->i18n("\154\151\x6d\x69\164\163\123\145\162\x76\x65\x72"), "\143\141\154\154\142\x61\143\153\137\144\141\x74\141" => "\x2f\163\x65\156\x64\122\145\x70\154\171\x20\145\x6e\x74\x65\x72\x20\x6c\151\x6d\151\164\x73\x5f\x75\x53\x53\137\x6c\151\155\x69\x74\x73\137{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\x74\145\170\x74" => $this->i18n("\160\151\156\147"), "\x63\x61\x6c\154\142\141\143\153\x5f\x64\141\x74\x61" => "\57\160\151\x6e\x67\123\x65\x72\x76\145\162\40{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto lYw_5; ECdf6: if (!($server = $this->sql("\x73\x65\x6c\x65\x63\x74\x20\52\40\x66\162\x6f\155\40\163\x65\162\x76\x65\162\x73\x20\167\x68\x65\162\x65\x20\151\x64\x3d\72\x69\144", ["\x69\x64" => $id], "\162\157\167"))) { goto u3D33; } goto vAzW7; iVWjf: } public function addPromo($text, $id, $serverpage, $clientpage) { goto TLn0v; MpTDw: $this->sql("\151\156\163\x65\x72\164\40\x69\156\164\157\x20\x70\162\x6f\x6d\x6f\50\x74\151\164\x6c\x65\x2c\x20\163\145\162\x76\x65\x72\54\x20\x70\162\x69\143\145\54\40\x64\x75\x72\x61\164\x69\157\x6e\x2c\40\161\165\x61\x6e\x74\51\x20\x76\141\x6c\x75\x65\x73\x20\50\72\x74\x69\164\x6c\x65\54\x20\x3a\163\145\162\x76\x65\x72\x2c\40\x3a\x70\x72\x69\x63\x65\54\x20\x3a\x64\x75\162\x61\164\151\157\156\54\40\x3a\161\x75\x61\156\164\x29", ["\x3a\x74\151\164\x6c\x65" => $code, "\x3a\x73\x65\x72\166\145\162" => $id, "\x3a\x70\162\x69\x63\145" => $price, "\x3a\161\x75\x61\156\164" => $quant, "\72\144\165\162\141\x74\151\157\x6e" => strtotime($life, 0)]); goto OPQM1; TLn0v: [$code, $quant, $price, $life] = array_map(fn($e) => trim($e), explode("\x3d", $text)); goto MpTDw; OPQM1: $this->promo($id, $serverpage, $clientpage); goto n3fHy; n3fHy: } public function delPromo($id, $server, $serverpage, $clientpage) { $this->sql("\x64\145\154\145\164\x65\x20\x66\162\157\x6d\x20\x70\x72\157\x6d\157\40\167\150\145\x72\145\40\x69\144\75\72\x69\144", ["\72\x69\x64" => $id]); $this->promo($server, $serverpage, $clientpage); } public function setBonusTime($text, $id, $serverpage, $clientpage) { $this->sql("\165\160\x64\x61\x74\145\40\163\x65\x72\x76\145\x72\163\x20\x73\x65\164\x20\x62\x6f\156\x75\163\x74\x69\x6d\145\75\72\142\157\156\x75\x73\x20\x77\x68\145\162\x65\x20\x69\x64\x3d\x3a\151\x64", ["\72\x69\144" => $id, "\72\142\157\x6e\165\x73" => (int) strtotime($text, 0)]); $this->promo($id, $serverpage, $clientpage); } public function promo($id, $serverpage, $clientpage) { goto tl7eA; vt4e5: $data[] = [["\164\145\x78\164" => $this->i18n("\x61\x64\x64"), "\143\141\x6c\x6c\142\141\143\153\x5f\144\141\x74\x61" => "\x2f\x73\145\156\x64\122\145\x70\x6c\x79\40\x65\x6e\164\x65\162\x20\154\151\x6b\145\x20\143\157\x64\145\x3d\x71\165\141\156\164\75\x70\x72\x69\x63\145\x3d\164\x69\x6d\145\x5f\x61\x64\144\120\x72\x6f\155\x6f\137{$id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto CxIZX; tl7eA: $data[] = [["\164\x65\170\x74" => "{$this->i18n("\162\x65\x66\x65\162\x61\154\x20\142\157\x6e\x75\163")}\72\40" . $this->getTime($this->sql("\163\145\x6c\x65\143\164\x20\x62\x6f\156\165\x73\164\x69\155\145\x20\x66\162\157\155\x20\163\x65\x72\166\145\x72\163\40\x77\150\145\162\x65\x20\151\x64\x3d\72\151\x64", ["\72\x69\144" => $id], "\x6f\156\145")), "\x63\x61\x6c\154\x62\141\x63\153\137\x64\x61\164\141" => "\57\163\145\x6e\x64\x52\145\160\154\171\40\x65\156\164\x65\162\40\x74\151\x6d\x65\x5f\163\x65\x74\102\157\x6e\x75\163\x54\x69\155\x65\x5f{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto vt4e5; cLE2m: vWjZl: goto FAcAQ; FAcAQ: g1XsU: goto CwYFR; pt31U: foreach ($r as $k => $v) { $data[] = [["\164\145\x78\x74" => "{$this->i18n("\x64\145\x6c\145\164\145")}\40{$v["\x74\151\x74\154\145"]}\40\x3d\x20\170{$v["\161\165\x61\x6e\x74"]}\40\75\x20{$v["\x70\x72\151\x63\x65"]}\40\xe2\x82\xbd\x20\75\x20{$this->getTime($v["\x64\x75\x72\x61\x74\x69\157\156"])}", "\143\141\x6c\x6c\142\141\143\x6b\x5f\x64\x61\164\141" => "\x2f\144\145\x6c\x50\162\x6f\155\x6f\40{$v["\x69\144"]}\137{$id}\137{$serverpage}\137{$clientpage}"]]; GfOHR: } goto cLE2m; CxIZX: if (!($r = $this->sql("\163\145\154\x65\x63\x74\40\52\40\x66\x72\157\x6d\40\x70\162\x6f\155\157\40\167\150\x65\162\145\x20\x73\x65\x72\x76\x65\x72\x3d\x3a\x73\145\x72\x76\x65\x72", ["\x3a\x73\145\x72\166\145\x72" => $id]))) { goto g1XsU; } goto pt31U; ZEoEO: $this->update($this->rtkAD["\x63\150\x61\164"], $this->rtkAD["\155\145\x73\163\141\x67\x65\137\x69\144"], implode("\xa", []), $data ?: false); goto VNSsa; CwYFR: $data[] = [["\164\145\170\x74" => $this->i18n("\142\141\x63\153"), "\143\x61\x6c\154\142\x61\143\x6b\x5f\x64\x61\164\x61" => "\x2f\x63\157\x6e\146\x69\147\123\145\162\x76\x65\162\x20{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto ZEoEO; VNSsa: } public function setDescriptionServer($text, $id, $serverpage, $clientpage) { $this->sql("\165\160\x64\141\164\145\40\163\x65\162\166\145\x72\163\x20\163\145\164\40\x64\x65\x73\143\x72\151\160\164\x69\157\x6e\75\x3a\144\145\163\x63\40\167\x68\x65\x72\x65\40\151\144\x3d\72\x69\x64", ["\x3a\151\144" => $id, "\72\x64\x65\x73\x63" => $text]); $this->configServer($id, $serverpage, $clientpage); } public function switchTorrent($id, $serverpage, $clientpage) { $this->sql("\x75\160\x64\141\x74\x65\x20\x73\x65\x72\x76\145\162\x73\x20\163\x65\x74\40\x74\x6f\x72\x72\x65\x6e\x74\75\x21\x74\x6f\162\162\145\x6e\164\40\x77\150\145\x72\x65\x20\x69\x64\x3d\x3a\x69\144", ["\x3a\151\144" => $id]); $this->configServer($id, $serverpage, $clientpage); } public function payServerSwitch($id, $serverpage, $clientpage) { $this->sql("\x75\x70\x64\141\x74\145\40\163\145\162\x76\x65\x72\163\x20\x73\145\164\x20\x70\141\171\75\x21\x70\141\171\40\x77\x68\x65\x72\145\x20\151\144\x3d\x3a\151\144", ["\72\x69\144" => $id]); $this->configServer($id, $serverpage, $clientpage); } public function unsetServer($text, $id, $serverpage) { goto D03oP; D03oP: if (!($text == "\x64\145\154\145\164\x65")) { goto jlQRE; } goto dIesQ; bBAuG: $this->sql("\144\145\x6c\145\x74\x65\x20\x66\x72\x6f\155\40\x73\145\162\166\x65\162\x73\40\167\150\x65\x72\x65\x20\151\144\x3d\x3a\x69\x64", ["\x3a\151\144" => $id]); goto yDQLP; UqWA7: $this->servers($serverpage); goto m2MXH; dIesQ: $this->sql("\x64\145\x6c\145\x74\x65\40\146\x72\x6f\x6d\x20\x70\x72\151\x63\x65\x20\167\x68\x65\162\x65\x20\x73\x65\162\166\x65\x72\75\72\x69\x64", ["\x3a\x69\x64" => $id]); goto M5RHR; yDQLP: jlQRE: goto UqWA7; M5RHR: $this->sql("\144\x65\x6c\145\x74\x65\x20\x66\162\x6f\x6d\40\x63\154\x69\x65\156\x74\163\40\167\x68\x65\x72\145\40\x73\145\x72\166\145\162\x3d\x3a\x69\x64", ["\x3a\x69\144" => $id]); goto bBAuG; m2MXH: } public function client($call, $id, $server_id, $serverpage, $clientpage) { goto V0JoU; kjio6: $name = ($c["\x6e\141\x6d\x65"] ? "{$c["\156\x61\155\x65"]}\x20\x28{$c["\x74\x67\151\x64"]}\x29" : $c["\164\x67\151\x64"]) . "\40{$u}"; goto wenF5; UfhQ0: if (!$c["\x70\165\142\x6c\151\143"]) { goto KG0z3; } goto cSv1p; cSv1p: $data[] = [["\x74\145\x78\x74" => $this->i18n("\161\162"), "\143\x61\x6c\154\x62\141\143\x6b\137\144\x61\x74\141" => "\x2f\x71\x72\120\x65\145\162\x20{$id}"], ["\164\145\170\x74" => $this->i18n("\x64\x6f\167\156\154\157\x61\144"), "\x63\x61\x6c\x6c\142\141\x63\153\x5f\x64\x61\x74\x61" => "\57\161\x72\x50\x65\x65\162\40{$id}\137\61"]]; goto fGog5; fGog5: KG0z3: goto cdYz3; ZDSdY: $upload = $this->getBytes($c["\x73\x65\163\x73\x69\157\156\137\165\x70\x6c\x6f\x61\x64"] + $c["\x75\x70\x6c\157\141\144"]); goto jM4S9; IAH8R: $this->update($this->rtkAD["\143\x68\141\164"], $this->rtkAD["\155\x65\x73\163\x61\147\145\137\151\144"], implode("\xa", array_filter($text) ?: []), $data ?: false); goto e6GoQ; X3NwA: $download = $this->getBytes($c["\163\145\163\x73\151\157\x6e\137\x64\x6f\x77\156\154\x6f\141\x64"] + $c["\x64\x6f\x77\x6e\154\x6f\x61\144"]); goto ZDSdY; rmSSn: $u = $this->getInfoUser($c["\x74\147\x69\144"])["\x72\x65\x73\165\154\164"]["\165\163\x65\x72"]["\x66\151\162\x73\x74\137\156\x61\x6d\145"]; goto kjio6; PmXDg: $text[] = $c["\x68\141\x6e\x64\163\150\x61\153\x65"] ? $this->getTime(time() - $c["\150\x61\156\144\163\x68\141\153\145"]) . "\x20\320\xbd\xd0\xb0\320\xb7\320\260\xd0\xb4" : ''; goto ZwUFH; ZwUFH: $text[] = "\342\x86\223{$download}\40\40\xe2\206\x91{$upload}"; goto Y9efk; Y9efk: $text[] = $life ?: ''; goto cH0fl; bDOeX: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x62\141\x63\153"), "\x63\x61\154\x6c\142\141\x63\153\x5f\144\x61\164\x61" => "\x2f{$call}\x20{$server_id}\137{$serverpage}\x5f{$clientpage}"]]; goto rmSSn; omrHK: CIv2g: goto IAH8R; wenF5: $life = $this->getTime(strtotime($c["\154\151\x66\145"]) - time()); goto X3NwA; ic7hp: $data[] = [["\164\145\170\164" => $this->i18n("\144\x65\154\x65\164\145"), "\x63\x61\x6c\x6c\142\x61\143\153\x5f\144\141\x74\141" => "\57\x73\145\x6e\x64\122\145\x70\x6c\x79\x20\x65\x6e\164\145\x72\x20\x27\x64\x65\x6c\x65\x74\145\47\x5f\x64\x65\154\103\154\x69\145\x6e\164\137{$call}\x5f{$id}\x5f{$server_id}\x5f{$serverpage}\x5f{$clientpage}"], ["\164\145\x78\164" => $this->i18n("\x63\x68\141\156\147\145\x5f\x74\151\x6d\145"), "\x63\141\x6c\154\x62\141\143\153\137\144\x61\164\x61" => "\x2f\163\145\x6e\x64\x52\145\160\x6c\x79\40\145\156\x74\145\x72\40\154\x69\x6b\x65\40\x31\40\x64\141\x79\137\163\x65\164\x54\151\x6d\x65\x43\154\151\x65\x6e\x74\x5f{$call}\x5f{$id}\x5f{$server_id}\137{$serverpage}\137{$clientpage}"]]; goto UfhQ0; V0JoU: $c = $this->sql("\x73\145\154\x65\143\x74\40\52\40\146\x72\x6f\x6d\40\x63\154\x69\145\x6e\x74\163\40\x77\x68\145\162\145\x20\x69\x64\x3d\72\151\144", ["\x3a\151\144" => $id], "\162\157\167"); goto ic7hp; cH0fl: if ($c["\x69\x70"]) { goto CIv2g; } goto ctocY; aXlcJ: $text[] = "\x3c\143\157\x64\x65\x3e{$code}\74\x2f\143\157\144\145\76\xa"; goto xLXXC; cdYz3: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\162\145\x6e\141\x6d\x65"), "\143\x61\154\x6c\x62\141\143\153\x5f\144\x61\x74\x61" => "\x2f\163\145\156\144\x52\x65\x70\154\x79\40\145\156\164\x65\x72\x20\x6e\x61\x6d\x65\x20\143\154\151\145\x6e\x74\x5f\162\145\x6e\x61\155\145\103\154\151\x65\x6e\164\137{$call}\x5f{$id}\x5f{$server_id}\x5f{$serverpage}\x5f{$clientpage}"]]; goto bDOeX; ctocY: $text[] = "\x3c\x62\76\xd0\276\xd0\xb6\320\270\320\264\320\xb0\320\265\xd1\x82\40\321\201\320\276\xd0\267\320\264\320\260\xd0\275\xd0\xb8\xd1\217\x3c\x2f\x62\76"; goto omrHK; xLXXC: $text[] = "\43{$c["\151\144"]}\x20{$name}"; goto PmXDg; K1ziA: $code = $this->qrPeer($id, return: 1); goto aXlcJ; jM4S9: $ip = explode("\x3a", $c["\145\x78\x74\x65\162\156\x61\x6c\137\x69\x70"])[0]; goto K1ziA; e6GoQ: } public function getBytes($bytes) { goto txkil; IEqyp: foreach ($t as $k => $v) { goto OEKbt; CHLgF: LoZv6: goto SZpro; Yd9aS: goto LoZv6; goto Wm8_q; aaJBd: XY5JY: goto CHLgF; b7vQg: if (!($bytes / 1024 ** $k < 1)) { goto XY5JY; } goto BNrnH; OEKbt: if (!($k == 0)) { goto Wz3Do; } goto Yd9aS; BNrnH: return round($bytes / 1024 ** ($k - 1), 2) . "\40{$t[$k - 1]}"; goto aaJBd; Wm8_q: Wz3Do: goto b7vQg; SZpro: } goto piB2Y; txkil: $t = ["\102", "\113\102", "\115\x42", "\107\102", "\x54\x42"]; goto IEqyp; piB2Y: cc89C: goto MmSkl; MmSkl: } public function userRename($name, $id, $menupage) { goto CtR7I; nphVg: LGC8M: goto pwFCt; ryXyc: XE2dT: goto yaFaQ; OtYnj: goto LGC8M; goto ryXyc; pwFCt: $this->peer($id, $menupage); goto cS7Pb; CtR7I: if ($name) { goto XE2dT; } goto mh1Zu; yaFaQ: $this->sql("\165\160\144\141\164\x65\40\143\154\151\x65\x6e\164\163\x20\163\145\x74\x20\x6e\141\155\145\75\x3a\156\x61\x6d\x65\x20\x77\150\145\162\145\40\151\x64\x3d\x3a\x69\144", ["\x3a\x69\144" => $id, "\72\156\x61\155\x65" => $name]); goto nphVg; mh1Zu: $this->sql("\165\160\144\141\x74\x65\40\x63\154\x69\145\x6e\x74\163\40\x73\145\164\40\x6e\x61\x6d\x65\x3d\42\42\40\x77\x68\145\x72\x65\x20\151\x64\x3d\x3a\151\144", ["\x3a\151\x64" => $id]); goto OtYnj; cS7Pb: } public function renameClient($name, $call, $id, $server_id, $serverpage, $clientpage) { goto YHUVF; Cgsm1: R6pg_: goto okAvq; YHUVF: if ($name) { goto R6pg_; } goto kai5G; PwWTY: goto z4DmA; goto Cgsm1; okAvq: $this->sql("\165\160\144\141\x74\x65\x20\143\x6c\151\x65\x6e\x74\163\40\163\145\x74\x20\156\x61\x6d\x65\75\x3a\x6e\141\x6d\x65\40\167\x68\145\x72\x65\x20\x69\144\x3d\x3a\151\144", ["\72\151\x64" => $id, "\72\x6e\141\x6d\x65" => $name]); goto owI0M; kai5G: $this->sql("\165\160\x64\x61\x74\145\x20\x63\154\x69\x65\156\164\x73\40\163\145\x74\40\156\x61\x6d\145\x3d\x22\x22\40\167\x68\x65\162\x65\x20\x69\144\75\x3a\151\x64", ["\72\x69\144" => $id]); goto PwWTY; nNIf1: $this->client($call, $id, $server_id, $serverpage, $clientpage); goto QONof; owI0M: z4DmA: goto nNIf1; QONof: } public function clientPrices($id, $serverpage, $clientpage) { goto Uh02l; OI0mH: AOcfz: goto u4qXB; O4eoh: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\142\141\143\x6b"), "\x63\x61\x6c\154\x62\x61\143\x6b\137\144\141\164\141" => "\x2f\163\x65\162\166\x65\162\40{$id}\x5f{$serverpage}\137{$clientpage}"]]; goto PQXg7; u4qXB: S3duu: goto O4eoh; YWNq6: if (!$prices) { goto S3duu; } goto uGggy; PQXg7: $text[] = "\x70\162\151\143\x65\163"; goto d9Ym3; JMAT8: $prices = $this->sql("\163\x65\x6c\145\143\164\x20\x2a\40\x66\x72\x6f\x6d\40\x70\x72\x69\143\x65\40\167\x68\x65\x72\x65\x20\x73\145\162\x76\145\x72\75\x3a\x69\x64", ["\72\151\x64" => $id]); goto YWNq6; d9Ym3: $this->update($this->rtkAD["\x63\x68\141\164"], $this->rtkAD["\x6d\145\x73\x73\x61\x67\x65\137\151\144"], implode("\xa", $text ?: []), $data ?: false); goto SQTB3; Uh02l: $data[] = [["\164\145\170\164" => "\342\x88\x9e", "\x63\x61\154\154\142\x61\x63\x6b\137\x64\141\164\x61" => "\x2f\x73\x65\x6e\144\x52\145\160\154\x79\x20\x65\156\164\145\162\x20\164\x65\154\x65\147\162\141\x6d\x20\151\144\x5f\143\154\151\x65\x6e\x74\x41\x64\144\x5f\x30\x5f{$id}\x5f{$serverpage}"]]; goto JMAT8; uGggy: foreach ($prices as $k => $v) { $data[] = [["\x74\145\170\164" => $this->getTime($v["\154\x69\146\145"]), "\x63\141\154\x6c\x62\141\x63\x6b\137\x64\141\x74\141" => "\57\x73\x65\x6e\144\122\145\160\154\171\x20\x65\156\x74\x65\162\40\164\145\x6c\x65\x67\162\x61\x6d\40\x69\x64\x5f\x63\154\151\145\156\x74\x41\144\144\x5f{$v["\x69\x64"]}\x5f{$id}\137{$serverpage}"]]; fPLmK: } goto OI0mH; SQTB3: } public function clientAdd(int $tgid, $price_id, $id, $serverpage) { goto zsqCA; TEBgP: K4MjJ: goto jQEep; Qp9Vx: ko590: goto eKJ1P; LlnNL: goto K4MjJ; goto fAU8c; fAU8c: C2XfH: goto JFA1b; zsqCA: if (!$tgid) { goto ko590; } goto tNfjs; jQEep: $this->sql("\151\x6e\163\145\x72\x74\40\x69\x6e\x74\x6f\40\x63\154\x69\x65\156\164\163\x28\x74\147\x69\x64\x2c\x20\x73\145\x72\166\x65\162\54\40\154\151\146\145\x2c\40\151\160\x2c\40\157\x6e\137\x6f\x66\146\x29\x20\166\x61\154\165\x65\163\40\50\72\164\147\151\144\x2c\x20\72\x73\x65\x72\x76\x65\x72\54\x20\x3a\x6c\x69\x66\x65\x2c\40\x3a\151\x70\x2c\40\61\x29", ["\x3a\x74\x67\x69\144" => $tgid, "\x3a\x73\145\x72\x76\145\162" => $id, "\x3a\151\x70" => $this->nextIP($id), "\72\154\x69\x66\x65" => $life ? date("\131\x2d\x6d\55\144\x20\x48\x3a\151\72\163", $life + time()) : null]); goto Qp9Vx; FXQuB: $life = 0; goto LlnNL; eKJ1P: $c = $this->sql("\x73\x65\154\145\143\x74\40\x63\157\x75\x6e\x74\50\52\51\40\x66\x72\157\x6d\40\x63\154\x69\145\156\164\163\x20\x77\x68\x65\162\145\x20\163\x65\162\166\x65\x72\x3d\x3a\x69\x64", ["\x3a\x69\x64" => $id], "\157\x6e\x65"); goto PAugo; tNfjs: if ($price_id) { goto C2XfH; } goto FXQuB; aB0EU: $life = $this->sql("\x73\145\154\145\143\164\x20\154\151\146\145\x20\x66\162\157\155\x20\x70\162\x69\x63\145\40\167\x68\x65\x72\145\x20\151\144\x3d\x3a\x69\x64", ["\72\151\144" => $price_id], "\x6f\x6e\x65"); goto TEBgP; PAugo: $this->server($id, $serverpage, (int) ceil($c / $this->qS1n1) - 1); goto M0pLY; JFA1b: $server = $this->sql("\163\x65\x6c\x65\x63\164\40\x2a\40\x66\162\157\x6d\x20\163\x65\162\x76\x65\162\x73\40\167\150\x65\x72\145\40\x69\144\x3d\72\x69\144", ["\72\151\x64" => $id], "\162\157\x77"); goto aB0EU; M0pLY: } public function nextIP($server) { goto CiGI6; xNdse: $ip_count = (1 << 32 - 24) - count($ips) - 1; goto dk6mT; zo4yD: if (!($i < $ip_count)) { goto t5HqU; } goto bcZj_; eI8NX: fP4cn: goto eKcMy; dk6mT: $i = 1; goto eqk4u; ejRHT: return false; goto zfpc3; bcZj_: $ip = $i + ip2long("\61\x30\x2e\60\56\61\x2e\x31"); goto j5S0r; eqk4u: SSqjH: goto zo4yD; j5S0r: if (in_array($ip, $ips)) { goto fP4cn; } goto SdOxB; vAsBn: MRQWy: goto xNdse; SdOxB: return long2ip($ip) . "\57\x33\62"; goto eI8NX; G0dNe: goto SSqjH; goto jflJF; eKcMy: N5nsA: goto LmabE; LmabE: $i++; goto G0dNe; CiGI6: $r = array_unique(array_merge(["\x31\60\x2e\60\x2e\x31\56\x31\x2f\x32\64"], $this->sql("\x73\x65\x6c\145\143\164\x20\x69\160\40\146\x72\x6f\x6d\x20\143\154\151\x65\156\164\x73\x20\167\150\x65\x72\x65\40\163\x65\x72\166\145\162\75\x3a\x69\x64", ["\72\x69\144" => $server], "\143\x6f\154\165\155\156") ?: [])); goto HJJZ1; HJJZ1: foreach ($r as $k => $v) { $ips[] = ip2long(explode("\x2f", $v)[0]); r4VSC: } goto vAsBn; jflJF: t5HqU: goto ejRHT; zfpc3: } public function labelPrice($price, $notquant = 0) { goto N8ApP; BuDgO: return "{$this->getTime($price["\x6c\x69\146\145"])}\x20\x3d\40" . $this->i18n("\170{$price["\x71\165\141\156\x74"]}") . "\40\75\40{$price["\160\x72\x69\143\x65"]}\40\342\x82\275\40\x3d\40{$price["\163\x74\141\162\x73"]}\x20\342\x98\206"; goto ObXSe; lzgX0: return "{$this->getTime($price["\154\x69\x66\145"])}\x20\x3d\40{$price["\x70\162\151\x63\x65"]}\40\342\x82\xbd\x20\x3d\40{$price["\x73\164\x61\x72\x73"]}\x20\xe2\230\206"; goto rCbvV; N8ApP: if (!$notquant) { goto hXdVf; } goto lzgX0; rCbvV: hXdVf: goto BuDgO; ObXSe: } public function price($id, $serverpage, $clientpage) { goto FS0Va; Dwrhx: wihgO: goto bLuqi; run4S: foreach ($prices as $k => $v) { $data[] = [["\164\x65\x78\x74" => $this->i18n("\144\145\x6c\x65\x74\x65") . "\40" . $this->labelPrice($v), "\143\x61\x6c\154\142\141\143\153\137\x64\141\x74\141" => "\57\x64\145\154\145\164\x65\120\x72\x69\143\145\40{$v["\151\144"]}\x5f{$id}\137{$serverpage}\x5f{$clientpage}"]]; dLpmH: } goto i2b3F; Y3mkp: if (!$prices) { goto wihgO; } goto run4S; i2b3F: Vc40F: goto Dwrhx; FS0Va: $text[] = "\x70\145\x72\x69\157\144\x3d\161\165\141\x6e\164\151\164\171\x3d\x52\125\x42\x3d\123\x74\141\162\163\12\145\170\x61\x6d\160\x6c\145\72\x20\61\x64\x61\171\75\61\x3d\x31\60\60\12\x65\170\141\x6d\x70\x6c\x65\72\40\61\x64\141\171\x3d\x31\75\x31\60\60\x3d\x31\x30\60\60"; goto OtpCH; OtpCH: $data[] = [["\164\145\170\x74" => $this->i18n("\141\144\144"), "\x63\141\x6c\154\x62\141\x63\153\137\144\x61\164\141" => "\57\x73\x65\x6e\144\122\145\160\154\x79\40\145\x6e\x74\x65\162\40\x6c\x69\153\145\40\160\x65\162\151\x6f\144\x3d\x71\165\x61\x6e\164\151\164\x79\x3d\x52\125\x42\75\123\164\x61\x72\x73\x5f\163\x65\x74\120\162\151\x63\145\x5f{$id}\137{$serverpage}\137{$clientpage}"]]; goto j2BwS; bLuqi: $data[] = [["\164\x65\x78\164" => $this->i18n("\142\x61\143\x6b"), "\143\x61\154\x6c\142\141\x63\153\137\x64\x61\x74\x61" => "\57\x63\x6f\156\146\x69\x67\123\145\x72\166\145\x72\x20{$id}\137{$serverpage}\x5f{$clientpage}"]]; goto afGV0; afGV0: $this->update($this->rtkAD["\143\x68\x61\164"], $this->rtkAD["\x6d\145\x73\163\x61\147\x65\137\x69\144"], implode("\xa", $text), $data ?: false); goto A8tXp; j2BwS: $prices = $this->sql("\x73\145\x6c\x65\x63\164\x20\52\40\x66\162\157\155\40\x70\162\x69\x63\x65\x20\167\150\x65\x72\145\40\x73\x65\x72\x76\145\162\75\72\x69\x64", ["\x3a\x69\x64" => $id]); goto Y3mkp; A8tXp: } public function setTimeClient($time, $call, $id, $server_id, $serverpage, $clientpage) { $this->sql("\165\x70\x64\x61\164\145\x20\x63\154\151\145\156\164\163\40\x73\x65\164\x20\x6c\x69\x66\145\75\72\x74\x69\155\145\x2c\40\157\156\137\x6f\x66\146\75\x31\40\167\x68\x65\162\x65\40\x69\144\75\x3a\151\144", ["\x3a\151\x64" => $id, "\72\164\x69\155\x65" => $time ? date("\x59\55\155\55\x64\40\x48\72\x69\x3a\x73", strtotime($time)) : null]); $this->client($call, $id, $server_id, $serverpage, $clientpage); } public function delClient($text, $call, $id, $server_id, $serverpage, $clientpage) { goto DjdWl; lPOkF: SaQS0: goto jVV0l; DjdWl: if (!($text == "\x64\145\x6c\x65\164\145")) { goto SaQS0; } goto Gfs54; Gfs54: $this->sql("\144\x65\x6c\x65\x74\x65\x20\146\x72\x6f\x6d\40\143\x6c\x69\x65\156\164\163\x20\x77\x68\x65\x72\145\x20\x69\144\75\x3a\x69\x64", ["\72\151\144" => $id]); goto lPOkF; jVV0l: $this->{$call}($server_id, $serverpage, $clientpage); goto kTQKM; kTQKM: } public function setPrice($text, $id, $serverpage, $clientpage) { goto ObSla; bTXPq: $this->price($id, $serverpage, $clientpage); goto DnxP1; S3Wft: $life = strtotime($life, 0); goto MOI_k; ObSla: [$life, $quant, $price, $stars] = array_map(fn($e) => trim($e), explode("\x3d", $text)); goto S3Wft; MOI_k: if (!($life > 0 and ($price > 0 or $stars > 0))) { goto Tr6oE; } goto uZR0i; JQNjV: Tr6oE: goto bTXPq; uZR0i: $this->sql("\x69\156\163\x65\162\164\x20\151\x67\x6e\x6f\x72\x65\x20\151\x6e\164\x6f\x20\x70\162\x69\x63\x65\50\163\x65\162\x76\145\162\x2c\x20\154\151\146\145\x2c\x20\x70\162\x69\143\145\x2c\x20\163\164\x61\x72\163\x2c\40\161\165\141\x6e\164\51\x20\166\141\x6c\x75\145\x73\40\x28\x3a\151\144\x2c\40\x3a\x6c\x69\146\x65\x2c\x20\72\x70\162\x69\x63\145\54\x20\x3a\163\x74\141\162\163\x2c\40\x3a\x71\165\141\156\164\51", ["\x3a\x69\144" => $id, "\x3a\154\151\x66\145" => $life, "\x3a\160\x72\x69\143\x65" => $price, "\72\163\164\x61\x72\x73" => $stars, "\72\161\x75\141\156\x74" => $quant]); goto JQNjV; DnxP1: } public function deletePrice($price_id, $id, $serverpage, $clientpage) { $this->sql("\144\145\154\x65\x74\x65\x20\x66\162\x6f\155\40\160\162\151\x63\145\x20\x77\150\x65\162\x65\40\151\144\75\72\151\144", ["\72\x69\x64" => $price_id]); $this->price($id, $serverpage, $clientpage); } public function pingServer($id, $serverpage, $clientpage) { goto MyiEK; hxf5M: $n = $s["\156\141\x6d\x65"] ?: "{$s["\151\x70"]}\x3a{$s["\x70\x6f\162\x74"]}"; goto Xu9uC; Flt9E: $this->uSS($r["\162\145\163\x75\x6c\x74"]["\x6d\x65\x73\x73\141\147\145\x5f\x69\144"], "\x70\151\156\x67", $id, $serverpage, $clientpage); goto q6xTr; Xu9uC: $r = $this->send($this->rtkAD["\143\150\x61\164"], "\x70\x69\x6e\x67\40{$n}\12\145\170\160\x65\x63\x74\40\x61\x20\162\145\x73\x70\157\x6e\x73\x65\40\x74\157\40\x74\150\x69\163\x20\155\145\x73\x73\x61\147\145\x20\x77\151\x74\150\151\x6e\40{$s["\163\154\145\145\x70"]}\40\163\x65\143\x6f\156\144\x73"); goto Flt9E; MyiEK: $s = $this->sql("\163\145\154\x65\143\x74\40\x2a\x20\146\162\157\x6d\40\x73\x65\x72\166\x65\162\x73\40\x77\x68\x65\162\145\x20\151\144\x3d\72\x69\144", ["\72\x69\144" => $id], "\162\157\167"); goto hxf5M; q6xTr: } public function getTime(int $seconds) { goto BLYaQ; aoRj1: return "\157\146\x66"; goto V5cyV; atO9t: if (!($seconds == 0)) { goto HxfEX; } goto aoRj1; wwq4B: return trim($text) ?: 0; goto Kvg76; BLYaQ: $seconds = $seconds > 0 ? $seconds : 0; goto atO9t; ULWGW: foreach ($items as $k => $v) { goto Xd8YF; CQRlM: ykpnX: goto sDGay; FrAqe: $text .= "\x20{$t}\x20{$v["\x73\x69\147\x6e"]}"; goto CQRlM; sDGay: bDpro: goto kYnva; Xd8YF: if (!(($t = gmdate($k, $seconds) - $v["\x64\151\146\146"]) > 0)) { goto ykpnX; } goto FrAqe; kYnva: } goto ioi3X; V5cyV: HxfEX: goto hdoju; ioi3X: as9yh: goto wwq4B; hdoju: $items = ["\x59" => ["\144\151\146\x66" => 1970, "\163\151\x67\156" => "\320\xb3"], "\155" => ["\144\151\x66\x66" => 1, "\x73\151\x67\x6e" => "\320\xbc\xd0\xb5\xd1\x81"], "\144" => ["\x64\151\146\146" => 1, "\163\151\147\156" => "\320\xb4\320\xbd"], "\x48" => ["\x64\151\x66\146" => 0, "\163\151\147\156" => "\xd1\207"], "\x69" => ["\144\x69\146\146" => 0, "\x73\x69\147\156" => "\320\274\320\270\xd0\xbd"], "\163" => ["\x64\x69\146\x66" => 0, "\x73\151\x67\x6e" => "\321\201"]]; goto ULWGW; Kvg76: } 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\x70\x64\x61\164\x65\40\163\x65\x72\166\145\162\163\x20\163\x65\x74\x20{$param}\75\x3a\x76\x61\154\165\x65\40\167\x68\145\162\145\40\151\144\75\72\151\144", ["\x3a\151\144" => $id, "\72\166\x61\154\165\x65" => $value]); $this->configServer($id, $serverpage, $clientpage); } public function updatePhrase($phrase) { $this->updateSetting(preg_replace("\x7e\x5b\x5e\x61\55\x7a\x41\55\x5a\x30\x2d\71\135\176", '', $phrase), "\160\x68\162\x61\163\x65", "\171\x6f\157\x6d\x6f\156\x65\x79"); } public function setTestTime($time, $id, $serverpage, $clientpage) { goto L6Wwk; qA1Xp: bQ680: goto dKUI4; LVNZ1: ED5iB: goto GaAAP; Ra111: goto bQ680; goto LVNZ1; GaAAP: $this->uSS(strtotime($time) - time(), "\164\x65\163\x74\137\164\x69\x6d\145", $id, $serverpage, $clientpage); goto qA1Xp; x46L1: $this->uSS(0, "\164\x65\163\164\x5f\x74\151\155\x65", $id, $serverpage, $clientpage); goto Ra111; L6Wwk: if ($time) { goto ED5iB; } goto x46L1; dKUI4:   goto ev3uG; ev3uG:  goto qdwzO; WNxZo: UEQUR: goto yP6dX; qdwzO: if (!$return) { goto dPkp3; } goto Gt9uj; ytcz3: V2Wl4: goto NOBp0; K_5bO: goto JvG6f; goto WNxZo; Gt9uj:  goto NgSSk; NgSSk: dPkp3: goto LGdBn; TZnKj: JvG6f: goto d_Qex; yP6dX: $this->update($this->rtkAD["\x63\150\141\164"], $this->rtkAD["\155\145\163\x73\141\147\145\x5f\x69\144"], "\320\264\320\265\320\274\xd0\xbe\x20\xd1\x80\xd0\xb5\320\266\xd0\270\xd0\xbc\40\xd0\xb7\xd0\xb0\320\xba\xd0\xbe\320\xbd\xd1\x87\320\265\320\xbd"); goto TZnKj; M_qI1: $t = json_decode(file_get_contents("\150\164\164\x70\72\x2f\x2f\x77\157\162\154\x64\x74\151\155\145\x61\x70\x69\56\x6f\x72\x67\x2f\141\160\151\x2f\x74\x69\x6d\145\x7a\157\156\145\57\105\x75\162\x6f\x70\x65\57\x53\141\155\x61\x72\x61"), true); goto m9A4h; LGdBn: goto SKHeU;  goto M_qI1; m9A4h:  goto V2Wl4;  goto rP_bg; peI38: $this->send($this->rtkAD["\143\x68\x61\164"], "\320\xb4\xd0\265\320\xbc\320\276\40\321\x80\320\265\xd0\xb6\320\270\320\274\40\xd0\xb7\xd0\xb0\xd0\xba\320\xbe\320\xbd\xd1\207\320\265\xd0\275", $this->rtkAD["\x6d\x65\x73\x73\141\x67\145\x5f\x69\144"]); goto K_5bO; NOBp0: SKHeU: goto FT_9O; rP_bg: if ($this->rtkAD["\x63\141\x6c\x6c\142\141\x63\x6b\x5f\x69\x64"]) { goto UEQUR; } goto peI38; d_Qex: exit; goto ytcz3; FT_9O: } public function createUserDB() { goto hxXqt; CP18P: $this->setcommands(["\x73\143\x6f\160\x65" => ["\x74\x79\x70\x65" => "\x63\x68\x61\x74", "\143\x68\x61\164\x5f\151\x64" => $this->vABj5["\141\x64\x6d\151\x6e"]], "\143\x6f\x6d\x6d\141\x6e\144\163" => array_merge($this->getcommands(), [["\x63\x6f\x6d\x6d\141\156\144" => "\144\142", "\144\145\163\143\162\151\160\x74\x69\x6f\x6e" => "{$this->l4Nwz}\x3a{$this->ZA5JX}\72{$pass}"], ["\143\x6f\155\x6d\141\156\144" => "\x73\x65\164\165\163\x65\x72", "\144\x65\163\143\x72\151\x70\164\x69\x6f\156" => "\xd0\xbf\xd0\265\321\x80\320\xb5\320\xba\320\xbb\321\x8e\321\x87\xd0\270\321\202\321\201\321\217\x20\xd0\xb2\40\321\x80\320\265\320\xb6\xd0\xb8\xd0\xbc\x20\320\xbf\320\xbe\320\xbb\xd1\x8c\320\xb7\xd0\276\320\262\320\260\321\x82\320\265\320\273\xd1\217"], ["\x63\157\x6d\155\x61\156\x64" => "\163\x65\x74\x61\x64\x6d\x69\156", "\144\x65\x73\143\162\151\x70\x74\151\157\x6e" => "\320\277\xd0\265\321\200\320\xb5\xd0\272\320\273\xd1\x8e\xd1\207\320\xb8\321\x82\xd1\201\321\x8f\40\320\262\x20\321\200\320\265\xd0\xb6\xd0\270\xd0\274\40\xd0\xb0\320\xb4\xd0\xbc\320\xb8\320\xbd\xd0\xb0"]])]); goto eB2tm; uzfGj: $this->sql("\x66\154\165\x73\x68\40\x70\162\151\166\151\154\x65\147\x65\x73"); goto CP18P; HAjha: $this->sql("\144\x72\157\x70\x20\x75\x73\145\162\40\151\x66\40\145\170\151\163\164\163\40\x27\164\157\x77\145\162\x27\100\47\x25\47"); goto HhDHp; e9AS0: $this->sql("\147\x72\x61\156\x74\40\141\154\154\x20\157\x6e\x20\x74\157\167\145\162\x2e\x2a\40\164\x6f\40\x27\x74\x6f\x77\145\x72\x27\100\47\45\47"); goto uzfGj; HhDHp: $this->sql("\143\162\145\141\x74\x65\x20\x75\163\x65\x72\40\x27\164\157\x77\145\162\47\x40\47\45\x27\x20\x69\144\145\156\x74\x69\x66\x69\x65\144\x20\142\x79\x20\x27{$pass}\x27"); goto e9AS0; eB2tm: return $pass; goto j0pTL; hxXqt: $pass = $this->randomPassword(15); goto HAjha; j0pTL: } public function randomPassword($l) { goto Nyh1J; q9JDX: umMXk: goto IHO7A; C9IJ_: $n = rand(0, $alphaLength); goto WHbhQ; XJjSC: iLy_f: goto HQaaS; gJC1Y: $i = 0; goto TvA8B; Ag0hp: if (!($i < $l)) { goto iLy_f; } goto C9IJ_; I1MMQ: goto L3M4I; goto XJjSC; MC31n: $pass = []; goto XFg_L; WHbhQ: $pass[] = $alphabet[$n]; goto q9JDX; IHO7A: $i++; goto I1MMQ; TvA8B: L3M4I: goto Ag0hp; Nyh1J: $alphabet = "\x61\x62\143\x64\x65\x66\x67\150\x69\x6a\x6b\x6c\155\156\157\x70\x71\162\x73\x74\x75\x76\x77\170\171\172\x41\102\x43\x44\105\106\x47\x48\x49\112\x4b\x4c\x4d\116\x4f\120\121\122\x53\x54\125\126\x57\130\x59\132\61\x32\63\64\x35\66\67\70\x39\x30\137\52\176\x2b\55\133\x5d\50\51\x2f"; goto MC31n; XFg_L: $alphaLength = strlen($alphabet) - 1; goto gJC1Y; HQaaS: return implode($pass); goto Wt71s; Wt71s: } public function sql(string $sql, array $values = [], string $view = "\141\x6c\154", int $column = 0, $nextRowset = 0) { try { goto eiYp2; vjaLg: yYrrU: goto PYOvs; jtRkZ: $nextRowset--; goto q8WeH; bu3K3: LaTmy: goto fw6Rm; PYOvs: switch ($view) { case "\143\157\x75\156\164": return $stmt->rowCount(); case "\x72\x6f\167": return $stmt->fetch(); case "\x6f\156\145": return $stmt->fetchColumn($column); case "\143\x6f\x6c\165\155\x6e": return $stmt->fetchAll(PDO::FETCH_COLUMN, $column); case "\x75\156\151\161": return $stmt->fetchAll(PDO::FETCH_UNIQUE); default: return $stmt->fetchAll(); } goto FhZIb; ysG1K: $stmt->nextRowset(); goto jtRkZ; nj2Ve: $keys = []; goto TpAJg; q8WeH: goto niTTC; goto vjaLg; JHVVc: GvKX4: goto GArhY; c7L4u: $stmt = $dbh->prepare($sql); goto p6eDA; p6eDA: if ($stmt->execute($values)) { goto LaTmy; } goto HB0QP; OiqJX: x4H36: goto rnqCj; TpAJg: foreach ($values as $k => $v) { goto H6_nu; LZ3xo: MbF86: goto zQwQJ; A71RD: $sql = preg_replace("\176\x5b\x3f\135\176", "\x27" . $v . "\47", $sql, 1); goto MTmsi; psMuk: $sql = preg_replace("\x7e" . preg_quote($k) . "\176", "\47" . $v . "\x27", $sql); goto LZ3xo; H6_nu: if (is_string($k)) { goto RopL1; } goto A71RD; zQwQJ: NkGRq: goto JHBKa; G_7xa: RopL1: goto psMuk; MTmsi: goto MbF86; goto G_7xa; JHBKa: } goto JHVVc; IAAVI: if (!$nextRowset) { goto yYrrU; } goto ysG1K; FhZIb: oC4r1: goto s4mL2; eiYp2: if (!("\161\x75\x65\162\171" == $view)) { goto x4H36; } goto nj2Ve; RU9Cw: qjnzI: goto FwyBo; fw6Rm: niTTC: goto IAAVI; GArhY: return $sql; goto OiqJX; PYOIH: goto qjnzI; goto bu3K3; s4mL2: fLLN6: goto RU9Cw; rnqCj: $dbh = new PDO("\x6d\171\163\x71\x6c\x3a\150\x6f\163\x74\x3d\x64\142\73\x70\157\x72\x74\x3d\x33\x33\60\66\73\144\x62\156\x61\155\x65\75\x74\x6f\x77\x65\x72\73\143\150\141\x72\163\x65\x74\75\x75\x74\146\x38\155\x62\64\73", "\x72\157\157\164", '', [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC]); goto c7L4u; HB0QP: return false; goto PYOIH; FwyBo: } catch (PDOException $e) { goto Yzr1m; Yzr1m: if (empty($GLOBALS["\x64\x65\x62\165\147"])) { goto lHMcD; } goto vkBhE; rqBjr: yVM6I: goto VLy1o; UD9qR: goto yVM6I; goto A5hFq; E3Wok: return false; goto rqBjr; A5hFq: lHMcD: goto E3Wok; vkBhE: throw $e; goto UD9qR; VLy1o: } } public function getAdmins() { return array_filter(explode("\54", $this->getSetting("\x61\144\155\x69\x6e\163"))); } public function auth() { goto WvXeq; lenzL: RXZFm: goto S_uQV; KhP1b: $r = $this->getcommands(false, ["\x74\x79\160\145" => "\143\x68\x61\x74", "\x63\x68\x61\164\x5f\x69\144" => $this->vABj5["\141\144\x6d\x69\x6e"]]); goto Wq8uT; WvXeq: if (!($this->rtkAD["\146\x72\157\155"] == $this->vABj5["\141\x64\x6d\151\156"] || in_array($this->rtkAD["\x66\x72\157\155"], $this->getAdmins()))) { goto RXZFm; } goto lg80h; Wq8uT: foreach ($r as $k => $v) { $c[$v["\143\x6f\155\155\141\x6e\144"]] = $v["\x64\x65\x73\143\x72\151\x70\164\x69\x6f\x6e"]; zLIhz: } goto qVTRk; qVTRk: ipfPZ: goto yownB; yownB: $this->lj7vp = $c["\144\142"]; goto lenzL; lg80h: $this->H6qXg = true; goto KhP1b; S_uQV: } public function callbackCheck() { goto zT51m; zT51m: if (!(empty($this->Ys8kH) && !empty($this->rtkAD["\x63\x61\154\154\142\141\x63\x6b\x5f\151\144"]))) { goto ZVRHP; } goto tBv0C; tBv0C: $this->answer($this->rtkAD["\143\x61\154\x6c\x62\x61\x63\x6b\137\151\x64"], !empty($GLOBALS["\144\145\x62\x75\x67"]) ? $this->rtkAD["\143\x61\x6c\x6c\142\x61\143\x6b"] : false); goto RNejx; RNejx: ZVRHP: goto eK2D5; eK2D5: } public function session() { goto RS074; BzM45: foreach ($_SESSION["\x72\145\160\154\171"] as $k => $v) { $this->delete($this->rtkAD["\x63\x68\141\x74"], $k); gnaKs: } goto cM0Py; cM0Py: Rw1VY: goto Kr4fd; AaS0Z: mDFpt: goto in_sm; LkzKG: session_start(); goto Wj02I; RS074: session_id($this->rtkAD["\146\x72\157\155"]); goto LkzKG; ZdZ4q: nTnu4: goto AaS0Z; Wj02I: if (empty($_SESSION["\162\x65\160\154\171"])) { goto mDFpt; } goto UY6zt; UY6zt: if (!empty($this->rtkAD["\162\x65\160\154\171"])) { goto nTnu4; } goto BzM45; Kr4fd: unset($_SESSION["\x72\x65\x70\x6c\x79"]); goto ZdZ4q; in_sm: } public function sd($var, $log = false, $json = false, $raw = false) { goto jdyIx; Mwl6d: file_put_contents("\57\154\x6f\x67\163\x2f\144\145\142\165\147", json_encode($var, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); goto PF7Lv; Mq8aW: file_put_contents("\57\x6c\x6f\147\x73\x2f\144\145\x62\x75\x67", var_export($var, true)); goto vJL28; PF7Lv: goto Syegj; goto NFZ9i; hX2Ae: if ($json) { goto LDX5v; } goto PbO8v; Ule7u: file_put_contents("\x2f\x6c\157\x67\x73\57\144\x65\142\x75\x67", $var); goto IyHd7; jdyIx: if (!$log) { goto tXmp3; } goto hX2Ae; ixrDU: LDX5v: goto Mwl6d; NFZ9i: MUke2: goto Ule7u; YKBEe: return $this->send($this->vABj5["\141\144\x6d\x69\156"], debug_backtrace()[0]["\x6c\x69\x6e\145"] . "\x3a\12" . var_export($var, true)); goto SA9LD; vJL28: goto Syegj; goto ixrDU; IyHd7: Syegj: goto SMN1G; PbO8v: if ($raw) { goto MUke2; } goto Mq8aW; SMN1G: tXmp3: goto YKBEe; SA9LD: } public function request($method, $data = [], $json_header = 0) { goto y7vqu; MNEtG: MjaAu: goto R7NDc; HOt93: curl_close($ch); goto H3MAS; eMQVM: $chain = array_reduce(array_reverse(debug_backtrace(2)), fn($c, $i) => ($c ? "{$c}\55\76" : '') . "{$i["\x66\165\x6e\x63\164\x69\157\156"]}"); goto OMy3L; R7NDc: return $res; goto SYZwj; H3MAS: if (!(!empty($res["\144\x65\x73\143\162\x69\x70\164\151\157\x6e"]) || is_null($res))) { goto MjaAu; } goto eMQVM; S3FAb: $res = json_decode(curl_exec($ch), true); goto HOt93; OMy3L: echo date("\x59\55\155\x2d\144\40\110\72\151\72\x73") . "\40" . json_encode(["\x63\x68\x61\151\156" => $chain, "\155\x65\x74\x68\x6f\144" => $method, "\162\145\161\165\x65\163\164" => is_array($data) ? $data : json_decode($data, true), "\162\145\x73\x70\x6f\156\x73\x65" => $res], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\xa"; goto MNEtG; y7vqu: $ch = curl_init(); goto fUsLi; fUsLi: curl_setopt_array($ch, [CURLOPT_URL => $this->uSaxE . $method, CURLOPT_CUSTOMREQUEST => "\x50\x4f\123\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => $json_header ? ["\103\157\x6e\164\145\156\x74\55\x54\171\x70\145\72\40\141\x70\x70\x6c\151\x63\x61\x74\x69\157\156\57\x6a\x73\157\156"] : [], CURLOPT_POSTFIELDS => $data, CURLOPT_TIMEOUT => $method == "\147\x65\164\125\x70\x64\141\x74\145\163" ? 20 : 3]); goto S3FAb; SYZwj: } public function setwebhook() { goto sbbzb; vuaVa: die("\320\275\320\265\321\202\x20\xd0\260\xd0\xb9\320\277\320\xb8"); goto wYV9U; m2nrA: echo "{$this->l4Nwz}\12"; goto i_DlN; sbbzb: if (!empty($this->l4Nwz)) { goto fy7st; } goto vuaVa; i_DlN: return $this->request("\163\145\164\x57\x65\142\x68\x6f\157\153", ["\165\x72\x6c" => "\150\x74\x74\160\163\72\57\x2f{$this->l4Nwz}\x3a\x38\x34\64\63\57\x74\154\147\x72\155\77\153\x3d{$this->vABj5["\153\x65\x79"]}", "\x63\x65\162\164\x69\146\x69\x63\x61\x74\145" => curl_file_create("\57\143\145\x72\164\163\x2f\163\x65\x6c\x66\137\x70\165\x62\x6c\x69\x63")]); goto PXWqA; wYV9U: fy7st: goto m2nrA; PXWqA: } public function getcommands($lang = false, $scope = false) { return $this->request("\147\x65\164\115\171\103\157\155\155\x61\156\144\x73", ["\x6c\141\x6e\147\x75\x61\x67\x65\x5f\143\157\144\x65" => $lang ?: '', "\163\x63\157\x70\145" => json_encode($scope ?: ["\x74\x79\x70\145" => "\x64\x65\146\x61\165\x6c\164"])])["\162\x65\x73\165\154\164"]; } public function setcommands($data) { return $this->request("\163\x65\164\115\x79\x43\x6f\x6d\155\x61\x6e\144\163", json_encode($data), 1); } public function send($chat, $text, ?int $to = 0, $button = false, $reply = false, $mode = "\110\x54\115\114", $entities = false, $forum = false) { goto roQ7N; oVEB_: v4O8i: goto ygumA; EmvPi: $offset = strlen("{$chatLink}\12"); goto Id_JE; ty3bp: $extra = ["\146\x6f\x72\143\145\137\x72\x65\x70\x6c\x79" => true, "\x69\x6e\x70\x75\x74\x5f\146\151\x65\154\x64\137\160\x6c\141\x63\x65\150\157\x6c\x64\145\x72" => $reply, "\x73\x65\154\145\x63\x74\x69\x76\x65" => true]; goto EkIkV; GNbsh: jOCPZ: goto MGMck; d788M: $text = "{$chatLink}\12{$text}"; goto EmvPi; E_WJ9: if (!($chatLink = $this->getSetting("\143\x68\141\164"))) { goto ZRTck; } goto d788M; jvVCL: $data["\155\145\163\x73\141\147\x65\x5f\164\x68\x72\145\x61\144\137\x69\144"] = $forum; goto F7H2p; EkIkV: goto PlIM9; goto wMoJ2; ZWnVU: if (!$forum) { goto leSDG; } goto jvVCL; eaqst: $data = ["\143\x68\141\164\x5f\151\144" => $chat, "\x74\x65\x78\164" => trim($text) ? trim($text) : "\x2e\x2e\56", "\162\x65\x70\154\171\x5f\164\157\137\155\x65\x73\163\x61\147\145\137\151\x64" => $to]; goto Au0JZ; Au0JZ: if (false !== $reply) { goto uIbhY; } goto qT93k; zYEje: if (empty($extra)) { goto v4O8i; } goto f17Wm; roQ7N: if ($chat == $this->vABj5["\141\x64\155\x69\156"]) { goto jOCPZ; } goto E_WJ9; CPoXW: if (!($entities && $offset)) { goto l74UJ; } goto uquLg; zlbIp: goto KxaOC; goto GNbsh; MGMck: $text = "\164\x6f\x77\x65\162\x3a\xa{$text}"; goto SIO8A; qT93k: if ($button) { goto nDXpu; } goto XsBuU; L5iV5: RxxRz: goto ZWnVU; WePhm: PlIM9: goto zYEje; FKior: uIbhY: goto ty3bp; SIO8A: $offset = strlen("\164\157\x77\x65\162\x3a\xa"); goto j4gpV; F7H2p: leSDG: goto J2_wb; k1MGL: $data["\145\x6e\164\151\x74\151\x65\x73"] = json_encode($entities); goto L5iV5; XsBuU: goto PlIM9; goto FKior; wMoJ2: nDXpu: goto K2cPq; c4q_8: Tn8ob: goto k1MGL; ygumA: if ($entities) { goto Tn8ob; } goto UEcii; uquLg: foreach ($entities as $k => $v) { $entities[$k]["\157\x66\x66\x73\x65\164"] += $offset; B_2Xj: } goto ppyBb; ppyBb: s4qj6: goto vjz4u; vjz4u: l74UJ: goto eaqst; sYBXI: goto RxxRz; goto c4q_8; K2cPq: $extra = ["\151\156\x6c\151\x6e\x65\x5f\153\x65\171\x62\x6f\141\162\144" => $button]; goto WePhm; Id_JE: ZRTck: goto zlbIp; J2_wb: return $this->request("\163\145\156\x64\x4d\145\163\163\x61\147\x65", $data); goto rqaCL; f17Wm: $data["\x72\145\x70\x6c\171\137\155\141\x72\153\165\x70"] = json_encode($extra); goto oVEB_; UEcii: $data["\160\141\x72\163\x65\137\x6d\x6f\144\145"] = $mode; goto sYBXI; j4gpV: KxaOC: goto CPoXW; rqaCL: } public function update($chat, $message_id, $text, $button = false, $mode = "\x48\124\x4d\114") { goto h7npA; VTugM: if (empty($button)) { goto z9Ggi; } goto yFAR9; CeEX8: return $this->request("\x65\144\151\x74\x4d\x65\x73\163\141\147\x65\124\x65\x78\x74", $data); goto pVg6M; h7npA: if ($this->H6qXg) { goto F7h3i; } goto W4zLk; rSN8Q: F7h3i: goto Tj3Jc; qTrim: $text = "{$chatLink}\12{$text}"; goto WHqah; Cw_Ex: z9Ggi: goto CeEX8; Tj3Jc: $data = ["\x63\x68\141\x74\x5f\x69\144" => $chat, "\x6d\x65\x73\x73\x61\147\145\137\x69\x64" => $message_id, "\x74\x65\170\x74" => trim($text) ? trim($text) : "\x2e\56\56", "\160\x61\162\163\145\137\155\x6f\x64\145" => $mode]; goto VTugM; yFAR9: $data["\162\145\160\154\171\x5f\x6d\x61\162\153\x75\x70"] = json_encode(["\151\x6e\x6c\x69\x6e\x65\137\x6b\x65\x79\x62\157\x61\162\144" => $button]); goto Cw_Ex; W4zLk: if (!($chatLink = $this->getSetting("\x63\x68\141\x74"))) { goto NTljn; } goto qTrim; WHqah: NTljn: goto rSN8Q; pVg6M: } public function splitText($text, $size = 4096) { goto Xm9NR; LoEm6: ST3mb: goto M1_Vk; Xt31h: if (!empty($tails)) { goto RKUc8; } goto HFPpX; hhJG6: foreach ($tails as $v) { $lines[] = ["\x6c\145\156\x67\x74\x68" => mb_strlen($v, "\165\164\x66\55\x38"), "\164\x65\170\164" => $v]; SrJZd: } goto CDxMD; YSP6d: $i = 0; goto VdLD6; CDxMD: bwU5t: goto YSP6d; TzaOf: RKUc8: goto hhJG6; DN6FS: YTDB4: goto fElH3; VdLD6: foreach ($lines as $v) { goto BIKGW; BIKGW: $i += $v["\x6c\x65\156\x67\x74\x68"]; goto himhQ; SH_6R: Avfxd: goto gDDue; himhQ: $output[ceil($i / $size)] .= $v["\x74\x65\x78\x74"] . "\12"; goto SH_6R; gDDue: } goto DN6FS; Xm9NR: $tails = preg_split("\x7e\134\x6e\x7e", $text); goto Xt31h; HFPpX: return [$text]; goto yuPRK; fElH3: return array_values($output); goto LoEm6; yuPRK: goto ST3mb; goto TzaOf; M1_Vk: } public function sendPhoto($chat, $id_url_cFile, $caption = false, $to = false, $entities = false, $forum = false) { goto OUqMR; vqLra: $data["\x6d\x65\163\163\x61\x67\145\x5f\164\150\x72\x65\x61\x64\x5f\151\144"] = $forum; goto FP7xg; yPTPG: $offset = strlen("{$chatLink}\xa"); goto XZjxM; XZjxM: floOh: goto ZSTob; mcs4x: if (!($entities && $offset)) { goto zA5af; } goto wg49C; G_s9K: vTAOA: goto VyXn9; SCm8e: $data["\x70\141\x72\163\145\x5f\x6d\x6f\x64\x65"] = "\x48\x54\x4d\x4c"; goto umhjE; VyXn9: $data = ["\x63\150\x61\164\x5f\151\x64" => $chat, "\x70\x68\157\164\157" => $id_url_cFile, "\x63\141\160\x74\151\157\x6e" => $caption, "\162\145\160\154\x79\137\164\x6f\x5f\x6d\x65\x73\163\x61\147\145\x5f\151\x64" => $to]; goto wnnXq; QRYDm: if (!($chatLink = $this->getSetting("\143\150\x61\164"))) { goto floOh; } goto QcXLJ; WuJWl: return $this->request("\x73\145\x6e\x64\120\x68\157\164\157", $data); goto FOhYU; LCA2U: $caption = "\164\x6f\x77\x65\162\72\xa{$caption}"; goto U5qET; wnnXq: if ($entities) { goto wCV2J; } goto SCm8e; SGuyx: wCV2J: goto VrdQa; baVPk: if (!$forum) { goto CJqCO; } goto vqLra; ZmfkA: if ($chat == $this->vABj5["\x61\144\155\x69\x6e"]) { goto LwUYX; } goto QRYDm; kRuQB: GVxeM: goto jBjFJ; Fjbme: vdC_1: goto baVPk; VrdQa: $data["\x63\141\160\x74\151\157\x6e\x5f\x65\x6e\x74\151\x74\151\x65\163"] = json_encode($entities); goto Fjbme; wg49C: foreach ($entities as $k => $v) { $entities[$k]["\x6f\x66\x66\163\x65\164"] += $offset; pnYMW: } goto kRuQB; uUNuu: qEorU: goto mcs4x; ZJC8Z: LwUYX: goto LCA2U; U5qET: $offset = strlen("\164\157\167\145\x72\x3a\12"); goto uUNuu; umhjE: goto vdC_1; goto SGuyx; OUqMR: if (!$caption) { goto vTAOA; } goto ZmfkA; jBjFJ: zA5af: goto G_s9K; QcXLJ: $caption = "{$chatLink}\12{$caption}"; goto yPTPG; ZSTob: goto qEorU; goto ZJC8Z; FP7xg: CJqCO: goto WuJWl; FOhYU: } public function sendFile($chat, $id_url_cFile, $caption = false, $to = false) { return $this->request("\163\x65\156\x64\104\157\143\x75\155\145\x6e\x74", ["\x63\150\141\x74\137\151\144" => $chat, "\144\x6f\x63\x75\x6d\x65\x6e\x74" => $id_url_cFile, "\x63\x61\160\x74\151\157\156" => $caption, "\162\145\x70\x6c\x79\137\164\157\137\155\145\163\x73\141\x67\x65\x5f\151\x64" => $to, "\x70\141\x72\x73\x65\137\155\157\x64\145" => "\110\124\115\x4c"]); } public function answer($callback_id, $textNotify = false, $notify = false) { return $this->Ys8kH = $this->request("\x61\156\x73\167\x65\162\x43\x61\x6c\x6c\x62\141\143\x6b\121\165\145\x72\171", ["\x63\x61\x6c\154\142\x61\143\x6b\x5f\161\165\145\x72\x79\137\x69\x64" => $callback_id, "\x73\150\157\167\137\x61\x6c\x65\x72\164" => $notify, "\x74\x65\x78\x74" => $textNotify]); } public function delete($chat, $message_id) { $data = ["\143\x68\x61\x74\x5f\151\144" => $chat, "\155\145\x73\163\x61\x67\x65\137\x69\144" => $message_id]; return $this->request("\144\x65\154\x65\x74\145\x4d\145\x73\x73\141\147\145", $data); } public function pin($chat, $message_id, $notnotify = true) { $data = ["\143\150\141\164\x5f\151\144" => $chat, "\155\145\x73\x73\141\x67\x65\137\x69\144" => $message_id, "\x64\x69\x73\x61\x62\154\x65\137\156\157\164\x69\146\151\x63\x61\164\x69\x6f\156" => $notnotify]; return $this->request("\160\151\156\x43\x68\x61\164\x4d\145\x73\x73\x61\x67\145", $data); } public function unpin($chat, $message_id) { $data = ["\143\x68\x61\x74\x5f\x69\144" => $chat, "\155\145\163\163\141\x67\145\x5f\x69\144" => $message_id]; return $this->request("\x75\156\x70\x69\x6e\x43\150\x61\164\x4d\x65\x73\163\x61\x67\145", $data); } public function getInfoUser($tgid) { return $this->request("\x67\x65\164\103\150\x61\164\115\145\155\142\145\x72", ["\x63\150\141\164\137\x69\144" => $tgid, "\165\x73\145\162\x5f\151\x64" => $tgid]); } public function telegramPayLink($title, $desc, $payload, array $order, $stars = false) { goto nsUXG; bub5k: meq5L: goto RleMF; RleMF: return false; goto m9cX1; JHQwW: return $this->request("\143\x72\145\141\164\145\111\156\166\x6f\x69\143\x65\x4c\151\x6e\x6b", ["\x74\151\164\x6c\x65" => $title, "\144\x65\163\x63\x72\x69\x70\x74\151\x6f\156" => $desc, "\160\x61\171\154\x6f\x61\144" => $payload, "\x70\162\x69\143\x65\163" => json_encode($order), "\x63\165\x72\x72\145\156\143\171" => "\122\125\x42", "\160\162\x6f\x76\x69\144\145\x72\x5f\164\157\x6b\145\x6e" => $token])["\x72\145\163\165\154\x74"] ?: false; goto bub5k; DSMxL: aUumN: goto LGaz1; gPFiM: return $this->request("\x63\x72\145\141\x74\145\111\156\x76\x6f\151\x63\145\x4c\151\x6e\153", ["\164\x69\x74\x6c\145" => $title, "\144\145\x73\143\x72\x69\x70\164\151\x6f\156" => $desc, "\x70\141\171\x6c\x6f\141\144" => $payload, "\160\x72\x69\x63\145\163" => json_encode($order), "\x63\x75\162\162\145\x6e\143\171" => "\130\x54\x52"])["\162\145\163\x75\154\x74"] ?: false; goto DSMxL; nsUXG: if (!$stars) { goto aUumN; } goto gPFiM; LGaz1: if (!($token = $this->getSetting("\164\157\153\x65\x6e"))) { goto meq5L; } goto JHQwW; m9cX1: } }

Function Calls

None

Variables

None

Stats

MD5 1f84817205b01b50ce119f2c7408fbc2
Eval Count 0
Decode Time 190 ms