<?php
	require("__include-common.php");
	require("../account/__logincheck.php");
	require("__include-maps.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="ja">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="author" content="ok.2nd">
<title>MyHome 旅行記 マップ</title>
<style type="text/css">
* { margin: 0px; padding: 0px; }
html {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
body {
	margin: 0;
	width: 100%;
	height: 100%;
	font-size: 84%;
}
#form {
	margin: 5px 0 0 5px;
}
#map_frame {
	width: 100%;
	height: 100%;
}
#map3d {
	position: absolute;
	margin-left: 0px;
	top: 30px; left: 0px;
	width: 100%;
}
input,button {
	font-family: "ＭＳ Ｐゴシック",arial,helvetica,clean,sans-serif;
	line-height: 1.2;
	*line-height: 1.0;
	font-size: 100%;
}
input.text {
	margin: 0px;
	padding: 1px 0 1px 0;
}
a { color: blue; }
#side_bar {
	position: absolute; top: 60px; right: 6px; width: 120px; height: 70%;
	border: 1px solid #666; padding: 6px; line-height: 1.4; overflow:scroll;
	background: #ffffff; filter: alpha(opacity=75); -moz-opacity:0.75; opacity:0.75;
}
#side_bar li {
	white-space: nowrap;
}
#route_navi {
	position: absolute;
	top: 30px; left: 0px; width: 200px; height: 90%;
	border: 1px solid #666; padding: 6px; line-height: 1.4; overflow:scroll;
	background: #ffffff; filter: alpha(opacity=75); -moz-opacity:0.75; opacity:0.75;
}
#panorama {
	position: absolute; bottom: 15px; right: 6px; width: 50%; height: 45%;
	border: 1px solid #666; padding: 0px; line-height: 1.4; overflow: hidden;
	background: #ffffff;
}
</style>
</head>
<body onunload="GUnload()">
<?php
	$con = my_mysql_connect(_DB_SCHEMA);
	if ($_GET['multi'] <> '') {
		google_map_multi($_GET['multi'], 'full');
	} else {
		$sql = "select * from m_schedule where id_schedule = ".$_GET['id'];
		$rs = my_mysql_query($sql);
		$rec = mysql_fetch_array($rs);
		google_map_view($rec['id_schedule'], $rec['c_mapCenterLat'], $rec['c_mapCenterLng'], $rec['c_mapZoomLevel'], 'full');
	}
	$con = mysql_close($con);
?>
</body>
</html>
