📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
boot
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📁
css
-
0755
🗑️
🔒
📁
js
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
2400.71 KB
0644
🗑️
⬇️
✏️
🔒
Editing: dashboard.php
<?php include "header.php"; ?> <div id="layoutSidenav_content"> <main> <div class="container-fluid px-4"> <h1 class="mt-4">Dashboard</h1> <ol class="breadcrumb mb-4"> <li class="breadcrumb-item active">Latest Bids</li> </ol> <div class="card mb-4"> <div class="card-header"> <i class="fas fa-table me-1"></i> Bidding Table </div> <div class="card-body"> <table class="table table-borderless"> <thead> <tr> <th scope="col">Product</th> <th scope="col">User</th> <th scope="col">Amount</th> <th scope="col">DateTime</th> </tr> </thead> <tbody> <?php //get the all unreviewed product $sql ="select all* from bid where status != '' ORDER by date DESC"; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $ideas = $row["id"]; $stat= $row["status"]; $sqk = "SELECT all* from lest where id='$ideas'"; $sqlp = mysqli_query($con,$sqk); while($rowe = mysqli_fetch_array($sqlp)) { $neme = $rowe['name']; } echo ' <tr> <td><span class="text-primary fw-bold">'.$neme.'</span></td> <td class="fw-bold">'.$row["user"].'</td> <td>₦ '.$row["amount"].'</td> <td>'.$row["date"].'</td> <td class="fw-bold">'.$pro.'</td> </tr>'; } ?> </tbody> </table> </div> </div> </div> </main> <?php include "footer.php"; ?>
💾 Save Changes