
<div class="container" style="padding-top: 15%">
  <h3 class="text-center"><b>Email Solution</b></h3>
     <!-- <p class="text-center">It is the evolution of the traditional FIREWALL into an all-inclusive</p>-->
	<section class="py-5">
    <div class="container">
      <div class="row">
        <?php 
        if(isset($data['0']))
        {
          foreach($data 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?>/<?php echo $row->duration?></h6>
							      </div>
							      <div class="card-body bg-light rounded-bottom">
								      <span class="mr-3"></span><strong><?php echo $row->descp?></strong>
                      <form method="post" action="<?php echo base_url()?>addToCart">
                       
                        <input type="hidden" value="<?php echo $row->id?>" name="plnid"/>
                        <input type="hidden" value="<?php echo $row->price?>" name="price"/>
                        <?php if($row->duration == 'Year') {?>
                       <input type="hidden" value="12" name="duration"/>
                       
                        <?php } else {
                          ?>
                          <input type="hidden" value="1" name="duration"/>
                          <?php
                        }
                       
                        ?>
                        
                      <input type="submit" name="submit" value="ADD TO CART" class="btn btn-block btn-primary text-uppercase text-white rounded-lg py-3">
                      </form>
								      
							      </div>
						      </div>
			          </div>
           <?php
         }
       }
       ?>
      </div>
    </div>
  </section>
		
		
</div>
   