ok
Direktori : /home/importfo/public_html/toothstudio.in/ |
Current File : /home/importfo/public_html/toothstudio.in/services_detail.php |
<?php include("admin/config.php") ?> <!DOCTYPE html> <html dir="ltr" lang="en"> <head> <?php include('top.php');?> <style> p{ text-align: justify; } </style> </head> <body class=""> <div id="wrapper" class="clearfix"> <!-- Header --> <?php include('header.php');?> <!-- Start main-content --> <div class="main-content"> <!-- Section: inner-header --> <section class="inner-header divider parallax layer-overlay overlay-white-8" data-bg-img="images/banner.jpg"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="select * from parts where p_id='$slug'"; $res=mysqli_query($db,$sql); $row=mysqli_fetch_array($res); $img=$row['parts_image']; $short_desc=$row['short_desc']; $desc=$row['desc']; ?> <div class="container pt-60 pb-60"> <!-- Section Content --> <div class="section-content"> <div class="row"> <div class="col-md-12 text-center"> <h2 class="title" style="color: white"><?php echo $row['short_desc']; ?></h2> <ol class="breadcrumb text-center text-black mt-10"> <li><a href="index.php" style="color: white">Home</a></li> <li><a href="services.php" style="color: white">Treatment</a></li> <li><a href="#" style="color: white">Detail</a></li> </ol> </div> </div> </div> </div> </section> <!-- Section: Service details --> <section> <div class="container"> <div class="section-content"> <div class="row"> <?php $sql="SELECT * FROM `parts` WHERE p_id='$slug'"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <div class="col-xs-12 col-sm-8 col-md-8 pull-left flip"> <div class="row"> <div class="col-md-12"> <img alt="" src="admin/upload/<?php echo$row['parts_image']; ?>" /> </div> </div> <div class="row"> <div class="col-md-12"> <h2><?php echo $row['short_desc']; ?></h2> <p class="lead" style="text-align: justify;"><?php echo $row['desc']; ?></p> </div> </div> </div> <div class="col-sx-12 col-sm-4 col-md-4 sidebar pull-right flip"> <div class="widget"> <h3 class="line-bottom mt-0">Our Services</h3> <div class="categories"> <?php $sql="SELECT * FROM `parts` "; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <ul class="list angle-double-right list-border"> <li><a href="services_detail.php?slug=<?php echo $row['p_id']; ?>"><?php echo $row['short_desc']; ?></a></li> </ul> <?php } ?> </div> </div> <div class="widget"> <div class="bg-img-box maxwidth400 border-10px p-20"> <h5><i class="fa fa-clock-o text-theme-colored"></i> Opening Hours</h5> <div class="opening-hours"> <ul class="list-unstyled"> <li class="clearfix"> <span> Monday - Saturday </span> <div class="value"> 10.00 AM - 9.00 PM </div> </li> <li class="clearfix"> <span> Sunday </span> <div class="value"> 10.30 AM - 4.30 PM</div> </li> </ul> </div> </div> </div> </div> <?php } ?> </div> </div> </div> </section> </div> <!-- Footer --> <?php include('footer.php');?> <a class="scrollToTop" href="#"><i class="fa fa-angle-up"></i></a> </div> <script src="js/custom.js"></script> </body> </html>