<?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);

?>

<a href="#" id="web-pulse-scroll-up" title="Go to Top">

    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-up-short" viewBox="0 0 16 16">

        <path fill-rule="evenodd" d="M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5" />

    </svg>

</a>



<header class="header">

    <div class="topbar mobile_hide">

        <div class="container-fluid px-md-5">

            <div class="row align-items-center">

                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-7">

                    <div class="logo"><a href="<?= site_url; ?>" title="<?= $admin_res['companyName']; ?>"><img src="<?= site_url; ?>/designer/images/logo.png" alt="<?= $admin_res['companyName']; ?>" title="<?= $admin_res['companyName']; ?>"></a></div>

                </div>

                <div class="col-xxl-8 col-xl-8 col-lg-8 col-md-6 col-5">

                    <div class="top_right">

                        <div class="call-now">

                            <div class="img-bx">

                                <img src="<?= site_url; ?>/designer/images/icon/icon-location.svg" alt="<?= $admin_res['companyName']; ?>" title="<?= $admin_res['companyName']; ?>">

                            </div>

                            <div class="con-bx">

                                <span>F-302, A-8, Priyadarshini Vihar,</span>

                                <span>

                                    <p>East Delhi, India</p>

                                </span>

                            </div>

                        </div>

                        <div class="call-now">

                            <div class="img-bx">

                                <img src="<?= site_url; ?>/designer/images/icon/icon-headphone.svg" alt="<?= $admin_res['companyName']; ?>" title="<?= $admin_res['companyName']; ?>">

                            </div>

                            <div class="con-bx">

                                <span>Call Us Anytime [at]:</span>

                                <span><a href="tel:<?= $admin_res['mobile']; ?>" title="Call Us"><?= $admin_res['mobile']; ?>

                                    </a></span>

                            </div>

                        </div>

                        <div class="bookNow">

                            <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#myModal" title="Get a Quote">Get a Quote &nbsp;<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right-circle" viewBox="0 0 16 16">

                                    <path fill-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8m15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0M4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5z" />

                                </svg></a>

                        </div>

                    </div>

                </div>

            </div>

        </div>

    </div>



    <div class="menubar">

        <div class="container-fluid px-md-5">

            <div class="row g-0">

                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-12">

                    <div class="navigation">

                        <div class="navbar">

                            <div class="logo"><a href="<?= site_url; ?>" title="<?= $admin_res['companyName']; ?>"><img src="<?= site_url; ?>/designer/images/logo.png" alt="<?= $admin_res['companyName']; ?>" title="<?= $admin_res['companyName']; ?>"></a></div>

                            <button>

                                <span></span>

                                <span></span>

                                <span></span>

                                <span></span>

                            </button>

                        </div>

                        <div class="menu main_header">

                            <ul class="nav">

                                <li class="<?= $hover == 'home' ? 'active' : ''; ?>"><a href="<?= site_url; ?>" title="Home">Home</a></li>

                                <li class="<?= $hover == 'about' ? 'active' : ''; ?>"><a href="<?= site_url; ?>/about-us.htm" title="About Us">About Us</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");

                                    $count1 = mysqli_num_rows($sql_sub);

                                    $class = ($count1 > 0) ? 'class="cs-submenu"' : '';

                                ?>

                                    <li class="cs-submenu <?= $hover == $catID ? 'active' : ''; ?>"><a href="javascript:void(0);"> <?php echo $res['displayName']; ?></a>

                                        <ul class="cs-dropdown">

                                            <?php while ($sub_res = mysqli_fetch_array($sql_sub)) {

                                                $catID1 = $sub_res['catID'];

                                                $sql_subsub = mysqli_query($GLOBALS['dbconn'], "select displayName, catName, catID, parentID from category_tbl where parentID='$catID1' && status='Y' order by catOrder");

                                                $count1 = mysqli_num_rows($sql_subsub);

                                                $class1 = ($count1 > 0) ? 'class="cs-submenu"' : '';

                                            ?>



                                                <li <?= $class1; ?>>

                                                    <a href="<?= site_url; ?>/<?= getValidFileName($ca_nam1); ?>/<?= getValidFileName($sub_res['catName']); ?>.htm"

                                                        title="<?php echo $sub_res['displayName']; ?>"><?php echo $sub_res['displayName']; ?></a>

                                                    <ul class="cs-dropdown">

                                                        <?php while ($subsub_res = mysqli_fetch_array($sql_subsub)) { ?>

                                                            <li> <a href="<?= site_url; ?>/<?= getValidFileName($ca_nam1); ?>/<?= getValidFileName($subsub_res['catName']); ?>.htm" title="<?php echo $subsub_res['displayName']; ?>"><?php echo $subsub_res['displayName']; ?></a></li>

                                                        <?php } ?>

                                                    </ul>

                                                </li>



                                            <?php } ?>

                                        </ul>

                                    </li>

                                <?php } ?>
                                <li class="<?= $hover == 'gallery' ? 'active' : ''; ?>"><a href="<?= site_url; ?>/gallery.htm" title="Gallery">Gallery</a></li>
                                <li class="<?= $hover == 'blog' ? 'active' : ''; ?>"><a href="<?= site_url; ?>/blog.htm" title="Blogs">Blogs</a></li>
                                <li class="<?= $hover == 'contact' ? 'active' : ''; ?>"><a href="<?= site_url; ?>/contact-us.htm" title="Contact Us">Contact Us</a></li>

                            </ul>

                        </div>

                        <form action="<?= site_url; ?>/search.htm" class="search_bx mobile_hide">

                            <input class="form-control" type="text" name="keyword" placeholder="I am looking for..." required="">

                            <button>

                                <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" x="0px" y="0px" width="100" height="100" viewBox="0 0 50 50">

                                    <path d="M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z">

                                    </path>

                                </svg>

                            </button>

                        </form>

                    </div>

                </div>

            </div>

        </div>

    </div>

</header>