<?php if(count($sideads)): ?>
    <div id="sideads">
    <?php $__currentLoopData = $sideads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ad): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="sad">
            <?php if(!is_null($ad->ctranslation->ad_link) && trim($ad->ctranslation->ad_link) != ''): ?>
                <a href="<?php echo e(url($ad->ctranslation->ad_link)); ?>" title="<?php echo e($ad->ctranslation->ad_title); ?>">
                    <img src="<?php echo e(asset($ad->ctranslation->ad_src)); ?>" alt="<?php echo e($ad->ctranslation->ad_title); ?>" class="img-responsive">
                </a>
            <?php else: ?>
                <img src="<?php echo e(asset($ad->ctranslation->ad_src)); ?>" alt="<?php echo e($ad->ctranslation->ad_title); ?>" title="<?php echo e($ad->ctranslation->ad_title); ?>" class="img-responsive">
            <?php endif; ?>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
<?php endif; ?>