require_once('../lib/init.inc'); if(strstr($_SERVER['HTTP_USER_AGENT'],"DoCoMo")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; }elseif(strstr($_SERVER['HTTP_USER_AGENT'],"Vodafone")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; }elseif(strstr($_SERVER['HTTP_USER_AGENT'],"SoftBank")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; }elseif(strstr($_SERVER['HTTP_USER_AGENT'],"MOT-")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; }elseif(strstr($_SERVER['HTTP_USER_AGENT'],"J-PHONE")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; }elseif(strstr($_SERVER['HTTP_USER_AGENT'],"KDDI")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; }elseif(strstr($_SERVER['HTTP_USER_AGENT'],"UP.Browser")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; }elseif(strstr($_SERVER['HTTP_USER_AGENT'],"WILLCOM")){ header("Location:http://".$CMN_SVNAME."/mobile/"); exit; } ?>