????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/peekmysite.com/wp-content/plugins/cherry-plugin-x/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/peekmysite.com/wp-content/plugins/cherry-plugin-x/admin//plugin-components.php
<?php
class cherry_plugin_components {
	public function get_header($attr){
		$default = array('title' => '', 'wrapper_class' => '', 'wrapper_id' => '');
		extract(array_merge($default, $attr));
		$language = get_bloginfo("language");

		switch ($language) {
			case 'ru-RU':
				$locals = '_'.$language;
				break;
			case 'es-ES':
				$locals = '_'.$language;
				break;
			case 'de-DE':
				$locals = '_'.$language;
				break;
			default:
				$locals = '';
				break;
		}
		$get_remote_info = cherry_plugin_remote_query(array('data_type' => 'info'));
		$support_link = $get_remote_info['support_url'.$locals];
		$doc_link = $get_remote_info['document_url'];

		if (class_exists('Woocommerce')) {
			$doc_link = $get_remote_info['document_url_woocommerce'];
		} elseif (function_exists('jigoshop_init')) {
			$doc_link = $get_remote_info['document_url_jigoshop'];
		}

		$output = '<div class="wrap cherry-plugin">';
		$output .= '<header><h2>';
		$output .= ($title) ? $title : '' ;
		$output .= '<span class="extern-links">';
		$output .= '<a href="'.$doc_link.'" target="_blank"><span class="icon-book"></span>'.__('Documentation', CHERRY_PLUGIN_DOMAIN).'</a>';
		$output .= '<a href="'.$support_link.'" target="_blank"><span class="icon-wrench"></span>'.__('Support', CHERRY_PLUGIN_DOMAIN).'</a>';
		$output .= '</span></h2>';
		$output_wrapper_id = ($wrapper_id) ? 'id="'.$wrapper_id.'"' : '' ;
		$output .= '</header><div class="clear"></div><div '.$output_wrapper_id.' class="'.$wrapper_class.' stuffbox postbox">';

		echo $output;
	}
	public function get_footer(){
		$output = '<div class="clear"></div></div></div>';

		echo $output;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit