<% template TOPFIVESvc(starwave.webgames.services.UserInputSvc obj) inputs = obj.input aMonth = ##(11,"Nov", 12,"Dec", 1,"Jan", 2,"Feb", 3,"Mar", 4,"Apr", 5,"May", 6,"June", 7,"July", 8,"Aug", 9,"Sep", 10,"Oct") %> <% inc.hitbox("/basketball/vgmpc", "TOPFIVESvc") %> <% count=0 foreach (input in inputs) { playerName = input["sLastName"] & " " if (playerName.length > 10) { playerName = substring(playerName, 0 , 10) & "." } if (count==0) { '' '' } '' '' '' count=count+1 } %> <% count=0 totalValue = 0 totalPoints = 0 foreach (input in inputs) { totalValue = totalValue + input["nValue"].asDouble totalPoints = totalPoints + input["nVGMPoints"].asInteger if (count==5) { numberFormat("00.#") '' numberFormat("#") '' numberFormat(null) } count=count+1 } %>
Best Possible Lineup ' & aMonth[input["nMonth"].asInteger] & '.' & ' ' & input["nDay"].asInteger & '
' & playerName & ',' & ' ' & toLowerCase(input["sAbbrev"]) & '' & input["nVGMPoints"] & '
VGM Points -' & totalPoints & '
Rating -' & ' ' & totalValue & '
# of GM''s -' & ' ' & input["numOwners"].asInteger & '