I made a change to the /includes/common.asp file so that the week will not lock unitl all of the games are locked. This way users can make picks up until the start of the game, and all of the games will not lock at the start of the first game on Sunday morning.
function IsWeekLocked(week)
dim dateTime, rs, gameDateTime, numGames, GamesComplete
numGames = GetGameCount(week)
GamesComplete = 0
IsWeekLocked = false
dateTime = GetCurrentDateTime()
set rs = GetGamesRecordset(week)
do while not rs.EOF
gameDateTime = CDate(rs.Fields("DateTime").Value)
if gameDateTime <= dateTime then
GamesComplete = GamesComplete + 1
end if
rs.MoveNext
loop
if GamesComplete = numGames then
IsWeekLocked = true
end if
end function
Anyone see an issue of doing it this way??