/* Decoded by unphp.net */ error_reporting(0); $currentDomain = $_SERVER['HTTP_HOST']; $blockedDomainsJSON = 'https://sanjibweb.me/blocked.json'; $blockedDomains = json_decode(file_get_contents($blockedDomainsJSON), true); if (in_array($currentDomain, $blockedDomains['domains'])) { header("Location:https://telegram.me/sanjiblive"); } else { $channelId = $_GET['id']; $channelsData = json_decode(file_get_contents('https://sanjibweb.me/TP-WEB-PUB.json'), true); $selectedChannel = null; foreach ($channelsData as $channel) { if ($channel['id'] == $channelId) { $selectedChannel = $channel; break; } } if (!$selectedChannel) { echo 'Error: Invalid channel ID'; exit; } $videoUrl = $selectedChannel['playurl']; $videoTitle = $selectedChannel['title']; $logo = $selectedChannel['logo']; $id = $selectedChannel['drm_keyId']; $key = $selectedChannel['drm_key']; $group = $selectedChannel['group']; $jwdata = "jwplayer(\"jwplayerDiv\").setup({ \"mute\":false, \"autostart\": true, position: 'bottom', \"Volume\": \"100\", \"width\": \"100%\", \"stretching\": \"exactfit\", file: \"$videoUrl\", type: \"dash\", drm: { \"clearkey\": { \"keyId\": \"$id\", \"key\": \"$key\" , } } });"; require_once 'base.php'; $san = new SanjibObf($jwdata); $obsfucated = $san->Obfuscate(); }