/
/
home
/
u917864144
/
domains
/
humsafarholiday.com
/
public_html
EDITOR
/home/u917864144/domains/humsafarholiday.com/public_html/product_details.php
SAVE
CLOSE
<?php include 'header.php'; $id = $_GET['id']; $related_name = $_GET['related_name']; ?> <!-- Common Banner Area --> <section id="common_banner"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="common_bannner_text"> <?php $query1 = "SELECT * FROM packages where id='" . $id . "'"; $fetch = mysqli_query($con, $query1); while ($row = mysqli_fetch_assoc($fetch)) { ?> <h2><?php echo $row['product_name']; ?></h2> <ul> <li><a href="index.php">Home</a></li> <li><span><i class="fas fa-circle"></i></span> <?php if ($row['category_id'] == 1) { echo "<a href='main_product.php'>Packages</a>"; } if ($row['category_id'] == 2) { echo "<a href='main_product.php'>Packages</a>"; } if ($row['category_id'] == 3) { echo "<a href='main_product.php'>Packages</a>"; } if ($row['category_id'] == 4) { echo "<a href='main_product.php'>Packages</a>"; } if ($row['category_id'] == 5) { echo "<a href='main_product.php'>Packages</a>"; } if ($row['category_id'] == 6) { echo "<a href='main_product.php'>Packages</a>"; } if ($row['category_id'] == 7) { echo "<a href='main_product.php'>Packages</a>"; } if ($row['category_id'] == 9) { echo "<a href='cruise.php'>Cruises</a>"; } if ($row['category_id'] == 10) { echo "<a href='cruise.php'>Cruises</a>"; } if ($row['category_id'] == 11) { echo "<a href='product.php?category_id=11&s_id=1'>Honeymoon Special</a>"; } ?> </li> <li><span> <?php if($row['category_id'] == 11){ echo ''; }else{ echo '<i class="fas fa-circle"></i>'; }?> </span> <?php if ($row['category_id'] == 1) { echo "<a href='dom_p.php'>Domestic</a>"; } if ($row['category_id'] == 2) { echo "<a href='product.php?category_id=2&s_id=1'>International</a>"; } if ($row['category_id'] == 3) { echo "<a href='product.php?category_id=3&s_id=1'>Customize Packages</a>"; } if ($row['category_id'] == 4) { echo "<a href='product.php?category_id=4&s_id=1'>Bus Tour</a>"; } if ($row['category_id'] == 5) { echo "<a href='product.php?category_id=5&s_id=1'>Car Rental Services</a>"; } if ($row['category_id'] == 6) { echo "<a href='product.php?category_id=6&s_id=1'>Visa Services</a>"; } if ($row['category_id'] == 7) { echo "<a href='product.php?category_id=7&s_id=1'>Farmhouse / Villa Rental</a>"; } if ($row['category_id'] == 8) { echo "<a href='product.php?category_id=8&s_id=1'>Membership Card</a>"; } if ($row['category_id'] == 9) { echo "<a href='product.php?category_id=9&s_id=1'>Royal Caribbean</a>"; } if ($row['category_id'] == 10) { echo "<a href='product.php?category_id=10&s_id=1'>Norway Cruises</a>"; } ?> </li> <li><span><i class="fas fa-circle"></i></span> <?php echo $row['product_name']; ?> </li> </ul> <?php } ?> </div> </div> </div> </div> </section> <!--Related tour packages Area --> <?php $query = "SELECT * FROM packages where related_name='" . $related_name . "'ORDER BY id DESC Limit 12 "; $query_run = mysqli_query($con, $query); ?> <section id="related_tour_packages" class="mt-4"> <div class="container mt-5"> <!-- Section Heading --> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-12 text-center mb-5"> <div class="text_underline"> <h2>Related Packages</h2> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="promotional_tour_slider owl-theme owl-carousel dot_style"> <?php while ($row = mysqli_fetch_assoc($query_run)) { ?> <div class="theme_common_box_two img_hover"> <?php echo '<a href= "product_details.php?id=' . $row['id'] . '&category_id=' . $row['category_id'] . '&related_name=' . $row['related_name'] . ' ">'; ?> <div class="theme_two_box_img"> <img src="image/product/<?php echo $row['cover_img']; ?>" alt="img"> <!-- <p><i class="fas fa-map-marker-alt"></i>New beach, Thailand</p> --> </div> <div class="theme_two_box_content"> <h4><?php echo $row['product_name']; ?></h4> <p><span class="review_count"><?php echo $row['trip_day']; ?> </span></p> <h3>₹ <?php echo $row['price']; ?>/- </span></h3> </div> </a> </div> <?php } ?> </div> </div> </div> </div> </section> <?php $query = "SELECT * FROM packages where id='" . $id . "'"; $fetch = mysqli_query($con, $query); while ($row = mysqli_fetch_assoc($fetch)) { ?> <!-- Room Details Areas --> <section id="tour_details_main"> <div class="container"> <div class="row"> <div class="col-lg-8"> <div class="tour_details_leftside_wrapper"> <div class="tour_details_img_wrapper"> <div class="slider-for"> <?php $fetch = mysqli_query($con, $query); $result = mysqli_fetch_array($fetch); $image = explode("-,-", $result['image']); foreach ($image as $img) { ?> <div> <img src="image/product/<?php echo $img; ?>" alt="img"> </div> <?php } ?> </div> <div class="slider-nav"> <?php foreach ($image as $img) { ?> <div style="width:10em;"> <img src="image/product/<?php echo $img; ?>" alt="img"> </div> <?php } ?> </div> </div> <div class="tour_details_boxed mb-5"> <h3 class="heading_theme">Itinerary</h3> <div class="tour_details_boxed_inner"> <!-- <h4 class="mb-2"></h4> --> <?php $itinerary = explode("-,-", $result['itinerary']); foreach ($itinerary as $itiner) { ?> <!-- <h4 class="mb-2"></h4> --> <p> <?php echo $itiner; ?> </p> <?php } ?> </div> </div> </div> </div> <div class="col-lg-4 mt-5"> <div class="tour_details_right_sidebar_wrapper"> <div class="tour_detail_right_sidebar"> <div class="tour_details_right_boxed"> <div class="tour_details_heading_wrapper"> <div class="tour_details_top_heading"> <h2><?php echo $row['product_name']; ?></h2> <h5><?php echo $row['trip_day']; ?></h5> </div> </div> <div class="tour_details_right_box_heading mt-4"> <h3>Starting Price</h3> </div> <div class="tour_package_bar_price"> <h3>₹<?php echo $row['price']; ?>/-* <sub> Per Person</sub></h3> </div> <div class="tour_package_bar_price"> <sub>*T&C Apply</sub> </div> </div> <div class="tour_select_offer_bar_bottom mt-3"> <a href="https://api.whatsapp.com/send/?phone=%2B918980762489&text=*<?php echo $row['product_name'] ?> - <?php echo $row['trip_day']; ?>*&type=phone_number&app_absent=0"> <button class="btn btn_theme btn_md w-100" data-bs-toggle="offcanvas" data-bs-target="#offcanvasRight" aria-controls="offcanvasRight"> Book Now </button> </a> </div> <div class="tour_select_offer_bar_bottom mt-3"> <a target="_blank" href="pdf_save.php?id=<?php echo $row['id'] ?> & category_id=<?php echo $row['category_id'] ?>"> <button class="btn btn_theme btn_md w-100"> Download PDF </button> </a> </div> </div> <div class="tour_details_boxed"> <h3 class="heading_theme">Inclusions</h3> <div class="tour_details_boxed_inner"> <ul> <?php $inclusions = explode("-,-", $result['inclusions']); foreach ($inclusions as $inclus) { ?> <li><i class="fas fa-circle"></i><?php echo $inclus; ?></li> <?php } ?> </ul> </div> </div> <div class="tour_details_boxed"> <h3 class="heading_theme">Exclusions</h3> <div class="tour_details_boxed_inner"> <ul> <?php $exclusions = explode("-,-", $result['exclusions']); foreach ($exclusions as $exclus) { ?> <li><i class="fas fa-circle"></i><?php echo $exclus; ?></li> <?php } ?> </ul> </div> </div> </div> </div> </div> </div> </section> <?php } ?> <?php include 'footer.php'; ?>
Ln 1, Col 1
FORMAT
WRAP
SAVE FILE
ONLINE
public_html
36 items
08:18:26
TERMINAL FM
×
NAVIGATION
Root
Parent Dir
Refresh
ACTIONS
New Folder
New File
Upload Files
New Symlink
SELECTION
Select All
Deselect
Delete Selected
NEW FOLDER
FOLDER NAME
NEW FILE
FILE NAME
UPLOAD FILES
Click to browse or drag & drop files
No files selected
RENAME
CURRENT NAME
NEW NAME
COPY FILE
SOURCE
DESTINATION NAME
CHMOD
FILE / FOLDER
CURRENT PERMISSIONS
NEW MODE (octal)
755 (rwxr-xr-x)
644 (rw-r--r--)
777 (rwxrwxrwx)
600 (rw-------)
444 (r--r--r--)
CONFIRM DELETE
You are about to delete:
This action is irreversible. All contents will be permanently removed.
NEW SYMLINK
LINK TARGET (path)
LINK NAME
Edit
Preview
Download
Rename
Copy
Chmod
Delete