403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/forum/wp-content/plugins/gd-bbpress-tools/code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/forum/wp-content/plugins/gd-bbpress-tools/code//front.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class GDBTOFront {
	public function __construct() {
		$this->register_scripts_and_styles();

		add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_scripts' ) );
	}

	public static function instance() {
		static $instance = false;

		if ( $instance === false ) {
			$instance = new GDBTOFront();
		}

		return $instance;
	}

	public function register_scripts_and_styles() {
		$debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG;
		$files = 'front' . ( $debug ? '' : '.min' );

		wp_register_style( 'gdbto-front', GDBBPRESSTOOLS_URL . 'css/' . $files . '.css', array(), GDBBPRESSTOOLS_VERSION );
		wp_register_script( 'gdbto-front', GDBBPRESSTOOLS_URL . 'js/' . $files . '.js', array( 'jquery' ), GDBBPRESSTOOLS_VERSION, true );
	}

	public function include_scripts_and_styles() {
		wp_enqueue_style( 'gdbto-front' );
		wp_enqueue_script( 'gdbto-front' );

		wp_localize_script( 'gdbto-front', 'gdbbPressToolsInit', array(
			'quote_method' => d4p_bbt_o( 'quote_method' ),
			'quote_wrote'  => _x( 'wrote', 'Username quote suffix', 'gd-bbpress-tools' ),
			'wp_editor'    => d4p_bbpress_version() > 20 ? ( bbp_use_wp_editor() ? '1' : '0' ) : '0',
		) );
	}

	public function wp_enqueue_scripts() {
		if ( d4p_bbt_o( 'include_always' ) == 1 || d4p_is_bbpress() ) {
			$this->include_scripts_and_styles();
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit