blob: 24bb3eb7c0a5fa0a2990365cd36e90660da25cdd [file] [log] [blame]
avm9996399bb77c2020-01-27 03:15:08 +01001<?php
2require_once("core.php");
3
4$gtfs = new gtfs();
5?>
6<!DOCTYPE html>
7<html>
8 <head>
9 <meta charset="utf-8">
10 <title>Panell d'informaciĆ³</title>
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12 <link rel="stylesheet" href="css/index.css">
13 </head>
14 <body>
15 <form action="info.php" method="GET">
16 <p>
17 <label for="station">EstaciĆ³:</label>
18 <select name="station" id="station" required disabled></select>
19 </p>
20 <p>
21 <label for="view">Vista:</label>
22 <select name="view" id="view" required>
23 <?php
24 foreach (views::$views as $view) {
25 echo '<option value="'.(int)$view.'">'.security::htmlsafe(views::$viewsNames[$view] ?? "undefined").'</option>';
26 }
27 ?>
28 </select>
29 </p>
30 <p>
31 <button>Mostrar</button>
32 </p>
33 </form>
34
35 <script src="js/index.js"></script>
36 </body>
37</html>