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
prepare("SELECT * FROM dramas WHERE id = ?");
$stmt->execute([$drama_id]);
$drama = $stmt->fetch();
if (!$drama) { header("Location: dashboard.php"); exit(); }
// 2. Fetch all episodes for this drama along with the member's specific watch time
$ep_sql = "SELECT e.*, r.watch_time_seconds
FROM episodes e
LEFT JOIN ratings r ON e.id = r.episode_id AND r.user_id = ?
WHERE e.drama_id = ?
ORDER BY e.ep_number ASC";
$ep_stmt = $pdo->prepare($ep_sql);
$ep_stmt->execute([$user_id, $drama_id]);
$episodes = $ep_stmt->fetchAll();
include '../includes/header.php';
?>
= htmlspecialchars($drama['title']) ?>
Episode Directory
Watch all episodes before submitting your final 100.00 score on the dashboard.