<?php

// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();

?>
<!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" xml:lang="<?php echo $conf['lang']?>"
 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" type="text/css" href="https://www.soscisurvey.de/plugins/FAQhere/faq.css">
  <link rel="shortcut icon" href="https://www.soscisurvey.de/layout/favicon.help.ico" type="image/x-icon">
  <title>
    <?php tpl_pagetitle()?>
    [<?php echo strip_tags($conf['title'])?>]
  </title>

  <?php tpl_metaheaders()?>

   <!-- <link rel="shortcut icon" href="<?php echo tpl_favicon(); ?>" /> -->

  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
</head>

<body>
<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
<div class="dokuwiki">
	<div class="styletop">
		<div class="pagename">
			[[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]]
		</div>
		 <?php if($conf['youarehere']){?>
		    <div class="breadcrumbs">
		      <?php tpl_youarehere() ?>
		    </div>
		<?php }?>
	</div>

	<div class="styleleft">
		<!--
		<div class="logo">
		<?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
		</div>
		-->
		<div>
			<a href="../doku.php/de:start">
			<img src="../layout/logo.SoSci-oFb.150.png" alt="SoSci Survey" title="Zur Übersicht" style="border: 0px; margin: 12px 0px 0px 10px">
			</a>
		</div>
		<div class="navigation">
		<?PHP
		$lngNav = dirname(__FILE__).'/navigation.'.$conf['lang'].'.html';
		if (!file_exists($lngNav)) {
			$lngNav = dirname(__FILE__).'/navigation.en.html';
		}
		@include($lngNav);
		?>
		</div>
		<div class="langsel">
			<?php
			$translation = plugin_load('helper','translation');
			if ($translation) echo $translation->showTranslations();
			?>
		</div>
	</div>
	
	<div class="stylecenter">
  
	  <div class="stylehead">

	    <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>

	    <div class="bar" id="bar__top">
	      <div class="bar-left" id="bar__topleft">
		<?php tpl_button('edit')?>
		<?php tpl_button('history')?>
	      </div>

	      <div class="bar-right" id="bar__topright">
		<?php tpl_button('recent')?>
		<?php tpl_searchform()?>&nbsp;
	      </div>

	      <div class="clearer"></div>
	      
		<?php if($conf['breadcrumbs']){?>
			<div class="innerbread">
			<div class="breadcrumbs">
			<?php tpl_breadcrumbs()?>
			</div>
			</div>
		<?php }?>
	      
	    </div>
	    
	    <?php html_msgarea()?>

	  </div>
	  <?php tpl_flush()?>

	  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>

	  <div class="page">
	    <!-- wikipage start -->
	    <?php tpl_content()?>
	    <!-- wikipage stop -->
	    <!-- Clear float elements here -->
	    <div class="clearer"></div>
	  </div>

	  <div class="clearer"></div>

	  <?php tpl_flush()?>

	  <div class="stylefoot">

	    <div class="meta">
	      <div class="user">
		<?php tpl_userinfo()?>
	      </div>
	      <div class="doc">
		<?php tpl_pageinfo()?>
	      </div>
	    </div>

	   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>

	    <div class="bar" id="bar__bottom">
	      <div class="bar-left" id="bar__bottomleft">
		<?php tpl_button('edit')?>
		<?php tpl_button('history')?>
		<?php tpl_button('revert')?>
	      </div>
	      <div class="bar-right" id="bar__bottomright">
		<?php tpl_button('subscribe')?>
		<?php tpl_button('media')?>
		<?php tpl_button('admin')?>
		<?php tpl_button('profile')?>
		<?php tpl_button('login')?>
		<?php // tpl_button('index')?>
		<?php // tpl_button('top')?> &nbsp;
	      </div>
	      <div class="clearer"></div>
	    </div>

	  </div>
	</div>
	<div class="stylebottom">
		<?php tpl_license(false);?>
	</div>

</div>
<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>

<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
</body>
</html>
