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