Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/gg.corals.io/wp-content/plugins/trx_addons/components/widgets/banner/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/gg.corals.io/wp-content/plugins/trx_addons/components/widgets/banner/tpe.banner.php
<?php
/**
 * Template to represent shortcode as a widget in the Elementor preview area
 *
 * Written as a Backbone JavaScript template and using to generate the live preview in the Elementor's Editor
 *
 * @package WordPress
 * @subpackage ThemeREX Addons
 * @since v1.6.41
 */

extract(get_query_var('trx_addons_args_widget_banner'));

extract(trx_addons_prepare_widgets_args('widget_banner_'.mt_rand(), 'widget_banner'));

// Before widget (defined by themes)
trx_addons_show_layout($before_widget);
			
// Widget title if one was input (before and after defined by themes)
?><#
if (settings.title != '') {
	#><?php trx_addons_show_layout($before_title); ?><#
	print(settings.title);
	#><?php trx_addons_show_layout($after_title); ?><#
}

// Widget body
if (settings.image.url == '') {
	if (settings.image.url == '' && settings.code == '') {
		settings.image.url = '<?php
								if (is_singular() && !trx_addons_sc_layouts_showed('featured')) {
									$image = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'full' );
									echo addslashes($image[0]);
								}
							?>';
	}
}

if (settings.image.url != '') {
	print( (settings.link.url !='' ? '<a href="' + settings.link.url + '"' : '<span') + ' class="image_wrap">'
			+ '<img src="' + settings.image.url + '" alt="' + settings.title + '">'
			+ (settings.link.url !='' ? '</a>': '</span>')
		);
}

if (settings.code != '') print(settings.code);
	
#><?php	

// After widget (defined by themes)
trx_addons_show_layout($after_widget);
?>

Spamworldpro Mini