// RCI code eof // BOF: Lango Added for template MOD // EOF: Lango Added for template MOD ?> <div class="row"> <div class="col-sm-12 col-lg-12 well"> <?php echo '<b>' . TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?> </div> </div> <?php echo tep_draw_hidden_field('action', 'submit') . tep_template_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); if ($process == true) { ?> <?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . tep_template_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?> <?php } ?> </form> <?php // RCI code start echo $cre_RCI->get('checkoutpaymentaddress', 'bottom'); echo $cre_RCI->get('global', 'bottom'); // RCI code eof
<?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?> </tr> <?php } ?> <?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?> <?php if (tep_db_num_rows($reviews_query) == PRODUCT_INFO_TAB_NUM_REVIEWS) { echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params() . $params) . '">' . tep_template_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; } ?> </div> <?php } ?> <!-- Tab 5 eof --> <!-- Tab 6 --> <div class="tab-page" id="product_extra_info"> <h2 class="tab"><?php echo TEXT_TAB_PRODUCT_EXTRA_INFO; ?> </h2>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> </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 tep_draw_separator('pixel_trans.gif', '10', '1'); ?> </td> <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_ARTICLE_REVIEWS, tep_get_all_get_params(array('reviews_id', 'action'))) . '">' . tep_template_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?> </td> <td class="main" align="right"><?php echo tep_template_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?> </td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?> </td> </tr> </table></td> </tr> </table></td> </tr>
<tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => TEXT_XSELL_PRODUCTS); new contentBoxHeading($info_box_contents); $row = 0; $col = 0; $info_box_contents = array(); while ($xsell = tep_db_fetch_array($xsell_query)) { $pf->loadProduct($xsell['products_id'], $languages_id); $xsell_price = $pf->getPriceStringShort(); $s_buy_now = ''; $hide_add_to_cart = hide_add_to_cart(); if ($hide_add_to_cart == 'false' && group_hide_show_prices() == 'true') { $s_buy_now = '<br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action', 'cPath', 'products_id')) . 'action=buy_now&products_id=' . $xsell['products_id'] . '&cPath=' . tep_get_product_path($xsell['products_id']), 'NONSSL') . '">' . tep_template_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a>'; } $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<center><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] . '</a><br>' . cre_products_blurb($xsell['products_id']) . $xsell_price . $s_buy_now . '</center>'); $col++; if ($col > 2) { $col = 0; $row++; } } // Modify to avoid display if no X-Sells Defined - courtesy Halbert DMG // halbert mod - Don't show heading if no cross-sell items if ($num_products_xsell >= MIN_DISPLAY_XSELL && $num_products_xsell > 0) { new contentBox($info_box_contents, true, true); if (TEMPLATE_INCLUDE_CONTENT_FOOTER == 'true') { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => tep_draw_separator('pixel_trans.gif', '100%', '1'));
} else { ?> <tr> <td><?php new infoBox(array(array('text' => TEXT_NO_CATEGORIES))); ?> </td> </tr> <?php } ?> <?php echo '<a href="' . tep_href_link(FILENAME_LINKS_SUBMIT, tep_get_all_get_params()) . '">' . tep_template_image_button('button_submit_link.gif', IMAGE_BUTTON_SUBMIT_LINK) . '</a>'; ?> <!--endcategorieslinks--> <?php } elseif ($display_mode == 'links') { // create column list $define_list = array('LINK_LIST_TITLE' => LINK_LIST_TITLE, 'LINK_LIST_URL' => LINK_LIST_URL, 'LINK_LIST_IMAGE' => LINK_LIST_IMAGE, 'LINK_LIST_DESCRIPTION' => LINK_LIST_DESCRIPTION, 'LINK_LIST_COUNT' => LINK_LIST_COUNT); asort($define_list); $column_list = array(); reset($define_list); while (list($key, $value) = each($define_list)) { if ($value > 0) { $column_list[] = $key; } }
?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr> <td class="main" colspan="4"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="center"><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?> "><?php echo tep_template_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING); ?> </a></td> </tr> </table> </td> </tr> <?php } ?> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?>
$new10 = tep_db_query("select distinct \r\n p.products_id,\r\n pd.products_name, \r\n if (isnull(pg.customers_group_price), p.products_price, pg.customers_group_price) as products_price,\r\n p.products_image \r\n from (" . TABLE_PRODUCTS . " p \r\n left join " . TABLE_PRODUCTS_GROUPS . " pg on p.products_id = pg.products_id and pg.customers_group_id = '" . $customer_group_id . "'),\r\n " . TABLE_SPECIALS . " s,\r\n " . TABLE_PRODUCTS_DESCRIPTION . " pd\r\n where \r\n p.products_status = '1'\r\n and p.products_id = s.products_id\r\n and pd.products_id = p.products_id\r\n and pd.language_id = '" . $languages_id . "' \r\n and s.status = '1' \r\n and p.products_group_access like '%" . $customer_group_id . "%'\r\n order by rand(), s.specials_date_added DESC limit " . MAX_DISPLAY_SPECIAL_PRODUCTS); //Eversun mod end for sppc and qty price breaks $row = 0; $col = 0; $num = 0; $buyitnow = ''; while ($default_specials_1a = tep_db_fetch_array($new10)) { $num++; if ($num == 1) { new contentBoxHeading($info_box_contents, tep_href_link(FILENAME_SPECIALS)); } $pf->loadProduct($default_specials_1a['products_id'], $languages_id); $products_price_s = $pf->getPriceStringShort(); $hide_add_to_cart = hide_add_to_cart(); if ($hide_add_to_cart == 'false' && group_hide_show_prices() == 'true') { $buyitnow = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'cPath', 'products_id')) . 'action=buy_now&products_id=' . $default_specials_1a['products_id'] . '&cPath=' . tep_get_product_path($default_specials_1a['products_id'])) . '">' . tep_template_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; } $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials_1a['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $default_specials_1a['products_image'], $default_specials_1a['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials_1a['products_id']) . '">' . $default_specials_1a['products_name'] . '</a><br>' . cre_products_blurb($default_specials_1a['products_id']) . $products_price_s . '<br>' . $buyitnow); $col++; if ($col > 2) { $col = 0; $row++; } } if ($num) { new contentBox($info_box_contents, true, true); if (TEMPLATE_INCLUDE_CONTENT_FOOTER == 'true') { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => tep_draw_separator('pixel_trans.gif', '100%', '1')); new contentBoxFooter($info_box_contents); }
$order_type = TEXT_ORDER_SHIPPED_TO; $order_name = $history['delivery_name']; } else { $order_type = TEXT_ORDER_BILLED_TO; $order_name = $history['billing_name']; } $rci .= ' <table border="0" width="100%" cellspacing="0" cellpadding="2">' . "\n"; $rci .= ' <tr>' . "\n"; $rci .= ' <td class="main"><b>' . TEXT_ORDER_NUMBER . '</b> ' . $history['orders_id'] . '</td>' . "\n"; $rci .= ' <td class="main" align="right"><b>' . TEXT_ORDER_STATUS . '</b> ' . $history['orders_status_name'] . '</td>' . "\n"; $rci .= ' </tr>' . "\n"; $rci .= ' </table>' . "\n"; $rci .= ' <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">' . "\n"; $rci .= ' <tr class="infoBoxContents">' . "\n"; $rci .= ' <td><table border="0" width="100%" cellspacing="2" cellpadding="4">' . "\n"; $rci .= ' <tr>' . "\n"; $rci .= ' <td class="main" width="50%" valign="top">' . TEXT_ORDER_DATE . '</b> ' . tep_date_long($history['date_purchased']) . '<br><b>' . $order_type . '</b> ' . tep_output_string_protected($order_name) . '</td>' . "\n"; $rci .= ' <td class="main" width="30%" valign="top"><b>' . TEXT_ORDER_PRODUCTS . '</b> ' . $products['count'] . '<br><b>' . TEXT_ORDER_COST . '</b> ' . strip_tags($history['order_total']) . '</td>' . "\n"; $rci .= ' <td class="main" width="20%"><a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, (isset($_GET['page']) ? 'page=' . $_GET['page'] . '&' : '') . 'order_id=' . $history['orders_id'], 'SSL') . '">' . tep_template_image_button('small_view.gif', SMALL_IMAGE_BUTTON_VIEW) . '</a></td>' . "\n"; $rci .= ' </tr>' . "\n"; $rci .= ' </table></td>' . "\n"; $rci .= ' </tr>' . "\n"; $rci .= ' <tr><td width="100%">' . tep_draw_separator('pixel_black.gif', '100%', '1') . '</td></tr>' . "\n"; $rci .= ' </table>' . "\n"; } } } } return $rci; ?>
$nav_link = '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_template_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; } } else { $nav_link = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cat1) . '">' . tep_template_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; } } else { $nav_link = '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_template_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; } } else { if (RETURN_CART == 'P') { $products = $cart->get_products(); $products = array_reverse($products); if ($products == '') { $back = sizeof($navigation->path) - 2; if (isset($navigation->path[$back])) { $nav_link = '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_template_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; } } else { $nav_link = '<div class="margin-top large-margin-bottom pull-left"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[0]['id']) . '" class="btn btn-primary" type="button">' . IMAGE_BUTTON_CONTINUE_SHOPPING . '</a></div>'; } } } } ?> <?php echo $nav_link; ?> <?php if ($valid_to_checkout == true) {