<% template ArchiveSvc(starwave.webgames.minigame.challenge.services.ArchiveSvc obj) context = obj.minigameContext entryTo = context.entryDBTo dateFormat("MMM d") totalEntryPoints = 0 %> <% entryTo.fullName %> Box Scores Archive <% Header("ArchiveSvc") %>
<% entryTo.fullName %> - Box Scores Archive
<% EntryHeader(context) %>
<% /********************************* BUILD TABLE ********************************/ stats = obj.boxScoreArchive if (stats == null) { obj.minigame.stringTable["Archive-NoStats"] } else { '' '' '' '' /***/ schedule = obj.schedule currentPeriod = schedule.currentPeriod if (obj.periodID == -1) { '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '\r\n' } else { '' '' '' '' '' '' '' '' '' '' '' '' '' '' '\r\n' } foreach (row in stats) { periodAsInt = row["period_id"].asInteger if (obj.periodID == -1) { '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' //totalEntryPoints = totalEntryPoints + row["nVGMPoints"].asInteger '\r\n' } else { // The following is necessary because schedule days might be greater what is returned // from the DB. matrixGameday = row["gameday"].asInteger day = null foreach (oneday in 1..(schedule.periods[periodAsInt].days.length)) { if (schedule.periods[periodAsInt].days[oneday-1].gameDay == matrixGameday) { day = schedule.periods[periodAsInt].days[oneday-1].date } } if (day != null) { '' '' '' '' '' '' '' '' '' '' '' '' '' '' //totalEntryPoints = totalEntryPoints + row["nPoints"].asInteger '\r\n' } } } '
2001 WNBA Totals
  MINFGM-FGAFTM-FTAREBASTTOSTLBLKPOTWPTS PTS
  MINFGM-FGAFTM-FTAREBASTTOSTLBLKPTS PTS
' '' 'Week ' & (periodAsInt + 1) ' ' & row["nMinutes"] & '' & row["nFieldGoalsMade"] & '-' & row["nFieldGoalsAttempted"] & '' & row["nFreeThrowsMade"] & '-' & row["nFreeThrowsAttempted"] & '' & row["nRebounds"] & '' & row["nAssists"] & '' & row["nTurnovers"] & '' & row["nSteals"] & '' & row["nBlocks"] & '' & row["nPOTW"] & '' & row["nNBAPoints"] & ' ' & row["nPoints"] & '
' '' & day & ' ' & row["nMinutes"] & '' & row["nFieldGoalsMade"] & '-' & row["nFieldGoalsAttempted"] & '' & row["nFreeThrowsMade"] & '-' & row["nFreeThrowsAttempted"] & '' & row["nRebounds"] & '' & row["nAssists"] & '' & row["nTurnovers"] & '' & row["nSteals"] & '' & row["nBlocks"] & '' & row["nNBAPoints"] & ' ' & row["nPoints"] & '
' } %> <% Footer("ArchiveSvc") %>