HEX
Server: nginx/1.20.2
System: Linux racknerd-d3d1ff4 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.movieloversky.com/wp-content/themes/filmax/templates/header-widgets.php
<?php
/**
 * The template to display the widgets area in the header
 *
 * @package WordPress
 * @subpackage FILMAX
 * @since FILMAX 1.0
 */

// Header sidebar
$filmax_header_name = filmax_get_theme_option('header_widgets');
$filmax_header_present = !filmax_is_off($filmax_header_name) && is_active_sidebar($filmax_header_name);
if ($filmax_header_present) { 
	filmax_storage_set('current_sidebar', 'header');
	$filmax_header_wide = filmax_get_theme_option('header_wide');
	ob_start();
	if ( is_active_sidebar($filmax_header_name) ) {
		dynamic_sidebar($filmax_header_name);
	}
	$filmax_widgets_output = ob_get_contents();
	ob_end_clean();
	if (!empty($filmax_widgets_output)) {
		$filmax_widgets_output = preg_replace("/<\/aside>[\r\n\s]*<aside/", "</aside><aside", $filmax_widgets_output);
		$filmax_need_columns = strpos($filmax_widgets_output, 'columns_wrap')===false;
		if ($filmax_need_columns) {
			$filmax_columns = max(0, (int) filmax_get_theme_option('header_columns'));
			if ($filmax_columns == 0) $filmax_columns = min(6, max(1, substr_count($filmax_widgets_output, '<aside ')));
			if ($filmax_columns > 1)
				$filmax_widgets_output = preg_replace("/<aside([^>]*)class=\"widget/", "<aside$1class=\"column-1_".esc_attr($filmax_columns).' widget', $filmax_widgets_output);
			else
				$filmax_need_columns = false;
		}
		?>
		<div class="header_widgets_wrap widget_area<?php echo !empty($filmax_header_wide) ? ' header_fullwidth' : ' header_boxed'; ?>">
			<div class="header_widgets_inner widget_area_inner">
				<?php 
				if (!$filmax_header_wide) { 
					?><div class="content_wrap"><?php
				}
				if ($filmax_need_columns) {
					?><div class="columns_wrap"><?php
				}
				do_action( 'filmax_action_before_sidebar' );
				filmax_show_layout($filmax_widgets_output);
				do_action( 'filmax_action_after_sidebar' );
				if ($filmax_need_columns) {
					?></div>	<!-- /.columns_wrap --><?php
				}
				if (!$filmax_header_wide) {
					?></div>	<!-- /.content_wrap --><?php
				}
				?>
			</div>	<!-- /.header_widgets_inner -->
		</div>	<!-- /.header_widgets_wrap -->
		<?php
	}
}
?>