G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php include('innerpageheader.php'); include('config.php'); $enqstat = 'Invoiced'; //$enqstat1 = ''; $result = $js->prepare('SELECT * FROM `package` '); $result->execute(); ?> <section> <div class="content listing-content"> <div class="in-content-wrapper"> <div class="row no-gutters"> <div class="col"> <div class="heading-messages"> <h3>Packages</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="add_packages.php">Add New Package<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 style="background-color:#00BDA5; color:#fff; text-transform:uppercase;"> <th style="color:#fff;">#</th> <th style="color:#fff;">Package Code</th> <th style="color:#fff;">Package Name</th> <th style="color:#fff;">Upload Package Images</th> <th style="color:#fff;">Number of Days</th> <th style="color:#fff;">Upload Itinerary Images</th> <th style="color:#fff;">View Package</th> <th>Add to Trips Website</th> <th>Add to Website</th> <th>Remove from Website</th> <th style="color:#fff;">Edit</th> <th style="color:#fff;">Delete</th> </tr> </thead> <tbody> <?php $i =1; $x=1; while($row = $result->fetch(PDO::FETCH_ASSOC)) { $id = $row['id']; $pkgid = $row['pkgid']; $pkgcode = $row['pkgcode']; $pkgname = $row['pkgname']; $days = $row['days']; echo "<tr>"; echo "<td>$i</td>"; echo "<td>$pkgcode</td>"; echo "<td>$pkgname</td>"; echo "<td><a href='upload_packageimages.php?pkgid=$pkgid'><i class='fa fa-upload' style='size:15px;color:#E8514D;'></i></a></td>"; echo "<td>$days</td>"; echo "<td><a href='upload_itineraryimages.php?pkgid=$pkgid'><i class='fa fa-upload' style='size:15px;color:green;'></i></a></td>"; echo "<td align='center'><a href='viewpackages.php?pkgid=$pkgid'><i class='fa fa-eye' style='size:15px; color:blue;'></i></a></td>"; echo "<td align='center'><a href='setpackagetotrips.php?pkgid=$pkgid'><i class='fas fa-thumbs-up' style='color:#255669;'></i></td>"; echo "<td align='center'><a href='setpackage.php?pkgid=$pkgid'><i class='fas fa-thumbs-up' style='color:#EA4335;'></i></td>"; echo "<td align='center'><a href='unsetpackage.php?pkgid=$pkgid'><i class='fas fa-thumbs-down' style='size:15px;color:orange;'></i></td>"; echo "<td><a href='edit_packages.php?pkgid=$pkgid'><i class='fas fa-edit' style='size:15px;color:#169A8F;'></i></a>"; echo "<td><a href='delete_packages.php?pkgid=$pkgid'><i class='fa fa-times-circle' style='color:red'></i></a> </td>"; echo "</tr>"; $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>