<?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-booking-8-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' src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.0/jquery.validate.min.js"></script>	

	<script type="text/javascript">
		$190(document).ready(function() {
			
			$190('.fancybox').fancybox();
			
			$190('#myform').validate({ // initialize the plugin
				errorClass: 'customErrorClass',
				rules: {
					firstname0: {
						required: true
					},
					lastname0: {
						required: true
					},
					email: {
						required: true,
						email: true
					},
					retypeemail: {
						required: true,
						email: true
					},
					phone: {
						required: true
					},
					workphone: {
						required: true
					},
					firstname1: {
						required: true
					},
					lastname1: {
						required: true
					},
					firstname2: {
						required: true
					},
					lastname2: {
						required: true
					},
					firstname3: {
						required: true
					},
					lastname3: {
						required: true
					},
					billaddress: {
						required: true
					},
					country: {
						required: true
					},
					zip: {
						required: true
					},
					city: {
						required: true
					},
					cardfirstname: {
						required: true
					},
					cardlastname: {
						required: true
					},
					cardtype: {
						required: true
					},
					cardnumber: {
						required: true
					},
					credit_card_exp_month: {
						required: true
					},
					credit_card_exp_year: {
						required: true
					},
					securitycode: {
						required: true
					},
					terms: {
						required: true
					}
				},
				messages: {
			
			firstname0: {
				required: "Please specify your name"
			},
			lastname0: {
				required: "Please specify your last name"
			},
			email: {
				required: "Please specify email",
			  	email: "Format ex: name@domain.com"
			},
			retypeemail: {
				required: "Please re-type email",
			  	email: "Format ex: name@domain.com"
			},
			phone: {
				required: "Please specify your phone"
			},
			workphone: {
				required: "Please specify work phone"
			},
			firstname1: {
				required: "Specify room 2 guest name"
			},
			lastname1: {
				required: "Specify room 2 guest last name"
			},
			firstname2: {
				required: "Specify room 3 guest name"
			},
			lastname2: {
				required: "Specify room 3 guest last name"
			},
			firstname3: {
				required: "Specify room 4 guest name"
			},
			lastname3: {
				required: "Specify room 4 guest last name"
			},
			billaddress: {
				required: "Specify your billing address"
			},
			country: {
				required: "Specify your country"
			},
			zip: {
				required: "Specify your zip code"
			},
			city: {
				required: "Specify your city"
			},
			cardfirstname: {
				required: "Specify first name on card"
			},
			cardlastname: {
				required: "Specify last name on card"
			},
			cardtype: {
				required: "Specify credit card type"
			},
			cardnumber: {
				required: "Specify credit card number"
			},
			credit_card_exp_month: {
				required: "Specify credit card exp month"
			},
			credit_card_exp_year: {
				required: "Specify credit card exp year"
			},
			securitycode: {
				required: "Specify credit card security code"
			},
			terms: {
				required: "You have to Accept the Terms"
			}
		  }
			});

		});
	</script>

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

		});
	</script>

<script src="<?php echo PATH; ?>js/jquery.min-ajax.js"></script>
<script>
var $j = jQuery.noConflict();
$j(function() {	
	$j("#db-one").change(function() {
	$j("#tmplallservices").load("inc/querys/paymentype.php?paypal=<?php echo $hotelroomwithfee; ?>&currency=<?php echo $hotelroomfinalprice; ?>&choice=" + $j("#db-one").val());
	});	
});
</script>

<style type="text/css">
#myform .customErrorClass {
clear: both;
color: #f00;
font-size: 11px;
font-weight:normal;
text-transform: none;
}
</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>