Modulshop - Eine große Auswahl an neuen und hilfreichen Modulen für die modified eCommerce Shopsoftware
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: EU-Richtlinie 2014

    schatten105

    • Neu im Forum
    • Beiträge: 7
    EU-Richtlinie 2014
    am: 10. Juli 2014, 12:53:38
    Hallo,

    ich hoffe, ich bin hier richtig. Ich muss nämlich gleich zu Anfang gestehen, ich hab keine Ahnung vom modified eCommerce.

    Ich habe ein Projekt von einem Kunden übernommen, bei dem auch diese Software zum Einsatz kommt.
    Im Backend in den Credits steht:

    Zitat
    modified eCommerce Shopssoftware v2.00 dated: 2012-11-??
    Datenbank Version: "MOD_2.0.0.0"

    also nehme ich mal an, dass dies die installierte Version ist.
    Jetzt steht beim "Tutorial: Umsetzung der EU-Verbraucherrichtlinie vom 13.06.2014" aber "für Shopversion 1.06 rev 4642".

    Wie genau muss ich da jetzt nun vorgehen, oder läuft bei uns doch eine andere Version. Wie genau bekomme ich die raus?

    OFF TOPIC:
    Ich habe noch ein Problem.

    In dem Shop werden ausschließlich Gutscheine verkauft.

    Dafür gibt es für das jeweilige Produkt ein extra Bild (wird im Frontend nicht angezeigt).
    Mit diesem Bild im Hintergrund wird eine PDF erzeugt, wo Texte des Artikels (Artikelname, eingegebener Kundentext, Rechnungsnummer, Kundenummer, etc) an entsprechenden Positionen platziert werden.

    Diese Platzierungen soll ich sowohl inhaltlich, als auch layouttechnisch anpassen, haber aber bisher nicht rausfinden können, wo genau dies geschieht.

    Bitte diese 2. Frage in den entsprechenden Bereich verschieben.

    Danke schonmal.

    Gruß,

    Chris

    Linkback: https://www.modified-shop.org/forum/index.php?topic=30602.0

    Fubu

    • Mitglied
    • Beiträge: 155
    Re: EU-Richtlinie 2014
    Antwort #1 am: 10. Juli 2014, 13:14:58
    Hallo,
    wie kommst Du denn an dieser Version ?

    [...]
    Zitat
    modified eCommerce Shopssoftware v2.00 dated: 2012-11-??
    Datenbank Version: "MOD_2.0.0.0"
    [...]

    Aktuell ist diese

    Zitat
    modified eCommerce Shopssoftware v1.06 rev 4642 dated: 2013-04-20
    Datenbank Version: "MOD_1.0.6.0"

    Version 2 ist doch noch garnicht Fertig
    https://trac.modified-shop.org/milestone/modified-shop-2.00

    schatten105

    • Neu im Forum
    • Beiträge: 7
    Re: EU-Richtlinie 2014
    Antwort #2 am: 10. Juli 2014, 18:46:30
    ICH hab schonmal gar nichts, ich hab das so übergeben bekommen :D

    Heißt das also, dass das ne Beta ist, die da bei uns läuft?
    Wäre natürlich schön doof.

    Der Kunde will das ding asap freischalten...
    Artikel einpflegen etc. funktioniert ja irgendwie auch alles, und es wird wie gesagt die pdf mit dem zum Artikel hochgeladenen 2. Bild erzeugt....und dadrüber an entsprechende leerflächen des Bildes die Textbausteine geschossen...nur find ich nich raus, wo genau dies vonstatten geht, sodass ich die ausrichtung der Text, Größe, Farbe, etc. anpassen kann.

    Fubu

    • Mitglied
    • Beiträge: 155
    Re: EU-Richtlinie 2014
    Antwort #3 am: 10. Juli 2014, 18:54:02
    Hallo,
    ob das eine Beta Version ist weis ich nicht, ich weis nur es wurde letztes Jahr (2013) im Oktober Angekündigt (steht hier im Forum) die 2er erscheint und bis jetzt (dein Post) habe ich nichts mehr davon gelesen.

    mehr weis ich leider nicht.

    wenn das ein Template Fehler ist schau mal in der entsprechende HTML Datei nach.

    Frage bitte nicht welche, denn ich kenn den Aufbau der 2er nicht mal.

    schatten105

    • Neu im Forum
    • Beiträge: 7
    Re: EU-Richtlinie 2014
    Antwort #4 am: 10. Juli 2014, 19:23:23
    Hey Fubu,

    also in dem installer-order, den ich mir vom alten Server per ftp gezogen hab, gibt es auch eine
    update_1.0.6.0_to_2.0.0.0.sql

    Darin ist eine Zeile:
    # DokuMan - 2013-03-20 - change address format to 5 for Luxembourg

    Schätze also mal, dass es nicht an einer Falschen Darstellung im Template liegt.
    Hab aber auch wie gesagt keinen blassen Dunst von der Software.

    In welcher HTML würde das denn normalerweise stehen?

    Und weißt du, wo ich die Anpassung für die generierte PDF machen kann?

    Fubu

    • Mitglied
    • Beiträge: 155
    Re: EU-Richtlinie 2014
    Antwort #5 am: 11. Juli 2014, 12:45:33
    Hallo,
    mit der 2er version kenn ich mich garnicht aus.

    Generierte PDF brauchte ich noch nie über den Shop da ich alles mit einer Wawi Verwalte.

    burrito

    • Viel Schreiber
    • Beiträge: 535
    • Geschlecht:
    Re: EU-Richtlinie 2014
    Antwort #6 am: 11. Juli 2014, 12:55:39
    Hallo Chris,

    nach den von Dir genannten Daten handelt es sich wohl um eine Vorabversion der 2.x.

    Diese Version ist noch nicht released. Offiziell gibt es diese noch gar nicht. Daher kennt sie hier auch kaum jemand. Lediglich die Team-Mitglieder kennen sie genauer. Ein paar Experten haben wohl mal eine frühe Testversion erhalten.

    Am besten gehst Du mal auf die Suche woher diese Version stammt. Oder fragst beim Team an, ob Du mehr Infos zu dieser Version bekommst.

    burrito

    schatten105

    • Neu im Forum
    • Beiträge: 7
    Re: EU-Richtlinie 2014
    Antwort #7 am: 11. Juli 2014, 13:40:57
    Hey burrito,

    bei uns weiß auch keiner, woher die vorherigen Agentur diese Version hat, das ganze geht jetzt erstmal zur Rechtsabteilung des Kunden.

    Meinst du denn, dass sich diese Version so sehr von der 1.06 unterscheidet, was mein Problem mit den generierten PDFs angeht?
    Denn es funktioniert im Grunde genommen ja erstmal alles, zumindest soweit, dass Leute bestellen können und oben die generierten PDFs mit der Rechnung als Anhang per Mail verschickt werden. Bestellungen sind im Backend auch zu sehen etc.

    Nur die Formatierung dieser PDF soll geändert werden.

    Bonsai

    • Viel Schreiber
    • Beiträge: 4.127
    • Geschlecht:
    Re: EU-Richtlinie 2014
    Antwort #8 am: 11. Juli 2014, 14:16:43
    Wenn ich es richtig verstanden habe, kommt mit der 2.0 eeeeendlich UTF-8 als Standard

    Das wäre schon mal ein Punkt wo die Shops verschieden sind.

    Zitat
    bei uns weiß auch keiner, woher die vorherigen Agentur diese Version hat, das ganze geht jetzt erstmal zur Rechtsabteilung des Kunden.

    Versteh ich nicht. Ist doch legal....

    schatten105

    • Neu im Forum
    • Beiträge: 7
    Re: EU-Richtlinie 2014
    Antwort #9 am: 11. Juli 2014, 14:28:10
    Aber nicht, wenn ich einem Kunden eine unfertige Beta als laufendes System für viel Geld verkaufe, ohne es dem Kunden auch mitzuteilen.

    Bonsai

    • Viel Schreiber
    • Beiträge: 4.127
    • Geschlecht:
    Re: EU-Richtlinie 2014
    Antwort #10 am: 11. Juli 2014, 14:38:01
    Könnte auch was selbstgestricktes sein, weil
    Zitat
    modified eCommerce Shopssoftware v2.00 dated: 2012-11

    2012 hatte man bestimmt noch keine Beta der 2.0, oder?

    Eventuell lügt einfach nur die Credits Seite .....

    Vorschlag zur Verifikation. Poste mal irgendeine wichtige Datei, z.B. die admin/includes/application_top.php
    Eventuell kann jemand der alle Versionen kennt mal mittels diff Tool rausfinden welcher tatsächlichen Version das Konstrukt am meisten ähnelt?

    burrito

    • Viel Schreiber
    • Beiträge: 535
    • Geschlecht:
    Re: EU-Richtlinie 2014
    Antwort #11 am: 11. Juli 2014, 14:58:55
    Hallo Chris,

    ich selber verwende gar keine aktuelle Modified-Version. Doch trotzdem ist es mir neu, dass Modified von Hause aus die von Dir gewünschten PDF-Dateien generiert.

    Entweder hat deine Vorgänger-Agentur hier ein eigenes Skript erstellt oder evtl etwas in dieser Richtung eingebaut.

    Da wirst Du wohl nicht umhin kommen selber den Generierprozess zu debuggen um die entsprechenden Dateien zu finden. Aber das sollte ja machbar sein.

    burrito

    schatten105

    • Neu im Forum
    • Beiträge: 7
    Re: EU-Richtlinie 2014
    Antwort #12 am: 11. Juli 2014, 15:13:04
    Inhalt der admin/includes/application_top.php

    Code: PHP  [Auswählen]
    <?php
    /* --------------------------------------------------------------
       $Id: application_top.php 4349 2013-01-21 18:50:26Z Tomcraft1980 $

       modified eCommerce Shopsoftware
       http://www.modified-shop.org

       Copyright (c) 2009 - 2013 [www.modified-shop.org]
       --------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce(application_top.php,v 1.158 2003/03/22); www.oscommerce.com
       (c) 2003 nextcommerce (application_top.php,v 1.46 2003/08/24); www.nextcommerce.org
       (c) 2006 XT-Commerce (application_top.php 1323 2005-10-27) ; www.(( Wir dulden keine kommerziellen Werbelinks - Bitte Forenregeln beachten! ))

       Released under the GNU General Public License
       --------------------------------------------------------------
       Third Party contribution:

       Customers Status v3.x  (c) 2002-2003 Copyright Elari elari@free.fr | www.unlockgsm.com/dload-osc/ | CVS : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/elari/?sortby=date#dirlist

       Credit Class/Gift Vouchers/Discount Coupons (Version 5.10)
       http://www.oscommerce.com/community/contributions,282
       Copyright (c) Strider | Strider@oscworks.com
       Copyright (c) Nick Stanko of UkiDev.com, nick@ukidev.com
       Copyright (c) Andre ambidex@gmx.net
       Copyright (c) 2001,2002 Ian C Wilson http://www.phesis.org

       Released under the GNU General Public License
       --------------------------------------------------------------*/


    // DB version, used for updates (_installer)
    define('DB_VERSION', 'MOD_2.0.0.0');
    //Run Mode
    define('RUN_MODE_ADMIN',true);

    // xajax in backend
    define('XAJAX_BACKEND_SUPPORT', 'false'); // 'true' );
    define('XAJAX_BACKEND_SUPPORT_TEST', 'false'); // 'true' );

    // Start the clock for the page parse time log
    define('PAGE_PARSE_START_TIME', microtime(true));

    // security
    define('_VALID_XTC', true);

    // Disable use_trans_sid as xtc_href_link() does this manually
    if (function_exists('ini_set')) {
      @ini_set('session.use_trans_sid', 0);
    }

    // configuration parameters
    if (file_exists('includes/local/configure.php')) {
      include ('includes/local/configure.php');
      $dev_mode = 1;
    } else {
      require ('includes/configure.php');
    }

    /**
     * set the level of error reporting
     */

    if (file_exists(DIR_FS_CATALOG.'export/_error_reporting.all') || file_exists(DIR_FS_CATALOG.'export/_error_reporting.admin')) {
      @ini_set('display_errors', true);
      error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); //exlude E_STRICT on PHP 5.4
    } elseif (file_exists(DIR_FS_CATALOG.'export/_error_reporting.dev')) {
      @ini_set('display_errors', true);
      error_reporting(-1); // Development value
    } else {
      error_reporting(0);
    }

    /*
     * turn off magic-quotes support, for both runtime and sybase, as both will cause problems if enabled
     */

    if (version_compare(PHP_VERSION, 5.3, '<') && function_exists('set_magic_quotes_runtime')) set_magic_quotes_runtime(0);
    if (version_compare(PHP_VERSION, 5.4, '<') && @ini_get('magic_quotes_sybase') != 0) @ini_set('magic_quotes_sybase', 0);

    // include the list of project filenames
    require (DIR_FS_ADMIN.DIR_WS_INCLUDES.'filenames.php');

    // solve compatibility issues
    require_once (DIR_WS_FUNCTIONS.FILENAME_COMPATIBILITY);
    if (version_compare(PHP_VERSION,"5.2","<")) {
      require_once (DIR_FS_EXTERNAL . 'upgradephp/upgrade.php');
    }

    // project versison
    require_once (DIR_WS_INCLUDES.'version.php');

    // default time zone
    if (version_compare(PHP_VERSION, '5.1.0', '>=')) {
      date_default_timezone_set('Europe/Berlin');
    }

    // Base/PHP_SELF/SSL-PROXY
    require_once(DIR_FS_INC . 'set_php_self.inc.php');
    $PHP_SELF = set_php_self();
    $ssl_proxy = '';
    if (isset($_SERVER['HTTP_X_FORWARDED_HOST']))
      $ssl_proxy = '/' . $_SERVER['HTTP_HOST'];
    define('DIR_WS_BASE', $ssl_proxy . preg_replace('/\\' . DIRECTORY_SEPARATOR . '\/|\/\//', '/', dirname($PHP_SELF) . '/'));

    // SQL caching dir
    define('SQL_CACHEDIR', DIR_FS_CATALOG . 'cache/');

    define('TAX_DECIMAL_PLACES', 0);

    // Used in the "Backup Manager" to compress backups
    define('LOCAL_EXE_GZIP', '/usr/bin/gzip');
    define('LOCAL_EXE_GUNZIP', '/usr/bin/gunzip');
    define('LOCAL_EXE_ZIP', '/usr/local/bin/zip');
    define('LOCAL_EXE_UNZIP', '/usr/local/bin/unzip');

    // list of project database tables
    require_once ('../' . DIR_WS_INCLUDES . 'database_tables.php');

    // include needed functions
    require_once (DIR_FS_INC . 'xtc_db_connect.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_close.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_error.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_query.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_queryCached.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_perform.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_fetch_array.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_num_rows.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_data_seek.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_insert_id.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_free_result.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_output.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_input.inc.php');
    require_once (DIR_FS_INC . 'xtc_db_prepare_input.inc.php');
    require_once (DIR_FS_INC . 'xtc_get_ip_address.inc.php');
    require_once (DIR_FS_INC . 'xtc_setcookie.inc.php');
    require_once (DIR_FS_INC . 'xtc_validate_email.inc.php');
    require_once (DIR_FS_INC . 'xtc_not_null.inc.php');
    require_once (DIR_FS_INC . 'xtc_add_tax.inc.php');
    require_once (DIR_FS_INC . 'xtc_get_tax_rate.inc.php');
    require_once (DIR_FS_INC . 'xtc_get_qty.inc.php');
    require_once (DIR_FS_INC . 'xtc_product_link.inc.php');
    require_once (DIR_FS_INC . 'xtc_cleanName.inc.php');
    require_once (DIR_FS_INC . 'xtc_get_top_level_domain.inc.php');

    // design layout (wide of boxes in pixels) (default: 125)
    define('BOX_WIDTH', 125);

    // Define how do we update currency exchange rates
    // Possible values are 'oanda' 'xe' or ''
    define('CURRENCY_SERVER_PRIMARY', 'oanda');
    define('CURRENCY_SERVER_BACKUP', 'xe');

    // make a connection to the database... now
    xtc_db_connect() or die('Unable to connect to database server!');

    // set application wide parameters
    $configuration_query = xtc_db_query('select configuration_key as cfgKey, configuration_value as cfgValue from ' . TABLE_CONFIGURATION . '');
    while ($configuration = xtc_db_fetch_array($configuration_query)) {
      if ($configuration['cfgKey'] != 'STORE_DB_TRANSACTIONS') {
        define($configuration['cfgKey'], stripslashes($configuration['cfgValue'])); //Web28 - 2012-08-09 - fix slashes
      }
    }

    define('FILENAME_IMAGEMANIPULATOR', IMAGE_MANIPULATOR);

    // move to xtc_db_queryCached.inc.php
    function xtDBquery($query) {
      if (DB_CACHE == 'true') {
        $result = xtc_db_queryCached($query);
      } else {
        $result = xtc_db_query($query);
      }
      return $result;
    }

    // security inputfilter for GET/POST/COOKIE
    require (DIR_FS_CATALOG.DIR_WS_CLASSES.'inputfilter.php');
    $inputfilter = new Inputfilter();
    $_GET = $inputfilter->validate($_GET);
    $_POST = $inputfilter->validate($_POST);
    //$_REQUEST = $inputfilter->validate($_REQUEST);

    // initialize the logger class
    require (DIR_WS_CLASSES . 'logger.php');

    // shopping cart class
    require (DIR_WS_CLASSES . 'shopping_cart.php');

    // todo
    require (DIR_WS_FUNCTIONS . 'general.php');

    // define how the session functions will be used
    require (DIR_WS_FUNCTIONS . 'sessions.php');

    // define our general functions used application-wide
    require (DIR_WS_FUNCTIONS . 'html_output.php');

    // set the session name and save path
    session_name('MODsid');
    if (STORE_SESSIONS != 'mysql') {
      session_save_path(SESSION_WRITE_DIRECTORY);
    }

    // set the type of request (secure or not)
    if (file_exists(DIR_WS_INCLUDES . 'request_type.php')) {
      include (DIR_WS_INCLUDES . 'request_type.php');
    } else {
      $request_type = 'NONSSL';
    }

    // set the top level domains
    $http_domain = xtc_get_top_level_domain(HTTP_SERVER);
    //$https_domain = xtc_get_top_level_domain(HTTPS_SERVER);
    //$current_domain = (($request_type == 'NONSSL') ? $http_domain : $https_domain);
    $current_domain = $http_domain; //currently no https_domain support

    // set the session cookie parameters
    if (function_exists('session_set_cookie_params')) {
      session_set_cookie_params(0, '/', (xtc_not_null($current_domain) ? '.' . $current_domain : ''));
    } elseif (function_exists('ini_set')) {
      ini_set('session.cookie_lifetime', '0');
      ini_set('session.cookie_path', '/');
      ini_set('session.cookie_domain', (xtc_not_null($current_domain) ? '.' . $current_domain : ''));
    }

    // set the session ID if it exists
    if (isset($_POST[session_name()])) {
      session_id($_POST[session_name()]);
    } elseif (($request_type == 'SSL') && isset($_GET[session_name()])) {
      session_id($_GET[session_name()]);
    }

    @ini_set('session.use_only_cookies', (SESSION_FORCE_COOKIE_USE == 'True') ? 1 : 0); //DokuMan - 2011-01-06 - set session.use_only_cookies when force cookie is enabled

    // start the session
    $session_started = false;
    if (SESSION_FORCE_COOKIE_USE == 'True') {
      xtc_setcookie('cookie_test', 'please_accept_for_session', time() + 60 * 60 * 24 * 30, '/', $current_domain);
      if (isset($_COOKIE['cookie_test'])) {
        session_start();
        $session_started = true;
      }
    } elseif (CHECK_CLIENT_AGENT == 'True') {
      $user_agent = strtolower(getenv('HTTP_USER_AGENT'));
      $spider_flag = false;
      if ($spider_flag == false) {
        session_start();
        $session_started = true;
      }
    } else {
      session_start();
      $session_started = true;
    }

    // verify the ssl_session_id if the feature is enabled
    if (($request_type == 'SSL') && (SESSION_CHECK_SSL_SESSION_ID == 'True') && (ENABLE_SSL == true) && ($session_started == true)) {
      $ssl_session_id = getenv('SSL_SESSION_ID');
      if (!isset($_SESSION['SESSION_SSL_ID'])) {
        $_SESSION['SESSION_SSL_ID'] = $ssl_session_id;
      }
      if ($_SESSION['SESSION_SSL_ID'] != $ssl_session_id) {
        session_destroy();
        xtc_redirect(xtc_href_link(FILENAME_SSL_CHECK));
      }
    }

    // verify the browser user agent if the feature is enabled
    if (SESSION_CHECK_USER_AGENT == 'True') {
      $http_user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
      $http_user_agent2 = strtolower(getenv("HTTP_USER_AGENT"));
      $http_user_agent = ($http_user_agent == $http_user_agent2) ? $http_user_agent : $http_user_agent . ';' . $http_user_agent2;
      if (!isset($_SESSION['SESSION_USER_AGENT'])) {
        $_SESSION['SESSION_USER_AGENT'] = $http_user_agent;
      }
      if ($_SESSION['SESSION_USER_AGENT'] != $http_user_agent) {
        session_destroy();
        xtc_redirect(xtc_href_link(FILENAME_LOGIN));
      }
    }

    // verify the IP address if the feature is enabled
    if (SESSION_CHECK_IP_ADDRESS == 'True') {
      $ip_address = xtc_get_ip_address();
      if (!isset($_SESSION['SESSION_IP_ADDRESS'])) {
        $_SESSION['SESSION_IP_ADDRESS'] = $ip_address;
      }
      if ($_SESSION['SESSION_IP_ADDRESS'] != $ip_address) {
        session_destroy();
        xtc_redirect(xtc_href_link(FILENAME_LOGIN));
      }
    }

    // set the language
    if (!isset($_SESSION['language']) || isset($_GET['language'])) {
      include (DIR_WS_CLASSES . 'language.php');
      $lng = new language($_GET['language']);
      if (!isset($_GET['language'])) {
        $lng->get_browser_language();
      }
      $_SESSION['language'] = $lng->language['directory'];
      $_SESSION['languages_id'] = $lng->language['id'];
      $_SESSION['language_charset'] = $lng->language['language_charset']; //web28 - 2012-04-29 - add $_SESSION['language_charset']
      $_SESSION['language_code'] = $lng->language['code']; //web28 - 2010-09-05 - add $_SESSION['language_code']
    }

    // include the language translations
    require (DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/' . $_SESSION['language'] . '.php');
    require (DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/buttons.php');
    $current_page = basename($PHP_SELF);
    if (file_exists(DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/' . $current_page)) {
      include (DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/' . $current_page);
    }

    // write customers status in session
    require ('../' . DIR_WS_INCLUDES . 'write_customers_status.php');
    if (file_exists($current_page) == false OR $_SESSION['customers_status']['customers_status_id'] !== '0') {
      xtc_redirect(xtc_href_link(FILENAME_LOGIN));
    }

    // for tracking of customers
    $_SESSION['user_info'] = array ();
    if (!isset($_SESSION['user_info']['user_ip'])) {
      $_SESSION['user_info']['user_ip'] = $_SERVER['REMOTE_ADDR'];
      $_SESSION['user_info']['user_host'] = isset($_SERVER['REMOTE_HOST']) ? $_SERVER['REMOTE_HOST'] : '';
      $_SESSION['user_info']['advertiser'] = isset($_GET['ad']) ? $_GET['ad'] : '';
      $_SESSION['user_info']['referer_url'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
    }

    // define our localization functions
    require (DIR_WS_FUNCTIONS . 'localization.php');

    // Include validation functions (right now only email address)
    //require(DIR_WS_FUNCTIONS . 'validations.php');

    // setup our boxes
    require (DIR_WS_CLASSES . 'table_block.php');
    require (DIR_WS_CLASSES . 'box.php');

    // initialize the message stack for output messages
    require (DIR_WS_CLASSES . 'message_stack.php');
    $messageStack = new messageStack();

    // split-page-results
    require (DIR_WS_CLASSES . 'split_page_results.php');

    // entry/item info classes
    require (DIR_WS_CLASSES . 'object_info.php');

    // file uploading class
    require (DIR_WS_CLASSES . 'upload.php');

    // calculate category path
    $cPath = isset($_GET['cPath']) ? $_GET['cPath'] : '';
    if (strlen($cPath) > 0) {
      $cPath_array = explode('_', $cPath);
      $current_category_id = $cPath_array[(sizeof($cPath_array) - 1)];
    } else {
      $current_category_id = 0;
    }

    // default open navigation box
    if (!isset($_SESSION['selected_box'])) {
      $_SESSION['selected_box'] = 'configuration';
    } else if(!empty($_GET['selected_box'])) {
      $_SESSION['selected_box'] = $_GET['selected_box'];
    }

    // the following cache blocks are used in the Tools->Cache section
    // ('language' in the filename is automatically replaced by available languages)
    $cache_blocks = array (array ('title' => TEXT_CACHE_CATEGORIES,
                                   'code' => 'categories',
                                   'file' => 'categories_box-language.cache',
                                   'multiple' => true),
                            array ('title' => TEXT_CACHE_MANUFACTURERS,
                                    'code' => 'manufacturers',
                                    'file' => 'manufacturers_box-language.cache',
                                    'multiple' => true),
                            array ('title' => TEXT_CACHE_ALSO_PURCHASED,
                                    'code' => 'also_purchased',
                                    'file' => 'also_purchased-language.cache',
                                    'multiple' => true));

    // check if a default currency is set
    if (!defined('DEFAULT_CURRENCY')) {
      $messageStack->add(ERROR_NO_DEFAULT_CURRENCY_DEFINED, 'error');
    }

    // check if a default language is set
    if (!defined('DEFAULT_LANGUAGE')) {
      $messageStack->add(ERROR_NO_DEFAULT_LANGUAGE_DEFINED, 'error');
    }

    // for Customers Status
    xtc_get_customers_statuses();

    $pagename = strtok($current_page, '.');
    if (!isset($_SESSION['customer_id'])) {
      xtc_redirect(xtc_href_link(FILENAME_LOGIN));
    }

    if (xtc_check_permission($pagename) == '0') {
      xtc_redirect(xtc_href_link(FILENAME_LOGIN));
    }

    // Smarty Template Engine
    require (DIR_FS_EXTERNAL . 'smarty/Smarty.class.php');
     

    @burrito:
    Wenn ich nur wüsste, wonach ich suchen soll ^^

    Nachtrag:
    Ich hab endlich rausbekommen, dass die PDF Generierung von einer externen Stelle programmiert wurde und es im eigentlichen Sinne kaum eine Möglichkeit für mich gibt, dies selbst anzupassen.
    Der externe Dienstleister hat aber noch alle dazugehörigen Unterlagen da und würde es übernehmen.

    Was den Teil mit der unfertigen Version als laufendes System angeht, da bleibt es spannend ^^

    Bonsai

    • Viel Schreiber
    • Beiträge: 4.127
    • Geschlecht:
    Re: EU-Richtlinie 2014
    Antwort #13 am: 11. Juli 2014, 15:26:55
    Also Du hast definitiv was, das neuer ist als die aktuelle Version ... damit kann nur das Team helfen.

    Zum Vergleich hier mal der aktuelle Download von gerade eben. Achte auf Deine Zeilen 33 und 3 und vergleiche hiermit:

    Code: PHP  [Auswählen]
    <?php
    /* -----------------------------------------------------------------------------------------
       $Id: application_top.php 3121 2012-06-23 19:29:57Z franky-n-modified eCommerce Shopsoftware $

       modified eCommerce Shopsoftware
       http://www.modified-shop.org

       Copyright (c) 2009 - 2013 [www.modified-shop.org]
       -----------------------------------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce(application_top.php,v 1.273 2003/05/19); www.oscommerce.com
       (c) 2003 nextcommerce (application_top.php,v 1.54 2003/08/25); www.nextcommerce.org
       (c) 2006 XT-Commerce (application_top.php 1194 2010-08-22)

       Released under the GNU General Public License
       -----------------------------------------------------------------------------------------
       Third Party contribution:
       Add A Quickie v1.0 Autor  Harald Ponce de Leon

       Credit Class/Gift Vouchers/Discount Coupons (Version 5.10)
       http://www.oscommerce.com/community/contributions,282
       Copyright (c) Strider | Strider@oscworks.com
       Copyright (c) Nick Stanko of UkiDev.com, nick@ukidev.com
       Copyright (c) Andre ambidex@gmx.net
       Copyright (c) 2001,2002 Ian C Wilson http://www.phesis.org

       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/


    // start the timer for the page parse time log
    define('PAGE_PARSE_START_TIME', microtime(true));


    // configuration parameters
    if (file_exists('includes/local/configure.php')) {
      include ('includes/local/configure.php');
    } else {
      include ('includes/configure.php');
    }

    /**
     * set the level of error reporting
     */

    if (file_exists(DIR_FS_CATALOG.'export/_error_reporting.all') || file_exists(DIR_FS_CATALOG.'export/_error_reporting.shop')) {
      @ini_set('display_errors', true);
      error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); //exlude E_STRICT on PHP 5.4
    } elseif (file_exists(DIR_FS_CATALOG.'export/_error_reporting.dev')) {
      @ini_set('display_errors', true);
      error_reporting(-1); // Development value
    } else {
      error_reporting(0);
    }

    /*
     * turn off magic-quotes support, for both runtime and sybase, as both will cause problems if enabled
     */

    if (version_compare(PHP_VERSION, 5.3, '<') && function_exists('set_magic_quotes_runtime')) set_magic_quotes_runtime(0);
    if (version_compare(PHP_VERSION, 5.4, '<') && @ini_get('magic_quotes_sybase') != 0) @ini_set('magic_quotes_sybase', 0);

    // include the list of project filenames
    require (DIR_WS_INCLUDES.'filenames.php');
    if (version_compare(PHP_VERSION, '5.1.0', '>=')) {
      date_default_timezone_set('Europe/Berlin');
    }

    // Debug-Log-Class - thx to franky
    include_once(DIR_WS_CLASSES.'class.debug.php');
    $log = new debug;

    // for xtc_db_perform
    $php4_3_10 = (0 == version_compare(phpversion(), "4.3.10"));
    define('PHP4_3_10', $php4_3_10);

    // project version
    define('PROJECT_VERSION', 'modified eCommerce Shopsoftware');

    define('TAX_DECIMAL_PLACES', 0);

    // set the type of request (secure or not)
    if (file_exists('includes/request_type.php')) {
      include ('includes/request_type.php');
    } else {
      $request_type = 'NONSSL';
    }
    // Base/PHP_SELF/SSL-PROXY
    require_once(DIR_FS_INC . 'set_php_self.inc.php');
    $PHP_SELF = set_php_self();

    //compatibility for modified eCommerce Shopsoftware 1.06 files
    define('DIR_WS_BASE', '');

    // list of project database tables
    require (DIR_WS_INCLUDES.'database_tables.php');

    // SQL caching dir
    define('SQL_CACHEDIR', DIR_FS_CATALOG.'cache/');

    // graduated prices model or products assigned ?
    define('GRADUATED_ASSIGN', 'true');

    // Database
    require_once (DIR_FS_INC.'xtc_db_connect.inc.php');
    require_once (DIR_FS_INC.'xtc_db_close.inc.php');
    require_once (DIR_FS_INC.'xtc_db_error.inc.php');
    require_once (DIR_FS_INC.'xtc_db_perform.inc.php');
    require_once (DIR_FS_INC.'xtc_db_query.inc.php');
    require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');
    require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');
    require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');
    require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');
    require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');
    require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');
    require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');
    require_once (DIR_FS_INC.'xtc_db_output.inc.php');
    require_once (DIR_FS_INC.'xtc_db_input.inc.php');
    require_once (DIR_FS_INC.'xtc_db_prepare_input.inc.php');

    // html basics
    require_once (DIR_FS_INC.'xtc_href_link.inc.php');
    require_once (DIR_FS_INC.'xtc_php_mail.inc.php');

    require_once (DIR_FS_INC.'xtc_product_link.inc.php');
    require_once (DIR_FS_INC.'xtc_category_link.inc.php');
    require_once (DIR_FS_INC.'xtc_manufacturer_link.inc.php');

    // html functions
    require_once (DIR_FS_INC.'xtc_draw_checkbox_field.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_form.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_hidden_field.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_input_field.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_password_field.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_pull_down_menu.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_radio_field.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_selection_field.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_separator.inc.php');
    require_once (DIR_FS_INC.'xtc_draw_textarea_field.inc.php');
    require_once (DIR_FS_INC.'xtc_image_button.inc.php');

    require_once (DIR_FS_INC.'xtc_not_null.inc.php');
    require_once (DIR_FS_INC.'xtc_update_whos_online.inc.php');
    require_once (DIR_FS_INC.'xtc_activate_banners.inc.php');
    require_once (DIR_FS_INC.'xtc_expire_banners.inc.php');
    require_once (DIR_FS_INC.'xtc_expire_specials.inc.php');
    require_once (DIR_FS_INC.'xtc_parse_category_path.inc.php');
    require_once (DIR_FS_INC.'xtc_get_product_path.inc.php');
    require_once (DIR_FS_INC.'xtc_get_top_level_domain.inc.php');
    require_once (DIR_FS_INC.'xtc_get_category_path.inc.php');

    require_once (DIR_FS_INC.'xtc_get_parent_categories.inc.php');
    require_once (DIR_FS_INC.'xtc_redirect.inc.php');
    require_once (DIR_FS_INC.'xtc_get_uprid.inc.php');
    require_once (DIR_FS_INC.'xtc_get_all_get_params.inc.php');
    require_once (DIR_FS_INC.'xtc_has_product_attributes.inc.php');
    require_once (DIR_FS_INC.'xtc_image.inc.php');
    require_once (DIR_FS_INC.'xtc_check_stock_attributes.inc.php');
    require_once (DIR_FS_INC.'xtc_currency_exists.inc.php');
    require_once (DIR_FS_INC.'xtc_remove_non_numeric.inc.php');
    require_once (DIR_FS_INC.'xtc_get_ip_address.inc.php');
    require_once (DIR_FS_INC.'xtc_setcookie.inc.php');
    require_once (DIR_FS_INC.'xtc_check_agent.inc.php');
    require_once (DIR_FS_INC.'xtc_count_cart.inc.php');
    require_once (DIR_FS_INC.'xtc_get_qty.inc.php');
    require_once (DIR_FS_INC.'create_coupon_code.inc.php');
    require_once (DIR_FS_INC.'xtc_gv_account_update.inc.php');
    require_once (DIR_FS_INC.'xtc_get_tax_rate_from_desc.inc.php');
    require_once (DIR_FS_INC.'xtc_get_tax_rate.inc.php');
    require_once (DIR_FS_INC.'xtc_add_tax.inc.php');
    require_once (DIR_FS_INC.'xtc_cleanName.inc.php');
    require_once (DIR_FS_INC.'xtc_calculate_tax.inc.php');
    require_once (DIR_FS_INC.'xtc_input_validation.inc.php');
    require_once (DIR_FS_INC.'xtc_js_lang.php');
    require_once (DIR_FS_INC.'html_encoding.php'); //new function for PHP5.4
    // make a connection to the database... now
    xtc_db_connect() or die('Unable to connect to database server!');

    // load configuration
    $configuration_query = xtc_db_query('select configuration_key as cfgKey, configuration_value as cfgValue from '.TABLE_CONFIGURATION);
    while ($configuration = xtc_db_fetch_array($configuration_query)) {
      define($configuration['cfgKey'], stripslashes($configuration['cfgValue'])); //Web28 - 2012-08-09 - fix slashes
    }
    // Set the length of the redeem code, the longer the more secure
    // Kommt eigentlich schon aus der Table configuration
    if(SECURITY_CODE_LENGTH=='')
      define('SECURITY_CODE_LENGTH', '10');

    // PHPMailer
    require_once (DIR_WS_CLASSES.'class.phpmailer.php');
    if (EMAIL_TRANSPORT == 'smtp') {
      require_once (DIR_WS_CLASSES.'class.smtp.php');
    }

    require_once (DIR_FS_INC.'xtc_Security.inc.php');

    // move to xtc_db_queryCached.inc.php
    function xtDBquery($query) {
      if (defined('DB_CACHE') && DB_CACHE == 'true') {
        $result = xtc_db_queryCached($query);
      } else {
        $result = xtc_db_query($query);
      }
      return $result;
    }

    function CacheCheck() {
      if (USE_CACHE == 'false') return false;
      if (!isset($_COOKIE['MODsid'])) return false;
      return true;
    }

    // if gzip_compression is enabled and gzip_off is not set, start to buffer the output
    if ((!isset($gzip_off) || !$gzip_off) && (GZIP_COMPRESSION == 'true') && ($ext_zlib_loaded = extension_loaded('zlib')) && (PHP_VERSION >= '4')) {
      if (($ini_zlib_output_compression = (int) ini_get('zlib.output_compression')) < 1) {
        ob_start('ob_gzhandler');
      } else {
        ini_set('zlib.output_compression_level', GZIP_LEVEL);
      }
    }

    // security inputfilter for GET/POST/COOKIE
    require (DIR_WS_CLASSES.'class.inputfilter.php');
    $InputFilter = new InputFilter();

    $_GET = $InputFilter->process($_GET);
    $_POST = $InputFilter->process($_POST);
    $_REQUEST = $InputFilter->process($_REQUEST);
    $_GET = $InputFilter->safeSQL($_GET);
    $_POST = $InputFilter->safeSQL($_POST);
    $_REQUEST = $InputFilter->safeSQL($_REQUEST);


    // set the top level domains
    $http_domain = xtc_get_top_level_domain(HTTP_SERVER);
    $https_domain = xtc_get_top_level_domain(HTTPS_SERVER);
    $current_domain = (($request_type == 'NONSSL') ? $http_domain : $https_domain);

    // include shopping cart class
    require (DIR_WS_CLASSES.'shopping_cart.php');

    // include navigation history class
    require (DIR_WS_CLASSES.'navigation_history.php');

    // some code to solve compatibility issues
    require (DIR_WS_FUNCTIONS.'compatibility.php');

    // define how the session functions will be used
    require (DIR_WS_FUNCTIONS.'sessions.php');

    // set the session name and save path
    session_name('MODsid');
    if (STORE_SESSIONS != 'mysql') session_save_path(SESSION_WRITE_DIRECTORY);

    // set the session cookie parameters
    if (function_exists('session_set_cookie_params')) {
      session_set_cookie_params(0, '/', (xtc_not_null($current_domain) ? '.'.$current_domain : ''));
    } elseif (function_exists('ini_set')) {
      ini_set('session.cookie_lifetime', '0');
      ini_set('session.cookie_path', '/');
      ini_set('session.cookie_domain', (xtc_not_null($current_domain) ? '.'.$current_domain : ''));
    }
    // set the session ID if it exists
    if (isset ($_POST[session_name()])) {
      session_id($_POST[session_name()]);
    }
    elseif (($request_type == 'SSL') && isset ($_GET[session_name()])) {
      session_id($_GET[session_name()]);
    }

    // start the session
    $session_started = false;
    if (SESSION_FORCE_COOKIE_USE == 'True') {
      xtc_setcookie('cookie_test', 'please_accept_for_session', time() + 60 * 60 * 24 * 30, '/', $current_domain);
      if (isset ($_COOKIE['cookie_test'])) {
        session_start();
        $session_started = true;
      }
    } else {
      session_start();  
      $session_started = true;
    }
    include (DIR_WS_INCLUDES.'tracking.php');
    // check the Agent
    $truncate_session_id = false;
    if (CHECK_CLIENT_AGENT && xtc_check_agent() == 1) {
      $truncate_session_id = true;
    }

    // verify the ssl_session_id if the feature is enabled
    if (($request_type == 'SSL') && (SESSION_CHECK_SSL_SESSION_ID == 'True') && (ENABLE_SSL == true) && ($session_started == true)) {
      $ssl_session_id = getenv('SSL_SESSION_ID');
      if (!isset($_SESSION['SSL_SESSION_ID'])) {
        $_SESSION['SESSION_SSL_ID'] = $ssl_session_id;
      }
      if ($_SESSION['SESSION_SSL_ID'] != $ssl_session_id) {
        session_destroy();
        xtc_redirect(xtc_href_link(FILENAME_SSL_CHECK));
      }
    }

    // verify the browser user agent if the feature is enabled
    if (SESSION_CHECK_USER_AGENT == 'True') {
      $http_user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
      $http_user_agent2 = strtolower(getenv("HTTP_USER_AGENT"));
      $http_user_agent = ($http_user_agent == $http_user_agent2) ? $http_user_agent : $http_user_agent.';'.$http_user_agent2;
      if (!isset ($_SESSION['SESSION_USER_AGENT'])) {
        $_SESSION['SESSION_USER_AGENT'] = $http_user_agent;
      } elseif ($_SESSION['SESSION_USER_AGENT'] != $http_user_agent) {
        session_destroy();
        xtc_redirect(xtc_href_link(FILENAME_LOGIN));
      }
    }

    // verify the IP address if the feature is enabled
    if (SESSION_CHECK_IP_ADDRESS == 'True') {
      $ip_address = xtc_get_ip_address();
      if (!isset($_SESSION['SESSION_IP_ADDRESS'])) {
        $_SESSION['SESSION_IP_ADDRESS'] = $ip_address;
      } elseif ($_SESSION['SESSION_IP_ADDRESS'] != $ip_address) {
        session_destroy();
        xtc_redirect(xtc_href_link(FILENAME_LOGIN));
      }
    }

    // Redirect search engines with session id to the same url without session id to prevent indexing session id urls
    if ( $truncate_session_id == true ) {
      if (preg_match('/' . xtc_session_name() . '/i', $_SERVER['REQUEST_URI']) ){
        $location = xtc_href_link(basename($_SERVER['SCRIPT_NAME']), xtc_get_all_get_params(array(xtc_session_name())), 'NONSSL', false);
        header("HTTP/1.0 301 Moved Permanently");
        header("Location: $location");
      }
    }

    if (!(preg_match('/^[a-z0-9]{26}$/i', session_id()) || preg_match('/^[a-z0-9]{32}$/i', session_id()))) {
      session_regenerate_id(true); // Thanks to HHGAG ;-)
    }

    // set the language
    include (DIR_WS_MODULES.'set_language_sessions.php');

    // language translations
    require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');

    // currency
    if (!isset ($_SESSION['currency']) || isset ($_GET['currency']) || ((USE_DEFAULT_LANGUAGE_CURRENCY == 'true') && (LANGUAGE_CURRENCY != $_SESSION['currency']))) {
      if (isset ($_GET['currency'])) {
        $_GET['currency'] = xtc_input_validation($_GET['currency'], 'char', '');
        if (!$_SESSION['currency'] = xtc_currency_exists($_GET['currency']))
          $_SESSION['currency'] = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY;
      } else {
        $_SESSION['currency'] = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY;
      }
    }
    if (isset ($_SESSION['currency']) && $_SESSION['currency'] == '') {
      $_SESSION['currency'] = DEFAULT_CURRENCY;
    }

    // write customers status in session
    require (DIR_WS_INCLUDES.'write_customers_status.php');

    //BOC web28 2011-11-30 - Versandkosten im Warenkorb
    if (strpos($PHP_SELF, FILENAME_SHOPPING_CART) === false) {
      unset($_SESSION['country']);
    }
    //EOC web28 2011-11-30 - Versandkosten im Warenkorb

    // main class
    require (DIR_WS_CLASSES.'main.php');
    $main = new main();

    // price class
    require (DIR_WS_CLASSES.'xtcPrice.php');
    $xtPrice = new xtcPrice($_SESSION['currency'], $_SESSION['customers_status']['customers_status_id']);

    // econda tracking
    if (TRACKING_ECONDA_ACTIVE=='true') {
      require(DIR_WS_INCLUDES . 'econda/class.econda304SP2.php');
      $econda = new econda();
    }

    // PayPal Express
    if (defined('PAYPAL_API_VERSION')) {
      require_once (DIR_WS_CLASSES . 'paypal_checkout.php');
      $o_paypal = new paypal_checkout();
    }

    // create the shopping cart & fix the cart if necesary
    if (!isset($_SESSION['cart']) || !is_object($_SESSION['cart'])) {
      $_SESSION['cart'] = new shoppingCart();
    }

    require (DIR_WS_INCLUDES.FILENAME_CART_ACTIONS);

    // who's online functions
    xtc_update_whos_online();

    // split-page-results
    require (DIR_WS_CLASSES.'split_page_results.php');

    // infobox
    require (DIR_WS_CLASSES.'boxes.php');

    // auto activate and expire banners
    xtc_activate_banners();
    xtc_expire_banners();

    // auto expire special products
    xtc_expire_specials();

    // class product
    require (DIR_WS_CLASSES.'product.php');

    // set $actual_products_id,  $current_category_id, $ cPath, $_GET['manufacturers_id']
    include (DIR_WS_MODULES.'set_ids_by_url_parameters.php');

    // breadcrumb class and start the breadcrumb trail
    require (DIR_WS_CLASSES.'breadcrumb.php');
    $breadcrumb = new breadcrumb;
    include (DIR_WS_MODULES.'create_breadcrumb.php');

    // initialize the message stack for output messages
    require (DIR_WS_CLASSES.'message_stack.php');
    $messageStack = new messageStack;

    // set which precautions should be checked
    define('WARN_INSTALL_EXISTENCE', 'true');
    define('WARN_CONFIG_WRITEABLE', 'true');
    define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');
    define('WARN_SESSION_AUTO_START', 'true');
    define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

    // Smarty Template Engine
    require (DIR_WS_CLASSES.'Smarty_2.6.27/Smarty.class.php');

    if (isset ($_SESSION['customer_id'])) {
    $account_type_query = xtc_db_query("-- /includes/application_top.php
                                          SELECT account_type,
                                                 customers_default_address_id
                                            FROM "
    .TABLE_CUSTOMERS."
                                           WHERE customers_id = '"
    .(int) $_SESSION['customer_id']."'");
      $account_type = xtc_db_fetch_array($account_type_query);

      // check if zone id is unset bug
      if (!isset ($_SESSION['customer_country_id'])) {
        $zone_query = xtc_db_query("-- /includes/application_top.php
                                SELECT entry_country_id
                                  FROM "
    .TABLE_ADDRESS_BOOK."
                                 WHERE customers_id='"
    .(int) $_SESSION['customer_id']."'
                                   AND address_book_id='"
    .$account_type['customers_default_address_id']."'");

        $zone = xtc_db_fetch_array($zone_query);
        $_SESSION['customer_country_id'] = $zone['entry_country_id'];
      }
      $_SESSION['account_type'] = $account_type['account_type'];
    } else {
      $_SESSION['account_type'] = '0';
    }

    // modification for nre graduated system
    unset ($_SESSION['actual_content']);

    // econda tracking
    if (TRACKING_ECONDA_ACTIVE == 'true') {
      require(DIR_WS_INCLUDES . 'econda/emos.php');
    }

    // BOF - Tomcraft - 2011-06-17 - Added janolaw AGB hosting service
    require_once(DIR_FS_CATALOG.'includes/janolaw/janolaw.php');
    $coo_janolaw = new janolaw();
    if($coo_janolaw->get_status() == true) {
      $coo_janolaw->get_page_content('agb', true, true, 'checkout-agb');
      $coo_janolaw->get_page_content('datenschutzerklaerung', true, true, 'checkout-datenschutzerklaerung');
      $coo_janolaw->get_page_content('impressum', true, true, 'checkout-impressum');
      $coo_janolaw->get_page_content('widerrufsbelehrung', true, true, 'checkout-widerrufsbelehrung');
    }
    // EOF - Tomcraft - 2011-06-17 - Added janolaw AGB hosting service

    xtc_count_cart();
    ?>

    schatten105

    • Neu im Forum
    • Beiträge: 7
    Re: EU-Richtlinie 2014
    Antwort #14 am: 16. Juli 2014, 12:33:40
    So, der Kunde möchte den Shop zumindest vorläufig erstmal scharf schalten.

    Wir haben zwar ein Angebot für ein Downgrade auf die aktuelle stable, aber das is so exorbitant teuer, zumindest vor dem Hintergrund, dass der Kunde das ja alles schonmal bezahlt hat,
    dass wir das ganze in den nächsten Wochen wohl parallel nochmal komplett selbst neu aufziehen werden.

    Bis dahin soll der jetzige Shop aber wie gesagt laufen.

    Meint ihr, dass die Umsetzung der EU-Richtlinie als Modul für 1.06 auch auf unserer sehr merkwürdigen 2.x funktionieren würde?

    Ne Antwort vom Team diesbezüglich wäre ja mal schön ^^
    44 Antworten
    23954 Aufrufe
    21. Mai 2018, 20:08:04 von XTC_Fan
    3 Antworten
    1120 Aufrufe
    05. Juni 2019, 17:02:20 von Timm
               
    anything