<?php

defined('_WPBOOKINGPRO_EXEC') or die;
extract($displayData);


WpBookingPro_HtmlFrontend::_('jquery.framework');
WpBookingPro_HtmlFrontend::_('script', 'system/html5fallback.js',
	array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9'));
$maxSize = WpBookingPro_HtmlFrontend::_('number.bytes', WoobookingUtility::getMaxUploadSize());
?>
<input type="file" id="<?php esc_html_e($id); ?>"
       name="<?php esc_html_e($name); ?>"
	<?php echo !empty($size) ? ' size="' . $size . '"' : ''; ?>
	<?php echo !empty($accept) ? ' accept="' . $accept . '"' : ''; ?>
	<?php echo !empty($class) ? ' class="' . $class . '"' : ''; ?>
	<?php echo !empty($multiple) ? ' multiple' : ''; ?>
	<?php echo($disabled ? ' disabled' : ''); ?>
	<?php echo($autofocus ? ' autofocus' : ''); ?>
	<?php echo !empty($onchange) ? ' onchange="' . $onchange . '"' : ''; ?>
	<?php echo($required ? ' required aria-required="true"' : ''); ?> /><br>
<?php echo(WoobookingText::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', $maxSize)); ?>
