ok

Mini Shell

Direktori : /home/importfo/public_html/advancedentalcancerhospital.com/
Upload File :
Current File : //home/importfo/public_html/advancedentalcancerhospital.com/services_detail.php

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


.komal {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.komal img {vertical-align: middle;}

.pratik {
  position: absolute;
  bottom: 0;
  
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}
</style>
</head>
<body class="">
<div id="wrapper" class="clearfix">
  <!-- preloader -->

  
  <!-- Header -->
 <?php include('header.php');?>

  <!-- Start main-content -->
  <div class="main-content">

    <section class="inner-header divider parallax layer-overlay overlay-white-8" data-bg-img="">


<!-- <div class="komal"> -->
  <img src="images/pp.jpg" alt="Notebook" style="width:;">
  <div class="pratik">
      <center><h4 style="color:black;">Services Details</h4></center>
              <ol class="breadcrumb text-center text-black mt-10" style="color:black; font-size: 16px;">
                <li ><a href="index.php" style="color:black;">Home</a></li>
                <li ><a href="services.php" style="color:black;">Services</a></li>
                <li ><a href="#" style="color:black;">Services Detail</a></li>
              </ol>
              

</div>
    </section>

    <!-- Section: Blog -->
    <section>
      <div class="container mt-30 mb-30 pt-30 pb-30">
        <div class="row">
              <?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="col-md-9">
            <div class="blog-posts single-post">
              <article class="post clearfix mb-0">
                <div class="entry-header">
                  <div class="post-thumb thumb"> <img src="admin/upload/<?php echo $row['parts_image'];?>" alt="image" alt="" class="img-responsive img-fullwidth"> </div>
                </div>
                <div class="entry-content">
                  <div class="entry-meta media no-bg no-border mt-15 pb-20">
                   <!--  <div class="entry-date media-left text-center flip bg-theme-colored pt-5 pr-15 pb-5 pl-15">
                      <ul>
                        <li class="font-16 text-white font-weight-600">28</li>
                        <li class="font-12 text-white text-uppercase">Feb</li>
                      </ul>
                    </div> -->
                    <div class="media-body pl-15">
                      <div class="event-content pull-left flip">
                        <h3 class="entry-title text-white text-uppercase pt-0 mt-0"><a href="#"><?php echo $row['short_desc'];?></a></h3>     
                      </div>
                    </div>
                  </div>
                  <p class="mb-15" style="color:black"><?php echo $row['desc'];?></p>
                </div>
              </article>
            </div>
          </div>
          <div class="col-md-3">
            <div class="sidebar sidebar-left mt-sm-30">
             
              <div class="widget">
                <h5 class="widget-title line-bottom">Our Services</h5>
                <div class="latest-posts">
                   <?php
                            $sql="SELECT * from parts";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                             ?>
                  <article class="post media-post clearfix pb-0 mb-10">
                    <!--<a class="post-thumb" href="services_detail.php?slug=<?php echo $row['p_id']; ?>"><img src="admin/upload/<?php echo $row['parts_image'];?>" style="height: 80px; width: 80px"  alt=""></a>-->
                    
                    <div class="post-right">
                      <h5 class="post-title mt-0"><a href="services_detail.php?slug=<?php echo $row['p_id']; ?>">-> <?php echo $row['short_desc'];?></a></h5>
                      <!-- <p>Lorem ipsum dolor sit amet adipisicing elit...</p> -->
                    </div>
                  </article>
               
                <?php } ?>
                </div>
              </div>
            
            </div>
          </div>
        </div>
      </div>
    </section> 
  </div>  
  <!-- end main-content -->

  <!-- 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>

Zerion Mini Shell 1.0