echo MatukioHelperUtilsBooking::getSpacerField(); echo "<table class=\"mat_table table\">\n"; } elseif ($field->type == 'spacertext') { // We don't show it on page 3 } else { echo '<tr>'; echo '<td class="key" width="150px">'; echo '<label for="' . $field->field_name . '" width="100" title="' . JText::_($field->label) . '">'; echo JText::_($field->label); if ($field->required == 1) { echo " <span class=\"mat_req\">*</span>"; } echo '</label>'; echo '</td>'; echo '<td>'; echo MatukioHelperUtilsBooking::getConfirmationfields($field->field_name); echo '</td>'; echo '</tr>'; } } // Fields on Page 3 if (!empty($this->fields_p3)) { ?> <table class="mat_table table" border="0" cellpadding="8" cellspacing="8"> <?php foreach ($this->fields_p3 as $field) { // Prints the field in the table <tr><td>label</td><td>field</td> MatukioHelperUtilsBooking::printFieldElement($field); } ?> </table>