% pos=0 step=20 if Request("p")>"" then pos=Request("p") land=replace(Request("bundesland"),"_"," ") Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "ae19_nms" sql = "SELECT * FROM termine where datum >= date() and bundesland = '" & land & "'" &_ " order by datum, beginn" Set RS = Conn.Execute(sql) %>
<%=land%> <%if not RS.EOF then%> <%else%>
keine Termine vorhanden <%end if%>
| <%= FormatDateTime(RS(1),vbLongDate)%> | ||
| <% if RS("beginn")>"" then %> <%=FormatDateTime(RS("beginn"),vbShortTime)%> <%end if%> | <%=RS("thema")%>
<% if RS("ende")>"" then %> bis <%=FormatDateTime(RS("ende"),vbShortTime)%> <% End if%> |
<%if RS("ort")>"" then %> <%=RS("ort")%> <%else%> <%end if%> |