'========================================================================================== ' | ' DO LOOP | LOOP ' | '========================================================================================== Do While rS.Eof = False %> <% bgcolor = "" TodayMessage = "" if IsDate(rs("EventStarts")) AND IsDate(rs("EventEnds")) then 'response.write DateAdd("D", 1, Date) & "
" If DateAdd("D", 1, Date) = CDate(rs("EventStarts")) then bgcolor = "bgcolor='#E8F1F9'" TodayMessage = "Tomorrow" elseIf CDate(rs("EventStarts"))<= Date AND CDate(rs("EventEnds")) >= Date then bgcolor = "bgcolor='#FFFF99'" TodayMessage = "Today" end if end if %>
> <%=TodayMessage%>    <% If rs("link") <> "" then %> "> <% end if %> <% If rs("EventName") <> "" then response.write "" & rs("EventName") & "" & "
" end if %>
<% If rs("link") <> "" then %>
<% end if %> <%=LTrim(replace(RS("NOTES"), VbCr, "
"))%>
<% rS.MoveNext Loop '========================================================================================== ' | ' CLOSE FILES | FILES CLOSED ' | '========================================================================================== 'rs.Close %>