imop

Members
  • Content count

    385
  • Joined

  • Last visited

  • Days Won

    3

imop last won the day on May 19 2013

imop had the most liked content!

Community Reputation

7 Neutral

About imop

  • Birthday 08/26/1983

Profile Information

  • Real Name
    Boriss
  • Gender
    Male
  • Location
    Latvia

Contact Methods

  1. I have already found a solution and found the way around :) Thank you anyway!
  2. A hint would be appreciative. I would like to change the image resizeing on adding new product for GIF images as I want to leave the animation intact. So what I have in mind is change the code for resizeng the large image if it`s a gif leave the large image original size. My question is - Can someone from creators or forum users, give me a hint, where to look for the code of resizeing the images is taking place? The changes i will make myself. Thank you all.
  3. I think not, because "Protect image" creates also thumbnail, but only thing that is missing is watermark... but still it`s great :D And Yes it work`s great with Cross Sell.
  4. A mistake here - must be set_time_limit(0); p.s. Be careful with this, it can run your server to over load if YOUR script is has bad code!
  5. ok I understood the what was wrong, the execution time was to short as I have 10000+ products with miltiple image i did this trick: At the start of setup file: set_time_limit(2); And at the end of setup file flush(); But then i setup stoped at 3260 products, so i`m thinging to run this script from terminal (putty). When i get it done i will tell you. If anyone knows the solution already, please post it. Thank you in advance.
  6. Hello, I`m migrating from osc 2.2rc to 2.3.3 and installed this contribution and i have one question. Where i need to copy my images? 1) cataloge/images/ 2) cataloge/images/original/ and then run the script? All the database is imported correctly and changes are made for new structure. Another question is about the query UPDATE for TABLE `products` column `image_folder`. I have run some test, but I did not sucseed with updating the column image_folder... All other wise the contribution work as it should, THANKS!
  7. Try to replace your code with this: tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array);{ ($action == 'update_product') tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . "'"); } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } 1 - was your code line (wrong): 2 - is is how it should be (right): 1) tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . '"); 2) tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . "'");
  8. try this code, it must help: if ( tep_not_null($file['tmp_name']) && ($file['tmp_name'] != 'none') && is_uploaded_file($file['tmp_name']) ) { if (sizeof($this->extensions) > 0) { if (!in_array(strtolower(substr($file['name'], strrpos($file['name'], '.')+1)), $this->extensions)) { if ($this->message_location == 'direct') { $messageStack->add(ERROR_FILETYPE_NOT_ALLOWED, 'error'); // BOF: Additional Images } elseif ($this->message_location == 'session') { // EOF: Additional Images $messageStack->add_session(ERROR_FILETYPE_NOT_ALLOWED, 'error'); } give us feedback if this is ok! ;)
  9. define('DIR_FS_ADMIN', '/home/content/a/s/p/XXXXXX/html/catalog/admin/'); // absolute path required change the path to your directory in here: cataloge/includes/local/configure.php ;)
  10. Actually the setting are ok! check your installation!
  11. 1) The words: INVOICE_TEXT_INVOICE_NR 163 INVOICE_TEXT_INVOICE_DATE 06/17/2010 add this the code in catalog/admin/includes/languages/english/invoice.php: define('INVOICE_TEXT_INVOICE_NR', 'Number:'); define('INVOICE_TEXT_INVOICE_DATE', 'Invoice date: '); * is u need it also in packing slip add the same code to - catalog/admin/includes/languages/english/packingslip.php ** if u have other languages do the same to them copy/paste the code 2) About the email sending, yes it seems to be a small, but u can fix it: so open find this: catalog/includes/modules/email_invoice/email_invoice.php if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $ei_message->send(STORE_OWNER, SEND_EXTRA_ORDER_EMAILS_TO, $order2->customer['name'], $order2->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id); replace with this: if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $ei_message->send('', SEND_EXTRA_ORDER_EMAILS_TO, $order2->customer['name'], $order2->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id); * don`t forget to input the extra e-mail adress in Admin panel for extra e-mail to be sent!!! Hope it helps!
  12. This is shown in invoice sent to customer or in customers account "Print Invoice"?
  13. Actually i have my own design for the invoices, less images only the company logo, all other CSS, and my invoice is is heavy modified so it won`t work for u! But i suggest you to use less images eg. JPG , GIF, PNG etc. use CSS/HTML for your invoice design it means less problems and the invoice will look 99,99% the same in different e-mail clients (outlook, Thunderbird web - Gmail / Yahoo mail / etc.)
  14. Actually i use - box_invoice.php but i have modified it for my own needs so it wont be the same, but it dose not mater the code is the same! but here is my html_invoice.php original that works fine for me, just tested! <?php /* $Id: html_invoice.php,v 6.1 2005/06/05 00:37:30 PopTheTop Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class objectInfo { // class constructor function objectInfo($object_array) { reset($object_array); while (list($key, $value) = each($object_array)) { $this->$key = tep_db_prepare_input($value); } } } $order2 = new order($oID); ?> <html> <head> <title><?php echo STORE_NAME; ?><?php echo INVOICE_ORDER_CONFIRMATION; ?><?php echo INVOICE_TEXT_NUMBER_SIGN; ?><?php echo date("y"); ?><?php echo INVOICE_TEXT_DASH; ?><?php echo $oID; ?></title> <style type="text/css"> BODY { background: #ffffff; color: #000000; margin: 0px; } A { color: #000000; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } A.headerNavigation { color: #FFFFFF; } A.headerNavigation:hover { color: #ffffff; } TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .dataTableContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } .dataTableHeadingRow { background-color: #C9C9C9; } .dataTableHeadingContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; } .dataTableRow { background-color: #F0F1F1; } </style> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="left"><?php echo '<img src="' . INVOICE_IMAGE . '" border="0" alt="' . INVOICE_IMAGE_ALT_TEXT . '" width="' . INVOICE_IMAGE_WIDTH . '" height="' . INVOICE_IMAGE_HEIGHT . '" hspace="10">'; ?></td> <TD ALIGN="right" VALIGN="top" NOWRAP><FONT FACE="Verdana" SIZE="2" COLOR="#006699"><strong><?php echo INVOICE_ORDER_CONFIRMATION; ?> <?php echo INVOICE_TEXT_NUMBER_SIGN; ?> <?php echo date("y"); ?><?php echo INVOICE_TEXT_DASH; ?><?php echo $oID; ?><BR> <?php echo $date; ?></strong></font><br> <br> <span class="pageHeadingSM"><FONT FACE="Verdana" SIZE="1" COLOR="#006699"><strong><?php echo nl2br(STORE_NAME_ADDRESS); ?></strong></font></span></TD> </tr> <tr> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <TD><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="10%"><hr size="2"></td> <td align="center" class="pageHeading" NOWRAP><em><b><?php echo INVOICE_TEXT_INVOICE; ?></b></em></td> <td width="100%"><hr size="2"></td> </tr> </table></td> </tr> <tr> <td colspan="4"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100" height="5" alt=""></td> </tr> <tr> <td width="3"></td> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="main"> <tr> <td align="left" valign="top"><b><?php echo ENTRY_SHIP_TO; ?></b></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo tep_address_format($order2->delivery['format_id'], $order2->delivery, 1, '', '<br> '); ?></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> <td width="45"></td> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_02.gif" width="24" height="16" alt=""></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td align="left" valign="top"><b><?php echo ENTRY_SOLD_TO; ?></b></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo tep_address_format($order2->customer['format_id'], $order2->customer, 1, '', '<br> '); ?></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo $order2->customer['telephone']; ?></td> </tr> <tr> <td NOWRAP> <?php echo $order2->customer['email_address']; ?></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table></TD> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100" height="15" alt=""></td> </tr> <tr> <TD COLSPAN="2"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="9"></td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="50%" NOWRAP> <b><?php echo INVOICE_TEXT_ORDER; ?> <?php echo INVOICE_TEXT_NUMBER_SIGN; ?><?php echo INVOICE_TEXT_COLON; ?></b> <?php echo tep_db_input($oID); ?></td> <?php if (tep_not_null($order2->info['cc_number'])) { $this->cc_card_number_less_middle_digits = substr($order2->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order2->info['cc_number']) - 8)) . substr($order2->info['cc_number'], -4); ?> <td width="50%" NOWRAP> <b><?php echo ENTRY_PAYMENT_METHOD; ?></b> <?php echo $order2->info['payment_method']; ?> (<?php echo $order2->info['cc_type']; ?>)<br> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100%" height="6" alt=""><br> <b><?php echo ENTRY_PAYMENT_CC_NUMBER; ?></b> <?php echo $this->cc_card_number_less_middle_digits; ?></td> <?php } else { ?> <td width="50%" NOWRAP> <b><?php echo ENTRY_PAYMENT_METHOD; ?></b> <?php echo $order2->info['payment_method']; ?></td> <?php } ?> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="15" alt=""></td> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <TD COLSPAN="2"><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($order2->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order2->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order2->products[$i]['name']; if (isset($order2->products[$i]['attributes']) && (($k = sizeof($order2->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br><nobr><small> <i> - ' . $order2->products[$i]['attributes'][$j]['option'] . ': ' . $order2->products[$i]['attributes'][$j]['value']; if ($order2->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order2->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order2->products[$i]['attributes'][$j]['price'] * $order2->products[$i]['qty'], true, $order2->info['currency'], $order2->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order2->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order2->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order2->products[$i]['final_price'], true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order2->products[$i]['final_price'], $order2->products[$i]['tax']), true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order2->products[$i]['final_price'] * $order2->products[$i]['qty'], true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order2->products[$i]['final_price'], $order2->products[$i]['tax']) * $order2->products[$i]['qty'], true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order2->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order2->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order2->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php $order2s_status_history_query = tep_db_query("select * from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . tep_db_input($oID) . "' order by date_added"); if (tep_db_num_rows($order2s_status_history_query)) { $has_comments = false; ?> <br> <br> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="9"></td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="95%" NOWRAP> <b><?php echo TABLE_HEADING_COMMENTS; ?></b><br> <br></td> </tr> <?php while ($order2s_comments = tep_db_fetch_array($order2s_status_history_query)) { if (tep_not_null($order2s_comments['comments'])) { $has_comments = true; // Not Null = Has Comments if (tep_not_null($order2s_comments['comments'])) { $sInfo = new objectInfo($order2s_comments); ?> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="150" align="left" valign="top" class="smallText"><strong><u><?php echo TABLE_HEADING_DATE_ADDED; ?></u></strong></td> <td align="left" valign="top" class="smallText"><strong><u><?php echo TABLE_HEADING_COMMENT_LEFT; ?></u></strong></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="150" align="left" valign="top" class="smallText"><?php echo tep_date_short($sInfo->date_added); ?></td> <td align="left" valign="top" class="smallText"><?php echo nl2br(tep_db_output($order2s_comments['comments'])); ?><br> <br></td> </tr> </table></td> </tr> </table></td> </tr> <?php } } } if ($has_comments == false) { ?> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="100%" align="left" valign="top" class="smallText"><?php echo INVOICE_TEXT_NO_COMMENT; ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table> <?php } ?> <br> <CENTER> <span class="smallText"><FONT FACE="Verdana" COLOR="#006699"><strong><?php echo INVOICE_TEXT_THANK_YOU; ?><BR> <?php echo STORE_NAME; ?><BR> <?php echo STORE_URL_ADDRESS; ?></strong></font></span> </CENTER> </body> </html>
  15. This code: <?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"; } ?> but this is the same as in admin or sending to client!