MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.140.196.5
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/aviorinternational.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/aviorinternational.com/header.php
    <link rel="icon" type="image/x-icon" href="img/avier-logo.png">
<header id="header">
    <?php 
            include_once ('admin/config.php');
            $sql = "SELECT * FROM `tb1_admin`";
            $run = mysqli_query($db,$sql) or die("Query Not run");
            $data = mysqli_fetch_assoc($run)
                
        ?>
            <nav style="background-color: #7795c9;" class="header-nav">
                <div class="container">
                    <!--<div class="mobile_links-wrapper">-->
                    <!--    <div id="mobile_links" class="dropdown js-dropdown hidden-md-up">-->
                    <!--        <span class="expand-more" ><i class="fa fa-user"></i>My account<i-->
                    <!--                class="fa fa-caret-down"></i></span>-->
                            
                    <!--    </div>-->
                    <!--</div>-->
                    <div id="header_links" class="hidden-sm-down">
                        <ul>
                            <li>
                                <a href="mailto:<?php echo $data['admin_email']?>" title="My Account" rel="nofollow"><i class="fa fa-user"></i> Email:- <?php echo $data['admin_email']?></a>
                            </li>
                            <li>
                                <a href="tel:<?php echo $data['admin_phone']?>" title="Log in to your customer account" rel="nofollow">
                                    <i class="fa fa-user"></i>
                                    <span>Phone:- <?php echo $data['admin_phone']?></span>
                                </a>
                            </li>
                        </ul>
                    </div>

                </div>
            </nav>
            <div class="header-top">
                <div class="container">
                    <div class="logo_header">
                        <a href="index.html">
                            <img class="img-responsive logo" src="img/<?php echo $data['logo']?>" alt="<?php echo $data['admin_name']?>">
                        </a>
                    </div>
                    <div id="sticky_top">
                        
                        <!-- block seach mobile -->
                        <!-- Block search module TOP -->
                        <!--<div id="search_block_top" class="dropdown js-dropdown">-->
                        <!--    <div class="current fa fa-search expand-more" data-toggle="dropdown"></div>-->
                        <!--    <div class="dropdown-menu">-->
                        <!--        <div class="field-search">-->
                        <!--            <form method="get" action="#" id="searchbox">-->
                        <!--                <input type="hidden" name="controller" value="search" />-->
                        <!--                <input type="hidden" name="orderby" value="position" />-->
                        <!--                <input type="hidden" name="orderway" value="desc" />-->
                        <!--                <input class="search_query" type="text" id="search_query_top"-->
                        <!--                    name="search_query" value="" placeholder="Search..." />-->
                        <!--                <button type="submit" name="submit_search" class="btn button-search">-->
                        <!--                    <span class="icon-search"></span>-->
                        <!--                </button>-->
                        <!--            </form>-->
                        <!--        </div>-->
                        <!--    </div>-->
                        <!--</div>-->
                        <script type="text/javascript">
                            $(document).ready(function () {
                                var $searchWidget = $('#search_widget');
                                var $searchBox = $('#search_query_top');
                                var searchURL = search_url;
                                $.widget('prestashop.psBlockSearchAutocomplete', $.ui.autocomplete, {
                                    delay: 0,
                                    _renderItem: function (ul, product) {
                                        return $("<li>")
                                            .append($("<a>")
                                                .append($("<span class='left-search-ajax'>").html('<img src="' + product.images[0].bySize.small_default.url + '">'))
                                                .append($("<span class='right-search-ajax'>").html('<span class="search-name-ajax">' + product.name + '</span><span class="price-search-ajax">' + (product.regular_price != product.price ? '<span class="price-regular-ajax">' + product.regular_price + '</span>' : '') + '<span class="price-ajax">' + product.price + '</span></span>'))
                                            ).appendTo(ul)
                                            ;
                                    }
                                });
                                $searchBox.psBlockSearchAutocomplete({
                                    delay: 0,
                                    source: function (query, response) {
                                        $.get(searchURL, {
                                            s: query.term,
                                            category_filter: $("#category_filter").val(),
                                            resultsPerPage: 20
                                        }, null, 'json')
                                            .then(function (resp) {
                                                response(resp.products);
                                            })
                                            .fail(response);
                                    },
                                    select: function (event, ui) {
                                        var url = ui.item.url;
                                        window.location.href = url;
                                    },
                                });
                            });
                        </script>
                        <!-- /Block search module TOP -->

                    </div>
                    <!-- MEGAMENU -->
                    <div id="header_menu" class="visible-lg visible-md">
                        <div class="container">
                            <div class="row">
                                <nav id="fieldmegamenu-main" class="fieldmegamenu inactive">
                                    <ul>
                                        <li class="root root-1 ">
                                            <div class="root-item no-description">
                                                <a href="index.html">
                                                    <div class="title title_font"><span
                                                            class="fa menu-home"></span><span
                                                            class="title-text">HOME</span></div>
                                                </a>
                                            </div>
                                        </li>
                                        
                                        <li class="root root-3 ">
                                            <div class="root-item no-description">
                                            <div class="title title_font"><span
                                                            class="title-text">Products</span><span
                                                            class="icon-has-sub fa fa-angle-down"></span></div> 
                                            </div>
                                            <ul class="menu-items col-md-12 col-xs-12">
                                                <?php 
                                                    include_once('admin/config.php');
                                                    // $aid = $_GET['id'];
                                                    $sql1 = "SELECT * FROM `tb5_product_cat`";
                                                    $run1 = mysqli_query($db,$sql1) or die("Query Not run");
                                                    while($data1 = mysqli_fetch_assoc($run1)){
                                                        if(mysqli_num_rows($run1) > 0){
                                                ?>
                                                <li class="menu-item menu-item-88 depth-1   ">
                                                    <div class="title title_font">
                                                        <a href="#">
                                                            <!--carpet-page.php-->
                                                            <?php echo $data1['c_name']?>
                                                        </a>
                                                    </div>
                                                    <ul class="submenu submenu-depth-2">
                                                        <?php 
                                                            include_once('admin/config.php');
                                                            $aid = $data1['c_id'];
                                                            $sql2 = "SELECT * FROM `tb5_product_sub_cat` WHERE main_cat = '$aid'";
                                                            $run2 = mysqli_query($db,$sql2) or die("Query Not run");
                                                            while($data2 = mysqli_fetch_assoc($run2)){
                                                                if(mysqli_num_rows($run2) > 0){
                                                        ?>
                                                        <li class="menu-item menu-item-89 depth-2 category   ">
                                                            <div class="title">
                                                                <a href="products-page.php?id=<?php echo $data2['s_id']?>">
                                                                    <?php echo $data2['name']?>
                                                                </a>
                                                            </div>
                                                        </li>
                                                        <?php }} ?>
                                                        <!--<li class="menu-item menu-item-90 depth-2 category   ">-->
                                                        <!--    <div class="title">-->
                                                        <!--        <a href="carpet-page.php">-->
                                                        <!--        Carpet B-->
                                                        <!--        </a>-->
                                                        <!--    </div>-->
                                                        <!--</li>-->
                                                        <!--<li class="menu-item menu-item-89 depth-2 category   ">-->
                                                        <!--    <div class="title">-->
                                                        <!--        <a href="carpet-page.php">-->
                                                        <!--            Carpet C-->
                                                        <!--        </a>-->
                                                        <!--    </div>-->
                                                        <!--</li>-->
                                                    </ul>
                                                </li>
                                                <?php }} ?>
                                               
                                            </ul>
                                        </li>
                                        
                                        <li class="root root-5 ">
                                            <div class="root-item no-description">
                                                <a href="all-blogs-page.html">
                                                    <div class="title title_font"><span class="title-text">blog</span>
                                                    </div>
                                                </a>
                                            </div>
                                        </li>
                                        <li class="root root-6 ">
                                            <div class="root-item no-description">
                                                <a href="about-us.html">
                                                    <div class="title title_font"><span class="title-text">about
                                                            us</span></div>
                                                </a>
                                            </div>
                                        </li>
                                        <li class="root root-7 ">
                                            <div class="root-item no-description">
                                                <a href="contact-us.html">
                                                    <div class="title title_font"><span class="title-text">contact
                                                            us</span></div>
                                                </a>
                                            </div>
                                        </li>

                                    </ul>

                                </nav>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </header>
        <div id="header_mobile_menu" class="navbar-inactive visible-sm visible-xs">
            <div class="container">
                <div class="fieldmm-nav col-sm-12 col-xs-12">
                    <span class="brand">Menu list</span>
                    <span id="fieldmm-button"><i class="fa fa-reorder"></i></span>
                    <nav id="fieldmegamenu-mobile" class="fieldmegamenu inactive">
                        <ul>
                            <li class="root root-1 ">
                                <div class="root-item no-description">
                                    <a href="index.html">
                                        <div class="title title_font">
                                            <span class="fa menu-home"></span>
                                            <span class="title-text">HOME</span>
                                        </div>
                                    </a>
                                </div>
                            </li>
                            <li class="root root-2 menu-women">
                                <div class="root-item no-description">
                                    <div class="title title_font"><span class="title-text">Products</span>
                                        <span class="icon-has-sub fa-solid fa-caret-down"></span>
                                    </div>
                                </div>
                                <ul class="menu-items col-md-12 col-xs-12">
                                    <?php 
                                        include_once('admin/config.php');
                                        // $aid = $_GET['id'];
                                        $sql31 = "SELECT * FROM `tb5_product_cat`";
                                        $run31 = mysqli_query($db,$sql31) or die("Query Not run");
                                        while($data31 = mysqli_fetch_assoc($run31)){
                                            if(mysqli_num_rows($run31) > 0){
                                    ?>
                                    <li class=" menu-item-68  category menucol-1-4  ">
                                        <div class="title title_font">
                                            <a  href="category-page.php?id=<?php echo $data31['c_id']?>">
                                              <b style="font-weight:900"><?php echo $data31['c_name']?></b>  
                                            </a>
                                        </div>
                                        
                                    </li>
                                    <?php }} ?>
                                </ul>
                            </li>


                            <li class="root root-5 ">
                                <div class="root-item no-description">
                                    <a href="all-blogs-page.html">
                                        <div class="title title_font"><span class="title-text">blog</span></div>
                                    </a>
                                </div>
                            </li>
                            <li class="root root-6 ">
                                <div class="root-item no-description">
                                    <a href="about-us.html">
                                        <div class="title title_font"><span class="title-text">about us</span></div>
                                    </a>
                                </div>
                            </li>
                            <li class="root root-6 ">
                                <div class="root-item no-description">
                                    <a href="contact-us.html">
                                        <div class="title title_font"><span class="title-text">contact us</span></div>
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </nav>
                </div>
            </div>
        </div>
        <!--END MEGAMENU -->

MMCT - 2023