NFL

NFL Game Trax

Share This Story

foxsports admin

 
   
 
<% set gameId [ns_queryget "gameId"] try { set db [fs_db_getHandle] set gameDetails [fs_stats_getStatsGameTeams $db $gameId 5] set homeId [ns_set get $gameDetails "n_home_team"] set awayId [ns_set get $gameDetails "n_away_team"] set week [ns_set get $gameDetails "n_week"] set homeInfo [fs_stats_getCategory $db $homeId 5] set awayInfo [fs_stats_getCategory $db $awayId 5] set homeCategoryId [ns_set get $homeInfo "category_id"] set awayCategoryId [ns_set get $awayInfo "category_id"] } catch errorMsg { error $errorMsg $errorInfo $errorCode } finally { fs_db_releaseHandle $db } set xmlFile "/livexml/NFL/NFL_FINALBOX\$${gameId}.XML" set fileExists [file exists [ns_url2file $xmlFile]] set gameFinal $fileExists if {$gameFinal} { set refreshText "" } else { set refreshText "" } %>
<% if {$gameFinal} { set playerStatsStatTypeCode [fs_constant_getDbId "STAT_TYPE_CODE" "nflGameTraxPlayerStatsFinal"] } else { set playerStatsStatTypeCode [fs_constant_getDbId "STAT_TYPE_CODE" "nflGameTraxPlayerStats"] } %> <% ns_log debug "------- away stats object path: $awayStatsObjectPath" %> Can't find nfl player stats for away team

<% set scoreXmlStatTypeCode [fs_constant_getDbId "STAT_TYPE_CODE" "gameTraxScoreXml"] set allgamesXmlStatTypeCode [fs_constant_getDbId "STAT_TYPE_CODE" "gameTraxAllGamesXml"] %> <% ns_log debug "------- gamescore obj path: $gameScoreObjectPath" ns_log debug "------- all games obj path: $allGamesObjectPath" %> <% try { set db [fs_db_getHandle] set xmlFile "/livexml/NFL/NFL_FINALPBP\$${gameId}.XML" set fileExists [file exists [ns_url2file $xmlFile]] set currentDriveOutput "" if {!$fileExists} { set currentDriveStatTypeCode [fs_constant_getDbId "STAT_TYPE_CODE" "nflGameTraxCurrentDrive"] set currentDriveObjectPath [fs_io_object_getPath $db $homeCategoryId $currentDriveStatTypeCode -extraArgs $gameId] set currentDriveOutput "
" append currentDriveOutput "" append currentDriveOutput "Can't find nfl game trax current drive" append currentDriveOutput "" append currentDriveOutput "

" } } catch errorMsg { error $errorMsg $errorInfo $errorCode } finally { fs_db_releaseHandle $db } %> Can't find scoreboard links <% if {$fileExists} { set scoringSumStatTypeCode [fs_constant_getDbId "STAT_TYPE_CODE" "nflGameTraxScoringSummaryFinal"] } else { set scoringSumStatTypeCode [fs_constant_getDbId "STAT_TYPE_CODE" "nflGameTraxScoringSummary"] } %>
Can't find nfl game trax scoring summary

Can't find nfl player stats for away team

More Stories From foxsports admin


NFL Videos

Best Person in Sports: Keenan Lewis Posted: Jul 15, 2014
Saints CB Keenan Lewis hosts a back-to-school event, giving children medical ser...

NFL Roundtable: New York Jets Posted: Jul 14, 2014
They're a team with plenty to prove and a roster of players primed to get it don...

NFL Roundtable: Detroit Lions Posted: Jul 11, 2014
A team with so many weapons, is this the season that the Lions put together and ...

More Than Sports on MSN