Exemplo n.º 1
0
$result_string = '';
echo st()->load_template('search-loading');
?>
    <div class="mfp-with-anim mfp-dialog mfp-search-dialog mfp-hide" id="search-dialog">
        <?php 
echo st()->load_template('cars/search-form');
?>
    </div>
    <div class="container">
        <h3 class="booking-title"><?php 
echo balanceTags($cars->get_result_string());
?>
            <small><a class="popup-text" href="#search-dialog" data-effect="mfp-zoom-out"><?php 
st_the_language('change_search');
?>
</a></small>
        </h3>
        <?php 
$cars_search_layout = st()->get_option('cars_layout_layout');
if (!empty($_REQUEST['layout_id'])) {
    $cars_search_layout = $_REQUEST['layout_id'];
}
if ($cars_search_layout) {
    echo STTemplate::get_vc_pagecontent($cars_search_layout);
} else {
    echo st()->load_template('cars/search-default');
}
?>
    </div>
<?php 
get_footer();
<?php

/**
* @since 1.1.3
**/
get_header();
get_template_part('breadcrumb');
?>
<div class="booking-item-details">
	<?php 
$detail_tour_layout = apply_filters('st_rental_room_layout', '');
if ($detail_tour_layout && !empty($detail_tour_layout)) {
    echo STTemplate::get_vc_pagecontent($detail_tour_layout);
} else {
    echo do_shortcode('
                [vc_row][vc_column width="2/3"][st_rental_room_header][st_rental_room_content][st_rental_room_gallery style="slide"][/vc_column][vc_column width="1/3"][st_related_rental_room header_title="Related Rental Room" number_of_room="5" show_excerpt="yes"][/vc_column][/vc_row]
            ');
}
?>
</div>
<?php 
get_footer();
Exemplo n.º 3
0
?>
<div id="single-room"  class="booking-item-details">
    <div class="thumb">
        <a href="javascript:;" id="fancy-gallery">
            <?php 
if (has_post_thumbnail() and get_the_post_thumbnail()) {
    the_post_thumbnail(array(1600, 500), array('class' => 'fancy-responsive'));
} else {
    echo "<img src='" . get_template_directory_uri() . '/img/default/1600x500.png' . "' class='fancy-responsive' alt='" . get_the_title() . "'>";
}
?>
        </a>
    </div>
	<?php 
if ($layout && !empty($layout)) {
    echo STTemplate::get_vc_pagecontent($layout);
} else {
    echo do_shortcode('
                [vc_row el_class="custom-row-single-room"][vc_column width="2/3"][st_hotel_room_header][st_hotel_room_facility facility_des=""][st_hotel_room_calendar][st_hotel_room_gallery style="slide"][/vc_column][vc_column width="1/3" el_class="custom-row-single-room"][st_hotel_room_sidebar][/vc_column][/vc_row][vc_row][vc_column css=".vc_custom_1435226180968{margin-top: 20px !important;}"][vc_column_text]
<h4 class="booking-item-title text-color">Reviews</h4>
[/vc_column_text][st_hotel_room_review][/vc_column][/vc_row][vc_row row_fullwidth="yes" el_class="ov-h" css=".vc_custom_1436947692102{padding-right: 0px !important;padding-left: 0px !important;}"][vc_column css=".vc_custom_1436946930085{padding-top: 50px !important;padding-right: 0px !important;padding-left: 0px !important;}"][st_room_map show_circle="yes" zoom="13"][/vc_column][/vc_row]
            ');
}
?>
</div>
<?php 
if (is_array($fancy_arr) && count($fancy_arr)) {
    ?>
    <script>
        jQuery(document).ready(function($) {
            $('a#fancy-gallery').click(function(event) {
Exemplo n.º 4
0
remove_action('pre_get_posts', array($object, 'change_search_tour_arg'));
get_template_part('breadcrumb');
$result_string = '';
echo st()->load_template('search-loading');
?>
    <div class="mfp-with-anim mfp-dialog mfp-search-dialog mfp-hide" id="search-dialog">
        <?php 
echo st()->load_template('tours/search-form');
?>
    </div>
    <div class="container">
        <h3 class="booking-title"><?php 
echo balanceTags($object->get_result_string());
?>
            <small><a class="popup-text" href="#search-dialog" data-effect="mfp-zoom-out"><?php 
st_the_language('change_search');
?>
</a></small>
        </h3>
        <?php 
$tours_layout_layout = st()->get_option('tours_search_layout');
if (!empty($_REQUEST['layout_id'])) {
    $tours_layout_layout = $_REQUEST['layout_id'];
}
if ($tours_layout_layout) {
    echo STTemplate::get_vc_pagecontent($tours_layout_layout);
}
?>
    </div>
<?php 
get_footer();
                                     </span>
                            <i class="fa fa-long-arrow-right"></i>
                        <?php 
/*} */
?>
                        <span class="text-lg">
                            <?php 
/*echo TravelHelper::format_money($price) */
?>
                        </span>
                    </p>
                    --><?php 
/*endif; */
?>
                    </p>
                </div>
            </div>
        </header>
        <?php 
$detail_layout = apply_filters('st_activity_detail_layout', st()->get_option('activity_layout'));
if ($detail_layout) {
    $content = STTemplate::get_vc_pagecontent($detail_layout);
    echo balanceTags($content);
} else {
    echo st()->load_template('activity/single', 'default');
}
?>
    </div>
</div>
<?php 
get_footer();
Exemplo n.º 6
0
                        <?php 
if ($fax = get_post_meta(get_the_ID(), 'fax', true)) {
    ?>
                            <li><a href="tel:<?php 
    echo str_replace(' ', '', trim($fax));
    ?>
"> <i class="fa fa-fax"></i> <?php 
    echo esc_html($fax);
    ?>
</a>
                            </li>
                        <?php 
}
?>
                    </ul>
                </div>

            </div>
        </header>
        <?php 
if ($detail_holiday_layout) {
    echo STTemplate::get_vc_pagecontent($detail_holiday_layout);
} else {
    //Default Layout
    echo st()->load_template('holidays/single', 'default');
}
?>
    </div><!-- End .booking-item-details-->
</div>
<?php 
get_footer();
Exemplo n.º 7
0
 * @since 1.0
 *
 * Footer
 *
 * Created by ShineTheme
 *
 */
$footer_template = st()->get_option('footer_template');
if (is_singular()) {
    if ($meta = get_post_meta(get_the_ID(), 'footer_template', true)) {
        $footer_template = $meta;
    }
}
if ($footer_template) {
    echo '<footer id="main-footer">';
    echo STTemplate::get_vc_pagecontent($footer_template);
    echo ' </footer>';
} else {
    ?>
<!--        Default Footer -->
    <footer id="main-footer">
        <div class="container text-center">
            <p><?php 
    _e('Copy &copy; 2014 Shinetheme. All Rights Reserved', ST_TEXTDOMAIN);
    ?>
</p>
        </div>

    </footer>
<?php 
}