recreate project
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?= $this->extend('layout/management_layout') ?>
|
||||
<?= $this->section('content') ?>
|
||||
<div class="container-fluid">
|
||||
<div class="wrapper">
|
||||
<div class="content"></div>
|
||||
<h1>Scholarship Information</h1>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Scholarship ID</th>
|
||||
<th>Name</th>
|
||||
<th>Amount</th>
|
||||
<th>Eligibility Criteria</th>
|
||||
<th>Application Deadline</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
// Example data - in a real scenario, this will be fetched from the database
|
||||
$scholarships = [
|
||||
['scholarship_id' => 'S001', 'name' => 'Academic Excellence', 'amount' => '$1000', 'criteria' => 'Top 10% of class', 'deadline' => '2024-09-01'],
|
||||
['scholarship_id' => 'S002', 'name' => 'Sports Scholarship', 'amount' => '$800', 'criteria' => 'Outstanding performance in sports', 'deadline' => '2024-10-01'],
|
||||
['scholarship_id' => 'S003', 'name' => 'Need-Based Scholarship', 'amount' => '$1200', 'criteria' => 'Financial need', 'deadline' => '2024-08-15'],
|
||||
// Add more records as needed
|
||||
];
|
||||
|
||||
foreach ($scholarships as $scholarship) {
|
||||
echo "<tr>
|
||||
<td>{$scholarship['scholarship_id']}</td>
|
||||
<td>{$scholarship['name']}</td>
|
||||
<td>{$scholarship['amount']}</td>
|
||||
<td>{$scholarship['criteria']}</td>
|
||||
<td>{$scholarship['deadline']}</td>
|
||||
</tr>";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->endSection() ?>
|
||||
Reference in New Issue
Block a user