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/views/themes/3/ajax/ |
Upload File : |
<div class="shop-product__big-image-gallery-wrapper mb-30"> <div class="shop-product__big-image-gallery-slider"> <?php if(count($product_images) > 0) : ?> <?php $count = 0; ?> <?php foreach ($product_images as $image) : ?> <?php $count++; ?> <!--======= single image =======--> <div class="single-image" data-toggle="modal" data-target="#img_modal_<?= $count; ?>"> <img class="img-fluid" src="<?php if(!empty($image->image)) : ?><?= base_url() . 'uploads/product/large/' . $image->image; ?><?php else : ?><?= base_url() . 'uploads/' . $placeholder_image; ?> <?php endif; ?>"/> </div> <!--======= End of single image =======--> <?php endforeach; ?> <?php else : ?> <div class="single-image"> <img class="img-fluid" src="<?= base_url() . 'uploads/' . $placeholder_image; ?>"/> </div> <?php endif; ?> </div> </div> <div class="shop-product__small-image-gallery-wrapper" style="padding:0px;"> <div class="shop-product__small-image-gallery-slider"> <?php if(count($product_images) > 0) : ?> <?php $count = 0; ?> <?php foreach ($product_images as $image) : ?> <?php $count++; ?> <!--======= single image =======--> <div class="single-image"> <img class="img-fluid" src="<?php if(!empty($image->image)) : ?><?= base_url() . 'uploads/product/large/' . $image->image; ?><?php else : ?><?= base_url() . 'uploads/' . $placeholder_image; ?> <?php endif; ?>"/> </div> <!--======= End of single image =======--> <?php endforeach; ?> <?php else : ?> <div class="single-image"> <img class="img-fluid" src="<?= base_url() . 'uploads/' . $placeholder_image; ?>"/> </div> <?php endif; ?> </div> </div> <?php $count = 0; ?> <?php foreach ($product_images as $image) : ?> <?php $count++; ?> <div class="modal fade" id="img_modal_<?= $count; ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="modal-body"> <img src="<?php if(!empty($image->image)) : ?><?= base_url() . 'uploads/product/' . $image->image; ?><?php else : ?><?= base_url() . 'uploads/' . $placeholder_image; ?><?php endif; ?> " /> </div> </div> </div> </div> <?php endforeach; ?> <?php if (count($product_images) < 5): ?> <style> #productImageContainer .shop-product__small-image-gallery-slider{ /*transform:initial !important;*/ /*display: flex;*/ /*display: inline-flex;*/ } </style> <?php endif; ?>