MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.82.128
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/nbms.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/nbms.in/sitemap.php
<?php include_once('admin/config.php'); ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sitemap | Nand Kishore Building Maintenance Services</title>
    <meta name="description" content="Sitemap | Nand Kishore Building Maintenance Services">
    <?php include 'top-link.php';?>
    <style>
    #loc {
        background-color: #EBE3D5;
    }

    #loc h2 span {
        color: #ea622b;
    }

    .loc-inner ul li {
        list-style: none;
        margin-bottom: 8px;
    }

    .loc-inner ul li a {
        text-decoration: none;
        color: #141414;
    }


    .loc-inner ul li:hover {
        transform: translateX(8px);
        transition: 0.4s ease-in-out;
    }


    .loc-inner ul li:hover a {
        color: #ea622b;

    }
</style>
</head>
<body>
<?php include 'header.php';?>
    <!-- breadcrumb area -->
    <div class="breadcrumb-area breadcrumb-padding bg-img" style="background-image:url(<?php echo $wspath?>assets/images/bg/bg-3.jpg)">
        <div class="container">
            <div class="breadcrumb-content text-center">
                <h1 style="color:white;">Sitemap</h1>
                <ul>
                    <li><a href="<?php echo $wspath?>">Home</a></li>
                    <li><i class="fa fa-angle-right"></i></li>
                    <li>Sitemap</li>
                </ul>
            </div>
        </div>
    </div>
     <!-- About area -->
   <section id="loc" class="pb-2">
     <div class="container py-5">
        <div class="row" id="locationContainer">
            <h2 class="text-center py-5">Important <span> Links</span></h2>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $wspath?>"><i class="fa fa-caret-right" aria-hidden="true"></i> Home</a></li>
                        
                    </ul>
                </div>
            </div>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $wspath?>about.html"><i class="fa fa-caret-right" aria-hidden="true"></i> About</a></li>
                        
                    </ul>
                </div>
            </div>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $wspath?>gallery.html"><i class="fa fa-caret-right" aria-hidden="true"></i> Gallery</a></li>
                        
                    </ul>
                </div>
            </div>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $wspath?>contact.html"><i class="fa fa-caret-right" aria-hidden="true"></i> Contact Us</a></li>
                        
                    </ul>
                </div>
            </div>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $wspath?>policies.html"><i class="fa fa-caret-right" aria-hidden="true"></i> Policies</a></li>
                        
                    </ul>
                </div>
            </div>
    
            <h2 class="text-center py-5">Our <span> Products</span></h2>
            <?php
                   $sqlci = "SELECT * FROM `tbl_services`";
                   $runci = mysqli_query($db, $sqlci) or die("Query Not run");
                   while ($dataci = mysqli_fetch_assoc($runci)) {
                   $serviceUrl = $wspath ;
                   if (isset($_REQUEST['loc_slug'])) {
                       $loc_slug = htmlspecialchars($_REQUEST['loc_slug']);
                       $serviceUrl .=  $loc_slug. '/';
                   }
                   
                   $serviceUrl .= '' . $dataci['url_link'] . '.html';
            ?>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $serviceUrl; ?>"><i class="fa fa-caret-right" aria-hidden="true"></i> <?php echo $dataci['property_name']?></a></li>
                    </ul>
                </div>
            </div>
            <?php
              }
            ?>
            <h2 class="text-center py-5">Location <span> We Cover</span></h2>
            <?php
                $sqlci = "SELECT * FROM `tbl_location`";
                $runci = mysqli_query($db, $sqlci) or die("Query Not run");
                while ($dataloc = mysqli_fetch_assoc($runci)) {
            ?>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $wspath ?><?php echo $dataloc['loc_slug']; ?>"><i class="fa fa-caret-right" aria-hidden="true"></i> <?php echo $dataloc['loc_name'] ?></a></li>
                    </ul>
                </div>
            </div>
            <?php
              }
            ?>
            <h2 class="text-center py-5">Location Wise<span> Products</span></h2>
            <?php
                $sqllocc = "SELECT * FROM `tbl_location`";
                $runlocc = mysqli_query($db, $sqllocc) or die("Query Not run");
                while ($datalocc = mysqli_fetch_assoc($runlocc)) {
                $sqlci = "SELECT * FROM `tbl_services`";
                $runci = mysqli_query($db, $sqlci) or die("Query Not run");
                while ($dataci = mysqli_fetch_assoc($runci)) {
            ?>
            <div class="col-lg-3 text-start">
                <div class="loc-inner">
                    <ul>
                        <li><a href="<?php echo $wspath ?><?php echo $datalocc['loc_slug']; ?>/<?php echo $dataci['url_link']; ?>.html"><i class="fa fa-caret-right" aria-hidden="true"></i> <?php echo $dataci['property_name']?> In <?php echo $datalocc['loc_name']; ?></a></li>
                    </ul>
                </div>
            </div>
            <?php
              }
                }
            ?>
        </div>
    </div>
    </section>
    
    <?php include "footer.php";?>

</body>
</html>

MMCT - 2023