echo ' <div class="panel panel-primary"> <div class="panel panel-heading text-center"><h4>Modify brands in the database content</h4></div> <div class="panel-body"> <table class="table table-striped table-hover"> <thead> <tr> <th>Brand ID</th> <th>Brand name</th> <th>Edit</th> <th>Delete</th> </tr> </thead> <tbody> '; adminFetchTable(0, 'brands', 0); echo ' </tbody> </table> </div> </div> '; } } } ?> </div> </div>
} else { if ($status == 3) { echo ' <div class="panel panel-danger"> <div class="panel panel-heading text-center"><h3 style="color: red;">Are you sure you want to delete this brand?</h3><p><strong>DANGER!</strong> This action is irreversible!!!</p></div> <div class="panel-body"> <table class="table table-striped table-hover"> <thead> <tr> <th>Brand ID</th> <th>Brand name</th> </tr> </thead> <tbody> '; adminFetchTable(0, $db, $id); echo ' </tbody> </table> </div> </div> '; } } } ?> </div> </div>