Viewing File: /home/quiczmwg/affordablerealtycorporation.com/admin/confirmed_withdrawal.php
<?php
// session_start();
include 'head.php';
include 'header.php';?>
<body class="skin-default fixed-layout">
<div id="main-wrapper">
<?php
include 'sidebar.php';
// include_once ("../_db.php");
$sql = $conn->query("SELECT * FROM withdrawal_details WHERE status = 'confirmed' ");
?>
<div class="page-wrapper">
<section>
<div class="">
<?php
include 'nav1.php';
?>
<div class="container-fluid">
<div class="card">
<div class="card-header">
<?php echo isset($_SESSION['mgs'])?$_SESSION['mgs']:""?>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table">
<thead>
<th>#</th>
<th>Date</th>
<th>Email</th>
<th>Amount</th>
<th>Network</th>
<th>Status</th>
<!-- <th>----</th> -->
</thead><br>
<tbody>
<?php
$select_products = mysqli_query($conn, "SELECT * FROM withdrawal_details where status = 'confirmed' ");
if (mysqli_num_rows($select_products) > 0) {
$num=1;
while ($row = mysqli_fetch_assoc($select_products)){
?>
<tr>
<td><?php echo $num++; ?></td>
<td><?php echo $row['created_at']; ?></td>
<td><?php echo $row['userid']; ?></td>
<td><?php echo number_format($row['amount'],2.); ?></td>
<td><?php echo $row['wallet_address']; ?></td>
<td><?php echo $row['status']; ?></td>
<td>
<a href="delete-withdrawal.php?delete=<?php echo $row['id']; ?>" class="btn btn-danger" onclick="return confirm('are you sure you want to delete this?');"><i class="bi bi-trash3-fill"></i></a>
</td>
</tr>
<?php } }?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
<?php include 'footer.php'; ?>
</body>
</html>
Back to Directory
File Manager
<