ok

Mini Shell

Direktori : /home/importfo/www/sapphiredentalcare.in/
Upload File :
Current File : /home/importfo/www/sapphiredentalcare.in/service-page.php

<!DOCTYPE html>
<?php include("admin/config.php");?>
<html lang="en">
<head>
	<?php include('topup.php');?>
</head>

<body class="shop-page layout-landing">
<!--header-->	

<!--header-->
<header class="header">
		<div class="header-quickLinks js-header-quickLinks d-lg-none">
			<div class="quickLinks-top js-quickLinks-top"></div>
			<div class="js-quickLinks-wrap-m">
			</div>
		</div>
		<?php include 'top.php';?>
		<div class="header-content">
			<div class="container">
				<div class="row align-items-lg-center">
					<button class="navbar-toggler collapsed" data-toggle="collapse" data-target="#navbarNavDropdown">
						<span class="icon-menu"></span>
					</button>
					<div class="col-lg-auto col-lg-2 d-flex align-items-lg-center">
						<a href="#" class="header-logo"><img src="images/logo.jpg"   alt="" class="img-fluid"></a>
					</div>
					<div class="col-lg ml-auto header-nav-wrap">
						<div class="header-nav js-header-nav">
							
							<?php include 'header.php'; ?>

						
						</div>
						<div class="header-search">
							<form action="#" class="form-inline">
								<i class="icon-search"></i>
								<input type="text" placeholder="Search">
								<button type="submit"><i class="icon-search"></i></button>
							</form>
						</div>
						
					</div>
				</div>
			</div>
		</div>
	</header>
	<!--//header-->
	<!--quick links-->
<?php include 'form.php' ?>
	<!--//quick links-->
	<div class="page-content">
		<!--section-->
		<div class="section mt-0">
			<div class="breadcrumbs-wrap">
				<div class="container">
					<div class="breadcrumbs">
						<a href="index.php">Home</a>
						<a href="services.php">Services</a>
					
					</div>
				</div>
			</div>
		</div>
		<!--//section-->
		<div class="page-content">
		<!--section-->
		  <section class="section-lgx">
               <div class="container">
                  <div class="row">
                     <div class="col-lg-4 service-left-col order-2 order-lg-1">
                        <aside class="service-sidebar">
                           <aside class="widget post-list">
                               <?php
                            $sql="SELECT * from spare_cat_main";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                        ?>
                              <div class="all-post-list">
                                 <ul>
                                    <li class="post-active"> <a href="service-page.php?slug=<?php echo $row['spare_id']; ?>"><?php echo $row['machine_name'];?></a></li>
                                           
                                 </ul>
                              </div>
                           <?php }?>
                           </aside>
                           
                        </aside>
                     </div>
                     <div class="col-lg-8 service-right-col order-1">
                       <?php 
        if(isset($_GET['slug']))
        {
                              $slug=$_GET['slug'];
                            }
                            else
                            {
                              $slug=0;
                            }
                           $sql="select * from parts p INNER JOIN spare_cat_main sc ON p.s_id=sc.spare_id where p.s_id='$slug' GROUP BY p.p_id";
                            $res=mysqli_query($db,$sql);
                            $row=mysqli_fetch_array($res);
                            $machine_name=$row['machine_name'];
                            $img=$row['parts_image'];
                            //$short_desc=$row['short_desc'];
                            $desc=$row['desc'];
                   
                            ?>
				
                        <img src="admin/upload/<?php echo $row['parts_image'];?>" class="w-100" alt="" />
                        <div class="service-details">
                           <h2><?php echo $row['machine_name'];?></h2>
                           <p align="justify"><?php echo $row['desc'];?></p>
                           
                          
                        </div>
                     </div>
                  </div>
               </div>
            </section>
            <!-- Service End -->
         </div>
		<!--//section-->
	</div>
	<!--footer-->
	<?php include 'footer.php';?>
		<!--//footer-->
	<div class="backToTop js-backToTop">
		<i class="icon icon-up-arrow"></i>
	</div>
	<!-- Vendors -->
	<script src="vendor/jquery/jquery-3.2.1.min.js"></script>
	<script src="vendor/jquery-migrate/jquery-migrate-3.0.1.min.js"></script>
	<script src="vendor/cookie/jquery.cookie.js"></script>
	<script src="vendor/bootstrap-datetimepicker/moment.js"></script>
	<script src="vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
	<script src="vendor/popper/popper.min.js"></script>
	<script src="vendor/bootstrap/bootstrap.min.js"></script>
	<script src="vendor/waypoints/jquery.waypoints.min.js"></script>
	<script src="vendor/waypoints/sticky.min.js"></script>
	<script src="vendor/imagesloaded/imagesloaded.pkgd.min.js"></script>
	<script src="vendor/slick/slick.min.js"></script>
	<script src="vendor/scroll-with-ease/jquery.scroll-with-ease.min.js"></script>
	<script src="vendor/countTo/jquery.countTo.js"></script>
	<script src="vendor/form-validation/jquery.form.js"></script>
	<script src="vendor/form-validation/jquery.validate.min.js"></script>
	<!-- Custom Scripts -->
	<script src="js/app.js"></script>
    <script src="color/color.js"></script>

	<script src="js/app-shop.js"></script>
	<script src="form/forms.js"></script>
	
</body>


<!-- Mirrored from websmirno.site/medin/html/medol-html/service-page.php by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 09 Jun 2022 07:23:35 GMT -->
</html>

Zerion Mini Shell 1.0