require_once ("php/tran_place.php"); $s_id = $_GET['id']; if ($s_id) { $place = get_place($s_id); if ($place) { $name = etou($place['name']); $address = etou($place['address']); $n = $place['n']; $e = $place['e']; } } $height = $_GET['ht']; //$n = $_GET['n']; //$e = $_GET['e']; if (!$height) { $height = 500; } if ($e && $n) { $marker = 1; } else { $marker = 0; } if (!$e) { $e = 141.3502; } if (!$n) { $n = 43.0688; } $param = array($n, $e, $marker, "'". $name. "'", "'". $address. "'"); ?>