HEX
Server: Apache/2
System: Linux server-80-13-140-150.da.direct 5.14.0-362.24.1.el9_3.0.1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 4 22:31:43 UTC 2024 x86_64
User: cpt (1004)
PHP: 8.1.24
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/cpt/public_html/wp-content/plugins/events-manager/templates/forms/bookingform/button.php
<?php
/* @var $EM_Event EM_Event */
/* @var $EM_Booking EM_Booking */

do_action('em_booking_form_before_buttons', $EM_Event); //do not delete
?>
<div class="em-booking-section em-booking-form-buttons em-booking-buttons">
	<?php do_action('em_booking_form_buttons_header', $EM_Event); //do not delete ?>
	<?php if( preg_match('/https?:\/\//',get_option('dbem_bookings_submit_button')) ): //Settings have an image url (we assume). Use it here as the button.?>
		<input type="image" src="<?php echo get_option('dbem_bookings_submit_button'); ?>" class="em-form-submit em-booking-submit" alt="<?php esc_html__('Booking Submit Button', 'events-manager'); ?>">
	<?php else: //Display normal submit button ?>
		<?php
		// show free or paid button by default
		$button_text = $EM_Booking && $EM_Booking->get_price_base() > 0 ?  str_replace('%s', $EM_Booking->get_price(true), get_option('dbem_bookings_submit_button_paid')) : get_option('dbem_bookings_submit_button');
		?>
		<input type="submit" class="em-form-submit em-booking-submit em-button em-button-1" value="<?php echo esc_attr($button_text); ?>"
		       data-text-free="<?php echo esc_attr(get_option('dbem_bookings_submit_button')); ?>"
		       data-text-payment="<?php echo esc_attr(get_option('dbem_bookings_submit_button_paid')); ?>"
		       data-text-processing="<?php echo esc_attr(get_option('dbem_bookings_submit_button_processing')); ?>">
	<?php endif; ?>
	<?php do_action('em_booking_form_buttons_footer', $EM_Event); //do not delete ?>
</div>
<?php
do_action('em_booking_form_footer_after_buttons', $EM_Event); //do not delete