$tonne ) { if ( strtolower( substr( $key, 0, 2 ) ) == "gc" ) // Paramter, die mit "gc" beginnen, löschen { unset( $_GET[$key] ); } } $GLOBALS["count"] = array(); $time = microtime( true ); //$Id: index.php 7605 2022-06-24 11:37:59Z erling $ // error_reporting(-1); // ini_set('display_errors', 'On'); //Schutz vor Hackern z. B. '/index.php?id=86&=https://domain.de/baby_accept_412046.html' if ( substr( $_SERVER["QUERY_STRING"], 0, 1 ) == "=" || stristr( $_SERVER["QUERY_STRING"], "&=" ) || stristr( $_SERVER["QUERY_STRING"], "=http" ) ) { //echo "Hallo"; exit; //header( "Location: /typo3/" ); } global $onload; define( "BASE_PATH", dirname( __file__ ) . "/" ); require_once 'includes/init.php'; if ( isset( $_GET["debug"] ) ) { $_SESSION["debug"] = $_GET["debug"]; } if($bestellId) { $_SESSION['SHOP']['bestellId'] = $bestellId; } $_SESSION['SHOP']['summe_mwst'] = 0; if ( is_array( $_SESSION['SHOP']['MWST'] ) ) { foreach ( $_SESSION['SHOP']['MWST'] as $key => $value ) { $_SESSION['SHOP']['summe_mwst'] += $value; } } if ( is_array( $_SESSION['SHOP']['MWSTVERSAND'] ) ) { foreach ( $_SESSION['SHOP']['MWSTVERSAND'] as $key => $value ) { $_SESSION['SHOP']['summe_mwst'] += $value; } } //Land ID bestimmen, für die Auswahl der Versandkosten, falls diese noch nicht gesetzt ist $defaultLandID = 1; if ( $GLOBALS["INI"]["modules"]["adresssystem"] == "neu" ) { $defaultLandID = 47; } $GLOBALS["ui"]->assign( "defaultLandID", $defaultLandID ); // ME: Chat aktiv? if ( $GLOBALS['INI']['chat']['active'] == 1 ) { if ( file_exists( "../chat/adminIsOnline" ) ) { $GLOBALS["ui"]->assign( "chatAdminOn", true ); } } // den LastVisited Array füllen und ggf kürzen $maxLV = $GLOBALS['INI']['maxLV']; // Anzahl der besuchten Artikel if ( $_GET["item"] ) { if ( !is_array( $_SESSION["last_visited"] ) ) { $pos = false; } else { $pos = array_search( $_GET["item"], $_SESSION["last_visited"] ); } if ( $pos === false ) { $_SESSION["last_visited"][] = $_GET["item"]; } } if ( count( $_SESSION["last_visited"] ) > $maxLV ) { $_SESSION["last_visited"] = array_slice( $_SESSION["last_visited"], 0, $maxLV, false ); } if ( $item['bild_1_url'] ) { $bild_facebook = $GLOBALS['INI']['absoluteURL'] . $item['bild_1_url']; } else { $bild_facebook = $GLOBALS['INI']['absoluteURL'] . "/images/webelemente/logo.png"; } $title = getTitle(); if ( $item['ID'] ) { $desc = get_desc( $item['ID'] ); $keywords = getKeywords( $item['ID'] ); $robots = getRobots( $item['ID'], 'artikel' ); } elseif ( $_GET["hersteller"] ) { $desc = get_desc(); $robots = getRobots( $_GET["hersteller"], 'Herstellerkatalog' ); } else { $desc = get_desc(); $keywords = getKeywords( $_SESSION['navigation']['position'] ); $robots = getRobots( $_SESSION['navigation']['position'], 'directory' ); } //SEO ENDE $pageType = getPageType(); $GLOBALS["ui"]->assign( "pagetype", $pageType ); // ME: Startseite: Artikel aus bestimmten Ordnern holen ($ini.aktion.standard_aktion) if($pageType=="Startseite" && $GLOBALS['INI']['aktion']['standard_aktion']) { $ordnerIds = $GLOBALS['INI']['aktion']['standard_aktion']; if($ordnerIds) { $ordnerIds = explode(";",$ordnerIds); $GLOBALS["ui"]->assign( "ordnerIds", $ordnerIds ); } foreach($ordnerIds as $key => $value) { $slider[$value] = getItems($value); } $GLOBALS["ui"]->assign( "slider", $slider ); } // ME: popup? if ( $GLOBALS["INI"]["modules"]["popup"] == 1 ) { // cookie auslesen if ( $_COOKIE['popupShown'] == 1 ) { $GLOBALS["ui"]->assign( "showPopup", 0 ); } else { $GLOBALS["ui"]->assign( "showPopup", 1 ); } // cookie setzen, wenn popup angezeigt wurde setcookie( 'popupShown', 1, time() + 60 * 60 * 24 * 365, "/" ); } switch ( $pageType ) { case "Itemseite": $act_url = $item['itemLink'] . "?from=facebook"; $title_facebook = getTitle() . ' für ' . number_format( $item['preis'], 2, ",", "." ) . ' EUR (Stand: ' . date( "d.m.Y", time() ) . ')'; break; case "Startseite": if ( $GLOBALS['INI']['aktion']['show_slider'] == 1 ) { $sliderconfig = getSliderConfig( $GLOBALS['INI']['aktion']['slider_folder'] ); $slideraktion = getSliderContent( $GLOBALS['INI']['aktion']['slider_folder'] ); $GLOBALS["ui"]->assign( "sliderconfig", $sliderconfig ); $GLOBALS["ui"]->assign( "slideraktion", $slideraktion ); } if ( $GLOBALS["INI"]["modules"]["neue_produkte"] == 1 ) { require_once ( "includes/content/neue_produkte.php" ); $neue_produkte = get_neue_produkte(); $GLOBALS["ui"]->assign( "neue_produkte", $neue_produkte ); } break; case "ServiceCenter": $aktion = getCurrentAktion( 'Startseitenempfehlung' ); $aktionItems = getAktionItems( 0, $aktion['ID'], 3, "" ); $GLOBALS["ui"]->assign( "aktionItems", $aktionItems ); break; default: if ( !stristr( $_SERVER['REQUEST_URI'], $GLOBALS["INI"]["absoluteURL"] ) ) { $act_url = $GLOBALS["INI"]["absoluteURL"] . $_SERVER['REQUEST_URI']; } if ( $pos = strpos( $act_url, "?" ) ) { $act_url = substr( $act_url, 0, $pos ); } $act_url .= "?from=facebook"; $act_url = utf8_decode( $act_url ); $title_facebook = getTitle(); break; } // ME: chat Status ermitteln und an smarty übergeben $GLOBALS["ui"]->assign( "chat_status", "chat offline" ); // ME: herstellerInMenu? if ( $GLOBALS['INI']['navigation']['herstellerInMenu'] == 1 ) { $fName = $_SERVER["DOCUMENT_ROOT"] . "/herstellerinmenu_serialized.txt"; if ( file_exists( $fName ) ) { $content = file_get_contents( $fName ); $herstellerSerie = unserialize( $content ); } else { $herstellerInMenu = getHerstellerListe( 0, null, 0, 1 ); // Serien zu den Herstellern $herstellerSerie = array(); foreach ( $herstellerInMenu as $key => $hersteller ) { $hSerie = getSerieFromHersteller( $hersteller['ID'] ); if ( count( $hSerie ) > 0 ) { $herstellerSerie[$hersteller['ID']] = $hSerie; } } } $GLOBALS["ui"]->assign( "herstellerSerie", $herstellerSerie ); $GLOBALS["ui"]->assign( "herstellerInMenu", $herstellerInMenu ); } // ME: herstellerListe (z.B. Für die Ausgabe im Footer) if ( $GLOBALS['INI']['modules']['herstellerListe'] == 1 ) { //Muss ausserhalb gemacht werden, da sonst die Box mit dem Logo nicht auf der hersteller_item.tpl rauskommt if ( $_GET["hersteller"] ) { $herstellerListe = getHerstellerListe(); // kaputter herstellerlink? dann 301 weiterleiten foreach ( $herstellerListe as $key => $value ) { if ( $value["ID"] ) { $herstellerIDArray[] = $value["ID"]; } } if ( !in_array( $_GET['hersteller'], $herstellerIDArray ) ) { header( "Location: /", true, 301 ); } // /kaputter herstellerlink? dann 301 weiterleiten $GLOBALS["ui"]->assign( "herstellerListe", $herstellerListe ); } $herstellerFooterCount = isset( $GLOBALS["INI"]['Hersteller']['herstellerFooterCount'] ) ? $GLOBALS["INI"]['Hersteller']['herstellerFooterCount'] : 0; $herstellerListe_footer = getHerstellerListe( $herstellerFooterCount, null, 1 ); $GLOBALS["ui"]->assign( "herstellerListe_footer", $herstellerListe_footer ); } // Kategorien für z.B. die Ausgabe im Footer $dir = -1; if ( $GLOBALS['INI']['treeRoot'] ) { $dir = $GLOBALS['INI']['treeRoot']; } $kategorien = getSubDirs( $dir ); $GLOBALS["ui"]->assign( "kategorien", $kategorien ); $GLOBALS["ui"]->assign( "act_url", $act_url ); $GLOBALS["ui"]->assign( "keywords", $keywords ); $GLOBALS["ui"]->assign( "desc", $desc ); $GLOBALS["ui"]->assign( "robots", $robots ); $GLOBALS["ui"]->assign( "title", $title ); $GLOBALS["ui"]->assign( "today", date( "d.m.Y", time() ) ); $GLOBALS["ui"]->assign( "title_facebook", $title_facebook ); $GLOBALS["ui"]->assign( "bild_facebook", $bild_facebook ); $GLOBALS["ui"]->assign( "ini", $GLOBALS["INI"] ); //DHL Kurier Countdown $isKurierTag = checkKurier( "day", null ); if ( $isKurierTag == 1 ) { //Hole das Datum aus der INI $kurierDatumBis = strtotime( trim( $GLOBALS["INI"]["dhl"]["kurierBis"], "'" ) ); $kurierDatumBis = date( "Y/m/d H:i:s", $kurierDatumBis ); $GLOBALS["ui"]->assign( "kurierDatumBis", $kurierDatumBis ); } // Navigation require_once 'includes/left/navigation.php'; //Variable die angibt, ob man sich im Artikelstamm befindet oder nicht. Im Artikelstamm soll der Filter dann nicht rauskommen $isArtikelstamm = false; if ( $_GET['navigation'] && isArtikelStamm( $_GET['navigation'] ) ) { $isArtikelstamm = true; } $GLOBALS["ui"]->assign( "isArtikelstamm", $isArtikelstamm ); // wenn das Menü über die 2. Ebene angesprochen wird, muss die ursprüngl. FatherID gespeichert werden. if ( $_GET['navigation'] && $_GET['level'] == 2 && !$_GET['showlevel'] ) { $_SESSION['currentDir'] = $_GET['navigation']; } $nav = nav_menu( $GLOBALS["INI"]["treeRoot"] ); $GLOBALS["ui"]->assign( "nav", $nav ); $cachedTemplate = false; $GLOBALS["ui"]->assign( "cachedTemplateNavigation", $cachedTemplate ); $cachedTemplate2 = false; $GLOBALS["ui"]->assign( "cachedTemplateNavigation2", $cachedTemplate2 ); if ( $GLOBALS["INI"]["treeRootMainNav"] ) { //Überprüfung ob die Navigation gecached ist oder nicht $mainnav = nav_menu( $GLOBALS["INI"]["treeRootMainNav"] ); $GLOBALS["ui"]->assign( "mainnav", $mainnav ); $GLOBALS["ui"]->assign( "cachedTemplateMainNavigation", $cachedTemplate ); } if ( $GLOBALS["INI"]["treeRootSecondNav"] ) { //Überprüfung ob die Navigation gecached ist oder nicht $mainnav2 = nav_menu( $GLOBALS["INI"]["treeRootSecondNav"] ); $GLOBALS["ui"]->assign( "mainnav2", $mainnav2 ); $GLOBALS["ui"]->assign( "cachedTemplateMainNavigation2", $cachedTemplate2 ); } // ME: auf Bestellseite 2 müssen die AGB und das Widerrufsrecht in Smarty verfügbar sein if ( $_SESSION["SHOP"]["buy"]['step'] == 2 || $_SESSION["SHOP"]["buy"]['step'] == 3 ) { if ( $GLOBALS['INI']['typo3']['agb'] ) { $agb = getServiceCenterFromTypo3( $GLOBALS['INI']['typo3']['url'] . "/typo3/index.php?id=" . $GLOBALS['INI']['typo3']['agb'] . "" ); $agb = ( $agb['content'] ); $agb = str_replace( "\r\n", "", $agb ); $agb = str_replace( "\r", "", $agb ); $agb = str_replace( "\n", " ", $agb ); $agb = str_replace( "\"", "", $agb ); $agb = str_replace( "'", "", $agb ); $GLOBALS["ui"]->assign( "agb", $agb["inhalt"] ); } if ( $GLOBALS['INI']['typo3']['schufa'] ) { $schufa = getServiceCenterFromTypo3( $GLOBALS['INI']['typo3']['url'] . "/typo3/index.php?id=" . $GLOBALS['INI']['typo3']['schufa'] . "" ); $schufa = ( $schufa['content'] ); $schufa = str_replace( "\r\n", "", $schufa ); $schufa = str_replace( "\r", "", $schufa ); $schufa = str_replace( "\n", " ", $schufa ); $schufa = str_replace( "\"", "", $schufa ); $schufa = str_replace( "'", "", $schufa ); $GLOBALS["ui"]->assign( "schufa", $schufa["inhalt"] ); } if ( $GLOBALS['INI']['typo3']['widerruf'] ) { $widerruf = getServiceCenterFromTypo3( $GLOBALS['INI']['typo3']['url'] . "/typo3/index.php?id=" . $GLOBALS['INI']['typo3']['widerruf'] . "" ); $widerruf = ( $widerruf['content'] ); $widerruf = str_replace( "\r\n", "", $widerruf ); $widerruf = str_replace( "\r", "", $widerruf ); $widerruf = str_replace( "\n", " ", $widerruf ); $widerruf = str_replace( "\"", "", $widerruf ); $widerruf = str_replace( "'", "", $widerruf ); $GLOBALS["ui"]->assign( "widerruf", $widerruf["inhalt"] ); } // Widerruf bei Dienstleistungen if ( $GLOBALS["INI"]["typo3"]["widerruf2"] ) { $widerruf2 = getServiceCenterFromTypo3( $GLOBALS['INI']['typo3']['url'] . "/typo3/index.php?id=" . $GLOBALS['INI']['typo3']['widerruf2'] . "" ); $widerruf2 = ( $widerruf2['content'] ); $widerruf2 = str_replace( "\r\n", "", $widerruf2 ); $widerruf2 = str_replace( "\r", "", $widerruf2 ); $widerruf2 = str_replace( "\n", " ", $widerruf2 ); $widerruf2 = str_replace( "\"", "", $widerruf2 ); $widerruf2 = str_replace( "'", "", $widerruf2 ); $GLOBALS["ui"]->assign( "widerruf2", $widerruf2["inhalt"] ); } } // ME: NEWS-Modul if ( !$_SESSION['news'] ) { $news = getNews( 3 ); $_SESSION['news'] = $news; } // nicht_gefunden if ( $GLOBALS['INI']['modules']['nicht_gefunden'] == 1 ) { // ME: das nichtGefunden-Modul $ptype = $pageType; $inv_types = array( "Warenkorbseite", "Bestellvorgangsseite", "Typo3seite", "Startseite", "Loginseite" ); if ( !in_array( $ptype, $inv_types ) ) { $GLOBALS["ui"]->assign( "nicht_gefunden", "nicht_gefunden.tpl" ); } } // Service Center if ( $GLOBALS["INI"]['typo3']['aktiv'] == 1 ) { if ( isset( $_SESSION['serviceCenter'] ) ) { $serviceCenterArr = $_SESSION['serviceCenter']; } else { if ( $t3_idArr = explode( ";", $GLOBALS["INI"]["typo3"]['id'] ) ) { foreach ( $t3_idArr as $key => $t3_id ) { $serviceCenterArr[] = getServiceCenterFromTypo3( $GLOBALS['INI']['typo3']['url'] . "/typo3/index.php?id=" . $t3_id ); } $_SESSION['serviceCenter'] = $serviceCenterArr; } } $GLOBALS["ui"]->assign( "serviceCenterArr", $serviceCenterArr ); } // Sonderkästen $GLOBALS["ui"]->assign( "skl", sonderkasten( 'links' ) ); $GLOBALS["ui"]->assign( "skr", sonderkasten( 'rechts' ) ); $GLOBALS["ui"]->debugging = false; if ( strlen( $_SESSION['last_visited'][0] ) > 0 ) { $_SESSION['last_visited'] = array_unique( $_SESSION['last_visited'] ); $lv = getLastVisited( $GLOBALS["INI"]['maxLV'] ); $GLOBALS["ui"]->assign( "lastvisited", $lv ); } if ( $_POST['versandart'] == 'paypal' ) { $onload = 'paypalSubmit();'; } elseif ( $_POST['versandart'] == 'kreditkarte' ) { $onload = 'credcardSubmit();'; } elseif ( $_GET["buy"] == "true" ) { $onload = "$('#Land').change();"; } if ( $GLOBALS['INI']['google']['adwords_remarketing'] && $GLOBALS['INI']['google']['google_conversion_id'] ) { /* get values for google remarketing */ switch ( $pageType ) { case "Startseite": $GLOBALS["ui"]->assign( "ecomm_prodid", "''" ); $GLOBALS["ui"]->assign( "ecomm_pagetype", "'home'" ); $GLOBALS["ui"]->assign( "ecomm_totalvalue", "''" ); break; case "Navigationsseite": $GLOBALS["ui"]->assign( "ecomm_prodid", "''" ); $GLOBALS["ui"]->assign( "ecomm_pagetype", "'category'" ); $GLOBALS["ui"]->assign( "ecomm_totalvalue", "''" ); break; case "Itemseite": $GLOBALS["ui"]->assign( "ecomm_prodid", $item['ID'] ); $GLOBALS["ui"]->assign( "ecomm_pagetype", "'product'" ); $GLOBALS["ui"]->assign( "ecomm_totalvalue", $item['preis'] ); break; case "Bestellvorgang1": case "Bestellvorgang2": if ( is_array( $_SESSION['SHOP']['BASKET'] ) ) { foreach ( $_SESSION['SHOP']['BASKET'] as $key => $val ) { $itemIDs[] = $val['ID']; $ecomm_basket = "['" . implode( "','", $itemIDs ) . "']"; } $GLOBALS["ui"]->assign( "ecomm_prodid", $ecomm_basket ); $GLOBALS["ui"]->assign( "ecomm_pagetype", "'cart'" ); $GLOBALS["ui"]->assign( "ecomm_totalvalue", getBasketSumme() ); if ( $_SESSION["SHOP"]["buy"]["step"] == 3 ) { $ecomm_pagetype = "'purchase'"; } } break; default: $GLOBALS["ui"]->assign( "ecomm_prodid", "''" ); $GLOBALS["ui"]->assign( "ecomm_pagetype", "'other'" ); $GLOBALS["ui"]->assign( "ecomm_totalvalue", "" ); break; } } // Ausgabe des Contents $content = ""; ob_start(); getContent( $item ); $content = ob_get_contents(); ob_end_clean(); if ( $GLOBALS['INI']['show_hersteller'] == 1 ) { $content .= buildHersteller(); } // topseller für die erste box unten if ( $GLOBALS["INI"]['topSeller'] > 0 ) { if ( !$GLOBALS["ui"]->isCached( "topseller.tpl" ) ) { $topseller = getTopseller( $GLOBALS["INI"]['topSeller'] ); if ( $topseller ) { $GLOBALS["ui"]->assign( "topseller", $topseller ); } } } $GLOBALS["ui"]->assign( "content", $content ); // Ausgabe des Footers $GLOBALS["ui"]->assign( "footer", $GLOBALS['INI']['Footer']['footerText'] ); // Ausgabe der Seite $sort_options[""] = $GLOBALS["langstrings"]["sort"]["standard"]; $sort_options["kurz"] = $GLOBALS["langstrings"]["sort"]["item_name"]; $sort_options["asc"] = $GLOBALS["langstrings"]["sort"]["price_asc"]; $sort_options["desc"] = $GLOBALS["langstrings"]["sort"]["price_desc"]; for ( $i = 1; $i <= 10; $i++ ) { $mengen_wahl[$i] = $i; } if ( $_GET['mode'] == "versand_uebersicht" || $_GET['mode'] == "register" || $_GET['basket'] == true || $_POST['mode'] == "register" || $pageType == "Bestellvorgang1" ) { $laender = getVersandLaender(); $GLOBALS["ui"]->assign( "Laender", $laender ); } $rLaender = $laender; if ( $GLOBALS["INI"]["modules"]["versandgruppen"] == 1 ) { $rLaender = getRechnungsLaender(); } $GLOBALS["ui"]->assign( "rLaender", $rLaender ); if ( $_REQUEST["buy"] == "true" ) { $versandInfo = getVersand(); if ( is_array( $versandInfo ) ) { $preis = $versandInfo[0]["preis"]; $mwst = $GLOBALS["steuern"][47][$versandInfo[0]["tax"]]; $tax = ( $preis * $mwst ) / ( 100 + $mwst ); if ( $_SESSION["SHOP"]["non_eu_prices"] === true ) { $preis -= $tax; $versandInfo[0]["preis_non_eu"] = $preis; } $versandTitel = $versandInfo[0]['title']; $GLOBALS["ui"]->assign( "versandInfo", $versandInfo[0] ); $GLOBALS["ui"]->assign( "zahlungsart", $versandTitel ); } } $GLOBALS["ui"]->assign( "onload", $onload ); $GLOBALS["ui"]->assign( "basketContent", showBasket() ); $GLOBALS["ui"]->assign( "mengen_wahl", $mengen_wahl ); $GLOBALS["ui"]->assign( "sort_options", $sort_options ); $GLOBALS["ui"]->assign( "languages", $GLOBALS["languages"] ); $GLOBALS["ui"]->assign( "pagetype", $pageType ); $GLOBALS["ui"]->assign( "langstrings", $GLOBALS["langstrings"] ); $GLOBALS["ui"]->loadFilter( 'output', 'trimwhitespace' ); $GLOBALS["ui"]->display( "page.tpl" ); // Cookie Warnung? if ( isset( $GLOBALS['INI']['modules']['cookie_warnung'] ) && $GLOBALS['INI']['modules']['cookie_warnung'] == 1 && $_SESSION['cookie_warnung'] != 1 ) { $GLOBALS["ui"]->addTemplateDir( $_SERVER["DOCUMENT_ROOT"] . "/source/templates/common/" ); $GLOBALS["ui"]->display( "cookie_warnung.tpl" ); } //$html = $GLOBALS["ui"]->fetch('page.tpl'); //echo clean_html($html); if ( $_SESSION['killBasket'] == 1 ) { // nach beendeter Bestellung wird der Warenkorb gelöscht. unset( $_SESSION['sonderPreis'] ); unset( $_SESSION['SHOP']['BASKET'] ); unset( $_SESSION['SHOP']['SUMME'] ); unset( $_SESSION['SHOP']['SUMMEINCVERSAND'] ); unset( $_SESSION['SHOP']['SUMMEINCVERSANDBRUTTO'] ); unset( $_SESSION['SHOP']['MWSTVONSUMME'] ); unset( $_SESSION['SHOP']['VERSAND'] ); unset( $_SESSION['killBasket'] ); unset( $_SESSION["SHOP"]["paypalPlus"] ); unset( $_SESSION["paypal"] ); unset( $_SESSION["SHOP"]["paypalPlus"] ); unset( $_SESSION["billie"] ); unset( $_SESSION["upd_order"], $_SESSION["best_id"], $_SESSION["zahlarten"] ); unset( $_SESSION["anz_gs"] ); unset( $_SESSION["SHOP"]["hash"] ); setcookie( "warenkorb" ); } ?> "; if ( $_SESSION['loginBox'] == "open" ) { echo " $('.login_hide').show(); $('#arrow_login').attr('src','/images/webelemente/arrow_black.gif'); "; } else { echo " $('.login_hide').hide(); $('#arrow_login').attr('src','/images/webelemente/arrow_white.gif'); "; } /* * if ($_SESSION['contactBox']=="open") { * echo " * $('.kontakt_hide').show(); * $('#arrow_kontakt').attr('src','/images/webelemente/arrow_black.gif'); * "; * } else { * echo " * $('.kontakt_hide').hide(); * $('#arrow_kontakt').attr('src','/images/webelemente/arrow_white.gif'); * "; * } */ if ( $_REQUEST['basket'] == true ) { echo "$('.zubehoer_scroll').attr('class','zubehoer_scroll');"; } echo ""; ?>
$cnt ) { echo $func . ": " . $cnt . " => " . number_format( $GLOBALS["zeit"][$func], 10, ',', '' ) . " Sekunden