<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php
global $bbpress_forum;
if($bbpress_forum ):?>
<title><?php bb_title() ?></title>
<?php bb_feed_head(); ?>
<?php bb_head(); ?>
<link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
<?php else:?>
<title><?php if(is_front_page()) { echo SITENAME; } else { wp_title(''); } ?></title>
<?php endif;?>
<!-- Wordpress Stuff -->
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_single() ) wp_enqueue_script( 'comment-reply' ); ?> <!-- This makes the comment box appear where the ‘reply to this comment’ link is -->
<?php wp_enqueue_script("jquery"); ?>
<?php comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
<!-- End of Wordpress stuff -->
<!-- Meta Images -->
<?php if(pagelines('favicon')):?><link rel="shortcut icon" href="<?php echo pagelines('favicon');?>" type="image/x-icon" /><?php endif;?>
<?php if(pagelines('touchicon')):?><link rel="apple-touch-icon" href="<?php echo pagelines('touchicon');?>" /><?php endif;?>
<!-- Stylesheets -->
<link rel="stylesheet" href="<?php echo CSS_FOLDER.'/reset.css';?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo CSS_FOLDER.'/trans.css';?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo CSS_FOLDER.'/wp_core.css';?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo ROOT.'/style.css';?>" type="text/css" media="screen" />
<?php if(VPRO):?><link rel="stylesheet" href="<?php echo CSS_FOLDER.'/pro.css';?>" type="text/css" media="screen" /><?php endif; ?>
<?php if(VPRO && pagelines('colorscheme') == 'black'):?><link rel="stylesheet" href="<?php echo CSS_FOLDER.'/color_black.css';?>" type="text/css" media="screen" /><?php endif;?>
<?php if(VPRO && pagelines('colorscheme') == 'green'):?><link rel="stylesheet" href="<?php echo CSS_FOLDER.'/color_green.css';?>" type="text/css" media="screen" /><?php endif;?>
<?php if(VPRO && pagelines('colorscheme') == 'orange'):?><link rel="stylesheet" href="<?php echo CSS_FOLDER.'/color_orange.css';?>" type="text/css" media="screen" /><?php endif;?>
<?php if(VPRO && pagelines('colorscheme') == 'red'):?><link rel="stylesheet" href="<?php echo CSS_FOLDER.'/color_red.css';?>" type="text/css" media="screen" /><?php endif;?>
<!-- Modules w/ Javascript -->
<?php if((is_page_template('page-carousel.php') || is_page_template('page-carousel-full.php')) && VPRO) require (PRO.'/init_carousel.php');?>
<?php if((is_page_template('page-feature.php') || is_page_template('page-feature-page.php')) && VPRO) require (PRO.'/init_feature.php');?>
<?php if(pagelines('enable_drop_down') && VPRO) require (PRO.'/init_dropdown.php');?>
<?php if(DEMO) include(LIB.'/init_picker.php');?>
<!-- IE -->
<!--[if IE 6]>
<link rel="stylesheet" href="<?php echo CSS_FOLDER.'/ie6.css';?>" type="text/css" media="screen" />
<![endif]-->
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
<![endif]-->
<!--[if IE 6]>
<script type="text/javascript" src="<?php echo JS_FOLDER; ?>/belatedpng.js"></script>
<script>
DD_belatedPNG.fix('.pngbg, .welcometext, .icons a, #site, .fcontent, .featurelink, .contentshadow, .plimage, .shadowbottom, .shadowtop, .post-footer .left span, #welcome');
</script>
<![endif]-->
<?php include (LIB.'/_customcss.php'); ?>
<?php if (pagelines('headerscripts')) echo pagelines('headerscripts');?>
</head>
<body <?php body_class(); ?>>
<div id="site">
<div id="wrapper">
<?php if(DEMO) include(LIB.'/_picker.php');?>
<div id="pagewrap" class=""><div id="pagewrap2" class="">
<div id="header" class="fix">
<div class="headline">
<!-- Platz für Werbung im Header -->
<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxxx";
/* Vesalia Leaderboard */
google_ad_slot = "xxxxxxxx";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- Platz für Werbung im Header ENDE -->
<?php if(pagelines('custom_header')):?>
<a class="home" href="<?php echo get_settings('home'); ?>/" title="<?php bloginfo('name');?>"><img src="<?php echo pagelines('custom_header');?>" alt="<?php bloginfo('name');?>" /></a>
<?php else:?>
<h1 class="site-title"><a class="home" href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home',TDOMAIN);?>"><?php bloginfo('name');?></a></h1>
<h6 class="site-description"><?php bloginfo('description');?></h6>
<?php endif;?>
</div>
<div class="icons">
<?php if(pagelines('rsslink')):?>
<a target="_blank" href="<?php echo RSSURL;?>" class="rsslink"></a>
<?php endif;?>
<?php if(VPRO):?>
<?php if(pagelines('twitterlink')):?>
<a target="_blank" href="<?php echo pagelines('twitterlink');?>" class="twitterlink"></a>
<?php endif;?>
<?php if(pagelines('facebooklink')):?>
<a target="_blank" href="<?php echo pagelines('facebooklink');?>" class="facebooklink"></a>
<?php endif;?>
<?php if(pagelines('linkedinlink')):?>
<a target="_blank" href="<?php echo pagelines('linkedinlink');?>" class="linkedinlink"></a>
<?php endif;?>
<?php endif;?>
</div>
</div>
<div class="contentshadow fix">
<div class="contentshadowfade">
<div class="container fix">
<div id="nav" class="fix">
<ul class="dropdown clearfix">
<li class="page_item "><a class="home" href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home',TDOMAIN);?>"><?php _e('Home',TDOMAIN);?></a></li>
<?php
$frontpage_id = get_option('page_on_front');
if($bbpress_forum && pagelinesforum('exclude_pages')){ $forum_exclude = ','.pagelinesforum('exclude_pages');}
else{ $forum_exclude = '';}
wp_list_pages('exclude='.$frontpage_id.$forum_exclude.'&depth=3&title_li=');?>
</ul>
</div><!-- /nav -->
<div class="clear"></div>