|
ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS
*****************************************
* *
* INSTALLATION-GUIDE *
* *
*****************************************
* @package Ajax Staffelpreis *
* @compatible SP2.1 *
*****************************************
--------------
NEW FILES:
--------------
admin/group_prices.server.php
admin/images/cancel.gif
admin/images/icons/icon_add.png
admin/images/icons/icon_add_new.png
admin/images/icons/icon_delete.png
admin/images/icons/icon_load.png
admin/images/icons/icon_rename.png
admin/images/icons/icon_save.png
admin/images/icons/Thumbs.db
admin/images/image_add.gif
admin/images/image_delete.gif
admin/images/image_edit.gif
admin/images/Thumbs.db
admin/images/tick.gif
admin/includes/modules/group_prices.common.php
includes/functions/database.php
--------------
NEW DIRS:
--------------
admin/includes/javascript/tabpane
admin/includes/javascript/xajax
imedes_library
includes/classes/adodb_full
--------------
CHANGED FILES:
--------------
admin/includes/application_top.php
admin/includes/functions/sessions.php
admin/includes/modules/group_prices.php
admin/includes/modules/new_product.php
admin/includes/stylesheet.css
includes/application_top.php
includes/functions/sessions.php
lang/german/admin/german.php
-------------
INSTALLATION:
-------------
1. Datenkbankerweiterungen durchführen
ALTER TABLE `admin_access` ADD `group_prices` INT( 1 ) DEFAULT '1' NOT NULL ;
2. new_files kopieren.
3. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:
-admin/includes/application_top.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
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');
und ersetze es mit:
require_once('../'.DIR_WS_FUNCTIONS.'database.php');
// 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');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/modules/group_prices.php
---------------------------------------------------------------------------------------------------
Durch die große Anzahl von Veränderungen innerhalb dieser Datei und dadurch, das hier normaler Weise
keine Änderungen vollzogen werden, wird empfohlen diese Datei durch diese Datei im Ordner
"changed_files" zu ersetzen.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/modules/new_product.php
---------------------------------------------------------------------------------------------------
finde folgendes:
<link rel="stylesheet" type="text/css" href="includes/javascript/spiffyCal/spiffyCal_v2_1.css">
<script type="text/javascript" src="includes/javascript/spiffyCal/spiffyCal_v2_1.js"></script>
und füge danach ein:
<link type="text/css" rel="stylesheet" href="includes/javascript/tabpane/css/luna/tab.css" />
<script type="text/javascript" src="includes/javascript/tabpane/js/tabpane.js"></script>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/stylesheet.css
---------------------------------------------------------------------------------------------------
am Ende einfügen:
/********************* AJAX Staffelpreise *********************/
h2.headingAJAX {
display:block;
float:left;
font-size:12px;
font-weight:bold;
font-family:Verdana, Arial, san serif;
}
h2.headingBrand {
display:block;
margin-right:5px;
float:right;
font-size:12px;
font-weight:bold;
font-family:Verdana, Arial, san serif;
}
.errorMessage {
color:#ff0000;
}
.tablePrice {
background-color:#CCCAAA;
border: 1px solid #666666;
padding:5px;
}
.tablePriceInnert {
background-color:#EBEBE9;
padding:5px;
border:1px solid #666666;
}
.innerHTML {
width:300px;
padding-top:2px;
padding-bottom:2px;
}
.innerInnerHTML {
float:left;
width:31%;
}
.innerInnerHTMLRight {
float:left;
width:37%;
}
.innerInnerHTMLRightRight {
float:left;
width:20.5%;
* width:19%;
}
.titlePrice {
margin-right:20px;
float:left;
margin-top:5px;
color:#333333;
font-weight:bold;
}
.titleProfile {
float:left;
margin-right:20px;
margin-top:5px;
margin-bottom:5px;
font-weight:bold;
color:#333333;
}
.titleStaffel {
margin-top:5px;
margin-bottom:5px;
float:left;
font-weight:bold;
color:#333333;
}
.tableMain {
clear:left;
border:1px solid #999999;
width:300px;
margin-bottom:5px;
background-color:#999999;
color:#ffffff;
padding: 2px 0px 2px 5px;
}
.td {
float:left;
width:30%;
}
.tdSmall {
float:left;
width:20%;
}
.tdWide {
margin-bottom:4px;
padding-left:4px;
width:300px;
}
.column {
margin-bottom:7px;
}
input.ajax {
width:40px;
}
input.profil {
margin-bottom:5px;
padding-top:0px;
margin-right:3px;
width:100px;
}
.productsNewStaffelLeft {
float:left;
width:37%;
}
.productsNewStaffelRight {
float:left;
width:19%;
}
span.cursor {
cursor:pointer;
}
img.cursor {
cursor:pointer;
}
#productsPrice {
float:left;
margin-top:3px;
font-size:11px;
}
#productsPriceInput {
width:50%;
}
.fieldset {
border:1px solid #666666;
background-color:#EBEBE9;
padding:5px;
}
.fieldsetInnert {
float:left;
margin-right:30px;
}
.fieldsetInnertRight {
float:left;
width:320px;
}
.clear {
clear:both;
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/application_top.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
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');
und ersetze es mit:
require_once(DIR_WS_FUNCTIONS.'database.php');
// 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');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');
und füge danach ein:
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TEXT_REFERER','Referer: ');
und füge am Ende ein:
/*AJAX Staffelpreise*/
define('STAFFEL_GROUP_BASE_PRICE','Grundpreis:');
define('STAFFEL_QUANTITY','Menge:');
define('STAFFEL_NETTO','netto');
define('STAFFEL_BRUTTO','brutto');
define('STAFFEL_PRICE','Preis:');
define('STAFFEL_SAVE','Speichern');
define('STAFFEL_EDIT','Bearbeiten');
define('STAFFEL_CANCEL','Abbrechen');
define('STAFFEL_NEW','Neu');
define('STAFFEL_DELETE','Löschen');
define('STAFFEL_ADD','Hinzufügen');
define('STAFFEL_TITLE','Staffelpreise');
define('STAFFEL_ERROR_MESSAGE_1','Sie müssen zunächst einen Grundwert eingeben und<br /> abspeichern bevor Sie einen Staffelpreis eingeben möchten!');
define('STAFFEL_ERROR_MESSAGE_2','erfolgreich gespeichert!');
define('STAFFEL_ERROR_MESSAGE_3','Eintrag schon vorhanden!');
define('STAFFEL_ERROR_MESSAGE_4','Mindestens ein Feld ist leer geblieben!');
define('STAFFEL_ERROR_MESSAGE_5','Staffelpreiseintrag nicht vorhanden!');
define('STAFFEL_ERROR_MESSAGE_6','Staffelpreiseintrag erfolgreich gelöscht!');
define('STAFFEL_ERROR_MESSAGE_7','Staffelpreiseintrag nicht vorhanden!');
define('STAFFEL_ERROR_MESSAGE_8','Erfolgreich geändert!');
define('STAFFEL_ERROR_MESSAGE_9_0','<br />Das Profil ');
define('STAFFEL_ERROR_MESSAGE_9_1',' wurde erfolgreich gespeichert!');
define('STAFFEL_ERROR_MESSAGE_10_0','<br />Der gewählte Profilname ');
define('STAFFEL_ERROR_MESSAGE_10_1',' existiert leider schon.<br />Bitte wählen Sie einen anderen Namen!');
define('STAFFEL_ERROR_MESSAGE_11','Bitte wählen Sie ein Profil aus!');
define('STAFFEL_ERROR_MESSAGE_12_0','<br />Der Profilname wurde erfolgreich in ');
define('STAFFEL_ERROR_MESSAGE_12_1',' geändert!');
define('STAFFEL_ERROR_MESSAGE_13','<br />Die Staffelpreise wurden erfolgreich übertragen!');
define('STAFFEL_ERROR_MESSAGE_14','Folgende Staffelpreise werden nach Bestätigung eingetragen. <font color="FF0000">Achtung: Alle bisherigen Staffelpreise dieser Kundengruppe werden überschrieben!</font>');
define('STAFFEL_ERROR_MESSAGE_15','<br />Möchten Sie die Staffelpreise übernehmen? ');
define('STAFFEL_ERROR_MESSAGE_16','<br />Das Profil wurde erfolgreich gelöscht!');
define('PROFILE_WILL_LOAD','Das selektierte Profil wird geladen.');
define('PROFILE_WILL_SAVE','Die angezeigten Staffelpreise werden als neues Profil gespeichert.');
define('PROFILE_WILL_RENAME','Das selektierte Profil wird umbenannt.');
define('PROFILE_WILL_DELETE','Das selektierte Profil wird geloescht.');
define('PROFILE_SELECT','Bitte wählen Sie ein Profil aus!');
define('PROFILE_CONFIRM','Übernehmen');
define('PROFILE_NAME','<font color="FF0000">Bitte geben Sie einen Namen für das zu speichernde Profil an!</font> ');
define('PROFILE_NEW_NAME','<span class="clear"><font color="FF0000">Bitte geben Sie einen neuen Namen für das gespeicherte Profil an:</font></span> ');
/*AJAX Staffelpreise*/
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
|