uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
js
/
..
/
admin
/
scripts
/
..
/
process_payout_old.php
/
/
<?php session_start(); include "../connection.php"; if(!isset($_SESSION['adminid'])) die ('Unauthorized'); $uid = $_GET['uid']; $wallet = mysqli_fetch_object(mysqli_query($connection, "SELECT wallet FROM user WHERE uid = '$uid' "))->wallet; $isupdate=0; //$isupdate = mysqli_query($connection, "UPDATE user SET wallet = 0 WHERE uid = '$uid'"); if($wallet >= 100){ $tds = $wallet * 0.05; $service = $wallet * 0.05; //$service = 0; $net = $wallet - ($tds + $service); mysqli_query($connection, "INSERT INTO withdraw (uid, amount, tds, service, net_amount, datetime, status) VALUES('$uid', '$wallet', '$tds', '$service', '$net', '" . date('Y-m-d H:i:s') . "',1)"); $isupdate = mysqli_query($connection, "update user set wallet = 0 where uid ='$uid'"); } $msg = $isupdate ? "Transcation done successfully" : "Failed, Some error occured,Try again"; echo $msg; ?>
/home2/wtmwscom/public_html/js/../admin/scripts/../process_payout_old.php