/* Decoded by unphp.net */ setCriteria("host_id", '', "=", "OR"); goto qqqgMwhC8h1ZTuw; dedFuweGhOWgyRl: FU7pLnXQwZRORtr: goto rYCqhsfbVwVefQJ; qYyXZBySJSjk075: if ($isImage) { goto xWz9ai62by2xT26; } goto HVXTlPC6u6AcGSN; kDBeBD3IkuIVbYZ: $handle = @opendir($subtitlesDir); goto wNHn0eRx8VgVlnL; V0t26bwP6OUongU: $vAlt = new \GDPlayer\Model\VideosAlternatives(); goto dfI7po1IbQkmyq1; xqE5h47GQftLv5E: $fileType = get_mime_type($subFile); goto losd_kot2ZY024W; qfv6d0V2N_mTpdq: foreach ($list as $dt) { goto h78sgQZJ6JbiO_s; oaqeyaIXDvLCJsd: $sub->setCriteria("id", $dt["id"]); goto NUXfHl5Y33pkQCr; P8GLJBdY1cZi2SW: $sub->delete(); goto DUUeEF9FuoiGyXq; XhcJf38EVjpiPV_: YIlfNrIkHsxmBmp: goto bSIWMW13k_fJWbB; FxZ4t18M6clMyhU: $link = decode($dt["link"]); goto CssSHUBc294TJCc; bSIWMW13k_fJWbB: session_write_close(); goto oaqeyaIXDvLCJsd; AB2K0a9sgEy0HlJ: FsQHQv2rxXM6Una: goto CIzzlY9gkDIHDG2; h78sgQZJ6JbiO_s: session_write_close(); goto rTEkweMaGWFSd7j; o39BvoxfOnjgf0X: session_write_close(); goto TPV_ppJlsMGG_Jp; CIzzlY9gkDIHDG2: QjvmvhOqyTr1m7H: goto rJBamQS98GTDfDY; e53amyGAcdv0BCW: session_write_close(); goto FxZ4t18M6clMyhU; TPV_ppJlsMGG_Jp: $sub->setCriteria("id", $dt["id"]); goto P8GLJBdY1cZi2SW; NUXfHl5Y33pkQCr: $sub->update(["link" => $link, "updated" => time()]); goto qZAEDtwZ0OHB2VK; rTEkweMaGWFSd7j: if (validate_url($dt["link"])) { goto FsQHQv2rxXM6Una; } goto e53amyGAcdv0BCW; DUUeEF9FuoiGyXq: goto ggtS7qu9seohLwR; goto XhcJf38EVjpiPV_; qZAEDtwZ0OHB2VK: ggtS7qu9seohLwR: goto AB2K0a9sgEy0HlJ; CssSHUBc294TJCc: if (validate_url($link)) { goto YIlfNrIkHsxmBmp; } goto o39BvoxfOnjgf0X; rJBamQS98GTDfDY: } goto PCTQlETiSlDOBdg; yG9KBf0jMMPNwNy: $vAlt->delete(); goto LUDnXW_o3TEDc8Q; rImq7leqw0ETSJE: $imagesDir = replaceSeparator(BASE_DIR . "uploads/images"); goto Yx8agKY_hDQXKQ1; VCCiouoDWwu3NLz: $bgDetail = @json_decode(get_option($bgKey . "_detail"), true); goto uXsfaygvKKALUHf; YQ04w8bZ3hdu3GR: if (!$allowBackground || isRunning($bgPID)) { goto pvQGFgR2C2ybPsM; } goto jMcxBEpb9CxVSET; lNnOAOqTM7jvw1B: if (!is_dir($subtitlesDir)) { goto uVTa1s0iill2WPA; } goto jV42tEC9ClEbKqg; gE_6GObr35Afbpa: if ($subMan->getNumRows() > 0) { goto rvGKjFK28pvS06Z; } goto bxiuP2ezUbRpmqt; DN3i3KXHkYln5YY: $videos->setCriteria("host", ''); goto SAOK22R7M71b9yV; LhHok16JT8nntY1: $lb->setCriteria("status", 1); goto dDq7I_Lsr_1kT0V; USliq5DwCl8PpJ2: $subMan->setCriteria("file_name", $fname); goto CLGrerajMO0yhCA; ukhkG9FaGffYiDC: goto PUuT_ZVLeH1JF11; goto spTwpkd5zQRfC58; wNHn0eRx8VgVlnL: if (!$handle) { goto ihUbwlxbw6XPimC; } goto rj3waKQf5ouKAAV; bxiuP2ezUbRpmqt: session_write_close(); goto lJ2jFwSqAcH4Ecy; HVXTlPC6u6AcGSN: session_write_close(); goto Nl1jeWgXKQEtRfa; V31Jbuo9_IapdnO: if (!$list) { goto fq7lCi1MhZytCAZ; } goto RWdyxcU3F9bxe09; CLGrerajMO0yhCA: $subMan->update(array("file_type" => $fileType, "updated" => $time)); goto qfgzWC84PQ4Kr01; nexL0NwrlCtYbSi: if (!(($fname = readdir($handle)) !== false)) { goto AzcK5ekk2PNpBv3; } goto vpHadTLjkXrRnf5; I1fWS5QXHbtAP2p: create_htaccess(BASE_DIR . "vendor"); goto p0V3CxwZx9Fxvcy; LzSdFXPvOJiathD: goto FU7pLnXQwZRORtr; goto OcAZ5rsA7u6NMVh; SFc43qU9Kq0o9rQ: $chrome->getUserAgent(); goto VqXrXFjfb_7fjlC; jMcxBEpb9CxVSET: session_write_close(); goto G9H1WuO3WYn83LL; G9H1WuO3WYn83LL: $currentPID = getmypid(); goto LEpAG2MDCnu0hAV; EULAax5Pq4Syy7w: curl_close($ch); goto Jmcf_2epVuYWIR8; MYkWLQXOt3VGFbL: session_write_close(); goto USliq5DwCl8PpJ2; vpHadTLjkXrRnf5: session_write_close(); goto mQK3DhcRX0KTPk9; KREBD8SIwMTi89T: closedir($handle); goto r23h1VB_E2KjW5i; fwxH3NLG3dyiMV9: create_htaccess(BASE_DIR . "tmp"); goto LhHok16JT8nntY1; Xx95C9HzY0PPB3r: g3V0B7XaBMgXPD4: goto YgJ9uCsqbHoCYKH; ra7rDONqdn47grP: $lb->setCriteria("status", 1); goto u4haStwWskJMFQb; o6kxa6im9Pdn9ch: VJb0UzE8V8PC42o: goto LzSdFXPvOJiathD; iH08uUIRlCoJugU: gKNTJGoCc5Aql_u: goto oR2vO9FZTINTo5b; vHdsN6JkLocyHzG: set_option($bgKey . "_detail", $lbData); goto lfneLkFZFhTyNC2; ZdN9OFEObz__0D3: $helper = new \GDPlayer\Helper(); goto Gh1qCBoWe5Slwt8; Gh1qCBoWe5Slwt8: $proxy = new \GDPlayer\Proxy(); goto JxViHGn5skmVP6d; MzbMycxQUowj9oq: if (!(in_array($ext, $allowExt) && strpos($fileType, "text/") !== false)) { goto gKNTJGoCc5Aql_u; } goto nHOOTd_AOjEErrf; OClNCRypizVyAwM: closedir($handle); goto Xx95C9HzY0PPB3r; u4haStwWskJMFQb: $list = $lb->get(["link"]); goto RWiWzF8mdpoZgCP; H8QFsDBJCNUgETx: updateMaxMindGeoIP(); goto WyHe3YzuMSQzJwG; oR2vO9FZTINTo5b: SCCDnWOL8t1ByOz: goto XuCx66jywXUUv_t; FuXlFJ4d51RR8MF: set_option($bgKey, $currentPID); goto vHdsN6JkLocyHzG; lJ2jFwSqAcH4Ecy: $data = array("file_name" => $fname, "file_size" => filesize($subFile), "file_type" => $fileType, "language" => '', "added" => $time, "uid" => 1, "host" => $mainSite, "updated" => $time); goto gSsyQIykzG0kOzK; m0hMd9PPK2MYQan: deleteDir(BASE_DIR . "cache/js"); goto I6fdIEnpIKKRxgq; y0VzzOMcQwxKBNw: BgwzQP2KPimY4Om: goto ukhkG9FaGffYiDC; gSsyQIykzG0kOzK: $subMan->insert($data); goto tJPZyBc0GvEwqTf; VqXrXFjfb_7fjlC: $iCache->save("check headless chrome background", 3600, "options"); goto qFdmF3vBsz2QIb2; rj3waKQf5ouKAAV: session_write_close(); goto XPxzAC80z43CXqu; XPxzAC80z43CXqu: UNvNwyg2QXWTcJN: goto nexL0NwrlCtYbSi; hw486R6zGi7lShZ: fq7lCi1MhZytCAZ: goto o6kxa6im9Pdn9ch; lx5dHBtpDBcBXoy: set_option("SECURE_SALT", SECURE_SALT); goto m0hMd9PPK2MYQan; koP_IP77O116fda: open_resources_handler(); goto W1ebttfvRreKDXY; EB1XW3flBTFTpPu: $bgKey = "background_process"; goto DRNTb67Jduv2qC6; C1IUHi5YdnQq269: if (!($fname !== "." && $fname !== "..")) { goto BgwzQP2KPimY4Om; } goto sABvIQDZpfVak4A; K1lUGxHvDlaeMKS: echo "Terminate"; goto bCKzhTD7Fft8GXm; RWiWzF8mdpoZgCP: if (!$list) { goto NRXVx_x4Bh6KJTB; } goto jkWjjsnIOLfLuvP; rkV3ImyQNt04Cpo: $isMain = is_mainsite(); goto GC2s8H7geJidr9A; d2AZnuhxZb8UdEB: if (!(($fname = readdir($handle)) !== false)) { goto uo5Y4PSCEGaUlrK; } goto JVIXNp82j3bcI3a; iXjF61yzW4PCB4R: $isImage = @getimagesize($imgFile); goto qYyXZBySJSjk075; zFJv3SJBQ4LGVtu: uVTa1s0iill2WPA: goto rImq7leqw0ETSJE; RWdyxcU3F9bxe09: session_write_close(); goto qfv6d0V2N_mTpdq; UzyIDRe9eDJEmDJ: $imgFile = $imagesDir . DIRECTORY_SEPARATOR . $fname; goto iXjF61yzW4PCB4R; OcAZ5rsA7u6NMVh: pvQGFgR2C2ybPsM: goto TQChtGTLUfSDOMd; UobUuFQIUGfuL_U: $cache = $iCache->get(); goto Sc46F3vqILWM3qs; jV42tEC9ClEbKqg: session_write_close(); goto UE3IEUOV3LDuDXn; WtalVHHFnCjL4NG: if (!$handle) { goto g3V0B7XaBMgXPD4; } goto uTPQ1ClSN9WJJ5E; dDq7I_Lsr_1kT0V: $active = $lb->getNumRows(); goto rkV3ImyQNt04Cpo; k4dF7TyIFEGUm9G: rvGKjFK28pvS06Z: goto MYkWLQXOt3VGFbL; qfgzWC84PQ4Kr01: WwdUkpWPA4VnUep: goto iH08uUIRlCoJugU; LEpAG2MDCnu0hAV: if (!$currentPID) { goto VJb0UzE8V8PC42o; } goto wOtyDdfoX0yeJP8; r23h1VB_E2KjW5i: ihUbwlxbw6XPimC: goto zFJv3SJBQ4LGVtu; W1ebttfvRreKDXY: $handle = @opendir($imagesDir); goto WtalVHHFnCjL4NG; JxViHGn5skmVP6d: $sub = new \GDPlayer\Model\Subtitles(); goto D7ly8Nbw2ysLF2z; B2XcGFVn7fsunky: require __DIR__ . "/includes.php"; goto D7b2210oqrhDDpL; WyHe3YzuMSQzJwG: $proxy->autoupdateProxy(); goto G2UVgabLXs2n3as; JS3ASBjLSvE7lXk: exit; goto EewCshIh8XcKACb; RFqElmfKVnsFByB: $list = $sub->get(["id", "link"]); goto V31Jbuo9_IapdnO; rYCqhsfbVwVefQJ: remove_option($bgKey); goto ZoaodZrFdJE_az8; cKqzHyJa0rQEIxX: if (php_sapi_name() !== "cli") { goto OfX_ZxVp1AF5Jat; } goto T2kttYLtywVRLaP; sABvIQDZpfVak4A: session_write_close(); goto UzyIDRe9eDJEmDJ; nYPpZS783verKN9: $sub->delete(); goto CDw5g_1x9WaB4wQ; kdbGJOCsE8WXvKQ: session_write_close(); goto SFc43qU9Kq0o9rQ; vP56yWwBcjynWi6: $iCache->setKey("check-chrome-version"); goto UobUuFQIUGfuL_U; p0V3CxwZx9Fxvcy: create_htaccess(BASE_DIR . "cache"); goto fwxH3NLG3dyiMV9; nTvZAG7q5MNyiGJ: $allowExt = ["srt", "vtt", "ass", "sub", "stl", "dfxp", "ttml", "sbv", "txt"]; goto rVLNUSHsy6dmAaM; tN1IJiwjrAExlNf: $subFile = $subtitlesDir . DIRECTORY_SEPARATOR . $fname; goto xqE5h47GQftLv5E; D7ly8Nbw2ysLF2z: $videos = new \GDPlayer\Model\Videos(); goto V0t26bwP6OUongU; CDw5g_1x9WaB4wQ: $sub->setCriteria("link", '', "<>"); goto RFqElmfKVnsFByB; D7b2210oqrhDDpL: $security = new \GDPlayer\Security(); goto tMOAA8wPNqz44YZ; UE3IEUOV3LDuDXn: $time = time(); goto nTvZAG7q5MNyiGJ; SFf_izSr46Y0Rzm: session_write_close(); goto DwhlXLO18sL7NCX; hAwuo_T0ZdDw1QY: session_write_close(); goto koP_IP77O116fda; ZoaodZrFdJE_az8: echo "Done"; goto JS3ASBjLSvE7lXk; I6fdIEnpIKKRxgq: deleteDir(BASE_DIR . "cache/opcache"); goto H8QFsDBJCNUgETx; LUDnXW_o3TEDc8Q: $sub->setCriteria("link", ''); goto nYPpZS783verKN9; lfneLkFZFhTyNC2: $iCache = new \GDPlayer\InstanceCache(); goto xrmWgBrtnjgKCRm; DwhlXLO18sL7NCX: echo "Please run this script from command line"; goto Fx0VjV1vhYl9fz0; G2UVgabLXs2n3as: newUpdate(); goto vP56yWwBcjynWi6; NMYf2acp2HlaT8w: gezI9yzXhxmheqH: goto EULAax5Pq4Syy7w; VkG5SPsZWoWERI5: $ch = $helper->getCurlDefaultConfig(curl_init()); goto Gb5ASxWGO29FGGg; uTPQ1ClSN9WJJ5E: session_write_close(); goto PyfnyKVWQzoiRGV; YgJ9uCsqbHoCYKH: w04XB0VyfKSUs01: goto j7_z926rjMmP0XI; Jmcf_2epVuYWIR8: NRXVx_x4Bh6KJTB: goto lx5dHBtpDBcBXoy; F0XpRy2kADzU630: $security->validasi(); goto DNI9kK75R3B1ZZ2; JVIXNp82j3bcI3a: session_write_close(); goto C1IUHi5YdnQq269; nHOOTd_AOjEErrf: session_write_close(); goto DmYQTColOhnkWIS; PyfnyKVWQzoiRGV: PUuT_ZVLeH1JF11: goto d2AZnuhxZb8UdEB; FWzzprXDyZOjXHO: AzcK5ekk2PNpBv3: goto KREBD8SIwMTi89T; qFdmF3vBsz2QIb2: xDMjfSjV2cBujLZ: goto SIaxM0dzYI9YQL3; T2kttYLtywVRLaP: session_write_close(); goto B2XcGFVn7fsunky; xrmWgBrtnjgKCRm: $chrome = new \GDPlayer\HeadlessChrome(); goto ZdN9OFEObz__0D3; losd_kot2ZY024W: $ext = pathinfo($subFile, PATHINFO_EXTENSION); goto MzbMycxQUowj9oq; MO7awtCoE4rcqY_: xWz9ai62by2xT26: goto y0VzzOMcQwxKBNw; wOtyDdfoX0yeJP8: session_write_close(); goto FuXlFJ4d51RR8MF; jkWjjsnIOLfLuvP: session_write_close(); goto VkG5SPsZWoWERI5; mQK3DhcRX0KTPk9: if (!($fname !== "." && $fname !== "..")) { goto SCCDnWOL8t1ByOz; } goto mCKmwYkIXQLtgw6; j7_z926rjMmP0XI: yPDdYbO_Kpne9rC: goto DN3i3KXHkYln5YY; DRNTb67Jduv2qC6: $bgPID = intval(get_option($bgKey)); goto VCCiouoDWwu3NLz; xnVIPOzSBiUMOmD: open_resources_handler(); goto kDBeBD3IkuIVbYZ; EewCshIh8XcKACb: goto tHLjeNM3qS1WIsz; goto tsSjX07J2QolVp2; GC2s8H7geJidr9A: $lbData = is_load_balancer(); goto EB1XW3flBTFTpPu; uXsfaygvKKALUHf: $allowBackground = $isMain && $active === 0 || $lbData && $active > 0; goto YQ04w8bZ3hdu3GR; Fx0VjV1vhYl9fz0: exit; goto xH3kkB6cRmXB5wZ; rVLNUSHsy6dmAaM: $mainSite = get_option("main_site"); goto xnVIPOzSBiUMOmD; mCKmwYkIXQLtgw6: session_write_close(); goto tN1IJiwjrAExlNf; Nl1jeWgXKQEtRfa: @unlink($imgFile); goto MO7awtCoE4rcqY_; Gb5ASxWGO29FGGg: foreach ($list as $link) { goto Ow7r8phnnuRTPfD; xn8WMUKRnHEb9_X: curl_setopt($ch, CURLOPT_URL, $link); goto ac5JYfEUOwRK1sT; o3XoBxaQDzu3kst: curl_setopt($ch, CURLOPT_NOBODY, true); goto woyWPeqP4jP4OAx; vplco6nfPikBgqH: $status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE); goto RQJGTp5Pf12LLwn; Ow7r8phnnuRTPfD: session_write_close(); goto xn8WMUKRnHEb9_X; PUyR1xxIaDv1KKX: $lb->setCriteria("link", $link); goto y0jfyxjVNNVgAhY; Eo00rCgFCW70hM8: createErrorLog(["load balancer checker", $status, $err]); goto PUyR1xxIaDv1KKX; y0jfyxjVNNVgAhY: $lb->update(array("status" => 0)); goto CgQOq57yVl6q3Ky; OZXBPdz7jTD8sHu: QHne0pjQrytHv84: goto A5JKakK8lZHC2DR; ErUrEsJxTmLQjZO: session_write_close(); goto Eo00rCgFCW70hM8; woyWPeqP4jP4OAx: $response = curl_exec($ch); goto vplco6nfPikBgqH; RQJGTp5Pf12LLwn: $err = curl_error($ch); goto hCEQAcVF1rGQuhx; ac5JYfEUOwRK1sT: curl_setopt($ch, CURLOPT_HEADER, true); goto o3XoBxaQDzu3kst; hCEQAcVF1rGQuhx: if (!($status < 200 || $status >= 400)) { goto R1iQkg09NmBTLsa; } goto ErUrEsJxTmLQjZO; CgQOq57yVl6q3Ky: R1iQkg09NmBTLsa: goto OZXBPdz7jTD8sHu; A5JKakK8lZHC2DR: } goto NMYf2acp2HlaT8w; TQChtGTLUfSDOMd: session_write_close(); goto K1lUGxHvDlaeMKS; CK9SqbHugrXieER: $subtitlesDir = replaceSeparator(BASE_DIR . "uploads/subtitles"); goto lNnOAOqTM7jvw1B; SIaxM0dzYI9YQL3: if (!$isMain) { goto yPDdYbO_Kpne9rC; } goto XFrPVuQrft919Sw; tMOAA8wPNqz44YZ: $lb = new \GDPlayer\Model\LoadBalancers(); goto F0XpRy2kADzU630; Sc46F3vqILWM3qs: if ($cache) { goto xDMjfSjV2cBujLZ; } goto kdbGJOCsE8WXvKQ; pglWs2JqOeVbiPv: session_write_close(); goto cKqzHyJa0rQEIxX; tJPZyBc0GvEwqTf: goto WwdUkpWPA4VnUep; goto k4dF7TyIFEGUm9G; Yx8agKY_hDQXKQ1: if (!is_dir($imagesDir)) { goto w04XB0VyfKSUs01; } goto hAwuo_T0ZdDw1QY; XuCx66jywXUUv_t: goto UNvNwyg2QXWTcJN; goto FWzzprXDyZOjXHO; qqqgMwhC8h1ZTuw: $videos->delete(); goto JKOP2NZqibwv1Xu; PCTQlETiSlDOBdg: Xe6gIFCNi5a7aLR: goto hw486R6zGi7lShZ; spTwpkd5zQRfC58: uo5Y4PSCEGaUlrK: goto OClNCRypizVyAwM; XFrPVuQrft919Sw: session_write_close(); goto CK9SqbHugrXieER; tsSjX07J2QolVp2: OfX_ZxVp1AF5Jat: goto SFf_izSr46Y0Rzm; bCKzhTD7Fft8GXm: exit; goto dedFuweGhOWgyRl; DmYQTColOhnkWIS: $subMan->setCriteria("file_name", $fname); goto gE_6GObr35Afbpa; dfI7po1IbQkmyq1: $subMan = new \GDPlayer\Model\SubtitleManager(); goto ra7rDONqdn47grP; JKOP2NZqibwv1Xu: $vAlt->setCriteria("host_id", ''); goto yG9KBf0jMMPNwNy; ViRI5A3JDMnDuwu: create_htaccess(BASE_DIR . "includes"); goto I1fWS5QXHbtAP2p; xH3kkB6cRmXB5wZ: tHLjeNM3qS1WIsz: ?>