Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
query("SELECT * FROM live_top_ads ORDER BY RAND() LIMIT 1")->fetch(PDO::FETCH_ASSOC); $side_ads = $conn->query("SELECT * FROM live_side_ads ORDER BY RAND() LIMIT 2")->fetchAll(PDO::FETCH_ASSOC); } catch (Exception $e) { $error_message = "Failed to connect to the database: " . $e->getMessage(); } // ========================================== // 1. STREAM MAINTENANCE CONFIGURATION // ========================================== date_default_timezone_set("Asia/Colombo"); // 1. SET RESUME TIME // The stream will be "Offline" until this time. $resume_time_string = "2026-01-01 02:00:00"; // 2. SET THE OFFLINE IMAGE // This image shows when the stream is paused. $offline_image_url = "/Uploads/thumbnail_1000020307.jpg"; // 3. SET THE REDIRECT PAGE // When clicked, the user goes here. $offline_redirect_link = "/pages/rideerayak.php"; // LOGIC: Check if we are currently offline $current_timestamp = time(); $resume_timestamp = strtotime($resume_time_string); $is_offline = ($current_timestamp < $resume_timestamp); // ========================================== ?> Live TV Player