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/KnowledgeBase/wp-content/plugins/url-shortify/lite/includes/Common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/url-shortify/lite/includes/Common/Notices.php
<?php

namespace Kaizen_Coders\Url_Shortify\Common;

class Notices {
	/**
	 * Show Notice
	 *
	 * @param string $message
	 * @param string $status
	 * @param bool $is_dismissible
	 *
	 * @since 1.0.0
	 */
	public function show_notice( $message = '', $status = '', $is_dismissible = true ) {

		$class = 'notice notice-success';
		if ( 'error' === $status ) {
			$class = 'notice notice-error';
		}

		if ( $is_dismissible ) {
			$class .= ' is-dismissible';
		}

		echo "<div class='{$class}'><p>{$message}</p></div>";
	}

	/**
	 * Success Message
	 *
	 * @param string $message
	 * @param bool $is_dismisible
	 *
	 * @since 1.0.0
	 */
	public function success( $message = '', $is_dismisible = true ) {
		$this->show_notice( $message, 'success', $is_dismisible );
	}

	/**
	 * Error Message
	 *
	 * @param string $message
	 * @param bool $is_dismisible
	 *
	 * @since 1.0.0
	 */
	public function error( $message = '', $is_dismisible = true ) {
		$this->show_notice( $message, 'error', $is_dismisible );
	}

	/**
	 * Warning Message
	 *
	 * @param string $message
	 * @param bool $is_dismisible
	 *
	 * @since 1.0.0
	 */
	public function warning( $message = '', $is_dismisible = true ) {
		$this->show_notice( $message, 'warning', $is_dismisible );
	}

	/**
	 * Info Message
	 *
	 * @param string $message
	 * @param bool $is_dismisible
	 *
	 * @since 1.0.0
	 */
	public function info( $message = '', $is_dismisible = true ) {
		$this->show_notice( $message, 'info', $is_dismisible );
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit