<?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=791075B04622456B966857A43AD135A7&parentpageguid=&pageguid=83BFB4571B564F75A2E0252B57965386&forceprojectvariant=1&targetcontainerguid=&containerpageguid=&projectvariantguid=&languagevariantid=ENG&islink=1&themepath=ioRD.asp?Action=ShowLoginMask&LanguageVariantGuid=90C69E9A9F9C495E8D96CBC392D4C4C9&ProjectVariantGuid=&ProjectGuid=140AF4128F194B9FA27CFF9FE5B47878&PageGuid=83BFB4571B564F75A2E0252B57965386&LinkFromGuid=791075B04622456B966857A43AD135A7&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=83BFB4571B564F75A2E0252B57965386;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=791075B04622456B966857A43AD135A7&parentpageguid=&pageguid=83BFB4571B564F75A2E0252B57965386&forceprojectvariant=1&targetcontainerguid=&containerpageguid=&projectvariantguid=&languagevariantid=ENG&islink=1&themepath=ioRD.asp?Action=ShowLoginMask&LanguageVariantGuid=90C69E9A9F9C495E8D96CBC392D4C4C9&ProjectVariantGuid=&ProjectGuid=140AF4128F194B9FA27CFF9FE5B47878&PageGuid=83BFB4571B564F75A2E0252B57965386&LinkFromGuid=791075B04622456B966857A43AD135A7&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 Department of<br>Business and Economics
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'
/english/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="en-gb">
<?php $timings['start_html'] = microtime(true); ?>

    <?php echo '<he'.'ad> <!-- PageID 904 -->'; $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="/english/style_wiwi.css" />

<link rel="stylesheet" type="text/css" href="<?php
    $filename_php =<<<'NOWDOC_FILE'
/english/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[] = '/hinweiseBafoeg.php';
    $url[] = '/english/hinweiseBafoeg.php';
    $url[] = '/english/hinweiseBafoeg.php';
    $url[] = '/english/hinweiseBafoeg.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="en-gb" />
<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="/english/js_wiwi.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="83BFB4571B564F75A2E0252B57965386" />
        <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'
/english/index.php
NOWDOC;
                    */
        		    $result .= '<li class="home"><a href="'.trim($root_link).'" title="startpage"><span>Startpage</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('/english/10.json', '//') === false)
                            $json = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/english/10.json');
						else
                            $json = file_get_contents('/english/10.json');
        			?>
        <?php
			$special_include = '/english/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 = '83BFB4571B564F75A2E0252B57965386';

        	$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'
BAFöG, certificate according to §48
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/english/" title="KIT-Homepage"><svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 262.42667 118.96" height="118.96" width="262.42667" xml:space="preserve" id="svg2" version="1.1">
    <title id="kit-logo-alt-title">KIT - Karlsruhe Institute of Technology</title>
    <metadata id="metadata8">
        <rdf:RDF>
            <cc:Work rdf:about="">
                <dc:format>image/svg+xml</dc:format>
                <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
            </cc:Work>
        </rdf:RDF>
    </metadata>
    <defs id="defs6" />
    <g transform="matrix(1.3333333,0,0,-1.3333333,0,118.96)" id="g10">
        <g transform="scale(0.1)" id="g12">
            <path id="path14" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M 1223.53,190.918 H 1009.7 L 755.531,463.789 V 620.031 L 1001.77,892.188 H 1222.1 L 938.406,539.391 1223.53,190.918 Z m 224.64,0 h -192.24 v 700.551 h 192.24 V 190.918 Z m 509.05,700.551 h -462.97 v -157.68 h 135.37 V 190.195 h 192.23 v 543.594 h 135.37 v 157.68 0" />
            <path id="path16" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" d="m 709.449,190.918 v 0 0 0 0" />
            <path id="path18" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" d="m 709.449,190.918 v 0 0 0 0" />
            <path id="path20" style="fill:#009682;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M 161.527,635.148 C 124.809,590.508 93.1289,541.547 68.6484,488.988 L 709.449,190.918 161.527,635.148 v 0" />
            <path id="path22" style="fill:#009682;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M 709.449,190.918 410.648,826.672 C 357.367,802.188 308.406,771.949 263.77,735.949 L 709.449,190.918 v 0 0" />
            <path id="path24" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" d="m 709.449,190.918 0.723,700.551 c -2.164,0 -3.602,0 -5.762,0 -56.883,0 -112.32,-7.199 -165.601,-20.16 l 170.64,-680.391 v 0 0" />
            <path id="path26" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" d="m 709.449,190.918 v 0 0 0 0 0" />
            <path id="path28" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" d="m 709.449,190.918 v 0 0 0 0 0" /> 
            <path id="path30" style="fill:#009682;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M 22.5703,362.266 C 8.16797,307.539 0.972656,249.941 0.25,190.918 H 709.449 L 22.5703,362.266 v 0" />
            <g class="logo-text">
                <path id="path32" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 0,28.4375 H 12.8008 V 72.2266 L 52.6133,28.4375 H 71.3047 L 25.9844,75.5469 67.9766,117.793 H 50.9531 L 12.8008,78.4961 V 117.793 H 0 v -89.3555 0" />
                <path id="path34" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 122.383,53.7891 c 0,-9.7266 -6.274,-17.168 -18.18,-17.168 -5.4999,0 -12.1639,3.7109 -12.1639,10.625 0,11.5234 16.1369,12.5586 22.6639,12.5586 2.559,0 5.117,-0.2539 7.68,-0.2539 V 53.7891 Z M 87.3047,78.8672 c 4.8672,4.1016 12.1641,6.6601 18.9453,6.6601 12.035,0 16.133,-5.7617 16.133,-17.0312 -4.738,0.2539 -8.067,0.2539 -12.805,0.2539 -12.4139,0 -30.3397,-5.1172 -30.3397,-21.5039 0,-14.1992 9.8594,-20.3711 23.9417,-20.3711 11.008,0 17.406,6.0352 20.222,10 h 0.258 v -8.4375 h 11.266 c -0.258,1.9141 -0.512,5.3711 -0.512,12.793 v 27.0117 c 0,17.793 -7.555,27.0117 -26.238,27.0117 -8.3283,0 -15.4963,-2.5586 -21.5119,-6.1328 l 0.6406,-10.2539 v 0" />
                <path id="path36" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 154.77,28.4375 h 12.031 v 29.707 c 0,16.3672 7.043,26.6211 17.793,26.6211 2.051,0 4.484,-0.2539 6.66,-1.1523 v 10.7422 c -2.559,0.5273 -4.356,0.8984 -7.938,0.8984 -6.91,0 -13.824,-4.8633 -17.027,-11.6406 h -0.254 V 93.7305 H 154.77 v -65.293 0" />
                <path id="path38" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 206.105,28.4375 h 12.036 v 96.0155 h -12.036 v -96.0155 0" />
                <path id="path40" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 234.652,30.4883 c 5.504,-2.9688 11.778,-3.6133 17.922,-3.6133 11.649,0 22.785,6.4258 22.785,20.3711 0,20.8789 -28.289,17.0312 -28.289,30.3516 0,5.3711 5.375,7.9296 11.52,7.9296 2.816,0 9.984,-1.6601 12.676,-3.3203 l 1.019,10.4883 c -4.734,1.4063 -9.34,2.5586 -14.976,2.5586 -12.93,0 -23.039,-6.5234 -23.039,-20.0976 0,-18.3008 28.289,-17.2852 28.289,-29.1797 0,-7.0508 -6.782,-9.3555 -12.289,-9.3555 -3.457,0 -10.243,1.543 -14.977,4.6094 l -0.641,-10.7422 v 0" />
                <path id="path42" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 289.957,28.4375 h 12.031 v 29.707 c 0,16.3672 7.039,26.6211 17.793,26.6211 2.051,0 4.481,-0.2539 6.66,-1.1523 v 10.7422 c -2.558,0.5273 -4.355,0.8984 -7.941,0.8984 -6.914,0 -13.82,-4.8633 -17.023,-11.6406 h -0.254 v 10.1172 h -11.266 v -65.293 0" />
                <path id="path44" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 397.484,93.7305 H 385.453 V 63.5156 c 0,-15.8789 -6.14,-26.8945 -19.844,-26.8945 -10.496,0.6445 -13.824,8.0664 -13.824,23.3008 V 93.7305 H 339.758 V 54.9414 c 0,-17.5391 7.547,-28.0664 24.445,-28.0664 9.09,0 17.793,4.5117 21.379,11.9336 h 0.258 V 28.4375 h 11.644 v 65.293 0" />
                <path id="path46" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 417.969,28.4375 H 430 v 30.2148 c 0,15.8594 6.148,26.875 19.844,26.875 10.5,-0.6445 13.824,-8.0664 13.824,-23.3007 V 28.4375 h 12.035 v 38.7891 c 0,17.539 -7.555,28.0273 -24.453,28.0273 -9.086,0 -16.641,-3.9648 -20.992,-10.8789 H 430 v 40.078 h -12.031 v -96.0155 0" />
                <path id="path48" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 504.633,67.3438 c 0.894,8.457 5.762,18.1835 17.539,18.1835 10.367,0 16.258,-8.1835 16.258,-18.1835 h -33.797 z m 41.601,-24.1797 c -2.941,-2.4414 -12.156,-6.543 -20.097,-6.543 -11.391,0 -21.504,8.8477 -21.504,21.7773 h 46.597 c 0,20.9961 -7.042,36.8555 -28.804,36.8555 -18.434,0 -30.594,-13.6914 -30.594,-33.0273 0,-21.25 10.625,-35.3516 33.793,-35.3516 10.754,0 16,2.5781 20.609,4.2578 v 12.0313 0" />
                <path id="path50" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 604.102,28.4375 h 12.796 v 89.3555 h -12.796 v -89.3555 0" />
                <path id="path52" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 638.535,28.4375 h 12.035 v 30.2148 c 0,15.8594 6.145,26.875 19.84,26.875 10.496,-0.6445 13.828,-8.0664 13.828,-23.3007 V 28.4375 h 12.032 v 38.7891 c 0,17.539 -7.547,28.0273 -24.45,28.0273 -9.09,0 -17.797,-4.4726 -21.375,-11.8945 h -0.257 v 10.3711 h -11.653 v -65.293 0" />
                <path id="path54" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 711.25,30.4883 c 5.504,-2.9688 11.777,-3.6133 17.922,-3.6133 11.648,0 22.781,6.4258 22.781,20.3711 0,20.8789 -28.285,17.0312 -28.285,30.3516 0,5.3711 5.371,7.9296 11.52,7.9296 2.816,0 9.984,-1.6601 12.671,-3.3203 l 1.024,10.4883 c -4.738,1.4063 -9.34,2.5586 -14.977,2.5586 -12.929,0 -23.043,-6.5234 -23.043,-20.0976 0,-18.3008 28.293,-17.2852 28.293,-29.1797 0,-7.0508 -6.785,-9.3555 -12.293,-9.3555 -3.457,0 -10.238,1.543 -14.972,4.6094 L 711.25,30.4883 v 0" />
                <path id="path56" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 801.246,93.7305 H 783.961 V 112.676 L 771.93,108.828 V 93.7305 H 757.207 V 83.9844 H 771.93 V 45.8398 c 0,-13.0468 7.675,-18.9648 20.097,-18.9648 3.836,0 7.547,1.0352 10.239,1.8164 v 10.2344 c -1.793,-1.1524 -4.485,-2.3047 -8.196,-2.3047 -5.5,0 -10.109,4.1016 -10.109,11.6602 v 35.7031 h 17.285 v 9.7461 0" />
                <path id="path58" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 830.688,121.895 H 817.117 V 108.32 h 13.571 v 13.575 z M 817.887,28.4375 h 12.031 v 65.293 h -12.031 v -65.293 0" />
                <path id="path60" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 886.633,93.7305 h -17.285 v 18.9455 l -12.035,-3.848 V 93.7305 h -14.719 v -9.7461 h 14.719 V 45.8398 c 0,-13.0468 7.683,-18.9648 20.097,-18.9648 3.844,0 7.551,1.0352 10.242,1.8164 v 10.2344 c -1.789,-1.1524 -4.476,-2.3047 -8.195,-2.3047 -5.504,0 -10.109,4.1016 -10.109,11.6602 v 35.7031 h 17.285 v 9.7461 0" />
                <path id="path62" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 959.469,93.7305 H 947.438 V 63.5156 c 0,-15.8789 -6.145,-26.8945 -19.844,-26.8945 -10.5,0.6445 -13.824,8.0664 -13.824,23.3008 V 93.7305 H 901.734 V 54.9414 c 0,-17.5391 7.551,-28.0664 24.454,-28.0664 9.085,0 17.792,4.5117 21.375,11.9336 h 0.257 V 28.4375 h 11.649 v 65.293 0" />
                <path id="path64" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1014.64,93.7305 h -17.277 v 18.9455 l -12.035,-3.848 V 93.7305 h -14.723 v -9.7461 h 14.723 V 45.8398 c 0,-13.0468 7.68,-18.9648 20.102,-18.9648 3.84,0 7.55,1.0352 10.23,1.8164 v 10.2344 c -1.78,-1.1524 -4.48,-2.3047 -8.19,-2.3047 -5.5,0 -10.107,4.1016 -10.107,11.6602 v 35.7031 h 17.277 v 9.7461 0" />
                <path id="path66" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1038.2,67.3438 c 0.89,8.457 5.76,18.1835 17.53,18.1835 10.37,0 16.26,-8.1835 16.26,-18.1835 h -33.79 z m 41.6,-24.1797 c -2.94,-2.4414 -12.15,-6.543 -20.09,-6.543 -11.4,0 -21.51,8.8477 -21.51,21.7773 h 46.59 c 0,20.9961 -7.04,36.8555 -28.79,36.8555 -18.44,0 -30.61,-13.6914 -30.61,-33.0273 0,-21.25 10.64,-35.3516 33.8,-35.3516 10.75,0 16.01,2.5781 20.61,4.2578 v 12.0313 0" />
                <path id="path68" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1144.96,61.0742 c 0,12.4219 7.56,24.4531 20.48,24.4531 12.8,0 20.36,-12.0312 20.36,-24.4531 0,-11.6406 -6.27,-24.4531 -20.36,-24.4531 -14.21,0 -20.48,12.8125 -20.48,24.4531 z m -12.8,0 c 0,-18.6914 13.57,-34.1992 33.28,-34.1992 19.59,0 33.16,15.5078 33.16,34.1992 0,19.8438 -13.32,34.1797 -33.16,34.1797 -19.96,0 -33.28,-14.3359 -33.28,-34.1797 v 0" />
                <path id="path70" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1222.54,28.4375 h 12.03 v 55.5469 h 17.29 v 9.7461 h -17.29 v 7.0315 c 0,8.828 1.28,15.488 11.65,15.488 2.05,0 4.36,-0.254 5.76,-0.762 l 0.51,9.727 c -2.43,0.39 -4.99,0.762 -8.07,0.762 -17.79,0 -21.88,-10.372 -21.88,-26.2309 v -6.0156 h -15.36 v -9.7461 h 15.36 v -55.5469 0" />
                <path id="path72" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1319.06,28.4375 h 12.81 v 78.0855 h 27.77 v 11.27 h -68.36 v -11.27 h 27.78 v -78.0855 0" />
                <path id="path74" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1370.27,67.3438 c 0.89,8.457 5.76,18.1835 17.53,18.1835 10.37,0 16.26,-8.1835 16.26,-18.1835 h -33.79 z m 41.61,-24.1797 c -2.95,-2.4414 -12.16,-6.543 -20.1,-6.543 -11.4,0 -21.51,8.8477 -21.51,21.7773 h 46.6 c 0,20.9961 -7.05,36.8555 -28.8,36.8555 -18.44,0 -30.61,-13.6914 -30.61,-33.0273 0,-21.25 10.64,-35.3516 33.8,-35.3516 10.75,0 16.01,2.5781 20.62,4.2578 v 12.0313 0" />
                <path id="path76" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1475.5,92.6953 c -3.46,1.4063 -9.73,2.5586 -14.6,2.5586 -19.96,0 -33.28,-14.3359 -33.28,-34.1797 0,-18.6914 13.57,-34.1992 33.28,-34.1992 4.35,0 10.12,0.3906 15.11,2.7148 l -0.89,10.7422 c -3.72,-2.4218 -8.84,-3.7109 -12.93,-3.7109 -15.5,0 -21.77,12.8125 -21.77,24.4531 0,12.4219 7.56,24.4531 21,24.4531 3.83,0 8.44,-0.8984 13.05,-2.8125 l 1.03,9.9805 v 0" />
                <path id="path78" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1489.83,28.4375 h 12.04 v 30.2148 c 0,15.8594 6.14,26.875 19.84,26.875 10.5,-0.6445 13.82,-8.0664 13.82,-23.3007 V 28.4375 h 12.04 v 38.7891 c 0,17.539 -7.56,28.0273 -24.45,28.0273 -9.1,0 -16.65,-3.9648 -21,-10.8789 h -0.25 v 40.078 h -12.04 v -96.0155 0" />
                <path id="path80" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1568.05,28.4375 h 12.03 v 30.2148 c 0,15.8594 6.15,26.875 19.84,26.875 10.5,-0.6445 13.83,-8.0664 13.83,-23.3007 V 28.4375 h 12.03 v 38.7891 c 0,17.539 -7.55,28.0273 -24.45,28.0273 -9.08,0 -17.79,-4.4726 -21.38,-11.8945 h -0.25 v 10.3711 h -11.65 v -65.293 0" />
                <path id="path82" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1654.72,61.0742 c 0,12.4219 7.55,24.4531 20.48,24.4531 12.8,0 20.35,-12.0312 20.35,-24.4531 0,-11.6406 -6.27,-24.4531 -20.35,-24.4531 -14.21,0 -20.48,12.8125 -20.48,24.4531 z m -12.81,0 c 0,-18.6914 13.57,-34.1992 33.29,-34.1992 19.58,0 33.15,15.5078 33.15,34.1992 0,19.8438 -13.31,34.1797 -33.15,34.1797 -19.98,0 -33.29,-14.3359 -33.29,-34.1797 v 0" />
                <path id="path84" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1726.02,28.4375 h 12.03 v 96.0155 h -12.03 v -96.0155 0" />
                <path id="path86" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1768.52,61.0742 c 0,12.4219 7.54,24.4531 20.47,24.4531 12.81,0 20.37,-12.0312 20.37,-24.4531 0,-11.6406 -6.28,-24.4531 -20.37,-24.4531 -14.2,0 -20.47,12.8125 -20.47,24.4531 z m -12.81,0 c 0,-18.6914 13.57,-34.1992 33.28,-34.1992 19.59,0 33.16,15.5078 33.16,34.1992 0,19.8438 -13.31,34.1797 -33.16,34.1797 -19.97,0 -33.28,-14.3359 -33.28,-34.1797 v 0" />
                <path id="path88" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1864.9,38.1641 c -11.26,0 -18.17,10.7617 -18.17,23.0468 0,11.1329 6.01,24.3164 18.17,24.3164 12.81,0 19.08,-11.6406 19.08,-25.2148 0,-12.168 -7.81,-22.1484 -19.08,-22.1484 z m 31.12,55.5664 h -11.15 v -9.7461 h -0.25 c -3.58,7.0508 -9.98,11.2695 -21.5,11.2695 -19.72,0 -29.19,-17.9101 -29.19,-34.6875 0,-16.8945 9.21,-32.1289 27.91,-32.1289 8.32,0 16.76,3.3203 21.89,10.1172 h 0.25 v -6.4063 c 0,-13.8476 -7.55,-22.42184 -20.22,-22.42184 -8.84,0 -14.35,1.66014 -23.55,5.87894 L 1838.93,4.47266 C 1849.41,0.898438 1855.43,0 1862.34,0 c 23.43,0 33.68,11.3867 33.68,31.25 v 62.4805 0" />
                <path id="path90" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 1910.87,0.898438 C 1913.04,0.507813 1915.21,0 1919.05,0 c 15.88,0 20.62,14.4531 25.1,27.0117 l 24.06,66.7188 h -12.16 L 1938.13,39.707 h -0.26 l -17.53,54.0235 h -13.19 L 1929.3,32.793 c 0.77,-2.1875 2.3,-5.5274 2.3,-6.9336 0,-1.2891 -3.58,-16.13284 -14.33,-16.13284 -2.06,0 -4.1,0.50784 -5.64,1.01564 l -0.76,-9.843762 v 0" />
            </g>
        </g>
    </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="skip navigation"><a href="#main_content" class="skip_navigation" tabindex="1" accesskey="2">skip navigation</a></li>

                            <?php $meta_position = 'navigation-meta'; ?>
<?php
    $link =<<<HEREDOC
<a href="/english/index.php">Home</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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 = '0';
    $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[] = '/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.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="/english/impressum.php">Legals</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="/english/datenschutz.php">Privacy Policy</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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">Accessibility</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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/english/" 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'
/english/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="search" aria-label="search" size="1" required="required"/>
                                    <?php if (strtolower($_SERVER['SERVER_NAME']) != 'www.kit.edu') { ?><input name="local_search" type="hidden" value="true"><?php } ?>
                                    <button><span>search</span></button>
                                </form>
                            </div><a id="meta_search_label" role="switch" aria-checked="false" class="search-trigger" title="search" href="#"><span>search</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="/english/index.php">Home</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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 = '0';
    $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[] = '/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.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="/english/impressum.php">Legals</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="/english/datenschutz.php">Privacy Policy</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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">Accessibility</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

                        <?php
                            $suche_link =<<<'NOWDOC'
/english/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="search"><span>search</span></a>
                            <div class="search-form">
                                <form action="<?php echo $suche_link ?>">
                                    <input id="side_widget_search_input" type="search" name="searchquery" placeholder="search" aria-label="search" size="1" required="required"/>
                                    <?php if (strtolower($_SERVER['SERVER_NAME']) != 'www.kit.edu') { ?><input name="local_search" type="hidden" value="true"><?php } ?>
                                    <button><span>search</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="Campus Map"><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">Campus Map</span></a>
                        </li>
                        <?php
                            }
                        ?>
                    </ul>





<!-- 


/img/WeblogoRechtsMitRand.png
KIT Department of<br>Business and Economics
/img/WeblogoRechtsMitRand.png
/english/index.php

 -->







                </div>
            </div>
        </header>






<?php $timings['start_main'] = microtime(true); ?>












        <!-- Mittlere Spalte: start -->
        <main>
        <?php
            if (('false' == 'true') && ('6' == '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="Target groups">
                <h2 style="display:none; visibility:hidden">&nbsp;</h2>
                <div class="content-wrap">
                    <div class="buttons">
                        
                    </div>
                    <?php
                        $suche_link =<<<'NOWDOC'
/english/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="search" id="target-groups-search" name="searchquery" aria-label="search"/>
                        <?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="search"></button>
                    </form>
                    <?php
                        }
                    ?>
                </div>
            </section>
            
            <?php } ?>
            <div class="side-widgets-trigger"></div>
            <section class="mobile-entries" role="navigation" aria-label="Target groups">
                <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 ('6' > '2') {
                if ((trim($breadcrumb_prefix) != '') || ('6' > '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 'Startpage';
                                    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 = '83BFB4571B564F75A2E0252B57965386'; $wsm_language = 'ENG'; ?>
                    
                    
<?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')) {

?>
                    
                    <!-- Textblock [start] --><!-- [905] Text -->
<?php
// dependent_sizes
    $parentguid = '25856133-c644-48ff-baaa-51800015ce27';
    $dependent_sizes = '';
    if (trim($dependent_sizes) == '') $dependent_sizes = '{}';
    $dependent_sizes = json_decode($dependent_sizes, true);

    if (is_array($dependent_sizes) && array_key_exists($parentguid, $dependent_sizes)) $chosen_size = $dependent_sizes[$parentguid];
	else $chosen_size = 'full';
?>
<?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('GUP', explode(';', ''))) && (in_array('affiliate@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 ('' == '') {
			$shibboleth_show_block = true;
		}
	}
	if ($shibboleth_show_block) {
?>

<div data-selectorid="905" class="KIT_section text  full" ><a id="block905" name="block905"><!-- Sprungmarke --></a><h1>BAF&ouml;G certificate according to &sect; 48 for Bachelor&#39;s and Master&#39;s degree programs</h1><div class="text "><h5><strong>Industrial Engineering, Digital Economics and Technical Economics - valid from 1/2025</strong></h5>

<p>At regular intervals (usually after the 4th and 6th semester), BAF&ouml;G recipients will have their academic performance reviewed. A positive decision is based on performance requirements according to the following central requirement:<br />
<br />
1. previous performance suggests that the educational goal will be achieved.&nbsp;<br />
2. the progress required for this can be recognized.<br />
3. by the end of the respective semester, the usual performance is demonstrated.</p>

<p><strong>As a rule</strong> and with proof of the respective minimum performance, the responsible BAF&ouml;G office of the Studierendenwerk KA is satisfied with the submission of a current transcript of records with all achievements (including those that have not been passed), as the sum of the LP/ECTS is documented on the transcript of records and the individual achievements are shown with the examination date.</p>

<table style="width:auto">
	<thead>
		<tr>
			<th colspan="3">
			<table>
				<thead>
					<tr>
						<th colspan="3" style="text-align: center;">Required minimum total output in<br />
						LP/ECTS<br />
						after the respective semester until the end of<br />
						standard period of study*)</th>
					</tr>
				</thead>
			</table>
			</th>
		</tr>
		<tr>
			<th>Semester</th>
			<th>Bachelor</th>
			<th>Master</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td style="text-align:center">1</td>
			<td style="text-align:center">23</td>
			<td style="text-align:center">22</td>
		</tr>
		<tr>
			<td style="text-align:center">2</td>
			<td style="text-align:center">46</td>
			<td style="text-align:center">45</td>
		</tr>
		<tr>
			<td style="text-align:center">3</td>
			<td style="text-align:center">70</td>
			<td style="text-align:center">67</td>
		</tr>
		<tr>
			<td style="text-align:center">4</td>
			<td style="text-align:center">93</td>
			<td style="text-align:center">90</td>
		</tr>
		<tr>
			<td style="text-align:center">5</td>
			<td style="text-align:center">116</td>
			<td style="text-align:center">&nbsp;</td>
		</tr>
		<tr>
			<td style="text-align:center">6</td>
			<td style="text-align:center">140</td>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>

<div class="highlight_txtbox">
<p>*)Achievements that were completed before admission to the current KIT degree program and then recognized are not taken into account.</p>
</div>

<p>If the performance requirement is not met - or in certain exceptional cases - the form for &sect; 48 BAF&ouml;G must be submitted to the responsible office of the KIT faculty for processing. This procedure is clarified in advance with the responsible person at the Baf&ouml;g office in the Studierendenwerk KA. At the Faculty of Economics, the form is submitted to the examination office in such a case. It is best to send it (pre-filled with personal data) as a PDF printout attached to an email/KIT account and together with a current grade transcript (with all entries) to <?php if (function_exists('show_mailaddress')) { echo show_mailaddress("pruefungssekretariat", "wiwi.kit.edu", "Pruefungssekretariat", "emailform.php", false, ""); } ?>. It is important to explicitly state for which semester the performance certificate is to be issued.</p>

<p><br />
<strong>Bearbeitungszeit:</strong> 14 days<br />
<strong>R&uuml;ckgabe:</strong> Attached to an e-mail (PDF format)</p></div></div><?php
    } // $shibboleth_show_block
?>
<!-- [905] Text --><!-- Textblock [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">More detailed information is available within the KIT-network.</div><?php } ?>
                    <!-- CONTENT-AREA END -->
                </div>
            </section>
        </main>
        <!-- Mittlere Spalte: end -->
        <button class="to-top-button" aria-label="scroll back to top"></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 -->

<!-- Infobox Kontakt [start] -->





<?php $has_infobox = true; $list_filled = false; 
    if (!function_exists('fix_phonenumber_2011')) {
        function fix_phonenumber_2011($number) {
            $fixed_number = $number;
            if (date('Y') > 2010) {
                // CN-Nummern
                $fixed_number = preg_replace('/(\(){0,1}(\+49){0,1}(\)){0,1}(\s)*(\(){0,1}0{0,1}(\)){0,1}7247([\s-])*82([\s-])*(([0-9]){4}(([^0-9])|$))/','+49 721 608-2${9}',$fixed_number);
                // CS-Nummern
                $fixed_number = preg_replace('/(\(){0,1}(\+49){0,1}(\)){0,1}(\s)*(\(){0,1}0{0,1}(\)){0,1}721([\s-])*608([\s-])*(([0-9]){4}(([^0-9])|$))/','+49 721 608-4${9}',$fixed_number);
                // BIT8000
                $fixed_number = preg_replace('/\+49 721 608-[24]8000/','+49 721 608-8000',$fixed_number);
            }
            return $fixed_number;
        }
    }
?>

<div class="KIT_section infobox kontakt column fourth">
            <h3 class="underline">Examination office</h3>            <span class="mittel">
                Ralf Hilser, Sophie Wieczorek<br>                            </span>
            <span>
                <p>&nbsp;</p>

<p>College building at Kronenplatz<br />
Building 05.20, 3rd floor, room 3B-01/02</p>

<p>76133 Karlsruhe<br />
Phone +49 721 608-43768<br />
Fax +49 721 608-48028<br />
Mail: <a href="mailto:info@wiwi.kit.edu">info</a><a href="mailto:pruefungssekretariat@wiwi.kit.edu">@wiwi.kit.edu</a></p>            </span>
</div>

<?php $has_infobox = true; ?>


<!-- Infobox Kontakt [end] --> <!-- Infobox [start] -->



<?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 ('' == '') {
			$shibboleth_show_block = true;
		}
	}
	if ($shibboleth_show_block) {
?><div class="infobox column fourth" id="block1145">
        <h3 class="underline">Quick start</h3>                <p><a data-cke-saved-href="http://www.studentenwerk-karlsruhe.de/de/finanzen/bafoeg/" href="http://www.studentenwerk-karlsruhe.de/de/finanzen/bafoeg/">BaF&ouml;G Information Student Services</a></p><p><a data-cke-saved-href="http://www.studieninfo-bw.de/studieren/studienfinanzierung/bafoeg/" href="http://www.studieninfo-bw.de/studieren/studienfinanzierung/bafoeg/">BaF&ouml;G information Baden-W&uuml;rttemberg</a></p></div>
<?php
	} // $shibboleth_show_block
?> 
<?php $has_infobox = true; ?>
<!-- Infobox [end] -->
 
<!-- 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 Profile ';
        $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 Profile ';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = '';
        $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 = 'Share on Facebook';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profile';
        $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 = 'Share on Xing';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profile ';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profile ';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = '';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Mastodon Profile';
        $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 Profile';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Channel (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 = 'Share on X (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Share on Google+';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profile';
        $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 = 'Share on WhatsApp';
        $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 Profile ';
        $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 Profile ';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = '';
        $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 = 'Share on Facebook';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profile';
        $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 = 'Share on Xing';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profile ';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profile ';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = '';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Mastodon Profile';
        $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 Profile';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Channel (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 = 'Share on X (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Share on Google+';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profile';
        $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 = 'Share on WhatsApp';
        $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 Profile ';
        $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 Profile ';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = '';
        $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 = 'Share on Facebook';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profile';
        $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 = 'Share on Xing';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profile ';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profile ';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = '';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Mastodon Profile';
        $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 Profile';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Channel (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 = 'Share on X (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Share on Google+';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profile';
        $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 = 'Share on WhatsApp';
        $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 ('ENG' != '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 ('ENG' != '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" : "83BFB4571B564F75A2E0252B57965386",
                            "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 Profile ';
        $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 Profile ';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = '';
        $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 = 'Share on Facebook';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profile';
        $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 = 'Share on Xing';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profile ';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profile ';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = '';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Mastodon Profile';
        $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 Profile';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Channel (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 = 'Share on X (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Share on Google+';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profile';
        $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 = 'Share on WhatsApp';
        $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 Profile ';
        $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 Profile ';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = '';
        $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 = 'Share on Facebook';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profile';
        $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 = 'Share on Xing';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profile ';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profile ';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = '';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Mastodon Profile';
        $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 Profile';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Channel (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 = 'Share on X (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Share on Google+';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profile';
        $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 = 'Share on WhatsApp';
        $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 Profile ';
        $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 Profile ';
        $class = 'facebook';
    }
    if ($sm_type == 'RSS') {
        $link = $username;
        $title = '';
        $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 = 'Share on Facebook';
        $class = 'facebook';
    }
    if ($sm_type == 'Instagram') {
        $link = 'https://www.instagram.com/'.$username;
        $title = 'Instagram Profile';
        $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 = 'Share on Xing';
        $class = 'xing';
    }
    if ($sm_type == 'XING: Gruppe/Profil') {
        $link = 'https://www.xing.com/'.$username;
        $title = 'Xing Profile ';
        $class = 'xing';
    }
    if ($sm_type == 'LinkedIn') {
        $link = 'https://www.linkedin.com/'.$username;
        $title = 'LinkedIn Profile ';
        $class = 'linkedin';
    }
    if ($sm_type == 'TikTok') {
        $link = 'https://www.tiktok.com/'.$username;
        $title = '';
        $class = 'tiktok';
    }    
    if ($sm_type == 'Mastodon') {
        if (strpos($username, '://') !== false) {
            $link = $username;
        }
        else {
            $link = 'https://mastodon.social/@'.$username;
        }
        $title = 'Mastodon Profile';
        $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 Profile';
        $class = 'researchgate';
    }
    if ($sm_type == 'Twitter: Profil') {
        $link = 'https://twitter.com/'.$username;
        $title = 'X Channel (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 = 'Share on X (Twitter)';
        $class = 'twitter';
    }
    if ($sm_type == 'Google+: Empfehlen') {
        $link = 'https://plus.google.com/share?url='.urlencode($_SERVER['SCRIPT_URI']);
        $title = 'Share on Google+';
        $class = 'google-plus';
    }
    if ($sm_type == 'Google+: Profil') {
        $link = 'https://plus.google.com/'.$username.'/posts';
        $title = 'Google+ Profile';
        $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 = 'Share on WhatsApp';
        $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">Credits cover image: '.$copyright_head_image.'</span>';
                        }
                        if ('true' == 'true') { 
                    ?>
                        <span class="last_change">last change:
                        <?php
                            if (function_exists('show_change_date')) {
                                $tmp = show_change_date();
                                $date_time = explode(' ', $tmp);
                                $date = explode('.', $date_time[0]);
                                if (('ENG' == 'DEU')|| ('ENG' == 'FRA')) echo $date_time[0];
                                else echo $date[2].'-'.$date[1].'-'.$date[0];
                            }
                            else {
                                echo trim('2024-06-14 09:08');
                            }
                        ?></span>
                    <?php
                        }
                    ?>

<?php
	}
?>

                </div>
            </div>
            <div class="footer-meta-navigation">
                <div class="content-wrap">
                    <span class="copyright">KIT – The University in the Helmholtz Association</span>
                    <ul>
                        <?php $meta_position = 'footer'; ?>
<?php
    $link =<<<HEREDOC
<a href="/english/index.php">Home</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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 = '0';
    $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[] = '/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.php';
        $url[] = '/english/hinweiseBafoeg.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="/english/impressum.php">Legals</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" href="'.$root_link.'">Home</a>';
    }
    echo '<li';
    if ($meta_position == 'side-widget') echo ' class="meta"';
    echo '>'.$link.'</li>'."\n";
?>

<?php
    $link =<<<HEREDOC
<a href="/english/datenschutz.php">Privacy Policy</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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">Accessibility</a>
HEREDOC;
    if (substr_count(strtolower($link), 'home')) $link = str_ireplace('href="', 'accesskey="1" title="startpage" 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%', 'ENG', $link);
    if (trim(strtolower(strip_tags($link))) == 'home') {
        $link = '<a accesskey="1" title="startpage" 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/english/"><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, Informationswirt, Informationswirtschaft, Volkswirtschaftslehre, Betriebswirtschaftslehre, Operations Research, Angewandte Informatik, Wirtschaftsinformatik
HEREDOCDUMMY;
        return $dummy;
    }
    function show_meta_description() {
        $dummy =<<<'HEREDOCDUMMY'

HEREDOCDUMMY;
        return $dummy;
    }
    function show_change_date() {
        $return = trim('2025-10-13 13:47');
        $date_time = explode(' ', $return);
        $date = explode('-', $date_time[0]);
        return $date[2].'.'.$date[1].'.'.$date[0].' '.$date_time[1];
        // return '2025-10-13 13:47';
    }
    function show_change_author() {
        global $RenderTag_Meta_Author;
        if ($RenderTag_Meta_Author != '') return $RenderTag_Meta_Author;
        return 'Melanie Ungemach';
    }
    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>';
		}
	}
/*

*/
?>
