<?php foreach ($rows as $row): ?>
<div class="block-sport-row">
    <div class="block-sport-row-image">
        <?php if (!empty($row['image_info']['src'])): ?>
        <a href="<?php echo htmlspecialchars($row['link']) ?>">
            <img
                width="<?php echo $row['image_info']['width'] ?>" 
                height="<?php echo $row['image_info']['height'] ?>"
                alt="<?php echo htmlspecialchars($row['title']) ?>"
                border="0" 
                src="<?php echo htmlspecialchars($row['image_info']['src']) ?>" 
            />
        </a>
        <?php endif; ?>
    </div>
    <div class="block-sport-row-title">
        <a href="<?php echo htmlspecialchars($row['link']) ?>"><?php echo $row['title'] ?></a>
    </div>
</div>
<?php endforeach; ?>