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/kanvakanva.com/public_html/application/views/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <?php //unset current brand and category session $this->session->unset_userdata('current_viewed_brand'); $this->session->unset_userdata('current_viewed_category'); ?> <div class="main"> <div class="container"> <div class="main-content"> <div class="product"> <div class="row"> <div class="col-md-6"> <div class="images"> <div id="product-showcase"> <div class="gallery"> <div class="full"> <img id="zoom_03" src="<?= base_url() . 'uploads/product/large/'. $product->image1; ?>" data-zoom-image="<?= base_url() . 'uploads/product/'. $product->image1; ?>"> <!-- <a href="single-product.html#" class="details"><i class="pe-7s-search"></i></a> --> </div> <div class="previews"> <div id="thumbs_list"> <div class="box-content"> <?php if ($product->image1 != NULL) : ?> <a href="#" class="elevatezoom-gallery active" data-update="" data-image="<?= base_url() . 'uploads/product/large/'. $product->image1; ?>" data-zoom-image="<?= base_url() . 'uploads/product/'. $product->image1; ?>"> <img style="width: 80px; height:auto;" src="<?= base_url() . 'uploads/product/thumbnail/'. $product->image1; ?>" /></a> <?php endif; ?> <?php if ($product->image2 != NULL) : ?> <a href="#" class="elevatezoom-gallery active" data-update="" data-image="<?= base_url() . 'uploads/product/large/'. $product->image2; ?>" data-zoom-image="<?= base_url() . 'uploads/product/'. $product->image2; ?>"> <img style="width: 80px; height:auto;" src="<?= base_url() . 'uploads/product/thumbnail/'. $product->image2; ?>" /></a> <?php endif; ?> <?php if ($product->image3 != NULL) : ?> <a href="#" class="elevatezoom-gallery active" data-update="" data-image="<?= base_url() . 'uploads/product/large/'. $product->image3; ?>" data-zoom-image="<?= base_url() . 'uploads/product/'. $product->image3; ?>"> <img style="width: 80px; height:auto;" src="<?= base_url() . 'uploads/product/thumbnail/'. $product->image3; ?>" /></a> <?php endif; ?> <?php if ($product->image4 != NULL) : ?> <a href="#" class="elevatezoom-gallery active" data-update="" data-image="<?= base_url() . 'uploads/product/large/'. $product->image4; ?>" data-zoom-image="<?= base_url() . 'uploads/product/'. $product->image4; ?>"> <img style="width: 80px; height:auto;" src="<?= base_url() . 'uploads/product/thumbnail/'. $product->image4; ?>" /></a> <?php endif; ?> <?php if ($product->image5 != NULL) : ?> <a href="#" class="elevatezoom-gallery active" data-update="" data-image="<?= base_url() . 'uploads/product/large/'. $product->image5; ?>" data-zoom-image="<?= base_url() . 'uploads/product/'. $product->image5; ?>"> <img style="width: 80px; height:auto;" src="<?= base_url() . 'uploads/product/thumbnail/'. $product->image5; ?>" /></a> <?php endif; ?> </div> </div> </div> </div> </div> </div> </div> <div class="col-md-6"> <nav class="breadcrumb"> <a href="<?= base_url(); ?>" title="return to Home">Home</a> <i class="fa fa-angle-right"></i> <?php if (isset($category_alias)) : ?> <a href="<?= base_url() . 'category/' . $category_alias; ?>"><?= ucwords($category_alias); ?></a> <i class="fa fa-angle-right"></i> <?php endif; ?> <span style="text-transform: uppercase;"><?= ucwords($product->title); ?></span> </nav> <!-- /.breadcrumb --> <div class="summary"> <h2 class="product-name"><?= ucwords($product->title); ?></h2> <div class="price" style="color:grey;"> <?php if ($product->discount_price != 0): ?> <span class="amount" style="font-size:80%;">IDR <?= number_format($product->discount_price); ?></span> <del><span class="amount" style="font-size:60%;">IDR <?= number_format($product->price); ?></span></del> <?php else : ?> <span class="amount" style="font-size:80%;">IDR <?= number_format($product->price); ?></span> <?php endif; ?> </div> <div class="short-desc"> <?= ucfirst($product->description); ?> </div> <div class="product-action"> <div class="clearfix"> <form action="<?= base_url('cart/add'); ?>" method="post"> <!-- hidden datas --> <p class="hidden"> <input type="hidden" name="product_id" value="<?= $product->id_products; ?>"> <input type="hidden" name="product_name" value="<?= $product->title; ?>"> <?php if ((int) $product->discount_price != 0): ?> <input type="hidden" name="price" value="<?= $product->discount_price; ?>"> <?php else : ?> <input type="hidden" name="price" value="<?= $product->price; ?>"> <?php endif ?> </p> <?php //check the stock. if no stock at all, display not stock. $this->db->select('stock')->from('stocks')->where('product_id', $product->id_products)->where('stock !=', 0); $count_product_stock = $this->db->get()->num_rows(); ?> <?php if ($count_product_stock != 0): ?> <p><span style="float:left; position:relative; top:3px; font-size:15px; margin-right:10px; ">Select Size:</span></p> <select name="product_size" style="width:120px; font-size: 15px;"> <?php foreach ($size_details as $size) : ?> <option value="<?= $size->product_size; ?>"><?= strtoupper($size->product_size); ?></option> <?php endforeach; ?> </select> <p><?= $this->session->flashdata('no_stock'); ?></p><br> <div class="quantity"> <button class="minus-btn"><i class="fa fa-minus"></i></button> <input type="text" value="1" name="qty"/> <button class="plus-btn"><i class="fa fa-plus"></i></button> </div> <button type="submit" class="add-to-cart-btn">ADD TO CART</button> </div> <!-- <a href="single-product.html#" class="wishlist-link"><i class="pe-7s-like"></i>ADD TO WISHLIST</a> --> <?php else : ?> Product out of stock <?php endif; ?> </form> </div> <br><br> <div class="share-this"> <div class="addsharethisinner"> <span class="st_twitter_hcount sharebtn" displayText="Tweet"></span> <span class="st_googleplus_hcount" displayText="Google +"></span> <span class="st_pinterest_hcount sharebtn" displayText="Pinterest"></span> <span class="st_facebook_hcount sharebtn" displayText="Facebook"></span> </div> <script type="text/javascript">/* <![CDATA[ */$(function(){$(".addsharethis").addClass("loader");$(window).load(function(){$(".addsharethis").removeClass("loader");$(".addsharethisinner").show(400);});});$(function(){$(".addsharethis .sharebtn").click(function(){$(this).find("img").show("medium");})});/* ]]> */</script><script type="text/javascript">/* <![CDATA[ */var switchTo5x=true;/* ]]> */</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js">/* <![CDATA[ *//* ]]> */</script><script type="text/javascript">/* <![CDATA[ */stLight.options({publisher:"ea22d519-9f98-4018-99a9-5b5f1b100fa8",doNotHash:false,doNotCopy:false,hashAddressBar:false});/* ]]> */</script> </div> </div> </div> </div> <!-- /.product-tabs --> </div> <!-- /.product --> </div> <!-- /.main-content --> </div> </div> <!-- /.main -->