<?php load_theme_textdomain('unnamed'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes();?>>
<head profile="http://gmpg.org/xfn/11">
<title><?php wp_title(''); if (function_exists('is_tag') and is_tag()) { ?>Tag-Archiv f&uuml;r <?php echo $tag; } if (is_archive()) { ?> Archiv<?php } elseif (is_search()) { ?> Suche nach <?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists('is_tag') and is_tag()) or (is_archive()) ) { ?> at <?php } ?><?php bloginfo('name'); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<meta name="description" content="<?php bloginfo('description'); ?>" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php if(get_option('unnamed_normalcss') == '0') { ?><?php bloginfo('template_directory'); ?>/styles.css.php<?php } else { echo(bloginfo('stylesheet_url')); }?>" type="text/css" media="screen" />
<?php /* Custom Style */ if (get_option('unnamed_scheme') != '') { ?>
<link rel="stylesheet" type="text/css" media="screen" href="<?php unnamed_info('scheme'); ?>" />
<?php } ?>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('unnamed_rss') != '') { echo (get_option('unnamed_rss')); } else { echo bloginfo('rss2_url'); } ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Comments Rss" href="<?php bloginfo('comments_rss2_url'); ?>" />
<?php if (is_single() || is_page()) { ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php } ?>
<?php if((get_option('unnamed_ajaxcommenting') == 1 || get_option('unnamed_livesearch') == 1 || get_option('unnamed_shelf') == 1)) { ?>
<?php if(get_option('unnamed_scriptloader') == 1) { wp_enqueue_script('unnamed_functions'); } else { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/effects.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/functions.js.php"></script>
<?php } } ?>
<?php if (get_option('unnamed_ajaxcommenting') == 1 && (is_single() || is_page()) && (('open' == $post-> comment_status) || ('comment' == $post-> comment_type)) ) { ?>
<?php if(get_option('unnamed_scriptloader') == 1) { wp_enqueue_script('unnamed_comments'); } else { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/comments.js.php"></script>
<?php } } ?>
<?php if(get_option('unnamed_livesearch') == 1) { ?>
<?php if(get_option('unnamed_scriptloader') == 1) { wp_enqueue_script('unnamed_livesearch'); } else { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/livesearch.js.php"></script>
<?php } } ?>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
<body>
<div id="container">
<ul id="nav">
  <li class="<?php if ( is_home()) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Blog'); ?></a></li>
  <?php if(get_option('unnamed_dropmenu') == 1) {?>
  <?php wp_list_pages('sort_column=menu_order&title_li='); ?>
  <?php } else { ?>
  <?php wp_list_pages("title_li=&depth=1&sort_column=menu_order");?>
  <?php }?>
</ul>
<div id="header">
  <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
  <p class="description"><?php bloginfo('description'); ?></p>
</div>
<div id="content">
<?php if(get_option('unnamed_shelf') == 1 && is_home()){ ?>
<?php include("shelf.php"); ?>
<?php } ?>
<?php if(get_option('unnamed_shelf') != 1 || !is_home()){ ?>
<div class="content-top"></div>
<?php } ?>
<hr />