<?php
/* ========================================================================
 *
 * @license This source file is subject to version 3.01 of the PHP license,
 *              that is available at http://www.php.net/license/3_01.txt
 *              If you did not receive a copy of the PHP license and are unable 
 *              to obtain it through the world-wide-web, please send a note to 
 *              license@php.net so we can mail you a copy immediately.  
 *
 * @category   Application of MyNETS
 * @project    OpenPNE UsagiProject 2006-2007
 * @package    MyNETS
 * @author     UsagiProject <info@usagi.mynets.jp>
 * @authoe     Kazuo Ide [K&X inc.] UsagiProject
 * @copyright  2006-2007 UsagiProject <author member ad http://usagi.mynets.jp/member.html>
 * @version    MyNETS,v 1.0.0
 * @since      File available since Release 1.0.0 Nighty
 * @chengelog  [2007/02/17] Ver1.1.0Nighty package
 * ======================================================================== 
 */

$pnt = $_SERVER["QUERY_STRING"];
header('Content-Type: text/html; charset=Shift_JIS');
$pntt = explode('&',$pnt);
$url ="http://maps.google.com/mapdata?Point=b&amp;Point.latitude_e6=$pntt[0]&amp;Point.longitude_e6=$pntt[1]&amp;Point.iconid=15&amp;Point=e&amp;latitude_e6=$pntt[0]&amp;longitude_e6=$pntt[1]&amp;zm=$pntt[2]&amp;w=230&amp;h=230&amp;cc=JP&amp;min_priority=1";
$html = "<html>\n"
."<head>\n"
."<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">"
."</head>\n"
."<body><br><br>ココから先はSNS外となります。<br><br><a href=\"$url\">$url</a>\n"
."</body></html>";
print($html);
?> 