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 media_library ORDER BY reference_no ASC, uploaded_at DESC"); $assets = $stmt->fetchAll(); $grouped = []; foreach ($assets as $a) { $name = $a['schedule_name']; if (!isset($grouped[$name])) { $grouped[$name] = [ 'refs' => [], 'media' => [], 'docs' => [], 'metadata' => $a // Keep a reference to one row to extract header metadata ]; } // Store unique reference numbers for the table badge if (!in_array($a['reference_no'], $grouped[$name]['refs'])) { $grouped[$name]['refs'][] = $a['reference_no']; } // Collect files if ($a['file_type'] === 'media') { $grouped[$name]['media'][] = $a; } else { $grouped[$name]['docs'][] = $a; } } ?>

Schedule Assets Overview

$row): ?>
Schedule Name Media Supporting Docs
)'>