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

$args = get_query_var('trx_addons_args_widget_popular_posts');
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
$id = 'trx_addons_tabs_'.str_replace('.', '', mt_rand());
?>
<div id="<?php echo esc_attr($id); ?>" class="trx_addons_tabs<?php if ($tabs_count > 1) echo ' trx_addons_tabs_with_titles'; ?>">
	<?php
	if ($tabs_count > 1) {
		?><ul class="trx_addons_tabs_titles"><?php
			foreach ($tabs as $k=>$tab) {
				if (empty($tab['title']) || empty($tab['content'])) continue;
				$id_tab = $id . '_' . $k;
				?><li class="trx_addons_tabs_title"><a href="<?php echo esc_url(trx_addons_get_hash_link('#'.$id_tab.'_content')); ?>"><?php
					echo esc_html($tab['title']);
				?></a></li><?php
			}
		?></ul><?php
	}
	foreach ($tabs as $k=>$tab) {
		if (empty($tab['title']) || empty($tab['content'])) continue;
		$id_tab = $id . '_' . $k;
		?>
		<div id="<?php echo esc_attr($id_tab); ?>_content" class="trx_addons_tabs_content">
			<?php trx_addons_show_layout($tab['content']); ?>
		</div>
		<?php
	}
	?>
</div>
<?php
	
// After widget (defined by themes)
trx_addons_show_layout($after_widget);
?>