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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/gudduguesthouse.com/service-detail.php
<?php
    include_once('admin/config.php');
    $cat_url = $_REQUEST['url_link'];
    $querydt="SELECT * FROM `tbl_services` WHERE `url_link`='$cat_url'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
?>
<!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><?= str_replace("LOCATION",$location,$datadt["meta_title"]);?></title>
    <meta name="description" content="<?= str_replace("LOCATION",$location,$datadt["meta_desc"]);?>">
</head>
<body class="_active-preloader-ovh">

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

<?php include "header.php" ?>
    
    <div class="inner-banner">
        <div class="container">
            <h3><?= str_replace("LOCATION",$location,$datadt["property_display_name"]);?></h3>
            <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><?php echo $datadt["property_name"];?></span></li>
            </ul>
        </div>
    </div>
    
    <section class="service-page">
        <div class="container">
            <div class="row">
                <div class="col-md-3 col-sm-12 col-xs-12">
                    <div class="sidebar">
                        <h3>Related Rooms</h3><br>
                        <div class="single-sidebar service-sidebar">
                            <ul class="service-list">
                                    <?php
								        $ids=$datadt['cat_id'];
                                        $sqlci = "SELECT * FROM `tbl_services` WHERE cat_id='$ids'";
                                        $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';
                                    ?>
                               <li><a href="<?php echo $serviceUrl; ?>"><?php echo $dataci['property_name']?></a></li>
                               <?php
                                                }
                                                ?>
                            </ul><!-- /.service-list -->
                        </div><!-- /.single-sidebar service-sidebar -->
                    </div><!-- /.sidebar -->
                </div><!-- /.col-md-3 col-sm-12 col-xs-12 -->
                
                
                
   <div class="content-side right-sidebar col-lg-8 col-md-12 col-sm-12">
					<div class="service-detail">
						<div class="inner-box">
							<div class="image">
								<img src="<?php echo $wspath?>admin/images/<?php echo $datadt['img1'];?>" width="100%" alt="<?php echo $datadt["property_name"];?>" />
							</div>
							<div class="lower-content">
								<h3><?php echo $datadt["property_name"];?></h3>
							        <p>  <?= str_replace("LOCATION",$location,$datadt["property_description"]);?></p>
							        <p>   <?= str_replace("LOCATION",$location,$datadt["benefits"]);?></p>
							        
								<!--<div class="options-outer">-->
									<!--<div class="row clearfix">-->
									<!--	<div class="column col-lg-6 col-mg-12 col-sm-12">-->
									<!--		<ul class="list">-->
									<!--			<li>Lorem ipsum dolor sit amet adipiscing</li>-->
									<!--			<li>Eiusmod tempor ut Labore et dolore elit</li>-->
									<!--			<li>Sedmagna quis suspendisse ultrices gravida.</li>-->
									<!--		</ul>-->
									<!--	</div>-->
									<!--	<div class="column col-lg-6 col-mg-12 col-sm-12">-->
									<!--		<ul class="list">-->
									<!--			<li>Lorem ipsum dolor sit amet adipiscing</li>-->
									<!--			<li>Eiusmod tempor ut Labore et dolore elit</li>-->
									<!--			<li>Sedmagna quis suspendisse ultrices gravida.</li>-->
									<!--		</ul>-->
									<!--	</div>-->
									<!--</div>-->
								<!--</div>-->
							</div>
						</div>
					</div>
				</div>
                
            </div><!-- /.row -->
        </div><!-- /.container -->
    </section><!-- /.service-page -->

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

</div><!-- /.page-wrapper -->
<?php include "footer.php" ?>
</body>
</html>

MMCT - 2023