} else { header("location:rooms.php"); } } ?> <!-- End Of unAvilable Room Pop Up --> <div class="row text-right marginBottom"> <a class="btn btn-info" href="rooms.php?insRoom">Insert New Room</a> </div> <div class="row table-responsive"> <?php if ($rooms->checkFoundRooms()) { $rooms->viewAllRooms(); } else { ?> <div class="alert alert-danger">Sorry No Rooms Found <a class="btn-link" href="rooms.php?insRoom">Insert New Room</a></div> <?php } ?> </div> </body>