<?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 http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Sitemap</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <?php include "app_top.php"; ?>
</head>

<body>

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

    <section 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">Sitemap</h1>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </section>

    <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>


    <section class="sitemap_page">
        <div class="container">
            <h2 class="title_2">Sitemap <div class="line"></div> </h2>
            <div class="clearfix"></div>
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="sitemap_right_side">
                        <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 $sql_foot= mysqli_query($GLOBALS['dbconn'],"select * from category_tbl where parentID='0' and status='Y' order by catOrder");
                                 while($res_site=mysqli_fetch_array($sql_foot)){
                                   $category_ID =$res_site['catID'];
                                   $sql_foot_sub= mysqli_query($GLOBALS['dbconn'],"select * from category_tbl where parentID='$res_site[catID]' and status='Y' order by catOrder");   ?>
                                <li><a href="javascript:void(0)" title="<?php echo $res_site['displayName'];?>"><?php echo $res_site['displayName'];?></a>
                                    <ul>
                                    <?php  while($res_site_sub=mysqli_fetch_array($sql_foot_sub)){
                                        $category_ID =$res_site_sub['catID'];
                                        $sql_foot_subsub= mysqli_query($GLOBALS['dbconn'],"select * from category_tbl where parentID='$category_ID' and status='Y' order by catOrder"); 
                                        ?>
                                        <li><a href="<?=site_url;?>/<?=getValidFileName($res_site_sub['catName']);?>.htm" title="<?php echo $res_site_sub['displayName'];?>"><?php echo $res_site_sub['displayName'];?></a>
                                        <ul>
                                    <?php  while($res_site_subsub=mysqli_fetch_array($sql_foot_subsub)){
                                        
                                        ?>
                                        <li><a href="<?=site_url;?>/<?=getValidFileName($res_site_subsub['catName']);?>.htm" title="<?php echo $res_site_subsub['displayName'];?>"><?php echo $res_site_subsub['displayName'];?></a></li>
                                      <?php } ?>
                                    </ul>
                                    
                                    </li>
                                      <?php } ?>
                                    </ul>
                                </li>
                                <?php } ?>
                           
                            <li><a href="<?=site_url;?>/certifications.htm" title="Certifications">Certifications</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>
    </section>


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

</html>