ok
Direktori : /home/importfo/www/aaradhyahospital.com/ |
Current File : /home/importfo/www/aaradhyahospital.com/medicine_detail.php |
<?php include("admin/config.php");?> <!DOCTYPE html> <html lang="en"> <?php include 'top.php' ?> <body> <div class="wrapper"> <?php include 'header.php' ?> <section class="page-title page-title-layout5 bg-overlay"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="SELECT * from parts4 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="bg-img"><img src="assets/images/7.jpg" alt="background"></div> <div class="container"> <div class="row"> <div class="col-12"> <h1 class="pagetitle__heading"><?php echo $row ['short_desc']; ?></h1> <nav> <ol class="breadcrumb mb-0"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item active" aria-current="page"><?php echo $row ['short_desc']; ?></li> </ol> </nav> </div><!-- /.col-12 --> </div><!-- /.row --> </div><!-- /.container --> </section><!-- /.page-title --> <section class="pt-120 pb-80"> <div class="container"> <div class="row"> <div class="col-sm-12 col-md-12 col-lg-8"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="SELECT * from parts4 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="video-banner-layout2 bg-overlay mb-70"> <img src="admin/upload/<?php echo $row['parts_image']; ?>" alt="banner"> </div><!-- /.video-banner --> <div class="text-block mb-50" style="text-align: justify;"> <h5 class="text-block__title"><?php echo $row ['short_desc']; ?></h5> <p style=" text-align: justify; "><?php echo $row ['desc']; ?> </p> </div><!-- /.text-block --> </div><!-- /.col-lg-8 --> <div class="col-sm-12 col-md-12 col-lg-4"> <aside class="sidebar has-marign-left sticky-top"> <div class="widget widget-services"> <h5 class="widget__title">Our Services</h5> <div class="widget-content"> <ul class="list-unstyled mb-0"> <?php $sql="SELECT * from parts4 LIMIT 0,10"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <li><a href="medicine_detail.php?slug=<?php echo $row['p_id']; ?>"><span><?php echo $row['short_desc']; ?></span><i class="icon-arrow-right"></i></a></li> <?php }?> </ul> </div><!-- /.widget-content --> </div><!-- /.widget-services --> </aside><!-- /.sidebar --> </div><!-- /.col-lg-4 --> </div><!-- /.row --> </div><!-- /.container --> </section> <?php include 'footer.php' ?> <button id="scrollTopBtn"><i class="fas fa-long-arrow-alt-up"></i></button> </div><!-- /.wrapper --> <script src="assets/js/jquery-3.5.1.min.js"></script> <script src="assets/js/plugins.js"></script> <script src="assets/js/main.js"></script> </body> </html>