<?php include_once('layout/header.php'); ?>

<?php
	$activity_id = '';
	if(isset($_GET['activity_id'])){
		$activity_id = $_GET['activity_id'];
	}
	$activity = $con->getRows('pesticides', array('where'=>'service_id="'.$activity_id.'"', 'return_type'=>'single'));
?>

  
  <!-- Start main-content -->
  <div class="main-content bg-lighter">
    <!-- Section: inner-header -->
    <section class="inner-header divider parallax layer-overlay overlay-dark-5" data-bg-img="images/bg/bg6.jpg">
      <div class="container pt-70 pb-20">
        <!-- Section Content -->
        <div class="section-content">
          <div class="row">
            <div class="col-md-12">
              <h2 class="title text-white text-center">Services Details</h2>
              <ol class="breadcrumb text-left text-black mt-10">
                <li><a href="index.php">Home</a></li>
                <li><a href="#">Pages</a></li>
                <li class="active text-gray-silver">Service details</li>
              </ol>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- Section: About -->
    <section id="about">
      <div class="container">
        <div class="section-content">
          <div class="row mt-50">
            <div class="col-md-5">
              <div class="class-item1">
                  <div class="thumb"> <a href="#">
                    
					<img class="img-fluid" src="assets/uploads/pesticides/<?=$activity['image']?>" alt=""> </a>
		
             						
                  </div>
              </div>
            </div>
            <div class="col-md-7 mt-20">
              
			  <a class="btn btn-colored btn-theme-colored btn-lg text-uppercase font-13 mt-0" href="#"><?=$activity['title']?></a> 
              
				
              </div>
			  <p> <?=$activity['details']?></p>
			  <a class="btn btn-primary py-3 px-5" href="services.php">Go Back</a>
            </div>
          </div>
          
        </div>
      </div>
    </section>

    <!-- Section: Divider  -->
    <section class="divider parallax layer-overlay overlay-theme-colored-7" data-bg-img="images/bg/bg7.jpg" data-parallax-ratio="0.7">
      <div class="container">
        <div class="row">
          <div class="col-md-8 col-md-offset-2">
            <div class="section-content text-center">
              <h2 class="text-white letter-space-4 font-32">Need to  <span class="text-theme-color-2">Donate</span></h2>
              <h3 class="text-white text-uppercase font-weight-300 mt-0">Your donation will assist someone today please donate
			  directly to our bank account by clicking on donate 
			  now button</h3>
              <a href="donate.php" class="btn btn-default mt-10 btn-md text-uppercase">Donate now</a> </div>
          </div>
        </div>
      </div>
    </section>

    
   
  <?php include_once('layout/footer.php'); ?>