2024-02-19 10:15:09 +01:00
|
|
|
<?php
|
2024-03-12 09:22:18 +01:00
|
|
|
/**
|
|
|
|
* Startseite für NRW-Hindernismelder
|
|
|
|
* Liste der freigeschalteten Kreise und kreisfeien Städte
|
|
|
|
*/
|
2024-02-20 16:59:46 +01:00
|
|
|
session_start();
|
2024-02-19 10:15:09 +01:00
|
|
|
require("config.php");
|
|
|
|
$directory = $_SERVER['REQUEST_URI'];
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="de">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="author" content="Walter Hupfeld, info@hupfeld-software.de">
|
2024-03-12 09:22:18 +01:00
|
|
|
<meta name="description" content="ADFC NRW Hindernismelder">
|
2024-02-19 10:15:09 +01:00
|
|
|
<link rel="stylesheet" href="css/bootstrap.min.css" />
|
|
|
|
<link rel="stylesheet" href="css/style.css" />
|
|
|
|
<title><?=$strTitle?></title>
|
|
|
|
<script src="js/jquery.min.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-02-20 16:06:57 +01:00
|
|
|
|
2024-02-19 10:15:09 +01:00
|
|
|
<div class="container">
|
2024-02-20 16:06:57 +01:00
|
|
|
<h1><?=$strTitle?></h1>
|
|
|
|
<div class="jumbotron">
|
|
|
|
<img src="<?=$strLogo?>" />
|
|
|
|
<?=$strIntroText?>
|
|
|
|
</div>
|
2024-02-19 10:15:09 +01:00
|
|
|
<div>
|
|
|
|
<form method="GET" action="index.php">
|
|
|
|
<select name="d" style="float:left;margin-top:0.5em;margin-right:0.5em;" onchange="this.form.submit()">
|
|
|
|
<?php foreach ($arrDistrict as $key => $strTitle): ?>
|
|
|
|
<option value="<?=$key?>"><?=$strTitle?></option>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</select>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<p style="clear:both";>
|
2024-02-22 16:53:10 +01:00
|
|
|
|
2024-03-12 09:22:18 +01:00
|
|
|
<h3>Teilnehmende Kreise und kreisfreie Städte</h3>
|
2024-02-22 16:53:10 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-4">
|
2024-03-12 09:22:18 +01:00
|
|
|
<?php
|
|
|
|
$i=0;
|
|
|
|
foreach ($arrDistrict as $key => $strTitle): ?>
|
|
|
|
<a href="<?php echo "./".$key ?>"><?=$strTitle?></a><br>
|
|
|
|
<?php
|
|
|
|
$i++;
|
|
|
|
if ($i%20==0) echo "</div><div class='col-4'>";
|
|
|
|
endforeach; ?>
|
2024-02-22 16:53:10 +01:00
|
|
|
</div>
|
2024-02-19 10:15:09 +01:00
|
|
|
</div>
|
2024-02-22 16:53:10 +01:00
|
|
|
<hr>
|
|
|
|
© ADFC NRW
|
2024-02-19 10:15:09 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|