G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php include('innerpageheader.php'); include('config.php'); $result = $js->prepare('SELECT * FROM `destinations` ORDER BY `dname`'); $result->execute(); ?> <!-- ===========Innerpage-wrapper============= --> <section> <div class="content listing-content"> <div class="in-content-wrapper"> <div class="row no-gutters"> <div class="col"> <div class="heading-messages"> <h3>Sightseeings Listing</h3> </div><!-- End heading-messages --> </div><!-- End column --> <div class="col-md-4"> <div class="breadcrumb"> <div class="breadcrumb-item"><i class="fas fa-angle-right"></i><a href="#">Listing</a> </div> <div class="breadcrumb-item active"><i class="fas fa-angle-right"></i>All </div> </div><!-- end breadcrumb --> </div><!-- End column --> </div><!-- end row --> <div class="box"> <div class="row no-gutters"> <div class="col-auto me-auto text-start pe-0"> <div class="add-new"> <a href="addnew_sightseeings.php">Add New<i class="fas fa-plus"></i></a> </div><!-- End add-new--> </div><!-- End column--> <div class="col text-end"> <div class="tools-btns"> <a href="#"><i class="fas fa-print" data-bs-toggle="tooltip" data-html="true" title="Print"></i></a> <a href="#"><i class="fas fa-file-pdf" data-bs-toggle="tooltip" data-html="true" title="Pdf"></i></a> <a href="#"><i class="fas fa-file-excel" data-bs-toggle="tooltip" data-html="true" title="Excel"></i></a> </div><!-- End tool-btns--> </div><!-- End text-end--> </div><!-- end row --> <div class="row no-gutters"> <div class="col-12 table-responsive"> <table id="example" class="table table-hover responsive listing"> <thead> <tr> <th>#</th> <th>Name</th> <th>Action</th> </tr> </thead> <tbody> <?php $i =1; while($row = $result->fetch(PDO::FETCH_ASSOC)) { $id = $row['id']; $dname = $row['dname']; ?> <tr> <td><?php echo $i?></td> <td><?php echo $dname?></td> <td> <a href="edit_destinations.php?id=<?php echo $id?>"><i class="fas fa-edit" style="color:#4D4D4D"></i></a> <a href="delete_destinations.php?id=<?php echo $id?>"><i class="fa fa-times-circle" style="color:red"></i></a> </td> </tr> <?php $i++; } ?> </tbody> </table> </div><!-- end column --> </div><!-- end row --> </div><!-- end box --> </div><!-- end in-content-wrapper --> </div><!-- end listing-content --> </section> <!-- ===========End Innerpage-wrapper============= --> </div><!-- end wrapper --> <!-- Optional JavaScript, Not optional it's need too --> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="js/jquery-3.3.1.min.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap-5.3.2.min.js"></script> <script src="vendors/datatables/datatables.min.js"></script> <script src="js/customscriptfile.js"></script> <!-- Page Scripts Ends --> <script> $(document).ready(function () { $('#example').DataTable(); }); </script> </body> </html>