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