$Database = new DbUtil(); $userName = $Database->getUserName(); $sideMenu = getSideMenu('ttbl'); $NAV = nav($userName); if ($userName == null) { header('Location: ../login.php', true, 303); exit; } $ID = $_GET['stopid']; $LINE = $_GET['lineid']; $stopData = $Database->getStop($ID, $userName); if ($stopData == null) { die('PERMISSION DENIED'); } $lineName = $Database->getLineName($LINE, $userName); $timeTable = $Database->getTimeTable($ID, $LINE); ?> <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>時刻表 <?php echo "{$stopData->stopName}"; ?> </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 -->