Projekt

Obecné

Profil

Stáhnout (1.08 KB) Statistiky
| Větev: | Revize:
1 56cb34de horkym
<form action="control.php" method="post" id="dateSelector">
2
    <fieldset>
3
        <div>Vyberte datum:</div>
4
        <input type="date" name="date" max="<?php echo date("Y-m-d", strtotime("-1 day")); ?>" />
5
        <input type="submit" value="Zobrazit" />
6
    </fieldset>
7
</form>
8
9
<table>
10
    <tr>
11
        <th>Detektor</th>
12
        <th>Datum a čas</th>
13
        <th>Intenzita</th>
14
        <th>Intenzita "N"</th>
15
        <th>Obsazenost</th>
16
        <th>Rychlost</th>
17
        <th>Stav</th>
18
        <th>Typ vozidla</th>
19
        <th>Trvání v setinách</th>
20
        <th>Rychlost (historie)</th>
21
        <th>Typ vozidla "10"</th>
22
    </tr>
23
    
24
    <?php
25
        for ($i = 0; $i < count($traffic); $i++) {
26
            echo "<tr>".$traffic[$i]->toString()."</tr>";
27
        }
28
    ?>
29
    
30
</table>
31
32
<table>
33
    <tr>
34
        <th>Název</th>
35
        <th>Město</th>
36
        <th>Ulice</th>
37
        <th>Zařízení</th>
38
        <th>Oblast</th>
39
    </tr>
40
    
41
    <?php
42
        for ($i = 0; $i < count($locations); $i++) {
43
            echo "<tr>".$locations[$i]->toString()."</tr>";
44
        }
45
    ?>
46
    
47
</table>