def index(): return rnd("index.html", stations=stations, tsDay=tsDay, tsHour=tsHour, data=data, c_bensin=c_bensin, c_disel=c_disel)
def company(name): return rnd("company.html", name=name, data=data, tsDay=tsDay, tsHour=tsHour, c_bensin=c_bensin, c_disel=c_disel)
def index(): return rnd("index.html", id=id, name=name, ml=ml, alc=alc, cat=cat, pri=pri)
def gas_station(key): for i in data: if i["key"] == key: station = i break return rnd("station.html", key=key, data=data, station=station, tsDay=tsDay, tsHour=tsHour, c_bensin=c_bensin, c_disel=c_disel)
def error404(error): return rnd('error.html', error_type=404, error=error)