| Server IP : 89.108.64.180 / Your IP : 216.73.217.92 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/hotelzm.com/wp-content/plugins/smart-slider-3/Nextend/WordPress/ |
Upload File : |
<?php
if (!function_exists('smartslider3_admin_menu')) {
if (!defined('NEXTEND_SMARTSLIDER_3_URL_PATH')) {
define('NEXTEND_SMARTSLIDER_3_URL_PATH', 'smart-slider3');
}
add_action('admin_menu', 'smartslider3_admin_menu');
function smartslider3_admin_menu() {
add_menu_page('Smart Slider', 'Smart Slider', 'smartslider', NEXTEND_SMARTSLIDER_3_URL_PATH, 'smartslider3_admin_error', 'dashicons-format-gallery');
}
function smartslider3_admin_error() {
}
if (isset($_GET['page']) && $_GET['page'] == NEXTEND_SMARTSLIDER_3_URL_PATH) {
if (!version_compare(PHP_VERSION, '7.0', '>=')) {
@wp_die(sprintf('<div class="error"><p>%s</p></div>', sprintf('Smart Slider 3 requires PHP version 7.0+, plugin is currently NOT RUNNING. Current PHP version: %1$s. %2$s%2$s Consult your host about %3$s upgrading your PHP version%4$s.', PHP_VERSION, '<br>', '<a href="https://wordpress.org/support/update-php/" target="_blank">', '</a>')));
} else if (!version_compare(get_bloginfo('version'), '5.0', '>=')) {
@wp_die(sprintf('<div class="error"><p>%s</p></div>', 'Smart Slider 3 requires WordPress version 5.0+. Because you are using an earlier version, the plugin is currently NOT RUNNING.'));
} else if (!defined('NONCE_SALT')) {
@wp_die(sprintf('<div class="error"><p>%1$s %2$s</p></div>', 'NONCE_SALT constant is missing from the wp-config.php file.', sprintf('%1$sMake sure it is defined.%2$s', '<a href="https://smartslider.helpscoutdocs.com/article/2014-use-of-undefined-constant-noncesalt" target="_blank">', '</a>')));
}
}
}
if (!function_exists('smartslider3_fail_php_version')) {
function smartslider3_fail_php_version() {
$html_message = sprintf('<div class="error"><p>%s</p></div>', sprintf('Smart Slider 3 requires PHP version 7.0+, plugin is currently NOT RUNNING. Current PHP version: %1$s. %2$s%2$s Consult your host about %3$s upgrading your PHP version%4$s.', PHP_VERSION, '<br>', '<a href="https://wordpress.org/support/update-php/" target="_blank">', '</a>'));
echo wp_kses_post($html_message);
}
}
if (!function_exists('smartslider3_fail_wp_version')) {
function smartslider3_fail_wp_version() {
$html_message = sprintf('<div class="error"><p>%s</p></div>', 'Smart Slider 3 requires WordPress version 5.0+. Because you are using an earlier version, the plugin is currently NOT RUNNING.');
echo wp_kses_post($html_message);
}
}
if (!function_exists('smartslider3_fail_nonce_salt')) {
function smartslider3_fail_nonce_salt() {
$html_message = sprintf('<div class="error"><p>%1$s %2$s</p></div>', 'NONCE_SALT constant is missing from the wp-config.php file.', sprintf('%1$sMake sure it is defined.%2$s', '<a href="https://smartslider.helpscoutdocs.com/article/2014-use-of-undefined-constant-noncesalt" target="_blank">', '</a>'));
echo wp_kses_post($html_message);
}
}