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) { die("Teledrama not found."); } // 2. Fetch Episodes with Total Watch Time accumulated from all members $ep_sql = "SELECT e.*, SUM(r.watch_time_seconds) as total_watch_seconds, COUNT(DISTINCT r.user_id) as member_count FROM episodes e LEFT JOIN ratings r ON e.id = r.episode_id WHERE e.drama_id = ? GROUP BY e.id ORDER BY e.ep_number ASC"; $ep_stmt = $pdo->prepare($ep_sql); $ep_stmt->execute([$drama_id]); $episodes = $ep_stmt->fetchAll(); include '../includes/header.php'; ?>

Episode Watch-Time Audit

View Final 100pt Ratings
Episode
Viewers
Total Committee Time m s
Individual Logs:
prepare("SELECT r.watch_time_seconds, u.full_name FROM ratings r JOIN users u ON r.user_id = u.id WHERE r.episode_id = ? AND r.watch_time_seconds > 0 ORDER BY r.watch_time_seconds DESC"); $rat_stmt->execute([$ep['id']]); $logs = $rat_stmt->fetchAll(); foreach ($logs as $l): ?>
m s
No watch time recorded yet.