<?php
require_once("header.php");
require_once("menu.php");
?>
<script>
  var path1 = '';
</script>
<?php
    $ser_page_id = $_GET['service_url'];
    $ex = $obj->view_service_pagecont($ser_page_id);
    $row = mysqli_fetch_array($ex);
	$row['service_id'];

?>
<!-- page-title -->

<style type="text/css">
  .service-details-section {
  padding: 70px 0 100px 0;
}
.star {
  font-size: 40px;
  margin: 0 auto !important;
}
.contract-activity-detail {
  height: 118px;
}
</style>
<!-- Breadcrumbs Start -->

<div class="rs-breadcrumbs sec-spacer sec-color">
  <div class="overlay"></div>
  <div class="container">
    <div class="row">
      <div class="col-md-12 text-center">
        <div class="breadcrumbs-inner">
          <h1 class="page-title"><?php echo $row['service_name'];?></h1>
          <ul>
            <li> <a class="active" href="https://ethicsprosperity.com">Home</a> </li>
            <li><?php echo $row['service_name'];?></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>

<!-- Breadcrumbs End -->

<div class="service-details-section">
  <div class="container">
    <div class="row">
      <div class="col-lg-3 col-md-4 col-sm-3">
        <div class="services-right-sidebar">
          <div class="service-cats-area">
            <h3>Our Services</h3>
            <ul id="single-services-cat">
                 <?php
                  $ex = $obj->view_service();
                  while($row1=mysqli_fetch_array($ex))
                  {
                      $service_id=$row1['service_url'];
                  ?>
                  <li class="<?php echo $service_id==$_GET['service_url']?'active':'';?>"><a href="<?php echo $row1['service_url'];?>"><?php echo ucwords($row1['service_name']);?></a></li>
                  <?php
                  } 
                  ?>
              </ul>
            </div>
          </div>
        </div>
      <div class="col-lg-9 col-md-8 col-sm-9 leftpad">
	
          <img src="<?php echo $row['ser_page_image'];?>" alt="<?php echo $row['service_name'];?>">
          <div class="" id="text">
	       <?php echo $row['ser_page_desc'];?>
		  </div>
      </div>
  </div>
             <?php 
               $query= $obj-> get_webinfopage(base64_decode($_REQUEST['view']));
               $qu= mysqli_num_rows($query);
              
              if(mysqli_num_rows($query) > 0)
              {
                ?>
            <div class="beneifits">
             <h4><?php echo $fet['ser_page_title'];?></h4>
             
             <div class="row">
                <?php
                while($row=mysqli_fetch_array($query))
                {
                ?>
                <div class="col-md-3">
                    <div class="benifit-box">
                       <div class="title">
                          <h4><?php echo $row['web_title'];?></h4>
                        </div>
                        <div class="benifit-detail">
                          <p><?php echo $row['web_desc'];?></p>
                        </div>
                     </div>
                   </div>
              <?php  }?>
           
          </div>
        </div>
    <?php } ?>
</div>

</div>
        


<?php
require_once("footer.php");
?>
