<!DOCTYPE html>
<html lang="de">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap core CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet">

	<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
	<link rel="stylesheet" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css">
	<link rel="stylesheet" href="css/style.css">

<!-- Matomo -->
<script>
  var _paq = window._paq = window._paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//analytics.ctb-it.de/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '2']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Matomo Code -->

	    
    <title>Kundenbereich <?php echo $organisationsname;?></title>
  </head>
  <body>



<header class="p-3 text-bg-dark">
    <div class="container">
        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
        <a href="/intern/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
			<i class="bi-envelope-paper" style="font-size: 1.5rem; color: white; margin-right:0.5cm;"></i> <?php echo $organisationsname;?>
			
        </a>		
		</div>
	</div>
	<div class="px-3 py-2 text-bg-dark">
	
    <div class="container">
      <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">


        <?php if(!is_checked_in()): ?>
		<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">

        </ul>

        <div class="text-end">
          <button type="button" class="btn btn-outline-light me-2" onclick="location.href='login.php'" >Login</button>
          <button type="button" class="btn btn-warning" onclick="location.href='register.php'" >registrieren</button>
        </div>



        <?php else: ?>
		
		
        <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">  
         	<li ><a href="meineanfragen.php" class="nav-link px-2 text-white">Meine Anfragen</a></li>   
			<li ><a href="neueanfrage.php" class="nav-link px-2 text-white">Neue Anfrage</a></li> 
            <li ><a href="settings.php" class="nav-link px-2 text-white">Einstellungen</a></li>
            
        </ul>   
		<form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
          <!--<input type="search" class="form-control form-control-dark text-bg-dark" placeholder="Suche..." aria-label="Search">
           -->
		   <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
				<li ><a href="logout.php" class="nav-link px-2 text-white">Logout</a></li>
		   </ul>
		</form>

        <div class="text-end">      


        <?php endif; ?>
    </div>
  </div>
</header>

<?php





?>