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 $yR2JN; public $P3d7t; public $evu8h; publ..
Decoded Output download
<?php
class Bot {
public $yR2JN;
public $P3d7t;
public $evu8h;
public $EtwxM;
public $ue8lR;
public $RuZdI;
public $file;
public $tc2An;
public $L52Ko;
public $EPQPv;
public $YlIjf;
public $dYJuu;
public $P13AN = "/certs/certbot";
private $WzKlY;
public $xuI1p;
public function __construct()
{
goto OXe9q;
Uzix9: $this->EPQPv = "https://api.telegram.org/bot{$this->WzKlY["key"]}/";
goto qKKfQ;
OXe9q: $this->WzKlY = ["key" => "7117338483:AAEuvlaWR3XmDdTpSluDZ9s31He60NgUW3E", "admin" => "278571710"];
goto Uzix9;
YdUfp: $this->RuZdI = 5;
goto e4HjB;
e4HjB: $this->EtwxM = $this->sql("select param, value from language", view: "uniq");
goto bBLaj;
aucyo: $this->L52Ko = getenv("DBPORT");
goto x_9j2;
qKKfQ: $this->file = "https://api.telegram.org/file/bot{$this->WzKlY["key"]}/";
goto TjztK;
TjztK: $this->tc2An = getenv("IP");
goto aucyo;
x_9j2: $this->dYJuu = "en";
goto YdUfp;
bBLaj: }
public function input()
{
goto OhH9n;
xE4Cq: $this->P3d7t = $input = json_decode(file_get_contents("php://input"), true);
goto Vc7Jj;
MV134: XMGrd: goto xE4Cq;
OhH9n: if ("POST" == $_SERVER["REQUEST_METHOD"] && $_GET["k"] == $this->WzKlY["key"]) {
goto XMGrd;
}
goto EehPH;
ztZjR: $this->demo();
goto CtO_k;
Vc7Jj: $this->yR2JN = ["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 ztZjR;
EehPH: header("500", true, 500);
goto n8F70;
VF31o: $this->session();
goto NQhlG;
wRg4D: $this->callbackCheck();
goto fOluv;
NQhlG: $this->action();
goto wRg4D;
CtO_k: $this->auth();
goto VF31o;
n8F70: exit;
goto MV134;
fOluv: }
public function telegramPayHook()
{
goto Fztvv;
Fztvv: [$o, $menupage, $this->yR2JN["message_id"]] = explode(":", $this->yR2JN["payment_payload"]);
goto rPJ2B;
i2nE0: $this->menu($menupage);
goto blYPX;
iCSv9: $this->notifyPay($o);
goto QWI9d;
QWI9d: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], "\xd0\276\xd0\xb1\xd1\200\xd0\xb0\320\xb1\320\xbe\321\x82\320\xba\xd0\xb0 \xd0\267\320\xb0\xd0\xba\xd0\xb0\320\267\xd0\260");
goto ABBbn;
ABBbn: sleep(2);
goto R2qmP;
rPJ2B: $this->sql("update orders set paid=1, paid_time=now(), amount=:amount where paid=0 and id=:id", [":id" => $o, ":amount" => $this->yR2JN["payment_amount"] / 100]);
goto iCSv9;
R2qmP: $this->yR2JN["callback_id"] = $this->yR2JN["message_id"];
goto i2nE0;
blYPX: }
public function walletHook()
{
goto cnnBA;
M2Jgp: if (empty($payload)) {
goto R2YdN;
}
goto vbrlm;
cnnBA: $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 tq2Gc;
ypGBu: i6ozZ: goto M2Jgp;
MiDGx: U9dAu: goto bhtZF;
xLgNJ: foreach ($payload as $k => $v) {
goto HGm7R;
HGm7R: if (!($v["type"] != "ORDER_PAID")) {
goto QY2JI;
}
goto yiOQe;
UyxQM: $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 ulQ6C;
b77An: [$id, $this->yR2JN["chat"], $this->yR2JN["message_id"], $menupage] = explode(":", $v["payload"]["externalId"]);
goto KiExf;
LV7IP: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], "\320\xbe\320\261\xd1\x80\xd0\260\xd0\261\320\xbe\321\x82\xd0\272\320\xb0 \xd0\xb7\xd0\260\xd0\xba\320\260\xd0\xb7\320\xb0");
goto chio6;
l_7pr: KIx6L: goto XQqcX;
yiOQe: goto KIx6L;
goto rJ3oC;
chio6: sleep(2);
goto mKizo;
KiExf: if (!($id > 0)) {
goto jK9ML;
}
goto UyxQM;
mKizo: $this->menu($menupage);
goto aXDch;
aShzG: $this->yR2JN["from"] = $this->yR2JN["chat"];
goto LV7IP;
W9Yz7: jK9ML: goto l_7pr;
aXDch: unset($payload[$k]);
goto W9Yz7;
ulQ6C: $this->notifyPay($id);
goto uiYzs;
rJ3oC: QY2JI: goto b77An;
uiYzs: $this->yR2JN["callback_id"] = $this->yR2JN["message_id"];
goto aShzG;
XQqcX: }
goto ypGBu;
vbrlm: $this->notify("\320\275\320\xb5\xd0\276\320\261\xd1\200\xd0\xb0\xd0\xb1\xd0\xbe\321\202\320\260\320\275\xd0\275\321\213\xd0\271 \xd0\xb2\320\265\320\261\xd1\x85\xd1\203\xd0\xba \320\276\320\xbf\320\xbb\xd0\260\xd1\202\xd1\213:
<code>" . json_encode($payload, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "</code>");
goto SXHMJ;
tv_o8: S5hMK: goto aqK12;
iYbvE: if (empty($payload)) {
goto U9dAu;
}
goto xLgNJ;
bhtZF: return;
goto tv_o8;
aqK12: $this->notify("\320\xbd\320\xb5\320\xbe\xd0\xb1\xd1\200\xd0\260\xd0\261\320\xbe\xd1\x82\xd0\260\320\275\320\275\321\x8b\xd0\xb9 \xd0\262\xd0\xb5\320\261\321\x85\xd1\x83\xd0\xba \320\276\xd0\xbf\xd0\xbb\xd0\xb0\xd1\202\321\x8b:
<code>{$log}</code>");
goto Uw_J1;
SXHMJ: R2YdN: goto MiDGx;
VSQ1U: $payload = json_decode(file_get_contents("php://input"), true);
goto iYbvE;
tq2Gc: if (!$this->wallethash()) {
goto S5hMK;
}
goto VSQ1U;
Uw_J1: }
public function yoomoneyHook()
{
goto mjVvK;
J8nD0: sleep(2);
goto dUE6i;
FC2hb: $this->sd($_POST);
goto CAs55;
vPYqn: XmIHs: goto eIvbE;
dUE6i: $this->menu($t[4]);
goto vPYqn;
tk0sw: $secret = $this->getSetting("secret");
goto FPv0o;
FPv0o: $phrase = $this->getSetting("phrase");
goto HirZ5;
MmQVf: if (!(sha1(implode("&", $params)) == $_POST["sha1_hash"])) {
goto L1dX4;
}
goto Cb3Qx;
HirZ5: $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 MmQVf;
H1c6J: if (!($t[0] == $phrase)) {
goto aky7n;
}
goto X5peb;
Cb3Qx: $t = explode(":", $_POST["label"]);
goto H1c6J;
jeDjX: $this->yR2JN["chat"] = $this->yR2JN["from"] = $t[2];
goto BItfr;
eIvbE: aky7n: goto HOAPs;
X5peb: if (!((int) $t[1] > 0)) {
goto XmIHs;
}
goto LBs99;
LBs99: $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 Fiqra;
Fiqra: $this->notifyPay($t[1]);
goto jeDjX;
mjVvK: if (!$this->getSetting("yd")) {
goto pi3FE;
}
goto FC2hb;
HOAPs: L1dX4: goto iqUaX;
JWhP_: $this->update($t[2], $t[3], "\xd0\276\320\xb1\321\x80\xd0\260\320\xb1\320\xbe\321\202\xd0\xba\320\xb0 \xd0\xb7\xd0\xb0\320\xba\320\260\xd0\267\320\260");
goto J8nD0;
CAs55: pi3FE: goto tk0sw;
BItfr: $this->yR2JN["callback_id"] = $this->yR2JN["message_id"] = $t[3];
goto JWhP_;
iqUaX: }
public function walletLink($label, $desc, $price)
{
goto V2Is1;
j2I8F: return $res["data"]["payLink"] ?: false;
goto uM_3X;
xaqqG: $res = curl_exec($ch);
goto UBPs7;
Ab8v0: s8Tes: goto j2I8F;
XnWlR: 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->yR2JN["from"]]), CURLOPT_TIMEOUT => 5]);
goto xaqqG;
UBPs7: curl_close($ch);
goto L4d7I;
L4d7I: $res = json_decode($res, true);
goto Ab8v0;
V2Is1: $secret = $this->getSetting("@wallet");
goto mupM6;
paAuc: $ch = curl_init();
goto XnWlR;
mupM6: if (empty($secret)) {
goto s8Tes;
}
goto paAuc;
uM_3X: }
public function wallethash()
{
goto TT6PB;
IUBJB: return true;
goto oEk9J;
C8mOK: $hash = base64_encode(hash_hmac("sha256", $string, $secret, true));
goto IlzLR;
oujuo: $string = "{$_SERVER["REQUEST_METHOD"]}.{$_SERVER["REQUEST_URI"]}.{$_SERVER["HTTP_WALLETPAY_TIMESTAMP"]}." . base64_encode(file_get_contents("php://input"));
goto C8mOK;
TT6PB: $secret = $this->getSetting("@wallet");
goto oujuo;
YS0_l: return false;
goto P7XT4;
oEk9J: laLXW: goto YS0_l;
IlzLR: if (!($hash == $_SERVER["HTTP_WALLETPAY_SIGNATURE"])) {
goto laLXW;
}
goto IUBJB;
P7XT4: }
public function preCheckout()
{
goto Ct9Qi;
x6Prh: $this->request("answerPreCheckoutQuery", ["pre_checkout_query_id" => $this->yR2JN["pre_checkout_id"], "ok" => false, "error_message" => "\320\xb7\xd0\xb0\320\xba\320\260\320\xb7 \xd1\x83\xd0\xb6\320\265 \xd0\276\xd0\xbf\320\273\320\260\xd1\x87\320\265\xd0\xbd"]);
goto H3ULc;
Ct9Qi: if ($this->sql("select paid from orders where id=:id", [":id" => $this->yR2JN["invoice_payload"]], "one")) {
goto cukqH;
}
goto iq1vm;
MH5CJ: goto dnCom;
goto J4Nbo;
iq1vm: $this->request("answerPreCheckoutQuery", ["pre_checkout_query_id" => $this->yR2JN["pre_checkout_id"], "ok" => true]);
goto MH5CJ;
H3ULc: dnCom: goto Qdc7W;
J4Nbo: cukqH: goto x6Prh;
Qdc7W: }
public function action()
{
goto uhIqN;
uhIqN: switch (true) {
case !empty($this->yR2JN["file_id"]) && $this->evu8h && empty($this->yR2JN["reply"]): $this->send($this->yR2JN["chat"], "<code>~photo:{$this->yR2JN["file_id"]}~</code>", $this->yR2JN["message_id"]);
goto GPMyn;
case !empty($this->yR2JN["payment_payload"]): $this->telegramPayHook();
goto GPMyn;
case !empty($this->yR2JN["pre_checkout_id"]): $this->preCheckout();
goto GPMyn;
case !empty($this->yR2JN["reply"]) && !empty($_SESSION["reply"][$this->yR2JN["reply"]]): $this->reply();
goto GPMyn;
case !empty($this->yR2JN["pinned"]) || !empty($this->yR2JN["bot"]) || empty($this->yR2JN["message_id"]): goto GPMyn;
case empty($this->yR2JN["callback"]) && $this->evu8h && preg_match("~^/(setuser|setadmin)$~", $this->yR2JN["message"], $m): goto KiatK;
EGD6a: IBF5I: goto j_v80;
j_v80: YIQ46: goto KGSLW;
KGSLW: goto GPMyn;
goto bIVxw;
KiatK: switch ($m[1]) {
case "setadmin": goto FkKsp;
FkKsp: unset($_SESSION["cloak"]);
goto RRAxo;
RRAxo: $this->send($this->yR2JN["chat"], "\xd0\xbf\xd0\xb5\321\200\xd0\xb5\320\xba\320\273\xd1\216\xd1\207\320\270\xd0\273 \320\262 \321\x80\xd0\265\320\266\320\xb8\320\274 \xd0\260\320\xb4\xd0\xbc\320\270\320\275\320\260", $this->yR2JN["message_id"]);
goto jps2i;
jps2i: goto YIQ46;
goto ZVYtj;
ZVYtj: case "setuser": goto tLMq2;
tLMq2: $_SESSION["cloak"] = 1;
goto YfYaG;
YfYaG: $this->send($this->yR2JN["chat"], "\xd0\277\320\xb5\xd1\x80\320\xb5\320\272\320\xbb\xd1\x8e\xd1\x87\320\xb8\320\273 \320\262 \xd1\200\320\265\xd0\xb6\xd0\xb8\xd0\xbc \xd0\xbf\xd0\xbe\xd0\273\321\x8c\xd0\xb7\320\276\320\xb2\320\xb0\xd1\x82\320\xb5\xd0\273\xd1\x8f", $this->yR2JN["message_id"]);
goto Mip2W;
Mip2W: goto YIQ46;
goto EqOY4;
EqOY4: }
goto EGD6a;
bIVxw: case empty($this->yR2JN["callback"]) && preg_match("~^/(android|ios|macos|windows|help)$~", $this->yR2JN["message"], $m): goto HsIIr;
eA5Ig: goto GPMyn;
goto SJi66;
tC8Wc: BHps2: goto Q4cqr;
Q4cqr: oAB1h: goto eA5Ig;
HsIIr: switch ($m[1]) {
case "help": $this->previewMedia("hb");
goto oAB1h;
case "android": $this->previewMedia("ha");
goto oAB1h;
case "ios": $this->previewMedia("hi");
goto oAB1h;
case "macos": $this->previewMedia("hm");
goto oAB1h;
case "windows": $this->previewMedia("hw");
goto oAB1h;
}
goto tC8Wc;
SJi66: case preg_match("~^/(?P<method>[^\s]+)(?:\s(?P<args>.+))?$~", $this->yR2JN["callback"] ?: $this->yR2JN["message"], $m): goto HKYOQ;
niPCe: Vw_Nl: goto TPgMC;
nhVYD: $this-> {
$m["method"]}
(. . . explode("_", $m["args"]));
goto T2he2;
pX0pm: goto j_mga;
goto MciWw;
TPgMC: $this->send($this->yR2JN["chat"], "method {$m["method"]} not exists", $this->yR2JN["message_id"]);
goto pxdV6;
Qkxa7: $users_methods = ["start", "menu", "id", "serverUser", "buy", "testPeriod", "peer", "qrPeer", "createOrder", "order", "deleteOrder", "prolong", "payOrder", "sendReply", "helpMenu", "previewMedia", "amnezia"];
goto Tlhqm;
p3LaL: goto pLXW2;
goto niPCe;
nPywh: YCf1g: goto nhVYD;
pxdV6: pLXW2: goto Td1XC;
qm50l: goto j_mga;
goto tHbwM;
SKCmg: if (!empty($this->yR2JN["group"]) && !$this->evu8h) {
goto XlRCp;
}
goto cvuET;
Tlhqm: if (!$this->evu8h && !in_array($m["method"], $users_methods)) {
goto bVbTI;
}
goto SKCmg;
phY1g: goto pLXW2;
goto IszTz;
ePsbu: goto SGH2z;
goto nPywh;
vaupj: if (method_exists($this, $m["method"])) {
goto XFQ1e;
}
goto FnaMV;
cvuET: if (isset($m["args"])) {
goto YCf1g;
}
goto reFpo;
FnaMV: if (!empty($GLOBALS["debug"])) {
goto Vw_Nl;
}
goto phY1g;
T0T7w: return;
goto pX0pm;
Td1XC: goto GPMyn;
goto WKT78;
reFpo: $this-> {
$m["method"]}
();
goto ePsbu;
QnS7E: return;
goto SOpjP;
T2he2: SGH2z: goto qm50l;
tHbwM: bVbTI: goto T0T7w;
MciWw: XlRCp: goto QnS7E;
SOpjP: j_mga: goto p3LaL;
HKYOQ: $this->cloak();
goto vaupj;
IszTz: XFQ1e: goto Qkxa7;
WKT78: default: goto cv5yS;
FOa5g: xrG3c: goto Pnef9;
cv5yS: $this->cloak();
goto xqAhU;
ZUADm: N3d3r: goto FOa5g;
o44dy: if ($this->yR2JN["chat"] == $s) {
goto QQWil;
}
goto j0jWR;
j0jWR: if (!$this->evu8h) {
goto jXFEY;
}
goto MuCPE;
xqAhU: if (!($s = $this->getSetting("support"))) {
goto xrG3c;
}
goto o44dy;
Yxjsz: QQWil: goto LfsIj;
Jpp08: jXFEY: goto J2Lz5;
EfPJY: goto N3d3r;
goto Jpp08;
LfsIj: $this->feedback($s);
goto EfPJY;
MuCPE: goto N3d3r;
goto Yxjsz;
J2Lz5: $this->support($s);
goto ZUADm;
Pnef9: }
goto vOYPe;
vOYPe: Cz50S: goto x5meu;
x5meu: GPMyn: goto X4C3e;
X4C3e: }
public function cloak()
{
goto Lh086;
Lh086: if (empty($_SESSION["cloak"])) {
goto g6jV0;
}
goto DTfKz;
JSAiD: g6jV0: goto OOYT6;
DTfKz: $this->evu8h = false;
goto JSAiD;
OOYT6: }
public function feedback($chat)
{
goto mUqKg;
iQmrI: $this->send($user["tgid"], $this->yR2JN["message"], entities: $this->yR2JN["entities"]);
goto HvoU0;
k1705: snvW0: goto eSrdv;
WcKMO: VAzrl: goto GQvlS;
fu5rS: switch ($m[1]) {
case "ban": goto WE25q;
WE25q: $this->sql("update support set ban=1 where tgid=:tgid", [":tgid" => $user["tgid"]]);
goto h30cu;
K6rHp: goto ID_i_;
goto Z03xk;
h30cu: $this->send($this->yR2JN["chat"], "\xd0\267\320\xb0\320\xb1\320\xb0\xd0\275\320\xb8\xd0\xbb", $this->yR2JN["message_id"], forum: $this->yR2JN["forum"]);
goto K6rHp;
Z03xk: case "unban": goto HdYAA;
HG83e: goto ID_i_;
goto v6vt8;
m8IUt: $this->send($this->yR2JN["chat"], "\321\x80\320\260\320\267\xd0\xb1\xd0\xb0\xd0\275\xd0\270\xd0\xbb", $this->yR2JN["message_id"], forum: $this->yR2JN["forum"]);
goto HG83e;
HdYAA: $this->sql("update support set ban=0 where tgid=:tgid", [":tgid" => $user["tgid"]]);
goto m8IUt;
v6vt8: case "del": goto E7lb3;
E7lb3: $this->sql("delete from support where tgid=:tgid", [":tgid" => $user["tgid"]]);
goto LxHCo;
LxHCo: $this->request("deleteForumTopic", ["chat_id" => $chat, "message_thread_id" => $user["forum"]]);
goto tiG8M;
tiG8M: goto ID_i_;
goto mOePN;
mOePN: }
goto D5AVI;
KVZGL: ID_i_: goto eF_E6;
eF_E6: Ye0MM: goto NU3UJ;
TF7HB: if (preg_match("~^(ban|unban|del)$~", $this->yR2JN["message"], $m)) {
goto WKS5f;
}
goto vNdXx;
vNdXx: if ($this->yR2JN["photo"]) {
goto VAzrl;
}
goto iQmrI;
mgbJw: if (!$user) {
goto ozaKU;
}
goto TF7HB;
NU3UJ: ozaKU: goto bvBze;
eSrdv: goto Ye0MM;
goto Ouyw7;
GQvlS: $this->sendPhoto($user["tgid"], $this->yR2JN["photo"][0]["file_id"], $this->yR2JN["message"], entities: $this->yR2JN["entities"]);
goto k1705;
Ouyw7: WKS5f: goto fu5rS;
mUqKg: $user = $this->sql("select * from support where forum=:forum", [":forum" => $this->yR2JN["forum"]], "row");
goto mgbJw;
HvoU0: goto snvW0;
goto WcKMO;
D5AVI: cIgzX: goto KVZGL;
bvBze: }
public function support($chat)
{
goto ev8LT;
w10Qw: if ($this->yR2JN["photo"]) {
goto AbDFm;
}
goto frwJF;
JeabH: AbDFm: goto DhwpG;
bnvu4: $this->sql("insert into support (tgid, forum) values (:tgid, :forum)", [":tgid" => $this->yR2JN["from"], ":forum" => $r["result"]["message_thread_id"]]);
goto RUsF4;
DhwpG: $this->sendPhoto($chat, $this->yR2JN["photo"][0]["file_id"], $this->yR2JN["message"], entities: $this->yR2JN["entities"], forum: $user["forum"]);
goto wf1ry;
tttcX: if (!$r["result"]["message_thread_id"]) {
goto XJ6v4;
}
goto bnvu4;
RUsF4: $user = ["tgid" => $this->yR2JN["from"], "forum" => $r["result"]["message_thread_id"]];
goto iueao;
ev8LT: if ($user = $this->sql("select * from support where tgid=:tgid", [":tgid" => $this->yR2JN["from"]], "row")) {
goto XoyhJ;
}
goto R1ygc;
R1ygc: $r = $this->request("createForumTopic", ["chat_id" => $chat, "name" => "{$this->yR2JN["username"]} ({$this->yR2JN["from"]})"]);
goto tttcX;
EcLse: XoyhJ: goto ajUAx;
DMgvd: goto oXqRL;
goto JeabH;
Njs3o: tmZO2: goto shlbq;
wf1ry: oXqRL: goto Njs3o;
frwJF: $this->send($chat, $this->yR2JN["message"], entities: $this->yR2JN["entities"], forum: $user["forum"]);
goto DMgvd;
ajUAx: if (!($user && empty($user["ban"]))) {
goto tmZO2;
}
goto w10Qw;
iueao: XJ6v4: goto EcLse;
shlbq: }
public function notify($text)
{
$this->send($this->WzKlY["admin"], $text);
}
public function sendReply($message, $callback, . . . $args)
{
$r = $this->send($this->yR2JN["chat"], "@{$this->yR2JN["username"]} {$message}", $this->yR2JN["message_id"], reply: $message);
$_SESSION["reply"][$r["result"]["message_id"]] = ["start_message" => $this->yR2JN["message_id"], "start_callback" => $this->yR2JN["callback_id"], "callback" => $callback, "args" => $args];
}
public function reply()
{
goto DZs_B;
oryJF: $this-> {
$callback}
($this->yR2JN["message"], . . . $_SESSION["reply"][$this->yR2JN["reply"]]["args"]);
goto xAmTn;
JErZ3: $callback = $_SESSION["reply"][$this->yR2JN["reply"]]["callback"];
goto w8i1_;
DZs_B: $this->delete($this->yR2JN["chat"], $this->yR2JN["reply"]);
goto ScNgU;
ScNgU: $this->delete($this->yR2JN["chat"], $this->yR2JN["message_id"]);
goto JErZ3;
VXKMH: unset($_SESSION["reply"][$this->yR2JN["reply"]]);
goto gceW0;
w8i1_: $this->yR2JN["message_id"] = $this->yR2JN["callback_id"] = $_SESSION["reply"][$this->yR2JN["reply"]]["start_message"];
goto oryJF;
xAmTn: $this->answer($_SESSION["reply"][$this->yR2JN["reply"]]["start_message"]);
goto VXKMH;
gceW0: }
public function i18n(string $label) : string
{
return !empty($this->EtwxM[$label]["value"]) ? $this->EtwxM[$label]["value"] : $label;
}
public function id()
{
$this->send($this->yR2JN["chat"], "<code>{$this->yR2JN["from"]}</code>", $this->yR2JN["message_id"]);
}
public function chat()
{
$this->send($this->yR2JN["chat"], "<code>{$this->yR2JN["chat"]}</code>", $this->yR2JN["message_id"]);
}
public function db()
{
$this->send($this->yR2JN["chat"], $this->ue8lR, $this->yR2JN["message_id"]);
}
public function start($hash = false)
{
goto wEBe3;
BEJIj: $this->menu();
goto RFM9x;
wEBe3: if (!$hash) {
goto tZfmq;
}
goto Nz2Fc;
qWYCu: tZfmq: goto BEJIj;
Nz2Fc: return $this->activatePromo($hash);
goto qWYCu;
RFM9x: }
public function template(string $template, array $data)
{
goto BTeQn;
UT0IB: $t = $this->getSetting($template);
goto huPvF;
HS_Ia: uVxAZ: goto vNKoH;
vNKoH: xXI9f: goto UT0IB;
huPvF: return trim($tmp ? str_replace(array_keys($tmp), array_values($tmp), $t) : $t);
goto y5MOg;
BTeQn: if (empty($data)) {
goto xXI9f;
}
goto rJym_;
rJym_: foreach ($data as $k => $v) {
$tmp["~{$k}~"] = $v;
EDrn8: }
goto HS_Ia;
y5MOg: }
public function cron()
{
goto TOc6S;
zKbuN: foreach ($res as $k => $v) {
goto rBzUn;
FAEec: $v["# id"] = $v["id"];
goto GIP1G;
rBzUn: $v["life"] = $this->getTime(strtotime($v["life"]) - time());
goto tLCx1;
GIP1G: $this->send($v["tgid"], $this->template("ne", $v));
goto GFt3J;
GFt3J: $ids[] = $v["id"];
goto H0NBw;
tLCx1: $v["user"] = $this->getInfoUser($v["tgid"])["result"]["user"]["first_name"];
goto FAEec;
H0NBw: oi58T: goto Ggb8n;
Ggb8n: }
goto JnQkz;
JnQkz: DU3rl: goto zAB7o;
p53Co: C3O8a: goto ZiEon;
C2IPp: $this->backup();
goto TRANU;
tpKZ6: $res = $this->sql("select id,\xa tgid,\xa life
from clients
where expire_notify=0
and on_off=1
and life is not null\xa and (UNIX_TIMESTAMP(life) - UNIX_TIMESTAMP(now())) < :expire\xa and (UNIX_TIMESTAMP(life) - UNIX_TIMESTAMP(now())) > 0", [":expire" => $e]);
goto IHZUr;
pQePx: cMokQ: goto RbzgQ;
cZrnE: tS5dx: goto FyE7m;
rjlri: foreach ($res as $k => $v) {
goto vTvWq;
P5RXp: $refer = $this->sql("select * from clients where SUBSTRING(sha1(private), 1, 7)=:promo", [":promo" => $m[1]], "row");
goto TaSez;
G5FzO: $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 g0wZi;
DIKtA: $refer["bonus"] = $this->getTime($bonus);
goto yyEzb;
VcR0E: goto gw2tP;
goto O_HWi;
KFFc3: $this->send($refer["tgid"], $this->template("nb", $refer));
goto aekk6;
fHvgP: LVPEv: goto Q2vG9;
yyEzb: $this->sql("update clients set life=life + interval :bonus second where id=:id", [":id" => $refer["id"], ":bonus" => $bonus]);
goto KFFc3;
IX8Kd: $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 CLOdI;
eSo6O: vJ8pF: goto LIQTb;
ARrtg: $this->sql("update orders set created=:new_id, created_time=now() where id=:id", [":id" => $v["id"], ":new_id" => $id]);
goto CAZIL;
fZc1Y: kYpxV: goto VcR0E;
TQ3wQ: goto vJ8pF;
goto fZc1Y;
CAZIL: 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 LVPEv;
}
goto P5RXp;
vTvWq: if ($v["client"]) {
goto yVNdB;
}
goto SKA1r;
aekk6: pyIYf: goto fHvgP;
O_HWi: yVNdB: goto IX8Kd;
Q2vG9: wpj5h: goto mCAHI;
g0wZi: I4ILb: goto kH7Ag;
TaSez: if (!$refer) {
goto pyIYf;
}
goto DIKtA;
SKA1r: $i = 0;
goto eSo6O;
kH7Ag: $i++;
goto TQ3wQ;
LIQTb: if (!($i < $v["quant"])) {
goto kYpxV;
}
goto G5FzO;
CLOdI: gw2tP: goto ARrtg;
mCAHI: }
goto cZrnE;
mEVFg: foreach ($res as $k => $v) {
goto dvxgH;
Od3NS: CkRtF: goto sEFdJ;
mTzku: $r = $this->send($this->WzKlY["admin"], "\xd1\201\320\265\xd1\x80\320\xb2\320\265\321\200 {$name} \xd0\xbe\320\275\320\273\320\xb0\xd0\xb9\320\275", $v["notify"]);
goto e_ZE1;
e_ZE1: $this->sql("update servers set notify=:notify where id=:id", [":id" => $v["id"], ":notify" => 0]);
goto Od3NS;
dvxgH: $name = $v["name"] ?: "{$v["ip"]}:{$v["port"]}";
goto mTzku;
sEFdJ: }
goto pQePx;
Hp0qx: wklUj: goto jKESb;
YqFdJ: $res = $this->sql("select id, ip, port, name from servers where notify=0 and last_online < now() - interval (4 * sleep) second");
goto QNJSB;
FyE7m: Fyr_0: goto C2IPp;
ZiEon: if (!($e = $this->getSetting("expireNotify"))) {
goto TV5Hg;
}
goto tpKZ6;
PWD5A: if (!($this->expireCert() - time() < 3600 * 24 * 14)) {
goto wklUj;
}
goto QHtoB;
Dc8Fs: $res = $this->sql("select id, ip, port, name, notify from servers where notify!=0 and last_online >= now() - interval (sleep + sleep) second");
goto nWpfb;
QNJSB: if (empty($res)) {
goto OcJtU;
}
goto rgqPo;
Daswn: $res = $this->sql("select * from orders where (paid=1 or price=0) and created=0");
goto SG1cu;
K_0V9: brq7i: goto ohf2F;
nWpfb: if (empty($res)) {
goto oarZx;
}
goto mEVFg;
jKESb: kgY60: goto JUH49;
sKMxD: OcJtU: goto Dc8Fs;
zAB7o: if (empty($ids)) {
goto brq7i;
}
goto JCTWQ;
ohf2F: vDj3m: goto Jfcb2;
QHtoB: $ssl = $this->getTime($this->expireCert() - time());
goto KRP1h;
IXhvx: if (!true) {
goto frsyt;
}
goto EatRS;
LPB1g: wCH79: goto sKMxD;
rgqPo: foreach ($res as $k => $v) {
goto uJYKk;
eumEd: ES_3c: goto bvw1X;
uJYKk: $name = $v["name"] ?: "{$v["ip"]}:{$v["port"]}";
goto wP0JA;
wP0JA: $r = $this->send($this->WzKlY["admin"], "\xd1\201\xd0\265\xd1\200\xd0\262\xd0\xb5\321\200 {$name} \xd0\276\321\204\321\204\320\xbb\320\xb0\xd0\271\320\xbd");
goto TMVlP;
TMVlP: $this->sql("update servers set notify=:notify where id=:id", [":id" => $v["id"], ":notify" => $r["result"]["message_id"]]);
goto eumEd;
bvw1X: }
goto LPB1g;
JUH49: $this->xuI1p = time();
goto p53Co;
JZuL8: $ids = [];
goto zKbuN;
EatRS: if (!(empty($this->xuI1p) || $this->xuI1p + 3600 < time())) {
goto C3O8a;
}
goto Xpasj;
TRANU: sleep(1);
goto tHKCl;
KRP1h: $this->send($this->WzKlY["admin"], "ssl expire: {$ssl}");
goto Hp0qx;
FwTgm: $this->sql("update clients set on_off=0 where on_off=1 and life is not null and life < now()");
goto YqFdJ;
SG1cu: if (empty($res)) {
goto Fyr_0;
}
goto rjlri;
TOc6S: kqrAK: goto IXhvx;
Xpasj: if (!(file_exists($this->P13AN) && $this->expireCert())) {
goto kgY60;
}
goto PWD5A;
IHZUr: if (empty($res)) {
goto vDj3m;
}
goto JZuL8;
tHKCl: goto kqrAK;
goto VYw3S;
VYw3S: frsyt: goto d1k1b;
RbzgQ: oarZx: goto Daswn;
JCTWQ: $this->sql("update clients set expire_notify=1 where id in (" . implode(", ", $ids) . ")");
goto K_0V9;
Jfcb2: TV5Hg: goto FwTgm;
d1k1b: }
public function prolong($id, $menupage)
{
goto hmhQ3;
yUyJQ: goto lQPS4;
goto hFTzE;
hFTzE: sUn9Z: goto QgV2a;
b7Zgk: lqQd6: goto H72qf;
hmhQ3: $text[] = $this->template("us", []);
goto bXWzp;
WQoko: if (!$cl) {
goto VIwYD;
}
goto yVzq4;
AQna8: LK1Ck: goto eSHlW;
eSHlW: lQPS4: goto b7Zgk;
KNZwO: if (!empty($s["pay"])) {
goto sUn9Z;
}
goto hrBpf;
E3fNC: $text[] = "\xd0\275\xd0\265\xd1\x82 \320\264\xd0\276\321\x81\xd1\202\xd1\203\320\277\xd0\275\321\x8b\321\x85 \321\201\320\273\320\xbe\xd1\202\xd0\xbe\320\xb2 \xd0\xbd\xd0\260 \xd0\264\xd0\xb0\xd0\xbd\xd0\275\321\213\320\271 \xd0\xbc\xd0\276\320\274\320\xb5\xd0\275\321\202";
goto AQna8;
QgV2a: if (empty($p = $this->sql("select * from price where server=:server", [":server" => $cl["server"]]))) {
goto CXH8e;
}
goto zy_RN;
zy_RN: foreach ($p as $k => $v) {
$data[] = [["text" => $this->labelPrice($v, 1), "callback_data" => "/createOrder {$cl["server"]}_{$v["id"]}_{$menupage}_{$id}"]];
dSBPP: }
goto i8Ols;
Ady5m: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text), $data ?: false);
goto GdGQq;
yVzq4: if (!($s = $this->sql("select * from servers where id=:id and pay=1", [":id" => $cl["server"]], "row"))) {
goto lqQd6;
}
goto NQKZd;
xSrgo: goto LK1Ck;
goto BKYx8;
NQKZd: $name = $s["name"] ?: "{$s["ip"]}:{$s["port"]}";
goto KNZwO;
hrBpf: $text[] = "{$name} \xd0\275\xd0\265 \320\xb4\xd0\276\321\201\321\x82\xd1\x83\xd0\xbf\xd0\xb5\xd0\xbd \320\xbd\xd0\xb0 \320\264\xd0\xb0\320\275\320\xbd\xd1\x8b\xd0\xb9 \xd0\274\320\xbe\xd0\274\xd0\265\xd0\275\xd1\202";
goto yUyJQ;
NQnsS: if (empty($data)) {
goto CrLhi;
}
goto r0MXE;
r0MXE: $text[] = $name;
goto xSrgo;
ft48h: CXH8e: goto NQnsS;
i8Ols: eXhFt: goto ft48h;
gCBzx: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/peer {$id}_{$menupage}"]];
goto Ady5m;
H72qf: VIwYD: goto gCBzx;
BKYx8: CrLhi: goto E3fNC;
bXWzp: $cl = $this->sql("select * from clients where id=:id", [":id" => $id], "row");
goto WQoko;
GdGQq: }
public function buy($menupage = 0)
{
goto NYNW8;
tlZbb: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]];
goto cFbrM;
T9VnM: foreach ($s as $k => $v) {
$data[] = [["text" => $v["name"] ?: "{$v["ip"]}:{$v["port"]}", "callback_data" => "/serverUser {$v["id"]}_{$menupage}"]];
GfIQ1: }
goto knOW8;
cwXIg: if (empty($s)) {
goto xMgJm;
}
goto T9VnM;
l3FSP: $s = $this->sql("SELECT s.id,
s.name,\xa s.ip,\xa s.port\xa FROM servers s\xa WHERE s.pay=1\xa 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->yR2JN["from"]]);
goto cwXIg;
knOW8: ore41: goto Rdnrw;
Rdnrw: xMgJm: goto tlZbb;
cFbrM: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", $text), $data ?: false);
goto pV3ap;
NYNW8: $text[] = $this->template("ub", []);
goto l3FSP;
pV3ap: }
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 kc3XD;
wQSlB: foreach ($lang as $k => $v) {
$data[] = [["text" => $this->i18n("delete") . " {$v["param"]} = {$v["value"]}", "callback_data" => "/delLanguage {$v["id"]}_{$page}"]];
A3wXj: }
goto x6rXL;
YpNZ2: $lang = $this->sql("select * from language limit {$this->RuZdI} offset " . $page * $this->RuZdI);
goto wQSlB;
x6rXL: zXrEz: goto MjhZg;
MjhZg: if (!($count > $this->RuZdI)) {
goto IbLJk;
}
goto uiFdx;
kc3XD: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like phrase=translation_addLanguage_{$page}"]];
goto qla3s;
p3tzx: YZI66: goto oIolu;
oIolu: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto cU3Vp;
cU3Vp: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", []), $data ?: false);
goto fTGcm;
qla3s: if (!($count = $this->sql("select count(*) from language", view: "one"))) {
goto YZI66;
}
goto YpNZ2;
uiFdx: $data[] = $this->paginate($count, $this->RuZdI, $page, "/language ~page~");
goto cvaqY;
cvaqY: IbLJk: goto p3tzx;
fTGcm: }
public function addLanguage($text, $page = 0)
{
goto Z5qiU;
gmWhR: $this->send($this->yR2JN["chat"], "\xd0\275\xd0\265\320\xb2\xd0\265\321\x80\320\xbd\321\213\320\xb9 \xd1\x84\320\276\xd1\x80\320\xbc\xd0\260\xd1\x82");
goto K6T3w;
VJkaG: fyKkm: goto KGVzY;
Pxpn9: if (!(!empty(trim($param)) && !empty(trim($value)))) {
goto s3YIh;
}
goto lY8x8;
KGVzY: [$param, $value] = array_slice(explode("=", $text), 0, 2);
goto Pxpn9;
HbvUo: SpH88: goto g450V;
lY8x8: $this->sql("replace into language(param, value) values(:param, :value)", [":param" => trim($param) ?: '', ":value" => trim($value) ?: '']);
goto oIkAm;
g450V: $this->language($page);
goto auife;
oIkAm: $page = (int) ceil($this->sql("select count(*) from language", view: "one") / $this->RuZdI - 1);
goto ELylN;
ELylN: s3YIh: goto HbvUo;
Z5qiU: if (preg_match("~=~ius", $text)) {
goto fyKkm;
}
goto gmWhR;
K6T3w: goto SpH88;
goto VJkaG;
auife: }
public function delLanguage($id, $page)
{
$this->sql("delete from language where id=:id", [":id" => $id]);
$this->language($page);
}
public function addAdmin($text)
{
goto XGeuf;
XGeuf: if (!($admin = (int) trim($text))) {
goto vGP3S;
}
goto CBR8O;
m45iY: $this->admins();
goto Qaq8E;
lQEVP: $this->setSetting("admins", implode(",", $admins));
goto UeyCp;
MCrj0: $admins[] = $admin;
goto lQEVP;
CBR8O: $admins = $this->getAdmins();
goto MCrj0;
UeyCp: vGP3S: goto m45iY;
Qaq8E: }
public function delAdmin($admin)
{
goto s0HRV;
bOrZh: $this->admins();
goto NxMDN;
qV_te: $admins = array_diff($admins, [$admin]);
goto SbCdQ;
s0HRV: $admins = $this->getAdmins();
goto qV_te;
SbCdQ: $this->setSetting("admins", implode(",", $admins));
goto bOrZh;
NxMDN: }
public function admins()
{
goto Y41lZ;
mtxY1: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", []), $data ?: false);
goto gN6Au;
AxpDF: if (!($admins = $this->getSetting("admins"))) {
goto OgL7p;
}
goto um3NY;
Atk0D: OgL7p: goto SnToT;
um3NY: foreach (array_filter(explode(",", $admins)) as $k => $v) {
$data[] = [["text" => $this->i18n("delete") . ": {$v}", "callback_data" => "/delAdmin {$v}"]];
yi79D: }
goto Omb3b;
SnToT: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto mtxY1;
Y41lZ: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter id_addAdmin"]];
goto AxpDF;
Omb3b: a_qv9: goto Atk0D;
gN6Au: }
public function domain()
{
goto Ooi_9;
Ooi_9: $text = [];
goto nntVo;
zV1az: $data[] = [["text" => $this->i18n("setCertificate"), "callback_data" => "/certbot"]];
goto U1eL9;
U1eL9: eN4pl: goto DaJXg;
DaJXg: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto mZ1Xg;
sBvIR: $ssl = $this->getTime($this->expireCert() - time());
goto sFMpt;
mZ1Xg: $this->uors($text, $data);
goto vt8cb;
ZhaxZ: Faefv: goto zV1az;
nntVo: $data[] = [["text" => $this->i18n("setDomain"), "callback_data" => "/sendReply enter domain_setDomain"]];
goto zSAm6;
zSAm6: if (!($domain = $this->getSetting("domain"))) {
goto eN4pl;
}
goto driRG;
driRG: $text[] = "domain: " . $domain;
goto bC9wN;
sFMpt: $text[] = "ssl: " . $ssl;
goto ZhaxZ;
bC9wN: if (!(file_exists($this->P13AN) && $this->expireCert())) {
goto Faefv;
}
goto sBvIR;
vt8cb: }
public function setDomain($domain)
{
$this->setSetting("domain", trim($domain) ?: '');
$this->domain();
}
public function certbot()
{
goto C_atX;
srwnT: DRrbG: goto Th3jT;
ucL8Y: 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 EHKmx;
nU5ng: return $this->uors(implode("
", $out));
goto lfDAP;
Gymmh: $this->unitConf(curl_file_create($this->P13AN), key: "certificates/certbot");
goto BYTLU;
Th3jT: $this->domain();
goto kqNtR;
BYTLU: $this->unitConf(["bundle", "certbot"], "config/listeners/*:8443/tls/certificate");
goto srwnT;
lfDAP: goto DRrbG;
goto QNSLZ;
QNSLZ: I8Mz8: goto QwwVV;
EHKmx: if ($code == 0) {
goto I8Mz8;
}
goto nU5ng;
C_atX: $domain = $this->getSetting("domain");
goto ucL8Y;
QwwVV: file_put_contents($this->P13AN, file_get_contents("/etc/letsencrypt/live/{$domain}/fullchain.pem") . file_get_contents("/etc/letsencrypt/live/{$domain}/privkey.pem"));
goto Gymmh;
kqNtR: }
public function expireCert()
{
$c = openssl_x509_read(file_get_contents($this->P13AN));
return openssl_x509_parse($c)["validTo_time_t"] ?: false;
}
public function config()
{
goto xTNZO;
c0_D2: $data[] = [["text" => $this->i18n("setMenuDescription"), "callback_data" => "/setMenuDescription"], ["text" => $this->i18n("setTelegramMenuDescription"), "callback_data" => "/sendReply enter description_setTelegramMenuDescription"]];
goto gj1uh;
gj1uh: $data[] = [["text" => $this->i18n("setNotifyText"), "callback_data" => "/setNotifyText"], ["text" => $this->i18n("expireNotify") . ($expire ? ": " . $this->getTime($expire) : ''), "callback_data" => "/sendReply enter time_updateExpireNotify"]];
goto CWo_Q;
yt_r2: $data[] = [["text" => $this->i18n("language"), "callback_data" => "/language"], ["text" => $this->i18n("setchat") . ($chat ? ": {$chat}" : ''), "callback_data" => "/sendReply enter group_updateSetting_chat_" . __FUNCTION__]];
goto c0_D2;
vUUMH: $ssl = $this->getTime($this->expireCert() - time());
goto NjhI6;
AToeH: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpConfig"]];
goto RLq39;
aYjdV: $data[] = [["text" => $this->i18n("payments"), "callback_data" => "/payments"]];
goto yt_r2;
IeDAn: $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 r4rUh;
xTNZO: $chat = $this->getSetting("chat");
goto SFT5Y;
Ea1ww: $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 IeDAn;
r4rUh: $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 AToeH;
CWo_Q: $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 Ea1ww;
rmOym: $data[] = [["text" => $this->i18n("admins"), "callback_data" => "/admins"]];
goto sdq5q;
OhFTd: if (!(file_exists($this->P13AN) && $this->expireCert())) {
goto kiaV7;
}
goto vUUMH;
NjhI6: kiaV7: goto rmOym;
RLq39: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]];
goto HoRbS;
cYsOb: $domain = $this->getSetting("domain");
goto OhFTd;
sdq5q: $data[] = [["text" => $this->i18n("domain") . ($domain ? ": {$domain}" . ($ssl ? " (ssl: {$ssl})" : '') : ''), "callback_data" => "/domain"]];
goto aYjdV;
SFT5Y: $expire = $this->getSetting("expireNotify");
goto cYsOb;
HoRbS: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", []), $data ?: false);
goto Pgc3B;
Pgc3B: }
public function payments()
{
goto j4Gvw;
IoIDC: $wallet = $this->getSetting("@wallet");
goto L3Mtt;
BZyH5: $data[] = [["text" => $this->i18n("setTelegramPayToken") . ($token ? ": {$token}" : ''), "callback_data" => "/sendReply enter token_updateSetting_token_" . __FUNCTION__]];
goto c0iAt;
L3Mtt: $data[] = [["text" => $this->i18n("yoomoney"), "callback_data" => "/yoomoney"]];
goto Ni68I;
j4Gvw: $token = $this->getSetting("token");
goto IoIDC;
Ni68I: $data[] = [["text" => $this->i18n("wallet") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/wallet"]];
goto BZyH5;
c0iAt: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto LxjsS;
LxjsS: $this->uors(data: $data);
goto pQlRb;
pQlRb: }
public function nameConfig()
{
goto OCoyo;
aT5I0: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", $text ?: ["..."]), $data ?: false);
goto YDDEm;
jxZWw: $text[] = "~id~ \320\260\320\xb9\320\xb4\xd0\270 \xd0\xba\320\276\320\xbd\xd1\x84\320\xb8\xd0\263\xd0\260";
goto tjCaJ;
FwELb: $data[] = [["text" => $this->i18n("template"), "callback_data" => "/sendReply set template_updateSetting_temp_" . __FUNCTION__]];
goto YavBg;
OXde6: $data[] = [["text" => $this->i18n("replacement"), "callback_data" => "/sendReply send replacement symbol_updateSetting_repl_" . __FUNCTION__]];
goto FwELb;
OCoyo: $text[] = "~ip~ \320\xb4\xd0\276\xd0\274\320\xb5\xd0\275 \xd0\xb8\xd0\273\xd0\xb8 \320\xb0\xd0\271\xd0\xbf\320\270 \xd1\201\xd0\265\321\x80\xd0\xb2\320\xb5\xd1\x80\xd0\xb0";
goto Dw6o1;
tjCaJ: $text[] = "\321\x81\320\270\xd0\xbc\320\xb2\xd0\xbe\xd0\xbb \xd0\267\xd0\260\xd0\xbc\320\265\320\xbd\xd1\213 \320\275\xd0\xb5\321\201\xd1\202\xd0\xb0\xd0\275\xd0\xb4\320\xb0\xd1\x80\321\x82\320\275\xd0\xbe\xd0\xb3\320\276 \321\x81\320\xb8\320\xbc\320\xb2\320\276\xd0\273\320\xb0: {$this->getSetting("repl")}";
goto LFbuC;
wP2Fa: $text[] = "~bot~ \320\270\xd0\274\321\217 \320\xb1\xd0\xbe\xd1\x82\320\xb0";
goto jxZWw;
YavBg: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto aT5I0;
Dw6o1: $text[] = "~port~ \320\xbf\320\xbe\xd1\x80\321\x82";
goto wP2Fa;
LFbuC: $text[] = "\xd1\210\320\xb0\xd0\261\320\273\320\xbe\xd0\xbd: {$this->getSetting("temp")}";
goto OXde6;
YDDEm: }
public function logs()
{
goto vhcHD;
hoZ8Z: MNYhP: goto KLEUa;
vhcHD: foreach (scandir("/logs/") as $k => $v) {
goto uJgcH;
mnY7X: cCQyj: goto r7Qp6;
pd7wj: $size = filesize("/logs/{$v}");
goto fCzGY;
Ac4QN: jbPpx: goto mnY7X;
fCzGY: $data[] = [["text" => "{$v} ({$size})", "callback_data" => "/getLog {$k}"], ["text" => $this->i18n("clear"), "callback_data" => "/clearLog {$k}"]];
goto Ac4QN;
uJgcH: if (preg_match("~^\.~", $v)) {
goto jbPpx;
}
goto pd7wj;
r7Qp6: }
goto hoZ8Z;
KLEUa: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto CVgim;
CVgim: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", ["..."]), $data ?: false);
goto nCeAI;
nCeAI: }
public function getLog($i)
{
goto sFsaq;
sFsaq: foreach (scandir("/logs/") as $k => $v) {
goto lfS6x;
lfS6x: if (preg_match("~^\.~", $v)) {
goto Io7Iu;
}
goto qE2et;
EC0lF: LMiDT: goto B0Xzb;
qE2et: $logs[$k] = $v;
goto u6BdU;
u6BdU: Io7Iu: goto EC0lF;
B0Xzb: }
goto YQGio;
ikK3E: $this->sendFile($this->yR2JN["chat"], curl_file_create("/logs/{$logs[$i]}"));
goto SdZoE;
YQGio: yxmVM: goto ikK3E;
SdZoE: }
public function clearLog($i)
{
goto Leu9j;
LOIdt: $this->logs();
goto By2Xs;
Leu9j: foreach (scandir("/logs/") as $k => $v) {
goto RUNgS;
onlWs: goto gSrtN;
goto cYkM7;
OTO4B: rj4JC: goto tV2Fv;
lrSeQ: file_put_contents("/logs/{$v}", '');
goto onlWs;
cYkM7: AcSu7: goto OTO4B;
RUNgS: if (!($i == $k)) {
goto AcSu7;
}
goto lrSeQ;
tV2Fv: }
goto TGHVY;
TGHVY: gSrtN: goto LOIdt;
By2Xs: }
public function testCommands()
{
$this->send($this->yR2JN["chat"], var_export($this->getcommands(), true));
$this->send($this->yR2JN["chat"], var_export($this->getcommands(scope: ["type" => "chat", "chat_id" => $this->WzKlY["admin"]]), true));
}
public function helpConfig()
{
goto yoScG;
fqnBk: $text[] = "<b><i>{$this->i18n("setTelegramMenuDescription")}</i></b> - \320\275\xd0\260\321\x81\xd1\x82\xd1\x80\xd0\276\xd0\271\320\xba\320\260 \320\xbe\320\xbf\320\xb8\xd1\201\320\xb0\xd0\xbd\320\270\321\217 \320\272\xd0\xbe\320\xbc\xd0\260\xd0\xbd\320\xb4\321\213 /menu \xd0\262 \320\272\xd0\xbb\320\xb8\320\265\320\xbd\321\202\xd0\xb5 \xd1\x82\xd0\xb5\320\xbb\xd0\xb5\320\xb3\321\x80\xd0\xb0\xd0\274\320\260";
goto g5OBD;
vSkar: $text[] = "<b><i>{$this->i18n("setchat")}</i></b> - \321\x83\xd1\x81\xd1\x82\320\260\xd0\xbd\xd0\276\xd0\xb2\320\xb8\321\202\xd1\214 \xd1\202\320\265\320\272\321\x81\321\202(\321\x81\xd1\x81\321\x8b\xd0\xbb\320\272\320\xb0 \xd0\xbd\xd0\260\xd0\xbf\321\200\320\xb8\320\xbc\xd0\xb5\321\x80), \xd0\261\321\x83\xd0\264\320\xb5\xd1\202 \320\xbe\xd1\202\xd0\xbe\xd0\261\xd1\200\xd0\260\320\xb6\320\260\xd1\202\321\214\321\201\xd1\217 \320\262\xd0\xbe \xd0\xb2\321\201\320\265\xd1\205 \xd0\xbc\320\xb5\xd0\275\xd1\216 \320\xbf\320\276\320\xbb\xd1\x8c\320\xb7\xd0\xbe\xd0\xb2\xd0\260\xd1\202\320\265\xd0\273\321\217 \xd0\xbf\xd0\265\xd1\x80\320\xb2\xd0\276\320\xb9 \321\x81\xd1\x82\xd1\x80\xd0\xbe\xd1\x87\xd0\272\xd0\276\320\xb9";
goto vC2zw;
LjZFN: $text[] = "<b><i>{$this->i18n("export")}</i></b> - \xd0\265\320\xba\xd1\x81\xd0\277\320\276\xd1\x80\321\202 \320\xb2\xd1\201\xd0\265\xd1\x85 \xd0\275\320\260\321\201\xd1\x82\321\200\320\xbe\320\xb5\xd0\xba \xd0\262 \xd0\262\320\xb8\320\xb4\xd0\265 \xd0\xb4\320\xb0\320\274\xd0\xbf\320\260 \xd0\x91\xd0\x94";
goto PjkTT;
VnrjN: $text[] = "\xd0\x9e\xd0\277\320\270\xd1\201\320\260\xd0\xbd\320\xb8\320\265 \xd0\272\320\xbd\xd0\276\xd0\xbf\xd0\276\xd0\xba \321\x80\xd0\260\xd0\267\320\264\xd0\xb5\xd0\273\320\260:";
goto B_4Iz;
AavC0: $text[] = "<b><i>{$this->i18n("defaultDNS")}</i></b> - \321\x83\321\x81\xd1\202\320\260\xd0\275\320\xbe\xd0\262\320\272\320\xb0 \320\xb4\xd0\xb5\321\x84\xd0\276\320\273\321\x82\320\275\320\xbe\320\xb3\320\276 \xd0\264\320\xbd\xd1\x81, \xd0\277\320\276\320\264\xd1\x81\xd1\x82\320\260\320\262\320\xbb\xd1\x8f\xd0\265\321\202\321\x81\xd1\x8f \320\262 \320\xba\320\xbe\320\275\321\x84\320\270\320\xb3 \320\277\xd0\276\320\273\xd1\x8c\320\267\xd0\xbe\320\xb2\xd0\xb0\321\202\xd0\xb5\320\273\xd1\216";
goto K7Z2a;
K7Z2a: $text[] = "<b><i>{$this->i18n("announcement")}</i></b> - \321\200\xd0\xb0\xd1\201\321\x81\xd1\x8b\xd0\273\320\xba\320\260 \321\201\320\276\xd0\xbe\xd0\261\xd1\211\320\xb5\xd0\xbd\320\xb8\xd1\217 \320\xb2\321\201\320\265\320\274 \320\272\320\273\320\xb8\320\265\xd0\275\321\x82\xd0\xb0\320\xbc \xd0\xb1\320\xbe\321\202\xd0\xb0";
goto w9Xa3;
vC2zw: $text[] = "<b><i>{$this->i18n("yoomoney")}</i></b> - \320\275\xd0\xb0\321\x81\xd1\x82\321\200\xd0\xbe\320\271\320\xba\320\xb0 \321\x80\320\xb5\xd0\272\320\xb2\xd0\270\320\267\320\270\321\x82\xd0\xbe\xd0\xb2 yoomoney(\320\264\xd0\xbe\320\275\xd0\xb0\xd1\202)";
goto Y0oiP;
Gul5m: $text[] = "<b><i>{$this->i18n("debug")}</i></b> - \xd1\200\320\265\320\266\320\270\320\xbc \xd0\276\321\202\xd0\xbb\xd0\xb0\320\xb4\xd0\xba\320\xb8(\320\xb4\xd0\273\xd1\x8f \321\x80\320\xb0\320\267\xd1\x80\320\260\320\xb1\320\xbe\xd1\202\xd1\x87\xd0\xb8\xd0\272\320\260)";
goto ptbqE;
yoScG: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto VnrjN;
B_4Iz: $text[] = "<b><i>{$this->i18n("admins")}</i></b> - \320\xb4\xd0\276\320\xb1\320\xb0\xd0\xb2\xd0\270\xd1\x82\xd1\x8c/\321\x83\320\xb4\xd0\260\xd0\273\xd0\xb8\xd1\x82\xd1\x8c \xd0\xb4\320\xbe\320\xbf\xd0\xbe\xd0\xbb\320\275\xd0\270\321\202\xd0\265\320\xbb\321\214\320\275\321\213\321\205 \320\xb0\320\264\320\274\xd0\270\320\275\320\xbe\xd0\262";
goto T9tVN;
E_RQK: $text[] = "<b><i>{$this->i18n("expireNotify")}</i></b> - \xd0\xb7\xd0\xb0\xd0\xb4\xd0\xb0\xd1\x82\321\214 \320\xb2\321\200\xd0\xb5\320\274\321\x8f \xd0\267\xd0\260 \xd0\xba\xd0\xbe\321\202\xd0\276\321\200\xd0\276\320\265 \320\261\xd0\276\321\202 \320\261\xd1\203\320\xb4\320\265\321\202 \321\x83\320\xb2\320\265\xd0\264\xd0\xbe\xd0\xbc\320\273\321\217\321\202\321\x8c \320\xbf\320\xbe\xd0\xbb\321\214\xd0\xb7\320\xbe\320\262\320\260\xd1\202\xd0\xb5\320\xbb\321\217 \321\x87\xd1\x82\xd0\276 \xd0\272\320\xbe\xd0\275\xd1\204\xd0\xb8\320\263 \321\x81\xd0\xba\320\xbe\321\200\320\276 \xd0\xbf\321\x80\xd0\265\xd0\272\321\x80\xd0\260\xd1\202\320\270\321\202 \xd1\200\xd0\xb0\320\xb1\320\276\321\x82\320\xb0\321\202\321\214";
goto LjZFN;
ptbqE: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text ?: []), $data ?: false);
goto qb0td;
Y0oiP: $text[] = "<b><i>{$this->i18n("setTelegramPayToken")}</i></b> - \xd1\x83\xd1\x81\321\202\xd0\xb0\xd0\275\320\276\xd0\262\320\xba\320\xb0 \xd1\202\320\xbe\320\xba\xd0\265\xd0\275\320\260 \xd0\264\320\273\xd1\x8f \321\x82\xd0\xb5\xd0\xbb\320\xb5\xd0\263\xd1\200\xd0\xb0\xd0\274\xd0\xbf\321\215\xd0\xb9, \321\202\320\xbe\320\xba\xd0\xb5\320\xbd \320\261\321\200\320\260\xd1\x82\xd1\x8c \xd0\xb2 \xd0\xbd\320\260\321\201\xd1\x82\321\x80\320\xbe\320\271\320\xba\xd0\260\xd1\205 \320\xb1\320\xbe\321\202\xd0\260 \xd1\203 @BotFather";
goto Yb7Pa;
w9Xa3: $text[] = "<b><i>{$this->i18n("backup")}</i></b> - \xd0\xbd\320\260\321\x81\xd1\202\321\200\xd0\xbe\xd0\271\xd0\xba\320\260 \320\261\xd1\x8d\xd0\xba\320\260\xd0\277\xd0\260 \xd0\x91\320\224 \xd0\xbf\320\xbe \xd1\x80\xd0\260\xd1\x81\320\277\320\270\321\x81\320\xb0\xd0\xbd\xd0\xb8\xd1\216";
goto Gul5m;
g5OBD: $text[] = "<b><i>{$this->i18n("setNotifyText")}</i></b> - \xd0\xbd\xd0\260\321\201\321\202\xd1\x80\320\276\320\xb9\xd0\xba\xd0\260 \xd1\202\320\xb5\xd0\272\xd1\x81\321\202\xd0\260 \321\x83\xd0\262\xd0\xb5\xd0\264\320\276\xd0\xbc\320\xbb\xd0\xb5\xd0\xbd\xd0\xb8\320\271 \xd0\xbf\320\xbe\320\xbb\xd1\214\320\xb7\320\276\xd0\xb2\xd0\260\321\x82\xd0\265\320\xbb\xd1\x8e \xd0\xbf\321\200\xd0\270 \321\x81\320\xbe\xd0\261\321\213\321\x82\320\xb8\321\x8f\321\x85 \xd1\201\xd0\276\320\267\xd0\xb4\xd0\260\320\xbd\320\xb8\xd1\x8f/\321\203\xd0\264\xd0\260\xd0\273\xd0\xb5\xd0\275\320\270\xd1\x8f/\xd0\277\321\x80\xd0\xbe\xd0\264\xd0\273\xd0\xb5\xd0\275\320\270\xd1\217 \320\270 \xd1\203\320\262\xd0\xb5\320\xb4\320\xbe\xd0\274\320\xbb\xd0\xb5\320\275\320\xb8\321\217 \320\276 \320\xb7\320\xb0\xd0\272\320\260\xd0\xbd\xd1\x87\xd0\270\xd0\xb2\xd0\260\321\216\xd1\211\320\265\xd0\xbc\xd1\201\xd1\217 \321\x81\xd1\200\xd0\276\xd0\xba\xd0\xb5 \320\xba\xd0\xbe\xd0\xbd\321\204\320\270\320\263\320\260";
goto E_RQK;
T9tVN: $text[] = "<b><i>{$this->i18n("language")}</i></b> - \321\x83\xd1\201\xd1\202\xd0\xb0\320\275\xd0\276\xd0\xb2\xd0\xb8\321\202\xd1\214 \320\277\320\265\321\x80\320\xb5\320\xb2\xd0\xbe\320\xb4 \xd0\xba\xd0\275\xd0\xbe\xd0\xbf\320\272\320\xb8";
goto vSkar;
Yb7Pa: $text[] = "<b><i>{$this->i18n("setMenuDescription")}</i></b> - \xd0\275\xd0\260\xd1\x81\321\202\321\x80\xd0\xbe\xd0\271\xd0\272\320\260 \321\x82\320\265\320\xba\321\x81\321\202\320\xb0 \320\274\320\265\xd0\275\321\216\xd1\x88\xd0\xb5\xd0\xba \320\xbf\xd0\xbe\320\273\321\x8c\320\xb7\320\276\xd0\xb2\320\260\xd1\x82\xd0\xb5\320\273\321\x8f";
goto fqnBk;
PjkTT: $text[] = "<b><i>{$this->i18n("import")}</i></b> - \xd0\xb8\320\274\320\277\xd0\276\321\x80\xd1\x82 sql";
goto AavC0;
qb0td: }
public function helpConfigServer($id, $serverpage, $clientpage)
{
goto LtaV9;
RuuzZ: $text[] = "<b><i>{$this->i18n("sleepServer")}</i></b> - \320\xbf\xd0\xb5\xd1\200\xd0\xb8\xd0\xbe\320\264 \xd1\x81\xd0\270\320\275\xd1\x85\xd1\x80\xd0\276\320\xbd\320\270\xd0\267\320\xb0\321\x86\xd0\270\xd0\xb8 \xd0\275\xd0\276\320\xb4\321\x8b \xd1\201 \320\261\xd0\xb0\xd1\210\320\275\xd0\265\320\271, \320\262 \321\201\320\xb5\xd0\272\321\203\xd0\xbd\xd0\xb4\320\260\xd1\x85";
goto ben1k;
wk_q8: $text[] = "\320\236\xd0\xbf\320\xb8\321\x81\320\xb0\320\xbd\320\xb8\320\xb5 \xd0\272\320\275\xd0\xbe\320\xbf\xd0\276\xd0\xba \xd1\200\320\260\xd0\xb7\xd0\264\320\xb5\320\273\xd0\xb0:";
goto wHFGT;
DgJUc: $text[] = "<b><i>{$this->i18n("cellsServer")}</i></b> - \320\xbc\xd0\xb0\xd0\272\xd1\201\xd0\xb8\320\274\320\xb0\320\xbb\321\214\320\xbd\xd0\276\xd0\xb5 \320\xba\xd0\xbe\320\273-\xd0\262\xd0\276 \xd0\xba\xd0\276\xd0\xbd\321\x84\xd0\270\xd0\xb3\320\xbe\320\xb2 \320\264\xd0\276\xd1\201\321\x82\xd1\203\xd0\277\320\275\321\213\xd1\205 \320\xba \xd0\277\320\276\320\272\xd1\203\320\xbf\320\272\320\xb5";
goto UV0aS;
NmOk2: $text[] = "<b><i>{$this->i18n("switchPay")}</i></b> - \xd0\xb2\xd0\272\xd0\xbb\321\216\321\x87\320\xb8\xd1\x82\321\214/\xd0\276\321\202\xd0\xba\320\xbb\321\x8e\321\207\320\270\xd1\x82\321\x8c \320\xbe\320\xbf\xd0\xbb\320\260\321\x82\xd1\203 \xd0\xbd\320\xb0 \xd0\275\xd0\xbe\320\264\320\xb5 \xd0\xb4\xd0\xbb\xd1\217 \xd0\xbf\320\xbe\320\273\321\x8c\320\xb7\320\xbe\xd0\262\xd0\260\xd1\x82\320\265\320\xbb\320\xb5\xd0\xb9";
goto qiXDe;
PA5wW: $text[] = "<b><i>{$this->i18n("price")}</i></b> - \xd1\x83\321\201\xd1\202\xd0\xb0\320\xbd\xd0\276\320\xb2\320\xba\xd0\260 \xd1\206\xd0\xb5\320\275 \320\xb4\xd0\xbb\321\x8f \xd0\275\320\276\320\xb4\321\213";
goto hXEHk;
JQ8kU: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
\xa", $text ?: []), $data ?: false);
goto c2Wgq;
XKEZe: $text[] = "<b><i>{$this->i18n("nameServer")}</i></b> - \320\275\320\260\xd1\x81\321\x82\xd1\200\xd0\276\320\xb9\320\xba\320\xb0 \320\270\320\274\320\265\xd0\275\320\270 \xd0\xbd\320\xbe\320\xb4\321\213, \xd0\276\321\202\320\276\xd0\xb1\xd1\x80\320\xb0\xd0\266\xd0\260\320\265\321\x82\321\x81\xd1\217 \321\202\xd0\260\xd0\272\xd0\266\320\265 \320\270 \xd0\264\320\273\321\217 \xd0\277\320\xbe\xd0\273\xd1\x8c\320\xb7\xd0\xbe\xd0\262\320\260\321\x82\xd0\xb5\320\273\321\217 \xd0\277\321\200\xd0\xb8 \xd0\262\321\x8b\xd0\261\320\xbe\321\x80\xd0\xb5 \321\201\320\265\xd1\x80\320\xb2\320\xb5\321\200\xd0\260";
goto PA5wW;
wHFGT: $text[] = "<b><i>{$this->i18n("setDomain")}</i></b> - \321\x83\xd1\x81\321\202\xd0\xb0\xd0\275\320\276\320\262\320\270\321\x82\321\x8c \320\xb4\320\276\320\274\xd0\265\320\xbd, \320\xb1\xd1\203\xd0\xb4\xd0\xb5\xd1\x82 \xd0\277\321\x80\320\276\320\xbf\xd0\xb8\xd1\201\xd1\x8b\xd0\262\320\260\321\x82\xd1\214\xd1\x81\321\x8f \320\262 \xd0\272\xd0\xbe\xd0\275\321\x84\320\270\320\xb3\320\265 \320\262\xd0\xbc\320\xb5\xd1\201\321\202\320\xbe \xd0\260\xd0\xb9\320\xbf\320\xb8 \320\262 \xd0\xb3\xd1\200\320\xb0\321\x84\xd0\xb5 Endpoint. \xd0\x95\321\x81\320\273\xd0\xb8 \320\xbd\xd0\276\320\xb4\320\260 \320\xbf\xd0\265\321\200\xd0\xb5\xd0\xb5\xd0\264\xd0\xb5\xd1\202 \320\275\320\xb0 \320\264\xd1\x80\321\x83\xd0\263\xd0\276\xd0\xb9 \xd0\260\320\xb9\xd0\xbf\320\xb8, \xd1\x82\xd0\276 \xd0\xbd\xd0\xb5 \320\xbd\321\x83\xd0\xb6\320\275\320\xbe \320\xb1\xd1\x83\320\xb4\320\265\321\202 \320\267\xd0\xb0\xd0\xbd\320\276\xd0\262\320\276 \321\x80\320\260\xd0\xb7\320\264\xd0\260\xd0\xb2\xd0\xb0\321\202\321\x8c \xd0\272\xd0\276\xd0\275\xd1\x84\320\xb8\xd0\xb3\320\xb8, \xd0\xb4\320\276\321\x81\xd1\202\320\xb0\xd1\202\xd0\xbe\321\207\320\xbd\xd0\276 \320\xb1\xd1\203\320\264\xd0\xb5\xd1\202 \xd0\xbf\320\276\xd0\xbc\320\xb5\320\275\321\x8f\321\x82\321\x8c \320\x90-\xd0\xb7\xd0\260\320\277\320\xb8\xd1\x81\321\x8c \xd0\264\320\xbe\xd0\274\xd0\xb5\xd0\xbd\321\x83";
goto gy6Rk;
PfGUs: $text[] = "<b><i>{$this->i18n("torrent")}</i></b> - \xd0\262\xd0\272\xd0\xbb\321\x8e\321\x87\xd0\265\320\275\xd0\270\xd0\xb5/\xd0\xbe\xd1\x82\xd0\xba\xd0\273\321\x8e\321\207\320\265\320\275\320\270\320\xb5 \xd1\x82\xd0\xbe\321\x80\321\200\320\xb5\320\275\xd1\202\320\276\xd0\262 \320\xb4\xd0\273\xd1\217 \xd0\xbd\320\276\320\xb4\xd1\x8b (\xd0\xbe\xd1\x82\320\272\xd0\xbb\321\216\xd1\207\320\260\320\265\xd1\x82 \320\xbd\320\xb5 100%)";
goto DgJUc;
gy6Rk: $text[] = "<b><i>{$this->i18n("exportServer")}</i></b> - \xd0\xb2\321\213\320\264\xd0\xb0\320\265\321\x82 \xd0\xb0\xd1\200\xd1\x85\xd0\xb8\xd0\xb2 \320\275\xd0\276\320\264\xd1\x8b \321\201 \321\203\320\266\xd0\xb5 \320\275\xd0\xb0\321\x81\321\x82\321\x80\320\xbe\xd0\265\xd0\275\xd0\xbd\xd1\213\xd0\xbc wg0.conf, \320\xbd\320\265\320\xbe\xd0\xb1\xd1\205\xd0\276\xd0\264\320\xb8\320\xbc\xd0\xbe \320\265\xd1\x81\320\xbb\320\270 \xd0\275\xd0\xbe\320\264\320\xb0 \320\xbf\xd0\xb5\321\x80\320\265\320\265\320\267\320\xb6\xd0\260\320\265\321\x82 \xd0\275\xd0\260 \xd0\264\321\x80\xd1\x83\xd0\xb3\320\276\xd0\271 \321\201\xd0\xb5\xd1\x80\xd0\xb2\xd0\260\xd0\272(\xd0\xb0\xd0\xb9\xd0\xbf\xd0\xb8)";
goto XKEZe;
UV0aS: $text[] = "<b><i>{$this->i18n("limitsServer")}</i></b> - \320\xbc\320\260\xd0\xba\xd1\x81\320\270\xd0\274\320\xb0\xd0\xbb\321\x8c\320\275\320\276\xd0\265 \xd0\xba\320\276\320\273-\320\xb2\xd0\276 \xd0\xba\xd0\xbe\xd0\275\321\204\320\270\xd0\263\xd0\276\xd0\xb2 \xd0\275\320\260 \320\277\320\276\320\273\321\x8c\xd0\xb7\320\276\320\xb2\320\xb0\321\202\320\265\320\273\321\x8f";
goto RuuzZ;
hXEHk: $text[] = "<b><i>{$this->i18n("testTime")}</i></b> - \xd1\x83\321\201\xd1\202\320\xb0\320\275\320\xbe\xd0\xb2\xd0\272\xd0\260 \xd0\262\321\200\xd0\xb5\320\xbc\320\xb5\xd0\275\320\xb8 \320\264\320\xb5\xd0\xb9\321\x81\xd1\202\320\xb2\xd0\xb8\xd1\x8f \xd1\x82\320\265\xd1\x81\321\202\xd0\xbe\xd0\xb2\320\276\xd0\xb3\320\276 \320\xba\xd0\xbe\320\xbd\xd1\204\xd0\270\xd0\xb3\xd0\260";
goto PfGUs;
LtaV9: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]];
goto wk_q8;
ben1k: $text[] = "<b><i>{$this->i18n("ping")}</i></b> - \321\201\xd0\276\320\xb7\xd0\264\xd0\260\xd1\201\321\202 \xd0\267\xd0\xb0\xd0\277\xd0\xb8\xd1\201\xd1\214, \320\xbd\320\xb0 \320\xba\xd0\xbe\321\202\320\xbe\321\x80\xd1\x83\xd1\216 \320\xb4\320\xbe\320\273\xd0\266\320\275\xd0\xb0 \320\276\xd1\202\xd1\x80\320\xb5\xd0\260\320\xb3\xd0\270\321\200\320\276\320\262\xd0\260\321\x82\xd1\214 \320\275\320\276\xd0\264\xd0\xb0 \xd0\262 \321\200\320\260\xd0\274\320\xba\320\260\xd1\x85 \xd1\201\xd0\270\xd0\275\321\205\xd1\200\xd0\276\320\xbd\xd0\270\320\267\xd0\260\321\206\xd0\270\xd0\270";
goto NmOk2;
qiXDe: $text[] = "<b><i>{$this->i18n("delete")}</i></b> - \xd1\203\320\264\xd0\xb0\xd0\xbb\xd0\xb8\xd1\x82\xd1\x8c \320\xbd\xd0\xbe\320\264\321\203. \xd0\265\321\x81\320\273\xd0\270 \320\275\xd0\276\320\264\xd0\xb0 \xd1\x80\320\xb0\320\xb1\320\276\xd1\207\320\xb0\xd1\217, \321\x82\320\xbe \xd0\xbe\xd0\xbd\xd0\260 \xd0\xbf\xd0\xb5\321\200\320\xb5\xd0\267\320\260\320\xbf\xd0\xb8\321\210\xd0\265\xd1\x82 \321\201\320\265\xd0\xb1\321\217 \320\xb2 \320\xb1\320\260\xd1\x88\320\xbd\xd0\265";
goto JQ8kU;
c2Wgq: }
public function setBackup($text)
{
goto EZUWV;
ADZH4: if (!($pin = explode("/", $this->getSetting("pinbackup"))[0])) {
goto hh0y0;
}
goto fvEPC;
Z7d08: $this->setSetting("pinbackup", '');
goto waYqG;
n2u1_: $start = $m[2];
goto W2YCp;
jmvC3: $this->setSetting("backup", '');
goto Zs1SL;
hB8nU: yaamU: goto ofmCw;
EZUWV: $text = trim($text);
goto NV6CR;
W2YCp: $this->setSetting("backup", $text);
goto qm0Jt;
fvEPC: $this->unpin($this->WzKlY["admin"], $pin);
goto Z7d08;
iEJBg: Og3g_: goto jmvC3;
ofmCw: $period = $m[1];
goto n2u1_;
qm0Jt: D63Z3: goto ADZH4;
waYqG: hh0y0: goto RPsUo;
oxejn: goto D63Z3;
goto iEJBg;
xou4n: if (preg_match("~(\d+\s\w+)(?:\s+)?/(?:\s+)?(\d{2}:\d{2})~", $text, $m)) {
goto yaamU;
}
goto oxejn;
NV6CR: if (empty($text)) {
goto Og3g_;
}
goto xou4n;
RPsUo: $this->config();
goto kKfXA;
Zs1SL: goto D63Z3;
goto hB8nU;
kKfXA: }
public function backup()
{
goto p9Hkk;
gLBfo: TTkHV: goto eWgp8;
zhq3g: $period = strtotime($m[1]) - $c;
goto hFS6b;
hXrXy: nCIMi: goto G4vj1;
Q2_MG: if (!($c - $time >= $period)) {
goto nCIMi;
}
goto wFYcf;
eWgp8: $this->pinBackup();
goto L2Mrp;
r3jhH: [$pin, $time] = explode("/", $last);
goto Q2_MG;
hFS6b: $start = strtotime($m[2]);
goto eXFlh;
G4vj1: goto plo_Y;
goto gLBfo;
SVvxp: $time = $this->getSetting("backup");
goto Jjo_6;
H5yKr: if ($last) {
goto OeFNt;
}
goto CE32C;
CE32C: if ($c - $start > 0 && $c - $start < 10) {
goto TTkHV;
}
goto c8fvI;
nGNq1: $this->pinBackup();
goto SB0Q8;
vEaI6: preg_match("~(\d+\s\w+)(?:\s+)?/(?:\s+)?(\d{2}:\d{2})~", $time, $m);
goto zhq3g;
eXFlh: $last = $this->getSetting("pinbackup");
goto H5yKr;
wFYcf: $this->unpin($this->WzKlY["admin"], $pin);
goto nGNq1;
SS1GE: OeFNt: goto r3jhH;
X2oHa: e_PDa: goto ZZObC;
SB0Q8: return;
goto hXrXy;
Jjo_6: if (!$time) {
goto e_PDa;
}
goto vEaI6;
p9Hkk: $c = time();
goto SVvxp;
L2Mrp: plo_Y: goto X2oHa;
c8fvI: goto plo_Y;
goto SS1GE;
ZZObC: }
public function pinBackup()
{
goto vzFSr;
ohs35: $this->pin($this->WzKlY["admin"], $pin);
goto BzNG0;
fw3UA: $this->setSetting("pinbackup", "{$pin}/" . time());
goto ohs35;
vzFSr: $pin = $this->export()["result"]["message_id"];
goto fw3UA;
BzNG0: }
public function announcement($text)
{
goto MT4SN;
BKIzw: yIshd: goto v4ILn;
VIlQX: foreach ($cl as $k => $v) {
goto sEA3M;
sN2Cj: $this->sendPhoto($v, $this->yR2JN["photo"][0]["file_id"], $text, entities: $this->yR2JN["entities"]);
goto mYeCL;
qpHnG: CMaqn: goto sN2Cj;
gYbLR: $this->send($v, $text, entities: $this->yR2JN["entities"]);
goto CrCn1;
sEA3M: if ($this->yR2JN["photo"]) {
goto CMaqn;
}
goto gYbLR;
mYeCL: jRTnx: goto oHBIf;
CrCn1: goto jRTnx;
goto qpHnG;
oHBIf: Z8z4Z: goto FkIhw;
FkIhw: }
goto BKIzw;
MT4SN: $cl = array_merge([$this->WzKlY["admin"]], $this->sql("select tgid from clients union select tgid from orders", view: "column") ?: []);
goto VIlQX;
v4ILn: }
public function setTelegramMenuDescription($text)
{
goto Y0AMG;
j2uLf: $this->setcommands(["scope" => $scope, "commands" => $c]);
goto xMi3I;
uq3US: $scope = ["type" => "chat", "chat_id" => $this->WzKlY["admin"]];
goto Q2qdr;
Q2qdr: $c = $this->getcommands(scope: $scope);
goto QriWr;
QriWr: foreach ($c as $k => $v) {
goto P96qw;
P96qw: if (!($v["command"] == "menu")) {
goto SzD0g;
}
goto HsZii;
HsZii: $c[$k]["description"] = $text;
goto RTEJC;
P2b4M: Igfml: goto CuNcV;
RTEJC: SzD0g: goto P2b4M;
CuNcV: }
goto n27tN;
xMi3I: xOHaA: goto DOntn;
HrStU: $c = $this->getcommands();
goto bITGs;
tRa98: $this->setSetting("tlgrmmenu", $text);
goto HrStU;
ISU66: if (empty($text)) {
goto xOHaA;
}
goto tRa98;
DOntn: $this->config();
goto ZrEPF;
Y0AMG: $text = trim($text);
goto ISU66;
R_B3a: $this->setcommands(["commands" => $c]);
goto uq3US;
n27tN: YAJwS: goto j2uLf;
bITGs: foreach ($c as $k => $v) {
goto JfMrQ;
Zddw3: zh1fQ: goto fbzMl;
vbFvr: $c[$k]["description"] = $text;
goto EFNeg;
JfMrQ: if (!($v["command"] == "menu")) {
goto EYbIb;
}
goto vbFvr;
EFNeg: EYbIb: goto Zddw3;
fbzMl: }
goto n6Ufe;
n6Ufe: kdtPw: goto R_B3a;
ZrEPF: }
public function helpNotify()
{
goto mBw31;
jyLRL: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text ?: []), $data ?: false);
goto v_GUE;
mBw31: $text[] = "<b><i>setNotifyExpire</i></b> - \321\203\xd0\xb2\xd0\xb5\320\264\xd0\276\320\xbc\320\xbb\320\265\xd0\xbd\xd0\270\xd0\xb5 \320\276\xd1\202\xd0\277\xd1\200\320\260\320\xb2\xd0\273\xd1\x8f\xd1\216\321\211\xd0\xb5\xd0\265\xd1\201\321\217 \320\xb7\xd0\260 N \xd0\xb2\321\200\xd0\265\xd0\xbc\xd0\xb5\xd0\xbd\xd0\270 \xd0\xb4\xd0\276 \xd0\276\320\xba\xd0\xbe\xd0\275\xd1\207\320\260\320\xbd\320\xb8\xd1\217 \xd1\x81\321\x80\xd0\xbe\xd0\272\320\xb0 \320\xba\xd0\xbe\xd0\275\xd1\204\320\xb8\xd0\263\320\xb0\xa<b><i>setNotifyCreate</i></b> - \xd1\203\320\262\xd0\265\xd0\264\xd0\xbe\xd0\274\320\273\320\xb5\320\275\xd0\xb8\xd0\xb5 \320\276\321\202\320\xbf\321\200\xd0\260\320\xb2\xd0\273\xd1\x8f\xd1\216\xd1\x89\xd0\xb5\320\265\321\x81\xd1\x8f \xd0\xbf\xd0\xbe\xd1\201\320\273\320\265 \321\201\xd0\xbe\320\xb7\320\264\320\xb0\xd0\275\xd0\xb8\321\x8f \xd0\272\xd0\276\xd0\275\xd1\204\xd0\270\xd0\xb3\320\260
<b><i>setNotifyProlong</i></b> - \xd1\x83\xd0\262\320\xb5\320\xb4\xd0\276\xd0\274\320\xbb\xd0\265\xd0\275\320\270\xd0\xb5 \320\xbe\xd1\202\320\xbf\321\200\320\xb0\320\xb2\xd0\273\xd1\x8f\xd1\216\321\211\320\265\xd0\265\321\201\321\217 \xd0\xbf\321\x80\320\270 \320\277\xd1\x80\xd0\xbe\xd0\xb4\xd0\273\320\265\xd0\275\xd0\270\320\270 \320\272\xd0\276\320\275\xd1\x84\320\xb8\320\xb3\xd0\xb0\xa<b><i>setNotifyDelete</i></b> - \321\x83\320\262\320\xb5\xd0\xb4\xd0\xbe\xd0\274\xd0\xbb\320\265\320\275\320\270\xd0\265 \xd0\276\321\202\xd0\277\xd1\200\320\260\320\262\xd0\xbb\xd1\x8f\321\216\321\211\xd0\265\320\xb5\321\201\321\217 \320\xbf\321\x80\xd0\270 \xd0\277\xd1\x80\xd0\xb5\320\272\xd1\x80\xd0\xb0\xd1\211\320\265\xd0\xbd\320\xb8\xd0\270 \xd1\x80\xd0\xb0\320\xb1\xd0\xbe\321\x82\xd1\213 \320\272\xd0\xbe\320\xbd\xd1\x84\320\270\320\xb3\xd0\xb0";
goto INg06;
INg06: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/setNotifyText"]];
goto jyLRL;
v_GUE: }
public function setNotifyText($chapter = false)
{
goto ouaV2;
vAQK8: $text[] = "<code>/macos</code> - \321\201\xd1\x81\xd1\213\320\273\320\xba\320\xb0, \320\277\xd0\276 \320\272\xd0\273\320\xb8\320\272\321\x83 \320\275\xd0\xb0 \320\xba\320\276\xd1\x82\320\xbe\xd1\200\321\x83\xd1\216 \xd0\xb1\320\276\321\x82 \xd0\276\321\202\320\264\xd0\xb0\xd1\x81\xd1\x82 \xd0\xb8\320\275\xd1\x81\321\x82\xd1\200\xd1\203\xd0\xba\xd1\206\320\270\321\x8e \320\xbf\320\276 macos";
goto W8bjF;
k3KgY: $text[] = "<code>/ios</code> - \xd1\x81\321\x81\321\213\320\273\320\272\320\xb0, \320\277\xd0\xbe \320\xba\xd0\xbb\320\xb8\xd0\272\321\203 \320\275\320\xb0 \320\272\320\xbe\321\x82\xd0\xbe\xd1\200\xd1\x83\xd1\216 \320\261\xd0\xbe\xd1\x82 \xd0\276\321\x82\xd0\xb4\320\260\xd1\201\xd1\x82 \320\270\320\xbd\xd1\x81\xd1\202\321\x80\xd1\203\xd0\272\xd1\x86\xd0\270\xd1\x8e \320\277\xd0\xbe ios";
goto vAQK8;
syKKR: $text[] = "\xd0\xa2\320\xb5\xd0\xb3\xd0\xb8:";
goto dyaH0;
QrfZR: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto TyTOW;
egAbc: $data[] = [["text" => $this->i18n("setNotifyCreate"), "callback_data" => "/sendReply enter text_updateSetting_nc_" . __FUNCTION__ . "_nc"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nc"]];
goto zVgnI;
bWSsg: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpNotify"]];
goto QrfZR;
VjHFq: $data[] = [["text" => $this->i18n("setNotifyDelete"), "callback_data" => "/sendReply enter text_updateSetting_nd_" . __FUNCTION__ . "_nd"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nd"]];
goto j0oRX;
OnSZC: Izxr9: goto sO1nl;
ouaV2: $data[] = [["text" => $this->i18n("setNotifyExpire"), "callback_data" => "/sendReply enter text_updateSetting_ne_" . __FUNCTION__ . "_ne"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText ne"]];
goto egAbc;
W8bjF: $text[] = "<code>/windows</code> - \321\201\xd1\201\321\x8b\320\xbb\320\xba\xd0\260, \xd0\277\320\xbe \320\xba\xd0\xbb\xd0\270\320\xba\321\203 \320\xbd\xd0\260 \xd0\xba\xd0\276\321\x82\320\276\321\200\321\203\321\x8e \320\xb1\xd0\276\321\x82 \xd0\276\321\202\320\xb4\320\xb0\xd1\x81\321\x82 \320\270\xd0\xbd\321\201\321\202\xd1\200\xd1\x83\xd0\xba\321\x86\xd0\270\321\216 \320\xbf\320\xbe windows";
goto hS_jy;
nGGYL: if (!($t = $this->getSetting($chapter))) {
goto mQpPD;
}
goto W6_Ni;
zVgnI: $data[] = [["text" => $this->i18n("setNotifyProlong"), "callback_data" => "/sendReply enter text_updateSetting_np_" . __FUNCTION__ . "_np"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText np"]];
goto VjHFq;
j0oRX: $data[] = [["text" => $this->i18n("setNotifyBonus"), "callback_data" => "/sendReply enter text_updateSetting_nb_" . __FUNCTION__ . "_nb"], ["text" => $this->i18n("preview"), "callback_data" => "/setNotifyText nb"]];
goto bWSsg;
sO1nl: $text[] = "\xa\xd0\250\320\260\xd0\261\320\xbb\xd0\xbe\320\xbd:";
goto nGGYL;
W6_Ni: $text[] = "<pre>{$t}</pre>";
goto QPsWu;
hS_jy: switch ($chapter) {
case "nc": goto Vvooo;
QThyv: $text[] = "<code>~id~</code> \320\275\320\xbe\320\274\320\xb5\xd1\200 \xd0\xbf\xd0\276\xd0\xb4\xd0\xbf\320\xb8\321\x81\320\xba\xd0\270";
goto aEisu;
sI5he: $text[] = "<code>~ios~</code> - \320\270\xd0\275\321\201\321\x82\xd1\200\321\203\320\xba\321\x86\xd0\270\321\x8f \xd0\xb4\320\273\321\x8f ios";
goto LkAsB;
LkAsB: $text[] = "<code>~windows~</code> - \320\xb8\xd0\275\321\201\321\x82\321\200\321\203\320\272\xd1\206\320\270\321\217 \320\xb4\xd0\xbb\xd1\x8f windows";
goto lJqpw;
lJqpw: $text[] = "<code>~macos~</code> - \320\270\xd0\xbd\321\x81\321\x82\321\x80\321\203\320\xba\321\x86\320\270\321\217 \320\xb4\xd0\xbb\xd1\x8f macos";
goto QThyv;
KzViT: $text[] = "<code>~android~</code> - \320\270\320\275\321\x81\xd1\202\321\200\321\x83\xd0\272\xd1\x86\xd0\270\xd1\x8f \xd0\xb4\xd0\273\321\217 android";
goto sI5he;
ILk9o: $text[] = "<code>~vpn~</code> \321\201\321\x81\xd1\x8b\xd0\xbb\xd0\272\320\xb0 \320\xb4\xd0\xbb\321\x8f \320\xbf\320\276\xd0\264\320\272\xd0\xbb\321\x8e\xd1\x87\320\xb5\xd0\xbd\320\xb8\321\217 \xd0\xb0\320\274\xd0\xbd\xd0\xb5\320\xb7\xd0\xb8\320\270";
goto E_J99;
E_J99: goto Izxr9;
goto FxLw2;
Vvooo: $text[] = "<code>~code~</code> \xd0\xba\xd0\276\320\xb4 \xd0\xbf\xd0\xb8\321\x80\320\260";
goto gV75Z;
aEisu: $text[] = "<code>~life~</code> \320\276\321\x81\xd1\x82\xd0\260\320\xb2\xd1\210\320\xb5\xd0\265\321\201\321\x8f \320\262\321\x80\320\xb5\xd0\xbc\xd1\x8f \320\264\320\265\xd0\271\xd1\201\321\202\320\xb2\xd0\xb8\321\217 \320\277\320\276\320\264\320\xbf\320\270\321\201\320\xba\xd0\xb8";
goto ILk9o;
gV75Z: $text[] = "<code>~file~</code> \xd0\277\321\x80\xd0\270\xd0\xba\xd1\200\xd0\265\xd0\277\320\270\xd1\202\321\x8c \xd1\x84\xd0\xb0\320\271\320\xbb \320\xba\xd0\276\xd0\275\xd1\204\320\270\320\xb3\xd0\xb0";
goto KzViT;
FxLw2: case "np": case "ne": goto BD4OR;
j65rP: goto Izxr9;
goto dwWEc;
BD4OR: $text[] = "<code>~life~</code> \320\xbe\xd1\x81\xd1\x82\320\260\320\xb2\321\210\xd0\xb5\xd0\xb5\321\201\xd1\217 \320\262\xd1\200\320\xb5\320\xbc\xd1\x8f \320\xb4\xd0\265\xd0\xb9\321\x81\321\202\320\262\320\270\321\x8f \xd0\xbf\xd0\xbe\xd0\264\320\277\xd0\270\321\x81\320\272\xd0\xb8";
goto nx0P4;
nx0P4: $text[] = "<code>~id~</code> \xd0\275\320\276\xd0\xbc\320\265\321\200 \xd0\xbf\xd0\276\xd0\264\320\xbf\320\270\321\201\320\xba\320\xb8";
goto j65rP;
dwWEc: case "nb": goto MRYPP;
plo4s: goto Izxr9;
goto EmM1e;
VoIBe: $text[] = "<code>~id~</code> \xd0\xbd\320\xbe\320\xbc\320\265\xd1\200 \320\277\320\xbe\320\xb4\320\xbf\xd0\xb8\321\x81\320\xba\xd0\270";
goto plo4s;
MRYPP: $text[] = "<code>~bonus~</code> \320\264\320\276\320\xb1\320\xb0\320\xb2\xd0\273\xd0\265\320\xbd\xd0\275\xd0\xbe\xd0\265 \320\262\xd1\x80\320\xb5\xd0\274\xd1\217";
goto VoIBe;
EmM1e: case "nd": goto ADdo1;
AQp8j: goto Izxr9;
goto N7216;
ADdo1: $text[] = "<code>~user~</code> \320\xb8\320\xbc\321\x8f \321\216\xd0\xb7\xd0\xb5\xd1\x80\320\xb0";
goto uSVTU;
uSVTU: $text[] = "<code>~id~</code> \320\xbd\xd0\276\320\xbc\320\xb5\xd1\x80 \xd0\xbf\320\xbe\320\264\320\277\320\270\321\x81\xd0\272\xd0\xb8";
goto AQp8j;
N7216: }
goto kfZ95;
TyTOW: $text[] = "\xd1\203\321\201\xd1\202\xd0\xb0\320\275\xd0\xbe\xd0\xb2\xd0\xba\320\xb0 \xd1\210\320\260\320\261\xd0\xbb\xd0\xbe\320\xbd\xd0\260 \xd1\x81\xd0\xbe\xd0\276\320\xb1\321\x89\xd0\265\320\xbd\xd0\xb8\320\xb9 \xd0\xbf\xd0\276\xd0\273\321\x8c\320\xb7\320\276\xd0\xb2\xd0\260\xd1\x82\320\xb5\320\273\xd1\x8e
";
goto syKKR;
QPsWu: mQpPD: goto Vc09e;
UjKiw: $text[] = "<code>/android</code> - \321\x81\xd1\x81\xd1\x8b\xd0\273\320\xba\320\260, \xd0\277\xd0\xbe \xd0\xba\320\273\xd0\270\320\xba\xd1\x83 \320\275\320\260 \320\272\320\xbe\321\x82\320\xbe\xd1\x80\321\203\xd1\x8e \xd0\261\320\276\xd1\x82 \xd0\276\321\202\320\xb4\320\xb0\xd1\x81\321\202 \xd0\xb8\xd0\275\321\201\321\x82\xd1\x80\xd1\x83\xd0\xba\xd1\206\xd0\xb8\321\216 \320\xbf\xd0\276 android";
goto k3KgY;
dyaH0: $text[] = "<code>/bot</code> - \xd1\201\xd1\201\xd1\x8b\xd0\273\320\xba\320\260, \320\277\320\xbe \320\272\xd0\273\320\xb8\320\272\xd1\203 \xd0\275\320\xb0 \xd0\272\320\276\xd1\202\320\xbe\xd1\x80\321\x83\321\216 \320\xb1\320\276\xd1\x82 \xd0\276\xd1\202\320\xb4\320\xb0\xd1\201\321\202 \320\270\320\xbd\xd1\x81\xd1\x82\xd1\200\321\x83\xd0\272\321\x86\320\270\321\x8e \320\277\320\xbe bot";
goto UjKiw;
Vc09e: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", $text ?: []), $data ?: false);
goto WraqT;
kfZ95: jAV66: goto OnSZC;
WraqT: }
public function setMenuDescription($chapter = false)
{
goto EBN9x;
TnckF: $text[] = "<code>" . htmlentities("<b>bold</b>") . "</code> - <b>\320\xb6\xd0\270\321\200\320\275\xd1\213\xd0\271</b>";
goto gosAv;
NhCSh: $data[] = [["text" => $this->i18n("setUserPeer"), "callback_data" => "/sendReply enter text_updateSetting_ur_" . __FUNCTION__ . "_ur"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription ur"]];
goto Hta5U;
XMFMH: if (!($t = $this->getSetting($chapter))) {
goto kFx6F;
}
goto O_rwJ;
K_62P: $text[] = "<code>/macos</code> - \321\201\321\x81\321\x8b\320\273\xd0\xba\320\260, \320\277\xd0\xbe \320\xba\xd0\xbb\320\xb8\320\xba\321\203 \xd0\xbd\320\xb0 \xd0\272\320\xbe\xd1\202\320\276\xd1\200\xd1\x83\321\x8e \320\xb1\320\xbe\321\202 \xd0\276\321\202\xd0\xb4\320\xb0\xd1\x81\xd1\202 \320\270\320\xbd\321\x81\xd1\x82\321\200\xd1\x83\320\272\xd1\206\xd0\270\321\x8e \xd0\xbf\xd0\276 macos";
goto WXwS0;
z4U_f: $text[] = "<code>" . htmlentities("<u>underline</u>") . "</code> - <u>\xd0\277\xd0\xbe\xd0\xb4\321\207\320\xb5\321\200\320\xba\320\xbd\xd1\203\xd1\x82\xd1\x8b\xd0\xb9</u>";
goto qWl9B;
jdWuw: OwrwC: goto jnoa3;
m2hck: $r = $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", $text ?: []), $data ?: false);
goto Vay23;
bjXWr: Zl062: goto Zsv1a;
WDj3P: $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 KQU0z;
bFGp6: $text[] = "<code>/ios</code> - \321\201\xd1\x81\xd1\213\xd0\xbb\xd0\xba\xd0\xb0, \320\277\xd0\276 \320\xba\320\xbb\xd0\xb8\xd0\xba\xd1\x83 \xd0\275\320\xb0 \320\xba\xd0\xbe\321\202\320\xbe\xd1\200\xd1\x83\xd1\216 \320\xb1\320\xbe\xd1\202 \320\xbe\321\x82\320\xb4\320\260\321\x81\xd1\202 \xd0\xb8\xd0\275\321\x81\321\x82\xd1\200\321\203\320\272\321\206\xd0\270\xd1\216 \xd0\xbf\xd0\xbe ios";
goto K_62P;
J1Asn: $data[] = [["text" => $this->i18n("structureMenu"), "callback_data" => "/setMenuDescription"], ["text" => $this->i18n("back"), "callback_data" => "/config"]];
goto SkkIr;
CWxrH: $text[] = "<code>/bot</code> - \321\201\321\x81\321\213\xd0\273\xd0\272\xd0\xb0, \xd0\277\xd0\xbe \320\272\320\xbb\xd0\xb8\xd0\272\321\x83 \xd0\xbd\xd0\xb0 \320\272\xd0\276\321\x82\xd0\276\xd1\200\321\x83\xd1\216 \xd0\261\320\276\xd1\202 \320\276\321\202\320\xb4\xd0\xb0\321\x81\xd1\202 \320\270\xd0\275\321\201\321\x82\321\200\xd1\203\xd0\272\xd1\206\320\270\321\216 \xd0\277\320\276 bot";
goto upgBE;
QBhiG: goto K8uMQ;
goto qAbgp;
Vay23: if (!($r["ok"] == false && !preg_match("~message is not modified~", $r["description"]))) {
goto OwrwC;
}
goto yf3Xv;
LEmKf: $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 J1Asn;
gvaex: K8uMQ: goto m2hck;
O_rwJ: $text[] = "\xa{$chapter}:
<pre>{$t}</pre>";
goto kTLrb;
Zsv1a: hmVn3: goto ApU2c;
NUU2u: $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 WDj3P;
pyIpV: $data[] = [["text" => $this->i18n("setUserOrder"), "callback_data" => "/sendReply enter text_updateSetting_uo_" . __FUNCTION__ . "_uo"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription uo"]];
goto pHwcd;
WXwS0: $text[] = "<code>/windows</code> - \321\201\xd1\201\xd1\x8b\xd0\xbb\320\xba\xd0\xb0, \320\277\xd0\xbe \320\272\xd0\273\xd0\xb8\xd0\272\xd1\x83 \xd0\xbd\320\xb0 \320\272\xd0\276\321\202\320\xbe\321\200\321\x83\321\216 \320\xb1\320\xbe\xd1\202 \320\xbe\xd1\202\320\264\320\260\xd1\201\xd1\202 \xd0\270\320\275\xd1\x81\321\x82\xd1\x80\321\x83\xd0\272\xd1\206\xd0\270\xd1\x8e \320\277\320\xbe windows";
goto bLkuC;
xGxFw: $text[] = "<code>" . htmlentities("<code>inline fixed-width code</code>") . "</code> - <code>\xd0\274\xd0\xbe\xd0\xbd\320\xbe\xd1\210\320\270\321\x80\320\xb8\xd0\xbd\xd0\275\xd1\x8b\320\271</code>";
goto AtVnK;
AtVnK: $text[] = "<code>" . htmlentities("<a href="http://www.example.com/">inline URL</a>") . "</code> - <a href='http://www.example.com/'>inline URL</a>";
goto CWxrH;
Hta5U: $data[] = [["text" => $this->i18n("setHelp"), "callback_data" => "/sendReply enter text_updateSetting_h_" . __FUNCTION__ . "_h"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription h"]];
goto NUU2u;
bLkuC: if ($chapter) {
goto xG1Jj;
}
goto kVDxh;
pHwcd: $data[] = [["text" => $this->i18n("setUserPay"), "callback_data" => "/sendReply enter text_updateSetting_up_" . __FUNCTION__ . "_up"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription up"]];
goto NhCSh;
gosAv: $text[] = "<code>" . htmlentities("<i>italic</i>") . "</code> - <i>\xd0\272\xd1\203\321\x80\xd1\201\320\270\320\262</i>";
goto z4U_f;
BMQPL: $data[] = [["text" => $this->i18n("setUserBuy"), "callback_data" => "/sendReply enter text_updateSetting_ub_" . __FUNCTION__ . "_ub"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription ub"]];
goto c177D;
c177D: $data[] = [["text" => $this->i18n("setUserServer"), "callback_data" => "/sendReply enter text_updateSetting_us_" . __FUNCTION__ . "_us"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription us"]];
goto pyIpV;
kVDxh: $text[] = "Menu\xa Buy\xa Server
Pay\xa Order\xa Pay
Peer
Help
Bot\xa Android\xa IOS
Windows
MacOS";
goto QBhiG;
oQbqe: switch ($chapter) {
case "up": goto CAfWA;
CAfWA: $text[] = "<code>~id~</code> \320\275\320\xbe\xd0\274\320\265\321\x80 \320\xb7\xd0\xb0\xd0\xba\xd0\xb0\xd0\267\320\260";
goto LNKH8;
LNKH8: $text[] = "<code>~life~</code> \320\264\xd0\xbb\320\xb8\321\x82\xd0\265\320\273\xd1\214\xd0\xbd\xd0\276\321\x81\xd1\x82\321\x8c \xd0\xbf\320\xbe\320\xb4\320\277\xd0\xb8\xd1\x81\xd0\272\320\xb8";
goto ajnqr;
ajnqr: $text[] = "<code>~name~</code> \xd0\xb8\xd0\274\321\x8f \xd1\201\xd0\xb5\321\200\320\262\320\265\321\200\320\xb0";
goto mLhpl;
mLhpl: case "ur": goto g22c4;
ahBou: $text[] = "<code>~refer_count~</code> \320\272\320\xbe\320\273-\xd0\262\320\xbe \320\xb0\320\272\321\x82\xd0\xb8\xd0\xb2\xd0\xb8\321\200\xd0\xbe\xd0\xb2\320\260\320\xbd\320\xbd\xd1\x8b\321\x85 \320\xba\320\276\320\xbd\321\204\320\270\320\xb3\320\276\xd0\xb2 \xd0\277\xd0\276 \xd1\x80\xd0\265\321\x84\320\xb5\321\x80\xd0\260\320\xbb\321\214\320\xbd\320\276\xd0\xb9 \xd1\x81\321\x81\xd1\x8b\320\273\320\xba\xd0\xb5";
goto NI7xz;
g22c4: $text[] = "<code>~code~</code> \320\xba\320\276\320\264 \320\xba\xd0\276\xd0\xbd\321\204\xd0\xb8\320\263\320\260";
goto XEiyU;
NI7xz: goto hmVn3;
goto lg3fa;
c84eA: $text[] = "<code>~refer_link~</code> \321\x80\320\xb5\321\204\321\200\xd0\xb5\xd0\xb0\320\273\321\x8c\320\275\xd0\xb0\321\x8f \xd1\201\321\201\xd1\213\320\273\320\272\xd0\260";
goto ahBou;
XEiyU: $text[] = "<code>~domain~</code> \320\xb0\xd0\xb4\321\x80\xd0\xb5\xd1\201 \321\x81\320\xb5\xd1\200\xd0\262\320\xb5\xd1\x80\320\260";
goto c84eA;
lg3fa: case "hb": case "ha": case "hi": case "hm": case "hw": $text[] = "<code>~photo:id~</code> \320\xb3\320\xb4\xd0\265 id - \320\260\320\271\xd0\264\xd0\xb8 \xd1\x84\320\276\321\202\320\xbe (\320\xbc\xd0\xbe\320\266\320\275\xd0\276 \xd1\203\xd0\xb7\xd0\275\320\260\321\x82\321\x8c \xd1\201\320\xba\xd0\xb8\320\275\xd1\203\xd0\xb2 \xd1\204\320\276\xd1\x82\320\xbe \xd0\xb1\320\276\321\x82\xd1\203)";
}
goto bjXWr;
kTLrb: kFx6F: goto gvaex;
upgBE: $text[] = "<code>/android</code> - \xd1\x81\xd1\201\xd1\x8b\320\273\320\xba\320\260, \320\xbf\320\276 \xd0\xba\xd0\273\320\xb8\xd0\272\xd1\x83 \xd0\275\320\xb0 \320\272\320\xbe\xd1\x82\xd0\276\321\x80\321\x83\xd1\x8e \xd0\261\320\xbe\xd1\202 \320\276\321\202\320\xb4\320\xb0\xd1\x81\xd1\x82 \320\270\320\275\xd1\x81\321\x82\xd1\200\xd1\x83\xd0\272\321\x86\xd0\xb8\321\216 \320\277\xd0\276 android";
goto bFGp6;
yf3Xv: $this->send($this->yR2JN["chat"], "\xd0\262 \xd1\x82\320\265\320\xba\321\x81\321\202\xd0\xb5 \320\xbe\321\x88\xd0\xb8\xd0\261\xd0\272\320\xb0 <pre>{$r["description"]}</pre>", $this->yR2JN["message_id"]);
goto jdWuw;
KQU0z: $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 AfOK_;
AfOK_: $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 LEmKf;
qAbgp: xG1Jj: goto oQbqe;
G_azZ: $text[] = "<code>" . htmlentities("<span class="tg-spoiler">spoiler</span>") . "</code> - <tg-spoiler>\321\201\xd0\272\xd1\200\xd1\213\xd1\x82\321\x8b\xd0\271</tg-spoiler>";
goto xGxFw;
ApU2c: $text[] = "\xa<b>\xd0\xbe\320\xb1\xd1\217\xd0\267\xd0\xb0\321\202\320\265\320\273\321\x8c\xd0\275\320\276 \xd0\xbf\321\x80\xd0\xbe\320\262\xd0\265\xd1\x80\321\x8c\321\202\xd0\xb5 preview \xd0\277\xd0\276\xd1\x81\xd0\273\xd0\xb5 \321\203\xd1\201\xd1\202\xd0\260\xd0\xbd\xd0\xbe\320\262\xd0\272\xd0\xb8 \xd1\202\320\xb5\320\272\321\x81\xd1\202\xd0\260, \320\xb5\321\x81\xd0\273\xd0\xb8 \321\x82\320\265\320\272\xd1\201\xd1\x82 \320\275\320\265 \xd0\276\xd1\202\xd0\xbe\xd0\xb1\xd1\200\xd0\260\xd0\xb7\xd0\xb8\320\273\xd1\x81\xd1\217 \xd0\xb7\xd0\xbd\320\260\321\x87\xd0\270\321\202 \320\262 \321\x82\320\265\xd0\272\321\201\xd1\x82\xd0\xb5 \xd0\265\321\x81\321\x82\xd1\214 \xd0\276\xd1\x88\320\270\320\261\xd0\272\320\260 html-\xd1\x82\320\265\xd0\xb3\320\260 \320\xb8 \xd1\x8d\321\x82\xd0\xbe \320\274\xd0\265\xd0\xbd\xd1\216 \xd0\xbd\320\xb5 \320\xb1\xd1\x83\xd0\xb4\xd0\265\xd1\x82 \321\200\320\xb0\320\261\320\xbe\xd1\x82\xd0\260\xd1\x82\321\214 \xd1\203 \xd0\277\320\xbe\320\273\xd1\214\320\xb7\xd0\276\320\262\320\260\xd1\x82\320\265\xd0\xbb\xd1\x8f</b>";
goto XMFMH;
EBN9x: $data[] = [["text" => $this->i18n("setUserMenu"), "callback_data" => "/sendReply enter text_updateSetting_um_" . __FUNCTION__ . "_um"], ["text" => $this->i18n("preview"), "callback_data" => "/setMenuDescription um"]];
goto BMQPL;
SkkIr: $text[] = "\321\x83\321\201\xd1\x82\320\xb0\320\275\320\xbe\xd0\262\320\272\xd0\xb0 \320\276\xd0\277\xd0\xb8\xd1\x81\320\xb0\xd0\xbd\xd0\xb8\xd0\271 \xd0\xbf\321\203\320\xbd\xd0\xba\321\x82\xd0\276\320\xb2 \xd0\xbc\xd0\265\xd0\275\xd1\216 \320\277\320\xbe\xd0\xbb\xd1\214\xd0\xb7\320\xbe\320\xb2\xd0\260\xd1\x82\xd0\xb5\320\xbb\321\217:
\xd0\277\320\xbe\320\264\xd0\xb4\320\265\321\200\320\266\320\xb8\320\262\xd0\xb0\xd0\xb5\321\x82\321\x81\321\217 \321\x81\xd0\273\xd0\xb5\xd0\xb4\xd1\203\xd1\x8e\321\x89\320\270\320\265 \xd1\x82\320\265\xd0\xb3\320\270 html
";
goto TnckF;
qWl9B: $text[] = "<code>" . htmlentities("<s>strikethrough</s>") . "</code> - <s>\320\267\xd0\260\321\x87\xd0\xb5\xd1\x80\xd0\xba\320\xbd\xd1\x83\321\202\xd1\213\320\xb9</s>";
goto G_azZ;
jnoa3: }
public function unitConf($data = false, $key = "config", $method = "PUT")
{
goto EQ92_;
EQ92_: $ch = curl_init();
goto Yh26U;
Bf8r8: curl_close($ch);
goto bgEPu;
Yh26U: 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 T9urV;
T9urV: $res = curl_exec($ch);
goto Bf8r8;
bgEPu: return $res;
goto UXnqH;
UXnqH: }
public function unitConfig()
{
goto cqTAu;
M1vQT: $res[] = $this->unitConf($data, "config");
goto sAwnV;
Ra6DC: if (!file_exists($this->P13AN)) {
goto kUGTi;
}
goto xvrEo;
xvrEo: $res[] = $this->unitConf(curl_file_create($this->P13AN), "certificates/certbot");
goto hzZ33;
mHQVv: $data = ["listeners" => ["*:8443" => ["pass" => "routes/other", "tls" => ["certificate" => !file_exists($this->P13AN) ? ["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"]]], "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"]], "access_log" => "/logs/unit_access"];
goto M1vQT;
sAwnV: return $res;
goto RDCrZ;
hzZ33: kUGTi: goto mHQVv;
cqTAu: $res[] = $this->unitConf(curl_file_create("/certs/bundle"), "certificates/bundle");
goto Ra6DC;
RDCrZ: }
public function export()
{
goto HjpEp;
HjpEp: $path = "/config/import.sql";
goto I0L0c;
I0L0c: exec("mysqldump -h db -u root tower > {$path}");
goto YFTYs;
nTVjB: unlink($path);
goto wPMNK;
YFTYs: $r = $this->sendFile($this->WzKlY["admin"], curl_file_create($path, posted_filename: "dump_" . date("Y_m_d_H_i_s") . ".sql"));
goto nTVjB;
wPMNK: return $r;
goto zKi9P;
zKi9P: }
public function openLinkNode()
{
goto WW5Mi;
mJ0Xs: file_put_contents("/config/unittmp.json", json_encode($unit, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES));
goto m4_Xt;
WW5Mi: $unit = json_decode(file_get_contents("/config/unit.json"), true);
goto Q_XvX;
oWrgp: array_unshift($unit["routes"], ["match" => ["uri" => "~\.(tar)", "arguments" => ["h" => substr(md5($this->WzKlY["admin"] . $this->WzKlY["key"]), 0, 8)]], "action" => ["share" => ["/$uri"]]]);
goto mJ0Xs;
Q_XvX: array_unshift($unit["routes"], ["match" => ["uri" => "~\.(tar)"], "action" => ["return" => 404]]);
goto oWrgp;
m4_Xt: }
public function import()
{
goto E6Hnq;
haXGy: $r = $this->request("getFile", ["file_id" => $this->yR2JN["file_id"]]);
goto Xa4g8;
CAn3X: $this->menu();
goto JQ_tz;
NPQp1: unlink($path);
goto CAn3X;
XYypm: exec("mysql -h db -u root tower < {$path}");
goto NPQp1;
E6Hnq: $path = "/config/import.sql";
goto haXGy;
yxtEo: file_put_contents($path, $dump);
goto XYypm;
Xa4g8: $dump = file_get_contents($this->file . $r["result"]["file_path"]);
goto yxtEo;
JQ_tz: }
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 vTE9j;
vTE9j: $secret = $this->getSetting("secret");
goto uugzd;
xrQKH: $success = $this->getSetting("successUrl");
goto HqpPG;
w2Xr3: $text[] = "\xd1\x81\xd0\272\320\xbe\320\xbf\xd0\270\xd1\x80\xd1\x83\xd0\271\321\x82\xd0\265 \xd1\x81\320\265\320\xba\321\x80\xd0\265\xd1\x82";
goto C25ct;
y2I7H: $data[] = [["text" => $this->i18n("setSecret") . ($secret ? ": {$secret}" : ''), "callback_data" => "/sendReply enter secret_updateSetting_secret_" . __FUNCTION__]];
goto lZn1A;
MMc3u: $this->uors($text, $data);
goto Of_q6;
MxlNZ: $debug = $this->getSetting("yd");
goto w8u5H;
lT8qj: $data[] = [["text" => $this->i18n("setSuccessUrl") . ($success ? ": {$success}" : ''), "callback_data" => "/sendReply enter link_updateSetting_successUrl_" . __FUNCTION__]];
goto gB4jP;
lZn1A: $data[] = [["text" => $this->i18n("setPhrase") . ($phrase ? ": {$phrase}" : ''), "callback_data" => "/sendReply enter phrase_updatePhrase"]];
goto lT8qj;
C25ct: $text[] = "\xd0\276\xd1\202\xd0\274\320\xb5\xd1\x82\xd1\214\xd1\x82\xd0\xb5 \xd0\xb3\320\xb0\320\273\xd0\276\xd1\x87\320\272\xd1\x83 <b><i>\xd0\276\xd1\202\320\xbf\321\x80\xd0\xb0\320\262\xd0\xbb\xd1\217\321\202\321\x8c HTTP-\321\203\320\xb2\xd0\265\320\264\320\xbe\xd0\xbc\320\xbb\320\265\320\xbd\320\xb8\321\x8f</i></b>";
goto aHdBa;
uRA7Z: $text[] = "\xd1\x81\321\x81\321\213\320\273\320\272\xd0\xb0 \xd0\xb4\320\273\xd1\x8f \320\275\xd0\xbe\xd1\x82\320\xb8\321\204\xd0\270\320\272\320\260\321\x86\xd0\xb8\320\xb9 <code>https://{$this->tc2An}:8443/yoomoney</code>";
goto w2Xr3;
w8u5H: $data[] = [["text" => $this->i18n("setWallet") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/sendReply enter wallet_updateSetting_wallet_" . __FUNCTION__]];
goto y2I7H;
HqpPG: $phrase = $this->getSetting("phrase");
goto MxlNZ;
uugzd: $wallet = $this->getSetting("wallet");
goto xrQKH;
En7ym: $text[] = "\xd0\xbd\xd0\260 \xd1\201\xd1\x82\321\x80\xd0\xb0\320\xbd\xd0\270\321\x86\320\265 https://yoomoney.ru/transfer/myservices/http-notification :";
goto uRA7Z;
gB4jP: $data[] = [["text" => $this->i18n("webhookDebug") . ": " . ($debug ? "on" : "off"), "callback_data" => "/webhookDebug"]];
goto MS6pl;
aHdBa: $text[] = "\xa\xd0\262 \xd0\261\320\xbe\xd1\x82\320\xb5 \xd1\203\xd1\x81\xd1\202\xd0\260\xd0\xbd\xd0\xbe\xd0\262\320\270\xd1\x82\xd0\xb5 \320\xbd\320\xbe\320\xbc\320\265\321\200 \320\272\xd0\xbe\xd1\210\xd0\265\xd0\273\xd1\x8c\xd0\xba\xd0\260, \321\201\xd0\xb5\320\272\xd1\200\xd0\xb5\321\x82, \320\272\xd0\xbe\320\264\xd0\xbe\xd0\xb2\xd1\203\321\216 \321\x84\321\200\xd0\260\xd0\267\xd1\x83 \320\261\xd0\xbe\xd1\x82\xd0\260";
goto MMc3u;
MS6pl: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]];
goto En7ym;
Of_q6: }
public function yoomoneyLink($id, $price, $menupage)
{
goto OGTPl;
BqMcJ: preg_match("~(https[^\s]+)~", $res, $m);
goto DJwVz;
OGTPl: $wallet = $this->getSetting("wallet");
goto QMUGk;
cABHz: $res = curl_exec($ch);
goto fg15j;
DJwVz: aHf3x: goto Cl4Zl;
d6PlH: $secret = $this->getSetting("secret");
goto YK2YP;
QMUGk: $phrase = $this->getSetting("phrase");
goto d6PlH;
Cl4Zl: return $m[1] ?: false;
goto cFK7N;
fg15j: curl_close($ch);
goto BqMcJ;
wxh02: $ch = curl_init();
goto ALY2r;
YK2YP: if (!(!empty($secret) && !empty($wallet) && !empty($phrase))) {
goto aHf3x;
}
goto wxh02;
ALY2r: 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->yR2JN["chat"]}:{$this->yR2JN["message_id"]}:{$menupage}", "quickpay-form" => "donate", "sum" => $price], CURLOPT_TIMEOUT => 5]);
goto cABHz;
cFK7N: }
public function wallet()
{
goto ohkPz;
ZFaRU: $data[] = [["text" => $this->i18n("setSecret") . ($wallet ? ": {$wallet}" : ''), "callback_data" => "/sendReply enter wallet_updateSetting_@wallet_" . __FUNCTION__]];
goto kR1Zo;
OAwAM: $text[] = "https://pay.wallet.tg/";
goto OAd_N;
OAd_N: $text[] = "secret: {$wallet}";
goto NGu4X;
kR1Zo: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/payments"]];
goto OAwAM;
NGu4X: $text[] = "\321\x81\xd1\201\321\213\xd0\273\320\272\xd0\260 \xd0\264\xd0\xbb\321\x8f \320\275\xd0\276\321\x82\xd0\270\321\x84\xd0\270\xd0\xba\xd0\260\xd1\x86\xd0\xb8\xd0\xb9 <code>https://{$domain}:8443/wallet</code>";
goto tyeMl;
tyeMl: $this->uors($text, $data);
goto S2N5I;
IT70i: $wallet = $this->getSetting("@wallet");
goto ZFaRU;
ohkPz: $domain = $this->getSetting("domain") ?: $this->tc2An;
goto IT70i;
S2N5I: }
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 ahIv9;
e_Eiy: $this->send($this->WzKlY["admin"], "\320\276\xd0\xbf\xd0\273\320\260\321\207\320\265\320\275 \320\267\320\xb0\xd0\272\320\xb0\320\xb7 #{$id}
{$o["amount"]}\xa{$life}");
goto ALJDZ;
XN4wL: goto QfTIK;
goto Vt8ee;
SM1Da: $this->send($this->WzKlY["admin"], "\xd1\203\xd0\262\xd0\xb5\320\264\xd0\xbe\320\274\xd0\xbb\xd0\265\xd0\xbd\xd0\xb8\xd0\265 \320\277\320\276 \xd0\276\321\202\321\201\321\203\321\202\xd1\201\xd1\x82\320\xb2\321\203\xd1\x8e\321\211\320\xb5\320\xbc\xd1\203 \xd0\xb7\xd0\260\320\xba\320\xb0\320\267\xd1\x83 #{$id}");
goto XN4wL;
ALJDZ: QfTIK: goto eGms8;
vnvna: $life = $this->getTime($o["life"]);
goto e_Eiy;
ahIv9: if ($o = $this->sql("select * from orders where id=:id", [":id" => $id], "row")) {
goto A_M9b;
}
goto SM1Da;
Vt8ee: A_M9b: goto vnvna;
eGms8: }
public function order($id, $menupage)
{
goto BuW9e;
a1Nhm: $this->uors($text, $data);
goto nqgMv;
Hr6fi: $data[] = [["text" => $this->i18n("payOrder"), "callback_data" => "/payOrder {$id}_{$order["server"]}_{$menupage}_1"]];
goto ymU6k;
xJ65F: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"];
goto Ccs62;
vvL_7: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]];
goto a1Nhm;
Cea0J: $status = $order["paid"] ? "\320\276\320\277\xd0\xbb\xd0\260\321\x87\320\265\320\xbd" : "\320\266\xd0\xb4\320\265\321\x82 \320\xbe\xd0\xbf\xd0\273\320\260\xd1\x82\xd1\213";
goto iuzOs;
IUGl9: $text[] = "\320\xb7\xd0\xb0\xd0\xba\xd0\xb0\320\xb7 \xd0\xbe\320\277\xd0\273\320\260\321\x87\xd0\265\320\275";
goto OM6NJ;
PabPP: QCXzC: goto YmdLT;
OM6NJ: goto cr0dt;
goto PabPP;
iuzOs: $status .= $order["client"] ? " - \xd0\xbf\321\200\xd0\276\320\264\xd0\xbb\320\265\320\275\xd0\xb8\320\265 #{$order["client"]}" : '';
goto xJ65F;
LMSvi: cr0dt: goto vvL_7;
YmdLT: $text[] = $this->template("uo", $order);
goto Cea0J;
BuW9e: 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 QCXzC;
}
goto IUGl9;
ymU6k: $data[] = [["text" => $this->i18n("deleteOrder"), "callback_data" => "/deleteOrder {$id}_{$menupage}_menu"]];
goto LMSvi;
Ccs62: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["domain"]}:{$order["port"]}") . " / " . $this->getTime($order["life"]);
goto Hr6fi;
nqgMv: }
public function uors($text = false, $data = false)
{
goto Y0lHp;
BAc3a: goto doNuk;
goto doKXR;
mPLlt: $r = $this->send($this->yR2JN["chat"], $text, $this->yR2JN["message_id"], $data);
goto BAc3a;
kkkVY: return $r;
goto sjSAM;
Y0lHp: $text = trim(implode("\xa", $text ?: []));
goto k3rsD;
k3rsD: $data = $data ?: false;
goto KZXMY;
HZy2h: doNuk: goto kkkVY;
CBgNH: $r = $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], $text, $data);
goto HZy2h;
doKXR: vo8JO: goto CBgNH;
KZXMY: if (!empty($this->yR2JN["callback_id"])) {
goto vo8JO;
}
goto mPLlt;
sjSAM: }
public function payOrder($id, $server, $menupage, $main = false)
{
goto EXgAl;
e3Dn3: $text[] = "\320\267\320\xb0\320\272\xd0\260\320\xb7 \320\276\320\277\320\273\xd0\xb0\321\x87\xd0\xb5\xd0\275. \xd0\xb2 \xd0\261\320\273\320\xb8\xd0\266\320\xb0\xd0\271\321\210\320\265\xd0\265 \320\xb2\xd1\x80\xd0\265\320\xbc\xd1\x8f \xd0\xb2\xd1\213 \xd0\xbf\320\xbe\xd0\xbb\xd1\203\xd1\x87\320\270\321\202\320\265 \320\xba\320\xbe\320\275\321\204\320\xb8\xd0\xb3";
goto Fl6Yh;
f4n4v: $this->uors($text, $data);
goto pA056;
AV_tS: if (!empty($data)) {
goto qOGSe;
}
goto MMifv;
Z9aHo: $desc = "order #{$id}";
goto jcF1m;
WGjhB: vO_Z2: goto h9Dj4;
TXqvV: if (!($link = $this->yoomoneyLink($id, $order["price"], $menupage))) {
goto vO_Z2;
}
goto Y2X2h;
UkPdU: NsSh_: goto tQsrF;
b_u91: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"];
goto PhKM5;
MMifv: $text[] = "\320\262 \xd0\264\xd0\260\320\275\320\275\xd1\213\320\xb9 \xd0\xbc\xd0\xbe\320\xbc\xd0\265\320\275\xd1\x82 \320\xbd\xd0\xb5\321\x82 \320\xb2\320\xbe\320\xb7\320\274\xd0\xbe\xd0\266\xd0\xbd\xd0\xbe\xd1\201\xd1\202\320\270 \xd0\276\320\xbf\xd0\273\xd0\xb0\xd1\202\320\270\321\202\xd1\214, \321\x81\320\262\xd1\217\320\266\xd0\xb8\xd1\x82\xd0\xb5\xd1\x81\321\214 \321\201 \320\260\320\xb4\xd0\274\xd0\xb8\xd0\xbd\xd0\xb8\xd1\201\321\x82\xd1\200\320\260\321\x82\xd0\xbe\321\x80\320\xbe\320\274";
goto CUW4Y;
wmL2V: YLCS0: goto TqITF;
aya7b: $text[] = trim($this->template("up", $order));
goto A3zwp;
Y2X2h: $data[] = [["text" => $this->i18n("yoomoneyPay"), "url" => $link]];
goto WGjhB;
hPXai: $text[] = "<b>\xd0\x97\320\xb0\320\xba\xd0\xb0\320\xb7 #{$order["id"]} \321\201\xd0\276\320\xb7\320\xb4\320\260\320\275</b>";
goto wmL2V;
Fl6Yh: goto LCHhM;
goto UkPdU;
pU4vd: CipIk: goto AV_tS;
LXahp: $data[] = [["text" => "\xf0\x9f\221\233 Wallet Pay", "url" => $link]];
goto pms41;
PhKM5: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["ip"]}:{$order["port"]}") . " / " . $order["life"];
goto Z9aHo;
EXgAl: 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 NsSh_;
}
goto e3Dn3;
h9Dj4: if (!($link = $this->telegramPayLink("vpn", $desc, "{$id}:{$menupage}:{$this->yR2JN["message_id"]}", [["label" => $order["life"], "amount" => $order["price"] * 100]]))) {
goto CipIk;
}
goto enCRs;
enCRs: $data[] = [["text" => $this->i18n("telegramPay"), "url" => $link]];
goto pU4vd;
CUW4Y: qOGSe: goto NO0UU;
NO0UU: LCHhM: goto L0dFI;
jcF1m: if (!($link = $this->walletLink("{$id}:{$this->yR2JN["from"]}:{$this->yR2JN["message_id"]}:{$menupage}", $desc, $order["price"]))) {
goto ZO8Oa;
}
goto LXahp;
TqITF: $order["life"] = $this->getTime($order["life"]);
goto aya7b;
L0dFI: $data[] = [["text" => $this->i18n("back"), "callback_data" => $main ? "/order {$id}_{$menupage}" : "/serverUser {$server}_{$menupage}"]];
goto f4n4v;
tQsrF: if ($main) {
goto YLCS0;
}
goto hPXai;
A3zwp: $status = "\320\266\320\264\320\265\321\x82 \320\276\320\277\320\273\320\260\xd1\202\xd1\x8b" . ($order["client"] ? " - \320\xbf\xd1\200\xd0\xbe\xd0\264\320\xbb\xd0\xb5\xd0\xbd\320\xb8\xd0\265 #{$order["client"]}" : '');
goto b_u91;
pms41: ZO8Oa: goto TXqvV;
pA056: }
public function deleteOrder($id, $backpage, $callback)
{
$this->sql("delete from orders where id=:id", [":id" => $id]);
$this-> {
$callback}
($backpage);
}
public function previewMedia($param)
{
goto phZfO;
ErrGO: if (!$text) {
goto DeGfp;
}
goto UM9yX;
mzumr: if (!$photos) {
goto qK8rD;
}
goto cHu7C;
UM9yX: $this->send($this->yR2JN["chat"], $text);
goto DQFF1;
CAOA5: qK8rD: goto ErrGO;
phZfO: $text = $this->getSetting($param);
goto zxmY7;
DQFF1: DeGfp: goto gU5kQ;
VChoI: $text = trim(preg_replace("/~photo:(.+)~/", '', $text));
goto G7MXq;
G7MXq: foreach ($m[1] as $k => $v) {
$photos[] = ["type" => "photo", "media" => $v, "parse_mode" => "HTML"];
bcOc4: }
goto ba8b6;
cHu7C: $this->request("sendMediaGroup", ["chat_id" => $this->yR2JN["chat"], "media" => json_encode($photos)]);
goto CAOA5;
zxmY7: preg_match_all("/~photo:(.+)~/", $text, $m);
goto VChoI;
ba8b6: jVdTu: goto mzumr;
gU5kQ: }
public function helpMenu($menupage = 0)
{
goto dffHl;
gEEnD: $data[] = [["text" => $this->i18n("bot"), "callback_data" => "/previewMedia hb"]];
goto BLfyh;
dffHl: $text[] = $this->getSetting("h");
goto gEEnD;
kX3Ak: $data[] = [["text" => $this->i18n("windows"), "callback_data" => "/previewMedia hw"], ["text" => $this->i18n("macos"), "callback_data" => "/previewMedia hm"]];
goto MxiW3;
a3Prr: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", $text ?: []), $data ?: false);
goto w3ih6;
BLfyh: $data[] = [["text" => $this->i18n("android"), "callback_data" => "/previewMedia ha"], ["text" => $this->i18n("ios"), "callback_data" => "/previewMedia hi"]];
goto kX3Ak;
MxiW3: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]];
goto a3Prr;
w3ih6: }
public function menu($menupage = 0)
{
goto mOb0E;
I3zWd: foreach ($subs as $k => $v) {
goto o2b2D;
KRiK1: $data[] = [["text" => $name, "callback_data" => "/peer {$v["id"]}_{$menupage}"]];
goto T4QcK;
o2b2D: $name = "{$v["id"]}: " . ($v["name"] ?: ($v["server_name"] ?: "{$v["ip"]}:{$v["port"]}")) . " / " . ($v["life"] ? $this->getTime(strtotime($v["life"]) - time()) : "\xe2\210\236");
goto KRiK1;
T4QcK: sGrO_: goto QtypN;
QtypN: }
goto kcNyD;
Bl8Y_: $data[] = $tmp;
goto YTQMu;
mOb0E: $menupage = $menupage ?: 0;
goto VUx4D;
xSEG7: $prev = $menupage - 1 < 0 ? $pages : $menupage - 1;
goto xc1SO;
OcZuL: $demo = $demo == "off" ? "demo completed" : "demo: {$demo}";
goto cuV1P;
EOJ6J: 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->yR2JN["from"]]))) {
goto Pz5wA;
}
goto EojjN;
jeiG3: $data[] = [["text" => $this->i18n("buy"), "callback_data" => "/buy {$menupage}"]];
goto zAAEn;
cuV1P: $data[] = [["text" => $this->demo(1) ? $demo : $this->i18n("update"), "callback_data" => "/menu {$menupage}"]];
goto Q4L3B;
vMd8g: $tmp[] = ["text" => $this->i18n("promo"), "callback_data" => "/sendReply \320\xb2\320\xb2\320\265\320\264\320\270\321\202\320\xb5 \xd0\xba\xd0\276\xd0\264_activatePromo_{$menupage}"];
goto mwBEl;
lDih8: $data[] = [["text" => $this->i18n("config"), "callback_data" => "/config {$menupage}"], ["text" => $this->i18n("helpChat"), "url" => "https://t.me/vpntower"]];
goto uARP1;
MCNee: $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->RuZdI} offset " . $menupage * $this->RuZdI, [":tgid" => $this->yR2JN["from"]]);
goto I3zWd;
Xcfdp: $demo = $this->demo(1) ? $this->getTime(strtotime($this->demo(1)) - time()) : '';
goto OcZuL;
S9gWF: if ($this->sql("select 1 from orders where tgid=:tgid and promo!=""", [":tgid" => $this->yR2JN["from"]], "one")) {
goto cLlvA;
}
goto vMd8g;
nRdIh: $data[] = [["text" => "<<", "callback_data" => "/menu {$prev}"], ["text" => $menupage + 1 . " \320\270\xd0\267 " . $pages, "callback_data" => "/menu {$menupage}"], ["text" => ">>", "callback_data" => "/menu {$next}"]];
goto RoDJF;
xc1SO: $next = $menupage + 1 >= $pages ? 0 : $menupage + 1;
goto nRdIh;
b2wOW: if (!($c = $this->sql("select count(*) from clients c join servers s on s.id=c.server where c.tgid=:tgid", [":tgid" => $this->yR2JN["from"]], "one"))) {
goto JruU5;
}
goto MCNee;
Q4L3B: $this->uors($text ?? false, $data);
goto vKcCF;
uARP1: $data[] = [["text" => $this->i18n("servers") . ": " . $this->sql("select count(*) from servers", view: "one"), "callback_data" => "/servers"]];
goto wYB64;
RoDJF: jChUN: goto Na8uR;
Na8uR: JruU5: goto S9gWF;
vCWwf: AD1AN: goto fS7gS;
BIa7m: $tmp[] = ["text" => $this->i18n("helpMenu"), "callback_data" => "/helpMenu {$menupage}"];
goto Bl8Y_;
mwBEl: cLlvA: goto BIa7m;
vRtrU: if (!($c > $this->RuZdI)) {
goto jChUN;
}
goto NZpvH;
NZpvH: $pages = (int) ceil($c / $this->RuZdI);
goto xSEG7;
IsqzQ: $text[] = $this->template("um", []);
goto Cb8dq;
wYB64: $data[] = [["text" => $this->i18n("clients") . ": " . $this->sql("select count(*) from clients", view: "one"), "callback_data" => "/clients"]];
goto d1C0i;
fS7gS: Pz5wA: goto b2wOW;
YTQMu: goto iKVxV;
goto uJB6F;
uJB6F: dicDO: goto lDih8;
d1C0i: $data[] = [["text" => $this->i18n("orders") . ": " . $this->sql("select count(*) from orders where paid=0", view: "one"), "callback_data" => "/orders"]];
goto mOTFb;
EojjN: foreach ($orders as $k => $v) {
goto ZwAcR;
fooJX: $status .= $v["client"] ? " - \xd0\xbf\321\200\320\xbe\xd0\xb4\320\273\xd0\xb5\320\xbd\320\270\320\xb5 #{$v["client"]}" : '';
goto JppOG;
jrKyK: VaCkz: goto HMV8o;
ZwAcR: $status = $v["paid"] ? "\xd0\xbe\320\xbf\320\273\xd0\xb0\xd1\207\xd0\xb5\xd0\xbd" : "\320\266\xd0\xb4\xd0\xb5\xd1\x82 \xd0\276\320\xbf\xd0\xbb\320\260\xd1\202\xd1\x8b";
goto fooJX;
JppOG: $data[] = [["text" => "#{$v["id"]} ({$status}): " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " / " . $this->getTime($v["life"]), "callback_data" => "/order {$v["id"]}_{$menupage}"]];
goto jrKyK;
HMV8o: }
goto vCWwf;
VUx4D: if ($this->evu8h) {
goto dicDO;
}
goto IsqzQ;
mOTFb: iKVxV: goto Xcfdp;
zAAEn: WQQaX: goto EOJ6J;
kcNyD: U77sY: goto vRtrU;
Cb8dq: if (!$this->sql("select 1 from servers where pay=1")) {
goto WQQaX;
}
goto jeiG3;
vKcCF: }
public function activatePromo($code, $menupage = 0)
{
goto QYAz3;
fQgWr: goto WBatu;
goto wjYRP;
QYAz3: if (!$this->sql("select 1 from orders where tgid=:tgid and promo is not null", [":tgid" => $this->yR2JN["from"]], "one")) {
goto QKJVM;
}
goto UVnHA;
LXC1I: T1aVP: goto ELPNc;
qCjTj: ZvIZK: goto odUbD;
gEXJE: WBatu: goto j409p;
T_ZT7: $this->payOrder($id, $r["server"], $menupage, 1);
goto pKo90;
ELPNc: $this->order($id, $menupage);
goto kI725;
kI725: kNrY5: goto gEXJE;
d3CGk: $this->send($this->yR2JN["chat"], "\320\xbd\320\xb5\320\xb2\xd0\265\xd1\x80\xd0\xbd\321\213\320\xb9 \xd0\277\xd1\200\xd0\276\xd0\xbc\320\276\320\xba\xd0\276\xd0\xb4");
goto Lp46S;
bP2S1: $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->yR2JN["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 qCjTj;
UVnHA: $this->send($this->yR2JN["chat"], "\xd1\x83\320\266\xd0\xb5 \320\265\xd1\x81\321\202\321\214 \320\xb0\320\xba\321\x82\320\270\320\262\xd0\xb8\321\200\xd0\276\xd0\262\xd0\260\xd0\xbd\320\xbd\321\213\320\xb9 \320\277\xd1\200\xd0\276\320\xbc\xd0\xbe\320\272\xd0\276\320\xb4");
goto kLaAY;
pKo90: goto kNrY5;
goto LXC1I;
wjYRP: QKJVM: goto L46Ox;
L46Ox: if (preg_match("~^cl(.+)~", $code, $m)) {
goto C7KNN;
}
goto vx4yq;
uY8IK: C7KNN: goto hjkVD;
kJ027: fgOiv: goto i01ne;
DkOLD: if (!empty($id) && !empty($r["price"])) {
goto PrDyq;
}
goto wrLGu;
vx4yq: if (!($r = $this->sql("select * from promo where title=:promo", [":promo" => $code], "row"))) {
goto ZvIZK;
}
goto bP2S1;
odUbD: goto uNmzJ;
goto uY8IK;
u1b6I: PrDyq: goto T_ZT7;
cKHvx: goto kNrY5;
goto u1b6I;
i01ne: uNmzJ: goto DkOLD;
Lp46S: $this->menu($menupage);
goto cKHvx;
hjkVD: 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->yR2JN["from"]], "row"))) {
goto fgOiv;
}
goto d4hjs;
wrLGu: if (!empty($id)) {
goto T1aVP;
}
goto d3CGk;
d4hjs: $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->yR2JN["from"], ":server" => $r["server"], ":price" => $r["price"], ":quant" => $r["quant"], ":life" => $r["life"], ":promo" => $code], "one", nextRowset: 1);
goto kJ027;
kLaAY: $this->menu($menupage);
goto fQgWr;
j409p: }
public function orders($orderpage = 0)
{
goto SSSod;
QmZR9: foreach ($orders as $k => $v) {
goto P4m0q;
WkZb9: p9oLT: goto Qym7B;
p68na: $data[] = [["text" => "#{$v["id"]} {$v["tgid"]} ({$status}): " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " / " . $this->getTime($v["life"]), "callback_data" => "/orderAdmin {$v["id"]}_{$orderpage}"]];
goto WkZb9;
BT9Gw: $status .= $v["client"] ? " - \320\277\321\x80\xd0\276\xd0\xb4\320\xbb\320\xb5\320\xbd\xd0\270\xd0\265 #{$v["client"]}" : '';
goto p68na;
P4m0q: $status = $v["paid"] ? "\320\xbe\320\277\xd0\273\xd0\260\xd1\x87\320\265\320\275" : "\xd0\266\320\xb4\xd0\xb5\321\202 \xd0\xbe\320\277\xd0\xbb\xd0\xb0\xd1\x82\321\x8b";
goto BT9Gw;
Qym7B: }
goto ZZPg7;
rbSex: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", []), $data ?: false);
goto QR422;
JQR21: $data[] = $this->paginate($count, $this->RuZdI, $orderpage, "/orders ~page~");
goto gfxkx;
I11K5: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/orders {$orderpage}"]];
goto dw2fa;
gfxkx: uyV0m: goto W387a;
SSSod: if (!($count = $this->sql("select count(*) from orders where paid=0", view: "one"))) {
goto lM6MW;
}
goto zjxXe;
ZZPg7: ngZrx: goto uQ9Qa;
W387a: lM6MW: goto I11K5;
uQ9Qa: if (!($count > $this->RuZdI)) {
goto uyV0m;
}
goto JQR21;
dw2fa: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]];
goto rbSex;
zjxXe: $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->RuZdI} offset " . $orderpage * $this->RuZdI);
goto QmZR9;
QR422: }
public function orderAdmin($id, $orderpage)
{
goto zcMa2;
X4UVP: $data[] = [["text" => $this->i18n("delete"), "callback_data" => "/deleteOrder {$id}_{$orderpage}_orders"], ["text" => $this->i18n("confirm"), "callback_data" => "/confirmOrder {$id}_{$orderpage}"]];
goto zCyJl;
ki_pj: $u = $this->getInfoUser($order["tgid"])["result"]["user"]["first_name"];
goto tLGhN;
zcMa2: 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 FoYLm;
}
goto VDHmb;
PhXjS: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/orders {$orderpage}"]];
goto zJ77R;
fsABO: $status .= $order["client"] ? " - \xd0\277\321\200\xd0\276\xd0\xb4\320\xbb\320\265\xd0\xbd\xd0\xb8\xd0\xb5 #{$order["client"]}" : '';
goto ki_pj;
zJ77R: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", $text ?: []), $data ?: false);
goto T4TG_;
tLGhN: $text[] = "#{$order["id"]} {$order["tgid"]} {$u} ({$status}): " . ($order["name"] ?: "{$order["ip"]}:{$order["port"]}") . " / " . $this->getTime($order["life"]);
goto X4UVP;
VDHmb: $status = $order["paid"] ? "\xd0\276\320\xbf\320\xbb\xd0\xb0\321\207\320\xb5\320\xbd" : "\xd0\xb6\xd0\264\xd0\265\321\x82 \xd0\xbe\xd0\xbf\xd0\273\320\xb0\xd1\x82\xd1\x8b";
goto fsABO;
zCyJl: FoYLm: goto PhXjS;
T4TG_: }
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 ekW8N;
BPUnx: $prev = $page - 1 < 0 ? $pages - 1 : $page - 1;
goto AbRBA;
RZiRO: return [["text" => "<<", "callback_data" => str_replace("~page~", $prev, $callback)], ["text" => $page + 1 . " \320\270\xd0\267 " . $pages, "callback_data" => str_replace("~page~", $page, $callback)], ["text" => ">>", "callback_data" => str_replace("~page~", $next, $callback)]];
goto jx_Ay;
AbRBA: $next = $page + 1 >= $pages ? 0 : $page + 1;
goto RZiRO;
ekW8N: $pages = (int) ceil($all / $limit);
goto BPUnx;
jx_Ay: }
public function servers($serverpage = 0)
{
goto bWmEE;
WW4qu: XGS6a: goto sKSux;
EolvF: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/servers {$serverpage}"]];
goto F0ePE;
AGppy: muqxF: goto EolvF;
F0ePE: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]];
goto WQsiF;
riXEN: foreach ($s as $k => $v) {
goto Y3Gqp;
uB3tD: JaCg4: goto q9ZWn;
q2yw0: $online = strtotime($v["last_online"]) + $v["sleep"] < time() ? "offline" : '';
goto v0Zbp;
gMwIp: $upload = $this->getBytes($v["upload"]);
goto q2yw0;
Y3Gqp: $download = $this->getBytes($v["download"]);
goto gMwIp;
v0Zbp: $data[] = [["text" => $online . " " . ($v["name"] ?: "{$v["ip"]}:{$v["port"]}") . " clients: {$v["clients"]}/{$v["cells"]} \342\x86\223{$download} \xe2\206\x91{$upload}", "callback_data" => "/server {$v["id"]}_{$serverpage}"]];
goto uB3tD;
q9ZWn: }
goto WW4qu;
sKSux: if (!($c > $this->RuZdI)) {
goto gbv_C;
}
goto eLfzQ;
bWmEE: if (!($c = $this->sql("select count(*) from servers", view: "one"))) {
goto muqxF;
}
goto A51I7;
eLfzQ: $data[] = $this->paginate($c, $this->RuZdI, $serverpage, "/servers ~page~");
goto jRFWq;
A51I7: $s = $this->sql("select *,\xa (select count(*) from clients where server=servers.id) clients,\xa (select sum(session_download) + sum(download) from clients where server=servers.id) download,
(select sum(session_upload) + sum(upload) from clients where server=servers.id) upload
from servers order by name limit {$this->RuZdI} offset " . $serverpage * $this->RuZdI);
goto riXEN;
jRFWq: gbv_C: goto AGppy;
WQsiF: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", []), $data ?: false);
goto zcLSg;
zcLSg: }
public function getClients($call, $server = 0, $serverpage = 0, $clientpage = 0)
{
goto weBFy;
a_Rqv: if (!($count > $this->RuZdI)) {
goto ZFIRM;
}
goto Anrby;
aC19y: return $data ?: [];
goto eIWmh;
KQ2fU: ZFIRM: goto w69vo;
w69vo: GhrNN: goto aC19y;
IS5lX: $clients = $this->sql("select * from clients where if(:id=0, true, server=:id) limit {$this->RuZdI} offset " . $clientpage * $this->RuZdI, [":id" => $server]);
goto OIvi5;
imuZB: V55ux: goto a_Rqv;
OIvi5: foreach ($clients as $k => $v) {
goto dGEuF;
M9eRc: RQX3u: goto e9Nmw;
SYmMB: $d = $this->getBytes($v["download"] + $v["session_download"]);
goto MhPSI;
zZysP: $name = $v["name"] ?: $v["tgid"];
goto SYmMB;
fCqnM: $on = $v["on_off"] && !$v["public"] ? "(wait create)" : '';
goto zZysP;
MhPSI: $u = $this->getBytes($v["upload"] + $v["session_upload"]);
goto egmfK;
egmfK: $data[] = [["text" => "#{$v["id"]} {$on} {$name} \xe2\206\223{$d} \xe2\206\x91{$u} {$life}", "callback_data" => "/client {$call}_{$v["id"]}_{$server}_{$serverpage}_{$clientpage}"]];
goto M9eRc;
dGEuF: $life = $v["life"] ? $this->getTime(strtotime($v["life"]) - time()) : "\342\x88\236";
goto fCqnM;
e9Nmw: }
goto imuZB;
Anrby: $data[] = $this->paginate($count, $this->RuZdI, $clientpage, "/{$call} {$server}_{$serverpage}_~page~");
goto KQ2fU;
weBFy: if (!($count = $this->sql("select count(*) from clients where if(:id=0, true, server=:id)", [":id" => $server], "one"))) {
goto GhrNN;
}
goto IS5lX;
eIWmh: }
public function clients($server_id = 0, $serverpage = 0, $clientpage = 0)
{
goto xp7oU;
ORRLA: $data[] = [["text" => $this->i18n("update"), "callback_data" => "/clients {$server_id}_{$serverpage}_{$clientpage}"]];
goto xxku7;
xp7oU: $data = $this->getClients("clients", $server_id, $serverpage, $clientpage);
goto ORRLA;
kwo43: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", []), $data ?: false);
goto MPxxc;
xxku7: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu"]];
goto kwo43;
MPxxc: }
public function peer($id, $menupage)
{
goto m7n3d;
vUb8v: $data[] = [["text" => $this->i18n("prolong"), "callback_data" => "/prolong {$id}_{$menupage}"]];
goto kb4qS;
SlR9S: $c["life"] = $c["life"] ? $this->getTime(strtotime($c["life"]) - time()) : "\342\210\x9e";
goto IhjOx;
CWTU4: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text ?: []), $data ?: false);
goto HCD3w;
cCDiZ: bWoRi: goto SYfPG;
ruzIn: $c["code"] = $this->qrPeer($id, return: 1);
goto MVSVK;
SYfPG: $c["refer_count"] = $this->sql("select count(*) from orders where created!=0 and promo=:promo", [":promo" => $h], "one");
goto dMmUc;
PqElu: $c["refer_link"] = "https://t.me/{$this->request("getMe", [])["result"]["username"]}?start={$h}";
goto cCDiZ;
MVSVK: iGRkB: goto SlR9S;
J9XON: $data[] = [["text" => $this->i18n("qr"), "callback_data" => "/qrPeer {$id}"], ["text" => $this->i18n("download"), "callback_data" => "/qrPeer {$id}_1"]];
goto s4nUc;
kb4qS: if (!$c["on_off"]) {
goto UJMI9;
}
goto J9XON;
yYqUQ: if (!$this->sql("select 1 from orders where created=:id", [":id" => $c["id"]], "one")) {
goto bWoRi;
}
goto PqElu;
HGhvu: UJMI9: goto r3hPN;
IhjOx: $u = $this->getInfoUser($c["tgid"])["result"]["user"]["first_name"];
goto wycFD;
r3hPN: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/menu {$menupage}"]];
goto CWTU4;
dMmUc: Ht8U1: goto xlf4z;
m7n3d: $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 ziTdU;
I2pa6: $h = "cl" . substr(hash("sha1", $c["private"]), 0, 7);
goto yYqUQ;
s4nUc: $data[] = [["text" => $this->i18n("amnezia"), "callback_data" => "/amnezia {$id}"]];
goto gNDUD;
ziTdU: if (!$c["on_off"]) {
goto iGRkB;
}
goto ruzIn;
wycFD: $c["name"] = $c["name"] ?: "{$u} ({$c["tgid"]})";
goto yxAv1;
xlf4z: $text[] = $this->template("ur", $c);
goto vUb8v;
yxAv1: if (!$c["private"]) {
goto Ht8U1;
}
goto I2pa6;
gNDUD: $data[] = [["text" => $this->i18n("rename"), "callback_data" => "/sendReply enter name_userRename_{$id}_{$menupage}"]];
goto HGhvu;
HCD3w: }
public function amnezia($id)
{
$link = $this->sql("select amnezia from clients where id=:id", [":id" => $id], "one");
$this->send($this->yR2JN["from"], "<code>{$link}</code>");
}
public function qrPeer($id, $download = 0, $return = false)
{
goto NwRJ3;
R7ViR: $code = "[Interface]
PrivateKey = {$c["private"]}
Address = {$c["ip"]}\xaMTU = 1350\xaDNS = {$dns}
[Peer]\xaPublicKey = {$c["server_hash"]}\xaEndpoint = {$d}:{$c["port"]}
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 20";
goto ij_iN;
gA6XF: file_put_contents($path, $code);
goto fsX36;
olwxp: $template = preg_replace("/~ip~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $d), $template);
goto XbPxE;
N2yRq: $d = $c["domain"] ?: $c["server_ip"];
goto mUlzv;
ENBvG: $replacement = $this->getSetting("repl");
goto PXiWE;
fsX36: $this->sendFile($this->yR2JN["chat"], curl_file_create($path, posted_filename: $template));
goto JRLGU;
PXiWE: $bot = $this->request("getMyName", [])["result"]["name"];
goto eyv1N;
NwRJ3: $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 N2yRq;
ij_iN: if (!$return) {
goto rKpeo;
}
goto C6_eV;
ckkyV: unlink($path);
goto xE3MH;
iOF2c: $path = __DIR__ . "/qr/{$id}";
goto NIT0I;
NIT0I: $template = $this->getSetting("temp");
goto ENBvG;
oj45m: rKpeo: goto iOF2c;
rKxhF: if ($download) {
goto qNPGS;
}
goto HyHnq;
XbPxE: $template = preg_replace("/~port~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $c["port"]), $template);
goto S6Vwz;
S6Vwz: $template = preg_replace("/~id~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $c["id"]), $template);
goto rKxhF;
mUlzv: $dns = $this->getSetting("dns") ?: "1.1.1.1, 8.8.8.8";
goto R7ViR;
eyv1N: $template = preg_replace("/~bot~/", preg_replace("~[^a-zA-Z0-9_]+~", $replacement, $bot), $template);
goto olwxp;
C6_eV: return $code;
goto oj45m;
JRLGU: UcCGG: goto ckkyV;
FF5sW: goto UcCGG;
goto KsfSP;
HyHnq: exec("qrencode -t png -o {$path} '{$code}'");
goto x3SsU;
x3SsU: $this->sendPhoto($this->yR2JN["chat"], curl_file_create($path), $template);
goto FF5sW;
KsfSP: qNPGS: goto gA6XF;
xE3MH: }
public function testPeriod($id, $menupage)
{
goto FlwEv;
eedPA: wLMsq: goto H6k7d;
FlwEv: if (!($s = $this->sql("select * from servers where id=:id and pay=1 and test_time > 0", [":id" => $id], "row"))) {
goto wLMsq;
}
goto bHfPF;
bHfPF: $this->sql("insert into clients(tgid, server, on_off, ip, life) values (:tgid, :server, 1, :ip, :life)", [":tgid" => $this->yR2JN["from"], ":server" => $id, ":ip" => $this->nextIP($id), ":life" => date("Y-m-d H:i:s", time() + $s["test_time"])]);
goto eedPA;
H6k7d: $this->menu($menupage);
goto MhDXU;
MhDXU: }
public function serverUser($id, $menupage = 0)
{
goto TetMJ;
V68Bv: $subs = $this->sql("select * from clients where tgid=:tgid", [":tgid" => $this->yR2JN["from"]]);
goto ooidx;
uZ3vB: $text[] = $this->template("us", $s);
goto yic6j;
tmRKO: $text[] = "\xd0\xbd\320\265\xd1\x82 \320\264\xd0\276\xd1\x81\321\x82\321\x83\320\xbf\320\xbd\xd1\x8b\xd1\205 \321\201\xd0\xbb\320\xbe\321\x82\xd0\276\xd0\262 \320\xbd\xd0\xb0 \320\xb4\320\260\xd0\xbd\xd0\275\321\x8b\320\271 \320\xbc\320\276\xd0\xbc\xd0\265\320\275\321\202";
goto e4Zs2;
yic6j: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text ?: []), $data ?: false);
goto WjovB;
GG4e1: JmqQB: goto U3jlw;
ooidx: if (!(!empty($s["test_time"]) && empty($subs))) {
goto JmqQB;
}
goto xw1A2;
GSNEN: yUM_W: goto V68Bv;
A2fxR: Z8L0r: goto gQk81;
hEU_x: $name = $s["name"] ?: "{$s["ip"]}:{$s["port"]}";
goto oQnbl;
xw1A2: $data[] = [["text" => $this->i18n("testPeriod"), "callback_data" => "/testPeriod {$id}_{$menupage}"]];
goto GG4e1;
o2L6L: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/buy {$menupage}"]];
goto uZ3vB;
TQUxV: $text[] = $name;
goto h7A8o;
r5rFL: if (empty($data)) {
goto jC46w;
}
goto TQUxV;
nqTUF: ktcrF: goto r5rFL;
e4Zs2: qJmbe: goto A2fxR;
oQnbl: if (!empty($s["pay"])) {
goto yUM_W;
}
goto N3J9x;
N3J9x: $text[] = "{$name} \xd0\xbd\320\xb5 \320\264\xd0\276\xd1\x81\321\202\321\203\xd0\xbf\320\xb5\xd0\xbd \xd0\275\xd0\260 \xd0\264\xd0\260\320\275\xd0\xbd\321\x8b\xd0\xb9 \xd0\274\xd0\xbe\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82";
goto Gr4xj;
gQk81: aaIPP: goto o2L6L;
v0pcK: Lcn2c: goto nqTUF;
U3jlw: if (empty($p = $this->sql("select * from price where server=:server", [":server" => $id]))) {
goto ktcrF;
}
goto tx5Gu;
qlEU3: jC46w: goto tmRKO;
tx5Gu: foreach ($p as $k => $v) {
$data[] = [["text" => $this->labelPrice($v), "callback_data" => "/createOrder {$id}_{$v["id"]}_{$menupage}"]];
eMNLU: }
goto v0pcK;
Gr4xj: goto Z8L0r;
goto GSNEN;
h7A8o: goto qJmbe;
goto qlEU3;
TetMJ: if (!($s = $this->sql("select * from servers where id=:id and pay=1", [":id" => $id], "row"))) {
goto aaIPP;
}
goto hEU_x;
WjovB: }
public function createOrder($server, $price, $menupage, $client = null)
{
$id = $this->sql("insert into orders(tgid, server, price, quant, life, client) values (:tgid, :server, (select price 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->yR2JN["from"], ":server" => $server, ":price" => $price, ":client" => $client], "one", nextRowset: 1);
$this->payOrder($id, $server, $menupage);
}
public function server($id, $serverpage = 0, $clientpage = 0)
{
goto vmshe;
U47Dl: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/servers {$serverpage}"]];
goto y2Eeg;
WoTtg: if (!($clients = $this->getClients("server", $server["id"], $serverpage, $clientpage))) {
goto UTj37;
}
goto z5o7k;
uZgBR: $name = $server["name"] ?: "{$server["ip"]}:{$server["port"]}";
goto y18Ny;
z5o7k: $data = array_merge($data, $clients);
goto BIqRm;
vmshe: if (!($server = $this->sql("select * from servers where id=:id", [":id" => $id], "row"))) {
goto uv1Yn;
}
goto B6gEK;
y2Eeg: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text ?: []), $data ?: false);
goto pF18x;
BIqRm: UTj37: goto rPZLi;
B6gEK: $pay = $server["pay"] ? "on" : "off";
goto uZgBR;
yrM5X: $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 WoTtg;
rPZLi: uv1Yn: goto U47Dl;
y18Ny: $text[] = "<b>server</b>: {$name}
<b>sleep</b>: {$server["sleep"]}\xa<b>cells</b>: {$server["cells"]}\xa<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"]}
<b>domain</b>: {$server["domain"]}
\xa<b>description:</b>
{$server["description"]}";
goto yrM5X;
pF18x: }
public function exportServer($id, $serverpage, $clientpage)
{
goto ptzD3;
QfAqj: file_put_contents($path, implode("
", $text));
goto c1KqL;
hZZFf: if (empty($c)) {
goto kuk7B;
}
goto IrrJN;
Rurfe: $path = "/tmp/wg0.conf";
goto QfAqj;
rbPn1: unlink($path);
goto b0E2g;
ptzD3: $s = $this->sql("select * from servers where id=:id", [":id" => $id], "row");
goto eCenK;
eCenK: $c = $this->sql("select * from clients where server=:id and on_off=1", [":id" => $id]);
goto ZUPDH;
ZUPDH: $text[] = "[Interface]\xaPrivateKey = {$s["private"]}\xaAddress = 10.0.1.1/24
ListenPort = {$s["port"]}\xaPostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE\xaPostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE\xa";
goto hZZFf;
WnuRD: muxBQ: goto znvDk;
znvDk: kuk7B: goto Rurfe;
c1KqL: $this->sendFile($this->yR2JN["chat"], curl_file_create($path));
goto rbPn1;
IrrJN: foreach ($c as $k => $v) {
goto uh5s_;
D6st7: HO2Er: goto c4hM1;
uh5s_: $name = $v["name"] ?: $v["tgid"];
goto kIg8T;
kIg8T: $text[] = "[Peer]
# id = {$v["id"]}
# download = {$v["download"]}
# upload = {$v["upload"]}
# friendly_name = {$name}
# life = {$v["life"]}\xaPublicKey = {$v["public"]}
AllowedIPs = {$v["ip"]}
";
goto D6st7;
c4hM1: }
goto WnuRD;
b0E2g: }
public function configServer($id, $serverpage, $clientpage)
{
goto pMVCg;
nucAI: j8r0p: goto kjPmd;
QFtcS: $pay = $server["pay"] ? "on" : "off";
goto EdfL2;
EdfL2: $torrent = $server["torrent"] ? "on" : "off";
goto e_DF9;
y3KJ7: $r = $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text ?: []), $data ?: false);
goto OpSa1;
sfj9L: $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 LZ2eu;
awKHy: $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 sfj9L;
ed6J0: $text[] = "<b>server</b>: {$name}
<b>sleep</b>: {$server["sleep"]}\xa<b>cells</b>: {$server["cells"]}\xa<b>limits for user</b>: {$server["limits"]}
<b>test time</b>: {$this->getTime($server["test_time"])}
<b>pay</b>: {$pay}
<b>torrent</b>: {$torrent}\xa<b>domain</b>: {$server["domain"]}\xa
<b>description:</b>
{$server["description"]}";
goto awKHy;
mXGdf: $data[] = [["text" => $this->i18n("help"), "callback_data" => "/helpConfigServer {$id}_{$serverpage}_{$clientpage}"]];
goto Faus4;
Faus4: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/server {$id}_{$serverpage}_{$clientpage}"]];
goto y3KJ7;
e_DF9: $name = $server["name"] ?: "{$server["ip"]}:{$server["port"]}";
goto ed6J0;
XVN2F: $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 svlYp;
svlYp: $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 R5Qba;
LZ2eu: $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 XVN2F;
pMVCg: if (!($server = $this->sql("select * from servers where id=:id", ["id" => $id], "row"))) {
goto j8r0p;
}
goto QFtcS;
kjPmd: $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 mXGdf;
R5Qba: $data[] = [["text" => $this->i18n("switchPay"), "callback_data" => "/payServerSwitch {$id}_{$serverpage}_{$clientpage}"], ["text" => $this->i18n("delete"), "callback_data" => "/sendReply enter 'delete'_unsetServer_{$id}_{$serverpage}"]];
goto nucAI;
OpSa1: }
public function addPromo($text, $id, $serverpage, $clientpage)
{
goto R44rq;
R44rq: [$code, $quant, $price, $life] = array_map(fn($e) => trim($e), explode("=", $text));
goto qFjuD;
AkhIl: $this->promo($id, $serverpage, $clientpage);
goto pGkT2;
qFjuD: $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 AkhIl;
pGkT2: }
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 r90JN;
lPt_s: foreach ($r as $k => $v) {
$data[] = [["text" => "{$this->i18n("delete")} {$v["title"]} = x{$v["quant"]} = {$v["price"]} \342\x82\275 = {$this->getTime($v["duration"])}", "callback_data" => "/delPromo {$v["id"]}_{$id}_{$serverpage}_{$clientpage}"]];
C20iQ: }
goto sdujd;
v8tSg: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like code=quant=price=time_addPromo_{$id}_{$serverpage}_{$clientpage}"]];
goto ou6Eb;
wKXS1: NY5qJ: goto zWACs;
ou6Eb: if (!($r = $this->sql("select * from promo where server=:server", [":server" => $id]))) {
goto NY5qJ;
}
goto lPt_s;
zWACs: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]];
goto OWDlu;
r90JN: $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 v8tSg;
sdujd: kl_hZ: goto wKXS1;
OWDlu: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("\xa", []), $data ?: false);
goto eHUXz;
eHUXz: }
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 IGIRX;
iVOeA: odvdx: goto A249L;
A249L: $this->servers($serverpage);
goto lPzSY;
IGIRX: if (!($text == "delete")) {
goto odvdx;
}
goto NEiur;
Egtn3: $this->sql("delete from clients where server=:id", [":id" => $id]);
goto J_MwP;
J_MwP: $this->sql("delete from servers where id=:id", [":id" => $id]);
goto iVOeA;
NEiur: $this->sql("delete from price where server=:id", [":id" => $id]);
goto Egtn3;
lPzSY: }
public function client($call, $id, $server_id, $serverpage, $clientpage)
{
goto w9xrD;
kA8DJ: if ($c["ip"]) {
goto VbD4b;
}
goto oYxMP;
ks2nx: $data[] = [["text" => $this->i18n("qr"), "callback_data" => "/qrPeer {$id}"], ["text" => $this->i18n("download"), "callback_data" => "/qrPeer {$id}_1"]];
goto v8p4X;
ksa_2: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", array_filter($text) ?: []), $data ?: false);
goto xM9e2;
MZ2NG: $text[] = "\xe2\206\x93{$download} \342\x86\x91{$upload}";
goto qDA36;
LDN02: $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 snyW_;
LmfCx: $upload = $this->getBytes($c["session_upload"] + $c["upload"]);
goto I0iWk;
qDA36: $text[] = $life ?: '';
goto kA8DJ;
a0Dm5: VbD4b: goto ksa_2;
I0iWk: $ip = explode(":", $c["external_ip"])[0];
goto j59Qx;
vPR1Y: $text[] = "<code>{$code}</code>
";
goto KCscG;
PyA7e: $data[] = [["text" => $this->i18n("rename"), "callback_data" => "/sendReply enter name client_renameClient_{$call}_{$id}_{$server_id}_{$serverpage}_{$clientpage}"]];
goto nXSTd;
zz8cj: $u = $this->getInfoUser($c["tgid"])["result"]["user"]["first_name"];
goto oFA9X;
w9xrD: $c = $this->sql("select * from clients where id=:id", [":id" => $id], "row");
goto LDN02;
PWCZE: $text[] = $c["handshake"] ? $this->getTime(time() - $c["handshake"]) . " \xd0\xbd\320\260\320\xb7\xd0\260\xd0\xb4" : '';
goto MZ2NG;
snyW_: if (!$c["public"]) {
goto rQJqh;
}
goto ks2nx;
VXHj0: $download = $this->getBytes($c["session_download"] + $c["download"]);
goto LmfCx;
oFA9X: $name = ($c["name"] ? "{$c["name"]} ({$c["tgid"]})" : $c["tgid"]) . " {$u}";
goto TlYXS;
nXSTd: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/{$call} {$server_id}_{$serverpage}_{$clientpage}"]];
goto zz8cj;
oYxMP: $text[] = "<b>\320\276\xd0\266\320\270\xd0\xb4\xd0\260\xd0\xb5\xd1\202 \xd1\x81\xd0\xbe\320\xb7\320\xb4\xd0\xb0\320\275\xd0\270\321\x8f</b>";
goto a0Dm5;
v8p4X: rQJqh: goto PyA7e;
KCscG: $text[] = "#{$c["id"]} {$name}";
goto PWCZE;
TlYXS: $life = $this->getTime(strtotime($c["life"]) - time());
goto VXHj0;
j59Qx: $code = $this->qrPeer($id, return: 1);
goto vPR1Y;
xM9e2: }
public function getBytes($bytes)
{
goto zW75H;
i9yWl: tlIOB: goto kA9SB;
RIheT: foreach ($t as $k => $v) {
goto p0Czx;
iWdK4: hQhWB: goto UPUCx;
p0Czx: if (!($k == 0)) {
goto yq0fx;
}
goto pu7Es;
YJgmO: FjhqU: goto iWdK4;
C1kCH: if (!($bytes / 1024 * * $k < 1)) {
goto FjhqU;
}
goto RGCI0;
RGCI0: return round($bytes / 1024 * * ($k - 1), 2) . " {$t[$k - 1]}";
goto YJgmO;
pu7Es: goto hQhWB;
goto unI_u;
unI_u: yq0fx: goto C1kCH;
UPUCx: }
goto i9yWl;
zW75H: $t = ["B", "KB", "MB", "GB", "TB"];
goto RIheT;
kA9SB: }
public function userRename($name, $id, $menupage)
{
goto tLMGZ;
lwojb: suDOF: goto p1rhC;
T0eh3: MY50F: goto YAPDI;
YAPDI: $this->sql("update clients set name=:name where id=:id", [":id" => $id, ":name" => $name]);
goto lwojb;
MFVIm: $this->sql("update clients set name="" where id=:id", [":id" => $id]);
goto CL2Nm;
CL2Nm: goto suDOF;
goto T0eh3;
p1rhC: $this->peer($id, $menupage);
goto Kv8Ly;
tLMGZ: if ($name) {
goto MY50F;
}
goto MFVIm;
Kv8Ly: }
public function renameClient($name, $call, $id, $server_id, $serverpage, $clientpage)
{
goto pZbtx;
vKy7b: K5HAn: goto wF6zn;
pZbtx: if ($name) {
goto zUqkz;
}
goto s39Zl;
Qz6Rd: goto K5HAn;
goto bZFZv;
wF6zn: $this->client($call, $id, $server_id, $serverpage, $clientpage);
goto HCtSE;
UIGFs: $this->sql("update clients set name=:name where id=:id", [":id" => $id, ":name" => $name]);
goto vKy7b;
bZFZv: zUqkz: goto UIGFs;
s39Zl: $this->sql("update clients set name="" where id=:id", [":id" => $id]);
goto Qz6Rd;
HCtSE: }
public function clientPrices($id, $serverpage, $clientpage)
{
goto rnAk6;
OXQbN: $prices = $this->sql("select * from price where server=:id", [":id" => $id]);
goto qGcCO;
g5D52: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text ?: []), $data ?: false);
goto YSJl0;
INhDf: mrvfU: goto nD203;
MfEvA: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/server {$id}_{$serverpage}_{$clientpage}"]];
goto QxfeP;
qGcCO: if (!$prices) {
goto IJYgU;
}
goto E0wnQ;
QxfeP: $text[] = "prices";
goto g5D52;
rnAk6: $data[] = [["text" => "\342\x88\x9e", "callback_data" => "/sendReply enter telegram id_clientAdd_0_{$id}_{$serverpage}"]];
goto OXQbN;
E0wnQ: foreach ($prices as $k => $v) {
$data[] = [["text" => $this->getTime($v["life"]), "callback_data" => "/sendReply enter telegram id_clientAdd_{$v["id"]}_{$id}_{$serverpage}"]];
m2JrI: }
goto INhDf;
nD203: IJYgU: goto MfEvA;
YSJl0: }
public function clientAdd(int $tgid, $price_id, $id, $serverpage)
{
goto lY2QJ;
urGuG: $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 VQ7tT;
uf4nR: $server = $this->sql("select * from servers where id=:id", [":id" => $id], "row");
goto JVQwK;
z3QYx: goto PW6SB;
goto uwrJR;
VQ7tT: wu5j5: goto qzY11;
lSmGI: $this->server($id, $serverpage, (int) ceil($c / $this->RuZdI) - 1);
goto R29wP;
MKnNa: PW6SB: goto urGuG;
JVQwK: $life = $this->sql("select life from price where id=:id", [":id" => $price_id], "one");
goto MKnNa;
vHzip: $life = 0;
goto z3QYx;
uwrJR: D67GG: goto uf4nR;
iUZdl: if ($price_id) {
goto D67GG;
}
goto vHzip;
qzY11: $c = $this->sql("select count(*) from clients where server=:id", [":id" => $id], "one");
goto lSmGI;
lY2QJ: if (!$tgid) {
goto wu5j5;
}
goto iUZdl;
R29wP: }
public function nextIP($server)
{
goto zr_RC;
S1pQW: jdrMT: goto W6Gjj;
W6Gjj: $ip_count = (1 << 32 - 24) - count($ips) - 1;
goto yRZKO;
v7bsh: $i++;
goto wqcsE;
zr_RC: $r = array_unique(array_merge(["10.0.1.1/24"], $this->sql("select ip from clients where server=:id", [":id" => $server], "column") ?: []));
goto Hz9Dn;
Kn_Ww: Dc1MO: goto vU4S1;
cgWXc: q0HQT: goto v7bsh;
ZJaWc: $ip = $i + ip2long("10.0.1.1");
goto nPTs9;
ixbIu: return long2ip($ip) . "/32";
goto SYLC3;
nPTs9: if (in_array($ip, $ips)) {
goto jtMEV;
}
goto ixbIu;
vU4S1: if (!($i < $ip_count)) {
goto Pn4R_;
}
goto ZJaWc;
Hz9Dn: foreach ($r as $k => $v) {
$ips[] = ip2long(explode("/", $v)[0]);
UkLef: }
goto S1pQW;
wqcsE: goto Dc1MO;
goto fX0PI;
SYLC3: jtMEV: goto cgWXc;
fX0PI: Pn4R_: goto CxnC4;
yRZKO: $i = 1;
goto Kn_Ww;
CxnC4: return false;
goto AYfhc;
AYfhc: }
public function labelPrice($price, $notquant = 0)
{
goto HMo0n;
k5_pd: return "{$this->getTime($price["life"])} = " . $this->i18n("x{$price["quant"]}") . " = {$price["price"]} \342\x82\xbd";
goto iTxY2;
jk03d: StYW2: goto k5_pd;
bSNtl: return "{$this->getTime($price["life"])} = {$price["price"]} \xe2\202\xbd";
goto jk03d;
HMo0n: if (!$notquant) {
goto StYW2;
}
goto bSNtl;
iTxY2: }
public function price($id, $serverpage, $clientpage)
{
goto Lp_qn;
Dj5KI: $data[] = [["text" => $this->i18n("add"), "callback_data" => "/sendReply enter like 1 day = 1 = 100_setPrice_{$id}_{$serverpage}_{$clientpage}"]];
goto e_CaX;
Lp_qn: $text[] = "price";
goto Dj5KI;
dby3E: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], implode("
", $text), $data ?: false);
goto eZHQm;
qHxm9: if (!$prices) {
goto aZT12;
}
goto osVWI;
osVWI: foreach ($prices as $k => $v) {
$data[] = [["text" => $this->i18n("delete") . " " . $this->labelPrice($v), "callback_data" => "/deletePrice {$v["id"]}_{$id}_{$serverpage}_{$clientpage}"]];
rckmf: }
goto E2HLp;
ECHMr: aZT12: goto vwfrm;
E2HLp: NW7uJ: goto ECHMr;
vwfrm: $data[] = [["text" => $this->i18n("back"), "callback_data" => "/configServer {$id}_{$serverpage}_{$clientpage}"]];
goto dby3E;
e_CaX: $prices = $this->sql("select * from price where server=:id", [":id" => $id]);
goto qHxm9;
eZHQm: }
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 K8a4N;
qCGKR: $this-> {
$call}
($server_id, $serverpage, $clientpage);
goto m_OF_;
KaqIt: lf13d: goto qCGKR;
K8a4N: if (!($text == "delete")) {
goto lf13d;
}
goto pI9I9;
pI9I9: $this->sql("delete from clients where id=:id", [":id" => $id]);
goto KaqIt;
m_OF_: }
public function setPrice($text, $id, $serverpage, $clientpage)
{
goto yp_bN;
eYpnW: $life = strtotime($life, 0);
goto dAnza;
dAnza: if (!($life > 0 and $price > 0)) {
goto X1Pbf;
}
goto iX5a1;
yp_bN: [$life, $quant, $price] = array_map(fn($e) => trim($e), explode("=", $text));
goto eYpnW;
OdqAN: $this->price($id, $serverpage, $clientpage);
goto WWj2v;
Ze1Up: X1Pbf: goto OdqAN;
iX5a1: $this->sql("insert ignore into price(server, life, price, quant) values (:id, :life, :price, :quant)", [":id" => $id, ":life" => $life, ":price" => $price, ":quant" => $quant]);
goto Ze1Up;
WWj2v: }
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 psQjP;
sDFCn: $n = $s["name"] ?: "{$s["ip"]}:{$s["port"]}";
goto qGvnH;
hFyYm: $this->uSS($r["result"]["message_id"], "ping", $id, $serverpage, $clientpage);
goto GTTPh;
qGvnH: $r = $this->send($this->yR2JN["chat"], "ping {$n}\xaexpect a response to this message within {$s["sleep"]} seconds");
goto hFyYm;
psQjP: $s = $this->sql("select * from servers where id=:id", [":id" => $id], "row");
goto sDFCn;
GTTPh: }
public function getTime(int $seconds)
{
goto BzF4b;
dO1CJ: if (!($seconds == 0)) {
goto m35h0;
}
goto xgLJC;
ZeIvA: return trim($text) ?: 0;
goto lGjap;
BzF4b: $seconds = $seconds > 0 ? $seconds : 0;
goto dO1CJ;
GqHiX: m35h0: goto evhCc;
evhCc: $items = ["Y" => ["diff" => 1970, "sign" => "\320\xb3"], "m" => ["diff" => 1, "sign" => "\320\274\320\xb5\321\201"], "d" => ["diff" => 1, "sign" => "\xd0\264\320\xbd"], "H" => ["diff" => 0, "sign" => "\xd1\207"], "i" => ["diff" => 0, "sign" => "\xd0\274\320\xb8\320\275"], "s" => ["diff" => 0, "sign" => "\xd1\201"]];
goto B_X6P;
xgLJC: return "off";
goto GqHiX;
YOtE0: jFnMs: goto ZeIvA;
B_X6P: foreach ($items as $k => $v) {
goto NjqH6;
Hkz6Y: tPK6a: goto j2a2z;
j2a2z: fZdTK: goto wsT_M;
NjqH6: if (!(($t = gmdate($k, $seconds) - $v["diff"]) > 0)) {
goto tPK6a;
}
goto vydGJ;
vydGJ: $text .= " {$t} {$v["sign"]}";
goto Hkz6Y;
wsT_M: }
goto YOtE0;
lGjap: }
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 omR62;
veat2: XIqlJ: goto ISgND;
omR62: if ($time) {
goto Nk07r;
}
goto sIUPO;
M80RN: goto XIqlJ;
goto jZabM;
GjKzH: $this->uSS(strtotime($time) - time(), "test_time", $id, $serverpage, $clientpage);
goto veat2;
jZabM: Nk07r: goto GjKzH;
sIUPO: $this->uSS(0, "test_time", $id, $serverpage, $clientpage);
goto M80RN;
ISgND: }
public function demo($return = false)
{
goto OKAI9;
XF1vg: goto FxJEb;
goto fn_28;
aRYXk: return $demo;
goto BSlCn;
MgSAk: if ($this->yR2JN["callback_id"]) {
goto Gt1Di;
}
goto ex9mT;
IEhYe: if (!$demo) {
goto Y8d8T;
}
goto YSRJs;
f4j9L: $this->update($this->yR2JN["chat"], $this->yR2JN["message_id"], "\320\xb4\xd0\265\xd0\xbc\320\xbe \321\x80\xd0\265\xd0\266\xd0\270\xd0\274 \xd0\xb7\320\260\320\272\320\276\320\xbd\xd1\207\xd0\265\320\275");
goto evFD_;
h7bKW: if (!$return) {
goto nhwEm;
}
goto aRYXk;
YSRJs: $t = json_decode(file_get_contents("http://worldtimeapi.org/api/timezone/Europe/Samara"), true);
goto ygE2x;
Q9PkV: exit;
goto LrnMt;
BSlCn: nhwEm: goto IEhYe;
evFD_: FxJEb: goto Q9PkV;
fn_28: Gt1Di: goto f4j9L;
ygE2x: if (!(empty($t["client_ip"]) || strtotime($demo) < $t["unixtime"])) {
goto KF8YP;
}
goto MgSAk;
LrnMt: KF8YP: goto yfrvY;
ex9mT: $this->send($this->yR2JN["chat"], "\xd0\xb4\320\265\320\274\xd0\276 \xd1\x80\320\265\320\266\xd0\xb8\xd0\274 \320\267\xd0\xb0\320\272\xd0\xbe\xd0\xbd\321\207\320\xb5\xd0\xbd", $this->yR2JN["message_id"]);
goto XF1vg;
yfrvY: Y8d8T: goto P0rfe;
OKAI9: $demo = "3 day";
goto h7bKW;
P0rfe: }
public function createUserDB()
{
goto I2XMA;
pyWmE: return $pass;
goto gtDq4;
L6AE8: $this->setcommands(["scope" => ["type" => "chat", "chat_id" => $this->WzKlY["admin"]], "commands" => array_merge($this->getcommands(), [["command" => "db", "description" => "{$this->tc2An}:{$this->L52Ko}:{$pass}"], ["command" => "setuser", "description" => "\320\xbf\xd0\265\xd1\x80\320\xb5\320\xba\320\273\321\216\321\207\xd0\270\321\x82\xd1\201\321\x8f \xd0\262 \xd1\x80\320\xb5\xd0\266\xd0\xb8\320\274 \320\277\320\xbe\320\xbb\xd1\x8c\xd0\xb7\320\xbe\320\xb2\320\260\xd1\x82\320\265\xd0\273\xd1\217"], ["command" => "setadmin", "description" => "\xd0\277\xd0\265\xd1\x80\320\xb5\320\xba\xd0\273\xd1\x8e\xd1\207\320\270\xd1\202\321\201\xd1\x8f \xd0\262 \xd1\x80\xd0\xb5\320\266\320\270\xd0\274 \xd0\xb0\320\xb4\320\274\xd0\xb8\320\275\xd0\260"]])]);
goto pyWmE;
bQOpd: $this->sql("drop user if exists 'tower'@'%'");
goto sDSt6;
Lxu6K: $this->sql("flush privileges");
goto L6AE8;
I2XMA: $pass = $this->randomPassword(15);
goto bQOpd;
sDSt6: $this->sql("create user 'tower'@'%' identified by '{$pass}'");
goto m_2Sa;
m_2Sa: $this->sql("grant all on tower.* to 'tower'@'%'");
goto Lxu6K;
gtDq4: }
public function randomPassword($l)
{
goto EjqtE;
mzpE2: return implode($pass);
goto JsTok;
jr3UP: ji8nL: goto mzpE2;
gQ370: $pass[] = $alphabet[$n];
goto s7rfi;
Nfq3m: goto e0fRq;
goto jr3UP;
wNGLB: $alphaLength = strlen($alphabet) - 1;
goto m3QCZ;
Lnuka: if (!($i < $l)) {
goto ji8nL;
}
goto lQuYB;
Voyhm: e0fRq: goto Lnuka;
Lx7fw: $i++;
goto Nfq3m;
m3QCZ: $i = 0;
goto Voyhm;
s7rfi: WnVis: goto Lx7fw;
hz0ua: $pass = [];
goto wNGLB;
EjqtE: $alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_*~+-[]()/";
goto hz0ua;
lQuYB: $n = rand(0, $alphaLength);
goto gQ370;
JsTok: }
public function sql(string $sql, array $values = [], string $view = "all", int $column = 0, $nextRowset = 0)
{
try {
goto UfgHd;
bdFh9: yl1b1: goto boqO7;
v4Cpq: foreach ($values as $k => $v) {
goto BO1fQ;
RZRKs: Tjjd7: goto SRDB2;
itHa2: $sql = preg_replace("~[?]~", "'" . $v . "'", $sql, 1);
goto ayNTq;
lW0gR: $sql = preg_replace("~" . preg_quote($k) . "~", "'" . $v . "'", $sql);
goto RZRKs;
fqU7W: wyHWl: goto lW0gR;
BO1fQ: if (is_string($k)) {
goto wyHWl;
}
goto itHa2;
SRDB2: NuWO1: goto To9oF;
ayNTq: goto Tjjd7;
goto fqU7W;
To9oF: }
goto u4dxo;
x2yQt: rGn1Y: goto zVz6D;
sbaGL: $stmt->nextRowset();
goto xLvQ_;
N3r3X: Nhqlr: goto DpgPq;
ygbO0: goto rGn1Y;
goto N3r3X;
tLOiI: $stmt = $dbh->prepare($sql);
goto cyloT;
h9mbD: goto JwOWk;
goto GUAte;
PGbGt: return false;
goto h9mbD;
boqO7: JwOWk: goto p_L5t;
rez1i: $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 tLOiI;
cyloT: if ($stmt->execute($values)) {
goto E2p81;
}
goto PGbGt;
Xl4B5: $keys = [];
goto v4Cpq;
UfgHd: if (!("query" == $view)) {
goto BAT4r;
}
goto Xl4B5;
GUAte: E2p81: goto x2yQt;
u4dxo: EGTPS: goto JBCau;
Ahrmi: UJuz5: goto bdFh9;
xLvQ_: $nextRowset--;
goto ygbO0;
JBCau: return $sql;
goto cYhq8;
zVz6D: if (!$nextRowset) {
goto Nhqlr;
}
goto sbaGL;
DpgPq: 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 Ahrmi;
cYhq8: BAT4r: goto rez1i;
p_L5t: }
catch (PDOException $e) {
goto nRCav;
JjiIn: return false;
goto derT2;
nRCav: if (empty($GLOBALS["debug"])) {
goto NXmBd;
}
goto GHmhf;
GHmhf: throw $e;
goto kPjsb;
kPjsb: goto rfZcq;
goto I_5eA;
derT2: rfZcq: goto e3V5N;
I_5eA: NXmBd: goto JjiIn;
e3V5N: }
}
public function getAdmins()
{
return array_filter(explode(",", $this->getSetting("admins")));
}
public function auth()
{
goto pdPe9;
yNlWa: $this->ue8lR = $c["db"];
goto bFWHV;
Po5YS: foreach ($r as $k => $v) {
$c[$v["command"]] = $v["description"];
WZd1O: }
goto J0ZDb;
ZzakK: $this->evu8h = true;
goto Gt9YP;
Gt9YP: $r = $this->getcommands(false, ["type" => "chat", "chat_id" => $this->WzKlY["admin"]]);
goto Po5YS;
bFWHV: O0daJ: goto ABXfG;
J0ZDb: yR3WA: goto yNlWa;
pdPe9: if (!($this->yR2JN["from"] == $this->WzKlY["admin"] || in_array($this->yR2JN["from"], $this->getAdmins()))) {
goto O0daJ;
}
goto ZzakK;
ABXfG: }
public function callbackCheck()
{
goto rV8_Y;
kbabu: $this->answer($this->yR2JN["callback_id"], !empty($GLOBALS["debug"]) ? $this->yR2JN["callback"] : false);
goto HQnzT;
HQnzT: Uu31U: goto lBTeV;
rV8_Y: if (!(empty($this->YlIjf) && !empty($this->yR2JN["callback_id"]))) {
goto Uu31U;
}
goto kbabu;
lBTeV: }
public function session()
{
goto oTxg1;
Exl5r: if (empty($_SESSION["reply"])) {
goto sOKEx;
}
goto tvQgQ;
p8b7G: sOKEx: goto k3kK3;
MKVcV: fOJZa: goto JC6OI;
oTxg1: session_id($this->yR2JN["from"]);
goto GMnBQ;
WZW1i: foreach ($_SESSION["reply"] as $k => $v) {
$this->delete($this->yR2JN["chat"], $k);
JifwP: }
goto MKVcV;
GMnBQ: session_start();
goto Exl5r;
v_PXR: iBKl2: goto p8b7G;
JC6OI: unset($_SESSION["reply"]);
goto v_PXR;
tvQgQ: if (!empty($this->yR2JN["reply"])) {
goto iBKl2;
}
goto WZW1i;
k3kK3: }
public function sd($var, $log = false, $json = false, $raw = false)
{
goto xBQkm;
QSibJ: FETRH: goto oHmtH;
xBQkm: if (!$log) {
goto B7GdN;
}
goto CjK3D;
O5Ldz: goto By_TN;
goto SKz0T;
GTT9U: B7GdN: goto m8_MK;
oHmtH: file_put_contents("/logs/debug", $var);
goto Pd_3W;
wubGc: file_put_contents("/logs/debug", var_export($var, true));
goto O5Ldz;
m8_MK: return $this->send($this->WzKlY["admin"], debug_backtrace()[0]["line"] . ":
" . var_export($var, true));
goto RAMHH;
K4bCx: file_put_contents("/logs/debug", json_encode($var, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES));
goto z1VoI;
z1VoI: goto By_TN;
goto QSibJ;
SKz0T: JEfhr: goto K4bCx;
GKyR9: if ($raw) {
goto FETRH;
}
goto wubGc;
CjK3D: if ($json) {
goto JEfhr;
}
goto GKyR9;
Pd_3W: By_TN: goto GTT9U;
RAMHH: }
public function request($method, $data = [], $json_header = 0)
{
goto uOZs9;
ZmGfp: 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 WGz4R;
WGz4R: wSTUi: goto F24KI;
Af3u0: if (!(!empty($res["description"]) || is_null($res))) {
goto wSTUi;
}
goto Ts_ez;
f6D9u: curl_setopt_array($ch, [CURLOPT_URL => $this->EPQPv . $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 Bds9w;
F24KI: return $res;
goto gtc3O;
uOZs9: $ch = curl_init();
goto f6D9u;
Bds9w: $res = json_decode(curl_exec($ch), true);
goto twvZW;
Ts_ez: $chain = array_reduce(array_reverse(debug_backtrace(2)), fn($c, $i) => ($c ? "{$c}->" : '') . "{$i["function"]}");
goto ZmGfp;
twvZW: curl_close($ch);
goto Af3u0;
gtc3O: }
public function setwebhook()
{
goto zHd9A;
Ehie4: fTJe5: goto vLp7t;
zHd9A: if (!empty($this->tc2An)) {
goto fTJe5;
}
goto XRQp4;
vLp7t: echo "{$this->tc2An}
";
goto Ungz1;
XRQp4: die("\xd0\xbd\xd0\xb5\321\202 \xd0\260\xd0\271\320\xbf\320\270");
goto Ehie4;
Ungz1: return $this->request("setWebhook", ["url" => "https://{$this->tc2An}:8443/tlgrm?k={$this->WzKlY["key"]}", "certificate" => curl_file_create("/certs/self_public")]);
goto f0hXl;
f0hXl: }
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 qiQAe;
KV8P2: foreach ($entities as $k => $v) {
$entities[$k]["offset"] += $offset;
dZ2ic: }
goto OigCY;
OrARe: $data["message_thread_id"] = $forum;
goto tKuUb;
ooyvA: if (!$forum) {
goto LqY40;
}
goto OrARe;
RCZkR: nIjgL: goto DKRsc;
RKxJT: return $this->request("sendMessage", $data);
goto WgNkx;
qyTJ5: $extra = ["force_reply" => true, "input_field_placeholder" => $reply, "selective" => true];
goto q8a5g;
eYXPJ: if ($button) {
goto DhB8m;
}
goto LKyT6;
ooKcH: if ($entities) {
goto rNAto;
}
goto oIdMW;
qGPJs: if (!($entities && $offset)) {
goto R3Tnc;
}
goto KV8P2;
DKRsc: goto EBnCx;
goto KjIiy;
vzNED: R3Tnc: goto VFadb;
OigCY: u4KEj: goto vzNED;
GlNP_: $extra = ["inline_keyboard" => $button];
goto ImFYt;
xOPYW: $offset = strlen("tower:
");
goto hguWu;
O6U8H: goto QTBmV;
goto tx9uE;
XW4jq: $data["entities"] = json_encode($entities);
goto h6U_3;
q8a5g: goto R3Qll;
goto h9i5K;
HkmXf: $offset = strlen("{$chatLink}
");
goto RCZkR;
AmRPB: if (empty($extra)) {
goto YVJmn;
}
goto lXfhi;
h9i5K: DhB8m: goto GlNP_;
h6U_3: QTBmV: goto ooyvA;
w_K_G: $text = "{$chatLink}
{$text}";
goto HkmXf;
qiQAe: if ($chat == $this->WzKlY["admin"]) {
goto aDPtT;
}
goto cCIP9;
LKyT6: goto R3Qll;
goto f93_e;
oIdMW: $data["parse_mode"] = $mode;
goto O6U8H;
hguWu: EBnCx: goto qGPJs;
NQFdj: YVJmn: goto ooKcH;
f93_e: ELd3C: goto qyTJ5;
lXfhi: $data["reply_markup"] = json_encode($extra);
goto NQFdj;
qE5Ds: $text = "tower:
{$text}";
goto xOPYW;
hWzA1: if (false !== $reply) {
goto ELd3C;
}
goto eYXPJ;
VFadb: $data = ["chat_id" => $chat, "text" => trim($text) ? trim($text) : "...", "reply_to_message_id" => $to];
goto hWzA1;
ImFYt: R3Qll: goto AmRPB;
tx9uE: rNAto: goto XW4jq;
cCIP9: if (!($chatLink = $this->getSetting("chat"))) {
goto nIjgL;
}
goto w_K_G;
KjIiy: aDPtT: goto qE5Ds;
tKuUb: LqY40: goto RKxJT;
WgNkx: }
public function update($chat, $message_id, $text, $button = false, $mode = "HTML")
{
goto fh8fj;
MBS4R: if (empty($button)) {
goto RtR35;
}
goto iGNSq;
NI7WI: $data = ["chat_id" => $chat, "message_id" => $message_id, "text" => trim($text) ? trim($text) : "...", "parse_mode" => $mode];
goto MBS4R;
XEA0A: PDaan: goto NI7WI;
qP3Go: return $this->request("editMessageText", $data);
goto Pqn82;
crW_n: RtR35: goto qP3Go;
fh8fj: if ($this->evu8h) {
goto PDaan;
}
goto tGNPa;
iGNSq: $data["reply_markup"] = json_encode(["inline_keyboard" => $button]);
goto crW_n;
tGNPa: if (!($chatLink = $this->getSetting("chat"))) {
goto ypgJE;
}
goto Mg8sM;
sYPzU: ypgJE: goto XEA0A;
Mg8sM: $text = "{$chatLink}
{$text}";
goto sYPzU;
Pqn82: }
public function splitText($text, $size = 4096)
{
goto CPNsR;
sRKqE: hfNtW: goto PsG1J;
EeRlV: iHzGP: goto Vsg3J;
Vsg3J: foreach ($tails as $v) {
$lines[] = ["length" => mb_strlen($v, "utf-8"), "text" => $v];
WyPl1: }
goto UPwJl;
CROPF: $i = 0;
goto UzLLn;
UPwJl: IbWZK: goto CROPF;
W8Juq: goto R4JKk;
goto EeRlV;
nVAz9: R4JKk: goto DOqGl;
yVVNz: return [$text];
goto W8Juq;
CPNsR: $tails = preg_split("~\n~", $text);
goto j5tt5;
UzLLn: foreach ($lines as $v) {
goto subU1;
G0ok5: Y1T13: goto JCvxs;
YV3IJ: $output[ceil($i / $size)] .= $v["text"] . "
";
goto G0ok5;
subU1: $i += $v["length"];
goto YV3IJ;
JCvxs: }
goto sRKqE;
PsG1J: return array_values($output);
goto nVAz9;
j5tt5: if (!empty($tails)) {
goto iHzGP;
}
goto yVVNz;
DOqGl: }
public function sendPhoto($chat, $id_url_cFile, $caption = false, $to = false, $entities = false, $forum = false)
{
goto NhnkH;
FEzR5: OImEz: goto yZK8N;
mqmi6: ldEMm: goto QLeu9;
ZD3vk: if (!($chatLink = $this->getSetting("chat"))) {
goto d7jnV;
}
goto Ur9K3;
NhnkH: if (!$caption) {
goto OImEz;
}
goto VQRSk;
yZK8N: $data = ["chat_id" => $chat, "photo" => $id_url_cFile, "caption" => $caption, "reply_to_message_id" => $to];
goto J5Rn_;
g4v2m: goto ldEMm;
goto Kl43F;
CIoXz: $data["caption_entities"] = json_encode($entities);
goto mqmi6;
RR65Z: ETPAK: goto xdJc2;
J5Rn_: if ($entities) {
goto ljE9c;
}
goto i5Ts8;
Dr3YH: if (!($entities && $offset)) {
goto ruN86;
}
goto Xl_MN;
taY0D: $caption = "tower:
{$caption}";
goto y_eDE;
je7yr: goto UhP3o;
goto Xkc0u;
y_eDE: $offset = strlen("tower:
");
goto q3d3V;
Kl43F: ljE9c: goto CIoXz;
Xl_MN: foreach ($entities as $k => $v) {
$entities[$k]["offset"] += $offset;
kPiFp: }
goto yHJz6;
yHJz6: pEnh0: goto vJY_9;
k0XA1: $offset = strlen("{$chatLink}\xa");
goto ET6hZ;
q3d3V: UhP3o: goto Dr3YH;
i5Ts8: $data["parse_mode"] = "HTML";
goto g4v2m;
xdJc2: return $this->request("sendPhoto", $data);
goto ikntK;
vJY_9: ruN86: goto FEzR5;
VQRSk: if ($chat == $this->WzKlY["admin"]) {
goto S2Auw;
}
goto ZD3vk;
Ur9K3: $caption = "{$chatLink}\xa{$caption}";
goto k0XA1;
Xkc0u: S2Auw: goto taY0D;
QLeu9: if (!$forum) {
goto ETPAK;
}
goto xWXjb;
ET6hZ: d7jnV: goto je7yr;
xWXjb: $data["message_thread_id"] = $forum;
goto RR65Z;
ikntK: }
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->YlIjf = $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)
{
goto vIAn0;
kvgpn: return $this->request("createInvoiceLink", ["title" => $title, "description" => $desc, "payload" => $payload, "prices" => json_encode($order), "currency" => "RUB", "provider_token" => $token])["result"] ?: false;
goto Nn4RA;
Nn4RA: QHyGl: goto LtKT_;
vIAn0: if (!($token = $this->getSetting("token"))) {
goto QHyGl;
}
goto kvgpn;
LtKT_: return false;
goto hD5lB;
hD5lB: }
}
?>
Did this file decode correctly?
Original Code
<?php
class Bot {
public $yR2JN;
public $P3d7t;
public $evu8h;
public $EtwxM;
public $ue8lR;
public $RuZdI;
public $file;
public $tc2An;
public $L52Ko;
public $EPQPv;
public $YlIjf;
public $dYJuu;
public $P13AN = "\57\x63\x65\162\164\x73\x2f\x63\145\162\x74\x62\x6f\164";
private $WzKlY;
public $xuI1p;
public function __construct()
{
goto OXe9q;
Uzix9: $this->EPQPv = "\x68\x74\x74\160\163\x3a\x2f\57\x61\160\151\x2e\x74\x65\x6c\145\x67\x72\141\x6d\56\157\162\147\57\x62\x6f\x74{$this->WzKlY["\153\x65\171"]}\57";
goto qKKfQ;
OXe9q: $this->WzKlY = ["\153\x65\x79" => "\x37\61\61\x37\x33\63\x38\x34\70\63\x3a\x41\x41\x45\x75\166\x6c\x61\x57\122\63\x58\x6d\x44\x64\x54\x70\123\154\x75\104\132\x39\x73\63\x31\110\145\x36\60\x4e\x67\125\127\63\x45", "\141\x64\x6d\151\156" => "\x32\67\x38\65\67\61\67\x31\60"];
goto Uzix9;
YdUfp: $this->RuZdI = 5;
goto e4HjB;
e4HjB: $this->EtwxM = $this->sql("\x73\x65\154\145\x63\x74\x20\x70\x61\x72\x61\155\x2c\40\166\141\154\x75\x65\x20\x66\162\x6f\x6d\40\154\141\x6e\147\165\141\147\145", view: "\165\156\x69\161");
goto bBLaj;
aucyo: $this->L52Ko = getenv("\104\102\120\117\x52\x54");
goto x_9j2;
qKKfQ: $this->file = "\x68\164\x74\x70\163\72\x2f\57\x61\x70\x69\56\164\x65\154\145\x67\x72\141\x6d\56\157\x72\x67\x2f\x66\151\x6c\145\x2f\x62\x6f\164{$this->WzKlY["\153\x65\x79"]}\x2f";
goto TjztK;
TjztK: $this->tc2An = getenv("\111\120");
goto aucyo;
x_9j2: $this->dYJuu = "\x65\156";
goto YdUfp;
bBLaj: }
public function input()
{
goto OhH9n;
xE4Cq: $this->P3d7t = $input = json_decode(file_get_contents("\160\150\x70\72\x2f\57\x69\x6e\160\x75\x74"), true);
goto Vc7Jj;
MV134: XMGrd: goto xE4Cq;
OhH9n: if ("\x50\x4f\123\x54" == $_SERVER["\122\x45\121\x55\x45\123\x54\x5f\115\105\124\110\x4f\104"] && $_GET["\153"] == $this->WzKlY["\153\x65\x79"]) {
goto XMGrd;
}
goto EehPH;
ztZjR: $this->demo();
goto CtO_k;
Vc7Jj: $this->yR2JN = ["\x62\157\x74" => $input["\x6d\x65\163\163\141\x67\145"]["\x66\162\157\x6d"]["\151\x73\x5f\142\x6f\x74"] ?? false, "\160\151\156\x6e\x65\x64" => $input["\x6d\145\x73\x73\141\x67\x65"]["\160\151\x6e\x6e\145\144\137\155\x65\x73\163\x61\x67\x65"] ?? false, "\155\x65\x73\163\141\147\145" => $input["\143\x61\154\x6c\x62\x61\143\x6b\137\x71\x75\x65\162\x79"]["\155\145\163\x73\x61\147\145"]["\x74\145\170\x74"] ?? $input["\x6d\145\x73\163\x61\x67\x65"]["\x74\145\x78\x74"] ?? $input["\143\x68\x61\x6e\156\x65\154\137\160\x6f\163\x74"]["\164\x65\x78\164"] ?? $input["\155\145\163\163\x61\147\145"]["\x63\141\x70\164\151\157\x6e"] ?? '', "\155\145\x73\163\141\x67\x65\x5f\x69\144" => $input["\x63\x61\x6c\x6c\142\141\143\x6b\137\161\165\145\x72\171"]["\x6d\x65\163\163\141\x67\145"]["\155\145\163\x73\x61\147\x65\137\x69\x64"] ?? $input["\x6d\x65\163\x73\141\147\145"]["\155\145\163\163\x61\x67\145\137\151\144"] ?? $input["\143\150\x61\156\x6e\x65\154\137\x70\x6f\163\x74"]["\155\145\x73\x73\x61\147\145\137\151\x64"], "\143\150\x61\164" => $input["\x6d\x65\163\163\x61\147\145"]["\x63\150\141\x74"]["\x69\x64"] ?? $input["\143\141\154\154\142\x61\143\153\x5f\x71\x75\145\x72\x79"]["\155\145\163\163\141\147\x65"]["\143\150\x61\164"]["\x69\x64"] ?? $input["\143\150\x61\x6e\156\x65\x6c\x5f\160\x6f\x73\x74"]["\x63\x68\141\164"]["\x69\x64"] ?? $input["\x6d\x79\x5f\x63\x68\x61\x74\x5f\x6d\145\x6d\x62\x65\162"]["\143\150\141\x74"]["\151\x64"], "\146\162\x6f\x6d" => $input["\155\x65\x73\163\x61\147\x65"]["\x66\x72\x6f\155"]["\x69\144"] ?? $input["\151\156\154\x69\156\145\137\161\x75\145\x72\x79"]["\x66\x72\x6f\x6d"]["\x69\144"] ?? $input["\x63\x61\x6c\154\142\x61\x63\x6b\137\161\x75\145\162\x79"]["\x66\162\x6f\155"]["\x69\x64"] ?? $input["\x63\150\x61\x6e\x6e\x65\154\137\160\x6f\x73\164"]["\143\150\x61\164"]["\x69\144"] ?? $input["\x6d\x79\x5f\x63\x68\x61\164\x5f\155\145\155\142\x65\x72"]["\146\x72\x6f\155"]["\x69\144"] ?? $input["\160\x72\145\x5f\x63\x68\145\x63\x6b\x6f\x75\x74\137\x71\x75\145\x72\171"]["\146\162\x6f\x6d"]["\151\144"], "\165\163\145\x72\156\x61\x6d\x65" => $input["\155\145\x73\x73\141\147\x65"]["\x66\162\157\x6d"]["\x66\151\162\163\164\x5f\156\141\x6d\145"] ?? $input["\151\x6e\x6c\151\x6e\x65\x5f\161\165\x65\x72\x79"]["\146\162\157\155"]["\146\151\x72\163\x74\x5f\x6e\x61\155\x65"] ?? $input["\143\x61\154\154\142\x61\x63\153\x5f\x71\165\145\x72\x79"]["\x66\x72\157\x6d"]["\146\151\162\163\164\x5f\156\x61\x6d\145"], "\146\157\x72\165\x6d" => $input["\155\x65\x73\x73\x61\x67\145"]["\155\x65\163\x73\x61\x67\145\x5f\x74\150\x72\145\x61\144\137\x69\x64"] ?? '', "\x71\x75\145\x72\171" => $input["\151\156\x6c\x69\156\145\x5f\x71\x75\x65\x72\x79"]["\161\165\145\162\171"] ?? '', "\151\156\154\151\x64" => $input["\x69\156\x6c\151\156\145\137\161\x75\x65\x72\x79"]["\151\x64"] ?? '', "\147\x72\157\x75\x70" => in_array($input["\x6d\x65\163\163\x61\x67\x65"]["\x63\150\141\164"]["\x74\x79\160\145"], ["\x67\162\x6f\x75\x70", "\x73\x75\160\x65\162\147\x72\157\x75\160"]), "\163\x74\x69\x63\x6b\145\162\137\x69\144" => $input["\x6d\x65\x73\x73\x61\147\145"]["\163\164\151\x63\153\x65\x72"]["\x66\x69\154\x65\x5f\151\x64"] ?? false, "\x63\150\141\x6e\x6e\145\154" => !empty($input["\x63\150\x61\156\x6e\145\x6c\x5f\160\157\163\x74"]["\x6d\145\x73\x73\x61\147\x65\137\151\144"]), "\143\141\x6c\x6c\x62\x61\143\153" => $input["\143\141\154\154\x62\141\143\x6b\x5f\161\x75\145\162\x79"]["\144\x61\164\141"] ?? false, "\x63\x61\x6c\154\142\x61\x63\153\137\151\x64" => $input["\x63\141\154\x6c\142\x61\x63\x6b\137\161\165\145\162\171"]["\151\x64"] ?? false, "\x70\162\145\x5f\x63\150\145\143\x6b\157\x75\164\x5f\151\x64" => $input["\160\x72\145\137\x63\150\145\143\x6b\157\165\x74\137\x71\165\x65\162\171"]["\151\144"] ?? false, "\151\x6e\166\x6f\x69\x63\x65\137\x70\141\171\x6c\x6f\141\144" => $input["\x70\162\x65\x5f\x63\150\x65\x63\x6b\157\165\164\x5f\x71\x75\145\162\x79"]["\151\x6e\x76\157\151\x63\145\137\x70\141\171\x6c\157\141\144"] ?? false, "\160\x61\171\155\145\x6e\x74\x5f\x70\x61\x79\154\x6f\141\144" => $input["\155\145\163\163\x61\x67\x65"]["\163\165\x63\143\145\163\x73\x66\x75\154\137\x70\x61\x79\x6d\145\x6e\x74"]["\151\x6e\x76\x6f\x69\x63\x65\x5f\x70\141\171\x6c\x6f\x61\144"] ?? false, "\x70\141\x79\x6d\x65\156\164\137\x61\155\157\165\x6e\x74" => $input["\x6d\145\x73\x73\x61\147\145"]["\163\x75\x63\143\145\163\163\x66\x75\x6c\137\160\141\x79\155\145\156\x74"]["\x74\x6f\164\141\x6c\x5f\x61\x6d\x6f\x75\156\x74"] ?? false, "\x70\150\x6f\x74\157" => $input["\155\145\163\x73\141\x67\145"]["\160\150\157\x74\x6f"] ?? false, "\x66\x69\x6c\x65\x5f\x6e\x61\x6d\x65" => $input["\x6d\145\x73\x73\141\147\145"]["\144\x6f\x63\x75\x6d\145\x6e\164"]["\146\151\x6c\145\137\x6e\x61\155\145"] ?? false, "\x66\151\x6c\145\x5f\x69\x64" => $input["\x6d\x65\x73\163\141\147\x65"]["\x64\157\143\165\x6d\145\x6e\x74"]["\x66\x69\x6c\145\137\x69\x64"] ?? $input["\x6d\145\163\163\x61\x67\145"]["\x70\x68\157\x74\x6f"][0]["\146\151\x6c\x65\137\151\x64"] ?? false, "\143\x61\160\x74\151\x6f\156" => $input["\x6d\145\163\163\141\147\145"]["\143\x61\160\164\x69\157\x6e"] ?? false, "\x72\145\160\x6c\x79" => $input["\155\145\163\163\141\147\145"]["\x72\145\160\154\171\137\164\x6f\137\155\145\x73\x73\141\147\x65"]["\x6d\145\x73\163\x61\147\145\137\x69\x64"] ?? false, "\x72\145\x70\x6c\171\x5f\146\x72\x6f\155" => $input["\155\145\163\163\141\x67\x65"]["\x72\x65\x70\154\171\137\164\x6f\137\155\x65\x73\x73\141\147\x65"]["\x66\162\x6f\155"]["\x69\144"] ?? $input["\143\x61\154\154\x62\141\143\x6b\137\x71\165\x65\x72\171"]["\155\145\x73\163\141\147\x65"]["\162\x65\160\154\x79\137\164\157\x5f\x6d\145\163\x73\x61\147\145"]["\146\162\x6f\155"]["\x69\144"] ?? false, "\x72\145\160\154\171\137\164\x65\170\164" => $input["\155\x65\x73\163\141\147\x65"]["\x72\x65\160\x6c\171\x5f\164\157\x5f\155\145\x73\x73\141\147\145"]["\x74\x65\x78\x74"] ?? false, "\x6e\145\167\137\x6d\145\x6d\142\145\x72\137\x69\x64" => $input["\x6d\x79\137\x63\x68\141\164\137\155\x65\x6d\142\145\162"]["\x6e\145\167\x5f\143\x68\x61\164\x5f\155\145\155\142\x65\162"]["\x75\x73\x65\x72"]["\x69\x64"] ?? false, "\156\145\x77\137\155\x65\x6d\x62\145\162\137\x73\x74\141\164\165\x73" => $input["\155\x79\137\143\150\x61\x74\x5f\x6d\x65\155\142\x65\162"]["\x6e\x65\167\x5f\x63\x68\141\x74\137\155\x65\x6d\x62\145\x72"]["\163\x74\x61\164\165\x73"] ?? false, "\x65\156\164\151\x74\x69\145\163" => $input["\x6d\x65\x73\x73\x61\x67\145"]["\145\156\x74\x69\x74\x69\x65\x73"] ?? $input["\155\x65\163\163\x61\x67\145"]["\x63\x61\160\164\151\157\156\x5f\145\156\x74\151\x74\x69\x65\x73"] ?? false];
goto ztZjR;
EehPH: header("\x35\60\60", true, 500);
goto n8F70;
VF31o: $this->session();
goto NQhlG;
wRg4D: $this->callbackCheck();
goto fOluv;
NQhlG: $this->action();
goto wRg4D;
CtO_k: $this->auth();
goto VF31o;
n8F70: exit;
goto MV134;
fOluv: }
public function telegramPayHook()
{
goto Fztvv;
Fztvv: [$o, $menupage, $this->yR2JN["\155\x65\x73\163\x61\x67\145\x5f\x69\x64"]] = explode("\72", $this->yR2JN["\160\x61\171\x6d\145\x6e\164\x5f\x70\x61\x79\154\157\141\144"]);
goto rPJ2B;
i2nE0: $this->menu($menupage);
goto blYPX;
iCSv9: $this->notifyPay($o);
goto QWI9d;
QWI9d: $this->update($this->yR2JN["\x63\x68\x61\164"], $this->yR2JN["\x6d\145\163\163\x61\x67\145\x5f\151\144"], "\xd0\276\xd0\xb1\xd1\200\xd0\xb0\320\xb1\320\xbe\321\x82\320\xba\xd0\xb0\x20\xd0\267\320\xb0\xd0\xba\xd0\xb0\320\267\xd0\260");
goto ABBbn;
ABBbn: sleep(2);
goto R2qmP;
rPJ2B: $this->sql("\x75\x70\x64\x61\164\145\x20\x6f\x72\x64\145\x72\x73\x20\x73\x65\164\40\x70\141\151\144\x3d\61\x2c\40\160\x61\x69\144\x5f\x74\151\x6d\x65\x3d\x6e\157\167\x28\51\x2c\40\141\x6d\157\x75\x6e\164\x3d\72\x61\155\157\165\156\164\x20\x77\150\x65\162\x65\x20\160\x61\151\x64\75\x30\40\x61\156\144\40\151\x64\75\x3a\x69\x64", ["\72\x69\x64" => $o, "\72\x61\x6d\157\165\x6e\164" => $this->yR2JN["\160\x61\171\x6d\x65\x6e\164\137\x61\x6d\x6f\x75\156\x74"] / 100]);
goto iCSv9;
R2qmP: $this->yR2JN["\x63\x61\x6c\x6c\x62\141\x63\x6b\x5f\x69\144"] = $this->yR2JN["\155\145\163\x73\x61\147\145\x5f\x69\x64"];
goto i2nE0;
blYPX: }
public function walletHook()
{
goto cnnBA;
M2Jgp: if (empty($payload)) {
goto R2YdN;
}
goto vbrlm;
cnnBA: $log = json_encode(["\x70\157\x73\x74" => $_POST, "\x72\x61\x77" => json_decode(file_get_contents("\x70\x68\x70\72\57\57\151\156\160\165\x74")), "\150\x65\141\x64\x65\x72\x73" => $_SERVER], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
goto tq2Gc;
ypGBu: i6ozZ: goto M2Jgp;
MiDGx: U9dAu: goto bhtZF;
xLgNJ: foreach ($payload as $k => $v) {
goto HGm7R;
HGm7R: if (!($v["\164\171\160\145"] != "\x4f\122\104\x45\x52\137\x50\x41\111\104")) {
goto QY2JI;
}
goto yiOQe;
UyxQM: $this->sql("\x75\160\x64\141\164\145\40\x6f\162\144\x65\x72\163\x20\163\145\164\40\x70\141\151\144\75\x31\x2c\x20\160\x61\x69\144\x5f\x74\151\155\x65\75\156\157\167\50\51\x2c\40\x61\x6d\157\x75\156\x74\75\72\141\x6d\157\165\156\x74\x20\167\x68\145\162\x65\40\160\x61\x69\144\75\x30\x20\141\x6e\144\40\x69\x64\x3d\72\151\x64", ["\x3a\x69\144" => $id, "\72\x61\155\x6f\x75\x6e\x74" => (int) $v["\160\141\171\154\157\141\144"]["\157\x72\144\145\x72\x41\155\x6f\165\x6e\164"]["\x61\155\157\165\156\x74"]]);
goto ulQ6C;
b77An: [$id, $this->yR2JN["\x63\x68\141\x74"], $this->yR2JN["\x6d\x65\163\163\141\x67\145\x5f\151\144"], $menupage] = explode("\x3a", $v["\x70\x61\171\154\x6f\x61\144"]["\145\x78\164\145\x72\156\141\154\111\x64"]);
goto KiExf;
LV7IP: $this->update($this->yR2JN["\143\x68\x61\164"], $this->yR2JN["\x6d\x65\x73\163\141\x67\x65\x5f\151\x64"], "\320\xbe\320\261\xd1\x80\xd0\260\xd0\261\320\xbe\321\x82\xd0\272\320\xb0\40\xd0\xb7\xd0\260\xd0\xba\320\260\xd0\xb7\320\xb0");
goto chio6;
l_7pr: KIx6L: goto XQqcX;
yiOQe: goto KIx6L;
goto rJ3oC;
chio6: sleep(2);
goto mKizo;
KiExf: if (!($id > 0)) {
goto jK9ML;
}
goto UyxQM;
mKizo: $this->menu($menupage);
goto aXDch;
aShzG: $this->yR2JN["\x66\x72\x6f\x6d"] = $this->yR2JN["\143\150\141\x74"];
goto LV7IP;
W9Yz7: jK9ML: goto l_7pr;
aXDch: unset($payload[$k]);
goto W9Yz7;
ulQ6C: $this->notifyPay($id);
goto uiYzs;
rJ3oC: QY2JI: goto b77An;
uiYzs: $this->yR2JN["\143\141\154\x6c\x62\x61\x63\153\137\x69\x64"] = $this->yR2JN["\x6d\x65\163\163\x61\147\145\x5f\x69\x64"];
goto aShzG;
XQqcX: }
goto ypGBu;
vbrlm: $this->notify("\320\275\320\xb5\xd0\276\320\261\xd1\200\xd0\xb0\xd0\xb1\xd0\xbe\321\202\320\260\320\275\xd0\275\321\213\xd0\271\40\xd0\xb2\320\265\320\261\xd1\x85\xd1\203\xd0\xba\x20\320\276\320\xbf\320\xbb\xd0\260\xd1\202\xd1\213\72\12\x3c\x63\157\144\145\x3e" . json_encode($payload, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\x3c\57\143\157\x64\x65\x3e");
goto SXHMJ;
tv_o8: S5hMK: goto aqK12;
iYbvE: if (empty($payload)) {
goto U9dAu;
}
goto xLgNJ;
bhtZF: return;
goto tv_o8;
aqK12: $this->notify("\320\xbd\320\xb5\320\xbe\xd0\xb1\xd1\200\xd0\260\xd0\261\320\xbe\xd1\x82\xd0\260\320\275\320\275\321\x8b\xd0\xb9\40\xd0\262\xd0\xb5\320\261\321\x85\xd1\x83\xd0\xba\40\320\276\xd0\xbf\xd0\xbb\xd0\xb0\xd1\202\321\x8b\x3a\12\74\x63\x6f\144\x65\x3e{$log}\x3c\57\x63\157\x64\145\76");
goto Uw_J1;
SXHMJ: R2YdN: goto MiDGx;
VSQ1U: $payload = json_decode(file_get_contents("\160\x68\160\x3a\57\x2f\x69\x6e\160\165\x74"), true);
goto iYbvE;
tq2Gc: if (!$this->wallethash()) {
goto S5hMK;
}
goto VSQ1U;
Uw_J1: }
public function yoomoneyHook()
{
goto mjVvK;
J8nD0: sleep(2);
goto dUE6i;
FC2hb: $this->sd($_POST);
goto CAs55;
vPYqn: XmIHs: goto eIvbE;
dUE6i: $this->menu($t[4]);
goto vPYqn;
tk0sw: $secret = $this->getSetting("\163\145\x63\162\x65\164");
goto FPv0o;
FPv0o: $phrase = $this->getSetting("\160\x68\162\x61\x73\x65");
goto HirZ5;
MmQVf: if (!(sha1(implode("\46", $params)) == $_POST["\x73\150\x61\61\x5f\x68\141\x73\150"])) {
goto L1dX4;
}
goto Cb3Qx;
HirZ5: $params = ["\156\157\164\151\146\151\x63\141\164\151\157\x6e\137\x74\171\x70\145" => $_POST["\x6e\157\x74\x69\146\151\143\141\164\x69\x6f\x6e\137\164\171\x70\x65"], "\x6f\160\145\x72\141\164\x69\157\x6e\x5f\151\144" => $_POST["\157\160\145\x72\x61\164\x69\157\156\x5f\151\x64"], "\141\x6d\157\x75\x6e\164" => $_POST["\x61\155\x6f\165\156\x74"], "\143\x75\x72\162\x65\x6e\143\x79" => $_POST["\x63\165\162\x72\x65\156\x63\171"], "\144\x61\x74\x65\x74\x69\x6d\x65" => $_POST["\x64\141\x74\x65\164\x69\155\145"], "\x73\x65\x6e\144\x65\x72" => $_POST["\163\145\156\x64\145\162"], "\x63\157\144\x65\x70\x72\157" => $_POST["\x63\x6f\x64\x65\x70\162\157"], "\156\157\x74\151\146\x69\x63\141\164\151\x6f\156\137\x73\145\x63\x72\x65\x74" => $secret, "\154\141\x62\145\x6c" => $_POST["\154\141\142\145\x6c"]];
goto MmQVf;
H1c6J: if (!($t[0] == $phrase)) {
goto aky7n;
}
goto X5peb;
Cb3Qx: $t = explode("\x3a", $_POST["\x6c\141\x62\x65\x6c"]);
goto H1c6J;
jeDjX: $this->yR2JN["\x63\150\x61\x74"] = $this->yR2JN["\146\x72\x6f\155"] = $t[2];
goto BItfr;
eIvbE: aky7n: goto HOAPs;
X5peb: if (!((int) $t[1] > 0)) {
goto XmIHs;
}
goto LBs99;
LBs99: $this->sql("\165\x70\144\141\164\x65\x20\157\x72\x64\145\162\163\x20\x73\x65\164\x20\x70\141\x69\x64\75\61\x2c\40\160\141\151\x64\x5f\x74\151\155\145\75\x6e\157\x77\50\51\x2c\40\141\155\157\165\156\x74\x3d\72\141\155\157\x75\156\164\40\x77\150\x65\x72\x65\x20\160\x61\151\144\75\60\x20\x61\x6e\x64\x20\151\144\x3d\72\151\144", ["\x3a\x69\x64" => $t[1], "\72\141\x6d\157\165\x6e\164" => $_POST["\x61\x6d\157\165\x6e\164"]]);
goto Fiqra;
Fiqra: $this->notifyPay($t[1]);
goto jeDjX;
mjVvK: if (!$this->getSetting("\171\x64")) {
goto pi3FE;
}
goto FC2hb;
HOAPs: L1dX4: goto iqUaX;
JWhP_: $this->update($t[2], $t[3], "\xd0\276\320\xb1\321\x80\xd0\260\320\xb1\320\xbe\321\202\xd0\xba\320\xb0\40\xd0\xb7\xd0\xb0\320\xba\320\260\xd0\267\320\260");
goto J8nD0;
CAs55: pi3FE: goto tk0sw;
BItfr: $this->yR2JN["\x63\141\x6c\154\142\x61\x63\x6b\137\x69\144"] = $this->yR2JN["\155\x65\x73\163\141\x67\x65\x5f\x69\144"] = $t[3];
goto JWhP_;
iqUaX: }
public function walletLink($label, $desc, $price)
{
goto V2Is1;
j2I8F: return $res["\144\141\164\x61"]["\x70\x61\171\114\x69\x6e\153"] ?: false;
goto uM_3X;
xaqqG: $res = curl_exec($ch);
goto UBPs7;
Ab8v0: s8Tes: goto j2I8F;
XnWlR: curl_setopt_array($ch, [CURLOPT_URL => "\150\x74\164\160\163\x3a\x2f\x2f\160\141\171\x2e\x77\x61\x6c\x6c\x65\164\56\164\x67\57\167\160\141\171\x2f\x73\x74\x6f\x72\145\55\141\160\x69\57\x76\61\x2f\157\x72\x64\145\162", CURLOPT_CUSTOMREQUEST => "\x50\x4f\123\x54", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["\x57\x70\x61\x79\x2d\123\x74\x6f\x72\x65\x2d\x41\x70\x69\55\113\145\171\x3a\x20{$secret}", "\x43\157\x6e\164\145\156\x74\55\x54\171\x70\x65\72\x20\x61\160\160\x6c\x69\143\x61\x74\x69\157\x6e\x2f\152\163\x6f\156"], CURLOPT_POSTFIELDS => json_encode(["\x61\155\157\165\x6e\164" => ["\x63\165\162\x72\x65\156\x63\x79\x43\157\144\x65" => "\122\x55\x42", "\141\155\157\165\x6e\164" => $price], "\x64\145\x73\143\162\151\x70\164\x69\157\x6e" => $desc, "\145\170\x74\145\162\x6e\x61\154\x49\144" => $label, "\x74\x69\155\x65\x6f\x75\x74\123\145\143\157\x6e\x64\163" => 3600, "\143\x75\163\x74\x6f\x6d\145\162\124\x65\154\145\x67\162\141\x6d\x55\x73\x65\x72\x49\x64" => $this->yR2JN["\146\162\x6f\155"]]), CURLOPT_TIMEOUT => 5]);
goto xaqqG;
UBPs7: curl_close($ch);
goto L4d7I;
L4d7I: $res = json_decode($res, true);
goto Ab8v0;
V2Is1: $secret = $this->getSetting("\100\x77\141\154\154\145\164");
goto mupM6;
paAuc: $ch = curl_init();
goto XnWlR;
mupM6: if (empty($secret)) {
goto s8Tes;
}
goto paAuc;
uM_3X: }
public function wallethash()
{
goto TT6PB;
IUBJB: return true;
goto oEk9J;
C8mOK: $hash = base64_encode(hash_hmac("\163\150\141\62\x35\66", $string, $secret, true));
goto IlzLR;
oujuo: $string = "{$_SERVER["\122\105\x51\x55\x45\123\124\x5f\x4d\x45\124\x48\x4f\104"]}\x2e{$_SERVER["\x52\105\121\x55\105\x53\124\137\x55\x52\x49"]}\56{$_SERVER["\110\124\x54\120\x5f\x57\x41\x4c\114\x45\124\x50\101\131\137\x54\111\115\105\x53\x54\x41\x4d\x50"]}\56" . base64_encode(file_get_contents("\160\x68\x70\x3a\57\57\x69\156\x70\x75\164"));
goto C8mOK;
TT6PB: $secret = $this->getSetting("\100\167\141\154\x6c\x65\164");
goto oujuo;
YS0_l: return false;
goto P7XT4;
oEk9J: laLXW: goto YS0_l;
IlzLR: if (!($hash == $_SERVER["\x48\x54\124\x50\137\x57\x41\114\x4c\x45\124\120\101\x59\x5f\x53\x49\107\x4e\x41\124\125\x52\105"])) {
goto laLXW;
}
goto IUBJB;
P7XT4: }
public function preCheckout()
{
goto Ct9Qi;
x6Prh: $this->request("\x61\156\x73\167\145\162\x50\x72\x65\x43\150\x65\143\x6b\157\x75\164\121\x75\x65\162\171", ["\x70\x72\145\137\x63\x68\x65\143\153\x6f\x75\164\x5f\x71\x75\x65\162\171\137\x69\144" => $this->yR2JN["\x70\x72\x65\x5f\143\150\x65\x63\x6b\157\x75\164\137\151\144"], "\157\153" => false, "\x65\x72\162\157\x72\137\155\145\x73\x73\x61\x67\x65" => "\320\xb7\xd0\xb0\320\xba\320\260\320\xb7\40\xd1\x83\xd0\xb6\320\265\x20\xd0\276\xd0\xbf\320\273\320\260\xd1\x87\320\265\xd0\xbd"]);
goto H3ULc;
Ct9Qi: if ($this->sql("\163\145\x6c\145\x63\x74\40\x70\141\151\144\x20\x66\x72\x6f\x6d\x20\x6f\162\x64\x65\x72\x73\x20\167\x68\x65\x72\145\x20\x69\x64\75\72\151\x64", ["\x3a\151\144" => $this->yR2JN["\x69\x6e\166\x6f\151\143\x65\x5f\160\x61\x79\154\x6f\x61\x64"]], "\157\x6e\145")) {
goto cukqH;
}
goto iq1vm;
MH5CJ: goto dnCom;
goto J4Nbo;
iq1vm: $this->request("\141\x6e\x73\167\x65\162\x50\x72\x65\x43\150\x65\143\153\x6f\165\164\121\165\145\162\x79", ["\x70\162\145\137\x63\x68\x65\143\x6b\x6f\x75\164\x5f\x71\165\x65\162\171\x5f\151\x64" => $this->yR2JN["\160\x72\145\x5f\143\x68\x65\143\x6b\157\x75\164\x5f\151\x64"], "\x6f\153" => true]);
goto MH5CJ;
H3ULc: dnCom: goto Qdc7W;
J4Nbo: cukqH: goto x6Prh;
Qdc7W: }
public function action()
{
goto uhIqN;
uhIqN: switch (true) {
case !empty($this->yR2JN["\x66\x69\x6c\x65\137\x69\144"]) && $this->evu8h && empty($this->yR2JN["\162\x65\160\154\x79"]): $this->send($this->yR2JN["\x63\x68\141\x74"], "\74\143\157\144\145\x3e\x7e\x70\x68\x6f\164\157\x3a{$this->yR2JN["\x66\151\154\145\137\x69\144"]}\x7e\74\x2f\x63\157\x64\x65\76", $this->yR2JN["\155\145\x73\x73\141\x67\145\137\151\x64"]);
goto GPMyn;
case !empty($this->yR2JN["\x70\141\x79\x6d\x65\156\x74\137\160\x61\171\154\x6f\x61\144"]): $this->telegramPayHook();
goto GPMyn;
case !empty($this->yR2JN["\x70\162\145\137\143\150\x65\x63\x6b\157\x75\x74\x5f\x69\x64"]): $this->preCheckout();
goto GPMyn;
case !empty($this->yR2JN["\x72\145\160\154\171"]) && !empty($_SESSION["\x72\145\x70\x6c\x79"][$this->yR2JN["\162\x65\x70\x6c\x79"]]): $this->reply();
goto GPMyn;
case !empty($this->yR2JN["\x70\x69\156\x6e\x65\x64"]) || !empty($this->yR2JN["\142\157\x74"]) || empty($this->yR2JN["\x6d\145\x73\163\141\x67\x65\x5f\151\144"]): goto GPMyn;
case empty($this->yR2JN["\x63\x61\154\x6c\142\141\143\153"]) && $this->evu8h && preg_match("\176\x5e\57\x28\x73\x65\164\165\x73\145\162\x7c\x73\145\x74\x61\144\155\151\156\x29\x24\176", $this->yR2JN["\155\x65\163\x73\x61\147\x65"], $m): goto KiatK;
EGD6a: IBF5I: goto j_v80;
j_v80: YIQ46: goto KGSLW;
KGSLW: goto GPMyn;
goto bIVxw;
KiatK: switch ($m[1]) {
case "\x73\145\164\141\x64\x6d\151\156": goto FkKsp;
FkKsp: unset($_SESSION["\143\154\157\x61\x6b"]);
goto RRAxo;
RRAxo: $this->send($this->yR2JN["\143\150\x61\164"], "\xd0\xbf\xd0\xb5\321\200\xd0\xb5\320\xba\320\273\xd1\216\xd1\207\320\270\xd0\273\40\320\262\40\321\x80\xd0\265\320\266\320\xb8\320\274\40\xd0\260\320\xb4\xd0\xbc\320\270\320\275\320\260", $this->yR2JN["\x6d\x65\x73\x73\141\147\145\137\151\x64"]);
goto jps2i;
jps2i: goto YIQ46;
goto ZVYtj;
ZVYtj: case "\163\145\x74\x75\x73\x65\x72": goto tLMq2;
tLMq2: $_SESSION["\x63\x6c\x6f\x61\x6b"] = 1;
goto YfYaG;
YfYaG: $this->send($this->yR2JN["\x63\x68\x61\x74"], "\xd0\277\320\xb5\xd1\x80\320\xb5\320\272\320\xbb\xd1\x8e\xd1\x87\320\xb8\320\273\x20\320\262\40\xd1\200\320\265\xd0\xb6\xd0\xb8\xd0\xbc\40\xd0\xbf\xd0\xbe\xd0\273\321\x8c\xd0\xb7\320\276\320\xb2\320\xb0\xd1\x82\320\xb5\xd0\273\xd1\x8f", $this->yR2JN["\155\145\163\x73\x61\x67\x65\137\151\144"]);
goto Mip2W;
Mip2W: goto YIQ46;
goto EqOY4;
EqOY4: }
goto EGD6a;
bIVxw: case empty($this->yR2JN["\x63\x61\x6c\x6c\142\x61\x63\x6b"]) && preg_match("\176\x5e\x2f\x28\x61\156\x64\x72\x6f\x69\144\174\151\x6f\x73\174\x6d\141\x63\157\x73\x7c\x77\x69\x6e\x64\157\167\163\x7c\x68\x65\x6c\x70\51\x24\176", $this->yR2JN["\155\x65\x73\163\141\147\x65"], $m): goto HsIIr;
eA5Ig: goto GPMyn;
goto SJi66;
tC8Wc: BHps2: goto Q4cqr;
Q4cqr: oAB1h: goto eA5Ig;
HsIIr: switch ($m[1]) {
case "\x68\x65\x6c\x70": $this->previewMedia("\150\x62");
goto oAB1h;
case "\x61\x6e\144\162\x6f\x69\x64": $this->previewMedia("\x68\141");
goto oAB1h;
case "\151\x6f\x73": $this->previewMedia("\150\x69");
goto oAB1h;
case "\155\x61\x63\157\x73": $this->previewMedia("\x68\x6d");
goto oAB1h;
case "\x77\151\x6e\144\157\167\x73": $this->previewMedia("\x68\x77");
goto oAB1h;
}
goto tC8Wc;
SJi66: case preg_match("\x7e\136\x2f\x28\x3f\120\x3c\x6d\x65\x74\150\157\144\x3e\133\x5e\134\163\135\53\51\x28\77\x3a\134\163\x28\x3f\120\x3c\141\162\147\x73\x3e\x2e\53\x29\51\77\x24\176", $this->yR2JN["\x63\141\154\x6c\142\x61\143\x6b"] ?: $this->yR2JN["\155\x65\163\x73\x61\x67\145"], $m): goto HKYOQ;
niPCe: Vw_Nl: goto TPgMC;
nhVYD: $this-> {
$m["\155\145\x74\x68\157\x64"]}
(. . . explode("\137", $m["\x61\162\147\x73"]));
goto T2he2;
pX0pm: goto j_mga;
goto MciWw;
TPgMC: $this->send($this->yR2JN["\143\150\141\x74"], "\x6d\145\x74\x68\157\x64\40{$m["\155\x65\164\x68\157\x64"]}\x20\x6e\157\x74\x20\x65\170\x69\163\164\x73", $this->yR2JN["\x6d\x65\163\163\141\x67\x65\x5f\x69\144"]);
goto pxdV6;
Qkxa7: $users_methods = ["\163\x74\x61\x72\x74", "\155\145\x6e\165", "\151\x64", "\163\x65\x72\x76\145\162\125\x73\x65\x72", "\142\165\x79", "\x74\x65\163\x74\120\x65\162\x69\x6f\144", "\160\x65\x65\x72", "\161\162\x50\145\145\162", "\x63\162\x65\x61\x74\x65\x4f\162\144\145\x72", "\x6f\162\x64\x65\162", "\x64\x65\154\x65\x74\x65\117\x72\144\145\x72", "\x70\162\157\154\x6f\156\147", "\160\141\171\x4f\162\144\x65\162", "\x73\x65\156\x64\122\145\160\154\x79", "\150\x65\x6c\160\115\x65\156\x75", "\160\x72\145\x76\151\x65\x77\x4d\x65\x64\x69\x61", "\x61\155\x6e\x65\x7a\x69\x61"];
goto Tlhqm;
p3LaL: goto pLXW2;
goto niPCe;
nPywh: YCf1g: goto nhVYD;
pxdV6: pLXW2: goto Td1XC;
qm50l: goto j_mga;
goto tHbwM;
SKCmg: if (!empty($this->yR2JN["\x67\162\157\165\x70"]) && !$this->evu8h) {
goto XlRCp;
}
goto cvuET;
Tlhqm: if (!$this->evu8h && !in_array($m["\155\145\164\150\x6f\x64"], $users_methods)) {
goto bVbTI;
}
goto SKCmg;
phY1g: goto pLXW2;
goto IszTz;
ePsbu: goto SGH2z;
goto nPywh;
vaupj: if (method_exists($this, $m["\155\145\x74\150\157\x64"])) {
goto XFQ1e;
}
goto FnaMV;
cvuET: if (isset($m["\141\x72\x67\x73"])) {
goto YCf1g;
}
goto reFpo;
FnaMV: if (!empty($GLOBALS["\x64\145\142\165\x67"])) {
goto Vw_Nl;
}
goto phY1g;
T0T7w: return;
goto pX0pm;
Td1XC: goto GPMyn;
goto WKT78;
reFpo: $this-> {
$m["\x6d\x65\164\150\157\144"]}
();
goto ePsbu;
QnS7E: return;
goto SOpjP;
T2he2: SGH2z: goto qm50l;
tHbwM: bVbTI: goto T0T7w;
MciWw: XlRCp: goto QnS7E;
SOpjP: j_mga: goto p3LaL;
HKYOQ: $this->cloak();
goto vaupj;
IszTz: XFQ1e: goto Qkxa7;
WKT78: default: goto cv5yS;
FOa5g: xrG3c: goto Pnef9;
cv5yS: $this->cloak();
goto xqAhU;
ZUADm: N3d3r: goto FOa5g;
o44dy: if ($this->yR2JN["\143\150\x61\x74"] == $s) {
goto QQWil;
}
goto j0jWR;
j0jWR: if (!$this->evu8h) {
goto jXFEY;
}
goto MuCPE;
xqAhU: if (!($s = $this->getSetting("\163\x75\x70\x70\x6f\x72\164"))) {
goto xrG3c;
}
goto o44dy;
Yxjsz: QQWil: goto LfsIj;
Jpp08: jXFEY: goto J2Lz5;
EfPJY: goto N3d3r;
goto Jpp08;
LfsIj: $this->feedback($s);
goto EfPJY;
MuCPE: goto N3d3r;
goto Yxjsz;
J2Lz5: $this->support($s);
goto ZUADm;
Pnef9: }
goto vOYPe;
vOYPe: Cz50S: goto x5meu;
x5meu: GPMyn: goto X4C3e;
X4C3e: }
public function cloak()
{
goto Lh086;
Lh086: if (empty($_SESSION["\143\x6c\157\141\x6b"])) {
goto g6jV0;
}
goto DTfKz;
JSAiD: g6jV0: goto OOYT6;
DTfKz: $this->evu8h = false;
goto JSAiD;
OOYT6: }
public function feedback($chat)
{
goto mUqKg;
iQmrI: $this->send($user["\164\147\x69\144"], $this->yR2JN["\155\145\163\x73\x61\147\x65"], entities: $this->yR2JN["\145\156\164\151\164\151\x65\163"]);
goto HvoU0;
k1705: snvW0: goto eSrdv;
WcKMO: VAzrl: goto GQvlS;
fu5rS: switch ($m[1]) {
case "\x62\141\x6e": goto WE25q;
WE25q: $this->sql("\x75\160\144\141\164\145\40\x73\165\x70\160\157\162\x74\40\x73\x65\164\40\142\141\x6e\x3d\61\40\x77\x68\x65\x72\x65\40\x74\147\151\144\x3d\72\164\x67\151\144", ["\72\164\147\151\x64" => $user["\164\147\151\x64"]]);
goto h30cu;
K6rHp: goto ID_i_;
goto Z03xk;
h30cu: $this->send($this->yR2JN["\x63\150\141\x74"], "\xd0\267\320\xb0\320\xb1\320\xb0\xd0\275\320\xb8\xd0\xbb", $this->yR2JN["\155\x65\163\x73\x61\x67\145\x5f\x69\x64"], forum: $this->yR2JN["\146\157\x72\165\155"]);
goto K6rHp;
Z03xk: case "\165\x6e\x62\x61\x6e": goto HdYAA;
HG83e: goto ID_i_;
goto v6vt8;
m8IUt: $this->send($this->yR2JN["\143\150\x61\164"], "\321\x80\320\260\320\267\xd0\xb1\xd0\xb0\xd0\275\xd0\270\xd0\xbb", $this->yR2JN["\x6d\145\163\x73\141\147\145\x5f\x69\144"], forum: $this->yR2JN["\x66\x6f\162\x75\x6d"]);
goto HG83e;
HdYAA: $this->sql("\x75\160\144\x61\x74\145\x20\163\165\x70\x70\x6f\162\164\x20\163\x65\164\40\x62\x61\156\75\60\x20\x77\150\x65\162\145\40\x74\147\151\x64\x3d\x3a\x74\x67\x69\x64", ["\x3a\164\x67\151\144" => $user["\164\x67\151\x64"]]);
goto m8IUt;
v6vt8: case "\144\145\154": goto E7lb3;
E7lb3: $this->sql("\144\x65\x6c\x65\164\x65\40\x66\162\x6f\x6d\x20\x73\165\x70\x70\157\x72\x74\40\167\150\145\162\145\x20\164\x67\x69\x64\75\72\x74\x67\x69\144", ["\x3a\164\x67\x69\144" => $user["\x74\x67\151\144"]]);
goto LxHCo;
LxHCo: $this->request("\144\x65\154\145\x74\145\106\x6f\162\x75\155\124\x6f\x70\151\143", ["\x63\150\x61\x74\x5f\x69\x64" => $chat, "\155\145\163\163\141\147\x65\x5f\164\x68\162\145\141\144\137\151\144" => $user["\x66\x6f\162\x75\155"]]);
goto tiG8M;
tiG8M: goto ID_i_;
goto mOePN;
mOePN: }
goto D5AVI;
KVZGL: ID_i_: goto eF_E6;
eF_E6: Ye0MM: goto NU3UJ;
TF7HB: if (preg_match("\176\136\x28\142\141\156\174\165\x6e\x62\x61\156\x7c\144\x65\x6c\x29\x24\x7e", $this->yR2JN["\x6d\145\163\163\141\147\x65"], $m)) {
goto WKS5f;
}
goto vNdXx;
vNdXx: if ($this->yR2JN["\160\150\x6f\x74\157"]) {
goto VAzrl;
}
goto iQmrI;
mgbJw: if (!$user) {
goto ozaKU;
}
goto TF7HB;
NU3UJ: ozaKU: goto bvBze;
eSrdv: goto Ye0MM;
goto Ouyw7;
GQvlS: $this->sendPhoto($user["\164\147\151\144"], $this->yR2JN["\x70\150\157\164\x6f"][0]["\x66\x69\x6c\145\137\151\x64"], $this->yR2JN["\x6d\145\x73\x73\x61\x67\x65"], entities: $this->yR2JN["\x65\156\x74\x69\x74\x69\145\163"]);
goto k1705;
Ouyw7: WKS5f: goto fu5rS;
mUqKg: $user = $this->sql("\x73\x65\154\145\143\164\40\52\40\146\162\157\x6d\40\163\x75\160\x70\x6f\162\x74\x20\x77\150\x65\162\x65\40\x66\x6f\162\x75\155\x3d\72\146\157\x72\165\155", ["\72\146\157\x72\x75\155" => $this->yR2JN["\x66\157\162\165\155"]], "\162\157\167");
goto mgbJw;
HvoU0: goto snvW0;
goto WcKMO;
D5AVI: cIgzX: goto KVZGL;
bvBze: }
public function support($chat)
{
goto ev8LT;
w10Qw: if ($this->yR2JN["\160\x68\157\x74\x6f"]) {
goto AbDFm;
}
goto frwJF;
JeabH: AbDFm: goto DhwpG;
bnvu4: $this->sql("\151\x6e\163\145\162\164\x20\x69\x6e\x74\157\x20\x73\x75\x70\x70\157\162\164\x20\50\x74\147\151\x64\54\40\146\157\162\x75\155\51\x20\x76\141\154\x75\145\x73\x20\x28\x3a\164\x67\151\x64\x2c\40\x3a\x66\x6f\162\165\155\51", ["\72\x74\x67\151\x64" => $this->yR2JN["\x66\162\x6f\155"], "\72\x66\157\x72\165\155" => $r["\x72\x65\163\165\154\x74"]["\x6d\x65\163\x73\141\x67\x65\x5f\164\x68\x72\145\x61\x64\x5f\151\144"]]);
goto RUsF4;
DhwpG: $this->sendPhoto($chat, $this->yR2JN["\x70\x68\157\164\x6f"][0]["\146\x69\154\145\137\x69\x64"], $this->yR2JN["\155\145\x73\163\141\x67\x65"], entities: $this->yR2JN["\145\x6e\x74\x69\x74\x69\x65\x73"], forum: $user["\146\157\162\x75\x6d"]);
goto wf1ry;
tttcX: if (!$r["\162\x65\163\165\154\x74"]["\x6d\145\x73\163\x61\147\x65\x5f\164\x68\x72\x65\141\144\x5f\151\144"]) {
goto XJ6v4;
}
goto bnvu4;
RUsF4: $user = ["\164\147\151\x64" => $this->yR2JN["\x66\162\x6f\155"], "\146\x6f\x72\x75\155" => $r["\x72\x65\x73\165\154\x74"]["\x6d\145\x73\163\141\x67\x65\137\164\150\162\145\x61\x64\137\151\144"]];
goto iueao;
ev8LT: if ($user = $this->sql("\x73\x65\x6c\145\143\164\40\x2a\40\x66\x72\157\x6d\40\163\x75\160\160\157\162\164\40\x77\150\x65\x72\x65\40\164\x67\151\x64\75\72\x74\x67\151\x64", ["\x3a\164\147\151\x64" => $this->yR2JN["\146\162\x6f\155"]], "\162\x6f\167")) {
goto XoyhJ;
}
goto R1ygc;
R1ygc: $r = $this->request("\x63\x72\145\141\x74\x65\x46\157\162\x75\x6d\x54\157\x70\151\x63", ["\x63\150\x61\x74\137\151\144" => $chat, "\156\141\x6d\x65" => "{$this->yR2JN["\x75\163\x65\162\156\141\x6d\x65"]}\40\x28{$this->yR2JN["\x66\162\157\x6d"]}\51"]);
goto tttcX;
EcLse: XoyhJ: goto ajUAx;
DMgvd: goto oXqRL;
goto JeabH;
Njs3o: tmZO2: goto shlbq;
wf1ry: oXqRL: goto Njs3o;
frwJF: $this->send($chat, $this->yR2JN["\155\145\x73\x73\x61\147\x65"], entities: $this->yR2JN["\145\156\164\x69\x74\x69\145\x73"], forum: $user["\x66\157\162\165\155"]);
goto DMgvd;
ajUAx: if (!($user && empty($user["\x62\141\156"]))) {
goto tmZO2;
}
goto w10Qw;
iueao: XJ6v4: goto EcLse;
shlbq: }
public function notify($text)
{
$this->send($this->WzKlY["\x61\144\x6d\x69\156"], $text);
}
public function sendReply($message, $callback, . . . $args)
{
$r = $this->send($this->yR2JN["\143\x68\x61\x74"], "\x40{$this->yR2JN["\165\163\145\162\x6e\x61\155\x65"]}\x20{$message}", $this->yR2JN["\x6d\145\x73\163\141\x67\x65\137\x69\x64"], reply: $message);
$_SESSION["\162\145\x70\154\171"][$r["\x72\145\x73\165\x6c\164"]["\x6d\145\163\x73\x61\x67\145\137\151\x64"]] = ["\x73\x74\141\x72\x74\137\155\x65\163\163\x61\147\x65" => $this->yR2JN["\155\145\x73\163\141\x67\145\x5f\151\144"], "\163\164\x61\162\x74\137\x63\x61\154\x6c\142\141\x63\153" => $this->yR2JN["\143\141\154\x6c\x62\141\143\153\x5f\x69\x64"], "\x63\141\x6c\x6c\x62\x61\x63\153" => $callback, "\x61\162\x67\163" => $args];
}
public function reply()
{
goto DZs_B;
oryJF: $this-> {
$callback}
($this->yR2JN["\x6d\145\163\163\x61\x67\x65"], . . . $_SESSION["\x72\x65\x70\x6c\171"][$this->yR2JN["\162\x65\160\154\x79"]]["\x61\162\x67\163"]);
goto xAmTn;
JErZ3: $callback = $_SESSION["\x72\x65\160\154\x79"][$this->yR2JN["\162\x65\x70\x6c\x79"]]["\x63\x61\x6c\x6c\x62\x61\143\153"];
goto w8i1_;
DZs_B: $this->delete($this->yR2JN["\x63\150\x61\x74"], $this->yR2JN["\162\x65\160\x6c\171"]);
goto ScNgU;
ScNgU: $this->delete($this->yR2JN["\143\x68\141\164"], $this->yR2JN["\155\x65\x73\x73\x61\147\145\137\x69\x64"]);
goto JErZ3;
VXKMH: unset($_SESSION["\x72\x65\x70\x6c\x79"][$this->yR2JN["\x72\145\160\154\171"]]);
goto gceW0;
w8i1_: $this->yR2JN["\x6d\145\x73\163\141\147\x65\x5f\x69\144"] = $this->yR2JN["\143\141\154\154\x62\141\143\x6b\x5f\151\x64"] = $_SESSION["\x72\145\160\x6c\171"][$this->yR2JN["\x72\145\x70\x6c\x79"]]["\163\x74\141\x72\164\137\155\145\x73\x73\x61\x67\145"];
goto oryJF;
xAmTn: $this->answer($_SESSION["\162\145\x70\154\x79"][$this->yR2JN["\x72\145\x70\154\x79"]]["\x73\x74\x61\x72\164\x5f\155\145\163\x73\141\x67\x65"]);
goto VXKMH;
gceW0: }
public function i18n(string $label) : string
{
return !empty($this->EtwxM[$label]["\166\141\x6c\165\145"]) ? $this->EtwxM[$label]["\x76\141\154\165\145"] : $label;
}
public function id()
{
$this->send($this->yR2JN["\x63\x68\x61\x74"], "\74\143\157\x64\145\x3e{$this->yR2JN["\x66\x72\157\x6d"]}\x3c\x2f\x63\x6f\x64\145\76", $this->yR2JN["\155\x65\x73\x73\141\x67\145\137\151\x64"]);
}
public function chat()
{
$this->send($this->yR2JN["\x63\x68\141\x74"], "\74\x63\x6f\144\145\x3e{$this->yR2JN["\143\x68\141\164"]}\x3c\x2f\x63\157\144\x65\76", $this->yR2JN["\155\145\x73\163\x61\x67\x65\x5f\151\x64"]);
}
public function db()
{
$this->send($this->yR2JN["\x63\150\141\x74"], $this->ue8lR, $this->yR2JN["\155\x65\x73\163\141\x67\x65\x5f\151\144"]);
}
public function start($hash = false)
{
goto wEBe3;
BEJIj: $this->menu();
goto RFM9x;
wEBe3: if (!$hash) {
goto tZfmq;
}
goto Nz2Fc;
qWYCu: tZfmq: goto BEJIj;
Nz2Fc: return $this->activatePromo($hash);
goto qWYCu;
RFM9x: }
public function template(string $template, array $data)
{
goto BTeQn;
UT0IB: $t = $this->getSetting($template);
goto huPvF;
HS_Ia: uVxAZ: goto vNKoH;
vNKoH: xXI9f: goto UT0IB;
huPvF: return trim($tmp ? str_replace(array_keys($tmp), array_values($tmp), $t) : $t);
goto y5MOg;
BTeQn: if (empty($data)) {
goto xXI9f;
}
goto rJym_;
rJym_: foreach ($data as $k => $v) {
$tmp["\176{$k}\176"] = $v;
EDrn8: }
goto HS_Ia;
y5MOg: }
public function cron()
{
goto TOc6S;
zKbuN: foreach ($res as $k => $v) {
goto rBzUn;
FAEec: $v["\x23\40\151\x64"] = $v["\151\x64"];
goto GIP1G;
rBzUn: $v["\x6c\151\146\145"] = $this->getTime(strtotime($v["\x6c\151\146\x65"]) - time());
goto tLCx1;
GIP1G: $this->send($v["\164\147\151\144"], $this->template("\x6e\145", $v));
goto GFt3J;
GFt3J: $ids[] = $v["\x69\x64"];
goto H0NBw;
tLCx1: $v["\165\x73\145\162"] = $this->getInfoUser($v["\164\x67\x69\144"])["\162\145\x73\165\x6c\x74"]["\x75\x73\145\162"]["\146\x69\x72\x73\164\137\x6e\141\155\145"];
goto FAEec;
H0NBw: oi58T: goto Ggb8n;
Ggb8n: }
goto JnQkz;
JnQkz: DU3rl: goto zAB7o;
p53Co: C3O8a: goto ZiEon;
C2IPp: $this->backup();
goto TRANU;
tpKZ6: $res = $this->sql("\x73\x65\x6c\145\143\164\40\x69\144\54\xa\40\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\40\x20\40\40\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\x74\x67\x69\x64\x2c\xa\40\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\40\40\x20\x20\154\151\x66\145\12\40\40\x20\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\40\x20\40\40\40\40\40\40\x20\40\40\x20\40\x20\x20\40\40\x66\x72\x6f\x6d\40\143\x6c\x69\145\x6e\164\x73\12\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\x20\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\40\40\40\x20\40\x20\40\40\40\167\x68\x65\162\145\40\145\170\x70\x69\162\x65\137\x6e\157\164\x69\146\171\75\60\12\40\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\40\x20\40\40\x20\x20\40\40\40\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\x20\141\156\144\x20\x6f\156\137\x6f\x66\x66\x3d\x31\12\40\x20\40\40\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\40\40\40\40\40\40\x61\156\x64\x20\154\151\146\145\40\x69\x73\40\156\157\x74\x20\x6e\x75\154\x6c\xa\40\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\141\x6e\144\x20\50\125\x4e\111\130\137\x54\111\115\105\123\x54\x41\x4d\x50\50\x6c\x69\146\x65\51\x20\55\x20\x55\x4e\111\x58\x5f\x54\111\x4d\105\x53\x54\x41\115\120\50\156\157\x77\x28\x29\51\x29\40\74\x20\72\x65\170\x70\x69\162\x65\xa\40\40\x20\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\141\x6e\x64\40\x28\x55\x4e\x49\130\137\124\111\x4d\105\x53\x54\x41\x4d\120\50\154\x69\x66\145\51\x20\55\x20\125\116\111\130\137\x54\111\115\x45\x53\124\101\x4d\120\x28\156\x6f\x77\x28\x29\51\x29\x20\76\40\x30", ["\72\145\170\160\151\x72\x65" => $e]);
goto IHZUr;
pQePx: cMokQ: goto RbzgQ;
cZrnE: tS5dx: goto FyE7m;
rjlri: foreach ($res as $k => $v) {
goto vTvWq;
P5RXp: $refer = $this->sql("\163\145\154\x65\143\164\40\52\40\146\162\x6f\155\x20\x63\154\x69\x65\156\x74\x73\x20\167\x68\x65\x72\145\40\x53\125\x42\x53\x54\122\x49\116\107\x28\163\150\x61\x31\x28\160\x72\x69\166\141\x74\x65\x29\x2c\40\x31\54\40\67\51\75\72\x70\162\x6f\x6d\157", ["\x3a\x70\x72\x6f\x6d\x6f" => $m[1]], "\x72\157\x77");
goto TaSez;
G5FzO: $id = $this->sql("\151\156\x73\145\x72\164\40\x69\156\x74\157\40\x63\x6c\x69\145\156\x74\x73\50\x74\147\151\x64\x2c\40\163\145\162\x76\145\x72\54\40\x6c\151\x66\x65\54\x20\x69\x70\54\x20\157\x6e\x5f\x6f\146\x66\51\40\x76\141\154\165\145\163\x20\50\72\164\x67\151\144\x2c\40\x3a\163\145\x72\x76\145\x72\x2c\x20\x6e\157\167\x28\x29\40\x2b\40\x69\156\x74\x65\162\166\x61\x6c\x20\72\154\151\x66\145\40\x73\145\143\x6f\x6e\x64\x2c\40\72\x69\x70\x2c\40\61\x29\x3b\163\145\154\x65\143\x74\x20\114\101\x53\x54\137\x49\x4e\x53\x45\x52\x54\x5f\111\x44\x28\x29\73", ["\72\164\147\151\x64" => $v["\164\x67\x69\144"], "\x3a\151\x70" => $this->nextIP($v["\x73\x65\162\166\145\162"]), "\x3a\x73\145\162\x76\x65\x72" => $v["\x73\x65\x72\166\x65\162"], "\x3a\x6c\151\146\145" => $v["\154\x69\x66\145"]], "\157\156\x65", nextRowset: 1);
goto g0wZi;
DIKtA: $refer["\x62\x6f\156\x75\163"] = $this->getTime($bonus);
goto yyEzb;
VcR0E: goto gw2tP;
goto O_HWi;
KFFc3: $this->send($refer["\x74\147\151\x64"], $this->template("\156\x62", $refer));
goto aekk6;
fHvgP: LVPEv: goto Q2vG9;
yyEzb: $this->sql("\x75\160\x64\x61\x74\145\40\143\x6c\x69\145\156\x74\x73\x20\163\145\164\x20\x6c\x69\146\x65\75\x6c\x69\146\x65\40\x2b\x20\x69\156\164\145\x72\166\141\154\40\x3a\x62\x6f\156\165\x73\x20\163\145\143\x6f\x6e\x64\x20\167\x68\x65\x72\145\40\x69\144\x3d\x3a\151\144", ["\72\151\x64" => $refer["\151\x64"], "\72\x62\x6f\156\165\x73" => $bonus]);
goto KFFc3;
IX8Kd: $id = $this->sql("\165\x70\x64\x61\x74\145\40\143\x6c\x69\x65\x6e\164\163\40\x73\x65\164\40\x6f\156\x5f\157\146\x66\x3d\61\54\x20\151\x64\x3d\x28\163\145\x6c\145\143\164\40\x40\x69\x64\40\x3a\x3d\x20\x69\x64\x29\54\40\154\151\146\145\75\151\x66\50\x6f\x6e\x5f\157\146\146\x3d\x31\x2c\x20\x6c\151\146\145\x2c\40\x6e\x6f\167\x28\x29\x29\40\x2b\x20\x69\156\164\145\x72\166\141\x6c\40\72\154\151\x66\x65\40\163\145\143\157\x6e\144\x20\167\150\145\x72\145\40\x69\144\75\x3a\151\144\x3b\40\x73\145\x6c\x65\143\x74\40\x40\x69\x64\x3b", ["\x3a\x69\x64" => $v["\143\x6c\151\145\156\164"], "\72\154\151\146\145" => $v["\x6c\151\x66\x65"]], "\157\156\x65", nextRowset: 1);
goto CLOdI;
eSo6O: vJ8pF: goto LIQTb;
ARrtg: $this->sql("\x75\x70\144\x61\164\145\40\157\x72\x64\145\162\x73\40\x73\145\x74\40\143\162\x65\141\x74\145\144\x3d\x3a\156\145\x77\137\x69\144\54\x20\x63\x72\x65\141\164\145\144\x5f\164\151\x6d\x65\x3d\x6e\157\167\50\51\x20\167\150\x65\x72\x65\x20\x69\144\75\72\151\144", ["\72\x69\x64" => $v["\x69\144"], "\72\x6e\x65\x77\137\x69\x64" => $id]);
goto CAZIL;
fZc1Y: kYpxV: goto VcR0E;
TQ3wQ: goto vJ8pF;
goto fZc1Y;
CAZIL: if (!(!empty($v["\x70\x72\157\155\x6f"]) && preg_match("\x7e\x5e\143\x6c\x28\56\53\51\x7e", $v["\x70\x72\157\155\157"], $m) && !empty($bonus = $this->sql("\x73\x65\154\145\143\x74\40\x62\x6f\x6e\x75\163\164\x69\155\145\40\146\162\x6f\155\40\163\x65\162\x76\145\x72\163\x20\167\x68\145\x72\145\40\x69\x64\75\x3a\x69\144", ["\72\x69\144" => $v["\163\145\162\x76\145\162"]], "\x6f\156\145")))) {
goto LVPEv;
}
goto P5RXp;
vTvWq: if ($v["\143\x6c\x69\x65\x6e\x74"]) {
goto yVNdB;
}
goto SKA1r;
aekk6: pyIYf: goto fHvgP;
O_HWi: yVNdB: goto IX8Kd;
Q2vG9: wpj5h: goto mCAHI;
g0wZi: I4ILb: goto kH7Ag;
TaSez: if (!$refer) {
goto pyIYf;
}
goto DIKtA;
SKA1r: $i = 0;
goto eSo6O;
kH7Ag: $i++;
goto TQ3wQ;
LIQTb: if (!($i < $v["\x71\x75\x61\156\164"])) {
goto kYpxV;
}
goto G5FzO;
CLOdI: gw2tP: goto ARrtg;
mCAHI: }
goto cZrnE;
mEVFg: foreach ($res as $k => $v) {
goto dvxgH;
Od3NS: CkRtF: goto sEFdJ;
mTzku: $r = $this->send($this->WzKlY["\141\144\x6d\151\156"], "\xd1\201\320\265\xd1\x80\320\xb2\320\265\321\200\40{$name}\40\xd0\xbe\320\275\320\273\320\xb0\xd0\xb9\320\275", $v["\156\x6f\164\151\x66\x79"]);
goto e_ZE1;
e_ZE1: $this->sql("\165\x70\144\x61\x74\145\x20\163\x65\x72\x76\x65\x72\x73\x20\163\x65\164\x20\156\157\x74\x69\146\171\75\72\156\157\164\x69\x66\x79\x20\x77\150\x65\162\145\x20\151\x64\x3d\x3a\x69\x64", ["\72\151\x64" => $v["\151\144"], "\x3a\x6e\157\164\151\146\x79" => 0]);
goto Od3NS;
dvxgH: $name = $v["\156\141\x6d\145"] ?: "{$v["\151\x70"]}\x3a{$v["\160\x6f\x72\164"]}";
goto mTzku;
sEFdJ: }
goto pQePx;
Hp0qx: wklUj: goto jKESb;
YqFdJ: $res = $this->sql("\x73\x65\154\145\x63\x74\x20\x69\144\x2c\x20\x69\x70\54\x20\160\x6f\162\x74\x2c\40\x6e\x61\155\145\40\x66\x72\x6f\x6d\x20\x73\145\162\x76\x65\x72\163\x20\x77\x68\145\x72\x65\x20\156\x6f\x74\151\146\171\x3d\x30\40\141\156\x64\40\x6c\141\163\164\137\x6f\156\154\151\x6e\145\40\74\40\x6e\157\x77\x28\51\x20\x2d\40\151\156\x74\145\162\x76\141\x6c\40\x28\x34\x20\52\x20\x73\154\x65\x65\x70\x29\x20\x73\x65\143\157\x6e\144");
goto QNJSB;
FyE7m: Fyr_0: goto C2IPp;
ZiEon: if (!($e = $this->getSetting("\x65\170\x70\151\x72\x65\x4e\157\x74\151\x66\171"))) {
goto TV5Hg;
}
goto tpKZ6;
PWD5A: if (!($this->expireCert() - time() < 3600 * 24 * 14)) {
goto wklUj;
}
goto QHtoB;
Dc8Fs: $res = $this->sql("\163\x65\x6c\145\143\164\x20\x69\x64\x2c\40\x69\x70\x2c\x20\x70\157\162\x74\54\40\156\x61\x6d\145\x2c\x20\x6e\157\x74\151\146\x79\x20\x66\x72\x6f\x6d\x20\163\x65\162\166\x65\x72\163\x20\x77\150\145\x72\x65\x20\x6e\x6f\x74\151\146\171\x21\75\60\x20\x61\x6e\144\40\154\141\x73\164\x5f\157\x6e\x6c\x69\x6e\145\x20\76\75\x20\156\157\167\50\x29\x20\x2d\40\151\156\164\x65\162\x76\141\154\40\50\163\154\145\145\x70\x20\53\x20\163\154\145\x65\160\x29\x20\x73\x65\x63\157\156\144");
goto nWpfb;
QNJSB: if (empty($res)) {
goto OcJtU;
}
goto rgqPo;
Daswn: $res = $this->sql("\x73\x65\x6c\x65\143\164\x20\x2a\x20\146\162\x6f\x6d\40\x6f\x72\144\x65\162\163\40\167\x68\x65\x72\x65\40\x28\160\141\x69\x64\75\x31\x20\x6f\x72\40\x70\162\151\x63\x65\75\x30\51\40\141\156\144\x20\x63\x72\145\141\x74\x65\144\x3d\60");
goto SG1cu;
K_0V9: brq7i: goto ohf2F;
nWpfb: if (empty($res)) {
goto oarZx;
}
goto mEVFg;
jKESb: kgY60: goto JUH49;
sKMxD: OcJtU: goto Dc8Fs;
zAB7o: if (empty($ids)) {
goto brq7i;
}
goto JCTWQ;
ohf2F: vDj3m: goto Jfcb2;
QHtoB: $ssl = $this->getTime($this->expireCert() - time());
goto KRP1h;
IXhvx: if (!true) {
goto frsyt;
}
goto EatRS;
LPB1g: wCH79: goto sKMxD;
rgqPo: foreach ($res as $k => $v) {
goto uJYKk;
eumEd: ES_3c: goto bvw1X;
uJYKk: $name = $v["\156\141\155\x65"] ?: "{$v["\151\160"]}\x3a{$v["\160\x6f\x72\x74"]}";
goto wP0JA;
wP0JA: $r = $this->send($this->WzKlY["\141\144\155\x69\156"], "\xd1\201\xd0\265\xd1\200\xd0\262\xd0\xb5\321\200\x20{$name}\x20\xd0\276\321\204\321\204\320\xbb\320\xb0\xd0\271\320\xbd");
goto TMVlP;
TMVlP: $this->sql("\x75\160\x64\x61\x74\145\x20\163\145\x72\x76\x65\162\163\x20\163\145\x74\40\x6e\157\x74\x69\146\171\75\72\x6e\x6f\x74\151\x66\171\x20\167\150\145\162\145\40\x69\x64\x3d\72\151\144", ["\x3a\x69\144" => $v["\x69\144"], "\72\156\157\x74\x69\146\171" => $r["\162\145\163\x75\x6c\164"]["\155\145\x73\163\x61\x67\x65\137\x69\x64"]]);
goto eumEd;
bvw1X: }
goto LPB1g;
JUH49: $this->xuI1p = time();
goto p53Co;
JZuL8: $ids = [];
goto zKbuN;
EatRS: if (!(empty($this->xuI1p) || $this->xuI1p + 3600 < time())) {
goto C3O8a;
}
goto Xpasj;
TRANU: sleep(1);
goto tHKCl;
KRP1h: $this->send($this->WzKlY["\141\144\x6d\151\x6e"], "\x73\x73\x6c\x20\145\170\160\151\x72\145\x3a\x20{$ssl}");
goto Hp0qx;
FwTgm: $this->sql("\x75\160\x64\141\x74\145\x20\143\154\x69\x65\x6e\x74\x73\40\163\145\x74\40\x6f\156\x5f\x6f\146\x66\75\60\x20\167\x68\145\162\145\40\157\156\137\x6f\x66\x66\x3d\x31\40\x61\156\x64\40\154\x69\x66\x65\x20\x69\163\40\156\x6f\164\40\156\165\154\x6c\40\x61\156\x64\x20\x6c\151\x66\x65\x20\x3c\40\156\x6f\x77\50\x29");
goto YqFdJ;
SG1cu: if (empty($res)) {
goto Fyr_0;
}
goto rjlri;
TOc6S: kqrAK: goto IXhvx;
Xpasj: if (!(file_exists($this->P13AN) && $this->expireCert())) {
goto kgY60;
}
goto PWD5A;
IHZUr: if (empty($res)) {
goto vDj3m;
}
goto JZuL8;
tHKCl: goto kqrAK;
goto VYw3S;
VYw3S: frsyt: goto d1k1b;
RbzgQ: oarZx: goto Daswn;
JCTWQ: $this->sql("\165\x70\144\141\x74\145\40\x63\x6c\x69\x65\x6e\x74\x73\x20\x73\x65\x74\x20\145\170\x70\x69\x72\145\137\156\x6f\x74\x69\146\x79\75\x31\x20\x77\x68\145\162\145\40\151\144\40\x69\x6e\x20\x28" . implode("\x2c\40", $ids) . "\x29");
goto K_0V9;
Jfcb2: TV5Hg: goto FwTgm;
d1k1b: }
public function prolong($id, $menupage)
{
goto hmhQ3;
yUyJQ: goto lQPS4;
goto hFTzE;
hFTzE: sUn9Z: goto QgV2a;
b7Zgk: lqQd6: goto H72qf;
hmhQ3: $text[] = $this->template("\x75\x73", []);
goto bXWzp;
WQoko: if (!$cl) {
goto VIwYD;
}
goto yVzq4;
AQna8: LK1Ck: goto eSHlW;
eSHlW: lQPS4: goto b7Zgk;
KNZwO: if (!empty($s["\x70\141\171"])) {
goto sUn9Z;
}
goto hrBpf;
E3fNC: $text[] = "\xd0\275\xd0\265\xd1\x82\40\320\264\xd0\276\321\x81\xd1\202\xd1\203\320\277\xd0\275\321\x8b\321\x85\40\321\201\320\273\320\xbe\xd1\202\xd0\xbe\320\xb2\x20\xd0\xbd\xd0\260\40\xd0\264\xd0\xb0\xd0\xbd\xd0\275\321\213\320\271\40\xd0\xbc\xd0\276\320\274\320\xb5\xd0\275\321\202";
goto AQna8;
QgV2a: if (empty($p = $this->sql("\x73\145\154\145\143\164\40\x2a\40\x66\162\x6f\155\40\160\x72\151\143\145\x20\x77\x68\x65\x72\145\x20\x73\145\162\x76\145\162\x3d\72\163\145\162\166\145\162", ["\72\x73\145\x72\x76\145\162" => $cl["\163\x65\162\x76\x65\x72"]]))) {
goto CXH8e;
}
goto zy_RN;
zy_RN: foreach ($p as $k => $v) {
$data[] = [["\x74\x65\x78\164" => $this->labelPrice($v, 1), "\143\141\154\154\x62\x61\143\x6b\x5f\x64\141\164\141" => "\x2f\x63\x72\x65\x61\x74\145\117\162\x64\145\162\40{$cl["\163\145\x72\x76\145\x72"]}\x5f{$v["\151\144"]}\x5f{$menupage}\x5f{$id}"]];
dSBPP: }
goto i8Ols;
Ady5m: $this->update($this->yR2JN["\143\150\x61\164"], $this->yR2JN["\155\x65\163\163\141\x67\145\x5f\151\144"], implode("\12", $text), $data ?: false);
goto GdGQq;
yVzq4: if (!($s = $this->sql("\163\145\154\x65\x63\164\40\52\x20\x66\162\157\x6d\40\x73\145\162\x76\x65\x72\x73\40\x77\150\x65\x72\145\40\x69\144\x3d\x3a\151\x64\x20\x61\156\144\x20\x70\141\171\x3d\61", ["\x3a\x69\144" => $cl["\163\145\x72\x76\x65\162"]], "\162\x6f\x77"))) {
goto lqQd6;
}
goto NQKZd;
xSrgo: goto LK1Ck;
goto BKYx8;
NQKZd: $name = $s["\156\141\155\x65"] ?: "{$s["\x69\160"]}\72{$s["\x70\x6f\162\x74"]}";
goto KNZwO;
hrBpf: $text[] = "{$name}\40\xd0\275\xd0\265\40\320\xb4\xd0\276\321\201\321\x82\xd1\x83\xd0\xbf\xd0\xb5\xd0\xbd\40\320\xbd\xd0\xb0\40\320\264\xd0\xb0\320\275\320\xbd\xd1\x8b\xd0\xb9\40\xd0\274\320\xbe\xd0\274\xd0\265\xd0\275\xd1\202";
goto yUyJQ;
NQnsS: if (empty($data)) {
goto CrLhi;
}
goto r0MXE;
r0MXE: $text[] = $name;
goto xSrgo;
ft48h: CXH8e: goto NQnsS;
i8Ols: eXhFt: goto ft48h;
gCBzx: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\x61\143\x6b"), "\x63\x61\x6c\x6c\x62\x61\143\153\137\144\x61\164\141" => "\x2f\x70\145\145\x72\40{$id}\137{$menupage}"]];
goto Ady5m;
H72qf: VIwYD: goto gCBzx;
BKYx8: CrLhi: goto E3fNC;
bXWzp: $cl = $this->sql("\x73\x65\x6c\145\143\x74\x20\x2a\40\146\162\x6f\x6d\40\x63\154\x69\145\156\164\163\40\167\150\x65\162\x65\x20\x69\144\75\72\x69\144", ["\x3a\x69\x64" => $id], "\162\x6f\x77");
goto WQoko;
GdGQq: }
public function buy($menupage = 0)
{
goto NYNW8;
tlZbb: $data[] = [["\164\x65\170\164" => $this->i18n("\x62\x61\143\153"), "\143\141\154\x6c\x62\141\143\153\x5f\144\x61\x74\x61" => "\x2f\x6d\x65\156\165\40{$menupage}"]];
goto cFbrM;
T9VnM: foreach ($s as $k => $v) {
$data[] = [["\164\x65\x78\164" => $v["\x6e\x61\155\145"] ?: "{$v["\x69\x70"]}\x3a{$v["\x70\x6f\162\164"]}", "\x63\141\154\154\x62\x61\x63\153\x5f\x64\141\164\141" => "\57\163\145\162\166\145\162\x55\x73\145\162\40{$v["\151\x64"]}\x5f{$menupage}"]];
GfIQ1: }
goto knOW8;
cwXIg: if (empty($s)) {
goto xMgJm;
}
goto T9VnM;
l3FSP: $s = $this->sql("\x53\105\x4c\105\x43\124\40\163\x2e\x69\144\x2c\12\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\163\56\156\141\x6d\145\x2c\xa\x20\40\40\40\x20\x20\40\40\40\40\40\40\40\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\40\40\40\40\40\x20\x73\x2e\x69\160\x2c\xa\40\x20\x20\40\x20\40\x20\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\40\x20\40\x20\x73\x2e\x70\157\162\164\xa\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\40\40\x20\40\x20\106\x52\117\x4d\x20\163\145\162\166\145\162\163\x20\x73\xa\40\x20\40\40\40\40\40\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\40\40\40\40\x20\127\110\105\x52\105\40\x73\56\160\141\171\x3d\61\xa\40\40\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\40\40\40\40\x20\x20\40\40\x20\40\x20\40\40\x20\x41\x4e\x44\40\x73\56\143\x65\x6c\x6c\163\x20\x3e\40\50\123\x45\114\105\103\x54\x20\143\157\x75\x6e\164\x28\52\x29\40\106\122\117\115\40\x63\154\151\145\x6e\x74\163\40\x57\110\x45\x52\105\40\x73\145\x72\166\x65\x72\75\163\56\x69\x64\x29\12\x20\40\40\x20\40\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\40\x20\101\x4e\104\x20\163\x2e\154\151\x6d\x69\164\163\x20\76\x20\x28\x53\x45\114\x45\x43\x54\x20\143\157\x75\x6e\164\50\x2a\x29\x20\106\122\117\x4d\40\x63\154\151\145\x6e\164\x73\x20\127\x48\105\x52\x45\40\x73\145\162\166\x65\x72\x3d\x73\x2e\151\144\x20\x41\116\x44\x20\164\x67\151\x64\x3d\x3a\x74\147\x69\x64\x29\xa\40\40\x20\x20\40\x20\40\x20\40\40\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\117\x52\x44\x45\x52\40\x42\x59\40\x73\x2e\156\141\155\145", ["\72\164\x67\x69\x64" => $this->yR2JN["\x66\x72\157\155"]]);
goto cwXIg;
knOW8: ore41: goto Rdnrw;
Rdnrw: xMgJm: goto tlZbb;
cFbrM: $this->update($this->yR2JN["\143\x68\x61\x74"], $this->yR2JN["\155\145\163\x73\x61\x67\x65\137\151\x64"], implode("\xa", $text), $data ?: false);
goto pV3ap;
NYNW8: $text[] = $this->template("\x75\142", []);
goto l3FSP;
pV3ap: }
public function getSetting($param)
{
return $this->sql("\163\145\x6c\145\x63\x74\40\166\x61\x6c\165\x65\40\x66\x72\x6f\155\x20\163\x65\x74\164\x69\x6e\147\163\x20\167\x68\145\162\145\x20\160\x61\162\141\x6d\x3d\72\160\x61\162\x61\155", ["\x3a\160\x61\x72\141\x6d" => $param], "\x6f\156\x65");
}
public function setSetting($param, $value)
{
$this->sql("\162\x65\x70\154\141\143\x65\x20\151\x6e\x74\x6f\40\x73\145\x74\x74\x69\156\147\163\x28\160\x61\162\x61\x6d\x2c\x20\x76\x61\154\165\145\x29\40\x76\x61\154\165\145\x73\50\72\160\141\162\x61\155\x2c\x20\72\x76\x61\x6c\x75\x65\51", ["\72\160\141\162\x61\155" => $param ?: '', "\72\x76\141\x6c\165\x65" => $value ?: '']);
}
public function language($page = 0)
{
goto kc3XD;
wQSlB: foreach ($lang as $k => $v) {
$data[] = [["\x74\145\x78\164" => $this->i18n("\x64\x65\x6c\x65\x74\145") . "\x20{$v["\x70\141\x72\x61\155"]}\x20\x3d\40{$v["\166\141\x6c\165\x65"]}", "\143\141\154\x6c\x62\141\143\153\137\144\141\164\x61" => "\x2f\x64\x65\x6c\114\x61\x6e\x67\165\x61\147\x65\x20{$v["\151\x64"]}\137{$page}"]];
A3wXj: }
goto x6rXL;
YpNZ2: $lang = $this->sql("\163\145\x6c\145\143\164\x20\x2a\x20\x66\x72\157\x6d\x20\x6c\x61\156\x67\x75\x61\147\x65\x20\x6c\151\x6d\151\x74\40{$this->RuZdI}\40\x6f\146\x66\x73\x65\164\x20" . $page * $this->RuZdI);
goto wQSlB;
x6rXL: zXrEz: goto MjhZg;
MjhZg: if (!($count > $this->RuZdI)) {
goto IbLJk;
}
goto uiFdx;
kc3XD: $data[] = [["\x74\145\170\x74" => $this->i18n("\x61\144\x64"), "\x63\141\154\x6c\x62\x61\143\153\x5f\144\141\x74\x61" => "\x2f\163\x65\156\144\x52\145\x70\x6c\171\x20\145\156\x74\x65\162\x20\x6c\x69\x6b\145\x20\x70\x68\162\141\163\x65\75\164\x72\141\156\x73\154\x61\x74\x69\x6f\x6e\137\141\x64\x64\114\141\x6e\x67\165\x61\x67\145\137{$page}"]];
goto qla3s;
p3tzx: YZI66: goto oIolu;
oIolu: $data[] = [["\164\145\170\164" => $this->i18n("\x62\x61\x63\153"), "\x63\x61\x6c\154\142\141\143\153\137\144\x61\164\x61" => "\x2f\143\157\156\146\x69\147"]];
goto cU3Vp;
cU3Vp: $this->update($this->yR2JN["\x63\150\x61\x74"], $this->yR2JN["\x6d\145\163\x73\x61\x67\x65\137\151\144"], implode("\xa", []), $data ?: false);
goto fTGcm;
qla3s: if (!($count = $this->sql("\x73\145\154\x65\x63\164\x20\143\x6f\x75\156\x74\50\52\x29\x20\x66\162\157\x6d\x20\x6c\x61\156\x67\x75\141\147\145", view: "\x6f\156\x65"))) {
goto YZI66;
}
goto YpNZ2;
uiFdx: $data[] = $this->paginate($count, $this->RuZdI, $page, "\57\154\x61\x6e\x67\x75\141\147\x65\40\176\160\x61\x67\145\x7e");
goto cvaqY;
cvaqY: IbLJk: goto p3tzx;
fTGcm: }
public function addLanguage($text, $page = 0)
{
goto Z5qiU;
gmWhR: $this->send($this->yR2JN["\x63\150\141\x74"], "\xd0\275\xd0\265\320\xb2\xd0\265\321\x80\320\xbd\321\213\320\xb9\40\xd1\x84\320\276\xd1\x80\320\xbc\xd0\260\xd1\x82");
goto K6T3w;
VJkaG: fyKkm: goto KGVzY;
Pxpn9: if (!(!empty(trim($param)) && !empty(trim($value)))) {
goto s3YIh;
}
goto lY8x8;
KGVzY: [$param, $value] = array_slice(explode("\75", $text), 0, 2);
goto Pxpn9;
HbvUo: SpH88: goto g450V;
lY8x8: $this->sql("\162\145\x70\x6c\141\143\145\x20\x69\x6e\x74\157\40\x6c\x61\156\147\165\x61\147\x65\50\160\x61\x72\141\155\x2c\40\x76\x61\154\x75\145\x29\x20\x76\x61\x6c\165\145\x73\x28\x3a\x70\x61\x72\x61\155\x2c\x20\x3a\x76\x61\x6c\x75\145\x29", ["\72\x70\x61\162\141\x6d" => trim($param) ?: '', "\x3a\x76\141\x6c\x75\145" => trim($value) ?: '']);
goto oIkAm;
g450V: $this->language($page);
goto auife;
oIkAm: $page = (int) ceil($this->sql("\x73\x65\154\x65\143\164\x20\143\157\165\x6e\x74\x28\x2a\51\40\x66\x72\157\155\40\154\x61\156\147\x75\x61\147\145", view: "\157\x6e\x65") / $this->RuZdI - 1);
goto ELylN;
ELylN: s3YIh: goto HbvUo;
Z5qiU: if (preg_match("\x7e\75\x7e\151\x75\163", $text)) {
goto fyKkm;
}
goto gmWhR;
K6T3w: goto SpH88;
goto VJkaG;
auife: }
public function delLanguage($id, $page)
{
$this->sql("\144\145\154\145\x74\x65\40\x66\162\157\x6d\40\x6c\141\156\147\x75\x61\x67\145\40\x77\x68\145\162\x65\40\x69\x64\x3d\x3a\151\144", ["\x3a\x69\x64" => $id]);
$this->language($page);
}
public function addAdmin($text)
{
goto XGeuf;
XGeuf: if (!($admin = (int) trim($text))) {
goto vGP3S;
}
goto CBR8O;
m45iY: $this->admins();
goto Qaq8E;
lQEVP: $this->setSetting("\141\144\x6d\x69\x6e\x73", implode("\54", $admins));
goto UeyCp;
MCrj0: $admins[] = $admin;
goto lQEVP;
CBR8O: $admins = $this->getAdmins();
goto MCrj0;
UeyCp: vGP3S: goto m45iY;
Qaq8E: }
public function delAdmin($admin)
{
goto s0HRV;
bOrZh: $this->admins();
goto NxMDN;
qV_te: $admins = array_diff($admins, [$admin]);
goto SbCdQ;
s0HRV: $admins = $this->getAdmins();
goto qV_te;
SbCdQ: $this->setSetting("\141\x64\155\151\156\163", implode("\54", $admins));
goto bOrZh;
NxMDN: }
public function admins()
{
goto Y41lZ;
mtxY1: $this->update($this->yR2JN["\143\x68\x61\164"], $this->yR2JN["\155\x65\163\163\141\x67\x65\137\x69\144"], implode("\xa", []), $data ?: false);
goto gN6Au;
AxpDF: if (!($admins = $this->getSetting("\141\x64\155\151\x6e\x73"))) {
goto OgL7p;
}
goto um3NY;
Atk0D: OgL7p: goto SnToT;
um3NY: foreach (array_filter(explode("\x2c", $admins)) as $k => $v) {
$data[] = [["\164\x65\x78\x74" => $this->i18n("\x64\145\154\x65\164\x65") . "\72\x20{$v}", "\143\141\154\x6c\142\141\x63\x6b\x5f\144\141\164\x61" => "\x2f\144\x65\x6c\x41\x64\155\x69\156\x20{$v}"]];
yi79D: }
goto Omb3b;
SnToT: $data[] = [["\164\145\170\164" => $this->i18n("\142\x61\x63\x6b"), "\x63\x61\154\154\142\141\143\x6b\137\x64\141\164\x61" => "\x2f\x63\x6f\156\x66\151\x67"]];
goto mtxY1;
Y41lZ: $data[] = [["\164\x65\x78\164" => $this->i18n("\141\144\144"), "\x63\x61\x6c\x6c\x62\x61\143\153\137\144\141\x74\141" => "\x2f\x73\145\x6e\x64\x52\x65\x70\x6c\x79\40\145\x6e\164\x65\x72\40\151\x64\x5f\x61\144\x64\x41\144\x6d\x69\156"]];
goto AxpDF;
Omb3b: a_qv9: goto Atk0D;
gN6Au: }
public function domain()
{
goto Ooi_9;
Ooi_9: $text = [];
goto nntVo;
zV1az: $data[] = [["\x74\x65\170\164" => $this->i18n("\x73\x65\164\x43\145\x72\164\x69\x66\151\143\141\x74\x65"), "\x63\141\154\x6c\x62\x61\143\x6b\x5f\x64\x61\164\x61" => "\57\x63\145\162\x74\142\x6f\x74"]];
goto U1eL9;
U1eL9: eN4pl: goto DaJXg;
DaJXg: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x62\141\143\x6b"), "\143\x61\x6c\154\x62\141\x63\153\137\144\x61\164\x61" => "\57\143\x6f\156\146\x69\x67"]];
goto mZ1Xg;
sBvIR: $ssl = $this->getTime($this->expireCert() - time());
goto sFMpt;
mZ1Xg: $this->uors($text, $data);
goto vt8cb;
ZhaxZ: Faefv: goto zV1az;
nntVo: $data[] = [["\x74\x65\x78\164" => $this->i18n("\x73\x65\164\x44\x6f\x6d\x61\x69\156"), "\143\x61\154\154\142\141\x63\153\x5f\144\141\164\141" => "\x2f\x73\x65\156\144\x52\x65\160\154\x79\x20\145\x6e\164\x65\x72\x20\x64\x6f\x6d\x61\x69\156\x5f\x73\x65\164\104\157\155\x61\151\156"]];
goto zSAm6;
zSAm6: if (!($domain = $this->getSetting("\x64\x6f\x6d\x61\x69\x6e"))) {
goto eN4pl;
}
goto driRG;
driRG: $text[] = "\x64\x6f\155\x61\x69\156\72\40" . $domain;
goto bC9wN;
sFMpt: $text[] = "\x73\x73\154\x3a\40" . $ssl;
goto ZhaxZ;
bC9wN: if (!(file_exists($this->P13AN) && $this->expireCert())) {
goto Faefv;
}
goto sBvIR;
vt8cb: }
public function setDomain($domain)
{
$this->setSetting("\x64\157\x6d\141\151\156", trim($domain) ?: '');
$this->domain();
}
public function certbot()
{
goto C_atX;
srwnT: DRrbG: goto Th3jT;
ucL8Y: exec("\x63\145\x72\164\x62\157\164\40\x63\x65\x72\164\157\x6e\x6c\x79\x20\55\55\146\157\x72\143\x65\55\x72\145\156\x65\167\x20\x2d\55\160\x72\145\x66\145\162\162\145\x64\55\x63\x68\x61\151\156\40\47\x49\123\x52\x47\x20\122\157\157\164\x20\130\61\47\x20\55\156\40\55\55\141\x67\x72\145\145\55\x74\157\163\40\55\x2d\145\x6d\x61\151\154\40\155\x61\151\x6c\100{$domain}\40\x2d\x64\x20{$domain}\40\55\55\x77\x65\142\x72\x6f\x6f\x74\x20\55\x77\x20\57\x63\145\x72\x74\163\57\40\x2d\x2d\x6c\157\147\163\55\144\151\x72\x20\57\154\157\x67\x73", $out, $code);
goto EHKmx;
nU5ng: return $this->uors(implode("\12", $out));
goto lfDAP;
Gymmh: $this->unitConf(curl_file_create($this->P13AN), key: "\143\145\162\164\151\x66\x69\143\141\164\145\x73\x2f\143\145\x72\x74\142\x6f\x74");
goto BYTLU;
Th3jT: $this->domain();
goto kqNtR;
BYTLU: $this->unitConf(["\x62\x75\x6e\x64\x6c\145", "\x63\x65\162\164\142\x6f\x74"], "\143\x6f\x6e\x66\151\x67\57\154\151\163\164\145\x6e\145\162\163\x2f\x2a\x3a\x38\x34\64\x33\x2f\x74\154\163\x2f\x63\145\x72\164\x69\x66\x69\143\x61\x74\145");
goto srwnT;
lfDAP: goto DRrbG;
goto QNSLZ;
QNSLZ: I8Mz8: goto QwwVV;
EHKmx: if ($code == 0) {
goto I8Mz8;
}
goto nU5ng;
C_atX: $domain = $this->getSetting("\144\157\x6d\141\151\x6e");
goto ucL8Y;
QwwVV: file_put_contents($this->P13AN, file_get_contents("\57\x65\164\143\57\x6c\145\164\x73\x65\156\x63\162\x79\160\164\57\154\151\x76\145\x2f{$domain}\x2f\146\165\x6c\x6c\x63\150\x61\x69\156\x2e\x70\x65\x6d") . file_get_contents("\x2f\x65\x74\x63\57\154\x65\x74\x73\x65\x6e\x63\x72\x79\x70\164\x2f\x6c\151\166\x65\57{$domain}\x2f\x70\162\x69\x76\x6b\145\x79\56\x70\145\155"));
goto Gymmh;
kqNtR: }
public function expireCert()
{
$c = openssl_x509_read(file_get_contents($this->P13AN));
return openssl_x509_parse($c)["\x76\141\x6c\x69\144\x54\x6f\137\x74\151\x6d\145\137\x74"] ?: false;
}
public function config()
{
goto xTNZO;
c0_D2: $data[] = [["\164\145\170\x74" => $this->i18n("\163\145\164\115\145\156\165\x44\145\163\x63\162\x69\160\164\151\157\x6e"), "\143\x61\x6c\154\x62\x61\143\x6b\x5f\x64\x61\164\x61" => "\x2f\x73\145\x74\115\145\x6e\x75\104\x65\163\x63\x72\151\x70\x74\151\x6f\x6e"], ["\164\145\x78\x74" => $this->i18n("\x73\x65\164\124\x65\154\x65\x67\162\x61\x6d\115\x65\156\x75\x44\145\163\x63\x72\x69\x70\x74\x69\157\156"), "\143\141\x6c\154\x62\141\x63\x6b\x5f\144\x61\164\x61" => "\57\x73\145\x6e\x64\122\145\x70\154\171\40\145\x6e\x74\145\x72\x20\x64\145\163\143\162\x69\x70\x74\x69\x6f\x6e\x5f\163\x65\164\x54\145\x6c\145\147\162\141\x6d\115\x65\156\165\104\x65\163\x63\162\151\x70\164\151\157\156"]];
goto gj1uh;
gj1uh: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x73\x65\x74\x4e\157\164\x69\x66\x79\x54\x65\x78\164"), "\x63\141\x6c\x6c\142\141\143\153\137\144\x61\164\x61" => "\x2f\x73\x65\x74\x4e\x6f\x74\151\146\171\124\x65\170\x74"], ["\164\x65\170\x74" => $this->i18n("\x65\x78\160\151\x72\x65\116\157\164\151\x66\171") . ($expire ? "\x3a\40" . $this->getTime($expire) : ''), "\143\x61\154\x6c\142\x61\x63\153\x5f\144\x61\x74\141" => "\57\163\145\156\x64\122\145\x70\154\171\40\x65\156\x74\145\x72\x20\x74\x69\x6d\145\x5f\x75\160\x64\141\164\145\x45\170\x70\151\162\145\x4e\157\164\x69\146\171"]];
goto CWo_Q;
yt_r2: $data[] = [["\164\145\170\x74" => $this->i18n("\x6c\x61\x6e\x67\165\141\147\145"), "\143\x61\154\154\142\141\x63\153\x5f\144\141\x74\141" => "\x2f\x6c\141\156\147\165\x61\x67\145"], ["\164\x65\170\x74" => $this->i18n("\163\x65\164\x63\150\141\164") . ($chat ? "\72\x20{$chat}" : ''), "\x63\141\x6c\154\142\141\x63\x6b\x5f\x64\x61\164\141" => "\57\163\x65\x6e\144\x52\145\160\154\171\x20\x65\x6e\x74\x65\x72\x20\147\162\x6f\x75\x70\x5f\x75\160\144\x61\x74\x65\123\x65\164\x74\x69\156\x67\x5f\x63\x68\141\164\137" . __FUNCTION__]];
goto c0_D2;
vUUMH: $ssl = $this->getTime($this->expireCert() - time());
goto NjhI6;
AToeH: $data[] = [["\164\145\x78\164" => $this->i18n("\150\x65\x6c\160"), "\143\x61\x6c\154\x62\x61\x63\x6b\137\144\141\x74\x61" => "\x2f\150\x65\154\x70\x43\157\156\x66\x69\147"]];
goto RLq39;
aYjdV: $data[] = [["\164\x65\x78\x74" => $this->i18n("\160\x61\171\x6d\145\156\x74\163"), "\143\x61\x6c\x6c\142\x61\143\153\137\x64\141\x74\x61" => "\x2f\x70\x61\x79\155\x65\x6e\x74\163"]];
goto yt_r2;
IeDAn: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x64\x65\142\165\x67") . "\x3a\x20" . ($this->getSetting("\144\x65\142\x75\x67") ? "\157\156" : "\x6f\x66\146"), "\143\141\154\154\142\x61\x63\153\137\144\141\164\141" => "\x2f\x64\x65\x62\x75\x67"], ["\x74\145\x78\164" => "\164\145\x73\164\x4d\145\x6e\x75\103\x6f\x6d\x6d\x61\156\144\163", "\x63\x61\x6c\154\142\141\x63\x6b\x5f\144\141\164\x61" => "\57\164\145\x73\164\x43\157\x6d\155\x61\156\144\163"], ["\x74\145\170\164" => $this->i18n("\x6c\x6f\x67\x73"), "\x63\x61\x6c\x6c\142\141\143\153\x5f\144\141\x74\x61" => "\57\x6c\x6f\x67\x73"]];
goto r4rUh;
xTNZO: $chat = $this->getSetting("\x63\150\141\164");
goto SFT5Y;
Ea1ww: $data[] = [["\164\145\170\164" => $this->i18n("\156\x61\155\145\x43\x6f\x6e\x66\x69\147\x46\x69\x6c\145"), "\143\141\154\x6c\x62\141\x63\x6b\137\144\141\164\141" => "\57\x6e\141\155\x65\103\x6f\156\x66\151\x67"], ["\164\145\170\x74" => $this->i18n("\144\x65\146\x61\x75\x6c\164\x44\x4e\x53") . "\72\40" . ($this->getSetting("\x64\x6e\163") ?: "\x31\x2e\61\x2e\61\56\61\x2c\40\x38\56\70\56\70\56\70"), "\x63\x61\154\x6c\142\x61\143\x6b\x5f\x64\x61\x74\x61" => "\x2f\163\x65\x6e\x64\x52\x65\x70\154\x79\x20\163\145\156\144\40\x64\x6e\163\40\163\x65\x70\141\162\141\x74\145\x20\x62\x79\40\143\157\155\x6d\x61\x73\x5f\x75\160\144\141\x74\145\123\x65\164\x74\151\156\147\137\144\x6e\163\137" . __FUNCTION__]];
goto IeDAn;
r4rUh: $data[] = [["\164\145\x78\x74" => $this->i18n("\x65\x78\x70\157\162\164"), "\x63\x61\x6c\154\x62\141\143\153\x5f\x64\141\164\141" => "\x2f\x65\x78\160\157\162\164"], ["\164\145\170\x74" => $this->i18n("\x62\x61\x63\153\x75\160") . "\x3a\40" . (implode("\40\x2f\x20", explode("\x2f", $this->getSetting("\142\141\143\x6b\165\x70"))) ?: "\x6f\146\146"), "\143\141\x6c\154\142\141\x63\x6b\x5f\144\141\164\141" => "\57\x73\145\x6e\144\x52\x65\160\x6c\x79\x20\x65\156\x74\x65\x72\40\154\x69\x6b\x65\40\x31\40\x64\x61\x79\x2f\x30\60\72\60\x30\x5f\163\145\164\x42\x61\143\x6b\165\160"], ["\x74\x65\170\164" => $this->i18n("\x69\155\160\157\x72\x74"), "\x63\x61\x6c\x6c\142\141\x63\x6b\137\x64\141\164\141" => "\57\163\x65\x6e\x64\x52\145\160\154\x79\40\x73\x65\156\144\x20\151\155\160\x6f\x72\164\x5f\x69\x6d\x70\x6f\162\164"]];
goto AToeH;
CWo_Q: $data[] = [["\164\145\170\164" => $this->i18n("\141\x6e\x6e\157\165\156\x63\x65\x6d\145\156\164"), "\143\141\154\154\142\141\x63\x6b\137\x64\141\x74\141" => "\57\163\x65\x6e\144\122\x65\x70\x6c\171\40\145\x6e\164\x65\162\x20\x61\156\x6e\x6f\165\156\x63\x65\x6d\145\156\164\137\x61\x6e\x6e\157\165\156\143\x65\x6d\x65\x6e\164"], ["\x74\145\x78\164" => $this->i18n("\x73\x65\164\123\165\160\x70\157\162\x74\x47\x72\157\x75\160") . (($s = $this->getSetting("\x73\x75\160\x70\x6f\162\164")) ? "\x3a\40{$s}" : ''), "\143\x61\x6c\154\x62\x61\143\x6b\137\144\x61\x74\141" => "\57\163\x65\156\x64\x52\145\160\x6c\171\40\145\x6e\164\x65\x72\40\151\144\x20\x63\x68\141\x74\137\x75\x70\144\x61\164\x65\x53\x65\164\x74\151\x6e\147\x5f\163\x75\160\x70\x6f\x72\164\x5f" . __FUNCTION__]];
goto Ea1ww;
rmOym: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x61\x64\x6d\151\x6e\163"), "\x63\141\x6c\x6c\x62\x61\143\x6b\137\144\141\164\141" => "\57\141\x64\x6d\151\x6e\x73"]];
goto sdq5q;
OhFTd: if (!(file_exists($this->P13AN) && $this->expireCert())) {
goto kiaV7;
}
goto vUUMH;
NjhI6: kiaV7: goto rmOym;
RLq39: $data[] = [["\164\145\x78\x74" => $this->i18n("\x62\141\x63\x6b"), "\x63\x61\x6c\x6c\142\141\x63\x6b\137\144\x61\164\x61" => "\57\155\x65\156\x75"]];
goto HoRbS;
cYsOb: $domain = $this->getSetting("\x64\x6f\x6d\141\x69\x6e");
goto OhFTd;
sdq5q: $data[] = [["\164\145\170\x74" => $this->i18n("\x64\157\x6d\x61\x69\156") . ($domain ? "\x3a\x20{$domain}" . ($ssl ? "\x20\x28\163\163\154\72\x20{$ssl}\51" : '') : ''), "\x63\x61\154\154\142\x61\143\153\x5f\x64\141\x74\141" => "\x2f\144\x6f\x6d\x61\151\156"]];
goto aYjdV;
SFT5Y: $expire = $this->getSetting("\x65\170\x70\151\162\x65\116\157\164\151\146\171");
goto cYsOb;
HoRbS: $this->update($this->yR2JN["\x63\x68\141\164"], $this->yR2JN["\155\x65\163\163\x61\147\x65\x5f\x69\144"], implode("\12", []), $data ?: false);
goto Pgc3B;
Pgc3B: }
public function payments()
{
goto j4Gvw;
IoIDC: $wallet = $this->getSetting("\x40\x77\x61\x6c\x6c\145\164");
goto L3Mtt;
BZyH5: $data[] = [["\164\x65\170\164" => $this->i18n("\x73\145\164\x54\145\154\145\x67\162\141\x6d\120\141\171\124\157\153\145\x6e") . ($token ? "\72\x20{$token}" : ''), "\x63\x61\154\154\142\141\x63\x6b\137\144\x61\x74\141" => "\x2f\x73\x65\x6e\x64\x52\145\x70\x6c\x79\x20\x65\x6e\x74\145\x72\x20\164\x6f\153\x65\x6e\137\165\x70\x64\x61\x74\145\123\145\164\x74\x69\156\x67\x5f\164\157\x6b\145\x6e\x5f" . __FUNCTION__]];
goto c0iAt;
L3Mtt: $data[] = [["\x74\145\170\x74" => $this->i18n("\x79\157\x6f\155\x6f\156\x65\171"), "\x63\141\154\154\142\141\x63\153\137\x64\141\164\141" => "\57\171\157\157\155\x6f\156\145\171"]];
goto Ni68I;
j4Gvw: $token = $this->getSetting("\x74\157\x6b\145\x6e");
goto IoIDC;
Ni68I: $data[] = [["\164\145\170\164" => $this->i18n("\167\x61\x6c\154\x65\164") . ($wallet ? "\x3a\x20{$wallet}" : ''), "\x63\x61\154\154\142\x61\x63\153\x5f\144\141\x74\141" => "\57\x77\141\154\154\145\x74"]];
goto BZyH5;
c0iAt: $data[] = [["\164\145\x78\164" => $this->i18n("\x62\x61\x63\153"), "\143\141\154\154\142\x61\x63\x6b\137\144\x61\x74\x61" => "\x2f\143\x6f\x6e\x66\151\147"]];
goto LxjsS;
LxjsS: $this->uors(data: $data);
goto pQlRb;
pQlRb: }
public function nameConfig()
{
goto OCoyo;
aT5I0: $this->update($this->yR2JN["\x63\150\x61\164"], $this->yR2JN["\155\x65\163\163\141\x67\x65\137\151\x64"], implode("\xa", $text ?: ["\x2e\56\x2e"]), $data ?: false);
goto YDDEm;
jxZWw: $text[] = "\176\151\144\176\40\320\260\320\xb9\320\xb4\xd0\270\x20\xd0\xba\320\276\320\xbd\xd1\x84\320\xb8\xd0\263\xd0\260";
goto tjCaJ;
FwELb: $data[] = [["\164\x65\x78\x74" => $this->i18n("\164\145\155\160\154\141\164\145"), "\143\x61\154\154\x62\x61\x63\153\137\x64\141\x74\x61" => "\x2f\163\x65\156\x64\122\x65\160\154\x79\40\x73\145\164\x20\x74\x65\155\x70\x6c\141\x74\145\x5f\x75\x70\144\141\164\145\123\145\164\x74\151\156\x67\x5f\164\145\x6d\160\137" . __FUNCTION__]];
goto YavBg;
OXde6: $data[] = [["\164\145\x78\164" => $this->i18n("\162\145\x70\x6c\141\x63\x65\155\x65\x6e\x74"), "\143\141\154\x6c\x62\141\x63\153\137\x64\x61\x74\x61" => "\57\x73\x65\x6e\x64\x52\145\x70\x6c\x79\40\163\x65\156\144\x20\x72\145\x70\x6c\x61\143\145\x6d\145\x6e\164\x20\x73\171\155\142\x6f\x6c\x5f\x75\160\144\x61\x74\x65\x53\145\164\x74\151\156\x67\137\x72\x65\x70\154\x5f" . __FUNCTION__]];
goto FwELb;
OCoyo: $text[] = "\176\151\x70\176\x20\320\xb4\xd0\276\xd0\274\320\xb5\xd0\275\40\xd0\xb8\xd0\273\xd0\xb8\40\320\xb0\xd0\271\xd0\xbf\320\270\40\xd1\201\xd0\265\321\x80\xd0\xb2\320\xb5\xd1\x80\xd0\xb0";
goto Dw6o1;
tjCaJ: $text[] = "\321\x81\320\270\xd0\xbc\320\xb2\xd0\xbe\xd0\xbb\40\xd0\267\xd0\260\xd0\xbc\320\265\320\xbd\xd1\213\x20\320\275\xd0\xb5\321\201\xd1\202\xd0\xb0\xd0\275\xd0\xb4\320\xb0\xd1\x80\321\x82\320\275\xd0\xbe\xd0\xb3\320\276\x20\321\x81\320\xb8\320\xbc\320\xb2\320\276\xd0\273\320\xb0\72\x20{$this->getSetting("\x72\145\160\154")}";
goto LFbuC;
wP2Fa: $text[] = "\176\142\x6f\x74\x7e\x20\320\270\xd0\274\321\217\x20\320\xb1\xd0\xbe\xd1\x82\320\xb0";
goto jxZWw;
YavBg: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x62\x61\143\153"), "\143\141\154\x6c\142\141\x63\153\137\144\141\x74\x61" => "\x2f\x63\x6f\156\x66\x69\x67"]];
goto aT5I0;
Dw6o1: $text[] = "\176\160\157\x72\164\x7e\x20\320\xbf\320\xbe\xd1\x80\321\x82";
goto wP2Fa;
LFbuC: $text[] = "\xd1\210\320\xb0\xd0\261\320\273\320\xbe\xd0\xbd\72\40{$this->getSetting("\x74\x65\x6d\160")}";
goto OXde6;
YDDEm: }
public function logs()
{
goto vhcHD;
hoZ8Z: MNYhP: goto KLEUa;
vhcHD: foreach (scandir("\x2f\x6c\x6f\x67\163\x2f") as $k => $v) {
goto uJgcH;
mnY7X: cCQyj: goto r7Qp6;
pd7wj: $size = filesize("\57\154\x6f\x67\163\x2f{$v}");
goto fCzGY;
Ac4QN: jbPpx: goto mnY7X;
fCzGY: $data[] = [["\164\145\170\x74" => "{$v}\x20\x28{$size}\51", "\143\141\154\x6c\142\x61\x63\x6b\x5f\x64\141\164\141" => "\57\x67\145\164\x4c\157\147\x20{$k}"], ["\x74\x65\x78\164" => $this->i18n("\x63\154\x65\x61\x72"), "\x63\x61\154\154\142\141\143\x6b\x5f\x64\141\x74\141" => "\x2f\x63\154\145\141\x72\114\157\x67\x20{$k}"]];
goto Ac4QN;
uJgcH: if (preg_match("\176\136\x5c\x2e\176", $v)) {
goto jbPpx;
}
goto pd7wj;
r7Qp6: }
goto hoZ8Z;
KLEUa: $data[] = [["\164\x65\x78\164" => $this->i18n("\142\141\143\x6b"), "\x63\141\154\154\x62\x61\x63\153\x5f\144\x61\x74\141" => "\x2f\x63\157\x6e\146\x69\x67"]];
goto CVgim;
CVgim: $this->update($this->yR2JN["\x63\x68\x61\164"], $this->yR2JN["\155\145\x73\163\141\x67\145\137\x69\144"], implode("\12", ["\56\x2e\x2e"]), $data ?: false);
goto nCeAI;
nCeAI: }
public function getLog($i)
{
goto sFsaq;
sFsaq: foreach (scandir("\57\x6c\x6f\147\163\x2f") as $k => $v) {
goto lfS6x;
lfS6x: if (preg_match("\176\x5e\134\x2e\x7e", $v)) {
goto Io7Iu;
}
goto qE2et;
EC0lF: LMiDT: goto B0Xzb;
qE2et: $logs[$k] = $v;
goto u6BdU;
u6BdU: Io7Iu: goto EC0lF;
B0Xzb: }
goto YQGio;
ikK3E: $this->sendFile($this->yR2JN["\143\x68\x61\x74"], curl_file_create("\57\154\x6f\x67\163\57{$logs[$i]}"));
goto SdZoE;
YQGio: yxmVM: goto ikK3E;
SdZoE: }
public function clearLog($i)
{
goto Leu9j;
LOIdt: $this->logs();
goto By2Xs;
Leu9j: foreach (scandir("\x2f\x6c\157\147\163\x2f") as $k => $v) {
goto RUNgS;
onlWs: goto gSrtN;
goto cYkM7;
OTO4B: rj4JC: goto tV2Fv;
lrSeQ: file_put_contents("\x2f\154\x6f\147\163\x2f{$v}", '');
goto onlWs;
cYkM7: AcSu7: goto OTO4B;
RUNgS: if (!($i == $k)) {
goto AcSu7;
}
goto lrSeQ;
tV2Fv: }
goto TGHVY;
TGHVY: gSrtN: goto LOIdt;
By2Xs: }
public function testCommands()
{
$this->send($this->yR2JN["\143\x68\x61\x74"], var_export($this->getcommands(), true));
$this->send($this->yR2JN["\143\x68\141\164"], var_export($this->getcommands(scope: ["\x74\171\x70\x65" => "\x63\x68\141\164", "\143\150\x61\x74\x5f\151\x64" => $this->WzKlY["\x61\x64\x6d\151\x6e"]]), true));
}
public function helpConfig()
{
goto yoScG;
fqnBk: $text[] = "\74\142\x3e\x3c\x69\76{$this->i18n("\x73\x65\x74\x54\x65\x6c\145\x67\162\x61\x6d\x4d\145\156\x75\104\x65\163\143\162\151\x70\164\x69\x6f\x6e")}\74\57\x69\76\74\57\142\76\40\55\40\320\275\xd0\260\321\x81\xd1\x82\xd1\x80\xd0\276\xd0\271\320\xba\320\260\x20\320\xbe\320\xbf\320\xb8\xd1\201\320\xb0\xd0\xbd\320\270\321\217\40\320\272\xd0\xbe\320\xbc\xd0\260\xd0\xbd\320\xb4\321\213\x20\57\x6d\x65\156\165\40\xd0\262\40\320\272\xd0\xbb\320\xb8\320\265\320\xbd\321\202\xd0\xb5\x20\xd1\x82\xd0\xb5\320\xbb\xd0\xb5\320\xb3\321\x80\xd0\xb0\xd0\274\320\260";
goto g5OBD;
vSkar: $text[] = "\74\x62\76\74\151\x3e{$this->i18n("\163\x65\x74\x63\150\141\x74")}\74\57\151\76\74\x2f\x62\76\x20\x2d\x20\321\x83\xd1\x81\xd1\x82\320\260\xd0\xbd\xd0\276\xd0\xb2\320\xb8\321\202\xd1\214\x20\xd1\202\320\265\320\272\321\x81\321\202\50\321\x81\xd1\x81\321\x8b\xd0\xbb\320\272\320\xb0\x20\xd0\xbd\xd0\260\xd0\xbf\321\200\320\xb8\320\xbc\xd0\xb5\321\x80\x29\x2c\40\xd0\261\321\x83\xd0\264\320\xb5\xd1\202\x20\320\xbe\xd1\202\xd0\xbe\xd0\261\xd1\200\xd0\260\320\xb6\320\260\xd1\202\321\214\321\201\xd1\217\x20\320\262\xd0\xbe\x20\xd0\xb2\321\201\320\265\xd1\205\40\xd0\xbc\320\xb5\xd0\275\xd1\216\x20\320\xbf\320\276\320\xbb\xd1\x8c\320\xb7\xd0\xbe\xd0\xb2\xd0\260\xd1\202\320\265\xd0\273\321\217\40\xd0\xbf\xd0\265\xd1\x80\320\xb2\xd0\276\320\xb9\40\321\x81\xd1\x82\xd1\x80\xd0\xbe\xd1\x87\xd0\272\xd0\276\320\xb9";
goto vC2zw;
LjZFN: $text[] = "\74\142\76\x3c\x69\76{$this->i18n("\145\x78\160\157\162\164")}\x3c\57\x69\76\x3c\57\x62\x3e\x20\55\40\xd0\265\320\xba\xd1\x81\xd0\277\320\276\xd1\x80\321\202\x20\320\xb2\xd1\201\xd0\265\xd1\x85\x20\xd0\275\320\260\321\201\xd1\x82\321\200\320\xbe\320\xb5\xd0\xba\40\xd0\262\x20\xd0\262\320\xb8\320\xb4\xd0\265\40\xd0\xb4\320\xb0\320\274\xd0\xbf\320\260\x20\xd0\x91\xd0\x94";
goto PjkTT;
VnrjN: $text[] = "\xd0\x9e\xd0\277\320\270\xd1\201\320\260\xd0\xbd\320\xb8\320\265\x20\xd0\272\320\xbd\xd0\276\xd0\xbf\xd0\276\xd0\xba\40\321\x80\xd0\260\xd0\267\320\264\xd0\xb5\xd0\273\320\260\72";
goto B_4Iz;
AavC0: $text[] = "\x3c\142\76\x3c\x69\x3e{$this->i18n("\144\x65\x66\141\x75\154\164\104\116\x53")}\74\x2f\151\x3e\74\57\142\76\x20\x2d\x20\321\x83\321\x81\xd1\202\320\260\xd0\275\320\xbe\xd0\262\320\272\320\xb0\x20\320\xb4\xd0\xb5\321\x84\xd0\276\320\273\321\x82\320\275\320\xbe\320\xb3\320\276\40\xd0\264\320\xbd\xd1\x81\54\x20\xd0\277\320\276\320\264\xd1\x81\xd1\x82\320\260\320\262\320\xbb\xd1\x8f\xd0\265\321\202\321\x81\xd1\x8f\x20\320\262\x20\320\xba\320\xbe\320\275\321\x84\320\270\320\xb3\40\320\277\xd0\276\320\273\xd1\x8c\320\267\xd0\xbe\320\xb2\xd0\xb0\321\202\xd0\xb5\320\273\xd1\216";
goto K7Z2a;
K7Z2a: $text[] = "\x3c\142\76\x3c\x69\x3e{$this->i18n("\141\x6e\x6e\157\x75\156\x63\145\155\145\x6e\x74")}\x3c\57\x69\x3e\x3c\57\142\76\x20\55\x20\321\200\xd0\xb0\xd1\201\321\x81\xd1\x8b\xd0\273\320\xba\320\260\x20\321\201\320\276\xd0\xbe\xd0\261\xd1\211\320\xb5\xd0\xbd\320\xb8\xd1\217\40\320\xb2\321\201\320\265\320\274\40\320\272\320\273\320\xb8\320\265\xd0\275\321\x82\xd0\xb0\320\xbc\x20\xd0\xb1\320\xbe\321\202\xd0\xb0";
goto w9Xa3;
vC2zw: $text[] = "\74\x62\x3e\74\151\x3e{$this->i18n("\x79\157\x6f\155\x6f\156\145\x79")}\x3c\57\x69\x3e\74\x2f\142\x3e\x20\55\x20\320\275\xd0\xb0\321\x81\xd1\x82\321\200\xd0\xbe\320\271\320\xba\320\xb0\40\321\x80\320\xb5\xd0\272\320\xb2\xd0\270\320\267\320\270\321\x82\xd0\xbe\xd0\xb2\x20\171\157\157\x6d\x6f\x6e\x65\x79\50\320\264\xd0\xbe\320\275\xd0\xb0\xd1\202\51";
goto Y0oiP;
Gul5m: $text[] = "\x3c\x62\x3e\74\x69\x3e{$this->i18n("\x64\x65\142\x75\x67")}\x3c\57\x69\76\x3c\57\142\x3e\x20\55\40\xd1\200\320\265\320\266\320\270\320\xbc\x20\xd0\276\321\202\xd0\xbb\xd0\xb0\320\xb4\xd0\xba\320\xb8\50\320\xb4\xd0\273\xd1\x8f\40\321\x80\320\xb0\320\267\xd1\x80\320\260\320\xb1\320\xbe\xd1\202\xd1\x87\xd0\xb8\xd0\272\320\260\51";
goto ptbqE;
yoScG: $data[] = [["\164\x65\x78\x74" => $this->i18n("\142\141\143\x6b"), "\143\x61\x6c\x6c\x62\x61\143\x6b\137\x64\141\x74\x61" => "\x2f\143\157\x6e\x66\x69\147"]];
goto VnrjN;
B_4Iz: $text[] = "\x3c\x62\76\74\151\x3e{$this->i18n("\x61\x64\x6d\151\x6e\x73")}\x3c\x2f\x69\x3e\x3c\57\x62\x3e\40\55\x20\320\xb4\xd0\276\320\xb1\320\xb0\xd0\xb2\xd0\270\xd1\x82\xd1\x8c\57\321\x83\320\xb4\xd0\260\xd0\273\xd0\xb8\xd1\x82\xd1\x8c\x20\xd0\xb4\320\xbe\320\xbf\xd0\xbe\xd0\xbb\320\275\xd0\270\321\202\xd0\265\320\xbb\321\214\320\275\321\213\321\205\x20\320\xb0\320\264\320\274\xd0\270\320\275\320\xbe\xd0\262";
goto T9tVN;
E_RQK: $text[] = "\74\142\x3e\74\151\76{$this->i18n("\x65\x78\x70\151\162\x65\116\157\164\151\146\171")}\x3c\57\x69\x3e\74\x2f\142\76\x20\55\x20\xd0\xb7\xd0\xb0\xd0\xb4\xd0\xb0\xd1\x82\321\214\x20\320\xb2\321\200\xd0\xb5\320\274\321\x8f\40\xd0\267\xd0\260\40\xd0\xba\xd0\xbe\321\202\xd0\276\321\200\xd0\276\320\265\x20\320\261\xd0\276\321\202\40\320\261\xd1\203\320\xb4\320\265\321\202\x20\321\x83\320\xb2\320\265\xd0\264\xd0\xbe\xd0\xbc\320\273\321\217\321\202\321\x8c\x20\320\xbf\320\xbe\xd0\xbb\321\214\xd0\xb7\320\xbe\320\262\320\260\xd1\202\xd0\xb5\320\xbb\321\217\40\321\x87\xd1\x82\xd0\276\x20\xd0\272\320\xbe\xd0\275\xd1\204\xd0\xb8\320\263\x20\321\x81\xd0\xba\320\xbe\321\200\320\276\x20\xd0\xbf\321\x80\xd0\265\xd0\272\321\x80\xd0\260\xd1\202\320\270\321\202\40\xd1\200\xd0\xb0\320\xb1\320\276\321\x82\320\xb0\321\202\321\214";
goto LjZFN;
ptbqE: $this->update($this->yR2JN["\143\x68\141\x74"], $this->yR2JN["\155\x65\x73\163\x61\147\x65\137\151\144"], implode("\12\12", $text ?: []), $data ?: false);
goto qb0td;
Y0oiP: $text[] = "\x3c\142\76\x3c\151\76{$this->i18n("\x73\x65\x74\124\x65\x6c\x65\147\162\141\x6d\120\x61\171\124\157\x6b\x65\156")}\x3c\57\151\x3e\x3c\x2f\142\x3e\x20\55\x20\xd1\x83\xd1\x81\321\202\xd0\xb0\xd0\275\320\276\xd0\262\320\xba\320\xb0\40\xd1\202\320\xbe\320\xba\xd0\265\xd0\275\320\260\40\xd0\264\320\273\xd1\x8f\x20\321\x82\xd0\xb5\xd0\xbb\320\xb5\xd0\263\xd1\200\xd0\xb0\xd0\274\xd0\xbf\321\215\xd0\xb9\x2c\x20\321\202\320\xbe\320\xba\xd0\xb5\320\xbd\40\320\261\321\200\320\260\xd1\x82\xd1\x8c\x20\xd0\xb2\x20\xd0\xbd\320\260\321\201\xd1\x82\321\x80\320\xbe\320\271\320\xba\xd0\260\xd1\205\40\320\xb1\320\xbe\321\202\xd0\260\40\xd1\203\40\100\102\157\x74\x46\141\164\x68\145\x72";
goto Yb7Pa;
w9Xa3: $text[] = "\x3c\142\76\x3c\x69\x3e{$this->i18n("\142\x61\143\153\x75\160")}\x3c\x2f\x69\x3e\x3c\x2f\142\76\x20\x2d\40\xd0\xbd\320\260\321\x81\xd1\202\321\200\xd0\xbe\xd0\271\xd0\xba\320\260\40\320\261\xd1\x8d\xd0\xba\320\260\xd0\277\xd0\260\40\xd0\x91\320\224\40\xd0\xbf\320\xbe\40\xd1\x80\xd0\260\xd1\x81\320\277\320\270\321\x81\320\xb0\xd0\xbd\xd0\xb8\xd1\216";
goto Gul5m;
g5OBD: $text[] = "\74\x62\x3e\x3c\151\76{$this->i18n("\x73\145\164\x4e\157\164\x69\146\171\124\x65\x78\164")}\74\x2f\151\76\74\57\x62\76\40\55\40\xd0\xbd\xd0\260\321\201\321\202\xd1\x80\320\276\320\xb9\xd0\xba\xd0\260\x20\xd1\202\320\xb5\xd0\272\xd1\x81\321\202\xd0\260\40\321\x83\xd0\262\xd0\xb5\xd0\264\320\276\xd0\xbc\320\xbb\xd0\xb5\xd0\xbd\xd0\xb8\320\271\40\xd0\xbf\320\xbe\320\xbb\xd1\214\320\xb7\320\276\xd0\xb2\xd0\260\321\x82\xd0\265\320\xbb\xd1\x8e\x20\xd0\xbf\321\200\xd0\270\40\321\x81\320\xbe\xd0\261\321\213\321\x82\320\xb8\321\x8f\321\x85\40\xd1\201\xd0\276\320\267\xd0\xb4\xd0\260\320\xbd\320\xb8\xd1\x8f\x2f\321\203\xd0\264\xd0\260\xd0\273\xd0\xb5\xd0\275\320\270\xd1\x8f\x2f\xd0\277\321\x80\xd0\xbe\xd0\264\xd0\273\xd0\xb5\xd0\275\320\270\xd1\217\40\320\270\40\xd1\203\320\262\xd0\xb5\320\xb4\320\xbe\xd0\274\320\xbb\xd0\xb5\320\275\320\xb8\321\217\40\320\276\40\320\xb7\320\xb0\xd0\272\320\260\xd0\xbd\xd1\x87\xd0\270\xd0\xb2\xd0\260\321\216\xd1\211\320\265\xd0\xbc\xd1\201\xd1\217\x20\321\x81\xd1\200\xd0\276\xd0\xba\xd0\xb5\40\320\xba\xd0\xbe\xd0\xbd\321\204\320\270\320\263\320\260";
goto E_RQK;
T9tVN: $text[] = "\x3c\142\x3e\74\151\76{$this->i18n("\x6c\141\x6e\147\x75\x61\147\x65")}\74\x2f\151\76\74\57\x62\76\x20\x2d\x20\321\x83\xd1\201\xd1\202\xd0\xb0\320\275\xd0\276\xd0\xb2\xd0\xb8\321\202\xd1\214\x20\320\277\320\265\321\x80\320\xb5\320\xb2\xd0\xbe\320\xb4\40\xd0\xba\xd0\275\xd0\xbe\xd0\xbf\320\272\320\xb8";
goto vSkar;
Yb7Pa: $text[] = "\74\x62\76\x3c\151\76{$this->i18n("\x73\x65\164\115\x65\x6e\x75\104\145\x73\143\x72\x69\160\x74\x69\x6f\x6e")}\x3c\57\x69\x3e\x3c\x2f\142\x3e\40\55\40\xd0\275\xd0\260\xd1\x81\321\202\321\x80\xd0\xbe\xd0\271\xd0\272\320\260\x20\321\x82\320\265\320\xba\321\x81\321\202\320\xb0\40\320\274\320\265\xd0\275\321\216\xd1\x88\xd0\xb5\xd0\xba\x20\320\xbf\xd0\xbe\320\273\321\x8c\320\xb7\320\276\xd0\xb2\320\260\xd1\x82\xd0\xb5\320\273\321\x8f";
goto fqnBk;
PjkTT: $text[] = "\x3c\142\76\74\151\x3e{$this->i18n("\x69\155\x70\x6f\162\x74")}\x3c\x2f\151\76\74\x2f\142\x3e\40\55\x20\xd0\xb8\320\274\320\277\xd0\276\321\x80\xd1\x82\40\163\x71\154";
goto AavC0;
qb0td: }
public function helpConfigServer($id, $serverpage, $clientpage)
{
goto LtaV9;
RuuzZ: $text[] = "\74\x62\76\74\x69\x3e{$this->i18n("\x73\154\145\145\x70\x53\x65\x72\x76\x65\162")}\74\x2f\x69\x3e\x3c\57\142\76\x20\55\x20\320\xbf\xd0\xb5\xd1\200\xd0\xb8\xd0\xbe\320\264\40\xd1\x81\xd0\270\320\275\xd1\x85\xd1\x80\xd0\276\320\xbd\320\270\xd0\267\320\xb0\321\x86\xd0\270\xd0\xb8\40\xd0\275\xd0\276\320\xb4\321\x8b\40\xd1\201\40\320\261\xd0\xb0\xd1\210\320\275\xd0\265\320\271\x2c\x20\320\262\40\321\201\320\xb5\xd0\272\321\203\xd0\xbd\xd0\xb4\320\260\xd1\x85";
goto ben1k;
wk_q8: $text[] = "\320\236\xd0\xbf\320\xb8\321\x81\320\xb0\320\xbd\320\xb8\320\xb5\40\xd0\272\320\275\xd0\xbe\320\xbf\xd0\276\xd0\xba\x20\xd1\200\320\260\xd0\xb7\xd0\264\320\xb5\320\273\xd0\xb0\72";
goto wHFGT;
DgJUc: $text[] = "\x3c\x62\x3e\x3c\151\76{$this->i18n("\x63\145\x6c\x6c\163\123\145\x72\x76\145\x72")}\74\x2f\x69\x3e\x3c\x2f\142\x3e\x20\55\40\320\xbc\xd0\xb0\xd0\272\xd1\201\xd0\xb8\320\274\320\xb0\320\xbb\321\214\320\xbd\xd0\276\xd0\xb5\x20\320\xba\xd0\xbe\320\273\x2d\xd0\262\xd0\276\x20\xd0\xba\xd0\276\xd0\xbd\321\x84\xd0\270\xd0\xb3\320\xbe\320\xb2\40\320\264\xd0\276\xd1\201\321\x82\xd1\203\xd0\277\320\275\321\213\xd1\205\40\320\xba\x20\xd0\277\320\276\320\272\xd1\203\320\xbf\320\272\320\xb5";
goto UV0aS;
NmOk2: $text[] = "\74\x62\76\x3c\151\76{$this->i18n("\x73\167\x69\164\x63\x68\120\x61\x79")}\x3c\57\x69\76\74\57\x62\76\x20\x2d\x20\xd0\xb2\xd0\272\xd0\xbb\321\216\321\x87\320\xb8\xd1\x82\321\214\x2f\xd0\276\321\202\xd0\xba\320\xbb\321\x8e\321\207\320\270\xd1\x82\321\x8c\40\320\xbe\320\xbf\xd0\xbb\320\260\321\x82\xd1\203\40\xd0\xbd\320\xb0\40\xd0\275\xd0\xbe\320\264\320\xb5\x20\xd0\xb4\xd0\xbb\xd1\217\x20\xd0\xbf\320\xbe\320\273\321\x8c\320\xb7\320\xbe\xd0\262\xd0\260\xd1\x82\320\265\320\xbb\320\xb5\xd0\xb9";
goto qiXDe;
PA5wW: $text[] = "\x3c\142\76\x3c\x69\x3e{$this->i18n("\x70\x72\151\143\145")}\74\57\x69\76\74\57\142\x3e\x20\55\x20\xd1\x83\321\201\xd1\202\xd0\xb0\320\xbd\xd0\276\320\xb2\320\xba\xd0\260\x20\xd1\206\xd0\xb5\320\275\40\320\xb4\xd0\xbb\321\x8f\x20\xd0\275\320\276\320\xb4\321\213";
goto hXEHk;
JQ8kU: $this->update($this->yR2JN["\x63\150\141\x74"], $this->yR2JN["\155\x65\163\x73\x61\147\x65\137\x69\144"], implode("\12\xa", $text ?: []), $data ?: false);
goto c2Wgq;
XKEZe: $text[] = "\74\142\76\x3c\151\76{$this->i18n("\156\x61\155\x65\123\x65\162\x76\145\x72")}\x3c\x2f\x69\x3e\x3c\x2f\142\76\x20\x2d\x20\320\275\320\260\xd1\x81\321\x82\xd1\200\xd0\276\320\xb9\320\xba\320\xb0\x20\320\270\320\274\320\265\xd0\275\320\270\x20\xd0\xbd\320\xbe\320\xb4\321\213\54\40\xd0\276\321\202\320\276\xd0\xb1\xd1\x80\320\xb0\xd0\266\xd0\260\320\265\321\x82\321\x81\xd1\217\40\321\202\xd0\260\xd0\272\xd0\266\320\265\40\320\270\x20\xd0\264\320\273\321\217\40\xd0\277\320\xbe\xd0\273\xd1\x8c\320\xb7\xd0\xbe\xd0\262\320\260\321\x82\xd0\xb5\320\273\321\217\x20\xd0\277\321\200\xd0\xb8\40\xd0\262\321\x8b\xd0\261\320\xbe\321\x80\xd0\xb5\40\321\201\320\265\xd1\x80\320\xb2\320\xb5\321\200\xd0\260";
goto PA5wW;
wHFGT: $text[] = "\74\x62\76\x3c\151\76{$this->i18n("\163\145\164\104\157\155\141\x69\x6e")}\74\57\x69\x3e\x3c\x2f\x62\x3e\x20\x2d\x20\321\x83\xd1\x81\321\202\xd0\xb0\xd0\275\320\276\320\262\320\270\321\x82\321\x8c\x20\320\xb4\320\276\320\274\xd0\265\320\xbd\54\40\320\xb1\xd1\203\xd0\xb4\xd0\xb5\xd1\x82\x20\xd0\277\321\x80\320\276\320\xbf\xd0\xb8\xd1\201\xd1\x8b\xd0\262\320\260\321\x82\xd1\214\xd1\x81\321\x8f\x20\320\262\40\xd0\272\xd0\xbe\xd0\275\321\x84\320\270\320\xb3\320\265\40\320\262\xd0\xbc\320\xb5\xd1\201\321\202\320\xbe\40\xd0\260\xd0\xb9\320\xbf\320\xb8\40\320\262\40\xd0\xb3\xd1\200\320\xb0\321\x84\xd0\xb5\40\x45\x6e\144\160\x6f\x69\156\x74\56\x20\xd0\x95\321\x81\320\273\xd0\xb8\x20\320\xbd\xd0\276\320\xb4\320\260\x20\320\xbf\xd0\265\321\200\xd0\xb5\xd0\xb5\xd0\264\xd0\xb5\xd1\202\40\320\275\320\xb0\x20\320\264\xd1\x80\321\x83\xd0\263\xd0\276\xd0\xb9\40\xd0\260\320\xb9\xd0\xbf\320\xb8\x2c\40\xd1\x82\xd0\276\x20\xd0\xbd\xd0\xb5\40\320\xbd\321\x83\xd0\xb6\320\275\320\xbe\40\320\xb1\xd1\x83\320\xb4\320\265\321\202\40\320\267\xd0\xb0\xd0\xbd\320\276\xd0\262\320\276\40\321\x80\320\260\xd0\xb7\320\264\xd0\260\xd0\xb2\xd0\xb0\321\202\321\x8c\40\xd0\272\xd0\276\xd0\275\xd1\x84\320\xb8\xd0\xb3\320\xb8\54\x20\xd0\xb4\320\276\321\x81\xd1\202\320\xb0\xd1\202\xd0\xbe\321\207\320\xbd\xd0\276\x20\320\xb1\xd1\203\320\264\xd0\xb5\xd1\202\x20\xd0\xbf\320\276\xd0\xbc\320\xb5\320\275\321\x8f\321\x82\321\x8c\x20\320\x90\x2d\xd0\xb7\xd0\260\320\277\320\xb8\xd1\x81\321\x8c\40\xd0\264\320\xbe\xd0\274\xd0\xb5\xd0\xbd\321\x83";
goto gy6Rk;
PfGUs: $text[] = "\x3c\142\x3e\74\151\x3e{$this->i18n("\x74\x6f\162\162\x65\x6e\x74")}\x3c\x2f\151\x3e\x3c\x2f\142\76\x20\55\40\xd0\262\xd0\272\xd0\xbb\321\x8e\321\x87\xd0\265\320\275\xd0\270\xd0\xb5\57\xd0\xbe\xd1\x82\xd0\xba\xd0\273\321\x8e\321\207\320\265\320\275\320\270\320\xb5\40\xd1\x82\xd0\xbe\321\x80\321\200\320\xb5\320\275\xd1\202\320\276\xd0\262\40\320\xb4\xd0\273\xd1\217\x20\xd0\xbd\320\276\320\xb4\xd1\x8b\x20\50\xd0\xbe\xd1\x82\320\272\xd0\xbb\321\216\xd1\207\320\260\320\265\xd1\x82\40\320\xbd\320\xb5\x20\x31\60\x30\45\x29";
goto DgJUc;
gy6Rk: $text[] = "\74\x62\x3e\x3c\151\76{$this->i18n("\145\170\x70\157\162\x74\x53\x65\x72\166\x65\x72")}\74\57\151\76\74\x2f\142\76\x20\55\40\xd0\xb2\321\213\320\264\xd0\xb0\320\265\321\x82\x20\xd0\xb0\xd1\200\xd1\x85\xd0\xb8\xd0\xb2\40\320\275\xd0\276\320\264\xd1\x8b\x20\321\201\40\321\203\320\266\xd0\xb5\40\320\275\xd0\xb0\321\x81\321\x82\321\x80\320\xbe\xd0\265\xd0\275\xd0\xbd\xd1\213\xd0\xbc\40\x77\x67\x30\x2e\x63\x6f\156\146\54\40\320\xbd\320\265\320\xbe\xd0\xb1\xd1\205\xd0\276\xd0\264\320\xb8\320\xbc\xd0\xbe\x20\320\265\xd1\x81\320\xbb\320\270\x20\xd0\275\xd0\xbe\320\264\320\xb0\x20\320\xbf\xd0\xb5\321\x80\320\265\320\265\320\267\320\xb6\xd0\260\320\265\321\x82\40\xd0\275\xd0\260\x20\xd0\264\321\x80\xd1\x83\xd0\xb3\320\276\xd0\271\x20\321\201\xd0\xb5\xd1\x80\xd0\xb2\xd0\260\xd0\272\50\xd0\xb0\xd0\xb9\xd0\xbf\xd0\xb8\x29";
goto XKEZe;
UV0aS: $text[] = "\x3c\142\76\x3c\x69\76{$this->i18n("\154\x69\155\x69\164\163\x53\x65\162\166\x65\x72")}\74\57\x69\x3e\74\57\x62\76\40\x2d\x20\320\xbc\320\260\xd0\xba\xd1\x81\320\270\xd0\274\320\xb0\xd0\xbb\321\x8c\320\275\320\276\xd0\265\40\xd0\xba\320\276\320\273\55\320\xb2\xd0\276\x20\xd0\xba\xd0\xbe\xd0\275\321\204\320\270\xd0\263\xd0\276\xd0\xb2\x20\xd0\275\320\260\40\320\277\320\276\320\273\321\x8c\xd0\xb7\320\276\320\xb2\320\xb0\321\202\320\265\320\273\321\x8f";
goto RuuzZ;
hXEHk: $text[] = "\74\x62\x3e\x3c\151\76{$this->i18n("\164\145\x73\164\x54\x69\x6d\145")}\74\x2f\x69\x3e\74\x2f\x62\76\x20\x2d\40\xd1\x83\321\201\xd1\202\320\xb0\320\275\320\xbe\xd0\xb2\xd0\272\xd0\260\40\xd0\262\321\200\xd0\xb5\320\xbc\320\xb5\xd0\275\320\xb8\40\320\264\320\xb5\xd0\xb9\321\x81\xd1\202\320\xb2\xd0\xb8\xd1\x8f\x20\xd1\x82\320\265\xd1\x81\321\202\xd0\xbe\xd0\xb2\320\276\xd0\xb3\320\276\x20\320\xba\xd0\xbe\320\xbd\xd1\204\xd0\270\xd0\xb3\xd0\260";
goto PfGUs;
LtaV9: $data[] = [["\x74\145\x78\x74" => $this->i18n("\142\x61\x63\153"), "\x63\x61\154\x6c\x62\x61\x63\153\137\144\x61\x74\141" => "\x2f\143\157\156\x66\151\x67\x53\145\x72\166\x65\162\40{$id}\137{$serverpage}\x5f{$clientpage}"]];
goto wk_q8;
ben1k: $text[] = "\74\x62\76\74\x69\76{$this->i18n("\x70\151\156\x67")}\x3c\x2f\151\x3e\74\57\142\x3e\40\55\x20\321\201\xd0\276\320\xb7\xd0\264\xd0\260\xd1\201\321\202\40\xd0\267\xd0\xb0\xd0\277\xd0\xb8\xd1\201\xd1\214\x2c\x20\320\xbd\320\xb0\x20\320\xba\xd0\xbe\321\202\320\xbe\321\x80\xd1\x83\xd1\216\40\320\xb4\320\xbe\320\273\xd0\266\320\275\xd0\xb0\x20\320\276\xd1\202\xd1\x80\320\xb5\xd0\260\320\xb3\xd0\270\321\200\320\276\320\262\xd0\260\321\x82\xd1\214\x20\320\275\320\276\xd0\264\xd0\xb0\x20\xd0\262\40\321\200\320\260\xd0\274\320\xba\320\260\xd1\x85\x20\xd1\201\xd0\270\xd0\275\321\205\xd1\200\xd0\276\320\xbd\xd0\270\320\267\xd0\260\321\206\xd0\270\xd0\270";
goto NmOk2;
qiXDe: $text[] = "\74\x62\76\x3c\151\76{$this->i18n("\144\x65\x6c\145\164\x65")}\x3c\x2f\x69\76\x3c\57\x62\x3e\40\55\x20\xd1\203\320\264\xd0\xb0\xd0\xbb\xd0\xb8\xd1\x82\xd1\x8c\x20\320\xbd\xd0\xbe\320\264\321\203\x2e\x20\xd0\265\321\x81\320\273\xd0\270\x20\320\275\xd0\276\320\264\xd0\xb0\40\xd1\x80\320\xb0\320\xb1\320\276\xd1\207\320\xb0\xd1\217\x2c\x20\321\x82\320\xbe\40\xd0\xbe\xd0\xbd\xd0\260\40\xd0\xbf\xd0\xb5\321\200\320\xb5\xd0\267\320\260\320\xbf\xd0\xb8\321\210\xd0\265\xd1\x82\x20\321\201\320\265\xd0\xb1\321\217\x20\320\xb2\x20\320\xb1\320\260\xd1\x88\320\xbd\xd0\265";
goto JQ8kU;
c2Wgq: }
public function setBackup($text)
{
goto EZUWV;
ADZH4: if (!($pin = explode("\x2f", $this->getSetting("\160\x69\156\142\141\x63\x6b\165\160"))[0])) {
goto hh0y0;
}
goto fvEPC;
Z7d08: $this->setSetting("\x70\x69\156\142\x61\x63\153\x75\160", '');
goto waYqG;
n2u1_: $start = $m[2];
goto W2YCp;
jmvC3: $this->setSetting("\x62\x61\x63\153\165\160", '');
goto Zs1SL;
hB8nU: yaamU: goto ofmCw;
EZUWV: $text = trim($text);
goto NV6CR;
W2YCp: $this->setSetting("\142\x61\143\153\x75\160", $text);
goto qm0Jt;
fvEPC: $this->unpin($this->WzKlY["\x61\x64\x6d\x69\x6e"], $pin);
goto Z7d08;
iEJBg: Og3g_: goto jmvC3;
ofmCw: $period = $m[1];
goto n2u1_;
qm0Jt: D63Z3: goto ADZH4;
waYqG: hh0y0: goto RPsUo;
oxejn: goto D63Z3;
goto iEJBg;
xou4n: if (preg_match("\176\x28\x5c\x64\x2b\134\163\x5c\167\x2b\x29\x28\77\x3a\x5c\x73\53\x29\x3f\57\x28\77\x3a\x5c\x73\x2b\51\77\50\134\x64\173\62\175\72\134\x64\173\62\175\51\x7e", $text, $m)) {
goto yaamU;
}
goto oxejn;
NV6CR: if (empty($text)) {
goto Og3g_;
}
goto xou4n;
RPsUo: $this->config();
goto kKfXA;
Zs1SL: goto D63Z3;
goto hB8nU;
kKfXA: }
public function backup()
{
goto p9Hkk;
gLBfo: TTkHV: goto eWgp8;
zhq3g: $period = strtotime($m[1]) - $c;
goto hFS6b;
hXrXy: nCIMi: goto G4vj1;
Q2_MG: if (!($c - $time >= $period)) {
goto nCIMi;
}
goto wFYcf;
eWgp8: $this->pinBackup();
goto L2Mrp;
r3jhH: [$pin, $time] = explode("\57", $last);
goto Q2_MG;
hFS6b: $start = strtotime($m[2]);
goto eXFlh;
G4vj1: goto plo_Y;
goto gLBfo;
SVvxp: $time = $this->getSetting("\x62\141\143\153\x75\x70");
goto Jjo_6;
H5yKr: if ($last) {
goto OeFNt;
}
goto CE32C;
CE32C: if ($c - $start > 0 && $c - $start < 10) {
goto TTkHV;
}
goto c8fvI;
nGNq1: $this->pinBackup();
goto SB0Q8;
vEaI6: preg_match("\x7e\x28\x5c\x64\x2b\134\x73\134\167\x2b\51\x28\x3f\72\x5c\x73\53\51\x3f\57\x28\x3f\72\x5c\x73\x2b\x29\x3f\50\x5c\x64\173\62\175\72\x5c\x64\173\62\175\x29\x7e", $time, $m);
goto zhq3g;
eXFlh: $last = $this->getSetting("\x70\x69\156\x62\141\143\x6b\x75\x70");
goto H5yKr;
wFYcf: $this->unpin($this->WzKlY["\x61\x64\x6d\x69\x6e"], $pin);
goto nGNq1;
SS1GE: OeFNt: goto r3jhH;
X2oHa: e_PDa: goto ZZObC;
SB0Q8: return;
goto hXrXy;
Jjo_6: if (!$time) {
goto e_PDa;
}
goto vEaI6;
p9Hkk: $c = time();
goto SVvxp;
L2Mrp: plo_Y: goto X2oHa;
c8fvI: goto plo_Y;
goto SS1GE;
ZZObC: }
public function pinBackup()
{
goto vzFSr;
ohs35: $this->pin($this->WzKlY["\141\x64\155\151\156"], $pin);
goto BzNG0;
fw3UA: $this->setSetting("\x70\x69\x6e\142\141\143\x6b\x75\x70", "{$pin}\x2f" . time());
goto ohs35;
vzFSr: $pin = $this->export()["\162\x65\163\165\154\164"]["\155\x65\x73\x73\141\x67\145\137\151\144"];
goto fw3UA;
BzNG0: }
public function announcement($text)
{
goto MT4SN;
BKIzw: yIshd: goto v4ILn;
VIlQX: foreach ($cl as $k => $v) {
goto sEA3M;
sN2Cj: $this->sendPhoto($v, $this->yR2JN["\160\150\157\164\x6f"][0]["\x66\x69\x6c\x65\x5f\151\144"], $text, entities: $this->yR2JN["\145\156\164\151\164\151\x65\163"]);
goto mYeCL;
qpHnG: CMaqn: goto sN2Cj;
gYbLR: $this->send($v, $text, entities: $this->yR2JN["\x65\156\x74\x69\164\x69\145\163"]);
goto CrCn1;
sEA3M: if ($this->yR2JN["\x70\150\157\x74\157"]) {
goto CMaqn;
}
goto gYbLR;
mYeCL: jRTnx: goto oHBIf;
CrCn1: goto jRTnx;
goto qpHnG;
oHBIf: Z8z4Z: goto FkIhw;
FkIhw: }
goto BKIzw;
MT4SN: $cl = array_merge([$this->WzKlY["\141\x64\x6d\151\156"]], $this->sql("\163\145\x6c\145\143\164\x20\164\147\151\144\x20\146\162\x6f\155\x20\x63\x6c\151\x65\x6e\164\163\x20\x75\x6e\151\157\156\40\163\x65\154\x65\143\164\x20\x74\147\x69\x64\40\x66\162\x6f\x6d\40\x6f\162\x64\x65\162\x73", view: "\x63\157\154\x75\x6d\156") ?: []);
goto VIlQX;
v4ILn: }
public function setTelegramMenuDescription($text)
{
goto Y0AMG;
j2uLf: $this->setcommands(["\163\143\157\160\x65" => $scope, "\x63\x6f\155\155\141\156\144\163" => $c]);
goto xMi3I;
uq3US: $scope = ["\164\x79\x70\x65" => "\143\x68\x61\164", "\x63\150\141\x74\x5f\151\x64" => $this->WzKlY["\141\144\x6d\151\x6e"]];
goto Q2qdr;
Q2qdr: $c = $this->getcommands(scope: $scope);
goto QriWr;
QriWr: foreach ($c as $k => $v) {
goto P96qw;
P96qw: if (!($v["\x63\x6f\x6d\x6d\x61\156\144"] == "\x6d\x65\x6e\165")) {
goto SzD0g;
}
goto HsZii;
HsZii: $c[$k]["\144\145\163\143\162\151\x70\x74\151\157\x6e"] = $text;
goto RTEJC;
P2b4M: Igfml: goto CuNcV;
RTEJC: SzD0g: goto P2b4M;
CuNcV: }
goto n27tN;
xMi3I: xOHaA: goto DOntn;
HrStU: $c = $this->getcommands();
goto bITGs;
tRa98: $this->setSetting("\164\x6c\147\162\155\155\x65\x6e\x75", $text);
goto HrStU;
ISU66: if (empty($text)) {
goto xOHaA;
}
goto tRa98;
DOntn: $this->config();
goto ZrEPF;
Y0AMG: $text = trim($text);
goto ISU66;
R_B3a: $this->setcommands(["\x63\157\155\x6d\x61\156\144\163" => $c]);
goto uq3US;
n27tN: YAJwS: goto j2uLf;
bITGs: foreach ($c as $k => $v) {
goto JfMrQ;
Zddw3: zh1fQ: goto fbzMl;
vbFvr: $c[$k]["\x64\145\163\x63\162\151\x70\x74\151\157\156"] = $text;
goto EFNeg;
JfMrQ: if (!($v["\x63\157\x6d\x6d\141\x6e\144"] == "\x6d\145\156\x75")) {
goto EYbIb;
}
goto vbFvr;
EFNeg: EYbIb: goto Zddw3;
fbzMl: }
goto n6Ufe;
n6Ufe: kdtPw: goto R_B3a;
ZrEPF: }
public function helpNotify()
{
goto mBw31;
jyLRL: $this->update($this->yR2JN["\143\x68\141\x74"], $this->yR2JN["\x6d\145\x73\x73\141\x67\145\x5f\x69\144"], implode("\12", $text ?: []), $data ?: false);
goto v_GUE;
mBw31: $text[] = "\74\142\x3e\74\151\76\163\145\164\x4e\157\164\x69\x66\x79\105\x78\160\x69\x72\x65\74\x2f\151\x3e\74\57\142\x3e\x20\55\40\321\203\xd0\xb2\xd0\xb5\320\264\xd0\276\320\xbc\320\xbb\320\265\xd0\xbd\xd0\270\xd0\xb5\x20\320\276\xd1\202\xd0\277\xd1\200\320\260\320\xb2\xd0\273\xd1\x8f\xd1\216\321\211\xd0\xb5\xd0\265\xd1\201\321\217\40\320\xb7\xd0\260\40\116\x20\xd0\xb2\321\200\xd0\265\xd0\xbc\xd0\xb5\xd0\xbd\xd0\270\40\xd0\xb4\xd0\276\40\xd0\276\320\xba\xd0\xbe\xd0\275\xd1\207\320\260\320\xbd\320\xb8\xd1\217\x20\xd1\x81\321\x80\xd0\xbe\xd0\272\320\xb0\x20\320\xba\xd0\xbe\xd0\275\xd1\204\320\xb8\xd0\263\320\xb0\xa\74\x62\76\x3c\151\x3e\x73\145\x74\x4e\x6f\x74\x69\x66\x79\x43\x72\145\x61\164\145\x3c\57\151\x3e\74\57\142\76\40\x2d\40\xd1\203\320\262\xd0\265\xd0\264\xd0\xbe\xd0\274\320\273\320\xb5\320\275\xd0\xb8\xd0\xb5\x20\320\276\321\202\320\xbf\321\200\xd0\260\320\xb2\xd0\273\xd1\x8f\xd1\216\xd1\x89\xd0\xb5\320\265\321\x81\xd1\x8f\40\xd0\xbf\xd0\xbe\xd1\201\320\273\320\265\40\321\201\xd0\xbe\320\xb7\320\264\320\xb0\xd0\275\xd0\xb8\321\x8f\x20\xd0\272\xd0\276\xd0\275\xd1\204\xd0\270\xd0\xb3\320\260\12\x3c\x62\76\74\151\76\163\x65\x74\x4e\x6f\164\x69\x66\x79\120\x72\x6f\x6c\x6f\156\147\74\57\x69\76\74\57\142\76\x20\x2d\x20\xd1\x83\xd0\262\320\xb5\320\xb4\xd0\276\xd0\274\320\xbb\xd0\265\xd0\275\320\270\xd0\xb5\40\320\xbe\xd1\202\320\xbf\321\200\320\xb0\320\xb2\xd0\273\xd1\x8f\xd1\216\321\211\320\265\xd0\265\321\201\321\217\40\xd0\xbf\321\x80\320\270\40\320\277\xd1\x80\xd0\xbe\xd0\xb4\xd0\273\320\265\xd0\275\xd0\270\320\270\40\320\272\xd0\276\320\275\xd1\x84\320\xb8\320\xb3\xd0\xb0\xa\74\142\x3e\74\151\76\163\x65\x74\x4e\157\164\x69\146\x79\x44\x65\154\x65\x74\145\74\57\151\76\x3c\57\x62\x3e\x20\x2d\x20\321\x83\320\262\320\xb5\xd0\xb4\xd0\xbe\xd0\274\xd0\xbb\320\265\320\275\320\270\xd0\265\40\xd0\276\321\202\xd0\277\xd1\200\320\260\320\262\xd0\xbb\xd1\x8f\321\216\321\211\xd0\265\320\xb5\321\201\321\217\x20\320\xbf\321\x80\xd0\270\x20\xd0\277\xd1\x80\xd0\xb5\320\272\xd1\x80\xd0\xb0\xd1\211\320\265\xd0\xbd\320\xb8\xd0\270\x20\xd1\x80\xd0\xb0\320\xb1\xd0\xbe\321\x82\xd1\213\x20\320\272\xd0\xbe\320\xbd\xd1\x84\320\270\320\xb3\xd0\xb0";
goto INg06;
INg06: $data[] = [["\x74\x65\x78\164" => $this->i18n("\142\x61\x63\x6b"), "\143\x61\154\154\142\141\143\x6b\x5f\144\141\x74\x61" => "\57\x73\x65\x74\x4e\x6f\164\151\x66\171\124\145\170\x74"]];
goto jyLRL;
v_GUE: }
public function setNotifyText($chapter = false)
{
goto ouaV2;
vAQK8: $text[] = "\x3c\x63\157\144\145\x3e\x2f\155\x61\x63\157\163\x3c\x2f\143\157\x64\145\x3e\40\55\40\321\201\xd1\x81\xd1\213\320\273\320\xba\320\xb0\x2c\x20\320\277\xd0\276\40\320\272\xd0\273\320\xb8\320\272\321\x83\40\320\275\xd0\xb0\40\320\xba\320\276\xd1\x82\320\xbe\xd1\200\321\x83\xd1\216\x20\xd0\xb1\320\276\321\x82\40\xd0\276\321\202\320\264\xd0\xb0\xd1\x81\xd1\x82\x20\xd0\xb8\320\275\xd1\x81\321\x82\xd1\200\xd1\203\xd0\xba\xd1\206\320\270\321\x8e\x20\320\xbf\320\276\40\x6d\141\x63\x6f\x73";
goto W8bjF;
k3KgY: $text[] = "\x3c\x63\157\144\x65\76\x2f\151\157\x73\x3c\57\x63\157\x64\x65\76\40\55\x20\xd1\x81\321\x81\321\213\320\273\320\272\320\xb0\x2c\40\320\277\xd0\xbe\x20\320\xba\xd0\xbb\320\xb8\xd0\272\321\203\40\320\275\320\xb0\40\320\272\320\xbe\321\x82\xd0\xbe\xd1\200\xd1\x83\xd1\216\x20\320\261\xd0\xbe\xd1\x82\x20\xd0\276\321\x82\xd0\xb4\320\260\xd1\201\xd1\x82\x20\320\270\320\xbd\xd1\x81\xd1\202\321\x80\xd1\203\xd0\272\xd1\x86\xd0\270\xd1\x8e\40\320\277\xd0\xbe\40\151\x6f\163";
goto vAQK8;
syKKR: $text[] = "\xd0\xa2\320\xb5\xd0\xb3\xd0\xb8\x3a";
goto dyaH0;
QrfZR: $data[] = [["\164\145\x78\164" => $this->i18n("\x62\x61\143\153"), "\x63\141\x6c\x6c\142\x61\x63\153\x5f\x64\141\x74\x61" => "\x2f\143\157\x6e\x66\151\x67"]];
goto TyTOW;
egAbc: $data[] = [["\164\x65\x78\164" => $this->i18n("\x73\145\x74\x4e\x6f\x74\151\x66\x79\x43\162\x65\x61\164\x65"), "\x63\141\x6c\x6c\x62\141\143\x6b\137\x64\141\x74\x61" => "\57\163\x65\156\144\122\145\x70\154\x79\x20\145\156\164\145\x72\x20\164\x65\x78\164\x5f\x75\160\144\x61\x74\145\123\145\x74\164\151\x6e\147\137\x6e\143\x5f" . __FUNCTION__ . "\137\x6e\x63"], ["\164\145\170\x74" => $this->i18n("\160\162\x65\166\151\x65\x77"), "\x63\141\154\154\142\141\x63\153\x5f\x64\141\x74\x61" => "\x2f\163\x65\164\116\157\x74\x69\146\171\124\145\170\164\x20\156\143"]];
goto zVgnI;
bWSsg: $data[] = [["\x74\x65\x78\164" => $this->i18n("\150\x65\154\160"), "\x63\141\x6c\154\142\141\143\x6b\x5f\144\141\x74\141" => "\57\150\145\154\x70\x4e\x6f\164\x69\146\x79"]];
goto QrfZR;
VjHFq: $data[] = [["\164\x65\170\x74" => $this->i18n("\x73\x65\164\116\x6f\x74\x69\146\171\x44\145\x6c\145\x74\145"), "\x63\x61\x6c\154\x62\x61\x63\153\137\144\141\164\141" => "\57\163\145\x6e\x64\122\x65\x70\x6c\x79\40\x65\156\x74\x65\x72\40\x74\145\170\164\137\165\160\144\141\x74\145\x53\145\164\x74\151\x6e\x67\137\x6e\144\x5f" . __FUNCTION__ . "\x5f\x6e\x64"], ["\164\x65\170\x74" => $this->i18n("\x70\x72\x65\166\151\x65\x77"), "\143\x61\154\x6c\x62\x61\x63\153\137\144\x61\164\141" => "\57\163\x65\x74\x4e\x6f\164\x69\x66\171\x54\x65\x78\164\x20\156\x64"]];
goto j0oRX;
OnSZC: Izxr9: goto sO1nl;
ouaV2: $data[] = [["\x74\145\170\164" => $this->i18n("\x73\x65\164\116\x6f\164\x69\x66\171\x45\x78\x70\151\x72\145"), "\143\141\x6c\154\142\141\x63\153\x5f\144\x61\164\141" => "\x2f\x73\145\156\144\122\x65\x70\x6c\x79\40\145\156\x74\145\162\40\164\145\x78\164\137\x75\x70\x64\141\x74\145\x53\145\x74\x74\x69\x6e\x67\137\x6e\145\137" . __FUNCTION__ . "\137\156\145"], ["\164\x65\170\x74" => $this->i18n("\160\162\145\x76\151\x65\167"), "\143\x61\x6c\x6c\x62\x61\x63\153\137\144\141\164\x61" => "\x2f\163\145\x74\116\157\x74\151\x66\x79\x54\145\x78\164\40\x6e\x65"]];
goto egAbc;
W8bjF: $text[] = "\x3c\143\x6f\144\x65\x3e\57\167\x69\x6e\144\x6f\167\163\x3c\57\x63\x6f\144\x65\x3e\40\x2d\x20\321\201\xd1\201\321\x8b\320\xbb\320\xba\xd0\260\x2c\40\xd0\277\320\xbe\40\320\xba\xd0\xbb\xd0\270\320\xba\321\203\40\320\xbd\xd0\260\40\xd0\xba\xd0\276\321\x82\320\276\321\200\321\203\321\x8e\40\320\xb1\xd0\276\321\x82\40\xd0\276\321\202\320\xb4\320\xb0\xd1\x81\321\x82\x20\320\270\xd0\xbd\321\201\321\202\xd1\200\xd1\x83\xd0\xba\321\x86\xd0\270\321\216\x20\320\xbf\320\xbe\40\x77\x69\156\144\x6f\167\x73";
goto hS_jy;
nGGYL: if (!($t = $this->getSetting($chapter))) {
goto mQpPD;
}
goto W6_Ni;
zVgnI: $data[] = [["\164\145\x78\x74" => $this->i18n("\163\x65\x74\x4e\x6f\x74\151\x66\171\120\x72\157\154\157\x6e\x67"), "\x63\x61\154\154\142\141\143\153\137\144\141\164\x61" => "\x2f\163\145\x6e\144\122\145\160\154\171\40\145\x6e\x74\145\162\x20\x74\x65\170\x74\x5f\165\160\144\141\164\x65\x53\x65\x74\x74\x69\156\x67\137\x6e\160\x5f" . __FUNCTION__ . "\x5f\156\160"], ["\x74\145\x78\164" => $this->i18n("\160\162\145\x76\x69\145\x77"), "\x63\141\x6c\x6c\142\x61\x63\x6b\x5f\144\141\x74\x61" => "\x2f\x73\x65\164\x4e\157\x74\x69\x66\171\124\145\170\164\40\156\x70"]];
goto VjHFq;
j0oRX: $data[] = [["\164\x65\170\164" => $this->i18n("\x73\x65\164\x4e\x6f\164\x69\x66\171\x42\x6f\x6e\165\x73"), "\x63\141\154\154\x62\x61\143\x6b\x5f\x64\141\164\x61" => "\x2f\163\x65\156\144\x52\x65\160\x6c\171\40\145\x6e\x74\145\x72\x20\x74\145\x78\x74\137\165\160\x64\141\x74\145\x53\145\x74\x74\x69\156\147\x5f\x6e\x62\x5f" . __FUNCTION__ . "\x5f\156\142"], ["\x74\x65\170\164" => $this->i18n("\160\162\x65\166\151\x65\x77"), "\x63\x61\x6c\x6c\142\141\143\153\137\144\x61\x74\x61" => "\57\x73\x65\164\x4e\x6f\164\151\x66\x79\124\x65\x78\x74\40\156\x62"]];
goto bWSsg;
sO1nl: $text[] = "\xa\xd0\250\320\260\xd0\261\320\xbb\xd0\xbe\320\xbd\72";
goto nGGYL;
W6_Ni: $text[] = "\74\x70\162\145\x3e{$t}\x3c\57\x70\162\145\76";
goto QPsWu;
hS_jy: switch ($chapter) {
case "\x6e\x63": goto Vvooo;
QThyv: $text[] = "\74\143\x6f\144\x65\76\x7e\x69\144\x7e\x3c\x2f\x63\157\x64\145\76\x20\320\275\320\xbe\320\274\320\xb5\xd1\200\40\xd0\xbf\xd0\276\xd0\xb4\xd0\xbf\320\xb8\321\x81\320\xba\xd0\270";
goto aEisu;
sI5he: $text[] = "\74\x63\x6f\x64\x65\76\176\x69\x6f\163\176\74\57\143\x6f\x64\x65\76\40\x2d\40\320\270\xd0\275\321\201\321\x82\xd1\200\321\203\320\xba\321\x86\xd0\270\321\x8f\40\xd0\xb4\320\273\321\x8f\40\x69\157\x73";
goto LkAsB;
LkAsB: $text[] = "\74\x63\x6f\144\145\x3e\x7e\x77\151\x6e\x64\x6f\x77\x73\176\74\x2f\143\157\144\145\x3e\40\55\40\320\xb8\xd0\275\321\201\321\x82\321\200\321\203\320\272\xd1\206\320\270\321\217\x20\320\xb4\xd0\xbb\xd1\x8f\40\167\x69\x6e\x64\x6f\x77\163";
goto lJqpw;
lJqpw: $text[] = "\x3c\143\x6f\x64\145\x3e\x7e\x6d\141\x63\157\163\176\x3c\57\x63\157\144\145\76\40\55\x20\320\270\xd0\xbd\321\x81\321\x82\321\x80\321\203\320\xba\321\x86\320\270\321\217\40\320\xb4\xd0\xbb\xd1\x8f\40\155\141\143\x6f\x73";
goto QThyv;
KzViT: $text[] = "\74\x63\x6f\x64\145\x3e\176\141\156\x64\x72\157\x69\144\x7e\74\x2f\143\157\144\145\x3e\x20\55\40\320\270\320\275\321\x81\xd1\202\321\200\321\x83\xd0\272\xd1\x86\xd0\270\xd1\x8f\40\xd0\xb4\xd0\273\321\217\40\x61\x6e\x64\x72\157\151\144";
goto sI5he;
ILk9o: $text[] = "\74\143\157\144\x65\76\176\166\x70\x6e\x7e\74\x2f\x63\x6f\144\145\76\x20\321\201\321\x81\xd1\x8b\xd0\xbb\xd0\272\320\xb0\40\320\xb4\xd0\xbb\321\x8f\x20\320\xbf\320\276\xd0\264\320\272\xd0\xbb\321\x8e\xd1\x87\320\xb5\xd0\xbd\320\xb8\321\217\40\xd0\xb0\320\274\xd0\xbd\xd0\xb5\320\xb7\xd0\xb8\320\270";
goto E_J99;
E_J99: goto Izxr9;
goto FxLw2;
Vvooo: $text[] = "\74\143\157\144\x65\x3e\176\x63\157\x64\145\176\x3c\57\143\157\x64\x65\x3e\40\xd0\xba\xd0\276\320\xb4\x20\xd0\xbf\xd0\xb8\321\x80\320\260";
goto gV75Z;
aEisu: $text[] = "\x3c\143\157\x64\x65\x3e\x7e\x6c\151\x66\x65\x7e\x3c\x2f\143\157\x64\x65\76\40\320\276\321\x81\xd1\x82\xd0\260\320\xb2\xd1\210\320\xb5\xd0\265\321\201\321\x8f\x20\320\262\321\x80\320\xb5\xd0\xbc\xd1\x8f\40\320\264\320\265\xd0\271\xd1\201\321\202\320\xb2\xd0\xb8\321\217\40\320\277\320\276\320\264\320\xbf\320\270\321\201\320\xba\xd0\xb8";
goto ILk9o;
gV75Z: $text[] = "\74\143\x6f\144\145\x3e\x7e\146\x69\154\x65\x7e\74\57\143\157\144\145\76\x20\xd0\277\321\x80\xd0\270\xd0\xba\xd1\200\xd0\265\xd0\277\320\270\xd1\202\321\x8c\x20\xd1\x84\xd0\xb0\320\271\320\xbb\x20\320\xba\xd0\276\xd0\275\xd1\204\320\270\320\xb3\xd0\xb0";
goto KzViT;
FxLw2: case "\156\160": case "\156\145": goto BD4OR;
j65rP: goto Izxr9;
goto dwWEc;
BD4OR: $text[] = "\74\143\157\x64\145\76\x7e\154\x69\x66\145\x7e\74\x2f\x63\157\x64\x65\x3e\x20\320\xbe\xd1\x81\xd1\x82\320\260\320\xb2\321\210\xd0\xb5\xd0\xb5\321\201\xd1\217\x20\320\262\xd1\200\320\xb5\320\xbc\xd1\x8f\x20\320\xb4\xd0\265\xd0\xb9\321\x81\321\202\320\262\320\270\321\x8f\40\xd0\xbf\xd0\xbe\xd0\264\320\277\xd0\270\321\x81\320\272\xd0\xb8";
goto nx0P4;
nx0P4: $text[] = "\74\143\x6f\144\x65\x3e\x7e\x69\144\176\x3c\x2f\x63\x6f\144\145\76\x20\xd0\275\320\276\xd0\xbc\320\265\321\200\40\xd0\xbf\xd0\276\xd0\264\320\xbf\320\270\321\201\320\xba\320\xb8";
goto j65rP;
dwWEc: case "\156\x62": goto MRYPP;
plo4s: goto Izxr9;
goto EmM1e;
VoIBe: $text[] = "\74\143\157\144\145\x3e\x7e\x69\144\x7e\74\57\x63\x6f\x64\x65\x3e\x20\xd0\xbd\320\xbe\320\xbc\320\265\xd1\200\40\320\277\320\xbe\320\xb4\320\xbf\xd0\xb8\321\x81\320\xba\xd0\270";
goto plo4s;
MRYPP: $text[] = "\x3c\x63\x6f\144\x65\76\x7e\142\157\x6e\x75\163\x7e\x3c\57\x63\x6f\144\x65\76\x20\320\264\320\276\320\xb1\320\xb0\320\xb2\xd0\273\xd0\265\320\xbd\xd0\275\xd0\xbe\xd0\265\40\320\262\xd1\x80\320\xb5\xd0\274\xd1\217";
goto VoIBe;
EmM1e: case "\x6e\144": goto ADdo1;
AQp8j: goto Izxr9;
goto N7216;
ADdo1: $text[] = "\x3c\x63\x6f\x64\145\76\x7e\x75\x73\145\x72\x7e\74\57\x63\x6f\x64\145\x3e\40\320\xb8\320\xbc\321\x8f\x20\321\216\xd0\xb7\xd0\xb5\xd1\x80\320\xb0";
goto uSVTU;
uSVTU: $text[] = "\x3c\143\x6f\144\145\x3e\x7e\151\x64\x7e\x3c\x2f\143\x6f\x64\x65\76\40\320\xbd\xd0\276\320\xbc\320\xb5\xd1\x80\x20\xd0\xbf\320\xbe\320\264\320\277\320\270\321\x81\xd0\272\xd0\xb8";
goto AQp8j;
N7216: }
goto kfZ95;
TyTOW: $text[] = "\xd1\203\321\201\xd1\202\xd0\xb0\320\275\xd0\xbe\xd0\xb2\xd0\xba\320\xb0\x20\xd1\210\320\260\320\261\xd0\xbb\xd0\xbe\320\xbd\xd0\260\x20\xd1\x81\xd0\xbe\xd0\276\320\xb1\321\x89\xd0\265\320\xbd\xd0\xb8\320\xb9\x20\xd0\xbf\xd0\276\xd0\273\321\x8c\320\xb7\320\276\xd0\xb2\xd0\260\xd1\x82\320\xb5\320\273\xd1\x8e\12";
goto syKKR;
QPsWu: mQpPD: goto Vc09e;
UjKiw: $text[] = "\x3c\143\x6f\x64\x65\76\57\x61\x6e\x64\162\157\151\x64\x3c\x2f\143\x6f\x64\145\x3e\40\55\x20\321\x81\xd1\x81\xd1\x8b\xd0\273\320\xba\320\260\54\x20\xd0\277\xd0\xbe\x20\xd0\xba\320\273\xd0\270\320\xba\xd1\x83\40\320\275\320\260\x20\320\272\320\xbe\321\x82\320\xbe\xd1\x80\321\203\xd1\x8e\x20\xd0\261\320\276\xd1\x82\40\xd0\276\321\202\320\xb4\320\xb0\xd1\x81\321\202\40\xd0\xb8\xd0\275\321\201\321\x82\xd1\x80\xd1\x83\xd0\xba\xd1\206\xd0\xb8\321\216\x20\320\xbf\xd0\276\x20\141\x6e\144\162\x6f\x69\x64";
goto k3KgY;
dyaH0: $text[] = "\x3c\x63\x6f\x64\x65\76\x2f\142\x6f\164\x3c\x2f\x63\157\x64\x65\x3e\40\x2d\40\xd1\201\xd1\201\xd1\x8b\xd0\273\320\xba\320\260\x2c\40\320\277\320\xbe\x20\320\272\xd0\273\320\xb8\320\272\xd1\203\40\xd0\275\320\xb0\40\xd0\272\320\276\xd1\202\320\xbe\xd1\x80\321\x83\321\216\40\320\xb1\320\276\xd1\x82\40\xd0\276\xd1\202\320\xb4\320\xb0\xd1\201\321\202\40\320\270\320\xbd\xd1\x81\xd1\x82\xd1\200\321\x83\xd0\272\321\x86\320\270\321\x8e\40\320\277\320\xbe\x20\142\157\x74";
goto UjKiw;
Vc09e: $this->update($this->yR2JN["\x63\x68\x61\x74"], $this->yR2JN["\x6d\x65\163\163\x61\x67\145\137\151\x64"], implode("\xa", $text ?: []), $data ?: false);
goto WraqT;
kfZ95: jAV66: goto OnSZC;
WraqT: }
public function setMenuDescription($chapter = false)
{
goto EBN9x;
TnckF: $text[] = "\74\143\x6f\144\x65\76" . htmlentities("\74\142\x3e\x62\157\154\x64\74\57\x62\x3e") . "\x3c\57\x63\x6f\x64\145\76\40\55\x20\x3c\142\x3e\320\xb6\xd0\270\321\200\320\275\xd1\213\xd0\271\74\x2f\x62\76";
goto gosAv;
NhCSh: $data[] = [["\164\145\x78\164" => $this->i18n("\x73\x65\x74\x55\163\x65\162\x50\x65\x65\162"), "\143\141\x6c\154\142\141\143\153\x5f\144\x61\164\141" => "\x2f\x73\x65\x6e\x64\x52\x65\160\154\171\40\145\156\164\x65\x72\x20\164\x65\170\x74\137\165\160\x64\141\x74\145\x53\x65\164\x74\151\156\147\137\x75\x72\x5f" . __FUNCTION__ . "\x5f\x75\x72"], ["\164\145\x78\x74" => $this->i18n("\160\162\x65\x76\151\x65\x77"), "\143\x61\x6c\154\x62\x61\143\153\x5f\x64\x61\164\141" => "\x2f\163\x65\164\x4d\145\x6e\x75\x44\145\x73\x63\x72\151\x70\x74\x69\157\156\40\165\162"]];
goto Hta5U;
XMFMH: if (!($t = $this->getSetting($chapter))) {
goto kFx6F;
}
goto O_rwJ;
K_62P: $text[] = "\74\x63\x6f\x64\x65\x3e\x2f\x6d\141\143\157\x73\x3c\57\x63\x6f\144\x65\x3e\40\x2d\40\321\201\321\x81\321\x8b\320\273\xd0\xba\320\260\x2c\40\320\277\xd0\xbe\x20\320\xba\xd0\xbb\320\xb8\320\xba\321\203\40\xd0\xbd\320\xb0\40\xd0\272\320\xbe\xd1\202\320\276\xd1\200\xd1\x83\321\x8e\40\320\xb1\320\xbe\321\202\40\xd0\276\321\202\xd0\xb4\320\xb0\xd1\x81\xd1\202\40\320\270\320\xbd\321\x81\xd1\x82\321\200\xd1\x83\320\272\xd1\206\xd0\270\321\x8e\x20\xd0\xbf\xd0\276\x20\155\141\143\x6f\x73";
goto WXwS0;
z4U_f: $text[] = "\x3c\x63\x6f\x64\145\76" . htmlentities("\x3c\x75\76\x75\x6e\144\145\162\154\151\x6e\x65\74\57\165\76") . "\74\x2f\x63\157\x64\x65\x3e\x20\55\x20\x3c\x75\x3e\xd0\277\xd0\xbe\xd0\xb4\321\207\320\xb5\321\200\320\xba\320\xbd\xd1\203\xd1\x82\xd1\x8b\xd0\xb9\74\x2f\x75\x3e";
goto qWl9B;
jdWuw: OwrwC: goto jnoa3;
m2hck: $r = $this->update($this->yR2JN["\x63\x68\141\164"], $this->yR2JN["\155\145\x73\163\141\147\145\x5f\x69\x64"], implode("\xa", $text ?: []), $data ?: false);
goto Vay23;
bjXWr: Zl062: goto Zsv1a;
WDj3P: $data[] = [["\x74\x65\170\x74" => $this->i18n("\163\x65\x74\x48\x65\x6c\x70\101\156\144\162\x6f\151\x64"), "\143\141\154\154\142\141\143\x6b\x5f\x64\x61\164\141" => "\57\163\x65\156\x64\122\x65\160\x6c\171\40\145\156\164\145\162\x20\164\x65\x78\x74\x5f\x75\x70\144\141\164\145\123\x65\x74\x74\x69\x6e\x67\x5f\150\141\137" . __FUNCTION__ . "\137\150\141"], ["\164\145\x78\x74" => $this->i18n("\x70\162\x65\x76\x69\145\167"), "\x63\x61\154\154\x62\x61\x63\153\137\x64\x61\164\x61" => "\x2f\163\x65\x74\115\x65\156\165\x44\x65\163\143\x72\x69\x70\164\151\157\x6e\x20\x68\x61"], ["\164\145\170\x74" => $this->i18n("\x70\x72\x65\x76\x69\x65\167\x4d\x65\x64\x69\141"), "\x63\x61\154\154\x62\x61\143\x6b\137\144\141\x74\x61" => "\57\160\x72\x65\166\x69\x65\x77\115\145\144\x69\141\40\150\141"]];
goto KQU0z;
bFGp6: $text[] = "\74\143\157\x64\x65\76\57\x69\x6f\163\x3c\57\x63\157\x64\145\x3e\x20\x2d\x20\321\201\xd1\x81\xd1\213\xd0\xbb\xd0\xba\xd0\xb0\x2c\40\320\277\xd0\276\40\320\xba\320\xbb\xd0\xb8\xd0\xba\xd1\x83\40\xd0\275\320\xb0\x20\320\xba\xd0\xbe\321\202\320\xbe\xd1\200\xd1\x83\xd1\216\x20\320\xb1\320\xbe\xd1\202\40\320\xbe\321\x82\320\xb4\320\260\321\x81\xd1\202\x20\xd0\xb8\xd0\275\321\x81\321\x82\xd1\200\321\203\320\272\321\206\xd0\270\xd1\216\x20\xd0\xbf\xd0\xbe\x20\x69\x6f\163";
goto K_62P;
J1Asn: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\x73\x74\162\x75\x63\x74\x75\162\145\x4d\145\x6e\x75"), "\143\141\154\154\142\141\143\x6b\137\x64\141\164\x61" => "\x2f\163\145\164\115\145\156\165\x44\145\163\x63\x72\x69\x70\x74\x69\x6f\156"], ["\164\x65\x78\x74" => $this->i18n("\142\141\x63\153"), "\x63\x61\154\154\x62\x61\x63\153\x5f\x64\x61\164\141" => "\57\x63\x6f\156\x66\151\147"]];
goto SkkIr;
CWxrH: $text[] = "\x3c\x63\157\144\145\76\57\x62\157\x74\74\x2f\x63\x6f\144\145\x3e\x20\x2d\x20\321\201\321\x81\321\213\xd0\273\xd0\272\xd0\xb0\54\40\xd0\277\xd0\xbe\x20\320\272\320\xbb\xd0\xb8\xd0\272\321\x83\x20\xd0\xbd\xd0\xb0\x20\320\272\xd0\276\321\x82\xd0\276\xd1\200\321\x83\xd1\216\x20\xd0\261\320\276\xd1\202\x20\320\276\321\202\320\xb4\xd0\xb0\321\x81\xd1\202\40\320\270\xd0\275\321\201\321\x82\321\200\xd1\203\xd0\272\xd1\206\320\270\321\216\40\xd0\277\320\276\40\142\157\164";
goto upgBE;
QBhiG: goto K8uMQ;
goto qAbgp;
Vay23: if (!($r["\x6f\x6b"] == false && !preg_match("\176\155\145\163\x73\x61\147\x65\40\x69\163\40\156\x6f\x74\40\155\x6f\x64\x69\146\151\145\144\x7e", $r["\144\x65\x73\143\x72\151\x70\164\x69\157\156"]))) {
goto OwrwC;
}
goto yf3Xv;
LEmKf: $data[] = [["\x74\145\x78\164" => $this->i18n("\x73\x65\164\x48\x65\154\160\x4d\141\x63\x4f\x53"), "\143\141\154\154\142\x61\143\x6b\137\144\x61\164\141" => "\57\x73\x65\x6e\144\x52\145\160\154\171\x20\x65\x6e\x74\145\x72\40\164\x65\170\164\137\x75\160\x64\x61\x74\x65\123\x65\x74\x74\151\x6e\x67\x5f\x68\x6d\137" . __FUNCTION__ . "\137\150\155"], ["\x74\145\170\x74" => $this->i18n("\160\x72\x65\x76\x69\145\167"), "\143\x61\154\154\142\x61\x63\x6b\x5f\144\141\x74\x61" => "\x2f\x73\145\164\x4d\x65\156\x75\104\145\x73\x63\x72\x69\x70\164\151\157\156\x20\x68\x6d"], ["\x74\x65\x78\x74" => $this->i18n("\x70\x72\x65\x76\151\145\167\x4d\145\x64\151\x61"), "\x63\x61\154\x6c\142\141\143\153\137\144\x61\164\x61" => "\x2f\160\x72\x65\x76\151\145\x77\115\x65\x64\x69\x61\40\150\155"]];
goto J1Asn;
gvaex: K8uMQ: goto m2hck;
O_rwJ: $text[] = "\xa{$chapter}\72\12\x3c\160\x72\145\x3e{$t}\74\57\160\x72\145\x3e";
goto kTLrb;
Zsv1a: hmVn3: goto ApU2c;
NUU2u: $data[] = [["\164\x65\x78\164" => $this->i18n("\163\145\164\110\145\x6c\160\x42\x6f\x74"), "\x63\141\154\154\142\141\143\x6b\137\144\141\x74\141" => "\x2f\163\145\156\x64\122\x65\x70\154\x79\x20\145\156\164\145\x72\40\x74\x65\x78\x74\137\x75\x70\x64\141\164\145\123\x65\x74\164\x69\x6e\x67\x5f\x68\x62\137" . __FUNCTION__ . "\x5f\x68\x62"], ["\164\x65\170\164" => $this->i18n("\160\x72\x65\x76\x69\145\167"), "\143\x61\x6c\x6c\142\141\x63\x6b\137\x64\141\x74\x61" => "\x2f\x73\x65\164\x4d\x65\x6e\x75\104\145\163\x63\x72\x69\160\164\x69\x6f\x6e\40\x68\x62"], ["\164\145\x78\164" => $this->i18n("\x70\x72\x65\x76\151\x65\x77\115\145\144\x69\x61"), "\x63\x61\x6c\154\x62\x61\x63\x6b\x5f\x64\x61\164\141" => "\57\x70\x72\145\x76\151\145\167\115\x65\144\x69\141\40\150\x62"]];
goto WDj3P;
pyIpV: $data[] = [["\164\145\x78\x74" => $this->i18n("\x73\x65\x74\125\163\x65\162\x4f\162\144\145\x72"), "\143\141\154\x6c\142\x61\143\x6b\x5f\x64\141\x74\x61" => "\57\x73\145\156\144\122\145\x70\x6c\x79\40\x65\x6e\x74\145\162\40\x74\145\170\x74\137\x75\x70\144\x61\x74\145\123\x65\x74\x74\x69\156\x67\137\165\x6f\x5f" . __FUNCTION__ . "\x5f\x75\x6f"], ["\164\x65\170\x74" => $this->i18n("\x70\x72\145\x76\x69\x65\167"), "\143\x61\x6c\154\x62\x61\x63\x6b\137\144\141\x74\141" => "\57\x73\x65\164\x4d\145\x6e\x75\104\x65\x73\143\x72\x69\160\x74\x69\157\156\x20\165\157"]];
goto pHwcd;
WXwS0: $text[] = "\74\x63\157\144\145\76\x2f\x77\x69\x6e\144\157\167\163\74\x2f\x63\157\x64\x65\x3e\x20\x2d\40\321\201\xd1\201\xd1\x8b\xd0\xbb\320\xba\xd0\xb0\54\40\320\277\xd0\xbe\x20\320\272\xd0\273\xd0\xb8\xd0\272\xd1\x83\40\xd0\xbd\320\xb0\40\320\272\xd0\276\321\202\320\xbe\321\200\321\x83\321\216\x20\320\xb1\320\xbe\xd1\202\x20\320\xbe\xd1\202\320\264\320\260\xd1\201\xd1\202\40\xd0\270\320\275\xd1\x81\321\x82\xd1\x80\321\x83\xd0\272\xd1\206\xd0\270\xd1\x8e\40\320\277\320\xbe\40\x77\x69\156\144\157\x77\163";
goto bLkuC;
xGxFw: $text[] = "\x3c\143\157\x64\145\76" . htmlentities("\74\x63\x6f\x64\145\76\x69\156\x6c\151\x6e\145\40\146\151\170\145\x64\55\x77\x69\x64\164\150\x20\x63\157\x64\145\x3c\57\x63\x6f\144\x65\76") . "\74\57\x63\x6f\x64\x65\76\x20\55\40\74\x63\157\144\145\x3e\xd0\274\xd0\xbe\xd0\xbd\320\xbe\xd1\210\320\270\321\x80\320\xb8\xd0\xbd\xd0\275\xd1\x8b\320\271\74\x2f\x63\157\x64\145\x3e";
goto AtVnK;
AtVnK: $text[] = "\74\x63\157\144\145\x3e" . htmlentities("\x3c\x61\x20\150\162\x65\146\x3d\42\150\x74\x74\160\72\57\57\x77\x77\x77\56\145\x78\141\155\160\154\145\x2e\143\157\x6d\x2f\42\x3e\x69\156\154\x69\156\145\x20\125\x52\114\x3c\x2f\x61\x3e") . "\x3c\57\x63\157\144\145\x3e\40\x2d\40\74\141\40\x68\x72\x65\146\75\47\x68\164\x74\x70\x3a\57\x2f\167\167\167\x2e\x65\170\x61\x6d\x70\x6c\145\x2e\x63\157\155\57\47\x3e\151\156\x6c\x69\x6e\145\40\x55\122\114\x3c\57\141\76";
goto CWxrH;
Hta5U: $data[] = [["\164\x65\170\x74" => $this->i18n("\x73\145\x74\x48\145\x6c\x70"), "\x63\141\154\154\x62\141\x63\153\x5f\144\141\x74\141" => "\57\163\x65\156\x64\x52\x65\x70\154\x79\40\x65\156\164\145\x72\40\x74\x65\170\164\137\165\160\x64\141\164\x65\123\x65\x74\x74\151\156\147\137\x68\137" . __FUNCTION__ . "\137\x68"], ["\x74\145\170\x74" => $this->i18n("\x70\162\x65\166\x69\x65\167"), "\143\141\x6c\x6c\x62\141\143\153\x5f\x64\141\x74\x61" => "\x2f\163\145\164\x4d\145\x6e\165\x44\x65\x73\x63\162\151\x70\164\151\157\x6e\40\150"]];
goto NUU2u;
bLkuC: if ($chapter) {
goto xG1Jj;
}
goto kVDxh;
pHwcd: $data[] = [["\164\145\170\x74" => $this->i18n("\163\145\164\125\x73\145\162\120\x61\171"), "\143\141\x6c\x6c\142\x61\x63\153\x5f\144\x61\x74\141" => "\x2f\163\145\x6e\144\x52\x65\x70\154\171\40\x65\x6e\164\x65\x72\x20\164\x65\x78\164\137\165\x70\144\x61\x74\145\123\145\164\x74\151\x6e\x67\137\x75\160\137" . __FUNCTION__ . "\x5f\165\160"], ["\164\145\x78\164" => $this->i18n("\160\162\145\166\151\145\x77"), "\x63\x61\x6c\x6c\142\x61\143\153\137\144\x61\x74\x61" => "\57\163\x65\164\115\x65\x6e\165\104\x65\x73\143\162\x69\x70\x74\x69\157\x6e\x20\165\x70"]];
goto NhCSh;
gosAv: $text[] = "\74\143\x6f\144\x65\x3e" . htmlentities("\74\151\x3e\x69\164\x61\154\151\x63\x3c\x2f\151\76") . "\x3c\57\x63\x6f\144\x65\76\x20\x2d\x20\74\151\x3e\xd0\272\xd1\203\321\x80\xd1\201\320\270\320\262\x3c\57\151\76";
goto z4U_f;
BMQPL: $data[] = [["\164\145\x78\x74" => $this->i18n("\163\x65\164\125\163\x65\162\x42\x75\171"), "\x63\141\154\154\x62\x61\143\x6b\137\144\x61\164\141" => "\x2f\163\145\156\x64\x52\145\x70\x6c\171\x20\145\156\164\145\x72\x20\164\x65\170\x74\x5f\x75\160\x64\x61\164\145\x53\145\164\164\x69\156\147\137\165\142\137" . __FUNCTION__ . "\137\x75\x62"], ["\x74\145\x78\x74" => $this->i18n("\x70\x72\x65\166\151\145\x77"), "\143\141\x6c\154\142\x61\143\x6b\x5f\144\141\x74\x61" => "\57\163\145\164\x4d\145\x6e\165\x44\145\x73\143\162\x69\x70\164\x69\x6f\156\40\165\x62"]];
goto c177D;
c177D: $data[] = [["\x74\145\170\x74" => $this->i18n("\163\145\164\x55\x73\145\x72\x53\x65\x72\166\x65\162"), "\143\141\154\154\x62\141\x63\x6b\x5f\144\x61\x74\x61" => "\57\x73\x65\156\x64\x52\145\160\154\171\x20\x65\156\164\145\x72\40\164\x65\x78\x74\x5f\x75\160\x64\141\x74\x65\x53\145\164\164\x69\156\147\137\x75\163\x5f" . __FUNCTION__ . "\137\165\x73"], ["\x74\x65\170\x74" => $this->i18n("\160\x72\145\166\151\145\167"), "\143\x61\154\x6c\142\141\x63\153\x5f\144\x61\164\x61" => "\x2f\x73\x65\164\115\x65\x6e\165\104\x65\x73\x63\162\151\160\x74\151\157\156\x20\x75\x73"]];
goto pyIpV;
kVDxh: $text[] = "\x4d\145\x6e\x75\xa\x20\40\x20\40\102\x75\171\xa\x20\40\x20\x20\x20\x20\40\x20\x53\x65\162\x76\145\162\12\40\40\x20\x20\40\40\x20\40\x20\x20\40\x20\x50\x61\171\xa\x20\40\40\x20\117\162\144\x65\x72\xa\x20\40\40\x20\40\40\40\40\120\141\171\12\x20\x20\x20\x20\120\x65\145\162\12\x48\145\154\x70\12\x20\x20\x20\x20\102\x6f\x74\xa\x20\40\40\x20\x41\156\x64\162\157\151\x64\xa\40\x20\x20\x20\111\x4f\123\12\x20\x20\x20\x20\x57\x69\156\144\x6f\167\x73\12\x20\x20\x20\40\x4d\141\x63\117\x53";
goto QBhiG;
oQbqe: switch ($chapter) {
case "\x75\160": goto CAfWA;
CAfWA: $text[] = "\x3c\x63\157\144\x65\x3e\176\151\x64\176\74\57\x63\x6f\144\145\x3e\40\320\275\320\xbe\xd0\274\320\265\321\x80\40\320\xb7\xd0\xb0\xd0\xba\xd0\xb0\xd0\267\320\260";
goto LNKH8;
LNKH8: $text[] = "\74\x63\157\144\145\x3e\x7e\x6c\151\x66\145\176\74\x2f\x63\x6f\144\x65\76\40\320\264\xd0\xbb\320\xb8\321\x82\xd0\265\320\273\xd1\214\xd0\xbd\xd0\276\321\x81\xd1\x82\321\x8c\x20\xd0\xbf\320\xbe\320\xb4\320\277\xd0\xb8\xd1\x81\xd0\272\320\xb8";
goto ajnqr;
ajnqr: $text[] = "\74\143\x6f\144\x65\76\x7e\156\x61\x6d\145\176\74\57\x63\x6f\144\x65\x3e\x20\xd0\xb8\xd0\274\321\x8f\x20\xd1\201\xd0\xb5\321\200\320\262\320\265\321\200\320\xb0";
goto mLhpl;
mLhpl: case "\x75\x72": goto g22c4;
ahBou: $text[] = "\74\x63\157\x64\145\x3e\176\x72\145\146\x65\162\137\143\157\165\x6e\x74\176\x3c\x2f\143\x6f\144\145\76\40\320\272\320\xbe\320\273\x2d\xd0\262\320\xbe\40\320\xb0\320\272\321\x82\xd0\xb8\xd0\xb2\xd0\xb8\321\200\xd0\xbe\xd0\xb2\320\260\320\xbd\320\xbd\xd1\x8b\321\x85\x20\320\xba\320\276\320\xbd\321\204\320\270\320\xb3\320\276\xd0\xb2\x20\xd0\277\xd0\276\x20\xd1\x80\xd0\265\321\x84\320\xb5\321\x80\xd0\260\320\xbb\321\214\320\xbd\320\276\xd0\xb9\40\xd1\x81\321\x81\xd1\x8b\320\273\320\xba\xd0\xb5";
goto NI7xz;
g22c4: $text[] = "\74\x63\x6f\x64\145\76\x7e\x63\x6f\x64\145\x7e\x3c\57\143\157\144\x65\76\x20\320\xba\320\276\320\264\x20\320\xba\xd0\276\xd0\xbd\321\204\xd0\xb8\320\263\320\260";
goto XEiyU;
NI7xz: goto hmVn3;
goto lg3fa;
c84eA: $text[] = "\74\143\157\x64\145\x3e\176\x72\x65\146\145\x72\x5f\154\x69\x6e\153\x7e\74\57\x63\157\x64\145\x3e\40\321\x80\320\xb5\321\204\321\200\xd0\xb5\xd0\xb0\320\273\321\x8c\320\275\xd0\xb0\321\x8f\x20\xd1\201\321\201\xd1\213\320\273\320\272\xd0\260";
goto ahBou;
XEiyU: $text[] = "\x3c\143\157\x64\145\76\x7e\144\157\x6d\141\151\156\x7e\74\57\143\157\144\145\x3e\x20\320\xb0\xd0\xb4\321\x80\xd0\xb5\xd1\201\40\321\x81\320\xb5\xd1\200\xd0\262\320\xb5\xd1\x80\320\260";
goto c84eA;
lg3fa: case "\150\x62": case "\x68\x61": case "\150\x69": case "\x68\x6d": case "\x68\x77": $text[] = "\74\143\157\144\145\76\176\160\150\157\164\157\x3a\x69\x64\x7e\74\x2f\x63\157\144\x65\76\40\320\xb3\320\xb4\xd0\265\40\x69\144\40\x2d\x20\320\260\320\271\xd0\264\xd0\xb8\x20\xd1\x84\320\276\321\202\320\xbe\40\x28\320\xbc\xd0\xbe\320\266\320\275\xd0\276\x20\xd1\203\xd0\xb7\xd0\275\320\260\321\x82\321\x8c\40\xd1\201\320\xba\xd0\xb8\320\275\xd1\203\xd0\xb2\x20\xd1\204\320\276\xd1\x82\320\xbe\40\xd0\xb1\320\276\321\x82\xd1\203\51";
}
goto bjXWr;
kTLrb: kFx6F: goto gvaex;
upgBE: $text[] = "\74\143\x6f\144\145\76\57\x61\x6e\144\162\157\151\x64\74\57\x63\x6f\144\145\76\40\55\40\xd1\x81\xd1\201\xd1\x8b\320\273\320\xba\320\260\x2c\x20\320\xbf\320\276\x20\xd0\xba\xd0\273\320\xb8\xd0\272\xd1\x83\40\xd0\275\320\xb0\40\320\272\320\xbe\xd1\x82\xd0\276\321\x80\321\x83\xd1\x8e\x20\xd0\261\320\xbe\xd1\202\x20\320\276\321\202\320\xb4\320\xb0\xd1\x81\xd1\x82\40\320\270\320\275\xd1\x81\321\x82\xd1\200\xd1\x83\xd0\272\321\x86\xd0\xb8\321\216\40\320\277\xd0\276\x20\141\x6e\144\162\x6f\151\x64";
goto bFGp6;
yf3Xv: $this->send($this->yR2JN["\x63\x68\141\164"], "\xd0\262\x20\xd1\x82\320\265\320\xba\321\x81\321\202\xd0\xb5\40\320\xbe\321\x88\xd0\xb8\xd0\261\xd0\272\320\xb0\x20\74\x70\x72\x65\76{$r["\144\145\163\x63\x72\151\x70\164\151\x6f\156"]}\74\57\x70\x72\x65\76", $this->yR2JN["\x6d\x65\x73\x73\141\x67\145\137\x69\x64"]);
goto jdWuw;
KQU0z: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x73\x65\164\110\x65\154\160\x49\x4f\x53"), "\x63\x61\154\x6c\x62\x61\x63\x6b\x5f\144\x61\164\141" => "\57\x73\x65\x6e\x64\122\145\x70\154\171\x20\145\x6e\164\145\162\40\x74\145\170\164\137\x75\160\x64\141\164\145\123\145\x74\164\x69\156\x67\x5f\x68\x69\x5f" . __FUNCTION__ . "\137\x68\151"], ["\164\x65\170\164" => $this->i18n("\160\162\x65\x76\151\145\x77"), "\x63\x61\154\x6c\x62\141\143\x6b\137\144\x61\x74\x61" => "\57\163\x65\164\x4d\145\156\165\x44\x65\x73\143\162\x69\x70\164\151\x6f\x6e\x20\x68\x69"], ["\164\x65\x78\164" => $this->i18n("\x70\x72\145\x76\x69\x65\x77\115\x65\144\151\141"), "\143\x61\154\154\x62\141\x63\153\x5f\144\x61\x74\141" => "\x2f\x70\x72\145\166\151\145\x77\x4d\145\x64\151\x61\40\x68\x69"]];
goto AfOK_;
AfOK_: $data[] = [["\164\x65\170\x74" => $this->i18n("\x73\x65\x74\110\145\x6c\160\x57\151\156\x64\157\167\163"), "\143\x61\x6c\x6c\x62\x61\x63\x6b\137\144\x61\x74\141" => "\x2f\x73\145\156\144\122\x65\x70\x6c\171\40\x65\156\x74\x65\x72\40\164\145\170\x74\137\165\x70\144\x61\x74\145\x53\145\x74\x74\x69\156\147\137\150\x77\137" . __FUNCTION__ . "\137\x68\167"], ["\x74\x65\170\x74" => $this->i18n("\160\x72\145\166\x69\x65\167"), "\143\x61\154\x6c\142\x61\143\x6b\137\144\141\x74\x61" => "\57\x73\x65\x74\115\145\156\165\x44\145\x73\x63\x72\x69\160\x74\151\x6f\x6e\40\150\x77"], ["\164\x65\x78\x74" => $this->i18n("\x70\162\x65\166\x69\145\167\x4d\x65\x64\x69\x61"), "\x63\141\x6c\154\142\141\143\x6b\x5f\144\141\x74\141" => "\57\160\x72\145\166\151\x65\167\x4d\145\144\151\141\40\x68\167"]];
goto LEmKf;
qAbgp: xG1Jj: goto oQbqe;
G_azZ: $text[] = "\74\x63\x6f\x64\x65\x3e" . htmlentities("\x3c\x73\x70\141\x6e\40\x63\x6c\141\163\163\75\x22\164\147\x2d\163\x70\157\151\154\145\162\42\x3e\163\160\157\x69\154\x65\x72\x3c\57\163\x70\x61\156\x3e") . "\x3c\57\x63\157\144\145\x3e\x20\55\x20\74\164\x67\55\163\x70\157\151\154\x65\162\x3e\321\201\xd0\272\xd1\200\xd1\213\xd1\x82\321\x8b\xd0\271\x3c\x2f\164\x67\x2d\x73\160\157\x69\x6c\145\x72\76";
goto xGxFw;
ApU2c: $text[] = "\xa\74\142\x3e\xd0\xbe\320\xb1\xd1\217\xd0\267\xd0\xb0\321\202\320\265\320\273\321\x8c\xd0\275\320\276\x20\xd0\xbf\321\x80\xd0\xbe\320\262\xd0\265\xd1\x80\321\x8c\321\202\xd0\xb5\x20\160\x72\145\x76\151\145\167\40\xd0\277\xd0\276\xd1\x81\xd0\273\xd0\xb5\x20\321\203\xd1\201\xd1\202\xd0\260\xd0\xbd\xd0\xbe\320\262\xd0\272\xd0\xb8\40\xd1\202\320\xb5\320\272\321\x81\xd1\202\xd0\260\x2c\40\320\xb5\321\x81\xd0\273\xd0\xb8\40\321\x82\320\265\320\272\xd1\201\xd1\x82\40\320\275\320\265\40\xd0\276\xd1\202\xd0\xbe\xd0\xb1\xd1\200\xd0\260\xd0\xb7\xd0\xb8\320\273\xd1\x81\xd1\217\x20\xd0\xb7\xd0\xbd\320\260\321\x87\xd0\270\321\202\x20\320\262\x20\321\x82\320\265\xd0\272\321\201\xd1\x82\xd0\xb5\40\xd0\265\321\x81\321\x82\xd1\214\x20\xd0\276\xd1\x88\320\270\320\261\xd0\272\320\260\40\x68\x74\x6d\154\x2d\xd1\x82\320\265\xd0\xb3\320\260\40\320\xb8\x20\xd1\x8d\321\x82\xd0\xbe\x20\320\274\xd0\265\xd0\xbd\xd1\216\40\xd0\xbd\320\xb5\x20\320\xb1\xd1\x83\xd0\xb4\xd0\265\xd1\x82\40\321\200\320\xb0\320\261\320\xbe\xd1\x82\xd0\260\xd1\x82\321\214\40\xd1\203\x20\xd0\277\320\xbe\320\273\xd1\214\320\xb7\xd0\276\320\262\320\260\xd1\x82\320\265\xd0\xbb\xd1\x8f\74\x2f\x62\76";
goto XMFMH;
EBN9x: $data[] = [["\x74\x65\170\164" => $this->i18n("\163\145\x74\125\x73\145\162\115\x65\156\165"), "\x63\x61\154\154\142\141\x63\x6b\137\144\x61\164\141" => "\x2f\x73\x65\x6e\144\x52\145\x70\x6c\x79\40\x65\156\x74\145\x72\x20\164\x65\170\x74\137\x75\x70\144\141\164\145\x53\x65\x74\x74\x69\156\147\x5f\x75\x6d\137" . __FUNCTION__ . "\137\165\x6d"], ["\x74\x65\x78\x74" => $this->i18n("\x70\x72\145\x76\151\x65\x77"), "\x63\141\154\x6c\x62\141\x63\x6b\137\144\x61\x74\141" => "\x2f\163\x65\164\115\x65\x6e\165\104\145\163\143\162\x69\x70\x74\x69\x6f\x6e\x20\x75\155"]];
goto BMQPL;
SkkIr: $text[] = "\321\x83\321\201\xd1\x82\320\xb0\320\275\320\xbe\xd0\262\320\272\xd0\xb0\x20\320\276\xd0\277\xd0\xb8\xd1\x81\320\xb0\xd0\xbd\xd0\xb8\xd0\271\x20\xd0\xbf\321\203\320\xbd\xd0\xba\321\x82\xd0\276\320\xb2\40\xd0\xbc\xd0\265\xd0\275\xd1\216\x20\320\277\320\xbe\xd0\xbb\xd1\214\xd0\xb7\320\xbe\320\xb2\xd0\260\xd1\x82\xd0\xb5\320\xbb\321\217\x3a\12\xd0\277\320\xbe\320\264\xd0\xb4\320\265\321\200\320\266\320\xb8\320\262\xd0\xb0\xd0\xb5\321\x82\321\x81\321\217\x20\321\x81\xd0\273\xd0\xb5\xd0\xb4\xd1\203\xd1\x8e\321\x89\320\270\320\265\x20\xd1\x82\320\265\xd0\xb3\320\270\40\x68\x74\155\x6c\12";
goto TnckF;
qWl9B: $text[] = "\74\x63\157\144\145\76" . htmlentities("\74\x73\76\163\164\162\x69\x6b\145\164\150\162\x6f\x75\x67\x68\74\57\163\x3e") . "\74\x2f\x63\157\144\x65\x3e\x20\x2d\40\74\163\x3e\320\267\xd0\260\321\x87\xd0\xb5\xd1\x80\xd0\xba\320\xbd\xd1\x83\321\202\xd1\213\320\xb9\x3c\57\x73\76";
goto G_azZ;
jnoa3: }
public function unitConf($data = false, $key = "\143\x6f\x6e\x66\x69\147", $method = "\x50\125\x54")
{
goto EQ92_;
EQ92_: $ch = curl_init();
goto Yh26U;
Bf8r8: curl_close($ch);
goto bgEPu;
Yh26U: curl_setopt_array($ch, [CURLOPT_URL => "\x68\x74\164\x70\72\57\57\x75\x6e\151\x74\x3a\x38\x30\70\60\57{$key}", CURLOPT_CUSTOMREQUEST => $method, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $method == "\x44\105\x4c\x45\x54\x45" ? false : (is_object($data) ? ["\146\151\154\x65" => $data] : json_encode($data)), CURLOPT_TIMEOUT => 5]);
goto T9urV;
T9urV: $res = curl_exec($ch);
goto Bf8r8;
bgEPu: return $res;
goto UXnqH;
UXnqH: }
public function unitConfig()
{
goto cqTAu;
M1vQT: $res[] = $this->unitConf($data, "\x63\157\156\x66\151\x67");
goto sAwnV;
Ra6DC: if (!file_exists($this->P13AN)) {
goto kUGTi;
}
goto xvrEo;
xvrEo: $res[] = $this->unitConf(curl_file_create($this->P13AN), "\x63\x65\x72\164\151\x66\x69\x63\x61\164\x65\x73\x2f\x63\145\x72\164\x62\157\x74");
goto hzZ33;
mHQVv: $data = ["\x6c\151\x73\x74\145\156\x65\162\x73" => ["\x2a\x3a\70\64\x34\x33" => ["\x70\141\163\x73" => "\162\x6f\x75\164\x65\x73\x2f\x6f\164\150\145\162", "\x74\x6c\x73" => ["\x63\x65\x72\164\x69\x66\x69\x63\141\164\x65" => !file_exists($this->P13AN) ? ["\x62\x75\x6e\x64\154\145"] : ["\142\x75\x6e\144\x6c\145", "\143\x65\162\164\142\x6f\164"]]], "\52\72\70\60" => ["\160\141\163\163" => "\x72\157\x75\164\145\x73\x2f\143\x65\x72\x74\x62\157\164"]], "\162\157\x75\x74\145\x73" => ["\x6f\x74\150\x65\162" => [["\155\141\x74\x63\150" => ["\165\x72\x69" => "\57\x79\x6f\157\x6d\x6f\x6e\145\171"], "\141\143\164\x69\157\156" => ["\160\141\163\x73" => "\x61\x70\160\x6c\x69\x63\141\x74\151\x6f\x6e\163\57\171\157\x6f\155\157\156\x65\x79"]], ["\x6d\x61\164\x63\150" => ["\165\x72\151" => "\x2f\167\141\x6c\154\x65\x74"], "\141\143\x74\x69\157\x6e" => ["\160\141\x73\163" => "\x61\x70\x70\154\x69\143\x61\164\151\x6f\156\163\57\x77\x61\x6c\x6c\x65\164"]], ["\x6d\x61\x74\143\x68" => ["\165\x72\151" => "\57\164\154\147\x72\155"], "\141\143\164\x69\157\x6e" => ["\160\x61\x73\163" => "\x61\x70\160\154\151\x63\x61\164\x69\x6f\156\x73\57\164\x6c\x67\x72\155"]]], "\143\x65\x72\x74\x62\x6f\x74" => [["\x6d\x61\x74\x63\x68" => ["\x75\x72\x69" => "\x2f\x2e\x77\x65\x6c\x6c\55\x6b\x6e\x6f\167\156\x2a"], "\x61\143\x74\x69\157\x6e" => ["\x73\150\x61\x72\x65" => "\x2f\x63\145\162\x74\x73\44\x75\x72\151"]]]], "\x61\160\x70\154\151\x63\x61\x74\x69\157\156\x73" => ["\x74\x6c\x67\162\x6d" => ["\x74\171\160\145" => "\160\150\160", "\x72\157\157\x74" => "\x2f\141\160\x70", "\163\143\x72\151\160\x74" => "\x74\x6c\147\x72\x6d\x2e\160\150\160", "\x75\x73\145\162" => "\x72\157\157\164", "\147\x72\157\x75\160" => "\x72\x6f\157\x74"], "\x79\x6f\157\155\157\156\x65\171" => ["\x74\x79\160\x65" => "\160\150\160", "\162\x6f\x6f\x74" => "\x2f\141\160\x70", "\x73\x63\162\x69\x70\x74" => "\171\x6f\x6f\155\x6f\156\x65\171\x2e\x70\x68\x70", "\x75\163\145\x72" => "\x72\157\x6f\x74", "\x67\162\x6f\165\160" => "\162\x6f\157\x74"], "\167\141\154\x6c\x65\x74" => ["\x74\x79\x70\x65" => "\160\150\160", "\162\x6f\157\x74" => "\57\x61\x70\160", "\163\x63\162\x69\x70\x74" => "\x77\x61\154\x6c\x65\x74\x2e\160\x68\x70", "\x75\163\x65\x72" => "\162\157\157\164", "\147\x72\x6f\x75\160" => "\x72\157\157\164"]], "\141\143\x63\145\x73\163\x5f\x6c\157\x67" => "\57\x6c\157\x67\163\x2f\165\156\x69\164\x5f\141\x63\x63\x65\x73\x73"];
goto M1vQT;
sAwnV: return $res;
goto RDCrZ;
hzZ33: kUGTi: goto mHQVv;
cqTAu: $res[] = $this->unitConf(curl_file_create("\x2f\x63\145\x72\164\163\x2f\x62\165\156\x64\x6c\145"), "\x63\145\x72\164\x69\146\x69\x63\x61\x74\x65\163\x2f\142\165\x6e\x64\x6c\x65");
goto Ra6DC;
RDCrZ: }
public function export()
{
goto HjpEp;
HjpEp: $path = "\x2f\143\157\x6e\x66\x69\x67\x2f\x69\x6d\x70\x6f\x72\x74\56\163\161\154";
goto I0L0c;
I0L0c: exec("\x6d\x79\x73\161\x6c\144\x75\x6d\160\x20\x2d\x68\40\144\x62\40\x2d\165\40\162\x6f\157\164\40\164\x6f\x77\145\x72\40\x3e\40{$path}");
goto YFTYs;
nTVjB: unlink($path);
goto wPMNK;
YFTYs: $r = $this->sendFile($this->WzKlY["\141\144\x6d\x69\156"], curl_file_create($path, posted_filename: "\x64\165\155\160\x5f" . date("\x59\x5f\155\137\144\137\110\137\151\137\x73") . "\x2e\163\x71\154"));
goto nTVjB;
wPMNK: return $r;
goto zKi9P;
zKi9P: }
public function openLinkNode()
{
goto WW5Mi;
mJ0Xs: file_put_contents("\x2f\x63\157\x6e\x66\x69\x67\x2f\165\156\x69\164\x74\155\x70\x2e\152\163\x6f\156", json_encode($unit, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES));
goto m4_Xt;
WW5Mi: $unit = json_decode(file_get_contents("\x2f\143\157\156\146\151\x67\x2f\x75\x6e\151\164\x2e\x6a\163\x6f\x6e"), true);
goto Q_XvX;
oWrgp: array_unshift($unit["\x72\157\165\x74\x65\x73"], ["\155\x61\x74\x63\x68" => ["\x75\162\x69" => "\176\x5c\x2e\x28\x74\141\162\x29", "\x61\162\x67\165\155\x65\156\x74\163" => ["\x68" => substr(md5($this->WzKlY["\141\x64\x6d\151\x6e"] . $this->WzKlY["\x6b\x65\171"]), 0, 8)]], "\x61\x63\x74\151\157\x6e" => ["\x73\x68\x61\162\x65" => ["\x2f\44\x75\x72\x69"]]]);
goto mJ0Xs;
Q_XvX: array_unshift($unit["\162\x6f\165\164\145\163"], ["\155\x61\x74\143\150" => ["\x75\162\x69" => "\176\134\56\50\x74\141\162\51"], "\141\x63\x74\151\157\156" => ["\162\145\x74\x75\x72\x6e" => 404]]);
goto oWrgp;
m4_Xt: }
public function import()
{
goto E6Hnq;
haXGy: $r = $this->request("\x67\x65\x74\x46\151\154\x65", ["\x66\151\154\145\137\151\x64" => $this->yR2JN["\x66\x69\154\x65\x5f\151\x64"]]);
goto Xa4g8;
CAn3X: $this->menu();
goto JQ_tz;
NPQp1: unlink($path);
goto CAn3X;
XYypm: exec("\155\171\163\161\154\x20\55\x68\x20\x64\x62\40\55\165\40\162\157\x6f\164\x20\164\x6f\167\145\x72\40\74\40{$path}");
goto NPQp1;
E6Hnq: $path = "\57\143\x6f\156\146\x69\x67\57\151\x6d\160\157\x72\164\56\x73\161\x6c";
goto haXGy;
yxtEo: file_put_contents($path, $dump);
goto XYypm;
Xa4g8: $dump = file_get_contents($this->file . $r["\x72\x65\163\165\154\x74"]["\146\151\x6c\145\x5f\x70\x61\164\150"]);
goto yxtEo;
JQ_tz: }
public function updateExpireNotify($text)
{
$time = strtotime($text) - time();
$this->updateSetting($time > 0 ? $time : '', "\145\x78\x70\x69\162\x65\116\x6f\x74\151\x66\x79", "\x63\157\x6e\x66\151\147");
}
public function debug()
{
$this->updateSetting(!$this->getSetting("\144\145\x62\165\x67"), "\144\x65\x62\165\147", "\x63\x6f\x6e\146\151\147");
}
public function yoomoney()
{
goto vTE9j;
vTE9j: $secret = $this->getSetting("\163\145\143\162\x65\164");
goto uugzd;
xrQKH: $success = $this->getSetting("\x73\x75\x63\x63\x65\163\163\125\x72\154");
goto HqpPG;
w2Xr3: $text[] = "\xd1\x81\xd0\272\320\xbe\320\xbf\xd0\270\xd1\x80\xd1\x83\xd0\271\321\x82\xd0\265\x20\xd1\x81\320\265\320\xba\321\x80\xd0\265\xd1\x82";
goto C25ct;
y2I7H: $data[] = [["\164\145\170\x74" => $this->i18n("\x73\145\x74\x53\x65\x63\162\145\x74") . ($secret ? "\72\40{$secret}" : ''), "\143\141\154\x6c\142\x61\x63\153\x5f\x64\141\x74\x61" => "\57\163\145\x6e\x64\x52\145\x70\154\x79\x20\145\156\164\145\x72\x20\163\145\143\162\x65\164\137\165\160\x64\141\x74\x65\x53\145\x74\164\x69\156\147\137\163\x65\143\162\x65\x74\137" . __FUNCTION__]];
goto lZn1A;
MMc3u: $this->uors($text, $data);
goto Of_q6;
MxlNZ: $debug = $this->getSetting("\171\144");
goto w8u5H;
lT8qj: $data[] = [["\164\x65\x78\x74" => $this->i18n("\163\145\x74\x53\165\x63\143\145\x73\163\125\162\x6c") . ($success ? "\72\x20{$success}" : ''), "\143\x61\154\x6c\x62\141\x63\153\x5f\144\x61\x74\141" => "\57\x73\x65\x6e\x64\122\145\160\x6c\171\40\x65\156\164\145\x72\x20\x6c\151\156\153\137\165\x70\144\x61\164\145\123\145\164\164\151\x6e\147\137\x73\x75\143\x63\145\163\163\125\162\x6c\137" . __FUNCTION__]];
goto gB4jP;
lZn1A: $data[] = [["\164\145\x78\x74" => $this->i18n("\x73\x65\x74\120\x68\162\x61\163\145") . ($phrase ? "\x3a\40{$phrase}" : ''), "\x63\141\x6c\x6c\x62\x61\143\153\x5f\x64\141\164\x61" => "\57\163\145\x6e\144\122\x65\160\x6c\x79\x20\x65\156\x74\145\162\x20\160\150\x72\141\163\x65\x5f\x75\x70\144\141\x74\145\120\150\x72\141\163\x65"]];
goto lT8qj;
C25ct: $text[] = "\xd0\276\xd1\202\xd0\274\320\xb5\xd1\x82\xd1\214\xd1\x82\xd0\xb5\40\xd0\xb3\320\xb0\320\273\xd0\276\xd1\x87\320\272\xd1\x83\x20\x3c\x62\76\x3c\151\76\xd0\276\xd1\202\320\xbf\321\x80\xd0\xb0\320\262\xd0\xbb\xd1\217\321\202\321\x8c\40\110\124\x54\120\x2d\321\203\320\xb2\xd0\265\320\264\320\xbe\xd0\xbc\320\xbb\320\265\320\xbd\320\xb8\321\x8f\74\57\151\x3e\74\57\142\x3e";
goto aHdBa;
uRA7Z: $text[] = "\xd1\x81\321\x81\321\213\320\273\320\272\xd0\xb0\40\xd0\xb4\320\273\xd1\x8f\40\320\275\xd0\xbe\xd1\x82\320\xb8\321\204\xd0\270\320\272\320\260\321\x86\xd0\xb8\320\xb9\x20\74\143\157\144\145\x3e\x68\x74\x74\x70\163\x3a\x2f\x2f{$this->tc2An}\x3a\70\x34\x34\63\57\x79\x6f\x6f\155\x6f\x6e\145\171\x3c\x2f\143\x6f\144\145\x3e";
goto w2Xr3;
w8u5H: $data[] = [["\164\x65\x78\164" => $this->i18n("\x73\145\x74\127\x61\154\154\145\x74") . ($wallet ? "\72\40{$wallet}" : ''), "\143\x61\x6c\154\x62\141\x63\x6b\x5f\144\x61\164\x61" => "\57\163\145\156\x64\122\x65\x70\154\x79\x20\145\x6e\x74\145\x72\x20\167\x61\x6c\154\x65\x74\x5f\165\160\144\141\x74\x65\123\145\164\164\x69\156\147\137\x77\141\154\x6c\x65\164\137" . __FUNCTION__]];
goto y2I7H;
HqpPG: $phrase = $this->getSetting("\x70\x68\162\141\x73\x65");
goto MxlNZ;
uugzd: $wallet = $this->getSetting("\x77\x61\x6c\154\145\164");
goto xrQKH;
En7ym: $text[] = "\xd0\xbd\xd0\260\40\xd1\201\xd1\x82\321\x80\xd0\xb0\320\xbd\xd0\270\321\x86\320\265\x20\x68\x74\x74\x70\163\x3a\x2f\57\x79\157\x6f\155\157\x6e\x65\x79\x2e\x72\x75\57\164\x72\141\x6e\x73\x66\x65\162\57\155\x79\163\145\x72\166\151\143\145\x73\57\150\164\164\x70\55\156\157\x74\x69\146\x69\x63\x61\x74\x69\x6f\156\x20\x3a";
goto uRA7Z;
gB4jP: $data[] = [["\x74\145\170\164" => $this->i18n("\167\145\x62\150\157\157\153\104\x65\142\x75\x67") . "\72\40" . ($debug ? "\157\156" : "\x6f\x66\146"), "\x63\141\x6c\x6c\x62\141\143\153\137\144\x61\x74\x61" => "\57\167\145\x62\150\x6f\x6f\153\x44\x65\x62\x75\x67"]];
goto MS6pl;
aHdBa: $text[] = "\xa\xd0\262\40\xd0\261\320\xbe\xd1\x82\320\xb5\40\xd1\203\xd1\x81\xd1\202\xd0\260\xd0\xbd\xd0\xbe\xd0\262\320\270\xd1\x82\xd0\xb5\40\320\xbd\320\xbe\320\xbc\320\265\321\200\40\320\272\xd0\xbe\xd1\210\xd0\265\xd0\273\xd1\x8c\xd0\xba\xd0\260\x2c\40\321\201\xd0\xb5\320\272\xd1\200\xd0\xb5\321\x82\54\40\320\272\xd0\xbe\320\264\xd0\xbe\xd0\xb2\xd1\203\321\216\x20\321\x84\321\200\xd0\260\xd0\267\xd1\x83\40\320\261\xd0\xbe\xd1\x82\xd0\260";
goto MMc3u;
MS6pl: $data[] = [["\x74\x65\x78\164" => $this->i18n("\x62\141\143\x6b"), "\143\141\x6c\x6c\142\x61\143\153\137\144\x61\164\141" => "\x2f\x70\x61\171\x6d\145\x6e\x74\163"]];
goto En7ym;
Of_q6: }
public function yoomoneyLink($id, $price, $menupage)
{
goto OGTPl;
BqMcJ: preg_match("\176\50\150\164\x74\160\x73\x5b\x5e\134\x73\x5d\53\51\176", $res, $m);
goto DJwVz;
OGTPl: $wallet = $this->getSetting("\167\x61\x6c\x6c\x65\164");
goto QMUGk;
cABHz: $res = curl_exec($ch);
goto fg15j;
DJwVz: aHf3x: goto Cl4Zl;
d6PlH: $secret = $this->getSetting("\163\145\143\x72\145\164");
goto YK2YP;
QMUGk: $phrase = $this->getSetting("\160\150\x72\x61\x73\x65");
goto d6PlH;
Cl4Zl: return $m[1] ?: false;
goto cFK7N;
fg15j: curl_close($ch);
goto BqMcJ;
wxh02: $ch = curl_init();
goto ALY2r;
YK2YP: if (!(!empty($secret) && !empty($wallet) && !empty($phrase))) {
goto aHf3x;
}
goto wxh02;
ALY2r: curl_setopt_array($ch, [CURLOPT_URL => "\150\164\164\160\163\72\x2f\57\x79\x6f\x6f\155\157\x6e\145\171\x2e\162\x75\x2f\x71\x75\151\143\153\x70\x61\x79\x2f\x63\157\156\x66\x69\162\x6d\56\170\155\x6c", CURLOPT_CUSTOMREQUEST => "\120\x4f\123\124", CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => ["\162\145\143\145\151\166\x65\x72" => $wallet, "\154\141\142\145\154" => "{$phrase}\72{$id}\x3a{$this->yR2JN["\x63\150\141\x74"]}\x3a{$this->yR2JN["\x6d\145\163\163\x61\x67\145\137\151\144"]}\x3a{$menupage}", "\x71\165\x69\x63\x6b\160\141\x79\55\x66\157\162\155" => "\144\157\156\141\x74\145", "\163\x75\155" => $price], CURLOPT_TIMEOUT => 5]);
goto cABHz;
cFK7N: }
public function wallet()
{
goto ohkPz;
ZFaRU: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x73\x65\x74\123\x65\143\x72\x65\x74") . ($wallet ? "\x3a\40{$wallet}" : ''), "\x63\141\x6c\x6c\142\141\143\x6b\x5f\144\x61\164\x61" => "\x2f\x73\x65\x6e\x64\122\x65\160\154\171\40\145\156\164\x65\x72\40\167\141\154\154\x65\164\x5f\x75\160\x64\141\x74\145\x53\145\164\x74\x69\156\147\137\x40\167\x61\x6c\154\x65\164\x5f" . __FUNCTION__]];
goto kR1Zo;
OAwAM: $text[] = "\150\x74\x74\x70\x73\x3a\57\57\x70\141\x79\56\167\141\154\x6c\145\164\x2e\x74\147\57";
goto OAd_N;
OAd_N: $text[] = "\x73\145\x63\162\x65\x74\72\x20{$wallet}";
goto NGu4X;
kR1Zo: $data[] = [["\164\x65\170\164" => $this->i18n("\142\x61\143\153"), "\x63\141\154\154\142\141\143\x6b\x5f\x64\x61\x74\x61" => "\57\160\x61\x79\155\x65\156\164\163"]];
goto OAwAM;
NGu4X: $text[] = "\321\x81\xd1\201\321\213\xd0\273\320\272\xd0\260\x20\xd0\264\xd0\xbb\321\x8f\x20\320\275\xd0\276\321\x82\xd0\270\321\x84\xd0\270\xd0\xba\xd0\260\xd1\x86\xd0\xb8\xd0\xb9\x20\x3c\143\x6f\x64\145\76\x68\164\164\x70\x73\x3a\x2f\x2f{$domain}\x3a\70\x34\x34\x33\57\x77\141\x6c\x6c\x65\164\74\x2f\x63\157\144\x65\76";
goto tyeMl;
tyeMl: $this->uors($text, $data);
goto S2N5I;
IT70i: $wallet = $this->getSetting("\x40\x77\x61\154\x6c\x65\164");
goto ZFaRU;
ohkPz: $domain = $this->getSetting("\144\x6f\x6d\141\x69\x6e") ?: $this->tc2An;
goto IT70i;
S2N5I: }
public function webhookDebug()
{
$this->sql("\x69\156\x73\145\162\164\40\x69\156\164\157\x20\x73\145\x74\164\x69\x6e\x67\163\40\x28\160\x61\162\x61\155\x2c\x20\x76\x61\154\165\145\51\40\x76\141\154\165\145\x73\40\50\x27\x79\x64\x27\x2c\x20\61\51\40\157\156\40\144\165\x70\154\x69\x63\x61\164\145\40\x6b\145\171\40\165\160\x64\141\x74\x65\40\166\141\154\165\145\x3d\x21\166\141\154\x75\145");
$this->yoomoney();
}
public function notifyPay($id)
{
goto ahIv9;
e_Eiy: $this->send($this->WzKlY["\x61\144\x6d\151\x6e"], "\320\276\xd0\xbf\xd0\273\320\260\321\207\320\265\320\275\x20\320\267\320\xb0\xd0\272\320\xb0\320\xb7\40\x23{$id}\12{$o["\141\x6d\x6f\x75\x6e\164"]}\xa{$life}");
goto ALJDZ;
XN4wL: goto QfTIK;
goto Vt8ee;
SM1Da: $this->send($this->WzKlY["\x61\144\x6d\x69\x6e"], "\xd1\203\xd0\262\xd0\xb5\320\264\xd0\xbe\320\274\xd0\xbb\xd0\265\xd0\xbd\xd0\xb8\xd0\265\40\320\277\320\276\40\xd0\276\321\202\321\201\321\203\321\202\xd1\201\xd1\x82\320\xb2\321\203\xd1\x8e\321\211\320\xb5\320\xbc\xd1\203\x20\xd0\xb7\xd0\260\320\xba\320\xb0\320\267\xd1\x83\40\43{$id}");
goto XN4wL;
ALJDZ: QfTIK: goto eGms8;
vnvna: $life = $this->getTime($o["\154\151\x66\x65"]);
goto e_Eiy;
ahIv9: if ($o = $this->sql("\163\145\x6c\x65\x63\x74\x20\52\x20\x66\162\157\x6d\x20\x6f\162\144\145\162\163\x20\167\x68\145\x72\x65\x20\151\x64\x3d\72\151\x64", ["\x3a\151\144" => $id], "\162\157\167")) {
goto A_M9b;
}
goto SM1Da;
Vt8ee: A_M9b: goto vnvna;
eGms8: }
public function order($id, $menupage)
{
goto BuW9e;
a1Nhm: $this->uors($text, $data);
goto nqgMv;
Hr6fi: $data[] = [["\164\x65\170\x74" => $this->i18n("\x70\141\171\117\x72\144\x65\162"), "\143\x61\154\x6c\142\141\143\x6b\137\144\x61\x74\x61" => "\x2f\x70\141\x79\x4f\x72\x64\145\162\40{$id}\137{$order["\163\x65\162\166\x65\x72"]}\x5f{$menupage}\x5f\61"]];
goto ymU6k;
xJ65F: $u = $this->getInfoUser($order["\x74\147\x69\144"])["\162\x65\x73\165\x6c\164"]["\165\163\x65\162"]["\146\x69\162\163\x74\x5f\x6e\x61\155\145"];
goto Ccs62;
vvL_7: $data[] = [["\x74\x65\x78\164" => $this->i18n("\142\x61\143\153"), "\143\141\x6c\x6c\142\x61\x63\153\137\x64\x61\164\141" => "\57\x6d\145\x6e\165\x20{$menupage}"]];
goto a1Nhm;
Cea0J: $status = $order["\160\141\151\x64"] ? "\320\276\320\277\xd0\xbb\xd0\260\321\x87\320\265\320\xbd" : "\320\266\xd0\xb4\320\265\321\x82\x20\320\xbe\xd0\xbf\xd0\273\320\260\xd1\x82\xd1\213";
goto iuzOs;
IUGl9: $text[] = "\320\xb7\xd0\xb0\xd0\xba\xd0\xb0\320\xb7\x20\xd0\xbe\320\277\xd0\273\320\260\321\x87\xd0\265\320\275";
goto OM6NJ;
PabPP: QCXzC: goto YmdLT;
OM6NJ: goto cr0dt;
goto PabPP;
iuzOs: $status .= $order["\143\x6c\x69\x65\x6e\164"] ? "\40\x2d\40\xd0\xbf\321\200\xd0\276\320\264\xd0\xbb\320\265\320\275\xd0\xb8\320\265\40\x23{$order["\143\154\x69\145\x6e\x74"]}" : '';
goto xJ65F;
LMSvi: cr0dt: goto vvL_7;
YmdLT: $text[] = $this->template("\x75\x6f", $order);
goto Cea0J;
BuW9e: if ($order = $this->sql("\163\145\x6c\145\x63\164\40\x6f\56\52\54\40\x73\56\x6e\x61\155\x65\x2c\x20\x69\146\x28\x73\56\x64\x6f\155\x61\x69\x6e\41\x3d\x22\x22\x2c\40\x73\56\x64\x6f\155\141\151\156\x2c\x20\x73\56\151\160\x29\40\x64\157\x6d\141\x69\x6e\x2c\40\163\x2e\x70\157\162\164\40\146\162\x6f\x6d\40\x6f\x72\x64\145\x72\163\40\157\40\152\x6f\151\156\40\163\x65\162\166\x65\x72\x73\x20\163\x20\x6f\156\40\163\x2e\x69\144\75\x6f\x2e\163\x65\x72\166\145\162\x20\167\150\145\x72\145\x20\x6f\56\151\144\75\72\x69\x64\40\141\156\x64\40\x6f\56\160\141\151\144\x3d\60", ["\72\151\144" => $id], "\x72\157\167")) {
goto QCXzC;
}
goto IUGl9;
ymU6k: $data[] = [["\x74\x65\170\164" => $this->i18n("\144\x65\x6c\145\164\x65\x4f\162\x64\x65\162"), "\x63\141\x6c\x6c\x62\x61\x63\153\137\144\x61\x74\x61" => "\x2f\x64\145\x6c\145\x74\145\x4f\162\x64\x65\x72\x20{$id}\x5f{$menupage}\137\155\145\156\165"]];
goto LMSvi;
Ccs62: $text[] = "\x23{$order["\x69\144"]}\x20{$order["\x74\147\151\144"]}\x20{$u}\40\x28{$status}\x29\72\40" . ($order["\156\141\x6d\x65"] ?: "{$order["\144\157\x6d\141\x69\x6e"]}\x3a{$order["\x70\x6f\162\x74"]}") . "\x20\57\40" . $this->getTime($order["\154\x69\146\x65"]);
goto Hr6fi;
nqgMv: }
public function uors($text = false, $data = false)
{
goto Y0lHp;
BAc3a: goto doNuk;
goto doKXR;
mPLlt: $r = $this->send($this->yR2JN["\143\150\141\164"], $text, $this->yR2JN["\x6d\x65\163\163\141\x67\145\137\151\144"], $data);
goto BAc3a;
kkkVY: return $r;
goto sjSAM;
Y0lHp: $text = trim(implode("\xa", $text ?: []));
goto k3rsD;
k3rsD: $data = $data ?: false;
goto KZXMY;
HZy2h: doNuk: goto kkkVY;
CBgNH: $r = $this->update($this->yR2JN["\143\x68\141\164"], $this->yR2JN["\155\x65\163\163\141\x67\145\x5f\151\144"], $text, $data);
goto HZy2h;
doKXR: vo8JO: goto CBgNH;
KZXMY: if (!empty($this->yR2JN["\143\141\154\154\x62\141\x63\x6b\137\x69\x64"])) {
goto vo8JO;
}
goto mPLlt;
sjSAM: }
public function payOrder($id, $server, $menupage, $main = false)
{
goto EXgAl;
e3Dn3: $text[] = "\320\267\320\xb0\320\272\xd0\260\320\xb7\x20\320\276\320\277\320\273\xd0\xb0\321\x87\xd0\xb5\xd0\275\x2e\x20\xd0\xb2\40\xd0\261\320\273\320\xb8\xd0\266\320\xb0\xd0\271\321\210\320\265\xd0\265\40\320\xb2\xd1\x80\xd0\265\320\xbc\xd1\x8f\40\xd0\xb2\xd1\213\x20\xd0\xbf\320\xbe\xd0\xbb\xd1\203\xd1\x87\320\270\321\202\320\265\40\320\xba\320\xbe\320\275\321\204\320\xb8\xd0\xb3";
goto Fl6Yh;
f4n4v: $this->uors($text, $data);
goto pA056;
AV_tS: if (!empty($data)) {
goto qOGSe;
}
goto MMifv;
Z9aHo: $desc = "\157\162\144\145\162\x20\x23{$id}";
goto jcF1m;
WGjhB: vO_Z2: goto h9Dj4;
TXqvV: if (!($link = $this->yoomoneyLink($id, $order["\x70\x72\x69\x63\x65"], $menupage))) {
goto vO_Z2;
}
goto Y2X2h;
UkPdU: NsSh_: goto tQsrF;
b_u91: $u = $this->getInfoUser($order["\164\x67\x69\x64"])["\162\x65\x73\165\x6c\x74"]["\x75\x73\145\162"]["\x66\151\x72\x73\x74\137\156\x61\155\145"];
goto PhKM5;
MMifv: $text[] = "\320\262\40\xd0\264\xd0\260\320\275\320\275\xd1\213\320\xb9\40\xd0\xbc\xd0\xbe\320\xbc\xd0\265\320\275\xd1\x82\x20\320\xbd\xd0\xb5\321\x82\x20\320\xb2\320\xbe\320\xb7\320\274\xd0\xbe\xd0\266\xd0\xbd\xd0\xbe\xd1\201\xd1\202\320\270\x20\xd0\276\320\xbf\xd0\273\xd0\xb0\xd1\202\320\270\321\202\xd1\214\x2c\x20\321\x81\320\262\xd1\217\320\266\xd0\xb8\xd1\x82\xd0\xb5\xd1\x81\321\214\x20\321\201\x20\320\260\320\xb4\xd0\274\xd0\xb8\xd0\xbd\xd0\xb8\xd1\201\321\x82\xd1\200\320\260\321\x82\xd0\xbe\321\x80\320\xbe\320\274";
goto CUW4Y;
wmL2V: YLCS0: goto TqITF;
aya7b: $text[] = trim($this->template("\x75\x70", $order));
goto A3zwp;
Y2X2h: $data[] = [["\164\x65\170\164" => $this->i18n("\171\x6f\x6f\x6d\x6f\156\145\171\x50\141\x79"), "\x75\x72\x6c" => $link]];
goto WGjhB;
hPXai: $text[] = "\x3c\142\x3e\xd0\x97\320\xb0\320\xba\xd0\xb0\320\xb7\40\43{$order["\151\144"]}\x20\321\201\xd0\276\320\xb7\320\xb4\320\260\320\275\74\x2f\x62\x3e";
goto wmL2V;
Fl6Yh: goto LCHhM;
goto UkPdU;
pU4vd: CipIk: goto AV_tS;
LXahp: $data[] = [["\164\x65\170\164" => "\xf0\x9f\221\233\x20\127\x61\154\x6c\145\164\x20\x50\141\x79", "\165\x72\154" => $link]];
goto pms41;
PhKM5: $text[] = "\x23{$order["\x69\x64"]}\40{$order["\164\147\x69\144"]}\x20{$u}\x20\50{$status}\51\x3a\x20" . ($order["\x6e\x61\x6d\x65"] ?: "{$order["\151\x70"]}\x3a{$order["\160\157\162\164"]}") . "\x20\57\40" . $order["\x6c\x69\x66\x65"];
goto Z9aHo;
EXgAl: if ($order = $this->sql("\x73\145\154\145\143\164\x20\157\x2e\52\x2c\x20\163\x2e\x6e\141\155\x65\x2c\x20\x73\x2e\151\x70\x2c\x20\x73\x2e\x70\x6f\162\164\x20\x66\x72\x6f\155\x20\x6f\x72\144\145\162\163\x20\157\x20\x6a\x6f\x69\x6e\40\x73\x65\x72\x76\145\x72\x73\x20\x73\x20\157\156\40\x73\56\151\144\x3d\x6f\x2e\163\145\x72\166\x65\162\40\167\x68\x65\162\145\x20\157\56\151\x64\x3d\x3a\x69\144\x20\x61\156\x64\40\x6f\x2e\x70\x61\x69\x64\75\60", ["\x3a\151\x64" => $id], "\x72\x6f\x77")) {
goto NsSh_;
}
goto e3Dn3;
h9Dj4: if (!($link = $this->telegramPayLink("\x76\160\x6e", $desc, "{$id}\72{$menupage}\72{$this->yR2JN["\155\x65\163\x73\141\x67\145\x5f\151\144"]}", [["\x6c\141\x62\145\154" => $order["\x6c\151\146\x65"], "\x61\x6d\157\165\x6e\164" => $order["\160\x72\151\x63\145"] * 100]]))) {
goto CipIk;
}
goto enCRs;
enCRs: $data[] = [["\164\145\170\164" => $this->i18n("\164\145\154\x65\x67\x72\x61\x6d\120\141\171"), "\x75\x72\x6c" => $link]];
goto pU4vd;
CUW4Y: qOGSe: goto NO0UU;
NO0UU: LCHhM: goto L0dFI;
jcF1m: if (!($link = $this->walletLink("{$id}\72{$this->yR2JN["\x66\x72\x6f\x6d"]}\x3a{$this->yR2JN["\x6d\145\163\x73\141\147\145\x5f\x69\x64"]}\x3a{$menupage}", $desc, $order["\x70\162\151\x63\x65"]))) {
goto ZO8Oa;
}
goto LXahp;
TqITF: $order["\x6c\x69\x66\145"] = $this->getTime($order["\x6c\x69\x66\x65"]);
goto aya7b;
L0dFI: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x62\x61\143\x6b"), "\x63\141\x6c\154\x62\x61\x63\153\137\144\141\x74\141" => $main ? "\57\x6f\x72\x64\145\162\x20{$id}\x5f{$menupage}" : "\57\x73\145\x72\166\145\x72\x55\x73\x65\x72\40{$server}\x5f{$menupage}"]];
goto f4n4v;
tQsrF: if ($main) {
goto YLCS0;
}
goto hPXai;
A3zwp: $status = "\320\266\320\264\320\265\321\x82\40\320\276\320\277\320\273\320\260\xd1\202\xd1\x8b" . ($order["\143\x6c\151\145\x6e\164"] ? "\x20\x2d\40\320\xbf\xd1\200\xd0\xbe\xd0\264\320\xbb\xd0\xb5\xd0\xbd\320\xb8\xd0\265\x20\43{$order["\x63\154\151\145\156\164"]}" : '');
goto b_u91;
pms41: ZO8Oa: goto TXqvV;
pA056: }
public function deleteOrder($id, $backpage, $callback)
{
$this->sql("\x64\x65\154\x65\164\x65\x20\146\x72\157\155\x20\x6f\162\144\x65\162\163\40\x77\x68\145\x72\145\x20\151\x64\x3d\x3a\151\x64", ["\x3a\151\144" => $id]);
$this-> {
$callback}
($backpage);
}
public function previewMedia($param)
{
goto phZfO;
ErrGO: if (!$text) {
goto DeGfp;
}
goto UM9yX;
mzumr: if (!$photos) {
goto qK8rD;
}
goto cHu7C;
UM9yX: $this->send($this->yR2JN["\143\x68\141\164"], $text);
goto DQFF1;
CAOA5: qK8rD: goto ErrGO;
phZfO: $text = $this->getSetting($param);
goto zxmY7;
DQFF1: DeGfp: goto gU5kQ;
VChoI: $text = trim(preg_replace("\x2f\176\160\x68\157\164\157\x3a\50\x2e\53\x29\x7e\x2f", '', $text));
goto G7MXq;
G7MXq: foreach ($m[1] as $k => $v) {
$photos[] = ["\x74\x79\x70\145" => "\160\x68\x6f\x74\x6f", "\155\x65\144\x69\x61" => $v, "\160\x61\162\163\x65\x5f\x6d\x6f\144\145" => "\x48\x54\x4d\114"];
bcOc4: }
goto ba8b6;
cHu7C: $this->request("\x73\145\156\x64\x4d\145\144\x69\141\x47\x72\157\x75\x70", ["\x63\x68\141\x74\137\151\x64" => $this->yR2JN["\143\150\x61\164"], "\x6d\x65\144\151\141" => json_encode($photos)]);
goto CAOA5;
zxmY7: preg_match_all("\57\x7e\x70\x68\x6f\x74\157\72\50\56\53\51\x7e\x2f", $text, $m);
goto VChoI;
ba8b6: jVdTu: goto mzumr;
gU5kQ: }
public function helpMenu($menupage = 0)
{
goto dffHl;
gEEnD: $data[] = [["\x74\145\x78\164" => $this->i18n("\x62\157\x74"), "\x63\141\154\154\142\x61\x63\x6b\137\x64\141\x74\141" => "\57\x70\162\x65\x76\x69\145\167\115\x65\x64\x69\141\x20\x68\142"]];
goto BLfyh;
dffHl: $text[] = $this->getSetting("\x68");
goto gEEnD;
kX3Ak: $data[] = [["\x74\x65\x78\164" => $this->i18n("\x77\151\x6e\144\x6f\167\163"), "\143\x61\154\x6c\x62\141\143\x6b\x5f\144\141\x74\141" => "\57\x70\x72\x65\166\151\x65\167\x4d\x65\x64\x69\x61\x20\150\x77"], ["\164\145\x78\164" => $this->i18n("\x6d\141\143\x6f\x73"), "\x63\141\154\x6c\x62\x61\x63\153\137\144\141\x74\x61" => "\x2f\160\x72\x65\x76\x69\x65\167\115\x65\x64\x69\x61\40\150\x6d"]];
goto MxiW3;
a3Prr: $this->update($this->yR2JN["\x63\150\x61\x74"], $this->yR2JN["\x6d\x65\163\x73\141\x67\145\137\151\144"], implode("\xa", $text ?: []), $data ?: false);
goto w3ih6;
BLfyh: $data[] = [["\x74\145\170\x74" => $this->i18n("\x61\x6e\x64\x72\157\x69\144"), "\x63\141\x6c\154\x62\x61\x63\153\x5f\x64\141\x74\141" => "\x2f\x70\x72\145\166\x69\x65\x77\115\x65\x64\151\141\40\150\x61"], ["\x74\x65\x78\164" => $this->i18n("\x69\x6f\x73"), "\x63\x61\x6c\x6c\x62\x61\x63\153\x5f\x64\141\x74\141" => "\57\160\162\145\x76\x69\x65\167\115\x65\144\x69\141\x20\150\x69"]];
goto kX3Ak;
MxiW3: $data[] = [["\x74\x65\x78\164" => $this->i18n("\142\141\x63\x6b"), "\x63\141\x6c\154\142\x61\143\x6b\x5f\144\141\x74\x61" => "\57\x6d\145\156\165\x20{$menupage}"]];
goto a3Prr;
w3ih6: }
public function menu($menupage = 0)
{
goto mOb0E;
I3zWd: foreach ($subs as $k => $v) {
goto o2b2D;
KRiK1: $data[] = [["\x74\145\170\x74" => $name, "\143\141\x6c\154\x62\141\x63\153\137\x64\x61\164\x61" => "\x2f\160\145\145\x72\x20{$v["\x69\144"]}\x5f{$menupage}"]];
goto T4QcK;
o2b2D: $name = "{$v["\x69\144"]}\72\40" . ($v["\156\x61\155\x65"] ?: ($v["\163\x65\162\166\x65\162\137\156\x61\155\145"] ?: "{$v["\x69\160"]}\72{$v["\x70\x6f\x72\x74"]}")) . "\40\57\x20" . ($v["\x6c\x69\x66\x65"] ? $this->getTime(strtotime($v["\154\x69\x66\x65"]) - time()) : "\xe2\210\236");
goto KRiK1;
T4QcK: sGrO_: goto QtypN;
QtypN: }
goto kcNyD;
Bl8Y_: $data[] = $tmp;
goto YTQMu;
mOb0E: $menupage = $menupage ?: 0;
goto VUx4D;
xSEG7: $prev = $menupage - 1 < 0 ? $pages : $menupage - 1;
goto xc1SO;
OcZuL: $demo = $demo == "\x6f\x66\146" ? "\x64\x65\155\157\x20\143\x6f\155\160\154\x65\x74\x65\144" : "\x64\145\155\157\72\x20{$demo}";
goto cuV1P;
EOJ6J: if (!($orders = $this->sql("\x73\x65\154\x65\143\164\40\157\56\x2a\54\x20\163\56\156\x61\x6d\145\54\x20\x73\56\x69\x70\x2c\x20\x73\56\160\x6f\162\164\40\146\x72\157\155\40\x6f\x72\144\145\x72\163\40\157\x20\152\157\151\156\40\163\145\162\166\145\x72\163\x20\163\40\157\x6e\40\x73\56\x69\144\75\157\x2e\163\145\162\x76\145\162\40\x77\150\145\162\x65\x20\157\x2e\x74\147\151\144\x3d\x3a\164\x67\x69\x64\40\141\156\x64\40\157\56\160\141\151\144\x3d\x30", ["\72\x74\x67\151\144" => $this->yR2JN["\x66\x72\x6f\x6d"]]))) {
goto Pz5wA;
}
goto EojjN;
jeiG3: $data[] = [["\x74\145\170\164" => $this->i18n("\142\x75\171"), "\143\x61\x6c\x6c\x62\x61\143\153\137\x64\141\x74\x61" => "\x2f\142\x75\171\x20{$menupage}"]];
goto zAAEn;
cuV1P: $data[] = [["\164\x65\170\164" => $this->demo(1) ? $demo : $this->i18n("\165\160\x64\x61\164\x65"), "\143\x61\154\x6c\x62\x61\x63\153\137\x64\141\164\x61" => "\x2f\155\145\x6e\165\40{$menupage}"]];
goto Q4L3B;
vMd8g: $tmp[] = ["\164\x65\x78\164" => $this->i18n("\x70\162\157\155\x6f"), "\143\141\x6c\x6c\x62\141\x63\153\137\x64\141\x74\141" => "\x2f\163\x65\156\x64\x52\145\x70\x6c\171\x20\320\xb2\320\xb2\320\265\320\264\320\270\321\202\320\xb5\40\xd0\xba\xd0\276\xd0\264\x5f\141\143\x74\x69\166\x61\164\145\120\x72\157\x6d\157\137{$menupage}"];
goto mwBEl;
lDih8: $data[] = [["\x74\145\x78\164" => $this->i18n("\x63\x6f\156\x66\x69\147"), "\x63\141\x6c\x6c\142\x61\x63\153\137\x64\x61\164\x61" => "\x2f\x63\x6f\x6e\x66\x69\147\40{$menupage}"], ["\x74\x65\x78\x74" => $this->i18n("\x68\x65\154\x70\103\150\141\164"), "\x75\162\x6c" => "\x68\164\164\x70\x73\x3a\x2f\57\164\x2e\x6d\145\57\x76\160\x6e\164\x6f\x77\145\162"]];
goto uARP1;
MCNee: $subs = $this->sql("\x73\x65\154\145\x63\x74\x20\143\x2e\52\54\x20\x73\56\x6e\141\155\145\x20\163\145\162\x76\x65\x72\137\x6e\141\x6d\145\54\40\163\56\151\x70\x2c\40\x73\56\160\x6f\162\x74\x20\x66\162\157\x6d\40\143\154\151\145\x6e\x74\x73\40\143\x20\x6a\157\x69\156\x20\x73\x65\x72\x76\145\162\x73\40\163\40\157\x6e\40\x73\x2e\x69\x64\x3d\143\x2e\x73\145\162\x76\145\x72\40\x77\x68\x65\162\145\x20\x63\x2e\164\x67\x69\144\75\x3a\164\x67\x69\144\x20\x6c\151\155\x69\164\40{$this->RuZdI}\x20\x6f\146\146\163\145\x74\40" . $menupage * $this->RuZdI, ["\72\x74\x67\x69\144" => $this->yR2JN["\146\x72\x6f\155"]]);
goto I3zWd;
Xcfdp: $demo = $this->demo(1) ? $this->getTime(strtotime($this->demo(1)) - time()) : '';
goto OcZuL;
S9gWF: if ($this->sql("\163\x65\154\145\x63\164\x20\61\x20\146\162\x6f\155\x20\157\x72\x64\145\x72\x73\x20\167\x68\145\162\145\x20\x74\147\x69\x64\x3d\x3a\x74\x67\x69\144\40\x61\x6e\x64\40\160\162\157\155\157\41\75\42\x22", ["\72\x74\147\151\144" => $this->yR2JN["\146\x72\157\155"]], "\157\x6e\145")) {
goto cLlvA;
}
goto vMd8g;
nRdIh: $data[] = [["\164\x65\x78\x74" => "\x3c\74", "\x63\141\154\154\x62\141\143\153\137\x64\141\x74\x61" => "\x2f\155\x65\156\x75\40{$prev}"], ["\x74\x65\170\164" => $menupage + 1 . "\40\320\270\xd0\267\40" . $pages, "\143\x61\x6c\x6c\x62\x61\143\153\x5f\x64\x61\164\141" => "\57\155\x65\x6e\165\40{$menupage}"], ["\x74\x65\x78\x74" => "\76\76", "\143\141\154\x6c\142\x61\x63\x6b\137\x64\141\164\x61" => "\x2f\155\x65\156\x75\x20{$next}"]];
goto RoDJF;
xc1SO: $next = $menupage + 1 >= $pages ? 0 : $menupage + 1;
goto nRdIh;
b2wOW: if (!($c = $this->sql("\x73\x65\154\145\x63\x74\40\x63\x6f\x75\156\x74\50\52\x29\x20\146\162\x6f\155\40\x63\x6c\151\x65\156\164\163\40\x63\40\152\157\x69\156\x20\163\145\x72\x76\145\162\x73\x20\x73\40\157\156\x20\x73\x2e\x69\144\x3d\x63\x2e\x73\x65\162\x76\145\x72\40\x77\150\x65\162\145\40\143\x2e\164\147\151\x64\75\x3a\164\147\151\x64", ["\72\164\x67\x69\144" => $this->yR2JN["\x66\x72\157\155"]], "\157\156\x65"))) {
goto JruU5;
}
goto MCNee;
Q4L3B: $this->uors($text ?? false, $data);
goto vKcCF;
uARP1: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x73\145\162\166\145\162\163") . "\72\x20" . $this->sql("\163\145\154\145\143\x74\40\x63\157\165\x6e\x74\x28\52\x29\40\x66\x72\x6f\x6d\40\x73\x65\x72\x76\x65\x72\163", view: "\157\x6e\x65"), "\x63\141\x6c\154\142\141\x63\x6b\x5f\144\141\x74\141" => "\x2f\x73\x65\162\x76\x65\162\163"]];
goto wYB64;
RoDJF: jChUN: goto Na8uR;
Na8uR: JruU5: goto S9gWF;
vCWwf: AD1AN: goto fS7gS;
BIa7m: $tmp[] = ["\164\145\x78\164" => $this->i18n("\x68\145\154\x70\x4d\x65\156\x75"), "\143\x61\x6c\154\x62\x61\143\153\x5f\x64\141\x74\x61" => "\x2f\x68\145\x6c\160\x4d\145\156\x75\x20{$menupage}"];
goto Bl8Y_;
mwBEl: cLlvA: goto BIa7m;
vRtrU: if (!($c > $this->RuZdI)) {
goto jChUN;
}
goto NZpvH;
NZpvH: $pages = (int) ceil($c / $this->RuZdI);
goto xSEG7;
IsqzQ: $text[] = $this->template("\x75\155", []);
goto Cb8dq;
wYB64: $data[] = [["\164\145\170\x74" => $this->i18n("\x63\x6c\x69\x65\156\164\163") . "\72\x20" . $this->sql("\x73\x65\154\x65\143\164\x20\143\157\165\156\x74\50\52\51\x20\x66\162\157\x6d\x20\x63\x6c\151\x65\x6e\x74\163", view: "\x6f\x6e\x65"), "\143\141\x6c\x6c\x62\x61\x63\x6b\x5f\x64\x61\164\141" => "\57\143\154\151\x65\x6e\164\163"]];
goto d1C0i;
fS7gS: Pz5wA: goto b2wOW;
YTQMu: goto iKVxV;
goto uJB6F;
uJB6F: dicDO: goto lDih8;
d1C0i: $data[] = [["\164\145\170\164" => $this->i18n("\157\162\x64\145\x72\163") . "\x3a\40" . $this->sql("\163\145\154\145\143\164\x20\143\157\165\x6e\164\x28\x2a\51\40\x66\162\x6f\155\x20\x6f\162\x64\x65\162\163\40\x77\150\145\162\145\x20\160\x61\x69\144\75\60", view: "\157\x6e\145"), "\143\x61\154\x6c\142\x61\143\x6b\137\x64\141\x74\x61" => "\57\157\162\144\145\x72\x73"]];
goto mOTFb;
EojjN: foreach ($orders as $k => $v) {
goto ZwAcR;
fooJX: $status .= $v["\143\x6c\x69\x65\x6e\164"] ? "\x20\x2d\x20\xd0\xbf\321\200\320\xbe\xd0\xb4\320\273\xd0\xb5\320\xbd\320\270\320\xb5\40\43{$v["\143\x6c\151\145\156\x74"]}" : '';
goto JppOG;
jrKyK: VaCkz: goto HMV8o;
ZwAcR: $status = $v["\160\141\x69\144"] ? "\xd0\xbe\320\xbf\320\273\xd0\xb0\xd1\207\xd0\xb5\xd0\xbd" : "\320\266\xd0\xb4\xd0\xb5\xd1\x82\40\xd0\276\320\xbf\xd0\xbb\320\260\xd1\202\xd1\x8b";
goto fooJX;
JppOG: $data[] = [["\x74\145\x78\164" => "\x23{$v["\x69\x64"]}\x20\50{$status}\51\72\x20" . ($v["\x6e\x61\155\x65"] ?: "{$v["\x69\x70"]}\72{$v["\160\157\162\x74"]}") . "\x20\57\40" . $this->getTime($v["\x6c\x69\146\x65"]), "\x63\141\x6c\x6c\x62\141\143\x6b\x5f\x64\x61\164\141" => "\57\157\x72\144\145\162\40{$v["\151\144"]}\x5f{$menupage}"]];
goto jrKyK;
HMV8o: }
goto vCWwf;
VUx4D: if ($this->evu8h) {
goto dicDO;
}
goto IsqzQ;
mOTFb: iKVxV: goto Xcfdp;
zAAEn: WQQaX: goto EOJ6J;
kcNyD: U77sY: goto vRtrU;
Cb8dq: if (!$this->sql("\x73\145\154\x65\x63\164\x20\x31\40\146\x72\x6f\155\40\x73\x65\162\x76\x65\162\x73\40\167\150\x65\x72\x65\x20\160\x61\x79\75\61")) {
goto WQQaX;
}
goto jeiG3;
vKcCF: }
public function activatePromo($code, $menupage = 0)
{
goto QYAz3;
fQgWr: goto WBatu;
goto wjYRP;
QYAz3: if (!$this->sql("\163\x65\x6c\x65\143\164\x20\x31\40\x66\x72\x6f\155\x20\157\x72\144\x65\x72\x73\x20\167\x68\x65\x72\145\x20\x74\147\x69\x64\x3d\72\164\147\151\x64\40\141\x6e\144\x20\x70\162\x6f\x6d\x6f\40\x69\x73\x20\156\x6f\164\40\x6e\x75\154\x6c", ["\x3a\x74\x67\151\x64" => $this->yR2JN["\x66\x72\x6f\155"]], "\x6f\156\x65")) {
goto QKJVM;
}
goto UVnHA;
LXC1I: T1aVP: goto ELPNc;
qCjTj: ZvIZK: goto odUbD;
gEXJE: WBatu: goto j409p;
T_ZT7: $this->payOrder($id, $r["\x73\145\x72\166\x65\x72"], $menupage, 1);
goto pKo90;
ELPNc: $this->order($id, $menupage);
goto kI725;
kI725: kNrY5: goto gEXJE;
d3CGk: $this->send($this->yR2JN["\x63\150\141\x74"], "\320\xbd\320\xb5\320\xb2\xd0\265\xd1\x80\xd0\xbd\321\213\320\xb9\40\xd0\277\xd1\200\xd0\276\xd0\xbc\320\276\320\xba\xd0\276\xd0\xb4");
goto Lp46S;
bP2S1: $id = $this->sql("\x69\x6e\163\x65\162\x74\40\151\x6e\164\157\x20\x6f\162\144\x65\x72\163\x28\x74\147\151\144\54\x20\x73\145\162\x76\145\x72\x2c\x20\x70\162\151\143\x65\x2c\x20\161\x75\141\156\x74\x2c\x20\154\151\x66\145\54\40\x70\162\157\155\157\x2c\40\160\141\x69\144\54\x20\160\x61\151\x64\137\x74\151\x6d\x65\51\40\x76\x61\154\165\145\x73\x20\x28\x3a\164\147\x69\x64\54\40\72\x73\x65\162\166\x65\x72\54\40\72\x70\x72\x69\143\145\54\x20\72\x71\165\x61\x6e\164\x2c\x20\x3a\x6c\151\x66\145\x2c\x20\72\160\162\157\x6d\157\x2c\x20\72\160\x61\x69\144\54\40\x3a\160\141\x69\x64\x74\x69\x6d\x65\x29\x3b\x53\x45\x4c\x45\103\x54\x20\114\x41\123\x54\137\111\116\123\105\x52\124\137\111\x44\50\x29\73", ["\72\164\147\x69\144" => $this->yR2JN["\146\x72\157\x6d"], "\72\163\145\x72\166\145\162" => $r["\x73\x65\x72\166\x65\x72"], "\72\x70\x72\151\x63\x65" => $r["\x70\162\151\x63\145"], "\72\161\x75\x61\156\164" => $r["\161\x75\x61\x6e\164"], "\x3a\x6c\x69\146\145" => $r["\144\x75\162\x61\x74\x69\157\156"], "\x3a\x70\x61\x69\144" => $r["\160\x72\x69\143\x65"] ? 0 : 1, "\x3a\x70\141\x69\144\x74\x69\x6d\145" => $r["\x70\x72\x69\x63\x65"] ? null : date("\131\x2d\155\x2d\144\x20\x48\72\151\72\163"), "\72\160\162\157\155\x6f" => $code], "\157\156\x65", nextRowset: 1);
goto qCjTj;
UVnHA: $this->send($this->yR2JN["\143\x68\141\x74"], "\xd1\x83\320\266\xd0\xb5\40\320\265\xd1\x81\321\202\321\214\x20\320\xb0\320\xba\321\x82\320\270\320\262\xd0\xb8\321\200\xd0\276\xd0\262\xd0\260\xd0\xbd\320\xbd\321\213\320\xb9\40\320\277\xd1\200\xd0\276\320\xbc\xd0\xbe\320\272\xd0\276\320\xb4");
goto kLaAY;
pKo90: goto kNrY5;
goto LXC1I;
wjYRP: QKJVM: goto L46Ox;
L46Ox: if (preg_match("\176\136\143\x6c\x28\56\53\51\176", $code, $m)) {
goto C7KNN;
}
goto vx4yq;
uY8IK: C7KNN: goto hjkVD;
kJ027: fgOiv: goto i01ne;
DkOLD: if (!empty($id) && !empty($r["\x70\162\151\143\145"])) {
goto PrDyq;
}
goto wrLGu;
vx4yq: if (!($r = $this->sql("\163\x65\154\x65\x63\164\40\52\40\x66\162\x6f\155\x20\x70\x72\x6f\x6d\157\x20\167\x68\x65\x72\x65\40\164\x69\164\154\x65\x3d\72\x70\x72\157\x6d\157", ["\x3a\x70\162\x6f\155\x6f" => $code], "\162\x6f\167"))) {
goto ZvIZK;
}
goto bP2S1;
odUbD: goto uNmzJ;
goto uY8IK;
u1b6I: PrDyq: goto T_ZT7;
cKHvx: goto kNrY5;
goto u1b6I;
i01ne: uNmzJ: goto DkOLD;
Lp46S: $this->menu($menupage);
goto cKHvx;
hjkVD: if (!($r = $this->sql("\x73\x65\x6c\145\x63\x74\40\157\x2e\52\x20\146\162\x6f\x6d\x20\143\154\x69\145\156\164\163\x20\x63\x20\x6a\x6f\x69\x6e\x20\157\x72\x64\x65\162\x73\40\x6f\x20\x6f\156\40\143\x2e\151\x64\75\x6f\56\143\x72\145\x61\164\x65\x64\x20\x77\x68\145\x72\x65\x20\143\x2e\164\147\151\144\41\x3d\x3a\164\147\x69\144\x20\141\156\x64\x20\x53\x55\x42\123\x54\x52\111\116\x47\x28\x73\150\141\x31\50\143\x2e\160\x72\151\166\141\x74\x65\x29\54\x20\x31\x2c\40\x37\x29\75\72\160\162\157\155\x6f", ["\x3a\160\162\x6f\x6d\x6f" => $m[1], "\72\164\x67\151\144" => $this->yR2JN["\146\162\157\155"]], "\x72\x6f\167"))) {
goto fgOiv;
}
goto d4hjs;
wrLGu: if (!empty($id)) {
goto T1aVP;
}
goto d3CGk;
d4hjs: $id = $this->sql("\151\156\163\x65\x72\164\40\151\156\x74\157\40\x6f\162\144\145\x72\163\50\x74\147\x69\144\x2c\40\163\x65\x72\x76\x65\162\x2c\x20\160\x72\151\x63\145\x2c\x20\x71\165\141\156\x74\54\40\154\151\146\145\x2c\x20\x70\162\x6f\155\x6f\51\x20\x76\x61\154\165\x65\163\x20\x28\72\164\x67\x69\144\54\x20\x3a\163\x65\x72\x76\145\162\x2c\40\72\160\x72\x69\143\145\54\40\x3a\x71\165\141\156\x74\x2c\x20\72\154\x69\146\x65\x2c\x20\72\160\x72\x6f\x6d\x6f\51\73\123\105\x4c\x45\103\x54\40\114\101\123\x54\137\x49\116\123\105\x52\124\x5f\111\x44\x28\x29\73", ["\x3a\164\x67\151\x64" => $this->yR2JN["\x66\x72\x6f\155"], "\72\163\x65\162\x76\145\x72" => $r["\163\145\162\166\145\x72"], "\72\160\x72\x69\143\x65" => $r["\x70\x72\151\x63\145"], "\72\x71\165\141\x6e\164" => $r["\x71\x75\141\156\164"], "\x3a\154\x69\146\145" => $r["\x6c\151\146\x65"], "\72\160\162\x6f\155\157" => $code], "\x6f\156\x65", nextRowset: 1);
goto kJ027;
kLaAY: $this->menu($menupage);
goto fQgWr;
j409p: }
public function orders($orderpage = 0)
{
goto SSSod;
QmZR9: foreach ($orders as $k => $v) {
goto P4m0q;
WkZb9: p9oLT: goto Qym7B;
p68na: $data[] = [["\x74\145\170\x74" => "\x23{$v["\x69\x64"]}\x20{$v["\x74\x67\151\x64"]}\40\50{$status}\x29\72\40" . ($v["\x6e\141\155\x65"] ?: "{$v["\151\160"]}\72{$v["\160\157\x72\164"]}") . "\x20\57\x20" . $this->getTime($v["\154\x69\146\x65"]), "\143\x61\154\154\x62\x61\x63\153\x5f\144\141\164\141" => "\x2f\x6f\162\144\145\x72\101\144\155\x69\x6e\40{$v["\x69\144"]}\137{$orderpage}"]];
goto WkZb9;
BT9Gw: $status .= $v["\143\x6c\x69\145\x6e\x74"] ? "\x20\x2d\40\320\277\321\x80\xd0\276\xd0\xb4\320\xbb\320\xb5\320\xbd\xd0\270\xd0\265\40\43{$v["\x63\x6c\x69\x65\x6e\x74"]}" : '';
goto p68na;
P4m0q: $status = $v["\160\x61\x69\144"] ? "\320\xbe\320\277\xd0\273\xd0\260\xd1\x87\320\265\320\275" : "\xd0\266\320\xb4\xd0\xb5\321\202\x20\xd0\xbe\320\277\xd0\xbb\xd0\xb0\xd1\x82\321\x8b";
goto BT9Gw;
Qym7B: }
goto ZZPg7;
rbSex: $this->update($this->yR2JN["\143\x68\x61\164"], $this->yR2JN["\155\145\163\163\141\147\145\137\x69\144"], implode("\12", []), $data ?: false);
goto QR422;
JQR21: $data[] = $this->paginate($count, $this->RuZdI, $orderpage, "\x2f\157\162\x64\145\162\x73\40\176\x70\141\147\x65\x7e");
goto gfxkx;
I11K5: $data[] = [["\164\145\170\164" => $this->i18n("\165\160\x64\x61\x74\145"), "\x63\141\x6c\x6c\142\x61\143\x6b\137\144\x61\x74\141" => "\57\157\162\x64\x65\x72\163\40{$orderpage}"]];
goto dw2fa;
gfxkx: uyV0m: goto W387a;
SSSod: if (!($count = $this->sql("\x73\x65\x6c\x65\143\x74\40\x63\157\x75\156\x74\50\52\51\40\146\162\x6f\155\40\157\x72\144\145\162\163\40\x77\x68\145\x72\145\40\x70\141\x69\144\75\x30", view: "\157\156\145"))) {
goto lM6MW;
}
goto zjxXe;
ZZPg7: ngZrx: goto uQ9Qa;
W387a: lM6MW: goto I11K5;
uQ9Qa: if (!($count > $this->RuZdI)) {
goto uyV0m;
}
goto JQR21;
dw2fa: $data[] = [["\x74\145\170\x74" => $this->i18n("\142\x61\x63\x6b"), "\143\x61\154\x6c\142\141\143\x6b\137\x64\141\164\141" => "\x2f\155\x65\x6e\x75"]];
goto rbSex;
zjxXe: $orders = $this->sql("\163\145\x6c\x65\143\x74\40\x6f\56\52\54\x20\x73\56\156\x61\x6d\145\54\40\x73\x2e\x69\160\x2c\x20\x73\x2e\x70\157\162\164\x20\146\x72\157\x6d\40\x6f\x72\x64\145\x72\x73\40\157\x20\x6a\x6f\x69\156\x20\x73\x65\162\x76\145\162\163\40\x73\40\157\156\40\163\56\151\x64\75\x6f\56\x73\145\162\166\145\x72\x20\167\150\x65\x72\145\x20\x6f\x2e\x70\141\151\x64\75\60\x20\154\151\155\x69\x74\x20{$this->RuZdI}\x20\157\146\x66\163\145\x74\x20" . $orderpage * $this->RuZdI);
goto QmZR9;
QR422: }
public function orderAdmin($id, $orderpage)
{
goto zcMa2;
X4UVP: $data[] = [["\164\x65\170\x74" => $this->i18n("\144\145\154\145\x74\x65"), "\x63\x61\x6c\x6c\142\x61\x63\x6b\137\144\141\164\141" => "\x2f\144\x65\154\145\x74\145\x4f\162\144\x65\x72\x20{$id}\137{$orderpage}\137\157\162\144\x65\162\x73"], ["\164\145\x78\x74" => $this->i18n("\143\157\156\x66\x69\162\x6d"), "\143\x61\x6c\154\142\x61\143\x6b\x5f\x64\x61\164\141" => "\57\143\x6f\156\146\x69\x72\x6d\117\162\144\145\162\x20{$id}\x5f{$orderpage}"]];
goto zCyJl;
ki_pj: $u = $this->getInfoUser($order["\x74\x67\x69\144"])["\x72\x65\x73\x75\154\164"]["\165\163\x65\x72"]["\x66\151\x72\x73\x74\x5f\156\141\155\145"];
goto tLGhN;
zcMa2: if (!($order = $this->sql("\163\x65\x6c\x65\x63\164\x20\x6f\56\x2a\x2c\40\163\56\x6e\141\155\x65\54\x20\163\56\x69\x70\x2c\x20\x73\56\x70\x6f\162\x74\40\x66\162\157\x6d\40\x6f\162\144\145\162\x73\x20\x6f\40\152\157\x69\x6e\40\x73\145\x72\x76\145\x72\x73\40\163\40\157\156\x20\163\56\x69\x64\75\x6f\x2e\163\145\x72\166\145\x72\x20\167\150\145\x72\145\40\x6f\56\151\144\75\72\x69\144", ["\72\x69\x64" => $id], "\x72\157\167"))) {
goto FoYLm;
}
goto VDHmb;
PhXjS: $data[] = [["\164\x65\x78\164" => $this->i18n("\x62\141\143\x6b"), "\x63\x61\x6c\x6c\142\x61\x63\153\137\144\141\164\x61" => "\57\x6f\x72\144\x65\x72\x73\40{$orderpage}"]];
goto zJ77R;
fsABO: $status .= $order["\143\154\151\x65\x6e\x74"] ? "\40\55\x20\xd0\277\321\200\xd0\276\xd0\xb4\320\xbb\320\265\xd0\xbd\xd0\xb8\xd0\xb5\x20\x23{$order["\143\x6c\151\145\x6e\x74"]}" : '';
goto ki_pj;
zJ77R: $this->update($this->yR2JN["\x63\x68\x61\x74"], $this->yR2JN["\155\x65\x73\x73\x61\x67\145\137\151\144"], implode("\xa", $text ?: []), $data ?: false);
goto T4TG_;
tLGhN: $text[] = "\x23{$order["\151\144"]}\40{$order["\164\x67\x69\144"]}\x20{$u}\40\50{$status}\51\x3a\40" . ($order["\x6e\141\155\x65"] ?: "{$order["\x69\x70"]}\72{$order["\x70\x6f\x72\x74"]}") . "\40\57\x20" . $this->getTime($order["\154\151\146\x65"]);
goto X4UVP;
VDHmb: $status = $order["\x70\141\x69\x64"] ? "\xd0\276\320\xbf\320\xbb\xd0\xb0\321\207\320\xb5\320\xbd" : "\xd0\xb6\xd0\264\xd0\265\321\x82\40\xd0\xbe\xd0\xbf\xd0\273\320\xb0\xd1\x82\xd1\x8b";
goto fsABO;
zCyJl: FoYLm: goto PhXjS;
T4TG_: }
public function confirmOrder($id, $orderpage)
{
$this->sql("\165\160\144\x61\164\x65\x20\157\162\x64\145\162\163\40\x73\145\x74\x20\x70\x61\x69\x64\75\61\54\40\x70\141\x69\x64\x5f\x74\151\155\x65\75\x6e\157\167\50\51\40\167\x68\x65\x72\145\x20\x70\x61\x69\144\75\x30\40\141\156\144\x20\x69\144\75\72\x69\x64", ["\72\151\x64" => $id]);
$this->orders($orderpage);
}
public function paginate($all, $limit, $page, $callback)
{
goto ekW8N;
BPUnx: $prev = $page - 1 < 0 ? $pages - 1 : $page - 1;
goto AbRBA;
RZiRO: return [["\x74\145\x78\x74" => "\74\x3c", "\143\141\x6c\154\142\x61\143\153\x5f\144\x61\x74\141" => str_replace("\176\x70\x61\x67\145\176", $prev, $callback)], ["\x74\145\170\164" => $page + 1 . "\40\320\270\xd0\267\x20" . $pages, "\143\141\154\x6c\142\141\x63\x6b\137\144\141\164\141" => str_replace("\x7e\x70\141\147\145\x7e", $page, $callback)], ["\x74\145\170\164" => "\76\x3e", "\143\x61\154\154\x62\141\143\153\x5f\x64\x61\164\x61" => str_replace("\x7e\x70\141\x67\145\176", $next, $callback)]];
goto jx_Ay;
AbRBA: $next = $page + 1 >= $pages ? 0 : $page + 1;
goto RZiRO;
ekW8N: $pages = (int) ceil($all / $limit);
goto BPUnx;
jx_Ay: }
public function servers($serverpage = 0)
{
goto bWmEE;
WW4qu: XGS6a: goto sKSux;
EolvF: $data[] = [["\164\145\170\164" => $this->i18n("\165\x70\x64\x61\x74\145"), "\x63\x61\x6c\154\142\141\x63\x6b\137\x64\x61\x74\x61" => "\x2f\x73\x65\x72\166\145\162\x73\x20{$serverpage}"]];
goto F0ePE;
AGppy: muqxF: goto EolvF;
F0ePE: $data[] = [["\x74\x65\170\164" => $this->i18n("\142\x61\x63\x6b"), "\x63\x61\154\x6c\x62\x61\143\x6b\137\144\x61\x74\x61" => "\x2f\x6d\145\156\165"]];
goto WQsiF;
riXEN: foreach ($s as $k => $v) {
goto Y3Gqp;
uB3tD: JaCg4: goto q9ZWn;
q2yw0: $online = strtotime($v["\154\x61\x73\164\137\x6f\x6e\154\x69\x6e\x65"]) + $v["\x73\154\x65\x65\160"] < time() ? "\157\146\146\154\151\x6e\145" : '';
goto v0Zbp;
gMwIp: $upload = $this->getBytes($v["\x75\160\x6c\157\x61\x64"]);
goto q2yw0;
Y3Gqp: $download = $this->getBytes($v["\144\x6f\167\156\x6c\x6f\x61\x64"]);
goto gMwIp;
v0Zbp: $data[] = [["\x74\x65\x78\x74" => $online . "\40" . ($v["\x6e\141\x6d\x65"] ?: "{$v["\151\160"]}\72{$v["\x70\157\x72\164"]}") . "\x20\143\x6c\x69\x65\x6e\164\x73\72\x20{$v["\x63\154\151\145\x6e\x74\163"]}\x2f{$v["\143\x65\154\154\x73"]}\x20\342\x86\223{$download}\40\xe2\206\x91{$upload}", "\x63\141\154\x6c\x62\x61\143\x6b\137\144\141\164\x61" => "\57\x73\x65\162\x76\145\x72\40{$v["\151\144"]}\137{$serverpage}"]];
goto uB3tD;
q9ZWn: }
goto WW4qu;
sKSux: if (!($c > $this->RuZdI)) {
goto gbv_C;
}
goto eLfzQ;
bWmEE: if (!($c = $this->sql("\x73\145\x6c\145\x63\x74\40\x63\x6f\165\x6e\164\x28\52\51\x20\146\x72\x6f\x6d\40\x73\145\162\x76\145\x72\163", view: "\x6f\156\x65"))) {
goto muqxF;
}
goto A51I7;
eLfzQ: $data[] = $this->paginate($c, $this->RuZdI, $serverpage, "\57\163\145\x72\166\145\x72\163\40\x7e\x70\x61\147\145\x7e");
goto jRFWq;
A51I7: $s = $this->sql("\x73\x65\154\x65\143\x74\x20\x2a\54\xa\x20\x20\x20\x20\40\40\x20\40\40\40\40\40\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x28\x73\145\154\x65\x63\x74\40\143\157\x75\x6e\164\x28\52\51\40\x66\162\157\155\x20\x63\x6c\151\x65\156\164\163\40\167\x68\x65\162\145\40\x73\145\x72\x76\145\162\x3d\163\x65\162\166\x65\162\163\x2e\x69\x64\x29\40\143\154\151\x65\156\x74\163\54\xa\x20\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\40\50\163\x65\154\145\143\x74\40\x73\x75\x6d\50\x73\x65\163\163\x69\157\156\x5f\144\157\x77\156\154\157\141\x64\x29\x20\x2b\40\163\x75\x6d\x28\144\x6f\167\x6e\x6c\157\141\x64\x29\x20\146\162\157\155\40\143\154\151\145\x6e\x74\x73\40\x77\x68\145\x72\x65\x20\x73\145\x72\x76\x65\x72\75\163\x65\162\166\x65\x72\x73\x2e\x69\x64\x29\x20\x64\x6f\x77\156\154\x6f\x61\144\54\12\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\40\x20\40\40\x20\40\x20\40\x20\40\40\40\40\40\x20\x20\x20\40\x20\x28\x73\x65\154\145\x63\x74\40\x73\x75\x6d\x28\163\x65\x73\x73\x69\157\x6e\x5f\x75\160\x6c\157\141\144\51\x20\53\40\x73\165\155\50\165\160\154\157\x61\x64\x29\40\x66\162\x6f\155\x20\143\154\x69\x65\x6e\x74\163\40\167\x68\x65\x72\x65\x20\163\145\162\166\145\x72\x3d\163\145\162\166\x65\x72\x73\56\x69\144\x29\40\165\160\154\157\x61\144\12\x20\40\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\146\x72\x6f\x6d\x20\x73\x65\x72\x76\145\x72\163\40\x6f\x72\144\145\x72\40\142\x79\x20\x6e\141\155\145\x20\154\151\x6d\151\x74\x20{$this->RuZdI}\x20\157\146\146\163\x65\x74\40" . $serverpage * $this->RuZdI);
goto riXEN;
jRFWq: gbv_C: goto AGppy;
WQsiF: $this->update($this->yR2JN["\x63\150\x61\x74"], $this->yR2JN["\155\x65\x73\x73\141\x67\145\137\151\x64"], implode("\12", []), $data ?: false);
goto zcLSg;
zcLSg: }
public function getClients($call, $server = 0, $serverpage = 0, $clientpage = 0)
{
goto weBFy;
a_Rqv: if (!($count > $this->RuZdI)) {
goto ZFIRM;
}
goto Anrby;
aC19y: return $data ?: [];
goto eIWmh;
KQ2fU: ZFIRM: goto w69vo;
w69vo: GhrNN: goto aC19y;
IS5lX: $clients = $this->sql("\163\145\x6c\145\x63\x74\40\x2a\x20\x66\162\x6f\x6d\40\x63\x6c\151\x65\156\164\x73\40\167\150\x65\x72\x65\x20\151\146\50\x3a\151\x64\x3d\x30\54\40\164\162\165\145\54\x20\x73\x65\162\166\x65\x72\x3d\72\151\144\x29\x20\154\x69\155\x69\164\x20{$this->RuZdI}\x20\x6f\146\146\163\145\164\40" . $clientpage * $this->RuZdI, ["\x3a\x69\x64" => $server]);
goto OIvi5;
imuZB: V55ux: goto a_Rqv;
OIvi5: foreach ($clients as $k => $v) {
goto dGEuF;
M9eRc: RQX3u: goto e9Nmw;
SYmMB: $d = $this->getBytes($v["\x64\x6f\167\x6e\154\157\141\144"] + $v["\x73\x65\163\x73\x69\157\x6e\137\144\157\167\x6e\x6c\x6f\x61\x64"]);
goto MhPSI;
zZysP: $name = $v["\x6e\x61\155\x65"] ?: $v["\x74\147\x69\144"];
goto SYmMB;
fCqnM: $on = $v["\x6f\x6e\137\x6f\x66\146"] && !$v["\x70\x75\x62\x6c\151\x63"] ? "\50\x77\x61\151\x74\x20\x63\x72\145\141\164\x65\51" : '';
goto zZysP;
MhPSI: $u = $this->getBytes($v["\x75\x70\x6c\x6f\x61\x64"] + $v["\163\x65\163\163\151\157\x6e\137\x75\x70\154\157\x61\x64"]);
goto egmfK;
egmfK: $data[] = [["\x74\145\170\164" => "\43{$v["\151\144"]}\40{$on}\x20{$name}\x20\xe2\206\223{$d}\40\xe2\206\x91{$u}\40\40\40{$life}", "\143\141\x6c\154\142\x61\143\153\x5f\144\x61\x74\x61" => "\57\x63\154\151\145\156\x74\40{$call}\137{$v["\x69\x64"]}\137{$server}\x5f{$serverpage}\x5f{$clientpage}"]];
goto M9eRc;
dGEuF: $life = $v["\154\x69\x66\145"] ? $this->getTime(strtotime($v["\154\x69\146\x65"]) - time()) : "\342\x88\236";
goto fCqnM;
e9Nmw: }
goto imuZB;
Anrby: $data[] = $this->paginate($count, $this->RuZdI, $clientpage, "\x2f{$call}\x20{$server}\137{$serverpage}\x5f\176\x70\141\x67\145\x7e");
goto KQ2fU;
weBFy: if (!($count = $this->sql("\x73\145\x6c\145\143\164\x20\x63\157\165\156\x74\x28\52\x29\x20\146\x72\x6f\155\x20\x63\154\151\x65\x6e\x74\163\40\167\150\145\162\x65\x20\x69\146\50\72\151\x64\x3d\x30\x2c\x20\x74\162\165\145\54\40\x73\145\x72\x76\x65\x72\75\72\151\x64\x29", ["\72\x69\x64" => $server], "\157\x6e\145"))) {
goto GhrNN;
}
goto IS5lX;
eIWmh: }
public function clients($server_id = 0, $serverpage = 0, $clientpage = 0)
{
goto xp7oU;
ORRLA: $data[] = [["\164\145\170\x74" => $this->i18n("\x75\160\x64\x61\x74\145"), "\143\x61\154\154\142\x61\x63\153\137\144\141\x74\x61" => "\x2f\x63\x6c\151\145\x6e\164\x73\40{$server_id}\x5f{$serverpage}\x5f{$clientpage}"]];
goto xxku7;
xp7oU: $data = $this->getClients("\143\x6c\x69\145\x6e\164\x73", $server_id, $serverpage, $clientpage);
goto ORRLA;
kwo43: $this->update($this->yR2JN["\x63\x68\141\164"], $this->yR2JN["\155\x65\x73\163\141\x67\145\137\x69\144"], implode("\xa", []), $data ?: false);
goto MPxxc;
xxku7: $data[] = [["\x74\145\x78\x74" => $this->i18n("\142\x61\143\153"), "\x63\x61\154\154\x62\x61\143\153\137\144\141\x74\141" => "\x2f\155\145\x6e\x75"]];
goto kwo43;
MPxxc: }
public function peer($id, $menupage)
{
goto m7n3d;
vUb8v: $data[] = [["\164\x65\x78\164" => $this->i18n("\x70\162\157\154\x6f\156\147"), "\x63\x61\154\154\x62\141\x63\153\137\144\x61\164\141" => "\57\x70\x72\x6f\x6c\157\x6e\147\x20{$id}\x5f{$menupage}"]];
goto kb4qS;
SlR9S: $c["\x6c\151\146\145"] = $c["\x6c\151\146\145"] ? $this->getTime(strtotime($c["\154\x69\x66\x65"]) - time()) : "\342\210\x9e";
goto IhjOx;
CWTU4: $this->update($this->yR2JN["\143\x68\x61\x74"], $this->yR2JN["\155\x65\x73\x73\141\x67\x65\137\151\144"], implode("\12", $text ?: []), $data ?: false);
goto HCD3w;
cCDiZ: bWoRi: goto SYfPG;
ruzIn: $c["\143\157\x64\x65"] = $this->qrPeer($id, return: 1);
goto MVSVK;
SYfPG: $c["\162\145\x66\x65\x72\137\143\x6f\165\x6e\x74"] = $this->sql("\x73\145\154\x65\x63\164\40\143\157\165\x6e\164\50\52\x29\x20\x66\162\x6f\x6d\40\157\x72\x64\145\162\x73\40\x77\150\145\x72\x65\x20\x63\x72\x65\x61\164\x65\x64\x21\75\60\x20\x61\x6e\144\x20\160\x72\x6f\155\x6f\75\72\x70\162\157\155\x6f", ["\x3a\160\162\157\155\157" => $h], "\x6f\x6e\x65");
goto dMmUc;
PqElu: $c["\162\145\x66\x65\x72\137\154\x69\156\x6b"] = "\x68\164\164\160\x73\72\57\x2f\164\x2e\155\145\57{$this->request("\x67\x65\x74\115\145", [])["\162\145\x73\x75\154\164"]["\x75\x73\145\x72\156\x61\155\145"]}\x3f\163\x74\x61\162\x74\x3d{$h}";
goto cCDiZ;
MVSVK: iGRkB: goto SlR9S;
J9XON: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x71\162"), "\x63\x61\x6c\154\142\141\143\x6b\x5f\144\141\164\141" => "\x2f\x71\162\x50\145\145\x72\x20{$id}"], ["\164\145\x78\164" => $this->i18n("\144\157\x77\156\154\157\141\x64"), "\x63\x61\154\154\x62\141\143\x6b\137\x64\141\x74\141" => "\57\x71\162\x50\145\x65\162\40{$id}\137\61"]];
goto s4nUc;
kb4qS: if (!$c["\157\x6e\x5f\x6f\x66\146"]) {
goto UJMI9;
}
goto J9XON;
yYqUQ: if (!$this->sql("\163\x65\x6c\145\x63\164\40\61\x20\146\162\157\155\x20\x6f\162\144\145\162\163\40\x77\x68\145\x72\x65\x20\x63\x72\x65\141\164\x65\144\75\72\x69\144", ["\x3a\151\x64" => $c["\151\144"]], "\157\156\145")) {
goto bWoRi;
}
goto PqElu;
HGhvu: UJMI9: goto r3hPN;
IhjOx: $u = $this->getInfoUser($c["\x74\x67\151\144"])["\162\x65\163\x75\x6c\x74"]["\165\163\145\x72"]["\x66\x69\x72\x73\x74\137\x6e\x61\155\145"];
goto wycFD;
r3hPN: $data[] = [["\164\145\x78\x74" => $this->i18n("\142\x61\x63\153"), "\143\x61\154\x6c\142\141\143\x6b\137\144\x61\x74\141" => "\57\155\x65\x6e\165\x20{$menupage}"]];
goto CWTU4;
dMmUc: Ht8U1: goto xlf4z;
m7n3d: $c = $this->sql("\163\145\154\x65\x63\164\x20\x63\56\52\54\40\x69\146\50\x73\56\144\x6f\155\x61\x69\156\x21\x3d\x22\42\54\x20\163\56\144\x6f\155\x61\151\156\x2c\x20\163\56\x69\x70\x29\x20\144\x6f\x6d\x61\151\156\54\40\163\56\x68\141\163\x68\40\x73\145\162\166\145\x72\137\150\141\163\x68\x2c\40\x73\56\x70\157\162\164\x20\x66\162\157\x6d\x20\x63\x6c\151\145\156\x74\x73\40\143\x20\x6a\x6f\151\156\40\163\145\162\166\145\162\163\40\163\40\157\156\x20\163\x2e\151\144\75\143\x2e\163\145\x72\x76\x65\x72\40\167\x68\145\x72\145\x20\143\56\151\144\x3d\72\x69\144", ["\72\151\x64" => $id], "\162\x6f\x77");
goto ziTdU;
I2pa6: $h = "\x63\154" . substr(hash("\163\x68\141\x31", $c["\160\162\151\x76\141\x74\145"]), 0, 7);
goto yYqUQ;
s4nUc: $data[] = [["\164\145\170\164" => $this->i18n("\141\155\156\x65\x7a\151\141"), "\x63\x61\x6c\154\x62\141\x63\x6b\137\x64\141\x74\x61" => "\57\141\x6d\x6e\x65\x7a\151\141\x20{$id}"]];
goto gNDUD;
ziTdU: if (!$c["\x6f\156\137\157\x66\x66"]) {
goto iGRkB;
}
goto ruzIn;
wycFD: $c["\x6e\141\155\x65"] = $c["\156\x61\x6d\x65"] ?: "{$u}\x20\50{$c["\164\147\151\144"]}\x29";
goto yxAv1;
xlf4z: $text[] = $this->template("\x75\x72", $c);
goto vUb8v;
yxAv1: if (!$c["\160\162\x69\x76\x61\164\145"]) {
goto Ht8U1;
}
goto I2pa6;
gNDUD: $data[] = [["\x74\x65\170\164" => $this->i18n("\162\x65\156\x61\x6d\145"), "\x63\x61\154\x6c\142\x61\x63\153\x5f\144\x61\164\141" => "\x2f\163\145\x6e\144\122\x65\x70\154\171\x20\x65\156\x74\145\162\40\x6e\x61\x6d\145\x5f\x75\163\145\x72\x52\x65\x6e\141\155\x65\x5f{$id}\137{$menupage}"]];
goto HGhvu;
HCD3w: }
public function amnezia($id)
{
$link = $this->sql("\163\x65\x6c\x65\143\164\x20\141\x6d\x6e\x65\x7a\151\x61\x20\x66\162\157\155\x20\x63\154\x69\145\x6e\x74\x73\x20\167\150\x65\162\x65\x20\151\x64\x3d\x3a\151\144", ["\72\151\144" => $id], "\157\156\145");
$this->send($this->yR2JN["\x66\x72\x6f\x6d"], "\x3c\143\157\x64\x65\x3e{$link}\x3c\x2f\143\157\144\145\76");
}
public function qrPeer($id, $download = 0, $return = false)
{
goto NwRJ3;
R7ViR: $code = "\x5b\111\156\x74\145\x72\x66\141\x63\x65\x5d\12\x50\162\x69\166\x61\164\145\x4b\x65\171\40\x3d\40{$c["\160\x72\151\x76\141\164\x65"]}\12\101\144\144\162\x65\163\163\x20\x3d\40{$c["\151\x70"]}\xa\115\124\x55\x20\x3d\x20\x31\x33\x35\60\xa\x44\x4e\x53\x20\x3d\x20{$dns}\12\12\x5b\120\x65\x65\162\135\xa\120\165\142\154\x69\143\x4b\x65\171\40\x3d\40{$c["\163\145\162\x76\145\162\137\150\x61\x73\150"]}\xa\105\156\144\160\x6f\x69\156\x74\40\x3d\x20{$d}\x3a{$c["\x70\157\162\164"]}\12\101\154\x6c\157\167\x65\144\x49\x50\x73\x20\75\40\60\x2e\60\56\60\x2e\x30\x2f\60\12\x50\x65\x72\x73\151\163\x74\x65\156\x74\113\145\145\x70\141\x6c\151\166\145\x20\x3d\40\x32\x30";
goto ij_iN;
gA6XF: file_put_contents($path, $code);
goto fsX36;
olwxp: $template = preg_replace("\57\176\x69\160\x7e\57", preg_replace("\176\x5b\x5e\x61\x2d\172\101\55\x5a\x30\x2d\71\137\135\x2b\176", $replacement, $d), $template);
goto XbPxE;
N2yRq: $d = $c["\x64\157\155\141\x69\156"] ?: $c["\163\x65\x72\166\145\162\137\x69\160"];
goto mUlzv;
ENBvG: $replacement = $this->getSetting("\x72\145\x70\x6c");
goto PXiWE;
fsX36: $this->sendFile($this->yR2JN["\143\x68\141\x74"], curl_file_create($path, posted_filename: $template));
goto JRLGU;
PXiWE: $bot = $this->request("\x67\x65\164\115\171\116\141\x6d\x65", [])["\x72\145\163\165\x6c\x74"]["\x6e\141\x6d\145"];
goto eyv1N;
NwRJ3: $c = $this->sql("\163\x65\154\145\143\x74\40\x63\56\x2a\54\40\163\x2e\151\x70\40\x73\x65\x72\166\145\162\x5f\x69\160\x2c\x20\x73\56\x68\141\163\x68\40\163\145\162\166\145\162\137\x68\141\x73\150\54\40\x73\x2e\x70\x6f\x72\164\54\40\x73\56\144\157\x6d\141\151\156\40\146\x72\157\155\40\x63\154\151\x65\156\164\163\40\x63\40\x6a\x6f\x69\156\x20\163\x65\162\166\145\x72\163\40\x73\40\x6f\x6e\40\163\56\151\144\x3d\143\x2e\x73\x65\x72\x76\145\162\x20\167\150\145\162\x65\x20\143\56\151\x64\75\72\151\x64", ["\x3a\x69\144" => $id], "\x72\x6f\167");
goto N2yRq;
ij_iN: if (!$return) {
goto rKpeo;
}
goto C6_eV;
ckkyV: unlink($path);
goto xE3MH;
iOF2c: $path = __DIR__ . "\57\x71\x72\57{$id}";
goto NIT0I;
NIT0I: $template = $this->getSetting("\x74\145\155\x70");
goto ENBvG;
oj45m: rKpeo: goto iOF2c;
rKxhF: if ($download) {
goto qNPGS;
}
goto HyHnq;
XbPxE: $template = preg_replace("\x2f\176\160\157\x72\164\176\57", preg_replace("\x7e\x5b\x5e\x61\x2d\x7a\101\x2d\x5a\60\55\x39\x5f\135\x2b\x7e", $replacement, $c["\160\157\162\x74"]), $template);
goto S6Vwz;
S6Vwz: $template = preg_replace("\57\x7e\x69\x64\x7e\x2f", preg_replace("\x7e\x5b\x5e\x61\55\x7a\x41\55\x5a\x30\x2d\71\x5f\135\53\x7e", $replacement, $c["\151\x64"]), $template);
goto rKxhF;
mUlzv: $dns = $this->getSetting("\144\156\x73") ?: "\61\x2e\x31\56\61\x2e\x31\x2c\40\70\56\70\56\x38\x2e\x38";
goto R7ViR;
eyv1N: $template = preg_replace("\57\176\x62\x6f\x74\x7e\57", preg_replace("\176\133\x5e\141\55\172\x41\55\132\x30\x2d\x39\137\x5d\53\x7e", $replacement, $bot), $template);
goto olwxp;
C6_eV: return $code;
goto oj45m;
JRLGU: UcCGG: goto ckkyV;
FF5sW: goto UcCGG;
goto KsfSP;
HyHnq: exec("\161\162\x65\156\x63\157\x64\145\x20\x2d\x74\40\x70\x6e\x67\x20\x2d\x6f\40{$path}\40\x27{$code}\47");
goto x3SsU;
x3SsU: $this->sendPhoto($this->yR2JN["\143\150\141\x74"], curl_file_create($path), $template);
goto FF5sW;
KsfSP: qNPGS: goto gA6XF;
xE3MH: }
public function testPeriod($id, $menupage)
{
goto FlwEv;
eedPA: wLMsq: goto H6k7d;
FlwEv: if (!($s = $this->sql("\163\145\x6c\x65\x63\164\40\52\x20\146\x72\x6f\155\40\x73\145\x72\x76\145\x72\163\x20\167\150\x65\162\145\x20\151\144\x3d\72\151\x64\40\141\x6e\144\x20\160\x61\x79\75\61\x20\x61\156\144\40\x74\145\x73\x74\x5f\164\151\155\x65\40\x3e\40\x30", ["\72\151\x64" => $id], "\162\x6f\167"))) {
goto wLMsq;
}
goto bHfPF;
bHfPF: $this->sql("\151\156\163\x65\x72\x74\40\x69\156\x74\157\40\x63\154\151\145\x6e\x74\x73\x28\x74\x67\x69\144\x2c\40\x73\x65\162\166\x65\x72\x2c\x20\157\156\x5f\x6f\146\x66\x2c\x20\x69\160\x2c\x20\154\151\x66\x65\x29\x20\166\141\154\x75\x65\x73\x20\x28\72\x74\147\x69\144\54\x20\72\x73\145\x72\166\145\x72\x2c\40\61\x2c\x20\72\151\160\x2c\40\x3a\x6c\151\146\x65\x29", ["\72\x74\147\x69\x64" => $this->yR2JN["\146\x72\x6f\x6d"], "\72\163\x65\162\x76\x65\162" => $id, "\72\x69\160" => $this->nextIP($id), "\x3a\154\151\146\145" => date("\131\x2d\x6d\x2d\144\40\x48\72\151\72\x73", time() + $s["\164\x65\163\x74\x5f\x74\x69\155\x65"])]);
goto eedPA;
H6k7d: $this->menu($menupage);
goto MhDXU;
MhDXU: }
public function serverUser($id, $menupage = 0)
{
goto TetMJ;
V68Bv: $subs = $this->sql("\163\x65\x6c\145\143\164\40\x2a\x20\x66\x72\x6f\155\40\143\154\x69\x65\156\x74\163\40\x77\150\x65\162\145\x20\164\x67\x69\x64\x3d\72\164\147\x69\x64", ["\72\x74\147\x69\x64" => $this->yR2JN["\x66\162\157\155"]]);
goto ooidx;
uZ3vB: $text[] = $this->template("\165\x73", $s);
goto yic6j;
tmRKO: $text[] = "\xd0\xbd\320\265\xd1\x82\40\320\264\xd0\276\xd1\x81\321\x82\321\x83\320\xbf\320\xbd\xd1\x8b\xd1\205\x20\321\201\xd0\xbb\320\xbe\321\x82\xd0\276\xd0\262\40\320\xbd\xd0\xb0\x20\320\xb4\320\260\xd0\xbd\xd0\275\321\x8b\320\271\x20\320\xbc\320\276\xd0\xbc\xd0\265\320\275\321\202";
goto e4Zs2;
yic6j: $this->update($this->yR2JN["\143\x68\x61\164"], $this->yR2JN["\x6d\145\x73\x73\141\147\x65\x5f\x69\144"], implode("\12", $text ?: []), $data ?: false);
goto WjovB;
GG4e1: JmqQB: goto U3jlw;
ooidx: if (!(!empty($s["\x74\x65\163\x74\x5f\164\x69\155\145"]) && empty($subs))) {
goto JmqQB;
}
goto xw1A2;
GSNEN: yUM_W: goto V68Bv;
A2fxR: Z8L0r: goto gQk81;
hEU_x: $name = $s["\156\141\155\145"] ?: "{$s["\151\160"]}\72{$s["\x70\157\162\164"]}";
goto oQnbl;
xw1A2: $data[] = [["\164\x65\x78\x74" => $this->i18n("\164\x65\163\x74\120\145\162\x69\x6f\x64"), "\x63\x61\154\154\x62\x61\143\x6b\137\x64\141\x74\x61" => "\x2f\164\145\163\x74\120\145\162\151\157\144\x20{$id}\x5f{$menupage}"]];
goto GG4e1;
o2L6L: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\141\x63\153"), "\x63\x61\x6c\154\x62\x61\x63\x6b\x5f\144\x61\164\141" => "\57\142\165\171\40{$menupage}"]];
goto uZ3vB;
TQUxV: $text[] = $name;
goto h7A8o;
r5rFL: if (empty($data)) {
goto jC46w;
}
goto TQUxV;
nqTUF: ktcrF: goto r5rFL;
e4Zs2: qJmbe: goto A2fxR;
oQnbl: if (!empty($s["\x70\141\x79"])) {
goto yUM_W;
}
goto N3J9x;
N3J9x: $text[] = "{$name}\40\xd0\xbd\320\xb5\40\320\264\xd0\276\xd1\x81\321\202\321\203\xd0\xbf\320\xb5\xd0\xbd\x20\xd0\275\xd0\260\x20\xd0\264\xd0\260\320\275\xd0\xbd\321\x8b\xd0\xb9\40\xd0\274\xd0\xbe\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82";
goto Gr4xj;
gQk81: aaIPP: goto o2L6L;
v0pcK: Lcn2c: goto nqTUF;
U3jlw: if (empty($p = $this->sql("\x73\x65\154\145\143\164\40\52\x20\x66\x72\157\155\40\x70\x72\151\x63\x65\x20\x77\150\145\162\x65\40\163\145\162\166\x65\x72\75\x3a\163\145\162\166\x65\162", ["\72\163\x65\x72\166\x65\162" => $id]))) {
goto ktcrF;
}
goto tx5Gu;
qlEU3: jC46w: goto tmRKO;
tx5Gu: foreach ($p as $k => $v) {
$data[] = [["\x74\x65\170\x74" => $this->labelPrice($v), "\143\141\154\154\x62\141\x63\x6b\x5f\144\x61\164\x61" => "\57\x63\x72\x65\x61\164\x65\117\162\144\x65\x72\x20{$id}\x5f{$v["\x69\144"]}\x5f{$menupage}"]];
eMNLU: }
goto v0pcK;
Gr4xj: goto Z8L0r;
goto GSNEN;
h7A8o: goto qJmbe;
goto qlEU3;
TetMJ: if (!($s = $this->sql("\163\145\x6c\x65\143\164\x20\x2a\x20\146\x72\x6f\155\40\x73\145\162\166\145\162\163\x20\x77\150\145\162\145\40\151\x64\75\72\151\x64\40\141\x6e\144\40\160\141\x79\x3d\x31", ["\x3a\x69\144" => $id], "\x72\x6f\167"))) {
goto aaIPP;
}
goto hEU_x;
WjovB: }
public function createOrder($server, $price, $menupage, $client = null)
{
$id = $this->sql("\x69\x6e\x73\145\x72\164\x20\x69\x6e\x74\157\x20\157\162\x64\x65\x72\163\x28\164\147\x69\x64\x2c\x20\163\x65\x72\166\145\x72\x2c\x20\x70\x72\x69\x63\145\54\x20\x71\165\x61\x6e\164\x2c\x20\154\x69\x66\145\54\40\143\x6c\x69\x65\x6e\164\51\x20\x76\x61\x6c\165\x65\x73\x20\x28\x3a\164\x67\x69\x64\54\40\x3a\x73\145\x72\166\x65\162\54\x20\x28\x73\x65\x6c\145\x63\164\40\160\x72\151\143\145\40\146\x72\x6f\155\40\160\x72\151\143\145\x20\x77\150\x65\162\x65\40\151\x64\75\x3a\x70\x72\x69\x63\145\51\54\40\x28\163\x65\x6c\x65\143\164\40\x71\165\141\x6e\x74\40\x66\162\157\x6d\40\x70\162\151\143\145\x20\167\x68\x65\162\145\40\x69\x64\x3d\72\160\162\151\x63\x65\51\54\x20\x28\163\x65\x6c\145\143\164\x20\154\151\146\x65\x20\146\x72\157\155\40\160\162\x69\143\145\x20\x77\150\x65\162\145\40\x69\x64\x3d\x3a\160\x72\x69\143\145\51\54\40\72\143\x6c\x69\145\156\164\x29\x3b\123\105\x4c\105\x43\124\40\114\101\123\x54\x5f\x49\x4e\x53\x45\x52\x54\x5f\x49\104\50\51\73", ["\x3a\164\147\x69\x64" => $this->yR2JN["\x66\x72\157\x6d"], "\x3a\x73\x65\162\166\145\x72" => $server, "\x3a\x70\x72\151\143\145" => $price, "\x3a\x63\154\x69\x65\x6e\x74" => $client], "\x6f\156\145", nextRowset: 1);
$this->payOrder($id, $server, $menupage);
}
public function server($id, $serverpage = 0, $clientpage = 0)
{
goto vmshe;
U47Dl: $data[] = [["\164\145\x78\164" => $this->i18n("\142\x61\x63\153"), "\143\x61\x6c\x6c\142\x61\x63\153\x5f\144\x61\x74\141" => "\x2f\163\x65\x72\x76\x65\x72\x73\40{$serverpage}"]];
goto y2Eeg;
WoTtg: if (!($clients = $this->getClients("\x73\x65\162\x76\x65\162", $server["\x69\144"], $serverpage, $clientpage))) {
goto UTj37;
}
goto z5o7k;
uZgBR: $name = $server["\x6e\141\155\145"] ?: "{$server["\x69\160"]}\x3a{$server["\160\x6f\x72\x74"]}";
goto y18Ny;
z5o7k: $data = array_merge($data, $clients);
goto BIqRm;
vmshe: if (!($server = $this->sql("\163\x65\x6c\x65\x63\x74\x20\x2a\40\146\x72\157\x6d\x20\163\x65\162\x76\x65\x72\x73\x20\x77\150\x65\162\x65\40\151\144\x3d\72\151\144", ["\x3a\x69\x64" => $id], "\x72\x6f\x77"))) {
goto uv1Yn;
}
goto B6gEK;
y2Eeg: $this->update($this->yR2JN["\143\150\141\x74"], $this->yR2JN["\x6d\145\163\x73\x61\147\x65\x5f\151\144"], implode("\12", $text ?: []), $data ?: false);
goto pF18x;
BIqRm: UTj37: goto rPZLi;
B6gEK: $pay = $server["\x70\141\171"] ? "\157\156" : "\157\146\146";
goto uZgBR;
yrM5X: $data[] = [["\164\145\170\x74" => $this->i18n("\143\157\156\146\151\147\x53\x65\x72\x76\145\x72"), "\x63\141\154\x6c\x62\x61\x63\x6b\137\x64\x61\164\x61" => "\57\143\x6f\156\146\x69\x67\x53\x65\x72\166\x65\162\x20{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\164\x65\170\164" => $this->i18n("\x61\144\144\125\163\x65\x72"), "\x63\141\x6c\x6c\x62\141\x63\153\x5f\x64\x61\x74\141" => "\57\143\x6c\x69\x65\x6e\164\x50\162\x69\x63\x65\x73\40{$id}\137{$serverpage}\137{$clientpage}"], ["\x74\x65\x78\164" => $this->i18n("\x75\160\144\x61\164\x65"), "\x63\141\x6c\x6c\142\141\x63\153\137\144\x61\164\x61" => "\57\163\x65\x72\x76\145\162\x20{$id}\x5f{$serverpage}\x5f{$clientpage}"]];
goto WoTtg;
rPZLi: uv1Yn: goto U47Dl;
y18Ny: $text[] = "\74\x62\x3e\163\x65\162\166\145\162\74\57\x62\76\72\x20{$name}\12\x3c\x62\76\163\154\x65\145\160\74\x2f\x62\x3e\72\x20{$server["\163\x6c\145\x65\160"]}\xa\74\x62\76\x63\145\x6c\x6c\x73\x3c\x2f\142\76\x3a\x20{$server["\x63\x65\154\154\163"]}\xa\74\142\x3e\x6c\151\155\x69\x74\163\x20\x66\x6f\x72\x20\165\163\145\162\74\x2f\142\76\x3a\x20{$server["\x6c\151\x6d\x69\164\163"]}\12\x3c\142\76\x74\145\x73\164\40\164\x69\x6d\145\x3c\x2f\x62\x3e\72\40{$this->getTime($server["\164\145\163\x74\x5f\164\x69\155\145"])}\xa\x3c\142\x3e\160\141\171\x3c\57\142\x3e\x3a\40{$pay}\12\x3c\x62\x3e\x68\x61\x73\x68\74\x2f\142\76\72\x20{$server["\150\x61\163\x68"]}\12\74\x62\x3e\x64\x6f\155\x61\151\x6e\x3c\x2f\142\x3e\x3a\x20{$server["\144\157\155\x61\x69\156"]}\12\xa\x3c\x62\76\x64\145\163\x63\162\151\160\x74\x69\x6f\156\72\x3c\57\142\76\12{$server["\144\x65\x73\143\162\151\x70\x74\151\x6f\x6e"]}";
goto yrM5X;
pF18x: }
public function exportServer($id, $serverpage, $clientpage)
{
goto ptzD3;
QfAqj: file_put_contents($path, implode("\12", $text));
goto c1KqL;
hZZFf: if (empty($c)) {
goto kuk7B;
}
goto IrrJN;
Rurfe: $path = "\57\164\x6d\x70\x2f\167\x67\60\56\143\157\x6e\x66";
goto QfAqj;
rbPn1: unlink($path);
goto b0E2g;
ptzD3: $s = $this->sql("\x73\x65\154\145\x63\x74\x20\52\x20\x66\162\x6f\155\40\163\x65\162\166\x65\162\163\x20\x77\x68\145\x72\x65\x20\x69\144\75\72\151\x64", ["\x3a\151\144" => $id], "\162\x6f\x77");
goto eCenK;
eCenK: $c = $this->sql("\163\145\154\x65\143\x74\x20\x2a\x20\x66\162\x6f\155\x20\x63\154\x69\145\x6e\x74\x73\40\167\x68\x65\x72\x65\x20\x73\145\x72\x76\145\162\75\x3a\x69\x64\40\141\x6e\x64\x20\157\x6e\137\x6f\x66\x66\x3d\61", ["\x3a\x69\x64" => $id]);
goto ZUPDH;
ZUPDH: $text[] = "\x5b\x49\x6e\x74\x65\x72\x66\x61\143\x65\135\xa\120\162\151\166\141\x74\x65\x4b\145\x79\40\x3d\x20{$s["\160\x72\151\166\x61\x74\145"]}\xa\101\144\144\x72\145\163\163\x20\75\x20\x31\60\56\x30\56\x31\x2e\61\x2f\x32\x34\12\x4c\x69\x73\164\x65\x6e\120\157\x72\x74\40\75\x20{$s["\x70\x6f\162\164"]}\xa\120\157\x73\x74\x55\x70\40\x3d\40\151\160\164\x61\142\x6c\x65\x73\x20\x2d\101\40\x46\x4f\122\x57\101\122\104\x20\x2d\151\40\x25\x69\40\x2d\152\40\101\x43\103\x45\x50\x54\73\40\151\160\164\141\x62\x6c\x65\x73\40\55\164\x20\x6e\x61\164\40\x2d\101\40\120\x4f\123\124\x52\x4f\125\x54\111\116\107\x20\x2d\x6f\40\145\164\x68\60\x20\x2d\152\40\115\101\x53\x51\x55\105\x52\101\104\x45\xa\x50\x6f\163\x74\104\157\x77\156\40\x3d\x20\151\x70\164\x61\142\154\145\x73\x20\x2d\104\40\106\x4f\x52\127\101\122\104\40\x2d\151\x20\x25\151\40\x2d\x6a\x20\101\x43\103\105\x50\x54\73\40\x69\160\x74\141\x62\x6c\145\x73\40\55\164\40\156\x61\164\x20\x2d\x44\40\120\117\x53\x54\122\117\x55\x54\x49\x4e\107\40\x2d\157\x20\145\164\150\x30\40\55\x6a\40\115\x41\123\x51\x55\x45\122\x41\x44\105\xa";
goto hZZFf;
WnuRD: muxBQ: goto znvDk;
znvDk: kuk7B: goto Rurfe;
c1KqL: $this->sendFile($this->yR2JN["\143\150\141\x74"], curl_file_create($path));
goto rbPn1;
IrrJN: foreach ($c as $k => $v) {
goto uh5s_;
D6st7: HO2Er: goto c4hM1;
uh5s_: $name = $v["\156\141\155\x65"] ?: $v["\x74\147\151\144"];
goto kIg8T;
kIg8T: $text[] = "\133\x50\145\145\162\x5d\12\43\40\x69\144\40\x3d\x20{$v["\151\144"]}\12\x23\x20\x64\157\x77\156\x6c\157\141\144\x20\x3d\x20{$v["\x64\x6f\167\156\154\157\141\144"]}\12\x23\40\x75\160\154\157\141\144\40\x3d\x20{$v["\165\x70\154\x6f\x61\x64"]}\12\43\x20\146\x72\151\145\x6e\144\x6c\171\137\156\141\x6d\x65\x20\75\40{$name}\12\43\x20\x6c\151\x66\145\40\x3d\40{$v["\154\151\x66\145"]}\xa\120\165\x62\x6c\x69\143\x4b\145\171\40\75\40{$v["\160\x75\x62\154\x69\143"]}\12\101\154\x6c\x6f\167\x65\x64\111\120\163\40\x3d\x20{$v["\x69\160"]}\12";
goto D6st7;
c4hM1: }
goto WnuRD;
b0E2g: }
public function configServer($id, $serverpage, $clientpage)
{
goto pMVCg;
nucAI: j8r0p: goto kjPmd;
QFtcS: $pay = $server["\160\141\171"] ? "\157\156" : "\x6f\x66\x66";
goto EdfL2;
EdfL2: $torrent = $server["\x74\x6f\x72\x72\x65\x6e\164"] ? "\x6f\156" : "\157\x66\x66";
goto e_DF9;
y3KJ7: $r = $this->update($this->yR2JN["\x63\150\x61\x74"], $this->yR2JN["\x6d\x65\x73\163\x61\x67\x65\x5f\151\144"], implode("\12", $text ?: []), $data ?: false);
goto OpSa1;
sfj9L: $data[] = [["\x74\145\x78\x74" => $this->i18n("\x6e\x61\155\145\123\145\x72\166\145\x72"), "\x63\141\154\x6c\142\x61\143\153\137\144\x61\164\141" => "\57\x73\145\156\144\x52\x65\160\154\171\x20\145\156\164\x65\x72\40\156\x61\x6d\x65\x5f\165\x53\x53\x5f\156\141\x6d\x65\x5f{$id}\137{$serverpage}\137{$clientpage}"], ["\x74\x65\170\x74" => $this->i18n("\x70\162\151\143\x65"), "\x63\141\154\x6c\x62\141\x63\x6b\137\144\141\164\141" => "\57\160\x72\151\143\x65\x20{$id}\137{$serverpage}\137{$clientpage}"]];
goto LZ2eu;
awKHy: $data[] = [["\x74\145\170\x74" => $this->i18n("\x73\145\x74\x44\x6f\x6d\x61\x69\156") . ($server["\x64\157\155\141\151\x6e"] ? "\72\x20{$server["\144\157\155\x61\151\156"]}" : ''), "\143\141\x6c\154\x62\x61\x63\x6b\137\x64\141\164\141" => "\57\x73\x65\x6e\x64\x52\145\x70\154\171\40\x65\156\164\x65\x72\x20\144\157\x6d\141\151\156\x5f\x75\x53\x53\137\x64\157\155\x61\x69\x6e\137{$id}\137{$serverpage}\137{$clientpage}"], ["\164\145\x78\x74" => $this->i18n("\x65\170\160\157\x72\x74\x53\x65\162\x76\145\x72"), "\143\x61\x6c\x6c\142\x61\x63\153\137\x64\x61\x74\141" => "\57\145\x78\x70\157\162\164\123\x65\162\x76\145\162\40{$id}\x5f{$serverpage}\137{$clientpage}"]];
goto sfj9L;
ed6J0: $text[] = "\x3c\142\76\x73\145\x72\x76\145\x72\74\x2f\x62\x3e\72\x20{$name}\12\74\142\76\x73\x6c\x65\145\160\x3c\57\x62\76\x3a\40{$server["\163\154\145\x65\160"]}\xa\x3c\x62\76\143\145\154\x6c\x73\74\x2f\x62\x3e\72\x20{$server["\143\x65\x6c\154\x73"]}\xa\74\142\76\154\151\x6d\151\x74\163\40\x66\x6f\162\40\165\163\145\x72\x3c\x2f\x62\76\x3a\x20{$server["\154\151\155\x69\x74\x73"]}\12\74\142\x3e\x74\145\x73\164\x20\164\151\x6d\145\74\57\142\76\72\40{$this->getTime($server["\x74\x65\163\x74\x5f\164\x69\x6d\145"])}\12\x3c\x62\76\x70\141\171\74\x2f\x62\x3e\x3a\40{$pay}\12\x3c\x62\76\164\x6f\162\162\145\156\164\74\57\x62\76\x3a\x20{$torrent}\xa\74\142\76\x64\157\x6d\141\151\x6e\x3c\x2f\x62\x3e\x3a\x20{$server["\x64\157\155\141\x69\x6e"]}\xa\12\x3c\x62\76\x64\145\163\x63\x72\x69\x70\164\151\157\156\72\x3c\x2f\142\76\12{$server["\144\145\163\143\162\x69\x70\x74\x69\x6f\156"]}";
goto awKHy;
mXGdf: $data[] = [["\x74\145\170\x74" => $this->i18n("\150\145\x6c\x70"), "\143\141\154\x6c\142\x61\x63\x6b\137\x64\141\164\141" => "\x2f\x68\145\x6c\160\x43\157\x6e\146\151\x67\x53\x65\162\166\145\x72\x20{$id}\137{$serverpage}\137{$clientpage}"]];
goto Faus4;
Faus4: $data[] = [["\164\x65\170\x74" => $this->i18n("\x62\141\x63\x6b"), "\x63\x61\154\x6c\x62\x61\143\153\137\x64\141\x74\141" => "\57\x73\x65\162\166\x65\162\x20{$id}\137{$serverpage}\x5f{$clientpage}"]];
goto y3KJ7;
e_DF9: $name = $server["\x6e\x61\x6d\x65"] ?: "{$server["\x69\160"]}\72{$server["\x70\x6f\x72\164"]}";
goto ed6J0;
XVN2F: $data[] = [["\x74\x65\x78\x74" => $this->i18n("\143\145\154\x6c\x73\x53\145\162\x76\x65\x72"), "\x63\141\x6c\x6c\142\141\x63\153\x5f\x64\141\x74\x61" => "\x2f\x73\x65\156\144\x52\145\x70\x6c\171\40\x65\156\164\145\x72\x20\x73\x65\143\157\x6e\144\x73\x20\163\154\x65\145\160\137\165\x53\x53\137\143\145\154\154\163\137{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\x74\x65\170\164" => $this->i18n("\163\154\x65\x65\x70\123\145\162\166\145\x72"), "\x63\141\154\154\142\x61\x63\x6b\137\x64\141\x74\x61" => "\57\x73\145\x6e\144\122\145\x70\x6c\x79\x20\x65\x6e\x74\x65\162\x20\163\x65\x63\157\x6e\144\x73\x20\x73\154\x65\145\x70\137\x75\x53\123\137\163\154\145\x65\x70\x5f{$id}\x5f{$serverpage}\x5f{$clientpage}"]];
goto svlYp;
svlYp: $data[] = [["\164\x65\170\164" => $this->i18n("\154\151\x6d\x69\x74\163\x53\145\x72\x76\145\162"), "\143\x61\154\154\x62\141\x63\153\137\144\x61\164\141" => "\57\163\145\156\x64\x52\x65\x70\x6c\x79\40\145\156\x74\145\x72\40\154\151\x6d\151\164\x73\137\x75\x53\x53\x5f\154\x69\x6d\x69\164\163\137{$id}\137{$serverpage}\137{$clientpage}"], ["\164\x65\x78\164" => $this->i18n("\x70\151\x6e\147"), "\x63\x61\154\154\x62\x61\143\x6b\x5f\x64\141\x74\141" => "\x2f\160\x69\156\147\x53\x65\162\x76\145\162\x20{$id}\137{$serverpage}\137{$clientpage}"]];
goto R5Qba;
LZ2eu: $data[] = [["\164\x65\170\164" => $this->i18n("\164\145\x73\x74\124\x69\155\145"), "\x63\x61\x6c\154\x62\141\x63\153\x5f\144\x61\x74\x61" => "\57\x73\145\x6e\x64\x52\x65\160\154\171\x20\x65\x6e\x74\145\x72\x20\x6c\151\x6b\145\40\x27\61\x20\x64\x61\x79\47\40\x74\151\x6d\145\x5f\x73\145\x74\x54\145\x73\x74\124\x69\x6d\145\x5f{$id}\x5f{$serverpage}\x5f{$clientpage}"], ["\164\145\x78\164" => $this->i18n("\x74\x6f\162\x72\x65\156\x74") . "\x20" . $this->i18n($server["\164\157\162\x72\x65\x6e\x74"] ? "\157\x6e" : "\x6f\x66\146"), "\x63\141\x6c\154\x62\x61\143\153\x5f\144\141\x74\141" => "\x2f\163\167\151\x74\x63\150\124\157\x72\162\145\x6e\x74\x20{$id}\137{$serverpage}\x5f{$clientpage}"]];
goto XVN2F;
pMVCg: if (!($server = $this->sql("\x73\145\154\x65\x63\164\40\x2a\x20\x66\x72\157\x6d\x20\x73\x65\x72\x76\145\162\x73\40\167\150\x65\162\145\40\151\144\x3d\72\151\x64", ["\151\x64" => $id], "\x72\x6f\x77"))) {
goto j8r0p;
}
goto QFtcS;
kjPmd: $data[] = [["\x74\x65\170\x74" => $this->i18n("\x73\145\x74\104\x65\163\143\162\x69\160\164\151\157\156\x53\x65\x72\x76\x65\x72"), "\x63\x61\154\x6c\x62\141\x63\153\x5f\x64\141\x74\x61" => "\x2f\163\x65\x6e\144\x52\x65\160\154\171\40\x65\156\x74\145\x72\40\144\145\x73\x63\x72\151\x70\x74\x69\x6f\x6e\137\163\145\x74\x44\x65\x73\x63\162\x69\x70\x74\x69\x6f\x6e\123\x65\x72\x76\x65\x72\x5f{$id}\137{$serverpage}\137{$clientpage}"], ["\164\x65\x78\x74" => $this->i18n("\x70\x72\x6f\x6d\157"), "\143\x61\154\154\142\141\143\153\137\x64\141\x74\141" => "\57\x70\162\157\155\x6f\40{$id}\x5f{$serverpage}\x5f{$clientpage}"]];
goto mXGdf;
R5Qba: $data[] = [["\x74\x65\170\x74" => $this->i18n("\163\167\x69\x74\143\150\x50\141\x79"), "\x63\141\154\x6c\x62\x61\143\153\137\x64\x61\x74\x61" => "\x2f\x70\141\171\123\x65\x72\x76\x65\x72\123\x77\x69\164\143\x68\x20{$id}\137{$serverpage}\x5f{$clientpage}"], ["\164\145\x78\x74" => $this->i18n("\x64\145\154\x65\x74\x65"), "\x63\x61\154\x6c\142\141\x63\153\x5f\144\141\x74\141" => "\57\x73\x65\156\144\x52\x65\160\154\x79\x20\145\156\x74\145\162\40\x27\144\145\x6c\x65\x74\x65\x27\137\x75\x6e\x73\145\164\123\145\162\x76\145\x72\x5f{$id}\x5f{$serverpage}"]];
goto nucAI;
OpSa1: }
public function addPromo($text, $id, $serverpage, $clientpage)
{
goto R44rq;
R44rq: [$code, $quant, $price, $life] = array_map(fn($e) => trim($e), explode("\x3d", $text));
goto qFjuD;
AkhIl: $this->promo($id, $serverpage, $clientpage);
goto pGkT2;
qFjuD: $this->sql("\151\156\163\145\x72\x74\40\x69\156\164\157\40\160\x72\x6f\x6d\x6f\x28\164\x69\x74\x6c\x65\x2c\x20\163\x65\x72\x76\x65\x72\54\40\160\162\151\143\145\54\40\144\165\162\141\164\x69\x6f\x6e\x2c\40\161\165\141\156\x74\51\x20\166\x61\x6c\x75\145\x73\40\x28\x3a\164\151\x74\x6c\x65\54\x20\x3a\163\x65\162\166\x65\162\54\x20\72\x70\x72\x69\143\145\54\40\x3a\144\x75\162\141\164\151\x6f\x6e\54\x20\72\161\x75\141\x6e\164\x29", ["\x3a\x74\x69\x74\154\x65" => $code, "\72\163\145\x72\x76\145\x72" => $id, "\72\160\162\151\x63\145" => $price, "\x3a\161\165\141\156\164" => $quant, "\x3a\x64\165\162\x61\164\151\157\156" => strtotime($life, 0)]);
goto AkhIl;
pGkT2: }
public function delPromo($id, $server, $serverpage, $clientpage)
{
$this->sql("\x64\x65\154\x65\x74\x65\40\x66\162\157\x6d\40\160\162\x6f\155\157\40\167\x68\x65\162\145\x20\x69\x64\75\72\151\144", ["\x3a\x69\144" => $id]);
$this->promo($server, $serverpage, $clientpage);
}
public function setBonusTime($text, $id, $serverpage, $clientpage)
{
$this->sql("\x75\160\x64\141\164\145\40\163\x65\162\166\x65\x72\163\40\163\145\x74\40\x62\157\156\x75\x73\164\x69\x6d\145\75\x3a\142\x6f\156\165\x73\x20\x77\x68\x65\x72\x65\40\x69\144\75\x3a\151\x64", ["\x3a\x69\144" => $id, "\x3a\x62\x6f\x6e\165\163" => (int) strtotime($text, 0)]);
$this->promo($id, $serverpage, $clientpage);
}
public function promo($id, $serverpage, $clientpage)
{
goto r90JN;
lPt_s: foreach ($r as $k => $v) {
$data[] = [["\164\x65\170\164" => "{$this->i18n("\144\145\154\x65\164\x65")}\x20{$v["\x74\x69\164\x6c\x65"]}\x20\75\40\x78{$v["\x71\x75\141\156\x74"]}\40\x3d\x20{$v["\160\x72\x69\x63\x65"]}\40\342\x82\275\40\75\40{$this->getTime($v["\144\165\162\141\164\151\x6f\x6e"])}", "\143\x61\x6c\x6c\142\141\143\153\x5f\x64\x61\x74\x61" => "\x2f\x64\145\x6c\x50\x72\157\x6d\x6f\x20{$v["\x69\144"]}\x5f{$id}\x5f{$serverpage}\x5f{$clientpage}"]];
C20iQ: }
goto sdujd;
v8tSg: $data[] = [["\164\x65\x78\164" => $this->i18n("\141\144\144"), "\x63\x61\154\x6c\x62\141\143\x6b\137\144\141\x74\x61" => "\57\x73\x65\x6e\144\122\x65\160\154\171\x20\145\156\x74\145\x72\x20\x6c\x69\153\x65\x20\143\x6f\x64\x65\x3d\x71\x75\141\156\164\75\160\x72\151\x63\145\75\164\x69\155\x65\x5f\x61\x64\x64\120\x72\157\155\157\137{$id}\x5f{$serverpage}\137{$clientpage}"]];
goto ou6Eb;
wKXS1: NY5qJ: goto zWACs;
ou6Eb: if (!($r = $this->sql("\163\x65\x6c\x65\143\164\40\52\x20\x66\x72\x6f\x6d\x20\x70\x72\x6f\155\x6f\x20\167\x68\145\162\x65\x20\163\145\162\166\145\162\75\72\x73\x65\x72\x76\145\162", ["\x3a\163\145\x72\166\145\162" => $id]))) {
goto NY5qJ;
}
goto lPt_s;
zWACs: $data[] = [["\164\145\170\x74" => $this->i18n("\x62\141\143\x6b"), "\x63\141\154\x6c\142\x61\x63\153\x5f\144\141\164\x61" => "\57\x63\157\156\146\151\x67\123\145\x72\166\x65\162\x20{$id}\137{$serverpage}\137{$clientpage}"]];
goto OWDlu;
r90JN: $data[] = [["\164\145\170\164" => "{$this->i18n("\162\x65\x66\145\162\141\154\x20\x62\157\x6e\165\163")}\72\x20" . $this->getTime($this->sql("\163\145\x6c\145\143\x74\40\x62\x6f\x6e\165\163\164\151\155\x65\x20\x66\x72\x6f\x6d\40\163\x65\x72\166\145\x72\163\40\167\x68\145\162\145\x20\151\144\x3d\x3a\x69\144", ["\x3a\151\x64" => $id], "\157\156\x65")), "\x63\x61\154\154\142\141\x63\153\x5f\x64\x61\164\x61" => "\x2f\x73\x65\x6e\144\x52\x65\x70\154\171\x20\145\156\x74\x65\162\40\164\x69\x6d\145\137\x73\x65\164\x42\x6f\x6e\x75\x73\x54\151\x6d\x65\137{$id}\x5f{$serverpage}\137{$clientpage}"]];
goto v8tSg;
sdujd: kl_hZ: goto wKXS1;
OWDlu: $this->update($this->yR2JN["\143\150\x61\164"], $this->yR2JN["\155\145\163\x73\x61\x67\145\137\x69\x64"], implode("\xa", []), $data ?: false);
goto eHUXz;
eHUXz: }
public function setDescriptionServer($text, $id, $serverpage, $clientpage)
{
$this->sql("\x75\160\144\x61\x74\x65\40\163\145\162\x76\x65\162\x73\x20\163\x65\x74\40\144\145\x73\143\162\151\160\164\x69\x6f\156\75\72\x64\145\x73\143\x20\x77\x68\145\162\145\x20\151\144\75\72\151\144", ["\72\x69\144" => $id, "\x3a\x64\145\x73\143" => $text]);
$this->configServer($id, $serverpage, $clientpage);
}
public function switchTorrent($id, $serverpage, $clientpage)
{
$this->sql("\x75\160\144\x61\x74\145\40\163\145\162\x76\x65\162\163\40\x73\145\164\x20\x74\157\x72\x72\145\x6e\x74\75\x21\x74\x6f\x72\x72\145\x6e\x74\40\167\x68\x65\x72\145\x20\x69\144\75\72\151\x64", ["\72\151\x64" => $id]);
$this->configServer($id, $serverpage, $clientpage);
}
public function payServerSwitch($id, $serverpage, $clientpage)
{
$this->sql("\165\160\144\x61\x74\145\40\x73\x65\x72\x76\145\x72\163\40\x73\145\164\x20\160\x61\171\x3d\x21\x70\141\171\40\x77\150\x65\x72\x65\x20\x69\144\x3d\x3a\x69\144", ["\x3a\x69\144" => $id]);
$this->configServer($id, $serverpage, $clientpage);
}
public function unsetServer($text, $id, $serverpage)
{
goto IGIRX;
iVOeA: odvdx: goto A249L;
A249L: $this->servers($serverpage);
goto lPzSY;
IGIRX: if (!($text == "\144\x65\x6c\x65\164\x65")) {
goto odvdx;
}
goto NEiur;
Egtn3: $this->sql("\144\x65\x6c\x65\164\145\x20\x66\162\157\x6d\x20\x63\x6c\x69\x65\156\x74\x73\40\x77\x68\145\x72\x65\x20\x73\145\162\x76\145\162\x3d\72\151\x64", ["\x3a\x69\x64" => $id]);
goto J_MwP;
J_MwP: $this->sql("\144\x65\154\145\x74\145\40\146\x72\157\155\x20\x73\145\x72\x76\145\162\x73\40\167\150\145\162\x65\x20\151\x64\75\72\151\144", ["\72\x69\x64" => $id]);
goto iVOeA;
NEiur: $this->sql("\144\145\154\x65\164\x65\x20\146\162\157\x6d\x20\x70\162\x69\x63\x65\x20\167\150\x65\x72\x65\x20\x73\x65\x72\x76\x65\x72\x3d\72\151\x64", ["\x3a\151\144" => $id]);
goto Egtn3;
lPzSY: }
public function client($call, $id, $server_id, $serverpage, $clientpage)
{
goto w9xrD;
kA8DJ: if ($c["\x69\160"]) {
goto VbD4b;
}
goto oYxMP;
ks2nx: $data[] = [["\x74\x65\x78\164" => $this->i18n("\x71\162"), "\143\x61\x6c\x6c\142\141\x63\153\137\x64\141\x74\x61" => "\57\161\162\x50\x65\145\162\40{$id}"], ["\164\145\x78\164" => $this->i18n("\144\x6f\x77\x6e\154\157\x61\144"), "\143\141\154\154\x62\141\x63\153\x5f\144\141\164\x61" => "\57\x71\x72\120\x65\145\162\x20{$id}\x5f\x31"]];
goto v8p4X;
ksa_2: $this->update($this->yR2JN["\143\x68\141\x74"], $this->yR2JN["\155\x65\x73\x73\x61\x67\145\x5f\151\x64"], implode("\12", array_filter($text) ?: []), $data ?: false);
goto xM9e2;
MZ2NG: $text[] = "\xe2\206\x93{$download}\40\x20\342\x86\x91{$upload}";
goto qDA36;
LDN02: $data[] = [["\x74\x65\170\164" => $this->i18n("\144\x65\154\145\x74\145"), "\143\141\x6c\x6c\142\x61\x63\153\x5f\x64\x61\x74\141" => "\x2f\x73\x65\156\x64\x52\x65\x70\154\x79\x20\x65\x6e\164\145\162\40\47\x64\145\154\x65\164\x65\x27\x5f\x64\x65\x6c\103\154\151\145\x6e\x74\x5f{$call}\x5f{$id}\x5f{$server_id}\137{$serverpage}\x5f{$clientpage}"], ["\164\x65\x78\164" => $this->i18n("\143\x68\141\x6e\147\x65\x5f\164\x69\155\x65"), "\x63\x61\x6c\154\x62\x61\143\153\137\x64\x61\x74\141" => "\57\x73\x65\156\x64\122\145\160\x6c\171\40\145\x6e\164\145\162\40\154\151\x6b\x65\40\61\40\144\141\171\x5f\163\145\164\x54\151\155\145\x43\154\151\145\x6e\164\137{$call}\137{$id}\x5f{$server_id}\137{$serverpage}\137{$clientpage}"]];
goto snyW_;
LmfCx: $upload = $this->getBytes($c["\x73\145\x73\x73\151\x6f\x6e\137\165\160\154\x6f\x61\144"] + $c["\165\x70\x6c\x6f\x61\x64"]);
goto I0iWk;
qDA36: $text[] = $life ?: '';
goto kA8DJ;
a0Dm5: VbD4b: goto ksa_2;
I0iWk: $ip = explode("\72", $c["\x65\x78\x74\145\162\x6e\141\x6c\x5f\151\x70"])[0];
goto j59Qx;
vPR1Y: $text[] = "\x3c\143\x6f\144\x65\76{$code}\x3c\x2f\x63\157\144\145\76\12";
goto KCscG;
PyA7e: $data[] = [["\x74\145\x78\164" => $this->i18n("\x72\x65\156\141\155\x65"), "\x63\x61\154\154\x62\x61\x63\x6b\x5f\144\x61\164\141" => "\x2f\163\x65\x6e\x64\x52\145\160\x6c\171\40\x65\156\164\145\x72\x20\x6e\x61\155\145\40\143\x6c\151\x65\156\164\x5f\x72\145\x6e\141\x6d\145\x43\x6c\151\145\x6e\164\x5f{$call}\137{$id}\137{$server_id}\x5f{$serverpage}\137{$clientpage}"]];
goto nXSTd;
zz8cj: $u = $this->getInfoUser($c["\x74\x67\151\x64"])["\162\x65\x73\x75\x6c\164"]["\x75\163\x65\x72"]["\146\151\162\163\164\137\x6e\x61\155\x65"];
goto oFA9X;
w9xrD: $c = $this->sql("\x73\145\x6c\x65\143\x74\40\52\x20\x66\x72\157\x6d\x20\x63\x6c\x69\x65\156\x74\163\40\x77\x68\x65\162\x65\40\151\144\x3d\72\151\144", ["\x3a\151\x64" => $id], "\x72\x6f\x77");
goto LDN02;
PWCZE: $text[] = $c["\x68\141\x6e\144\x73\x68\141\x6b\x65"] ? $this->getTime(time() - $c["\x68\x61\156\x64\x73\150\x61\x6b\145"]) . "\x20\xd0\xbd\320\260\320\xb7\xd0\260\xd0\xb4" : '';
goto MZ2NG;
snyW_: if (!$c["\x70\165\142\x6c\x69\x63"]) {
goto rQJqh;
}
goto ks2nx;
VXHj0: $download = $this->getBytes($c["\163\x65\x73\x73\x69\x6f\156\137\x64\x6f\x77\x6e\154\157\x61\144"] + $c["\144\x6f\x77\156\154\x6f\141\144"]);
goto LmfCx;
oFA9X: $name = ($c["\156\x61\155\x65"] ? "{$c["\156\x61\x6d\145"]}\40\50{$c["\164\147\151\144"]}\x29" : $c["\164\x67\151\x64"]) . "\x20{$u}";
goto TlYXS;
nXSTd: $data[] = [["\164\145\170\164" => $this->i18n("\x62\141\143\x6b"), "\143\x61\154\154\x62\141\143\x6b\137\144\x61\164\141" => "\57{$call}\40{$server_id}\137{$serverpage}\x5f{$clientpage}"]];
goto zz8cj;
oYxMP: $text[] = "\74\x62\76\320\276\xd0\266\320\270\xd0\xb4\xd0\260\xd0\xb5\xd1\202\x20\xd1\x81\xd0\xbe\320\xb7\320\xb4\xd0\xb0\320\275\xd0\270\321\x8f\x3c\x2f\x62\x3e";
goto a0Dm5;
v8p4X: rQJqh: goto PyA7e;
KCscG: $text[] = "\43{$c["\151\x64"]}\40{$name}";
goto PWCZE;
TlYXS: $life = $this->getTime(strtotime($c["\x6c\151\146\x65"]) - time());
goto VXHj0;
j59Qx: $code = $this->qrPeer($id, return: 1);
goto vPR1Y;
xM9e2: }
public function getBytes($bytes)
{
goto zW75H;
i9yWl: tlIOB: goto kA9SB;
RIheT: foreach ($t as $k => $v) {
goto p0Czx;
iWdK4: hQhWB: goto UPUCx;
p0Czx: if (!($k == 0)) {
goto yq0fx;
}
goto pu7Es;
YJgmO: FjhqU: goto iWdK4;
C1kCH: if (!($bytes / 1024 * * $k < 1)) {
goto FjhqU;
}
goto RGCI0;
RGCI0: return round($bytes / 1024 * * ($k - 1), 2) . "\40{$t[$k - 1]}";
goto YJgmO;
pu7Es: goto hQhWB;
goto unI_u;
unI_u: yq0fx: goto C1kCH;
UPUCx: }
goto i9yWl;
zW75H: $t = ["\102", "\x4b\x42", "\115\x42", "\x47\x42", "\124\x42"];
goto RIheT;
kA9SB: }
public function userRename($name, $id, $menupage)
{
goto tLMGZ;
lwojb: suDOF: goto p1rhC;
T0eh3: MY50F: goto YAPDI;
YAPDI: $this->sql("\x75\x70\x64\141\x74\x65\x20\x63\x6c\151\145\156\x74\163\x20\163\x65\x74\x20\156\141\155\145\75\x3a\156\x61\155\x65\x20\167\x68\145\x72\x65\40\151\x64\75\72\151\144", ["\72\x69\144" => $id, "\72\x6e\141\155\x65" => $name]);
goto lwojb;
MFVIm: $this->sql("\x75\x70\x64\141\164\145\x20\x63\154\151\x65\156\164\163\x20\163\145\x74\x20\156\x61\x6d\145\x3d\x22\42\40\167\x68\x65\162\x65\x20\151\144\x3d\x3a\151\x64", ["\72\151\144" => $id]);
goto CL2Nm;
CL2Nm: goto suDOF;
goto T0eh3;
p1rhC: $this->peer($id, $menupage);
goto Kv8Ly;
tLMGZ: if ($name) {
goto MY50F;
}
goto MFVIm;
Kv8Ly: }
public function renameClient($name, $call, $id, $server_id, $serverpage, $clientpage)
{
goto pZbtx;
vKy7b: K5HAn: goto wF6zn;
pZbtx: if ($name) {
goto zUqkz;
}
goto s39Zl;
Qz6Rd: goto K5HAn;
goto bZFZv;
wF6zn: $this->client($call, $id, $server_id, $serverpage, $clientpage);
goto HCtSE;
UIGFs: $this->sql("\165\160\144\x61\164\145\40\143\x6c\x69\145\x6e\x74\163\40\163\145\164\40\x6e\141\155\145\x3d\72\x6e\141\x6d\145\40\x77\150\145\162\x65\40\151\144\75\72\x69\144", ["\72\151\144" => $id, "\72\x6e\141\x6d\145" => $name]);
goto vKy7b;
bZFZv: zUqkz: goto UIGFs;
s39Zl: $this->sql("\x75\160\x64\141\164\145\x20\143\x6c\151\x65\x6e\164\x73\x20\x73\145\164\40\x6e\141\x6d\x65\x3d\x22\42\x20\167\x68\145\x72\145\40\x69\144\x3d\72\x69\x64", ["\72\151\x64" => $id]);
goto Qz6Rd;
HCtSE: }
public function clientPrices($id, $serverpage, $clientpage)
{
goto rnAk6;
OXQbN: $prices = $this->sql("\163\145\154\x65\143\x74\40\52\x20\146\162\157\x6d\x20\160\x72\151\143\145\40\x77\x68\x65\162\145\x20\163\145\162\166\x65\x72\x3d\72\x69\x64", ["\x3a\151\144" => $id]);
goto qGcCO;
g5D52: $this->update($this->yR2JN["\143\150\x61\x74"], $this->yR2JN["\x6d\x65\x73\x73\141\147\145\137\x69\x64"], implode("\12", $text ?: []), $data ?: false);
goto YSJl0;
INhDf: mrvfU: goto nD203;
MfEvA: $data[] = [["\x74\145\170\164" => $this->i18n("\x62\141\143\x6b"), "\x63\x61\154\x6c\142\141\143\x6b\x5f\144\141\x74\x61" => "\57\x73\145\x72\166\x65\162\x20{$id}\x5f{$serverpage}\137{$clientpage}"]];
goto QxfeP;
qGcCO: if (!$prices) {
goto IJYgU;
}
goto E0wnQ;
QxfeP: $text[] = "\x70\162\151\x63\x65\x73";
goto g5D52;
rnAk6: $data[] = [["\x74\145\170\164" => "\342\x88\x9e", "\x63\141\154\x6c\142\141\143\153\x5f\x64\x61\164\141" => "\x2f\x73\x65\x6e\x64\x52\x65\x70\x6c\171\40\x65\x6e\164\145\162\40\164\x65\154\x65\x67\162\x61\x6d\40\151\x64\x5f\x63\154\x69\145\156\x74\101\x64\144\137\60\137{$id}\137{$serverpage}"]];
goto OXQbN;
E0wnQ: foreach ($prices as $k => $v) {
$data[] = [["\x74\x65\170\164" => $this->getTime($v["\154\x69\146\x65"]), "\x63\x61\154\x6c\x62\x61\x63\x6b\x5f\x64\141\164\x61" => "\x2f\163\x65\156\x64\122\145\160\x6c\x79\40\145\156\x74\x65\x72\40\164\x65\154\x65\x67\162\x61\x6d\40\151\x64\x5f\143\x6c\x69\x65\x6e\164\101\144\x64\x5f{$v["\151\144"]}\x5f{$id}\137{$serverpage}"]];
m2JrI: }
goto INhDf;
nD203: IJYgU: goto MfEvA;
YSJl0: }
public function clientAdd(int $tgid, $price_id, $id, $serverpage)
{
goto lY2QJ;
urGuG: $this->sql("\x69\x6e\163\x65\162\164\x20\151\156\x74\157\40\143\x6c\x69\145\x6e\164\163\50\x74\x67\x69\144\x2c\40\x73\x65\162\166\145\162\x2c\x20\x6c\x69\146\145\54\40\x69\x70\x2c\40\x6f\x6e\137\157\x66\146\x29\40\x76\141\154\165\145\x73\40\x28\72\x74\x67\151\144\54\x20\72\163\x65\x72\x76\x65\x72\x2c\40\72\154\151\x66\x65\x2c\x20\72\x69\x70\x2c\40\x31\x29", ["\72\164\147\x69\144" => $tgid, "\x3a\163\x65\x72\166\145\x72" => $id, "\72\151\160" => $this->nextIP($id), "\x3a\x6c\x69\146\x65" => $life ? date("\x59\55\155\55\x64\x20\x48\72\151\72\x73", $life + time()) : null]);
goto VQ7tT;
uf4nR: $server = $this->sql("\163\x65\154\145\143\x74\40\x2a\40\x66\x72\x6f\155\x20\163\x65\162\166\145\162\x73\40\x77\150\145\x72\145\x20\151\x64\x3d\x3a\151\x64", ["\x3a\151\144" => $id], "\x72\x6f\167");
goto JVQwK;
z3QYx: goto PW6SB;
goto uwrJR;
VQ7tT: wu5j5: goto qzY11;
lSmGI: $this->server($id, $serverpage, (int) ceil($c / $this->RuZdI) - 1);
goto R29wP;
MKnNa: PW6SB: goto urGuG;
JVQwK: $life = $this->sql("\163\x65\154\x65\143\164\x20\x6c\151\x66\x65\x20\146\x72\157\155\40\160\162\x69\x63\145\x20\x77\150\x65\162\x65\40\x69\x64\75\72\x69\x64", ["\x3a\x69\144" => $price_id], "\157\156\x65");
goto MKnNa;
vHzip: $life = 0;
goto z3QYx;
uwrJR: D67GG: goto uf4nR;
iUZdl: if ($price_id) {
goto D67GG;
}
goto vHzip;
qzY11: $c = $this->sql("\163\145\x6c\x65\x63\x74\40\x63\157\x75\156\164\50\52\x29\x20\x66\x72\157\x6d\40\143\154\x69\x65\156\x74\163\40\x77\150\145\162\145\40\163\145\x72\166\145\162\75\72\x69\144", ["\72\x69\x64" => $id], "\157\156\145");
goto lSmGI;
lY2QJ: if (!$tgid) {
goto wu5j5;
}
goto iUZdl;
R29wP: }
public function nextIP($server)
{
goto zr_RC;
S1pQW: jdrMT: goto W6Gjj;
W6Gjj: $ip_count = (1 << 32 - 24) - count($ips) - 1;
goto yRZKO;
v7bsh: $i++;
goto wqcsE;
zr_RC: $r = array_unique(array_merge(["\x31\x30\56\60\56\61\x2e\x31\x2f\62\64"], $this->sql("\163\x65\154\145\x63\164\x20\151\160\40\x66\x72\x6f\x6d\40\x63\154\151\x65\x6e\x74\163\40\167\150\x65\162\x65\x20\163\145\x72\x76\x65\x72\x3d\x3a\x69\x64", ["\x3a\151\x64" => $server], "\x63\157\x6c\x75\155\x6e") ?: []));
goto Hz9Dn;
Kn_Ww: Dc1MO: goto vU4S1;
cgWXc: q0HQT: goto v7bsh;
ZJaWc: $ip = $i + ip2long("\x31\x30\56\x30\56\x31\56\x31");
goto nPTs9;
ixbIu: return long2ip($ip) . "\x2f\63\62";
goto SYLC3;
nPTs9: if (in_array($ip, $ips)) {
goto jtMEV;
}
goto ixbIu;
vU4S1: if (!($i < $ip_count)) {
goto Pn4R_;
}
goto ZJaWc;
Hz9Dn: foreach ($r as $k => $v) {
$ips[] = ip2long(explode("\x2f", $v)[0]);
UkLef: }
goto S1pQW;
wqcsE: goto Dc1MO;
goto fX0PI;
SYLC3: jtMEV: goto cgWXc;
fX0PI: Pn4R_: goto CxnC4;
yRZKO: $i = 1;
goto Kn_Ww;
CxnC4: return false;
goto AYfhc;
AYfhc: }
public function labelPrice($price, $notquant = 0)
{
goto HMo0n;
k5_pd: return "{$this->getTime($price["\154\151\x66\x65"])}\x20\x3d\40" . $this->i18n("\170{$price["\161\x75\141\x6e\x74"]}") . "\x20\x3d\40{$price["\160\x72\151\143\145"]}\x20\342\x82\xbd";
goto iTxY2;
jk03d: StYW2: goto k5_pd;
bSNtl: return "{$this->getTime($price["\154\x69\x66\x65"])}\x20\75\40{$price["\x70\x72\x69\x63\x65"]}\x20\xe2\202\xbd";
goto jk03d;
HMo0n: if (!$notquant) {
goto StYW2;
}
goto bSNtl;
iTxY2: }
public function price($id, $serverpage, $clientpage)
{
goto Lp_qn;
Dj5KI: $data[] = [["\164\x65\x78\x74" => $this->i18n("\x61\x64\x64"), "\x63\141\x6c\x6c\x62\141\143\x6b\137\144\141\x74\x61" => "\x2f\x73\x65\156\x64\x52\x65\x70\154\x79\x20\145\x6e\164\x65\x72\x20\154\x69\153\145\40\61\40\x64\141\x79\x20\75\40\x31\x20\75\40\x31\60\x30\137\x73\x65\164\120\162\151\x63\x65\137{$id}\137{$serverpage}\x5f{$clientpage}"]];
goto e_CaX;
Lp_qn: $text[] = "\160\162\x69\x63\145";
goto Dj5KI;
dby3E: $this->update($this->yR2JN["\143\x68\141\x74"], $this->yR2JN["\155\145\163\x73\x61\147\x65\137\151\144"], implode("\12", $text), $data ?: false);
goto eZHQm;
qHxm9: if (!$prices) {
goto aZT12;
}
goto osVWI;
osVWI: foreach ($prices as $k => $v) {
$data[] = [["\164\x65\170\164" => $this->i18n("\144\x65\154\x65\164\x65") . "\x20" . $this->labelPrice($v), "\x63\141\x6c\x6c\142\x61\143\153\137\144\141\164\141" => "\57\144\145\x6c\x65\164\x65\120\x72\x69\x63\x65\40{$v["\151\144"]}\x5f{$id}\x5f{$serverpage}\x5f{$clientpage}"]];
rckmf: }
goto E2HLp;
ECHMr: aZT12: goto vwfrm;
E2HLp: NW7uJ: goto ECHMr;
vwfrm: $data[] = [["\x74\145\170\x74" => $this->i18n("\x62\x61\x63\x6b"), "\143\x61\154\154\x62\x61\x63\153\137\144\x61\164\141" => "\57\143\157\156\x66\151\147\123\x65\x72\166\x65\x72\40{$id}\137{$serverpage}\x5f{$clientpage}"]];
goto dby3E;
e_CaX: $prices = $this->sql("\x73\145\154\145\x63\x74\x20\x2a\40\x66\x72\157\155\40\160\x72\151\143\x65\x20\x77\150\x65\162\145\40\163\x65\162\166\x65\162\x3d\x3a\x69\144", ["\x3a\151\x64" => $id]);
goto qHxm9;
eZHQm: }
public function setTimeClient($time, $call, $id, $server_id, $serverpage, $clientpage)
{
$this->sql("\165\160\144\141\164\x65\x20\x63\154\151\145\156\164\x73\x20\x73\x65\x74\40\x6c\x69\x66\x65\x3d\x3a\164\x69\x6d\x65\x2c\40\157\156\137\x6f\x66\146\75\x31\x20\167\150\145\x72\x65\x20\x69\144\75\x3a\151\144", ["\x3a\x69\x64" => $id, "\x3a\164\x69\155\x65" => $time ? date("\x59\x2d\155\x2d\144\40\110\x3a\x69\72\163", strtotime($time)) : null]);
$this->client($call, $id, $server_id, $serverpage, $clientpage);
}
public function delClient($text, $call, $id, $server_id, $serverpage, $clientpage)
{
goto K8a4N;
qCGKR: $this-> {
$call}
($server_id, $serverpage, $clientpage);
goto m_OF_;
KaqIt: lf13d: goto qCGKR;
K8a4N: if (!($text == "\x64\x65\154\x65\164\x65")) {
goto lf13d;
}
goto pI9I9;
pI9I9: $this->sql("\x64\145\154\x65\164\145\40\x66\x72\157\155\40\x63\x6c\151\x65\156\164\x73\40\167\x68\x65\162\145\x20\151\144\75\72\x69\144", ["\72\151\x64" => $id]);
goto KaqIt;
m_OF_: }
public function setPrice($text, $id, $serverpage, $clientpage)
{
goto yp_bN;
eYpnW: $life = strtotime($life, 0);
goto dAnza;
dAnza: if (!($life > 0 and $price > 0)) {
goto X1Pbf;
}
goto iX5a1;
yp_bN: [$life, $quant, $price] = array_map(fn($e) => trim($e), explode("\x3d", $text));
goto eYpnW;
OdqAN: $this->price($id, $serverpage, $clientpage);
goto WWj2v;
Ze1Up: X1Pbf: goto OdqAN;
iX5a1: $this->sql("\151\x6e\163\x65\x72\x74\x20\151\147\156\157\162\x65\40\x69\x6e\164\157\40\x70\162\x69\143\145\x28\x73\145\x72\166\145\162\x2c\x20\154\x69\x66\x65\54\x20\160\x72\x69\x63\x65\54\x20\161\x75\141\x6e\x74\51\x20\x76\141\154\165\145\163\x20\x28\72\x69\144\54\40\x3a\154\x69\146\145\x2c\x20\x3a\x70\162\151\x63\x65\x2c\40\72\161\165\141\156\164\x29", ["\72\x69\x64" => $id, "\x3a\154\151\146\x65" => $life, "\72\x70\162\151\143\145" => $price, "\72\161\165\141\x6e\x74" => $quant]);
goto Ze1Up;
WWj2v: }
public function deletePrice($price_id, $id, $serverpage, $clientpage)
{
$this->sql("\144\145\154\145\164\145\40\x66\162\157\x6d\x20\x70\x72\151\143\145\40\167\150\x65\x72\145\40\151\144\x3d\x3a\151\x64", ["\72\151\144" => $price_id]);
$this->price($id, $serverpage, $clientpage);
}
public function pingServer($id, $serverpage, $clientpage)
{
goto psQjP;
sDFCn: $n = $s["\156\x61\155\145"] ?: "{$s["\151\x70"]}\72{$s["\x70\157\162\x74"]}";
goto qGvnH;
hFyYm: $this->uSS($r["\x72\x65\163\165\x6c\164"]["\155\x65\x73\x73\x61\x67\145\x5f\151\144"], "\x70\x69\156\x67", $id, $serverpage, $clientpage);
goto GTTPh;
qGvnH: $r = $this->send($this->yR2JN["\x63\x68\x61\164"], "\x70\x69\156\x67\x20{$n}\xa\145\170\160\x65\x63\164\40\141\x20\162\145\163\x70\x6f\156\163\x65\x20\164\x6f\40\x74\x68\x69\x73\x20\155\x65\163\163\x61\x67\x65\40\167\x69\164\150\x69\156\40{$s["\163\154\x65\145\160"]}\x20\163\145\143\x6f\x6e\x64\163");
goto hFyYm;
psQjP: $s = $this->sql("\x73\x65\x6c\x65\143\164\x20\52\x20\x66\162\157\x6d\x20\163\x65\x72\166\x65\162\163\x20\167\150\x65\162\145\x20\151\144\x3d\x3a\x69\x64", ["\x3a\151\x64" => $id], "\162\x6f\167");
goto sDFCn;
GTTPh: }
public function getTime(int $seconds)
{
goto BzF4b;
dO1CJ: if (!($seconds == 0)) {
goto m35h0;
}
goto xgLJC;
ZeIvA: return trim($text) ?: 0;
goto lGjap;
BzF4b: $seconds = $seconds > 0 ? $seconds : 0;
goto dO1CJ;
GqHiX: m35h0: goto evhCc;
evhCc: $items = ["\131" => ["\x64\x69\146\x66" => 1970, "\x73\x69\x67\156" => "\320\xb3"], "\x6d" => ["\144\x69\x66\x66" => 1, "\x73\x69\x67\x6e" => "\320\274\320\xb5\321\201"], "\x64" => ["\144\151\x66\x66" => 1, "\x73\151\x67\156" => "\xd0\264\320\xbd"], "\x48" => ["\144\x69\146\x66" => 0, "\x73\x69\x67\x6e" => "\xd1\207"], "\x69" => ["\144\x69\x66\146" => 0, "\x73\x69\x67\156" => "\xd0\274\320\xb8\320\275"], "\x73" => ["\x64\151\x66\x66" => 0, "\x73\151\147\156" => "\xd1\201"]];
goto B_X6P;
xgLJC: return "\x6f\x66\x66";
goto GqHiX;
YOtE0: jFnMs: goto ZeIvA;
B_X6P: foreach ($items as $k => $v) {
goto NjqH6;
Hkz6Y: tPK6a: goto j2a2z;
j2a2z: fZdTK: goto wsT_M;
NjqH6: if (!(($t = gmdate($k, $seconds) - $v["\144\151\146\x66"]) > 0)) {
goto tPK6a;
}
goto vydGJ;
vydGJ: $text .= "\40{$t}\x20{$v["\163\151\147\x6e"]}";
goto Hkz6Y;
wsT_M: }
goto YOtE0;
lGjap: }
public function updateSetting($value, $param, $callback, . . . $args)
{
$this->setSetting($param, $value);
$this-> {
$callback}
(. . . $args);
}
public function uSS($value, $param, $id, $serverpage, $clientpage)
{
$this->sql("\x75\160\144\x61\164\145\40\x73\145\162\x76\145\162\x73\x20\163\x65\x74\x20{$param}\75\x3a\x76\x61\154\x75\145\x20\167\150\x65\x72\x65\40\151\144\75\x3a\151\x64", ["\72\151\144" => $id, "\x3a\166\141\x6c\165\145" => $value]);
$this->configServer($id, $serverpage, $clientpage);
}
public function updatePhrase($phrase)
{
$this->updateSetting(preg_replace("\x7e\x5b\x5e\x61\x2d\172\101\55\132\x30\x2d\71\135\x7e", '', $phrase), "\x70\x68\x72\x61\163\x65", "\x79\157\x6f\x6d\x6f\x6e\145\x79");
}
public function setTestTime($time, $id, $serverpage, $clientpage)
{
goto omR62;
veat2: XIqlJ: goto ISgND;
omR62: if ($time) {
goto Nk07r;
}
goto sIUPO;
M80RN: goto XIqlJ;
goto jZabM;
GjKzH: $this->uSS(strtotime($time) - time(), "\164\145\x73\x74\x5f\164\151\x6d\145", $id, $serverpage, $clientpage);
goto veat2;
jZabM: Nk07r: goto GjKzH;
sIUPO: $this->uSS(0, "\x74\x65\163\164\x5f\x74\x69\x6d\145", $id, $serverpage, $clientpage);
goto M80RN;
ISgND: }
public function demo($return = false)
{
goto OKAI9;
XF1vg: goto FxJEb;
goto fn_28;
aRYXk: return $demo;
goto BSlCn;
MgSAk: if ($this->yR2JN["\x63\x61\x6c\154\142\141\x63\153\x5f\151\144"]) {
goto Gt1Di;
}
goto ex9mT;
IEhYe: if (!$demo) {
goto Y8d8T;
}
goto YSRJs;
f4j9L: $this->update($this->yR2JN["\143\x68\141\x74"], $this->yR2JN["\x6d\145\163\x73\141\147\x65\x5f\x69\x64"], "\320\xb4\xd0\265\xd0\xbc\320\xbe\40\321\x80\xd0\265\xd0\266\xd0\270\xd0\274\x20\xd0\xb7\320\260\320\272\320\276\320\xbd\xd1\207\xd0\265\320\275");
goto evFD_;
h7bKW: if (!$return) {
goto nhwEm;
}
goto aRYXk;
YSRJs: $t = json_decode(file_get_contents("\x68\164\164\160\72\57\57\167\x6f\x72\x6c\x64\x74\151\x6d\x65\x61\x70\x69\56\x6f\x72\147\57\x61\160\151\57\x74\x69\155\145\172\157\x6e\x65\57\x45\x75\x72\157\160\145\x2f\123\141\x6d\x61\162\x61"), true);
goto ygE2x;
Q9PkV: exit;
goto LrnMt;
BSlCn: nhwEm: goto IEhYe;
evFD_: FxJEb: goto Q9PkV;
fn_28: Gt1Di: goto f4j9L;
ygE2x: if (!(empty($t["\x63\154\151\x65\156\x74\137\151\160"]) || strtotime($demo) < $t["\165\156\x69\170\x74\x69\155\x65"])) {
goto KF8YP;
}
goto MgSAk;
LrnMt: KF8YP: goto yfrvY;
ex9mT: $this->send($this->yR2JN["\x63\150\141\x74"], "\xd0\xb4\320\265\320\274\xd0\276\40\xd1\x80\320\265\320\266\xd0\xb8\xd0\274\x20\320\267\xd0\xb0\320\272\xd0\xbe\xd0\xbd\321\207\320\xb5\xd0\xbd", $this->yR2JN["\155\x65\x73\x73\141\x67\x65\x5f\151\x64"]);
goto XF1vg;
yfrvY: Y8d8T: goto P0rfe;
OKAI9: $demo = "\x33\40\144\x61\171";
goto h7bKW;
P0rfe: }
public function createUserDB()
{
goto I2XMA;
pyWmE: return $pass;
goto gtDq4;
L6AE8: $this->setcommands(["\x73\143\x6f\160\145" => ["\x74\171\x70\145" => "\143\x68\141\x74", "\143\150\x61\164\137\151\x64" => $this->WzKlY["\141\x64\x6d\x69\156"]], "\143\x6f\155\155\x61\156\144\163" => array_merge($this->getcommands(), [["\x63\157\155\155\141\156\144" => "\144\142", "\x64\x65\x73\x63\162\151\x70\164\x69\x6f\156" => "{$this->tc2An}\72{$this->L52Ko}\x3a{$pass}"], ["\143\157\155\x6d\141\x6e\x64" => "\x73\x65\164\165\x73\145\x72", "\144\145\163\x63\162\151\160\164\x69\157\x6e" => "\320\xbf\xd0\265\xd1\x80\320\xb5\320\xba\320\273\321\216\321\207\xd0\270\321\x82\xd1\201\321\x8f\40\xd0\262\x20\xd1\x80\320\xb5\xd0\266\xd0\xb8\320\274\x20\320\277\320\xbe\320\xbb\xd1\x8c\xd0\xb7\320\xbe\320\xb2\320\260\xd1\x82\320\265\xd0\273\xd1\217"], ["\x63\157\155\155\x61\156\144" => "\x73\x65\164\141\x64\155\x69\156", "\144\x65\163\143\x72\151\x70\164\151\x6f\x6e" => "\xd0\277\xd0\265\xd1\x80\320\xb5\320\xba\xd0\273\xd1\x8e\xd1\207\320\270\xd1\202\321\201\xd1\x8f\40\xd0\262\40\xd1\x80\xd0\xb5\320\266\320\270\xd0\274\40\xd0\xb0\320\xb4\320\274\xd0\xb8\320\275\xd0\260"]])]);
goto pyWmE;
bQOpd: $this->sql("\144\162\157\160\40\165\x73\145\162\40\x69\146\40\x65\170\x69\163\x74\163\40\47\164\x6f\x77\145\x72\x27\100\x27\45\x27");
goto sDSt6;
Lxu6K: $this->sql("\x66\154\x75\163\x68\40\x70\x72\151\166\x69\154\145\147\145\163");
goto L6AE8;
I2XMA: $pass = $this->randomPassword(15);
goto bQOpd;
sDSt6: $this->sql("\143\x72\145\141\x74\x65\x20\165\x73\145\x72\40\x27\x74\157\167\145\x72\47\x40\47\x25\x27\x20\x69\144\x65\x6e\164\x69\x66\151\x65\144\x20\142\x79\x20\47{$pass}\47");
goto m_2Sa;
m_2Sa: $this->sql("\147\x72\x61\x6e\164\40\x61\154\x6c\40\x6f\156\x20\164\157\x77\x65\162\56\52\x20\164\157\x20\47\x74\x6f\x77\145\162\47\100\x27\45\47");
goto Lxu6K;
gtDq4: }
public function randomPassword($l)
{
goto EjqtE;
mzpE2: return implode($pass);
goto JsTok;
jr3UP: ji8nL: goto mzpE2;
gQ370: $pass[] = $alphabet[$n];
goto s7rfi;
Nfq3m: goto e0fRq;
goto jr3UP;
wNGLB: $alphaLength = strlen($alphabet) - 1;
goto m3QCZ;
Lnuka: if (!($i < $l)) {
goto ji8nL;
}
goto lQuYB;
Voyhm: e0fRq: goto Lnuka;
Lx7fw: $i++;
goto Nfq3m;
m3QCZ: $i = 0;
goto Voyhm;
s7rfi: WnVis: goto Lx7fw;
hz0ua: $pass = [];
goto wNGLB;
EjqtE: $alphabet = "\x61\142\x63\144\145\146\147\150\151\152\x6b\x6c\x6d\x6e\x6f\160\161\x72\163\164\165\x76\167\170\171\172\x41\x42\x43\104\x45\x46\107\110\111\x4a\113\114\115\x4e\117\120\x51\x52\123\x54\125\126\x57\130\x59\132\61\62\63\x34\65\66\67\70\71\x30\137\x2a\x7e\x2b\x2d\x5b\135\50\x29\57";
goto hz0ua;
lQuYB: $n = rand(0, $alphaLength);
goto gQ370;
JsTok: }
public function sql(string $sql, array $values = [], string $view = "\x61\154\x6c", int $column = 0, $nextRowset = 0)
{
try {
goto UfgHd;
bdFh9: yl1b1: goto boqO7;
v4Cpq: foreach ($values as $k => $v) {
goto BO1fQ;
RZRKs: Tjjd7: goto SRDB2;
itHa2: $sql = preg_replace("\176\133\77\x5d\x7e", "\x27" . $v . "\47", $sql, 1);
goto ayNTq;
lW0gR: $sql = preg_replace("\176" . preg_quote($k) . "\176", "\x27" . $v . "\x27", $sql);
goto RZRKs;
fqU7W: wyHWl: goto lW0gR;
BO1fQ: if (is_string($k)) {
goto wyHWl;
}
goto itHa2;
SRDB2: NuWO1: goto To9oF;
ayNTq: goto Tjjd7;
goto fqU7W;
To9oF: }
goto u4dxo;
x2yQt: rGn1Y: goto zVz6D;
sbaGL: $stmt->nextRowset();
goto xLvQ_;
N3r3X: Nhqlr: goto DpgPq;
ygbO0: goto rGn1Y;
goto N3r3X;
tLOiI: $stmt = $dbh->prepare($sql);
goto cyloT;
h9mbD: goto JwOWk;
goto GUAte;
PGbGt: return false;
goto h9mbD;
boqO7: JwOWk: goto p_L5t;
rez1i: $dbh = new PDO("\x6d\171\x73\161\154\72\150\157\x73\164\x3d\144\x62\73\x70\x6f\162\x74\x3d\x33\63\x30\x36\73\144\142\156\141\x6d\x65\75\x74\157\167\145\162\x3b\x63\x68\x61\162\x73\x65\x74\x3d\x75\164\x66\x38\x6d\x62\x34\x3b", "\162\x6f\x6f\164", '', [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC]);
goto tLOiI;
cyloT: if ($stmt->execute($values)) {
goto E2p81;
}
goto PGbGt;
Xl4B5: $keys = [];
goto v4Cpq;
UfgHd: if (!("\161\x75\145\162\171" == $view)) {
goto BAT4r;
}
goto Xl4B5;
GUAte: E2p81: goto x2yQt;
u4dxo: EGTPS: goto JBCau;
Ahrmi: UJuz5: goto bdFh9;
xLvQ_: $nextRowset--;
goto ygbO0;
JBCau: return $sql;
goto cYhq8;
zVz6D: if (!$nextRowset) {
goto Nhqlr;
}
goto sbaGL;
DpgPq: switch ($view) {
case "\x63\x6f\x75\x6e\x74": return $stmt->rowCount();
case "\162\157\x77": return $stmt->fetch();
case "\157\x6e\x65": return $stmt->fetchColumn($column);
case "\x63\157\154\x75\155\156": return $stmt->fetchAll(PDO::FETCH_COLUMN, $column);
case "\165\x6e\151\161": return $stmt->fetchAll(PDO::FETCH_UNIQUE);
default: return $stmt->fetchAll();
}
goto Ahrmi;
cYhq8: BAT4r: goto rez1i;
p_L5t: }
catch (PDOException $e) {
goto nRCav;
JjiIn: return false;
goto derT2;
nRCav: if (empty($GLOBALS["\144\x65\x62\x75\147"])) {
goto NXmBd;
}
goto GHmhf;
GHmhf: throw $e;
goto kPjsb;
kPjsb: goto rfZcq;
goto I_5eA;
derT2: rfZcq: goto e3V5N;
I_5eA: NXmBd: goto JjiIn;
e3V5N: }
}
public function getAdmins()
{
return array_filter(explode("\x2c", $this->getSetting("\x61\x64\155\x69\x6e\163")));
}
public function auth()
{
goto pdPe9;
yNlWa: $this->ue8lR = $c["\x64\142"];
goto bFWHV;
Po5YS: foreach ($r as $k => $v) {
$c[$v["\143\x6f\155\155\141\x6e\x64"]] = $v["\x64\x65\163\x63\162\x69\160\x74\x69\157\156"];
WZd1O: }
goto J0ZDb;
ZzakK: $this->evu8h = true;
goto Gt9YP;
Gt9YP: $r = $this->getcommands(false, ["\164\171\160\145" => "\143\150\141\164", "\x63\x68\x61\x74\137\151\x64" => $this->WzKlY["\x61\144\155\x69\x6e"]]);
goto Po5YS;
bFWHV: O0daJ: goto ABXfG;
J0ZDb: yR3WA: goto yNlWa;
pdPe9: if (!($this->yR2JN["\x66\162\157\x6d"] == $this->WzKlY["\x61\x64\x6d\151\156"] || in_array($this->yR2JN["\x66\162\157\155"], $this->getAdmins()))) {
goto O0daJ;
}
goto ZzakK;
ABXfG: }
public function callbackCheck()
{
goto rV8_Y;
kbabu: $this->answer($this->yR2JN["\x63\141\x6c\x6c\142\x61\143\153\137\151\x64"], !empty($GLOBALS["\x64\x65\142\x75\147"]) ? $this->yR2JN["\x63\141\154\154\142\141\143\153"] : false);
goto HQnzT;
HQnzT: Uu31U: goto lBTeV;
rV8_Y: if (!(empty($this->YlIjf) && !empty($this->yR2JN["\143\x61\154\x6c\x62\141\x63\153\x5f\151\144"]))) {
goto Uu31U;
}
goto kbabu;
lBTeV: }
public function session()
{
goto oTxg1;
Exl5r: if (empty($_SESSION["\162\145\x70\x6c\171"])) {
goto sOKEx;
}
goto tvQgQ;
p8b7G: sOKEx: goto k3kK3;
MKVcV: fOJZa: goto JC6OI;
oTxg1: session_id($this->yR2JN["\146\162\157\x6d"]);
goto GMnBQ;
WZW1i: foreach ($_SESSION["\x72\145\x70\154\x79"] as $k => $v) {
$this->delete($this->yR2JN["\143\150\141\164"], $k);
JifwP: }
goto MKVcV;
GMnBQ: session_start();
goto Exl5r;
v_PXR: iBKl2: goto p8b7G;
JC6OI: unset($_SESSION["\x72\x65\160\154\x79"]);
goto v_PXR;
tvQgQ: if (!empty($this->yR2JN["\162\145\x70\154\171"])) {
goto iBKl2;
}
goto WZW1i;
k3kK3: }
public function sd($var, $log = false, $json = false, $raw = false)
{
goto xBQkm;
QSibJ: FETRH: goto oHmtH;
xBQkm: if (!$log) {
goto B7GdN;
}
goto CjK3D;
O5Ldz: goto By_TN;
goto SKz0T;
GTT9U: B7GdN: goto m8_MK;
oHmtH: file_put_contents("\57\154\157\147\x73\x2f\x64\145\142\165\147", $var);
goto Pd_3W;
wubGc: file_put_contents("\x2f\154\157\147\163\x2f\x64\x65\142\x75\x67", var_export($var, true));
goto O5Ldz;
m8_MK: return $this->send($this->WzKlY["\141\144\155\x69\x6e"], debug_backtrace()[0]["\154\151\x6e\145"] . "\72\12" . var_export($var, true));
goto RAMHH;
K4bCx: file_put_contents("\x2f\154\157\x67\x73\57\144\145\142\x75\x67", json_encode($var, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES));
goto z1VoI;
z1VoI: goto By_TN;
goto QSibJ;
SKz0T: JEfhr: goto K4bCx;
GKyR9: if ($raw) {
goto FETRH;
}
goto wubGc;
CjK3D: if ($json) {
goto JEfhr;
}
goto GKyR9;
Pd_3W: By_TN: goto GTT9U;
RAMHH: }
public function request($method, $data = [], $json_header = 0)
{
goto uOZs9;
ZmGfp: echo date("\131\55\155\55\x64\40\110\72\151\x3a\163") . "\x20" . json_encode(["\x63\x68\x61\x69\x6e" => $chain, "\x6d\x65\x74\150\157\x64" => $method, "\x72\x65\161\165\x65\163\164" => is_array($data) ? $data : json_decode($data, true), "\x72\145\163\160\x6f\156\163\x65" => $res], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\xa";
goto WGz4R;
WGz4R: wSTUi: goto F24KI;
Af3u0: if (!(!empty($res["\x64\x65\x73\x63\162\x69\x70\164\x69\x6f\156"]) || is_null($res))) {
goto wSTUi;
}
goto Ts_ez;
f6D9u: curl_setopt_array($ch, [CURLOPT_URL => $this->EPQPv . $method, CURLOPT_CUSTOMREQUEST => "\x50\117\x53\124", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => $json_header ? ["\x43\x6f\x6e\164\145\156\164\x2d\x54\171\160\x65\72\x20\141\160\160\154\151\x63\x61\164\151\x6f\x6e\57\152\x73\x6f\156"] : [], CURLOPT_POSTFIELDS => $data, CURLOPT_TIMEOUT => $method == "\147\x65\x74\125\x70\x64\x61\x74\x65\x73" ? 20 : 3]);
goto Bds9w;
F24KI: return $res;
goto gtc3O;
uOZs9: $ch = curl_init();
goto f6D9u;
Bds9w: $res = json_decode(curl_exec($ch), true);
goto twvZW;
Ts_ez: $chain = array_reduce(array_reverse(debug_backtrace(2)), fn($c, $i) => ($c ? "{$c}\x2d\76" : '') . "{$i["\146\165\156\143\x74\151\157\x6e"]}");
goto ZmGfp;
twvZW: curl_close($ch);
goto Af3u0;
gtc3O: }
public function setwebhook()
{
goto zHd9A;
Ehie4: fTJe5: goto vLp7t;
zHd9A: if (!empty($this->tc2An)) {
goto fTJe5;
}
goto XRQp4;
vLp7t: echo "{$this->tc2An}\12";
goto Ungz1;
XRQp4: die("\xd0\xbd\xd0\xb5\321\202\40\xd0\260\xd0\271\320\xbf\320\270");
goto Ehie4;
Ungz1: return $this->request("\x73\x65\164\127\x65\142\150\157\x6f\x6b", ["\165\x72\154" => "\150\x74\164\160\x73\72\57\x2f{$this->tc2An}\72\70\x34\x34\63\57\x74\154\x67\x72\155\77\153\x3d{$this->WzKlY["\153\x65\171"]}", "\143\145\x72\x74\151\146\x69\x63\141\164\x65" => curl_file_create("\57\x63\145\x72\x74\x73\57\x73\145\x6c\x66\x5f\x70\x75\x62\154\151\143")]);
goto f0hXl;
f0hXl: }
public function getcommands($lang = false, $scope = false)
{
return $this->request("\147\145\164\115\x79\x43\157\155\155\x61\156\144\x73", ["\154\141\156\x67\x75\x61\147\x65\137\x63\x6f\x64\145" => $lang ?: '', "\x73\x63\x6f\160\145" => json_encode($scope ?: ["\164\x79\160\145" => "\144\145\146\x61\165\154\164"])])["\x72\145\163\x75\x6c\164"];
}
public function setcommands($data)
{
return $this->request("\x73\x65\x74\115\171\x43\x6f\155\155\141\156\144\x73", json_encode($data), 1);
}
public function send($chat, $text, ?int $to = 0, $button = false, $reply = false, $mode = "\110\x54\115\x4c", $entities = false, $forum = false)
{
goto qiQAe;
KV8P2: foreach ($entities as $k => $v) {
$entities[$k]["\157\x66\146\x73\x65\x74"] += $offset;
dZ2ic: }
goto OigCY;
OrARe: $data["\x6d\x65\163\163\x61\147\x65\137\164\x68\x72\145\141\144\137\151\x64"] = $forum;
goto tKuUb;
ooyvA: if (!$forum) {
goto LqY40;
}
goto OrARe;
RCZkR: nIjgL: goto DKRsc;
RKxJT: return $this->request("\x73\145\156\x64\x4d\x65\x73\163\x61\x67\x65", $data);
goto WgNkx;
qyTJ5: $extra = ["\146\x6f\x72\143\x65\137\162\145\160\x6c\x79" => true, "\151\156\x70\165\x74\x5f\146\x69\145\154\144\x5f\x70\x6c\141\x63\145\x68\x6f\x6c\144\x65\162" => $reply, "\x73\145\154\145\x63\x74\151\166\145" => true];
goto q8a5g;
eYXPJ: if ($button) {
goto DhB8m;
}
goto LKyT6;
ooKcH: if ($entities) {
goto rNAto;
}
goto oIdMW;
qGPJs: if (!($entities && $offset)) {
goto R3Tnc;
}
goto KV8P2;
DKRsc: goto EBnCx;
goto KjIiy;
vzNED: R3Tnc: goto VFadb;
OigCY: u4KEj: goto vzNED;
GlNP_: $extra = ["\x69\x6e\x6c\151\x6e\x65\137\x6b\x65\171\x62\157\141\162\x64" => $button];
goto ImFYt;
xOPYW: $offset = strlen("\164\x6f\x77\145\162\72\12");
goto hguWu;
O6U8H: goto QTBmV;
goto tx9uE;
XW4jq: $data["\x65\x6e\164\x69\x74\x69\145\163"] = json_encode($entities);
goto h6U_3;
q8a5g: goto R3Qll;
goto h9i5K;
HkmXf: $offset = strlen("{$chatLink}\12");
goto RCZkR;
AmRPB: if (empty($extra)) {
goto YVJmn;
}
goto lXfhi;
h9i5K: DhB8m: goto GlNP_;
h6U_3: QTBmV: goto ooyvA;
w_K_G: $text = "{$chatLink}\12{$text}";
goto HkmXf;
qiQAe: if ($chat == $this->WzKlY["\x61\144\155\x69\156"]) {
goto aDPtT;
}
goto cCIP9;
LKyT6: goto R3Qll;
goto f93_e;
oIdMW: $data["\160\141\x72\x73\x65\x5f\155\157\x64\145"] = $mode;
goto O6U8H;
hguWu: EBnCx: goto qGPJs;
NQFdj: YVJmn: goto ooKcH;
f93_e: ELd3C: goto qyTJ5;
lXfhi: $data["\x72\x65\160\x6c\171\x5f\155\141\162\153\x75\x70"] = json_encode($extra);
goto NQFdj;
qE5Ds: $text = "\164\x6f\x77\x65\162\72\12{$text}";
goto xOPYW;
hWzA1: if (false !== $reply) {
goto ELd3C;
}
goto eYXPJ;
VFadb: $data = ["\143\x68\141\164\x5f\x69\x64" => $chat, "\164\145\170\x74" => trim($text) ? trim($text) : "\x2e\x2e\x2e", "\x72\145\x70\x6c\x79\137\164\x6f\x5f\155\145\163\163\x61\147\145\137\x69\x64" => $to];
goto hWzA1;
ImFYt: R3Qll: goto AmRPB;
tx9uE: rNAto: goto XW4jq;
cCIP9: if (!($chatLink = $this->getSetting("\143\150\141\164"))) {
goto nIjgL;
}
goto w_K_G;
KjIiy: aDPtT: goto qE5Ds;
tKuUb: LqY40: goto RKxJT;
WgNkx: }
public function update($chat, $message_id, $text, $button = false, $mode = "\x48\124\115\x4c")
{
goto fh8fj;
MBS4R: if (empty($button)) {
goto RtR35;
}
goto iGNSq;
NI7WI: $data = ["\143\150\141\164\x5f\151\x64" => $chat, "\155\x65\x73\x73\x61\147\x65\137\151\144" => $message_id, "\164\145\170\x74" => trim($text) ? trim($text) : "\x2e\x2e\56", "\x70\141\162\163\x65\137\155\157\144\x65" => $mode];
goto MBS4R;
XEA0A: PDaan: goto NI7WI;
qP3Go: return $this->request("\x65\x64\151\x74\x4d\145\163\x73\x61\x67\x65\124\x65\x78\164", $data);
goto Pqn82;
crW_n: RtR35: goto qP3Go;
fh8fj: if ($this->evu8h) {
goto PDaan;
}
goto tGNPa;
iGNSq: $data["\x72\145\160\x6c\x79\x5f\x6d\x61\162\x6b\165\160"] = json_encode(["\x69\x6e\x6c\151\x6e\x65\x5f\153\x65\x79\142\x6f\x61\162\144" => $button]);
goto crW_n;
tGNPa: if (!($chatLink = $this->getSetting("\x63\x68\141\164"))) {
goto ypgJE;
}
goto Mg8sM;
sYPzU: ypgJE: goto XEA0A;
Mg8sM: $text = "{$chatLink}\12{$text}";
goto sYPzU;
Pqn82: }
public function splitText($text, $size = 4096)
{
goto CPNsR;
sRKqE: hfNtW: goto PsG1J;
EeRlV: iHzGP: goto Vsg3J;
Vsg3J: foreach ($tails as $v) {
$lines[] = ["\x6c\x65\x6e\147\164\150" => mb_strlen($v, "\x75\x74\x66\x2d\70"), "\x74\x65\170\x74" => $v];
WyPl1: }
goto UPwJl;
CROPF: $i = 0;
goto UzLLn;
UPwJl: IbWZK: goto CROPF;
W8Juq: goto R4JKk;
goto EeRlV;
nVAz9: R4JKk: goto DOqGl;
yVVNz: return [$text];
goto W8Juq;
CPNsR: $tails = preg_split("\176\x5c\x6e\x7e", $text);
goto j5tt5;
UzLLn: foreach ($lines as $v) {
goto subU1;
G0ok5: Y1T13: goto JCvxs;
YV3IJ: $output[ceil($i / $size)] .= $v["\x74\145\170\x74"] . "\12";
goto G0ok5;
subU1: $i += $v["\x6c\145\156\147\164\150"];
goto YV3IJ;
JCvxs: }
goto sRKqE;
PsG1J: return array_values($output);
goto nVAz9;
j5tt5: if (!empty($tails)) {
goto iHzGP;
}
goto yVVNz;
DOqGl: }
public function sendPhoto($chat, $id_url_cFile, $caption = false, $to = false, $entities = false, $forum = false)
{
goto NhnkH;
FEzR5: OImEz: goto yZK8N;
mqmi6: ldEMm: goto QLeu9;
ZD3vk: if (!($chatLink = $this->getSetting("\x63\150\141\x74"))) {
goto d7jnV;
}
goto Ur9K3;
NhnkH: if (!$caption) {
goto OImEz;
}
goto VQRSk;
yZK8N: $data = ["\143\x68\141\x74\x5f\151\x64" => $chat, "\160\150\x6f\164\157" => $id_url_cFile, "\x63\x61\160\164\151\x6f\x6e" => $caption, "\162\145\160\x6c\171\x5f\164\157\137\x6d\145\163\163\141\x67\x65\137\x69\144" => $to];
goto J5Rn_;
g4v2m: goto ldEMm;
goto Kl43F;
CIoXz: $data["\143\141\x70\164\151\157\156\x5f\x65\x6e\164\151\164\151\145\163"] = json_encode($entities);
goto mqmi6;
RR65Z: ETPAK: goto xdJc2;
J5Rn_: if ($entities) {
goto ljE9c;
}
goto i5Ts8;
Dr3YH: if (!($entities && $offset)) {
goto ruN86;
}
goto Xl_MN;
taY0D: $caption = "\x74\157\x77\x65\x72\72\12{$caption}";
goto y_eDE;
je7yr: goto UhP3o;
goto Xkc0u;
y_eDE: $offset = strlen("\x74\157\167\145\162\72\12");
goto q3d3V;
Kl43F: ljE9c: goto CIoXz;
Xl_MN: foreach ($entities as $k => $v) {
$entities[$k]["\x6f\x66\146\163\x65\x74"] += $offset;
kPiFp: }
goto yHJz6;
yHJz6: pEnh0: goto vJY_9;
k0XA1: $offset = strlen("{$chatLink}\xa");
goto ET6hZ;
q3d3V: UhP3o: goto Dr3YH;
i5Ts8: $data["\x70\141\x72\163\x65\137\x6d\157\x64\x65"] = "\110\124\115\x4c";
goto g4v2m;
xdJc2: return $this->request("\x73\x65\156\x64\x50\150\157\164\157", $data);
goto ikntK;
vJY_9: ruN86: goto FEzR5;
VQRSk: if ($chat == $this->WzKlY["\x61\x64\155\x69\156"]) {
goto S2Auw;
}
goto ZD3vk;
Ur9K3: $caption = "{$chatLink}\xa{$caption}";
goto k0XA1;
Xkc0u: S2Auw: goto taY0D;
QLeu9: if (!$forum) {
goto ETPAK;
}
goto xWXjb;
ET6hZ: d7jnV: goto je7yr;
xWXjb: $data["\155\x65\163\163\141\x67\x65\x5f\164\150\162\x65\141\144\137\151\x64"] = $forum;
goto RR65Z;
ikntK: }
public function sendFile($chat, $id_url_cFile, $caption = false, $to = false)
{
return $this->request("\x73\x65\x6e\144\x44\157\x63\x75\x6d\x65\156\x74", ["\143\x68\x61\x74\x5f\x69\144" => $chat, "\144\x6f\143\x75\x6d\x65\156\x74" => $id_url_cFile, "\x63\141\160\164\151\157\x6e" => $caption, "\162\x65\160\x6c\x79\137\164\x6f\x5f\x6d\x65\x73\163\x61\x67\x65\137\151\x64" => $to, "\160\141\162\163\x65\137\x6d\x6f\x64\145" => "\x48\x54\x4d\114"]);
}
public function answer($callback_id, $textNotify = false, $notify = false)
{
return $this->YlIjf = $this->request("\141\156\163\x77\x65\162\103\x61\x6c\x6c\x62\x61\x63\153\x51\165\x65\162\171", ["\143\141\x6c\154\142\141\x63\x6b\137\161\165\145\x72\x79\137\151\x64" => $callback_id, "\163\x68\x6f\x77\x5f\x61\154\x65\x72\164" => $notify, "\x74\145\x78\164" => $textNotify]);
}
public function delete($chat, $message_id)
{
$data = ["\143\150\x61\x74\x5f\x69\x64" => $chat, "\155\x65\163\163\x61\x67\x65\x5f\151\x64" => $message_id];
return $this->request("\x64\145\x6c\145\x74\145\115\x65\x73\163\141\x67\x65", $data);
}
public function pin($chat, $message_id, $notnotify = true)
{
$data = ["\143\150\x61\x74\x5f\x69\144" => $chat, "\155\145\163\163\x61\147\x65\137\x69\144" => $message_id, "\144\x69\x73\x61\142\x6c\x65\x5f\156\x6f\164\x69\x66\x69\x63\x61\164\x69\157\x6e" => $notnotify];
return $this->request("\x70\x69\x6e\x43\150\x61\x74\x4d\x65\x73\x73\x61\x67\145", $data);
}
public function unpin($chat, $message_id)
{
$data = ["\143\150\x61\164\137\151\144" => $chat, "\x6d\145\163\163\141\x67\x65\x5f\x69\x64" => $message_id];
return $this->request("\x75\156\160\x69\x6e\103\x68\x61\x74\115\145\x73\163\x61\147\145", $data);
}
public function getInfoUser($tgid)
{
return $this->request("\x67\145\x74\x43\150\x61\164\115\145\155\142\145\x72", ["\x63\x68\141\164\x5f\x69\x64" => $tgid, "\x75\x73\x65\162\137\x69\x64" => $tgid]);
}
public function telegramPayLink($title, $desc, $payload, array $order)
{
goto vIAn0;
kvgpn: return $this->request("\143\x72\x65\141\164\145\111\x6e\166\x6f\151\x63\145\114\151\x6e\153", ["\x74\x69\x74\154\x65" => $title, "\x64\145\x73\143\162\151\160\164\x69\157\156" => $desc, "\160\141\171\x6c\x6f\141\x64" => $payload, "\x70\162\151\143\145\x73" => json_encode($order), "\143\x75\x72\x72\x65\156\x63\171" => "\122\125\x42", "\160\x72\x6f\166\151\x64\145\162\137\x74\x6f\153\x65\156" => $token])["\x72\145\x73\x75\x6c\164"] ?: false;
goto Nn4RA;
Nn4RA: QHyGl: goto LtKT_;
vIAn0: if (!($token = $this->getSetting("\x74\157\x6b\145\x6e"))) {
goto QHyGl;
}
goto kvgpn;
LtKT_: return false;
goto hD5lB;
hD5lB: }
}
Function Calls
None |
Stats
MD5 | e37411573c5de30d752208828d03a18e |
Eval Count | 0 |
Decode Time | 255 ms |