<?php 
	$names = file_get_contents('https://names.drycodes.com/10?nameOptions=boy_names');
	$names_json= print_r(json_decode($names));
	$list_length =6;
	$time_1 = time();
	
	$plan1 = array('0.25','0.48','10','10',);
	$amt1 = array(500,rand(500,2000),500,1000);
	$period1 = array(10,20,27,80);
	

?>

<div class=row>


<div class="col-xl-6 col-lg-12">
<div class=site-card data-aos=fade-right data-aos-duration=2000>
<div class=site-card-header>
<h3 class=title>Recent Investors</h3>
</div>
<div class=site-card-body>
<div class=site-transactions>

<?php 
	while($list_length >0){
		$amt1[1] = rand(500,2000);
		$time_1 = $time_1-(60*60*4*$list_length)+30;
		$rand = rand(0,3);
		$plan_=$plan1[$rand];
	$period = $period1[$rand];	
	$amt = $amt1[$rand];;
	$invest_earn = ($plan_*$amt)*1;
	
	
?>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=user-plus></i>
</div>
<div class=content>
<div class=title><?php echo $names_json[$list_length]; ?></div>
<div class=date> <?php echo date('M d Y h:i',$time_1) ?></div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-success">Active</div>
</div>
<div class=right>
<div class=amount>
<div class="net in">
</div>
<div class=total><?php echo $amt; ?> USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=user-plus></i>
</div>
<div class=content>
<div class=title>Mark Smith</div>
<div class=date>Mar 02, 2023 12:02</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-success">Active</div>
</div>
<div class=right>
<div class=amount>
<div class="net in">
+0 USD</div>
<div class=total>500 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=user-plus></i>
</div>
<div class=content>
<div class=title>Mark Smith</div>
<div class=date>Mar 02, 2023 02:37</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-success">Active</div>
</div>
<div class=right>
<div class=amount>
<div class="net in">
+0 USD</div>
<div class=total>500 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=user-plus></i>
</div>
<div class=content>
<div class=title>Chukwu Michael</div>
<div class=date>Mar 01, 2023 20:41</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-success">Active</div>
</div>
<div class=right>
<div class=amount>
<div class="net in">
+0 USD</div>
<div class=total>500 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=user-plus></i>
</div>
<div class=content>
<div class=title>Mark Smith</div>
<div class=date>Mar 01, 2023 20:00</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-success">Active</div>
</div>
<div class=right>
<div class=amount>
<div class="net in">
+0 USD</div>
<div class=total>500 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=user-plus></i>
</div>
<div class=content>
<div class=title>Mark Smith</div>
<div class=date>Mar 01, 2023 19:40</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-success">Active</div>
</div>
<div class=right>
<div class=amount>
<div class="net in">
+0 USD</div>
<div class=total>500 USD</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>



<div class="col-xl-6 col-lg-12">
<div class=site-card data-aos=fade-left data-aos-duration=2000>
<div class=site-card-header>
<h3 class=title>Recent Withdraws</h3>
</div>
<div class=site-card-body>
<div class=site-transactions>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=arrow-up-left></i>
</div>
<div class=content>
<div class=title>Withdraw With Bank Trasfer-USD</div>
<div class=date>Mar 02 2023 02:09</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-pending">Pending</div>
</div>
<div class=right>
<div class=amount>
<div class=total>2040 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=arrow-up-left></i>
</div>
<div class=content>
<div class=title>Withdraw With Bank Trasfer-USD</div>
<div class=date>Mar 02 2023 06:50</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-pending">Pending</div>
</div>
<div class=right>
<div class=amount>
<div class=total>2040 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=arrow-up-left></i>
</div>
<div class=content>
<div class=title>Withdraw With Mobile Money-USD</div>
<div class=date>Mar 02 2023 04:08</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-pending">Pending</div>
</div>
<div class=right>
<div class=amount>
<div class=total>44.88 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=arrow-up-left></i>
</div>
<div class=content>
<div class=title>Withdraw With Mobile Money-USD</div>
<div class=date>Feb 28 2023 10:43</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-pending">Pending</div>
</div>
<div class=right>
<div class=amount>
<div class=total>2040 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=arrow-up-left></i>
</div>
<div class=content>
<div class=title>Withdraw With Mobile Money-USD</div>
<div class=date>Feb 28 2023 04:41</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-pending">Pending</div>
</div>
<div class=right>
<div class=amount>
<div class=total>56.1 USD</div>
</div>
</div>
</div>
<div class=single>
<div class=left>
<div class=icon>
<i icon-name=arrow-up-left></i>
</div>
<div class=content>
<div class=title>Withdraw With Mobile Money-USD</div>
<div class=date>Feb 28 2023 01:34</div>
</div>
</div>
<div class=middle>
<div class="status site-badge badge-pending">Pending</div>
</div>
<div class=right>
<div class=amount>
<div class=total>20.4 USD</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>