<?php
$logo_label = false;
?>

<?php foreach($tops as $top): ?>
    <div class="top">
        <div class="separator">
            <div class="top-logo">
                <?php if(!empty($top->image)): ?>
                    <div class="logo">
                    <?php
                            $top_image = $block_top_winners->get_image($top->image, [
                                'image_type' => 'top_winner',
                                'image_alt' => $top->handicapper,
                                'logo_label' => $logo_label,
                            ]);
                        ?>
                        <img src="<?php echo $top_image['url']; ?>" alt="<?php echo $top_image['alt']; ?>">
                    </div>
                <?php endif; ?>
                <div class="name"><?php echo $top->handicapper; ?></div>
            </div>
            <div class="top-win"><?php echo number_format($top->win, 2); ?>$</div>
            <div class="top-dra"><?php echo number_format($top->net, 2); ?>$</div>
        </div>
    </div>
<?php endforeach; ?>
