} $messageStack->add_session(SUCCESS_BILLING, 'success'); smn_redirect(smn_href_link(FILENAME_AFFILIATE_PAYMENT, smn_get_all_get_params(array('action')) . 'action=edit')); break; case 'update_payment': $pID = smn_db_prepare_input($_GET['pID']); $status = smn_db_prepare_input($_POST['status']); $payment_updated = false; $check_status_query = smn_db_query("select af.affiliate_email_address, ap.affiliate_lastname, ap.affiliate_firstname, ap.affiliate_payment_status, ap.affiliate_payment_date, ap.affiliate_payment_date from " . TABLE_AFFILIATE_PAYMENT . " ap, " . TABLE_AFFILIATE . " af where affiliate_payment_id = '" . smn_db_input($pID) . "' and af.affiliate_id = ap.affiliate_id "); $check_status = smn_db_fetch_array($check_status_query); if ($check_status['affiliate_payment_status'] != $status) { smn_db_query("update " . TABLE_AFFILIATE_PAYMENT . " set affiliate_payment_status = '" . smn_db_input($status) . "', affiliate_last_modified = now() where affiliate_payment_id = '" . smn_db_input($pID) . "'"); $affiliate_notified = '0'; // Notify Affiliate if ($_POST['notify'] == 'on') { $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_AFFILIATE_PAYMENT_NUMBER . ' ' . $pID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . smn_catalog_href_link(FILENAME_CATALOG_AFFILIATE_PAYMENT_INFO, 'payment_id=' . $pID, 'NONSSL') . "\n" . EMAIL_TEXT_PAYMENT_BILLED . ' ' . smn_date_long($check_status['affiliate_payment_date']) . "\n\n" . sprintf(EMAIL_TEXT_STATUS_UPDATE, $payments_status_array[$status]); smn_mail($check_status['affiliate_firstname'] . ' ' . $check_status['affiliate_lastname'], $check_status['affiliate_email_address'], EMAIL_TEXT_SUBJECT, nl2br($email), STORE_OWNER, AFFILIATE_EMAIL_ADDRESS); $affiliate_notified = '1'; } smn_db_query("insert into " . TABLE_AFFILIATE_PAYMENT_STATUS_HISTORY . " (affiliate_payment_id, affiliate_new_value, affiliate_old_value, affiliate_date_added, affiliate_notified) values ('" . smn_db_input($pID) . "', '" . smn_db_input($status) . "', '" . $check_status['affiliate_payment_status'] . "', now(), '" . $affiliate_notified . "')"); $order_updated = true; } if ($order_updated) { $messageStack->add_session(SUCCESS_PAYMENT_UPDATED, 'success'); } smn_redirect(smn_href_link(FILENAME_AFFILIATE_PAYMENT, smn_get_all_get_params(array('action')) . 'action=edit')); break; case 'deleteconfirm': $pID = smn_db_prepare_input($_GET['pID']); smn_db_query("delete from " . TABLE_AFFILIATE_PAYMENT . " where affiliate_payment_id = '" . smn_db_input($pID) . "'"); smn_db_query("delete from " . TABLE_AFFILIATE_PAYMENT_STATUS_HISTORY . " where affiliate_payment_id = '" . smn_db_input($pID) . "'");
switch ($srView) { case '3': ?> <td class="dataTableContent" align="right"><?php echo smn_date_long(date("Y-m-d\\ H:i:s", $sr->showDate)); ?> <td class="dataTableContent" align="right"> <?php echo smn_date_short(date("Y-m-d\\ H:i:s", $sr->showDateEnd)); ?> </td> <?php break; case '4': ?> <td class="dataTableContent" align="right"><?php echo smn_date_long(date("Y-m-d\\ H:i:s", $sr->showDate)); ?> <td class="dataTableContent" align="right"> <?php echo smn_date_short(date("Y-m-d\\ H:i:s", $sr->showDateEnd)); ?> </td> <?php break; default: ?> <td class="dataTableContent" align="right"><?php echo smn_date_short(date("Y-m-d\\ H:i:s", $sr->showDate)); ?> <td class="dataTableContent" align="right"> <?php echo smn_date_short(date("Y-m-d\\ H:i:s", $sr->showDateEnd)); ?>
<td class="main"><?php echo '<b>' . TEXT_ORDER_NUMBER . '</b> ' . $history['orders_id']; ?> </td> <td class="main" align="right"><?php echo '<b>' . TEXT_ORDER_STATUS . '</b> ' . $history['orders_status_name']; ?> </td> </tr> </table> <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="2" cellpadding="4"> <tr> <td class="main" width="50%" valign="top"><?php echo '<b>' . TEXT_ORDER_DATE . '</b> ' . smn_date_long($history['date_purchased']) . '<br><b>' . $order_type . '</b> ' . smn_output_string_protected($order_name); ?> </td> <td class="main" width="30%" valign="top"><?php echo '<b>' . TEXT_ORDER_PRODUCTS . '</b> ' . $products['count'] . '<br><b>' . TEXT_ORDER_COST . '</b> ' . strip_tags($history['order_total']); ?> </td> <td class="main" width="20%"><?php //echo '<a href="' . smn_href_link(FILENAME_ACCOUNT_HISTORY_INFO, (isset($_GET['page']) ? 'page=' . $_GET['page'] . '&' : '') . 'order_id=' . $history['orders_id'], 'NONSSL') . '">' . smn_image_button('small_view.gif', SMALL_IMAGE_BUTTON_VIEW) . '</a>'; ?> </td> </tr> </table></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="2">
</tr> <?php if ($pInfo->products_date_available > date('Y-m-d')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_PRODUCT_DATE_AVAILABLE, smn_date_long($pInfo->products_date_available)); ?> </td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_PRODUCT_DATE_ADDED, smn_date_long($pInfo->products_date_added)); ?> </td> </tr> <?php } ?> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '1', '10'); ?> </td> </tr> <?php } if (isset($_GET['read']) && $_GET['read'] == 'only') {
$download_timestamp = mktime(23, 59, 59, $dt_month, $dt_day + $downloads_values['download_maxdays'], $dt_year); $download_expiry = date('Y-m-d H:i:s', $download_timestamp); // The link will appear only if: // - Download remaining count is > 0, AND // - The file is present in the DOWNLOAD directory, AND EITHER // - No expiry date is enforced (maxdays == 0), OR // - The expiry date is not reached if ($downloads_values['download_count'] > 0 && file_exists(DIR_FS_DOWNLOAD . $downloads_values['orders_products_filename']) && ($downloads_values['download_maxdays'] == 0 || $download_timestamp > time())) { echo ' <td class="main"><a href="' . smn_href_link(FILENAME_DOWNLOAD, 'order=' . $last_order . '&id=' . $downloads_values['orders_products_download_id']) . '">' . $downloads_values['products_name'] . '</a></td>' . "\n"; } else { echo ' <td class="main">' . $downloads_values['products_name'] . '</td>' . "\n"; } ?> <!-- right box --> <?php echo ' <td class="main">' . TABLE_HEADING_DOWNLOAD_DATE . smn_date_long($download_expiry) . '</td>' . "\n"; echo ' <td class="main" align="right">' . $downloads_values['download_count'] . TABLE_HEADING_DOWNLOAD_COUNT . '</td>' . "\n"; echo ' </tr>' . "\n"; } ?> </tr> </table> </td> </tr> <?php if (!strstr($PHP_SELF, FILENAME_ACCOUNT_HISTORY_INFO)) { ?> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '100%', '10'); ?>
</td> </tr> <?php } $reviews_query = smn_db_query($reviews_split->sql_query); while ($reviews = smn_db_fetch_array($reviews_query)) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo '<a href="' . smn_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $reviews['products_id'] . '&reviews_id=' . $reviews['reviews_id']) . '"><u><b>' . $reviews['products_name'] . '</b></u></a> <span class="smallText">' . sprintf(TEXT_REVIEW_BY, smn_output_string_protected($reviews['customers_name'])) . '</span>'; ?> </td> <td class="smallText" align="right"><?php echo sprintf(TEXT_REVIEW_DATE_ADDED, smn_date_long($reviews['date_added'])); ?> </td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo smn_draw_separator('pixel_trans.gif', '10', '1'); ?> </td> <td width="<?php
?> <!-- affiliate_news //--> <?php /*Changed the query to get the details of affiliate news, by Cimi*/ /*$affiliate_news_query = smn_db_query('SELECT * from ' . TABLE_AFFILIATE_NEWS . ' WHERE status = 1 ORDER BY date_added DESC LIMIT ' . MAX_DISPLAY_AFFILIATE_NEWS);*/ $affiliate_news_query = smn_db_query('SELECT * from ' . TABLE_AFFILIATE_NEWS . ' an,' . TABLE_AFFILIATE_NEWS_CONTENTS . ' anc WHERE news_status = 1 ORDER BY date_added DESC LIMIT ' . MAX_DISPLAY_AFFILIATE_NEWS); if (!smn_db_num_rows($affiliate_news_query)) { // there is no news echo '<!-- ' . TEXT_NO_AFFILIATE_NEWS . ' -->'; } else { $info_box_contents = array(); $row = 0; while ($affiliate_news = smn_db_fetch_array($affiliate_news_query)) { /*Changed the array contents to get values according to DB,by Cimi*/ /*$info_box_contents[$row] = array('align' => 'left', 'params' => 'class="smallText" valign="top"', 'text' => '<b>' . $affiliate_news['headline'] . '</b> - <i>' . smn_date_long($affiliate_news['date_added']) . '</i><br>' . nl2br($affiliate_news['content']) . '<br>');*/ $info_box_contents[$row] = array('align' => 'left', 'params' => 'class="smallText" valign="top"', 'text' => '<b>' . $affiliate_news['affiliate_news_headlines'] . '</b> - <i>' . smn_date_long($affiliate_news['date_added']) . '</i><br>' . nl2br($affiliate_news['affiliate_news_contents']) . '<br>'); $row++; } new contentBox($info_box_contents); /*Commente the following code to as it creates incomplete box , By Cimi*/ /*$info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => ' ' ); new infoBoxDefault($info_box_contents, true, true);*/ } ?> <!-- affiliate_news_eof //-->
$comments = smn_db_prepare_input($_POST['comments']); $order_updated = false; $check_status_query = smn_db_query("select * from " . TABLE_ORDERS . " where store_id = '" . $store_id . "' and orders_id = '" . (int) $oID . "'"); $check_status = smn_db_fetch_array($check_status_query); if ($check_status['orders_status'] != $status || smn_not_null($comments) || $status == DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE) { smn_db_query("update " . TABLE_ORDERS . " set orders_status = '" . smn_db_input($status) . "', last_modified = now() where orders_id = '" . (int) $oID . "'"); if ($check_status['orders_status'] == DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE) { smn_db_query("update " . TABLE_ORDERS_PRODUCTS_DOWNLOAD . " set download_maxdays = '" . smn_get_configuration_key_value('DOWNLOAD_MAX_DAYS') . "', download_count = '" . smn_get_configuration_key_value('DOWNLOAD_MAX_COUNT') . "' where store_id = '" . $store_id . "' and orders_id = '" . (int) $oID . "' "); } $customer_notified = '0'; if (isset($_POST['notify']) && $_POST['notify'] == 'on') { $notify_comments = ''; if (isset($_POST['notify_comments']) && $_POST['notify_comments'] == 'on') { $notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n\n"; } $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . smn_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'NONSSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . smn_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); smn_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); $customer_notified = '1'; } smn_db_query("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments) values ('" . (int) $oID . "', '" . smn_db_input($status) . "', now(), '" . smn_db_input($customer_notified) . "', '" . smn_db_input($comments) . "')"); $order_updated = true; } if ($order_updated == true) { $messageStack->add_session(SUCCESS_ORDER_UPDATED, 'success'); } else { $messageStack->add_session(WARNING_ORDER_NOT_UPDATED, 'warning'); } smn_redirect(smn_href_link(FILENAME_ORDERS, smn_get_all_get_params(array('action')) . 'action=edit')); break; case 'deleteconfirm': $oID = smn_db_prepare_input($_GET['oID']);
<!-- left box --> <?php // The link will appear only if: // - Download remaining count is > 0, AND // - The file is present in the DOWNLOAD directory, AND EITHER // - No expiry date is enforced (maxdays == 0), OR // - The expiry date is not reached if ($downloads['download_count'] > 0 && file_exists(DIR_FS_DOWNLOAD . $downloads['orders_products_filename']) && ($downloads['download_maxdays'] == 0 || $download_timestamp > time())) { echo ' <td class="main" align="center"><a href="' . smn_href_link(FILENAME_DOWNLOAD, 'order=' . $last_order . '&id=' . $downloads['orders_products_download_id']) . '">' . $downloads['products_name'] . '<br>' . smn_image_button('button_download.gif', '') . '</a></td>' . "\n"; } else { echo ' <td class="main">' . $downloads['products_name'] . '</td>' . "\n"; } ?> <!-- right box --> <?php echo ' <td class="main">' . TABLE_HEADING_DOWNLOAD_DATE . '<br>' . smn_date_long($download_expiry) . '</td>' . "\n" . ' <td class="main" align="right">' . $downloads['download_count'] . TABLE_HEADING_DOWNLOAD_COUNT . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </tr> </table></td> </tr> <?php if (!strstr($PHP_SELF, FILENAME_ACCOUNT_HISTORY_INFO)) { ?> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <!--
$check_status = smn_db_fetch_array($check_status_query); if ($check_status['orders_status'] != $status || smn_not_null($comments) || $status == DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE) { smn_db_query("update " . TABLE_ORDERS . " set orders_status = '" . smn_db_input($status) . "', last_modified = now() where orders_id = '" . (int) $oID . "'"); if ($check_status['orders_status'] == DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE) { smn_db_query("update " . TABLE_ORDERS_PRODUCTS_DOWNLOAD . " set download_maxdays = '" . smn_get_configuration_key_value('DOWNLOAD_MAX_DAYS') . "', download_count = '" . smn_get_configuration_key_value('DOWNLOAD_MAX_COUNT') . "' where orders_id = '" . (int) $oID . "' "); } $customer_notified = '0'; if (isset($_POST['notify']) && $_POST['notify'] == 'on') { $notify_comments = ''; if (isset($_POST['notify_comments']) && $_POST['notify_comments'] == 'on') { $notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n\n"; } /*Added to get details of store by Cimi*/ $store_query = smn_db_query("select sd.*,c.* from " . TABLE_STORE_DESCRIPTION . " sd," . TABLE_STORE_MAIN . " sm," . TABLE_CUSTOMERS . " c where sd.store_id = '" . (int) $check_status[store_id] . "' and sd.store_id=sm.store_id and sm.customer_id=c.customers_id"); $store_details = smn_db_fetch_array($store_query); $email = $store_details[store_name] . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . smn_href_link(FILENAME_STORE_ORDER_EDIT, 'order_id=' . $oID, 'NONSSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . smn_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); smn_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, $store_details['customers_firstname'] . ' ' . $store_details['customers_lastname'], $store_details['customers_email_address']); $customer_notified = '1'; } smn_db_query("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments) values ('" . (int) $oID . "', '" . smn_db_input($status) . "', now(), '" . smn_db_input($customer_notified) . "', '" . smn_db_input($comments) . "')"); $order_updated = true; } if ($order_updated == true) { $messageStack->add_session(SUCCESS_ORDER_UPDATED, 'success'); } else { $messageStack->add_session(WARNING_ORDER_NOT_UPDATED, 'warning'); } smn_redirect(smn_href_link(FILENAME_STORE_ORDER_TOOL, 'ID=' . $store_id)); break; case 'deleteconfirm': $oID = smn_db_prepare_input($_GET['oID']);
<?php } if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, smn_date_long($product_info['products_date_available'])); ?> </td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, smn_date_long($product_info['products_date_added'])); ?> </td> </tr> <tr> <td> <?php if (USE_CACHE == 'true' && empty($SID)) { echo smn_cache_also_purchased(3600); include DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS; } else { include DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS; include DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS; }
<td><?php echo smn_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main" colspan="2"><b><?php echo sprintf(HEADING_ORDER_NUMBER, $_GET['order_id']) . ' <small>(' . $order->info['orders_status'] . ')</small>'; ?> </b></td> </tr> <tr> <td class="smallText"><?php echo HEADING_ORDER_DATE . ' ' . smn_date_long($order->info['date_purchased']); ?> </td> <td class="smallText" align="right"><?php echo HEADING_ORDER_TOTAL . ' ' . $order->info['total']; ?> </td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <?php if ($order->delivery != false) { ?>
</tr> <?php if ($pInfo->store_date_available > date('Y-m-d')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_STORE_DATE_AVAILABLE, smn_date_long($pInfo->store_date_available)); ?> </td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_date_added, smn_date_long($pInfo->date_added)); ?> </td> </tr> <?php } ?> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '1', '10'); ?> </td> </tr> <?php } if (isset($_GET['read']) && $_GET['read'] == 'only') {
if ($new_price = smn_get_products_special_price($products_new['products_id'])) { $products_price = '<s>' . $currencies->display_price($products_new['products_price'], smn_get_tax_rate($products_new['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, smn_get_tax_rate($products_new['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($products_new['products_price'], smn_get_tax_rate($products_new['products_tax_class_id'])); } ?> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?> " valign="top" class="main"><?php echo '<a href="' . smn_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . smn_image(DIR_WS_IMAGES . $products_new['products_image'], $products_new['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?> </td> <td valign="top" class="main"><?php echo '<a href="' . smn_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . smn_date_long($products_new['products_date_added']) . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?> </td> <td align="right" valign="middle" class="main"><?php echo '<a href="' . smn_href_link(FILENAME_PRODUCTS_NEW, smn_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . smn_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?> </td> </tr> <tr> <td colspan="3"><?php echo smn_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <?php }
} ?> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <?php if ($pInfo[products_date_available] > date('Y-m-d')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_PRODUCT_DATE_AVAILABLE, smn_date_long($pInfo[products_date_available])); ?></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_PRODUCT_DATE_ADDED, smn_date_long($pInfo[products_date_added])); ?></td> </tr> <?php } ?> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <?php } if (isset($_GET['read']) && ($_GET['read'] == 'only')) { if (isset($_GET['origin'])) { $pos_params = strpos($_GET['origin'], '?', 0); if ($pos_params != false) { $back_url = substr($_GET['origin'], 0, $pos_params); $back_url_params = substr($_GET['origin'], $pos_params + 1);
echo smn_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="left" class="main"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo ENTRY_ORDER_DATE; ?> </b><?php echo smn_date_long($order->info['date_purchased']); ?> </td> </tr> <tr> <td class="main"><?php echo '<b>' . ENTRY_PAYMENT_METHOD . '</b> ' . $order->info['payment_method']; ?> </td> </tr> <tr> <td class="main"><?php echo $payment_info; ?> </td> </tr>