<!-- This is for Car list  -->
<section id="main_form" class="padding12top">
    <div class="banner-bottom pcenter" >
        <!-- container -->
        <div class="container">
            <div class="row">
                <?php //echo $this->partial('sight-seeing/index/modify-search'); ?>
                <div class="banner-bottom-grids">
                    <div class="col-md-3 banner-bottom-grid widthpercent20 pull-left filter-div">
                        <?php echo $this->partial('sight-seeing/index/vehicle-filter'); ?>
                    </div>

                    <div class="currency-filter">
                        <div class="col-md-6 col-sm-12 wow fadeInDown" data-wow-duration="1000ms" data-wow-delay="600ms">
                            <div class="left wow fadeInDown">
                                <h2><?php echo $sightData['sightseeing_name']; ?><br>
                                    <span style="font-size:13px;"><?php echo $sightData['city_name']; ?></span>
                                </h2>
                            </div>
                            <div class="col-sm-12">
                                <div class="row">
                                    <div class="col-sm-12 col-md-12 col-xl-12 redio padding5topbot" style="background:#fff; padding-top:10px;" >
                                        <div class="col-sm-6 padding0">
                                            <img src="http://<?php echo $_SERVER['SERVER_NAME']; ?>/images/hotelimage.png" width="100%">
                                        </div>
                                        <div class="col-sm-6"><?php echo $sightData['description']; ?></div>
                                    </div>
                                    <div class="tabbable">
                                        <div class="col-sm-12 padding0 margin-bot2px">
                                            <ul class="nav nav-tabs nav-tabs-detail" id="myTab">
                                                <li class="active"><a href="#tab-1" data-toggle="tab"><span>Overview</span></a></li>
                                                <li><a href="#tab-2" data-toggle="tab"><span>Season</span></a></li>
                                                <li><a href="#tab-3" data-toggle="tab"><span>Things to Carry</span></a></li>
                                                <li><a href="#tab-4" data-toggle="tab"><span>Meeting Point</span></a></li>
                                                <li><a href="#tab-5" data-toggle="tab"><span>Highlights</span></a></li>
                                                <li><a href="#tab-6" data-toggle="tab"><span>Inclusion & Exclusion</span></a></li>
                                                <li><a href="#tab-7" data-toggle="tab"><span>Payment Structure</span></a></li>
                                                <li><a href="#tab-8" data-toggle="tab"><span>Payment Documentation</span></a></li>
                                                <li><a href="#tab-9" data-toggle="tab"><span>Cancellation Policy</span></a></li>
                                                <li><a href="#tab-10" data-toggle="tab"><span>Refund Policy</span></a></li>
                                                <li><a href="#tab-11" data-toggle="tab"><span>Terms & Condition</span></a></li>
                                            </ul>
                                        </div>

                                        <div class="col-sm-12 col-md-12 col-xl-12 tab-content" style="background:#fff; padding-top:10px;" >


                                            <div class="tab-pane fade in active" id="tab-1">
                                                <?php
                                                if (!empty($sightData['tourfaredata'])) {
                                                    $fareData = json_decode($sightData['tourfaredata'], true);
                                                    $adultFare = $fareData[0]['adult_price'];
                                                    $childFare = $fareData[0]['child_price'];
                                                    $totalFare = ($adultFare * $data['adults']) + ($childFare * $data['childs']);
                                                } else {
                                                    $adultFare = 0;
                                                    $childFare = 0;
                                                    $totalFare = $adultFare + $childFare;
                                                }
                                                ?>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Private</h2>
                                                    <p><?php echo $adultFare; ?> * <?php echo $data['adults']; ?> = <?php echo $adultFare * $data['adults']; ?></p>
                                                    <p><?php echo $childFare; ?> * <?php echo $data['childs']; ?> = <?php echo $childFare * $data['childs']; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Seat In Coach</h2>
                                                    <p><?php echo $adultFare; ?> * <?php echo $data['adults']; ?> = <?php echo $adultFare * $data['adults']; ?></p>
                                                    <p><?php echo $childFare; ?> * <?php echo $data['childs']; ?> = <?php echo $childFare * $data['childs']; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Address</h2>
                                                    <p><?php echo $sightData['sightseeing_address']; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Youtube Url</h2>
                                                    <p><?php echo $sightData['youtube_url']; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Sightseeing Cover</h2>
                                                    <p><?php echo $sightData['sightseeing_cover']; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Valid Date</h2>
                                                    <p><?php echo date('d-m-Y', strtotime($sightData['from_date'])); ?> TO <?php echo date('d-m-Y', strtotime($sightData['to_date'])); ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Valid Time</h2>
                                                    <p><?php echo $sightData['opening_time']; ?> TO <?php echo $sightData['closing_time']; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Valid Age</h2>
                                                    <p><?php echo $sightData['age_from']; ?> TO <?php echo $sightData['age_to']; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Transport</h2>
                                                    <p><?php if ($sightData['transfer'] == 1) echo "Yes";
                                                else echo "NA"; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Pickup Point</h2>
                                                    <p><?php if ($sightData['pickup_point'] != "") echo $sightData['pickup_point'];
                                                else 'NA'; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Meals</h2>
                                                    <?php
                                                    if (!empty($sightData['meal'])) {
                                                        $meal = json_decode($sightData['meal'], true);
                                                        $meal = array_column($meal, "meal_name");
                                                        $meal = implode(', ', $meal);
                                                    } else {
                                                        $meal = "NA";
                                                    }
                                                    ?>
                                                    <p><?php echo $meal; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Languages</h2>
                                                    <?php
                                                    if (!empty($sightData['sightseeinglanguage'])) {
                                                        $lang = json_decode($sightData['sightseeinglanguage'], true);
                                                        $lang = array_column($lang, "language_name");
                                                        $lang = implode(', ', $lang);
                                                    } else {
                                                        $lang = "NA";
                                                    }
                                                    ?>
                                                    <p><?php echo $lang; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Sightseeing Type</h2>
                                                    <?php
                                                    if (!empty($sightData['sightseingtype'])) {
                                                        $sightseeing_type = json_decode($sightData['sightseingtype'], true);
                                                        $sightseeing_type = array_column($sightseeing_type, "sightseeing_type");
                                                        $sightseeing_type = implode(', ', $sightseeing_type);
                                                    } else {
                                                        $sightseeing_type = "NA";
                                                    }
                                                    ?>
                                                    <p><?php echo $sightseeing_type; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Sightseeing Category</h2>
                                                    <?php
                                                    if (!empty($sightData['sightseeingcategory'])) {
                                                        $category = json_decode($sightData['sightseeingcategory'], true);
                                                        $category = array_column($category, "sightseeing_category");
                                                        $category = implode(', ', $category);
                                                    } else {
                                                        $category = "NA";
                                                    }
                                                    ?>
                                                    <p><?php echo $category; ?></p>
                                                </div>

                                                <div class="col-sm-12 holidaytext">
                                                    <h2>Week off</h2>
                                                    <?php
                                                    if (!empty($sightData['activeweekdays'])) {
                                                        $weekDays = json_decode($sightData['activeweekdays'], true);
                                                        $weekDays = array_column($weekDays, "weekdays_name");
                                                        $weekDays = implode(', ', $weekDays);
                                                    } else {
                                                        $weekDays = "NA";
                                                    }
                                                    ?>
                                                    <p><?php echo $weekDays; ?></p>
                                                </div>




                                            </div>

                                            <div class="tab-pane fade " id="tab-2">
                                                <div class="col-sm-12 padding0">
                                                    <h2>Season</h2>
                                                    <?php
                                                    if (!empty($sightData['season'])) {
                                                        $season = json_decode($sightData['season'], true);
                                                        $season = array_column($season, "season");
                                                        $season = implode(', ', $season);
                                                    } else {
                                                        $season = "NA";
                                                    }
                                                    ?>
<?php echo $season; ?>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade " id="tab-3">
                                                <div class="col-sm-12 padding0">
                                                    <h2>Things To Carry</h2>
                                                    <?php
                                                    if (!empty($data['thingstocarry'])) {
                                                        $thingsCarry = json_decode($data['thingstocarry'], true);
                                                        $thingsCarry = array_column($thingsCarry, "thingstocarry");
                                                        $thingsCarry = implode(', ', $thingsCarry);
                                                    } else {
                                                        $thingsCarry = "NA";
                                                    }
                                                    ?>
<?php echo $thingsCarry; ?>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-4">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Meeting Point</h3>
                                                        <p><?php echo $sightData['meeting_point']; ?></p>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-5">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Highlights</h3>
                                                        <p><?php echo $sightData['highlights']; ?></p>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-6">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Inclusions</h3>
                                                        <p><?php echo $sightData['cost_inclusive']; ?></p>
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Exclusions</h3>
                                                        <p><?php echo $sightData['cost_exclusive']; ?></p>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-7">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Payment Structure</h3>
                                                        <p><?php echo $sightData['payment_structure']; ?></p>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-8">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Payment Documentation</h3>
                                                        <p><?php echo $sightData['payment_documentation']; ?></p>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-9">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Cancellation Policy</h3>
                                                        <p><?php echo $sightData['cancellation_policy']; ?></p>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-10">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Refund Policy</h3>
                                                        <p><?php echo $sightData['refund_policy']; ?></p>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="tab-pane fade" id="tab-11">
                                                <div class="row">
                                                    <div class="col-sm-12 holidaytext">
                                                        <h3>Terms & Condition</h3>
                                                        <p><?php echo $sightData['terms_condition_policy']; ?></p>
                                                    </div>
                                                </div>
                                            </div>



                                        </div>


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


                        <div id="payment-detail-data">
<?php echo $this->partial('sight-seeing/index/payment-detail');  ?>
                        </div>

                    </div>


                    <div class="clearfix"> </div>
                </div>
            </div>
        </div>
    </div>
</section>