| <%If (RSBODY("Abbreviate_Months") = True) Then%><%=MonthName(Month(request("date")), true)%><%Else%><%=MonthName(Month(request("date")))%><%End If%> <%=Day(request("date"))%>, <%=Year(request("date"))%> |
<%
eventEmpty = True
Set RSEVENT = Server.CreateObject("ADODB.RecordSet")
RSEVENT.Open "SELECT * FROM Events ORDER BY Date", Conn, 1, 3
Do while NOT RSEVENT.EOF
rsdate = RSEVENT("Date")
If (Day(rsdate) = Day(request("date"))) AND (Month(rsdate) = CInt(Month(request("date")))) AND (Year(rsdate) = CInt(Year(request("date")))) Then
eventEmpty = False
%>
| <%=FormatDateTime(rsdate, vbLongTime)%> <%=RSEVENT("Event_Name")%> |
<%
If (NOT isNull(RSEVENT("Location"))) Then
%>
 |
">Location |
<%=RSEVENT("Location")%> |
<%End If%>
 |
">Description |
<%=RSEVENT("Description")%> |
<% End If
RSEVENT.movenext
Loop
RSEVENT.close
%>
<%
If (eventEmpty = True) Then%>
There are currently no events scheduled for this day.
<%End If%>
|
|
|