<?php
    $adsCollect =  showAds( $identifier ?? [] );
?>
<?php if( $adsCollect ): ?>
    <div class="col-md-12 mt-2 mb-2">
        <?php $__currentLoopData = $adsCollect; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php echo $item['ads_code']; ?>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
<?php endif; ?>