<td><a href="game.php?gameId=<?php echo $game->gameId; ?> "><?php echo "{$game->teamScore}-{$game->oppScore}"; ?> </a></td> </tr> <?php } ?> </table> </td><td width="25"></td><td> <br /> <?php outputStats('Passing Stats', 'passing'); outputStats('Rushing Stats', 'rushing'); outputStats('Receiving Stats', 'receiving'); outputStats('Defensive Stats', 'defensive'); ?> </td><td width="25"></td><td> <br /> <?php outputStats('Kick Return Stats', 'kickreturn'); outputStats('Punt Return Stats', 'puntreturn'); outputStats('Kicking Stats', 'kicking'); outputStats('Punting Stats', 'punting'); ?> </td></tr></table> <?php include $dm->footerFile();
} } $title .= "<a href=\"{$url}\">{$p}</a> | "; } } $title = rtrim($title, ' |'); } $title .= '</b></td></tr></table>'; $options = array(); if ($_GET['week']) { $options['width'] = 900; } else { $options['width'] = 700; } $options['sortField'] = isset($_GET["sort_{$_GET['type']}"]) && $_GET["sort_{$_GET['type']}"] ? $_GET["sort_{$_GET['type']}"] : $statTypes[$_GET['type']]; outputStats($title, $_GET['type'], $options); } else { $count = 0; foreach ($titles as $type => $title) { if ($count % 4 == 0 && $count > 0) { echo '</td><td width="25"></td><td>'; } $title = "<a href=\"?week={$_GET['week']}&type={$type}\">{$title} Stats</a>"; outputStats($title, $type); $count++; } } ?> </td></tr></table> <?php include $dm->footerFile();