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 setting_value FROM site_settings WHERE setting_key = 'audit_deadline_hours'")->fetchColumn() ?: 24; // 2. FETCH ALL DRAMAS $stmt = $pdo->query("SELECT * FROM dramas ORDER BY created_at DESC"); $dramas = $stmt->fetchAll(); // 3. FETCH RATING HISTORY $history_sql = "SELECT pr.total_score, pr.created_at as rated_on, d.title FROM production_ratings pr JOIN dramas d ON pr.drama_id = d.id WHERE pr.user_id = ? ORDER BY pr.created_at DESC"; $h_stmt = $pdo->prepare($history_sql); $h_stmt->execute([$user_id]); $history = $h_stmt->fetchAll(); include '../includes/header.php'; ?>

Committee Dashboard

Review active Teledramas and submit your evaluations. The countdown begins only after the manager opens the evaluation window.

prepare("SELECT id FROM production_ratings WHERE user_id = ? AND drama_id = ?"); $check_stmt->execute([$user_id, $drama['id']]); $is_rated = $check_stmt->fetch(); // Logic: Calculate Deadline based ONLY on MANUAL START TIME $is_expired = true; $seconds_left = 0; $d = $h = $m = $s = 0; if ($drama['evaluation_start_at']) { $start_time_unix = strtotime($drama['evaluation_start_at']); $expiry_unix = $start_time_unix + ($deadline_hours * 3600); $seconds_left = $expiry_unix - time(); if ($seconds_left > 0) { $is_expired = false; $d = floor($seconds_left / 86400); $h = floor(($seconds_left % 86400) / 3600); $m = floor(($seconds_left % 3600) / 60); $s = $seconds_left % 60; } } ?>
EVALUATION WINDOW Awaiting Manager Trigger Submission Finalized Window Expired
DAYS
:
HRS
:
MINS
:
SECS
View Episodes Submit Rating
Production Name Score Date Submitted Status
/ 100 Finalized