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
/
themes1582.wtmwebshop.com
/
6538c
/
..
/
..
/
admin
/
..
/
member
/
report_reward.php
/
/
<?php $title = "Reward Report"; include 'header.php'; $uid = $_SESSION['userid']; $i = 1; $query = "SELECT b.`uid`, sum(b.`matching_amount`) as matching_amount, u.name as name, u.login_id as login_id FROM binary_income b INNER JOIN user u ON b.uid = u.uid WHERE b.uid = '$uid' GROUP BY b.`uid`"; $result = mysqli_query($connection, $query); if(mysqli_num_rows($result)){ $row = mysqli_fetch_object($result); $matching_amount = $row->matching_amount; } else { $matching_amount =0; } ?> <div class="container-fluid"> <div class="row"> <div class="col-sm-12"> <div class="page-title-box"> <h4 class="page-title">Reward Income</h4> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item"><a href="#">Report</a></li> <li class="breadcrumb-item active">Reward Report</li> </ol> <!-- <div class="state-information d-none d-sm-block"> <div class="state-graph"> <div id="header-chart-1"></div> <div class="info">Balance $ 2,317</div> </div> <div class="state-graph"> <div id="header-chart-2"></div> <div class="info">Item Sold 1230</div> </div> </div>--> </div> </div> </div> <!-- end row --> <div class="row"> <div class="col-lg-12"> <div class="card m-b-20"> <div class="card-body"> <!-- <h4 class="mt-0 header-title">Basic example</h4> <p class="text-muted m-b-30">For basic styling—light padding and only horizontal dividers—add the base class <code>.table</code> to any <code><table></code>. </p>--> <table class="table table-bordered dt-responsive nowrap dataTable no-footer dtr-inline "> <thead> <tr> <th>S. No.</th> <th>User</th> <th>Amount</th> <th>Award</th> </tr> </thead> <tbody> <?php if(mysqli_num_rows($result)){ if ($matching_amount >= 250000) { ?> <tr> <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td> <td><?php echo $matching_amount;?> </td> <td>Android Mobile</td> </tr> <?php $i++; } if ($matching_amount >= 500000) { ?> <tr > <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td> <td><?php echo $matching_amount; ?> </td> <td>Laptop</td> </tr> <?php $i++; } if ($matching_amount >= 1000000) { ?> <tr > <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td> <td><?php echo $matching_amount; ?> </td> <td>Foreign Trip</td> </tr> <?php $i++; }if ($matching_amount >= 2000000) { ?> <tr > <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td> <td><?php echo $matching_amount; ?> </td> <td>Bullet</td> </tr> <?php $i++; }if ($matching_amount >= 5000000) { ?> <tr > <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td> <td><?php echo $matching_amount; ?> </td> <td>Maruti Car</td> </tr> <?php $i++; }if ($matching_amount >= 10000000) { ?> <tr> <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td>] <td><?php echo $matching_amount; ?> </td> <td>Luxurious Car</td> </tr> <?php $i++; }if ($matching_amount >= 20000000) { ?> <tr> <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td>] <td><?php echo $matching_amount; ?> </td> <td>1 Bhk Flat</td> </tr> <?php $i++; }if ($matching_amount >= 50000000) { ?> <tr> <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td>] <td><?php echo $matching_amount; ?> </td> <td>2 Bhk Flat</td> </tr> <?php $i++; }if ($matching_amount >= 100000000) { ?> <tr> <td><?php echo $i; ?></td> <td><?php echo $row->name . " (" . $row->login_id . ")"; ?></td>] <td><?php echo $matching_amount; ?> </td> <td>60 Lakh Cash</td> </tr> <?php $i++; } } ?> </tbody> </table> <?php //echo $pager->renderFullNav(); ?> </div> </div> </div> <!-- end col --> </div> </div> <?php include 'footer.php'; ?>
/home2/wtmwscom/public_html/themes1582.wtmwebshop.com/6538c/../../admin/../member/report_reward.php