<?php include('perch/runtime.php'); ?>
<!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">
	 <?php     
    $domain        = 'http://'.$_SERVER["HTTP_HOST"];
    $url           = $domain.$_SERVER["REQUEST_URI"];
    $sitename = perch_pages_title(true);
    PerchSystem::set_var('domain',$domain);
    PerchSystem::set_var('url',$url);
    PerchSystem::set_var('sitename',$sitename);
    perch_page_attributes(array(        
      'template' => 'default.html'    
    )); 
      ?>
   <title><?php perch_pages_title(); ?></title> 
  <?php 
   perch_content("Startseite");  
   perch_get_css("mc2022_detail"); 
   ?>
</head>
<body>
  
    <div class="shell font1">
    <div class="logo">
    <div class="inline">
        <a href="/">
        <div class="logo-mc">

            <svg version="1.1" id="Ebene_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
                 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 313.5 82.5"
                 style="enable-background:new 0 0 313.5 82.5;" xml:space="preserve">

            <metadata>
                <sfw  xmlns="&ns_sfw;">
                    <slices></slices>
                    <sliceSourceBounds bottomLeftOrigin="true" height="127.4" width="16383" x="-7891" y="-341.5"></sliceSourceBounds>
                </sfw>
            </metadata>
            <g>
                <g>
                    <polygon class="st0" points="0.7,81.1 14,81.1 14,15.5 34.2,81.1 45.5,81.1 66.6,14.8 66.6,81.1 79.9,81.1 79.9,1.7 56.6,1.7 
                        39.9,53 24,1.7 0.7,1.7 		"/>
                    <path class="st0" d="M140.6,48.2c-4.7,15.1-9.8,20.2-20.2,20.2c-12,0-20.1-8.8-20.1-27c0-18.2,7.9-27,20.1-27
                        c10.3,0,17.9,6.2,19.1,21h15.6c-1.8-22.6-14.6-34.9-34.2-34.9c-19.6,0-35.1,13.8-35.1,40.9c0,27.1,16.5,40.9,35.1,40.9
                        c20,0,33.4-13.4,34.2-34.1H140.6z"/>
                </g>
                <path class="st0" d="M304.8,41.5c4.9-4.3,8-10.6,8-17.6c0-12.9-10.5-23.4-23.4-23.4S266.1,11,266.1,23.9c0,7,3.1,13.3,8,17.6
                    c-4.9,4.3-8,10.6-8,17.6c0,12.9,10.5,23.4,23.4,23.4s23.4-10.5,23.4-23.4C312.8,52.1,309.7,45.8,304.8,41.5z M277.7,23.9
                    c0-6.5,5.3-11.8,11.8-11.8s11.8,5.3,11.8,11.8c0,6.5-5.3,11.8-11.8,11.8S277.7,30.4,277.7,23.9z M289.5,70.9
                    c-6.5,0-11.8-5.3-11.8-11.8c0-6.5,5.3-11.8,11.8-11.8s11.8,5.3,11.8,11.8C301.2,65.6,295.9,70.9,289.5,70.9z"/>
                <path class="st0" d="M199.1,28.1h27.7l-5.6,26.5h-27.7L199.1,28.1z M232.7,0.5l-3.4,16.2h-27.7l3.4-16.2h-11.9l-3.4,16.2h-16.9
                    l-2.4,11.3h16.9l-5.6,26.5h-16.9L162.2,66h16.9l-3.4,16.2h11.9L191,66h27.7l-3.4,16.2h11.9l3.4-16.2h16.9l2.4-11.3H233l5.6-26.5
                    h16.9l2.4-11.3h-16.9l3.4-16.2H232.7z"/>
            </g>
            </svg>
                                             
        </div>
        </a>
    </div>
    </div>
        
    <div class="navcontainer">
    <ul class="teilnehmer"> 
    <?php 
       perch_content_custom('2022Teilnehmer:In', [
           'page' => '*',
           'template'=>'2022navi.html',
           'sort'=>'vorname',
           'sort-order'=>'ASC'
        ]);
       $namen = perch_content_custom('2022Teilnehmer:In', array(
        'page' => '*',
        'sort'=>'vorname',
        'sort-order'=>'ASC',
        'skip-template'=>'true'
        ));
      ?>
    </ul>

    <ul class="infolinks">
      <?php 
       $la = perch_content_custom('2022Info', [
           'page' => '*',
           'skip-template'=>'true'
        ]);
      $howmany = count($la);
      for ($i=0; $i<$howmany; $i++) { ?>
        <li class="menu_item"><a href="<?= $la[$i]["_page"] ?>"><?= $la[$i]["ab"] ?></a></li>   
      <?php }
        ?>
    </ul> 

    <ul class="datenschutzlinks">
      <?php 
       $la = perch_content_custom('2022Impressum', [
           'page' => '*',
           'skip-template'=>'true'
        ]);
      $howmany = count($la);
      for ($i=0; $i<$howmany; $i++) { ?>
        <li class="menu_item"><a href="<?= $la[$i]["_page"] ?>"><?= $la[$i]["ab"] ?></a></li>   
      <?php }
        ?>
      <li class="cookiestoggle menu_item">Cookies</li>
    </ul>

    <ul class="weiterelinks">
      <li class="menu_item"><a href="/2020/">Masterclass #6</a></li>
      <li class="menu_item"><a href="/2021/">Masterclass #7</a></li>
    </ul> 
  </div>
  </div>
  <div class="hamburgermenu">
    <div class="xy">    
      <span class="stripe backs top-stripe"></span>
      <span class="stripe backs middle-stripe"></span>
      <span class="stripe backs bottom-stripe"></span>
    </div>
  </div>

  <nav>
    <div class="inline">
        <a href="/">
        <div class="logo-mc">

            <svg version="1.1" id="Ebene_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
                 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 313.5 82.5"
                 style="enable-background:new 0 0 313.5 82.5;" xml:space="preserve">

            <metadata>
                <sfw  xmlns="&ns_sfw;">
                    <slices></slices>
                    <sliceSourceBounds bottomLeftOrigin="true" height="127.4" width="16383" x="-7891" y="-341.5"></sliceSourceBounds>
                </sfw>
            </metadata>
            <g>
                <g>
                    <polygon class="st0" points="0.7,81.1 14,81.1 14,15.5 34.2,81.1 45.5,81.1 66.6,14.8 66.6,81.1 79.9,81.1 79.9,1.7 56.6,1.7 
                        39.9,53 24,1.7 0.7,1.7 		"/>
                    <path class="st0" d="M140.6,48.2c-4.7,15.1-9.8,20.2-20.2,20.2c-12,0-20.1-8.8-20.1-27c0-18.2,7.9-27,20.1-27
                        c10.3,0,17.9,6.2,19.1,21h15.6c-1.8-22.6-14.6-34.9-34.2-34.9c-19.6,0-35.1,13.8-35.1,40.9c0,27.1,16.5,40.9,35.1,40.9
                        c20,0,33.4-13.4,34.2-34.1H140.6z"/>
                </g>
                <path class="st0" d="M304.8,41.5c4.9-4.3,8-10.6,8-17.6c0-12.9-10.5-23.4-23.4-23.4S266.1,11,266.1,23.9c0,7,3.1,13.3,8,17.6
                    c-4.9,4.3-8,10.6-8,17.6c0,12.9,10.5,23.4,23.4,23.4s23.4-10.5,23.4-23.4C312.8,52.1,309.7,45.8,304.8,41.5z M277.7,23.9
                    c0-6.5,5.3-11.8,11.8-11.8s11.8,5.3,11.8,11.8c0,6.5-5.3,11.8-11.8,11.8S277.7,30.4,277.7,23.9z M289.5,70.9
                    c-6.5,0-11.8-5.3-11.8-11.8c0-6.5,5.3-11.8,11.8-11.8s11.8,5.3,11.8,11.8C301.2,65.6,295.9,70.9,289.5,70.9z"/>
                <path class="st0" d="M199.1,28.1h27.7l-5.6,26.5h-27.7L199.1,28.1z M232.7,0.5l-3.4,16.2h-27.7l3.4-16.2h-11.9l-3.4,16.2h-16.9
                    l-2.4,11.3h16.9l-5.6,26.5h-16.9L162.2,66h16.9l-3.4,16.2h11.9L191,66h27.7l-3.4,16.2h11.9l3.4-16.2h16.9l2.4-11.3H233l5.6-26.5
                    h16.9l2.4-11.3h-16.9l3.4-16.2H232.7z"/>
            </g>
            </svg>
                                             
        </div>
        </a>
    </div>
  </nav>

<main>  
    <div class="raster">
        <div class="item1">
            <!-- <svg viewBox="0 0 50 99.685"> -->
            <!-- <svg viewBox="0 0 100 197"> -->
            <svg viewBox="0 0 1 1"> </svg>
        </div>
        
        <div class="item2">2</div>

        <div class="item_celina">
          <a href="/2022/<?= $namen[0]['slug'] ?>.php"><?= $namen[0]['vorname'] ?><br><?= $namen[0]['nachname'] ?></a>
        </div>

        <div class="item_hazel">
          <a href="/2022/<?= $namen[1]['slug'] ?>.php"><?= $namen[1]['vorname'] ?> <?= $namen[1]['nachname'] ?></a>
        </div>

        <div class="item_jannis">
          <a href="/2022/<?= $namen[2]['slug'] ?>.php"><?= $namen[2]['vorname'] ?><br><?= $namen[2]['nachname'] ?></a>
        </div>

        <div class="item_jasmin">
          <a href="/2022/<?= $namen[3]['slug'] ?>.php"><?= $namen[3]['vorname'] ?><br><?= $namen[3]['nachname'] ?></a>
        </div>

        <div class="item_laura">
          <a href="/2022/<?= $namen[4]['slug'] ?>.php"><?= $namen[4]['vorname'] ?> <?= $namen[4]['nachname'] ?></a>
        </div>

        <div class="item_mehdi">
          <a href="/2022/<?= $namen[5]['slug'] ?>.php"><?= $namen[5]['vorname'] ?><br><?= $namen[5]['nachname'] ?></a>
        </div>

        
    </div>
</main>

<footer>
    <section class="logos"><img src="/2022/img/logo2_zkm.svg"></section>
</footer>
     
<?php
     perch_content('Cookie');
     perch_get_javascript("mc2022_home"); 
?>
</body>
</html>