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/StockAdjust/wp-content/plugins/wp-all-import/src/WordPress/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/StockAdjust/wp-content/plugins/wp-all-import/src/WordPress/AdminNotice.php
<?php

namespace Wpai\WordPress;


/**
 * Class AdminNotice
 * @package Wpai\WordPress
 */
abstract class AdminNotice {

	/**
	 * @var
	 */
	protected $message;

	/**
	 * AdminNotice constructor.
	 * @param $message
	 */
	public function __construct($message) {
		$this->message = $message;
	}

	/**
	 *
	 */
	public function showNotice() {
		?>
		<div class="<?php echo $this->getType();?>"><p>
				<?php echo $this->message; ?>
			</p></div>
		<?php
	}

	/**
	 *
	 */
	public function render() {
		add_action('admin_notices', array($this, 'showNotice'));
	}

	/**
	 * @return mixed
	 */
	abstract function getType();
}

Youez - 2016 - github.com/yon3zu
LinuXploit