示例#1
0
文件: bets.php 项目: nsystem1/ZeeJong
    </table>

    <h2>Bets - History</h2>
    <table class="table table-striped">
        <tr>
            <th>Team 1</th>
            <th>Score</th>
            <th>Team 2</th>
            <th>Player that makes first goal</th>
            <th># Red Cards</th>
            <th># Yellow Cards</th>
            <th>Amount</th>
        </tr>
    <?php 
    $bets = $this->getHandledBets();
    foreach ($bets as $betId) {
        $bet = new Bet($betId);
        ?>
        <tr>
            <?php 
        echo $bet->dataAsColouredString();
        ?>
        </tr>
    <?php 
    }
}
?>
    </table>
</div>