<?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>PAYOUT HISTORY   </h4>
     </div>    
   </div>
   <div class="innerBody">
       <div class="container">
         <di class="tableBox">
            <table>
                
                <tr>
                                <th>S No.</th> 
                                <th>Amount</th> 
                                <th>Date</th> 
                                <th>Type</th> 
                                <th>Flow</th> 
                                        
                </tr>  
                
                      <?php 
                                $sr = 1;
                                foreach($Result as $dmm) 
                                {        
                                ?>
                    <tr>
                         
                                        <td><?php echo $sr++;?></td>
                                        <td <?php if($dmm->type==0) {?> style="color:green;" <?php } else {?> style="color:red;"<?php }?> >&#8377;<?php echo $dmm->amount;?> </td>
                                        <td><?php echo $dmm->Tdate;?> </td>
                                        <td <?php if($dmm->type==0) {?> style="color:green;" <?php } else {?> style="color:red;"<?php }?> ><?php if($dmm->type==0) echo "Credit"; else echo "Debit";?></td> 
                                        <td <?php if($dmm->type==0) {?> style="color:green;" <?php } else {?> style="color:red;"<?php }?> ><?php if($dmm->type==0) echo "Daily Payout Credit"; else echo "Daily Payout  Debit";?></td> 
                               
                                            
                                        
                                       
                                      
                                       
                    </tr>
                    <?php                
                                
                    		}     
                	?>    
              </table>
         </div>
       </div>
   </div>
     
</div>
 
<?php 
  include_once("../view/header-footer/footer.php");  
    unset($_SESSION['TpMsg']);