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

 

 *****************************************

 *                                       *

 *         INSTALLATION-GUIDE            *

 *                                       *

 *****************************************

 * @package PDF-Rechnung                 *

 * @compatible SP2.1                     *

 *****************************************

 

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

NEW FILES:

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

admin/includes/classes/order_pdf.php

admin/includes/classes/pdfbill.php

admin/includes/color_functions.js

admin/includes/javascript/movablewindow.js

admin/includes/js_color_picker_v2.css

admin/includes/js_color_picker_v2.js

admin/includes/pdfbill.css

admin/pdfbill_config.php

admin/pdfbill_display.php

images/icon_pdf.gif

inc/xtc_get_next_ibillnr.inc.php

inc/xtc_inc_next_ibillnr.inc.php

inc/xtc_php_mail2.inc.php

inc/xtc_set_ibillnr.inc.php

includes/functions/database.php

lang/german/admin/pdfbill_config.php

pdfbill_display.php

templates/xtc4/admin/mail/english/invoice_mail.html

templates/xtc4/admin/mail/english/invoice_mail.txt

templates/xtc4/admin/mail/german/invoice_mail.html

templates/xtc4/admin/mail/german/invoice_mail.txt

templates/xtc4/buttons/german/button_save.gif

 

 

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

NEW DIRS:

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

admin/images/pdfbill

admin/images/user

admin/includes/classes/fpdf

admin/includes/pdfbill

admin/pdf_invoices

imedes_library

includes/classes/adodb_full

 

 

 

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

CHANGED FILES:

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

account_history_info.php

admin/includes/application_top.php

admin/includes/classes/order.php

admin/includes/column_left.php

admin/includes/stylesheet.css

admin/includes/functions/sessions.php

admin/orders.php

admin/print_order.php

includes/filenames.php

includes/functions/sessions.php

lang/english/admin/configuration.php

lang/english/admin/english.php

lang/english/admin/orders.php

lang/english/english.php

lang/english/lang_english.conf                                                    

lang/german/admin/configuration.php

lang/german/admin/german.php

lang/german/admin/orders.php

lang/german/german.php

lang/german/lang_german.conf

templates/xtc4/admin/print_order.html

templates/xtc4/module/account_history_info.html

 

 

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

INSTALLATION:

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

 

1. Datenkbankerweiterungen durchführen:

ALTER TABLE `admin_access` ADD `pdfbill_config` INT( 1 ) DEFAULT '1' NOT NULL ;

ALTER TABLE `admin_access` ADD `pdfbill_display` INT( 1 ) DEFAULT '1' NOT NULL ;

 

CREATE TABLE `pdfbill_profile` (

  `profile_id` int(11) NOT NULL auto_increment,

  `profile_name` varchar(255) NOT NULL default '',

  `profile_parameter` text NOT NULL,

  `profile_categories` text NOT NULL,

  PRIMARY KEY  (`profile_id`)

) TYPE=MyISAM;

 

INSERT INTO `pdfbill_profile` (`profile_name`, `profile_parameter`, `profile_categories`) VALUES

('default', 'bgimage_display=1,bgimage_image=hintergrund.png,headtext_display=1,headtext_text=Muster GBR Unterhaltungselektronik,headtext_font_color=#0000CC,headtext_font_type=arial,headtext_font_style={B;I},headtext_font_size=18,headtext_horizontal=15,headtext_vertical=0,headtext_width=,headtext_height=,addressblock_display=1,addressblock_text=Muster GBR#/K Postfach 4711#/K 12345 Flümme,addressblock_position=L,addressblock_font_color=,addressblock_font_type=arial,addressblock_font_style={B;U},addressblock_font_size=6,addressblock_position2=R,addressblock_font_color2=,addressblock_font_type2=arial,addressblock_font_style2={B;I},addressblock_font_size2=10,addressblock_horizontal=15,addressblock_vertical=15,addressblock_width=50,image_display=1,image_image=muster.jpg,image_horizontal=150,image_vertical=0,image_width=,image_height=,datafields_display=1,datafields_position=L,datafields_font_color=,datafields_font_type=arial,datafields_font_size=10,datafields_position2=R,datafields_font_color2=,datafields_font_type2=arial,datafields_font_style2={B},datafields_font_size2=10,datafields_text_1=Bestelldatum,datafields_value_1=*date_order*,datafields_text_2=Kundennummer,datafields_value_2=*customers_id*,datafields_text_3=Rechnungsnummer,datafields_value_3=*orders_id*,datafields_text_4=Rechnungsdatum,datafields_value_4=*date_invoice*,datafields_horizontal=110,datafields_vertical=80,datafields_width=40#/K30,billhead_display=1,billhead_text=Rechnung Nr: *orders_id*,billhead_position=L,billhead_font_color=,billhead_font_type=arial,billhead_font_style={B;I;U},billhead_font_size=12,billhead_horizontal=15,billhead_vertical=80,billhead_width=,billhead_height=,listhead_display=1,listhead_text=Rechnungspositionen,listhead_font_color=,listhead_font_type=arial,listhead_font_style={B},listhead_font_size=8,listhead_horizontal=15,listhead_vertical=100,listhead_width=,listhead_height=,poslist_font_color=,poslist_font_type=arial,poslist_font_size=6,poslist_head_1=Pos.,poslist_value_1=*pos_nr*,poslist_width_1=5,poslist_align_1=C,poslist_head_2=Art.Nr.,poslist_value_2=*p_model*,poslist_width_2=20,poslist_align_2=C,poslist_head_3=Artikel,poslist_value_3=*p_name*,poslist_width_3=105,poslist_align_3=L,poslist_head_4=Anz.,poslist_value_4=*p_qty*,poslist_width_4=5,poslist_align_4=C,poslist_head_5=Einz.Preis,poslist_value_5=*p_single_price*,poslist_width_5=15,poslist_align_5=R,poslist_head_6=Gesamt,poslist_value_6=*p_price*,poslist_width_6=15,poslist_align_6=R,poslist_head_7=,poslist_value_7=,poslist_width_7=,poslist_align_7=C,poslist_horizontal=15,poslist_vertical=,resumefields_display=1,resumefields_position=L,resumefields_font_color=,resumefields_font_type=arial,resumefields_font_size=8,resumefields_position2=R,resumefields_font_color2=,resumefields_font_type2=arial,resumefields_font_size2=8,resumefields_horizontal=60,resumefields_vertical=5,resumefields_width=80#/K40,subtext_display=1,subtext_text=Die Ware bleibt bis zur vollständigen Bezahlung Eigentum der Muster GBR ,subtext_font_color=,subtext_font_type=arial,subtext_font_size=8,subtext_horizontal=15,subtext_vertical=25,subtext_width=,subtext_height=,footer_display=1,footer_font_color=,footer_font_type=arial,footer_font_size=6,footer_display_1=1,footer_position_1=L,footer_text_1=Muster GbR Beispielstrasse 123 12345 Flümme,footer_display_2=1,footer_position_2=C,footer_text_2=Konto: 1234567 BLZ 222 333 44 Beispielbank,footer_display_3=1,footer_position_3=R,footer_text_3=HGR 32344424 AmtsG. Flümme StNr. 5545594,footer_position_4=L,footer_text_4=,terms_display=1,terms_formtext=Allgemeine Geschäftsbedingungen (AGB),terms_head_position=L,terms_head_font_style={B},terms_head_font_size=10,terms_font_color=,terms_font_type=arial,terms_font_size=6', '');

 

 

        

ALTER TABLE `orders` ADD `ibn_billnr` INT NOT NULL ,

                     ADD `ibn_billdate` DATE NOT NULL ,

                     ADD `ibn_pdfnotifydate` DATE NOT NULL ;

 

INSERT INTO `configuration` ( `configuration_id` , `configuration_key` , `configuration_value` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` )

VALUES (

'', 'IBN_BILLNR', '1', '1', '99', NULL , '0000-00-00 00:00:00', NULL , ''

);            

INSERT INTO `configuration` ( `configuration_id` , `configuration_key` , `configuration_value` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` )

VALUES (

'', 'IBN_BILLNR_FORMAT', '{n}-{d}-{m}-{y}', '1', '99', NULL , '0000-00-00 00:00:00', NULL , ''

);            

 

 

 

2. new_files kopieren.

   new_dirs kopieren.

 

3. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:

 

 

-account_history_info.php

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

finde folgendes:

 // Download-Products

 if (DOWNLOAD_ENABLED == 'true') include (DIR_WS_MODULES.'downloads.php');

 

und füge danach ein:

// ---- ipdfbill start --------

require('admin/includes/pdfbill/pdfbill_lib.php');                            // pdfbill

$pdffile = 'admin/'.PDFBILL_FOLDER.PDFBILL_PREFIX.($_GET['order_id'].'.pdf');

if( file_exists($pdffile) ) {

  $pdflink=xtc_href_link(FILENAME_PDFBILL_DISPLAY, 'oID='.$_GET['order_id']);

  $pdflink=sprintf('<a href="%s">'.PDFBILL_DOWNLOAD_INVOICE.'</a>', $pdflink);

  $smarty->assign('IPDFBILL_INVOICE_DOWNLOAD', $pdflink);

}

// ---- ipdfbill end --------

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

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

 

 

-admin/includes/application_top.php

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

finde folgendes:

   define('FILENAME_CAMPAIGNS_REPORT','stats_campaigns.php');

   define('FILENAME_XSELL_GROUPS','cross_sell_groups.php');

 

und füge danach ein:

  define('FILENAME_PDFBILL_CONFIG','pdfbill_config.php');   // pdfbill

  define('FILENAME_PDFBILL_DISPLAY','pdfbill_display.php');   // pdfbill

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

finde folgendes:

   define('TABLE_BLACKLIST', 'card_blacklist');

   define('TABLE_CAMPAIGNS_IP','campaigns_ip');

   

und füge danach ein:

  define( 'TABLE_PDFBILL_PROFILE', 'pdfbill_profile');           // pdfbill

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

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/classes/order.php

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

finde folgendes:

                                    customers_status_image,

                                    customers_ip,

                                    language,

 

und füge danach ein:

                                     ibn_billnr,             

                                     ibn_billdate,

                                     ibn_pdfnotifydate,

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

finde folgendes:

                           'language' => $order['language'],

                           'date_purchased' => $order['date_purchased'],

                           'orders_status' => $order['orders_status'],

 

und füge danach ein:

                          'ibn_billnr'    => $order['ibn_billnr'],      // ibillnr       

                          'ibn_billdate'  => $order['ibn_billdate'],    // ibillnr   

                          'ibn_pdfnotifydate'  => $order['ibn_pdfnotifydate'],    // ibillnr   

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

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

 

 

-admin/includes/column_left.php

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

finde folgendes:

   if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['modules'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_MODULES, 'set=ordertotal', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_ORDER_TOTAL . '</a><br>';

   if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['module_export'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_MODULE_EXPORT) . '" class="menuBoxContentLink"> -' . BOX_MODULE_EXPORT . '</a><br>';

 

und füge danach ein:

  //pdfbill

  if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['pdfbill_config'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_PDFBILL_CONFIG, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_PDFBILL_CONFIG . '</a><br>';

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

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

 

 

-admin/includes/stylesheet.css

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

finde folgendes:

 .smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

 .main { font-family: Verdana, Arial, sans-serif; font-size: 12px; }

 .errorText { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }

 

und füge danach ein:

 .help-text { + font-family:Arial,Verdana, Geneva, Helvetica, sans-serif; + font-size: 11px; +  color: #333333; +   } +.help-headline { +   font-family:Arial,Verdana, Geneva, Helvetica, sans-serif; + font-size: 12px; +  font-weight: bold; +    color: #333333;  +}

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

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

 

 

-admin/orders.php

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

finde folgendes:

 require ('includes/application_top.php');

 

und füge danach ein:

require_once(DIR_WS_CLASSES . 'pdfbill.php');                           // pdfbill

require('includes/pdfbill/pdfbill_lib.php');                            // pdfbill

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

finde folgendes:

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

 

und ersetze es mit:

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

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

finde folgendes:

    require (DIR_WS_CLASSES.'order.php');

     if ((($_GET['action'] == 'edit') || ($_GET['action'] == 'update_order')) && ($order_exists)) {

       $order = new order($oID);

     }

 

und ersetze es mit:

    require (DIR_WS_CLASSES.'order.php');

     if ((($_GET['action'] == 'edit') || ($_GET['action'] == 'update_order')) && ($order_exists)) {

        $order = new order($_GET['oID']);

    // -------- pdfbill beginn ------------------------

      if( $_GET['pdf_generate'] == '1') {

        $profile_name=$_GET['profile_name'];

        $pdfbill_deliverydate = $_GET['delivery_date'];

        if( $profile_name=='' ) {

          $profile_name='default';

        }

 

        $profile=profile_load_n( $profile_name );

        $profile=$profile['profile_parameter_arr'];

            $pdf=new pdfbill( $profile, $_GET['oID'] );

 

            $pdf->max_height=280;

            $pdf->doc_name  =   get_pdf_invoice_filename( $_GET['oID'] );

        

            $pdf->LoadData($_GET['oID']);

 

        // lieferdatum diskret eintragen

        $pdf->data['delivery_date']=$pdfbill_deliverydate;

    

            $pdf->format();

            $pdf->Output($pdf->doc_name, "F");

    //      $pdf->Output();

    //die;

      }

    // -------- pdfbill end ------------------------

    // ibillnr beginn --------------------------------

        if( ($_GET['action2']=='set_ibillnr') && ($order->info['ibn_billnr']==0) ) {

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

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

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

 

          $ibillnr = xtc_get_next_ibillnr();

          xtc_set_ibillnr($_GET['oID'], $ibillnr);

          xtc_inc_next_ibillnr();

          xtc_redirect(FILENAME_ORDERS. "?page=1&oID=".$_GET['oID']."&action=edit");

        }

 

        if( $_GET['pdf_email']=='1' ) {

 

            $check_status_query = xtc_db_query("select customers_name, customers_email_address, orders_status, date_purchased, ibn_billdate, ibn_billnr from ".TABLE_ORDERS." where orders_id = '".xtc_db_input($oID)."'");

            $check_status = xtc_db_fetch_array($check_status_query);

 

          $billnr = make_billnr( $check_status['ibn_billdate'], $check_status['ibn_billnr'] );

 

                // assign language to template for caching

                $smarty->assign('language', $_SESSION['language']);

                $smarty->caching = false;

 

                // set dirs manual

                $smarty->template_dir = DIR_FS_CATALOG.'templates';

                $smarty->compile_dir = DIR_FS_CATALOG.'templates_c';

                $smarty->config_dir = DIR_FS_CATALOG.'lang';

 

                $smarty->assign('tpl_path', 'templates/'.CURRENT_TEMPLATE.'/');

                $smarty->assign('logo_path', HTTP_SERVER.DIR_WS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/img/');

 

                $smarty->assign('NAME', $check_status['customers_name']);

                $smarty->assign('ORDER_NR', $billnr);

                $smarty->assign('ORDER_LINK', xtc_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id='.$oID, 'SSL'));

                $smarty->assign('ORDER_DATE', xtc_date_long($check_status['date_purchased']));

                $smarty->assign('NOTIFY_COMMENTS', $notify_comments);

                $smarty->assign('ORDER_STATUS', $orders_status_array[$status]);

 

                $html_mail = $smarty->fetch(CURRENT_TEMPLATE.'/admin/mail/'.$order->info['language'].'/invoice_mail.html');

                $txt_mail = $smarty->fetch(CURRENT_TEMPLATE.'/admin/mail/'.$order->info['language'].'/invoice_mail.txt');

 

          $pdffile= get_pdf_invoice_filename( $_GET['oID'] );

          $pdffile_downloadname = get_pdf_invoice_download_filename( $_GET['oID'] );

          

          

                xtc_php_mail2( EMAIL_BILLING_ADDRESS,                                 //  $from_email_address,        

                        EMAIL_BILLING_NAME,                                     //  $from_email_name,           

                        $check_status['customers_email_address'],               //  $to_email_address,          

                        $check_status['customers_name'],                        //  $to_name,                   

                        '',                                                     //  $forwarding_to,             

                        EMAIL_BILLING_REPLY_ADDRESS,                            //  $reply_address,             

                        EMAIL_BILLING_REPLY_ADDRESS_NAME,                       //  $reply_address_name,        

                        $pdffile,                                               //  $path_to_attachement,       

                        $pdffile_downloadname,                                  //  $name_of_attachment,

                        EMAIL_BILLING_SUBJECT,                                  //  $email_subject,             

                        $html_mail,                                             //  $message_body_html,         

                        $txt_mail );                                            //  $message_body_plain

 

            xtc_db_query("update ".TABLE_ORDERS." set ibn_pdfnotifydate = now() where orders_id = '".$_GET['oID']."'");

          $messageStack->add_session(PDFBILL_MSG_INVOICEMAIL_SENT, 'success');

    //        xtc_redirect(xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array ('action')).'action=edit'));

          xtc_redirect(xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array ('pdf_email'))));

        }

      

 

    // ibillnr end --------------------------------  

    }

 

 

    

    

    

    

 

 

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

finde folgendes:

  <?php echo '<a class="button" href="' . xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array('action'))) . '">' . BUTTON_BACK . '</a>'; ?>

  <!-- Bestellbearbeitung Anfang -->

    <a class="button" href="<?php echo xtc_href_link(FILENAME_ORDERS_EDIT, 'oID='.$_GET['oID'].'&cID=' . $order->customer['ID']);?>"><?php echo BUTTON_EDIT ?></a>

 

und füge danach ein:

    <script type="text/javascript">

    profile_name='';

    delivery_date='';

 

    function lang_call() {

      but=document.getElementById("button_generate");

      if( profile_name!='' ) {

        but.href = but.href+'&profile_name='+profile_name;

      }

      

      delivery_date=document.getElementById("pdfbill_deliverydate").value;

      but.href = but.href+'&delivery_date='+delivery_date;

 

    }

    </script>   

   

 <?php

// -------- pdfbill beginn --------------------

   if( $order->info['ibn_billnr']>0 ) {

     $par_str=xtc_get_all_get_params();

     if( $par_str!='' ) {

       $par_str=$par_str.'&pdf_generate=1';

     } else {

       $par_str='?pdf_generate=1';

     }

     if( pdfbill_invoice_exists($_GET['oID']) ) {

       echo '<a onClick="lang_call();" id="button_generate" class="button" href="' . xtc_href_link(FILENAME_ORDERS, $par_str) . '">' . BUTTON_PDFBILL_RECREATE . '</a>';

       $filename=FILENAME_PDFBILL_DISPLAY.'?oID='.$_GET['oID'];

       echo '<a class="button" target="_new" href="' . xtc_href_link($filename) . '">' . BUTTON_PDFBILL_DISPLAY . '</a>';

 

     

       // invoice mail with pdf attachment

       $par_str=xtc_get_all_get_params();

       if( $par_str!='' ) {

         $par_str=$par_str.'&';

       } else {

         $par_str='?';

       }

       $par_str.='pdf_email=1';

 

  //echo "<pre>"; print_r($order->info); echo "</pre>";

  //echo "ipdfnd=".$order->info['ibn_pdfnotifydate']."<br>\n";

       if( $order->info['ibn_pdfnotifydate'] == '0000-00-00' ){    // not sent

         echo '<a class="button" href="' . xtc_href_link(FILENAME_ORDERS, $par_str) . '">' . BUTTON_PDFBILL_SEND_INVOICE_MAIL . '</a>';

       } else {

         echo '<a class="button" href="' . xtc_href_link(FILENAME_ORDERS, $par_str) . '">' . BUTTON_PDFBILL_SEND_INVOICE_MAIL2 . '</a>';

       }     

     

     } else {

       echo '<a class="button" href="' . xtc_href_link(FILENAME_ORDERS, $par_str) . '">' . BUTTON_PDFBILL_CREATE . '</a>';

     }

     

      echo '<span class="main">';

      $profile_list = profile_list();

      echo '<br />&nbsp;'.PDFBILL_TXT_BILLPROFILE;

      foreach( $profile_list as $p ) {

        if( $p['profile_name']=='default' ) {

          $chk=' checked="checked" ';

        } else {

          $chk='';

        }

        echo ' <input type="radio" onClick="profile_name=\''.$p['profile_name'].'\'" name="profile_name" value="'.$p['profile_name'].'"'.$chk.'>'.$p['profile_name'].'&nbsp;';

            }

      echo '&nbsp;&nbsp;&nbsp;'.PDFBILL_TXT_DELIVERYDATE.' <input type="text" id="pdfbill_deliverydate" name="pdfbill_deliverydate">';

      echo '</span>';

       

   } else {

?>

     <a class="button" href="orders.php?page=1&oID=<? echo $_GET['oID']; ?>&action=edit&action2=set_ibillnr"><?php echo BUTTON_BILL; ?></a>

<?php

  } // if($order->info['ibn_billnr']==0)

  

 

  

// -------- pdfbill end --------------------

?>

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

finde folgendes:

         <tr>

             <td class="main"><b><?php echo ENTRY_LANGUAGE; ?></b></td>

             <td class="main"><?php echo $order->info['language']; ?></td>

 

und füge davor ein:

    <?php  // ibillnr -----------------------------------

       $d=make_billnr( $order->info['ibn_billdate'], $order->info['ibn_billnr'] );

    ?>        

          <tr>

            <td class="main"><b><?php echo ENTRY_BILLING; ?></b></td>

            <td class="main"><?php echo $order->info['ibn_billnr']>0?$d:''; ?></td>

          </tr>

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

finde folgendes:          

        echo '<a class="button" href="'.xtc_href_link(FILENAME_GV_MAIL, xtc_get_all_get_params(array ('cID', 'action')).'cID='.$order->customer['ID']).'">'.BUTTON_SEND_COUPON.'</a>';

    }

 ?>

 

und füge danach ein:

<?php // --- ibillnr beginn  -------------------------------------------

 

  if( $order->info['ibn_billnr']==0 ) {

?>

   <a class="button" href="orders.php?page=1&oID=<? echo $_GET['oID']; ?>&action=edit&action2=set_ibillnr"><?php echo BUTTON_BILL; ?></a>

<?php

  } else {

?>

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

finde folgendes:

    <a class="button" href="Javascript:void()" onclick="window.open('<?php echo xtc_href_link(FILENAME_PRINT_PACKINGSLIP,'oID='.$_GET['oID']); ?>', 'popup', 'toolbar=0, width=640, height=600')"><?php echo BUTTON_PACKINGSLIP; ?></a>

    <!-- BMC Delete CC Info -->

    <a class="button" href="<?php echo xtc_href_link(FILENAME_ORDERS, 'oID='.$_GET['oID'].'&action=deleteccinfo').'">'.BUTTON_REMOVE_CC_INFO;?></a>&nbsp;

 

und füge davor ein:

<?php

  }

  

  // --- ibillnr end  -------------------------------------------

?>   

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

finde folgendes:    

        case 'delete' :

            $heading[] = array ('text' => '<b>'.TEXT_INFO_HEADING_DELETE_ORDER.'</b>');

 

und füge danach ein:

// -------- pdfbill beginn ------------------------

      $pdffile = get_pdf_invoice_filename( $_GET['oID'] );

      if( file_exists($pdffile) ) {

        $pdf_delinfo = PDFBILL_MSG_DELINFO_PDF;

      }

// -------- pdfbill end ------------------------

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

finde folgendes:

            $contents[] = array ('text' => TEXT_INFO_DELETE_INTRO.'<br /><br /><b>'.$cInfo->customers_firstname.' '.$cInfo->customers_lastname.'</b>');

 

und ersetze es mit:

            $contents[] = array ('text' => TEXT_INFO_DELETE_INTRO.$pdf_delinfo.'<br /><br /><b>'.$cInfo->customers_firstname.' '.$cInfo->customers_lastname.'</b>');   // pdfbill

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

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

 

 

-admin/print_order.php

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

finde folgendes:

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

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

 

und füge danach ein:

  require('includes/pdfbill/pdfbill_lib.php');                            // ipdfbill

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

finde folgendes:

    $smarty->assign('order_data', $order_data);

    $smarty->assign('order_total', $order_total);

 

und füge danach ein:

    // ipdfbill beginn -----------------------------

    $d=make_billnr($order->info['ibn_billdate'], $order->info['ibn_billnr']);

 

    $smarty->assign('IBN_BILLNUMBER', $d);    

    $smarty->assign('IBN_BILLDATE',   xtc_date_short($order->info['ibn_billdate'].' 00:00:00'));

    // ipdfbill end -----------------------------

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

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

 

 

-includes/filenames.php

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

finde folgendes:

    Released under the GNU General Public License

    ---------------------------------------------------------------------------------------*/

 

und füge danach ein:

define('FILENAME_PDFBILL_DISPLAY', 'pdfbill_display.php');    // pdfbill

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

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

 

 

-lang/english/admin/configuration.php

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

finde folgendes:

?>

 

davor einfügen:

define('IBN_BILLNR_TITLE', '[ibillnr] Next Invoivenumer');       //ibillnr

define('IBN_BILLNR_DESC', 'Next number for invoice.');

define('IBN_BILLNR_FORMAT_TITLE', '[ibillnr] Invoicenumber Format');       //ibillnr

define('IBN_BILLNR_FORMAT_DESC', 'Format invoicenumber.: {n}=number, {d}=day, {m}=month, {y}=year, <br>example. "100{n}-{d}-{m}-{y}" => "10099-28-02-2007"');

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

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

 

 

-lang/english/admin/english.php

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

finde folgendes:

?>

 

davor einfügen:

define('BOX_PDFBILL_CONFIG', 'PDF-Bill config.');                 // pdfbill

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

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

 

 

-lang/english/admin/orders.php

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

finde folgendes:

?>

 

davor einfügen:

define('BUTTON_PDFBILL_CREATE',   'Create PDF-Invoice');       // pdfbill

define('BUTTON_PDFBILL_RECREATE', 'Recreate PDF-Invoice');    // pdfbill

define('BUTTON_PDFBILL_DISPLAY',  'Display PDF-RechungInvoice');         // pdfbill

define('BUTTON_PDFBILL_SEND_INVOICE_MAIL', 'Send Invoice');         // pdfbill

define('BUTTON_PDFBILL_INVOICE_MAIL2', 'Send Invoice again');      // pdfbill

define('BUTTON_BILL', 'Fakturieren');   // ibillnr   

define( PDFBILL_INVOICE_WORD , 'invoice' );                    // used for pdf e-mail

define( PDFBILL_MSG_INVOICEMAIL_SENT , 'E-Mail sent' );      

define( PDFBILL_MSG_DELINFO_PDF , '<br /><br />Any PDF-Invoice exists and will be removed additionally.' );      

define( PDFBILL_TXT_DELIVERYDATE , 'Date Delivery:' );      

define( PDFBILL_TXT_BILLPROFILE , 'Profile:' );  

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

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

 

 

-lang/english/english.php

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

finde folgendes:

?>

 

davor einfügen:

define( PDFBILL_DOWNLOAD_INVOICE, 'PDF-Invoice Download' );   // ipdfbill

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

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

 

 

-lang/english/lang_english.conf

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

finde folgendes:

head_artnr = 'Product. No'

head_price = 'Price'

head_single_price = 'Singleprice'

 

und füge danach ein:

billnumber = 'Invoice Number:'

billdate   = 'Invoice Date:'

 

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

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

 

 

-lang/german/admin/configuration.php

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

finde folgendes:

?>

 

davor einfügen:

define('IBN_BILLNR_TITLE', '[ibillnr] N&auml;chste Rechnungsnummer');       //ibillnr

define('IBN_BILLNR_DESC', 'Beim fakturieren einer Bestellung wird diese Nummer als n&auml;chstes vergeben.');

define('IBN_BILLNR_FORMAT_TITLE', '[ibillnr] Rechnungsnummer Format');       //ibillnr

define('IBN_BILLNR_FORMAT_DESC', 'Aufbauschema Rechn.Nr.: {n}=laufende Nummer, {d}=Tag, {m}=Monat, {y}=Jahr, <br>z.B. "100{n}-{d}-{m}-{y}" ergibt "10099-28-02-2007"');

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

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

 

 

-lang/german/admin/german.php

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

finde folgendes:

?>

 

davor einfügen:

define('BOX_PDFBILL_CONFIG', 'PDF-Rechnung Konfig.');                 // pdfbill

define('ENTRY_BILLING', 'Rechnungsnummer:');       // ibillnr      

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

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

 

 

-lang/german/admin/orders.php

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

finde folgendes:

?>

 

davor einfügen:  

define('BUTTON_PDFBILL_CREATE',   'PDF-Rechung generieren');       // pdfbill

define('BUTTON_PDFBILL_RECREATE', 'PDF-Rechung aktualisieren');    // pdfbill

define('BUTTON_PDFBILL_DISPLAY',  'PDF-Rechung anzeigen');         // pdfbill

define('BUTTON_PDFBILL_SEND_INVOICE_MAIL', 'PDF Rechnung senden');         // pdfbill

define('BUTTON_PDFBILL_SEND_INVOICE_MAIL2', 'PDF Rechnung erneut senden');      // pdfbill

define('BUTTON_BILL', 'Fakturieren');   // ibillnr

define( PDFBILL_INVOICE_WORD , 'rechnung' );                                 // used for pdf e-mail

define( PDFBILL_MSG_INVOICEMAIL_SENT , 'E-Mail wurde übermittelt' );      

define( PDFBILL_MSG_DELINFO_PDF , '<br /><br />Eine PDF-Rechnung wurde bereits erstellt und wird ebenfalls gelöscht.' );      

define( PDFBILL_TXT_DELIVERYDATE , 'Lieferdatum:' );      

define( PDFBILL_TXT_BILLPROFILE , 'Rechnungsprofil:' );

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

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

 

 

-lang/german/german.php

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

finde folgendes:

?>

 

davor einfügen:

define( PDFBILL_DOWNLOAD_INVOICE, 'PDF-Rechnung Download' );   // ipdfbill

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

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

 

 

-lang/german/lang_german.conf

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

finde folgendes:

head_price = 'Preis:'

head_single_price = 'Einzelpreis:'

csID = 'Kundennummer:'

 

danach einfügen:

billnumber = 'Rechnungsnummer:'

billdate   = 'Rechnungsdatum:'

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

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

 

 

-templates/xtc4/admin/print_order.html

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

finde folgendes:

             <strong>{#payment#}</strong> {$PAYMENT_METHOD}<br>

             <strong>{#order#}</strong> {$oID}<br>

             <strong>{#date#}</strong> {$DATE}<br>

 

danach einfügen:

            {if $IBN_BILLNUMBER!='' }

              <strong>{#billnumber#}</strong> {$IBN_BILLNUMBER}<br>

            {/if}    

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

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

 

 

-templates/xtc4/module/account_history_info.html

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

finde folgendes:

      ({$ORDER_STATUS})<br />

 

ersetzen mit:

      ({$ORDER_STATUS})

      {if $IPDFBILL_INVOICE_DOWNLOAD!='' }<br /><img src="images/icon_pdf.gif" border="0" width="16" height="16">{$IPDFBILL_INVOICE_DOWNLOAD}{/if}

      <br />

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

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

 

 

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