You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.9 KiB

if(empty($_GET['station']) || !is_file('data/data'))
header('location: index.php');
<!DOCTYPE html>
<html lang="fr">
<meta charset="utf-8">
<title>Vélibs à proximité</title>
<meta name="description" content="">
<meta name="author" content="phyks">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="main.css" type="text/css" media="screen">
<link rel="stylesheet" href="leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="" />
<script src="leaflet.js"></script>
<script type="text/javascript" src="Polyline.encoded.js"></script>
<script type="text/javascript" src="js.js"></script>
<h1><a href="index.php">Vélibs à proximité</a></h1>
<div id="stations"></div>
<div id="map" style="height: 500px;"></div>
$param = (!empty($_GET['available'])) ? 'available' : 'free';
echo "<p><a href='index.php?".$param."=1'>← Retour à la liste</a></p>";
<div id="position">
<p><strong>Votre navigateur doit prendre en charge la géolocalisation pour que ce site puisse fonctionner correctement.</strong></p>
<p id="thanks">Map is handled thanks to the <a href="">Leaflet</a> library, using © <a href="">OpenStreetMap</a> contributors tiles. Reverse geolocation (Nominatim) are provided by the <a href="" alt="MapQuest icon">MapQuest</a> <img src=""> open API. Routes are provided by <a href=''>the OSRM project</a> (OSRM is a free and open source program under GNU Affero GPL).</p>
<p id="suggestions">N'hésitez pas à m'envoyer vos suggestions à <a href=""></a>.</p>