📁
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
4485.19 KB
0644
🗑️
⬇️
✏️
🔒
Editing: void.php
<?php include "admin_header.php"; ?> <!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h6 mb-4 text-gray-800">Void Products</h1> <style> .form-control{ font-size:13px; border-radius: 0; font-weight:500; color:black; } .btn{ font-size:13px; font-weight:500; } .viewall{ margin-top:3%; } .chatrow{ background-color:white; width:100%; padding:15px 20px; margin-bottom:10px; box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); } .info{ background: #040b14; color:#fff; padding:10px 15px; border-radius:8px; } .sender{ font-size:15px; color:#FF339A; } .message{ font-size:14px; color:black; } .date{ font-size:10px; } .file a{ color:#fff; } .col-lg-12{ width: 100%; margin-bottom:10px; } .badge{ float:right; } #null { width: 100%; height: inherit; background: none; outline: none; border: none; text-align: left; } .rating{ color: #FF339A; } </style> <script> $(document).on('click', '.delete-notif', function(){ var image_id = $(this).attr("id"); var action = "delete"; var clickedBtn = $(this); // save reference to clicked button $.ajax({ url: "deletevoid.php", method: "POST", data: { image_id: image_id, action: action }, success: function(data) { clickedBtn.parent().remove(); } }); }); </script> <div class="row messages"> <?php $sql = "SELECT * FROM `void-products` ORDER BY s DESC "; $sql2 = mysqli_query($con,$sql); $count = mysqli_num_rows($sql2); if ($count <= 0) { echo '<div class="col-lg-12"> <div class="chatrow"> <p class="sender">None Found</p> </div>'; }else{ while ($row = mysqli_fetch_array($sql2)) { echo '<div class="col-lg-12"> <div class="chatrow"> <button class="btn btn-sm btn-danger delete-notif" id="'.$row['s'].'" style="float:right;">X</button> <p class="sender">'.$row['name'].'</p> </div></div>'; }} ?> </div> <!-- /.container-fluid --> </div> <!-- End of Main Content --> <?php include "footer.php"; ?>
💾 Save Changes