Advertisement
tm32365

Untitled

Oct 23rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. <?php
  2. include "header.php";
  3. include "userProcess.php";
  4.  
  5. ?>
  6.  
  7.  
  8.  
  9. <body>
  10.  
  11. <?php $results = mysqli_query($db, "SELECT * FROM topup"); ?>
  12.  
  13. <table class="table table-striped">
  14. <thead>
  15. <tr class="table-active">
  16. <th scope="col">NO</th>
  17. <th scope="col">NAME</th>
  18. <th scope="col">PHONE NUMBER</th>
  19. <th scope="col">USERNAME</th>
  20. <th scope="col">SUBSCRIPTION</th>
  21. <th scope="col">PAYMENT SLIP</th>
  22. <th scope="col">ACTION</th>
  23.  
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <?php while ($row = mysqli_fetch_array($results)) { ?>
  28. <tr>
  29. <th scope="row"><?php echo $row['id']; ?></th>
  30. <td><?php echo $row['name']; ?></td>
  31. <td><?php echo $row['phoneNumber']; ?></td>
  32. <td><?php echo $row['username']; ?></td>
  33. <td><?php echo $row['subscription']; ?></td>
  34. <td><a href="/uploads/<?php echo $row['paymentSlip']; ?>"><?php echo $row['paymentSlip']; ?></a></td>
  35. <td>
  36. <a href="action send topup ticket to customer">Accept</a>
  37. <a href="userProcess.php?del=<?php echo $row['id']; ?>" class="btn btn-danger">Reject</a>
  38. </td>
  39. </tr>
  40.  
  41. <?php } ?>
  42.  
  43. </tbody>
  44. </table>
  45.  
  46. <?php
  47. include "footer.php";
  48.  
  49. ?>
  50. </body>
  51. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement