<th>Team 2</th> <th>Player that makes first goal</th> <th># Red Cards</th> <th># Yellow Cards</th> <th>Amount</th> </tr> </thead> <tbody> <?php $bets = $this->getGroup()->getHandledbets(); foreach ($bets as $betId) { $bet = new Bet($betId); ?> <tr> <td><?php echo $bet->getUserName(); ?> </td> <?php echo $bet->dataAsColouredString(); ?> </tr> <?php } ?> </tbody> </table> </div>