Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/kamariallee.com/public_html/application/views/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div id="main"> <!-- BANNER TOP & HEADER --> <a href="<?= $brand->banner_link; ?>"> <div class="main-header background" style="background-image:url('<?= base_url() . "uploads/brand/" . $brand->image; ?>');"> <div class="container"> <h1><?= $brand->brand; ?></h1> </div> </div> </a> <div id="breadcrumb"> <div class="container"> <!-- TOP BANNER DESCRIPTION --> <div class="row" style="padding-top:20px;"> <div class="col-sm-12"> <?= $brand->description; ?> </div> </div> <!-- BREADCRUMB --> <ol class="breadcrumb"> <li><a href="<?= base_url(); ?>">Home</a></li> <li><a href="<?= base_url() . 'brand/' . $brand->alias; ?>"><?= ucwords($brand->brand); ?> </a></li> </ol> </div> </div> <div class="container"> <div class="row"> <div class="col-md-9 col-md-push-3"> <div class="product-header-actions"> <div class="row"> <div class="col-md-4 col-sm-6" style="padding-bottom:10px;"> <div><span class="text-muted">Showing <?= count($products);?> from total <?= $total_products; ?> products</span></div> </div> <div class="col-md-8 col-sm-6 col-xs-12" style="padding-bottom:10px;"> <div class="form-show-sort"> <!-- /.form-group --> <!-- SORT BY --> <div class="form-group pull-right text-right"> <?= form_open('brand/' . $brand->alias); ?> <select id="sortProductBox" name="sort_product" onchange="this.form.submit();"> <option value="" <?php if ($sort_product_by == '') : ?> selected <?php endif; ?> >Sort Products</option> <option value="price-asc" <?php if ($sort_product_by == 'price-asc') : ?> selected <?php endif; ?> >Price Low to High</option> <option value="price-desc" <?php if ($sort_product_by == 'price-desc') : ?> selected <?php endif; ?> >Price High to Low</option> <option value="name-asc" <?php if ($sort_product_by == 'name-asc') : ?> selected <?php endif; ?> >Product Name A-Z</option> <option value="name-desc" <?php if ($sort_product_by == 'name-desc') : ?> selected <?php endif; ?> >Product Name Z-A</option> </select> <?= form_close(); ?> </div> <!-- /.form-group --> </div> </div> </div> <!-- /.row --> </div> <!-- /.product-header-actions --> <div class="products products-grid-wrapper"> <div class="row"> <?php foreach ($products as $item) : ?> <div class="col-md-4 col-sm-4 col-xs-12"> <div class="product product-grid"> <div class="product-media"> <div class="product-thumbnail"> <a href="<?= base_url() . 'product/' . $item->alias; ?>"> <img src="<?= base_url() . 'uploads/product/small/' . $item->image1; ?>" alt="<?= $item->title; ?>" class="current"> <?php if($item->image2 != ''): ?> <img src="<?= base_url() . 'uploads/product/small/' . $item->image2; ?>" alt="<?= $item->title; ?>"> <?php endif; ?> </a> </div> <!-- /.product-thumbnail --> <div class="product-hover"> <div class="product-actions"> <a href="<?= base_url() . 'wishlist/add_wishlist/' . $item->id_products; ?>" class="awe-button product-quick-whistlist" data-toggle="tooltip" title="Add to wishlist"> <i class="icon icon-star"></i> </a> <a href="<?= base_url() . 'product/' . $item->alias; ?>" class="awe-button product-quick-view" title="View Product" data-toggle="tooltip"> <i class="icon icon-eye"></i> </a> </div> </div> <!-- /.product-hover --> <?php //get product price and discount price $this->db->select('price, discounted_price')->from('product_details')->where('product_id', $item->id_products)->limit(1); $product_price = $this->db->get()->row(); ?> <?php if ($product_price->discounted_price != 0): ?> <span class="product-label hot"> <span>promo</span> </span> <?php endif; ?> </div> <!-- /.product-media --> <div class="product-body"> <h2 class="product-name"> <a href="<?= base_url() . 'product/' . $item->alias; ?>" title="<?= $item->title; ?>"><?= $item->title; ?></a> </h2> <!-- /.product-product --> <!-- /.product-category --> <div class="product-price"> <span class="amount"> <?php if ($product_price->discounted_price != 0): ?> Rp <?= number_format($product_price->discounted_price); ?> <strike style="color:grey; font-size:15px;">Rp <?= number_format($product_price->price); ?></strike> </span> <?php else : ?> Rp <?= number_format($product_price->price); ?> <?php endif; ?> </div> <!-- /.product-price --> </div> <!-- /.product-body --> </div> <!-- /.product --> </div> <?php endforeach; ?> </div><!-- /.row --> </div> <!-- /.products --> <!-- PAGINATION --> <div class="row"> <div class="col-sm-12"> <?php //create pagination... echo '<div style="text-align:center;">' . $this->pagination->create_links() . '</div>'; ?> </div><!-- end class="col-sm-12" --> </div> <!-- end row --> </div> <!-- /.col-* --> <div class="col-md-3 col-md-pull-9"> <div id="shop-widgets-filters" class="shop-widgets-filters"> <div id="widget-area" class="widget-area"> <!-- WIDGET CATEGORIES --> <div class="widget woocommerce widget_product_categories" style="border:1px solid #eeeeee; border-radius:5px; padding:20px;"> <?= Modules::run('category_column'); ?> </div> <!-- /.widget --> <!-- WIDGETS BRANDS --> <div class="widget woocommerce" style="border:1px solid #eeeeee; border-radius:5px; padding:20px;"> <?= Modules::run('brand_column'); ?> </div> <!-- /.widget --> <!-- SIZES / OPTIONS WIDGET --> <!-- DISABLE TEMPORARILY --> <!-- <div class="widget woocommerce"> <h3 class="widget-title">Options</h3> <div class="widget-content"> <label class="label-select"> <select name="product-sizes" class="form-control"> <option value="">Size A</option> <option value="">Size B</option> <option value="">Size C</option> <option value="">Size D</option> </select> </label> </div> </div> --> <!-- /.widget --> <!-- PRICES --> <div class="widget woocommerce widget_product_prices_filter"> <h3 class="widget-title">Prices</h3> <div class="widget-content"> <div class="ranger-wrapper"> <div id="price-slider" class="ranger"></div> </div> <div class="center small gray"> <span>Start from</span> <span id="amount" class="dark bold">$35</span> <span>to</span> <span class="dark bold">$320</span> </div> </div> </div> <script> $(function() { awePriceSlider(); }); </script> <!-- COLOR WIDGET --> <div class="widget"> <h3 class="widget-title">Colors</h3> <div class="wiget-content"> <div class="colors square"> <a href="products-grid.html#" title=""><span class="color orange"></span></a> <a href="products-grid.html#" title=""><span class="color green"></span></a> <a href="products-grid.html#" title=""><span class="color blue"></span></a> <a href="products-grid.html#" title=""><span class="color dark"></span></a> <a href="products-grid.html#" title=""><span class="color gray"></span></a> <a href="products-grid.html#" title=""><span class="color white"></span></a> </div> </div> </div> </div><!-- end row --> </div> <div id="open-filters"> <i class="fa fa-filter"></i> <span>Filter</span> </div> </div> <!-- /.col-* --> </div> <!-- /.row --> </div> <!-- /.container --> <script> $(function() { aweProductSidebar(); }); </script> </div>