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

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <?php include "app_top.php"; ?>
</head>

<body>

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


    <div class="heading_banner" style="background-image: url(<?=site_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"><?=$page_metatitle;?></h1>
                    <div class="clearfix"></div>
                    <div class="cat_title2">We Are Available For You</div>
                </div>
            </div>
        </div>
    </div>


    <div class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url;?>" title="Home">Home</a></li>
                        <li class="active">Sitemap</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <div class="sitemap_page">
        <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><a href="<?=site_url;?>/infrastructure-photos.htm">Infrastructure Photos</a></li>
                                    
                                </li>

                                <?php $sql=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='1' AND 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' AND status='Y' order by catOrder");
                                $num11 = mysqli_num_rows($sql_sub);
                             
                                ?>
                                <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_sub)){
                                            $catID1=$sub_res['catID'];
                                            $sql_sub1=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='$catID1' AND status='Y' order by catOrder");                                           
                                            ?>
                                        <li>
                                            <a href="<?= site_url; ?>/<?= getValidFileName($sub_res['catName']); ?>.htm" title="<?php echo $sub_res['displayName']; ?>"><?php echo $sub_res['displayName']; ?></a>
                                            <ul >
                                        <?php while($sub_res1=mysqli_fetch_array($sql_sub1)){ ?>
                                        <li>
                                            <a href="<?= site_url; ?>/<?= getValidFileName($sub_res1['catName']); ?>.htm" title="<?php echo $sub_res1['displayName']; ?>"><?php echo $sub_res1['displayName']; ?></a>
                                        </li>
                                    <?php } ?>
                                   </ul>
                                        </li>
                                    <?php } ?>
                                   </ul>
                                </li>
                                <?php } ?>

                                <!-- <li><a href="<?= site_url; ?>/awards-achivements.htm" title="Awards Achivements">Awards Achivements</a></li> -->
                               
                                <!-- <li>
                                    <a href="<?= site_url; ?>/gallery.htm" title="Gallery">Gallery</a>
                                    <ul>
                                        <li><a href="<?= site_url; ?>/gallery.htm" title="Photo Gallery">Photo Gallery</a></li>
                                        <li><a href="<?= site_url; ?>/video-gallery.htm" title="Video Gallery">Video Gallery</a></li>
                                    </ul>
                                </li> -->
                                <li><a href="<?= site_url; ?>/clients.htm" title="Clientele">Clientele</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>
                                <li><a href="<?= site_url; ?>/market-area.htm" title="Market Area">Market Area</a></li>
                            </ul>
                        </div>
                    </div>
                </div>

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



    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>