ok

Mini Shell

Direktori : /home2/selectio/public_html/application/views/product/
Upload File :
Current File : /home2/selectio/public_html/application/views/product/_special_offers1.php

<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>

<?php if (!empty($special_offers1)):
    if (item_count($special_offers1) > 4): ?>
        <div class="col-12 section section-category-products">
            <div class="section-header" style="display: flex;justify-content: center;">
                <!--<h3 class="title" style="color: blue;font-size: 30px;font-family: emoji;font-weight: 600;"><?= trans("special_offers"); ?></h3>-->
            </div>
            <div class="row-custom category-slider-container" <?= $this->rtl == true ? 'dir="rtl"' : ''; ?>>
                <div class="row row-product" id="slider_special_offers">
                    <?php foreach ($special_offers1 as $product): ?>
                        <div class="col-6 col-sm-4 col-md-3 col-mds-5 col-product">
                            <?php $this->load->view('product/_product_item', ['product' => $product, 'promoted_badge' => false, 'is_slider' => 1, 'discount_label' => 1]); ?>
                        </div>
                    <?php endforeach; ?>
                </div>
                <div id="slider_special_offers_nav" class="index-products-slider-nav">
                    <button class="prev"><i class="icon-arrow-left"></i></button>
                    <button class="next"><i class="icon-arrow-right"></i></button>
                </div>
            </div>
        </div>
        
        
        
        <div class="col-12 section section-category-products">
            <div class="section-header" style="display: flex;justify-content: center;">
                <!--<h3 class="title" style="color: blue;font-size: 30px;font-family: emoji;font-weight: 600;"><?= trans("special_offers"); ?></h3>-->
            </div>
            <div class="row-custom category-slider-container" <?= $this->rtl == true ? 'dir="rtl"' : ''; ?>>
                <div class="row row-product" id="slider_special_offers">
                    <?php foreach ($special_offers1 as $product): ?>
                        <div class="col-6 col-sm-4 col-md-3 col-mds-5 col-product">
                            <?php $this->load->view('product/_product_item', ['product' => $product, 'promoted_badge' => false, 'is_slider' => 1, 'discount_label' => 1]); ?>
                        </div>
                    <?php endforeach; ?>
                </div>
                <div id="slider_special_offers_nav" class="index-products-slider-nav">
                    <button class="prev"><i class="icon-arrow-left"></i></button>
                    <button class="next"><i class="icon-arrow-right"></i></button>
                </div>
            </div>
        </div>
    <?php else: ?>
        <div class="col-12 section section-category-products">
            <div class="section-header">
                <h3 class="title"><?= trans("special_offers"); ?></h3>
            </div>
            <div class="row row-product">
                <?php foreach ($special_offers1 as $product): ?>
                    <div class="col-6 col-sm-4 col-md-3 col-mds-5 col-product">
                        <?php $this->load->view('product/_product_item', ['product' => $product, 'promoted_badge' => false, 'is_slider' => 0, 'discount_label' => 1]); ?>
                    </div>
                <?php endforeach; ?>
            </div>
        </div>
    <?php endif;
endif; ?>



Zerion Mini Shell 1.0