MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.142.98.60
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/shantamdiabetes.org/../snackpoint.co.nz/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/shantamdiabetes.org/../snackpoint.co.nz/menu-listing.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['spots_url'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_tourspots` WHERE `spots_url`='$slug_name'";
    $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">
	<title>
    <?php
    if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) {
        echo $datadt["meta_title"];
    } else { 
        echo $datadt["spots_name"];
    }
    ?>
   </title>
   <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
	<?php include "top-links.php";?>
</head>

<body>
    <?php include "header.php";?>
    
        <div class="pq-breadcrumb" style="background-image:url('<?php echo $wspath?>images/blog/breadcrumb.jpg');">
		   	<div class="container">
			    <div class="row align-items-center">
			        <div class="col-lg-12">
			            <nav aria-label="breadcrumb">
			            	<div class="pq-breadcrumb-title">
			            		<h1><?php echo $datadt["spots_name"];?></h1>
			            	</div>
			               <div class="pq-breadcrumb-container">
								<ol class="breadcrumb">
	                 		 		<li class="breadcrumb-item">
	                 		 			<a href="<?php echo $wspath?>">
	                 		 				<i class="fas fa-home me-2"></i>Home
	                 		 			</a>
	                 		 		</li> 
	                 		 		<li class="breadcrumb-item active"><?php echo $datadt["spots_name"];?></li>			               			
	                 		 	</ol>
			               </div>
			            </nav>
			        </div>
			    </div>
		   	</div>
		</div>
		
        <section class="menu-tab">
			<div class="container">
				<div class="row">
					<div class="col-lg-12">
						<div class="pq-section-title-style-1 text-center">
	   		   				<span class="pq-section-sub-title">Menu Items</span>
	   	   			   		<h5 class="pq-section-title"><?php echo $datadt["spots_name"];?></h5>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="pq-advance-tab">
						<div class="tab-content" id="nav-tabContent">
							<div class="tab-pane fade show  active" id="advance-nav-0" role="tabpanel" aria-labelledby="advance-nav-home-0">
								<div class="row align-items-center">
								    <?php
								        $cat_id = $datadt["spots_id"];
                                        $sqlmenu = "SELECT * FROM `tbl_services` WHERE m_id=$cat_id AND `tour_status`='Active' ORDER BY tour_order ASC";
                                        $runmenu = mysqli_query($db,$sqlmenu) or die("Query Not run");
                                        while($datamenu = mysqli_fetch_assoc($runmenu)){
                                    ?>
									<div class="col-lg-6 col-md-12">
										<div class="pq-food-price-style-2">
											<div class="pq-food-price-item">
												<div class="pq-food-price-hoverimg">
													<img class="img-fluid" src="<?php echo $wspath?>admin/images/property-image/<?php echo $datamenu['image'];?>" alt="<?php echo $datamenu['name'];?>" title="<?php echo $datamenu['name'];?>">
												</div>
												<div class="pq-food-price-img">
													<img class="img-fluid" src="<?php echo $wspath?>admin/images/property-image/<?php echo $datamenu['image'];?>" alt="<?php echo $datamenu['name'];?>" title="<?php echo $datamenu['name'];?>">
												</div>
												<div class="pq-food-price-content">
													<div class="pq-food-price-top">
														<div class="pq-food-price-title">
															<h5 class="pq-food-title"><?php echo $datamenu['name'];?></h5>
														</div>
														<div class="pq-food-price-line"></div>
														<div class="pq-food-price-main">$ <?php echo $datamenu['mrp'];?>.00</div>
													</div>
													<div class="pq-food-price-desc"><?php echo $datamenu['desc'];?></div>
												</div>
											</div>
										</div>
									</div>
									<?php } ?>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</section>
        
    <?php include "footer.php";?>

</body>

</html>

MMCT - 2023