コード例 #1
0
ファイル: index.php プロジェクト: acv-chungpt/ainohoumon
<?php

include_once 'functions.php';
require_once "ua.class.php";
$ua = new UserAgent();
if ($ua->set() === "mobile") {
    //この中のコードはスマホにのみ適用
    include_once "hp/index.php";
} elseif ($ua->set() === "tablet") {
    //この中のコードはタブレットにのみ適用
} else {
    //この中のコードはスマホとタブレット以外に適用
}
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ja">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta name="robots" content="index,follow">
	<meta name="description" content="在宅訪問マッサージの「あいの訪問マッサージサービス」です。国家資格保持の訪問臨床経験豊富なスタッフがご自宅までお伺い致します。">
	<meta name="keywords" content="訪問リハビリ,在宅訪問マッサージ ,在宅マッサージ,堺,大阪市,東住吉区,住吉区,平野区,生野区,阿倍野区,天王寺区,東淀川区">
	<meta name="copyright" content="(C) あいの訪問マッサージサービス All Rights Reserved.">
	<meta name="author" content="ainohoumon.com">
	<meta name="revisit-after" content="7 days">
	<title>在宅訪問マッサージ  | リハビリマッサージ | あいの訪問マッサージサービス(大阪市)</title>
	<script language="JavaScript"> 
		function mouseOver(obj, filename){
			obj.src = filename;
		}
		function mouseOut(obj, filename){