")
set schFile = fileSys.OpenTextFile(fileName)
do until schFile.AtEndOfStream
LineIn = schFile.ReadLine
EvDate = left(LineIn,8)
EvTime = trim(mid(LineIn,10,7))
EvEvent = trim(mid(LineIn,18,30))
EvLink = trim(mid(LineIn,48))
if IsDate(EvDate) then
if (DateValue(EvDate) = DateValue(month(today) & "/" & i & "/" & year(today))) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "")
else
response.write(EvEvent & "
")
end if
end if
else
if (EvDate = "SUN ") then
if (weekday(DateValue(month(today) & "/" & i & "/" & year(today))) = 1) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "
")
else
response.write(EvEvent & "
")
end if
end if
else
if (EvDate = "MON ") then
if (weekday(DateValue(month(today) & "/" & i & "/" & year(today))) = 2) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "
")
else
response.write(EvEvent & "
")
end if
end if
else
if (EvDate = "TUE ") then
if (weekday(DateValue(month(today) & "/" & i & "/" & year(today))) = 3) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "
")
else
response.write(EvEvent & "
")
end if
end if
else
if (EvDate = "WED ") then
if (weekday(DateValue(month(today) & "/" & i & "/" & year(today))) = 4) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "
")
else
response.write(EvEvent & "
")
end if
end if
else
if (EvDate = "THU ") then
if (weekday(DateValue(month(today) & "/" & i & "/" & year(today))) = 5) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "
")
else
response.write(EvEvent & "
")
end if
end if
else
if (EvDate = "FRI ") then
if (weekday(DateValue(month(today) & "/" & i & "/" & year(today))) = 6) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "
")
else
response.write(EvEvent & "
")
end if
end if
else
if (EvDate = "SAT ") then
if (weekday(DateValue(month(today) & "/" & i & "/" & year(today))) = 7) then
response.write(EvTime & " ")
if EvLink <> "None" then
response.write("" & EvEvent & "
")
else
response.write(EvEvent & "
")
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
loop
response.write("