<?php global $access; if($access != 1){ exit("Direct Access not allowed"); } include $querys; ?>

<!DOCTYPE HTML>
<html lang="en">
  
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="https://fonts.googleapis.com/css?family=Limelight|Flamenco|Federo|Yesteryear|Josefin Sans|Spinnaker|Sansita One|Handlee|Droid Sans|Oswald:400,300,700" media="screen" rel="stylesheet" type="text/css" />
    <link href="<?php echo PATH; ?>stylesheets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="<?php echo PATH; ?>stylesheets/bootstrap-responsive.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="<?php echo PATH; ?>stylesheets/common.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="<?php echo PATH; ?>stylesheets/fontawesome.css" media="screen" rel="stylesheet" type="text/css" />
    
    
    <!--Custom CSS FOR EVERY PAGE-->
    <link href="<?php echo PATH; ?>stylesheets/bookingo-hotel-list-3-0.css" media="screen" rel="stylesheet" type="text/css" />
    
    <!-- Your Custom Stylesheet --> 
	<?php if($settings_css !== '0') { ?> 
		<link href="<?php echo PATH; ?>stylesheets/<?php echo $settings_css; ?>" media="screen" rel="stylesheet" type="text/css" />
	<?php } ?>
    
    <script src="<?php echo PATH; ?>js/jquery.js"></script>
	<script src="<?php echo PATH; ?>js/bootstrap-tab.js"></script>
    <!-- Typekit fonts require an account and a kit containing the fonts used. see https://typekit.com/plans for details. <script type="text/javascript" src="//use.typekit.net/YOUR_KIT_ID.js"></script>
  <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
-->
    <title><?php echo $page_title; ?></title>
	
    <meta name="keywords" content="<?php echo $page_keywords; ?>" />
	<meta name="description" content="<?php echo $page_meta_desc; ?>" />
	
	<!-- Favicons --> 
	<link rel="shortcut icon" href="inc/images/<?php echo $settings_icon; ?>">

<!-- Add fancyBox main JS and CSS files -->
	<script src="//code.jquery.com/jquery-1.8.2.min.js"></script>
    <script src="<?php echo PATH; ?>js/bootstrap-collapse.js"></script>
    <script src="<?php echo PATH; ?>js/bootstrap-dropdown.js"></script>
	<script type="text/javascript">
    var $190 = jQuery.noConflict();
    </script>

	<script type="text/javascript" src="<?php echo PATH; ?>fancybox/lib/jquery.fancybox.js?v=2.1.5"></script>
	<link rel="stylesheet" type="text/css" href="<?php echo PATH; ?>fancybox/lib/jquery.fancybox.css?v=2.1.5" media="screen" />

	<script type="text/javascript">
		$190(document).ready(function() {
			
			$190('.fancybox').fancybox();

		});
	</script>
	
    
	<!-- jQuery with plugins -->
	<script src="<?php echo PATH; ?>js/jquery-1.4.2.min.js" type="text/javascript"></script> <!-- Could be loaded remotely from Google CDN : <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> -->
    
    <script src="<?php echo PATH; ?>js/jquery.datepick.pack.js" type="text/javascript"></script>

	<script type="text/javascript">
	//<![CDATA[
	
	// check-out date >= check-in date
	function customRange(dates) { 
		if (this.id == 'startdate') { 
			$('#enddate').datepick('option', 'minDate', dates[0] || null); 
		} 
		else { 
			$('#startdate').datepick('option', 'maxDate', dates[0] || null); 
		}
		var edt = $('#ed_timestamp').val();
		var sdt = $('#sd_timestamp').val();
		if ((edt > 0) && (sdt > 0)) {
			$('span.nights').text((edt - sdt) / (3600*24) + ' night(s)');
		} else {
			$('span.nights').text('');
		}
	}
	
	$(document).ready(function(){

		// Datepick input fields
		$('#startdate').datepick({
			onSelect: addPeriods, 
			showTrigger: '#trigger',
			altField: '#sd_timestamp', 
			altFormat: $.datepick.TIMESTAMP,
		}).datepick('setDate', new Date());
		$('#addAmount,#addPeriod').change(addPeriods);
		
		function addPeriods() { 
			var date = new Date($('#startdate').datepick('getDate')[0].getTime()); 
			$.datepick.add(date, parseInt($('#addAmount').val(), 10), $('#addPeriod').val()); 
			$('#enddate').val($.datepick.formatDate(date)); 
		}
		
		$('#enddate').datepick({
			onSelect: customRange, 
			showTrigger: '#trigger',
			altField: '#ed_timestamp', 
			altFormat: $.datepick.TIMESTAMP
		});
		
		
	});
	
	//]]>
	</script>


    <link type="text/css" rel="stylesheet" href="<?php echo PATH; ?>stylesheets/pagination.css" />
		<script type="text/javascript" src="<?php echo PATH; ?>js/jquery.pajinate.js"></script>
		
		<script type="text/javascript">
			$(document).ready(function(){
				$('#paging_container1').pajinate();
			});
			
		</script>
        <style type="text/css">
	#box {
		display:none;
	}
	.link {
		cursor:pointer;
		color: #62BA37;
	}
	</style>

<!-- Your Custom Texture --> 
<?php if($settings_css == 'project.css') {
		 if($settings_css_texture !== 'none') { ?>
		<style type="text/css">
        .headerbg {
          background-image:url(<?php echo PATH; ?>images/b<?php echo $settings_css_texture; ?>);
          background-repeat:repeat-y;
        }
		.footer {
		  background-image:url(<?php echo PATH; ?>images/b<?php echo $settings_css_texture; ?>);
          background-repeat:repeat-y;
		}
        </style>
	<?php } } else { 
    if($settings_css_texture !== 'none') { ?>
		<style type="text/css">
        .headerbg {
          background-image:url(<?php echo PATH; ?>images/<?php echo $settings_css_texture; ?>);
          background-repeat:repeat-y;
        }
		.footer {
		  background-image:url(<?php echo PATH; ?>images/<?php echo $settings_css_texture; ?>);
          background-repeat:repeat-y;
		}
        </style>
<?php } } ?>
  </head>
  
<body>
    <div class="container">
      <div class="headerbg">
        <div class="row-fluid">
          <span class="span4">
            <img src="inc/images/<?php echo $settings_logo; ?>" class="logopage image">
          </span>
          <span class="span4">
            <div class="inlinephone">
              <img src="<?php echo PATH; ?>images/headeriphone.png" class="image">
            </div>
            <div class="inlinephone2">
              <p>CALL US&nbsp;
                <br><?php echo $settings_phone; ?>&nbsp;</p>
            </div>
          </span>
          <span class="span4">
            <div class="socialicons">
              <a href="<?php echo $settings_facebook; ?>"><img src="<?php echo PATH; ?>images/facebookbtn.png" class="image"></a>
              <a href="<?php echo $settings_twitter; ?>"><img src="<?php echo PATH; ?>images/twitter.png" class="image"></a>
              <a href="<?php echo $settings_google; ?>"><img src="<?php echo PATH; ?>images/googleplus.png" class="image"></a>
              &nbsp; &nbsp; <?php include $currency; ?>
            </div>
          </span>
        </div>
      </div>