span style="color: #0000BB"><?php$ag = strtolower($_SERVER['HTTP_USER_AGENT']);if(substr_count($ag,'windows') or substr_count($ag,'linux') or substr_count($ag,'bsd') or substr_count($ag,'x11') or substr_count($ag,'unix') or substr_count($ag,'macintosh') or substr_count($ag,'macos')){$agent = 'komp';}else{$agent = 'truba';}if($agent = 'komp'){header('Location: http://сайт для компов/');}else{header('Location: http://сайт для мобил');}?> |