  <tbody>

			<?php
			$q="select * from trans where email='$mail' order by id desc LIMIT 4";
			$r =mysqli_query($conn,$q);
			while($qr = mysqli_fetch_assoc($r)){
			?>

		 <tr>
                                <td>
                                    <div class="table-description">
                                        <div class="icon">
         <?php if(strtolower($qr['type']) == 'receive money'){ ?>  <i icon-name="backpack">
         <?php }elseif(strtolower($qr['type']) == 'investment'){ ?>  <i icon-name="backpack">
         <?php }elseif(strtolower($qr['type']) == 'intrest'){ ?>  <i icon-name="backpack">
         <?php }elseif(strtolower($qr['type']) == 'exchange'){ ?>  <i icon-name="backpack">
         <?php }elseif(strtolower($qr['type']) == 'deposit'){ ?>  <i icon-name="arrow-down-left">
         <?php }elseif(strtolower($qr['type']) == 'withdraw'){ ?>  <i icon-name="arrow-up-left"> <?php } ?>
		 
                                            </i>
                                        </div>


                                        <div class="description">
                                            <strong>	<?php echo ucwords($qr['description']); ?>                                             </strong>
                                            <div class="date"><?php $dt = strtotime($qr['created_at']);  echo date('M d Y h:i',$dt); ?></div>
                                        </div>
                                    </div>
                                </td>
                                <td><strong><?php echo $qr['trans_id']; ?></strong></td>
                                <td>
                                    <div
                                        class="site-badge primary-bg"><?php echo ucwords($qr['type']); ?></div>
                                </td>

                                <td><strong
                                        class="<?php echo (($qr['type'] == 'withdraw') || ($qr['type'] == 'investment') || ($qr['type']== 'send money' )) ? ' red-color' : ' green-color'; ?> "><?php echo (($qr['type'] == 'withdraw') || ($qr['type'] == 'investment') || ($qr['type'] == 'send money' )) ? '-'.$qr['amount'] : '+'.$qr['amount']; ?> USD</strong>
                                </td>
                                <td><strong><?php  echo $qr['fee']; ?> USD</strong></td>
                                <td>


                                             <div class="site-badge <?php echo ucfirst($qr['status']); ?>"><?php echo ucfirst($qr['status']); ?></div>
                                                                    </td>
                                <td><strong><?php echo ucwords($qr['method']); ?></strong></td>
                            </tr>
			<?php } ?>			
							
                                                    <!-- <tr> -->
                                <!-- <td> -->
                                    <!-- <div class="table-description"> -->
                                        <!-- <div class="icon"> -->
                                            <!-- <i icon-name="arrow-down-left "> -->
                                            <!-- </i> -->
                                        <!-- </div> -->


                                        <!-- <div class="description"> -->
                                            <!-- <strong>Deposit With CoinPayments                                             </strong> -->
                                            <!-- <div class="date">Feb 12 2023 06:09</div> -->
                                        <!-- </div> -->
                                    <!-- </div> -->
                                <!-- </td> -->
                                <!-- <td><strong>TRX9KMNEF5J58</strong></td> -->
                                <!-- <td> -->
                                    <!-- <div -->
                                        <!-- class="site-badge primary-bg">Deposit</div> -->
                                <!-- </td> -->

                                <!-- <td><strong -->
                                        <!-- class="green-color">+467 USD</strong> -->
                                <!-- </td> -->
                                <!-- <td><strong>0 USD</strong></td> -->
                                <!-- <td> -->


                                                                            <!-- <div class="site-badge primary-bg">canceled</div> -->
                                                                    <!-- </td> -->
                                <!-- <td><strong>Coinpayments</strong></td> -->
                            <!-- </tr> -->
                                                    <!-- <tr> -->
                                <!-- <td> -->
                                    <!-- <div class="table-description"> -->
                                        <!-- <div class="icon"> -->
                                            <!-- <i icon-name="backpack -->
                                         <!-- "> -->
                                            <!-- </i> -->
                                        <!-- </div> -->


                                        <!-- <div class="description"> -->
                                            <!-- <strong>Deposit With Mobile Money (Manual)                                             </strong> -->
                                            <!-- <div class="date">Feb 11 2023 05:51</div> -->
                                        <!-- </div> -->
                                    <!-- </div> -->
                                <!-- </td> -->
                                <!-- <td><strong>TRXSRTHQWMFYV</strong></td> -->
                                <!-- <td> -->
                                    <!-- <div -->
                                        <!-- class="site-badge primary-bg">Manual deposit</div> -->
                                <!-- </td> -->

                                <!-- <td><strong -->
                                        <!-- class="green-color">+1000 USD</strong> -->
                                <!-- </td> -->
                                <!-- <td><strong>3 USD</strong></td> -->
                                <!-- <td> -->


                                                                            <!-- <div class="site-badge warnning">Pending</div> -->
                                                                    <!-- </td> -->
                                <!-- <td><strong>Mobile-money</strong></td> -->
                            <!-- </tr> -->
                                                    <!-- <tr> -->
                                <!-- <td> -->
                                    <!-- <div class="table-description"> -->
                                        <!-- <div class="icon"> -->
                                            <!-- <i icon-name="backpack -->
                                         <!-- "> -->
                                            <!-- </i> -->
                                        <!-- </div> -->


                                        <!-- <div class="description"> -->
                                            <!-- <strong>Signup Bonus                                             </strong> -->
                                            <!-- <div class="date">Feb 03 2023 04:49</div> -->
                                        <!-- </div> -->
                                    <!-- </div> -->
                                <!-- </td> -->
                                <!-- <td><strong>TRXXNHODNWSYK</strong></td> -->
                                <!-- <td> -->
                                    <!-- <div -->
                                        <!-- class="site-badge primary-bg">Signup bonus</div> -->
                                <!-- </td> -->

                                <!-- <td><strong -->
                                        <!-- class="green-color">+5 USD</strong> -->
                                <!-- </td> -->
                                <!-- <td><strong>0 USD</strong></td> -->
                                <!-- <td> -->


                                                                            <!-- <div class="site-badge success">Success</div> -->
                                                                    <!-- </td> -->
                                <!-- <td><strong>System</strong></td> -->
                            <!-- </tr> -->
                        

                                                </tbody>