-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
44 lines (35 loc) · 1013 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<title>Busabfahrtszeiten</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="style.css">
<meta name='viewport' content='width=device-width' />
<script type="text/javascript">
function createurl() {
if (document.getElementById("stopid").selectedIndex) {
window.location = ""+selectWert(document.getElementById("stopid"));
}
}
function selectWert(sObj) {
with (sObj) return options[selectedIndex].value;
}
</script>
</head>
<body>
<div class="page">
<div class="head">
<h1>Busabfahrtszeiten</h1>
</div>
<div class="content">
<?php
echo file_get_contents("haltestellendropdown.htm");
?>
<!-- <button onclick="createurl();return false;">Link erzeugen</button> -->
</div>
<div class="foot">
HSG Datalove<br><a href="http://www.ulmapi.de/">www.ulmapi.de</a> :: <a href="mailto:[email protected]">Kontakt</a> :: <a href="https://github.com/UlmApi/departure-times-mobile">Sourcecode</a>
</div>
</div>
</body>
</html>