File Manager
Viewing File: wconfirm.php
<?php
require('db.php');
include('auth.php')
?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<link href="db_files/css.css" rel="stylesheet">
<!-- font-family: 'Open Sans', sans-serif; -->
<link href="db_files/bootstrap.css" rel="stylesheet" type="text/css">
<link href="db_files/custom.css" rel="stylesheet" type="text/css">
<link href="db_files/default.css" rel="stylesheet" type="text/css">
<link href="db_files/tab.css" rel="stylesheet" type="text/css">
<title><?= $_SESSION['SITE-NAME'] ?> | Withdraw Method</title>
<!--Favicon add-->
<link rel="stylesheet" type="text/css" href="min.css">
<link rel="stylesheet" type="text/css" href="index.css">
<!-- Fire UI Javascript -->
<script src="min.js"></script>
<link rel="shortcut icon" href="<?= $_SESSION['SITE-ICON'] ?>">
<script async="" src="db_files/app.js" charset="UTF-8" crossorigin="*"></script><script async="" src="db_files/default.js" charset="UTF-8" crossorigin="*"></script><script src="db_files/jquery.js" type="text/javascript"></script>
<script src="db_files/setting2.js" type="text/javascript"></script>
<script src="db_files/tab.js" type="text/javascript"></script>
<script src="db_files/bootstrap.js" type="text/javascript"></script>
</head>
<body class="loginarea">
<div class="wrapper-account">
<div class="headerContainer">
<div class="headerInner"> <a href="#" id="logo"></a>
<div class="hdRight">
<div class="mainNavRight">
<div class="navbar">
<div class="navbar-inner">
<ul class="nav">
<li><a href="#">Home</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="inside_inner_account">
<div class="member_wrap">
<div class="membersidebar">
<ul>
<li><a href="dashboard">My Account</a></li><li><a href="edit-profile">Edit Account</a></li><li><a href="deposit-fund">Deposits</a></li><li><a href="deposit-history">Deposits History</a></li><li><a href="withdraw-request">Withdraw</a></li><li><a href="withdraw-log">Withdrawals History</a></li><li><a href="dashboard">Referrals</a></li><li><a href="logout" onclick="event.preventDefault();
document.getElementById('logout-form').submit();">Logout</a></li>
<form id="logout-form" action="logout" method="POST" style="display: none;">
<input type="hidden" name="_token" value="JeV2HFKu2zNlYEjqf4iBhqUqYRRXnTVbWim7vmep">
</form>
</ul>
</div>
<div class="member-container">
<div class="account_top">
</div>
<div class="member_right">
<h3 class="account_main">Withdraw Funds</h3>
<div class="withdraw">
<table class="tab" cellspacing="0" cellpadding="2" border="0">
<tbody><tr>
<th>Account Balance:</th>
<th><?php echo $_SESSION['varcurrency']; ?><b><?php echo $_SESSION['varbal']; ?></b></th>
</tr>
<tr><td> </td>
<td> <small>
</small></td>
</tr>
<tr>
<td>Pending Withdrawals: </td>
<td><?php echo $_SESSION['varcurrency']; ?><b><?php echo $_SESSION['varpwithdrawal']; ?></b></td>
</tr>
<tr>
<td>Your Crypto Account:</td>
<td><a href="edit-profile"><?php echo $_SESSION['varownwallet']; ?> </a></td>
</tr>
</tbody></table>
<div id="form">
<div className="centeredForm">
<div class="box theme-reverse">
<div class="box">
<?php
$username = (!empty($_REQUEST['username'])) ? $_REQUEST['username'] : null;
$method = (!empty($_REQUEST['method'])) ? $_REQUEST['method'] : null;
$email = (!empty($_REQUEST['email'])) ? $_REQUEST['email'] : null;
$coin = (!empty($_REQUEST['coin'])) ? $_REQUEST['coin'] : null;
$amount = (!empty($_REQUEST['amount'])) ? $_REQUEST['amount'] : null;
$amount = str_replace(",","", $amount);
$accno = (!empty($_REQUEST['accno'])) ? $_REQUEST['accno'] : null;
$accname = (!empty($_REQUEST['accname'])) ? $_REQUEST['accname'] : null;
$accbank = (!empty($_REQUEST['accbank'])) ? $_REQUEST['accbank'] : null;
$acctype = (!empty($_REQUEST['acctype'])) ? $_REQUEST['acctype'] : null;
$accswift = (!empty($_REQUEST['accswift'])) ? $_REQUEST['accswift'] : null;
$ownwallet = (!empty($_REQUEST['ownwallet'])) ? $_REQUEST['ownwallet'] : null;
$tag = (!empty($_REQUEST['tag'])) ? $_REQUEST['tag'] : null;
$result = mysqli_query($db, "SELECT * FROM users WHERE uname='$username'");
$row = mysqli_fetch_array($result);
if($row['bal'] < $amount) {
echo '<center><img width="100%" height="20%" src="pin.png">
<h3 class="account_main">INSUFFICIENT BALANCE. </h3>
</center>';
}
else {
?>
<center><img width="100%" height="20%" src="pin.png">
<h3 class="account_main">Please input your authorization pin to complete withdrawal</h3>
</center>
<style>
#partitioned {
/*padding-left: 20px;*/
/*letter-spacing: 38px;*/
/*border: 1;*/
/*background-image: linear-gradient(to left, black 70%, rgba(255, 255, 255, 0) 0%);*/
/*background-position: bottom;*/
/*background-size: 45px 4px;*/
/*background-repeat: repeat-x;*/
/*background-position-x: 40px;*/
/*width: 250px;*/
/*min-width: 300px;*/
color: black;
padding-left: 24px;
letter-spacing: 38px;
border: 4px solid black;
background-image: linear-gradient(to left, white 70%, black 0%);
background-position: bottom;
background-size: 50px 4px;
background-repeat: repeat-x;
background-position-x: 40px;
width: 250px;
min-width: 300px;
background-position-y: 50px;
background-repeat-y: repeat;
}
#divInner{
left: 0;
position: sticky;
}
#divOuter{
width: 300px;
overflow: hidden;
}
body {
background: #3498db;
}
#PINform input:focus,
#PINform select:focus,
#PINform textarea:focus,
#PINform button:focus {
outline: none;
}
#PINform {
background: #ededed;
position: absolute;
width: 300px; height: 400px;
left: 50%;
margin-left: -180px;
top: 50%;
margin-top: -215px;
padding: 30px;
-webkit-box-shadow: 0px 5px 5px -0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 5px 5px -0px rgba(0,0,0,0.3);
box-shadow: 0px 5px 5px -0px rgba(0,0,0,0.3);
}
</style>
<script>
var obj = document.getElementById('partitioned');
obj.addEventListener('keydown', stopCarret);
obj.addEventListener('keyup', stopCarret);
function stopCarret() {
if (obj.value.length = 4){
setCaretPosition(obj, 4);
}
}
function setCaretPosition(elem, caretPos) {
if(elem != null) {
if(elem.createTextRange) {
var range = elem.createTextRange();
range.move('character', caretPos);
range.select();
}
else {
if(elem.selectionStart) {
elem.focus();
elem.setSelectionRange(caretPos, caretPos);
}
else
elem.focus();
}
}
}
</script>
<center>
<br />
<br />
<br />
<form method="post" name="withdrawal_form" action="verifypin">
<input id='username' type='hidden' value='<?php echo $username; ?>' name='username'>
<input id='method' type='hidden' value='<?php echo $method; ?>' name='method'>
<input id='email' type='hidden' value='<?php echo $email; ?>' name='email'>
<input id='amount' type='hidden' value='<?php echo $amount; ?>' name='amount'>
<input id='accno' type='hidden' value='<?php echo $accno; ?>' name='accno'>
<input id='accname' type='hidden' value='<?php echo $accname; ?>' name='accname'>
<input id='coin' type='hidden' value='<?php echo $coin; ?>' name='coin'>
<input id='accbank' type='hidden' value='<?php echo $accbank; ?>' name='accbank'>
<input id='acctype' type='hidden' value='<?php echo $acctype; ?>' name='acctype'>
<input id='accswift' type='hidden' value='<?php echo $accswift; ?>' name='accswift'>
<input id='ownwallet' type='hidden' value='<?php echo $ownwallet; ?>' name='ownwallet'>
<input id='tag' type='hidden' value='<?php echo $tag; ?>' name='tag'>
<div id="divOuter">
<div id="divInner">
<input name="pin" id="partitioned" type="text" maxlength="6" required/>
</div>
</div>
<br />
<input type="submit" value="Authorize Withdrawal" class="sbmt"></center>
<br>
</form>
<?php } ?>
</div>
</div>
</div>
<div class="mb-5"></div>
</div>
</div>
</form>
</div>
</div>
</div><!--end column-70-->
</div>
</div>
</div>
<div class="contentBotContainer">
<div class="contentBotInner">
<div class="ctn-top-solid">
<h1>btc network </h1>
<h2> wallets: </h2>
<div class="solid-top">
<a href="https://trustwallet.com/" class="solidTop1"></a>
<a href="https://www.coinmama.com/" class="solidTop2"></a>
<a href="https://xapo.com/" class="solidTop3"></a>
<a href="https://airbitz.co/" class="solidTop4"></a>
</div>
</div>
<div class="clearfix"></div>
<div class="ctn-bot-solid">
<p>Market Cap: <span>$77829716960.00</span></p>
<p>Hashrate: <span>7108353254.76</span></p>
<p>Difficulty: <span>888171856257</span></p>
<p>Total Blocks: <span>482882</span> </p>
<p>Network Speed: <span>108.5 PH/s</span></p>
</div>
</div>
</div>
<div class="footerContainer">
<div class="footerInner">
<div class="ctn-footer-top">
<div class="ctn-ft-left">
<p>© Copyright <?= date('Y') ." ". $_SESSION['SITE-NAME'] ?>. All Right Reserved.</p>
</div>
<div class="ctn-ft-mid">
<a href=""><img src="db_files/logo.png"></a>
</div>
<div class="ft-solid">
<a href="https://www.facebook.com//" target="_blank" class="per"></a>
<a href="https://twitter.com/" target="_blank" class="bit"></a>
</div>
<div class="ctn-ft-right">
<ul>
<li><a href="withdraw-request.php?a=rules">TERMS OF SERVICES</a></li>
<li><a href="withdraw-request.php?a=faq">FAQ</a></li>
<li><a href="withdraw-request.php?a=news">NEWS</a></li>
<li><a href="withdraw-request.php?a=support">CONTACT US</a></li>
</ul>
</div>
</div>
</div>
</div> <!-- end bot footer -->
<script type="text/javascript">
$(document).ready(function() {
$('.accordion>dl>dt>a').click(function()
{
$(this).toggleClass("rotate0");
});
/*------- parse price --------*/
function parsePriceCrypto()
{
returnString = "";
$.post( "https://min-api.cryptocompare.com/data/pricemulti?fsyms=BTC,LTC,ETH,BCH,XRP&tsyms=USD", function( data )
{
$('#price_btc').text('$'+data['BTC']['USD']);
$('#price_ltc').text('$'+data['LTC']['USD']);
$('#price_eth').text('$'+data['ETH']['USD']);
$('#price_bch').text('$'+data['BCH']['USD']);
$('#price_xrp').text('$'+data['XRP']['USD']);
});
}
parsePriceCrypto();
setInterval(function()
{
parsePriceCrypto();
}
, 5000);
});
$('.language').click(function() {
$(this).toggleClass('active');
});
$('.mobileMenu').click(function() {
$('.menu').toggleClass('mobile');
$(this).toggleClass('rotate');
});
</script>
</body></html>