<?php foreach ($leaders as $leader): ?>
    <div class="item">
        <span><?php echo $leader->rank; ?></span>
        <span class="name">
            <?php echo $leader->name; ?>
        </span>
        <span><?php echo $leader->TotalBets; ?></span>
        <span><?php echo $leader->Win; ?></span>
        <span><?php echo $leader->Loss; ?></span>
        <span><?php echo $leader->Push; ?></span>
        <span><?php echo number_format($leader->WinPercentaje, 2, '.', ','); ?>%</span>
        <span>$<?php echo number_format($leader->WinAmount, 2, '.', ','); ?></span>
        <span>$<?php echo number_format($leader->RiskAmount, 2, '.', ','); ?></span>
        <span>$<?php echo number_format($leader->Net, 2, '.', ','); ?></span>
    </div>
<?php endforeach; ?>