<?php include 'include/header.php' ?>
<?php
$sql_gal = sqlfetch("select * from subproduct where actstat=1 and id='" . $_GET['id'] . "'");
if (count($sql_gal))
    foreach ($sql_gal as $subproduct) {
    }
?>
<style>

input, optgroup, select, textarea {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px !important;
}

    .dsesw {
        border: #FF0000 solid 1px;
        background-color: #013756;
        color: #FFFFFF;
        font-weight: bold;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 22px;
        padding: 9px 18px;
    }

    #about-content-2 #abt-cnt-2-text {
        padding-bottom: 20px;
    }

    .nav-tabs {
        border-bottom: 1px solid #dee2e6;
    }

    .byf-info .nav-tabs li:hover a,
    .byf-info .nav-tabs li.active a {
        background: #FF4838;
        border: 0px;
        color: white;
    }

    .byf-info .nav-tabs .nav-link {
        border: unset;
    }

    .byf-info .nav-tabs .nav-link {
        border: unset;
    }

    .byf-info .nav-tabs li a {
        font-size: 16px;
        font-weight: bold;
        border: unset;
    }

    .byf-info .nav-tabs>li>a {
        /* position: relative; */
        display: block;
        text-decoration: none;
        padding: 13px 15px;
        text-align: center;
        margin: 0 1px;
    }

    .byf-info .nav-tabs li a {
        background: #4d4d4d;
        color: white;
        border: 0px;
        border-radius: 8px 8px 0px 0px;
    }

    .byf-info .nav-tabs li a {
        font-size: 16px;
        font-weight: bold;
        border: unset;
    }

    .byf-info .tab-pane {
        padding: 20px 20px;
    }

    .byf-info .tab-pane {
        border: 1px solid #ddd;
        border-top: 0px;
    }

    .byf-info .tab-pane {
        padding: 20px 20px;
    }

    .c6 {
        color: #1561A3;
        font-size: 17px;
        font-weight: bold;
    }

    .tx {
        text-align: justify;
        color: #000000;
        font-size: 15px;
    }

    .bo3 {
        border-top: 1px solid #ddd;
        margin: 15px 0;
    }

    .detail-enquire {
        background-color: #C31818;
        border-radius: 30px;
        font-size: 14px;
        line-height: 25PX;
        color: #FFFFFF;
        text-transform: uppercase;
        display: block;
        padding-left: 12px;
        padding-right: 12px;
        text-decoration: none;
        max-width: 200px;
        margin-top: 3px;
        text-align: center;
        padding-top: 2px;
        padding-bottom: 2px;
        float: right;
    }

    .p45 {
        padding: 0 0 0 15px;
    }

    .s34,
    .s35 {
        font-size: 18px;
        background-color: #C80000;
        line-height: 50px;
        color: #FFFFFF;
    }

    .li19 {
        padding: 12px 5px 11px 5px;
        border-bottom: 1px dashed #CC4D22;
        display: block;
        border-radius: 0px;
        color: #000000;
        margin: 2px 4px 4px 4px;
        font-size: 14.2px;
        font-weight: bold;
        font-family: Verdana, Arial, Helvetica, sans-serif;
    }

    .b5 {
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .p23 {
        padding: 0 0 5px;
    }

    .s3 {
        font-size: 16px;
        line-height: 21px;
    }

    p {
        font-size: 15px;
        font-weight: 500;
        color: #000;
    }

    .sidebar-item h3:before {

        width: 72%;

    }

    .sidebar-item {
        background: #febb02;
    }

    .breadcrumb {
        margin-bottom: unset;
    }

    .breadcrumb {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        list-style: none;
        background-color: #e9ecef;
        border-radius: 0px;
    }
</style>

<div>
    <img src="upload/<?php echo $subproduct['photo']; ?>" class="img-responsive" style="width:100%">

</div>
<section class="breadcrumb-outerw" style="background-color:#e9ecef; padding:0px;">
    <div class="container">
        <div class="breadcrumb-content">
            <nav aria-label="breadcrumb" class="">
                <ul class="breadcrumb">
                    <li class="breadcrumb-item"><a href="#" class="text-dark"> Home</a></li>
                    <li class="breadcrumb-item active text-dark" aria-current="page"><?php echo $subproduct['name']; ?></li>
                </ul>
            </nav>
        </div>
    </div>
</section>














<section class="innerpage-wrapper">
    <div id="about-content-2" class="">
        <p></p>
        <p></p>
        <div class="container">
            <div class="row">
                <div class="col-12 col-lg-8 content-side byf-info">
                    <div>
                        <div id="abt-cnt-2-text">
                            <h1 style="text-align:left; font-weight:bold; font-size:32px;"><span><?php echo $subproduct['name']; ?></span></h1>
                        </div>
                    </div>
                    <div class="space-right">
                        <ul class="nav nav-tabs" role="tablist">
                            <li class="nav-item active">
                                <a href="#overview-info" class="nav-link" data-toggle="tab"> Overview</a>
                            </li>
                            <li class="nav-item ">
                                <a href="#airport-info" class="nav-link" data-toggle="tab">Tour Itinerary</a>
                            </li>
                            <li class="nav-item">
                                <a href="#visa-passport" class="nav-link" data-toggle="tab">Inclusions / Exclusions</a>
                            </li>

                            <li class="nav-item">
                                <a href="#price" class="nav-link" data-toggle="tab">Enquire For Price Now</a>
                            </li>

                            <li class="nav-item">
                                <a href="#gallery" class="nav-link" data-toggle="tab">Gallery</a>
                            </li>

                        </ul>

                        <div class="tab-content">
                            <div id="overview-info" class="tab-pane active">
                                <div class="trip-content">
                                    <div class="trip-head">
                                        <div><b style="color:#DB0935;">Duration:</b> <?php echo $subproduct['pro_lable']; ?><br>
                                            <b style="color:#DB0935;">Destinations:</b> <?php echo $subproduct['pro_specification']; ?><br>
                                            <div class="p-card-bottom">
                                                <div>
                                                    <h3 style="color:#FF0000; font-size:20px; font-weight:bold;">Price On Request</h3>
                                                    <a href="#" class="detail-enquire">Enquire Now</a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <br>


                                <div class="bo3"></div>
                                <h4 class="c6">OverView</h4>
                                <p class="tx">
                                    <?php echo $subproduct['des']; ?><br>
                                </p>




                            </div>
                            <div id="airport-info" class="tab-pane">
                                <div class="trip-content">
                                    <div class="bo3"></div>
                                    <?php echo $subproduct['pro_shortdes']; ?><br>
                                </div>




                            </div>

                            <div id="visa-passport" class="tab-pane">
                                <div class="byf-info-wrap">
                                    <h3 class="byf-info-heading" style="color:#1561A3;">Package Inclusions</h3>
                                    <?php echo $subproduct['pro_additionalinfo']; ?><br>
                                </div><!-- end byf-info-wrap -->
                            </div>

                            <div id="price" class="tab-pane">
                                <div class="byf-info-wrap">
                                    <h3 class="byf-info-heading dsesw" style="color:white;"> 
                                    <center><img src="img/helpdesk-icon.gif" width="60px" >Plan Your Trip Now</center>
                                </h3>
                                    <div class="forsm">
                                        <h2 class="mt-5 mb-4"></h2>

                                        <form action="/submit" method="post">
                                            <div class="row">
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="country">Your Country*</label>
                                                        <input type="text" class="form-control" id="country" name="country" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="name">Name*</label>
                                                        <input type="text" class="form-control" id="name" name="name" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="phone">Phone No*</label>
                                                        <input type="tel" class="form-control" id="phone" name="phone" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="email">Email Id*</label>
                                                        <input type="email" class="form-control" id="email" name="email" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="destination">Destination*</label>
                                                        <input type="text" class="form-control" id="destination" name="destination" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="days">Nos. of Days*</label>
                                                        <input type="number" class="form-control" id="days" name="days" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="arrivalDate">Arrival Date*</label>
                                                        <input type="date" class="form-control" id="arrivalDate" name="arrivalDate" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="travelers">Nos. of Travellers*</label>
                                                        <input type="number" class="form-control" id="travelers" name="travelers" required>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label for="requirements">Requirements</label>
                                                        <textarea class="form-control" id="requirements" name="requirements"></textarea>
                                                    </div>
                                                </div>

                                                <div class="col-lg-6 ">
                                                    <button type="submit" class="btn submit-btn biz-btn hjk mt-5">Submit Your Query</button>
                                                </div>
                                            </div>
                                        </form>


                                    </div>



                                </div>
                            </div>

                            <div id="gallery" class="tab-pane">
                                <div class="byf-info-wrap">

                                    <div class="content " data-ref="container-1">

                                        <div class="row ">
                                            <?php
                                            $sub_cat = sqlfetch("SELECT * FROM itinerary where subcat='" . $subproduct['id'] . "'  ");
                                            if (count($sub_cat)) {
                                                foreach ($sub_cat as $itinerary) {

                                            ?>


                                                    <div class="col-lg-4 col-sm-6 col-12">
                                                        <div class="gallery-item">
                                                            <div class="gallery-image">
                                                                <img src="upload/<?php echo $itinerary['photo']; ?>" alt="image" style="height: 200px;" />
                                                            </div>
                                                            <div class="gallery-content">
                                                                <ul>
                                                                    <li>
                                                                        <a href="upload/<?php echo $itinerary['photo']; ?>" data-lightbox="gallery" data-title="Title"><i class="fa fa-eye"></i></a>
                                                                    </li>

                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                            <?php
                                                }
                                            }
                                            ?>


                                        </div>
                                    </div>
                                    <!-- Gallery Ends -->

                                </div>
                            </div>



                        </div>
                    </div>
                </div>




                <div class="sidebar col-md-4">
                    <!-- quick links ab start -->
                    <div class="b5">
                        <div class="sidebar-item " style="box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; padding:17px;">
                            <div class="single-add-review pad-top-30">
                                <h3> <img src="img/helpdesk-icon.gif" alt="" style="width: 70px;">Get In Touch</h3>
                                <form>
                                 <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="text" name="Country" id="Country" value="" style="height:45PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" size="40" class="form-control" placeholder="Your Country*">
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="text" name="Name" id="Name" value="" style="height:45PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" size="40" class="form-control" placeholder="Name*">
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="text" name="Phone" value="" size="40" style="height:45PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" class="form-control" placeholder="Phone No*">
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="email" name="Email" id="Email" value="" size="40" style="height:45PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" class="form-control" placeholder="Email Id*">
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="text" name="Destination" id="Destination" value="" style="height:45PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" size="40" class="form-control" placeholder="Destination*">
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="number" name="Days" id="Days" value="" style="height:45PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" size="40" class="form-control" placeholder="Nos. of Days*">
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="text" class="form-control" id="arrivalDate"  name="ArrivalDate" style="height:45PX; background-color:#FFFFFF;" value="" placeholder="Arrival Date*" >
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <input type="number" name="Travellers" id="Travellers" value="" style="height:45PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" size="40" class="form-control" placeholder="Nos. of Travellers*">
                                            </div>
                                        </div>
                                        <div class="col-md-12">
                                            <div class="form-group">
                                                <textarea name="Requirements" id="Requirements" style="height:100PX; background-color:#FFFFFF; font-size:14px; padding-left:10px;" class="form-control" placeholder="Requirement*"></textarea>
                                            </div>
                                        </div>
                                    </div>
                                      <div align="center"><button class="biz-btn biz-btn1 ss">Submit Your Query</button></div>
                                </form>
                            </div>

                        </div>

                    </div>
                    <!-- quick links ab start --><br>
                    <!-- call back1 start -->
                    <div class="">
                        <div class="s3 p23">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody>
                                    <tr>
                                        <td align="left" valign="top">
                                            <div class="b5">
                                                <div class="p45 s34"><strong style="color:#FFFFFF;">Other Tour Packages</strong></div>

                                                <?php
                                                $sub_cat = sqlfetch("SELECT * FROM subproduct ");
                                                if (count($sub_cat)) {
                                                    foreach ($sub_cat as $subcat) {

                                                ?>
                                                        <div class="li19"> <a href="package_detail.php?id=<?php echo $subcat['id']; ?>"><b style="color:#FF0000;">» </b><?php echo $subcat['name']; ?></a></div>
                                                <?php
                                                    }
                                                }
                                                ?>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>



                                        <td align="left" valign="top">&nbsp;</td>
                                    </tr>
                                    <tr>

                                        <td align="left" valign="top"></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>



                </div>



            </div><!-- end columns -->

        </div><!-- end row -->
    </div><!-- end container -->
</section>



<section class="hotel-nearby bg-grey">
    <div class="container">
        <div class="section-title">
            <h2>Related <span>Holiday</span> Plan </h2>
        </div>
        <div class="row top-deal-slider">
            <?php
            $sub_cat = sqlfetch("SELECT * FROM subproduct ");
            if (count($sub_cat)) {
                foreach ($sub_cat as $subcat) {

            ?>
                    <div class="col-lg-4 slider-item img-hover-zoom--colorize">
                        <div class="trend-item">
                            <div class="trend-image">
                                <img src="upload/<?php echo $subcat['photo']; ?>" style="height:203px;" alt="image" />
                                <div class="trend-tags">
                                    <a href="package_detail.php?id=<?php echo $subcat['id']; ?>">
                                        <i class="flaticon-like"></i>
                                    </a>
                                </div>
                                <div class="trend-price">
                                    <p class="price">From <span>₹
                                            <?php echo $subcat['pro_discountprice']; ?>
                                        </span>
                                    </p>
                                </div>
                            </div>
                            <div class="trend-content">
                                <p>
                                    <i class="flaticon-location-pin"></i>
                                    <?php echo $subcat['pro_specification']; ?>
                                </p>
                                <h4>
                                    <a href="package_detail.php?id=<?php echo $subcat['id']; ?>">
                                        <?php custom_echo($subcat['name'], 20); ?>
                                    </a>
                                </h4>
                                <p class="mar-0">
                                    <i class="fa fa-clock-o" aria-hidden="true"></i>
                                    <?php echo $subcat['pro_lable']; ?>
                                </p>
                                <a href="package_detail.php?id=<?php echo $subcat['id']; ?>">
                                    <button class="sc-e842411c-22 iAsYia">View Details</button>
                                </a>
                            </div>
                        </div>
                    </div>
            <?php
                }
            }
            ?>
        </div>
    </div>
</section>
<?php include 'include/footer.php' ?>