%PDF- %PDF-
| Direktori : /home/vacivi36/backupsite/public_html/old/wp-content/themes/inspiry-medicalpress/ |
| Current File : /home/vacivi36/backupsite/public_html/old/wp-content/themes/inspiry-medicalpress/header.php |
<!DOCTYPE html>
<!--[if IE 7]><html class="ie ie7" <?php language_attributes(); ?>><![endif]-->
<!--[if IE 8]><html class="ie ie8" <?php language_attributes(); ?>><![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-98438585-1', 'auto');
ga('send', 'pageview');
</script>
<!-- META TAGS -->
<meta charset="<?php bloginfo('charset'); ?>">
<!-- Define a viewport to mobile devices to use - telling the browser to assume that the page is as wide as the device (width=device-width) and setting the initial page zoom level to be 1 (initial-scale=1.0) -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no" />
<?php
global $theme_options;
if ( !function_exists( 'has_site_icon' ) || !has_site_icon() ) {
if ( !empty( $theme_options['theme_favicon'] ) && !empty( $theme_options['theme_favicon']['url'] ) ) {
?><link rel="shortcut icon" href="<?php echo esc_url( $theme_options['theme_favicon']['url'] ); ?>"/><?php
}
}
?>
<!-- Pingback URL -->
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/>
<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?>" href="<?php bloginfo('rss2_url'); ?>"/>
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?>" href="<?php bloginfo('atom_url'); ?>"/>
<?php wp_head(); ?>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1736110923361069');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1736110923361069&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
</head>
<body <?php body_class(); ?>>
<script>
fbq('track', 'ViewContent', {
value: 1,
currency: '1',
});
</script>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="<?php echo 'http://browsehappy.com/'; ?>">upgrade your browser</a> or <a href="<php echo 'http://www.google.com/chromeframe/?redirect=true'; ?>">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<?php
if ($theme_options['display_top_header']) {
?>
<div class="header-top clearfix">
<div class="container">
<div class="row">
<div class="<?php bc('5', '5', '', ''); ?>">
<?php
if (!empty($theme_options['top_header_text'])) {
?>
<p><?php echo $theme_options['top_header_text']; ?></p>
<?php
}
?>
</div>
<?php
if ((!empty($theme_options['header_opening_hours'])) || (!empty($theme_options['header_contact_number']))) {
?>
<div class="<?php bc('7', '7', '', ''); ?> text-right">
<?php
/* WPML Language Switcher */
if($theme_options['display_wpml_flags']){
if(function_exists('icl_get_languages')){
$languages = icl_get_languages('skip_missing=0&orderby=code');
if(!empty($languages)){
echo '<div id="inspiry_language_list"><ul class="clearfix">';
foreach($languages as $l){
echo '<li>';
if($l['country_flag_url']){
if(!$l['active']) echo '<a href="'.$l['url'].'" title="'.$l['translated_name'].'">';
echo '<img src="'.$l['country_flag_url'].'" height="12" alt="'.$l['translated_name'].'" width="18" />';
if(!$l['active']) echo '</a>';
}
echo '</li>';
}
echo '</ul></div>';
}
}
}
?>
<p>
<?php
if (!empty($theme_options['header_opening_hours'])) {
_e('Opening Hours', 'framework');
echo ' : ';
echo '<span>' . $theme_options['header_opening_hours'] . '</span>';
}
if (!empty($theme_options['header_contact_number'])) {
echo '<br class="visible-xs" />';
echo ' ';
_e('Contact', 'framework');
echo ' : ';
echo '<span>' . $theme_options['header_contact_number'] . '</span>';
}
?>
</p>
</div>
<?php
}
?>
</div>
</div>
</div>
<?php
}
?>
<header id="header">
<div class="container">
<div class="row">
<div class="<?php bc_all('12'); ?>">
<!-- Website Logo -->
<div class="logo clearfix">
<?php
if (!empty($theme_options['website_logo']['url'])) {
?>
<a href="<?php echo esc_url(home_url('/')); ?>">
<img src="<?php echo $theme_options['website_logo']['url']; ?>"
alt="<?php bloginfo('name'); ?>"/>
</a>
<?php
} else {
?>
<h1>
<a href="<?php echo esc_url(home_url('/')); ?>" title="<?php $site_title = get_bloginfo('name'); echo strip_tags(html_entity_decode($site_title)); ?>">
<?php echo html_entity_decode($site_title); ?>
</a>
</h1>
<?php
}
?>
</div>
<!-- Main Navigation -->
<nav class="main-menu">
<?php
wp_nav_menu(array(
'theme_location' => 'main-menu',
'container' => false,
'menu_class' => 'header-nav clearfix'
));
?>
</nav>
<div id="responsive-menu-container"></div>
</div>
</div>
</div>
</header>