ok
Direktori : /home/importfo/public_html/drkajalskinclinic.com/ |
Current File : /home/importfo/public_html/drkajalskinclinic.com/laser_detail.php |
<?php include("admin/config.php");?> <!DOCTYPE html> <html lang="en"> <head> <?php include('top.php'); ?> <style> p { text-align: justify; </style> </head> <body class="shop-page"> <!--header--> <?php include('header.php'); ?> <!--//header--> <div class="page-content"> <!--section--> <div class="section mt-0"> <div class="breadcrumbs-wrap"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="select * from parts3 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']; $link=$row['status']; $title=$row['title']; ?> <div class="container"> <div class="breadcrumbs"> <a href="index.php">Home</a> <a href="laser.php">Laser Treatment</a> <span><?php echo $row['short_desc']; ?></span> </div> </div> </div> </div> <!--//section--> <!--section--> <div class="section page-content-first"> <div class="container mt-6"> <div class="row"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="select * from parts3 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']; $link=$row['status']; $title=$row['title']; ?> <div class="col-md-8 col-lg-12 mt-4 mt-md-0"> <div class="title-wrap"> <center><h1 style="color:#ac1c62"><?php echo $row['short_desc']; ?></h1></center></div> <div class="service-img"> <center><img src="admin/upload/<?php echo$row['parts_image']; ?>" class="img-fluid" alt=""></center> </div> <div class="pt-2 pt-md-4" style="padding-left: 20px; padding-right: 20px;"> <p><?php echo $row['desc']; ?></p> </div> </div> </div> </div> </div> <!--//section--> </div> <!--section blog posts --> <div class="section"> <div class="container"> <div class="title-wrap text-center"> <h2 class="h1">Related Treatment </h2> <div class="h-decor"></div> </div> <div class="blog-grid-full blog-grid-carousel-full js-blog-grid-carousel-full mt-3 mb-0 row"> <?php $sql="SELECT * FROM `parts3`"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <div class="col-md-6 col-lg-4"> <div class="blog-post"> <div class="post-image"> <a href="laser_detail.php?slug=<?php echo $row['p_id']; ?>"><img src="admin/upload/<?php echo$row['parts_image']; ?>" alt=""></a> </div> <div class="blog-post-info"> <div> <h2 class="post-title"><a href="laser_detail.php?slug=<?php echo $row['p_id']; ?>"><?php echo $row['short_desc']; ?></a></h2> </div> </div> <div class="mt-2"><a href="laser_detail.php?slug=<?php echo $row['p_id']; ?>" class="btn btn-sm btn-hover-fill"><i class="icon-right-arrow"></i><span>Read more</span><i class="icon-right-arrow"></i></a></div> </div> </div> <?php } ?> </div> </div> </div> <!--//section blog posts --> <!--footer--> <?php include('footer.php'); ?> <!--//footer--> <!-- 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> </html>