window.location = 'logout.php'; "; } require('db.php'); if (isset($_SESSION['email'])) { $SEshopmail = $_SESSION['email']; // Check if iplock is 'lock' $iplock_query = "SELECT iplock FROM `users` WHERE email='$SEshopmail'"; $iplock_result = mysqli_query($con, $iplock_query) or die(mysqli_error($con)); if (mysqli_num_rows($iplock_result) > 0) { $iplock_row = mysqli_fetch_assoc($iplock_result); if ($iplock_row['iplock'] === 'lock') { // Redirect to securitycheck.php if iplock is 'lock' echo (""); exit(); // Ensure no further code is executed } } // Check if upgrade is 'notupdated' $query = "SELECT * FROM `users` WHERE email='$SEshopmail' AND upgrade='notupdated'"; $result = mysqli_query($con, $query) or die(mysqli_error($con)); if (mysqli_num_rows($result) > 0) { $_SESSION['email'] = $SEshopmail; echo (""); } } if(isset($_GET['transid'])) { $transid = $_GET['transid']; // Connect to your database $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } // Prepare the SQL statement $stmt = $conn->prepare("DELETE FROM usertrade WHERE transid = ?"); // Bind the transid to the SQL statement $stmt->bind_param("i", $transid); // Execute the SQL statement if($stmt->execute()) { // After deletion, redirect to the same page or another page header("Location: portfolio.php"); exit(); } else { echo "Error deleting record"; } // Close the statement and connection $stmt->close(); $conn->close(); } if (isset($_POST['btnasset'])) { $assetname = mysqli_real_escape_string($con, $_POST['assetname']); $assetamount = mysqli_real_escape_string($con, $_POST['assetamount']); $t_type = mysqli_real_escape_string($con, $_POST['t_type']); $currency = mysqli_real_escape_string($con, $_POST['currency']); $balchk = mysqli_query($con, "SELECT deposit FROM users WHERE email = '$SEshopmail'"); $row = mysqli_fetch_array($balchk); $bal = $row['deposit']; $currency = $row['currency']; if ($bal < $assetamount) { // Insufficient balance message echo "

Insufficient Balance
"; } else { $bal = $bal - $assetamount; // Deduct the asset amount from the balance // Update the balance in the database $updateQuery = "UPDATE users SET deposit = '$bal' WHERE email = '$SEshopmail'"; mysqli_query($con, $updateQuery); // Successful trade session message echo "

Your Trade Session to ".$t_type." ".$assetname." has started.
"; } $to = 'app.Hexabitcraft.com'; $subject = "Deposit Request"; //$host = "smtp.unitedfunds24.com"; $host = "mx1.hostinger.com"; $port = '587'; // Message $message = '
Hexabitcraft

Hi admin,

'.$SEshopfname.'   '.$SEshoplname.' just activated traded request of '.$assetamount.'


Need more help?

contact us: cs@Hexabitcraft.com

www.Hexabitcraft.com

'; // To send HTML mail, the Content-type header must be set $headers[] = 'MIME-Version: 1.0'; $headers[] = 'Content-type: text/html; charset=iso-8859-1'; $headers[] ='From:'.$to; // Mail it mail($to, $subject, $message, implode("\r\n", $headers)); } include_once ("z_db.php"); if(isset($_POST['copy'])) { $SEshopmail = $_SESSION['email']; $trader_id = mysqli_real_escape_string($con, $_POST['trader_id']); $trader_name = mysqli_real_escape_string($con, $_POST['trader_name']); $update = mysqli_query($con, "UPDATE users SET trader = '$trader_id' WHERE email = '$SEshopmail'"); } ?> home
Country: Flag IP Address: Logout
Available wallet balance

connect_error) { die('Connect Error (' . $mysqli->connect_errno . ') ' . $mysqli->connect_error); } $userquery = "SELECT * FROM coins WHERE email='$SEshopmail'"; $result = $mysqli->query($userquery); if ($result->num_rows == 1) { $row = $result->fetch_assoc(); } $query = "SELECT SUM(usd + bitcoin + ethereum + tether + bnb + solana + usdc + lido_staked_ether + xrp + toncoin + dogecoin + cardano + shiba_inu + avalanche + tron + wrapped_bitcoin + chainlink + bitcoin_cash + polkadot + near_protocol + polygon + litecoin + uniswap + internet_computer + fetch_ai + leo_token + dai + ethereum_classic + hedera + pepe + render + wrapped_eeth + aptos + first_digital_usd + immutable + cronos + cosmos_hub + arweave + stellar + filecoin + mantle + renzo_restaked_eth + the_graph + stacks + okb + kaspa + optimism + dogwifhat + arbitrum + maker + bittensor) AS total FROM coins WHERE email='$SEshopmail'"; $result = $mysqli->query($query); $total = $result->fetch_assoc(); ?> $ Total: ****

My Wallet
  • img

    USD

    Balance

  •    

    Popular Coin List

    ' . $additionalText . '
    '; } else { $statusMessage = ''; } // Output the status message echo $statusMessage; } else { echo ''; } // Close connection mysqli_close($conn); ?>
    POPULAR TICKER LIST

    ORDER BOOK

     
    Live Crypto Price Market
    Today's Top News
    Cryptex Rating