

<main class="app-content">
<div class="app-title">
  <div>
	 
    <h1><i class="fa fa-th-list"></i> <?php if(isset($ser['0'])){
      foreach($ser as $s)
      {
        echo $s->service_name;
      }
    } ?> </h1>
  </div>
  <ul class="app-breadcrumb breadcrumb">
    <li class="breadcrumb-item"><i class="fa fa-home fa-lg"></i></li>
    <li class="breadcrumb-item"> <?php if(isset($ser['0'])){
      foreach($ser as $s)
      {
        echo $s->service_name;
      }
    } ?></li>
    <li class="breadcrumb-item active"><a href="#"></a></li>
  </ul>
</div>
<div class="row">
  
  <div class="col-md-12">
    <div class="tile">
      <h3 class="tile-title"> <?php if(isset($ser['0'])){
      foreach($ser as $s)
      {
        echo $s->service_name;
      }
    } ?></h3>
      <!-- This snippet uses Font Awesome 5 Free as a dependency. You can download it at fontawesome.io! -->
      <section class="py-5">
		  <a href="<?php echo base_url()?>serviceDetails/<?php echo $s->id?>"class="btn btn-sm btn-success">Add New Plans</a>
        <div class="container">
          <div class="row">
           <?php 
           if(isset($plan['0']))
           {
             foreach($plan as $row)
             {
               ?>
               <div class="col-lg-4">
				          <div class="card bg-success mb-5 mb-lg-0 rounded-lg shadow">
								    <div class="card-header">
								      <h5 class="card-title text-white-50 text-uppercase text-center"><?php echo $row->plan_name?></h5>
								      <h6 class="h1 text-white text-center"><i class="fa fa-inr" aria-hidden="true"></i> <?php echo $row->price?>/Month</h6>
								    </div>
								    <div class="card-body bg-light rounded-bottom">
								      <span class="mr-3"></span><strong><?php echo $row->descp?></strong>
                      <a href="<?php echo base_url()?>Edit_ServiceDetails/<?php echo $row->id?>" class="btn btn-block btn-primary text-uppercase rounded-lg py-3">Edit This Plan</a>
								    </div>
							    </div>
			          </div>
               <?php
             }
           }
           ?>
			
				
							  
				
			
			  
          </div>
        </div>
      </section>
    </div>
  </div>
	
	<div class="col-md-12">
    <div class="tile">
      <h3 class="tile-title"> Inactive Plans</h3>
      <!-- This snippet uses Font Awesome 5 Free as a dependency. You can download it at fontawesome.io! -->
      <section class="py-5">
		 
        <div class="container">
          <div class="row">
        <?php 
        if(isset($inact['0']))
        {
          foreach($inact as $in)
          {
            ?>
            <div class="col-lg-4">
				          <div class="card bg-success mb-5 mb-lg-0 rounded-lg shadow">
								    <div class="card-header">
								      <h5 class="card-title text-white-50 text-uppercase text-center"><?php echo $in->plan_name?></h5>
								      <h6 class="h1 text-white text-center"><i class="fa fa-inr" aria-hidden="true"></i><?php echo $in->price?>/<?php echo $in->duration?></h6>
								    </div>
								    <div class="card-body bg-light rounded-bottom">
								      <span class="mr-3"></span><strong><?php echo $in->descp ?></strong>
											<a href="service_details" class="btn btn-block btn-primary text-uppercase rounded-lg py-3">Edit This Plan</a>
								    </div>
							    </div>
			          </div>
            <?php
          }
        }
        ?>
							  
				
				
			  
          </div>
        </div>
      </section>
    </div>
  </div>
</div>
</main>
<!-- Essential javascripts for application to work-->
<script src="<?php echo base_url()?>assets/js/jquery-3.3.1.min.js"></script>
<script src="<?php echo base_url()?>assets/js/popper.min.js"></script>
<script src="<?php echo base_url()?>assets/js/bootstrap.min.js"></script>
<script src="<?php echo base_url()?>assets/js/main.js"></script>
<!-- The javascript plugin to display page loading on top-->
<script src="<?php echo base_url()?>assets/js/plugins/pace.min.js"></script>
<!-- Page specific javascripts-->
<!-- Google analytics script-->
<script type="text/javascript">
if(document.location.hostname == 'pratikborsadiya.in') {
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-72504830-1', 'auto');
  ga('send', 'pageview');
}
</script>
</body>
</html>