<?php include_once("include/main.inc.php");
$about_page = mysqli_query($GLOBALS['dbconn'], "select pageDesc, pageDesc1, pageImage, page_keyword, page_metadesc, page_metatitle,pageTitle from static_pages where pageID='2'");
$about_res = mysqli_fetch_array($about_page);
?>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5989MQM7"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<a href="#" id="scrollUp" title="Go to Top"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
        viewBox="0 0 16 16">
        <path fill-rule="evenodd"
            d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5z">
        </path>
    </svg></a>
<header class="header">
    <div class="container">
        <div class="row">
            <div class="col-xxl-2 col-xl-2 col-lg-2 col-md-2 col-sm-8 col-8">
                <div class="logo">
                    <a href="<?= site_url; ?>" title="<?= $admin_res['companyName']; ?>">
                        <img src="<?= site_url; ?>/designer/images/logo1a.png" alt="<?= $admin_res['companyName']; ?>" title="<?= $admin_res['companyName']; ?>">
                    </a>
                </div>
            </div>
            <div class="col-xxl-10 col-xl-10 col-lg-10 col-md-10 col-sm-4 col-4">
                <div class="navigation">
                    <div class="navbar">
                        <button class="toggle_menu menu_show" title="menubar">
                            <span></span>
                            <span></span>
                            <span></span>
                        </button>
                    </div>
               
                    <div class="menu">
                        <ul class="nav">
                            <li class="<?php if ($hover == 'home') { echo 'active';} ?>"><a href="<?= site_url; ?>" title="Home">Home</a></li>
                            <li><a href="<?= site_url; ?>/about-us.htm" title="Company Profile">Company Profile</a></li>
                            <?php $sql=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='0'  && status='Y' order by catOrder");
                                    while($res=mysqli_fetch_array($sql)){
                                    $catID=$res['catID'];
                                    $sql_sub=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='$catID' && status='Y' order by catOrder");
                                    $num11 = mysqli_num_rows($sql_sub);
                                    ?>

                            <li class="cs-submenu megaui <?php if ($hover == $catID) { echo 'active'; } ?>">
                            <div class="border-0 button-header bg-transparent" title="<?php echo $res['displayName']; ?>">
                                    <?php echo $res['displayName']; ?>
                                    <button class="dropdown-expander"><svg xmlns="http://www.w3.org/2000/svg" width="16"
                                            height="16" fill="currentColor" viewBox="0 0 16 16">
                                            <path fill-rule="evenodd"
                                                d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z">
                                            </path>
                                        </svg></button>
                                    </div>
                                <ul class="cs-dropdown">
                                <?php while($sub_res=mysqli_fetch_array($sql_sub)){  ?>
                                    <li class=""> <a href="<?= site_url; ?>/<?= getValidFileName($loc_url); ?>/<?= getValidFileName($sub_res['catName']); ?>.htm" title="<?php echo $sub_res['displayName']; ?>"><?php echo $sub_res['displayName']; ?></a> </li>
                                    <?php } ?>
                                   


                                </ul>
                            </li>
                            <?php } ?>
                            


                            <li><a href="<?=site_url;?>/project.htm" title="Projects">Projects</a></li>
                            <!-- <li><a href="#" title="Blogs">Gallery</a></li> -->
                            <li><a href="<?=site_url;?>/blog.htm" title="Blogs">Blogs</a></li>
                            <li><a href="<?=site_url;?>/contact-us.htm" title="Contact Us">Contact Us</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>