Files
2026-02-10 22:11:06 -05:00

46 lines
2.1 KiB
PHP

<?= $this->extend('layout/management_layout') ?>
<?= $this->section('content') ?>
<div class="container-fluid">
< class="wrapper">
<div class="content"></div>
<h1>Academic Performance</h1>
<?= $this->include('partials/academic_filter') ?>
<div class="table-responsive">
<table class="table table-bordered">
<thead></thead>
<tr>
<th>Student ID</th>
<th>Name</th>
<th>Subject</th>
<th>Grade</th>
<th>Term</th>
</tr>
</thead>
<tbody>
<?php
// Example data - in a real scenario, this will be fetched from the database
$academicPerformance = [
['student_id' => 'S001', 'name' => 'John Doe', 'subject' => 'Mathematics', 'grade' => 'A', 'term' => '2024 Q1'],
['student_id' => 'S002', 'name' => 'Jane Smith', 'subject' => 'English', 'grade' => 'B+', 'term' => '2024 Q1'],
['student_id' => 'S003', 'name' => 'Michael Johnson', 'subject' => 'Science', 'grade' => 'A-', 'term' => '2024 Q1'],
// Add more records as needed
];
foreach ($academicPerformance as $performance) {
echo "<tr>
<td>{$performance['student_id']}</td>
<td>{$performance['name']}</td>
<td>{$performance['subject']}</td>
<td>{$performance['grade']}</td>
<td>{$performance['term']}</td>
</tr>";
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?= $this->endSection() ?>