----------------------------------------------------------------------------------------- based on: (c) 2000-2001 The Exchange Project (earlier name of osCommerce) (c) 2002-2003 osCommerce(shopping_cart.php,v 1.18 2003/02/10); www.oscommerce.com (c) 2003 nextcommerce (shopping_cart.php,v 1.15 2003/08/17); www.nextcommerce.org (c) 2004 XT - Commerce; www.xt-commerce.com Released under the GNU General Public License --------------------------------------------------------------------------------------- */ define('PHP', '.php'); define('INC_PHP', '.inc.php'); include 'includes/configure.php'; include 'inc/olc_get_template.inc.php'; $current_template = olc_get_template(true); // include needed functions require_once DIR_FS_INC . 'olc_db_connect.inc.php'; require_once DIR_FS_INC . 'olc_db_fetch_array.inc.php'; require_once DIR_FS_INC . 'olc_db_query.inc.php'; require_once DIR_FS_INC . 'olc_smarty_init.inc.php'; define('MULTI_DB_SERVER', false); // make a connection to the database... now olc_db_connect() or die('Kann keine Verbindung zur Datenbank erhalten!'); // set the application parameters $configuration_query = olc_db_query("select configuration_key, configuration_value from " . TABLE_PREFIX . "configuration where configuration_key='CURRENT_TEMPLATE'"); $configuration = olc_db_fetch_array($configuration_query); define($configuration['configuration_key'], $configuration['configuration_value']); define('IS_ADMIN_FUNCTION', strpos($_SERVER['REQUEST_URI'], 'admin/') > 0); //define('FULL_CURRENT_TEMPLATE',$configuration_query); define("USE_AJAX", false);
$pagetext = file_get_contents("ausstellungen.html"); if (strlen($pagetext) > 0) { $pagetext_small = strtolower($pagetext); $monat_text = "monat="; $monat_len = strlen($monat_text); $termine_text = "termine="; $termine_len = strlen($termine_text); $html_hr = ' <tr><td colspan="2"><hr/></td></tr> '; $ignore_external_config_data = true; include 'includes/configure.php'; require_once DIR_FS_INC . 'olc_define_global_constants.inc.php'; $ignore_external_config_data = false; include DIR_FS_INC . 'olc_get_template.inc.php'; $current_template = olc_get_template(); if ($current_template) { define('FULL_CURRENT_TEMPLATE', TEMPLATE_PATH . $current_template . SLASH); } else { include 'includes/application_top.php'; } $html_start = ' <head> <link rel="stylesheet" type="text/css" href="' . FULL_CURRENT_TEMPLATE . 'stylesheet.css"> </head> <body style="background-color:transparent"> '; $html_table_start = $html_start . ' <table border="0" width="100%"> '; $html_tr_end = '
require_once DIR_FS_INC . 'olc_connect_and_get_config.inc.php'; olc_connect_and_get_config(array(1, 17, 19), $level); require_once DIR_WS_CLASSES . 'smarty/Smarty.class.php'; require_once DIR_FS_INC . 'olc_smarty_init.inc.php'; include_once DIR_FS_INC . 'olc_start_session.inc.php'; $language_text = 'language'; define('SESSION_LANGUAGE', $_SESSION[$language_text]); include_once DIR_WS_INCLUDES . 'filenames.php'; olc_smarty_init($smarty, $cacheid, false); if ($is_products_show) { require_once DIR_FS_INC . 'olc_get_template.inc.php'; require_once DIR_WS_CLASSES . 'split_page_results.php'; include DIR_WS_INCLUDES . 'write_customers_status.php'; define('SESSION_LANGUAGE_ID', $_SESSION[$language_text . '_id']); define('SESSION_CURRENCY', $_SESSION['currency']); define($current_template_text, olc_get_template()); define('FULL_CURRENT_TEMPLATE', TEMPLATE_PATH . CURRENT_TEMPLATE . SLASH); define('CURRENT_TEMPLATE_MODULE', CURRENT_TEMPLATE . SLASH . 'module' . SLASH); define('ADMIN_PATH_PREFIX', EMPTY_STRING); define('MAX_DISPLAY_SEARCH_RESULTS', 1); define('MINIMUM_SHIP_COST', $_SESSION['minimum_ship_cost']); include_once DIR_FS_INC . 'olc_get_all_get_params.inc.php'; include_once DIR_FS_INC . 'olc_image_button.inc.php'; include_once DIR_FS_INC . 'olc_get_box_configuration.inc.php'; include_once DIR_FS_INC . 'olc_get_seo_data.inc.php'; include_once DIR_FS_INC . 'olc_get_vpe_name.inc.php'; include_once DIR_FS_INC . 'olc_precision.inc.php'; } $buttons = SLASH . SESSION_LANGUAGE . SLASH; include 'lang' . $buttons . SESSION_LANGUAGE . PHP; $buttons = 'buttons' . $buttons;