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/mesinpolesshinemate.com/application/modules/wishlist/views/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!--make some space gap on top with menu--> <div class="banner" style="padding-top: 30px;"> </div> <div class="container"> <div class="row" style="padding-bottom:50px;"> <div class="col-sm-2" style="border-right:1px solid #ccc;"> <?= Modules::run('myaccount_menu'); ?> </div><!-- end col-sm-2--> <div class="col-sm-10"> <!-- Section --> <div class="template-content-section template-padding-top-reset template-padding-bottom-5 template-main"> <h2 style="text-align:center;"><?= ucwords(lang('my_wishlist')); ?></h2> <?php if(count($products) == 0) : ?> <p style="text-align:center;"><?= strtoupper(lang('no_wishlist')); ?>.</p> <?php else : ?> <!-- Product List --> <div class="row browse_product_list clearfix"> <?php foreach ($products as $product) : ?> <div class="col-sm-4"> <!-- Product Item --> <div class="product_item"> <?php //get price and discount price $this->db->select('price, discounted_price')->from('product_details')->where('product_id', $product[0]['id_products'])->order_by('id_product_details', 'ASC')->limit(1); $prices = $this->db->get()->row(); $price = $prices->price; $discounted_price = $prices->discounted_price; ?> <?php if ($discounted_price != 0): ?> <!-- <div class="sale_butoon">Sale!</div> --> <?php endif; ?> <div class="product_item_img"> <a href="<?= base_url() . 'product/' . $product[0]['alias']; ?>"><img src="<?= base_url() . 'uploads/product/small/' . $product[0]['image1']; ?>"></a></div> <div class="product_item_name"><a href="<?= base_url() . 'product/' . $product[0]['alias']; ?>"><?= ucwords($product[0]['title']); ?></a></div> <?php if ($discounted_price != 0): ?> <div class="product_item_price clearfix"><span class="sale_price">Rp <?= number_format($discounted_price); ?> </span><span class="ori_price">Rp <?= number_format($price); ?></span></div> <div class="product_item_hemat">Hemat Rp <?= number_format($price - $discounted_price); ?></div> <?php else : ?> <div class="product_item_price clearfix"><span class="ori_price">Rp <?= number_format($price);?></span></div> <?php endif; ?> <br> <div class="product_item_compare clearfix"> <a style="color: <?= $primary_colortheme; ?>; font-weight: bold; font-size: 12px;" href="<?= base_url() . 'wishlist/delete/' . $product[0]['id_products']; ?>">X <?= strtoupper(lang('delete')); ?></a> <!-- <a href="<?= base_url() . 'product_comparison/add/' . $product[0]['id_products']; ?>" class="compare">Compare</a> --></div> </div><!-- End Product Item --> </div> <?php endforeach; ?> </div><!-- End Product List --> <?php endif; ?> </div><!-- end col-sm-10--> </div><!-- end row--> </div><!-- end container --> </div><!--tambahan agar footer bisa fullscrean-->