<div class="ribbon-elements" role="navigation">
 <div class="owl-ribbon owl-carousel owl-theme" data-elements="<?php echo static::e($num_elements); ?>">

 <?php $ribbon_cnt =@1; ?>
 <?php $__currentLoopData = $ribbon_cards; $this->addLoop($__currentLoopData); foreach($__currentLoopData as $el_id=>$el_data): $this->incrementLoopIndices(); $loop = $this->getFirstLoop(); ?>
 <?php for($r=0; $r<$num_elements; $r++): ?>
 <div class="ribbon-item ribbon-<?php echo static::e($ribbon_cnt); ?> text-left" data-merge="<?php echo static::e($data_merge); ?>">
 <a href="<?php echo static::e($el_data['url']); ?>" <?php echo static::e($el_data['rel_attr']); ?> <?php echo static::e($el_data['target_attr']); ?> class="ribbon-link"
 title="<?php echo static::e($el_data['alt_text']); ?>">
 <img src="<?php echo static::e($el_data['image_url_th']); ?>" alt="<?php echo static::e($el_data['alt_text']); ?>" title="<?php echo static::e($el_data['alt_text']); ?>" class="img-ribbon">
 </a>
 </div>
 <?php $ribbon_cnt++; ?>
 <?php if($ribbon_cnt > 9): ?>
 <?php $ribbon_cnt =@1; ?>
 <?php endif; ?>
 <?php endfor; ?>
 <?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?>
 </div>
</div>