$isiPad = (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPad'); if ( $isiPad ) { ?> } ?> $isiPhone = (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPhone'); $isiPod = (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPod'); if ( $isiPhone || $isiPod ) { ?> } ?>