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/kokohpondasi.co.id/public_html/application/views/ajax/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/kokohpondasi.co.id/public_html/application/views/ajax/ajax_project.php
<?php 

$products = $this->db->select('*')->from('products')->where('id_products',$id)->where('product_status',1)->order_by('priority','ASC')->get()->result();
?>

<div class="gallery">

    <?php foreach ($products as $produk) : ?>

        <?php if (empty($produk->image1) && empty($produk->image2) && empty($produk->image3) && empty($produk->image4) && empty($produk->image5) && empty($produk->image6) ): ?>
        
            <a href="<?=base_url('uploads/nonavailable.jpg')?>" id="gambar" class="big"><img src=""></a>
      
        <?php endif ?>

        <?php if(!empty($produk->image1)) : ?>
            <a href="<?=base_url('uploads/product/'.$produk->image1)?>" id="gambar1" class="big"><img src=""></a>
        <?php endif ?>

        <?php if(!empty($produk->image2)) : ?>
            <a href="<?=base_url('uploads/product/'.$produk->image2)?>" id="gambar2" class="big"><img src=""></a>
        <?php endif ?>

        <?php if(!empty($produk->image3)) : ?>
            <a href="<?=base_url('uploads/product/'.$produk->image3)?>" id="gambar3" class="big"><img src=""></a>
        <?php endif ?>

        <?php if(!empty($produk->image4)) : ?>
            <a href="<?=base_url('uploads/product/'.$produk->image4)?>" id="gambar4" class="big"><img src=""></a>
        <?php endif ?>

        <?php if(!empty($produk->image5)) : ?>
            <a href="<?=base_url('uploads/product/'.$produk->image5)?>" id="gambar5" class="big"><img src=""></a>
        <?php endif ?>

        <?php if(!empty($produk->image6)) : ?>
            <a href="<?=base_url('uploads/product/'.$produk->image6)?>" id="gambar6" class="big"><img src=""></a>
        <?php endif ?>

    <?php endforeach ?>
</div>
<div class="gallery2" style="display: none;">
    <a href="<?= base_url('uploads/product/'. $product->image1)?>" id="gambar2" class="big"><img src=""></a>
    <a href="<?= base_url('uploads/product/'. $product->image2)?>" id="gambar3" class=""><img src=""></a>
    <a href="<?= base_url('uploads/product/'. $product->image3)?>" id="gambar4" class=""><img src=""></a>
    <a href="<?= base_url('uploads/product/'. $product->image4)?>" id="gambar5" class=""><img src=""></a>
</div>

  <script type="text/javascript">
         jQuery(window).on('load', function() {
                    jQuery("div.pack").pack();
              });

             function test(){

                var ss = jQuery('.gallery a').simpleLightbox({'showCounter':false});
                        ss.destroy();
                        ss.open();
            }
                       
        </script>
        <script>
            jQuery('.gallery a').simpleLightbox({'enableKeyboard':true});
        </script>

https://t.me/RX1948 - 2025