TA Safety Cartridges Posted September 2, 2018 Share Posted September 2, 2018 ohne das mir wieder welche PM schreiben. Nein ich möchte nicht für eure Hilfe Bezahlen.... Wenn ich in ein Board schreiben, bedarf es keiner Bezahlug auch nicht über PN anfragen. - Ich habe gestern im Admintool mal einen Lieferschein und Rechnung angeschau und da fehlen aber Die fortlaufenden nummern -> gibt es da ein Modul oder Änderungen dafür ? - und gibt es ein fertiges PopUp modul für die Dsvgo geschichte? vielen dank an HELFER Link to comment Share on other sites More sharing options...
mcmannehan Posted September 2, 2018 Share Posted September 2, 2018 (edited) add-ons gibt es hier: https://apps.oscommerce.com/ Wer sucht der findet und wer fragt hat möglicherweise Glück, wenn eine Antwort kommt. Das: https://apps.oscommerce.com/oLiXy&invoice-editor-1-0 sollte helfen. Und DSVGO muss selbst, entsprechend bei den Kontakt Formularen und Neues Kunden anlegen, programmiert werden. Oder? Naja, kennst Du ja schon... 😉 Edited September 2, 2018 by mcmannehan The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 2, 2018 Author Share Posted September 2, 2018 vielen Dank.. ja das habe ich gewusst Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 3, 2018 Author Share Posted September 3, 2018 also dieses Modul bringt viele Fehler mit sich. zumintest bei der Version 2.3.4.1... der install ist nicht gut geschildert... am ende ist ein teil Script wo nicht steht wo es rein soll... für einen leihen nicht machbar... das heißt nicht, das ich keine Scripte oder Quelltext lesen kann.. sorry Link to comment Share on other sites More sharing options...
Guest Posted September 4, 2018 Share Posted September 4, 2018 vor 16 Stunden schrieb TA Safety Cartridges: also dieses Modul bringt viele Fehler mit sich. zumintest bei der Version 2.3.4.1... der install ist nicht gut geschildert... am ende ist ein teil Script wo nicht steht wo es rein soll... für einen leihen nicht machbar... das heißt nicht, das ich keine Scripte oder Quelltext lesen kann.. sorry ist hier häufig so.... weil keiner mehr was an den conribs updated. OSC ist tot. am besten man sucht sich was neues ... auch wenns etwas kohle kostet. Link to comment Share on other sites More sharing options...
mcmannehan Posted September 7, 2018 Share Posted September 7, 2018 osC ist nicht tot, aber es hat sich viel geändert. Gewisse Module und Hilfen die freie Version nach eigenen Wünschen zu ändern, sind nun mal nicht mehr kostenlos. Shopbetreiber die Ihren Shop nicht als Hobby betreiben, investieren auch entsprechend und dies macht sich wiederum im Umsatz des Shops und der Gewinne bemerkbar. The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
mcmannehan Posted September 7, 2018 Share Posted September 7, 2018 On 9/4/2018 at 12:35 AM, TA Safety Cartridges said: also dieses Modul bringt viele Fehler mit sich. zumintest bei der Version 2.3.4.1... der install ist nicht gut geschildert... am ende ist ein teil Script wo nicht steht wo es rein soll... für einen leihen nicht machbar... das heißt nicht, das ich keine Scripte oder Quelltext lesen kann.. sorry Lesen okay! Und verstehen? The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 10, 2018 Author Share Posted September 10, 2018 ja auch verstehen... html besser als php aber es geht schon.... habe es 3 mal versucht rein zu bekommen aber geht nicht... sehe noch nicht mal im admin Bereich linke Seite dieses angelegte Modul. Link to comment Share on other sites More sharing options...
YePix Posted September 10, 2018 Share Posted September 10, 2018 Setz doch die Abfrage nach customers_id als Kundennummer und Die Rechnungsnummer als Bestellnummer. $pls_data_query = tep_db_query("select customers_id from ". TABLE_CUSTOMERS . " where customers_id = '" . $order->customer['customers_id'] . "'"); $pls_data = tep_db_fetch_array($pls_data_query); <?php echo INFO_TEXT_CUSTOMER_ID; ?><?php echo $pls_data['customers_id'];?> | <?php echo INFO_TEXT_ORDER_ID; ?><?php echo $oID; ?> ************************************************** Sprachdatei: define('INFO_TEXT_CUSTOMER_ID', 'Kundennummer: '); define('INFO_TEXT_ORDER_ID', 'Rechnung/ Bestellnummer: '); TA Safety Cartridges 1 Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 @Yepi vielen Dank für den Tip, aber ich habe mir keine Module zwecks Lieferschein und Rechnung nach installiert, da die free Version hier und da schon viele Fehler hat. Und ich habe null Zeit Fehler zu suchen.... Das müssen schon die machen wo es Online stellen... Aber egal alles gut.... Ich habe mal einen Testkauf in meinem Shop gemacht um zu schauen ob PayPal funktionier. Aber ich sehe ja momentan nur Rechnungs und Lieferanschrift ... Ich denk du meinst ich soll das in einer PHP file einfügen? Gib mir einen tip welche...THX... 😉 sehr guter Tip.. LG Ronny Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 ich denke du meinst in die ./admin/invoice.php rein und in die german.php gibt es auch noch eine Möglichkeit das .........../admin/invoice.php unten links auf der Rechnung zu entfernen? LG Ronny Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 ja. "gibt es auch noch eine Möglichkeit das .........../admin/invoice.php unten links auf der Rechnung zu entfernen?" keine Ahnung was du meinst ? Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 wenn ich im Admin auf Rechnung gehe, dann steht wenn ich ausdruck auf dem Blatt Papier unten rechts ......meine server struktur ->...../admin/invoice.php Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 habe jetzt in der ./admin/invoice.php </table> <?php echo INFO_TEXT_CUSTOMER_ID; ?><br> <?php echo $pls_data['customers_id'];?> <?php echo INFO_TEXT_ORDER_ID; ?> <?php echo $oID; ?> <!-- body_text_eof //--> eingefügt... und in der ./admin/includes/langugaes/german.php define('INFO_TEXT_CUSTOMER_ID', 'Kunden Nr.: '); define('INFO_TEXT_ORDER_ID', 'Rechnungs Nr.: '); eingefügt... jetzt erscheint das in der Druck Ansicht: Zahlungsweise: PayPal (including Credit and Debit Cards) Artikel Artikel-Nr. MwSt. Preis (exkl.) Preis (inkl.) Summe (exkl.) Summe (inkl.) 1 x TestKauf TestKauf 20% 0.20€ 0.24€ 0.20€ 0.24€ Zwischensumme: 0.20€ Pauschalpreis (Best Way): 6.99€ MwSt. 20.0%: 0.04€ Gesamtsumme: 7.23€ Kunden Nr.: Rechnungs Nr.: 3 es fehlt die Kundennummer..!!! unter Admin -> Kunden -> xy -> ist keine Kundennummer zu finden... wo stelle ich ein, dass jedem Kunden eine Nummer vergeben wird... vielen vielen dank an kleine helferlein Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 $pls_data_query = tep_db_query("select customers_id from ". TABLE_CUSTOMERS . " where customers_id = '" . $order->customer['customers_id'] . "'"); $pls_data = tep_db_fetch_array($pls_data_query); Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 <?php echo INFO_TEXT_CUSTOMER_ID; ?><?php echo $pls_data['customers_id'];?><br> <?php echo INFO_TEXT_ORDER_ID; ?><?php echo $oID; ?> Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 vor 15 Minuten schrieb Yepi: $pls_data_query = tep_db_query("select customers_id from ". TABLE_CUSTOMERS . " where customers_id = '" . $order->customer['customers_id'] . "'"); $pls_data = tep_db_fetch_array($pls_data_query); das ist schon in ./includes/language/german/modules/payment/invoice.php drinn.... Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 vor 15 Minuten schrieb Yepi: <?php echo INFO_TEXT_CUSTOMER_ID; ?><?php echo $pls_data['customers_id'];?><br> <?php echo INFO_TEXT_ORDER_ID; ?><?php echo $oID; ?> ist doch das gleiche wie ich es habe nur der <br>, dass es unter einander steht.... Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 (edited) This is how the page with all stored customer data looks like. *************************************** https://www.pl-systeme.de/images/dsgvo_scrs.jpg Edited September 15, 2018 by burt remove PM request Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 Poste mal deine invoice.php Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 @Yepi ich habe keine responsive version... evl. kommt das später... bei mir sieht das ganze so aus Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 ich meinte den Quellcode der Datei Link to comment Share on other sites More sharing options...
TA Safety Cartridges Posted September 11, 2018 Author Share Posted September 11, 2018 admin/invoice.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> </head> <body> <!-- body_text //--> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right"><?php echo tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . 'store_logo.png', STORE_NAME); ?></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2"><?php echo tep_draw_separator(); ?></td> </tr> <tr> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SOLD_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->billing, 1, '', '<br />'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="main"><?php echo $order->customer['telephone']; ?></td> </tr> <tr> <td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td> </tr> </table></td> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SHIP_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br /><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true), true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php echo INFO_TEXT_CUSTOMER_ID; ?> <?php echo $pls_data['customers_id'];?><br> <?php echo INFO_TEXT_ORDER_ID; ?> <?php echo $oID; ?> <!-- body_text_eof //--> <br /> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> ./includes/language/german/modules/payment/invoice.php <?php /* $Id: invoice.php,v 1.21 2003/02/19 02:10:00 harley_vb Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 - 2003 osCommerce Released under the GNU General Public License */ define('MODULE_PAYMENT_INVOICE_TEXT_DESCRIPTION', 'Rechnung'); define('MODULE_PAYMENT_INVOICE_TEXT_TITLE', 'Rechnung'); $pls_data_query = tep_db_query("select customers_id from ". TABLE_CUSTOMERS . " where customers_id = '" . $order->customer['customers_id'] . "'"); $pls_data = tep_db_fetch_array($pls_data_query); <?php echo INFO_TEXT_CUSTOMER_ID; ?><?php echo $pls_data['customers_id'];?> | <?php echo INFO_TEXT_ORDER_ID; ?><?php echo $oID; ?> ?> admin/include/languages/german.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ // look in your $PATH_LOCALE/locale directory for available locales.. // on RedHat6.0 I used 'en_US' // on FreeBSD 4.0 I use 'en_US.ISO_8859-1' // this may not work under win32 environments.. //setlocale(LC_TIME, 'de_DE.ISO_8859-1'); setlocale(LC_ALL, array('de_DE.UTF8', 'de_DE.UTF-8', 'deu_deu' )); define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd/m/Y'); // this is used for date() define('PHP_DATE_TIME_FORMAT', 'd/m/Y H:i:s'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); define('JQUERY_DATEPICKER_I18N_CODE', ''); // leave empty for en_US; see http://jqueryui.com/demos/datepicker/#localization define('JQUERY_DATEPICKER_FORMAT', 'dd/mm/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate define('INFO_TEXT_CUSTOMER_ID', 'Kunden Nr.: '); define('INFO_TEXT_ORDER_ID', 'Rechnungs Nr.: '); //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2); } } // Global entries for the <html> tag define('HTML_PARAMS','dir="ltr" lang="de"'); // charset for web pages and emails define('CHARSET', 'utf-8'); // page title define('TITLE', 'osCommerce Online Merchant Administration Tool'); // header text in includes/header.php define('HEADER_TITLE_TOP', 'Administration'); define('HEADER_TITLE_SUPPORT_SITE', 'Supportseite'); define('HEADER_TITLE_ONLINE_CATALOG', 'Online Katalog'); define('HEADER_TITLE_ADMINISTRATION', 'Administration'); // text for gender define('MALE', 'Herr'); define('FEMALE', 'Frau'); // text for date of birth example define('DOB_FORMAT_STRING', 'dd/mm/jjjj'); // configuration box text in includes/boxes/configuration.php define('BOX_HEADING_CONFIGURATION', 'Konfiguration'); define('BOX_CONFIGURATION_MYSTORE', 'Mein Shop'); define('BOX_CONFIGURATION_LOGGING', 'Login'); define('BOX_CONFIGURATION_CACHE', 'Cache'); define('BOX_CONFIGURATION_ADMINISTRATORS', 'Administratoren'); define('BOX_CONFIGURATION_STORE_LOGO', 'Shop Logo'); // modules box text in includes/boxes/modules.php define('BOX_HEADING_MODULES', 'Module'); //define('BOX_MODULES_PAYMENT', 'Zahlungsweise'); //define('BOX_MODULES_SHIPPING', 'Versandart'); //define('BOX_MODULES_ORDER_TOTAL', 'Zusammenfassung'); // categories box text in includes/boxes/catalog.php define('BOX_HEADING_CATALOG', 'Katalog'); define('BOX_CATALOG_CATEGORIES_PRODUCTS', 'Kategorien / Artikel'); define('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES', 'Produktmerkmale'); define('BOX_CATALOG_MANUFACTURERS', 'Hersteller'); define('BOX_CATALOG_REVIEWS', 'Produktbewertungen'); define('BOX_CATALOG_SPECIALS', 'Sonderangebote'); define('BOX_CATALOG_PRODUCTS_EXPECTED', 'erwartete Artikel'); // customers box text in includes/boxes/customers.php define('BOX_HEADING_CUSTOMERS', 'Kunden'); define('BOX_CUSTOMERS_CUSTOMERS', 'Kunden'); // define('BOX_CUSTOMERS_ORDERS', 'Bestellungen'); // orders box text in includes/boxes/orders.php define('BOX_HEADING_ORDERS', 'Bestellungen'); define('BOX_ORDERS_ORDERS', 'Bestellungen'); // taxes box text in includes/boxes/taxes.php define('BOX_HEADING_LOCATION_AND_TAXES', 'Land / Steuer'); define('BOX_TAXES_COUNTRIES', 'Land'); define('BOX_TAXES_ZONES', 'Bundesländer'); define('BOX_TAXES_GEO_ZONES', 'Steuerzonen'); define('BOX_TAXES_TAX_CLASSES', 'Steuerklassen'); define('BOX_TAXES_TAX_RATES', 'Steuersätze'); // reports box text in includes/boxes/reports.php define('BOX_HEADING_REPORTS', 'Berichte'); define('BOX_REPORTS_PRODUCTS_VIEWED', 'besuchte Artikel'); define('BOX_REPORTS_PRODUCTS_PURCHASED', 'gekaufte Artikel'); define('BOX_REPORTS_ORDERS_TOTAL', 'Kunden-Bestellstatistik'); // tools text in includes/boxes/tools.php define('BOX_HEADING_TOOLS', 'Hilfsprogramme'); define('BOX_TOOLS_ACTION_RECORDER', 'Action Recorder'); define('BOX_TOOLS_BACKUP', 'Datenbanksicherung'); define('BOX_TOOLS_BANNER_MANAGER', 'Banner Manager'); define('BOX_TOOLS_CACHE', 'Cache Steuerung'); define('BOX_TOOLS_DEFINE_LANGUAGE', 'Sprachen definieren'); define('BOX_TOOLS_MAIL', 'eMail versenden'); define('BOX_TOOLS_NEWSLETTER_MANAGER', 'Rundschreiben Manager'); define('BOX_TOOLS_SEC_DIR_PERMISSIONS', 'Verzeichnis Sicherheit/Lesezugriffsrecht'); define('BOX_TOOLS_SERVER_INFO', 'Server Info'); define('BOX_TOOLS_VERSION_CHECK', 'Versions Checker'); define('BOX_TOOLS_WHOS_ONLINE', 'Wer ist Online'); // localizaion box text in includes/boxes/localization.php define('BOX_HEADING_LOCALIZATION', 'Sprachen/Währungen'); define('BOX_LOCALIZATION_CURRENCIES', 'Währungen'); define('BOX_LOCALIZATION_LANGUAGES', 'Sprachen'); define('BOX_LOCALIZATION_ORDERS_STATUS', 'Bestellstatus'); // javascript messages define('JS_ERROR', 'Während der Eingabe sind Fehler aufgetreten!\nBitte korrigieren Sie folgendes:\n\n'); define('JS_OPTIONS_VALUE_PRICE', '* Sie müssen diesem Wert einen Preis zuordnen\n'); define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* Sie müssen ein Vorzeichen für den Preis angeben (+/-)\n'); define('JS_PRODUCTS_NAME', '* Der neue Artikel muss einen Namen haben\n'); define('JS_PRODUCTS_DESCRIPTION', '* Der neue Artikel muss eine Beschreibung haben\n'); define('JS_PRODUCTS_PRICE', '* Der neue Artikel muss einen Preis haben\n'); define('JS_PRODUCTS_WEIGHT', '* Der neue Artikel muss eine Gewichtsangabe haben\n'); define('JS_PRODUCTS_QUANTITY', '* Sie müssen dem neuen Artikel eine verfügbare Anzahl zuordnen\n'); define('JS_PRODUCTS_MODEL', '* Sie müssen dem neuen Artikel eine Artikel-Nr. zuordnen\n'); define('JS_PRODUCTS_IMAGE', '* Sie müssen dem Artikel ein Bild zuordnen\n'); define('JS_SPECIALS_PRODUCTS_PRICE', '* Es muss ein neuer Preis für diesen Artikel festgelegt werden\n'); define('JS_GENDER', '* Die \'Anrede\' muss ausgewählt werden.\n'); define('JS_FIRST_NAME', '* Der \'Vorname\' muss mindestens aus ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_LAST_NAME', '* Der \'Nachname\' muss mindestens aus ' . ENTRY_LAST_NAME_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_DOB', '* Das \'Geburtsdatum\' muss folgendes Format haben: xx.xx.xxxx (Tag/Jahr/Monat).\n'); define('JS_EMAIL_ADDRESS', '* Die \'eMail-Adresse\' muss mindestens aus ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_ADDRESS', '* Die \'Strasse\' muss mindestens aus ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_POST_CODE', '* Die \'Postleitzahl\' muss mindestens aus ' . ENTRY_POSTCODE_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_CITY', '* Die \'Stadt\' muss mindestens aus ' . ENTRY_CITY_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_STATE', '* Das \'Bundesland\' muss ausgewählt werden.\n'); define('JS_STATE_SELECT', '-- Wählen Sie oberhalb --'); define('JS_ZONE', '* Das \'Bundesland\' muss aus der Liste für dieses Land ausgewählt werden.'); define('JS_COUNTRY', '* Das \'Land\' muss ausgewählt werden.\n'); define('JS_TELEPHONE', '* Die \'Telefonnummer\' muss aus mindestens ' . ENTRY_TELEPHONE_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_PASSWORD', '* Das \'Passwort\' sowie die \'Passwortbestätigung\' müssen übereinstimmen und aus mindestens ' . ENTRY_PASSWORD_MIN_LENGTH . ' Zeichen bestehen.\n'); define('JS_ORDER_DOES_NOT_EXIST', 'Auftragsnummer %s existiert nicht!'); define('CATEGORY_PERSONAL', 'Persönliche Daten'); define('CATEGORY_ADDRESS', 'Adresse'); define('CATEGORY_CONTACT', 'Kontakt'); define('CATEGORY_COMPANY', 'Firma'); define('CATEGORY_OPTIONS', 'Optionen'); define('ENTRY_GENDER', 'Anrede:'); define('ENTRY_GENDER_ERROR', ' <span class="errorText">notwendige Eingabe</span>'); define('ENTRY_FIRST_NAME', 'Vorname:'); define('ENTRY_FIRST_NAME_ERROR', ' <span class="errorText">mindestens ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' Buchstaben</span>'); define('ENTRY_LAST_NAME', 'Nachname:'); define('ENTRY_LAST_NAME_ERROR', ' <span class="errorText">mindestens ' . ENTRY_LAST_NAME_MIN_LENGTH . ' Buchstaben</span>'); define('ENTRY_DATE_OF_BIRTH', 'Geburtsdatum:'); define('ENTRY_DATE_OF_BIRTH_ERROR', ' <span class="errorText">(z.B. 21/05/1970)</span>'); define('ENTRY_EMAIL_ADDRESS', 'eMail Adresse:'); define('ENTRY_EMAIL_ADDRESS_ERROR', ' <span class="errorText">mindestens ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' Buchstaben</span>'); define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', ' <span class="errorText">ungültige eMail-Adresse!</span>'); define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', ' <span class="errorText">Diese eMail-Adresse existiert schon!</span>'); define('ENTRY_COMPANY', 'Firmenname:'); define('ENTRY_STREET_ADDRESS', 'Strasse:'); define('ENTRY_STREET_ADDRESS_ERROR', ' <span class="errorText">mindestens ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' Buchstaben</span>'); define('ENTRY_SUBURB', 'weitere Anschrift:'); define('ENTRY_POST_CODE', 'Postleitzahl:'); define('ENTRY_POST_CODE_ERROR', ' <span class="errorText">mindestens ' . ENTRY_POSTCODE_MIN_LENGTH . ' Zahlen</span>'); define('ENTRY_CITY', 'Stadt:'); define('ENTRY_CITY_ERROR', ' <span class="errorText">mindestens ' . ENTRY_CITY_MIN_LENGTH . ' Buchstaben</span>'); define('ENTRY_STATE', 'Bundesland:'); define('ENTRY_STATE_ERROR', ' <span class="errorText">notwendige Eingabe</font></small>'); define('ENTRY_COUNTRY', 'Land:'); define('ENTRY_COUNTRY_ERROR', ''); define('ENTRY_TELEPHONE_NUMBER', 'Telefonnummer:'); define('ENTRY_TELEPHONE_NUMBER_ERROR', ' <span class="errorText">mindestens ' . ENTRY_TELEPHONE_MIN_LENGTH . ' Zahlen</span>'); define('ENTRY_FAX_NUMBER', 'Telefaxnummer:'); define('ENTRY_NEWSLETTER', 'Rundschreiben:'); define('ENTRY_NEWSLETTER_YES', 'abonniert'); define('ENTRY_NEWSLETTER_NO', 'nicht abonniert'); // images define('IMAGE_ANI_SEND_EMAIL', 'eMail versenden'); define('IMAGE_BACK', 'Zurück'); define('IMAGE_BACKUP', 'Datensicherung'); define('IMAGE_CANCEL', 'Abbruch'); define('IMAGE_CONFIRM', 'Bestätigen'); define('IMAGE_COPY', 'Kopieren'); define('IMAGE_COPY_TO', 'Kopieren nach'); define('IMAGE_DETAILS', 'Details'); define('IMAGE_DELETE', 'Löschen'); define('IMAGE_EDIT', 'Bearbeiten'); define('IMAGE_EMAIL', 'eMail versenden'); define('IMAGE_EXPORT', 'Export'); define('IMAGE_ICON_STATUS_GREEN', 'aktiv'); define('IMAGE_ICON_STATUS_GREEN_LIGHT', 'aktivieren'); define('IMAGE_ICON_STATUS_RED', 'inaktiv'); define('IMAGE_ICON_STATUS_RED_LIGHT', 'deaktivieren'); define('IMAGE_ICON_INFO', 'Information'); define('IMAGE_INSERT', 'Einfügen'); define('IMAGE_LOCK', 'Sperren'); define('IMAGE_MODULE_INSTALL', 'Module Installieren'); define('IMAGE_MODULE_REMOVE', 'Module Entfernen'); define('IMAGE_MOVE', 'Verschieben'); define('IMAGE_NEW_BANNER', 'Neuen Banner aufnehmen'); define('IMAGE_NEW_CATEGORY', 'Neue Kategorie erstellen'); define('IMAGE_NEW_COUNTRY', 'Neues Land aufnehmen'); define('IMAGE_NEW_CURRENCY', 'Neue Währung einfügen'); define('IMAGE_NEW_FILE', 'Neue Datei'); define('IMAGE_NEW_FOLDER', 'Neues Verzeichnis'); define('IMAGE_NEW_LANGUAGE', 'Neue Sprache anlegen'); define('IMAGE_NEW_NEWSLETTER', 'Neues Rundschreiben'); define('IMAGE_NEW_PRODUCT', 'Neuen Artikel aufnehmen'); define('IMAGE_NEW_TAX_CLASS', 'Neue Steuerklasse erstellen'); define('IMAGE_NEW_TAX_RATE', 'Neuen Steuersatz anlegen'); define('IMAGE_NEW_TAX_ZONE', 'Neue Steuerzone erstellen'); define('IMAGE_NEW_ZONE', 'Neues Bundesland einfügen'); define('IMAGE_ORDERS', 'Bestellungen'); define('IMAGE_ORDERS_INVOICE', 'Rechnung'); define('IMAGE_ORDERS_PACKINGSLIP', 'Lieferschein'); define('IMAGE_PREVIEW', 'Vorschau'); define('IMAGE_RESET', 'Zurücksetzen'); define('IMAGE_RESTORE', 'Zurücksichern'); define('IMAGE_SAVE', 'Speichern'); define('IMAGE_SEARCH', 'Suchen'); define('IMAGE_SELECT', 'Auswählen'); define('IMAGE_SEND', 'Versenden'); define('IMAGE_SEND_EMAIL', 'eMail versenden'); define('IMAGE_UNLOCK', 'Entsperren'); define('IMAGE_UPDATE', 'Aktualisieren'); define('IMAGE_UPDATE_CURRENCIES', 'Wechselkurse aktualisieren'); define('IMAGE_UPLOAD', 'Hochladen'); define('ICON_CROSS', 'Falsch'); define('ICON_CURRENT_FOLDER', 'aktueller Ordner'); define('ICON_DELETE', 'Löschen'); define('ICON_ERROR', 'Fehler'); define('ICON_FILE', 'Datei'); define('ICON_FILE_DOWNLOAD', 'Herunterladen'); define('ICON_FOLDER', 'Ordner'); define('ICON_LOCKED', 'Gesperrt'); define('ICON_PREVIOUS_LEVEL', 'Vorherige Ebene'); define('ICON_PREVIEW', 'Vorschau'); define('ICON_STATISTICS', 'Statistik'); define('ICON_SUCCESS', 'Erfolg'); define('ICON_TICK', 'Wahr'); define('ICON_UNLOCKED', 'Entsperrt'); define('ICON_WARNING', 'Warnung'); // constants for use in tep_prev_next_display function define('TEXT_RESULT_PAGE', 'Seite %s von %d'); define('TEXT_DISPLAY_NUMBER_OF_BANNERS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Bannern)'); define('TEXT_DISPLAY_NUMBER_OF_COUNTRIES', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Ländern)'); define('TEXT_DISPLAY_NUMBER_OF_CUSTOMERS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Kunden)'); define('TEXT_DISPLAY_NUMBER_OF_CURRENCIES', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Währungen)'); define('TEXT_DISPLAY_NUMBER_OF_ENTRIES','Angezeigt werden %d bis %d (von insgesamt %d Einträgen)'); define('TEXT_DISPLAY_NUMBER_OF_LANGUAGES', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Sprachen)'); define('TEXT_DISPLAY_NUMBER_OF_MANUFACTURERS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Herstellern)'); define('TEXT_DISPLAY_NUMBER_OF_NEWSLETTERS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Rundschreiben)'); define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Bestellungen)'); define('TEXT_DISPLAY_NUMBER_OF_ORDERS_STATUS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Bestellstatus)'); define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Artikeln)'); define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_EXPECTED', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> erwarteten Artikeln)'); define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Bewertungen)'); define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Sonderangeboten)'); define('TEXT_DISPLAY_NUMBER_OF_TAX_CLASSES', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Steuerklassen)'); define('TEXT_DISPLAY_NUMBER_OF_TAX_ZONES', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Steuerzonen)'); define('TEXT_DISPLAY_NUMBER_OF_TAX_RATES', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Steuersätzen)'); define('TEXT_DISPLAY_NUMBER_OF_ZONES', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Bundesländern)'); define('PREVNEXT_BUTTON_PREV', '<<'); define('PREVNEXT_BUTTON_NEXT', '>>'); define('TEXT_DEFAULT', 'Standard'); define('TEXT_SET_DEFAULT', 'als Standard definieren'); define('TEXT_FIELD_REQUIRED', ' <span class="fieldRequired">* erforderlich</span>'); define('TEXT_CACHE_CATEGORIES', 'Kategorien Box'); define('TEXT_CACHE_MANUFACTURERS', 'Hersteller Box'); define('TEXT_CACHE_ALSO_PURCHASED', 'Modul für ebenfalls gekaufte Artikel'); define('TEXT_NONE', '--keine--'); define('TEXT_TOP', 'Top'); define('ERROR_DESTINATION_DOES_NOT_EXIST', 'Error: Destination existiert nicht.'); define('ERROR_DESTINATION_NOT_WRITEABLE', 'Error: Destination nicht beschreibbar.'); define('ERROR_FILE_NOT_SAVED', 'Error: File upload nicht gespeichert.'); define('ERROR_FILETYPE_NOT_ALLOWED', 'Error: File upload typ nicht erlaubt.'); define('SUCCESS_FILE_SAVED_SUCCESSFULLY', 'Success: File upload erfolgreich gespeichert.'); define('WARNING_NO_FILE_UPLOADED', 'Warning: kein File uploaded.'); ?> Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 Probier diese mal: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> </head> <body> <!-- body_text //--> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right"><?php echo tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . 'store_logo.png', STORE_NAME); ?></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2"><?php echo tep_draw_separator(); ?></td> </tr> <tr> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SOLD_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->billing, 1, '', '<br />'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="main"><?php echo $order->customer['telephone']; ?></td> </tr> <tr> <td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td> </tr> </table></td> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SHIP_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br /><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true), true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php $pls_data_query = tep_db_query("select customers_id from ". TABLE_CUSTOMERS . " where customers_id = '" . $order->customer['customers_id'] . "'"); $pls_data = tep_db_fetch_array($pls_data_query); echo INFO_TEXT_CUSTOMER_ID; ?> <?php echo $pls_data['customers_id'];?><br> <?php echo INFO_TEXT_ORDER_ID; ?> <?php echo $oID; ?> <!-- body_text_eof //--> <br /> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
YePix Posted September 11, 2018 Share Posted September 11, 2018 ansonsten diese: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $orders_query = tep_db_query("select o.orders_id, o.customers_id, a.entry_gender from " . TABLE_ORDERS . " o, " . TABLE_ADDRESS_BOOK . " a where o.customers_id = a.customers_id and orders_id = '" . (int)$oID . "'"); $cust= tep_db_fetch_array($orders_query); include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> </head> <body> <!-- body_text //--> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right"><?php echo tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . 'store_logo.png', STORE_NAME); ?></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2"><?php echo tep_draw_separator(); ?></td> </tr> <tr> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SOLD_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->billing, 1, '', '<br />'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="main"><?php echo $order->customer['telephone']; ?></td> </tr> <tr> <td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td> </tr> </table></td> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SHIP_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br /><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true), true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php echo INFO_TEXT_CUSTOMER_ID; ?> <?php echo $cust['customers_id'];?><br> <?php echo INFO_TEXT_ORDER_ID; ?> <?php echo $oID; ?> <!-- body_text_eof //--> <br /> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
Recommended Posts