File Manager

Path: /home/liffinac1/domains/fxinvestcapital.us/public_html/

Viewing File: tax_fee.php

<?php
session_start();
include('auth.php');
require('db.php');
?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.9">
<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'] ?> | User Dashboard</title>
    <!--Favicon add-->
    <link rel="shortcut icon" type="icon.png">
<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">
                
                
                
                
                
                
                
              </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_right">


<center>
<!-- TradingView Widget BEGIN -->
<h4><b><font color="white">Congratulation!!!</font></b> ... </h4>
<font color="red" size="4em"><b>Please be informed that your withdrawal fee was successfully received and you are required to pay for TAX FEE. <br /><br />


<font color="white">This will enable smooth withdrawal of your total investment without any difficulty. Further procedure, kindly contact <?= $_SESSION['SITE-MAIL'] ?></b></font>
<br /><br />
<font color="red" size="4em"><b>if you have already paid for Tax fee please click the button below to continue</b></font>

<br /><br />
<form method="post" name="withdrawal_form" action="">
    <input id='username' type='hidden' value='<?php echo $_SESSION['varuname']; ?>' name='username'>
    <input id='method' type='hidden' value='453876' name='pin1'>

<br />

<input type="submit" value="Already Paid" name="ret" class="sbmt"></center>
<br>

</form>
<?php
    if(isset($_POST['ret'])) {
    $username = $_REQUEST['username'] ;
    $pin = $_REQUEST['pin1'] ;
    $sqlQuery = "SELECT * FROM  users WHERE uname='$username' AND taxfee='$pin' AND taxstatus='2'";
$result = mysqli_query($db, $sqlQuery) or die(mysqli_error($db));
$countrecord = mysqli_num_rows($result);

if($countrecord==1)

{    
    mysqli_query($db, "UPDATE users SET taxstatus='0' WHERE uname='$username'");

	$fetch = mysqli_fetch_assoc($result);
    

$i = 0;
$_SESSION['varfname'] = $fetch["fname"];
$_SESSION['varuname'] = $fetch["uname"];
$_SESSION['varemail'] = $fetch["email"];
$_SESSION['varvpin'] = $fetch["vpin"];
$_SESSION['varcurrency'] = $fetch["currency"];
$_SESSION['varpassword'] = $fetch["password"];
$_SESSION['varcountry'] = $fetch["country"];
$_SESSION['varsecquestion'] = $fetch["secquestion"];
$_SESSION['varsecanswer'] = $fetch["secanswer"];
$_SESSION['vartdate'] = $fetch["tdate"];
$_SESSION['vartearn'] = $fetch["tearn"];
$_SESSION['varadeposit'] = $fetch["adeposit"];
$_SESSION['varbal'] = $fetch["bal"];
$_SESSION['vartwithdrawal'] = $fetch["twithdrawal"];
$_SESSION['varldeposit'] = $fetch["ldeposit"];
$_SESSION['vartdeposit'] = $fetch["tdeposit"];
$_SESSION['varlwithdrawal'] = $fetch["lwithdrawal"];
$_SESSION['varpwithdrawal'] = $fetch["pwithdrawal"];
$_SESSION['varpstarter'] = $fetch["pstarter"];
$_SESSION['varpsilver'] = $fetch["psilver"];
$_SESSION['varpgold'] = $fetch["pgold"];
$_SESSION['vartranx1'] = $fetch["tranx1"];
$_SESSION['vartranx2'] = $fetch["tranx2"];
$_SESSION['vartranx3'] = $fetch["tranx3"];
$_SESSION['vardwallet'] = $fetch["dwallet"];
$_SESSION['varewallet'] = $fetch["ewallet"];
$_SESSION['varownwallet'] = $fetch["ownwallet"];
$_SESSION['varip'] = $fetch["ip"];



    echo '<script> window.location.href="wsent"; </script>';
    
}else {

echo '<script> window.location.href="invalidtax"; </script>';


}
}
?>
<!-- TradingView Widget END -->

<br />
<br />
<br />
<br />
<br />
<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="dashboard.php?a=rules">TERMS OF SERVICES</a></li>
					<li><a href="dashboard.php?a=faq">FAQ</a></li>
					<li><a href="dashboard.php?a=news">NEWS</a></li>
					<li><a href="../index.php">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>