MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.188.96.17
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/nshomeapplianceservices.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/nshomeapplianceservices.com/sitemap.php
<?php
    include_once('admin/config.php');
    $sqlab = "SELECT * FROM `tbl_about` WHERE a_id=1";
    $runab = mysqli_query($db,$sqlab) or die("Query Not run");
    $datab = mysqli_fetch_assoc($runab);
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <?php include "top-links.php" ?>
    
    <title>Sitemap</title>
    <meta name="description" content="Sitemap">
</head>
<body>

<!--<div class="preloader"><div class="spinner"></div></div>-->

<div class="page-wrapper">
	<?php include "top-header.php" ?>

	<?php include "header.php" ?>
    <div class="inner-banner">
        <div class="container">
            <h1>Sitemap</h1>
            <ul class="breadcumb">
                <li><a href="<?php echo $wspath?>">Home</a></li>
                <li><span class="sep"><i class="fa fa-angle-right"></i></span></li>
                <li><span>Sitemap</span></li>
            </ul>
        </div>
    </div>
    
<div class="sitemap">
    <div class="container mt-5 mb-5">
        <div class="text-center mt-3">
            <h3>
                Useful Links
            </h3>
        </div>
            <div class="row">
                <div class="col-lg-3">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i>  <a href="<?php echo $wspath?>">Home</a>
                </div>
                <div class="col-lg-3">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i>  <a href="<?php echo $wspath?>about.html">About Us</a>
                </div>
                <div class="col-lg-3">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i>  <a href="<?php echo $wspath?>gallery.html">Gallery</a>
                </div>
                <div class="col-lg-3">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i>  <a href="<?php echo $wspath?>contact.html">Contact Us</a>
                </div>
                <div class="col-lg-3">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i>  <a href="<?php echo $wspath?>blog.html">Blogs</a>
                </div>
                <div class="col-lg-3">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i>  <a href="<?php echo $wspath?>sitemap.html">Sitemap</a>
                </div>
            </div>
            
        <div class="text-center mt-3">
            <h3>
                Repairing Services
            </h3>
        </div>
            <div class="row">
                <?php
                    $sqlci = "SELECT * FROM `tbl_services` WHERE cat_id = 2 ORDER BY sr_id DESC";
                    $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">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i> <a href="<?php echo $serviceUrl; ?>"><?= str_replace("LOCATION",$location,$dataci["property_name"]);?></a>
                </div>
                <?php } ?>
            </div>
        <div class="text-center mt-3">
            <h3>
                Rental Services
            </h3>
        </div>
            <div class="row">
                 <?php
                    $sqlci = "SELECT * FROM `tbl_services` WHERE cat_id = 1 ORDER BY sr_id DESC";
                    $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">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i> <a href="<?php echo $serviceUrl; ?>"><?= str_replace("LOCATION",$location,$dataci["property_name"]);?></a>
                </div>
                <?php } ?>
            </div>
            
            <div class="text-center mt-3">
                <h3>
                  Location Area We Covered
                </h3>
            </div>
            <div class="row">
                 <?php
                $sqlloc = "SELECT * FROM `tbl_location`";
                $runloc = mysqli_query($db, $sqlloc) or die("Query Not run");
                while ($dataloc = mysqli_fetch_assoc($runloc)) {
            ?>
                <div class="col-lg-3">
                  <i class="fa fa-fighter-jet" aria-hidden="true"></i> <a href="<?php echo $wspath ?><?php echo $dataloc['loc_slug']; ?>"><?php echo $dataloc['loc_name'] ?></a>
                </div>
                <?php } ?>
            </div>
            
            <div class="text-center mt-3">
                <h3>
                  Services in Location
                </h3>
            </div>
            <?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">
                <i class="fa fa-fighter-jet" aria-hidden="true"></i><a href="<?php echo $wspath ?><?php echo $datalocc['loc_slug']; ?>/<?php echo $dataci['url_link']; ?>.html"> <?php echo $dataci['property_name']?> In <?php echo $datalocc['loc_name']; ?></a>
            </div>
            <?php
              }
                }
            ?>
    </div>
</div>

    <?php include "contact-footer-banner.php" ?>
    
</div>

<?php include "footer.php" ?>

</body>
</html>

MMCT - 2023