HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/plugins/w3-total-cache/UsageStatistics_Widget_View_Disabled.php
<?php
namespace W3TC;

if ( !defined( 'W3TC' ) )
	die();
?>
<style>

.w3tcuw_inactive {
	height: 242px;
	background: url("<?php echo esc_url(plugins_url( 'pub/img/usage-statistics-widget.png', W3TC_FILE ) ) ?>");
	background-repeat: no-repeat;
	background-size: cover;
}

.w3tcuw_inactive input, .w3tcuw_inactive a {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.w3tcuw_inactive input, .w3tcuw_inactive span {
	background: #fff;
}

</style>
<p class="w3tcuw_inactive">
	<?php if ( !Util_Environment::is_w3tc_pro( Dispatcher::config() ) ): ?>
		<input type="button"
			class="button-primary button-buy-plugin {nonce: '<?php echo wp_create_nonce( 'w3tc' ) ?>'}"  data-src="usagestatistics_widget" value="<?php _e( 'Upgrade to Pro', 'w3-total-cache' ) ?>" />
	<?php else: ?>
		<a href="admin.php?page=w3tc_general#stats" class="button-primary">Enable</a>
	<?php endif ?>
</p>