<?php
    $timings = array();
    $timings['start'] = microtime(true);
    $is_KIT_HOMEPAGE_PROJECT = 'false';

    $wsm_editurl =<<<'NOWDOC'
../WebClient/Action=Preview&Mode=0&LikeMode=0&projectguid=140AF4128F194B9FA27CFF9FE5B47878&editlinkguid=77EBB7112B824E3B97A81CFAA6A3A86A&parentpageguid=&pageguid=24C01E21178C42C6867495385C08B870&forceprojectvariant=1&targetcontainerguid=&containerpageguid=&projectvariantguid=&languagevariantid=DEU&islink=1&themepath=ioRD.asp?Action=ShowLoginMask&LanguageVariantGuid=21CCAE6A3A9741269B737758AAA391FE&ProjectVariantGuid=&ProjectGuid=140AF4128F194B9FA27CFF9FE5B47878&PageGuid=24C01E21178C42C6867495385C08B870&LinkFromGuid=77EBB7112B824E3B97A81CFAA6A3A86A&ForceProjectVariant=1&NextModule=smartedit
NOWDOC;
	$wsm_editurl = trim($wsm_editurl);
	if (strpos($wsm_editurl, '?') !== false) {
		$wsm_editurl = substr($wsm_editurl, strpos($wsm_editurl, '?') + 1);
	}

    if ((isset($_SERVER['PATH_INFO'])) && ($_SERVER['PATH_INFO'] == '/edit')) {
        header ('Location: https://'.file_get_contents('https://wsm.scc.kit.edu/rql/login/get_server_for_project.php?prj=140AF4128F194B9FA27CFF9FE5B47878').'/cms/ioRD.asp?'.$wsm_editurl.'&admin=true&KillSession=1');
        die();
    }
    if ((isset($_SERVER['PATH_INFO'])) && ($_SERVER['PATH_INFO'] == '/gmd')) {
        echo 'ProjectGuid=140AF4128F194B9FA27CFF9FE5B47878;PageGuid=24C01E21178C42C6867495385C08B870;ChangeDate="'.show_change_date().'";ChangeAuthor="'.show_change_author().'";EditCMSUrl="https://'.file_get_contents('https://wsm.scc.kit.edu/rql/login/get_server_for_project.php?prj=140AF4128F194B9FA27CFF9FE5B47878').'/cms/ioRD.asp?'.$wsm_editurl.'&admin=true"';
        die();
    } 
    $wsm_editurl = '../WebClient/Action=Preview&Mode=0&LikeMode=0&projectguid=140AF4128F194B9FA27CFF9FE5B47878&editlinkguid=77EBB7112B824E3B97A81CFAA6A3A86A&parentpageguid=&pageguid=24C01E21178C42C6867495385C08B870&forceprojectvariant=1&targetcontainerguid=&containerpageguid=&projectvariantguid=&languagevariantid=DEU&islink=1&themepath=ioRD.asp?Action=ShowLoginMask&LanguageVariantGuid=21CCAE6A3A9741269B737758AAA391FE&ProjectVariantGuid=&ProjectGuid=140AF4128F194B9FA27CFF9FE5B47878&PageGuid=24C01E21178C42C6867495385C08B870&LinkFromGuid=77EBB7112B824E3B97A81CFAA6A3A86A&ForceProjectVariant=1&NextModule=smartedit';
    $RenderTag_Name_Einrichtung = '';
    $RenderTag_Name_Einrichtung_alt = '';
    $RenderTag_img_head_big = '';
    $RenderTag_copyright_img_head_big = '';
    $RenderTag_img_head_small = '';
    $RenderTag_copyright_img_head_small = '';
    $RenderTag_Title_Prefix = '';
    $RenderTag_Link_Home = '';
    $RenderTag_img_KeyVisual = '';
    $RenderTag_img_logo = '';
    $RenderTag_Adresse = '';
    $RenderTag_show_feedback = '';
    $RenderTag_Meta_Author = '';
    $RenderTag_OE_Logo_Link = '';
    $vorgabe_table_style = '';
    $campusplan_id = '';
    $breadcrumb_prefix = '';
    $shibboleth_enabled = '';
    $timings['vorPV'] = microtime(true);
?><?php


            $temp_TextIcons =<<<'HEREDOCTEXTICONS'

HEREDOCTEXTICONS;
            if (trim($temp_TextIcons) != '') $RenderTag_TextIcons = trim($temp_TextIcons);
            $temp_Name_Einrichtung =<<<'HEREDOCNAMEEINRICHTUNG'
KIT-Fakultät für Wirtschaftswissen&shy;schaften
HEREDOCNAMEEINRICHTUNG;
            if (trim($temp_Name_Einrichtung) != '') {
                $RenderTag_Name_Einrichtung = trim($temp_Name_Einrichtung);
                $RenderTag_Name_Einrichtung_alt = preg_replace('/<(br|p)[^>]*>/', ' ', $RenderTag_Name_Einrichtung); // br und p im Namen zu leerzeichen
                $RenderTag_Name_Einrichtung_alt = str_replace('&shy;', '', $RenderTag_Name_Einrichtung); // Soft-Hyphen entfernen
                $RenderTag_Name_Einrichtung_alt = htmlspecialchars(trim(preg_replace('/<[^>]*>/', '', $RenderTag_Name_Einrichtung_alt))); // alle anderen Tags wegwerfen
            }
            else {
                $RenderTag_Name_Einrichtung = '';
                $RenderTag_Name_Einrichtung_alt = '';
            }

            $temp_img_head_big =<<<'HEREDOCIMGHEAD'
/img/Startbild_hoch_1920.jpg
HEREDOCIMGHEAD;
            if (trim($temp_img_head_big) != '') $RenderTag_img_head_big = trim($temp_img_head_big);
            $temp_copyright_img_head_big =<<<'HEREDOCIMGHEAD'
iStock / KIT-Fakultät für Wirtschaftswissenschaften
HEREDOCIMGHEAD;
            if (trim($temp_copyright_img_head_big) != '') $RenderTag_copyright_img_head_big = trim($temp_copyright_img_head_big);

            $temp_img_head_small =<<<'HEREDOCIMGHEAD'
/img/Startbild_schmal_1920.jpg
HEREDOCIMGHEAD;
            if (trim($temp_img_head_small) != '') $RenderTag_img_head_small = trim($temp_img_head_small);
            $temp_copyright_img_head_small =<<<'HEREDOCIMGHEAD'
Istock.com/ metamorworks
HEREDOCIMGHEAD;
            if (trim($temp_copyright_img_head_small) != '') $RenderTag_copyright_img_head_small = trim($temp_copyright_img_head_small);

            $temp_img_head_small_default =<<<'HEREDOCIMGHEAD'
/img/intern/header_140.jpg
HEREDOCIMGHEAD;
            if ((trim($temp_img_head_small_default) != '') && (trim($RenderTag_img_head_small) == '')) $RenderTag_img_head_small = trim($temp_img_head_small_default);

            $temp_Title_Prefix =<<<'HEREDOCTITLEPREFIX'
wiwi-
HEREDOCTITLEPREFIX;
            if (trim($temp_Title_Prefix) != '') $RenderTag_Title_Prefix = $temp_Title_Prefix; // Leerzeichen am Ende erlauben
            $temp_Link_Home =<<<'HEREDOCLINKHOME'
/index.php
HEREDOCLINKHOME;
            if (trim($temp_Link_Home) != '') {
                $RenderTag_Link_Home = trim($temp_Link_Home);
                // Es kam vor, dass trotz korrekter Einstellung anstatt der URL ein kompletter Link übermittelt wurde
                preg_match_all('/<a[^>]+href=([\'"])(?<href>.+?)\1[^>]*>/i', $RenderTag_Link_Home, $result);
                if (!empty($result)) {
                    if (isset($result['href']) && isset($result['href'][0])) $RenderTag_Link_Home = $result['href'][0];
                }
            }
/*
            $temp_img_KeyVisual =<<<'HEREDOCIMGKEYVISUAL'
/img/WeblogoRechtsMitRand.png
HEREDOCIMGKEYVISUAL;
            if (trim($temp_img_KeyVisual) != '') $RenderTag_img_KeyVisual = trim($temp_img_KeyVisual);
*/
            $temp_img_logo =<<<'HEREDOCIMGKEYVISUAL'

HEREDOCIMGKEYVISUAL;
            // if (trim($temp_img_logo) != '')
            $RenderTag_img_logo = trim($temp_img_logo);
            if (strpos($RenderTag_img_logo, ' alt=') === false) $RenderTag_img_logo = str_replace('<img ', '<img alt="" ', $RenderTag_img_logo);
            
            $temp_Adresse =<<<'HEREDOCADRESSE'
<p>Kollegiengebäude am Kronenplatz<br />
Geb. 05.20,&nbsp;Raum 3B 05.2</p>

<p>Kaiserstraße 89<br />
76133 Karlsruhe</p>

<p>Tel:&nbsp; +49 (0)721 608-42147<br />
Fax:&nbsp; +49 (0)721 608-43936</p>

<p>E-Mail:&nbsp;&nbsp;dekanat@wiwi kit edu</p>
HEREDOCADRESSE;
            // if (trim($temp_Adresse) != '')
            $RenderTag_Adresse = trim(str_replace('&quot;', '"', $temp_Adresse));
            
            $temp_show_feedback =<<<'HEREDOCFEEDBACK'
enabled
HEREDOCFEEDBACK;
            if (trim($temp_show_feedback) == 'enabled') $RenderTag_show_feedback = 'enabled';
            else if (trim($temp_show_feedback) != '') $RenderTag_show_feedback = '';
            
            $temp_RenderTag_Meta_Author =<<<'HEREDOCMETAAUTHOR'

HEREDOCMETAAUTHOR;
            // if (trim($temp_RenderTag_Meta_Author) != '')
            $RenderTag_Meta_Author = trim($temp_RenderTag_Meta_Author);

            $temp_RenderTag_OE_Logo_Link =<<<'HEREDOCOELOGOLINK'

HEREDOCOELOGOLINK;
            $RenderTag_OE_Logo_Link = trim($temp_RenderTag_OE_Logo_Link);
            
            $temp_RenderTag_Table_Style =<<<'HEREDOCTABLESTYLE'
table_style_1
HEREDOCTABLESTYLE;
            // if (trim($temp_RenderTag_Table_Style) != '')
            $vorgabe_table_style = trim($temp_RenderTag_Table_Style);
            
            $temp_RenderTag_Campusplan_id =<<<'HEREDOCMETACAMPUSPLAN'

HEREDOCMETACAMPUSPLAN;
            // if (trim($temp_RenderTag_Campusplan_id) != '')
            $campusplan_id = trim($temp_RenderTag_Campusplan_id);

            $temp_RenderTag_breadcrumb_prefix =<<<'HEREDOCbreadcrumb_prefix'

HEREDOCbreadcrumb_prefix;
            // if (trim($temp_RenderTag_breadcrumb_prefix) != '')
            $breadcrumb_prefix = trim($temp_RenderTag_breadcrumb_prefix);
            
            $temp_RenderTag_shibboleth_enabled =<<<'HEREDOCSHIBBOLETH'
false
HEREDOCSHIBBOLETH;
            $shibboleth_enabled = trim($temp_RenderTag_shibboleth_enabled);
                ?><?php
	$shibboleth_show_block = true;
	if (isset($shibboleth_enabled) && ($shibboleth_enabled == 'true')) {
		$shibboleth_show_block = false;
		if ((in_array('MA', explode(';', ''))) && (in_array('employee@kit.edu', explode(';', $_SERVER['affiliation'])))) {
			$shibboleth_show_block = true;
		}
		else if ((in_array('ST', explode(';', ''))) && (in_array('student@kit.edu', explode(';', $_SERVER['affiliation'])))) {
			$shibboleth_show_block = true;
		}
		else if ((in_array('GUP', explode(';', ''))) && (in_array('affiliate@kit.edu', explode(';', $_SERVER['affiliation'])))) {
			$shibboleth_show_block = true;
		}
		else if ('' == '') {
			$shibboleth_show_block = true;
		}
	}
	if (!$shibboleth_show_block) {
	    header('Location: ');
	}
?><?php
    $opentext_design = 'KIT-2020';
/*
 INTRANET - INTERNET - Prüfung anhand der IP - START
 bool $in_ip_range
*/
    $my_ip = $_SERVER['REMOTE_ADDR'];
    if ((isset($_SERVER['HTTP_X_REAL_IP'])) && ($_SERVER['HTTP_X_REAL_IP'] != '')) {
        $my_ip = $_SERVER['HTTP_X_REAL_IP'];
    }
    @include('access_ip.php');
    if (strpos($my_ip, ':') !== false) { // IPV6
        $in_ip_range = false;
        // adresse normalisieren
        $count_colons = substr_count($my_ip, ':');
        if ($count_colons<7) {
            if (strpos($my_ip, '::') !== false) {
                $my_ip = substr($my_ip, 0, strpos($my_ip, '::') + 1).str_repeat(':', (7-$count_colons)).substr($my_ip, strpos($my_ip, '::') + 1);
            }
        }
        unset($count_colons);
        $parts = explode(':', $my_ip);
        foreach($parts as &$part) {
            $part = str_pad($part, 4, '0', STR_PAD_LEFT);
        }
        $my_ip = strtolower(implode(':', $parts));
        unset($parts);
        // abgleich mit unserer "Maske"
        if (!isset($str_ipv6_ranges))
            $str_ipv6_ranges = '2a00:1398';
        // if (substr($my_ip, 0, strlen($str_ipv6_ranges)) == $str_ipv6_ranges) $in_ip_range = true;
        $ip_ranges = explode(' ', $str_ipv6_ranges);
        foreach ($ip_ranges as $ip_range) {
            if (trim($ip_range) != '') {
                if (strpos($ip_range, '/') !== false) {
                    $ip_range = rtrim(substr($ip_range, 0, strpos($ip_range, '/')), ':');
                }
                if (substr($my_ip, 0, strlen($ip_range)) == $ip_range) $in_ip_range = true;
            }
        }
        if (!isset($str_ipv6_ranges_deny))
            $str_ipv6_ranges_deny = '';
        $ip_ranges_deny = explode(' ', $str_ipv6_ranges_deny);
        foreach ($ip_ranges_deny as $ip_range_deny) {
            if (trim($ip_range_deny) != '') {
                if (strpos($ip_range_deny, '/') !== false) {
                    $ip_range_deny = rtrim(substr($ip_range_deny, 0, strpos($ip_range_deny, '/')), ':');
                }
                echo $ip_range_deny;
                if (substr($my_ip, 0, strlen($ip_range_deny)) == $ip_range_deny) $in_ip_range = false;
            }
        }
    }
    else { // IPV4
        function tobin($ip) {
            $length = 32;
            $result = '';
            if (strpos($ip, '/') !== false) {
                $length = intval(substr($ip, strpos($ip, '/') + 1));
                $ip = substr($ip, 0, strpos($ip, '/'));
            }
            $parts = explode('.', $ip);
            foreach ($parts as $part) {
                $i_part = intval($part);
                $compare = 128;
                for ($i=0; $i<8; $i++) {
                    $result .= (($i_part & $compare) == $compare) ? '1':'0';
                    $compare = $compare / 2;
                }
            }
            return substr($result, 0, $length);
        }
        $my_ip_bin = tobin($my_ip);
        $in_ip_range = false;
    
        if (!isset($str_ip_ranges))
            $str_ip_ranges = '127.0.0.1/32 129.13.0.0/16 141.3.0.0/16 141.52.0.0/16 193.196.32.0/20 193.196.52.0/22 193.196.56.0/21 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16';
        $ip_ranges = explode(' ', $str_ip_ranges);
        $countadresses = count($ip_ranges);
        for ($i=0; $i<$countadresses; $i++) {
            $ip_ranges[$i] = trim($ip_ranges[$i]);
            if ($ip_ranges[$i] == '') unset($ip_ranges[$i]);
        }
        $ip_ranges = array_values($ip_ranges);
        foreach ($ip_ranges as $ip_range) {
            $ip_range_bin = tobin($ip_range);
            if (strlen($ip_range_bin)>0)
                if (substr($my_ip_bin, 0, strlen($ip_range_bin)) === $ip_range_bin) $in_ip_range = true;
        }

        if (!isset($str_ip_ranges_deny))
            $str_ip_ranges_deny = '141.52.175.0/24';
        $ip_ranges_deny = explode(' ', $str_ip_ranges_deny);
        $countadresses = count($ip_ranges_deny);
        for ($i=0; $i<$countadresses; $i++) {
            $ip_ranges_deny[$i] = trim($ip_ranges_deny[$i]);
            if ($ip_ranges_deny[$i] == '') unset($ip_ranges_deny[$i]);
        }
        $ip_ranges_deny = array_values($ip_ranges_deny);
        foreach ($ip_ranges_deny as $ip_range_deny) {
            $ip_range_deny_bin = tobin($ip_range_deny);
            if (strlen($ip_range_deny_bin)>0)
                if (substr($my_ip_bin, 0, strlen($ip_range_deny_bin)) === $ip_range_deny_bin) $in_ip_range = false;
        }
    }
// ggfs. komplette restliche Ausgabe verhindern und 403 ausgeben.
    if ((!$in_ip_range) && (function_exists('intranet_only'))) {
        if (intranet_only()) {
            header($_SERVER['SERVER_PROTOCOL'].' 403 Forbidden');
            header('Location: ');
            exit();
        }
    }
    
    
/* INTRANET - INTERNET - Prüfung anhand der IP - ENDE */

    // Hier alles was mit Sessions zu tun hat eintragen.
    // KEINE AUSGABE!

    $level = error_reporting(0);
    if (strtolower(substr($_SERVER['SERVER_NAME'], 0, 5)) == 'stage') error_reporting($level);
    session_start();

 // E-Mails umschreiben usw.
    include_once('email.inc.php');

// Ausgabepuffer starten für Event-Kalender um nachträglich ein header 404 senden zu können für abgelaufene Events
	if ((isset($_SERVER['PATH_INFO'])) && ((substr($_SERVER['PATH_INFO'], 0, 7) == '/event/') || (substr($_SERVER['PATH_INFO'], 0, 10) == '/register/') || (substr($_SERVER['PATH_INFO'], 0, 10) == '/reminder/'))) {
		$event_buffer_started = true;
		ob_start();
	}
?><!DOCTYPE html>
<html class="no-js" lang="de-de">
<?php $timings['start_html'] = microtime(true); ?>

    <?php echo '<he'.'ad> <!-- PageID 2095 -->'; $show_container_inhalt = ''; ?>
<?php $timings['start_html_HTML_Header'] = microtime(true); ?>
        <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#009682">
<link rel="search" type="application/opensearchdescription+xml" href="https://www.kit.edu/opensearch.xml" title="KIT Search" />

<link rel="stylesheet" href="https://static.scc.kit.edu/fancybox/dist/jquery.fancybox.min.css" />
<link rel="stylesheet" href="https://static.scc.kit.edu/kit-2020/fontawesome/css/all.min.css">

<link rel="stylesheet" type="text/css" href="/style_wiwi.css" />

<link rel="stylesheet" type="text/css" href="<?php
    $filename_php =<<<'NOWDOC_FILE'
/7.php
NOWDOC_FILE;
    $filename_php = trim($filename_php);
    $filename_cache = $filename_php.'.css';
    if ((file_exists($_SERVER['DOCUMENT_ROOT'].$filename_cache)) && (filemtime($_SERVER['DOCUMENT_ROOT'].$filename_cache) >= filemtime($_SERVER['DOCUMENT_ROOT'].$filename_php))) {
        echo $filename_cache;
    }
    else {
        echo $filename_php;
    }
    unset($filename_php);
    unset($filename_cache);
?>">
            







<?php
    unset($url);
    unset($code);
    $url[] = '/ps_ankuendigung.php';
    $url[] = '/english/ps_ankuendigung.php';
    $url[] = '/ps_ankuendigung.php';
    $url[] = '/ps_ankuendigung.php';
    $code[] = 'de-DE';
    $code[] = 'en-US';
    $code[] = 'fr-FR';
    $code[] = 'es-ES';
    $finds = array();
    foreach ($url as $key => $tmp) {
        if ($tmp != '') {
            if (!in_array($url[$key], $finds)) {
                $finds[] = $url[$key];
                echo '<link rel="alternate" href="'.$url[$key].'" hreflang="'.$code[$key].'">'."\n";
            }
        }
    }
    unset($url);
    unset($code);
    unset($finds);
?>
<meta name="author" content="<?php if (function_exists('show_change_author')) echo show_change_author() ?>" />
<meta name="DC.Creator" content="<?php if (function_exists('show_change_author')) echo show_change_author() ?>" />
<meta name="DC.Date" content="<?php if (function_exists('show_change_date')) echo show_change_date() ?>" />
<meta name="DC.Publisher" content="<?php if (function_exists('show_change_author')) echo show_change_author() ?>" />
<meta name="DC.Contributor" content="<?php if (function_exists('show_change_author')) echo show_change_author() ?>" />
<meta name="DC.Identifier" content="" />
<meta name="DC.Language" content="de-de" />
<meta name="DC.Relation" content="" />
<meta name="DC.Type" content="Text" />
<meta name="DC.Format" content="text/html" />
<meta name="DC.Coverage" content="KIT" />
<meta name="DC.Rights" content="Alle Rechte liegen beim Autor siehe Impressum" />

    <meta name="description" content="<?php if (function_exists('show_meta_description')) echo show_meta_description() ?>" />
    <meta name="Keywords" content="<?php if (function_exists('show_meta_keywords')) echo show_meta_keywords() ?>" />
    <!-- <meta http-equiv="cleartype" content="on" /> -->
    

<?php 
// ggfs. Suchseite für Robots sperren
    if (function_exists('meta_robots_settings')) echo '<meta name="ROBOTS" content="'.meta_robots_settings().'" />'."\n";

// kennzeichnen, ob Seite eine intern oder extern sichtbare Seite ist
//    if ((!$in_ip_range) && (function_exists('intranet_only'))) { // MP 2013-07-04
    if (function_exists('intranet_only')) {
        if (intranet_only()) {
            echo '<meta name="KIT.visibility" content="internal" />'."\n";
        }
        else {
            echo '<meta name="KIT.visibility" content="external" />'."\n";
        }
    }
    
    $favicon_user = '';
    if (trim($favicon_user) == '') echo '<link rel="shortcut icon" type="image/x-icon" href="/img/intern/favicon.ico" />'."\n";
    else echo '<link rel="shortcut icon" type="image/x-icon" href="" />'."\n";
?>










<script src="https://static.scc.kit.edu/kit-2020/js/legacy-compat.js"></script>
<script src="https://static.scc.kit.edu/kit-2020/js/jquery-3.4.1.min.js"></script>
<script src="https://static.scc.kit.edu/kit-2020/js/main.js"></script>
<script src="https://static.scc.kit.edu/kit-2020/js/kit.js"></script>
<script src="https://static.scc.kit.edu/fancybox/dist/jquery.fancybox.min.js"></script>


    <base target="_top" />
    <script src="/960.js"></script>








 
<?php $timings['end_html_HTML_Header'] = microtime(true); ?>
        
<?php $timings['end_html_HTML_Header_Text'] = microtime(true); ?>
        <script>document.documentElement.classList.remove('no-js');</script>
        <meta name="projguid" content="140AF4128F194B9FA27CFF9FE5B47878" />
        <meta name="pageguid" content="24C01E21178C42C6867495385C08B870" />
        <meta name="is_public" content="<?php
            if (function_exists('intranet_only') && intranet_only()) echo 'false';
            else echo 'true';
        ?>" />
        <?php
            if (('' == 'enabled') || (('' == '') && ($RenderTag_show_feedback == 'enabled'))) echo '<meta name="feedback" content="enabled">';
        ?>
        
        
        <?php
        	// in welchem Teilbaum befinde ich mich?
        	function navigation_walktree_find_my_root($struct, $guid, $root, $is_root_level, &$path) {
				global $my_page_ishidden;
        		$result = false;
        		foreach ($struct as $key => $substruct) {
        			if ($is_root_level) $root = $key;
        			if ($guid == $substruct['guid']) {
						$my_page_ishidden = $substruct['ishidden'];
        				array_push($path, $key);
        				return $root;
        			}
        			else {
        				if ((is_array($substruct['pages'])) && (count($substruct['pages']) > 0)) {
        					array_push($path, $key);
        					$ret = navigation_walktree_find_my_root($substruct['pages'], $guid, $root, false, $path);
        					if ($ret !== false) return $ret;
        					else array_pop($path);
        				}
        			}
        		}
        		return $result;
        	}
        	// Navigation ausgeben
        	function navigation_walktree_generate_navigation_main($struct, $mark_path, $level, &$path) {
        	    global $root_link, $in_ip_range, $shibboleth_enabled;
        		$result = '<ul class="navigation-l'.$level.'">';
        		foreach ($struct as $key => $substruct) {
					$shibboleth_show_subpage = true;
					if (isset($shibboleth_enabled) && ($shibboleth_enabled == 'true')) {
						$shibboleth_show_subpage = false;
						if ((in_array('MA', explode(';', $substruct['shibboleth_targetgroup']))) && (in_array('employee@kit.edu', explode(';', $_SERVER['affiliation'])))) {
							$shibboleth_show_subpage = true;
						}
						else if ((in_array('ST', explode(';', $substruct['shibboleth_targetgroup']))) && (in_array('student@kit.edu', explode(';', $_SERVER['affiliation'])))) {
							$shibboleth_show_subpage = true;
						}
						else if ((in_array('GUP', explode(';', $substruct['shibboleth_targetgroup']))) && (in_array('affiliate@kit.edu', explode(';', $_SERVER['affiliation'])))) {
							$shibboleth_show_subpage = true;
						}
						else if ($substruct['shibboleth_targetgroup'] == '') {
							$shibboleth_show_subpage = true;
						}
					}
        		    if ($shibboleth_show_subpage && strtolower($substruct['ishidden']) != 'true') {if (($substruct['intranetonly'] == 'false') || ($in_ip_range)) {
						
						$visible_submenu = false;
						if (is_array($substruct['pages'])) foreach ($substruct['pages'] as $tmp) {
        					$shibboleth_show_subpage = true;
        					if (isset($shibboleth_enabled) && ($shibboleth_enabled == 'true')) {
        						$shibboleth_show_subpage = false;
        						if ((in_array('MA', explode(';', $tmp['shibboleth_targetgroup']))) && (in_array('employee@kit.edu', explode(';', $_SERVER['affiliation'])))) {
        							$shibboleth_show_subpage = true;
        						}
        						else if ((in_array('ST', explode(';', $tmp['shibboleth_targetgroup']))) && (in_array('student@kit.edu', explode(';', $_SERVER['affiliation'])))) {
        							$shibboleth_show_subpage = true;
        						}
        						else if ((in_array('GUP', explode(';', $tmp['shibboleth_targetgroup']))) && (in_array('affiliate@kit.edu', explode(';', $_SERVER['affiliation'])))) {
        							$shibboleth_show_subpage = true;
        						}
        						else if ($tmp['shibboleth_targetgroup'] == '') {
        							$shibboleth_show_subpage = true;
        						}
        					}
							if ($shibboleth_show_subpage && $tmp['ishidden'] != 'true') $visible_submenu = true;
						}
						
        			    $result .= '<li class="';
        			    if ($visible_submenu) {
            			    if ((is_array($substruct['pages'])) && (count($substruct['pages']) == 1) && ($level == 1)) $result .= 'single ';
            			    if ((is_array($substruct['pages'])) && (count($substruct['pages']) > 1) && ($level == 1)) $result .= 'flyout ';
            			    if ((is_array($substruct['pages'])) && (count($substruct['pages']) > 0) && ($level > 1)) $result .= 'has-submenu ';
        			    }
        			    if (in_array($key, $mark_path)) $result .= 'active ';
        			    $result .= '">';
        
        				$result .= '<'.'a href="'.$substruct['url'];
        				if ($substruct['anker'] != '') {
        					if (substr($substruct['anker'], 0, 1) != '#') $result .= '#';
        					$result .= $substruct['anker'];
        				}
        				$result .= '"';
        				if ($substruct['target'] != '') $result .= ' target="'.$substruct['target'].'"';
        				if ($level == 2) $result .= ' class="link"';
        				$result .= '>';
        				
        				$result .= $substruct['headline'];
        				
        				$result .= '</a>';
        			    if ((is_array($substruct['pages'])) && (count($substruct['pages']) > 0) && $visible_submenu) {
        				    $result .= '<div class="';
            				if ($level == 1) $result .= 'dropdown';
            				else $result .= 'submenu';
            				if (in_array($key, $mark_path)) $result .= ' current';
            				$result .= '">';
            
            				$result .= '<ul class="navigation-breadcrumb">';
            				$result .= '<li class="home">';
            				$result .= '<button><span>Start</span></button>';
            				$result .= '</li>';
            				foreach ($path as $pathname) {
            					$result .= '<li><button>'.$pathname.'</button></li>';
            				}
            				$result .= '<li><span>'.$substruct['headline'].'</span></li>';
            				$result .= '</ul>';
            				$result .= '<'.'a class="parent" href="'.$substruct['url'].'">';
            				
            				$result .= $substruct['headline'];
            				
            				$result .= '</a>';
            
            				array_push($path, $substruct['headline']);
            				$result .= navigation_walktree_generate_navigation_main($substruct['pages'], $mark_path, ($level + 1), $path);
            				array_pop($path);
            				$result .= '</div>';
            			}
            			
            			$result .= '</li>';
        			}}
        		}
        		if ($level == 1) {
        		    /*
        		    $link_home =<<<'NOWDOC'
/index.php
NOWDOC;
                    */
        		    $result .= '<li class="home"><a href="'.trim($root_link).'" title="Startseite"><span>Startseite</span></a></li>';
        		}
        		$result .= '</ul>';
        		return $result;
        	}
        	// Breadcrumb 
            function navigation_walktree_generate_breadcrumb($struct, $path, &$breadcrumb) {
                global $in_ip_range;
        		foreach ($struct as $key => $substruct) {
        		    
        			if ((in_array($key, $path)) && ($substruct['ishidden'] != 'true')) {if (($substruct['intranetonly'] == 'false') || ($in_ip_range)) {
        				$subpages = array();
        				if (is_array($substruct['pages'])) foreach ($substruct['pages'] as $page) {


    					    $subpages[] = array('headline' => $page['headline'], 'url' => $page['url'], 'anker' => $page['anker'], 'target' => $page['target'], 'ishidden' => $page['ishidden'], 'intranetonly' => $page['intranetonly'], 'shibboleth_targetgroup' => $page['shibboleth_targetgroup']);

                        }
        				$breadcrumb[] = array('headline' => $substruct['headline'], 'url' => $substruct['url'], 'anker' => $substruct['anker'], 'target' => $substruct['target'], 'ishidden' => $substruct['ishidden'], 'intranetonly' => $substruct['intranetonly'], 'shibboleth_targetgroup' => $substruct['shibboleth_targetgroup'], 'subpages' => $subpages);
        				if (is_array($substruct['pages'])) navigation_walktree_generate_breadcrumb($substruct['pages'], $path, $breadcrumb);
        			}}
        			
        		}
        	}
        ?>
        
        <?php
        				/* Page published */
                        if (strpos('/10.json', '//') === false)
                            $json = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/10.json');
						else
                            $json = file_get_contents('/10.json');
        			?>
        <?php
			$special_include = '/10.json.php';
			$special_include = substr($special_include, strrpos($special_include, '/') + 1);
			if (file_exists($special_include)) {
				include_once($special_include);
			}

            $json_decoded = json_decode($json, true);
            $my_page_guid = '24C01E21178C42C6867495385C08B870';

        	$my_path = array();
			$my_page_ishidden = false;
        	navigation_walktree_find_my_root($json_decoded, $my_page_guid, '', true, $my_path);

        	$navigation_breadcrumb = array();
        	navigation_walktree_generate_breadcrumb($json_decoded, $my_path, $navigation_breadcrumb);
        	$root_link = $navigation_breadcrumb[0]['url'];

    		$title_array = array();
        	foreach ($navigation_breadcrumb as $struct) {
        		$title_array[] = $struct['headline'];
        	}
        	array_shift($title_array);
        ?>
        <?php
            
            if ($RenderTag_Title_Prefix != '') {
                $page_title = $RenderTag_Title_Prefix;
            }
            else {
                $page_title =<<<'NOWDOC'
wiwi-
NOWDOC;
            }
			if (substr($page_title, -1) != ' ') $page_title .= ' ';
			if ('140AF4128F194B9FA27CFF9FE5B47878' != 'BC0F55D85FDD40088267D5879AC11A3E') {
			    if ($page_title == 'KIT - ') $page_title .= $RenderTag_Name_Einrichtung.' - ';
			    if ($page_title == 'KIT -  - ') $page_title = 'KIT - ';
			}
            $ueberschrift =<<<'HEREDOCUEBERSCHRIFT'
Ankündigung
HEREDOCUEBERSCHRIFT;
            if (count($title_array) > 0) {
				$page_title .= implode(' - ', $title_array);
				if ($my_page_ishidden == 'true') $page_title .= ' - '.$ueberschrift;
			}
            else $page_title .= str_replace('"', '\'', strip_tags($ueberschrift));
            if (function_exists('get_container_name_for_breadcrumb')) {
                if (trim(get_container_name_for_breadcrumb()) != '') $page_title .= ' - '.get_container_name_for_breadcrumb();
            }
            $page_title = htmlspecialchars(trim(html_entity_decode($page_title), " \t\n\r\0\x0B-"));

            if ((count($my_path) == 0) && ("false" != "true")) {
				echo '<meta name="robots" content="noindex">';
				$page_title = '';
			}

            echo '<meta name="DC.Title" content="'.$page_title.'" />';
            echo '<title>'.$page_title.'</title>';
        ?>
        
        
    </head>
<?php $timings['start_body'] = microtime(true); ?>
    <body <?php
    if ($is_KIT_HOMEPAGE_PROJECT != 'true') echo ' class="oe-page"';
    if (('' == 'enabled') || (('' == '') && ($RenderTag_show_feedback == 'enabled'))) echo ' data-feedback="true"';
?> vocab="http://schema.org/" typeof="WebPage">
        
        

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        <header class="page-header">
            <div class="content-wrap">
            
                <div class="logo"><a href="https://www.kit.edu" title="KIT-Homepage"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 196.18 90.32" width="196.18px" height="90.32px" x="0px" y="0px" role="img" aria-labelledby="kit-logo-alt-title">
  <title id="kit-logo-alt-title">KIT - Karlsruher Institut für Technologie</title>
<defs>
<style>.cls-1,.cls-2,.cls-3{fill-rule:evenodd;}.cls-2{fill:#fff;}.cls-3{fill:#009682;}</style></defs>
<path class="cls-1" d="M195.75.47h-46.3V16.23H163V70.59h19.22V16.23h13.54V.47ZM144.84,70.52H125.62V.47h19.22V70.52Zm-22.46,0H101L75.58,43.23V27.61L100.2.39h22L93.87,35.67l28.51,34.85Z" transform="translate(0 -0.39)"></path>
<polygon class="cls-2" points="70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13"></polygon>
<polygon class="cls-2" points="70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13"></polygon>
<path class="cls-3" d="M16.18,26.1A68.63,68.63,0,0,0,6.89,40.71L71,70.52,16.18,26.1Z" transform="translate(0 -0.39)"></path>
<path class="cls-3" d="M71,70.52,41.09,7A69.32,69.32,0,0,0,26.4,16L71,70.52Z" transform="translate(0 -0.39)"></path>
<path class="cls-1" d="M71,70.52,71,.47h-.58a70.22,70.22,0,0,0-16.55,2L71,70.52Z" transform="translate(0 -0.39)"></path>
<polygon class="cls-2" points="70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13"></polygon>
<polygon class="cls-2" points="70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13 70.97 70.13"></polygon>
<path class="cls-3" d="M2.28,53.38A70.75,70.75,0,0,0,.05,70.52H71L2.28,53.38Z" transform="translate(0 -0.39)"></path>

<g class="logo-text">

<polygon points="0 87.54 1.25 87.54 1.25 83.28 5.13 87.54 6.95 87.54 2.53 82.95 6.63 78.83 4.97 78.83 1.25 82.67 1.25 78.83 0 78.83 0 87.54 0 87.54"></polygon>
<path d="M8.44,83A2.47,2.47,0,0,1,9,82.68a2.87,2.87,0,0,1,.64-.23,3,3,0,0,1,.67-.08,1.88,1.88,0,0,1,.92.19,1,1,0,0,1,.5.55,2.5,2.5,0,0,1,.15.92H10.61a5.19,5.19,0,0,0-.77.06,4.2,4.2,0,0,0-.79.22,2.55,2.55,0,0,0-.71.38,2.05,2.05,0,0,0-.5.6,2,2,0,0,0-.19.83A2.12,2.12,0,0,0,8,87.23a1.71,1.71,0,0,0,.82.65,3.25,3.25,0,0,0,1.22.21,2.66,2.66,0,0,0,.72-.1,2.2,2.2,0,0,0,.56-.24,2.89,2.89,0,0,0,.42-.32,3.29,3.29,0,0,0,.27-.31h0v.82h1.1a1.47,1.47,0,0,1,0-.25,3.9,3.9,0,0,1,0-.4c0-.16,0-.36,0-.6V84.06a3.5,3.5,0,0,0-.26-1.46,1.78,1.78,0,0,0-.83-.88,3.09,3.09,0,0,0-1.47-.3,4.11,4.11,0,0,0-1.13.17,4.19,4.19,0,0,0-1,.43l.06,1Zm3.42,2.45a1.81,1.81,0,0,1-.2.85,1.57,1.57,0,0,1-.6.6,2,2,0,0,1-1,.22,1.23,1.23,0,0,1-.42-.07,1.5,1.5,0,0,1-.38-.19A1,1,0,0,1,9,86.55a.94.94,0,0,1-.11-.45.88.88,0,0,1,.17-.55,1.22,1.22,0,0,1,.42-.36,2.27,2.27,0,0,1,.57-.2,3.05,3.05,0,0,1,.57-.09,4.36,4.36,0,0,1,.48,0h.37l.38,0v.56Z" transform="translate(0 -0.39)"></path>
<path d="M14.94,87.94h1.18V85a4.09,4.09,0,0,1,.21-1.38,2,2,0,0,1,.6-.89,1.38,1.38,0,0,1,.92-.32,1.77,1.77,0,0,1,.32,0,2,2,0,0,1,.33.09v-1l-.23-.05-.25,0-.29,0a1.76,1.76,0,0,0-.67.15,2,2,0,0,0-.57.4,1.87,1.87,0,0,0-.42.59h0v-1h-1.1v6.37Z" transform="translate(0 -0.39)"></path>
<polygon points="19.87 87.54 21.05 87.54 21.05 78.19 19.87 78.19 19.87 87.54 19.87 87.54"></polygon>
<path d="M22.58,87.74a2.93,2.93,0,0,0,.85.28,5.46,5.46,0,0,0,.9.07,2.87,2.87,0,0,0,.83-.12,2.27,2.27,0,0,0,.71-.36,1.75,1.75,0,0,0,.49-.62,1.91,1.91,0,0,0,.19-.89,1.61,1.61,0,0,0-.15-.73,1.58,1.58,0,0,0-.4-.52,3.29,3.29,0,0,0-.53-.36l-.59-.28a4.54,4.54,0,0,1-.54-.26,1.31,1.31,0,0,1-.39-.34.8.8,0,0,1-.16-.46.71.71,0,0,1,.16-.44.89.89,0,0,1,.41-.25,1.64,1.64,0,0,1,.56-.09l.27,0,.35.07.35.11a1.06,1.06,0,0,1,.26.12l.1-1c-.23-.07-.46-.12-.69-.17a4.66,4.66,0,0,0-.77-.08,2.8,2.8,0,0,0-.88.13,1.91,1.91,0,0,0-.71.36,1.52,1.52,0,0,0-.48.61,2.06,2.06,0,0,0-.17.86,1.34,1.34,0,0,0,.15.66,1.69,1.69,0,0,0,.39.49,5.07,5.07,0,0,0,.54.36l.59.29.54.29a1.62,1.62,0,0,1,.39.33.64.64,0,0,1,.15.43.79.79,0,0,1-.39.71,1.32,1.32,0,0,1-.39.15,1.48,1.48,0,0,1-.41,0,2.58,2.58,0,0,1-.43,0,3.06,3.06,0,0,1-.53-.15,2.59,2.59,0,0,1-.5-.25l-.07,1Z" transform="translate(0 -0.39)"></path>
<path d="M27.9,87.94h1.17V85a4.34,4.34,0,0,1,.22-1.38,1.9,1.9,0,0,1,.6-.89,1.38,1.38,0,0,1,.92-.32,1.77,1.77,0,0,1,.32,0,2,2,0,0,1,.33.09v-1l-.23-.05-.25,0-.3,0a1.76,1.76,0,0,0-.66.15,2.23,2.23,0,0,0-.58.4,2.26,2.26,0,0,0-.42.59h0v-1H27.9v6.37Z" transform="translate(0 -0.39)"></path>
<path d="M38.31,81.57H37.14v3A4.35,4.35,0,0,1,37,85.58a2.31,2.31,0,0,1-.35.83,1.72,1.72,0,0,1-.6.54,1.8,1.8,0,0,1-.87.19,1.31,1.31,0,0,1-.8-.29A1.37,1.37,0,0,1,34,86.1a4.37,4.37,0,0,1-.12-1.23v-3.3H32.68v3.79a3.94,3.94,0,0,0,.25,1.46,1.93,1.93,0,0,0,.79.94,2.5,2.5,0,0,0,1.35.33,2.7,2.7,0,0,0,.85-.14,2.24,2.24,0,0,0,.73-.4,1.76,1.76,0,0,0,.5-.62h0v1h1.13V81.57Z" transform="translate(0 -0.39)"></path>
<path d="M40.23,87.94h1.18V85a4.93,4.93,0,0,1,.11-1.06,2.84,2.84,0,0,1,.35-.83,1.67,1.67,0,0,1,.61-.54,2.06,2.06,0,0,1,.86-.19,1.34,1.34,0,0,1,.81.29,1.44,1.44,0,0,1,.42.75,5.32,5.32,0,0,1,.12,1.23v3.3h1.17V84.16a3.62,3.62,0,0,0-.25-1.47,2,2,0,0,0-.78-.94,2.69,2.69,0,0,0-1.35-.33,2.75,2.75,0,0,0-1.2.28,2.19,2.19,0,0,0-.85.78h0v-3.9H40.23v9.36Z" transform="translate(0 -0.39)"></path>
<path d="M52.67,86.5a2,2,0,0,1-.32.2,3.63,3.63,0,0,1-.48.21,3.41,3.41,0,0,1-.57.16,2.44,2.44,0,0,1-.59.07,2.15,2.15,0,0,1-.8-.15,2.29,2.29,0,0,1-.67-.44,2.1,2.1,0,0,1-.46-.67,2.2,2.2,0,0,1-.17-.86h4.54A5.88,5.88,0,0,0,53,83.59a3.41,3.41,0,0,0-.46-1.14,2.26,2.26,0,0,0-.87-.75,3.11,3.11,0,0,0-1.33-.28,3.21,3.21,0,0,0-1.23.24,2.74,2.74,0,0,0-.94.67,2.87,2.87,0,0,0-.6,1,4.05,4.05,0,0,0-.22,1.29,4.87,4.87,0,0,0,.2,1.42,2.85,2.85,0,0,0,.6,1.08,2.59,2.59,0,0,0,1,.7,3.87,3.87,0,0,0,1.47.25,5.64,5.64,0,0,0,.89-.07,5.74,5.74,0,0,0,.63-.16l.49-.18V86.5Zm-4.06-2.36a2.9,2.9,0,0,1,.14-.62,2,2,0,0,1,.32-.57,1.51,1.51,0,0,1,.51-.42,1.84,1.84,0,0,1,.74-.16,1.74,1.74,0,0,1,.67.14,1.36,1.36,0,0,1,.5.38,1.57,1.57,0,0,1,.31.57,2.15,2.15,0,0,1,.11.68Z" transform="translate(0 -0.39)"></path>
<path d="M54.65,87.94h1.18V85A4.09,4.09,0,0,1,56,83.66a2,2,0,0,1,.61-.89,1.33,1.33,0,0,1,.91-.32,1.77,1.77,0,0,1,.32,0,2,2,0,0,1,.33.09v-1L58,81.46l-.24,0-.3,0a1.76,1.76,0,0,0-.67.15,2,2,0,0,0-.57.4,1.87,1.87,0,0,0-.42.59h0v-1h-1.1v6.37Z" transform="translate(0 -0.39)"></path>
<polygon points="63.02 87.54 64.26 87.54 64.26 78.83 63.02 78.83 63.02 87.54 63.02 87.54"></polygon>
<path d="M66.3,87.94h1.17V85a4.35,4.35,0,0,1,.12-1.06,2.39,2.39,0,0,1,.35-.83,1.72,1.72,0,0,1,.6-.54,2.14,2.14,0,0,1,.87-.19,1.28,1.28,0,0,1,.8.29,1.37,1.37,0,0,1,.42.75,4.78,4.78,0,0,1,.13,1.23v3.3h1.17V84.16a3.8,3.8,0,0,0-.25-1.47,2,2,0,0,0-.78-.94,2.76,2.76,0,0,0-1.36-.33,2.7,2.7,0,0,0-.85.14A2.58,2.58,0,0,0,68,82a1.88,1.88,0,0,0-.5.62h0v-1H66.3v6.37Z" transform="translate(0 -0.39)"></path>
<path d="M73.32,87.74a2.83,2.83,0,0,0,.85.28,5.26,5.26,0,0,0,.89.07,2.82,2.82,0,0,0,.83-.12,2.27,2.27,0,0,0,.71-.36,1.9,1.9,0,0,0,.5-.62,2,2,0,0,0,.18-.89,1.61,1.61,0,0,0-.15-.73,1.69,1.69,0,0,0-.39-.52,3.38,3.38,0,0,0-.54-.36l-.59-.28c-.19-.08-.37-.17-.54-.26a1.45,1.45,0,0,1-.39-.34.73.73,0,0,1-.15-.46.65.65,0,0,1,.15-.44,1,1,0,0,1,.41-.25,1.69,1.69,0,0,1,.56-.09l.27,0,.35.07a2.89,2.89,0,0,1,.35.11,1.14,1.14,0,0,1,.27.12l.1-1c-.23-.07-.47-.12-.7-.17a4.55,4.55,0,0,0-.77-.08,2.8,2.8,0,0,0-.88.13,1.91,1.91,0,0,0-.71.36,1.72,1.72,0,0,0-.48.61,2.06,2.06,0,0,0-.17.86,1.34,1.34,0,0,0,.15.66,1.57,1.57,0,0,0,.4.49,4.1,4.1,0,0,0,.53.36l.59.29c.2.1.38.19.54.29a1.44,1.44,0,0,1,.39.33.71.71,0,0,1,.16.43.83.83,0,0,1-.12.43.75.75,0,0,1-.28.28,1.32,1.32,0,0,1-.39.15,1.48,1.48,0,0,1-.41,0,2.58,2.58,0,0,1-.43,0,2.74,2.74,0,0,1-.52-.15,3,3,0,0,1-.51-.25l-.06,1Z" transform="translate(0 -0.39)"></path>
<path d="M82,81.57H80.33V79.73l-1.17.37v1.47H77.72v1h1.44v3.72a2.07,2.07,0,0,0,.24,1.05,1.45,1.45,0,0,0,.67.6,2.55,2.55,0,0,0,1.05.2,2.35,2.35,0,0,0,.54-.06l.46-.12v-1a1.7,1.7,0,0,1-.33.15,1.37,1.37,0,0,1-.47.07,1,1,0,0,1-.5-.13.92.92,0,0,1-.35-.38,1.33,1.33,0,0,1-.14-.63V82.52H82v-1Z" transform="translate(0 -0.39)"></path>
<path d="M83.57,87.94h1.17V81.57H83.57v6.37Zm1.24-9.11H83.49v1.32h1.32V78.83Z" transform="translate(0 -0.39)"></path>
<path d="M90.19,81.57H88.51V79.73l-1.17.37v1.47H85.9v1h1.44v3.72a2.07,2.07,0,0,0,.24,1.05,1.4,1.4,0,0,0,.67.6,2.55,2.55,0,0,0,1,.2,2.42,2.42,0,0,0,.54-.06l.45-.12v-1a1.43,1.43,0,0,1-.79.22A.93.93,0,0,1,89,87a.86.86,0,0,1-.35-.38,1.33,1.33,0,0,1-.14-.63V82.52h1.68v-1Z" transform="translate(0 -0.39)"></path>
<path d="M97.22,81.57H96.05v3a4.35,4.35,0,0,1-.12,1.06,2.31,2.31,0,0,1-.35.83A1.72,1.72,0,0,1,95,87a1.8,1.8,0,0,1-.87.19,1.33,1.33,0,0,1-.8-.29,1.37,1.37,0,0,1-.42-.75,4.37,4.37,0,0,1-.12-1.23v-3.3H91.59v3.79a3.94,3.94,0,0,0,.25,1.46,2,2,0,0,0,.79.94,2.5,2.5,0,0,0,1.35.33,2.7,2.7,0,0,0,.85-.14,2.24,2.24,0,0,0,.73-.4,1.76,1.76,0,0,0,.5-.62h0v1h1.13V81.57Z" transform="translate(0 -0.39)"></path>
<path d="M102.53,81.57h-1.69V79.73l-1.17.37v1.47H98.23v1h1.44v3.72a2.07,2.07,0,0,0,.24,1.05,1.45,1.45,0,0,0,.67.6,2.59,2.59,0,0,0,1,.2,2.35,2.35,0,0,0,.54-.06l.46-.12v-1a1.7,1.7,0,0,1-.33.15,1.33,1.33,0,0,1-.47.07,1,1,0,0,1-.5-.13,1,1,0,0,1-.35-.38,1.33,1.33,0,0,1-.14-.63V82.52h1.69v-1Z" transform="translate(0 -0.39)"></path>
<path d="M108.16,87.94h1.17V82.52H111v-1h-1.69v-.68a3.7,3.7,0,0,1,0-.6,1.23,1.23,0,0,1,.15-.48.81.81,0,0,1,.34-.32,1.48,1.48,0,0,1,.61-.11h.3l.26.06,0-1-.37,0-.42,0a2.69,2.69,0,0,0-1.06.18,1.49,1.49,0,0,0-.66.52,2.13,2.13,0,0,0-.32.8,5,5,0,0,0-.09,1.06v.58h-1.5v1h1.5v5.42Z" transform="translate(0 -0.39)"></path>
<path d="M113.39,80.6h1.17V79.35h-1.17V80.6Zm2,0h1.17V79.35h-1.17V80.6Zm2.37,1h-1.18v3a4.37,4.37,0,0,1-.11,1.06,2.5,2.5,0,0,1-.35.83,1.67,1.67,0,0,1-.61.54,1.79,1.79,0,0,1-.86.19,1.34,1.34,0,0,1-.81-.29,1.51,1.51,0,0,1-.42-.75,5.26,5.26,0,0,1-.12-1.23v-3.3h-1.17v3.79a3.75,3.75,0,0,0,.25,1.46,2,2,0,0,0,.78.94,2.5,2.5,0,0,0,1.35.33,2.72,2.72,0,0,0,.86-.14,2.47,2.47,0,0,0,.73-.4,1.88,1.88,0,0,0,.5-.62h0v1h1.14V81.57Z" transform="translate(0 -0.39)"></path>
<path d="M119.73,87.94h1.17V85a4.34,4.34,0,0,1,.22-1.38,1.9,1.9,0,0,1,.6-.89,1.38,1.38,0,0,1,.92-.32,1.77,1.77,0,0,1,.32,0,2,2,0,0,1,.33.09v-1l-.24-.05-.24,0-.3,0a1.76,1.76,0,0,0-.66.15,2.23,2.23,0,0,0-.58.4,2.26,2.26,0,0,0-.42.59h0v-1h-1.1v6.37Z" transform="translate(0 -0.39)"></path>
<polygon points="129.83 87.54 131.08 87.54 131.08 79.93 133.78 79.93 133.78 78.83 127.12 78.83 127.12 79.93 129.83 79.93 129.83 87.54 129.83 87.54"></polygon>
<path d="M138.8,86.5a1.52,1.52,0,0,1-.31.2,3.63,3.63,0,0,1-.48.21,3.41,3.41,0,0,1-.57.16,2.46,2.46,0,0,1-.6.07,2.09,2.09,0,0,1-.79-.15,2.16,2.16,0,0,1-.67-.44,2,2,0,0,1-.46-.67,2.2,2.2,0,0,1-.17-.86h4.54a7.08,7.08,0,0,0-.14-1.43,3.23,3.23,0,0,0-.47-1.14,2.23,2.23,0,0,0-.86-.75,3.13,3.13,0,0,0-1.34-.28,3.16,3.16,0,0,0-1.22.24,2.65,2.65,0,0,0-.94.67,2.75,2.75,0,0,0-.61,1,3.79,3.79,0,0,0-.21,1.29,4.56,4.56,0,0,0,.2,1.42,2.85,2.85,0,0,0,.6,1.08,2.52,2.52,0,0,0,1,.7,3.81,3.81,0,0,0,1.46.25,4.67,4.67,0,0,0,1.53-.23l.48-.18V86.5Zm-4.05-2.36a2.9,2.9,0,0,1,.14-.62,1.78,1.78,0,0,1,.32-.57,1.51,1.51,0,0,1,.51-.42,1.8,1.8,0,0,1,.74-.16,1.74,1.74,0,0,1,.67.14,1.45,1.45,0,0,1,.5.38,1.74,1.74,0,0,1,.31.57,2.15,2.15,0,0,1,.1.68Z" transform="translate(0 -0.39)"></path>
<path d="M144.93,81.67l-.41-.12a4,4,0,0,0-.5-.09,4.75,4.75,0,0,0-.51,0,3.75,3.75,0,0,0-1.33.25,3.06,3.06,0,0,0-1,.69,3,3,0,0,0-.66,1.06,3.59,3.59,0,0,0-.23,1.34,3.73,3.73,0,0,0,.23,1.29,3.2,3.2,0,0,0,.67,1,3.05,3.05,0,0,0,1,.72,3.35,3.35,0,0,0,1.32.27l.46,0a3,3,0,0,0,.51-.08,2.24,2.24,0,0,0,.5-.16l-.08-1a3,3,0,0,1-.4.2,3.6,3.6,0,0,1-.44.12,2.15,2.15,0,0,1-.43,0,2.24,2.24,0,0,1-.8-.14,1.69,1.69,0,0,1-.59-.37,1.93,1.93,0,0,1-.41-.54,2.54,2.54,0,0,1-.24-.65,3.23,3.23,0,0,1-.08-.68,2.91,2.91,0,0,1,.14-.89,2.41,2.41,0,0,1,.4-.76,1.87,1.87,0,0,1,.64-.54,2,2,0,0,1,.87-.2,2.72,2.72,0,0,1,.61.07,2.81,2.81,0,0,1,.66.21l.1-1Z" transform="translate(0 -0.39)"></path>
<path d="M146.26,87.94h1.17V85a4.93,4.93,0,0,1,.11-1.06,2.61,2.61,0,0,1,.36-.83,1.64,1.64,0,0,1,.6-.54,2.07,2.07,0,0,1,.87-.19,1.33,1.33,0,0,1,.8.29,1.37,1.37,0,0,1,.42.75,4.82,4.82,0,0,1,.12,1.23v3.3h1.18V84.16a3.79,3.79,0,0,0-.26-1.47,1.91,1.91,0,0,0-.78-.94,2.8,2.8,0,0,0-2.54,0,2.13,2.13,0,0,0-.85.78h0v-3.9h-1.17v9.36Z" transform="translate(0 -0.39)"></path>
<path d="M153.81,87.94H155V85a4.35,4.35,0,0,1,.12-1.06,2.39,2.39,0,0,1,.35-.83,1.72,1.72,0,0,1,.6-.54,2.1,2.1,0,0,1,.87-.19,1.28,1.28,0,0,1,.8.29,1.37,1.37,0,0,1,.42.75,4.78,4.78,0,0,1,.13,1.23v3.3h1.17V84.16a3.8,3.8,0,0,0-.25-1.47,1.93,1.93,0,0,0-.79-.94,2.82,2.82,0,0,0-2.2-.19,2.58,2.58,0,0,0-.73.4,1.88,1.88,0,0,0-.5.62h0v-1h-1.14v6.37Z" transform="translate(0 -0.39)"></path>
<path d="M160.94,84.76a3.73,3.73,0,0,0,.23,1.29,3.2,3.2,0,0,0,.67,1,3.05,3.05,0,0,0,1,.72,3.35,3.35,0,0,0,1.32.27,3.26,3.26,0,0,0,1.31-.27,2.86,2.86,0,0,0,1-.72,3.2,3.2,0,0,0,.67-1,4,4,0,0,0,.24-1.29,3.8,3.8,0,0,0-.24-1.34,3.09,3.09,0,0,0-.65-1.06,3.21,3.21,0,0,0-1-.69,3.65,3.65,0,0,0-1.32-.25,3.75,3.75,0,0,0-1.33.25,3.28,3.28,0,0,0-1,.69,3.12,3.12,0,0,0-.66,1.06,3.8,3.8,0,0,0-.23,1.34Zm1.25,0a2.9,2.9,0,0,1,.13-.89,2.6,2.6,0,0,1,.39-.76,1.8,1.8,0,0,1,1.47-.74,1.89,1.89,0,0,1,.84.2,2,2,0,0,1,.62.54,2.6,2.6,0,0,1,.39.76,2.91,2.91,0,0,1,.14.89,3.23,3.23,0,0,1-.08.68,2.52,2.52,0,0,1-.23.65,2.07,2.07,0,0,1-.39.54,1.62,1.62,0,0,1-.55.37,1.91,1.91,0,0,1-.74.14,2,2,0,0,1-.74-.14,1.76,1.76,0,0,1-.56-.37,2.07,2.07,0,0,1-.39-.54,3,3,0,0,1-.23-.65,3.21,3.21,0,0,1-.07-.68Z" transform="translate(0 -0.39)"></path>
<polygon points="169.06 87.54 170.24 87.54 170.24 78.19 169.06 78.19 169.06 87.54 169.06 87.54"></polygon>
<path d="M171.89,84.76a3.73,3.73,0,0,0,.23,1.29,3.2,3.2,0,0,0,.67,1,3.05,3.05,0,0,0,1,.72,3.35,3.35,0,0,0,1.32.27,3.26,3.26,0,0,0,1.31-.27,2.86,2.86,0,0,0,1-.72,3.2,3.2,0,0,0,.67-1,3.73,3.73,0,0,0,.23-1.29,3.59,3.59,0,0,0-.23-1.34,3,3,0,0,0-.66-1.06,3.06,3.06,0,0,0-1-.69,3.65,3.65,0,0,0-1.32-.25,3.75,3.75,0,0,0-1.33.25,3.17,3.17,0,0,0-1,.69,3,3,0,0,0-.66,1.06,3.8,3.8,0,0,0-.23,1.34Zm1.24,0a2.91,2.91,0,0,1,.14-.89,2.6,2.6,0,0,1,.39-.76,1.93,1.93,0,0,1,.63-.54,1.89,1.89,0,0,1,.84-.2,1.93,1.93,0,0,1,.84.2,2,2,0,0,1,.62.54,2.6,2.6,0,0,1,.39.76,2.91,2.91,0,0,1,.14.89,3.23,3.23,0,0,1-.08.68,2.52,2.52,0,0,1-.23.65,2.07,2.07,0,0,1-.39.54,1.62,1.62,0,0,1-.55.37,2,2,0,0,1-1.48,0,1.66,1.66,0,0,1-.56-.37,2.07,2.07,0,0,1-.39-.54,3,3,0,0,1-.23-.65,3.23,3.23,0,0,1-.08-.68Z" transform="translate(0 -0.39)"></path>
<path d="M185.49,81.57h-1.08v1h0a1.85,1.85,0,0,0-.45-.59,1.78,1.78,0,0,0-.68-.37,3.06,3.06,0,0,0-1-.14,2.82,2.82,0,0,0-1,.2,2.69,2.69,0,0,0-.8.52,3,3,0,0,0-.56.77,3.62,3.62,0,0,0-.34.92,4.6,4.6,0,0,0-.11,1,4.16,4.16,0,0,0,.17,1.18,3,3,0,0,0,.51,1,2.4,2.4,0,0,0,.85.69,2.75,2.75,0,0,0,1.19.26,3.09,3.09,0,0,0,.8-.11,2.58,2.58,0,0,0,.74-.33,2.06,2.06,0,0,0,.59-.55h0v.63a2.58,2.58,0,0,1-.24,1.16,1.64,1.64,0,0,1-.67.75,2,2,0,0,1-1.06.27,5.6,5.6,0,0,1-.6,0,5.12,5.12,0,0,1-.54-.1l-.54-.18-.62-.26-.12,1.08a7.74,7.74,0,0,0,.89.27,4.17,4.17,0,0,0,.73.13,4.87,4.87,0,0,0,.66,0,4.24,4.24,0,0,0,1.87-.36,2.3,2.3,0,0,0,1.07-1,3.6,3.6,0,0,0,.34-1.65V81.57Zm-3,5.42a1.5,1.5,0,0,1-.74-.18,1.76,1.76,0,0,1-.56-.49,2.41,2.41,0,0,1-.35-.72,3,3,0,0,1-.12-.86,3,3,0,0,1,.07-.66,2.4,2.4,0,0,1,.21-.64,2.06,2.06,0,0,1,.35-.55,1.7,1.7,0,0,1,.5-.38,1.63,1.63,0,0,1,.64-.14,1.81,1.81,0,0,1,.82.2,1.83,1.83,0,0,1,.58.53,2.45,2.45,0,0,1,.34.79,3.56,3.56,0,0,1,.12.94,2.55,2.55,0,0,1-.14.84,2.31,2.31,0,0,1-.38.69,1.78,1.78,0,0,1-.59.46,1.66,1.66,0,0,1-.75.17Z" transform="translate(0 -0.39)"></path>
<path d="M187.57,87.94h1.17V81.57h-1.17v6.37Zm1.24-9.11h-1.32v1.32h1.32V78.83Z" transform="translate(0 -0.39)"></path>
<path d="M195.69,86.5a1.64,1.64,0,0,1-.32.2,3.13,3.13,0,0,1-.48.21,3.58,3.58,0,0,1-.56.16,2.46,2.46,0,0,1-.6.07,2.09,2.09,0,0,1-.79-.15,2.16,2.16,0,0,1-.67-.44,2,2,0,0,1-.46-.67,2.2,2.2,0,0,1-.17-.86h4.54a7.08,7.08,0,0,0-.14-1.43,3.43,3.43,0,0,0-.47-1.14,2.19,2.19,0,0,0-.87-.75,3.08,3.08,0,0,0-1.33-.28,3.25,3.25,0,0,0-1.23.24,2.7,2.7,0,0,0-.93.67,2.75,2.75,0,0,0-.61,1,3.79,3.79,0,0,0-.21,1.29,4.88,4.88,0,0,0,.19,1.42,3,3,0,0,0,.61,1.08,2.55,2.55,0,0,0,1,.7,3.9,3.9,0,0,0,1.47.25,5.44,5.44,0,0,0,.89-.07,6,6,0,0,0,.64-.16l.48-.18V86.5Zm-4.05-2.36a2.4,2.4,0,0,1,.14-.62,2,2,0,0,1,.31-.57,1.66,1.66,0,0,1,.52-.42,1.8,1.8,0,0,1,.74-.16,1.78,1.78,0,0,1,.67.14,1.45,1.45,0,0,1,.5.38,1.55,1.55,0,0,1,.3.57,2.15,2.15,0,0,1,.11.68Z" transform="translate(0 -0.39)"></path>
</g>
</svg>
 </a></div>
            
            
                <div class="navigation">
                    <button class="burger"><svg class="burger-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 300 274.5" width="300px" height="274.5px">
    <rect class="burger-top" y="214.4" width="300" height="60.1"/>
    <rect class="burger-middle" y="107.2" width="300" height="60.1"/>
    <rect class="burger-bottom" y="0" width="300" height="60.1"/>
</svg></button>
                    <a id="logo_oe_name" href="<?php echo $root_link ?>"><?php
                    echo preg_replace('/<br([^>]*)>/', ' ', $RenderTag_Name_Einrichtung);
                    ?></a>
                    <div class="navigation-meta">
                        <ul class="navigation-meta-links">
                            <li aria-label="Navigation überspringen"><a href="#main_content" class="skip_navigation" tabindex="1" accesskey="2">Navigation überspringen</a></li>

                            <?php $meta_position = 'navigation-meta'; ?>
<?php
    $link =<<<HEREDOC
<a href="/index.php">Home</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>
<?php
    $short_language_mapping = array(
        'deutsch' => 'de',
        'german' => 'de',
        'allemand' => 'de',
        'aleman' => 'de',
        'немецкий' => 'de',
        '德语' => 'de',

        'englisch' => 'en',
        'english' => 'en',
        'anglais' => 'en',
        'ingles' => 'en',
        'английский' => 'en',
        '英语' => 'en',
        
        'französisch' => 'fr',
        'francais' => 'fr',
        'french' => 'fr',
        'frances' => 'fr',
        'французский' => 'fr',
        '法语' => 'fr',
        
        'spanisch' => 'es',
        'spanish' => 'es',
        'espagnol' => 'es',
        'espanol' => 'es',
        'испанский' => 'es',
        '西班牙语' => 'es',
        
        'russisch' => 'ru',
        'russian' => 'ru',
        'russe' => 'ru',
        'ruso' => 'ru',
        'русский' => 'ru',
        '俄语' => 'ru',

        'chinesisch' => 'zh',
        'chinese' => 'zh',
        'chinois' => 'zh',
        'chino' => 'zh',
        'китайский' => 'zh',
        '中國人' => 'zh',
    );
    unset($sprache);
    $sprache[] = 'deutsch';
    $sprache[] = 'english';
    $sprache[] = 'francais';
    $sprache[] = 'espanol';
    $sprache[] = 'русский';
    $sprache[] = '中國人';
    $gewaehlte_sprache = '1';
    $gewaehlte_sprache = intval($gewaehlte_sprache);
    
    // verfügbare Sprachen für Script-Container anbieten
    if (!isset($wsm_languages_available)) $wsm_languages_available = array();
    $wsm_languages_available[] = $gewaehlte_sprache;
    
    if (trim($sprache[$gewaehlte_sprache]) != '') {
        unset($url);
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/english/ps_ankuendigung.php';
        $url[] = '';
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/ps_ankuendigung.php';

        // Links zu anderen Sprachen für Script-Container merken
        $wsm_languages_urls = $url;

        if (isset($short_language_mapping[strtolower($sprache[$gewaehlte_sprache])])) {
            $short = $short_language_mapping[strtolower($sprache[$gewaehlte_sprache])];
        }
        else {
            $short = $sprache[$gewaehlte_sprache];
        }
        if (!isset($navigation_language_switch)) $navigation_language_switch = '';


            $default_url = '';
            $own_language_server = strpos ($url[$gewaehlte_sprache], "://"); //neu
            if ((trim($url[$gewaehlte_sprache]) != '') && (file_exists($_SERVER['DOCUMENT_ROOT'].$url[$gewaehlte_sprache])))  { 
                $navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$url[$gewaehlte_sprache].'">'.$short.'</a></li>'; 
            }
            else if ($default_url != '') {
                $navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$default_url.'">'.$short.'</a></li>'; 
            } else if ($own_language_server !== false) { //neu
				$navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$url[$gewaehlte_sprache].'">'.$short.'</a></li>'; 
			}
            unset($default_url);
            

        unset($url);
    }
    unset($sprache);
?>
<?php
    $link =<<<HEREDOC
<a href="/impressum.php">Impressum</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="/datenschutz.php">Datenschutz</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="https://www.kit.edu/redirect.php?page=barriere&lang=%lang%" target="\#A4636DEABB59442D84DAA4CDE1C05730">Barrierefreiheit</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

                            
                            <li><a href="https://www.kit.edu" title="KIT-Homepage"><span class="svg-icon"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 299.4 295.7" width="299.4px" height="295.7px" role="img"><title></title><polygon points="299.3,295.7 299.3,295.6 299.3,295.6 "/><polygon points="299.3,295.6 299.3,295.6 299.3,295.6 "/><path d="M67.9,108.1c-15.6,18.9-28.8,39.6-39.3,61.7l270.6,125.9L67.9,108.1z"/><path d="M299.2,295.6L173,27.2c-22.2,10.2-43,23.1-62,38.4l188.3,230.1L299.2,295.6z"/><polygon points="299.3,295.6 299.3,295.6 299.3,295.6 299.3,295.5 "/><polygon points="299.3,295.6 299.3,295.6 299.3,295.6 299.3,295.5 "/><path d="M9.3,223.2c-6.1,23.7-9.2,48-9.3,72.5h299.2L9.3,223.2z"/><path d="M299.3,295.6l0.1-295.6c-0.8,0-1.5-0.1-2.2-0.1c-23.6,0-47,2.8-69.9,8.4L299.3,295.6L299.3,295.6z"/></svg></span><span>KIT</span></a></li>
                            
                        </ul>
                        <?php
                            echo '<div class="navigation-language"';
                            if (!isset($navigation_language_switch) || ($navigation_language_switch == '')) echo ' style="display:none"';
                            echo '><ul>'.$navigation_language_switch.'</ul></div>';
                            $suche_link =<<<'NOWDOC'
/search.php
NOWDOC;
                            if (trim($suche_link) != '') {
                                $suche_link = trim($suche_link);
                                
                                if (strpos($suche_link, '//') === false) {
                                    if (substr($suche_link, 0, 1) != '/') $suche_link = '/'.$suche_link;
                                    $suche_link = 'https://'.$_SERVER['HTTP_HOST'].$suche_link;
                                }
                                
                        ?>
                        <div class="navigation-search">
                            <div class="search-form">
                                <form action="<?php echo $suche_link ?>">
                                    <input id="meta_search_input" type="search" name="searchquery" placeholder="suchen" aria-label="suchen" size="1" required="required"/>
                                    <?php if (strtolower($_SERVER['SERVER_NAME']) != 'www.kit.edu') { ?><input name="local_search" type="hidden" value="true"><?php } ?>
                                    <button><span>suchen</span></button>
                                </form>
                            </div><a id="meta_search_label" role="switch" aria-checked="false" class="search-trigger" title="suchen" href="#"><span>suchen</span></a>
                        </div>
                        <?php
                            }
                        ?>
                    </div>
                    <nav class="navigation-main">
                        <?php
                        	$navigation = '';
                        	if (isset($my_path[0])) {
                        		foreach ($json_decoded as $key => $substruct) {
                        			if ($key == $my_path[0]) {
                        				if ((is_array($substruct['pages'])) && (count($substruct['pages']) > 0)) {
                        					$tmp_path = array();
                        					$navigation = navigation_walktree_generate_navigation_main($substruct['pages'], $my_path, 1, $tmp_path);
                        				}
                        			}
                        		}
                        	}
                        	echo $navigation;
                        ?>
                    </nav>
                    <ul class="side-widgets">
                        <?php $meta_position = 'side-widget'; ?>
<?php
    $link =<<<HEREDOC
<a href="/index.php">Home</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>
<?php
    $short_language_mapping = array(
        'deutsch' => 'de',
        'german' => 'de',
        'allemand' => 'de',
        'aleman' => 'de',
        'немецкий' => 'de',
        '德语' => 'de',

        'englisch' => 'en',
        'english' => 'en',
        'anglais' => 'en',
        'ingles' => 'en',
        'английский' => 'en',
        '英语' => 'en',
        
        'französisch' => 'fr',
        'francais' => 'fr',
        'french' => 'fr',
        'frances' => 'fr',
        'французский' => 'fr',
        '法语' => 'fr',
        
        'spanisch' => 'es',
        'spanish' => 'es',
        'espagnol' => 'es',
        'espanol' => 'es',
        'испанский' => 'es',
        '西班牙语' => 'es',
        
        'russisch' => 'ru',
        'russian' => 'ru',
        'russe' => 'ru',
        'ruso' => 'ru',
        'русский' => 'ru',
        '俄语' => 'ru',

        'chinesisch' => 'zh',
        'chinese' => 'zh',
        'chinois' => 'zh',
        'chino' => 'zh',
        'китайский' => 'zh',
        '中國人' => 'zh',
    );
    unset($sprache);
    $sprache[] = 'deutsch';
    $sprache[] = 'english';
    $sprache[] = 'francais';
    $sprache[] = 'espanol';
    $sprache[] = 'русский';
    $sprache[] = '中國人';
    $gewaehlte_sprache = '1';
    $gewaehlte_sprache = intval($gewaehlte_sprache);
    
    // verfügbare Sprachen für Script-Container anbieten
    if (!isset($wsm_languages_available)) $wsm_languages_available = array();
    $wsm_languages_available[] = $gewaehlte_sprache;
    
    if (trim($sprache[$gewaehlte_sprache]) != '') {
        unset($url);
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/english/ps_ankuendigung.php';
        $url[] = '';
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/ps_ankuendigung.php';

        // Links zu anderen Sprachen für Script-Container merken
        $wsm_languages_urls = $url;

        if (isset($short_language_mapping[strtolower($sprache[$gewaehlte_sprache])])) {
            $short = $short_language_mapping[strtolower($sprache[$gewaehlte_sprache])];
        }
        else {
            $short = $sprache[$gewaehlte_sprache];
        }
        if (!isset($navigation_language_switch)) $navigation_language_switch = '';


            $default_url = '';
            $own_language_server = strpos ($url[$gewaehlte_sprache], "://"); //neu
            if ((trim($url[$gewaehlte_sprache]) != '') && (file_exists($_SERVER['DOCUMENT_ROOT'].$url[$gewaehlte_sprache])))  { 
                $navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$url[$gewaehlte_sprache].'">'.$short.'</a></li>'; 
            }
            else if ($default_url != '') {
                $navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$default_url.'">'.$short.'</a></li>'; 
            } else if ($own_language_server !== false) { //neu
				$navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$url[$gewaehlte_sprache].'">'.$short.'</a></li>'; 
			}
            unset($default_url);
            

        unset($url);
    }
    unset($sprache);
?>
<?php
    $link =<<<HEREDOC
<a href="/impressum.php">Impressum</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="/datenschutz.php">Datenschutz</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="https://www.kit.edu/redirect.php?page=barriere&lang=%lang%" target="\#A4636DEABB59442D84DAA4CDE1C05730">Barrierefreiheit</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

                        <?php
                            $suche_link =<<<'NOWDOC'
/search.php
NOWDOC;
                            if (trim($suche_link) != '') {
                                $suche_link = trim($suche_link);
                                
                                if (strpos($suche_link, '//') === false) {
                                    if (substr($suche_link, 0, 1) != '/') $suche_link = '/'.$suche_link;
                                    $suche_link = 'https://'.$_SERVER['HTTP_HOST'].$suche_link;
                                }
                                
                        ?>
                        <li class="search">
                            <a id="side_widget_search_label" title="suchen"><span>suchen</span></a>
                            <div class="search-form">
                                <form action="<?php echo $suche_link ?>">
                                    <input id="side_widget_search_input" type="search" name="searchquery" placeholder="suchen" aria-label="suchen" size="1" required="required"/>
                                    <?php if (strtolower($_SERVER['SERVER_NAME']) != 'www.kit.edu') { ?><input name="local_search" type="hidden" value="true"><?php } ?>
                                    <button><span>suchen</span></button>
                                </form>
                            </div>
                        </li>
                        <?php
                            }
                            if (isset($campusplan_id) && ($campusplan_id != '')) {
                        ?>
                        <li>
                            <a href="https://www.kit.edu/campusplan/?ids=<?php echo $campusplan_id; ?>" target="_blank" title="Campusplan"><span class="svg-icon"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     viewBox="0 0 300 300" width="300px" height="300px">
<title>Campusplan</title>
<path d="M299.8,284.5l-18.7-123c-1-6.6-6.8-11.5-13.5-11.5h-70.6c15.6-28.2,29.2-57.5,29.2-75c0-41.4-34.1-75-76.1-75
    S73.9,33.6,73.9,75c0,17.5,13.5,46.8,29.2,75H32.5c-6.8,0-12.6,4.9-13.6,11.5l-18.7,123c-1.1,7.4,4,14.2,11.5,15.4
    c0.7,0.1,1.3,0.1,2,0.1h272.6c7.6,0,13.7-6,13.7-13.5C300,285.8,299.9,285.2,299.8,284.5z M150,30c25.2,0,45.7,20.1,45.7,45
    s-20.4,45-45.7,45s-45.7-20.1-45.7-45S124.8,30,150,30z M273.9,215.2l-47.4-16.4l22.1-33.8h17.7L273.9,215.2z M239.5,165l-20.3,31.3
    L178,182.1c3.4-5.4,6.8-11.2,10.3-17.1H239.5z M150,225c0,0,8.5-12.1,19.8-29.8l40.8,14.1l-31.4,48.1l-93.5-59.2l36.5-15.4
    C137.3,206.9,150,225,150,225z M45.5,165h66.1c0.9,1.6,1.9,3.2,2.8,4.7l-87,36.8l4.6-30C33,169.9,38.8,165,45.5,165L45.5,165z
     M17.8,269.5l6.2-40.8l85.6,56.3H31.4c-7.6,0-13.7-6-13.7-13.5C17.7,270.8,17.7,270.2,17.8,269.5z M268.6,285H137.1L36.5,218.9
    l40.9-17.3l104.2,66l36.5-55.9l58.4,20.1l5.7,37.6c1.1,7.4-4,14.2-11.5,15.3C270,284.9,269.3,285,268.6,285z"/>
</svg></span><span class="title">Campusplan</span></a>
                        </li>
                        <?php
                            }
                        ?>
                    </ul>





<!-- 


/img/WeblogoRechtsMitRand.png
KIT-Fakultät für Wirtschaftswissen&shy;schaften
/img/WeblogoRechtsMitRand.png
/index.php

 -->







                </div>
            </div>
        </header>






<?php $timings['start_main'] = microtime(true); ?>












        <!-- Mittlere Spalte: start -->
        <main>
        <?php
            if (('false' == 'true') && ('5' == '2')) {
        ?>

            <section class="swiper-container stage-slider" role="banner">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <div class="content-wrap">
                            <div class="text half">
                                <h2 class="h1 <?php if (trim($RenderTag_Name_Einrichtung) == '') echo 'noline '; ?>underline"><?php echo $RenderTag_Name_Einrichtung ?></h2>
                                <p></p>
                                
                            </div>
                        </div>
                        <div class="stage-slider-tiles">



<?php
    $Homepage_tile1_title=<<<'NOWDOC'

NOWDOC;
    $Homepage_tile1_title = trim($Homepage_tile1_title);
    $Homepage_tile2_title=<<<'NOWDOC'

NOWDOC;
    $Homepage_tile2_title = trim($Homepage_tile2_title);
    $Homepage_tile3_title=<<<'NOWDOC'

NOWDOC;
    $Homepage_tile3_title = trim($Homepage_tile3_title);
    $Homepage_tile4_title=<<<'NOWDOC'

NOWDOC;
    $Homepage_tile4_title = trim($Homepage_tile4_title);
    $title1 = htmlspecialchars(html_entity_decode($Homepage_tile1_title));
    $title2 = htmlspecialchars(html_entity_decode($Homepage_tile2_title));
    $title3 = htmlspecialchars(html_entity_decode($Homepage_tile3_title));
    $title4 = htmlspecialchars(html_entity_decode($Homepage_tile4_title));
?>
                            <?php if (('' != '') && ($Homepage_tile1_title != '')) { ?><?php } ?><?php if (('' != '') && ($Homepage_tile2_title != '')) { ?><?php } ?><?php if (('' != '') && ($Homepage_tile3_title != '')) { ?><?php } ?><?php if (('' != '') && ($Homepage_tile4_title != '')) { ?><?php } ?>

                        </div>
                        <div class="image" style="background-image: url()"><?php
$copyright_head_image =<<<'NOWDOC'

NOWDOC;
?></div>
                    </div>
                </div>
            </section>
            <?php if ('0' != '0') { ?>
            
            <section class="target-groups" role="navigation" aria-label="Zielgruppen">
                <h2 style="display:none; visibility:hidden">&nbsp;</h2>
                <div class="content-wrap">
                    <div class="buttons">
                        
                    </div>
                    <?php
                        $suche_link =<<<'NOWDOC'
/search.php
NOWDOC;
                        if (trim($suche_link) != '') {
                            $suche_link = trim($suche_link);
                            
                            if (strpos($suche_link, '//') === false) {
                                if (substr($suche_link, 0, 1) != '/') $suche_link = '/'.$suche_link;
                                $suche_link = 'https://'.$_SERVER['HTTP_HOST'].$suche_link;
                            }
                        
                    ?>
                    <form action="<?php echo $suche_link ?>">
                        <input type="search" placeholder="suchen" id="target-groups-search" name="searchquery" aria-label="suchen"/>
                        <?php if (strtolower($_SERVER['SERVER_NAME']) != 'www.kit.edu') { ?><input name="local_search" type="hidden" value="true"><?php } ?>
                        <button id="target-group-submit" aria-label="suchen"></button>
                    </form>
                    <?php
                        }
                    ?>
                </div>
            </section>
            
            <?php } ?>
            <div class="side-widgets-trigger"></div>
            <section class="mobile-entries" role="navigation" aria-label="Zielgruppen">
                <h2 style="display:none; visibility:hidden">&nbsp;</h2>
                <div class="content-wrap">
                    
                </div>
            </section>
        <?php
            }
            else {
        ?>
            <?php
                if ($is_KIT_HOMEPAGE_PROJECT == 'true') {
                    if ('false' == 'true') {
            ?>
            <section class="stage stage-big" role="banner"><?php
$copyright_head_image =<<<'NOWDOC'

NOWDOC;
?>
                <div class="content-wrap"><p></p></div>
            </section>
            <?php
                    }
                    else {
            ?>
            <section class="stage stage-small" role="banner"><img src="<?php echo $RenderTag_img_head_small; ?>" alt="" loading="lazy" width="1920" height="140" /><?php $copyright_head_image = $RenderTag_copyright_img_head_small; ?>
                <div class="content-wrap"><p></p></div>
            </section>
            <?php
                    }
                }
                else if ('false' == 'true') {
                    $logo_link = $root_link;
                    if ($RenderTag_OE_Logo_Link != '') $logo_link = $RenderTag_OE_Logo_Link;
            ?>
            <section class="stage stage-big" role="banner"><img src="<?php echo $RenderTag_img_head_big; ?>" alt="" loading="lazy" width="1920" height="700" /><?php $copyright_head_image = $RenderTag_copyright_img_head_big; ?>
                <div class="content-wrap"><p <?php if ($RenderTag_img_logo == '') echo 'class="bigger"'; ?> title="<?php echo $RenderTag_Name_Einrichtung_alt ?>"><?php echo $RenderTag_Name_Einrichtung ?></p><?php
                    if ($RenderTag_img_logo != '') echo '<a class="logo_oe" href="'.$logo_link.'" title="'.$RenderTag_Name_Einrichtung_alt.'">'.$RenderTag_img_logo.'</a>';
                ?></div>
            </section>
            <?php
                }
                else {
                    $logo_link = $root_link;
                    if ($RenderTag_OE_Logo_Link != '') $logo_link = $RenderTag_OE_Logo_Link;
            ?>
            <section class="stage stage-small" role="banner"><img src="<?php echo $RenderTag_img_head_small; ?>" alt="" loading="lazy" width="1920" height="140" /><?php $copyright_head_image = $RenderTag_copyright_img_head_small; ?>
                <div class="content-wrap"><a href="<?php echo $root_link ?>" title="<?php echo $RenderTag_Name_Einrichtung_alt ?>"><?php echo $RenderTag_Name_Einrichtung ?></a><?php
                    if ($RenderTag_img_logo != '') echo '<a class="logo_oe" href="'.$logo_link.'" title="'.$RenderTag_Name_Einrichtung_alt.'">'.$RenderTag_img_logo.'</a>';
                ?></div>
            </section>
            <?php
                }
                // if (('false' != 'true') || ($is_KIT_HOMEPAGE_PROJECT == 'true')) {
                // if ('5' > '2') {
                if ((trim($breadcrumb_prefix) != '') || ('5' > '2')) {
            ?>
            <section class="breadcrumbs" style="display:none" role="navigation" aria-label="Breadcrumb">
                <h2 style="display:none; visibility:hidden">&nbsp;</h2>
                <div class="content-wrap">
                    <?php
                        if (count($navigation_breadcrumb) > 0) {
                            echo '<ul vocab="http://schema.org/" typeof="BreadcrumbList">';
                            $i = 1;
                            $temp_hrefs = array();
                            foreach ($navigation_breadcrumb as $struct) {
                                if (!in_array($struct['url'], $temp_hrefs)) { 
                                    $temp_hrefs[] = $struct['url'];
                                    echo '<li property="itemListElement" typeof="ListItem">';
                                    echo '<a href="'.$struct['url'];
                    				if ($struct['anker'] != '') {
            					        if (substr($struct['anker'], 0, 1) != '#') echo '#';
            					        echo $struct['anker'];
                    				}
                                    echo '"';
                                    if ($struct['target'] != '') echo ' target="'.$struct['target'].'"';
                                    echo ' property="item" typeof="WebPage"><span property="name">';
                                    if ($i == 1) echo 'Startseite';
                                    else echo $struct['headline'];
                                    echo '</span></a>';
                                    echo '<meta property="position" content="'.$i.'"/>';
                                    echo '</li>';
                                    $i++;
                                }
                            }
                            unset($temp_hrefs);
                            echo '</ul>';
                        }
                    ?>
                </div>
            </section>
            <?php
                    $content_navigation_startlevel = 0;
                    // if (count($navigation_breadcrumb) > $content_navigation_startlevel) {
                    if ((trim($breadcrumb_prefix) != '') || (count($navigation_breadcrumb) > $content_navigation_startlevel)) {
                        echo '<section class="breadcrumbs-big" role="navigation" aria-label="Breadcrumb">';
                        echo '<h2 style="display:none; visibility:hidden">&nbsp;</h2>';
                        // echo '<div class="content-wrap">';
                        echo '<ul class="content-wrap">';
                        echo $breadcrumb_prefix;
                            $i = 1;
                            foreach ($navigation_breadcrumb as $struct) {
                                if ($i > $content_navigation_startlevel) {
									$count_struct_subpages = 0;
									if (count($struct['subpages']) > 0) {
										foreach ($struct['subpages'] as $page) {
											$shibboleth_show_subpage = true;
											if (isset($shibboleth_enabled) && ($shibboleth_enabled == 'true')) {
												$shibboleth_show_subpage = false;
												if ((in_array('MA', explode(';', $page['shibboleth_targetgroup']))) && (in_array('employee@kit.edu', explode(';', $_SERVER['affiliation'])))) {
													$shibboleth_show_subpage = true;
												}
												else if ((in_array('ST', explode(';', $page['shibboleth_targetgroup']))) && (in_array('student@kit.edu', explode(';', $_SERVER['affiliation'])))) {
													$shibboleth_show_subpage = true;
												}
												else if ((in_array('GUP', explode(';', $page['shibboleth_targetgroup']))) && (in_array('affiliate@kit.edu', explode(';', $_SERVER['affiliation'])))) {
													$shibboleth_show_subpage = true;
												}
												else if ($page['shibboleth_targetgroup'] == '') {
													$shibboleth_show_subpage = true;
												}
											}
											if ($shibboleth_show_subpage && ($page['ishidden'] != 'true') && (($page['intranetonly'] == 'false') || ($in_ip_range))) {
												$count_struct_subpages++;
											}
										}
									}
                                    // echo '<div class="list';
                                    echo '<li class="list';
                                    // if (count($struct['subpages']) == 0) {
                                    if ($count_struct_subpages == 0) {
                                        echo ' last';
                                    }
                                    echo '"><a href="'.$struct['url'];
                    				if ($struct['anker'] != '') {
            					        if (substr($struct['anker'], 0, 1) != '#') echo '#';
            					        echo $struct['anker'];
                    				}
                                    echo '"';
                                    if ($struct['target'] != '') echo ' target="'.$struct['target'].'"';
                                    echo '>'.$struct['headline'];
                                    // if (($i == count($navigation_breadcrumb)) && (count($struct['subpages']) != 0)) { 
                                    if (($i == count($navigation_breadcrumb)) && ($count_struct_subpages != 0)) { 
                                        echo '<span class="caret"></span><span class="more"></span>';
                                    }
                                    echo '</a>';
                                    // if (count($struct['subpages']) > 0) {
                                    if ($count_struct_subpages > 0) {
                                        echo '<ul>';
                                        foreach ($struct['subpages'] as $page) {
											$shibboleth_show_subpage = true;
											if (isset($shibboleth_enabled) && ($shibboleth_enabled == 'true')) {
												$shibboleth_show_subpage = false;
												if ((in_array('MA', explode(';', $page['shibboleth_targetgroup']))) && (in_array('employee@kit.edu', explode(';', $_SERVER['affiliation'])))) {
													$shibboleth_show_subpage = true;
												}
												else if ((in_array('ST', explode(';', $page['shibboleth_targetgroup']))) && (in_array('student@kit.edu', explode(';', $_SERVER['affiliation'])))) {
													$shibboleth_show_subpage = true;
												}
												else if ((in_array('GUP', explode(';', $page['shibboleth_targetgroup']))) && (in_array('affiliate@kit.edu', explode(';', $_SERVER['affiliation'])))) {
													$shibboleth_show_subpage = true;
												}
												else if ($page['shibboleth_targetgroup'] == '') {
													$shibboleth_show_subpage = true;
												}
											}
                                            if ($shibboleth_show_subpage && ($page['ishidden'] != 'true') && (($page['intranetonly'] == 'false') || ($in_ip_range))) {
                                                echo '<li><a href="'.$page['url'];
                                				if ($page['anker'] != '') {
                        					        if (substr($page['anker'], 0, 1) != '#') echo '#';
                        					        echo $page['anker'];
                                				}
                                                echo '"';
                                                if ($page['target'] != '') echo ' target="'.$page['target'].'"';
                                                echo '>'.$page['headline'].'</a></li>';
                                            }
                                        }
                                        echo '</ul>';
                                    }
                                    echo '</li>';
                                    // echo '</div>';
                                }
                                $i++;
                            }
                        echo '</ul>';
                        // echo '</div>';
                        echo '</section>';
                    }
                }
            ?>
            <div class="side-widgets-trigger"></div>
        <?php
            } // Ende else KIT-Homepage-Style
        ?>
            <section class="content-wrap" role="main" id="main_content" tabindex="-1">
                <div class="content">
                    <?php
                    // navi_external_link wird in der navigation.xml anstatt dem eigenen Namen benutzt.
                    // Sollte die Seite trotzdem direkt aufgerufen werden, wird per JavaScript zu navi_external_link weitergeleitet
                    // Das ist besonders bei der Sprachumschaltung aus jAlbum heraus wichtig!
                        $navi_external_link =<<<'HEREDOC_NAVI_EXTERNAL_LINK'

HEREDOC_NAVI_EXTERNAL_LINK;
                        $navi_external_link = trim($navi_external_link);
                        if ($navi_external_link != '') {
                            echo '<script>window.location.href = "'.$navi_external_link.'";</script>';
                        }
                    ?>





                    <!-- CONTENT-AREA START -->
                    
                    <?php $masterpage_guid = '24C01E21178C42C6867495385C08B870'; $wsm_language = 'DEU'; ?>
                    
                    
<?php
    $timings['start_inhalte'] = microtime(true);

	// if ((count($my_path) > 0) || ("false" == "true")) {
	if ((count($my_path) > 0) || ("false" == "true") || (substr($_SERVER['SCRIPT_NAME'], -14) == '/impressum.php') || (substr($_SERVER['SCRIPT_NAME'], -11) == '/legals.php')) {

?>
                    
                    <!-- SCRIPT [start] --><!-- [2096] Script-Code -->
<?php
     if ('true' == 'true') { 
    $fixed_row =<<<'NOWDOC'
0
NOWDOC;
    $fixed_leftright =<<<'NOWDOC'
flow
NOWDOC;
    $fixed_leftright = trim($fixed_leftright);
    $fixed_styles = '';
    if ((intval($fixed_row) > 0) && (($fixed_leftright == 'left') || ($fixed_leftright == 'right'))) {
        if ($fixed_leftright == 'right') $fixed_column = 13;
        else {
            if ('full' == 'fourth') $fixed_column = 4;
            else if ('full' == 'third') $fixed_column = 5;
            else if ('full' == 'half') $fixed_column = 7;
            else if ('full' == 'two-third') $fixed_column = 9;
            else $fixed_column = 12;
        }
        $fixed_styles = 'style="grid-row:'.intval($fixed_row).';grid-column-end:'.$fixed_column.';"';
    }
    echo '<div data-selectorid="2096" class="KIT_section text full" id="div_2096" '.$fixed_styles.'>';
    
     } 
?>



<?php $wsm_pageguid = substr($wsm_editurl, strpos($wsm_editurl, '&PageGuid=') + 10, 32); ?>
        

<?php
    include_once('wiwiAnkuendigung.php');
?>

 
                    
<?php if ('true' == 'true') echo '</div>'; ?>
<!-- [2096] Script-Code --><!-- SCRIPT [end] -->
 
<?php

	}
	else {
		echo '<div class="text full"><h1>Inhalt nicht mehr verfügbar – Contents no longer available</h1></div>';
	}

    $timings['ende_inhalte'] = microtime(true);
?>
                    <?php if ((isset($elements_outside_iprange)) && ($elements_outside_iprange === true)) { ?><div style="color:#808080; position:absolute; bottom: 55px">Weitere Detail-Informationen sind innerhalb des KIT-Netzes erhältlich.</div><?php } ?>
                    <!-- CONTENT-AREA END -->
                </div>
            </section>
        </main>
        <!-- Mittlere Spalte: end -->
        <button class="to-top-button" aria-label="zum Seitenanfang"></button>
        
        
        
        
        
        

        
        
        
        
        
        
        
        <footer class="page-footer">
            <div class="content-wrap">
                <div class="column full">

<?php
	// if ((count($my_path) > 0) || ("false" == "true")) {
	if ((count($my_path) > 0) || ("false" == "true") || (substr($_SERVER['SCRIPT_NAME'], -14) == '/impressum.php') || (substr($_SERVER['SCRIPT_NAME'], -11) == '/legals.php')) {
?>

<!-- INFO-AREA START -->


<!-- INFO-AREA END -->
<?php
    $social_media_required =<<<'HEREDOC'

<?php
    $title = ' ';
    $target = 'social_media';
    $sm_type =<<<HEREDOC_SM_TYPE
Instagram
HEREDOC_SM_TYPE;
    $sm_type = trim($sm_type);
    $username =<<<HEREDOC_USERNAME
kitwiwi
HEREDOC_USERNAME;
    $username = trim($username);
    $extra_class = '';

    if ($sm_type == 'YouTube') {
        if (substr($username, 0, 8) == 'channel/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        elseif (substr($username, 0, 2) == 'c/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        else {
            $link = 'https://www.youtube.com/user/'.$username;
        }
        $title = 'Youtube Profil';
        $class = 'youtube';
    }
    if (($sm_type == 'Facebook: Profil')||($sm_type == '')) {
        if (strpos($username, '/') !== false) $link = 'https://www.facebook.com/pages/'.$username;
        else $link = 'https://www.facebook.com/'.$username;
        $title = 'Facebook Profil';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = 'RSS-Link';
        $class = 'rss';
    }
    if ($sm_type == 'Facebook: Weiterempfehlen') {
        $link = 'https://www.facebook.com/sharer.php?s=100&p[url]='.urlencode($_SERVER['SCRIPT_URI']).'&p[title]='.urlencode($breadcrumb);
        $title = 'Facebook - Seite empfehlen';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profil';
        $class = 'instagram';
    }
    if ($sm_type == 'XING: Empfehlen') {
        if ($_SERVER['HTTPS'] == 'on') $protocol = 'https://';
        else $protocol = 'http://';
        $shareurl = $protocol.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
        $tmp = explode('%', urlencode($shareurl));
        foreach($tmp as &$part) {
            $part[0] = strtolower($part[0]);
            $part[1] = strtolower($part[1]);
        }
        $shareurl = implode('%', $tmp);

        $link = 'https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url='.$shareurl;
        $title = 'Xing - Seite empfehlen';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profil';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profil';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = 'TikTok Profil';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Profil Mastodon';
        $class = 'mastodon';
    }
    if ($sm_type == 'ResearchGate') {
        if (strpos($username, '/') === false)
            $link = 'https://www.researchgate.net/profile/'.$username;
        else
            $link = 'https://www.researchgate.net/'.trim($username, '/');
        $title = 'ResearchGate Profil';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Kanal (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Twitter: Weiterempfehlen') {
        $link = 'https://twitter.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        if ($username != '') $link .= '&via='.urlencode($username);
        $title = 'X (Twitter) - Seite empfehlen';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Google+ - Seite empfehlen';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profil';
        $class = 'google-plus';
    }
    if ($sm_type == 'WhatsApp') {
        $link = 'whatsapp://send?text='.urlencode(html_entity_decode('Schau mal, was ich zum Thema '."\n".'"'.$breadcrumb.'" unter '."\n".$_SERVER['SCRIPT_URI']."\n".'gefunden habe.', ENT_COMPAT, 'UTF-8'));
        $title = 'WhatsApp - Seite empfehlen';
        $extra_class = ' whatsapp_share" ';
        $class = 'whatsapp';
    }
?>
<?php
    if ($class == 'mastodon') {
	    echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank" rel="me"><span>'.$title.'</span></a></li>'; 
	}
	else {
        echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank"><span>'.$title.'</span></a></li>'; 
    }
?>
 
<?php
    $title = ' ';
    $target = 'social_media';
    $sm_type =<<<HEREDOC_SM_TYPE
YouTube
HEREDOC_SM_TYPE;
    $sm_type = trim($sm_type);
    $username =<<<HEREDOC_USERNAME
KITwiwi
HEREDOC_USERNAME;
    $username = trim($username);
    $extra_class = '';

    if ($sm_type == 'YouTube') {
        if (substr($username, 0, 8) == 'channel/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        elseif (substr($username, 0, 2) == 'c/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        else {
            $link = 'https://www.youtube.com/user/'.$username;
        }
        $title = 'Youtube Profil';
        $class = 'youtube';
    }
    if (($sm_type == 'Facebook: Profil')||($sm_type == '')) {
        if (strpos($username, '/') !== false) $link = 'https://www.facebook.com/pages/'.$username;
        else $link = 'https://www.facebook.com/'.$username;
        $title = 'Facebook Profil';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = 'RSS-Link';
        $class = 'rss';
    }
    if ($sm_type == 'Facebook: Weiterempfehlen') {
        $link = 'https://www.facebook.com/sharer.php?s=100&p[url]='.urlencode($_SERVER['SCRIPT_URI']).'&p[title]='.urlencode($breadcrumb);
        $title = 'Facebook - Seite empfehlen';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profil';
        $class = 'instagram';
    }
    if ($sm_type == 'XING: Empfehlen') {
        if ($_SERVER['HTTPS'] == 'on') $protocol = 'https://';
        else $protocol = 'http://';
        $shareurl = $protocol.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
        $tmp = explode('%', urlencode($shareurl));
        foreach($tmp as &$part) {
            $part[0] = strtolower($part[0]);
            $part[1] = strtolower($part[1]);
        }
        $shareurl = implode('%', $tmp);

        $link = 'https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url='.$shareurl;
        $title = 'Xing - Seite empfehlen';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profil';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profil';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = 'TikTok Profil';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Profil Mastodon';
        $class = 'mastodon';
    }
    if ($sm_type == 'ResearchGate') {
        if (strpos($username, '/') === false)
            $link = 'https://www.researchgate.net/profile/'.$username;
        else
            $link = 'https://www.researchgate.net/'.trim($username, '/');
        $title = 'ResearchGate Profil';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Kanal (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Twitter: Weiterempfehlen') {
        $link = 'https://twitter.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        if ($username != '') $link .= '&via='.urlencode($username);
        $title = 'X (Twitter) - Seite empfehlen';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Google+ - Seite empfehlen';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profil';
        $class = 'google-plus';
    }
    if ($sm_type == 'WhatsApp') {
        $link = 'whatsapp://send?text='.urlencode(html_entity_decode('Schau mal, was ich zum Thema '."\n".'"'.$breadcrumb.'" unter '."\n".$_SERVER['SCRIPT_URI']."\n".'gefunden habe.', ENT_COMPAT, 'UTF-8'));
        $title = 'WhatsApp - Seite empfehlen';
        $extra_class = ' whatsapp_share" ';
        $class = 'whatsapp';
    }
?>
<?php
    if ($class == 'mastodon') {
	    echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank" rel="me"><span>'.$title.'</span></a></li>'; 
	}
	else {
        echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank"><span>'.$title.'</span></a></li>'; 
    }
?>
 
<?php
    $title = ' ';
    $target = 'social_media';
    $sm_type =<<<HEREDOC_SM_TYPE
LinkedIn
HEREDOC_SM_TYPE;
    $sm_type = trim($sm_type);
    $username =<<<HEREDOC_USERNAME
company/kitwiwi
HEREDOC_USERNAME;
    $username = trim($username);
    $extra_class = '';

    if ($sm_type == 'YouTube') {
        if (substr($username, 0, 8) == 'channel/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        elseif (substr($username, 0, 2) == 'c/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        else {
            $link = 'https://www.youtube.com/user/'.$username;
        }
        $title = 'Youtube Profil';
        $class = 'youtube';
    }
    if (($sm_type == 'Facebook: Profil')||($sm_type == '')) {
        if (strpos($username, '/') !== false) $link = 'https://www.facebook.com/pages/'.$username;
        else $link = 'https://www.facebook.com/'.$username;
        $title = 'Facebook Profil';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = 'RSS-Link';
        $class = 'rss';
    }
    if ($sm_type == 'Facebook: Weiterempfehlen') {
        $link = 'https://www.facebook.com/sharer.php?s=100&p[url]='.urlencode($_SERVER['SCRIPT_URI']).'&p[title]='.urlencode($breadcrumb);
        $title = 'Facebook - Seite empfehlen';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profil';
        $class = 'instagram';
    }
    if ($sm_type == 'XING: Empfehlen') {
        if ($_SERVER['HTTPS'] == 'on') $protocol = 'https://';
        else $protocol = 'http://';
        $shareurl = $protocol.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
        $tmp = explode('%', urlencode($shareurl));
        foreach($tmp as &$part) {
            $part[0] = strtolower($part[0]);
            $part[1] = strtolower($part[1]);
        }
        $shareurl = implode('%', $tmp);

        $link = 'https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url='.$shareurl;
        $title = 'Xing - Seite empfehlen';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profil';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profil';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = 'TikTok Profil';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Profil Mastodon';
        $class = 'mastodon';
    }
    if ($sm_type == 'ResearchGate') {
        if (strpos($username, '/') === false)
            $link = 'https://www.researchgate.net/profile/'.$username;
        else
            $link = 'https://www.researchgate.net/'.trim($username, '/');
        $title = 'ResearchGate Profil';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Kanal (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Twitter: Weiterempfehlen') {
        $link = 'https://twitter.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        if ($username != '') $link .= '&via='.urlencode($username);
        $title = 'X (Twitter) - Seite empfehlen';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Google+ - Seite empfehlen';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profil';
        $class = 'google-plus';
    }
    if ($sm_type == 'WhatsApp') {
        $link = 'whatsapp://send?text='.urlencode(html_entity_decode('Schau mal, was ich zum Thema '."\n".'"'.$breadcrumb.'" unter '."\n".$_SERVER['SCRIPT_URI']."\n".'gefunden habe.', ENT_COMPAT, 'UTF-8'));
        $title = 'WhatsApp - Seite empfehlen';
        $extra_class = ' whatsapp_share" ';
        $class = 'whatsapp';
    }
?>
<?php
    if ($class == 'mastodon') {
	    echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank" rel="me"><span>'.$title.'</span></a></li>'; 
	}
	else {
        echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank"><span>'.$title.'</span></a></li>'; 
    }
?>
 
HEREDOC;

        $social_media_required .=<<<'NOWDOC_FOOTER_TEXT'

NOWDOC_FOOTER_TEXT;

    if ( (isset($hp)) && ($hp == true) ) {
?><?php
    }

    $social_media_required = trim($social_media_required);
    
    if (($social_media_required != '') || (('' == 'enabled') || (('' == '') && ($RenderTag_show_feedback == 'enabled')))) {
?>
<?php
    if (('' == 'enabled') || (('' == '') && ($RenderTag_show_feedback == 'enabled'))) {
?>
                    <div class="KIT_section column footer-feedback half" style="grid-row-start: 1;display: none">
                        <div class="text">
                            <h3 class="underline waypoint-triggered" id="feedback_title">Feedback</h3>
                            <p id="feed_back_hint">Ihr Feedback zu dieser Seite ist uns wichtig</p>
                        </div>
                        <div class="form">
                            <form>
                                <label class="hide_label" id="feedback_name_label" for="feedback_name"><abbr class="req" title="Pflichtfeld">*</abbr> Name</label>
                                <input style="margin-top:0" autocomplete="name" required type="text" name="name" id="feedback_name" placeholder="* Name" aria-labelledby="feedback_name_label">
                                <label class="hide_label" id="feedback_sender_label" for="feedback_sender"><abbr class="req" title="Pflichtfeld">*</abbr> E-Mail Adresse</label>
                                <input autocomplete="email" required type="email" name="mail" id="feedback_sender" placeholder="* E-Mail Adresse" aria-labelledby="feedback_sender_label">
                                <!-- <input type="text" name="subject" id="feedback_subject" placeholder="* Betreff" aria-label="Betreff"> -->
                                <label class="hide_label" id="feedback_msg_label" for="feedback_msg"><abbr class="req" title="Pflichtfeld">*</abbr> Ihre Nachricht</label>
                                <textarea autocomplete="off" required name="description" rows="4" id="feedback_msg" placeholder="* Ihre Nachricht" aria-labelledby="feedback_msg_label"></textarea>
                                <label class="hide_label" id="feedback_captcha_label" for="feedback_captcha"><abbr class="req" title="Pflichtfeld">*</abbr> Captcha</label>
                                <input autocomplete="off" required type="text" name="subject" id="feedback_captcha" placeholder="* Captcha" aria-labelledby="feedback_captcha_label">
                                <button id="feedback_btn">Senden</button><span id="feedback_pflichtfeld">* Pflichtfeld</span>
                            </form>
                        </div>
<script>
    if (typeof jQuery == "function") {
        $(document).ready( function () {
            $(".hide_label").css({"clip":"rect(1px, 1px, 1px, 1px)", "position":"absolute", "z-index":"-1000", "width":"1px", "height":"1px", "padding":"0", "margin":"0", "overflow":"hidden", "white-space":"nowrap"})
            var captcha_zufallszahl_1 = Math.floor(Math.random() * (10)) + 1;
            var captcha_zufallszahl_2 = Math.floor(Math.random() * (10)) + 1;
            var captcha_loesung = captcha_zufallszahl_1 + captcha_zufallszahl_2
            $("#feedback_captcha").attr("placeholder", "* Captcha: " + captcha_zufallszahl_1 + ' + ' + captcha_zufallszahl_2 + ' = ')
            // $("#feedback_captcha").attr("aria-label", "Captcha: " + captcha_zufallszahl_1 + ' + ' + captcha_zufallszahl_2 + ' = ')
            $("#feedback_captcha_label").html("<abbr class=\"req\" title=\"Pflichtfeld\">*</abbr> Captcha: " + captcha_zufallszahl_1 + ' + ' + captcha_zufallszahl_2 + ' = ')
            if ('DEU' != 'DEU') {
                $("#feedback_captcha_label").html("<abbr class=\"req\" title=\"required\">*</abbr> Captcha: " + captcha_zufallszahl_1 + ' + ' + captcha_zufallszahl_2 + ' = ')
            }
            $("#feedback_captcha").val("")
            feedback_text_feedback = 'Feedback'
            feedback_text_hint = 'Ihr Feedback zu dieser Seite ist uns wichtig'
            feedback_text_name = '<abbr class="req" title="Pflichtfeld">*</abbr> Name'
            feedback_text_email = '<abbr class="req" title="Pflichtfeld">*</abbr> E-Mail Adresse'
            feedback_text_betreff = '<abbr class="req" title="Pflichtfeld">*</abbr> Betreff'
            feedback_text_message = '<abbr class="req" title="Pflichtfeld">*</abbr> Ihre Nachricht'
            feedback_text_send = 'Senden'
            feedback_text_sent = 'Feedback verschickt'
            feedback_text_error_sending = 'Fehler beim Versenden:'
            feedback_text_error = 'Fehler: '
            feedback_text_error_mail = 'Keine korrekte Mailadresse!'
            feedback_text_error_captcha = 'Captcha Fehler'
            feedback_text_error_name = 'Bitte geben Sie Ihren Namen an.'
            feedback_text_error_message = 'Keine Nachricht?'
            if ('DEU' != 'DEU') {
                feedback_text_feedback = 'Feedback'
                feedback_text_hint = 'Your feedback on this page is important to us'
                feedback_text_name = '<abbr class="req" title="required">*</abbr> Name'
                feedback_text_email = '<abbr class="req" title="required">*</abbr> Email Address'
                feedback_text_betreff = '<abbr class="req" title="required">*</abbr> Subject'
                feedback_text_message = '<abbr class="req" title="required">*</abbr> Your message'
                feedback_text_send = 'Send'
                feedback_text_sent = 'Feedback sent'
                feedback_text_error_sending = 'Error sending:'
                feedback_text_error = 'Error: '
                feedback_text_error_mail = 'Incorrect mailaddress!'
                feedback_text_error_captcha = 'Captcha Error'
                feedback_text_error_name = 'Please enter your name.'
                feedback_text_error_message = 'No message?'
                $("#feedback_pflichtfeld").text('* required')
            }
            $("#feedback_title").text(feedback_text_feedback)
            $("#feed_back_hint").text(feedback_text_hint)
            $("#feedback_btn").text(feedback_text_send)
            $("#feedback_name").attr("placeholder", feedback_text_name.replace(/(<([^>]+)>)/gi, ""))
            $("#feedback_sender").attr("placeholder", feedback_text_email.replace(/(<([^>]+)>)/gi, ""))
            // $("#feedback_subject").attr("placeholder", feedback_text_betreff)
            $("#feedback_msg").attr("placeholder", feedback_text_message.replace(/(<([^>]+)>)/gi, ""))
            $("#feedback_name_label").html(feedback_text_name)
            $("#feedback_sender_label").html(feedback_text_email)
            $("#feedback_msg_label").html(feedback_text_message)
			$(".footer-feedback").css("display", "block");
            $("#feedback_btn").on("click", function () {
                mailtest = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/
                if ((captcha_loesung == $("#feedback_captcha").val()) && (mailtest.test($.trim($("#feedback_sender").val()))) && ($.trim($("#feedback_sender").val()) != "") && ($.trim($("#feedback_msg").val()) != "") && ($.trim($("#feedback_name").val()) != "")) {
                    var request = $.ajax({
                        dataType : 'jsonp', 
                        type: 'POST', 
                        url: "https://www.kit.edu/feedback.php",
                        data: {"url" : $(location).attr('href'),
                            "sender" : $.trim($("#feedback_name").val()) + " <" + $.trim($("#feedback_sender").val()) + ">",
                            // "feedback" : $.trim($("#feedback_subject").val()) + " - " + $.trim($("#feedback_msg").val()),
                            "feedback" : $.trim($("#feedback_msg").val()),
                            "projguid" : "140AF4128F194B9FA27CFF9FE5B47878",
                            "pageguid" : "24C01E21178C42C6867495385C08B870",
                            "editurl" : $('meta[name=edit]').attr("content")
                        }
                    })
                    request.done(function(data) {
                        if (data["state"] == "success") {
                            alert(feedback_text_sent)
                            $("#feedback_name").val('')
                            $("#feedback_sender").val('')
                            // $("#feedback_subject").val('')
                            $("#feedback_msg").val('')
                            captcha_zufallszahl_1 = Math.floor(Math.random() * (10)) + 1;
                            captcha_zufallszahl_2 = Math.floor(Math.random() * (10)) + 1;
                            captcha_loesung = captcha_zufallszahl_1 + captcha_zufallszahl_2
                            $("#feedback_captcha").attr("placeholder", "* Captcha: " + captcha_zufallszahl_1 + ' + ' + captcha_zufallszahl_2 + ' = ')
                            // $("#feedback_captcha").attr("aria-label", "Captcha: " + captcha_zufallszahl_1 + ' + ' + captcha_zufallszahl_2 + ' = ')
                            $("#feedback_captcha_label").text("Captcha: " + captcha_zufallszahl_1 + ' + ' + captcha_zufallszahl_2 + ' = ')
                            $("#feedback_captcha").val("")
                        }
                        else {
                            alert(feedback_text_error_sending + data.state)
                            $("#feedback_btn").focus()
                        }
                    })
                    request.fail(function(jqXHR, textStatus) {
                        alert(feedback_text_error + textStatus)
                        $("#feedback_btn").focus()
                    })
                }
                else if ((!mailtest.test($.trim($("#feedback_sender").val()))) || ($.trim($("#feedback_sender").val()) == "")) {
                    alert(feedback_text_error_mail)
                    $("#feedback_sender").focus()
                }
                else if ($.trim($("#feedback_name").val()) == "") {
                    alert(feedback_text_error_name)
                    $("#feedback_name").focus()
                }
                else if (captcha_loesung != $("#feedback_captcha").val()) {
                    alert(feedback_text_error_captcha)
                    $("#feedback_captcha").focus()
                }
                else {
                    alert(feedback_text_error_message)
                    $("#feedback_msg").focus()
                }
                return false;
            })
        })
    }
</script>
<?php
    }
    else {
?>
                    <div class="KIT_section column fourth" style="grid-row-start: 1;">                
<?php
    }
?>

                        <ul class="social">
                            
<?php
    $title = ' ';
    $target = 'social_media';
    $sm_type =<<<HEREDOC_SM_TYPE
Instagram
HEREDOC_SM_TYPE;
    $sm_type = trim($sm_type);
    $username =<<<HEREDOC_USERNAME
kitwiwi
HEREDOC_USERNAME;
    $username = trim($username);
    $extra_class = '';

    if ($sm_type == 'YouTube') {
        if (substr($username, 0, 8) == 'channel/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        elseif (substr($username, 0, 2) == 'c/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        else {
            $link = 'https://www.youtube.com/user/'.$username;
        }
        $title = 'Youtube Profil';
        $class = 'youtube';
    }
    if (($sm_type == 'Facebook: Profil')||($sm_type == '')) {
        if (strpos($username, '/') !== false) $link = 'https://www.facebook.com/pages/'.$username;
        else $link = 'https://www.facebook.com/'.$username;
        $title = 'Facebook Profil';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = 'RSS-Link';
        $class = 'rss';
    }
    if ($sm_type == 'Facebook: Weiterempfehlen') {
        $link = 'https://www.facebook.com/sharer.php?s=100&p[url]='.urlencode($_SERVER['SCRIPT_URI']).'&p[title]='.urlencode($breadcrumb);
        $title = 'Facebook - Seite empfehlen';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profil';
        $class = 'instagram';
    }
    if ($sm_type == 'XING: Empfehlen') {
        if ($_SERVER['HTTPS'] == 'on') $protocol = 'https://';
        else $protocol = 'http://';
        $shareurl = $protocol.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
        $tmp = explode('%', urlencode($shareurl));
        foreach($tmp as &$part) {
            $part[0] = strtolower($part[0]);
            $part[1] = strtolower($part[1]);
        }
        $shareurl = implode('%', $tmp);

        $link = 'https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url='.$shareurl;
        $title = 'Xing - Seite empfehlen';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profil';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profil';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = 'TikTok Profil';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Profil Mastodon';
        $class = 'mastodon';
    }
    if ($sm_type == 'ResearchGate') {
        if (strpos($username, '/') === false)
            $link = 'https://www.researchgate.net/profile/'.$username;
        else
            $link = 'https://www.researchgate.net/'.trim($username, '/');
        $title = 'ResearchGate Profil';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Kanal (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Twitter: Weiterempfehlen') {
        $link = 'https://twitter.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        if ($username != '') $link .= '&via='.urlencode($username);
        $title = 'X (Twitter) - Seite empfehlen';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Google+ - Seite empfehlen';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profil';
        $class = 'google-plus';
    }
    if ($sm_type == 'WhatsApp') {
        $link = 'whatsapp://send?text='.urlencode(html_entity_decode('Schau mal, was ich zum Thema '."\n".'"'.$breadcrumb.'" unter '."\n".$_SERVER['SCRIPT_URI']."\n".'gefunden habe.', ENT_COMPAT, 'UTF-8'));
        $title = 'WhatsApp - Seite empfehlen';
        $extra_class = ' whatsapp_share" ';
        $class = 'whatsapp';
    }
?>
<?php
    if ($class == 'mastodon') {
	    echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank" rel="me"><span>'.$title.'</span></a></li>'; 
	}
	else {
        echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank"><span>'.$title.'</span></a></li>'; 
    }
?>
 
<?php
    $title = ' ';
    $target = 'social_media';
    $sm_type =<<<HEREDOC_SM_TYPE
YouTube
HEREDOC_SM_TYPE;
    $sm_type = trim($sm_type);
    $username =<<<HEREDOC_USERNAME
KITwiwi
HEREDOC_USERNAME;
    $username = trim($username);
    $extra_class = '';

    if ($sm_type == 'YouTube') {
        if (substr($username, 0, 8) == 'channel/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        elseif (substr($username, 0, 2) == 'c/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        else {
            $link = 'https://www.youtube.com/user/'.$username;
        }
        $title = 'Youtube Profil';
        $class = 'youtube';
    }
    if (($sm_type == 'Facebook: Profil')||($sm_type == '')) {
        if (strpos($username, '/') !== false) $link = 'https://www.facebook.com/pages/'.$username;
        else $link = 'https://www.facebook.com/'.$username;
        $title = 'Facebook Profil';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = 'RSS-Link';
        $class = 'rss';
    }
    if ($sm_type == 'Facebook: Weiterempfehlen') {
        $link = 'https://www.facebook.com/sharer.php?s=100&p[url]='.urlencode($_SERVER['SCRIPT_URI']).'&p[title]='.urlencode($breadcrumb);
        $title = 'Facebook - Seite empfehlen';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profil';
        $class = 'instagram';
    }
    if ($sm_type == 'XING: Empfehlen') {
        if ($_SERVER['HTTPS'] == 'on') $protocol = 'https://';
        else $protocol = 'http://';
        $shareurl = $protocol.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
        $tmp = explode('%', urlencode($shareurl));
        foreach($tmp as &$part) {
            $part[0] = strtolower($part[0]);
            $part[1] = strtolower($part[1]);
        }
        $shareurl = implode('%', $tmp);

        $link = 'https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url='.$shareurl;
        $title = 'Xing - Seite empfehlen';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profil';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profil';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = 'TikTok Profil';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Profil Mastodon';
        $class = 'mastodon';
    }
    if ($sm_type == 'ResearchGate') {
        if (strpos($username, '/') === false)
            $link = 'https://www.researchgate.net/profile/'.$username;
        else
            $link = 'https://www.researchgate.net/'.trim($username, '/');
        $title = 'ResearchGate Profil';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Kanal (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Twitter: Weiterempfehlen') {
        $link = 'https://twitter.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        if ($username != '') $link .= '&via='.urlencode($username);
        $title = 'X (Twitter) - Seite empfehlen';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Google+ - Seite empfehlen';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profil';
        $class = 'google-plus';
    }
    if ($sm_type == 'WhatsApp') {
        $link = 'whatsapp://send?text='.urlencode(html_entity_decode('Schau mal, was ich zum Thema '."\n".'"'.$breadcrumb.'" unter '."\n".$_SERVER['SCRIPT_URI']."\n".'gefunden habe.', ENT_COMPAT, 'UTF-8'));
        $title = 'WhatsApp - Seite empfehlen';
        $extra_class = ' whatsapp_share" ';
        $class = 'whatsapp';
    }
?>
<?php
    if ($class == 'mastodon') {
	    echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank" rel="me"><span>'.$title.'</span></a></li>'; 
	}
	else {
        echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank"><span>'.$title.'</span></a></li>'; 
    }
?>
 
<?php
    $title = ' ';
    $target = 'social_media';
    $sm_type =<<<HEREDOC_SM_TYPE
LinkedIn
HEREDOC_SM_TYPE;
    $sm_type = trim($sm_type);
    $username =<<<HEREDOC_USERNAME
company/kitwiwi
HEREDOC_USERNAME;
    $username = trim($username);
    $extra_class = '';

    if ($sm_type == 'YouTube') {
        if (substr($username, 0, 8) == 'channel/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        elseif (substr($username, 0, 2) == 'c/') {
            $link = 'https://www.youtube.com/'.$username;
        }
        else {
            $link = 'https://www.youtube.com/user/'.$username;
        }
        $title = 'Youtube Profil';
        $class = 'youtube';
    }
    if (($sm_type == 'Facebook: Profil')||($sm_type == '')) {
        if (strpos($username, '/') !== false) $link = 'https://www.facebook.com/pages/'.$username;
        else $link = 'https://www.facebook.com/'.$username;
        $title = 'Facebook Profil';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = 'RSS-Link';
        $class = 'rss';
    }
    if ($sm_type == 'Facebook: Weiterempfehlen') {
        $link = 'https://www.facebook.com/sharer.php?s=100&p[url]='.urlencode($_SERVER['SCRIPT_URI']).'&p[title]='.urlencode($breadcrumb);
        $title = 'Facebook - Seite empfehlen';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profil';
        $class = 'instagram';
    }
    if ($sm_type == 'XING: Empfehlen') {
        if ($_SERVER['HTTPS'] == 'on') $protocol = 'https://';
        else $protocol = 'http://';
        $shareurl = $protocol.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
        $tmp = explode('%', urlencode($shareurl));
        foreach($tmp as &$part) {
            $part[0] = strtolower($part[0]);
            $part[1] = strtolower($part[1]);
        }
        $shareurl = implode('%', $tmp);

        $link = 'https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url='.$shareurl;
        $title = 'Xing - Seite empfehlen';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profil';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profil';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = 'TikTok Profil';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Profil Mastodon';
        $class = 'mastodon';
    }
    if ($sm_type == 'ResearchGate') {
        if (strpos($username, '/') === false)
            $link = 'https://www.researchgate.net/profile/'.$username;
        else
            $link = 'https://www.researchgate.net/'.trim($username, '/');
        $title = 'ResearchGate Profil';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Kanal (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Twitter: Weiterempfehlen') {
        $link = 'https://twitter.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        if ($username != '') $link .= '&via='.urlencode($username);
        $title = 'X (Twitter) - Seite empfehlen';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Google+ - Seite empfehlen';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profil';
        $class = 'google-plus';
    }
    if ($sm_type == 'WhatsApp') {
        $link = 'whatsapp://send?text='.urlencode(html_entity_decode('Schau mal, was ich zum Thema '."\n".'"'.$breadcrumb.'" unter '."\n".$_SERVER['SCRIPT_URI']."\n".'gefunden habe.', ENT_COMPAT, 'UTF-8'));
        $title = 'WhatsApp - Seite empfehlen';
        $extra_class = ' whatsapp_share" ';
        $class = 'whatsapp';
    }
?>
<?php
    if ($class == 'mastodon') {
	    echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank" rel="me"><span>'.$title.'</span></a></li>'; 
	}
	else {
        echo '<li><a href="'.$link.'" class="'.$class.$extra_class.'" title="'.$title.'" target="_blank"><span>'.$title.'</span></a></li>'; 
    }
?>
 
<?php
        if ( (isset($hp)) && ($hp == true) ) {
?>

<?php
        }
?>
                        </ul>
                        
                    </div>
<?php
        }
?>
                    <?php
                        if (trim($copyright_head_image) != '') {
                            echo '<span class="header_copyright">Bildnachweis Titelbild: '.$copyright_head_image.'</span>';
                        }
                        if ('true' == 'true') { 
                    ?>
                        <span class="last_change">letzte Änderung:
                        <?php
                            if (function_exists('show_change_date')) {
                                $tmp = show_change_date();
                                $date_time = explode(' ', $tmp);
                                $date = explode('.', $date_time[0]);
                                if (('DEU' == 'DEU')|| ('DEU' == 'FRA')) echo $date_time[0];
                                else echo $date[2].'-'.$date[1].'-'.$date[0];
                            }
                            else {
                                echo trim('2012-06-04 14:50');
                            }
                        ?></span>
                    <?php
                        }
                    ?>

<?php
	}
?>

                </div>
            </div>
            <div class="footer-meta-navigation">
                <div class="content-wrap">
                    <span class="copyright">KIT – Die Universität in der Helmholtz-Gemeinschaft</span>
                    <ul>
                        <?php $meta_position = 'footer'; ?>
<?php
    $link =<<<HEREDOC
<a href="/index.php">Home</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>
<?php
    $short_language_mapping = array(
        'deutsch' => 'de',
        'german' => 'de',
        'allemand' => 'de',
        'aleman' => 'de',
        'немецкий' => 'de',
        '德语' => 'de',

        'englisch' => 'en',
        'english' => 'en',
        'anglais' => 'en',
        'ingles' => 'en',
        'английский' => 'en',
        '英语' => 'en',
        
        'französisch' => 'fr',
        'francais' => 'fr',
        'french' => 'fr',
        'frances' => 'fr',
        'французский' => 'fr',
        '法语' => 'fr',
        
        'spanisch' => 'es',
        'spanish' => 'es',
        'espagnol' => 'es',
        'espanol' => 'es',
        'испанский' => 'es',
        '西班牙语' => 'es',
        
        'russisch' => 'ru',
        'russian' => 'ru',
        'russe' => 'ru',
        'ruso' => 'ru',
        'русский' => 'ru',
        '俄语' => 'ru',

        'chinesisch' => 'zh',
        'chinese' => 'zh',
        'chinois' => 'zh',
        'chino' => 'zh',
        'китайский' => 'zh',
        '中國人' => 'zh',
    );
    unset($sprache);
    $sprache[] = 'deutsch';
    $sprache[] = 'english';
    $sprache[] = 'francais';
    $sprache[] = 'espanol';
    $sprache[] = 'русский';
    $sprache[] = '中國人';
    $gewaehlte_sprache = '1';
    $gewaehlte_sprache = intval($gewaehlte_sprache);
    
    // verfügbare Sprachen für Script-Container anbieten
    if (!isset($wsm_languages_available)) $wsm_languages_available = array();
    $wsm_languages_available[] = $gewaehlte_sprache;
    
    if (trim($sprache[$gewaehlte_sprache]) != '') {
        unset($url);
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/english/ps_ankuendigung.php';
        $url[] = '';
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/ps_ankuendigung.php';
        $url[] = '/ps_ankuendigung.php';

        // Links zu anderen Sprachen für Script-Container merken
        $wsm_languages_urls = $url;

        if (isset($short_language_mapping[strtolower($sprache[$gewaehlte_sprache])])) {
            $short = $short_language_mapping[strtolower($sprache[$gewaehlte_sprache])];
        }
        else {
            $short = $sprache[$gewaehlte_sprache];
        }
        if (!isset($navigation_language_switch)) $navigation_language_switch = '';


            $default_url = '';
            $own_language_server = strpos ($url[$gewaehlte_sprache], "://"); //neu
            if ((trim($url[$gewaehlte_sprache]) != '') && (file_exists($_SERVER['DOCUMENT_ROOT'].$url[$gewaehlte_sprache])))  { 
                $navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$url[$gewaehlte_sprache].'">'.$short.'</a></li>'; 
            }
            else if ($default_url != '') {
                $navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$default_url.'">'.$short.'</a></li>'; 
            } else if ($own_language_server !== false) { //neu
				$navigation_language_switch .= '<li><a hreflang="'.$short.'" href="'.$url[$gewaehlte_sprache].'">'.$short.'</a></li>'; 
			}
            unset($default_url);
            

        unset($url);
    }
    unset($sprache);
?>
<?php
    $link =<<<HEREDOC
<a href="/impressum.php">Impressum</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="/datenschutz.php">Datenschutz</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="https://www.kit.edu/redirect.php?page=barriere&lang=%lang%" target="\#A4636DEABB59442D84DAA4CDE1C05730">Barrierefreiheit</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="Startseite" href="', $link);
    if (substr_count(strtolower($link), 'sitemap')) $link = str_ireplace('href="', 'accesskey="3" href="', $link);
    if (substr_count(strtolower($link), 'impressum')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    if (substr_count(strtolower($link), 'legals')) $link = str_ireplace('href="', 'accesskey="8" href="', $link);
    $link = str_ireplace('%lang%', 'DEU', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="Startseite" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

                        
                        <li><a href="https://www.kit.edu"><span>KIT</span></a></li>
                        
                    </ul>
                </div>
            </div>
        </footer>
    <?php $timings['ende_footer'] = microtime(true); ?>
<script>
    noSpam();
    if (typeof(disable_faq) != 'boolean') {
        collapseFAQ();
    }

</script>

        
    </body>
    <?php $timings['ende_html'] = microtime(true); ?>
</html><?php
    $dummy =<<<'HEREDOC_DUMMY'

HEREDOC_DUMMY;
?>

<?php
	// if (!function_exists('intranet_only')) { // function muss global sein!
        function intranet_only() {
			global $overwrite_intranet_only;
            $dummy =<<<'HEREDOCDUMMY'

HEREDOCDUMMY;
			if (isset($overwrite_intranet_only)) $dummy = $overwrite_intranet_only;
            if (trim(strtolower($dummy)) == 'true') return true;
            else return false;
        }
    // }
    function show_meta_keywords() {
        $dummy =<<<'HEREDOCDUMMY'
Wirtschaftswissenschaften, Wirtschaftsingenieur, Wirtschaftsingenieurwesen, Wirtschaftsinformatik, Informationswirt, Informationswirtschaft, Volkswirtschaftslehre, Betriebswirtschaftslehre, Operations Research, Angewandte Informatik
HEREDOCDUMMY;
        return $dummy;
    }
    function show_meta_description() {
        $dummy =<<<'HEREDOCDUMMY'

HEREDOCDUMMY;
        return $dummy;
    }
    function show_change_date() {
        $return = trim('2020-08-05 12:04');
        $date_time = explode(' ', $return);
        $date = explode('-', $date_time[0]);
        return $date[2].'.'.$date[1].'.'.$date[0].' '.$date_time[1];
        // return '2020-08-05 12:04';
    }
    function show_change_author() {
        global $RenderTag_Meta_Author;
        if ($RenderTag_Meta_Author != '') return $RenderTag_Meta_Author;
        return 'Lukas Ochs (inaktiv)';
    }
    function get_container_name_for_breadcrumb() {
        return '';
    }
	if (isset($global_title_containername) && ($global_title_containername != '')) {
		if (get_container_name_for_breadcrumb() != '') {
			echo '<script>$(document).attr("title", $(document).attr("title").substr(0, $(document).attr("title").length - '.(strlen(get_container_name_for_breadcrumb()) + 2).') + " - '.htmlspecialchars(html_entity_decode($global_title_containername)).'")</script>';
		}
		else {
			echo '<script>$(document).attr("title", $(document).attr("title") + " - '.htmlspecialchars(html_entity_decode($global_title_containername)).'")</script>';
		}
	}
/*

*/
?>
