丸竹夷
$ua = $_SERVER['HTTP_USER_AGENT']; if ((strpos($ua, 'iPhone') !== false) || ((strpos($ua, 'Android') !== false) && (strpos($ua, 'Mobile') !== false)) || (strpos($ua, 'Windows Phone') !== false) || (strpos($ua, 'BlackBerry') !== false)) { ?> }else{ ?> } ?>