function gdlr_booking_complete_message()
 {
     global $hotel_option;
     if (!empty($_GET['response_code']) && !empty($_GET['response_reason_text'])) {
         $ret = '<div class="gdlr-booking-failed">';
         $ret .= '<div class="gdlr-booking-failed-title" >';
         $ret .= __('Payment Failed', 'gdlr-hotel');
         $ret .= '</div>';
         $ret .= '<div class="gdlr-booking-failed-caption" >';
         $ret .= '<span>' . $_GET['response_code'] . '</span> ';
         $ret .= $_GET['response_reason_text'];
         $ret .= '</div>';
         $ret .= '</div>';
     } else {
         $ret = '<div class="gdlr-booking-complete">';
         $ret .= '<div class="gdlr-booking-complete-title" >';
         $ret .= __('Reservation Completed!', 'gdlr-hotel');
         $ret .= '</div>';
         $ret .= '<div class="gdlr-booking-complete-caption" >';
         $ret .= __('Your reservation details have just been sent to your email. If you have any question, please don\'t hesitate to contact us. Thank you!', 'gdlr-hotel');
         $ret .= '</div>';
         if (!empty($hotel_option['booking-complete-contact'])) {
             $ret .= '<div class="gdlr-booking-complete-additional" >' . gdlr_escape_string($hotel_option['booking-complete-contact']) . '</div>';
         }
     }
     $ret .= '</div>';
     return $ret;
 }
Example #2
0
		<?php 
    if ($theme_option['show-copyright'] != 'disable') {
        ?>
		<div class="copyright-wrapper">
			<div class="copyright-container container">
				<div class="copyright-left">
					<?php 
        if (!empty($theme_option['copyright-left-text'])) {
            echo gdlr_text_filter(gdlr_escape_string($theme_option['copyright-left-text']));
        }
        ?>
				</div>
				<div class="copyright-right">
					<?php 
        if (!empty($theme_option['copyright-right-text'])) {
            echo gdlr_text_filter(gdlr_escape_string($theme_option['copyright-right-text']));
        }
        ?>
					Shared by <!-- Please Do Not Remove Shared Credits Link --><a href='http://www.themes24x7.com/' id="sd">Themes24x7</a><!-- Please Do Not Remove Shared Credits Link -->
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<?php 
    }
    ?>
	</footer>
	<?php 
}
// page style
?>
                            ?>
		<div class="gdlr-page-title-wrapper" <?php 
                            echo empty($header_background) ? '' : 'style="background-image: url(\'' . esc_url($header_background) . '\'); "';
                            ?>
 >
			<div class="gdlr-page-title-overlay"></div>
			<div class="gdlr-page-title-container container" >
				<span class="gdlr-page-title"><?php 
                            echo gdlr_text_filter(gdlr_escape_string($title));
                            ?>
</span>
				<?php 
                            if (!empty($caption)) {
                                ?>
				<h1 class="gdlr-page-caption"><?php 
                                echo gdlr_text_filter(gdlr_escape_string($caption));
                                ?>
</h1>
				<?php 
                            }
                            ?>
			</div>	
		</div>		
	<?php 
                        }
                    }
                }
            }
        }
    }
}
Example #4
0
	<?php 
// page style
if (empty($gdlr_post_option) || empty($gdlr_post_option['page-style']) || $gdlr_post_option['page-style'] == 'normal' || $gdlr_post_option['page-style'] == 'no-footer') {
    ?>
	<header class="gdlr-header-wrapper">
		<!-- top navigation -->
		<?php 
    if (empty($theme_option['enable-top-bar']) || $theme_option['enable-top-bar'] == 'enable') {
        ?>
		<div class="top-navigation-wrapper">
			<div class="top-navigation-container container">
				<div class="top-navigation-left">
					<div class="top-navigation-left-text">
						<?php 
        if (!empty($theme_option['top-bar-left-text'])) {
            echo gdlr_text_filter(gdlr_escape_string($theme_option['top-bar-left-text']));
        }
        ?>
					</div>
				</div>
				<div class="top-navigation-right">
					<div class="top-social-wrapper">
						<?php 
        gdlr_print_header_social();
        ?>
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="top-navigation-divider"></div>