HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/trx_addons/templates/tpl.sc_links.php
<?php
/**
 * The template to display shortcode's link
 *
 * @package WordPress
 * @subpackage ThemeREX Addons
 * @since v1.6.08
 */

extract(get_query_var('trx_addons_args_sc_show_links'));

$align = !empty($args['title_align']) ? ' sc_align_'.trim($args['title_align']) : '';
if (!empty($args['link_image'])) {
	$args['link_image'] = trx_addons_get_attachment_url($args['link_image'], trx_addons_get_thumb_size('medium'));
	$attr = trx_addons_getimagesize($args['link_image']);
	?><div class="<?php echo esc_attr($sc); ?>_button_image sc_item_button_image<?php echo esc_attr($align); ?>"><?php
		if (!empty($args['link'])) {
			?><a href="<?php echo esc_url($args['link']); ?>"><?php
		}
		?><img src="<?php echo esc_url($args['link_image']); ?>" alt=""<?php echo (!empty($attr[3]) ? ' '.trim($attr[3]) : ''); ?>><?php
		if (!empty($args['link'])) {
			?></a><?php
		}
	?></div><?php
} else if (!empty($args['link']) && !empty($args['link_text'])) {
	if (empty($args['link_style'])) $args['link_style'] = 'default';
	echo str_replace('sc_item_button',
					'sc_item_button sc_item_button_'.esc_attr($args['link_style']).' '.esc_attr($sc).'_button'.esc_attr($align),
					trx_addons_sc_button(apply_filters('trx_addons_filter_sc_item_button_args', array(
																	'type' => $args['link_style'],
																	'title' => $args['link_text'],
																	'link' => $args['link'],
																	'align' => !empty($args['title_align']) ? $args['title_align'] : 'none'
																	),
																	$sc, $args
														)
											)
					);
}