| Server IP : 172.67.201.108 / Your IP : 216.73.216.201 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/ndb/wp-content/w3-total-cache/ |
Upload File : |
<?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>