<?php 
	include_once("../view/header-footer/InnerHeader.php");   
?> 
<style>
    
</style>
</head>
<body>
    
 
<script> 
$(document).ready(function()
{   
 
	$("#_frm").validate({
		
		errorElement:'div',
		rules:{ 
			Fname:{
				required:true,
				maxlength:50,
				minlength:3
			},
			ph_no:{
				required:true,
				maxlength:10,
				minlength:10,
				number:true
				//remote: URL+"/ajax/validation.php"
			},
			email:{
			  required:true,
			  email:true  
			},
			passwprd:{
				required:true 
			}  
		},
		messages:{
          
		 	Fname:{
				required:"Enter your full name",
				maxlength:"Maximum  50 charaters allow",
				minlength:"Minimum 3 charaters required",
			},
			email:{
				required:"Enter email id" 
			},
			ph_no:{
				required:"Enter your phone no",
				maxlength:"Maximum  10 digits allow",
				minlength:"Minimum 10 digits required",
				number: "Enter numbers only"
			//	remote: "This no is already exist"
			},
			passwprd:{
				required:"Enter password"
			}   
			 
		}
	}); 
}); 

</script>    


<?php 
    include_once("menu.php");
?>

 <style>
      
      .box-1{
          
          background: yellow;
      }
     .box-2{
         
          background: red;
      } 
</style> 

<div class="container p-4" style="box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%);margin-bottom:30px">
     
     
     <div class="col-12">
            <h4>Daily ROI </h4>
    </div>
    
  <table class="table">
  <thead class="table-dark">
    <tr>
      <th scope="col">Sr No</th>
      <th scope="col">Id</th>
      <th scope="col">ROI</th>
      <th scope="col">Date</th>
      <th scope="col">percentage</th>
          
    </tr>
  </thead>
  <tbody>
      
     <?php 
        $sr=1; 
        foreach($Result as $dtm) 
        {    
     ?> 
    <tr>
      <th scope="row"><?php echo $sr++;?></th>
      <td><?php echo $dtm->Cid;?></td>
      <td><?php echo $dtm->RoiAmt;?></td>
      <td><?php echo $dtm->UpdatedOn;?></td>
       <td><?php echo $dtm->Perset;?></td>  
    </tr>
    <?php } ?>
     
  </tbody>
</table>    
 
 
</div>
 
</body>
</html>
