Blame | Letzte Änderung | Log anzeigen | RSS feed
<?/* ************************************************************************************ *//* SYSTEM-INIT *//* ************************************************************************************ *//*1. Starten der Session2. Auslesen der ini-Dateien die:- alle relevanten Informationen für jedes Module bereitstellen- alle Standardtemplates definieren3. Kernrroutinen einbinden die zum Laden aller Serviceroutinen notwendig sind4. Laden aller externen Serviceroutinen*//* ************************************************************************************ *//* 1. */session_start();/* 2. */$_SESSION[INI]=parse_ini_file("mediaran.de.ini.php",true);$_SESSION[INI][TEMPLATE]=parse_ini_file("template.ini.php",true);/* 3. */include_once("includes/listFiles.php");/* 4. */foreach(listFiles($_SESSION[INI][systemPath],"php") as $file){include_once($file);}/* ************************************************************************************ *//* Bestellung Schrittverwaltung *//* ************************************************************************************ */$_SESSION[SHOP][buy][step]=1;if ($_REQUEST[step]){$_SESSION[SHOP][buy][step]=$_REQUEST[step];}/* ************************************************************************************ *//* Befehlsinterpreter *//* ************************************************************************************ *//*Alle als $_GET eingegangenen Kommandos an die Verarbeitungsroutinen übergeben*//* ************************************************************************************ */foreach(array_keys($_GET) as $cmd){switch($cmd){case "basketItemRemove":unset($_SESSION[SHOP][BASKET][$_GET[basketItemRemove]]);case "confirm":if ($_GET[confirm]){setBasketItem($_GET);}case "shop":case "search":case "file":unset($_SESSION[navigation][position]);break;case "itemContainer":case "navigation":cmdNavigation($_GET[$cmd]); break;case "item":$item=getItem($_GET[$cmd]);cmdNavigation($item[Father]);//unset($item);break;}}if (count($_GET) == 0){unset($_SESSION[navigation][position]);}/* ************************************************************************************ *//* SHOP-INIT *//* ************************************************************************************ *//*1. Warenkorb erstellen falls noch keiner existiert2. Referrer in ShopLog-Session sichern3. Einstiegsseite sichern4. Referrer beim ersten Aufruf loggen*//* ************************************************************************************ *//* 1. */if (!is_array($_SESSION[SHOP][BASKET])){ $_SESSION[SHOP][BASKET]=array(); }/* 2. */if (!isset($_SESSION['shopLog']['referrer'])){ $_SESSION['shopLog']['referrer'] = $_SERVER['HTTP_REFERER'];}/* 3. */if (!isset($_SESSION['shopLog']['start_url'])){ $_SESSION['shopLog']['start_url'] = $_GET['from'];}/* 4. */if ($_SESSION['shopLog']['referrerLogged'] != true){shopLog("Preisagentur",$_SESSION['shopLog']['referrer'],$_SESSION['shopLog']['start_url'],$_GET[item],$_SERVER["HTTP_ACCEPT_LANGUAGE"],false);$_SESSION['shopLog']['referrerLogged'] = true;}?><html><head><title><?=getTitle(); ?> - Mediaran</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="description" content="<?if ($item){$title=getTitle()." - ";$len = strlen($title);echo $title.(substr(preg_replace("/\s+/", " ", preg_replace("/[\n\t\r]/", " ", strip_tags($item[beschreibung]))), 0, (250-$len)));}else{echo getTitle();}?>"><meta http-equiv="pragma" content="no-cache"><meta http-equiv="expires" content="Sat, 01 Jan 2005 00:00:01 GMT"><meta http-equiv="cache-control" content="no-cache"><meta name="robots" content="INDEX,FOLLOW"><meta name="revisit-after" content="1 days"><meta http-equiv="content-language" content="de"><meta http-equiv="Content-Style-Type" content="text/css"><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><meta http-equiv="Content-Script-Type" content="text/javascript"><META NAME="keywords" CONTENT="elektro, Online-Shop, Unterhaltungselektronik, Satellitentechnik, Hausgeraetetechnik, Telekommunikation, Zubehör, AEG, Ankaro, Axing, Bauknecht, Beko, Beurer, Bomann, Bonn, Bosch, Braun, Cloer, Daewoo, Galaxis, Graef, Grundig, Hirschmann, Humax, Jura, JVC, Kathrein, Krups, LG, Liebherr, Mag-Lite, Miele, Moulinex, Panasonic, Pioneer, Philips, Quadral, Rowenta, Saeco, Siemens, Sharp, Sony, Technics, Technisat, Tefal, Thomson, United, Vivanco, Wisi, Wolf, Ströbelt, Dortmund,"><META NAME="keywords" LANG="de" CONTENT="elektro, Online-Shop, Unterhaltungselektronik, Satellitentechnik, Hausgeraetetechnik, Telekommunikation, Zubehör, AEG, Bauknecht, Bomann, Bosch, Braun, Cloer, Daewoo, Galaxis, Graef, Grundig, Hirschmann, Jura, JVC, Kathrein, Krups, LG, Liebherr, Miele, Moulinex, Panasonic, Pioneer, Philips, Quadral, Rowenta, Saeco, Siemens, Sharp, Sony, Technics, Technisat, Tefal, Thomson, Meidaran, Gelsenkirchen,"><META NAME="keywords" LANG="en" CONTENT="wholesale, online-shop, consumerelectronics, satellite tech, household appliances, telecommunications, accessories, AEG, Bauknecht, Bomann, Bosch, Braun, Cloer, Daewoo, Galaxis, Graef, Grundig, Hirschmann, Jura, JVC, Kathrein, Krups, LG, Liebherr, Miele, Moulinex, Panasonic, Pioneer, Philips, Quadral, Rowenta, Saeco, Siemens, Sharp, Sony, Technics, Technisat, Tefal, Thomson, Meidaran, Gelsenkirchen,"><META NAME="description" LANG="de" CONTENT="Elektrogroßhandel mit Online-Shop. Herzlich Willkommen auf der Internetseite von Ströbelt. Hier finden Sie als Fachhändler alle Produkte der Haus- und Unterhaltungselektronik"><META NAME="description" LANG="en" CONTENT="Wholesale with Online-shop. Welcome to the Mediaran website. As a dealer you will find all products of household appliances or consumer electronics"><META NAME="DC.Title" CONTENT="Mediaran - Ihr Elektrogrosshandel im Internet"><META NAME="DC.Creator" CONTENT="Mediaran - Ihr Elektrogrosshandel im Internet"><META NAME="DC.Subject" CONTENT="Business-to-Consumer Onlineshop, Mediaran, Gelsenkirchen, Elektrohandel, Fachhandel, Fachhaendler, Onlineshop, Online-Shop, Hausgeraete, Elektrogeraete, Unterhaltungselektronik, Telekommunikation, Zubehoer, AEG, Bauknecht, Bomann, Bosch, Braun, Cloer, Daewoo, Galaxis, Graef, Grundig, Hirschmann, Jura, JVC, Kathrein, Krups, LG, Liebherr, Miele, Moulinex, Panasonic, Pioneer, Philips, Quadral, Rowenta, Saeco, Siemens, Sharp, Sony, Technics, Technisat, Tefal, Thomson"><META NAME="DC.Description" CONTENT="Herzlich willkommen auf der Internetseite von Mediaran Electronik GmbH. In unserem Online-Shop finden Sie als Fachhaendler alle Produkte der Haus- und Unterhaltungselektronik"><META NAME="DC.Publisher" CONTENT="Media ran Vertiebs GmbH"><META NAME="DC.Contributor" CONTENT="Webagentur Niewerth"><META NAME="DC.Date" CONTENT="2004-01-01"><META NAME="DC.Type" CONTENT="Collection"><META NAME="DC.Format" CONTENT="text/HTML"><META NAME="DC.Identifier" CONTENT="HTTP://www.mediaran.de/"><META NAME="DC.Source" CONTENT="Produktdaten"><META NAME="DC.Language" CONTENT="de"><META NAME="DC.Relation" CONTENT="Einstiegsseite"><META NAME="DC.Coverage" CONTENT="Deutschland"><META NAME="DC.Rights" CONTENT="Copyright 2000-2005 Media ran Vertiebs GmbH"><META NAME="DC.TYPE" CONTENT="Service"><META NAME="SIC87.ObjectType" CONTENT="3631,3633,3634,3641,3648,3651,3661,3662,3663,3669,3691,3695,3699,5043,5064,5065,5072,5078,5099,5251,5722,5731,5732"><META NAME="VW96.objecttype" CONTENT="Mall"><META NAME="audience" CONTENT="all"><META NAME="copyright" CONTENT="Copyright 2000-2005 Media ran Vertiebs GmbH"><META NAME="Page-Type" CONTENT="News"><META NAME="Publisher" CONTENT="Media ran Vertiebs GmbH"><META NAME="Title" LANG="de" CONTENT="Online-Shop, Unterhaltungselektronik, Satellitentechnik, Hausgeraetetechnik, Telekommunikation, Zubehör, AEG, Bauknecht, Bomann, Bosch, Braun, Cloer, Daewoo, Galaxis, Graef, Grundig, Hirschmann, Jura, JVC, Kathrein, Krups, LG, Liebherr, Miele, Moulinex, Panasonic, Pioneer, Philips, Quadral, Rowenta, Saeco, Siemens, Sharp, Sony, Technics, Technisat, Tefal, Thomson, Mediaran, Gelsenkirchen"><META NAME="distribution" CONTENT="National"><META NAME="reply-to" CONTENT="info@mediaran.de"><META NAME="doc-type" CONTENT="Web Page"><META NAME="doc-class" CONTENT="Living Document"><META NAME="doc-rights" CONTENT="Copywritten Work"><META NAME="doc-publisher" CONTENT="Media ran Vertiebs GmbH"><META NAME="resource-type" CONTENT="document"><META NAME="Author" CONTENT="Webagentur Niewerth"><?//unset($item);/* ************************************************************************************ *//* Alle externen Style-Sheets einbinden *//* ************************************************************************************ */?><link rel="stylesheet" href="http://www.mediaran.de/styles/styles.php?<?=SID;?>" type="text/css"><link rel="stylesheet" type="text/css" media="print" href="print.css" /><?/* ************************************************************************************ *//* Alle externen JavaScripts einbinden *//* ************************************************************************************ */foreach(listFiles($_SESSION[INI][JavaScriptPath],"js") as $file){?><script language=Javascript src="http://www.mediaran.de/<?=$file;?>"></script><?}?><script language=Javascript>/*Dem Fenster einen Namen zuweisen,damit confirm.php ein target hat.Als Name wird hier die SESSION_IDgenommen*/window.name='<?=session_id();?>';</script></head><body><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td style="padding:0px" colspan="3"><table class=noprint width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class=head width="20%" align="center"><? include("includes/head/searchInput.php"); ?></td><td class=head align="center"><? include("includes/head/head_oben.php"); ?></td><td class=head width="20%" align="center"><? include("includes/head/basket.php"); ?></td></tr><tr><td colspan="3" class=head_navigation><!--| HEAD: Navigationsleiste |--><? include("includes/head/head_unten.php"); ?></td></tr></table></td></tr><tr><td class=noprint valign=top width="20%"><!--| linke Spalte: Hauptnavigation |--><table border="0" cellspacing="0" cellpadding="10" class=whiteBox width="100%"><tr><td class=title>Sonderöffnungszeiten</td></tr><tr><td class=content>(Abholzeiten)<br>Mo. bis Fr. von 14 bis 19 Uhr <br>Sa. von 10 bis 15 Uhr</td></tr></table><br><? include("includes/left/navigation.php"); ?><p><? sonderkasten("links");?></p></td><td valign=top><!--| Content: Content halt|--><? include("includes/content/shopPosition.php"); ?><? getContent(); ?><? include("includes/footer/footer.php"); ?></td><td class=noprint valign=top width="20%"><!--| rechte Spalte: Warenkorb, TopSeller etc.|--><? include("includes/right/topAngebot.php"); ?><? include("includes/right/news.php"); ?><? include("includes/right/unsereMarken.php"); ?><? include("includes/right/topSeller.php"); ?><p><? sonderkasten("rechts");?></p></td></tr></table></body></html>