| Server IP : 130.225.57.55 / Your IP : 216.73.216.60 Web Server : Apache System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /srv/www/reco2st.eu/https/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
/**
* File: Extension_ImageService_Widget_View.php
*
* @package W3TC
*
* @since 2.7.0
*/
namespace W3TC;
defined( 'ABSPATH' ) || exit;
if ( ! defined( 'W3TC' ) ) {
die();
}
$w3tc_config = Dispatcher::config();
if ( $w3tc_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( $w3tc_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
}