header('Location: ../login.php', true, 303); exit; } if ($_GET['type'] == 'close') { $closeList = true; $lat = $_GET['lat']; $long = $_GET['long']; $noPos = false; if ($lat == "" || $long == "") { $noPos = true; } } else { $closeList = false; } if (!$closeList) { $myData = $Database->getMyTime($userName, get4Time() - 5, getTodayType()); } else { $myStopList = $Database->getCloseStopList($userName, $lat, $long); } ?> <html lang="ja"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>マイページ</title> <!-- Bootstrap --> <link href="/bst/css/bootstrap.min.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->