"; //print $locale2."
"; //print $_SERVER['HTTP_ACCEPT_LANGUAGE']."
"; $locale3 = explode(",", $_SERVER['HTTP_ACCEPT_LANGUAGE']); $locale2 = mb_substr($locale3[0], 0, 2); //$urll = "http://160.196.2.161/support/manual/wss/sma1_3_4/"; $urll = "http://www3.pioneer.co.jp/support/manual/wss/sma1_3_4/"; $urll2 = "http://www3.pioneer.co.jp/support/manual/wss/sma1_3/"; if($locale2 == "nl"){ $lga = "nl.html"; }elseif($locale2 == "fr"){ $lga = "fr.html"; }elseif($locale2 == "de"){ $lga = "de.html"; }elseif($locale2 == "it"){ $lga = "it.html"; }elseif($locale2 == "ru"){ $lga = "ru.html"; }elseif($locale2 == "es"){ $lga = "es.html"; }elseif($locale2 == "zh"){ $lga = "ch.html"; }elseif($locale2 == "ja"){ $lga = "jp.html"; $flgg = 1; }else{ $lga = "en.html"; } //print $lga; if($flgg){ header("Location: ".$urll2.$lga); }else{ header("Location: ".$urll.$lga); } exit; ?>