0 && $browser_version < 4 ) { $uid_param="uid=1&sid=".$vf_sid."&pid=".$vf_pid; $p_param="?".$uid_param; if( strlen($_SERVER["QUERY_STRING"]) > 0 ) { $qu=$_SERVER["QUERY_STRING"]; $aa=explode("&",$qu); $cc=array(); for($i=0;$i< count($aa);$i++){ $bb=explode("=",$aa[$i]); if( $bb[0] == "uid" || $bb[0] == "sid" || $bb[0] == "pid" ) continue; $cc[count($cc)]=$aa[$i]; } $qq_str=""; if( is_array($cc) ) $qq_str=join("&",$cc); if( $qq_str != "" ) { $p_param="?".$qq_str."&".$uid_param; }else{ $p_param="?".$uid_param; } } if( isset($single_url) && $single_url == 1 ) { $url=$proto.$request_server_name.$url_mobile_prefix."/index.cgi".$p_param.$page_param; }else{ $url=$proto.$request_server_name.$url_mobile_prefix."/vf/index.cgi".$p_param.$page_param; } //error_log($url,0); echo ""; echo ""; echo ""; echo $system_title; echo ""; echo ""; echo ""; echo "『".$system_title."』に接続します。
"; echo ""; echo "こちらから"; echo ""; echo ""; echo ""; exit; } if( isset($single_url) && $single_url == 1 ) { include_once("../j-phone/index.cgi"); }else{ //error_log($p_param,0); header("location: ".$proto.$request_server_name.$url_mobile_prefix."/vf/index.cgi".$p_param.$page_param); } }elseif( $carrier_kind == $USER_AGENT_WAP2 || $carrier_kind == $USER_AGENT_EZ ) { if( isset($single_url) && $single_url == 1 ) { include_once("../ez/index.cgi"); }else{ header("location: ".$proto.$request_server_name.$url_mobile_prefix."/ez/index.cgi?".$_SERVER["QUERY_STRING"].$page_param); } }elseif( $carrier_kind == $USER_AGENT_L ) { if( isset($single_url) && $single_url == 1 ) { include_once("../Lmode/index.cgi"); }else{ header("location: ".$proto.$request_server_name.$url_mobile_prefix."/L/index.cgi?".$_SERVER["QUERY_STRING"].$page_param); } }elseif( $carrier_kind == $USER_AGENT_AIRH ) { if( isset($single_url) && $single_url == 1 ) { include_once("../AirH/index.cgi"); }else{ header("location: ".$proto.$request_server_name.$url_mobile_prefix."/AirH/index.cgi?".$_SERVER["QUERY_STRING"].$page_param); } }elseif( $carrier_kind == $USER_AGENT_H ) { include_once("../H/index.cgi"); }elseif( $carrier_kind == $USER_AGENT_BROWSER ) { if( isset($single_url) && $single_url == 1 ) { include_once("../pc/index.cgi"); }else{ header("location: ".$proto.$request_server_name.$url_mobile_prefix."/i/index.cgi?".$_SERVER["QUERY_STRING"].$uid_param.$page_param); } } exit; ?>