
 <?php if($this->config->get('wg24_home_ofer_baner')=="enable") { ?>
<section><div class="offer-banner">
  <div class="offer-banner-section">
        <?php $i=1; foreach ($banners as $banner) { ?>

  <div class=" <?php if($i==2) echo 'col-last'; else echo 'col' ?> "> 
      <div class="add-banner">
            <?php if ($banner['link']) { ?>
          <a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" /></a>
       <?php } else { ?>
       <img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" />
        <?php } ?>
      </div>
  </div>
  <?php $i=$i+1; } ?>
  </div>
    </div>
</section>
   <?php } ?>