SocialEngine PHP Social Network Script

   

 

http://www.ecombase.de/Bilder/pfeil-category.gif ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS

Alle Imedes Software GPL Programme und Module gibt es für jeden auf Ecomase kostenlos zum Download. Der Einsatz und die kostenlose Benutzung der IMEDES Software steht jedem Anwender der Shop Software ECB SEO SHOP SOFTWARE, XT-COMMERCE, GAMBIO 2006/2007, SELF-COMMERCE, COMMERCE:SEO frei. Die Imedes Software ist Gratis !

Weitere Imedes Programme und Shop Module die man kostenlos Downloaden und Nutzen kann.:

kostenlos-imedes-software_zubehoer-modul
kostenlos-imedes-software_aadmin-quickedit

kostenlos-imedes-software_adodb-installieren
kostenlos-imedes-software_advanced-news_nachricht-wenn-artikel-im-shop-verfuegbar kostenlos-imedes-software_ajax-add-to-card
kostenlos-imedes-software_ajax-attribut-manager

kostenlos-imedes-software_ajax-filter

kostenlos-imedes-software_ajax-framework_xajax

kostenlos-imedes-software_ajax-matrix-zubehoer

kostenlos-imedes-software_ajax-produktmatrix

kostenlos-imedes-software_ajax-quick-buy-quickbuy
kostenlos-imedes-software_ajax-staffel-preis-manager-plus kostenlos-imedes-software_artikelabhaengige-versandart kostenlos-imedes-software_artikelabhaengige-zahlart
kostenlos-imedes-software_attribut-check

kostenlos-imedes-software_attribute-image_attribut-bilder
kostenlos-imedes-software_attribut-manager
kostenlos-imedes-software_double-opt-in-pruefung

kostenlos-imedes-software_extra-objekte

kostenlos-imedes-software_faq-support-system

kostenlos-imedes-software_freundschafts-werbung

kostenlos-imedes-software_google-gadget

kostenlos-imedes-software_gutschein-generator

kostenlos-imedes-software_ibillnr

kostenlos-imedes-software_icontentvar

kostenlos-imedes-software_imedes-bundle-software
kostenlos-imedes-software_imedes-cart_komfortabler-warenkorb kostenlos-imedes-software_imedes-kundenbonus kostenlos-imedes-software_imedes-optcalc-optionen-kalkulation kostenlos-imedes-software_imedes-plus-minus-zurueck-von-kaufen-seite kostenlos-imedes-software_irandomindex_imedes-random-index kostenlos-imedes-software_izones_imedes-Zonen kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-frontpage kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-standard kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-template kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-template_frontpage kostenlos-imedes-software_katstaffel_kategorie-staffelpreise
kostenlos-imedes-software_lagerampel

kostenlos-imedes-software_merkzettel
kostenlos-imedes-software_news_newsmanager kostenlos-imedes-software_one-page-checkout
kostenlos-imedes-software_open-search

kostenlos-imedes-software_pdf-katalog

kostenlos-imedes-software_pdf-rechnung

kostenlos-imedes-software_picture-navi_bildnavigation
kostenlos-imedes-software_proaktiver-verkaufsmanager
kostenlos-imedes-software_search

kostenlos-imedes-software_special-filter_spezialfilter
kostenlos-imedes-software_staffel-preis-manager-normal kostenlos-imedes-software_stock-alert.warenbestand-warnung-advanced kostenlos-imedes-software_stock-alert.warenbestand-warnung-basic kostenlos-imedes-software_suspend-user_sperre-kunden kostenlos-imedes-software_thesaurus_shop-Lexikon

 

Modul ioptcalc, Installation

-----------------------------

 

includes/modules/product_info.php

---------------------------------

Suche:

    $info_smarty->assign('FORM_ACTION', xtc_draw_form('cart_quantity', xtc_href_link(FILENAME_PRODUCT_INFO, xtc_get_all_get_params(array ('action')).'action=add_product')));

    $info_smarty->assign('FORM_END', '</form>');

    $info_smarty->assign('PRODUCTS_PRICE', $products_price['formated']);

  

Füge danach ein:  

  include( DIR_FS_CATALOG.'imedes_library/fragments/ioptcalc.product_info.f2.php');    // ioptcalc

 

  

  

  

  

  

 

Suche:

    include (DIR_WS_MODULES.'product_attributes.php');

    include (DIR_WS_MODULES.'product_reviews.php');

  

Füge danach ein:

  include( DIR_FS_CATALOG.'imedes_library/fragments/ioptcalc.product_info.f1.php');   // ioptcalc

 

 

 

 

  

includes/modules/product_attributes.php

---------------------------------------

Suche:

  if ($product->getAttributesCount() > 0) {

      $products_options_name_query = xtDBquery("select distinct ............. etc..........

 

      $row = 0;

      $col = 0;

 

Füge danach ein:

  include( DIR_FS_CATALOG.'imedes_library/fragments/ioptcalc.product_attributes.f1.php');    // ioptcalc

 

  

Suche die Zeile (Zeile hier ist übersichtlicher formatiert als im Original!):

                  $products_options_data[$row]['DATA'][$col] = array ('ID' => $products_options['products_options_values_id'],

                                                              'TEXT' => $products_options['products_options_values_name'],

                                                              'MODEL' => $products_options['attributes_model'],

                                                              'PRICE' => $xtPrice->xtcFormat($price, true),

                                                              'FULL_PRICE' => $xtPrice->xtcFormat($full, true),

                                                              'PREFIX' => $products_options['price_prefix']);

 

Ersetze durch:

                  $products_options_data[$row]['DATA'][$col] = array ('ID' => $products_options['products_options_values_id'],

                                                              'JS_ID' => "f0_a$js_id_count",                    // ioptcalc

                                                              'JS_PRICE' => $attr_price*1,                             // ioptcalc

                                                              'TEXT' => $products_options['products_options_values_name'],

                                                              'MODEL' => $products_options['attributes_model'],

                                                              'PRICE' => $xtPrice->xtcFormat($price, true),

                                                              'FULL_PRICE' => $xtPrice->xtcFormat($full, true),

                                                              'PREFIX' => $products_options['price_prefix']);

          $js_id_count++;                                                                         // ioptcalc

                                                              

                                                              

                                                              

templates/xtc4/javascript/ioptcalc.js.php

-----------------------------------------

Neue Datei

 

 

 

templates/xtc4/module/product_info/product_info_v1.html

-------------------------------------------------------

Suche (1. Zeile):

   {config_load file="$language/lang_$language.conf" section="product_info"}

 

 

Füge danach ein:

    <!-- ioptcalc begin -->

    {if $MODULE_product_options !=''}

      <script src="{$tpl_path}javascript/ioptcalc.js.php" type="text/javascript"></script>   

      <script language="JavaScript" type="text/JavaScript">

 

 

        var form_price_id      = Array( "f0_price",'' );

        var form_price_basic   = Array( {$PRODUCTS_PRICE_PLAIN},0 );

        

        var form_id            = Array( 1 );

        var form_optval        = Array( 1 );

        

        form_id[0] =       new Array( {$OPTIONS_JS_IDLIST} );

        form_optval[0] =   new Array( {$OPTIONS_JS_PRICELIST},0 );

 

        var curr_format_symbol_left      =  '{$curr_format_symbol_left}';  

        var curr_format_symbol_right     =  '{$curr_format_symbol_right}';  

        var curr_format_decimal_point    =  '{$curr_format_decimal_point}';  

        var curr_format_thousands_point  =  '{$curr_format_thousands_point}';  

        var curr_format_decimal_places   =  {$curr_format_decimal_places};  

       

      </script>

    {/if}

    <!-- ioptcalc end -->

 

Suche:

    <strong>{$PRODUCTS_PRICE}</strong>

   

Ersetze durch:

    <strong><span id="f0_price">{$PRODUCTS_PRICE}</span></strong>

    

Füge an:

    <br />({$PRODUCTS_PRICE})<br />

    

    

    

Suche (ganz am Ende):

  {$FORM_END}     

  

  

Füge DAVOR ein:

  {if $MODULE_product_options !=''}

    <script language="JavaScript" type="text/JavaScript">

      fc_options_recalc(0);      // ioptcalc

    </script>

  {/if}

  

    

 

templates/xtc4/module/product_options/table_listing.html

--------------------------------------------------------

Suche:

  <input type="radio" name="id[{$options_data.ID}]" value="{$item_data.ID}" checked="checked" />

und:  

  <input type="radio" name="id[{$options_data.ID}]" value="{$item_data.ID}"  />  

  

Ersetze durch:  

      <input type="radio" id="{$item_data.JS_ID}" name="id[{$options_data.ID}]" value="{$item_data.ID}" onClick="fc_options_recalc(0);" checked="checked" />

und

      <input type="radio" id="{$item_data.JS_ID}" name="id[{$options_data.ID}]" value="{$item_data.ID}" onClick="fc_options_recalc(0);" />

 

 

 

    

templates/xtc4/module/product_options/product_options_dropdown.html

-------------------------------------------------------------------

Suche:

    <select name="id[{$options_data.ID}]" >

    

Ersetze durch:

    <select name="id[{$options_data.ID}]" onchange="fc_options_recalc(0);">

    

    

    

Suche:

   <option value="{$item_data.ID}">

   

Ersetze durch:

   <option id="{$item_data.JS_ID}" value="{$item_data.ID}">

 

 

   

   

templates/xtc4/module/product_options/product_options_selection.html

--------------------------------------------------------------------

Suche:

   <input type="radio" name="id[{$options_data.ID}]" value="{$item_data.ID}" checked="checked" />

   

Ersetze durch:

   <input type="radio" id="{$item_data.JS_ID}" name="id[{$options_data.ID}]" value="{$item_data.ID}" checked="checked" onClick="fc_options_recalc(0);" />

 

 

   

   

Teil 2

---------

 

 

 

/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:

    // 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');

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

 

und ersetze es mit:

    // Database

    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');

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

    require_once (DIR_FS_INC.'xtc_get_top_level_domain.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:

    // make a connection to the database... now

    xtc_db_connect() or die('Unable to connect to database server!');

 

und ersetze es mit:

    // make a connection to the database... now

    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:

    // include the language translations

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

 

und ersetze es mit:

    // include the language translations

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

$db->Execute("SET NAMES 'latin1'");

$db->Execute("SET CHARACTER_SET_CLIENT=latin1");

$db->Execute("SET CHARACTER_SET_RESULTS=latin1");

---------------------------------

---------------------------------

---------------------------------

 /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 ersetze es mit:

    function _sess_write($key, $val) {

        global $SESS_LIFE;

        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 'latin1'");

$db->Execute("SET CHARACTER_SET_CLIENT=latin1");

$db->Execute("SET CHARACTER_SET_RESULTS=latin1");

        }

---------------------------------

---------------------------------

---------------------------------

/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:

// 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');

 

und ersetze es mit:

// include needed functions

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');

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');

---------------------------------

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:

    // make a connection to the database... now

    xtc_db_connect() or die('Unable to connect to database server!');

 

und ersetze es mit:

    // make a connection to the database... now

    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 ersetze es mit:

    function _sess_write($key, $val) {

        global $SESS_LIFE;

        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 'latin1'");

$db->Execute("SET CHARACTER_SET_CLIENT=latin1");

$db->Execute("SET CHARACTER_SET_RESULTS=latin1");

        }

---------------------------------

---------------------------------

---------------------------------   

   

   

 

 

 

 

 

 

Deine Werbung auf Ecombase ? 50.000 Einblendungen täglich.
Kleiner Preis - große Wirkung - Anfragen - eMail im Impressum !

Quick Links

Andere Empfehlungen

http://www.ecombase.de/Bilder/Designnerd-3D-RSS-preview.jpg
   Gully RSS News : Ecomdev News

   Mein Name gehört mir ! 
   Marketing Zielgruppe 50+
   Gast durch Gottes Hand ?

Copyright (C) 2008 eComBASE Shop Software - Community  - bei Volker Bellendorf - 59077 Hamm - +49-2381-402621
SHOPcommuniy (R) ist eingetragene Wort + Bildmarke
Alle Texte & Bilder sind Eigentum der Betreiber der Webseite eCombase.de
Vervielfältigung - Verwendung auf eigenen Webseiten nicht ohne schriftliche Genehmigung