forked from Sjith/piterfm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtomsk.html
26 lines (26 loc) · 894 Bytes
/
tomsk.html
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
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="tomsk.js"></script>
</head>
<body>
<pre>
<script type="text/javascript">
var stations = tomsk_objs.stations;
for(var propertyName in stations) {
var station = stations[propertyName];
if (station.station_archive == "0" && station.station_archive_available == "1" && station.station_available == "1")
{
var city = tomsk_objs.cities[station.city_id];
document.write("new TomskStation( " + JSON.stringify(station.station_name)
+ ",\n" + JSON.stringify(city.city_name)
+ ",\n" + JSON.stringify(station.station_frequency)
+ ",\n" + JSON.stringify(station.station_id)
+ ",\n" + JSON.stringify(station.station_master)
+ ");");
document.write("\n");
}
}
</script>
</pre>
</html>