<?php

goto jz26J;
Qdbdq:
echo "\42\40\x72\145\x6c\x3d\x22\163\x74\171\x6c\145\x73\x68\x65\145\164\x22\x20\x2f\x3e\12\40\x20\40\40\74\x6c\151\x6e\153\x20\150\x72\145\146\x3d\42";
goto r4NCb;
fmKkB:
define("\101\120\111\x5f\125\x52\x4c", $_SESSION["\x61\x70\151\137\165\162\154"]);
goto hIZw9;
ktmaY:
function json_error($message = '', $data = null)
{
    json(["\143\x6f\144\145" => 1, "\x6d\x65\163\x73\x61\x67\x65" => $message, "\144\x61\x74\x61" => $data]);
}
goto imOiB;
LwbYA:
define("\127\x45\102\x5f\x52\117\117\x54", __DIR__ . "\57");
goto odFXR;
uqBp_:
echo $user_site_email;
goto YLRkK;
e7lxB:
function getIP()
{
    if (isset($_SERVER)) {
        if (isset($_SERVER["\x48\124\x54\x50\x5f\x58\x5f\x46\x4f\x52\127\x41\122\x44\x45\104\x5f\x46\117\122"])) {
            goto evqqK;
            evqqK:
            $realip = $_SERVER["\x48\124\124\120\137\130\x5f\106\x4f\x52\127\101\x52\x44\105\104\x5f\106\117\122"];
            goto YrF_e;
            iEOcM:
            $realip = $realip[0];
            goto TXrk7;
            YrF_e:
            $realip = explode("\x2c", $realip);
            goto iEOcM;
            TXrk7:
            $realip = empty($realip) ? $_SERVER["\x52\x45\115\x4f\x54\x45\137\x41\x44\x44\122"] : $realip;
            goto qjhnE;
            qjhnE:
        } elseif (isset($_SERVER["\110\x54\124\120\x5f\x43\114\111\x45\x4e\124\x5f\111\120"])) {
            $realip = $_SERVER["\x48\x54\x54\x50\137\103\x4c\111\105\116\124\x5f\x49\120"];
        } else {
            $realip = $_SERVER["\122\x45\115\x4f\124\105\x5f\101\x44\x44\x52"];
        }
    } else {
        if (getenv("\110\124\124\x50\x5f\x58\137\x46\117\122\x57\101\122\104\x45\104\137\106\117\x52")) {
            goto Pt9xc;
            vnm6K:
            $realip = empty($realip) ? $_SERVER["\122\x45\x4d\117\124\105\x5f\101\x44\x44\122"] : $realip;
            goto PfZgN;
            ZYCjo:
            $realip = $realip[0];
            goto vnm6K;
            wj0cu:
            $realip = explode("\x2c", $realip);
            goto ZYCjo;
            Pt9xc:
            $realip = getenv("\110\124\124\120\137\130\137\x46\x4f\x52\x57\101\x52\104\105\104\x5f\x46\117\x52");
            goto wj0cu;
            PfZgN:
        } elseif (getenv("\110\x54\x54\120\x5f\103\x4c\x49\105\116\124\137\111\x50")) {
            $realip = getenv("\110\124\124\x50\137\x43\x4c\111\105\x4e\124\x5f\111\x50");
        } else {
            $realip = getenv("\122\105\115\x4f\124\105\x5f\x41\104\104\x52");
        }
    }
    return $realip;
}
goto mwGCq;
tq4Ux:
function rrmdir($dir)
{
    if (is_dir($dir)) {
        goto aHpdK;
        aHpdK:
        $handle = opendir($dir);
        goto zi6rn;
        ONTly:
        closedir($handle);
        goto CC4bm;
        zi6rn:
        while (false !== ($item = readdir($handle))) {
            if ($item != "\56" && $item != "\56\56") {
                $path = $dir . "\x2f" . $item;
                if (is_dir($path)) {
                    rrmdir($path);
                } else {
                    unlink($path);
                }
            }
        }
        goto ONTly;
        CC4bm:
        rmdir($dir);
        goto Y2c_y;
        Y2c_y:
    }
}
goto iOtTJ;
vrReF:
function rcopy($src, $dst)
{
    if (is_dir($src)) {
        goto aRd7p;
        U36E8:
        $items = scandir($src);
        goto eUDLD;
        aRd7p:
        if (!is_dir($dst)) {
            mkdir($dst, 0755, true);
        }
        goto U36E8;
        eUDLD:
        foreach ($items as $item) {
            if ($item != "\x2e" && $item != "\x2e\x2e") {
                goto b5o1n;
                b5o1n:
                $src_path = $src . "\57" . $item;
                goto EJYQw;
                EJYQw:
                $dst_path = $dst . "\x2f" . $item;
                goto TzT4P;
                TzT4P:
                if (is_dir($src_path)) {
                    rcopy($src_path, $dst_path);
                } else {
                    copy($src_path, $dst_path);
                }
                goto xfQlK;
                xfQlK:
            }
        }
        goto gIcfJ;
        gIcfJ:
    }
}
goto tq4Ux;
YLRkK:
echo "\x22\x20\x70\154\x61\143\x65\x68\x6f\154\x64\145\162\x3d\42\345\270\270\xe7\x94\250\xe9\202\256\347\256\261\x22\12\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\x20\40\x20\x72\145\161\165\151\x72\145\144\x3d\42\162\145\x71\x75\x69\x72\145\x64\x22\40\x64\x61\164\141\55\x65\162\162\x6f\x72\75\x22\345\xa1\253\345\x86\x99\351\x82\256\xe7\xae\xb1\xe6\230\257\344\xb8\272\344\272\206\344\273\xa5\xe5\x90\x8e\xe6\211\276\345\x9b\236\xe5\xaf\206\xe7\240\x81\xe7\xad\x89\345\xae\x89\345\x85\250\xe9\252\x8c\350\257\201\347\x94\250\xe7\x9a\204\345\x93\xa6\xef\274\201\x22\12\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\x74\x61\x62\x69\x6e\144\x65\170\x3d\x22\x32\x22\76\12\40\40\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\x3c\x62\x75\164\x74\x6f\x6e\40\164\171\160\145\75\42\x62\165\x74\x74\157\156\42\40\x63\154\141\x73\x73\75\42\x67\x65\164\55\x63\x6f\x64\145\x22\x3e\350\x8e\xb7\xe5\x8f\226\351\252\214\xe8\257\x81\347\xa0\x81\74\x2f\x62\165\x74\x74\x6f\x6e\x3e\12\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\x20\74\57\x64\151\166\x3e\xa\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\x20\40\40\x3c\x64\x69\x76\x3e\xa\x20\40\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\40\x20\74\x69\x6e\160\165\x74\40\x74\171\x70\145\x3d\42\x74\x65\x78\164\42\x20\151\x64\75\x22\163\x69\x74\145\x63\x6f\x64\145\x22\40\x76\x61\x6c\165\x65\x3d\x22\x22\x20\160\154\141\143\145\150\157\x6c\144\x65\x72\75\x22\xe9\252\214\xe8\257\201\347\xa0\201\x22\x20\x72\x65\x71\165\151\x72\x65\x64\75\42\162\x65\161\x75\x69\162\x65\x64\42\xa\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\144\141\164\141\55\145\x72\162\157\x72\75\42\345\277\253\345\216\273\347\234\x8b\347\234\x8b\351\202\256\xe7\256\261\xe6\234\211\346\262\241\346\x9c\211\xe6\x94\266\xe5\210\260\351\xaa\214\xe8\257\x81\xe7\xa0\201\xe5\220\xa7\357\xbc\x81\x22\x20\164\x61\142\151\x6e\144\145\170\75\x22\63\x22\76\12\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\40\40\40\40\40\x20\40\40\40\74\x2f\144\151\x76\x3e\xa\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\x3c\x64\151\x76\40\x63\154\x61\163\x73\75\42\x64\x69\166\x69\144\x65\x72\42\x3e\xe7\256\xa1\xe7\x90\206\xe5\221\230\74\x2f\x64\x69\166\x3e\12\40\40\x20\40\x20\40\40\x20\40\40\40\40\x20\40\x20\40\40\40\x20\x20\74\144\x69\166\x3e\xa\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\40\40\x20\x3c\x69\x6e\160\x75\164\x20\164\171\x70\145\x3d\x22\164\x65\170\164\x22\40\151\x64\x3d\x22\x61\144\x6d\x69\156\x6e\x61\155\145\x22\x20\166\x61\154\165\x65\75\x22\x61\144\x6d\x69\156\x22\x20\x6d\141\x78\x6c\x65\x6e\147\x74\150\75\x22\61\66\42\x20\x70\154\x61\143\145\x68\157\x6c\x64\145\162\75\x22\347\224\xa8\xe6\x88\267\xe5\220\x8d\42\xa\x20\x20\x20\40\x20\x20\40\x20\40\40\40\40\40\40\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\x72\145\x71\x75\151\162\145\144\75\x22\162\145\161\165\151\x72\145\x64\42\x20\144\141\x74\141\55\145\162\x72\x6f\162\75\42\350\277\231\346\230\257\xe7\x99\xbb\345\xbd\225\347\xbd\x91\xe7\253\x99\345\x90\x8e\xe5\217\xb0\350\246\201\xe8\276\x93\xe5\x85\245\347\x9a\x84\347\x94\250\346\x88\267\345\x90\x8d\xe3\x80\x82\42\40\x74\x61\142\x69\x6e\144\x65\170\75\x22\64\x22\x3e\xa\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x3c\57\x64\151\x76\76\12\x20\x20\x20\40\40\x20\40\40\x20\40\40\40\x20\40\40\x20\40\x20\x20\x20\x3c\144\151\x76\76\xa\40\40\x20\x20\40\40\x20\40\x20\40\40\x20\40\40\x20\40\40\40\40\40\x20\x20\40\40\x3c\x69\x6e\160\x75\x74\x20\164\171\x70\145\x3d\42\x70\141\163\163\167\x6f\x72\x64\42\40\x69\x64\75\42\141\x64\x6d\151\156\160\x61\163\x73\42\x20\166\x61\x6c\x75\x65\x3d\42\x22\40\155\141\170\x6c\145\156\147\x74\x68\75\42\x31\66\x22\40\160\x6c\x61\x63\x65\x68\x6f\x6c\144\145\162\75\x22\345\xaf\x86\347\xa0\201\42\12\40\40\40\40\x20\40\x20\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x72\145\x71\x75\x69\x72\145\144\x3d\x22\162\145\x71\x75\151\162\x65\x64\x22\40\x64\x61\x74\x61\x2d\145\162\x72\x6f\162\x3d\x22\350\277\231\346\x98\xaf\347\231\xbb\xe5\xbd\x95\347\275\221\xe7\253\231\345\220\216\xe5\217\260\xe8\xa6\x81\350\276\223\xe5\205\245\xe7\x9a\x84\345\257\x86\347\240\201\xe3\x80\202\x22\x20\x74\x61\x62\151\156\144\145\170\x3d\42\x35\42\x3e\xa\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\74\x2f\144\x69\x76\76\xa\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\40\40\x20\x20\74\x64\x69\x76\40\143\x6c\x61\x73\x73\x3d\42\x64\151\166\x69\144\x65\x72\42\40\x73\x74\171\154\x65\x3d\42\143\157\154\x6f\x72\72\157\162\141\156\147\x65\x72\x65\x64\x3b\160\x61\144\x64\151\156\x67\55\x62\157\164\164\157\x6d\x3a\60\73\x64\x69\x73\x70\x6c\141\171\x3a\x6e\x6f\156\x65\x3b\x22\76\351\202\200\xe8\257\xb7\347\xa0\x81\74\57\144\151\166\76\xa\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\74\144\151\x76\x20\163\164\x79\154\145\x3d\42\x64\151\163\160\x6c\141\171\72\x6e\x6f\156\x65\73\x22\76\12\x20\40\40\40\40\40\40\40\x20\x20\x20\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\x3c\x69\x6e\160\x75\x74\40\164\171\160\145\75\42\164\145\170\164\x22\40\151\144\75\42\151\x6e\x76\x69\164\x65\143\x6f\x64\145\x22\40\x76\141\x6c\165\x65\x3d\x22";
goto TDpkJ;
DGBNi:
ini_set("\145\x72\x72\x6f\162\137\x72\145\x70\157\x72\164\151\156\147", E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED);
goto OnG4i;
mwGCq:
function isSsl()
{
    if (isset($_SERVER["\x48\124\x54\x50\123"]) && ($_SERVER["\110\124\124\120\123"] == "\61" || strtolower($_SERVER["\x48\124\124\120\x53"]) == "\157\x6e")) {
        return true;
    } elseif (isset($_SERVER["\x52\x45\x51\125\x45\123\x54\137\123\103\x48\x45\115\x45"]) && $_SERVER["\x52\x45\x51\125\105\123\124\x5f\x53\x43\110\x45\115\x45"] == "\150\164\164\160\x73") {
        return true;
    } elseif (isset($_SERVER["\x53\105\x52\x56\x45\122\x5f\x50\117\122\124"]) && $_SERVER["\123\x45\122\x56\105\122\137\x50\x4f\122\124"] == "\64\64\x33") {
        return true;
    } elseif (isset($_SERVER["\x48\124\x54\x50\137\130\137\106\117\122\127\x41\122\x44\x45\x44\x5f\x50\122\x4f\124\x4f"]) && $_SERVER["\x48\124\x54\x50\137\x58\137\x46\117\x52\127\101\122\104\105\104\137\120\x52\117\124\117"] == "\x68\164\164\160\163") {
        return true;
    }
    return false;
}
goto fz9UG;
vTP8_:
echo GET_URL . "\x61\x73\x73\145\164\x73\57\x69\156\x73\x74\141\x6c\x6c\56\x6a\163\77\166\x3d" . time();
goto ZUyov;
imOiB:
function json_success($message = '', $data = null)
{
    json(["\x63\x6f\144\145" => 0, "\155\x65\163\x73\x61\x67\x65" => $message, "\x64\x61\x74\x61" => $data]);
}
goto PuyYE;
qvnWI:
ini_set("\154\157\x67\137\x65\x72\162\x6f\x72\163", true);
goto FWf4m;
Jrxr1:
ini_set("\x69\x67\156\x6f\x72\x65\x5f\162\145\x70\x65\141\164\x65\144\137\145\162\x72\x6f\162\x73", true);
goto qvnWI;
RBmgb:
define("\107\x45\x54\x5f\125\x52\x4c", $_SESSION["\147\145\164\137\x75\x72\x6c"]);
goto fmKkB;
O73ex:
if (basename(dirname(__FILE__)) === "\x70\x75\142\x6c\x69\143") {
    define("\x49\123\x5f\x50\125\x42\x4c\111\x43", true);
    define("\122\117\117\x54\137\x50\x41\x54\110", dirname(WEB_ROOT) . "\57");
} else {
    define("\x49\123\x5f\120\125\102\x4c\111\103", false);
    define("\122\117\117\124\x5f\x50\x41\124\x48", WEB_ROOT);
}
goto DGBNi;
hIZw9:
$user_site_email = '';
goto MId0U;
hngUM:
date_default_timezone_set("\x50\x52\x43");
goto WgelC;
WgelC:
header("\x43\x6f\x6e\x74\145\x6e\164\x2d\x74\171\160\x65\x3a\x74\145\170\x74\57\150\x74\x6d\154\73\x20\143\x68\x61\162\163\145\x74\x3d\165\164\x66\55\x38");
goto MCijV;
FWf4m:
ini_set("\x65\x72\162\x6f\x72\x5f\154\157\x67", ROOT_PATH . "\151\x6e\x73\x74\x61\154\154\x2e\154\x6f\147");
goto UBdGH;
ROSul:
echo "\42\x20\162\x65\x6c\x3d\x22\x73\164\x79\x6c\145\163\x68\145\x65\164\x22\40\x2f\x3e\xa\74\x2f\150\x65\x61\144\x3e\12\74\142\x6f\x64\x79\x3e\12\x3c\144\x69\166\40\143\x6c\141\163\163\75\42\143\x6f\x6e\164\x61\151\156\x65\x72\x22\x3e\xa\x20\x20\x20\40\x3c\150\x65\x61\x64\x65\162\76\xa\40\40\40\40\x20\x20\x20\40\74\x61\x20\x68\162\x65\x66\75\x22\57\x2f\x77\167\x77\56\x70\141\147\x65\160\x61\156\x2e\x63\x6f\155\57\42\40\143\x6c\141\163\x73\75\42\x6c\157\147\x6f\x22\40\164\141\x72\x67\x65\x74\x3d\x22\137\142\154\141\x6e\x6b\x22\76\x3c\57\x61\x3e\xa\x20\x20\x20\40\x20\x20\40\x20\74\x68\x31\x3e\xe6\x9c\x8d\345\x8a\xa1\345\231\xa8\346\xb5\x8b\350\257\x95\74\57\x68\x31\76\12\40\40\x20\40\74\57\150\x65\141\144\x65\162\x3e\12\x20\40\40\40\x3c\x6d\141\x69\x6e\76\xa\40\40\x20\x20\40\x20\x20\40\x3c\144\x69\166\x20\x63\x6c\x61\x73\x73\75\x22\x73\x74\x65\160\163\42\76\xa\x20\40\40\40\40\x20\40\40\x20\x20\40\x20\74\144\x69\166\x3e\74\57\144\x69\166\76\12\40\x20\x20\40\x20\x20\40\40\74\x2f\144\x69\x76\76\xa\x20\40\40\x20\40\x20\40\40\74\x64\x69\x76\x20\143\154\x61\163\x73\x3d\42\163\164\x65\x70\x73\x2d\143\x6f\156\164\145\156\x74\x22\x3e\xa\40\40\40\x20\40\x20\x20\40\40\x20\x20\40\74\163\x65\143\164\x69\157\x6e\x20\143\154\141\163\x73\x3d\42\163\164\x65\160\x2d\x74\x65\x73\x74\42\x20\x73\x74\171\x6c\145\x3d\x22\144\151\x73\x70\154\x61\171\72\40\142\154\157\x63\153\73\42\x3e\12\x20\x20\x20\40\40\x20\40\40\40\40\40\40\40\x20\x20\40\x3c\144\x69\166\40\x63\x6c\x61\x73\163\75\42\164\145\x73\x74\55\x6c\x69\x67\x68\x74\42\76\12\40\x20\40\40\40\40\40\x20\40\40\x20\x20\40\40\40\40\x20\x20\x20\40\74\x64\x69\166\40\144\141\164\x61\55\147\162\x6f\x75\x70\75\42\163\x65\162\166\x65\162\x22\x3e\74\57\144\x69\166\x3e\12\x20\40\40\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\40\40\40\x3c\x64\x69\166\x20\x64\x61\x74\141\x2d\x67\162\157\165\x70\x3d\42\160\x68\160\42\76\74\x2f\144\151\166\76\xa\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\40\40\40\40\40\x20\40\x20\x3c\144\x69\166\40\144\x61\164\x61\x2d\147\x72\157\x75\x70\x3d\42\x75\163\145\162\x22\76\74\57\144\x69\166\x3e\12\x20\x20\x20\x20\40\x20\x20\40\40\40\40\x20\40\x20\x20\x20\74\x2f\144\x69\166\x3e\12\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\74\144\x69\x76\x20\143\154\x61\163\163\x3d\x22\x74\x65\x73\x74\55\167\141\151\x74\x22\x3e\x3c\57\144\151\x76\x3e\xa\x20\40\x20\40\x20\40\x20\40\40\40\x20\40\40\x20\x20\x20\x3c\144\151\x76\40\x63\154\x61\x73\163\x3d\x22\164\x65\x73\x74\x2d\x65\x72\162\x6f\162\40\x6c\151\x73\164\55\142\x6f\x78\x22\76\12\40\x20\40\40\40\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\x3c\x6f\x6c\76\74\x2f\157\154\76\12\x20\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\40\40\x20\x3c\57\144\x69\x76\x3e\xa\40\x20\x20\x20\x20\40\x20\40\x20\40\40\40\x20\x20\x20\40\x3c\142\165\x74\x74\157\x6e\x20\164\171\160\x65\75\x22\x62\x75\164\164\157\x6e\42\40\x63\x6c\x61\x73\163\75\x22\x74\145\x73\x74\55\x61\147\141\x69\156\x22\x20\164\151\x74\154\145\x3d\x22\xe5\206\x8d\346\xac\xa1\xe8\xbf\x90\xe8\xa1\x8c\xe6\x9c\215\345\212\241\346\265\213\xe8\xaf\225\42\76\345\206\x8d\346\254\xa1\xe6\xb5\213\350\xaf\225\74\57\142\165\164\164\157\156\x3e\12\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\40\74\142\165\164\164\x6f\x6e\x20\x74\x79\x70\145\75\x22\x62\x75\164\164\157\x6e\x22\40\x63\x6c\141\163\x73\x3d\x22\164\145\x73\164\x2d\160\x61\x73\163\145\x64\42\x20\144\141\x74\x61\55\163\164\145\x70\75\42\x31\x22\76\xe4\xb8\213\344\xb8\200\xe6\xad\xa5\74\57\142\x75\x74\164\157\156\76\12\x20\40\40\40\x20\x20\40\40\x20\x20\40\40\x3c\x2f\x73\145\x63\x74\x69\x6f\156\76\12\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\74\163\x65\x63\x74\151\157\156\40\x63\154\141\163\163\75\42\x73\164\145\160\x2d\x75\163\x65\162\x22\76\12\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x3c\x66\x6f\x72\155\40\151\x64\x3d\x22\x53\151\x74\x65\x46\157\x72\155\x22\76\xa\40\40\x20\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\74\x64\x69\x76\40\x63\x6c\x61\163\x73\75\42\x65\x72\x72\157\x72\55\155\145\x73\x73\141\147\145\x22\x3e\74\57\x64\151\166\76\12\x20\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\x20\40\40\40\40\x20\40\x3c\x64\x69\x76\76\xa\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\40\x20\x20\40\40\40\40\40\x3c\151\x6e\160\165\164\x20\x74\171\160\x65\75\42\164\145\x78\164\42\40\x69\144\x3d\42\163\x69\164\x65\x6e\x61\x6d\145\x22\40\x76\x61\x6c\165\145\x3d\42\x22\x20\160\x6c\x61\143\145\x68\157\154\x64\145\x72\x3d\42\xe7\xbd\x91\xe7\253\x99\xe5\x90\215\347\247\xb0\x22\40\162\145\161\165\151\x72\145\x64\75\x22\162\x65\161\165\151\162\x65\144\x22\xa\40\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\x64\141\164\141\55\145\x72\x72\157\x72\75\42\xe7\273\x99\347\275\221\xe7\xab\x99\xe8\265\xb7\xe4\270\xaa\345\x93\215\xe4\272\xae\347\232\x84\xe5\x90\215\xe7\247\xb0\xe5\220\247\xef\274\201\42\x20\x74\x61\142\151\156\144\145\170\75\x22\x31\x22\76\xa\x20\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\74\x2f\144\151\x76\x3e\xa\40\x20\40\x20\x20\x20\x20\40\x20\40\40\40\40\40\x20\40\x20\x20\x20\40\74\x64\151\x76\76\xa\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\40\x3c\x69\156\160\165\164\x20\164\x79\160\x65\x3d\42\x74\145\170\x74\42\40\x69\x64\x3d\42\x73\x69\164\x65\145\x6d\141\151\154\x22\40\x76\x61\154\165\145\75\x22";
goto uqBp_;
MCijV:
define("\x52\125\116\x5f\x4d\117\x44\x45", "\160\162\157\144");
goto LwbYA;
Ydk0H:
set_time_limit(300);
goto hngUM;
odFXR:
define("\x41\120\111\x5f\124\x4f\113\105\116", "\125\64\x75\x58\x79\x6a\x55\61" . "\131\x70\107\x75\x50\x79\161" . "\71\x73\x30\64\67\150" . "\152\142\x74\165\132" . "\107\x42\x63\x37\x46\x31");
goto eABze;
CNB0y:
echo "\42\76\x3c\x2f\x73\143\x72\x69\160\x74\x3e\12\x3c\x73\143\162\151\160\164\40\163\x72\143\x3d\42";
goto vTP8_;
aqQRM:
function curl_post($url, $data = null)
{
    goto pVl9R;
    uNx6A:
    return $result;
    goto DSiqw;
    lG7aI:
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    goto zalTO;
    Q2ik5:
    curl_setopt($ch, CURLOPT_TIMEOUT, 300);
    goto z8Faa;
    B__sd:
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
    goto Q2ik5;
    pVl9R:
    $ch = curl_init();
    goto XXdPy;
    zalTO:
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
    goto sKcea;
    SIdOA:
    curl_close($ch);
    goto uNx6A;
    ezspy:
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
    goto o1QEI;
    o1QEI:
    $result = curl_exec($ch);
    goto SIdOA;
    sKcea:
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    goto ezspy;
    z8Faa:
    curl_setopt($ch, CURLOPT_POST, 1);
    goto ErN9K;
    XXdPy:
    curl_setopt($ch, CURLOPT_URL, $url);
    goto B__sd;
    ErN9K:
    curl_setopt($ch, CURLOPT_HEADER, 0);
    goto lG7aI;
    DSiqw:
}
goto cChox;
PuyYE:
function json($object, $callback = null)
{
    goto x727C;
    x727C:
    header("\x43\x6f\x6e\x74\x65\156\x74\55\164\171\x70\145\72\x20\x61\160\160\154\x69\x63\x61\164\x69\157\x6e\x2f\152\163\157\156");
    goto ngtzJ;
    fhcJm:
    if ($callback) {
        exit("\73{$callback}\50{$json}\x29\x3b");
    } else {
        exit($json);
    }
    goto S6hKD;
    ngtzJ:
    $json = json_encode($object);
    goto fhcJm;
    S6hKD:
}
goto AqMbi;
iOtTJ:
function file_content_replace($file, $search, $replace)
{
    $code = file_get_contents($file);
    if ($code) {
        $code = str_replace($search, $replace, $code);
        if (!file_put_contents($file, $code)) {
            json_error("\343\x80\x90" . $file . "\343\x80\221\xe5\x86\231\345\205\245\xe6\226\207\xe4\xbb\266\345\x87\xba\xe9\x94\231\343\200\202");
        }
    } else {
        json_error("\xe3\200\220" . $file . "\xe3\200\221\346\227\xa0\346\xb3\x95\xe8\x8e\267\xe5\x8f\x96\346\226\x87\344\xbb\xb6\345\206\x85\xe5\xae\xb9\xe3\x80\x82");
    }
}
goto MF5uz;
aKyqj:
echo $site_version;
goto jSuT9;
TDpkJ:
echo $user_invite_code;
goto s_JwO;
UBdGH:
if (!IS_AJAX) {
    goto qW_CV;
    CERCT:
    $_SESSION["\147\145\164\x5f\x75\162\154"] = $get_url;
    goto ziap8;
    ziap8:
    $_SESSION["\x61\x70\x69\137\165\x72\154"] = $api_url;
    goto Z7pnj;
    qW_CV:
    if (RUN_MODE != "\x64\145\x76") {
        goto p0Hup;
        yV8Op:
        if (!$api_version) {
            exit("\xe6\x97\xa0\346\263\x95\xe8\x8e\267\345\217\x96\40\101\120\x49\x20\xe6\x9c\x80\346\226\xb0\xe7\211\210\346\x9c\254\345\x8f\xb7\357\274\x8c\350\257\267\345\x88\xb7\xe6\x96\260\xe9\x87\x8d\xe8\257\225\xef\274\201");
        }
        goto jFV3E;
        AVoHL:
        $site_version = $_GET["\147\x65\x74\x76"] ?: file_get_contents("\150\x74\x74\160\72{$get_url}\151\156\163\x74\141\154\x6c\137\166\x65\x72\163\151\x6f\x6e");
        goto aS3E1;
        KuCpI:
        $site_version2 = preg_replace("\57\x28\134\144\53\x29\134\x2e\x28\x5c\144\x2b\51\134\x2e\x28\134\x64\53\51\57", "\44\x31\x2e\x24\x32", $site_version);
        goto JHHAl;
        p0Hup:
        $get_url = "\57\x2f\x67\x65\x74\56\x70\x61\x67\x65\160\141\156\x2e\143\x6f\155\x2f\x69\156\163\x74\x61\x6c\x6c\57";
        goto pMMQD;
        OpE6E:
        $api_version = $_GET["\141\x70\151\x76"] ?: file_get_contents("{$api_url}\x6c\x61\x73\x74\137\166\x65\x72\163\151\x6f\x6e");
        goto yV8Op;
        JHHAl:
        $get_url = "{$get_url}{$site_version2}\x2f";
        goto OpE6E;
        jFV3E:
        $api_url = "{$api_url}{$api_version}\x2f";
        goto j_ATc;
        aS3E1:
        if (!$site_version) {
            exit("\346\227\240\xe6\xb3\225\xe8\x8e\267\xe5\217\x96\347\xbd\221\xe7\xab\231\346\x9c\x80\xe6\x96\260\347\x89\x88\xe6\x9c\xac\345\217\267\357\xbc\x8c\350\xaf\267\xe5\x88\xb7\xe6\226\xb0\xe9\x87\x8d\350\257\x95\357\xbc\x81");
        }
        goto KuCpI;
        pMMQD:
        $api_url = "\150\x74\x74\160\x3a\57\x2f\141\160\x69\x2e\160\x61\x67\x65\160\x61\156\x2e\x63\157\x6d\x2f";
        goto AVoHL;
        j_ATc:
    } else {
        goto MZkNl;
        J7YW9:
        $api_url = "\150\x74\164\160\x3a\x2f\57\166\x31\56\141\160\151\56\x70\141\147\145\160\141\156\56\164\x65\x73\x74\x2f";
        goto dyuVK;
        dyuVK:
        $site_version = "\x38\x2e\x30\x2e\60";
        goto H1IyR;
        MZkNl:
        $get_url = "\x2f\57\61\x39\x32\x2e\61\x36\70\x2e\63\x31\x2e\x35\72\70\60\71\61\57";
        goto J7YW9;
        H1IyR:
    }
    goto CERCT;
    Z7pnj:
    $_SESSION["\163\x69\164\145\137\166\145\162\x73\151\157\x6e"] = $site_version;
    goto QFpiG;
    QFpiG:
}
goto RBmgb;
MId0U:
$user_invite_code = '';
goto RDQWH;
jSuT9:
echo "\x3c\x2f\164\151\164\x6c\145\x3e\xa\12\40\x20\x20\x20\74\x73\x63\162\151\160\x74\76\xa\40\40\40\40\40\40\x20\x20\151\x66\x20\50\41\x21\167\151\x6e\x64\157\167\x2e\x41\x63\x74\151\166\x65\130\x4f\x62\152\145\143\x74\x20\x7c\174\40\x27\101\x63\x74\151\166\x65\x58\117\142\152\145\143\164\47\x20\x69\x6e\x20\167\151\x6e\x64\x6f\167\51\x20\173\xa\x20\40\x20\40\x20\40\x20\x20\40\40\x20\x20\x69\x66\40\50\143\x6f\x6e\x66\151\162\x6d\x28\x27\346\202\xa8\xe6\255\xa3\xe5\x9c\250\344\xbd\xbf\xe7\x94\250\344\xb8\x8d\xe5\x85\274\xe5\xae\271\xe7\x9a\204\346\265\x8f\350\247\210\345\231\xa8\357\274\x8c\346\x98\257\xe5\x90\xa6\344\270\x8b\xe8\275\xbd\346\x9c\200\346\226\xb0\xe7\216\260\xe4\273\xa3\xe6\xb5\217\xe8\xa7\x88\345\x99\250\xef\274\x9f\47\x29\x29\40\x7b\xa\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\40\x20\167\151\x6e\144\x6f\x77\56\154\157\143\x61\x74\x69\x6f\156\x2e\150\162\x65\x66\40\x3d\x20\x27\57\x2f\167\167\x77\56\x70\141\147\x65\160\x61\x6e\x2e\143\157\155\57\x62\x72\x6f\167\163\x65\162\x2d\165\160\147\x72\x61\144\145\56\x68\164\155\154\77\162\145\x66\x3d\x27\x20\x2b\x20\x65\x6e\143\x6f\144\x65\125\x52\x49\103\x6f\x6d\160\157\156\x65\156\164\x28\167\x69\156\x64\157\167\56\154\157\143\x61\x74\x69\x6f\x6e\x2e\x68\x72\145\x66\x29\12\x20\40\x20\40\40\x20\40\x20\x20\x20\40\x20\175\12\40\x20\x20\40\40\40\40\x20\x7d\12\40\x20\x20\40\74\57\163\x63\162\151\x70\x74\x3e\12\xa\x20\x20\x20\40\x3c\154\x69\156\x6b\x20\x68\162\145\x66\x3d\42";
goto jiOKm;
t3xHg:
echo "\42\x20\x72\x65\154\x3d\42\163\x74\171\x6c\145\163\x68\x65\x65\x74\42\x20\57\76\xa\40\x20\40\40\74\x6c\151\x6e\153\40\150\162\145\x66\x3d\x22";
goto LOclI;
fz9UG:
function http_code($url)
{
    goto CQNSP;
    L9MG2:
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    goto ZIcVt;
    guI2h:
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    goto ULChv;
    dC8xN:
    curl_setopt($ch, CURLOPT_HEADER, 1);
    goto guI2h;
    vOsBd:
    curl_exec($ch);
    goto G8y0z;
    CQNSP:
    $ch = curl_init();
    goto D4LFn;
    WHnTt:
    return $httpcode;
    goto i7D0B;
    D4LFn:
    curl_setopt($ch, CURLOPT_URL, $url);
    goto GdLZr;
    eB2B9:
    curl_close($ch);
    goto WHnTt;
    ZIcVt:
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    goto dC8xN;
    G8y0z:
    $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    goto eB2B9;
    zEjyw:
    curl_setopt($ch, CURLOPT_TIMEOUT, 300);
    goto L9MG2;
    GdLZr:
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
    goto zEjyw;
    ULChv:
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
    goto vOsBd;
    i7D0B:
}
goto lQvn0;
RDQWH:
if (IS_AJAX) {
    goto OpNFf;
    svCHI:
    if (strpos($_host, "\x3a") === false) {
        $_port = $_SERVER["\123\105\122\x56\105\122\x5f\x50\117\122\124"];
        if ($_port == "\70\x30" || $_port == "\64\x34\63") {
        } else {
            $_host = "{$_host}\72{$_port}";
        }
    }
    goto IjNzY;
    qSNrt:
    $_host = $_SERVER["\110\x54\124\x50\x5f\x48\x4f\123\x54"] ?: $_SERVER["\123\x45\x52\x56\x45\x52\x5f\116\x41\115\x45"];
    goto svCHI;
    FxVnB:
    $site_url = "\x68\164\164\x70\163\x3a\x2f\57{$site_domain}\x2f";
    goto oDew5;
    rxI5a:
    $_scheme = $_SERVER["\122\x45\x51\125\105\123\124\x5f\x53\x43\x48\105\115\x45"];
    goto qSNrt;
    OpNFf:
    $site_version = $_SESSION["\163\151\164\145\137\166\145\162\163\151\157\x6e"];
    goto rxI5a;
    oDew5:
    if (isset($_GET["\164\x65\x73\164"])) {
        goto UlGCI;
        qb7jT:
        if (http_code($site_url) == 0) {
            $_user[] = "\xe3\200\220" . $site_url . "\xe3\x80\221\346\227\240\346\263\x95\350\256\xbf\351\227\256\xef\274\214\350\xaf\267\350\x81\x94\xe7\263\xbb\346\212\200\346\x9c\257\x20\121\121\72\x20\62\x32\x36\x35\64\70\x30\x35\x35\x32";
        }
        goto GV8zN;
        GV8zN:
        if (version_compare(PHP_VERSION, "\70\56\x32\56\x30", "\x3c")) {
            $php_version = explode("\x2e", PHP_VERSION);
            $_php[] = "\345\xbd\223\345\x89\x8d\x20\120\110\x50\40\347\x89\210\xe6\234\xac\xe6\230\xaf\x20\x76" . ($php_version[0] . "\56" . $php_version[1] . "\x2e" . $php_version[2]) . "\357\xbc\214\xe8\xaf\xb7\345\215\x87\347\272\247\xe5\210\260\x20\x3c\163\x74\x72\x6f\156\147\x3e\x76\x38\x2e\x32\56\60\74\57\x73\x74\x72\x6f\156\x67\x3e\40\xe6\x88\x96\346\x9b\264\351\xab\x98\347\x9a\204\xe7\x89\x88\346\x9c\xac\xe3\200\x82";
        }
        goto F0wUg;
        UlGCI:
        $_server = $_php = $_user = array();
        goto wBsUP;
        URKIZ:
        if (!in_array("\x6d\142\163\x74\162\151\x6e\147", $extensions)) {
            $_php[] = "\x50\110\x50\40\xe6\xb2\241\346\234\211\345\220\257\xe7\x94\250\40\74\163\x74\x72\x6f\x6e\x67\76\x6d\142\163\x74\x72\x69\x6e\x67\74\57\163\x74\162\x6f\x6e\147\76\x20\xe6\x89\251\xe5\xb1\x95\343\x80\x82";
        }
        goto iKFn_;
        F0wUg:
        if (!in_array("\x7a\x69\x70", $extensions)) {
            $_php[] = "\120\x48\x50\40\xe6\262\xa1\346\x9c\211\345\220\257\xe7\224\xa8\x20\74\163\x74\162\x6f\156\147\76\x7a\x69\x70\74\57\x73\164\162\x6f\156\x67\x3e\40\346\x89\xa9\xe5\261\x95\343\x80\202";
        }
        goto ZVik9;
        URxnp:
        if (file_exists(WEB_ROOT . "\x69\156\163\x74\x61\x6c\154\x2e\x6c\157\x63\x6b")) {
            $_user[] = "\xe7\275\221\347\xab\231\345\xb7\262\xe5\xae\214\346\210\220\xe5\256\x89\xe8\243\x85\343\x80\x82\345\246\202\xe9\234\x80\xe9\207\x8d\346\x96\260\xe5\xae\x89\xe8\243\205\xef\xbc\x8c\350\257\267\xe5\210\xa0\351\231\xa4\347\x9b\xae\xe5\xbd\225\xe4\xb8\213\347\232\204\40\x3c\163\x74\162\157\156\147\76\x69\156\163\164\141\154\x6c\x2e\x6c\157\143\153\x3c\57\x73\164\x72\157\156\x67\x3e\40\346\x96\207\344\xbb\xb6\343\x80\x82";
        } else {
            goto KaUij;
            uK_NK:
            if (!$user) {
                $_user[] = "\xe6\227\xa0\346\263\225\350\216\xb7\xe5\217\226\345\256\x89\350\xa3\205\xe4\277\xa1\346\201\257\357\274\x8c\350\257\267\350\201\x94\347\xb3\273\xe6\x8a\x80\346\234\257\40\x51\121\72\x20\x32\x32\x36\x35\64\x38\x30\x35\x35\62";
            } else {
                if ($user["\143\x6f\x64\x65"] == 1) {
                    $_user[] = $user["\155\x65\163\163\141\x67\x65"];
                }
            }
            goto xx1D1;
            i1kvX:
            $user = json_decode($json, true);
            goto uK_NK;
            KaUij:
            $json = curl_get(API_URL . "\165\163\145\x72\x2f\x69\x73\x69\156\163\x74\x61\x6c\154\x3f\x64\x6f\155\141\x69\x6e\x3d" . $site_domain . "\46\164\x6f\153\x65\x6e\75" . API_TOKEN);
            goto i1kvX;
            xx1D1:
        }
        goto KErKz;
        KErKz:
        exit(json_encode(array("\x73\x65\x72\166\x65\x72" => $_server, "\x70\x68\160" => $_php, "\x75\x73\145\x72" => $_user)));
        goto IqQd1;
        aUAuI:
        if (!is_writable(ROOT_PATH) && !is_writable(__FILE__)) {
            $_server[] = "\347\xbd\221\347\xab\231\xe7\x9b\xae\345\275\x95\346\262\xa1\346\234\x89\345\206\x99\345\205\245\346\x9d\203\xe9\x99\220\xef\xbc\x8c\350\xaf\267\xe4\xbf\xae\346\x94\271\346\x9d\x83\351\231\220\xe4\xb8\xba\40\x3c\163\164\x72\x6f\x6e\147\x3e\60\67\x35\65\x3c\57\x73\164\162\157\156\x67\76\xe3\x80\x82";
        }
        goto nWnWB;
        B1Qz_:
        if (RUN_MODE != "\x64\x65\x76") {
            if (filter_var(getIP(), FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) == false) {
                $_server[] = "\xe4\xb8\215\345\x85\x81\350\256\xb8\xe5\x9c\xa8\xe5\206\x85\xe7\275\x91\xe7\216\257\xe5\xa2\x83\350\xbf\220\350\241\214\xef\xbc\x8c\350\257\xb7\344\270\212\344\274\240\xe5\210\260\xe6\x9c\215\xe5\212\xa1\345\x99\250\345\206\215\xe8\xbf\233\xe8\xa1\214\345\xae\x89\350\243\x85\343\200\202";
            }
            if (filter_var($_SERVER["\x48\x54\x54\120\x5f\110\x4f\123\x54"], FILTER_VALIDATE_IP)) {
                $_server[] = "\xe4\270\215\345\205\201\350\256\270\xe4\xbd\277\347\x94\250\40\x49\x50\x20\345\234\260\xe5\x9d\200\345\xae\211\350\243\x85\xef\274\x8c\xe8\257\267\347\xbb\221\xe5\xae\232\345\x9f\x9f\345\x90\215\345\206\215\350\xbf\x9b\xe8\241\x8c\xe5\xae\x89\xe8\243\x85\xe3\200\x82";
            }
        }
        goto aUAuI;
        PEtLi:
        if (!in_array("\147\144", $extensions)) {
            $_php[] = "\x50\110\x50\40\346\xb2\xa1\346\x9c\211\xe5\220\xaf\347\224\250\40\74\163\x74\162\157\x6e\x67\x3e\x47\104\74\x2f\x73\164\162\x6f\156\147\76\40\xe6\211\251\xe5\261\225\343\200\202";
        }
        goto URKIZ;
        ZVik9:
        if (!in_array("\x66\x69\x6c\x65\151\156\146\x6f", $extensions)) {
            $_php[] = "\120\110\x50\x20\xe6\262\241\346\x9c\x89\xe5\220\257\xe7\224\xa8\x20\x3c\x73\x74\162\x6f\x6e\147\x3e\146\x69\154\x65\x69\x6e\x66\x6f\x3c\x2f\163\x74\x72\x6f\156\x67\x3e\x20\xe6\211\251\345\261\225\343\x80\x82";
        }
        goto PEtLi;
        iKFn_:
        if (!in_array("\x70\144\x6f\x5f\163\161\x6c\x69\x74\x65", $extensions)) {
            $_php[] = "\x50\x48\x50\40\xe6\262\241\346\x9c\211\xe5\x90\xaf\347\224\250\40\x3c\x73\x74\162\x6f\x6e\147\x3e\160\144\157\137\163\161\x6c\x69\164\145\x3c\57\x73\x74\x72\x6f\x6e\147\x3e\40\xe6\x89\xa9\345\xb1\x95\343\x80\x82";
        }
        goto URxnp;
        nWnWB:
        if (!in_array("\x63\165\x72\x6c", $extensions)) {
            $_php[] = "\x50\110\120\40\346\xb2\241\346\234\x89\345\256\x89\xe8\xa3\205\xe6\x88\226\345\x90\257\xe7\x94\xa8\x20\74\x73\x74\162\x6f\x6e\147\x3e\x63\x75\162\154\74\57\163\x74\162\157\x6e\147\x3e\40\xe6\x89\251\345\xb1\225\343\200\x82";
        }
        goto qb7jT;
        wBsUP:
        $extensions = get_loaded_extensions();
        goto B1Qz_;
        IqQd1:
    } else {
        if ($_GET["\x75\163\x65\162"]) {
            goto fb5gQ;
            Tf6hl:
            if (filter_var($siteemail, FILTER_VALIDATE_EMAIL) === false) {
                json_error("\xe9\x82\xae\xe7\256\xb1\xe6\xa0\274\xe5\274\x8f\344\xb8\215\346\255\xa3\347\241\256\345\223\246\xef\274\201");
            } else {
                if (strval($_SESSION["\145\155\141\x69\x6c\55\x63\x6f\144\145"]) !== $sitecode) {
                    json_error("\351\202\xae\xe7\256\261\xe9\xaa\214\350\257\x81\xe7\xa0\201\xe4\xb8\215\xe6\xad\243\347\xa1\xae\xe5\223\246\xef\xbc\201");
                } else {
                    if (strlen($adminname) < 2) {
                        json_error("\xe7\x94\250\346\210\xb7\345\x90\x8d\346\x9c\x80\xe5\260\x91\xe8\xa6\201\62\xe4\270\252\xe5\255\227\xe7\254\xa6\345\223\246\xef\274\201");
                    } else {
                        if (strlen($adminpass) < 6) {
                            json_error("\345\xaf\206\347\xa0\x81\346\234\x80\345\260\221\350\246\x81\x36\xe4\xb8\252\345\255\227\347\254\xa6\345\x93\xa6\357\274\201");
                        } else {
                            if (!empty($invitecode)) {
                                goto wgH8a;
                                Mzvxp:
                                $res = json_decode($json, true);
                                goto iADSn;
                                RF2cK:
                                $invitecode = strtoupper($invitecode);
                                goto g2IPR;
                                wgH8a:
                                $invitecode = preg_replace("\57\x5b\x5e\141\x2d\172\101\x2d\132\x30\x2d\x39\135\53\57", '', $invitecode);
                                goto RF2cK;
                                g2IPR:
                                $json = curl_get(API_URL . "\163\x68\x61\x72\145\143\x6f\x64\145\x2f\x69\x73\166\141\x6c\x69\144\x3f\x63\157\144\x65\x3d" . $invitecode . "\46\164\157\153\x65\x6e\75" . API_TOKEN);
                                goto Mzvxp;
                                iADSn:
                                if ($res["\143\157\x64\x65"] !== 0) {
                                    json_error("\xe9\202\200\350\xaf\267\347\240\x81\346\230\257\xe6\x97\xa0\xe6\x95\210\xe7\x9a\204\345\x93\246\xef\xbc\201");
                                }
                                goto Vu9OD;
                                Vu9OD:
                            }
                        }
                    }
                }
            }
            goto cTp6S;
            iF4Mf:
            $siteemail = $_POST["\163\151\x74\145\x65\155\141\151\x6c"];
            goto BPzpa;
            xbBOR:
            $adminname = $_POST["\141\144\x6d\x69\156\156\x61\x6d\145"];
            goto MLrE5;
            BPzpa:
            $sitecode = $_POST["\x73\151\x74\145\143\157\144\145"];
            goto xbBOR;
            MLrE5:
            $adminpass = $_POST["\141\x64\x6d\x69\156\x70\x61\x73\163"];
            goto oAWOb;
            oAWOb:
            $invitecode = $_POST["\151\x6e\166\x69\x74\x65\x63\157\x64\145"];
            goto Tf6hl;
            fb5gQ:
            $sitename = $_POST["\x73\x69\164\x65\x6e\x61\x6d\x65"];
            goto iF4Mf;
            cTp6S:
            json_success();
            goto sk9Gt;
            sk9Gt:
        } else {
            if ($_GET["\162\x75\156"]) {
                goto Oy5Hm;
                V3NK2:
                $db->query("\x49\116\123\105\x52\x54\40\x49\116\124\117\40\x73\151\x74\x65\x20\x28\156\141\x6d\145\54\x20\166\x61\154\165\145\x29\40\x56\x41\114\x55\105\x53\40\50\x27\x64\x6f\x6d\141\x69\x6e\62\47\x2c\40\x27\x27\51");
                goto XWXcD;
                o5ohJ:
                if ($res["\143\157\144\x65"] === 0) {
                    goto GtrdN;
                    HUMnI:
                    $data["\144\141\164\141"]["\165\162\x6c"] = $site_url;
                    goto nROoI;
                    pE_cN:
                    exit(json_encode($data));
                    goto feb6n;
                    nROoI:
                    $data["\x64\141\164\x61"]["\x61\144\155\x69\x6e\x5f\x75\x72\x6c"] = $site_url . "\x61\x64\155\151\156\x2f" . (RUN_MODE != "\x64\x65\166" ? '' : "\77\x73\x3d\x73\162\143");
                    goto rIe7d;
                    GtrdN:
                    $data["\x63\157\x64\145"] = 0;
                    goto HUMnI;
                    rIe7d:
                    $data["\144\141\x74\x61"]["\141\x64\155\151\x6e\137\156\141\x6d\x65"] = $admin_name;
                    goto tPJAu;
                    ZtWvH:
                    file_put_contents(WEB_ROOT . "\151\x6e\x73\x74\141\x6c\154\x2e\154\157\x63\x6b", "\x70\x61\147\x65\x70\x61\156\x2e\143\x6f\155");
                    goto pE_cN;
                    tPJAu:
                    $data["\144\x61\164\141"]["\141\x64\155\151\156\x5f\160\141\163\163"] = $admin_pass;
                    goto ZtWvH;
                    feb6n:
                } else {
                    json_error($res["\x6d\145\x73\163\x61\x67\x65"]);
                }
                goto vNrzC;
                A5VzM:
                if (!file_put_contents(ROOT_PATH . "\x61\160\x70\x2f\141\x70\x69\x2f\x74\157\x6b\x65\156\56\160\150\x70", "\74\x3f\x70\150\x70\x20\x72\x65\x74\x75\162\x6e\40\47{$user_token}\x27\x3b")) {
                    json_error("\346\233\264\346\226\260\345\xae\211\345\205\250\xe4\xbb\244\xe7\x89\214\346\x96\x87\344\xbb\266\xe5\xa4\261\350\264\xa5\357\xbc\x8c\xe8\xaf\267\351\207\x8d\xe6\226\xb0\345\256\x89\xe8\xa3\205\xef\xbc\201");
                }
                goto IAA0N;
                CYeWL:
                $admin_pass = addslashes($_POST["\x61\144\155\151\x6e\x70\141\x73\x73"]);
                goto FaR4r;
                Nz1fq:
                $db = new PDO("\x73\x71\154\x69\164\x65\72" . ROOT_PATH . "\x64\141\164\141\x2f\163\161\x6c\151\164\x65\57\160\x61\x67\145\160\141\156\56\x64\142");
                goto wkt3q;
                wkt3q:
                $db->query("\111\x4e\x53\105\122\x54\40\x49\x4e\x54\x4f\x20\x73\151\x74\x65\x20\50\156\141\155\x65\54\40\166\141\x6c\165\145\51\x20\x56\x41\114\125\x45\x53\x20\x28\47\144\x6f\155\x61\151\x6e\x27\x2c\x20\47{$site_url}\47\x29");
                goto V3NK2;
                DzsuN:
                $user_data["\x65\155\x61\x69\x6c"] = $user_email;
                goto vFxDU;
                lgyMu:
                if (!is_file($install_file)) {
                    list($success, $message) = download("\150\x74\164\x70\72" . GET_URL . "\x70\141\x63\x6b\141\x67\x65\x2f\x69\156\163\x74\141\x6c\x6c\56\172\x69\x70", $install_file);
                    if (!$success) {
                        json_error("\344\270\213\350\xbd\275\347\275\x91\347\xab\231\346\x96\207\xe4\xbb\266\xe5\244\261\350\264\245\357\274\x9a" . $message);
                    }
                }
                goto MOGxn;
                lvzjB:
                $install_file = ROOT_PATH . "\x69\x6e\x73\x74\141\154\154\x2e\172\x69\x70";
                goto lgyMu;
                XWXcD:
                $db->query("\111\116\123\x45\122\x54\x20\111\116\124\117\x20\163\151\164\x65\x20\50\156\141\155\145\x2c\40\166\141\154\x75\x65\x29\x20\x56\101\114\125\105\x53\40\50\x27\144\157\155\141\151\156\63\x27\54\40\47\47\x29");
                goto rNEcJ;
                OMUiz:
                if (!$config_db) {
                    json_error("\xe5\x86\231\345\x85\xa5\xe6\x95\260\xe6\215\256\345\xba\x93\xe9\x85\215\xe7\275\256\xe6\x96\207\xe4\273\266\345\244\261\350\xb4\245\xef\xbc\214\350\257\xb7\351\x87\x8d\346\226\xb0\345\256\211\xe8\243\205\357\274\201");
                }
                goto A5VzM;
                nOYHn:
                $user_token = bin2hex(random_bytes(32));
                goto zeppR;
                epzvT:
                $user_email = addslashes($_POST["\163\151\164\x65\145\x6d\141\151\x6c"]);
                goto nOYHn;
                rNEcJ:
                $db->query("\x49\x4e\123\105\x52\x54\x20\x49\x4e\x54\x4f\x20\163\151\164\x65\x20\50\x6e\x61\155\145\x2c\x20\x76\x61\154\x75\145\51\40\x56\x41\114\125\x45\123\40\x28\47\x6e\x61\155\145\x27\x2c\40\x27{$user_title}\47\x29");
                goto wESnN;
                MLoaS:
                $user_data["\x74\151\x74\154\145"] = $user_title;
                goto DzsuN;
                hjsfv:
                $invitecode = strtoupper($invitecode);
                goto lvzjB;
                MijFN:
                $db->query("\111\116\123\x45\x52\x54\40\111\x4e\124\117\40\141\144\x6d\151\156\x20\50\x73\164\x61\164\145\x2c\x20\x63\x74\151\155\x65\x2c\x20\156\x61\x6d\145\x2c\x20\x70\141\x73\163\x2c\x20\x72\142\x61\x63\x29\40\x56\x41\114\125\x45\x53\x20\50\47\61\x27\x2c\x20\x27" . time() . "\47\x2c\x20\47{$admin_name}\47\x2c\40\x27{$admin_pass2}\x27\54\x20\x27\163\x75\x70\x65\162\47\51");
                goto nyvjY;
                zeppR:
                $admin_name = addslashes($_POST["\x61\x64\155\151\156\156\141\x6d\x65"]);
                goto CYeWL;
                aFijY:
                $invitecode = preg_replace("\x2f\133\136\141\55\172\101\x2d\x5a\x30\55\x39\135\x2b\x2f", '', $invitecode);
                goto hjsfv;
                WHOE2:
                $user_data["\x69\x6e\x76\151\x74\x65\x5f\143\157\144\145"] = $invite_code;
                goto Tq81M;
                Oy5Hm:
                $user_title = addslashes($_POST["\x73\151\x74\145\x6e\x61\155\145"]);
                goto epzvT;
                WWyxL:
                $user_data["\x74\x6f\x6b\145\x6e"] = $user_token;
                goto wr5nd;
                wESnN:
                $db->query("\x49\x4e\x53\x45\x52\124\40\x49\116\x54\117\40\x73\x69\x74\145\40\50\156\x61\x6d\145\54\40\x76\141\x6c\165\145\x29\x20\x56\101\114\x55\105\123\40\x28\x27\164\x69\x6d\x65\x73\x74\141\155\x70\47\54\40\47" . time() . "\x27\51");
                goto MijFN;
                Tq81M:
                $user_data["\141\x70\151\x5f\165\x72\x6c"] = $site_url . "\141\x70\x69\x2f\166\x31";
                goto WWyxL;
                FaR4r:
                $invite_code = addslashes($_POST["\151\156\166\x69\x74\x65\143\157\x64\145"]);
                goto aFijY;
                wr5nd:
                $res = curl_post(API_URL . "\165\x73\145\x72\57\x73\141\166\145\x3f\164\x6f\153\145\x6e\75" . API_TOKEN, $user_data);
                goto Xnpsj;
                IAA0N:
                $user_data["\x64\x6f\x6d\x61\x69\x6e"] = $site_domain;
                goto MLoaS;
                Gn6Cb:
                $admin_pass2 = password_hash($admin_pass, PASSWORD_DEFAULT);
                goto Nz1fq;
                jbleE:
                if ($zip->open($install_file) === true) {
                    goto eJ05Y;
                    eJ05Y:
                    $zip->extractTo(ROOT_PATH);
                    goto p8TTw;
                    Otd36:
                    @unlink($install_file);
                    goto cY2mL;
                    p8TTw:
                    $zip->close();
                    goto Otd36;
                    cY2mL:
                } else {
                    @unlink($install_file);
                    json_error("\xe8\xa7\243\xe5\x8e\213\346\226\207\xe4\xbb\266\xe5\244\261\350\264\245\357\xbc\232" . $install_file);
                }
                goto MUES0;
                Xnpsj:
                $res = json_decode($res, true);
                goto o5ohJ;
                MUES0:
                if (IS_PUBLIC == false) {
                    goto eeXst;
                    sGyD_:
                    rcopy(ROOT_PATH . "\x70\165\x62\154\x69\x63", rtrim(ROOT_PATH, "\x2f"));
                    goto zRQhR;
                    MlhFP:
                    file_content_replace(ROOT_PATH . "\x70\165\x62\154\151\143\57\x73\x74\141\x74\x73\x2e\160\150\x70", "\144\145\146\x69\x6e\145\50\47\x52\117\117\124\137\x50\x41\x54\110\x27\x2c\x20\144\x69\162\x6e\x61\155\145\50\x57\x45\102\x5f\x52\x4f\x4f\124\x29\40\56\x20\47\x2f\47\x29\73", "\x64\145\x66\x69\x6e\145\50\47\122\x4f\117\124\x5f\x50\101\124\x48\47\x2c\40\x57\105\102\x5f\122\x4f\117\x54\x29\73");
                    goto sGyD_;
                    zRQhR:
                    rrmdir(ROOT_PATH . "\x70\x75\x62\154\x69\x63");
                    goto gTTeZ;
                    NhyzV:
                    file_content_replace(ROOT_PATH . "\x70\x75\142\x6c\151\x63\57\x69\x6d\x67\56\x70\150\160", "\x64\x65\x66\x69\x6e\x65\50\47\122\x4f\117\x54\137\x50\x41\x54\110\47\x2c\40\144\151\162\x6e\x61\x6d\145\x28\x57\x45\102\137\122\x4f\117\124\51\x20\56\40\x27\57\47\51\73", "\144\x65\x66\151\x6e\145\50\x27\x52\117\117\x54\x5f\120\x41\x54\x48\x27\x2c\x20\x57\x45\x42\137\x52\x4f\117\x54\51\73");
                    goto MlhFP;
                    eeXst:
                    file_content_replace(ROOT_PATH . "\160\165\x62\154\151\143\57\x69\x6e\144\x65\x78\56\x70\x68\x70", "\144\x65\146\151\x6e\x65\50\47\x52\x4f\117\x54\x5f\x50\101\x54\110\x27\54\40\x64\151\162\x6e\141\155\x65\50\x57\x45\x42\x5f\x52\x4f\117\x54\51\40\x2e\40\x27\57\47\x29\73", "\144\x65\x66\151\x6e\x65\x28\x27\x52\117\x4f\x54\x5f\120\101\124\x48\47\54\x20\x57\105\102\x5f\122\117\117\124\x29\x3b");
                    goto NhyzV;
                    gTTeZ:
                }
                goto Gn6Cb;
                MOGxn:
                $zip = new ZipArchive();
                goto jbleE;
                vFxDU:
                $user_data["\166\145\x72\x73\151\157\156"] = $site_version;
                goto WHOE2;
                nyvjY:
                $config_db = file_put_contents(ROOT_PATH . "\143\157\x6e\146\151\147\57\144\142\x2e\x70\x68\x70", "\x3c\77\160\150\160\12\x72\145\164\x75\x72\156\40\x5b\xa\x20\x20\x20\x20\47\x64\145\x62\x75\147\x27\40\x3d\76\x20\146\x61\154\163\x65\x2c\xa\40\x20\40\40\47\x74\171\160\145\47\x20\x3d\x3e\x20\x27\163\161\x6c\x69\164\145\x27\x2c\12\x20\x20\40\40\x27\x66\151\x6c\145\47\40\x3d\76\40\x27\144\x61\164\x61\57\163\161\x6c\151\x74\145\57\x70\141\147\x65\x70\141\156\x2e\144\x62\47\54\xa\40\x20\40\x20\x27\x70\x72\x65\x66\x69\x78\47\40\x3d\76\40\47\47\xa\x5d\73");
                goto OMUiz;
                vNrzC:
            } else {
                if ($_GET["\147\x65\164\x63\x6f\x64\x65"]) {
                    goto NqkT7;
                    oNGfH:
                    exit($json);
                    goto mzk9X;
                    NqkT7:
                    $code = rand(1000, 9999);
                    goto eYATi;
                    d4tDJ:
                    $data["\x65\x6d\x61\x69\154"] = $_GET["\x65\x6d\141\151\154"];
                    goto tqMdc;
                    eYATi:
                    $_SESSION["\145\x6d\x61\x69\154\55\x63\157\144\145"] = $code;
                    goto d4tDJ;
                    tqMdc:
                    $data["\x74\x69\x74\154\x65"] = "\345\xae\211\350\243\x85\xe5\xb0\x8f\xe9\xa3\236\351\241\xb5\347\x9a\x84\351\xaa\214\350\257\x81\347\xa0\x81\xef\274\232{$code}";
                    goto AbRXA;
                    AbRXA:
                    $data["\x63\x6f\x6e\164\145\156\164"] = str_replace("\173\173\143\157\x64\x65\x7d\175", $code, file_get_contents("\150\164\x74\160\x3a" . GET_URL . "\145\155\141\x69\x6c\x2f\151\x6e\163\x74\x61\154\154\x2d\x63\x6f\x64\x65\x2e\x68\164\155\x6c"));
                    goto LqzvR;
                    LqzvR:
                    $json = curl_post(API_URL . "\x75\163\145\162\57\x73\145\156\x64\145\x6d\x61\x69\154\x3f\164\157\153\145\156\75" . API_TOKEN, $data);
                    goto oNGfH;
                    mzk9X:
                } else {
                    if ($_GET["\x67\x65\164\x69\156\146\157"]) {
                        goto AmBUW;
                        LByHl:
                        $data["\143\x6f\x6e\164\x65\156\164"] = str_replace(array("\x7b\x7b\146\162\x6f\156\x74\137\x75\x72\154\x7d\175", "\173\x7b\141\144\x6d\151\156\x5f\165\162\x6c\175\175", "\173\173\x61\x64\x6d\x69\156\137\x6e\x61\x6d\145\x7d\175", "\x7b\x7b\x61\x64\155\151\x6e\x5f\x70\x61\163\163\x7d\175", "\173\173\x6f\162\144\x65\x72\137\163\156\175\x7d"), array($front_url, $admin_url, $admin_name, $admin_pass, ''), $content);
                        goto ETKT6;
                        PyBaR:
                        $admin_pass = $_POST["\141\144\155\x69\x6e\x5f\160\141\163\163"];
                        goto OME6m;
                        AmBUW:
                        $data["\145\x6d\x61\x69\154"] = $_POST["\x65\x6d\141\x69\154"];
                        goto u9hm3;
                        u9hm3:
                        $front_url = $_POST["\x66\x72\x6f\x6e\x74\137\165\x72\x6c"];
                        goto QtrjD;
                        OHvp7:
                        $admin_name = $_POST["\x61\x64\155\x69\x6e\x5f\x6e\141\x6d\145"];
                        goto PyBaR;
                        ETKT6:
                        $json = curl_post(API_URL . "\x75\163\145\162\57\x73\x65\156\144\x65\155\x61\x69\154\x3f\x74\x6f\x6b\x65\156\x3d" . API_TOKEN, $data);
                        goto wBFug;
                        LaH8r:
                        $data["\164\151\164\154\145"] = "\xef\274\210{$_POST["\x73\151\164\145\156\x61\x6d\x65"]}\357\274\x89\347\275\221\xe7\253\231\xe5\220\216\345\217\260\347\256\241\347\220\x86\xe4\277\xa1\346\201\xaf";
                        goto LByHl;
                        wBFug:
                        exit($json);
                        goto NmMdL;
                        QtrjD:
                        $admin_url = $_POST["\x61\x64\x6d\x69\156\137\x75\162\154"];
                        goto OHvp7;
                        OME6m:
                        $content = file_get_contents("\x68\164\164\160\72" . GET_URL . "\145\155\141\x69\154\57\x69\156\x73\x74\x61\x6c\x6c\55\141\x64\x6d\151\x6e\x2e\x68\x74\x6d\x6c");
                        goto LaH8r;
                        NmMdL:
                    }
                }
            }
        }
    }
    goto YKkN6;
    IjNzY:
    $site_domain = dirname($_host . $_SERVER["\120\x48\x50\x5f\123\x45\114\x46"]);
    goto FxVnB;
    YKkN6:
}
goto ktmaY;
jz26J:
session_start();
goto Ydk0H;
jiOKm:
echo GET_URL . "\141\163\163\x65\164\x73\x2f\x72\145\x73\x65\x74\56\x63\163\163\x3f\166\x3d" . time();
goto Qdbdq;
MF5uz:
echo "\x3c\x21\x64\x6f\x63\164\171\x70\145\x20\x68\x74\155\x6c\x3e\12\74\x68\164\x6d\154\40\154\141\156\x67\x3d\42\x7a\150\42\76\xa\74\150\x65\x61\144\76\12\x20\x20\x20\40\74\155\145\164\141\x20\x63\150\x61\162\x73\145\x74\75\x22\x75\164\x66\x2d\x38\x22\x3e\xa\x20\40\x20\x20\x3c\x6d\x65\x74\141\x20\156\141\x6d\x65\x3d\x22\x72\145\x6e\x64\145\162\x65\162\x22\x20\143\x6f\156\x74\x65\156\164\75\42\x77\x65\x62\x6b\x69\x74\x22\76\12\40\x20\x20\x20\x3c\x6d\145\164\x61\x20\156\141\155\x65\75\x22\x66\x6f\162\x63\x65\55\162\x65\x6e\x64\x65\162\x69\156\147\42\x20\x63\x6f\156\164\x65\x6e\x74\75\x22\x77\x65\x62\153\151\164\x22\x3e\xa\40\40\40\40\x3c\x6d\x65\164\141\40\150\x74\x74\x70\55\145\161\x75\151\166\75\42\130\55\x55\101\x2d\x43\157\155\160\141\164\x69\x62\x6c\145\x22\40\143\157\x6e\164\x65\x6e\164\75\x22\x69\x65\75\145\x64\147\x65\x2c\x63\150\x72\x6f\x6d\145\75\x31\x22\76\12\40\40\x20\x20\74\x74\151\x74\154\145\76\345\260\217\xe9\xa3\236\351\241\265\345\256\211\350\243\x85\345\x90\x91\xe5\xaf\274\x20\x76";
goto aKyqj;
cChox:
function curl_get($url)
{
    goto gviuM;
    czOfC:
    curl_setopt($ch, CURLOPT_TIMEOUT, 300);
    goto d6Jaj;
    TscHK:
    curl_setopt($ch, CURLOPT_URL, $url);
    goto jumX5;
    qDqlO:
    curl_setopt($ch, CURLOPT_HEADER, 0);
    goto kXJ1G;
    d6Jaj:
    curl_setopt($ch, CURLOPT_REFERER, $url);
    goto ULyp5;
    jumX5:
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
    goto czOfC;
    fU_SX:
    $result = curl_exec($ch);
    goto rUeyu;
    gviuM:
    $ch = curl_init();
    goto TscHK;
    rUeyu:
    curl_close($ch);
    goto NXtQ5;
    kXJ1G:
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    goto uKA0x;
    uKA0x:
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
    goto fU_SX;
    ULyp5:
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    goto qDqlO;
    NXtQ5:
    return $result;
    goto TooCD;
    TooCD:
}
goto e7lxB;
idivD:
echo GET_URL . "\x61\163\x73\x65\164\x73\57\x6a\x71\165\145\x72\x79\56\x6a\163\77\x76\x3d" . time();
goto CNB0y;
eABze:
define("\x49\x53\137\x41\112\101\130", isset($_SERVER["\110\124\124\120\x5f\x58\137\122\x45\x51\x55\x45\123\x54\x45\104\x5f\127\x49\124\x48"]) && strtolower($_SERVER["\110\x54\124\120\x5f\x58\137\x52\x45\x51\x55\105\123\124\105\x44\x5f\127\111\x54\x48"]) == "\x78\x6d\x6c\150\x74\164\x70\x72\x65\x71\165\x65\163\164" ? true : false);
goto O73ex;
lQvn0:
function rmkdir($path, $mode = 0755)
{
    if (!is_dir($path)) {
        return mkdir($path, $mode, true);
    }
    return true;
}
goto vrReF;
r4NCb:
echo GET_URL . "\x61\x73\163\145\164\163\57\x61\156\151\x6d\141\x74\x65\56\143\163\x73\x3f\166\75" . time();
goto t3xHg;
AqMbi:
function download($url, $save)
{
    goto QXHXC;
    ue6vd:
    if (!$fp) {
        $error = error_get_last();
        $message = "\346\211\223\345\xbc\200\346\226\207\344\xbb\xb6\xe6\227\266\xe5\x87\272\351\224\x99\x3a\x20" . $error["\155\145\163\163\141\x67\x65"];
    } else {
        goto rWWd2;
        bcFvJ:
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
        goto cefKu;
        RHm0z:
        fclose($fp);
        goto vlsnu;
        XZUEQ:
        if (curl_exec($ch) === false) {
            $message = curl_error($ch);
        }
        goto RHm0z;
        rWWd2:
        $ch = curl_init($url);
        goto l9Cyx;
        q8M4y:
        curl_setopt($ch, CURLOPT_TIMEOUT, 300);
        goto bcFvJ;
        cefKu:
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        goto YPbRZ;
        YPbRZ:
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
        goto XZUEQ;
        cmxLK:
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
        goto q8M4y;
        l9Cyx:
        curl_setopt($ch, CURLOPT_FILE, $fp);
        goto cmxLK;
        m3Qnn:
        curl_close($ch);
        goto AbXUS;
        vlsnu:
        if (curl_getinfo($ch, CURLINFO_HTTP_CODE) == 200) {
            $success = true;
        } else {
            unlink($save);
        }
        goto m3Qnn;
        AbXUS:
    }
    goto gq7UG;
    gq7UG:
    return [$success, $message];
    goto JvmlE;
    VopBP:
    $message = '';
    goto yEI_h;
    yEI_h:
    $fp = @fopen($save, "\167\x2b");
    goto ue6vd;
    QXHXC:
    $success = false;
    goto VopBP;
    JvmlE:
}
goto aqQRM;
s_JwO:
echo "\x22\40\155\x61\170\x6c\x65\x6e\x67\164\x68\75\x22\x36\x22\xa\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\x70\x6c\141\x63\145\x68\157\154\144\x65\162\x3d\42\345\x8f\xaf\345\xa1\xab\xef\274\214\350\264\xad\344\271\260\344\274\x9a\xe5\x91\230\346\234\211\346\x89\223\346\x8a\230\347\232\204\344\xbc\x98\xe6\203\240\xe5\223\xa6\xef\274\x81\42\x20\144\141\164\x61\55\x65\162\x72\157\x72\x3d\42\350\276\x93\345\205\xa5\xe7\x9a\x84\xe9\202\x80\350\257\267\347\240\x81\xe6\230\257\xe6\x97\240\xe6\x95\x88\347\232\204\343\x80\202\42\xa\40\40\x20\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x74\141\x62\x69\156\144\145\170\75\42\66\42\x3e\12\x20\x20\x20\40\x20\40\40\40\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\x3c\57\x64\151\x76\x3e\xa\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\40\x20\x3c\144\151\166\76\12\40\40\x20\40\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\74\x62\165\164\x74\157\156\x20\164\171\160\x65\75\42\142\x75\164\164\x6f\x6e\x22\x20\144\141\164\141\x2d\163\164\x65\x70\75\x22\62\42\x20\164\x61\142\151\156\144\x65\x78\75\x22\66\42\x3e\344\270\x8b\344\xb8\x80\346\255\xa5\74\x2f\142\x75\x74\164\157\156\76\xa\40\x20\x20\40\x20\40\x20\40\x20\40\40\x20\40\40\x20\40\40\x20\40\40\74\57\144\x69\x76\x3e\xa\40\x20\x20\40\x20\40\40\40\x20\40\40\40\40\40\x20\40\74\57\x66\x6f\x72\155\x3e\12\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\x20\x3c\57\x73\145\143\164\x69\157\x6e\76\xa\x20\40\40\x20\40\x20\40\x20\x20\x20\40\x20\74\163\145\143\x74\151\x6f\x6e\40\x63\154\141\x73\163\x3d\x22\163\x74\x65\160\55\x72\x75\x6e\42\76\xa\x20\40\40\x20\40\40\40\40\40\40\x20\40\x20\40\x20\x20\x3c\150\x32\x3e\xe5\256\x89\350\xa3\x85\xe7\250\x8b\xe5\xba\x8f\xe5\267\262\345\260\xb1\xe7\xbb\252\xef\274\x8c\xe7\x82\271\xe5\x87\xbb\344\270\213\351\235\xa2\xe6\x8c\211\xe9\x92\xae\345\274\200\xe5\xa7\213\345\256\211\350\243\205\x3c\57\150\x32\x3e\xa\x20\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\74\x70\76\xe8\277\x99\xe5\x8f\xaa\351\234\x80\344\270\215\345\210\xb0\344\270\x80\345\x88\206\351\x92\237\xe7\232\x84\xe6\227\266\xe9\227\264\74\x2f\160\76\12\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\74\144\151\x76\40\143\x6c\141\163\163\x3d\42\x65\x72\162\x6f\162\x2d\155\x65\x73\163\141\147\145\x22\76\x3c\57\144\x69\x76\x3e\12\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\x20\74\x62\165\164\x74\x6f\156\x20\164\171\x70\x65\75\42\x62\165\164\164\x6f\156\x22\40\x64\x61\x74\141\x2d\x73\x74\x65\x70\x3d\42\63\x22\x3e\345\xbc\200\345\xa7\x8b\345\xae\x89\xe8\xa3\x85\x3c\57\x62\165\164\x74\157\156\x3e\12\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\74\x2f\x73\x65\143\x74\151\x6f\x6e\76\12\x20\40\40\40\40\x20\40\x20\40\40\x20\40\x3c\x73\x65\x63\x74\x69\x6f\156\40\x63\x6c\x61\163\x73\75\42\x73\x74\x65\x70\x2d\x64\157\156\x65\x22\x3e\12\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\74\x68\62\x3e\346\201\xad\345\x96\x9c\xe6\x82\xa8\xef\274\x81\xe7\275\221\347\xab\231\xe5\xb7\xb2\351\xa1\272\345\x88\251\xe7\x9a\204\345\256\x89\350\243\205\345\256\214\xe6\x88\220\x3c\x2f\x68\62\76\12\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\74\160\x3e\xe8\257\267\344\xbf\235\347\256\xa1\xe5\xa5\275\xe7\xbd\221\347\xab\231\347\256\241\347\220\206\344\277\241\xe6\x81\xaf\74\x2f\160\x3e\xa\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\40\40\x3c\144\151\166\x20\143\x6c\141\x73\163\x3d\42\154\x69\x73\164\55\x62\x6f\x78\x22\x3e\xa\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\x3c\x75\154\76\xa\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\74\154\x69\x3e\12\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\40\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\x3c\144\151\166\x3e\347\xbd\x91\347\xab\231\xe9\246\226\xe9\xa1\xb5\x3c\x2f\x64\151\x76\x3e\xa\x20\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\40\x3c\x64\x69\166\x20\151\144\75\x22\146\x72\x6f\x6e\164\x5f\x75\x72\x6c\x22\x3e\74\x2f\x64\x69\166\76\xa\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\40\40\40\x20\x20\74\57\x6c\151\x3e\12\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\40\40\74\154\151\76\12\x20\x20\x20\40\40\40\x20\40\x20\40\40\x20\40\40\40\40\x20\40\40\40\40\40\x20\40\x20\40\x20\x20\74\144\151\166\76\347\275\x91\xe7\253\x99\xe5\x90\x8e\xe5\217\260\74\57\x64\x69\x76\76\xa\40\40\40\x20\40\40\40\40\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\x20\74\x64\151\x76\x20\151\144\75\42\141\144\x6d\151\156\x5f\x75\x72\154\42\76\x3c\x2f\x64\x69\166\x3e\12\40\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\40\x3c\x2f\x6c\151\76\xa\40\40\x20\x20\40\40\40\x20\x20\x20\x20\40\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\x3c\154\x69\x3e\xa\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x3c\144\151\166\x3e\347\x99\xbb\xe5\275\225\345\220\x8d\xe7\247\260\x3c\x2f\x64\151\x76\76\xa\40\x20\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\40\74\144\x69\x76\x3e\74\x73\x74\x72\x6f\x6e\x67\40\151\144\75\x22\x61\144\x6d\151\156\x5f\156\141\155\x65\x22\76\74\57\163\x74\x72\x6f\x6e\147\x3e\74\x2f\x64\x69\x76\76\12\40\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\40\40\40\x20\40\40\x3c\57\x6c\x69\x3e\xa\x20\40\x20\x20\40\40\x20\40\40\40\x20\40\40\40\40\40\40\40\40\40\x20\x20\x20\40\74\154\x69\x3e\xa\x20\x20\x20\x20\40\40\x20\40\x20\40\40\40\x20\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\x3c\144\x69\166\76\347\231\xbb\345\275\225\345\257\206\xe7\xa0\x81\x3c\57\144\x69\x76\76\xa\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\40\40\x20\74\x64\151\166\x3e\x3c\x73\164\162\x6f\156\147\x20\151\144\75\x22\x61\144\155\151\x6e\x5f\160\x61\x73\x73\x22\76\x3c\57\x73\x74\162\157\x6e\x67\76\xef\xbc\210\xe8\257\xb7\xe5\x8a\xa1\xe5\277\x85\347\x99\xbb\xe5\xbd\225\345\210\xb0\345\220\x8e\345\217\260\344\xbf\256\xe6\x94\xb9\345\xaf\206\xe7\xa0\201\357\xbc\211\x3c\57\144\151\x76\x3e\12\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\x3c\57\x6c\x69\x3e\xa\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\x20\74\x2f\x75\x6c\76\xa\40\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\74\x2f\144\x69\166\76\12\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\74\142\165\x74\164\x6f\x6e\40\x63\154\x61\163\163\x3d\42\x73\145\156\x64\55\145\x6d\x61\x69\x6c\42\76\xe4\xbb\xa5\xe4\xb8\212\xe4\277\xa1\xe6\x81\257\345\x8f\221\xe9\200\201\345\x88\xb0\346\x88\221\xe7\232\204\351\202\256\347\256\261\74\x2f\x62\165\x74\164\157\156\76\12\x20\x20\x20\x20\x20\40\x20\40\40\40\40\x20\40\x20\40\40\x3c\144\151\166\x20\143\154\141\163\x73\75\42\145\162\x72\157\x72\55\x6d\145\x73\x73\x61\147\145\x22\x3e\x3c\57\x64\x69\x76\76\12\40\40\x20\40\x20\x20\40\40\40\40\x20\x20\74\x2f\163\x65\143\x74\151\x6f\156\x3e\12\x20\x20\40\40\x20\40\x20\x20\x3c\57\144\151\x76\76\xa\x20\40\x20\x20\x3c\57\155\141\x69\156\x3e\xa\74\x2f\x64\151\x76\76\xa\xa\74\x66\x6f\x6f\164\x65\162\76\xc2\xa9\40\74\x61\x20\x68\162\x65\146\x3d\x22\57\x2f\167\167\x77\x2e\160\141\x67\145\160\141\x6e\x2e\x63\157\x6d\57\42\40\x74\141\x72\147\145\164\75\x22\x5f\142\154\x61\x6e\x6b\x22\x3e\x50\x41\107\105\x50\101\x4e\74\x2f\x61\x3e\x20\62\x30\x31\x33\54\x20\62\60\x32\65\74\57\x61\x3e\74\57\x66\x6f\x6f\x74\145\x72\x3e\12\12\74\x73\143\162\151\x70\x74\40\163\162\143\x3d\x22";
goto idivD;
OnG4i:
ini_set("\144\x69\x73\x70\154\141\x79\137\x65\162\x72\x6f\x72\163", false);
goto Jrxr1;
LOclI:
echo GET_URL . "\141\x73\x73\x65\x74\x73\57\x69\x6e\x73\164\141\154\154\x2e\x63\x73\x73\x3f\x76\x3d" . time();
goto ROSul;
ZUyov:
echo "\x22\x3e\74\x2f\163\x63\162\151\160\x74\76\xa\x3c\x2f\x62\157\x64\171\76\xa\74\57\150\164\x6d\154\76";