1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<?php // registration/index.phtml ?>
<h2>Registration</h2>
<?php echo $this->form ?>
<?php // registration/verification.phtml ?>
<h2>Thank you for registering!</h2>
<p>
Here is the information you provided:
</p>
<?
foreach ($this->info as $info):
foreach ($info as $form => $data): ?>
<h4><?php echo ucfirst($form) ?>:</h4>
<dl>
<?php foreach ($data as $key => $value): ?>
<dt><?php echo ucfirst($key) ?></dt>
<?php if (is_array($value)):
foreach ($value as $label => $val): ?>
<dd><?php echo $val ?></dd>
<?php endforeach;
else: ?>
<?php endif;
</dl>
<?php endforeach;
endforeach ?> |
Partager