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/mesinpolesshinemate.com/application/views/admin/products/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/mesinpolesshinemate.com/application/views/admin/products/ajax_add_link_products.php
<br>
<p><strong>LINKED PRODUCTS</strong></p>

<table class="table table-striped">
    <tr>
        <th>Product Name</th>
        <th>Color</th>
        <th>Delete</th>
    </tr>

    <?php
        //get link products data
        $this->db->select('*')->from('product_link')->where('product_id', $current_product_id);
        $link_products = $this->db->get()->result();
    ?>
    <?php foreach( $link_products as $item) : ?>

        <?php
            //get item details
            $this->db->select('title, color_code, id_products')->from('products')->where('id_products', $item->link_to_product_id);
            $link_product_data = $this->db->get()->row();
        ?> 
        <tr>
            <td><?= ucwords($link_product_data->title); ?></td>
            <td><div style="background:<?= $link_product_data->color_code; ?>; width:20px; height:20px;"></div> <?= $link_product_data->color_code; ?></td>
            <td><a href="<?= base_url() . 'admin/products/delete_link_product/' . $item->id_product_link . '/' . $item->product_id; ?>"><i class="fa fa fa-trash-o" aria-hidden="true"></i></a></td>
         </tr>
    <?php endforeach; ?>

</table>


https://t.me/RX1948 - 2025