if ( stristr($ua, "Windows CE") or stristr($ua, "Mobile") ) { $DEVICE_TYPE="MOBILE"; } if (isset($DEVICE_TYPE) and $DEVICE_TYPE=="MOBILE") { $location='https://franglle.pl/en/mobile/portfolio3.html'; header ('Location: '.$location); exit; } ?>