HEX
Server: Apache
System: Linux webd003.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/incastiglionfiorentino/wp-content/themes/amplify/header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('&#124;', true, 'right'); ?></title>
<?php /* load theme settings */require('settings.php'); ?>

<!-- css -->
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<?php if ($slidertype == 'accordionslider') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/accordionslider.css" type="text/css" media="screen" charset="utf-8" />
<?php } ?>
<!-- Color Scheme css -->
<?php /* get theme color from options */
$themecolor = get_option('bb_color_scheme', 'chrome'); ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/<?php echo $themecolor; ?>.css" type="text/css" />
<!-- font-face css -->
<?php if($enable_fontface == 'yes'){ ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/fonts/<?php echo $fontface_name; ?>.css" type="text/css" media="screen" charset="utf-8" />
<?php } ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

<!--Favicon from Admin Options -->
<?php $favicon = get_option('bb_favicon'); ?>
<link href="<?php echo $favicon; ?>" rel="shortcut icon"/>

<!-- jquery -->
<?php wp_head(); ?>

<!--[if lt IE 7]><script type="text/javascript" src="js/jquery.dropdown.js"></script>
<style type="text/css">html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/</style><![endif]-->

<?php if($enable_cufon != 'no'){ ?>
<!-- cufon -->
<script src="<?php echo get_template_directory_uri(); ?>/js/cufon-yui.js" type="text/javascript"></script>
<?php if($cufon_font1 != 'none' && $cufon_font1 != NULL){ ?>
<script src="<?php echo get_template_directory_uri(); ?>/cufon/<?php echo $cufon_font1; ?>.js" type="text/javascript"></script>
<?php } ?>
<?php if($cufon_font2 != 'none' && $cufon_font2 != NULL){ ?>
<script src="<?php echo get_template_directory_uri(); ?>/cufon/<?php echo $cufon_font2; ?>.js" type="text/javascript"></script>
<?php } ?>
<?php if($cufon_font3 != 'none' && $cufon_font3 != NULL){ ?>
<script src="<?php echo get_template_directory_uri(); ?>/cufon/<?php echo $cufon_font3; ?>.js" type="text/javascript"></script>
<?php } ?>
<script type="text/javascript">
<?php if($cufon_font1 != 'none' && $cufon_font1 != NULL){ ?>
Cufon.replace('<?php echo $cufon_font1_elements; ?>', { fontFamily: '<?php echo $cufon_font1; ?>' });
<?php } ?>
<?php if($cufon_font2 != 'none' && $cufon_font2 != NULL){ ?>
Cufon.replace('<?php echo $cufon_font2_elements; ?>', { fontFamily: '<?php echo $cufon_font2; ?>' });
<?php } ?>
<?php if($cufon_font3 != 'none' && $cufon_font3 != NULL){ ?>
Cufon.replace('<?php echo $cufon_font3_elements; ?>', { fontFamily: '<?php echo $cufon_font3; ?>' });
<?php } ?>
</script>
<?php } ?>

<?php 
if($blog_slider == 'yes' && is_page_template('blog.php')) {$show_blog_slider = 'yes';} else {$show_blog_slider = 'no';}
if(is_front_page() || $show_blog_slider == 'yes') {
if($show_slider != 'no') {
if ($slidertype == 'contentslider') { ?>
<!-- slider -->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.lite-content-slider.js" type="text/javascript"></script>

<!-- initialize slider -->
<script type="text/javascript">
$(document).ready(function(){
	$('.contentWrap').liteSlider({
	content : '.content',		// The panel selector. Can be a list also. eg:li
	width : 960,			// Width of the slider
	height : 340,			// Height of the slider
	autoplay : true,		// Autoplay the slider. Values, true, false.
	delay : 4,			// Transition Delay. Default 3s
	buttonsClass : 'buttons',	// Button's class
	activeClass : 'active',		// Active class
	controlBt : '.control',		// Control button selector
	playText : 'Play',		// Play text
	pauseText : 'Stop'		// Stop text
	});
});
</script>

<?php }
else if ($slidertype == 'accordionslider') { ?>

<!-- slider -->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.kwicks-1.5.1.pack.js" type="text/javascript"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/accordion_settings.js" type="text/javascript"></script>

<?php }
else if ($slidertype == 'nivoslider') { ?>

<!-- slider -->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.nivo.slider.pack.js" type="text/javascript"></script>

<!-- initialize slider -->
<script type="text/javascript">
$(window).load(function() {
	$('#slider').nivoSlider({
		controlNav:true,
		directionNav:false,
		animSpeed:500,
		pauseTime:4000
	});
});
</script>

<?php }}} ?>
<?php if($enable_prettyphoto != 'no'){ ?>
<!-- prettyphoto -->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<?php } ?>

<?php if($slidertype == 'accordionslider') { ?>
<!--[if IE]>
<script type="text/javascript">
$(document).ready(function(){

$(".kwicks li#kwick1").hover(function(){
$("li#kwick1 div.title").css('display', 'none');
},function(){
$("li#kwick1 div.title_active").css('display', 'none');
});

$(".kwicks li#kwick2").hover(function(){
$("li#kwick2 div.title").css('display', 'none');
},function(){
$("li#kwick2 div.title_active").css('display', 'none');
});

$(".kwicks li#kwick3").hover(function(){
$("li#kwick3 div.title").css('display', 'none');
},function(){
$("li#kwick3 div.title_active").css('display', 'none');
});

$(".kwicks li#kwick4").hover(function(){
$("li#kwick4 div.title").css('display', 'none');
},function(){
$("li#kwick4 div.title_active").css('display', 'none');
});

});
</script>
<![endif]-->
<?php } ?>

<!--JQUERY CORE-->
<!--<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-ui-1.8.21.custom/js/jquery-1.7.2.min.js" type="text/javascript"></script>-->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-ui-1.8.21.custom/js/jquery-ui-1.8.21.custom.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/js/jquery-ui-1.8.21.custom/css/smoothness/jquery-ui-1.8.21.custom.css">


<!--Dropdown-->
<!--<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/js/ui.dropdownchecklist-1.4-min/css/ui.dropdownchecklist.standalone.css">-->
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/js/ui.dropdownchecklist-1.4-min/css/ui.dropdownchecklist.themeroller.css">
<script src="<?php echo get_template_directory_uri(); ?>/js/ui.dropdownchecklist-1.4-min/js/ui.dropdownchecklist-1.4-min.js" type="text/javascript"></script>

<!--Dropdown FINE-->

<!--calendar-->

<script>
	$(function() {
		$( "#from" ).datepicker({
			defaultDate: "+1w",
			changeMonth: true,
			numberOfMonths: 1,
			onSelect: function( selectedDate ) {
				$( "#to" ).datepicker( "option", "minDate", selectedDate );
			}
		});
		$( "#to" ).datepicker({
			defaultDate: "+1w",
			changeMonth: true,
			numberOfMonths: 1,
			onSelect: function( selectedDate ) {
				$( "#from" ).datepicker( "option", "maxDate", selectedDate );
			}
		});
	});
	</script>
    
<!--calendar fine-->

<!--INIZIO POPUP DISPONIBILITA AJAX-->
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>

<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>

<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />

<script type="text/javascript">

		$(document).ready(function() {

			$("#various2").fancybox({
				'width':730,
				'height':700,
				'type':'iframe',
				});

		});

</script>

<script type="text/javascript">
function modificaLink(){
	
	var link = document.getElementById('disponibilita').action;
	
 	var partenza = document.disponibilita.to.value;
	if(partenza == "")
	{
		partenza = "0";
	}
	var arrivo = document.disponibilita.from.value;
	if(arrivo == "")
	{
		arrivo = "0";
	}
	var adulti = document.disponibilita.adulti.value;
	if(adulti == "")
	{
		adulti = "0";
	}
	var bambini = document.disponibilita.bambini.value;
	if(bambini == "")
	{
		bambini = "0";
	}
	var myemail = document.disponibilita.myemail.value;
	if(myemail == "")
	{
		myemail = "0";
	}
	
	link = link + "?arrivo=" + arrivo + "&partenza="+partenza + "&adulti="+adulti + "&bambini="+bambini + "&myemail=" + myemail;

	document.getElementById('various2').href=link;
	
	
}
</script>
<!--FINE POPUP DISPONIBILITA AJAX-->

<!--VALIDATOR-->

<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/formValidator2.2.4/css/validationEngine.jquery.css" type="text/css"/>

<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/formValidator2.2.4/css/template.css" type="text/css"/>



<!--validator-->

<script src="<?php echo get_template_directory_uri(); ?>/js/formValidator2.2.4/js/jquery.validationEngine.js" type="text/javascript"></script>


<script src="<?php echo get_template_directory_uri(); ?>/js/formValidator2.2.4/js/languages/<?php echo $validator ?>.js" type="text/javascript"></script>

<!--validator-->


<script type="text/javascript">

jQuery(document).ready(function(){

	jQuery("#disponibilita").validationEngine();

});

</script>


<!--fine VALIDATOR-->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-26076326-11']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!--Ad Spray Srl-->
<link href="https://www.adspray.it/images/agency/ads_style.css" rel="stylesheet" type="text/css" />
<!--Ad Spray Srl - FINE-->




</head>

<body <?php body_class(); ?>>

<div id="wrapper">
	<div id="header_wrap">
	<div id="header_container">
		
		<div class="header">
        	
            <div style="position:relative; float:right; margin-bottom:0px; width:100px; background-color:transparent; background-image:none;" id="qtranslate-chooser">
				<?php //qTranslateSlug_generateLanguageSelectCode('image'); ?>
			</div>
            <div style="clear:both; margin:0px; padding:0px;"></div>
            <div id="adv-leader-distanza"><!--/* half leader */-->
<!--banner ads content-->

<?php echo qtranxf_generateLanguageSelectCode();?>
<script>jQuery(document).ready(function(){ jQuery('.lang-en a span').html(''); jQuery('.lang-it a span').html(''); })</script>

<!--/* half leader fine*/--></div>
			
            <div class="logo">
			<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php $logo_url = get_option('bb_logo_url'); if($logo_url != NULL) {echo $logo_url;} else {echo get_template_directory_uri() . '/images/logo_' . $themecolor . '.png';} ?>" alt="logo" /></a>
			</div><!-- end div.logo -->
	
			<div class="navline">

				<!-- drop down menu -->
				<?php include('dropdown.php'); ?>
				<!-- end drop down menu -->
			
			</div><!-- end div.navline -->
			
			<div class="clear"></div>
			
		</div><!-- end div.header -->
		
	</div><!-- end div#header_container -->
	
<?php 
$headline_value = get_field('headline_value');
$headline_description_value = get_field('headline_description_value');
if(is_front_page() || $show_blog_slider == 'yes') {
if($show_slider != 'no') {
echo '<div class="feature_container">';
include ($slidertype . '.php');
}}
?>
		
	<div id="headline_container">
	
		<div class="headline">
		
			<div class="headline_search">
				<div id="searchwrapper">
				<form id="searchform" method="get" action="<?php bloginfo('url'); ?>">
				<div>
				<input type="text" class="searchbox" name="s" id="s" value="<?php echo $cerca ?>" onfocus="this.value==this.defaultValue?this.value='':null;" onblur="this.value==''?this.value='Search...':null;" />
				<input type="image" src="<?php echo get_template_directory_uri(); ?>/images/blank.png" class="searchbox_submit" value="" />
				</div>
				</form>
				</div>
			</div>
		
			<div class="headline_inner">
			
 <!-- HEADLINE BEGIN -->

			<div class="headline_title"><h3>
			<?php $homepage_page_name = get_option('bb_homepage_page_name'); 
			if (is_front_page()) 
			{
				if($homepage_page_name != NULL)
				{
					_e($homepage_page_name);
				}else 
				{
					echo 'Benvenuti';
				}
			}else if (is_single()) 
			{
				$category = get_the_category(); 
				_e($category[0]->cat_name); 
				
			}else if (is_search()) 
			{
				_e("Ricerca");
				
			}else if (is_archive() || is_category()) 
			{
				_e(single_cat_title( '', false ));
				_e(" in Castiglion Fiorentino");
				
			}else
			{
				if(get_field('headline_value') != NULL)
				{
					_e(get_field('headline_value'));
				}else
				{
					_e(the_title());
				}
			} ?></h3></div>
			
            
            
            <div class="headline_close"><h4><?php $homepage_page_description = get_option('bb_homepage_page_description');if(is_front_page()) {if($homepage_page_description != NULL) {echo $homepage_page_description;} else {?> <div class="socialheader"><a href="https://twitter.com/#!/InCFiorentino" title="twitter"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter_wood.png" alt="twitter" /></a><a href="https://www.facebook.com/pages/In-Castiglion-Fiorentino/431131653586489" title="facebook"><img src="<?php echo get_template_directory_uri(); ?>/images/facebook_wood.png" alt="facebook" /></a><a href="https://www.youtube.com" title="youtube"><img src="<?php echo get_template_directory_uri(); ?>/images/youtube_wood.png" alt="youtube" /></a><a href="mailto:info@incastiglionfiorentino.com" title="email"><img src="<?php echo get_template_directory_uri(); ?>/images/email_wood.png" alt="email" /></a></div> <?php }} else if(is_page_template('blog.php')) {if($headline_description_value != NULL) {echo $headline_description_value;} else {}} else {if(get_field('headline_description_value') != NULL){echo get_field('headline_description_value');}} ?></h4></div>
			<div class="clear"></div>
            
            
            

            
            

 <!-- HEADLINE END -->
			
			</div>
			<div class="clear"></div>
		</div>
			
	</div><!-- end div.headline_container -->
	
<?php 
if(is_front_page() || $show_blog_slider == 'yes') {
if($show_slider != 'no') {
echo '</div><!-- end div#feature_container -->';
}}
?>
		
	</div><!-- end div#header_wrap -->