<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * User my activity * * Created by ShineTheme * */ ?> <div class="st-create"> <h2 class="pull-left"><?php st_the_language('my_activities'); ?> </h2> <a class="btn btn-default pull-right" href="<?php echo esc_url(add_query_arg('sc', 'create-activity', get_permalink())); ?> "> <?php _e("Add New Activity", ST_TEXTDOMAIN); ?> </a> </div> <div class="msg"> <?php echo STUser_f::get_msg(); ?>
</div> </div> <div class="col-md-4"> <div class="form-group form-group-icon-left"> <label><?php st_the_language('user_create_cruise_cabin_features_number'); ?> </label> <input id="title" name="features_number[]" type="text" class="form-control"> </div> </div> <div class="col-md-3"> <div class="form-group form-group-icon-left"> <label><?php st_the_language('user_create_cruise_cabin_features_icon'); ?> </label> <input id="title" name="features_icon[]" type="text" class="form-control"> </div> </div> <div class="col-md-1"> <div class="form-group form-group-icon-left"> <div class="btn btn-danger btn_del_program" style="margin-top: 27px"> <?php st_the_language('user_create_cruise_cabin_features_del'); ?> </div> </div> </div> </div> </div>
<?php if ($address = get_post_meta(get_the_ID(), 'address', TRUE)) { ?> <p class="mb0"> <small> <?php echo esc_html($address); ?> </small> </p> <?php } ?> <p class="mb0 text-darken"><span class="text-lg lh1em"><?php echo TravelHelper::format_money(STHotel::get_avg_price()); ?> </span> <small> <?php st_the_language('avg/night'); ?> </small> </p> </div> </div> </div> <?php } ?> </div> <?php }
<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * User my room * * Created by ShineTheme * */ ?> <div class="st-create"> <h2><?php st_the_language('my_room'); ?> </h2> </div> <ul id="" class="booking-list booking-list-wishlist "> <?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $args = array('post_type' => 'hotel_room', 'post_status' => 'publish , draft , trash', 'author' => $data->ID, 'posts_per_page' => 10, 'paged' => $paged); $query = new WP_Query($args); if ($query->have_posts()) { while ($query->have_posts()) { $query->the_post(); echo st()->load_template('user/loop/loop', 'room', get_object_vars($data)); } } else { echo '<h1>' . st_get_language('no_room') . '</h1>';
</div> <div class="form-group"> <input type="hidden" name="action" value="booking_form_submit"> <input type="hidden" name="booking_by" value="partner"> <input type="hidden" name="sc" value="<?php echo $_GET['sc']; ?> "> <input type="hidden" name="st_payment_gateway" value="1"/> <input value="1" name="term_condition" type="hidden"/> <input type="hidden" name="allow_capcha" value="on"> <?php wp_nonce_field('submit_form_order', 'travel_order'); ?> <input name='st_payment_gateway_st_submit_form' class="st_payment_gatewaw_submit" type="hidden" value="<?php st_the_language('submit_request'); ?> "> </div> <div class="form-group"> <a href="#" id="partner-booking-button" class="btn btn-primary"><?php echo __('Book Now', ST_TEXTDOMAIN); ?> </a> </div> <div class="form-group"> <div class="alert form_alert hidden"></div> </div> </div> </div> </div>
</form> <div id="html_program" style="display: none"> <div class="item"> <div class="col-md-4"> <div class="form-group form-group-icon-left"> <label for="title"><?php st_the_language('user_create_tour_program_title'); ?> </label> <input id="title" name="program_title[]" type="text" class="form-control"> </div> </div> <div class="col-md-7"> <div class="form-group form-group-icon-left"> <label for="program_desc"><?php st_the_language('user_create_tour_program_desc'); ?> </label> <textarea name="program_desc[]" class="form-control h_35"></textarea> </div> </div> <div class="col-md-1"> <div class="form-group form-group-icon-left"> <div class="btn btn-danger btn_del_program" style="margin-top: 27px"> X </div> </div> </div> </div> </div> <div id="html_discount_by_adult" style="display: none">
STLanguage::st_the_language('holiday_date'); ?> : </span> <?php $type_holiday = get_post_meta(get_the_ID(), 'type_holiday', true); if ($type_holiday == 'daily_holiday') { $day = STHoliday::get_duration_unit(); echo esc_html($day); } else { $check_in = get_post_meta(get_the_ID(), 'check_in', true); $check_out = get_post_meta(get_the_ID(), 'check_out', true); if (!empty($check_in) and !empty($check_out)) { $date = date_i18n(TravelHelper::getDateFormat(), strtotime($check_in)) . ' <i class="fa fa-long-arrow-right"></i> ' . date_i18n(TravelHelper::getDateFormat(), strtotime($check_out)); echo balanceTags($date); } else { st_the_language('holiday_none'); } } ?> </div> </div> </div> <div class="row mt10"> <div class="col-md-6 col-sm-6 col-xs-6"> <p class="mb0 text-darken"> <i class="fa fa-money"> </i> <?php _e('Price', ST_TEXTDOMAIN); ?> : <span> <?php
<label for="field-car-drive-name"><?php st_the_language('driver_name'); ?> <span class="require">*</span></label> <input id="field-car-drive-name" name="driver_name" value="<?php echo STInput::request('driver_name'); ?> " type="text" placeholder="<?php st_the_language('driver_name'); ?> " class="form-control"> </div> <div class="form-group"> <label for="field-car-drive-age"><?php st_the_language('driver_age'); ?> <span class="require">*</span></label> <input id="field-car-drive-age" name="driver_age" value="<?php echo STInput::request('driver_age'); ?> " type="text" placeholder="<?php st_the_language('driver_age'); ?> " class="form-control"> </div> </div> </div> </div>
?> </div> <div class="nav-next"><?php next_comments_link(st_get_language('newer_comments')); ?> </div> </nav><!-- .comment-navigation --> <?php } // Check for comment navigation ?> <?php if (!comments_open() && get_comments_number()) { ?> <p class="no-comments"><?php st_the_language('comments_are_closed'); ?> </p> <?php } ?> <?php } // have_comments() ?> <div id="review_form_wrapper"> <div id="review_form"> <?php $commenter = wp_get_current_commenter(); $comment_form = array('title_reply' => have_comments() ? st_get_language('add_a_comment') : st_get_language('be_the_first_to_comment') . ' “' . get_the_title() . '”', 'title_reply_to' => st_get_language('leave_a_reply_to_s'), 'comment_notes_before' => '', 'fields' => array('author' => '<div class="row"> <div class="form-group">
<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * User my tours * * Created by ShineTheme * */ ?> <div class="st-create"> <h2 class="pull-left"><?php st_the_language('my_tours'); ?> </h2> <a class="btn btn-default pull-right" href="<?php echo esc_url(add_query_arg('sc', 'create-tours', get_permalink())); ?> "> <?php _e("Add New Tour", ST_TEXTDOMAIN); ?> </a> </div> <div class="msg"> <?php echo STUser_f::get_msg(); ?>
st_the_language('about_hotel'); ?> </h4> <?php echo do_shortcode('[st_hotel_logo] [st_post_data field=excerpt] [st_hotel_detail_attribute taxonomy="hotel_facilities"] '); ?> </div> </div> <div class="row"> <div class="col-sm-12"> <h3><?php st_the_language('hotel_reviews'); ?> </h3> </div> <div class="col-sm-8"> <?php echo do_shortcode('[st_hotel_review]'); ?> </div> <div class="col-sm-4"> <?php echo do_shortcode('[st_hotel_nearby]'); ?> </div> </div>
</span> <span class="booking-item-price"> <?php if (!empty($count_sale)) { ?> <span class="text-lg lh1em sale_block onsale"> <?php echo TravelHelper::format_money($price_sale); ?> </span> <?php } ?> <?php echo TravelHelper::format_money($price); ?> </span> <span>/<?php echo esc_html(strtolower($price_type)); ?> </span> <span class="btn btn-primary"><?php st_the_language('user_book_now'); ?> </span> </div> </div> </a> </li> <?php }
?> <tr> <td> <?php echo date('d/m/Y', strtotime($v['start'])); ?> <i class="fa fa-arrow-right "></i> <?php echo date('d/m/Y', strtotime($v['end'])); ?> </td> <td><?php echo TravelHelper::format_money($v['price']); ?> /<small><?php st_the_language('per_night'); ?> </small></td> </tr> <?php } } ?> </table> </div> </div> <div class="form-row"> <label class="form-label" for="st_note"><?php _e('Special Requirements', ST_TEXTDOMAIN); ?>
<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * User my rental * * Created by ShineTheme * */ ?> <div class="st-create"> <h2 class="pull-left"><?php st_the_language('my_rental'); ?> </h2> <a class="btn btn-default pull-right" href="<?php echo esc_url(add_query_arg('sc', 'create-rental', get_permalink())); ?> "> <?php _e("Add New Rental", ST_TEXTDOMAIN); ?> </a> </div> <div class="msg"> <?php echo STUser_f::get_msg(); ?>
<?php echo esc_html($day); ?> <?php } } else { ?> <?php $check_in = get_post_meta(get_the_ID(), 'check_in', true); $check_out = get_post_meta(get_the_ID(), 'check_out', true); if (!empty($check_out) and !empty($check_out)) { ?> <i class="fa fa-calendar"></i> <span class=""><?php st_the_language('holiday_date'); ?> : </span> <?php $format = TravelHelper::getDateFormat(); $date = date_i18n($format, strtotime($check_in)) . ' <i class="fa fa-long-arrow-right"></i> ' . date_i18n($format, strtotime($check_out)); echo balanceTags($date); } ?> <?php } ?> </small> </p> <?php $is_st_show_number_user_book = st()->get_option('st_show_number_user_book', 'off');
<?php if (!is_user_logged_in() and $is_guest_booking == 'off') { ?> <?php $page_checkout = st()->get_option('page_checkout'); $page_checkout = esc_url(add_query_arg(array('page_id' => $page_checkout), home_url())); $page_checkout = urlencode($page_checkout); $page_login = st()->get_option('page_user_login'); $page_login = esc_url(add_query_arg(array('page_id' => $page_login, 'url' => $page_checkout), home_url())); ?> <a class="btn btn-primary btn-st-big" href="<?php echo esc_url($page_login); ?> "><?php st_the_language('checkout_via_paypal'); ?> </a> <?php } else { ?> <input class="btn btn-primary btn-st-big st_payment_gatewaw_submit" type='submit' name='st_payment_gateway_st_paypal' value="<?php st_the_language('checkout_via_paypal'); ?> "> <?php } ?> </div>
</h5> <p> <?php if (isset($data['data']['check_in'])) { ?> <small><?php echo date(get_option('date_format'), strtotime($data['data']['check_in'])); ?> <?php } ?> <?php if (isset($data['data']['check_out'])) { ?> <?php st_the_language('to'); echo date(get_option('date_format'), strtotime($data['data']['check_out'])); ?> <?php } ?> </small> </p> </div> <div class="col-xs-3"> <p class="text-right"><span class="text-lg"> <?php $money = STCart::get_hotel_price($data['data'], $data['price'], $data['number']); echo TravelHelper::format_money($money); ?> </span>
?> <div class="booking-item-review-expand"><span class="booking-item-review-expand-more"><?php st_the_language('More'); ?> <i class="fa fa-angle-down"></i></span><span class="booking-item-review-expand-less"><?php st_the_language('Less'); ?> <i class="fa fa-angle-up"></i></span> </div> <?php //endif; ?> <p class="booking-item-review-rate"><?php st_the_language('was_this_review_helpful'); ?> <?php $count_like = get_comment_meta($comment_id, '_comment_like_count', true); if (intval($count_like) <= 0) { $count_like = 0; } ?> <b class="text-color"> <span class="number"><?php echo $count_like; ?> </span> <?php echo __('like this', ST_TEXTDOMAIN); ?> </b>
?> " class="form-control" value="<?php echo get_post_meta($post_id, 'fax', true); ?> "> <div class="st_msg"><?php echo STUser_f::get_msg_html($validator->error('fax'), 'danger'); ?> </div> </div> </div> <div class="col-md-6"> <div class="form-group form-group-icon-left"> <label for="video"><?php st_the_language('user_create_hotel_video'); ?> :</label> <i class="fa fa-youtube input-icon input-icon-hightlight"></i> <input id="video" name="video" type="text" placeholder="<?php _e("Enter Youtube or Vimeo video link (Eg: https://www.youtube.com/watch?v=JL-pGPVQ1a8)"); ?> " class="form-control" value="<?php echo get_post_meta($post_id, 'video', true); ?> "> <div class="st_msg"><?php echo STUser_f::get_msg_html($validator->error('video'), 'danger'); ?> </div> </div>
?> </th> <th class="hidden-xs"><?php _e("Status", ST_TEXTDOMAIN); ?> </th> <th class="hidden-xs"><?php st_the_language('action'); ?> </th> </tr> </thead> <tbody id="data_history_book"> <?php echo balanceTags($html_canceled); ?> </tbody> </table> <span class="btn btn-primary btn_load_his_book" data-per="2" data-type="canceled"><?php st_the_language('user_load_more'); ?> </span> <?php } else { echo '<h5>' . st_the_language('user_no_booking_history') . '</h5>'; } ?> </div> </div> </div>
<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * User my hotel * * Created by ShineTheme * */ ?> <div class="st-create"> <h2 class="pull-left"><?php st_the_language('my_hotel'); ?> </h2> <a class="btn btn-default pull-right" href="<?php echo esc_url(add_query_arg('sc', 'create-hotel', get_permalink())); ?> "> <?php _e("Add New Hotel", ST_TEXTDOMAIN); ?> </a> </div> <div class="msg"> <?php echo STUser_f::get_msg(); ?>
<div class="row" data-gutter="60"> <div class="col-md-4"> <h3><?php the_title(); ?> </h3> <?php while (have_posts()) { the_post(); the_content(); } ?> </div> <div class="col-md-4"> <h3><?php st_the_language('login'); ?> </h3> <?php echo st()->load_template('login/form', 'login'); ?> </div> <div class="col-md-4"> <h3><?php printf(__("New To %s ?", ST_TEXTDOMAIN), get_bloginfo('title')); ?> </h3> <?php echo st()->load_template('login/form-new', 'login'); ?> </div>
<?php echo st()->load_template('rental/elements/search/field_' . $name, false, array('data' => $value)); ?> </div> <?php } } ?> </div> </div> <div class="expand_search_box"> <span class="expand_search_box-more"><?php st_the_language('rental_advance_search'); ?> <i class="fa fa-angle-down"></i></span> <span class="expand_search_box-less"><?php st_the_language('rental_less'); ?> <i class="fa fa-angle-up"></i></span> </div> </div> <!--End search Advance--> <?php } ?> <button class="btn btn-primary btn-lg" type="submit"><?php st_the_language('search_for_rental'); ?> </button> </form>
</label> </div> <?php } ?> </li> <?php } } ?> <?php if ($v->field == 'price') { ?> <li> <h5 class="booking-filters-title"><?php st_the_language('car_price'); ?> </h5> <?php echo st()->load_template('cars/filter_price'); ?> </li> <?php } ?> <?php } } ?> </ul> </aside>
if (!empty($get)) { foreach ($get as $key => $value) { if (is_array($value)) { if (!empty($value)) { if (!empty($value) and is_array($value)) { foreach ($value as $key2 => $value2) { if (!empty($value2) and is_array($value2)) { foreach ($value2 as $key3 => $value3) { echo "<input type='hidden' name='{$key}[{$key2}][{$key3}]' value='{$value3}' >"; } } } } } } else { if ($key != "price_range") { echo "<input type='hidden' name='{$key}' value='{$value}' >"; } } } } $data_min_max = TravelerObject::get_min_max_price('st_cars'); echo '<input type="text" name="price_range" value="' . STInput::get('price_range') . '" class="price-slider" data-symbol="' . TravelHelper::get_current_currency('symbol') . '" data-min="' . $data_min_max['price_min'] . '" data-max="' . $data_min_max['price_max'] . '" data-step="' . st()->get_option('search_price_range_step', 0) . '">'; ?> <button style="margin-top: 4px;" type="submit" class="btn btn-primary"><?php st_the_language('car_filter'); ?> </button> </form>
<?php echo '<span class="onsale">' . $price_old . '</span> <i class="fa fa-arrow-right "></i>'; ?> <?php } ?> <strong><?php echo TravelHelper::format_money($price_car); ?> </strong> <small>/<?php echo STCars::get_price_unit(); ?> </small> </p> </li> <li> <p class="booking-item-payment-price-title"><?php st_the_language('car_total'); ?> </p> <p class="booking-item-payment-price-amount"><?php echo TravelHelper::format_money($item['data']['price_total']); ?> </p> </li> </ul> </li> </ul> <?php }
echo STInput::get('style'); ?> "> <?php if (!empty($fields)) { foreach ($fields as $key => $value) { $name = $value['title']; $size = $value['layout_col_box']; ?> <div class="col-md-<?php echo esc_attr($size); ?> "> <?php echo st()->load_template('cars/elements/search/field-' . $value['field_atrribute'], false, array('data' => $value)); ?> </div> <?php } } ?> </div> <input type="submit" class="btn btn-primary btn-lg" value="<?php st_the_language('search_for_cars'); ?> "> <!-- <button class="btn btn-primary btn-lg" type="submit"><?php /*st_the_language('search_for_cars') */ ?> </button>--> </form>
remove_action('pre_get_posts', array($cars, 'change_search_cars_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('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>
?> <p class="mb0 text-darken item_price_map"> <?php if ($is_sale) { echo "<span class='booking-item-old-price'>" . TravelHelper::format_money($orgin_price) . "</span>"; } ?> <?php if ($show_price == 'on' || $price) { ?> <span class="text-lg lh1em text-color"><?php echo TravelHelper::format_money($price); ?> </span><small> /<?php st_the_language('rental_night'); ?> </small> <?php } ?> </p> <a class="btn btn-primary btn_book" href="<?php echo esc_url($link); ?> "><?php _e("Book Now", ST_TEXTDOMAIN); ?> </a> <button class="btn btn-default pull-right close_map" ><?php _e("Close", ST_TEXTDOMAIN);
<div class="spinner cars_price_img_loading "> </div> </li> </ul> <?php if ($st_is_booking_modal) { ?> <a href="#car_booking_<?php the_ID(); ?> " class="btn btn-primary btn_booking_modal" data-target=#car_booking_<?php the_ID(); ?> data-effect="mfp-zoom-out" ><?php st_the_language('book_now'); ?> </a> <?php } else { ?> <?php echo STCars::car_external_booking_submit(); ?> <?php } ?> <?php echo st()->load_template('user/html/html_add_wishlist', null, array("title" => ""));