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/widgets/audio/tpl.default.php
<?php
/**
 * The style "default" of the Widget "Audio"
 *
 * @package WordPress
 * @subpackage ThemeREX Addons
 * @since v1.6.10
 */

$args = get_query_var('trx_addons_args_widget_audio');
extract($args);

// Before widget (defined by themes)
trx_addons_show_layout($before_widget);
			
// Widget title if one was input (before and after defined by themes)
trx_addons_show_layout($title, $before_title, $after_title);
	
// Widget body
?><div class="trx_addons_audio_player <?php echo !empty($cover) ? 'with_cover' : 'without_cover'; ?>"<?php if (!empty($cover)) echo ' style="background-image:url('.esc_url($cover).');"'; ?>><?php 

	if (!empty($author) || !empty($caption)) {
		?>
		<div class="audio_info">
			<?php if (!empty($author)) { ?>
				<h6 class="audio_author"><?php echo esc_html($author); ?></h6>
			<?php } ?>
			<?php if (!empty($caption)) { ?>
				<h5 class="audio_caption"><?php echo esc_html($caption); ?></h5>
			<?php } ?>
		</div>
		<?php 
	}

	?><div class="audio_frame audio_<?php echo esc_attr($embed ? 'embed' : 'local'); ?>"><?php 
		if ($embed)
			trx_addons_show_layout($embed);
		else if ($url)
			echo do_shortcode('[audio mp3="'.trim($url).'"]');
	?></div><?php

?></div><?php

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