| 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/rzaimka.ru/wp-content/plugins/maxbuttons/ |
Upload File : |
<?php
/*
Plugin Name: MaxButtons
Plugin URI: http://maxbuttons.com
Description: The best WordPress button generator. This is the free version; the Pro version <a href="http://maxbuttons.com/?ref=mbfree">can be found here</a>.
Version: 9.8.0
Author: Max Foundry
Author URI: http://maxfoundry.com
Text Domain: maxbuttons
Domain Path: /languages
Copyright 2023 Max Foundry, LLC (http://maxfoundry.com)
*/
namespace MaxButtons;
if (! defined('MAXBUTTONS_ROOT_FILE'))
define("MAXBUTTONS_ROOT_FILE", __FILE__);
if (! defined('MAXBUTTONS_VERSION_NUM'))
define('MAXBUTTONS_VERSION_NUM', '9.8.0');
define('MAXBUTTONS_RELEASE',"23 August 2024");
if (! function_exists('MaxButtons\maxbutton_double_load'))
{
function maxbutton_double_load()
{
$message = __("Already found an instance of MaxButtons running. Please check if you are trying to activate two MaxButtons plugins and deactivate one. ","maxbuttons" );
echo "<div class='error'><h4>$message</h4></div>";
return;
}
}
if (function_exists("MaxButtons\MB"))
{
add_action('admin_notices', 'MaxButtons\maxbutton_double_load');
return;
}
if (! function_exists('MaxButtons\maxbuttons_php56_nono'))
{
function maxbuttons_php56_nono()
{
$message = sprintf( __("MaxButtons requires at least PHP 7 . You are running version: %s ","maxbuttons"), PHP_VERSION);
echo"<div class='error'> <h4>$message</h4></div>";
return;
}
}
if ( version_compare(PHP_VERSION, '7', '<' ) ) {
add_action( 'admin_notices', 'MaxButtons\maxbuttons_php56_nono' );
return;
}
// In case of development, copy this to wp-config.php
// define("MAXBUTTONS_DEBUG", true);
// define("MAXBUTTONS_BENCHMARK",true);
require_once( trailingslashit(dirname(MAXBUTTONS_ROOT_FILE)) . "classes/maxbuttons-class.php");
// runtime.
if (! function_exists("MaxButtons\MB")) {
function MB()
{
return maxButtonsPlugin::getInstance();
}
}
$maxbuttons = new maxButtonsPlugin();
do_action('maxbuttons/plugin/init' , $maxbuttons);
// Activation / deactivation
register_activation_hook(__FILE__, array(maxUtils::namespaceit("maxInstall"),'activation_hook') );
register_deactivation_hook(__FILE__,array(maxUtils::namespaceit("maxInstall"), 'deactivation_hook') );