| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.3/wp-content/plugins/wp-statistics/views/pages/ |
Upload File : |
<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly
use WP_Statistics\Components\View;
use WP_Statistics\Service\Admin\LicenseManagement\LicenseHelper;
use WP_Statistics\Service\Admin\LicenseManagement\Plugin\PluginHandler;
$pluginHandler = new PluginHandler();
$hasLicense = LicenseHelper::isPluginLicenseValid($addon_slug) ? true : false;
$isActive = $pluginHandler->isPluginActive($addon_slug);
$isInstalled = $pluginHandler->isPluginInstalled($addon_slug);
?>
<div class="wps-wrap__main wps-lock-page__main">
<div class="wps-lock-page wps-lock-page--container">
<?php
if (!$hasLicense && $isInstalled) :
View::load("components/lock-sections/notice-inactive-license-addon");
endif;
?>
<?php if ($hasLicense && !$isActive) : ?>
<div class="wps-premium-feature wps-premium-feature--premium-user">
<?php
View::load("components/lock-sections/setting-active-licensed-addon", ['addon_title' => $addon_name]);
?>
</div>
<?php endif ?>
<div class="wps-lock-page__head">
<?php echo esc_html($page_title); ?>
</div>
<div class="wps-lock-page__description">
<?php echo esc_html($description); ?>
</div>
<?php if (!empty($page_second_title) || !empty($second_description)): ?>
<div class="wps-lock-page__head wps-lock-page__head--second">
<?php if (!empty($page_second_title)) echo esc_html($page_second_title); ?>
</div>
<div class="wps-lock-page__description">
<?php if (!empty($second_description)) echo esc_html($second_description); ?>
</div>
<?php endif; ?>
<?php if (!$hasLicense && !$isActive) : ?>
<div class="wps-lock-page__actions">
<a target="_blank" class="wps-lock-page__action wps-lock-page__action--premium" href="<?php echo esc_url(WP_STATISTICS_SITE_URL . '/pricing/?utm_source=wp-statistics&utm_medium=link&utm_campaign=' . esc_html($campaign)) ?>">
<?php echo esc_html($premium_btn_title); ?>
</a>
<a data-target="<?php echo esc_attr($addon_slug) ?>" class="wps-lock-page__action wps-lock-page__action--learn-more js-wps-openPremiumModal"><?php echo esc_html($more_title) ?></a>
</div>
<?php endif; ?>
<div class="wps-lock-page__slider">
<div class="wps-slider">
<?php foreach ($images as $image) : ?>
<div class="wps-slider__slide">
<img src="<?php echo esc_url(WP_STATISTICS_URL . 'assets/images/locked/' . $image); ?>" alt="<?php echo esc_attr($addon_slug); ?> Image">
</div>
<?php endforeach; ?>
</div>
<div class="wps-slider__dots"></div> <!-- Dots container -->
</div>
</div>