// Copyright (c) 2004-2006 randshop // http://www.randshop.com // // Unter Lizenz von randshop // // Letzte Bearbeitung: 08.04.2006 session_start(); include_once("conf/config.inc.php"); if(INSTALL === true) { header("location: install/index.php"); } //elseif(file_exists("./install")) { // header("location: install/delete.php"); //} // SourceID = 1 // Hauptkonfigurationsdatei include_once(DATEIPFAD . "conf/db.inc.php"); include_once(DATEIPFAD . "includes/shopinitialize.inc.php"); include_once(DATEIPFAD . "includes/functions.global.inc.php"); include_once(DATEIPFAD . "includes/functions.artikel.inc.php"); if(KUNDENGRUPPEN) { include_once(DATEIPFAD . "includes/functions.mod.kundengruppen.inc.php"); } else { include_once(DATEIPFAD . "includes/functions.kundengruppen.inc.php"); } include_once(DATEIPFAD . "includes/functions.kategorie.inc.php"); include_once(DATEIPFAD . "includes/session_register.inc.php"); include_once(DATEIPFAD . "includes/functions.newsletter.inc.php"); if(file_exists(DATEIPFAD . 'includes/functions.mod.cms.inc.php')){ include_once(DATEIPFAD . "includes/functions.mod.cms.inc.php"); } // Spracheninclude if (@fopen(DATEIPFAD . "includes/language/langu_" . $_SESSION["languageisocode"] . ".inc.php",r)) { include(DATEIPFAD . "includes/language/langu_" . $_SESSION["languageisocode"] . ".inc.php"); } else { include(DATEIPFAD . "includes/language/langu_de.inc.php"); } // Header include(DATEIPFAD . "includes/header.inc.php"); unset($_SESSION["kategorieid"]); /******************************************************************************** * CMS ********************************************************************************/ if(file_exists(DATEIPFAD . 'includes/functions.mod.cms.inc.php')){ $tpl_artikelarray = GetCMSArtikelDataArray(0, 0, 0, 0, 0, 30, "", "", "", "", "", "", 0, 1, "", "", 0, "", "", $_SESSION["languageid"],1); } if($tpl_artikelarray){ $tpl_kategoriepfad = ' '; $contentFile = DATEIPFAD . "templates/" . $rowTemp->name . "/cms/artikeluebersicht.tpl"; } else{ // ******************************************************************************** // ** Startseitenangebot // ******************************************************************************** $StartseitenangebotSearchField = "startseitenangebot"; $StartseitenangebotSearchString = "1"; $StartseitenangebotSortField = "artikel_nr"; $StartseitenangebotSortOrder = "ASC"; $StartseitenangebotDataArray = GetArtikelDataArray($StartseitenangebotSearchField, $StartseitenangebotSearchString, $StartseitenangebotSortField, $StartseitenangebotSortOrder, "", "", $_SESSION["mail"], "", "", "", "", "", 1, 1, "", "", "", "", "", $_SESSION["languageid"]); if ($StartseitenangebotDataArray) { $StartseitenangebotString = "