<?php foreach ($leaders as $leader): ?>
    <tr>
        <td class="w-1"><?php echo $leader['rank']; ?></td>
        <td class="name w-2"><?php echo $leader['name']; ?></td>
        <td class="w-3"><?php echo $leader['total_bets']; ?></td>
        <td class="w-1"><?php echo $leader['win']; ?></td>
        <td class="w-1"><?php echo $leader['loss']; ?></td>
        <td class="w-1"><?php echo $leader['push']; ?></td>
        <td class="w-1"><?php echo number_format($leader['win_percentaje'], 0, '.', ','); ?>%</td>
        <td class="w-3">$<?php echo number_format($leader['win_amount'], 0, '.', ','); ?></td>
        <td class="w-3">$<?php echo number_format($leader['risk_amount'], 0, '.', ','); ?></td>
        <td class="w-3">$<?php echo number_format($leader['net'], 0, '.', ','); ?></td>
    </tr>
<?php endforeach; ?>