add stations

This commit is contained in:
2022-06-09 16:47:35 +02:00
parent 7bf8b8c1bf
commit af4207f66e
5 changed files with 72 additions and 22 deletions

View File

@@ -17,15 +17,10 @@
header("Location: statistik.php");
die;
}
echo file_get_contents("html/header.html");
?>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eintrag eintragen</title>
</head>
<body>
<div <?php if(!station_exists($con, $_GET['station'])) { echo "hidden=\"true\"";}?>>
<form action="" method="post">
@@ -52,4 +47,7 @@
</form>
</div>
</body>
</html>
<?php
$con = null;
echo file_get_contents("html/footer.html");
?>