Ejemplo n.º 1
0
        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>
		<?php 
}
?>
	</table>
	<?php 
echo "<br />";
// Captcha
if (MatukioHelperSettings::getSettings("captcha", 0)) {
    echo '<table class="mat_table table" border="0" cellpadding="8" cellspacing="8">';
    echo "<tr>";
    echo '<td class="key" width="150px">';
    echo JTEXT::_("COM_MATUKIO_CAPTCHA");
Ejemplo n.º 2
0
				<td align="left" class="key">
					<?php 
    echo JText::_('COM_MATUKIO_EMAIL');
    ?>
:
				</td>
				<td>
					<input type="text" class="sem_inputbox" id="email" name="email" value="" size="20"/>
				</td>
			</tr>
		<?php 
} else {
    $fields = MatukioHelperUtilsBooking::getBookingFields();
    foreach ($fields as $field) {
        if ($field->type != 'spacer') {
            MatukioHelperUtilsBooking::printFieldElement($field, false, -1, "small");
        }
    }
    ?>
		<?php 
}
?>
		<tr>
			<td colspan="2">
				<div align="right">
					<input type="submit" value="<?php 
echo JText::_("COM_MATUKIO_BOOK");
?>
" class="mmat_button"/>
				</div>
			</td>