public static function upcomingMatches() { global $lng; title($lng->getTrn('menu/matches_menu/upcoming')); list($node, $node_id) = HTMLOUT::nodeSelector(array()); echo '<br>'; HTMLOUT::upcomingGames(false, false, $node, $node_id, false, false, array('url' => 'index.php?section=matches&type=upcoming', 'n' => MAX_RECENT_GAMES)); }
private function _games() { global $lng; $team = $this; // Copy. Used instead of $this for readability. title("<a name='anc'>" . $lng->getTrn('profile/team/games') . "</a>"); HTMLOUT::recentGames(T_OBJ_TEAM, $team->team_id, false, false, false, false, array('url' => urlcompile(T_URL_PROFILE, T_OBJ_TEAM, $team->team_id, false, false) . '&subsec=games', 'n' => MAX_RECENT_GAMES, 'GET_SS' => 'gp')); echo "<br>"; HTMLOUT::upcomingGames(T_OBJ_TEAM, $team->team_id, false, false, false, false, array('url' => urlcompile(T_URL_PROFILE, T_OBJ_TEAM, $team->team_id, false, false) . '&subsec=games', 'n' => MAX_RECENT_GAMES, 'GET_SS' => 'ug')); # upcomingGames($obj, $obj_id, $node, $node_id, $opp_obj, $opp_obj_id, array $opts) }
private function _games() { global $lng; $team = $this; // Copy. Used instead of $this for readability. title('<div class="team-management-title">' . $lng->getTrn('profile/team/games') . '</div>'); HTMLOUT::recentGames(T_OBJ_TEAM, $team->team_id, false, false, false, false, array('url' => urlcompile(T_URL_PROFILE, T_OBJ_TEAM, $team->team_id, false, false) . '&subsec=games', 'n' => MAX_RECENT_GAMES, 'GET_SS' => 'gp')); echo "<br>"; HTMLOUT::upcomingGames(T_OBJ_TEAM, $team->team_id, false, false, false, false, array('url' => urlcompile(T_URL_PROFILE, T_OBJ_TEAM, $team->team_id, false, false) . '&subsec=games', 'n' => MAX_RECENT_GAMES, 'GET_SS' => 'ug')); }