<?php foreach($tops as $top): ?>
    <div class="top">
        <div class="separator">
            <div class="top-logo">
                <?php if(!empty($top['image']['url'])): ?>
                    <div class="logo">
                        <img src="<?php echo $top['image']['url']; ?>" alt="">
                    </div>
                <?php endif; ?>
                <div class="name"><?php echo $top['name']; ?></div>
            </div>
            <div class="top-win">$<?php echo (!empty($top['win'])) ? number_format($top['win'], 0) : ''; ?></div>
            <div class="top-dra">$<?php echo (!empty($top['dra'])) ? number_format($top['dra'], 0) : ''; ?></div>
        </div>
    </div>
<?php endforeach; ?>
