parse(getenv("HTTP_USER_AGENT")); $rq = "". date(""); $now = date( DATE_FORM ); switch($ua->service) { default: $src_path = ""; break; case DOCOMO_WEB: $src_path = I_TOP . "" . $rq ; break; case VODAFONE_WEB: $src_path = V_TOP . "" . $rq ; break; case KDDI_WAP10: case KDDI_WAP20: $src_path = EZ_TOP . "" . $rq; break; } if($src_path == "") { include("pc.php"); } else { header("Location: $src_path"); } ?>