Rev 193 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 193 | Rev 318 | ||
---|---|---|---|
Line 61... | Line 61... | ||
61 | </head> |
61 | </head> |
62 | 62 | ||
63 | <body> |
63 | <body> |
64 | <h3>Belle II Masterclass visitor map</h3> |
64 | <h3>Belle II Masterclass visitor map</h3> |
65 | <div id="map" style="width: 90%; height: 90%"></div> |
65 | <div id="map" style="width: 90%; height: 90%"></div> |
- | 66 | ||
- | 67 | <?php |
|
- | 68 | if (isset($_GET['debug'])){ |
|
- | 69 | $nc=0; |
|
- | 70 | echo ('<table>'); |
|
- | 71 | $query = mysql_query('SELECT * FROM `visitor_map`'); |
|
- | 72 | while($row = mysql_fetch_array($query, MYSQL_ASSOC)){ |
|
- | 73 | if ($nc==0){ |
|
- | 74 | echo('<tr>'); |
|
- | 75 | foreach ($row as $key=>$val){ |
|
- | 76 | echo("<th>$key"); |
|
- | 77 | ||
- | 78 | } |
|
- | 79 | $nc++; |
|
- | 80 | } |
|
- | 81 | ||
- | 82 | echo('<tr>'); |
|
- | 83 | foreach ($row as $key=>$val){ |
|
- | 84 | echo("<th>$val"); |
|
- | 85 | } |
|
- | 86 | } |
|
- | 87 | echo ('</table>'); |
|
- | 88 | } |
|
- | 89 | ?> |
|
66 | </body> |
90 | </body> |
67 | 91 | ||
68 | </html> |
92 | </html> |