403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.217.1
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.9/wp-content/themes/dt-the7/inc/mods/bundled-content/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.9/wp-content/themes/dt-the7/inc/mods/bundled-content/brainstorm.php
<?php
/**
 * @package The7
 */

namespace The7\Mods\Bundled_Content;

defined( 'ABSPATH' ) || exit;

/**
 * Brainstorm class.
 */
class Brainstorm extends Abstract_Bundled_Plugin {

	/**
	 * @var int
	 */
	private $ultimate_addon_id = 6892199;

	/**
	 * @var int
	 */
	private $convert_plus_id = 14058953;

	/**
	 * @return void
	 */
	public function activate_plugin() {
		$this->activate_brainstorm_plugins();
	}

	/**
	 * @return void
	 */
	public function deactivate_plugin() {
	}

	/**
	 * @return false
	 */
	public function is_activated_plugin() {
		return false;
	}

	/**
	 * @return string
	 */
	protected function get_bundled_plugin_code() {
		return '';
	}

	/**
	 * @return bool
	 */
	public function is_active() {
		return class_exists( 'Ultimate_VC_Addons', false ) || class_exists( 'Convert_Plug', false );
	}

	/**
	 * @return void
	 */
	private function activate_brainstorm_plugins() {
		add_filter( "envato_active_oauth_title_{$this->ultimate_addon_id}", [ $this, 'the7_ultimate_addon_oauth_title' ], 30 );
		add_filter( 'agency_updater_request_support', [ $this, 'the7_ultimate_addon_agency_updater_request_support' ], 30 );

		if ( ! defined( 'BSF_UNREG_MENU' ) ) {
			define( 'BSF_UNREG_MENU', true );
		}

		if ( presscore_is_silence_enabled() ) {
			if ( $this->is_bundled_plugin( 'Ultimate_VC_Addons' ) ) {
				if ( ! defined( 'ULTIMATE_THEME_ACT' ) ) {
					define( 'ULTIMATE_THEME_ACT', true );
				}
				add_filter( "bsf_display_product_activation_notice_{$this->ultimate_addon_id}", '__return_false' );
			}

			if ( $this->is_bundled_plugin( 'convertplug' ) ) {
				if ( ! defined( 'CONVERTPLUS_THEME_ACT' ) ) {
					define( 'CONVERTPLUS_THEME_ACT', true );
				}
				add_filter( "bsf_display_product_activation_notice_{$this->convert_plus_id}", '__return_false' );
			}

			if ( defined( 'ULTIMATE_THEME_ACT' ) || defined( 'CONVERTPLUS_THEME_ACT' ) ) {
				add_action( 'admin_head', array( $this, 'print_inline_admin_css' ), 100 );
			}
		}
	}

	/**
	 * @return bool
	 */
	public function is_activated_by_theme() {
		return (bool) presscore_get_purchase_code();
	}

	/**
	 * @return string
	 */
	public function the7_ultimate_addon_oauth_title() {
		return '<span class="active">Active!</span>';
	}

	/**
	 * @return string
	 */
	public function the7_ultimate_addon_agency_updater_request_support() {
		return 'https://support.dream-theme.com';
	}

	/**
	 * @return void
	 */
	public function print_inline_admin_css() {
		?>
		<style type="text/css">
			<?php if ( defined( 'ULTIMATE_THEME_ACT' ) ) : ?>
			#the-list > tr[data-slug=Ultimate_VC_Addons] .license {
				display: none;
			}

			<?php endif ?>
			<?php if ( defined( 'CONVERTPLUS_THEME_ACT' ) ) : ?>
			#the-list > tr[data-slug=convertplug] .license {
				display: none;
			}

			<?php endif ?>
		</style>
		<?php
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit