<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }?>
<?php check_language(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<title><?php get_page_clean_title(); ?> - <?php get_site_name(); ?></title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="robots" content="index, follow">
	<link rel="shortcut icon" href="<?php get_theme_url(); ?>/images/favicon.ico">
	<link href="<?php get_theme_url(); ?>/css/style.css?v=<?php echo get_site_version(); ?>" rel="stylesheet">
	<style>
	.nav-context .menu-item:not(:checked) ~ label::after {
		content: "<?php echo $set_lang['FX_SET_EXPAND']; ?>";
	}
	.nav-context .menu-item:checked ~ label::after {
		content: "<?php echo $set_lang['FX_SET_COLAPS']; ?>";
	}
	</style>
	<?php get_header(); ?>
</head> 
<body id="<?php get_page_slug(); ?>" >
	<!-- site header -->
	<header id="header">
		<div class="header container center">
			<div class="wrapper">
				<div class="logo-image">
				<?php if(function_exists('return_theme_setting') && return_theme_setting('logofile')) {
					$logo_img = return_theme_setting('logofile'); ?>
					<img src="<?php echo $logo_img; ?>" >
				<?php } else { ?>
					<img src="<?php get_theme_url(); ?>/images/logo-image.png" />
					<div class="logo-part left"></div>
					<div class="logo-part right"></div>
				<?php } ?>
				</div>
				<div class="hidden-small navbar-brand width-1-3<?php echo return_theme_setting('site_slogan')?' navbar-with-slogan':''?>">
				<!-- logo/sitename -->
			<?php if(function_exists('return_theme_setting') && return_theme_setting('site_slogan')) { ?>
				<a href="<?php get_site_url(); ?>" id="logo" class="site-name-slogan hidden-small"><?php get_site_name(); ?></a>
				<h2 class="site-slogan"><?php get_theme_setting('site_slogan'); ?></h2>
			<?php } else { ?>
				<a href="<?php get_site_url(); ?>" id="logo" class="site-name-single hidden-small"><?php get_site_name(); ?></a>
			<?php } ?>
				</div>
				<div class="middle-bar align-center width-1-3">
					<a href="#" class="icon-button fa-facebook" title="Facebook"></a>
					<a href="#" class="icon-button fa-twitter" title="Twitter"></a>
					<a href="#" class="icon-button fa-skype" title="Skype"></a>
				</div>
				<div class="search width-1-4">
                <?php if(function_exists('return_theme_setting') && return_theme_setting('search_form')==1) { ?>
					<form role="form" id="search_form" action="index.php?id=search" method="post">
                        <input type="text" class="search-form" name="keywords" autocomplete="off" placeholder="<?php echo $set_lang['FX_SEARCH']; ?>">
						<button name="submit" type="submit" value="" class="search-icon"></button>
                    </form>
				<?php } ?>
                </div>
				<?php if (function_exists('get_i18n_lang_menu')) { $is_lang_menu = true; } else { $is_lang_menu = false; } ?>
				<?php get_navigation_items(return_page_slug(), 'main', true, true, $is_lang_menu); ?>
				<?php get_navigation_items(return_page_slug(), 'offcanvas', true, true, $is_lang_menu); ?>
			</div>
		</div>
		
		<?php print_breadcrumbs(return_page_slug()); ?>
		
  </header>