| Server IP : 138.197.162.186 / Your IP : 216.73.216.195 Web Server : nginx/1.24.0 System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/self/cwd/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
/**
* File: Extension_ImageService_Widget_View.php
*
* @package W3TC
*
* @since 2.7.0
*/
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
$config = Dispatcher::config();
if ( $config->is_extension_active( 'imageservice' ) ) {
?>
<div id="w3tc-webp-widget-stats-container">
<h3 class="w3tc-webp-widget-stats-title"><?php esc_html_e( 'Status', 'w3-total-cache' ); ?></h3>
<div id="counts_chart"></div>
<h3 class="w3tc-webp-widget-stats-title"><?php esc_html_e( 'API Use Limits', 'w3-total-cache' ); ?></h3>
<div id="api_charts"></div>
<?php if ( ! Util_Environment::is_w3tc_pro( $config ) ) : ?>
<div class="notice notice-info" style="margin: 0;">
<p><?php esc_html_e( 'Need higher API limits? Upgrade to Pro for significantly higher hourly limits and no monthly cap!', 'w3-total-cache' ); ?></p>
<p><input type="button" class="button-primary button-buy-plugin" data-src="account_widget" value="<?php esc_attr_e( 'Learn more about Pro', 'w3-total-cache' ); ?>" /></p>
</div>
<?php endif ?>
</div>
<?php
} else {
?>
<div id="w3tc-webp-widget-stats-container" class="w3tc-webp-widget-stats-inactive">
<?php
echo wp_kses(
Util_Ui::button_link(
__( 'Enable Image Converter', 'w3-total-cache' ),
Util_Ui::admin_url( 'admin.php?page=w3tc_general&w3tc_message=65b942a33d66c#image_service' ),
false,
'button-primary'
),
array(
'input' => array(
'type' => array(),
'name' => array(),
'class' => array(),
'value' => array(),
'onclick' => array(),
'data-src' => array(),
),
)
);
?>
</div>
<?php
}