25 lines
809 B
PHP
25 lines
809 B
PHP
<div class='page-box-center'>
|
|
<h2>Links and Numbers</h2>
|
|
<p>Below are links to other websites and other important information.</p>
|
|
<ul class='linksandnumbers-list'>
|
|
<li>
|
|
<a href="passportinfo.php">Your passport and birthdate information</a>
|
|
</li>
|
|
<?php foreach($this->data['items'] as $item): ?>
|
|
<li>
|
|
<?php if((string)$item->type == 'page'): ?>
|
|
<a href="linksandnumbers.php?id=<?php echo $item['id'] ?>">
|
|
<?php echo $item->title ?>
|
|
</a>
|
|
<?php elseif((string)$item->type == 'external_link'): ?>
|
|
<a href="<?php echo $item->text ?>">
|
|
<?php echo $item->title ?>
|
|
</a>
|
|
<?php endif; ?>
|
|
<?php if((string)$item->subtitle !== ''): ?>
|
|
<em>- <?php echo $item->subtitle ?></em>
|
|
<?php endif; ?>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|