Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/harishtaraagriculturaltrust/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include 'comman/links.php'; ?> <!-- Layout wrapper --> <div class="layout-wrapper layout-content-navbar"> <div class="layout-container"> <!-- Menu --> <?php include 'comman/sidebar.php'; ?> <!-- Layout container --> <div class="layout-page"> <?php include 'comman/header.php'; ?> <!-- Content wrapper --> <div class="content-wrapper"> <!-- Content --> <div class="container-xxl flex-grow-1 container-p-y"> <h4 class="fw-bold py-3 mb-4"><span class="text-muted fw-light">Admin /</span> Current Donations</h4> <div class="row"> <div class="col-md-12"> <ul class="nav nav-pills flex-column flex-md-row mb-3"> <!-- <li class="nav-item"> <a class="nav-link active" href="javascript:void(0);"><i class="bx bx-user me-1"></i> Account</a> </li> --> <!-- <li class="nav-item"> <a class="nav-link" href="pages-account-settings-notifications.html" ><i class="bx bx-bell me-1"></i> Notifications</a > </li> --> <!-- <li class="nav-item"> <a class="nav-link" href="pages-account-settings-connections.html" ><i class="bx bx-link-alt me-1"></i> Connections</a > </li> --> </ul> <div class="card mb-4"> <!-- <h5 class="card-header">Profile Details</h5> --> <!-- Account --> <!-- <div class="card-body"> <div class="d-flex align-items-start align-items-sm-center gap-4"> <div class="button-wrapper"> <label for="upload" class="btn btn-primary me-2 mb-4" tabindex="0"> <span class="d-none d-sm-block">Upload new photo</span> <i class="bx bx-upload d-block d-sm-none"></i> <input type="file" id="upload" class="account-file-input" hidden accept="image/png, image/jpeg" /> </label> <p class="text-muted mb-0">Allowed JPG, GIF or PNG. Max size of 800K</p> </div> </div> </div> --> <hr class="my-0" /> <!-- /Account --> </div> <hr> </div> </div> <div class="card"> <h5 class="card-header">View All Donations</h5> <div class="card-body"> <div class="table-responsive text-nowrap"> <table class="table"> <thead> <tr> <th>Id</th> <th>Transaction Id</th> <th>Order Id</th> <th>User Email</th> <th>User Phone</th> <th>Paid Amount</th> <th>Status</th> </tr> </thead> <tbody class="table-border-bottom-0"> <?php $count=1; $result = mysqli_query($conn,"SELECT * FROM orders"); while($data = mysqli_fetch_array($result)) { ?> <td><?php echo $count; ?></td> <td><?php echo $data['tran_id']; ?></td> <td>#order_id_<?php echo $data['order_id']; ?></td> <td><?php echo $data['email']; ?></td> <td><?php echo $data['phone']; ?></td> <td><i class="fa fa-inr" aria-hidden="true"></i> <?php echo $data['price']; ?></td> <td>okkk</td> </tr> <?php $count++; } ?> </tbody> </table> </div> </div> </div> <!-- / Content --> <?php include 'comman/footer.php'; ?> <script> function up(id) { jQuery.ajax ({ url:'edit_ban.php', type:'post', data:'id='+id+'&type=data', success:function(data) { alert(data); // $('.ddd').html(data); } }); } </script> <script> function dle(id) { swal({ title: "Are You Want To Delete?", // text: "Are you want to delete!", icon: "warning", buttons: true, dangerMode: true, }) .then((willDelete) => { if (willDelete) { window.location = "bn_cp.php?id="+id; swal("Poof! Your imaginary file has been deleted!", { icon: "success", }); } else { swal("Your imaginary file is safe!"); } }); } </script>