<?php
$lang = "ja_JP";
//$lang = "en_US";

/* Cookie無い場合デフォルトに設定 */
if (!isset($_COOKIE['lang'])){
	setcookie("lang","myapps");
	$domain = "myapps";
} else {
	$domain = $_COOKIE['lang'];
}

/* 翻訳ファイル */
setlocale(LC_ALL, $lang);

/* コードセット */
bind_textdomain_codeset($domain, 'UTF-8');

/* 翻訳ファイルの置き場を指定 */
bindtextdomain($domain, "./locale/");

/* ファイル名の指定 */
textdomain($domain);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
	<meta http-equiv="Content-Script-Type" content="text/javascript" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

	<title>GRAPHTEC DRIVE HELP</title>
	<link rel="stylesheet" href="css/top.css">

</head>

<body>
<div class="topline"></div>
<div class="main_base">

	<a href="#" class="whitebtn1"><?php echo _("Graphtecの商品ページに移動する"); ?></a>
	<p class="acc_space1"></p>
	<a href="./account.php" class="blackbtn1"><?php echo _("閉じる"); ?></a>

</div>

</body>
</html>
