G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php include('innerpageheader.php'); include('config.php'); $result = $js->prepare('SELECT * FROM `tripsenquiries` ORDER BY `id` DESC'); $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>Trip's visit entries</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"> </div><!-- End add-new--> </div><!-- End column--> <div class="col text-end"> <div class="tools-btns"> </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>EntryDate</th> <th>Name</th> <th>Phone Number</th> <th>Email</th> <th>Country From</th> <th>Destination</th> <th>Planning Date</th> <th>Duration</th> <th>No of Pax</th> <th>Comments</th> </tr> </thead> <tbody> <?php $i =1; while($row = $result->fetch(PDO::FETCH_ASSOC)) { $id = $row['id']; $enquiry = date('d-m-Y', strtotime($row['enquiry'])); $custname = $row['fullname']; $phone = $row['phone']; $email = $row['emailid']; $location = $row['country']; $prefdest = $row['destination']; $planningdate = date('d-m-Y', strtotime($row['traveldate'])); $daysplanning = $row['duration']; $adults = $row['adults']; $child = $row['children']; $pax = $adults." Adults".$child." Children"; $comments = $row['comments']; ?> <tr> <td><?php echo $i?></td> <td><?php echo $enquiry?></td> <td><?php echo $custname?></td> <td><?php echo $phone?></td> <td><?php echo $email?></td> <td><?php echo $location?></td> <td><?php echo $prefdest?></td> <td><?php echo $planningdate?></td> <td><?php echo $daysplanning?></td> <td><?php echo $pax?></td> <td><?php echo $comments?></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 --> <?php include('footer.php'); ?> <!-- 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>