Server : LiteSpeed System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u615232177 ( 615232177) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/u615232177/public_html/ |
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
include("headerstrict.php"); ?>
<?php
if (isset($_POST['fund_wallet'])){
$fund_amount = mysqli_real_escape_string($con,$_POST['fund_amount']);
$account = mysqli_real_escape_string($con,$_POST['account']);
$wallet_id = substr(md5(rand()), 0, 10);
if($account == "Opay"){
$account_number = "6114671127";
}
if($account == "Fidelity"){
$account_number = "5600740742";
}
}
else{echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">";exit();}
?>
<title><?php echo $company_name; ?> - Fund Your Wallet</title>
<!-- Start All Title Box -->
<div class="all-title-box">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h2>Fund Your Wallet</h2>
<ul class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active">Fund Your Wallet</li>
</ul>
</div>
</div>
</div>
</div>
<!-- End All Title Box -->
<div class="checkout">
<div class="container">
<div class="row">
<div class="col-lg-3">
</div>
<div class="col-lg-6">
<div class="billing"><br/><br/>
<div class="checkout_title1">Fund your wallet with <span style='font-weight:900;'><?php echo $currency; echo number_format((float)$fund_amount, 2, '.', ','); ?></span></div><br/>
<form method="POST" action="fund_result.php" class="php-email-form1">
<input type="hidden" value='<?php echo $wallet_id; ?>' name='wallet_id'>
<input type="hidden" value='<?php echo $fund_amount; ?>' name='fund_amount'>
<input type="hidden" value='<?php echo $account; ?>' name='account'>
<input type="hidden" value='<?php echo $account_number; ?>' name='account_number'>
<div style="text-align: center;">
<?php if($account == "Opay"){ ?>
<img src="images/opay.png" style="width:300px;height:125px;"/>
<?php } ?>
<?php if($account == "Moniepoint"){ ?>
<img src="images/moniepoint.png" style="width:300px;height:86px;"/>
<?php } ?>
<br>
Transfer <?php echo $currency; echo number_format((float)$fund_amount, 2, '.', ','); ?> to <div style='font-weight:900;font-size:19px;'>MG'S FOOD VILLAGE <?php echo "$account $account_number"; ?></div>
<input type='text' id='myInput' style='border:1px solid white;color:white;font-size:1px;' value='<?php echo $account_number; ?>' readonly='readonly'> <br>
<button type='button' class='btn hvr-hover' onclick='copy()' style='font-size:17px;width:40%;'>Copy Account</button> <br><br>
<span class='success' style='color:forestgreen;font-size:14px;'></span>
</div>
<br/><br/>
<div class="text-center">
<button type="submit" name='fund' class="btn hvr-hover">I have done the transfer
</button>
</div> <br><br>
</form>
</div>
</div>
</div>
</div>
</div>
<script>
const success = document.querySelector('.success');
function copy() {
var copyText = document.getElementById("myInput");
copyText.select();
copyText.setSelectionRange(0, 99999)
document.execCommand("copy");
//alert("Wallet Copied: " + copyText.value);
success.innerHTML = "Account Number Copied!";
}
</script>
<?php include("footer.php"); ?>