Server : Apache
System : Linux vps-1289444.devslamantis.cl 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
User : vspt ( 1013)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/vspt/public_html/tarapaca.vsptdigital.cl/wp-content/plugins/winwheel4wp/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/vspt/public_html/tarapaca.vsptdigital.cl/wp-content/plugins/winwheel4wp/templates/form.php
<?php defined( 'ABSPATH' ) or die( 'No direct access allowed' );
$wheel_html_id = $wheel_row->wheel_id; ?><!--
--><form class="winwheel4wp_form" id="winwheel4wp_form_<?php echo $wheel_html_id?>">
	<input type="hidden" value="<?php echo $wheel_row->lang_spin_again ?>" id='lang_spin_again'>
	<input type="hidden" value="<?php echo $wheel_row->wheel_id?>" name="wheel_id">
	
	<?php if($wheel_row->require_email) { ?>
	<input placeholder="<?php echo $wheel_row->lang_enter_email ?>" type="email" name="email" maxlength=50 required style="max-width: 24em"><br>
	<?php } ?>
	
	<?php if($wheel_row->require_name) { ?>
	<input placeholder="<?php echo $wheel_row->lang_enter_name ?>" type="text" name="name" maxlength=30 required style="max-width: 24em"><br>
	<?php } ?>
	
	<?php if($wheel_row->require_phone_number) { ?>
	<input placeholder="<?php echo $wheel_row->lang_enter_phone_number ?>" type="text" name="phone_number" maxlength=30 required style="max-width: 24em"><br>
	<?php } ?>
	
	<?php if($wheel_row->require_captcha) { ?>
	<div class="winwheel4wp_recaptcha"><div class="g-recaptcha" data-sitekey="<?php echo get_option('winwheel4wp_recaptcha_site_key')?>"></div></div>
	<?php } ?>
	<div class="winwheel4wp_wheel_run_err_msg" id="winwheel4wp_wheel_run_err_msg_<?php echo $wheel_html_id?>"></div>
	<button disabled id="winwheel4wp_wheel_run_btn_<?php echo $wheel_html_id?>" class="winwheel4wp_wheel_run_btn"><?php echo $wheel_row->lang_spin_wheel ?></button>
</form>

<script>
window.addEventListener('load',function(){
	jQuery('#winwheel4wp_wheel_run_btn_<?php echo $wheel_html_id?>').attr('disabled',false);
	jQuery('#winwheel4wp_form_<?php echo $wheel_html_id?>').on('submit',function(event){
		event.preventDefault();
		jQuery('#winwheel4wp_wheel_run_btn_<?php echo $wheel_html_id?>').attr('disabled',true);
		winwheel4wp_uniqid_<?php echo $wheel_html_id?>.wheel_run();
	});
});
</script>

F1le Man4ger