Server : Apache System : Linux pod-100823:apache2_74:v0.5.7 5.4.0-1138-gcp #147~18.04.1-Ubuntu SMP Mon Oct 7 21:46:26 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33.7 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system Directory : /nas/content/live/attorneyexperi/wp-content/plugins/imagify/views/ |
<?php defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); $plugins = get_plugins(); if ( isset( $plugins['wp-rocket/wp-rocket.php'] ) ) { return ''; } $notice = 'wp-rocket'; $user_id = get_current_user_id(); $notices = get_user_meta( $user_id, '_imagify_ignore_ads', true ); $notices = $notices && is_array( $notices ) ? array_flip( $notices ) : array(); if ( isset( $notices[ $notice ] ) ) { return; } $discount_percent = '20%'; $dismiss_url = wp_nonce_url( admin_url( 'admin-post.php?action=imagify_dismiss_ad&ad=' . $notice ), 'imagify-dismiss-ad' ); ?> <div class="imagify-col imagify-sidebar"> <div class="imagify-sidebar-section"> <p class="imagify-sidebar-title"> <?php _e( 'We recommend for you', 'corporate' ); ?> </p> <img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>logo-wprocket.png" srcset="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>logo-wprocket.svg 1x, <?php echo IMAGIFY_ASSETS_IMG_URL; ?>logo-wprocket.svg 2x" alt="WP Rocket" width="232" height="63"> <p class="imagify-sidebar-description"> <?php /* translators: 1 is a "bold" tag opening, 2 is the "bold" tag closing. Please use a non-breaking space for WP Rocket. */ printf( __( 'WP Rocket is a %1$sspeed optimization plugin for WordPress%2$s helping you to implement a variety of speed-boosting features to your WordPress site.', 'imagify' ), '<strong>', '</strong>' ); ?> </p> <p> <a class="btn btn-rocket" href="<?php echo esc_url( imagify_get_wp_rocket_url() ); ?>" target="_blank"> <?php /* translators: %s is a percentage. */ printf( __( 'Get %s OFF Now!', 'imagify' ), $discount_percent ); ?> </a> </p> <ul> <li><?php _e( 'Improve your Google PageSpeed Score.', 'imagify' ); ?></li> <li><?php _e( 'Boost your SEO.', 'imagify' ); ?></li> <li><?php _e( 'WooCommerce compatibility.', 'imagify' ); ?></li> <li><?php _e( 'Immediate results.', 'imagify' ); ?></li> </ul> <a class="imagify-sidebar-close" href="<?php echo esc_url( $dismiss_url ); ?>"><span class="screen-reader-text"><?php _e( 'Remove the ad', 'imagify' ); ?></span><i class="dashicons dashicons-no-alt" aria-hidden="true"></i></a> </div> </div> <?php