                            <div class="card">
                                
                                <?php 
								$read_id = RMC("'".$id."'");
								$sql25="SELECT * from j_notifications WHERE 
								j_deleted < 1 AND j_user_id='".$id."' AND j_read NOT LIKE '%$read_id%'
								|| j_deleted < 1 AND j_user_id='*' AND j_read NOT LIKE '%$read_id%'
								order by j_id desc
								"; //  
								$result25 = runSQL($sql25);
								$total_notify = mysqli_num_rows($result25);
								?>
                                <div class="card-body">
                                    <div class="container">
                                        <div class="row">
                                            <div class="col-md-12" style="text-align:center;">
												
												 <?php if($total_notify>0){ ?>
												 <p class="text_sm_gray text-center">
													<b class="text_color"> Hello Dear</b>;
													<br/>
													<?php /*<span scrolldelay="2000" behavior="alternate">*/ ?>
													<span scrolldelay="2000" behavior="alternate">
														You currently have 
														<a href="<?php echo $dir; ?>notifications/" class="text-danger">
															<?php if($total_notify > 1){ ?>

															<?php echo number_format($total_notify); ?> unread notifications.

															<?php }else{ ?>

															an unread notification.

															<?php } ?>
														</a>

														Please read.
														It might be useful. 
														<a href="<?php echo $dir; ?>notifications/" class="text-black">
															Click here
														</a>

													</span>

												</p>
												 <?php } ?>
												 
                                                <div class="responseBox warning">
													<i class="fas fa-bell" style="font-size:40px; margin-top:28px;"></i>
												</div>
                                                <p class="text-center">
													 Good news for you <b class="text-primary"><?php  echo $name; ?></b>;
													 <br/>
													 Trade your cryptocurrency now with <?php echo $company; ?>, get upto 
													 <b><?php echo $company_highest_inv_perc; ?>%</b> on your Trade per day.
													<br/>
													 You'll also earn <b><?php echo $company_referral_perc; ?>%</b> referral bonus when you refer
													 people to trade with <?php echo $company; ?>. 

                                                 </p>
												 <br/>
                                                 <p class="text-center">
                                                     
                                                     <a class="btn btn-danger btn-md m-b-10 m-r-20" href="<?php echo $dir; ?>deposit/"> Make Deposit
                                                     </a>
													 
													 <a class="btn btn-primary btn-md m-b-10 m-r-20" href="<?php echo $dir; ?>tradings/"> My Tradings
                                                     </a>
                                                     
                                                     <a class="btn btn-warning btn-md m-b-10" href="<?php echo $dir; ?>referral-link/"> My Referral Link
                                                     </a>
                                                 </p>
												
												<?php /*
												 <hr/>
												<br/> 
												
                                                <p class="text-center">
													More for you <b class="text-primary"><?php  echo $name; ?></b>;
													 <br/>
													 We just introduced <b><?php echo strtoupper($p1_name); ?></b> to compensate you more when you refer more people 
													 to trade with <?php echo $company; ?>. 
                                                 </p>
                                                 <p class="text-center">
                                                     <a class="app_btn bg-success btn-md m-b-10 m-r-20" href="<?php echo $dir; ?>spcs/"> Get Started
                                                     </a>
													 <a class="app_btn btn-md m-b-10 m-r-20" href="<?php echo $home_dir; ?>spcs/" target="_blank"> Learn More
                                                     </a>
													
                                                 </p>
												
												 <hr/>
												<br/> 
												*/ ?>
												
												
												
												<?php 
												/*
												<h4> Cryptocurrency Converter</h4>
												<form method="POST" action="" id="form">
													<div class="form-group">
														<label class="font-weight-semibold">Currency</label>
														<select type="text" class="form-control rMe" name="wallet_type">
																
															<option value="BTC"><i class="fab fa-btc"></i> Bitcoin (BTC)</option>
															<option value="ETH"><i class="fab fa-ethereum"></i> Ethereum (ETH)</option>
															
														</select>
															
													</div>
													
													
													<div class="form-group">
														<label class="font-weight-semibold">Amount in USD </label>
														<input autocomplete="off" type="tel" class="form-control rMe" name="amount_usd" placeholder="Amount in USD"/>
													</div>
													
													<div class="form-group">
														<label class="font-weight-semibold">Amount in <span class="addressInfo">BTC</span> </label>
														<input autocomplete="off" type="tel" class="form-control rMe" name="amount" placeholder="Amount"/>
													</div>
														

												</form>
												*/
												?>
												
												
												
												
										
												 <?php
												$sql4="SELECT * from j_pays WHERE j_user_id='".$id."' AND j_deleted < 1 AND j_kind='TRADING' order by j_id desc limit 5"; //check 
												$result4 = runSQL($sql4);
												$count = mysqli_num_rows($result4);
												 
												if($count < 1){?>
												<p align="center">
													<img src="<?php echo $dir; ?>j_files/j_img/icons/empty-1.svg"/><br/>
													No transaction found.
												</p>

												<p class="text_sm_gray text-center">
													As you make deposits for tradings, recents will be reported here.
												</p>
												 <?php }else{ ?>
                                                
												 <hr/>
                                    
												<div class="d-flex justify-content-between align-items-center">
													<h5 class="mb-0">Recent Deposits</h5>
													<div>
														<a href="<?php echo $dir; ?>tradings/" class="btn btn-default btn-sm">View All</a> 
													</div>
												</div>
												<div class="m-t-30 table-responsive">
													<table class="table table-hover">

														<thead>
															<tr>
															<th>S/N</th>
															<th>Amount</th>
															 <th>Type </th>
															 <th>Status</th>
														   </tr>
														</thead>

														<tbody>
															<?php 
															$num = 1;
															while ($row = mysqli_fetch_array($result4)){
															?>
															<tr>
																<td> <?php echo $num++; ?>. </td>

																<td> <?php echo amount_w_c($row['j_amount'],$row['j_currency']); ?>  </td>
																 <td> <?php echo $row['j_type']; ?></td>
																  <td> <?php echo t_status($row['j_status'],$row['j_id']);  ?>  </td>
															</tr>
															<?php } ?>

														</tbody>
													</table>
												</div>
												 
												 
												 
												 
												 <?php } ?>
												
												 <?php// } ?>
												 
                                             </div>
                                        </div>

                                    </div>
                                </div>
   
                            </div>