CSY2028-assignment-2/templates/applicant_table.html.php

19 lines
449 B
PHP
Raw Normal View History

2023-02-05 12:07:24 +00:00
<h2>Applicants for <?=$job?></h2>
2023-01-25 14:25:37 +00:00
<table>
<thead>
<tr>
<th style="width: 10%">Name</th>
<th style="width: 10%">Email</th>
<th style="width: 65%">Details</th>
<th style="width: 15%">CV</th>
</tr>
<?php foreach ($apps as $app) { ?>
<tr>
<td><?=$app->name?></td>
<td><?=$app->email?></td>
<td><?=$app->details?></td>
<td><a href="/cvs/<?=$app->cv?>">Download CV</a></td>
</tr>
<?php } ?>
</thead>
</table>