HEX
Server: Apache
System: Linux vps-1289444.devslamantis.cl 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
User: vspt (1013)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/vspt/public_html/vinamar.vsptdigital.cl/wp-content/plugins/winwheel4wp/templates/settings.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
<div class="wrap winwheel4wp_settings">
	<h1>Win Wheel For Wordpress</h1>

	<div class="winwheel4wp_settings_section">
		<p>Version <?php echo $this->get_version(); ?> ( <a href="https://codecanyon.net/user/superduper-plugins/">Support</a> )</p>
		<a href="?page=winwheel4wp_settings&add_new_wheel=1" class="button button-primary">Add New Wheel</a><br><br>
		<div class="winwheel4wp_table_overflow_fix">
		<table class="winwheel4wp_settings_wheel_overview winwheel4wp_settings_all_wheels">
			<tr>
				<th></th>
				<th>Name</th>
				<th>Total wheel<br>spins</th>
				<th>Total E-mails<br>collected</th>
				<th></th>
			</tr>
			<?php foreach($wheels as $wheel) { ?>
			<?php
			$shortcode = sprintf('[winwheel4wp_wheel id="%s"][winwheel4wp_form id="%s"]',$wheel['wheel_id'],$wheel['wheel_id']);
			?>
			<tr>
				<?php if($wheel['is_live']) { ?>
				<td><div class="winwheel4wp_status_live"></div></td>
				<?php } else { ?>
				<td><div class="winwheel4wp_status_paused"></div></td>
				<?php } ?>
				<td><?php echo esc_html( $wheel['wheel_name'] ) ?></td>
				<td><?php echo $wheel['total_wheel_spins']?></td>
				<td><?php echo $wheel['total_emails_collected']?></td>
				<td class="winwheel4wp_buttons_cell">
				<a href="?page=winwheel4wp_settings&edit_wheel=<?php echo $wheel['wheel_id']?>" class="button"><span class="dashicons dashicons-admin-tools"></span>Settings</a>
				<a href="admin-ajax.php?action=winwheel4wp_download_log&wheel_id=<?php echo $wheel['wheel_id']?>" class="button"><span class="dashicons dashicons-welcome-write-blog"></span>Spin Log</a>
				<a href="?page=winwheel4wp_settings&download_log&wheel_id=<?php echo $wheel['wheel_id']?>" class="button"><span class="dashicons dashicons-download"></span>Download Log</a>
				<a href="admin-ajax.php?action=winwheel4wp_download_emails&wheel_id=<?php echo $wheel['wheel_id']?>" class="button"><span class="dashicons dashicons-email-alt"></span>E-mails</a>
				<a href="?page=winwheel4wp_settings&generate_shortcode=<?php echo $wheel['wheel_id']?>" class="button"><span class="dashicons dashicons-editor-code"></span>Shortcode</a>
				<a href="?page=winwheel4wp_settings&reset_wheel=<?php echo $wheel['wheel_id']?>" class="button"><span class="dashicons dashicons-image-rotate"></span>Reset</a>
				<a href="?page=winwheel4wp_settings&delete_wheel=<?php echo $wheel['wheel_id']?>" class="button"><span class="dashicons dashicons-trash"></span>Delete</a>
				</td>
			</tr>
			<?php } ?>
		</table>
		</div>
	</div>
</div>