Files
friendshiptours.org/site/en/admin/passports.php
2015-11-12 19:58:50 -06:00

30 lines
1009 B
PHP

<h2>Administrate FTI: Passports</h2>
<p>
Below is a list of all the passports you have on file. You can view
the full passport information, or delete the information.
</p>
<p>
Remember to delete passport information as soon as possible to reduce to
risk of information being stolen.
</p>
<div class='admin_summary_box'>
<h3>All Passport Information</h3>
<?php if(count($this->data['passports']) > 0): ?>
<table class='summary_table'>
<?php for($c = 0; $c < count($this->data['passports']); $c++): ?>
<tr>
<td class='summary_data'>
<?php echo $this->data['passports'][$c]->name ?>
</td>
<td class='summary_actions'>
<a href='/admin/passports.php?do=view&id=<?php echo $this->data['passports'][$c]['id'] ?>'>View</a>
<a href='/admin/passports.php?do=delete&id=<?php echo $this->data['passports'][$c]['id'] ?>'>Delete</a>
</td>
</tr>
<?php endfor; ?>
</table>
<?php else: ?>
<p>There are currently no passports on file.</p>
<?php endif; ?>
</div>