"; } else { // Code to be displayed if resolutoin is detected if(isset($_GET['width'])) { $width = $_GET['width']; if ($width <= "799") { header('Location: http://www.trabantvermietung-potsdam.de/mobile/index.php'); }else{ header('Location: http://www.trabantvermietung-potsdam.de/index2.php'); } // Resolution detected } else { header('Location: http://www.trabantvermietung-potsdam.de/index2.php'); // Resolution not detected } } } ?>