Your IP : 3.12.71.166
<?php
session_start(); ob_start();
include('lib/connection.php');
//if(!isset($_SESSION['user_id'])){header('location: login.php');}
if(isset($_GET['confirm'])){
$user = $_GET['confirm'];
if(sqL1('user','user',$user)==1){
echo 'Verified Ref. ID: '.userName2($user);
}else{
echo 'Invalid Ref. ID';
}
}
if(isset($_GET['verify'])){
$user = $_GET['verify'];
if(sqL1('user','user',$user)==1){
echo '<label>Verified Recipent</label>
<input type="text" class="form-control" value="'.userName2($user).' ['.userName2($user,'user').']" disabled >
<br>
<label>Amount (USD)</label>
<input type="hidden" name="user" id="vuser" value="'.$user.'">
<input type="number" id="amt" class="form-control" name="amount" min="2" max="500" required >';
}else{
echo 0;
}
}
if(isset($_GET['verify2'])){
$user = $_GET['verify2'];
if(sqL1('user','user',$user)==1){
$id = userName2($user,'id');
echo '<label>Verified Recipent</label>
<input type="text" class="form-control" value="'.userName2($user).' ['.userName2($user,'user').']" disabled >
<br>
<h4>Account Balance: $'.number_format($pro->wallet($id),2).'</h4><hr>
<label>Amount (USD)</label>
<input type="hidden" name="user" id="vuser" value="'.$user.'">
<input type="number" id="amt" class="form-control" name="amount" min="2" max="5000" required >';
}else{
echo 0;
}
}
if(isset($_GET['sendcode'])){
$user = $_GET['sendcode']; $amt = $_GET['amt'];
$_SESSION['t_user']=$user;
$_SESSION['t_amt']=$amt;
$t_code=$_SESSION['t_code']=$pro->win_hash(6);
// echo $_SESSION['t_code'];
$pro->sendAuthCode($_SESSION['t_code']);
echo '<label>RECIPIENT: </label> '.userName2($user).'<hr>
<label>AMOUNT: </label> $'.number_format($amt,2).'<hr>
<input type="hidden" name="user" value="'.$user.'">
<input type="hidden" name="amt" value="'.$amt.'">
<em>Enter the OTP sent to your E-mail</em>
<input type="text" id="code" name="code" class="form-control" placeholder="Authorization Code" required>';
}
?>