ok
Direktori : /home2/selectio/www/application/views/ |
Current File : //home2/selectio/www/application/views/search.php |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?> <div class="container"> <div class="row"> <?php if ($this->general_settings->index_promoted_products == 1 && $this->general_settings->promoted_products == 1 && !empty($promoted_products)): ?> <div class="col-12 section section-promoted"> <!-- promoted products --> <?php $this->load->view("product/_featured_products"); ?> </div> <?php endif; ?> <?php $this->load->view("product/_index_banners", ['banner_location' => 'featured_products']); ?> <?php if ($this->general_settings->index_latest_products == 1 && !empty($latest_products)): ?> <div class="col-12 section section-latest-products"> <h3 class="title"> <a href="<?= generate_url('products'); ?>"><?= trans("new_arrivals"); ?></a> </h3> <p class="title-exp"><?php echo trans("latest_products_exp"); ?></p> <div class="row row-product"> <!--print products--> <?php foreach ($latest_products 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' => 0]); ?> </div> <?php endforeach; ?> </div> </div> <?php endif; ?> <?php $this->load->view("product/_index_banners", ['banner_location' => 'new_arrivals']); ?> <?php $this->load->view('product/_index_category_products', ['index_categories' => $index_categories]); ?> </div> </div>