<?php 
include_once("include/main.inc.php");
$page_metatitle = "Sitemap- ".COMPANY_NAME;
$page_metadesc = "Sitemap- ".COMPANY_NAME;
$page_metakey ="Sitemap- ".COMPANY_NAME;
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
   
    <?php include "top_header.php"; ?>
</head>

<body>

    <?php include "header.php"; ?>


    <section class="heading_banner" style="background-image: url(designer/images/sitemap-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title">Sitemap</h1>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </section>


    <!-- Breadcrumb--->
    <section class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <ul class="breadcrumb">
                        <li><a href="index.php" title="Home">Home</a></li>
                        <li class="active">Sitemap</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>


    <!-- Home About--->
    <section class="sitemap_page py-5">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                <h2 class="title_2_2">Sitemap</h2>
                    <div class="sitemap_right_side">
                        
                        <div class="wps_right">
                            <ul class="sitemap">
                            <li><a href="<?=site_url;?>" title="Home">Home</a></li>
                                <li><a href="<?=site_url;?>/about-us.htm" title="About Us">About Us</a></li>
                                <?php $sql1=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='0'  && status='Y' && catID!='9' order by catOrder");
                                while($res=mysqli_fetch_array($sql1)){
                                 $catID=$res['catID'];
                                $sql_sub1=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='$catID' && status='Y' order by catOrder");
                               
                                ?>
                                <li><a href="<?=site_url;?>/<?=getValidFileName($res['catName']);?>.htm" title="<?php echo $res['displayName']; ?>"><?php echo $res['displayName']; ?></a>
                                    <ul>
                                    <?php while($sub_res=mysqli_fetch_array($sql_sub1)){ ?>  
                                        <li><a href="<?=site_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;?>/packages.htm" title="Packages">Packages </a></li>
                                <li><a href="<?=site_url;?>/blog.htm" title="Blog">Blog</a></li>
                                <?php $sql2=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='0'  &&  status='Y' && catID='9' order by catOrder");
                                while($res=mysqli_fetch_array($sql2)){
                                 $catID=$res['catID'];
                                $sql_sub2=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='$catID' && status='Y' order by catOrder");
                                
                                ?>
                               <li><a href="javascript:void();" title="<?php echo $res['displayName']; ?>"><?php echo $res['displayName']; ?></a>
                                    <ul class="cs-dropdown">
                                    <?php while($sub_res=mysqli_fetch_array($sql_sub2)){ ?> 
                                        <li><a href="<?=site_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;?>/contact-us.htm" title="Contact Us">Contact Us</a></li>
                            </ul>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </section>



    <?php include "footer.php";?>
    <?php include "bottom_footer.php";?>
</body>

</html>