diff --git a/index.php b/index.php index fb3d932..7ca5fa8 100644 --- a/index.php +++ b/index.php @@ -14,6 +14,14 @@ file_get_contents( ), true ); + +if(isset($_GET['filter'])){ + if(htmlentities($_GET['filter'])) + $filter = true; + else + $filter = false; +}else + $filter = false; ?> @@ -35,13 +43,35 @@ file_get_contents(
-Nom | Vélos | Places Libres | ',$station['name'], ' | ',$station['AB'], ' | ', $station['ABS'], ' | '; -} -?> -
---|