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/rabbithabit.com/public_html/application/modules/wishlist/views/1/ |
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 order-sm-1 order-2" style="border-right:1px solid #ccc;"> <?= Modules::run('myaccount_menu'); ?> </div><!-- end col-sm-2--> <div class="col-sm-10 order-sm-2 order-1"> <h4 style="text-align:center;"><?= strtoupper("Wishlist Saya"); ?></h4> <div class="isotope-grid cols-3 mb-2"> <div class="gutter-sizer"></div> <div class="grid-sizer"></div> <?php if($products != null): ?> <?php foreach ($products as $item) : ?> <!-- Product--> <div class="grid-item" style="padding: 2px;margin-bottom: 20px;"> <div class="product-card" style="padding:5px;"> <!-- product image --> <div class="product-image" style="margin-bottom: 10px;"> <?php $this->db->select('event_id')->from('event_product')->where('product_id', $item->product_id)->limit(1); $event_id = $this->db->get()->row()->event_id; ?> <!-- <?php if($item->is_sale == 'yes') : ?> --> <div style="width: 40px; height: 40px; color:white !important; background:#F48120; display: block; border-radius:50%; line-height: 40px; text-align: center; font-weight: bold;position: absolute;right: 5px"> SALE </div> <!-- <?php endif; ?> --> <a class="product-thumb" href="<?= base_url() . 'product/' . $item->alias; ?>"> <?php if($item->product_image != null): ?> <?php if (file_exists(FCPATH.'/uploads/product/small/' . $item->product_image)):?> <img src="<?= base_url() . 'uploads/product/small/' . $item->product_image; ?>" alt="<?= $item->title; ?>"> <?php else: ?> <img src="<?= base_url() . 'uploads/product/small/placeholder.jpg';?>" alt="<?= $item->title; ?>"> <?php endif; ?> <?php else: ?> <img src="<?= base_url() . 'uploads/product/small/placeholder.jpg';?>" alt="<?= $item->title; ?>"> <?php endif; ?> </a> <div class="medicine-indicator"> <!-- <?php if ($item->golongan_obat != null): ?> <i class="fa fa-circle fa-2x circle-product" style="color: <?= $item->golongan_obat; ?>"></i> <?php endif; ?> --> </div> <div class="medicine-love"> <a href="<?= base_url('wishlist/delete/'.$item->product_id); ?>" data-toast data-toast-type="danger" data-toast-position="topRight" data-toast-icon="icon-circle-check" data-toast-title="DELETE WISHLIST" data-toast-message="successfuly remove from wishlist!"> <i class="fa fa-trash fa-2x love-product"></i> </a> </div> </div> <!-- product image --> <!-- product name, price and ratings --> <h3 class="product-title"> <a href="<?= base_url() . 'product/' . $item->alias; ?>"><?= ucfirst($item->title); ?></a> </h3> <!-- <?php if($item->is_sale == 'no') : ?> <h4 style="font-size:15px; color:#F87F38; line-height:0.5;display: inline;">Rp <?= number_format($item->price); ?></h4> / <span style="font-size: 15px;"><?= $item->text_satuan_jual; ?></span><br> <del>Rp <?= number_format($item->competitor_price); ?></del> <?php $hemat = number_format(($item->competitor_price - $item->price) / $item->competitor_price * 100); echo $hemat . '%'; ?> <?php else : ?> --> <h4 style="font-size:15px; color:<?= $primary_colortheme;?>; line-height:0.5;display: inline;">Rp <?= number_format($item->discounted_price); ?></h4> / <!-- <span style="font-size: 15px;"><?= $item->text_satuan_jual; ?></span> --> <br> <del>Rp <?= number_format($item->price); ?></del> <?php $hemat = number_format(($item->price - $item->discounted_price) / $item->price * 100); echo $hemat . '%'; ?> <!-- <?php endif; ?> --> </div> </div> <!-- Product--> <?php endforeach; ?> <?php else: ?> <p style="text-align:center;"><?= strtoupper(lang('no_wishlist')); ?>.</p> <?php endif; ?> </div> </div><!-- end row--> </div><!-- end container --> </div><!--tambahan agar footer bisa fullscrean-->