<?php   
	include_once("../view/header-footer/header.php");  
?>   
   <!-- Features -->
   <div class="innerDeader">
      <div class="container">
           <a href="javascript:void(0);" id="go-back" class="goBack PaySound">
           <img src="<?php echo ROOTPATH;?>/images/Arrow 1.svg" alt="back">
          </a>   
          <h4>BROWSE PLANS</h4>
     </div>    
   </div>
   <div class="innerBody">
       <div class="container">
            <?php 
        $k=0;
        foreach($ResultArray->data as $Kname=>$dtm)
        {
  ?>
        <h5><?php //echo $Kname;?></h5>
         <div class="tableBox">
            <table>
                 
                <tr>
                    <th   style="width:auto">Amount</th> 
                    <th   style="width:auto">Description</th>   
                    <th   style="width:auto">Validity</th> 
                    <th   style="width:auto">Update</th>   
                </tr>  
                
                     <?php 
                     
                     
                       //foreach($ResultArray->data[$Kname] as $fullTT)
                       {
                           
                          //echo '<pre>'; print_r($ResultArray->data[$Kname]);die;
                     ?>
                    <tr>
                            <th><a href="<?php echo ROOTPATH;?>/dashboard/mobile1.php?mobile_no=<?php echo $_REQUEST['mob']?>&operatorPrepaid=<?php echo $_REQUEST['Opt']; ?>&Operator=<?php echo $_REQUEST['optval'];?>&amt=<?php echo $ResultArray->data[$Kname]->rs;?>"><?php echo $ResultArray->data[$Kname]->rs;?></a></th>
                            <th><a href="<?php echo ROOTPATH;?>/dashboard/mobile1.php?mobile_no=<?php echo $_REQUEST['mob']?>&operatorPrepaid=<?php echo $_REQUEST['Opt']; ?>&Operator=<?php echo $_REQUEST['optval'];?>&amt=<?php echo $ResultArray->data[$Kname]->rs;?>"><?php echo $ResultArray->data[$Kname]->desc;?></a></td>
                            <th><a href="<?php echo ROOTPATH;?>/dashboard/mobile1.php?mobile_no=<?php echo $_REQUEST['mob']?>&operatorPrepaid=<?php echo $_REQUEST['Opt']; ?>&Operator=<?php echo $_REQUEST['optval'];?>&amt=<?php echo $ResultArray->data[$Kname]->rs;?>"><?php echo $ResultArray->data[$Kname]->validity;?></a></td>
                            <td><?php echo $ResultArray->data[$Kname]->last_update;?></td> 
                    </tr>
                    <?php                
                        } 
                               
                	?>    
              </table>
         </div>
    <?php } ?>      
       </div>
   </div>
     
</div>
 
<?php 
  include_once("../view/header-footer/footer.php");  
    unset($_SESSION['TpMsg']);